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
Ross Boucher
abd908949a
Merge branch 'master' of github.com:280north/cappuccino
2010-12-15 15:53:23 -08:00
Ross Boucher
ab083a3baf
Clean up several flaws in CPTabView:
...
- should not force empty space above and below, but only where the tabs are
- box should fill frame when no tabs are present
- ivars should be prefixed with underscore
- not sure about the current background color code, may revisit
2010-12-15 15:48:42 -08:00
Alexander Ljungberg
d587016cc3
Fixed: CPSegmentedControl did not take divider width into account when auto sizing. This resolves the incorrect tab sizes in CPTabView.
...
If a segmented control was initialised with a zero width and then expanded with setSegmentCount, it would not allocate space for any needed dividers. The more tabs were added the more the segmented control would be undersized. The fix is to automatically adjust the width when dividers are added or removed.
2010-12-15 23:26:31 +01:00
Alexander Ljungberg
251ba407be
Implement CPURL isEqualToURL:.
2010-12-15 11:08:28 +01:00
Alexander Ljungberg
f72749fbd6
Allow home and end function keys as unqualified key equivalents. Manual test for home and end function keys.
2010-12-15 00:26:42 +01:00
Alexander Ljungberg
244ff0d846
Finished unit test based on Cocoa example With And Without Bindings 02.
2010-12-14 23:57:51 +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
f36d8224a6
Unit test based on Cocoa example With And Without Bindings 01.
...
This test exercises loading of an array controller with bindings to a table and a content array, plus various editing actions.
2010-12-14 15:05:30 +01:00
Alexander Ljungberg
c5c2a80af9
More unit tests on 01_WithoutBindings.
2010-12-14 13:40:44 +01:00
Alexander Ljungberg
b9dfd2a795
Merge branch 'master' of github.com:280north/cappuccino
2010-12-14 12:36:53 +01:00
Klaas Pieter Annema
003dcface0
make selectedTag accessor public again
...
This reverts commit cfee75b6e9 .
2010-12-13 22:16:06 +01:00
Alexander Ljungberg
0e05f1a8b7
Merge branch 'master' of github.com:280north/cappuccino
2010-12-13 13:39:41 +01:00
Klaas Pieter Annema
5a340804fe
remove failing reverse set selected tag test
2010-12-13 10:55:10 +01:00
Klaas Pieter Annema
65f6c35c88
add manual test for CPPopUpButton
2010-12-13 10:44:25 +01:00
Klaas Pieter Annema
0463af26b3
Merge branch 'CPPopUpButton-selectedTag-binding' of https://github.com/eventualbuddha/cappuccino into eventualbuddha-CPPopUpButton-selectedTag-binding
2010-12-13 10:11:46 +01:00
Blair Duncan and Francisco Ryan Tolmasky I
13940c97e7
Manual test for issue 842.
...
Reviewed by me.
2010-12-11 11:41:15 -08: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
901f3fe63b
Merge branch 'nib2cib-bindings-options' of https://github.com/cacaodev/cappuccino into cacaodev-nib2cib-bindings-options
2010-12-08 14:11:23 -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
2d74d9fa92
Slight style fix.
...
Reviewed by me.
2010-12-04 09:43:35 -08:00
Brian Donovan
79c2edca2d
Allow binding to CPPopUpButton's selectedTag.
2010-12-03 16:12:22 -08:00
Mike Fellows
18e943a65b
Expand the KeyEquivalent manual test to include tests for the keys allowed without Cmd/Ctrl modifier. Also include an additional check that each button's callback is being called.
2010-12-03 02:06:04 -08:00
Francisco Ryan Tolmasky I
20f36eaa9a
Added platform windows manual test.
...
Reviewed by me.
2010-12-02 18:41:00 -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
cacaodev and Klaas Pieter Annema
7c098753cf
CPSearchField:
...
- Fix recentAutosaveName decoding (setter was needed)
- Fix a bug where 2 search fields in the same app would receive the same recentSearches update when recentAutosaveName set.
- Update recentAutosaveName to use the new CPUserDefaults class instead of CPCookie.
- searchMenuTemplate nib2cib decoding. searchMenutemplate is just an outlet, it's automatically connected.
- Removed CPSearchFieldSeparatorItemTag
- Updated Test app with a nib2cibed search field. Ability to set some options for the regular search field.
- Style and white space.
2010-12-01 10:35:25 +01:00
Klaas Pieter Annema
14d9aac98b
add the test project used for the bindings fix
2010-11-29 09:49:58 +01:00
Randall Luecke
e3ef20eec3
Fixed up the variable row height test.
2010-11-27 16:48:08 -05:00
Randall Luecke
b8eb72f823
Fixes for drag and drop with variable row heights.
2010-11-27 13:19:51 -05:00
Randall Luecke
9003177bb7
Added more variable row height tabletests
2010-11-27 04:04:21 -05:00
Randall Luecke
37d9bff77f
Merge branch 'master' into tableview-variable
...
Conflicts:
AppKit/CPTableView.j
2010-11-26 17:44:37 -05:00
Alexander Ljungberg
f3f0bf3524
Unit test based on Cocoa example With And Without Bindings 01.
2010-11-26 17:12:46 -03:00
Alexander Ljungberg
b9ca57a921
Merge branch 'master' of github.com:280north/cappuccino
2010-11-26 15:57:48 -03:00
Alexander Ljungberg
a528a503d3
Typo fix.
2010-11-26 13:37:58 -03:00
Klaas Pieter Annema
8345788e59
disable value caching in CPControllerSelectionProxy
...
More information here http://groups.google.com/group/objectivej-dev/browse_thread/thread/c100f16095073332 .
2010-11-24 14:27:59 +01:00
cacaodev
5bec411bdc
Fix for nib2cibing bindings options.
2010-11-23 19:38:03 +01:00