Aparajita Fishman
a74267e937
Merge remote branch 'refs/remotes/280north/master'
2011-06-04 16:20:50 -07:00
Aparajita Fishman
fe69142567
Merge remote branch 'refs/remotes/aparajita/runtime-attributes'
...
Conflicts:
Tools/nib2cib/NSNibConnector.j
2011-06-04 10:39:50 -07:00
Tom Robinson
fa0a4d3b56
Fix tests for CI.
2011-06-03 21:15:25 -07:00
Alexander Ljungberg
0a9c9741e8
CPArray mutableCopy.
2011-06-02 15:09:54 -04:00
Aparajita Fishman
a5c06c8f27
Merge remote branch 'refs/remotes/280north/master'
...
Conflicts:
AppKit/CPTableView.j
2011-05-30 23:37:16 -07: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
Aparajita Fishman
b3cbc7e362
Test app and unit test to validate pinned ranges in beginsWith/endsWith predicate comparison.
2011-05-26 14:29:51 -07:00
Aparajita Fishman
33345f65ce
Restored space, backspace and escape as key equivalents, but only if the first responder is not a CPTextField. Updated test app to show clearly the effect of this change.
2011-05-23 16:31:15 -07:00
cacaodev
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
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
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
Aparajita Fishman
3fe5ec5d6d
Fixed set of keys that can be considered a key equivalent, removed redundant call to performKeyEquivalent, test app
2011-05-22 18:05:08 -07: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
Aparajita Fishman
89dbccd74e
Use CPLog instead of console.log
2011-05-20 08:01:22 -07:00
Aparajita Fishman
a4647f2b82
CPColor and CPImage enhancements
...
- Enhanced -description method of CPImage and CPColor to show the exact content, especially for pattern colors.
- Added CPColorWithImages() convenience function, analogous to PatternColor() function used in theme descriptors.
- Added @cond/@endcond in CPColor to ignore local variables.
- Sample app included.
2011-05-20 00:23:17 -07:00
Aparajita Fishman
94336ebcbb
Merge remote branch 'refs/remotes/280north/master'
...
Conflicts:
Tools/Documentation/preprocess/003.make_headers.rb
2011-05-19 23:19:08 -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
Aparajita Fishman
972bb4100f
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:29:54 -07:00
Antoine Mercadal
e8a38e0bc0
add small visual test project
2011-05-18 08:51:05 +02:00
Aparajita Fishman
8b3f9c5557
Merge remote branch 'refs/remotes/280north/master'
...
Conflicts:
Tools/Documentation/doxygen.css
Tools/Documentation/processor_setup.sh
2011-05-17 10:48:22 -07: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
Aparajita Fishman
2bf9afa97a
Whitespace cleanup
2011-05-11 23:58:20 -04:00
Aparajita Fishman
9e892d4eea
Added CPMenu -removeAll method, removed unused internal _itemIsHighlighted method, test app
2011-05-11 23:56:01 -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