Commit Graph

23620 Commits

Author SHA1 Message Date
mattias
f286fac16b updated makefiles 2024-07-15 10:50:53 +02:00
rich2014
2fa8c3206c Cocoa: fix the linker issue that APP could not run on macOS 10.13- after linking the UserNotifications Framework 2024-07-09 22:33:07 +08:00
rich2014
caad04b08d Cocoa: add system default Sound to notification 2024-07-09 22:32:48 +08:00
rich2014
14d9977fc8 Cocoa: apply Notification to ShowBalloonHint (New and Legacy) 2024-07-09 22:31:22 +08:00
rich2014
e79b42baa3 Cocoa: add definitions related to UNUserNotification 2024-07-09 22:30:40 +08:00
rich2014
9d09a0c98b Cocoa: improve TrayIcon to make it adaptive icon size 2024-07-08 21:15:49 +08:00
rich2014
30719c1db4 Cocoa: Notification can be set to always be presented, even when the app is in Focus. 2024-07-08 21:15:49 +08:00
rich2014
5db9facb32 Cocoa: fix the issue that ShowBalloonHint does not conform to conventions on macOS, issue #41016 2024-07-08 21:15:49 +08:00
rich2014
2b98b04950 Cocoa: add notice comments for NSScroller.isCompatibleWithOverlayScrollers() 2024-07-05 21:20:31 +08:00
rich2014
16fa2d2364 Cocoa: remove unused Scroller Arrow related code
Scroller Arrow has been removed since macOS 10.7
2024-07-05 21:20:31 +08:00
rich2014
f1a9cdfe14 Cocoa: fix the visibility of Overlay Style Scroller 2024-07-05 21:20:31 +08:00
rich2014
d5e286fd61 Cocoa: fix the visibility of Legacy Style Scroller 2024-07-05 21:20:31 +08:00
rich2014
551af85901 Cocoa: ensure that in extreme cases, the Scroller can remain Horizontal/Vertical unchanged 2024-07-05 21:20:31 +08:00
rich2014
ccadb8bbdd Cocoa: remove duplicate code in TCocoaScrollStyleManager.updateLayout() related 2024-07-05 21:20:31 +08:00
rich2014
7f97b8379d Cocoa: remove unnecessary Legacy Style-only code in Scroll 2024-07-05 21:20:31 +08:00
rich2014
ca2bb30540 Cocoa: unify Scroll related naming 2024-07-05 21:20:30 +08:00
rich2014
08653013fd Cocoa: Trackpad Tapping in ManualScrollView supported 2024-07-03 22:51:47 +08:00
rich2014
35cb0e2579 Cocoa: add trackpad related to ManualScrollView 2024-07-03 22:49:46 +08:00
rich2014
317229c8db Cocoa: prepare to add Touches Tapping to ManualScrollView 2024-07-03 22:44:58 +08:00
rich2014
37ee982ef3 Cocoa: prepare to improve ManualScrollView related 2024-07-03 22:38:51 +08:00
rich2014
46a014d098 Cocoa & Db: enable dbedit/dbmemo to input when FDataLink.Field=nil, patch by Ugo Boccardi 2024-07-02 21:32:32 +08:00
rich2014
fdbb1e6aa3 Cocoa: fix the issues related to Canvas Clipping, especially on version < macOS 11 2024-07-02 20:21:48 +08:00
rich2014
d0d80cf295 Cocoa: improve the handling of the mouse passing through the Overlay Style Scroller quickly 2024-07-02 20:18:29 +08:00
rich2014
9c955b7cf7 Grids: fix the issue that Grids don't update data to Cocoa when the ScrollBar is hidden on macOS
on macOS, there are two styles: Legacy and Overlay. whether the ScrollBar data is synchronized can't be determined by whether it is visible.
2024-07-01 21:32:04 +08:00
rich2014
570352971d Cocoa: fix a few issues in Scroller 2024-07-01 20:12:59 +08:00
rich2014
f57d734eba Cocoa: comments added 2024-07-01 20:12:59 +08:00
rich2014
c71dcae1a0 Cocoa: refactor Scroller related constants to CocoaConfig and make them configurable 2024-07-01 20:12:59 +08:00
rich2014
1246669bfc Cocoa: improve compatibility of Overlay Style on earlier macOS versions 2024-07-01 20:12:59 +08:00
rich2014
daf3b79a08 Cocoa: reduce unnecessary calls to updateLayout in TCocoaManualScrollView.setHasVerticalScroller()
in TCocoaManualScrollView.setHasHorizontalScroller() and TCocoaManualScrollView.setHasVerticalScroller
2024-07-01 20:12:59 +08:00
rich2014
a31d972306 Cocoa: Fix the issue when Knob Size is too small 2024-07-01 20:12:59 +08:00
rich2014
50cdfdfaae Cocoa: Scroller Style can be dynamically updated at runtime according to macOS settings 2024-07-01 20:12:58 +08:00
rich2014
fc40f7730d Cocoa: Unify the Hidden concept of different ScrollBar Styles into the Available concept 2024-07-01 20:12:58 +08:00
rich2014
10363b7140 Cocoa: Scroller Style can be configured according to the System/Legacy fixed/Overlay fixed 2024-07-01 20:12:58 +08:00
rich2014
71d3a8aebb Cocoa: Integrate not Managed ScrollBar and Legacy Implement 2024-07-01 20:12:58 +08:00
rich2014
79b3c78ac0 Cocoa: Overlay Style ScrollBar implement added 2024-07-01 20:12:58 +08:00
rich2014
b081e349c1 Cocoa: integrate ScrollView / ScrollBar / Legacy Implement 2024-07-01 20:12:58 +08:00
rich2014
b1529da111 Cocoa: Legacy Style ScrollBar implement added 2024-07-01 20:12:58 +08:00
rich2014
633de2ccec Cocoa: prepare to fix ManualScrollView and add three basic classes 2024-07-01 20:12:58 +08:00
Juha
da3310dd21 LCL: Make TCustomAction more compatible with current Delphi. Issue #41005, patch by Alexander (Rouse_) Bagel. 2024-06-29 14:13:32 +03:00
Juha
c97810f83e LCL-GTK3: Fix picture preview dialog. Issue #41004, patch by Anton Kavalenka. 2024-06-28 17:54:46 +03:00
Juha
d328064efb LCL-GTK3: Force new path on color change. Issue #40971, patch by Anton Kavalenka. 2024-06-28 12:54:40 +03:00
rich2014
d2dec71025 Cocoa: fix the issue that Overlay Style Scroller sometimes could not be hidden correctly
1. it's because when the user scrolls the ScrollView, LM_VSCROLL/LM_VSCROLL messages are sent to LCL in NSScrollView.scrollWheel()
2. when LCL processes these messages, it sets the position of NSScrollView by calling SetScrollInfo()
3. if NSScrollView is in the animation effect at this time, the Scroller will not be hidden after the animation
4. by adding functions, it is possible to distinguish whether the scrolling is initiated by the user or by LCL. if it is initiated by the user, there is no need to set the position of NSScrollView.
2024-06-20 22:16:27 +08:00
rich2014
75e896342d Cocoa: scrollContentViewBoundsChanged() removed 2024-06-20 22:06:59 +08:00
rich2014
62cf9b2bae Cocoa: Fix the Scrolling issue on TCustomControl 2024-06-20 22:06:59 +08:00
rich2014
dfc1bbeec2 Cocoa: Fix the issue that the ScrollBars of corresponding TScrollingWinControl were not updated correctly 2024-06-20 22:06:59 +08:00
rich2014
eacd34023f Cocoa: Fix Message Result in TCocoaWidgetSet.CallDefaultWndHandler.CallMouseWheelHandler() 2024-06-20 22:06:59 +08:00
rich2014
bc7ef3d1eb Cocoa: Fix rect in TLCLCommonCallback.DrawBackground() 2024-06-20 22:06:59 +08:00
rich2014
2bb8922ae8 Cocoa: remove circular unit references, add CocoaWSScrollers unit 2024-06-20 22:06:59 +08:00
rich2014
595fd26f3f Cocoa: fix the size issue of Scrolling Control with Overlay Style Scroller 2024-06-20 22:06:59 +08:00
rich2014
1459f56c95 Cocoa: fix the size of Overlay Style Scroller in TCocoaWidgetSet.GetScrollBarSize() 2024-06-20 22:06:59 +08:00