Commit Graph

23897 Commits

Author SHA1 Message Date
Maxim Ganetsky
7cfcb81528 LCL-Gtk2: Call SetExceptionMask for all CPUs, not only for x86 (thus unify it with other widgetsets). Fixes crashes on AArch64, issue #41188. 2024-11-06 15:35:08 +03:00
wp_xyz
77121d9b42 LCL/GraphUtil: Exit ScaleImg immediately when no size change of the image is needed. 2024-11-05 17:32:43 +01:00
rich2014
8a371c283e Cocoa: add event handler to TCocoaConfigApplication, see also !351 2024-11-02 23:13:44 +08:00
David Jenkins
504b330788 Cocoa: Add function to create multi resolution image from an image list. Change TLCLListViewCallback.GetImageFromIndex to use that function 2024-11-01 16:01:55 +00:00
David Jenkins
5d44cb36d6 Cocoa: Rework pattern drawing to avoid calling DrawBitmapPattern and TCocoaBrush.drawPattern after items have been released. 2024-11-01 15:30:47 +00:00
David Jenkins
1b4edd6f41 Cocoa: Add some fixed pitch font checking for the font selector and gdiobjects 2024-11-01 14:39:45 +00:00
David Jenkins
518d08bf18 Cocoa: Pick default fonts directly and not by changing a base value 2024-11-01 13:36:27 +00:00
rich2014
34fbc70c67 Cocoa: improve ComboBox with OwnerDraw (especially TColorBox in Dark) 2024-11-01 18:55:11 +08:00
David Jenkins
33deac51ea Cocoa: Add TCocoaThemeServices.DrawText functionality 2024-11-01 10:06:17 +00:00
rich2014
06c50ab4cc Cocoa: fix leaks in TCocoaCollectionItemView 2024-10-31 21:47:40 +08:00
rich2014
87eb63bc18 Cocoa: add a convenient function to get the NSView corresponding to the NSToolBarItem 2024-10-31 21:29:53 +08:00
rich2014
8f2d7ca2b5 Cocoa: support dynamic menu in Modern Form Style Tool Bar 2024-10-31 21:22:38 +08:00
wp_xyz
01640ee298 LCL: Fix disappearing taskbar icon when FormStyle is fsNone or fsDialog. Patch by Iluha Companets, issue #41189. 2024-10-29 22:32:30 +01:00
rich2014
db6685cd02 Cocoa: support keyboard in TCustomComboBox (TCocoaReadOnlyComboBox) 2024-10-30 00:25:44 +08:00
rich2014
a29409bdad Cocoa: simplify popup menu tracking mechanism in TCustomComboBox (TCocoaReadOnlyComboBox) 2024-10-29 22:59:08 +08:00
rich2014
21803721f8 Cocoa: in TCustomComboBox (TCocoaReadOnlyComboBox) with OwnerDraw, fix the issue that popupButton are covered 2024-10-28 23:55:46 +08:00
rich2014
3b1a924a6d Cocoa: fix the width of the drop-down menu is not updated after the size of TCustomComboBox (TCocoaReadOnlyComboBox) is dynamically updated 2024-10-28 22:57:07 +08:00
Jesus Reyes A
602375a803 LCL, TDrawGrid: Fix ExtendedSelect property is not saved, Patch by Sebastian Hütter, issue #41084 2024-10-27 19:48:59 -06:00
mattias
6aa633b9c9 lcl: updated makefile 2024-10-25 19:59:10 +02:00
mattias
8da445d514 lcl: cocoa: fixed calling overload 2024-10-25 10:47:22 +02:00
David Jenkins
a3a16bf5b3 Cocoa: cleans up some sloppiness with the way LCLCOCOA creates/interacts with NSTimer... 2024-10-24 13:32:39 +00:00
mattias
4cb56ddc5c lcl: consistent -g -gl 2024-10-24 12:30:13 +02:00
David Jenkins
038a93c1fd Cocoa: Add version of TCocoaContext.TextOut() with float instead of Integer position params 2024-10-24 00:36:38 +00:00
David Jenkins
6fc0212b11 Cocoa: Treat control-left mouse click same as right mouse click to bring up context menu 2024-10-23 16:26:04 +00:00
mattias
6fa805fb47 updated makefiles 2024-10-22 00:31:29 +02:00
David Jenkins
cd0ce9da7e Cocoa: Add NSPointToLCL() and NSSTringToUnicodeString() conversion utilities, and modify CFStringToStr to handle #0 2024-10-20 14:54:46 +00:00
David Jenkins
bc15061ca5 Cocoa: Allow transparency drawing in TLCLCOmmonCallback.DrawBackground for Color == clNone 2024-10-20 11:02:05 +00:00
David Jenkins
50f4381429 Cocoa: Add NSWindow.performWindowDragWithEvent() to definitions in cocoa_extra 2024-10-20 10:54:17 +00:00
rich2014
dabf8fa092 Merge branch 'NSVisualEffectViewConsts' into 'main'
Add NSVisualEffectView consts to cocoa_extra

