Commit Graph

66264 Commits

Author SHA1 Message Date
Bart
f6e8cb7775 Fix missing Raise before Exception.Create. Issue ##40860. Patch by n7800.
(cherry picked from commit 1f7accb9e2)
2024-05-20 00:54:39 +03:00
Bart
452adce230 Fix several occurrences of raise exception('some string'), in effect casting a string into an exception, instead of raise exception.create(). Issue #40860. Patch by n7800 (slightly modified).
(cherry picked from commit db6ed214b9)
2024-05-20 00:54:38 +03:00
Bart
d81e62425d TFilenameEdit: don't force the TOpenDialog.InitialDir to current directory if InitialDir is empty string. Issue #40845.
(cherry picked from commit 7446930ef3)
2024-05-20 00:54:38 +03:00
Bart
3769dc41c4 Win32: make ListView columns not-clickable if ColumnClick is False. Issue #40787.
(cherry picked from commit 57bb5a13e1)
2024-05-20 00:51:30 +03:00
Bart
ab817f24ee Win32: fix TListView losing focus after EndUpdate. Issue #40786.
(cherry picked from commit 88827aa909)
2024-05-20 00:51:30 +03:00
Bart
7de8a80ca0 Cocoa: adapt issues.xml after commit e8132d72 (issue ##19169).
(cherry picked from commit a4ab5f4aa2)
2024-05-19 22:37:12 +03:00
rich2014
7e1756c3ee Cocoa: Fix #19169, TCustomListView.OnChanging()
(cherry picked from commit e8132d722a)
2024-05-19 22:37:12 +03:00
Bart
4e7fdfe3a3 Issues.xml: TListView.OnChanging not supported (cocoa,gtk2,gtk3,qt,qt4,qt5,qt6. the other WS don't have an issue.xml, or are deprecated).
(cherry picked from commit 55a3ce52e0)
2024-05-19 22:37:12 +03:00
Bart
0d09d073c9 Merge branch 'lvonchanging'
(cherry picked from commit 76bbc6e2e5)
2024-05-19 22:37:11 +03:00
wp_xyz
68d01bced8 Virtualtreview: Fix loading resources from DLL (https://forum.lazarus.freepascal.org/index.php?topic=67250.msg517169)
(cherry picked from commit 03c96ee8aa)
2024-05-19 16:20:14 +03:00
wp_xyz
71d1f54590 IDE/Component palette editor: Make sure that "Restore defaults" is always visible. Issue #40911
(cherry picked from commit de3376efef)
2024-05-19 16:20:14 +03:00
dsiders
d4d4ec7f0c Docs: LCL/grids. Updates TCustomGrid.ShowCellHintWindow topic for changes in e9425e93.
(cherry picked from commit 76c40f6761)
2024-05-19 16:20:14 +03:00
wp_xyz
a18e2e9fda LCL/Grids: Fix TCustomGrid.ShowCellHintWindow to use screen coordinates for the hint window. Issue #40867, patch by Iluha Companets.
(cherry picked from commit e9425e930f)
2024-05-19 16:20:14 +03:00
dsiders
124327f65b Docs: LCL/comboex. Updates the TCustomComboBoxEx.DrawItem topic for changes in
755dea7b.

(cherry picked from commit d2d921d2d6)
2024-05-19 16:20:13 +03:00
wp_xyz
49a4819d96 LCL/TComboboxEx: Draw scaled icons. Issue #40905, patch by foxpas.
(cherry picked from commit 755dea7b4d)
2024-05-19 16:20:13 +03:00
Bart
ab1bf5dbc1 TLabeldEdit: publish property NumbersOnly.
(cherry picked from commit 76182b6c00)
2024-05-19 16:20:13 +03:00
Juha
54f9d96c35 LazControls: Filter data by TreeFilterEdit also when the TreeView is switched. By n7800.
(cherry picked from commit 7f000a6970)
2024-05-19 16:20:13 +03:00
wp_xyz
9092a2cfc0 TAChart: Fix inconsistent usage of brush styles in series OnCustomDrawPointer (https://forum.lazarus.freepascal.org/index.php/topic,66664.msg511859.html#msg511859).
(cherry picked from commit e11e1d3921)
2024-05-19 16:20:13 +03:00
Maxim Ganetsky
75b70bbbc0 LCL-Gtk2: more fine-grained Fly/Openbox workaround. Patch by Garry Wood, issue #40583.
Fixes crashes on Ubuntu 23 after
d538fbd4f7.

(cherry picked from commit 262066a6ae)
2024-05-19 16:20:12 +03:00
Željan Rikalo
78a3c8cd12 Qt5,Qt6: Fixed doubled menu on designer surface. Patch by Don Siders. issue #40947
(cherry picked from commit bfc25b89bb)

Co-authored-by: Željan Rikalo <zeljko@lazarus-ide.org>
2024-05-18 10:10:05 +00:00
Martin
a5893453ea LazDebuggerFp: fixed range check / added safety check for string len (exception msg/name).
(cherry picked from commit 06f123d8dd)
2024-05-09 21:01:23 +02:00
Martin
c67be2ea44 FpDebug: Return errors when the debugger can't start.
From 190b5e77a7
2024-05-09 14:50:47 +02:00
Željan Rikalo
9e4dc74ca5 Qt5,Qt6: fixed readOnly status for TQtTextEdit on FreeBSD. issue #40930
(cherry picked from commit 0a7ff2fb3d)

Co-authored-by: Željan Rikalo <zeljko@lazarus-ide.org>
2024-05-05 14:27:17 +00:00
Željan Rikalo
d126b7b202 Qt6: Fixed setting TQtTextEdit readOnly param under mac.Part of issue #40246
(cherry picked from commit 90c13af409)

Co-authored-by: zeljan1 <zeljko@holobit.hr>
2024-05-05 14:26:24 +00:00
Martin
7332c13cfe IdeDebugger: fix slow display of nested watch, due to recursive check O(2^n) Issue #40944
(cherry picked from commit f1cd54dbdd)
2024-05-04 11:18:37 +02:00
dsiders
137a1438a7 Docs: LCL/forms. Fixes invalid See Also link, XML tagging in topics.
(cherry picked from commit 045c0c6596)
2024-05-03 02:55:28 +01:00
dsiders
124382fbae Docs: LCL/forms. Updates content in TCustomForm topics including:
* TCustomForm.Activate
* TCustomForm.Deactivate
* TCustomForm.OnActivate
* TCustomForm.OnDeactivate

(cherry picked from commit 3962927845)
2024-05-03 02:55:18 +01:00
Maxim Ganetsky
b6a59c00e9 Qt: Fixed menus backed by multi-resolution image lists always using the 96ppi image rather than the resolution-specific one.
The existing code attempts to use/overwrite the preexisting AMenuItem.Bitmap property, but the ImageList.ResolutionForPPI.GetBitmap call triggers TMenuItem.BitmapChange, which frees the updated image.  The subsequent setImage(AMenuItem.Bitmap.Handle) call then goes through its standard behavior again, which is to always retrieve the 96ppi variant.


(cherry picked from commit 532ecb2653)

Co-authored-by: Zoë Peterson <zoe@scootersoftware.com>
2024-04-30 18:43:30 +00:00
Željan Rikalo
7a0060b726 Qt5, Qt6: Initialize MaxCount in GetTextExtentInfo().Patch by Alexander Koblov. issue #40934
(cherry picked from commit 720fc1261d)

Co-authored-by: Željan Rikalo <zeljko@lazarus-ide.org>
2024-04-30 13:16:07 +00:00
Martin
88046c217e SynEdit: fix endless loop in html-exporter. Patch by michalgw. Issue #40927
(cherry picked from commit 6b9d5774e7)
2024-04-28 13:40:26 +02:00
Martin
aecd6e6158 SynEdit: Fix SynEditMarkupHighAll MaybeDropOldMatches
(cherry picked from commit 0002e72121)
2024-04-25 17:37:55 +02:00
Martin
c161252eca SynEdit: SynEditMarkupHighAll, tests
(cherry picked from commit c250e622d1)
2024-04-25 17:35:27 +02:00
Martin
6b1b9c63b3 SynEdit: Fix for SynEditMarkupHighAll, keep AFirstKeptValidIdx
(cherry picked from commit 78cf30a16a)
2024-04-25 17:27:33 +02:00
Martin
ca66fed678 SynEdit: Fix SynEditMarkupHighAll MaybeDropOldMatches and DeleteInvalidMatches
(cherry picked from commit ad3c41af62)
2024-04-25 17:27:32 +02:00
Martin
606b60fab6 SynEdit: fix FindStartPointUsedExistingMatch
(cherry picked from commit 3f6c2f860d)
2024-04-25 17:23:49 +02:00
Martin
e740c08173 LazDebuggerFp: fix "variant" converter for dwarf-2
(cherry picked from commit ac0faad39a)
2024-04-21 11:30:41 +02:00
Martin
9b2a8b054a Revert "SynEdit: Marks-gutter, use all columns before icons get out of visible range. Issue #40914"
This reverts commit 9e4f31e452.
2024-04-20 19:25:43 +02:00
Martin
9e4f31e452 SynEdit: Marks-gutter, use all columns before icons get out of visible range. Issue #40914
(cherry picked from commit 8bcc164019)
2024-04-20 16:59:18 +02:00
Martin
c41a93243a SynEdit: mitigate endless loop with regex replace and utf8. (regex does not handle utf-8). Issue #40900
(cherry picked from commit c4644e5d63)
2024-04-20 16:59:18 +02:00
Martin
e964bd179b FpDebug: force asm window, when explicitly stopping in no-source-code area (breakpoint, or "step-out")
(cherry picked from commit db75236351)
2024-04-20 16:59:17 +02:00
martin
f9189c8fae FpDebug, Linux: Fix leaked handle
(cherry picked from commit 5c5e12448d)
2024-04-20 16:53:58 +02:00
Željan Rikalo
6a3d138171 Qt6: removed deprecated QString::IsSimpleText() from cbindings. issue #40901
(cherry picked from commit b71e3074a3)
2024-04-14 14:15:53 +00:00
Martin
06dc242991 Debugger: assembler, fix rangecheck or wrong behaviour if debugger is nil
(cherry picked from commit 073f3095cf)
2024-04-06 20:04:12 +02:00
dsiders
85c8a04051 Docs: LCL/stdctrls. Fixes XML tags in TCustomEdit.ClearSelection See Also links.
(cherry picked from commit 92c1b6a39a)
2024-04-06 16:45:57 +01:00
dsiders
7ebbf7bab3 Docs: LazUtils/lazutf8. Fixes invalid attribute names in XML tagging.
* Updates:
* UTF8LeftStr.Result
* UTF8LeftStr.AText
* UTF8LeftStr.ACount

(cherry picked from commit 117cdd0ad0)
2024-04-05 18:49:16 +01:00
dsiders
7f536fa4b4 Docs: LazUtils/lazutf8. Updates ParamStrUTF8 topic to include additional description for arguments.
(cherry picked from commit 66e929e9d6)
2024-04-05 04:37:25 +01:00
dsiders
0c344c49ea Docs: LCL/forms. Updates TApplication.GetParams to fix incorrect descriptions for arguments.
(cherry picked from commit 37f11d9720)
2024-04-05 04:37:06 +01:00
DomingoGP
dc908869d6 Jedi code format: better fix for issue #40871 error handling set definition with ranges.
(cherry picked from commit 8d91b18a79)
2024-04-01 12:22:23 +02:00
DomingoGP
98d5b5f8b1 Jedi code format: fix issue #40871 error handling a set with ranges, based on a patch from bytebites
(cherry picked from commit a326522d93)
2024-04-01 12:21:59 +02:00
Željan Rikalo
29dad3d307 Gtk2: fixed compilation on non x11 targets. Patch by Giuliano Colla, issue #40870
(cherry picked from commit 00fb3bf31b)
2024-03-29 11:20:17 +00:00