Alexandre Wilhelm
9d76ab70fe
Changed image for lineal gradient
2013-05-20 21:54:04 -07:00
Alexandre Wilhelm
ce22cebf07
Removed the reverse colors (it was a bad idea)
2013-05-20 21:53:35 -07:00
Alexandre Wilhelm
22d66438fb
Added test for linear/radial gradient
2013-05-20 19:08:44 -07:00
Alexandre Wilhelm
de4e28b5cc
Fixed bug with linear gradient when drawing it without CPGradient
2013-05-20 19:07:39 -07:00
Alexandre Wilhelm
5e0793c2ac
Fixed small init bug in CPBezierPath
2013-05-20 19:06:48 -07:00
Alexandre Wilhelm
54dd027c15
Removes previous test
2013-05-20 19:06:08 -07:00
Alexandre Wilhelm
ad33411ec6
New: CGContextDrawRadialGradient support
...
Canvas supports CGContextDrawRadialGradient as in cocoa. The CGGradientDrawingOptions is not actually supported.
Test app in Tests/Manual/CGCanvasContext
2013-05-20 15:08:46 -07:00
Aparajita Fishman
6bac934d0c
Fixed: changed indentation of generated code to Cappuccino standard of 4 spaces.
2013-05-18 18:42:26 -04:00
Alexander Ljungberg
8c5015a0bc
Test: verify compiler output for return statement without space.
...
Refs #1830 .
2013-05-18 01:00:49 +01:00
Alexander Ljungberg
302138c257
Fixed: OutputTest reversed expectation and test value in error messages.
...
The message would read "expected x but was y", where y would actually be the correct expected value and x the wrong one.
2013-05-18 00:59:20 +01:00
Alexander Ljungberg
501310c058
Formatting: OldBrowserCompatibility.js.
...
Refs #1929 .
2013-05-16 15:24:24 -07:00
Alexander Ljungberg
cb2ba64a73
Merge branch 'master' of github.com:cappuccino/cappuccino
2013-05-16 14:18:46 -07:00
Alexander Ljungberg
de1d6aad9c
Test: check compiler output for selectors with keywords in them.
...
Refs #1929 .
2013-05-16 14:17:31 -07:00
Aparajita Fishman
391ff7279d
Fixed: capp_lint errors.
2013-05-16 15:02:45 -04:00
Alexander Ljungberg
1d1016f08e
Test: reactivate the regex-simple-char-classes test.
...
This test failed with the old preprocessor but works fine now with the new compiler.
Refs #1929 .
2013-05-16 11:15:03 -07:00
Alexander Ljungberg
d040e60f60
Merge pull request #1929 from mrcarlberg/preprocess
...
Many compiler fixes
2013-05-16 10:03:38 -07:00
Martin Carlberg
3808427f24
Fixed: Accidental global variable
2013-05-16 16:15:29 +02:00
Martin Carlberg
b3e6eb74b2
Fixed: Reset all the macros when compiling a new file in the default implementation of the macro store.
2013-05-16 12:07:44 +02:00
Martin Carlberg
392aafb360
Revert "Revert "New: Added test cases for some preprocess directives in OutputTest.j""
...
This reverts commit 5e6c89ca8b .
Conflicts:
Tests/Objective-J/Preprocessor/OutputTests/OutputTest.j
2013-05-16 12:05:57 +02:00
Martin Carlberg
6556ccef80
Fixed: Removed use of global variable
2013-05-16 11:26:01 +02:00
Martin Carlberg
f96e934cf8
Fixed: Removed use of in some cases undefined global variables
2013-05-16 11:25:42 +02:00
Alexander Ljungberg
44a872659a
New: type check - CPPasteBoard setString:forType:.
...
When this method is given e,g, an array or CPData, it now crashes early instead of the pasteboard exhibiting strange behaviour.
2013-05-15 08:47:43 -07:00
Martin Carlberg
256c5b83da
Fixed: Typo, changed comma to semicolon
2013-05-15 15:35:03 +02:00
Martin Carlberg
5e6c89ca8b
Revert "New: Added test cases for some preprocess directives in OutputTest.j"
...
This reverts commit 9b709b85a9 .
2013-05-15 15:21:49 +02:00
Martin Carlberg
bf4a5b2c9a
Merge branch 'master' of https://github.com/cappuccino/cappuccino into preprocess
2013-05-15 09:08:26 +02:00
Alexander Ljungberg
6701117945
Fixed: [pasteboard declareTypes:… owner:nil]; would emit a warning.
...
Without this fix, declaring a type with a nil owner would cause a "DEPRECATED: object cannot be nil" warning to be issued.
This fix now allows a nil owner without warning.
2013-05-14 14:44:00 -07:00
Alexander Ljungberg
f2d9ef7720
Test: - CPPasteboard setString:forType: and stringForType:.
2013-05-14 14:40:41 -07:00
Alexander Ljungberg
3fb0dd725a
Fixed: CPLocale for English, United Kingdom had the wrong identifier.
2013-05-14 13:06:53 -07:00
Alexander Ljungberg
a324cb3306
Fixed: CPLocale detection didn't work.
...
Previously, if the browser provided a language string such as "en-US", CPLocale would try to look up the locale for "en_EN", which wouldn't exist so it'd always select the default language.
This fix uses the browser provided language string fully to select the appropriate locale.
2013-05-14 13:03:31 -07:00
Alexander Ljungberg
2a9f3deb0e
Merge pull request #1930 from mrcarlberg/cplocal_cant_handle_unknown_country_codes
...
Fixed: CPLocal can't handle unknown language codes
2013-05-14 12:00:39 -07:00
Alexander Ljungberg
89e81e97d1
Merge branch 'master' of github.com:cappuccino/cappuccino
2013-05-14 11:59:29 -07:00
Alexander Ljungberg
b4fb4ba941
Formatting: CPLocale.
...
Tabs to spaces and other whitespace changes.
2013-05-14 11:59:17 -07:00
Aparajita Fishman
eb859d42a4
Fixed: framework image names without @framework would cause nib2cib to fail.
...
I wasn't properly handling the case where _resourcePathForName would be called with a nil framework.
2013-05-14 07:54:08 -04:00
Martin Carlberg
9d86391bdb
Fixed: CPLocal can't handle unknown language codes
...
When the language code is not known it still sets the current language code
to the unknown code instead of the defualt 'en_US' code.
This makes the test cases for CPDateFormatter fail when run on a foreign system.
2013-05-14 13:30:30 +02:00
Martin Carlberg
9b709b85a9
New: Added test cases for some preprocess directives in OutputTest.j
...
Also fixed so OutputTest.j now uses the new compiler instead of the old.
2013-05-14 10:31:29 +02:00
Alexander Ljungberg
9bde63923c
Formatting: CPPredicateTest.
...
Refs #1914 .
2013-05-13 22:27:39 -07:00
Alexander Ljungberg
d7c676893d
Merge pull request #1914 from mrcarlberg/predicate_expression_equals_nil
...
CPExpression and CPPredicate can't handle nil as argument in method isEqual:
2013-05-13 22:21:05 -07:00
Alexander Ljungberg
8bc8ae4e3b
Merge pull request #1928 from mrcarlberg/ie_negative_width_height_crash
...
Fixed: IE8/9 (maybe 10 too) can't handle negative width or height.
2013-05-13 22:17:18 -07:00
Alexander Ljungberg
35b4e8f653
Merge pull request #1915 from Dogild/PopUpListComboBox
...
Fixed: CPComboBox popupList should close if mouse is clicked outside
2013-05-13 21:56:28 -07:00
Martin Carlberg
7837277cbe
Merge branch 'master' of https://github.com/cappuccino/cappuccino into preprocess
2013-05-13 16:38:39 +02:00
Martin Carlberg
8145df9613
Fixed: Removed all uses of preprocess macros in the compiler
2013-05-13 16:23:12 +02:00
Martin Carlberg
9ffa184056
Fixed: IE8/9 can't handle negative style width or height.
...
Functions are used everywhere to set width or height in the DOM except in the method lockFocus. This will cause IE8/9 to report error if the width or height is negative in this method.
2013-05-13 15:12:59 +02:00
Aparajita Fishman
e047212f5f
New: xcc --reset resets the Xcode support before opening the project.
...
This will help in cases where the project is way out of sync and crashes XCC.
TESTED_130514
2013-05-12 16:18:41 -04:00
Aparajita Fishman
574672f15f
Fixed: some error handling needed improving.
...
- Added ~/narwhal/bin to executable paths.
- Hopefully clearer error message when an executable is missing.
- Log PATH when executable is missing.
- Catch parse exceptions when parsing parser.j errors, log the returned text.
2013-05-11 09:34:23 -04:00
Aparajita Fishman
9b3676fa4f
New: missing image/framework in xib is reported as an error.
...
Previously, if an image or framework in image@framework was missing, it was just a warning, and conversion would continue.
Now an exception is raised and conversion stops.
2013-05-10 09:27:47 -04:00
Alexander Ljungberg
57d5dac72a
Merge branch 'master' of github.com:cappuccino/cappuccino
2013-05-09 14:06:39 -07:00
Alexander Ljungberg
626e1e770e
Fixed: in the last few revisions, table rows could be selected despite delegate shouldSelectRow: returning NO.
...
This error was caused by 3612565e3a dropping the return statement.
Refs #1905 .
2013-05-09 14:05:53 -07:00
Aparajita Fishman
75b3bf22e6
New: added xcc executable to open a project in XcodeCapp from command line.
...
Usage: xcc [directory]
Updated help accordingly.
2013-05-09 16:48:37 -04:00
Alexander Ljungberg
48be680fde
Test: clean up and fix minor errors.
2013-05-09 11:32:09 -07:00
Alexander Ljungberg
e95856dadd
Merge pull request #1905 from ahankinson/fix-cptableview-shouldselectrow-delegate
...
Fixed: Delegate method fires twice when using keyboard to select rows in...
2013-05-09 11:25:44 -07:00