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
Alexander Ljungberg
8edee4e755
Fix accidental globals, cleanup.
2010-12-15 16:02:50 +01: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
Alexander Ljungberg
8ef7f07195
Fixed: CPArrayController's addObject and CPArray's insertObject:inArraySortedByDescriptors:.
...
CPArray insertObject:inArraySortedByDescriptors: now quickly inserts objects at the end of the array if no sort descriptors are specified.
CPArrayController initialises its sort descriptors to an empty array.
Fixed: array controller's addObject added objects to the arranged objects array in a different order than in the content array if no sort descriptor was set.
2010-12-14 23:33:14 +01:00
Alexander Ljungberg
b381fe6c27
Cleanup.
2010-12-14 12:36:37 +01:00
Randall Luecke
c80116e90d
Removed leftover from versioning fixes
2010-12-11 01:01:56 -05:00
Francisco Ryan Tolmasky I
f667c39ade
Further versioning fix.
...
Reviewed by me.
2010-12-10 09:04:13 -08:00
Randall Luecke
3a716c08f8
CPObject -version should be static and zero by default.
2010-12-10 10:01:33 -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
Daniel Stolzenberg
29ed8f3116
fixed issues with "CPKeyValueObservingOptionPrior" and "CPKeyValueObservingOptionOld" on dependent keys caused by improper wrapped observation messages
2010-12-09 14:56:55 +01:00
Ross Boucher
df7c8bf508
Remove unwanted global.
2010-12-08 16:11:25 -08:00
Ross Boucher
1e2fdc3e1b
Remove tabs; Update some of the toll free bridging code.
2010-12-08 15:44:28 -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
Derek Hammer
d4d831b9ac
Fixing a bug caused by the function inline.
2010-12-01 20:12:12 -08:00