Commit Graph

61072 Commits

Author SHA1 Message Date
Martin
02f62c3836 WS, Win32: ShowModal, Fix checking for correct handle. Prevent crash. See Issue #39314
(cherry picked from commit 754cedea82)
2021-09-28 14:37:45 +02:00
Martin
962f05f665 IDE, SourceEditor: TopLineInfoHint, reduce amount of memory re-allocs
(cherry picked from commit 0f830698c0)
2021-09-28 00:15:17 +02:00
Martin
2906c4f8d1 IDE, SourceEditor: TopLineInfoHint, clear any lines while waiting for the highlighter. This ensures that there are no references to no-longer-existing lines (if lines got deleted). "PaintLines" could otherwise try to access those out-of-range lines.
Also clear data, if Highlighter is changed.

(cherry picked from commit e177cf97c2)
2021-09-28 00:15:17 +02:00
Martin
d488f04626 SynEdit: Highlighter, make sure to call SendHighlightChanged (even if lines where deleted, instead of scanned / HL still changed back to valid/"no scan needed")
(cherry picked from commit 031eb66656)
2021-09-28 00:15:16 +02:00
Juha
4739022418 IdeIntf: Improve recursion in TComponentTreeView.FindAndChange. Call RebuildCollection only once per deleted comp. Issue #39290.
(cherry picked from commit b7ab9549a6)
2021-09-28 00:30:14 +03:00
Juha
f2c26bd129 IDE: When completing a label, add a colon (':') after it. Issue #38307.
(cherry picked from commit 907f82485b)
2021-09-28 00:29:54 +03:00
Juha
4ea049265b PascalScript: Fix event TPSOnProcessDirective signature. Active clashed with TForm.Active. Issue #39359.
(cherry picked from commit a8a398e553)
2021-09-28 00:29:34 +03:00
dsiders
a2c3ca5b29 Docs: LazUtils/lcsvutils. Updates topic content.
(cherry picked from commit 1d0d348cf6)
2021-09-28 00:29:13 +03:00
dsiders
9ba1bcc27a Docs: LazUtils/lazstringutils. Updates content for LazIsValidIdent topic.
* depends on 5a1abf73.

(cherry picked from commit 86a3ea8328)
2021-09-27 01:16:06 +03:00
Basile Burg
feb2cb481c Revert partly "Add HookGetCheckboxForBoolean handler in OI only once."
This reverts partly commit 943e4e4ff7.

(cherry picked from commit 45a590ed0b)
2021-09-27 01:14:41 +03:00
Martin
ca16e51245 FpDebug: Fixed mem leak.
(cherry picked from commit 0a2bc87781)
2021-09-26 16:03:00 +02:00
Martin
38855733be FpDebug: Add asserts
(cherry picked from commit f47220cc47)
2021-09-26 02:12:18 +02:00
Martin
62d65aa210 LazDebuggerFp: Do not call GetInstructionPointerRegisterValue (ReadThreadState) while target may be running. Also do not call from IDE thread (only debug worker thread is allowed).
(cherry picked from commit c8a6a985d0)
2021-09-26 02:12:18 +02:00
Martin
ef4c4bccf3 LazDebuggerFp: Make sure OnIdle is called, and all results are awaited. (Fixes Debug History) / DebugManager triggers snapshots for any dsPause and dsInternalPause.
(cherry picked from commit f99f5c0ed9)
2021-09-26 02:12:18 +02:00
Martin
dcdb3fd378 IDE, Debugger: Fix History. Make sure callstack entries are requested.
Currently TDebugManager.DebuggerChangeState triggers 2 consecutive calls do DoDebuggerIdle, so Count may not be available and smrCallStack got set incorrectly.

(cherry picked from commit edb26c9d33)
2021-09-26 02:12:17 +02:00
Juha
a756d38e6b Designer: Prevent an illegal name for a component when "Ask name on create" is enabled. Issue #39292.
(cherry picked from commit f6b7ba2662)
2021-09-26 02:20:42 +03:00
Juha
286bdf8d38 LazUtils: Check for Pascal keywords in LazIsValidIdent. Must be prepended with '&'. Merge request 11 by Abdullahi Usman.
(cherry picked from commit 5a1abf733a)
2021-09-26 02:20:42 +03:00
dsiders
14497a4e54 Docs: LCL/comctrls. Corrects typo in 92c69567.
(cherry picked from commit 059c77a655)
2021-09-26 02:19:04 +03:00
dsiders
60bd19363d Docs: LCL/comctrls. Updates topic content for changes to address issue #39391.
* depends on 6eca378f.