See merge request freepascal.org/lazarus/lazarus!354
2024-10-20 10:23:58 +00:00
David Jenkins
b8e477568d Cocoa: Add NSVisualEffectView consts to cocoa_extra 2024-10-20 10:23:58 +00:00
rich2014
fafef09827 Cocoa: add AppKitVersion 14 2024-10-20 16:41:05 +08:00
Juha
c601117c43 LCL: Delete commented property lines because they show in OI info box for the next property. Merge request !342. 2024-10-19 12:35:40 +03:00
Juha
6e20ff576d LCL: Cleanup. 2024-10-19 12:35:40 +03:00
Maxim Ganetsky
10996cdfe2 LCL-Gtk2: guard all gdk_window_get_state(Window) calls with GDK_IS_WINDOW(Window) checks to avoid Gtk2 warnings 2024-10-19 01:38:18 +03:00
Maxim Ganetsky
32947827e5 LCL: allow to properly pass HintData to hint window, patch by Artem Izmaylov, issue #41194 2024-10-18 22:43:54 +03:00
wp_xyz
6be15f2be4 LCL/LabeledEdit: Publish OnContextPopup event. Issue #41193, patch by @rousedebug. 2024-10-18 11:40:45 +02:00
wp_xyz
939daf5466 LCL: Fix form icon appearing when modal form opens a border-less second modal form. Issue #41189, patch by @d7_2_laz. 2024-10-17 19:04:25 +02:00
rich2014
e77c73fbf8 Cocoa: extract EditMenu common code 2024-10-12 19:00:35 +08:00
rich2014
1259df9b51 Cocoa: add TCocoaConfigAppMenu.onCreate for custom 2024-10-12 19:00:14 +08:00
mattias
b977977c8d set main version to 4.99 2024-10-05 22:03:23 +02:00
Martin
9c9902c1fc LCL: fix DPI scaling for aligned controls with anchor on their free site. Issue #41007 2024-10-05 13:11:35 +02:00
rich2014
96b5fe52c4 Revert "Cocoa: fix memory leak in LegacyScroller #41171"
This reverts commit 4362298ebd.
2024-10-05 01:19:37 +08:00
rich2014
4362298ebd Cocoa: fix memory leak in LegacyScroller #41171 2024-10-05 00:03:37 +08:00
rich2014
e9baea68d1 Cocoq: release two global variables issue #41170 2024-10-04 22:22:32 +08:00
rich2014
dfce0d15a4 Cocoa: add AppKitVersion 12 and 13 2024-10-04 13:45:50 +08:00
Željan Rikalo
ff4b8a53ac Qt5, Qt6: better handling of modal windows for gtk based window managers (cinnamon, metacity, xfwm4). 2024-10-03 14:01:46 +02:00
Željan Rikalo
91fe3cc4bc Qt5, Qt6: removed unused code. 2024-10-03 11:46:56 +02:00
Željan Rikalo
7be8c31b7b Qt6: remove unused code. 2024-10-03 11:43:49 +02:00
Željan Rikalo
bf3bf9d897 Qt5, Qt6: do not use FocusChangedHook by default, use EventFilter since events are in correct order with qt5 and qt6 2024-10-03 11:42:36 +02:00
Željan Rikalo
f528ace9dc Qt5, Qt6: simplified code, use GetTextExtentExPoint from lclintf implementation. 2024-10-02 13:05:27 +02:00