Martin Carlberg
d4e40faecc
Fixed: the class method +initialize was always sent even if the root class did not implement it. Forwarding and Invocation worked also on the method.
...
To mimic Objective-C correctly the +initialize method should not be sent on a class hierarchy if it does not implement it.
Also the +initialize method should not allowed to be forwarded to another target with Invocation or any other forwarding mechanism.
Added test cases for this and cleaned up some test cases that succeeded for the wrong reason.
This change will not affect many projects as all classes inherit from CPObject.
2019-02-20 23:44:00 +01:00
Alexander Ljungberg
181fb9edb6
New: Dockerfile which helps test bootstrap itself.
2018-09-10 10:39:07 +01:00
cacaodev
96793b39ba
Revert "Fixed: Define header-view-height attribute in ThemeDescriptors. ( #2764 )"
...
This reverts commit 9ad44e6dc2 .
2018-08-30 16:02:48 +02:00
cacaodev and Martin Carlberg
9ad44e6dc2
Fixed: Define header-view-height attribute in ThemeDescriptors. ( #2764 )
...
This is a better solution for problem introduced by #2758
2018-08-29 14:28:02 +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 Martin Carlberg
eeb056d509
Fixed: CPCursor-fix-and-update, some cursors were badly or not displayed ( #2752 )
2018-08-20 13:35:18 +02:00
Didier Korthoudt and Martin Carlberg
d5a7e8938d
CPTrackingArea-manual-test-fix ( #2759 )
2018-08-20 13:01:52 +02:00
daboe01 and Martin Carlberg
a178d43b01
Fixed: return key was not swallowed by textview but triggered the default button. ( #2598 )
2018-08-20 12:52:53 +02:00
daboe01 and Martin Carlberg
ef2152beea
FIXED: click to key window in the background did not bring it forward (take 2) ( #2705 )
2018-08-20 12:48:58 +02:00
daboe01 and Martin Carlberg
e6475c1a9e
Fixed: setMinSize: had no effect in platform windows ( #2609 )
2018-08-20 12:47:29 +02:00
daboe01 and Martin Carlberg
091debd2a7
Fixed: deviation from cocoa when calling setTitle:'' ( #2607 )
2018-08-20 11:40:00 +02:00
daboe01 and Martin Carlberg
e7eff3e585
Fixed: attached sheets were not put to front after calls to makeKeyAndOrderFront: in code ( #2606 )
2018-08-20 11:34:21 +02:00
daboe01 and Martin Carlberg
86a90e39d2
Fixed: key equivalent takes precedence over event tracking which is not the case in cocoa ( #2600 )
2018-08-20 11:31:36 +02:00
daboe01 and Martin Carlberg
ee695f9000
Fixed: CPSearchPanel did not support PredicateBindings ( #2699 )
2018-07-05 15:44:36 +02:00
cacaodev and GitHub
a8a9ec0023
Fix typo in CPPredicateEditorTest
...
Fixes #2714
2018-06-02 08:18:01 +02:00
daboe01 and cacaodev
6443575114
fixed: nib2cib was susceptible to IB button issue with alternateImage ( #2721 )
2018-05-28 21:10:40 +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
cacaodev and GitHub
93b12eb14f
Revert "FIXED: click to key window in the background did not bring it forward" ( #2702 )
...
Fixes #2700
2018-05-06 14:07:25 +02:00
cacaodev and GitHub
ecc82b5b51
Fixed: Typo CGSizZero() -> CGSizeMakeZero()
...
In BadgedOutlineView.j from SmartFoldersDemo test application.
2018-05-02 19:38:37 +02:00
daboe01
7f2977f4af
fixed: wording in manual test
2018-04-02 08:33:50 +02:00
daboe01
f55fa789c4
new: manual test for issue 2545
2018-03-18 22:33:49 +01:00
Martin Carlberg
2403f8833a
Fixed: Added an application description at the top of the window
2018-01-09 13:43:09 +01:00
Martin Carlberg
7b39533410
New: Added manual test application to monitor order and number of calls for CPTextView delegate methods and notifications.
2018-01-08 14:11:55 +01: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 and GitHub
5d63865ae5
Merge pull request #2546 from cacaodev/CPSplitView
...
CPSplitView -trackDivider: performance
2017-11-08 18:53:22 +01:00
Martin Carlberg and GitHub
bf67721ac4
Merge pull request #2548 from cacaodev/CPWindow-live-resize-notifications
...
CPWindow live resize notifications
2017-09-25 14:04:01 +02:00
cacaodev
81916d0f45
FIXED: A grouping context does not inherit the completion handler ...
...
… from the current context.
Also removed CPAnimationContext -copy method. CPAnimationContext is not
CPCopying compliant.
TEST: CPAnimationContextTest ->
testCompletionHandlerWithoutAnimatorWithGrouping2
2017-07-25 12:04:58 +02:00
cacaodev
03dccbe613
Add a manual test for the previous fixes.
...
The tests must be run independently because animations are launched at
the end of the current run loop.
2017-06-30 12:26:15 +02:00
cacaodev
1b4eeb35b3
Add a manual test CPWindowLiveResizeTest
2017-06-02 09:44:42 +02:00
cacaodev
ac193cd97a
Test: Add liveResize testing in CPWindowResizeStyle manual test
...
The window title changes during live resize.
2017-05-30 19:06:50 +02:00
cacaodev
7a02cd794b
Properly catch single-click, double-click, dragging on a divider
...
Previously, a double-click was also catched as a single-click on mouse
up,
dragging was handled is mouse down before tracking actually begins.
Manual test: added collapse capabilities to all split views.
2017-05-12 11:09:08 +02:00
cacaodev
d30c6aec7d
Fix label in demo (AutoSize checkbox)
2017-03-02 09:56:47 +01:00
cacaodev
34769da9cc
FIXED: tableview:didDragTableColumn: was never sent
...
With manual test.
2017-02-02 09:36:48 +01:00
daboe01
0170a099bb
formatting
2016-12-26 11:50:25 +01:00
daboe01
2b893d0ea1
fixed: placeholder string was not supported in textview bindings
2016-12-26 11:47:33 +01:00
daboe01
a08da57cbb
fixed: reverse setting did not work
2016-12-26 10:56:43 +01:00
daboe01
a313fe5a86
add basic binder + manual test
2016-12-26 09:40:58 +01:00
Martin Carlberg and GitHub
51b9b40c7e
Merge pull request #2515 from daboe01/chrome-rich-paste-fix
...
fixed: native paste on chrome was not working as robustly as it should [+1]
2016-12-13 09:40:18 +01:00
daboe01
b2383a084a
fixed: wrong name in CPTextView manual test
2016-12-12 22:32:00 +01:00
Alexandre Wilhelm and GitHub
1e0aacd811
Merge pull request #2511 from cacaodev/CPObjet-instancesImplementSelector
...
New: CPObject -instancesImplementSelector:(SEL)aSelector
2016-11-22 22:44:30 -08:00
daboe01 and cacaodev
8203c71b03
fixed: CPTextView's needsPanelToBecomeKey did not return YES ( #2512 )
...
This is confirmed to conform to cocoa.
2016-11-17 16:43:54 +01:00
cacaodev
8d403f579c
FIxed: IB connections in CPTabViewNibTest
2016-11-14 22:03:51 +01:00
cacaodev
5da8728d6c
New: CPObject instancesImplementSelector:(SEL)aSelector
...
Tests if instances of given class implement a selector.
With test.
Note: The naming is from cocoa where this method is semi-public.
2016-11-12 18:30:02 +01:00
cacaodev
037bc4ea2b
Test: demonstrate the new wantsPeriodicFrameUpdates animator property
...
In Tests/Manual/CPAnimatablePropertyContainerTest/
2016-11-07 22:26:30 +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
cacaodev and GitHub
0eb196e852
CPTabView: load tab view items asynchronously when possible ( #2479 )
...
When an item created with +tabViewItemWithViewController:, the view is loaded asynchronously
Manual test CPTabViewNib have been modified to show a tab view item
managed by a view controller. Any setup happens in
-viewDidAppear: because we cannot use any more the
tabView:didSelectTabViewItem: delegate method.
2016-10-20 17:24:18 +02:00
cacaodev and GitHub
4b55a69150
Merge pull request #2447 from cacaodev/CPAnimationContext-fixes
...
Fixed: The animation was reverting back to its initial position.
Fixed: custom layout and custom drawing was not animated in Chrome and Firefox.
2016-10-17 22:01:15 +02:00
Martin Carlberg and GitHub
bea03de562
Merge pull request #2068 from daboe01/NEW--CPTextView
...
New: CPTextView, CPTextStorage, CPTextContainer, CPLayoutManager and CPSimpleTypesetter + CPFontPanel + RTF parser/producer [+2]
2016-09-26 09:53:29 +02:00
cacaodev and GitHub
6061323c36
Test CPSegmentedControl enabled state ( #2481 )
2016-09-07 20:56:49 +02:00
cacaodev
17da8b04bf
Remove references to CPAnimationTriggerOrderIn
2016-09-05 21:43:54 +02:00