Commit Graph

23035 Commits

Author SHA1 Message Date
mattias
3887be2510 set fixes version to 3.2 2024-02-25 13:22:42 +01:00
rich2014
d0fda80791 Cocoa: Fix the issue that the Space key on the Button does not work 2024-02-24 17:11:47 +08:00
Maxim Ganetsky
dd3855108a LCL-Gtk2: fixed window move/resize issues with Fly/Openbox window managers, patch by Artem Izmaylov, issue #40752
(cherry picked from commit d538fbd4f7)
2024-02-22 16:50:08 +03:00
Juha
425a7dec45 LCL: Remove UTF8CompareLatinTextFast calls.
(cherry picked from commit c285b58aa3)
2024-02-22 16:43:31 +03:00
Juha
51cf8421b5 LCL: Optimize getting a list of font names and eliminating duplicates in TScreen.
(cherry picked from commit db95c28df7)
2024-02-22 16:43:30 +03:00
Juha
93d6ba907a Designer: Repaint after changing "BorderSpacing" in AnchorEditor or in OI. Issue #40746, by n7800 and myself.
(cherry picked from commit 1e544fb5b9)
2024-02-22 16:43:30 +03:00
Bart
7182005618 MaskEdit: adapt FormatMaskText for EnableSets.
(cherry picked from commit a09b37afad)
2024-02-22 16:43:29 +03:00
Bart
25c7c89b8f MaskEdit: publish properties EnableSets, ValidationErrorMode and OnValidationError.
(cherry picked from commit b48d102c91)
2024-02-22 16:43:29 +03:00
rich2014
7d22dc8d27 Cocoa: Fix ItemIndex issue of TComboBox with csDropDownList at init 2024-02-20 09:00:35 +08:00
Abou Al Montacir
a454f66520 GTK3: Code cleaning.
Removed legacy comments.
2024-02-19 21:08:36 +01:00
Abou Al Montacir
6db2918539 GTK3: Fixed handling of scroll event.
Scrolling was not correctly handled due to error in the logic of
handling the scrolling event.

This fix is related to #21067.
2024-02-19 21:08:36 +01:00
Abou Al Montacir
1767a4009b GTK3: Fixed access violation issue in Gtk3Page.
The widget was freed and assigned nil pointer before it was unreferenced
which may lead to occasional access violation on application shutdown.

This fix is related to #40713.
2024-02-19 21:08:36 +01:00
Abou Al Montacir
1ceeedf344 GTK3: Enabled resizing notebook children after insertion.
This allows fixing some problems but it is probably just a workaround.

This fix is related to #40713.
2024-02-19 21:08:36 +01:00
Abou Al Montacir
93f05421b2 GTK3: Enable showing hot key in page control widgets caption.
We store the raw caption in the `Text` field and convert ampersands
(`&`) to underscores (`_`) before using `set_markup_with_mnemonic` to
update the label text while honoring the hot key definition.

NB: The underscore will be drawn only if user hits `alt` key which is
a Gnome/Gtk3 feature.

This fix is related to #40713.
2024-02-19 21:08:36 +01:00
Abou Al Montacir
e45713b7f8 GTK3: Fixed selected item text returned by ComboBox Text property.
We need to use `GtkEntry` for comboboxes with `has_entry = True` and
set the `column_id` property.

Closes #40706
2024-02-19 21:08:36 +01:00
Željan Rikalo
83c94aa8df LCL: fix RectVisible so it works correct if WindowOrg was moved. Patch by Artem Izmaylov
(cherry picked from commit d6b7ffd24c)
2024-02-09 20:48:48 +00:00
Željan Rikalo
71cb35ad12 Qt5,Qt6: track dangling pointer inside mouse release event if LCLObject is freed.
(cherry picked from commit db0a10f032)
2024-02-08 14:49:01 +00:00
Željan Rikalo
b0867a7674 Qt6: Proper cast of result for -Sy.
(cherry picked from commit 67868afe81)
2024-02-05 16:27:13 +00:00
Željan Rikalo
32f41648f4 Qt6: fixed usage of TQtObjectDump.InheritsQtClass by using ansistring instead of widestring as function param, so we have proper conversion to PAnsiChar.
(cherry picked from commit d0b70cc7d4)
2024-02-05 16:08:01 +00:00
rich2014
48844aa94b Cocoa: Fix compilation. 2024-02-04 22:31:21 +08:00
David Jenkins
65d4553690 Cocoa: Fix #40636: TCocoaContext.SetFont() does not update TCocoaFont reference count. 2024-02-04 22:31:21 +08:00
rich2014
b6f12cebe3 Fix #40737: make TMethodNameTable/TMethodNameTableEntry compatible with FPC 3.3.1
The change follows
170c05592b

Patch by Dean Mustakinov, issue #40737.
2024-02-04 22:31:21 +08:00
Željan Rikalo
a4f3de8399 Qt,Qt5,Qt6: fixed wrong key mapping. issue #40740
(cherry picked from commit a8490d8060)
2024-02-04 09:19:57 +00:00
Željan Rikalo
2511674f2d Qt5: allow compilation with -dQT_NATIVE_DIALOGS
(cherry picked from commit 45f4cd65d9)
2024-02-03 07:41:43 +00:00
rich2014
40212c8fcb Revert "Designer/LCL: Correctly align TMethodNameTable/TMethodNameTableEntry on platforms that require it (e.g. AARCH64)."
This reverts commit 8253bd9f8f.
2024-02-03 09:14:43 +08:00
Maxim Ganetsky
6c32e00051 Designer/LCL: Correctly align TMethodNameTable/TMethodNameTableEntry on platforms that require it (e.g. AARCH64).
The change follows
170c05592b

