cacaodev
92fb183c22
CPKeyValueCodingArray/Set -copy. Fetch all objects through accessors, that's what cocoa does.
2011-01-05 19:21:13 +01: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
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
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
Daniel Stolzenberg
b2dac594dc
fixed 4 spaces for tab formatting issues in CPKeyValueCodingTest.j
2010-11-01 09:47:19 +01:00
Daniel Stolzenberg
6a7358920b
implemented CPKeyValueCodingTests for CPNull-nil-conversion and CPDictionary KVC-compliance
2010-10-27 10:43:31 +02:00
Daniel Stolzenberg
82cf7df7e9
implemented missing "setValue:forKey:" test for CPKeyValueCoding.j
2010-10-26 18:10:31 +02:00
Daniel Stolzenberg
4c58c602ff
implemented Tests for CPKeyValueCoding "valueForKey:"
2010-10-26 17:09:12 +02:00
Alexander Ljungberg and Ross Boucher
068cdb9817
CPNull valueForKey:X returns CPNull for any value of X, paralleling [nil valueForKey:X]. Verified against Cocoa through empirical testing.
2010-03-31 13:17:42 -07:00