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
Aparajita Fishman
86d7ec4180
New: added "Show in Finder" item to XcodeCapp.
...
Shows the Cappuccino project folder. If Path Finder is installed, it says "Show in Path Finder" and that is used.
Reorganized the menu a bit and updated the help.
2013-05-09 09:26:44 -04:00
Aparajita Fishman
a63bb155c2
New: nib2cib gives a more helpful message when unsupported classes are encountered.
...
Previously users saw the generic "-[CPKeyedUnarchiver decodeObjectForKey:]: cannot decode object of class (NSFoo)" message, which was not particularly instructive.
Now the message is: "NSFoo objects are not supported by nib2cib."
Closes #1923
2013-05-09 07:35:27 -04:00
Aparajita Fishman
01291591b7
Fixed: missing self. in call to _delegate.
...
Small formatting and code tweaks as well.
2013-05-09 07:31:11 -04:00
Aparajita Fishman
e7ad1a1f7a
New: bumped XcodeCapp version.
2013-05-09 07:02:53 -04:00
Aparajita Fishman
2e0b204b8d
Fixed: Xcode project was being saved when no modifications were made.
...
Saving the project requires the xib to be selected again if it was being edited, which is not so nice.
Now we check the project's modified flag before saving and lazy-create the groups.
2013-05-08 22:28:07 -04:00
Aparajita Fishman
77f8136e79
New: give a download link for XcodeCapp 3.
2013-05-08 11:01:21 -04:00
Aparajita Fishman
e45c05b08e
Merge branch 'refs/heads/XcodeCapp3'
2013-05-08 10:24:21 -04:00
Aparajita Fishman
14eff74652
Docs: updated XCC help.
2013-05-08 10:19:46 -04:00
Aparajita Fishman
14fec1a608
Fixed: deleted xib or cib files were not processed correctly.
...
Now, deleting a xib file will delete its corresponding cib. Deleting the cib will mark its corresponding xib for updating.
2013-05-08 10:19:25 -04:00
Aparajita Fishman
7034635b8e
Fixed: converting xib with Autolayout gave confusing error message.
...
Previously, attempting to nib2cib a xib with autolayout would give an error message that there was no class to archive NSLayoutConstraint, which was meaningless to most people.
Now an error message that says exactly why it failed and how to fix it is given.
2013-05-08 09:57:00 -04:00
Aparajita Fishman
19aee142de
Fixed: headers were incorrect or missing.
2013-05-08 09:54:13 -04:00