Francisco Ryan Tolmasky I
f69e2e8d8f
Merge branch 'master' of github.com:280north/cappuccino
2011-01-12 08:41:26 -08: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
Alexander Ljungberg
28e660c295
Merge branch 'master' of github.com:280north/cappuccino
2011-01-12 11:02:33 -03:00
Alexander Ljungberg
9a76b4451f
Cleanup.
2011-01-12 10:54:47 -03:00
Alexander Ljungberg
b50f955cfd
Standardise source file header.
2011-01-12 10:52:35 -03: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
2f86c0d9d2
Slight initWithArray:shouldCopyItems: fix.
...
Reviewed by me.
2011-01-10 09:21:46 -08:00
Francisco Ryan Tolmasky I
5af66b60e1
Better -copy implementations for KVC arrays and sets.
...
Reviewed by me.
2011-01-09 03:46:29 -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
Francisco Ryan Tolmasky I
aa60a7b975
Use stubbed out Array methods instead of relying on them existing on the object.
...
Reviewed by me.
2011-01-06 10:28:24 -08:00
Francisco Ryan Tolmasky I
c071569f3c
Fix for @import loop when pressing.
...
Reviewed by me.
2011-01-05 18:24:42 -08:00
cacaodev
92fb183c22
CPKeyValueCodingArray/Set -copy. Fetch all objects through accessors, that's what cocoa does.
2011-01-05 19:21:13 +01:00
Klaas Pieter Annema
f7bc2b6d06
add a description to CPSortDescriptor
2011-01-05 12:47:36 +01:00
Randall Luecke
a292936d55
Extra bracket.
2011-01-04 23:01:44 -06:00
Randall Luecke
a000687a42
Fix for CPArray and _CPJavaScriptArray -copy
2011-01-04 22:59:33 -06: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
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
Alexander Ljungberg
9e92947b2c
Cleanup, fix accidental global in the average operator.
2011-01-02 11:42:40 -03:00
Alexey Borzenkov
4678efff72
Fix #1063 [CPDate description] returns incorrect timezone + tests
2010-12-28 23:42:06 +03:00
Francisco Ryan Tolmasky I
e39fa44cdb
Fix for typo in new KVC code.
...
Reviewed by me.
2010-12-27 10:40:27 -08:00
Francisco Ryan Tolmasky I
06b8636817
Removed remaining references to isKeyObserved.
...
Reviewed by me.
2010-12-27 10:38:10 -08:00
Francisco Ryan Tolmasky I
ab6609282d
Some reorganization.
...
Reviewed by me.
2010-12-27 03:02:00 -08:00
Francisco Ryan Tolmasky I
6ff21692f1
Fix for incorrectly installing KVO if all the mutation methods aren't implemented.
...
Reviewed by me.
2010-12-27 02:18:52 -08:00
Francisco Ryan Tolmasky I
23c4e584d4
Automatically re-validate toolbar items in multi-document windows, and restore removeObjectsInArray: to CPMutableSet.
...
Reviewed by me.
2010-12-26 15:26:04 -08:00
Francisco Ryan Tolmasky I
67ac778d4c
Sight improvement to applyChange: in KVO.
...
Reviewed by me.
2010-12-26 00:31:14 -08: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
f79c2346a5
More test fixes.
...
Reviewed by me.
2010-12-25 17:05:31 -08:00
Francisco Ryan Tolmasky I
f8ffb4abbd
Small fix and whitespace fix.
...
Reviewed by me.
2010-12-25 16:38:56 -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
Francisco Ryan Tolmasky I
1d39299a7d
Fix for missing imports and incorrect variable.
...
Reviewed by me.
2010-12-24 23:36:53 -08:00
Francisco Ryan Tolmasky I
da1389b0b4
Forgot one last typo.
...
Reviewed by me.
2010-12-24 16:46:17 -08:00
Francisco Ryan Tolmasky I
818c7dac3d
Fix for set accessor methods.
...
Reveiwed by me.
2010-12-24 16:29:40 -08:00
Francisco Ryan Tolmasky I
15b05304cc
Cleanup setValue:forKey:.
...
Reviewed by me.
2010-12-24 13:20:13 -08:00
Francisco Ryan Tolmasky I
e33c7f6be4
Initial support for valueForKey: supporting sets and arrays.
...
Reviewed by me.
2010-12-24 12:42:28 -08:00
Francisco Ryan Tolmasky I
d23bf7b927
Some KVC cleanup:
...
1. Added class_getInstanceVariable to runtime.
2. Changed KVC to rely on class-defined variables vs prototypal ones.
3. Modified KVO code to use public APIs.
Reviewed by me.
2010-12-23 23:46:23 -08:00
Francisco Ryan Tolmasky I
83058b01d3
Remove AppKit imports from Foundation.
...
Bugs filed to deal with associated technologies: #1051 and #1052
Reviewed by me.
2010-12-20 11:14:55 -08:00
Francisco Ryan Tolmasky I
3c8619db5d
Merge branch 'fixes' of https://github.com/stevegeek/cappuccino into stevegeek-fixes
...
Conflicts:
Foundation/CPValueTransformer.j
2010-12-20 11:13:54 -08:00
cncolder
5a6e266c8d
nib2cib binding with buildin transformers support.
2010-12-18 15:02:25 +08:00
Stephen Ierodiaconou
4f3146dc7b
Remove unnecessary defines of MIN/MAX/ABS
2010-12-16 20:20:58 +02:00
Francisco Ryan Tolmasky I
4372edb7c4
Fix for remaining reference to objj_standardize_path.
...
Closes #1040 .
Reviewed by me.
2010-12-16 09:51:44 -08:00
Stephen Ierodiaconou
d105388d82
Move CPOrderedX to CPObjRuntime only instead of duplicated in CPSortDescriptor
2010-12-16 19:16:38 +02:00
Stephen Ierodiaconou
fd812f25a5
Imports additions
...
Import fixes and clean up
Missing import
Missing imports
Missing import
Remove uncessary comments
2010-12-16 19:16:33 +02:00
Stephen Ierodiaconou
9f5904eaf2
Alphabetical order
2010-12-16 17:34:02 +02:00
Stephen Ierodiaconou
d246b19750
Some linting and deprecation error and ivar '_' addition
2010-12-16 17:18:11 +02:00