Commit Graph

23860 Commits

Author SHA1 Message Date
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
mattias
da15e4ef07 lcl gtk2: AppRemoveStayOnTopFlags: ignore active window only if geometry is odd 2024-10-02 09:26:43 +02:00
mattias
e44a70d872 lcl: gtk2: do not restack against a non form gdk window, issue #41041 2024-09-29 22:09:20 +02:00
rich2014
a84526b848 Cocoa: fix an issue related to TListBox.ScrollWidth
if column.ResizingMask is set when column.Width < TableView.Width, it is not only meaningless, but also causes problems in the vertical direction of the TableView.

we can scroll the TableView until the last row appears at the top.

it is not clear whether this is a feature of Cocoa or a bug.
2024-09-27 20:33:19 +08:00
n7800
c0b0fb81df LCL: Adding default values for properties of the THeaderSection class 2024-09-27 10:28:30 +00:00
n7800
6a9198033c LCL: Remove the read-only OriginalIndex property from the published section of the THeaderSection class 2024-09-27 10:28:30 +00:00
rich2014
5ca013e686 Cocoa/Theme: improve on 60f7e4e 2024-09-25 20:01:26 +08:00
rich2014
4696c84166 Cocoa: fix the issue that item state not set before TListView.OnChange() calling, issue #41151 2024-09-25 00:40:50 +08:00
rich2014
e60a16cda5 Cocoa: add NSSTR_ATTACHMENT_CHARACTER to CocoaConst 2024-09-23 20:48:00 +08:00
rich2014
60f7e4e9eb Cocoa/Theme: fix themed button/checkbox issue #41150 2024-09-23 20:47:29 +08:00
Martin
906384cc9d Add deprecated for old names. More fixes. 2024-09-23 12:44:32 +02:00
rich2014
a814cbd968 Cocoa: fix the issue that TListView.OnChange() not fired, issue #41151 2024-09-22 22:43:02 +08:00
rich2014
bd23ffc080 Cocoa/ListView: improve callback clear 2024-09-19 20:52:27 +08:00
rich2014
7010173b69 Cocoa: add util NSControlMoveCaretToTheEnd() 2024-09-19 20:52:26 +08:00
rich2014
e5159ea7a2 cocoa: fix some legacy transparent icon format issues #41131
there are two transparent formats:
1. the one with alpha channel like modern graphic formats (supported previously)
2. the other historical legacy with extra 1bit/pixel MaskBitmap (fixed this time), scaled mask supported also.
2024-09-17 21:02:26 +08:00
rich2014
f27ab84322 Cocoa/ListView: Try to fix the crash caused by Cocoa internal parameter exception during NSTableView initialization on macOS 10.14, #41133 2024-09-17 09:35:16 +08:00
Maxim Ganetsky
c9260ad82c LCL-Gtk2: Do not reset IM after mouse click, otherwise the composition with pre-existing string will be broken. Patch by rasberryrabbit, issue #41123. 2024-09-16 19:03:04 +03:00
rich2014
f8ef2a93e6 Cocoa/ListView: in vsReport, support tips to expand and display text when the column is too narrow 2024-09-15 23:44:51 +08:00
rich2014
937d3a121b Cocoa: fix transparent image drawing , issue #41131 2024-09-15 11:18:42 +08:00
wp_xyz
55ac08a505 LCL/Forms: Overload function TCustomForm.GetFormImage with procedure requiring the bitmap as argument. Issue #41140. 2024-09-14 12:51:05 +02:00
rich2014
6d019de770 Cocoa: add config to control TPanel's frame3d drawing mode #40545 2024-09-13 21:20:11 +08:00
rich2014
27a65f155f Cocoa: TextFieldSetTextHint() improved 2024-09-13 21:19:50 +08:00
rich2014
92a5ca760f Cocoa: fix the issue in TCocoaFilterComboBox #41135 (patch by David Jenkins) 2024-09-13 21:19:31 +08:00
rich2014
cd047aaf3d Cocoa/ListView: fix the issue of selection setting being delayed, issue #41134 2024-09-13 00:21:24 +08:00
rich2014
45e46500f8 Cocoa/ToolBar: fix the setting order for NSMenuToolBarItem 2024-09-12 23:45:45 +08:00
rich2014
3641ef4eca Cocoa: The DisableCocoaModernForm macro is used at compile time to allow Lazarus running on macOS 11- to compile IDE and APP
Note:

1. the macro affects at compile time, not runtime.

2. App with Modern Style Form can run fine on macOS 11-, only will lack support for Modern Style Form.

3. DisableCocoaModernForm macro needs to be set only when compiling on macOS 11-

4. therefore, it is strongly recommended to compile the app on macOS 11+ for maximum compatibility
2024-09-12 20:30:54 +08:00
rich2014
d80f0c44f5 Cocoa: fix some FocusRing config 2024-09-11 23:13:14 +08:00
Željan Rikalo
dda392d165 LCL: commented debugLn() 2024-09-11 17:11:09 +02:00
zeljan1
9f0c74432d Qt5,Qt6: allow paste text if mime type contains charset attribute 2024-09-11 15:46:02 +02:00
rich2014
b000e5a895 Cocoa: fix the height of NSWindow with ToolBar in TCocoaWSCustomForm.CreateHandle() 2024-09-11 21:42:30 +08:00
wp_xyz
3c708eb333 Images: Fix interchanged sortasc and sortdesc images. 2024-09-11 14:39:03 +02:00
wp_xyz
74ecc0b63e Images: New/updated icons by Roland Hahn (dbnavigator, some lcl icons, debugger, actions, some new general purpose) 2024-09-10 23:34:42 +02:00
Bart
3afd9c5762 LCL: in TMenuItem.InternalRethinkLines un-hide a separator if a previously hidden (but now visible) menu-item was between separators. Part of issue #41028. 2024-09-10 18:49:29 +02:00
rich2014
9a1bfd8663 Cocoa: improve UrlArrayFromLCLToNS() to detect whether the string contains URL scheme 2024-09-10 23:00:13 +08:00
wp_xyz
8f6a59c9a2 LCL/TSpeedButton: Layout improvements when AutoSize = false 2024-09-10 13:07:57 +02:00
n7800
fd3746f36e LCL: Minor cleanup and optimization of functions in "controlsproc.inc" 2024-09-09 21:43:54 +00:00
wp_xyz
d216b7144d LCL/SpeedButton: Fix autosizing of TSpeedButton. Issue #41119, based on patch by michalgw 2024-09-09 22:24:17 +02:00
Maxim Ganetsky
936c19caf3 LCL-Gtk3: fixed RoundRect to be consistent with other widgetsets, patch by Anton Kavalenka, issue #41129 2024-09-09 21:59:08 +03:00