Alexander Ljungberg
f2c53c9f52
Documentation tweaks.
2011-01-24 14:00:15 -03:00
Francisco Ryan Tolmasky I
38dc125fc2
Fix CPSubclassableDictionaryTest.
...
Reviewed by me.
2011-01-20 09:50:32 -08:00
Randall Luecke
5d88ffbe66
Merge branch 'decimal' of https://github.com/stevegeek/cappuccino into stevegeek-decimal
2011-01-15 20:32:24 -05:00
Randall Luecke
bd5aa1c959
Merge branch 'CPPredicate' of https://github.com/cacaodev/cappuccino into cacaodev-CPPredicate
2011-01-15 18:50:12 -05:00
Stephen Ierodiaconou
2fe8845842
CPDecimalString returns NaN for a NaN and Fix Compare of NaNs and Cocoa compatable handling of overflow/underflows when no exception
2011-01-15 19:29:55 +02:00
Stephen Ierodiaconou
27ad98e160
Initialiser fixes and docs
...
Fix tests for new initialisers
2011-01-15 16:40:11 +02:00
Stephen Ierodiaconou
6a6256bdb4
CPCoding support for CPDecimalNumber and test
2011-01-15 14:15:31 +02:00
Stephen Ierodiaconou
5a0cfc1595
Make default number hanler file global only and Improvements and optimisations for CPDecimalNumber
2011-01-15 11:49:20 +02:00
Stephen Ierodiaconou
32107ab650
Improvements to CPDecimalNumberHandler including docs and archiving/unarchiving and associated test.
2011-01-15 09:38:31 +02:00
cacaodev
9c6476615d
Allow parsing of functions with multiple arguments like multiply:by:(5,2) or FUNCTION('method:arg:', arg1, arg2)
...
Added a missing CPDate.j import in CPExpression_function that was causing an 'unknown variable CPDate' error in deploy builds.
Added documentation for +expressionForSubquery:...
Added licence headers with credits.
2011-01-12 18:43:09 +01:00
Francisco Ryan Tolmasky I
5fd470acea
Fix for adding a js object to a CPArray and associated tests.
...
Reviewed by me.
2011-01-12 08:41:02 -08:00
Francisco Ryan Tolmasky I
1f5ad49591
CPMutableArray fixes and tests.
...
Reviewed by me.
2011-01-11 15:27:35 -08:00
Francisco Ryan Tolmasky I
3e45c7895c
More tests and bug fixes for CPArray family.
...
Reviewed by me.
2011-01-11 12:08:00 -08:00
Francisco Ryan Tolmasky I
29301f440e
Fixed a few bugs in CPArray and added many new tests for CPArray.
...
Reviewed by me.
2011-01-11 10:12:26 -08:00
Francisco Ryan Tolmasky I
028a4fe5b2
Merge branch 'CPKeyValueCodingArray-copy' of https://github.com/cacaodev/cappuccino into cacaodev-CPKeyValueCodingArray-copy
2011-01-09 03:29:51 -08:00
Ilya Kulakov
0d5ae63013
The isSubsetOfSet looking for objects inside itself instead of provided set
2011-01-07 02:03:11 +06:00
cacaodev
92fb183c22
CPKeyValueCodingArray/Set -copy. Fetch all objects through accessors, that's what cocoa does.
2011-01-05 19:21:13 +01:00
Alexander Ljungberg
be71d957e1
Fixed: indexOfObject:inSortedRange: searched 1 index too far when a range was applied.
2011-01-04 17:00:48 -03:00
Alexander Ljungberg
8e0b3a5df3
Test indexOfObject:inSortedRange: with out of range insertion point.
2011-01-04 15:38:54 -03:00
Alexander Ljungberg
9954a75cdd
Fixed array test arrayByReversingArray. More indexOfObject:inSortedRange:... tests.
2011-01-04 15:30:02 -03:00
Alexander Ljungberg
6ee7964fa6
Cleanup.
2011-01-04 13:42:00 -03:00
Ilya Kulakov and Alexander Ljungberg
db6608571a
Refs #1071 . indexOfObject:inSortedRange:options:usingComparator is incorrectly implemented.
...
Add more tests to cover more features of the indexOfObject:inSortedRange:options:usingComparator method
2011-01-04 13:37:06 -03:00
Francisco Ryan Tolmasky I
b350b89376
Added some more KVO tests.
...
Reviewed by me.
2011-01-02 13:16:43 -08:00
Alexey Borzenkov
4678efff72
Fix #1063 [CPDate description] returns incorrect timezone + tests
2010-12-28 23:42:06 +03:00
Francisco Ryan Tolmasky I
e45ed19dc7
Fix remaining failing tests and add indexOfObject:inSortedRange:options:usingComparator:, and removed non-standard methods:
...
- indexOfObject:sortedBySelector:
- indexOfObject:sortedByFunction:
- indexOfObject:sortedByDescriptors:
- indexOfObject:sortedByFunction:context:
Reviewed by me.
2010-12-25 21:10:32 -08:00
Francisco Ryan Tolmasky I
e964c60830
Fix a few failing tests, and a bad import.
...
Reviewed by me.
2010-12-25 16:58:09 -08:00
Francisco Ryan Tolmasky I
37931f08b5
First pass at CPArray class cluster.
...
Reviewed by me.
2010-12-25 16:07:30 -08:00
Francisco Ryan Tolmasky I
9b75e37e1f
A number of set and array fixes and added tests for unordered accessor pattern in key value coding.
...
Reviewed by me.
2010-12-25 02:18:02 -08:00
Francisco Ryan Tolmasky I
232f1d008d
Added better implementation of valueForKey for indexed accessor pattern and tests for it.
...
Reviewed by me.
2010-12-25 01:47:18 -08:00
Francisco Ryan Tolmasky I
3947bd65f2
Reimplementation of CPSet as a class-cluster, and better set support for valueForKey:
...
1. CPSet and CPMutableSet are now abstract super classes that create appropriate concrete subclasses behind the scenes.
2. CPSet subclassers need only implement -count, -member:, and -objectEnumerator.
3. CPMutableSet subclassers need only implement -count, -member:, -objectEnumerator:, -addObject:, and removeObject:.
4. Added more CPSet tests.
5. Added _CPKeyValueCodingSet which subclasses CPSet for set returns in valueForKey:.
Reviewed by me.
2010-12-25 01:01:19 -08:00
Alexander Ljungberg
251ba407be
Implement CPURL isEqualToURL:.
2010-12-15 11:08:28 +01:00
Alexander Ljungberg
c65726fb12
Fixed: CPURL isEqual threw an exception if the argument was not a CPURL.
2010-12-14 23:49:24 +01:00
Randall Luecke
ce0ddb2e1f
Test for previous commit
2010-12-10 10:29:59 -05:00
Francisco Ryan Tolmasky I
d69f46f7ee
More capp_linting.
...
Reviewed by me.
2010-12-09 13:45:29 -08:00
Ross Boucher
ac6ccc3257
Merge branch 'master' of https://github.com/dasto/cappuccino into dasto-master
...
Conflicts:
Tests/Foundation/CPKeyValueCodingTest.j
2010-12-09 12:59:11 -08:00
Ross Boucher
a767d2199d
Merge branch 'tollfreefix' of https://github.com/hammerdr/cappuccino into hammerdr-tollfreefix
2010-12-08 13:35:22 -08:00
Francisco Ryan Tolmasky I
1cbaea0e3d
Further capp_linting - removing accidental global.
...
Reviewed by me.
2010-12-02 12:11:57 -08:00
Francisco Ryan Tolmasky I
400bdb5103
Further capp_linting.
...
Reviewed by me.
2010-12-02 11:44:42 -08:00
Francisco Ryan Tolmasky I
0ab92c77bd
More capp_linting.
...
Reviewed by me.
2010-12-01 22:57:57 -08:00
Klaas Pieter Annema
34339fbcd9
several bindings / KVC fixes
...
- setValue:forKeyPath will now get call setValue:forKeyPath again on the value of the first part of the key path
- override valueForKeyPath: and valueForKey: in CPObjectController's CPControllerSelectionProxy to return controller markers when appropriate
- override setValue:forKeyPath: and setValue:forKey: in CPObjectController's CPControllerSelectionProxy to bypass possible controller markers
This commit also removes previous hacks for compound paths and adds test cases for the errors. All this is related to issue #967 .
2010-11-23 14:18:22 +01:00
Klaas Pieter Annema
aeb3873f3c
fix valueForKeyPath: attempting to call valueForKey: on controller markers
2010-11-23 11:56:46 +01:00
Francisco Ryan Tolmasky I
9179a31a93
Style fixes.
...
Reviewed by me.
2010-11-13 12:41:31 -08:00
Andreas
ea5ab5e921
Add CPIndexPath implementation and tests
2010-11-13 12:22:06 +01:00
Alexander Ljungberg
5d505f5271
Merge branch 'CPString-copy' of https://github.com/cacaodev/cappuccino into cacaodev-CPString-copy
2010-11-11 16:57:49 -03:00
Alexander Ljungberg
4bad3c2823
Merge branch 'CPPredicate' of https://github.com/cacaodev/cappuccino into cacaodev-CPPredicate
2010-11-11 12:59:04 -03:00
Klaas Pieter Annema
b7d7b99a82
Merge branch 'CPDecimalNumber'
2010-11-09 10:38:58 +01:00
Klaas Pieter Annema
e48a437c88
fix failing CPUserDefaults test
2010-11-09 10:28:36 +01:00
Nicholas Small
5078c3e9cf
Merge branch 'fix-cpuserdefaults-protocol' of https://github.com/primalmotion/cappuccino into primalmotion-cpuserdefaults-fixes
2010-11-08 11:52:43 -05:00
cacaodev
3b35219beb
Fix [[string copy] isEqual:[string copy]] == NO
2010-11-07 21:43:02 +01:00
cacaodev
ca289e081e
CPPredicate parsing support:
...
"($)path.($)variable"
"SUBQUERY(collection, $x,$x = 2)"
"sum:(arg1, ...)"
"FUNCTION(target, selector, arg1, ...)
"object[expression]"
"set UNION|INTERSECT|MINUS otherset"
Fixed a bug where CPExpression_set was evaluating to an expression instead of a set.
Replaced parsing exceptions with a generic function indicating where it failed.
2010-11-07 17:56:22 +01:00