(cherry picked from commit 92c69567d4)
2021-09-26 02:19:04 +03:00
Bart
9771fa06e7 TListView: call OnDeletion also when destroying. Issue #39391.
(cherry picked from commit 6eca378f9d)
2021-09-25 11:45:59 +02:00
Martin
728bc1691b IDE: EditorOpts, Line-number gutter, "Every Nth Line" must be 1 or greater. Issue #39394
(cherry picked from commit 0da24dda48)
2021-09-25 11:40:11 +02:00
Martin
63eb69a5fd SynEdit: Linenumber gutter, "Every Nth Line" must be 1 or greater. Issue #39394
(cherry picked from commit 9cf535759e)
2021-09-25 11:40:10 +02:00
Martin
23ef8ab3ca IDE: EditorOptions, Color, fix "reset all". Issue #39388
(cherry picked from commit ff2da4d6be)
2021-09-24 12:58:41 +02:00
wp_xyz
0396183892 TAChart: Fix crash when TCubicSplineSeries.Calculate is called. Issue #39393.
(cherry picked from commit fb4681dd53)
2021-09-24 12:09:47 +02:00
dsiders
7b7d5dd363 Docs: LCL/propertystorage. Adds or updates topic content.
(cherry picked from commit 6a29f96cec)
2021-09-23 00:25:54 +03:00
wp_xyz
bf20e4eee5 IDEIntf/ImageListEditor: Fix incorrect anchoring of label "Transparent color" causing overlap at high-dpi. 2021-09-22 22:22:10 +02:00
wp_xyz
e96c416a83 IDEIntf/ActionsEditor: Improved spacing of items in actionlistbox. Issue #39386. Patch by Roland H.
(cherry picked from commit e8affb6df1)
2021-09-21 22:32:24 +02:00
Bernd K
19d71026de update translations (mainly Desktops and also some others)
(cherry picked from commit 7f2bcc9a94)
2021-09-21 00:14:40 +03:00
dsiders
c7a62c75ef Docs: LazUtils/laz2_xpath. Adds or updates topic content.
(cherry picked from commit 34bef0cbf9)
2021-09-20 00:36:20 +03:00
wp_xyz
0bc0484c52 TAChart: Find point index error in relation with ColorEach of line series (https://forum.lazarus.freepascal.org/index.php/topic,56324.msg418533.html#msg418533).
(cherry picked from commit 925e2e7370)
2021-09-17 22:52:11 +02:00
dsiders
94392c6abd Docs: LazUtils/lazloggerprofiling. Adds or updates topic content.
(cherry picked from commit 3b9cfa9943)
2021-09-17 01:52:27 +03:00
wp_xyz
7ce5f8a3ef TAChart: Fix TLineSeries.ColorEach ignoring LinePen.Width setting.
(cherry picked from commit 62d7b87f0d)
2021-09-16 11:49:56 +02:00
dsiders
a9502ddd27 Docs: LazUtils/lazlogger. Adds or updates topic content.
(cherry picked from commit a7ee5a544d)
2021-09-16 00:09:42 +03:00
Željan Rikalo
b155dc8e6d Qt5: implemented TCustomMemo.setCaretPos(). Patch by Joeny Ang. Issue #39373
(cherry picked from commit fc6854704d)
2021-09-16 00:09:42 +03:00
Željan Rikalo
de2c5d0f91 Qt5: fixed doubled menu items in IDE.issue #39364
(cherry picked from commit 515da22427)
2021-09-16 00:09:42 +03:00
Martin
944ed82c30 Fix: About Form, copy to clipboard text for git
(cherry picked from commit 3475b86dc5)
2021-09-14 15:44:21 +02:00
Martin
e17f7760b3 Installer, Win: Change to git
(cherry picked from commit 2bb1f2ea36)
2021-09-14 15:24:33 +02:00
dsiders
e2eac4966b Docs: LazUtils/lazloggerbase. Updated topic content.
(cherry picked from commit 0f5ed91814)
2021-09-14 00:22:24 +03:00
wp_xyz
386954e357 IDE/Packager: Avoid too-large line height in listbox of "New Requirement" dialog at high DPI.
(cherry picked from commit c44d729ba2)
2021-09-13 09:51:12 +02:00
wp_xyz
802dfb0ead LCL/LCLScaling: Fix ParentFont becoming to false upon scaling. Issue #37299.
(cherry picked from commit 95da3f4854)
2021-09-10 21:32:22 +02:00
wp_xyz
6e5e5b67df VirtualTreeView: Fix "no parent window" error when VTV is in a high-dpi frame (issue #39362).
(cherry picked from commit eaea82f052)
2021-09-10 15:12:32 +02:00
dsiders
0e146d8233 Docs: LazUtils. Adds missing topics or content.
(cherry picked from commit 19b127a2b1)
2021-09-08 00:24:51 +03:00
dsiders
870a246a01 Docs: LazUtils. Adds missing topics or content. Fixes tagging and content errors.
(cherry picked from commit fc99cfa6ee)
2021-09-07 01:54:39 +03:00
dsiders
766058d5ee Docs: LazUtils/laz_xmlstreaming. Adds missing topics and content.
(cherry picked from commit 6c8e9f0867)
2021-09-06 01:56:39 +03:00
dsiders
f60dddd9d9 Docs: LazUtils. Adds missing topics or content.
(cherry picked from commit 655bd2ba0d)
2021-09-06 00:06:40 +03:00
Juha
039d4c3cc2 IDE: Update DefineTemplates after switching build mode. Issue x
(cherry picked from commit e1be3c5608)
2021-09-06 00:06:40 +03:00
Jesus Reyes A
003e6cd074 LCL: Fix grid ellipsis editor layout. Issue #34307
(cherry picked from commit f8f1652fd4)
2021-09-04 19:07:13 -05:00
Željan Rikalo
d767c1dcee Qt5: Fixed AV when changing TListView.ViewStyle in design time. Issue #39353
(cherry picked from commit 63ca7a9ace)
2021-09-04 01:32:23 +03:00
dsiders
75f7903c0d Docs: LCL, LazUtils. Adds missing topics or content.
(cherry picked from commit 2473e77422)
2021-09-04 01:32:23 +03:00
Željan Rikalo
7479f359a1 Qt5: additional fix for hovered buttons. issue #38356
(cherry picked from commit a84e602a48)
2021-09-04 01:32:23 +03:00