Martin Carlberg
edfba15d6f
Merge branch 'master' into node
2022-03-21 15:55:08 +01:00
daboe01
1ef49ef290
formatting
2022-01-23 13:42:12 +01:00
daboe01
76d52e07d4
fixed: freeze when clicking during sheet animation
...
previously, the app froze when clicking somewhere during sheet open/close animations.
these adversarial clicks are simply ignored by this PR
2022-01-23 13:39:33 +01:00
Alfred Wärnsäter
2ecea40fdc
lots of Node fixes
2021-08-19 10:56:13 +02:00
Didier Korthoudt and GitHub
78b3887e4a
New: CSS shadow, new theme parameters and Aristo3 CSS theme ready for CPWindow ( #2927 )
2020-10-09 14:29:10 +02:00
Didier Korthoudt and GitHub
e7d5afe90e
New: Added dynamic attributes set for CSS based themes ( #2701 )
2020-04-06 13:10:34 +02: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
Martin Carlberg and GitHub
50519776e0
Fixed: Update Tracking areas only once when doing setFrame: ( #2879 )
...
This speed improvement is very notable when resizing a browser window of altering the size of split views.
The fix uses a variable on the window to control when to update the tracking areas.
If the view is not connected to a window the tracking areas will not be updated as they will
be when added to a window.
2020-01-06 12:32:35 +01:00
Alexandre Wilhelm and GitHub
0db0d744da
Merge pull request #2784 from daboe01/fixed-wrong-return-type-in-isMovable
...
fixed: wrong return type in isMovable
2019-02-06 16:57:21 -08:00
daboe01
ae50fde4e1
fixed: wrong return type of isMiniaturized
2018-10-14 16:49:49 +02:00
daboe01
401461f1f0
fixed: wrong return type in isMovable
2018-10-14 13:36:53 +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
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 cacaodev
ad756a5b86
fixed: some mouse events were not propagated when sheets are open ( #2603 )
...
* fixed: mouse dragged was not propagated to parent window when sheet was opened
* better detection for attached sheet
2018-05-29 07:17:41 +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
0404ac0395
Merge pull request #2602 from daboe01/issue2545
...
FIXED: click to key window in the background did not bring it forward
2018-04-12 09:11:57 +02:00
daboe01
f961625f03
fixed: some events were not propagated to the bridge window
2018-04-11 18:30:47 +02:00
daniel
15c3a6eae4
Formatting: add missing semi-colons to CPWindow.j
2018-04-04 09:38:43 -07:00
daboe01
df462774aa
refactured front detection logic to own method _isFrontmostWindow
...
fixes travis error
2018-03-20 14:25:42 +01:00
daboe01
488541f26e
fixed: click to key window in the background did not bring it forward
2018-03-18 21:45:25 +01:00
cacaodev
35808e7bde
FIXED: uninitialized ivar
2017-06-02 11:15:23 +02:00
cacaodev
cee032bbc9
FIXED: send live resize notifications when the window animates
...
Like in cocoa, these notifications are not sent when a sheet is
displayed.
2017-06-02 09:42:59 +02:00
cacaodev
0f767d9dfc
CPWindow: add CPWindowWillStartLiveResizeNotification and CPWindowDidEndLiveResizeNotification
...
Also fixed CPView -(BOOL)inLiveResize
If a view is added during a live resize, it will not receive a
willStart notif.
If a view is removed during a live resize it will not receive a Didend
notif.
2017-05-20 13:52:50 +02:00
Didier Korthoudt
e0fab808b9
fix-overlappingTA-could-be-empty
2016-10-08 17:33:21 +02:00
Alexander Ljungberg
47196cbc55
Typos.
2016-08-19 14:57:57 +01:00
daboe01
5c1cdea3c6
Removed: Obsoleted Nativehost stuff
2016-07-08 21:34:14 +02:00
Didier Korthoudt
2877178b34
Formatting: following Aparajita's recommandations
2016-01-21 20:46:37 +01:00
Didier Korthoudt
0f30d7744d
FIXED: CPTrackingArea incorrect handling of view hierarchy updates while processing events
2016-01-19 07:07:45 +01:00
Didier Korthoudt
2ab50c6b61
code style fixed
2015-12-20 09:29:54 +01:00
Didier Korthoudt
d7426f6d35
Several fixes
2015-12-19 21:56:27 +01:00
Didier Korthoudt
8f15266f0a
delayed cursorUpdates modification
2015-12-17 21:48:27 +01:00
Didier Korthoudt
2a7c50d356
events-during-drag-fix
2015-12-15 15:09:19 +01:00
Didier Korthoudt
7089abcef2
missing-fix
2015-12-08 22:41:18 +01:00
Didier Korthoudt
08d4e19851
various-fixes
...
Following @aparajita indications
2015-12-07 14:58:42 +01:00
Didier Korthoudt
f14062c721
Style-fixes
2015-12-03 20:44:34 +01:00
Didier Korthoudt
634a8b4532
cocoadev-fix
2015-12-01 21:16:02 +01:00
Didier Korthoudt
2f983fc305
optimization
2015-11-29 15:37:33 +01:00
Didier Korthoudt
b10de5e82c
Code-refactoring
2015-11-21 09:20:28 +01:00
Didier Korthoudt
e1daf9467c
Code-style-fixes
2015-11-19 06:13:18 +01:00
Didier Korthoudt
8d058a53fd
CursorUpdate management + various fixes
2015-11-08 12:06:13 +01:00
Didier Korthoudt
d864ae9fef
Code style
2015-11-07 07:07:14 +01:00
Didier Korthoudt
1418dd8b29
First submit for CPTrackingArea
2015-11-06 14:09:23 +01:00
Martin Carlberg
4b81e0d8af
Merge pull request #2383 from mrcarlberg/use_more_fast_objj__msg_send
...
Use the faster objj_msgSend instead of the old slower objj_msgSend
2015-10-02 20:35:32 +02:00
Alexandre Wilhelm
c30f8b09b0
Fixed: warning when compiling in CPWindow, CPPanel and _CPCibKeyedUnarchiver
2015-10-02 11:09:48 -07:00
Martin Carlberg
e5e50c2220
Fixed: Use the faster objj_msgSend instead of the old slower objj_msgSend
...
In some places the objj_msgSend function is called directly. Most of the times the old slower version is called. This commit will use the never faster version instead.
2015-10-01 22:17:13 +02:00
Alexandre Wilhelm
34f724a4a4
Fixed: capp_lint fixes
2015-04-22 11:22:44 -07:00
Alexandre Wilhelm
5c2e0935c6
Fixed: CPApplication does not send willBecomeActive and didBecomeActive when having the focus on the application again
...
Previously, when clicking somewhere else in the system, cappuccino did no raise the notifications willResignActive and didResignActive of the application. As well cappuccino did not raise the notifications willBecomeActive and didBecomeActive when the user was back on the application.
Now it does !
Test app in Test/Manual/CPPlatform
2015-04-10 12:59:05 -07:00
Alexandre Wilhelm
fd068443aa
Fixed: keyWindow and mainWindow did not work when jumping from window to window when popover were open
...
Previously, when jumping from a platformWindow to another platformWindow where popover where opened, the wrong windows became key and main. This things occurred weird behavior of the platformWindows.
Now, it works as in cocoa, canBecomKeyWindow, becomeKeyWindow, becomeMainWindow, resignKeyWindow and resignMainWindow are called in the good order.
2015-04-09 15:14:33 -07:00