Commit Graph

69529 Commits

Author SHA1 Message Date
wp_xyz
5738fca7d6 LCL/Graphics: Allow to save individual images of TCustomIcon in another raster image format. Fixes issue #36828.
(cherry picked from commit fd9ebbb202)
2025-07-13 22:12:56 +02:00
n7800
1d56e79ea9 IDE/Options: Handle exception when saving project icon to file. Issue #36828
(cherry picked from commit 024055f99b)
2025-07-13 22:12:26 +02:00
Juha
448628e758 IDE: Support multi-line selection in Messages window by keys. Issue #41623.
(cherry picked from commit 842858ca23)
2025-07-13 16:44:28 +03:00
n7800
849a72b626 IDE/MessagesWnd: Restore the focus when closing the search panel
(cherry picked from commit 921b3b4996)
2025-07-13 16:44:17 +03:00
n7800
3e5a8e660c IDE/MessagesWnd: Assigning shortcuts for some context menu commands via "MenuItem.ShortCut"
(cherry picked from commit 61c1cf6da2)
2025-07-13 16:44:04 +03:00
Juha
d924b522dd IDE: Add [Ctrl+P] shortvut to Messages window. Part of merge request !397 by n7800.
(cherry picked from commit facd1187fc)
2025-07-13 16:43:54 +03:00
n7800
52983012ff IDE/MessagesWnd: Adding shortcuts in the window for some actions. Merge req. !397, issue #41258, corrected #40347
(cherry picked from commit e5f9504c5f)
2025-07-13 16:43:45 +03:00
n7800
152d978271 IDE/MessagesWnd: Check modifier key presses in the KeyDown method
(cherry picked from commit fa5e89719b)
2025-07-13 16:43:31 +03:00
dsiders
9103b38a31 Docs: LCL/comctrls. Updates TCustomTabControl/TTabControl topics for changes in e4dc3ff9. Issue #23068.
* TTabControl.SetImages
* TTabControl.Images

(cherry picked from commit 556e633850)
2025-07-09 21:12:21 -04:00
wp_xyz
b21a3243d5 Revert "LCL/Graphics: Fix win32 WS not drawing incomplete continuous Bezier segments in PolyBezier. Do not copy points in overloaded procedure."
This reverts commit 12799e965a.
2025-07-09 18:31:49 +02:00
wp_xyz
12799e965a LCL/Graphics: Fix win32 WS not drawing incomplete continuous Bezier segments in PolyBezier. Do not copy points in overloaded procedure.
(cherry picked from commit 9509e5aa8c)
2025-07-09 18:15:05 +02:00
Juha
679c0b9a20 LCL: Set icons for tabs in TTabControl from the Images property. Issue #23068.
(cherry picked from commit e4dc3ff90f)
2025-07-08 20:56:24 +03:00
Juha
c2837850e3 IDE: Accept a dropped project info file to Project Wizard. Solves issue #41536.
(cherry picked from commit 63933a901f)
2025-07-08 00:57:11 +03:00
n7800
80b883e644 IDE/ProjectWizard: Remember window layout
(cherry picked from commit b499737ba2)
2025-07-08 00:56:47 +03:00
Maxim Ganetsky
ce37b50d5e LCL: reorder evaluation in DragStop. Patch by Artem Izmaylov. issue #41539
(cherry picked from commit 1dd3bb3d01)

Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-07-07 16:05:05 +03:00
Maxim Ganetsky
a2d87e741f AnchorDocking/Options: Disable "Flat header buttons" checkbox if "Show headers" is unchecked
(cherry picked from commit b47a19209a)

Co-authored-by: n7800 <14154601-n7800@users.noreply.gitlab.com>
2025-07-07 15:38:28 +03:00
Željan Rikalo
d9045ca6c5 Qt6: fixed rare crash when QMainWindow is destroyed, removed unneeded FMenuBar.Widget destructor, it will be freed by it's parent.
(cherry picked from commit 72db9f09ff)

Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-07-05 09:51:07 +02:00
Juha
8b77ce1c08 IDE: Update source editor window caption after saving a file. Issue #41645.
(cherry picked from commit f70d066373)
2025-07-04 08:23:05 +03:00
Juha
255ffc7eee Codetools: Improve OleVariant support. Issue #41704.
(cherry picked from commit 681fed6ffa)
2025-07-04 00:39:16 +03:00
Juha
c5b3b97b65 Codetools: Support OleVariant type better. Works now. Issue #41704.
(cherry picked from commit 92187c6d62)
2025-07-04 00:38:54 +03:00
Juha
618743582b Codetools: Try to support OleVariant type. Does not work. Issue #41704.
(cherry picked from commit 7acf414c64)
2025-07-04 00:38:22 +03:00
wp_xyz
aba12f952b IDE/FPDoc Help popups: Fix missing underlined parts in the FPDoc xml help files, issue #41739.
(cherry picked from commit 3428f10928)
2025-07-02 23:57:58 +02:00
Juha
e7454ec7f9 SynEdit: Fix CodeTemplate completion when Attributes section is missing. Related to issue #40764.
(cherry picked from commit b4ccfdb8b6)
2025-07-01 12:26:32 +03:00
Maxim Ganetsky
17d5fce04b FreeType: Fix type of glyphIdArray (cmap format 0), see merge request !515.
Both the Microsoft OpenType specification and Apple's TrueType reference
manual define the relevant field, glyphIndexArray aka glyphIdArray, as
an array of 256 bytes (aka uint8_t).


(cherry picked from commit c89464824d)

