cacaodev
c7ef136a7b
Replaced CPTableView+Debug by the improved version called CPTrace. Cib test: visual output for view loading perormance (avg/row since tracing start).
2012-07-07 15:43:33 +02:00
cacaodev
5017189440
Merge remote-tracking branch 'upstream/master' into CPTableViewLion
...
Conflicts:
AppKit/Themes/Aristo/ThemeDescriptors.j
2012-07-07 11:10:05 +02:00
cacaodev
f516078510
PR #1573
...
Support value transformers for CPContent and CPContentValues bindings.
Made _CPPopUpContentValuesBinder a subclass of CPPopUpContentBinder and reuse setContent:.
Fixed a bug in selectedIndex binding set and reverse set when insertsNull options is on.
_CPPopUPSelectionBinder : simplified the code for getting the unique selection binder in use.
ojunit and manual tests for contentvalues + value transformer.
2012-07-06 22:35:37 +02:00
aparajita
98fbf3abc1
Merge pull request #1601 from slevenbits/CPComboBox
...
CPComboBox and CPTextField enhancements
- Full Cocoa-compliant implementation of CPComboBox and CPComboBoxDelegate.
- Better focus ring for CPTextField and all subclasses.
- CPTextField and its subclasses draw disabled contents differently, per Cocoa.
2012-07-06 13:24:01 -07:00
Martin Carlberg
e265d09034
Fixed sortUsingDescriptors: so it can handle sort descriptors
...
with a key path instead of just a key.
Also added a test case for this.
2012-07-06 20:52:33 +02:00
Alexander Ljungberg
552ba68187
Refs #1599 . Fix teacher.car.year unit test message.
2012-07-06 15:53:19 +01:00
Alexander Ljungberg
cff29904d7
Refs #1599 . Format code.
2012-07-06 15:53:03 +01:00
Aparajita Fishman
32737e0b72
CPComboBox and CPTextField enhancements
...
- Full Cocoa-compliant implementation of CPComboBox and CPComboBoxDelegate.
- Better focus ring for CPTextField and all subclasses.
- CPTextField and its subclasses draw disabled contents differently, per Cocoa.
2012-07-06 00:15:23 -07:00
Ilya Kulakov
4094a1f826
Fix wrong change is sent to observer when top level object is changed.
...
When you change the top level object, observer MUST receive value
for the key path of the previous top level object as old and
value for the key path of the new top level object as new.
2012-07-05 17:59:29 +07:00
Alexander Ljungberg
34be9cea3a
Refs #1559 . Fix split view autosave test.
2012-07-04 23:17:38 +01:00
cacaodev
42f49795af
Ignore Value Transformers, no error and log an info message.
2012-07-04 23:18:47 +02:00
Aparajita Fishman
593f3c2109
Fixed the method names
2012-07-04 17:03:53 -04:00
aparajita
16b7093e19
Merge pull request #1595 from slevenbits/array-filters
...
Added CPArray -indexesOfObjectPassingTest methods
2012-07-04 12:46:51 -07:00
Aparajita Fishman
0f5a6b4e5e
Added CPArray -indexesOfObjectPassingTest methods
2012-07-04 15:41:45 -04:00
cacaodev
c7a8124be8
CPPopUpButtonTest test CPContentValuesBinding with value transformer. Currently failing.
2012-07-04 17:55:39 +02:00
Martin Carlberg
e5f4a7c39a
Added support for CPNullPlaceholderBindingOption and made some clean up of code
2012-07-03 12:36:19 +02:00
Alexander Ljungberg
814e72879e
Manual test for split view autosave.
2012-07-03 11:09:39 +01:00
Alexander Ljungberg
5f9463a030
Refs #1558 . Test all split view divider types.
2012-07-03 10:54:27 +01:00
cacaodev
c865644e6c
Test for CPPopUpButton bindings.
2012-06-29 19:42:20 +02:00
Martin Carlberg
fec1586380
CPPopUpButton bindings support (set for all and reverse for selection related bindings) using a CPBinder subclass instead of dedicated selectors.
2012-06-29 19:40:23 +02:00
Aparajita Fishman
cae5486ec6
Added missing class checks in +initialize, regularized checking code
2012-06-28 12:05:18 -07:00
Alexander Ljungberg
a2787f8783
Formatting.
2012-06-25 21:57:28 +01:00
Alexander Ljungberg
bd83885eca
Refs #1527 . Backwards compatibility.
...
If no highlight or state masks were encoded (button was encoded prior to them being added), make sure to let the default settings stand.
2012-06-25 17:42:31 +01:00
Alexander Ljungberg
d34d139658
Refs #1572 . Default CPButton type.
...
If a button is created in code it should act like a regular momentary push in button by default.
2012-06-25 17:21:56 +01:00
Alexander Ljungberg
378822b777
Merge pull request #1572 from slevenbits/cpbutton-masks
...
CPButton and subclasses respect highlightsBy and showsStateBy masks now.
Conflicts:
AppKit/CPButton.j
Tests/Manual/CPButtonTest/AppController.j
Tests/Manual/CPButtonTest/Info.plist
Tests/Manual/CPButtonTest/Resources/MainMenu.cib
Tests/Manual/CPButtonTest/Resources/MainMenu.xib
2012-06-25 16:05:03 +01:00
Ilya Kulakov
c46c365823
Extenend CPButtonTest to test highlightsBy and showsStateBy.
2012-06-25 18:57:06 +07:00
Adam Radabaugh
84c8427bb4
Merge branch master
2012-06-23 14:21:45 -06:00
cacaodev
539a8f0ca9
An OJTest for the table view's content binding
2012-06-22 21:59:41 +02:00
cacaodev
6b051d77ab
Comment
2012-06-17 12:14:36 +02:00
cacaodev
10ae5bfbc0
Merge remote-tracking branch 'upstream/master' into CPTableViewLion
2012-06-17 12:10:37 +02:00
Antoine Mercadal
0d29f15b70
Merge pull request #1513 from BlairDuncan/MenuTimestampFix
...
Fix for menu selection that was broken with the change to CPEvent timestamp
2012-06-14 17:02:06 -07:00
Antoine Mercadal
714d36d8c8
Merge branch 'CPImageView-bindings' of https://github.com/cacaodev/cappuccino into pull1534
2012-06-14 13:05:04 -07:00
Antoine Mercadal
6f32e598e9
Add manual tests for disabled button with image
2012-06-13 15:22:53 -07:00
Alexander Ljungberg
7a467e249e
Manual test for toolbars.
2012-06-13 01:40:59 +01:00
cacaodev
4daef7fc07
Merge remote-tracking branch 'upstream/master' into CPTableViewLion
2012-06-10 08:57:30 +02:00
Alexander Ljungberg
e232b18b94
Merge pull request #1560 from mrcarlberg/cappuccino
...
---
I needed to sort a lot of objects and was not impressed by the speed.
Sharing my improvements...
2012-06-10 01:00:40 +01:00
Alexander Ljungberg
fcf62080d6
Re #1562 . Make native comparison more realistic.
...
This might have a small speed implication.
2012-06-10 00:59:08 +01:00
Alexander Ljungberg
58103ce0f3
Re #1562 . Also performance test selector sort.
...
It looks like issue #1560 will cause a different sorting function to be used for selectors vs descriptors so performance of both should be monitored for regressions.
2012-06-10 00:58:27 +01:00
Alexander Ljungberg
0827f584be
Re #1562 . Simplify.
2012-06-10 00:39:37 +01:00
Alexander Ljungberg
f042996e7f
Re #1562 . Only load sort text for tests which use it.
2012-06-09 23:16:52 +01:00
Alexander Ljungberg
7b307a6fb4
Re #1562 . Format code.
2012-06-09 23:08:27 +01:00
Martin Carlberg
d7ff93f7f2
SortUsingDescriptors: Using the selector in the descriptor instead of always using compare:
2012-06-08 19:48:39 +02:00
cacaodev
0483f9d714
CPArrayPerformanceTest: fixed native sort testing, added tests for random numeric array and text array
2012-06-08 18:19:37 +02:00
cacaodev
25a4a00b16
Merge remote-tracking branch 'upstream/master' into CPTableViewLion
2012-06-07 15:08:51 +02:00
Alexander Ljungberg
55709cb83a
Test CPDate testInitWithString with a date prior to 1970.
...
This verifies that there are no problems with negative time intervals.
2012-06-02 13:18:58 -07:00
Alexander Ljungberg
d0c7796e7c
Match CPDate distantPast and distantFuture with Cocoa.
2012-06-02 13:17:34 -07:00
Alexander Ljungberg
25763962b2
Code formatting.
2012-06-02 11:53:04 -07:00
Alexander Ljungberg
fc858933be
Re #1556 . Make CPDate testSince1970 agree with new reference date.
2012-06-02 11:32:19 -07:00
Alexander Ljungberg
6877aaaf61
Re #1556 . Unit test CPDate dateWithTimeIntervalSinceReferenceDate:.
2012-06-02 11:27:19 -07:00
Alexander Ljungberg
e4ab1256da
Merge pull request #1556 from cacaodev/cappuccino
...
---
See <https://developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/Classes/NSDate_Class/Reference/Reference.html#//apple_ref/occ/clm/NSDate/dateWithTimeIntervalSinceReferenceDate :>
2012-06-02 11:23:22 -07:00