David Richardson
1a9a42ff54
Replace #pragma mark with // MARK:
...
Replace objc directive with native Javascript version // MARK: to facilitate elimination of preproccsing pass.
2026-07-21 15:15:53 -06:00
daboe01 and GitHub
9ecc739e8d
Merge pull request #3186 from daboe01/colorpanel-fixes
...
Fix CPColorWell drag-and-drop and responder chain integration
2026-03-25 19:33:27 +01:00
daboe01
031e5e7ca3
fixed: selection issues
2026-03-08 19:52:58 +01:00
daboe01
b1f2fb44a8
new: CPOutlineView bindings support
2026-03-07 21:43:41 +01:00
daboe01
cd4c3cffe0
fixed: test cases
2026-03-07 20:05:50 +01:00
daboe01
98c01b88e2
fixed various binding issues
2026-03-07 20:00:09 +01:00
daboe01
12960f8160
new: testcase
2026-03-07 19:27:01 +01:00
daboe01
1bbf87e2cb
fixed: testcases
2026-02-28 18:26:47 +01:00
daboe01
8db24fcaf6
new: testcases from enquora
2026-02-28 16:46:34 +01:00
daboe01 and GitHub
e198fbdc40
Merge pull request #3122 from daboe01/fixed-keycode-management-in-cptextview
...
fixed: Keyboard-event handling is based on the deprecated charCode
2026-01-28 20:57:07 +01:00
daboe01
dc23fe49af
new: unit tests
2025-09-04 11:54:06 +03:00
daboe01 and GitHub
c2d07b7b06
Merge pull request #3120 from daboe01/nil-in-cpviewcontroller-fix
...
fixed: subview's window setting did not happen BEFORE _setSuperview
2025-07-17 19:27:36 +02:00
daboe01 and GitHub
e9022d045c
Merge pull request #3123 from daboe01/new-viewcontroller-responder-chain-issue
...
fixed: CPViewController doesn't participate fully in responder chain
2025-07-05 16:41:23 +02:00
daboe01
c70ea739ec
fixed: unittest was overambitious
2025-07-05 16:39:10 +02:00
daboe01
85da0164ba
fixed: designated initialiser was not used
2025-07-05 16:32:22 +02:00
daboe01
2add37983d
new: unittest for responderchain
2025-07-05 15:56:44 +02:00
daboe01
27280f6da1
Update CPMenuTest.j
2025-07-05 12:35:43 +02:00
daboe01
ce7fec170a
Update CPEventTest.j
2025-07-05 12:33:21 +02:00
daboe01
98ef6fd902
Update CPEventTest.j
2025-07-05 12:30:58 +02:00
daboe01
1c4d9b1d8f
Update CPButtonTest.j
2025-07-05 12:29:11 +02:00
daboe01
b8b988c10b
Update CPResponderTest.j
2025-07-05 09:04:26 +02:00
daboe01
d12770c65d
fixed: testcase for keyevent
2025-07-05 08:57:29 +02:00
daboe01
bae78b5055
formatting
2025-06-22 21:52:57 +02:00
daboe01
c0705448cd
new: testcase
2025-06-22 21:47:26 +02:00
daboe01
3a9db70426
fixed: CPObjectController returns 'null marker' instead of nil
2025-06-22 11:04:46 +02:00
daboe01 and GitHub
2f563fb870
New: give nil values the chance to be transformed to true via CPNegateBoolean ( #3103 )
2025-04-28 15:40:57 +02:00
Martin Carlberg
d9e27e549f
Fixed: Removed compiler warnings in test case
2021-09-21 11:11:57 +02:00
Martin Carlberg
9f14dac5d2
Fixed: Cleanup of the output from our test cases
2021-09-21 11:11:25 +02:00
Martin Carlberg
6b1cdbd19c
Fixed: Removed compiler warnings from test cases
2021-09-21 10:58:03 +02:00
Martin Carlberg
89757e35e6
Fixed: Class Swapper should convert NSView -> CPView.
...
This is needed when a plain NSView is use without a Custom class name as it will otherwise try to create a NSView.
Also the Class Swapper is only used when the 'Instantiation' is check for 'Prefer code' under
the 'Runtime Behavior' header in the Document tab in Xcode. If this is not checked the '_CPCibCustomView'
is used instead of the Class Swapper.
2021-09-21 10:46:18 +02:00
Martin Carlberg
511e18b44f
Fixed: Wait for the bundle load to finish with the new async bundle load function
2021-09-17 21:55:48 +02:00
Martin Carlberg
ab4c87e69f
Fixed: Removed warnings and cleanup for test cases when converting to Node
2021-09-15 17:31:20 +02:00
Martin Carlberg
a893f3f5c1
Fixed: The tool ojtest now works with the new Node version.
2021-09-03 14:31:11 +02:00
daboe01
677076b89d
fixed: some cib files have been outdated
2021-04-01 18:04:06 +02:00
Martin Carlberg
01e295084c
New: Unit test to illustrate multiple value bindings on radio buttons
2020-12-14 13:11:24 +01:00
Didier Korthoudt and GitHub
ef779c346e
New: Support modern Cocoa behavior regarding radio buttons groups. ( #2941 )
2020-10-09 09:35:56 +02:00
Didier Korthoudt and GitHub
6c7d8df565
Aristo3: CPButton ( #2920 )
2020-10-02 12:59:32 +02:00
Didier Korthoudt and GitHub
ba6350e24d
NEW: CPSplitView modern Cocoa behavior implementation ( #2876 )
2020-02-21 14:32:53 +01:00
Martin Carlberg and GitHub
7dc77ed609
Fixed: Make sure we handle undefined when testing for nil values ( #2862 )
2020-01-31 13:43:58 +01:00
daboe01 and Martin Carlberg
9e289574ff
Fixed: attachment support was missing in CPTextView ( #2872 )
2019-12-19 09:08:33 +01:00
jasperdeb and Martin Carlberg
58c08cebd7
Fixed: Added underline support in CPTextView ( #2875 )
2019-12-06 09:12:31 +01:00
cacaodev and Martin Carlberg
623ad2b1dc
Fixed: Previoulsly, clearsFilterPredicateOnInsertion was applied (removes filter predicate) when setting content or on content binding. ( #2860 )
...
With Tests: Foundation unit test.
Solves #2791
2019-11-12 14:02:35 +01:00
Martin Carlberg
f666367b5d
Fixed: Optimization for bindings with longer key paths in table views.
...
This prevents a buildup of large arrays with a lot of values and then choose one row and throw away the rest. This is great for speed and a must for lazy loading.
Previous there was a optimization for this but it was only effective for short combined key path like 'a.b'. This pull request makes it effective for any kind of length of a combined key path like 'a.b.c.d...'.
This is done by returning the object at a row in the first found CPArray in the key path
that is divided in a first and second part.
The first part is never a combined key path. The second part can be a combined key path.
If this optimization is not done we will create an array with the valueForKeyPath value on each row and then pick
the wanted value for the row and throw away all the other rows. It is much more effective to first
pick the row and then do the valueForKeyPath on the rest of the key path.
2019-06-26 09:37:40 +02:00
Didier Korthoudt and Martin Carlberg
73f02cc1bf
NEW: Add first responder management based on content view to CPScrollView ( #2757 )
2018-08-21 09:14:21 +02:00
Didier Korthoudt and cacaodev
ad9d8a7200
FIXED: When attaching an externally owned tracking area to a view, view tracking areas were not correctly handled ( #2681 )
...
This PR also removes the -removeAllTrackingAreas method.
2018-05-28 20:44:31 +02:00
Martin Carlberg
1fe9c39dd5
Fixed: Test cases for the new or changed delegate methods and notifications.
2018-01-08 13:57:53 +01:00
cacaodev
095864de39
Fixed: CPTabView should not allow empty selection
...
Before this commit, a tab view could have an empty selection with the
following circumstances:
- The tab view was not created in IB
- the Tab View selection had not binding management
With test.
2016-10-21 10:13:47 +02:00
daboe01
91c52f8ec8
Merge remote-tracking branch 'cappuccino/master' into NEW--CPTextView
2016-09-03 09:40:49 +02:00
daboe01
c139b5eabb
Merge remote-tracking branch 'cappuccino/master' into NEW--CPTextView
2016-06-09 19:20:38 +02:00
cacaodev
d6dd0e551d
Revert "FIXED: CPView received multiple -viewDidHide/Unhide messages"
...
This reverts commit e58420b031 .
2016-06-09 10:13:21 +02:00