Alexander Ljungberg
551aa300ea
Merge branch 'master' of github.com:280north/cappuccino
2011-06-06 00:11:23 -04:00
Alexander Ljungberg
b50005049e
Fixed: array controller remove: would not only remove selected rows, but any other rows isEqual: to the selected rows.
2011-06-05 18:57:36 -04:00
Alexander Ljungberg
0e890e19ea
Fixed: during CPUserDefault change notifications, objectForKey: could return the value from prior to the change.
2011-06-05 17:32:56 -04:00
Alexander Ljungberg
b159815349
Suppress binding updates support.
2011-06-04 00:57:57 -04:00
Tom Robinson
fa0a4d3b56
Fix tests for CI.
2011-06-03 21:15:25 -07:00
Alexander Ljungberg
64e907156c
Minor array controller optimisation: don't send a filterPredicate change notification if clearsFilterPredicateOnInsertion is YES but filterPredicate is already nil when insertObject:atArrangedObjectIndex: is called.
2011-06-03 00:00:39 -04:00
Alexander Ljungberg
5d01ca428c
Optimise CPArrayController insertObject:atArrangedObjectIndex: by not attempting to arrange the content array. The given index is only meant for the arrangedObjects.
2011-06-02 23:41:03 -04:00
Alexander Ljungberg
0a9c9741e8
CPArray mutableCopy.
2011-06-02 15:09:54 -04:00
Alexander Ljungberg
8a9d997b44
Manual test for CPUserDefaultsController and nib2cib of it.
2011-05-30 21:34:20 -04:00
Alexander Ljungberg
302e753ebc
Table nib2cib test with taller table rows and a level indicator cell. The latter is very useful when comparing cell spacing between Cappuccino and Cocoa.
2011-05-30 18:05:49 -04:00
Alexander Ljungberg
1e6bca2214
Test level indicator with many segments.
2011-05-30 12:44:00 -04:00
Alexander Ljungberg
85c5094c8b
Manual test for level indicator.
2011-05-29 16:17:40 -04:00
Alexander Ljungberg
669c6d4ac0
Merge branch '0.9.1b'
2011-05-28 02:08:03 -04:00
Alexander Ljungberg
cf04fcc9d0
Verify correctness of observation notifications on arrangedObjects when the addObjects: message is sent.
2011-05-28 02:06:27 -04:00
Alexander Ljungberg
2e5081b137
Optimise array controller addObject: by eliminating entirely pointless rearrange when added objects did not pass the filter. Also avoided double rearrange if clearsFilterPredicateOnInsertion.
...
CPArrayControllerPerformance.j execution time on "testAddObject_, sorted, filtered" down from ~420ms to ~60ms on my machine.
2011-05-28 02:02:24 -04:00
Alexander Ljungberg
a1a06c3f75
Performance test array controller addObject: when clearing the filter predicate.
2011-05-28 01:47:25 -04:00
cacaodev and Klaas Pieter Annema
2b52f7d8da
- Fixed a bug where the right control was incorrectly recreated with a default value when switching operators.
...
- As per cocoa, the predicate is recomputed when you send the right control action, not when you change text. Update-as-you-type can be turned ON by subclassing -_sendsActionOnIncompleteTextChange method. Default is NO.
- Rewrote _reconfigureSubviews method, should be faster.
2011-05-23 10:59:44 +02:00
cacaodev and Klaas Pieter Annema
ea660e3dd4
CPPredicateEditorRowtemplate:
...
Fixed a bug when menu item titles and their corresponding keypath expressions where different and templates created in IB.
Fixed a bug appearing in Xcode4 IB when titles and keypath where identical.
2011-05-23 10:59:43 +02:00
cacaodev and Klaas Pieter Annema
ca1a1b43f1
CPRuleEditor & CPPredicateEditor & CPPredicateEditorRowtemplate implementations with theming, nib2cib support.
...
Tests: CPRuleEditorCibTest, CPPredicateEditorCibTest, SmartFoldersDemo: a real world usage of CPPredicateEditor.
Documentation for these 3 new classes.
2011-05-23 10:59:43 +02:00
Randy Luecke
f419629ce4
Merge pull request #1260 from aparajita/cpmenu-remove-all
...
Added CPMenu -removeAll
2011-05-21 18:21:15 -07:00
Randy Luecke
35f958f1a7
Merge pull request #1273 from aparajita/cornerview-fix
...
CPTableView does not remove corner view if header view is removed
2011-05-21 18:20:43 -07:00
Alexander Ljungberg
64f9309994
Merge pull request #1268 from primalmotion/cappuccino
...
---
This patch makes nib2cib dealing with NSButtons much more better by setting particular offsets
according to the the kind of button.
Here is a screenshot of what I have done in IB :
<http://img839.imageshack.us/img839/4379/19894787.png >
This is the rendering of nib2cib without this patch:
<http://img263.imageshack.us/img263/1708/without.png >
This is the rendering of nib2cib with this patch:
<http://img263.imageshack.us/img263/1097/with.png >
2011-05-19 21:54:12 -04:00
Antoine Mercadal
bf516b5fc5
update the CPToolTip manual test
2011-05-18 19:33:01 +02:00
Aparajita Fishman
4ab69ebb68
If there is no header view, there should be no corner view. This is what Cocoa does. Also for correctness -enclosingScrollView should be used to get the table's scrollview. Test app included.
2011-05-18 10:30:43 -07:00
Antoine Mercadal
e8a38e0bc0
add small visual test project
2011-05-18 08:51:05 +02:00
Alexander Ljungberg
fb07e2ae06
Refs #1266 . Simple manual/visual test for font conversion.
2011-05-17 01:17:38 -04:00
Alexander Ljungberg
8bdb0f6215
Replace extremely outdated and defunct NibApp manual test with a new one based on current templates, preserving and fixing the good parts of NibApp.
2011-05-17 00:40:41 -04:00
Alexander Ljungberg
f8984ced97
Refs #903 . Comment out failing tests until Obj-J 2 fixes them.
2011-05-15 19:36:04 -04:00
Alexander Ljungberg
7539b5b06d
Merge pull request #903 from paulbaumgart/cappuccino
...
---
Some OJTestCases for the Preprocessor to help make sure it still works as expected when it gets revamped to remove with() from method code generation.
Note that this adds a test case which the current Preprocessor fails: http://github.com/paulbaumgart/cappuccino/commit/8cc61cccfd78debe96eba96a7b332938e6d5377e#L1R81
2011-05-15 19:25:10 -04:00
Aparajita Fishman
1e9798eead
Whitespace cleanup
2011-05-11 23:59:43 -04:00
Aparajita Fishman
3242e35250
Added CPMenu -removeAll method, removed unused internal _itemIsHighlighted method, test app
2011-05-11 23:59:33 -04:00
Alexander Ljungberg
37cad2f59a
Merge pull request #1245 from primalmotion/cappuccino
...
---
This is a basic merge of the TNKits tooltip system in Cappuccino.
2011-05-11 19:30:41 -04:00
Alexander Ljungberg
8f5fe55dea
Manual test for continuous buttons.
2011-05-11 19:28:01 -04:00
Alexander Ljungberg
abd32f5abc
Renamed CPButtonImageTest to CPButtonTest to reuse it for non image related tests.
...
Having fewer but slightly wider manual tests reduces the number of individual apps which need testing when changes are made.
2011-05-11 19:03:21 -04:00
Alexander Ljungberg
5a2e5a7de3
Fixed CPColor isEqual: for pattern images.
2011-05-09 21:38:32 -04:00
Alexander Ljungberg
3db05c94ab
Closes #682 . Fix CPColor isEqual:.
2011-05-09 20:59:38 -04:00
Alexander Ljungberg
1ba69aee91
Refs #1254 . Updated unit test to account for, and verify that CPSet addObject:nil/undefined throws an exception.
2011-05-09 20:03:09 -04:00
Alexander Ljungberg
d5f281320f
[CPView _isVisible] convenience method.
2011-05-09 14:37:54 -04:00
Alexander Ljungberg
d6c7fecf64
Closes #684 . Cleaned up, added attribution and instructions for the CPWebView2 manual test.
2011-05-09 01:36:23 -04:00
Alexander Ljungberg
1392714896
Manual test which tests the effectiveness of both of the previous fixes.
...
The test also includes a URL based web view to show it works before and after the fixes.
2011-05-09 01:24:33 -04:00
Alexander Ljungberg
6f869cebc1
Closes #688 . Unit test verifying that the CPColor hexString weakness described in issue 688 has been resolved.
2011-05-09 00:29:43 -04:00
Klaas Pieter Annema
1a842b2a6f
add manual test case for previous commit
2011-05-05 13:21:50 +02:00
Klaas Pieter Annema
d8a09722c6
Merge branch '0.9.1'
2011-05-04 19:08:42 +02:00
Klaas Pieter Annema
21a50b990f
fix 2 bugs in CPIndexPath
...
1. we didn't return a copy of the indexes
2. indexPathByRemovingLastIndex didn't remove the last index
2011-05-04 19:07:06 +02:00
Klaas Pieter Annema
a9fe07f854
Merge branch '0.9.1'
2011-04-29 12:02:14 +02:00
Klaas Pieter Annema
0f88207d7b
fix out of bounds error in itemWithTitle:
2011-04-29 12:01:51 +02:00
Klaas Pieter Annema
81ffed3b9b
Merge branch '0.9.1'
2011-04-28 14:01:24 +02:00
Klaas Pieter Annema
ead6e4a592
implement CPDictionary's keysSortedByValueUsingSelector
2011-04-28 14:01:04 +02:00
Antoine Mercadal
3ddf6031fb
Support for tooltips on CPControls
2011-04-26 14:46:30 +02:00
Klaas Pieter Annema
0ee304058d
consolidate both CPKeyValueObservingTests into one
2011-04-26 11:34:47 +02:00