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
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
Francisco Ryan Tolmasky I
a017c0c4a8
Fix for failing CPDictionary tests.
...
Reviewed by me.
2010-02-12 14:09:40 -08:00
Francisco Ryan Tolmasky I
3a35ab449b
Fixed failing KVO tests.
...
Reviewed by me.
2010-02-12 13:46:26 -08:00
Ross Boucher
da84964a33
Fix two problems with KVC:
...
- valueForKeyPath: looped over individual components, which meant classes couldn't override valueForKeyPath: to do multi-part keys (needed for operators)
- CPArray's valueForKeyPath: implementation was incorrectly parsing the operator if it was a simple key
2010-02-12 12:53:15 -08:00
Alexander Ljungberg and Ross Boucher
f89c2e0ba9
Fixed: CPDates compared equal to nil and CPNull.
2010-02-09 10:59:59 -08:00
Francisco Ryan Tolmasky I
9f847e5a24
Merge branch 'jake' into loader
2010-02-09 01:03:37 -08:00
Francisco Ryan Tolmasky I
a4eec5fef8
Fix for UID returning different values every time for CPString.
...
Reviewed by me.
2010-02-09 01:02:49 -08:00
Alexander Ljungberg and Randall Luecke
a3f9b65501
Implemented [CPDate copy] with unit test. Also whitespace cleanup in CPDate.
2010-02-09 01:57:24 -05:00
Ross Boucher
632251b16c
Infinite recursion error.
2010-02-06 18:31:20 -08:00
Tom Robinson
17072f9ed4
Move CPLog to Objective-J
2010-02-05 22:27:13 -08:00
Tom Robinson
e088280a5f
Implement description and toString for class objects.
2010-02-01 17:38:13 -08:00
Francisco Ryan Tolmasky I
d4f3f83212
Fix for nib2cib not working with new loader.
...
Reviewed by me.
2010-01-31 17:28:51 -08:00
Francisco Ryan Tolmasky I
a4d73330cc
Data URLs.
...
Reviewed by me.
2010-01-29 21:43:23 -08:00
Francisco Ryan Tolmasky I
ea6a983e9b
Merge branch 'jake' of git@github.com:280north/cappuccino into loader
2010-01-29 17:53:36 -08:00
Francisco Ryan Tolmasky I
4b7310d0cb
More consistent naming scheme.
...
Reviewed by me.
2010-01-29 15:16:22 -08:00
Francisco Ryan Tolmasky I
b5ad030e40
Further blend work.
...
Reviewed by me.
2010-01-29 08:04:00 -08:00
Francisco Ryan Tolmasky I
794d8a754c
Make blendtask work with new system.
...
Reviewed by me.
2010-01-28 16:24:18 -08:00
Tom Robinson
0791fa0ad3
Eliminate a couple accidental globals.
2010-01-28 00:18:40 -08:00
Francisco Ryan Tolmasky I
ec210c49c5
Beginnings of new loader.
...
Reviewed by me.
2010-01-27 00:43:54 -08:00
Paul Baumgart and Ross Boucher
3b7a77ae0c
Minor fix: change emdash to regular hyphen.
2010-01-25 22:21:26 -08:00
Tom Robinson
093c6cdca3
More robust handing of string passed to CPURLRequest instead of CPURLs.
2010-01-13 01:57:04 -08:00
Tom Robinson
9e62fdc0b8
added missing CPNull imports
2010-01-12 12:28:32 -08:00
Francisco Ryan Tolmasky I
5e14e65eb0
Fix for CPArray test not passing.
...
Reviewed by me.
2010-01-07 16:36:25 -08:00
Francisco Ryan Tolmasky I
b7d747ee17
Fixed a bug in CPTreeNode's KVO implementation.
...
Reviewed by me.
2010-01-05 15:49:16 -08:00
Francisco Ryan Tolmasky I
3cfd392e3e
Added new automatic undo API to CPUndoManager.
...
Added archiving support for CPTreeNode.
Reviewd by me.
2010-01-05 11:14:56 -08:00
Francisco Ryan Tolmasky I
dd999a29fd
Added applyChange:toKeyPath: and inverseChangedDictionary to support "automatic" undo with KVO.
...
Reviewed by me.
2009-12-24 19:15:38 -08:00
Francisco Ryan Tolmasky I
75fdfb5a0b
Improved observable arrays to support indexOfObject:, indexOfObjectIdenticalTo:, and removeObjectIdenticalTo:.
...
Reviewed by me.
2009-12-24 18:45:20 -08:00
Ross Boucher
6cbaa35849
Add CPOperation to Foundation
2009-12-23 11:30:10 -05:00
Ross Boucher
cb1cfa4d94
Better support for recursing in CPDictionaryWithJSObject:
2009-12-20 20:32:17 -05:00
Francisco Ryan Tolmasky I
5352d062d5
Fix for boundsOrigin and boundsSize being affected by bounds. Also changed UID to return a string instead of a Number.
...
Reviewed by me.
2009-12-20 17:02:06 -08:00
Ross Boucher
58c6db0a8f
Fix the logic behind CPURLConnection's _isLocalFileConnection
2009-12-20 13:12:29 -05:00
Ross Boucher
a1e24a3f95
Fix a bug where keyPaths which had a component evaluating to self would send notifications containing the wrong keypath in the observation.
...
Includes test case.
2009-12-19 17:47:02 -05:00
aburkhalter and tlrobinson
deed92cff7
Toll-free bridge Error to CPException. Add rhinoException in objj_exception for better error reporting.
2009-12-19 03:49:22 -08:00
Francisco Ryan Tolmasky I
ac2c0d5d84
Update CPUndoManager to post checkpoint notifications and only create run loop performs if undos actually take place.
...
Reviewed by me.
2009-12-15 16:37:47 -08:00
Francisco Ryan Tolmasky I
d200df3e9c
Typo in last commit.
...
Reviewed by me.
2009-12-11 12:03:25 -08:00
Francisco Ryan Tolmasky I
eb43e416ae
Added CPProxy class to support better undo proxying in CPUndoManager.
...
Closes #370 .
Closes #371 .
Reviewed by me.
2009-12-11 11:38:26 -08:00
Ross Boucher
a98de54db4
A few additions for pretty printing things and getting better error messages
2009-12-11 10:58:07 -08:00
Francisco Ryan Tolmasky I
4fbc140551
Better descriptions for CPArray.
...
Reviewed by me.
2009-12-07 18:54:01 -08:00
Ross Boucher
e6d86eaa9b
Throw an exception for -1 indexes in CPArray objectAtIndex:
2009-12-02 19:19:18 -08:00
Stephen Ierodiaconou
0ddb17862c
Merge branch 'master' of git://github.com/280north/cappuccino into CPDecimalNumber
2009-11-28 17:02:43 +00:00
Ross Boucher
a4d5165a3d
Fix for style issues.
2009-11-26 19:53:36 -05:00
Abhinav Gupta and Ross Boucher
4fdddfb585
Fixed CPString's commonPrefixWithString to be faster.
2009-11-26 19:49:41 -05:00
Abhinav Gupta and Ross Boucher
0575e96b60
Added commonPrefixWithString method to CPString and tests for it.
2009-11-26 18:13:01 -05:00
Ross Boucher
44fbf8afe2
Add support for encoding dates, courtesy of luddep.
2009-11-24 23:02:38 -05:00
Ross Boucher
1eb9202233
A few style guideline changes.
2009-11-24 22:56:18 -05:00
Alexander Ljungberg and Ross Boucher
b7da92d225
CPDate initWithString: now takes proper international format strings like NSDate. Similarly CPDate description generates such strings.
2009-11-24 22:42:02 -05:00
Ross Boucher
ffb08d32ce
Fix an issue with storing 0 in a CPSet. Includes test cases. Closes #337 .
2009-11-24 16:06:32 -05:00