Francisco Ryan Tolmasky I
272f938f2e
Fix for CPData naming issues, added test cases, and fixed isEqual: for CPDictionary.
...
Reviewed by me.
2010-02-21 23:29:41 -08:00
Tom Robinson
733b9b731d
Cleanup Jakefiles, enquote arguments, add built packages bin to PATH so ojtest runs / uses the correct Cappuccino, etc.
2010-02-21 15:42:56 -08:00
Francisco Ryan Tolmasky I
20637fc5e0
Added missing licenses and removed a bit of unused code.
...
Reviewed by me.
2010-02-21 13:52:51 -08:00
Francisco Ryan Tolmasky I
c33e2ee51f
Fixed a bug with objj_debug_typecheck incorrectly misidentifying empty string as not a CPString. Also fixed a number of type declarations after running with objj_msgSend_decorate(objj_typecheck_decorator); turned on.
...
Reviewed by me.
2010-02-21 13:37:20 -08:00
Francisco Ryan Tolmasky I
7ef59418dd
Merge branch 'master' of git@github.com:280north/cappuccino
2010-02-21 13:10:55 -08:00
Francisco Ryan Tolmasky I
0805e58a94
Fix for objj_msgSend_reset errors when running debug.
...
Reviewed by me.
2010-02-21 13:10:31 -08:00
Ross Boucher
6ddeff2b21
Fix the remaining tests that were failing.
2010-02-21 13:02:52 -08:00
Francisco Ryan Tolmasky I
7433c38d92
Pulled @each out into a separate feature branch, so as to not conflict with the 0.8 work: http://github.com/280north/cappuccino/tree/@each .
...
Reviewed by me.
2010-02-21 12:31:13 -08:00
Francisco Ryan Tolmasky I
7d7281480a
Typo in last commit and forgot one change.
...
Reviewed by me.
2010-02-20 02:42:57 -08:00
Francisco Ryan Tolmasky I
666e2c0190
Updated press for changed names.
...
Reviewed by me.
2010-02-20 02:36:14 -08:00
Francisco Ryan Tolmasky I
3968d35cac
Once again fix for Fix for accounting for non-Cappuccino libraries placing things on
...
Object.prototype and Don't recreate sprited resources every time, and fix a bug where two
bundle tasks in the same jakefile would conflict when creating sprited
resources.
Reviewed by me.
2010-02-20 02:24:54 -08:00
Francisco Ryan Tolmasky I
551677d6fd
Removed no longer used file, and renamed HTTPRequest.js to CFHTTPRequest.js to match the class name change in the previous commit.
...
Reviewed by me.
2010-02-20 01:08:15 -08:00
Francisco Ryan Tolmasky I
841ed9ea89
Major cleanup of globals and exports. Removed many accidental globals and no more need for eval in the initialization process. Also fixes Theme Showcase.
...
Reviewed by me.
2010-02-20 01:04:17 -08:00
Ross Boucher
b7df6c1480
Fix support for MHTML. This uses feature detection to determine if DataURLs, and then if MHTML is supported, and falls back on the original unsprited images.
...
Closes #376 .
2010-02-19 16:48:57 -08:00
Tom Robinson
b2179f14ab
Cleanup Jakefiles:
...
* require common.jake first
* require Objective-J/Cappuccino stuff only when needed (automatically requiring these caused too many problems)
* remove useless shebangs, cleanup whitespace
2010-02-19 16:09:39 -08:00
Paul Baumgart and Ross Boucher
25dfcd38a7
Fix case on require() parameter ("OS" -> "os")
2010-02-19 13:00:31 -08:00
Francisco Ryan Tolmasky I
fd8271396d
Fix for accounting for non-Cappuccino libraries placing things on Object.prototype.
...
Reviewed by me.
2010-02-19 02:08:34 -08:00
Francisco Ryan Tolmasky I
7819e174f1
Added setString: to CPData which sits on top of setSerializedPlistObject:.
...
Reviewed by me.
2010-02-19 00:42:23 -08:00
Francisco Ryan Tolmasky I
3a9845f784
Don't recreate sprited resources every time, and fix a bug where two bundle tasks in the same jakefile would conflict when creating sprited resources.
...
Reviewed by me.
2010-02-18 23:32:11 -08:00
Francisco Ryan Tolmasky I
94d3053232
Added CommonJS extensions to CFPropertyList.
...
Reviewed by me.
2010-02-18 15:28:30 -08:00
Francisco Ryan Tolmasky I
b078169adf
Fix for slight name change.
...
Reviewed by me.
2010-02-18 14:05:33 -08:00
Francisco Ryan Tolmasky I
38c4dd408c
Fix for CPBundle loading all code. Fixes external frameworks with nib2cib.
...
Reviewed by me.
2010-02-18 13:55:30 -08:00
Francisco Ryan Tolmasky I
eef9549e96
Fix for HelloWorld/ not working when HelloWorld/index.html does.
...
Closes #483 .
Reviewed by me.
2010-02-18 11:17:21 -08:00
Ross Boucher
1961829414
Correct a use of global. to be GLOBAL_NAMESPACE. at least until we have a better solution.
2010-02-17 19:31:11 -08:00
Ross Boucher
3e5bdec033
Merge branch 'master' of github.com:280north/cappuccino
2010-02-17 19:22:02 -08:00
Ross Boucher
5789021a76
modify the copyright date
2010-02-17 19:20:44 -08:00
Tom Robinson
8f519caa77
Remove old shrinksafe jars
2010-02-17 18:02:32 -08:00
Ross Boucher
a38be80a86
Revert "A better fix for the IE bug. Rather than introduce the secondary global and the eval, just refer to the actual global object (works in any javascript env)."
...
This reverts commit d40619aca0 .
2010-02-17 17:37:46 -08:00
Ross Boucher
81b72fc571
Throw a syntax error if we don't recognize the @accessors syntax.
2010-02-17 17:27:37 -08:00
Ross Boucher
d40619aca0
A better fix for the IE bug. Rather than introduce the secondary global and the eval, just refer to the actual global object (works in any javascript env).
2010-02-17 16:55:07 -08:00
Ross Boucher
f4042b9d4b
Fix an error in IE6 with XMLHttpRequest being undefined
2010-02-17 16:09:58 -08:00
Tom Robinson
7f31c0632d
flatten: build nodes relative to cwd
2010-02-17 14:57:33 -08:00
Francisco Ryan Tolmasky I
4f50f8b83f
Fix for IE Bug that caused stack overflow at line 0 when loading Objective-J every time.
...
Reviewed by me.
2010-02-17 13:39:15 -08:00
Francisco Ryan Tolmasky I
df895b9529
Treat extensionless files as Objective-J.
...
Reviewed by ross.
2010-02-16 19:31:31 -08:00
Ross Boucher
27e99344bd
Make nib2cib quieter by default. Prints only fatal error messages.
...
Pass the -v flag to print warnings, and -vv or --verbose to print all messages.
Closes #475 .
2010-02-16 16:59:44 -08:00
Francisco Ryan Tolmasky I
fb9cd1ef93
Don't Objective-J preprocess non-.j files.
...
Reviewed by me.
2010-02-16 16:23:03 -08:00
Ross Boucher
93722f6a7d
Fix a bug where any @ added accessors to ivar declarations.
...
Closes #474 .
2010-02-16 15:50:04 -08:00
Francisco Ryan Tolmasky I
64fd9f615c
Additional performance improvements to CPFastEnumeration.
...
Reviewed by me.
2010-02-16 02:04:31 -08:00
Tom Robinson
a26750d4f4
Fixed objj arguments parsing
2010-02-16 00:57:50 -08:00
Francisco Ryan Tolmasky I
92d28e468e
Autogenerate the index parameter for Fast Enumeration, and add Fast Enumeration support to CPIndexSet.
...
Reviewed by me.
2010-02-15 22:34:50 -08:00
Francisco Ryan Tolmasky I
f95c3ca46a
Adds fast enumeration to Cappuccino. Currently support for Arrays, dictionaries, single objects, and nil.
...
Closes #472 .
Reviewed by me.
2010-02-15 21:46:50 -08:00
Tom Robinson
c201990cb0
Switch compressor to use CommonJS packages for ShrinkSafe, etc.
2010-02-15 21:26:02 -08:00
Francisco Ryan Tolmasky I
833896e267
Renaming file to match class renaming.
...
Reviewed by me.
2010-02-14 19:17:56 -08:00
Francisco Ryan Tolmasky I
f12b4520f6
Some renaming.
...
Reviewed by me.
2010-02-14 19:17:50 -08:00
Francisco Ryan Tolmasky I
f77f52802c
Fix for new loader not working when app lives in the root directory of a website.
...
Reviewed by me.
2010-02-14 16:26:54 -08:00
Francisco Ryan Tolmasky I
81e4c26b38
Fix for properly handling XMLHTTPRequests with files that don't exist when using file:// URL's in FireFox.
...
Reviewed by me.
2010-02-14 12:22:37 -08:00
Francisco Ryan Tolmasky I
8d63c059c5
Fixed scope issues when running Cappuccino under CommonJS.
...
Reviewed by me.
2010-02-13 16:57:09 -08:00
Francisco Ryan Tolmasky I
bc53288fca
Fix for failing CPAttributedString test.
...
Reviewed by me.
2010-02-13 16:14:18 -08:00
Francisco Ryan Tolmasky I
474d4281f1
Actual fix for pasteboard exception for strings.
...
Reviewed by me.
2010-02-13 14:39:44 -08:00
Tom Robinson
94ca0ed71b
Read as binary then decode to string to workaround narwhal-rhino bug of adding newlines on read()
2010-02-13 13:54:38 -08:00