Alexander Ljungberg
61b0cbb1af
Test CPBrowser data loading.
2011-01-14 12:42:38 -03:00
Alexander Ljungberg
b7bdec189a
Fixed: when an outline view node was expanded, selections below it would not stick to their items if the newly expanded node also had previously expanded children.
2011-01-14 12:10:52 -03:00
Alexander Ljungberg
2a27a87ae6
Fixed: CPOutlineView could not be archived with CPCoding. Closes #1093 .
...
This fixes the exception "[_CPOutlineViewTableViewDataSource encodeWithCoder:] unrecognized selector sent to instance".
2011-01-13 22:18:05 -03:00
Alexander Ljungberg
c41defe864
Merge branch 'master' of github.com:280north/cappuccino
2011-01-13 20:56:58 -03:00
Alexander Ljungberg
6bc109f7fc
Optimised: outline view expandItem:expandChildren:YES sent repeated selection change notifications.
2011-01-13 20:51:43 -03:00
Alexander Ljungberg
2d603df83c
Fixed: outline view's collapseItem sent up selection notifications in triplicate, each of them at the wrong time.
2011-01-13 20:03:06 -03:00
Alexander Ljungberg
dcf440396d
Fixed: the outline view was temporarily inconsistent to outside observers while expanding a node.
...
In particular, a selection did change notification was sent before the rows the selection referred to had had a chance to be loaded.
2011-01-13 18:57:36 -03: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
Klaas Pieter Annema
e7dbd5a5cc
add test for CPButton setObjectValue: behavior
2011-01-10 09:32:18 +01: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
Derek Hammer
f3066594fe
Tests for Pull Request 1085
2011-01-08 22:12:20 -06:00
Alexander Ljungberg
0943065498
Merge branch 'master' of github.com:280north/cappuccino into eventualbuddha-CPTokenField-sendAction-fix
...
Conflicts:
AppKit/CPTokenField.j
2011-01-07 18:53:44 -03:00
Alexander Ljungberg
42cc3f309f
Manual test for token field action sending.
2011-01-07 18:52:18 -03:00
Klaas Pieter Annema
3d5232b308
give objects a chance to change their binder class
...
- make every object calling getBinding:forObject: aware of this change
- implement _CPCheckBoxValueBinder to handle binding to the value of a checkbox Closes : #1083
- re-implement CPTextField's behavior for controller markers using the new binder class
- disabled some tests that are not compliant with Cocoa
2011-01-07 14:14:19 +01:00
Klaas Pieter Annema
eee1dcef13
restore the original placeholder when unbinding
2011-01-07 14:14:19 +01:00
Ilya Kulakov
0d5ae63013
The isSubsetOfSet looking for objects inside itself instead of provided set
2011-01-07 02:03:11 +06:00
Alexander Ljungberg
c53fff058b
Preserve selection when expanding items in an outline view.
2011-01-05 21:25:57 -03:00
Alexander Ljungberg
c836bd48e0
Preserve selection when collapsing items in an outline view.
...
This fixes the error where if a row was selected below a certain item and that item was collapsed, the row selection would remain fixed in place even while the item it was highlighting moved upwards.
2011-01-05 21:09:19 -03:00
Alexander Ljungberg
ec675a5662
Deselect outline view items when their ancestor is collapsed.
2011-01-05 20:41:26 -03:00
Alexander Ljungberg
02e72493ef
Unit test outline view data loading and item collapse.
2011-01-05 20:40:30 -03: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
c87cb4bacd
properly fix CPThemeStateNormal behavior
...
- revert the previous fix
- explicitly check for CPThemeStateNormal in hasThemeState:
- update the test case
2011-01-05 12:30:14 +01:00
Klaas Pieter Annema
b6ea6530b7
hasThemeState: always returned no for normal state
2011-01-05 10:44:50 +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
51848b6cce
Merge branch 'master' of github.com:280north/cappuccino
2011-01-04 16:06:25 -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
Randall Luecke
c78f232e4a
Fix for ouline column disclosure button staying in place while resizing
2011-01-03 16:22:28 -06:00
Francisco Ryan Tolmasky I
b350b89376
Added some more KVO tests.
...
Reviewed by me.
2011-01-02 13:16:43 -08:00
Alexander Ljungberg
db509cb72f
Merge branch 'master' of github.com:280north/cappuccino
2010-12-31 15:24:09 -03:00
Alexander Ljungberg
35b2b5263c
Test table view inline cell editing in general, and the next fix in particular.
2010-12-31 14:59:24 -03:00
Alexander Ljungberg
d7316918a3
Refactor test data source in table view test.
2010-12-31 12:56:56 -03:00
Francisco Ryan Tolmasky I
d1eb20e7b3
Merge branch 'master' of https://github.com/snaury/cappuccino into snaury-master
2010-12-30 21:49:50 -08:00
Alexander Ljungberg
3caa703ced
Bring back testing of HUD style CPAlerts.
...
This part of the test was temporarily disabled recently due to changes which broke HUD style CPAlerts.
2010-12-29 23:15:22 -03:00
Alexey Borzenkov
4678efff72
Fix #1063 [CPDate description] returns incorrect timezone + tests
2010-12-28 23:42:06 +03:00
Randall Luecke
452febd73e
Test for uniform column resizing
2010-12-26 17:17:27 -06: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
Klaas Pieter Annema
de1ebe6319
add test case for previous fix
2010-12-22 10:49:02 +01:00
Johannes Fahrenkrug and Francisco Ryan Tolmasky I
3c3b7ff61c
Addition of applications tests and CPCollectionView selection fix.
...
Reviewed by me.
2010-12-18 10:34:32 -08:00
Francisco Ryan Tolmasky I
42db55fabd
Apply Chrome Frame fix across the board.
...
Reviewed by me.
2010-12-16 14:49:15 -08:00