Fixes crash on IDE start on AARCH64 platforms when FPC 3.3.1 is used.

Patch by Dean Mustakinov, issue #40737.


(cherry picked from commit 8253bd9f8f)
2024-01-30 14:48:44 +00:00
Željan Rikalo
2f07be9f42 Qt,Qt5,Qt6: do not clear editable combobox edit text if items are cleared. issue #40734
(cherry picked from commit 1dbfb8fee2)
2024-01-29 19:18:04 +00:00
rich2014
f6f7c67c87 Cocoa: fix fixes_3_0 Compilation, since e8132d7 has not been cherry-picked up yet 2024-01-29 00:51:38 +08:00
Maxim Ganetsky
72e1b7db40 LCL: Correctly align fields of TCMHintShow, TCMHintShowPause records on 64-bit platforms. Related to issue issue #40701.
(cherry picked from commit 77daff816e)
2024-01-27 15:12:34 +03:00
Maxim Ganetsky
bb8e0d1c4b LCL: Correctly align fileds of TCMControlChange, TCMChanged, TCMControlListChange, TCMCancelMode records on 64-bit platforms.
Patch by Artem Izmaylov, issue #40701.

(cherry picked from commit 9ae59e2b8d)
2024-01-27 15:12:34 +03:00
rich2014
6b6edf7857 Cocoa: dynamically set the spacing of TListView with icons 2024-01-26 21:55:55 +08:00
rich2014
fa87c8a5bf Cocoa: TListView.IntfCustomDraw() supported, Icons of Components List in IDE Options supported 2024-01-26 21:55:49 +08:00
rich2014
56d9ea7958 Cocoa: Fix the issue where ListBox/ListView may be incorrectly set to a huge height
1. NSTableView.fittingSize returns the full height, not the visible height
2. the issue can be observed in IDE Options - Component Palette
2024-01-26 21:55:27 +08:00
rich2014
a284237384 Cocoa: Fix the issue of scroll bar not working in Form
since macOS 10.7, NSScrollerStyleOverlay is used by default, and the scroll bar needs to be set before the DocumentView size changes.
2024-01-26 21:55:02 +08:00
Željan Rikalo
b086f9dfa0 Qt,Qt5,Qt6: fixed buggy mouse capture with TSpinEdit, TFloatSpinEdit. issue #40725
(cherry picked from commit 27bc023a87)
2024-01-24 17:52:22 +00:00
rich2014
4c41d70ddf Cocoa: fix #40702, beeps by Cursor keys 2024-01-20 21:36:06 +08:00
rich2014
4f9063a828 Cocoa: Fix #40581 #40535 , Merge branch 'cocoa/message'
keep LM_SETFOCUS/LM_KILLFOCUS/LM_DESTROY consistent with Win32
2024-01-20 21:35:56 +08:00
rich2014
506bdc13d1 Cocoa: fix range check error in TCocoaWSCustomTabControl.GetTabRect() 2024-01-20 21:35:37 +08:00
rich2014
e21879d0a0 Cocoa: Fix #22360 the issue of changing the focus control again during changing the focus control 2024-01-20 21:35:10 +08:00
rich2014
309603fa93 Cocoa: Fix #40680, the issue in TDbLookupCombobox with csDropDownList 2024-01-20 21:34:05 +08:00
Željan Rikalo
1f724b1393 Qt,Qt5,Qt6: fixed widget palette dangling pointers.
(cherry picked from commit b2dc565bb3)
2024-01-18 21:36:07 +00:00
rich2014
9a11ab871d Cocoa: Fix MouseMove issue related to PopupMenu 2024-01-13 00:29:32 +08:00
rich2014
6f8a824944 Cocoa: fix #40692, the bug of Modal Window 2024-01-12 23:17:40 +08:00
rich2014
7157791611 Cocoa: support moving the mouse to HintWindow for operation in the IDE, Merge branch 'cocoa/mousemove'
there was a bug in the IDE before. HintWindow was hidden before the mouse was moved into HintWindow.
2024-01-12 23:17:40 +08:00
rich2014
aa458fc479 Cocoa: Accelerator key (&) should be only supportted in TPopupMenu on macOS 2024-01-12 23:17:40 +08:00
rich2014
8d71a45619 Cocoa: fixed missing Accelerator key (&) support in Menu 2024-01-12 23:17:40 +08:00
Željan Rikalo
2e6008c8fa Qt: fixed memleak in enumfontfamiliesex.
(cherry picked from commit c7bbb0b354)
2024-01-08 18:19:31 +03:00
Željan Rikalo
2e89eae863 Qt5,Qt6: fixed memleak in enumfontfamiliesex()
(cherry picked from commit eb41784ad0)
2024-01-08 18:19:31 +03:00
Maxim Ganetsky
56721fe772 LCL, Graphics.pp: added IncColor() counterpart to the existing DecColor() function, patch by Don Siders, issue #40682
(cherry picked from commit c9a4f79b92)
2024-01-05 15:57:41 +00:00
Maxim Ganetsky
74d11fdff0 LCL-Gtk2: fixed handling of dragging image coordinates when it is dragged to non-client widget area, patch by Alexander (Rouse_) Bagel, issue #40658
(cherry picked from commit 1783ee35d1)
2023-12-25 18:48:29 +03:00