Co-authored-by: chrschllr <christoph.schaller03@gmail.com>
2025-06-30 23:00:41 +03:00
rich2014
978bc3a3ab Cocoa: fix Space Key with Modifers in CustomControl 2025-06-28 23:32:53 +08:00
Martin
cd560cc67d LazListClasses: fix overflow error
(cherry picked from commit c34dc52a82)
2025-06-28 14:14:30 +02:00
Martin
c400834a6f SynEdit: Fix Issue with missing updates (markup not updated).
Only wait for Autosize if in/after CreateHandle, otherwise it may never happen (locked, but no size change).
In the IDE, revert/reload (after disk change) did not update user-defined-colors.

(cherry picked from commit bf6a42159b)
2025-06-27 15:55:52 +02:00
Martin
0686369b97 SynEdit: ScanRanges, make sure all line-change notifications have been send before scanning and markup.
(cherry picked from commit a13c86d979)
2025-06-27 15:55:52 +02:00
Martin
d8fc020d66 SynEdit: Refactor ScanRanges / Fix changed lines for ScanRanges (when outside PaintLock)
(cherry picked from commit 439768951a)
2025-06-27 15:55:51 +02:00
Juha
d3d4138e1c Designer: Use FForm instead of FLookupRoot as parent for sake of consistency. Issue #41727.
(cherry picked from commit 02f7ab0b68)
2025-06-27 09:08:41 +03:00
Juha
aea6385146 Designer: Use the correct parent when undoing a delete of many panels. Issue #41727.
(cherry picked from commit e3d6bcdbc6)
2025-06-27 09:08:25 +03:00
rich2014
effef9251a Cocoa: fix Control Key issue in Button and CustomControl
1. it may cause a crash when pressing the Button with the Space Key to close the Form
2. ESC and RETURN may be lost in CustomControl (such as TreeView)
2025-06-26 10:50:34 +08:00
ACTom
3410674b01 Translations: Chinese translation update by ACTom, merge request !509 2025-06-25 22:39:57 +03:00
Juha
44ea16cf90 IDE, ToDoList: Prevent a crash in FindUnitsOfOwner when a unit does not exist. Issue #41709.
(cherry picked from commit 940adefb9d)
2025-06-25 20:35:16 +03:00
Don Siders
7d3cd978b8 Merge branch 'LCL/FindChildControl/Docs' into 'main'
Docs: LCL/controls. Updating FindChildControl function content

See merge request freepascal.org/lazarus/lazarus!504
2025-06-24 19:33:19 -04:00
Martin
c52a98dba2 FpDebug: Fix attaching to a process, if the project does not provide the filename of the (host) executable. Issue #41201
(cherry picked from commit 7f0a0f7ea6)
2025-06-22 15:31:39 +02:00
Juha
59d8be35fd IDE, CodeHelp: Initialize a variable. Issue #14384.
(cherry picked from commit 95eaa30d4e)
2025-06-21 18:25:47 +03:00
wp_xyz
2df18dc91e IconFinder: Workaround for failure to detect size of new icons if BGRABitmap is installed.
(cherry picked from commit 0cc2f18c78)
2025-06-15 23:44:59 +02:00
Maxim Ganetsky
039f753d09 Designer: Added UpdateBounds to TControlSelection.AlignComponents. Issue #41713
(cherry picked from commit 1932b49a7a)

Co-authored-by: n7800 <14154601-n7800@users.noreply.gitlab.com>
2025-06-15 13:24:56 +03:00
Maxim Ganetsky
1b907bfdca IDE: regenerated translations and updated Russian translation
(cherry picked from commit 42756e2db2)
2025-06-15 12:40:59 +03:00
rich2014
8bd97bb06f Cocoa: fix the issue in TComboBox (readonly)
see also: https://forum.lazarus.freepascal.org/index.php/topic,71430.0.html
2025-06-14 16:31:50 +08:00
Martin
fc926b789e IDE: add warning if editor-macro was not saved. Issue #41699
(cherry picked from commit a9114f590f)
2025-06-13 17:38:01 +02:00
Martin
ff1d5809c0 SynEdit: fix type for clipboard-format (TClipboardFormat) in exporter. Issue #41697
(cherry picked from commit 4fd4234f6f)
2025-06-13 13:28:32 +02:00
Martin
06d4458a85 IdeDebugger: fix watch-data storage. Some nested array or pointer values would hit an assertion if some (but not all) data produced errors.
(cherry picked from commit a1e7cba842)
2025-06-07 12:23:59 +02:00
Martin
9dd0cbd4b1 IdeDebugger: fix watches, arrays with structures need to be proper reset, if any of the structures was incomplete due to errors in the data.
(cherry picked from commit 2f5914acb5)
2025-06-07 12:23:59 +02:00
Martin
6ce3d5c727 SynEdit: Markup matching brackets. No change needed on scroll. Issue #41658
(cherry picked from commit cef8022058)
2025-06-07 12:23:58 +02:00
Maxim Ganetsky
671cf3a43a FPReport: Don't try to access nil PageDesigner thus fixing crash on executing Report Designer. Patch by paweld, issue #41695.
(cherry picked from commit 97a23a0a4c)

Co-authored-by: Maxim Ganetsky <maxim@lazarus-ide.org>
2025-06-04 15:23:52 +03:00
dsiders
2790a6996d Docs: LCL/controls. Fixes XML tagging, spelling.
* Other whitespace changes are editor-induced word wrapping.

(cherry picked from commit cf1d97517f)
2025-06-03 20:13:47 -04:00
Martin
c101977682 Docs: LCL, update WinControl.Childsizing documentation
(cherry picked from commit dcafcbef11)
2025-06-03 20:13:32 -04:00
Željan Rikalo
6010559863 Qt5,Qt6: fixed crash when QAction is destroyed before it's events are detached. issue #41618
(cherry picked from commit 5ca9daf80f)

Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-06-03 18:47:18 +02:00