Commit Graph

24400 Commits

Author SHA1 Message Date
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
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
ACTom
3410674b01 Translations: Chinese translation update by ACTom, merge request !509 2025-06-25 22:39:57 +03: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
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
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
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
wp_xyz
4fcca33810 TAChart: Fix another occurrence of the issue caused by commit 6cebac6b7b.
(cherry picked from commit f16403f343)
2025-06-02 11:13:36 +02:00
wp_xyz
06e88b71d8 TAChart: Improvement of previous commit.
(cherry picked from commit 8a61eaf193)
2025-06-02 11:13:36 +02:00
wp_xyz
77685b91b9 TAChart: Fix TColorMapSeries not repainting upon zoom-by-drag, caused by commit 6cebac6b7b. https://forum.lazarus.freepascal.org/index.php/topic,71327.msg556598/topicseen.html
(cherry picked from commit 53439472a2)
2025-06-02 10:57:08 +02:00
Martin
65eda1449a SynEdit: fix index error in SynCompletion (when empty)
(cherry picked from commit b23e7b9764)
2025-05-31 22:25:59 +02:00
Martin
ebffe8552a FpDebug: tests for :flatten
(cherry picked from commit 3def68948c)
2025-05-31 22:25:59 +02:00
Martin
b542a0f991 FpDebug: fix ":flatten" with embedded "[0..n]" slice in display mapping expression.
(cherry picked from commit 0b1bcf35de)
2025-05-31 22:25:58 +02:00
Martin
5d41a0a20f FpDebug: fix variant detection for ":flatten" with outer [0..n] mapping/slice.
(cherry picked from commit ed37ab30d8)
2025-05-31 22:25:58 +02:00
Maxim Ganetsky
fa903275ea LazUtils, MultiThreadProcs: reinstate _SC_NPROCESSORS_CONF constant, use it for sysconf call, issue #41659.
_SC_NPROCESSORS_ONLN does not account for available but sleeping cores.
The abnormal reporting of 128 processors by VMware virtual machine
should be dealt with separately.


(cherry picked from commit 95205108d4)

Co-authored-by: Maxim Ganetsky <maxim@lazarus-ide.org>
2025-05-30 16:16:17 +03:00
Maxim Ganetsky
204af2c079 LazUtils, MultiThreadProcs: fixed _SC_NPROCESSORS_ONLN constant value, issue #41659
(cherry picked from commit 11688b8541)

Co-authored-by: Maxim Ganetsky <maxim@lazarus-ide.org>
2025-05-23 16:20:26 +03:00
wp_xyz
d0b829b72c LHelp: Fix icon display issue in gtk2. Issue #41656, patch by Roland Hahn.
(cherry picked from commit 34313e6f91)
2025-05-22 00:57:09 +02:00
Martin
c067bd336e FpDebug: fix handling errors in watch result. In case of error an incorrect data type may be given. WatchResData would not be set (not to value, nor error). Issue #41646
(cherry picked from commit 0dfc1da04c)
2025-05-17 13:56:18 +02:00
Martin
3c988b0ed8 SynEdit: fix painting gutter-part with margin. Issue #41638
(cherry picked from commit 34541a9c02)
2025-05-15 11:22:29 +02:00
Martin
0eca1e7a08 SynEdit: improve EnsureCursorPosVisible, don't force a persistent selection into view
(cherry picked from commit 093a68b134)
2025-05-15 11:22:28 +02:00
wp_xyz
31b5cd2be7 LCL/TreeView: Fix compilation in FPC 3.3.1 after change in FreeAndNil in commit 3df8de199470da796a9c00fc01f7ed6c3a07dc18
(cherry picked from commit 4fd9cec6c7)
2025-05-14 18:31:13 +02:00
Juha
715009f161 Docked form editor: Remove a default 'Panel1' caption from the settings GUI. Issue #41617, patch by Don Siders. 2025-05-06 12:52:52 +03:00
mattias
e7eba72f7f set fixes version to 4.1 2025-05-05 09:10:21 +02:00
mattias
9d15c73c91 set fixes version to 4.0 2025-05-03 08:08:10 +02:00
Martin
2f73b3fbd4 FpDebug: fix finding breakpoint addresses for generics. Related to https:/bugs.freepascal.org/view.php?id=37658
(cherry picked from commit b94af816fe)
2025-04-27 11:38:16 +02:00
Martin
7f2d12f0f3 SynEdit: Fixed crash due to uninitialised pointer. ATokenInfo.Tk.TokenStart may be trash, but the caller needs nil if there is no data.
(cherry picked from commit 05a5c1f416)
2025-04-21 21:26:04 +02:00
Martin
b94f2d82e8 FpDebug: Additional security for b1a29e7546 "race condition during exit". Defer the state, till after the ProcessMessages
(cherry picked from commit 9285940e2b)
2025-04-21 12:42:01 +02:00
Martin
c1d338eaaf FpDebug: fix race condition, during exit debug session (new command started while FDbgControllerProcessExitEvent called ProcessMessages)
(cherry picked from commit b1a29e7546)
2025-04-20 20:54:59 +02:00
wp_xyz
37341a2098 VirtualTreeViews: Fix crash due to incorrectly named cursor resources. Patch by Real-KGS, issue #41556.
(cherry picked from commit 99b6e9551a)
2025-04-19 00:17:57 +02:00
Bart
18e40b905b LazUtf8: Fix Utf8Insert for StartCharIndex > Utf8Length(s)+1. Reason: consistent with System.Insert().
(cherry picked from commit bad60c010b)
2025-04-16 16:46:04 +03:00
Bart
5c7fcf1fc0 LazUtf8: correct a StartCharIndex < 1 in Utf8Insert. Reason: consistent with System.Insert().
(cherry picked from commit 913b749fa9)
2025-04-16 16:46:04 +03:00
Bart
03a8dcfd01 LazUtf8: correct a StartCharIndex < 1 in Utf8Copy. Reason: consistent with System.Copy().
(cherry picked from commit 162cbbfc1b)
2025-04-16 16:46:04 +03:00
Bart
213e28c312 IDE: Fix crash in the Treeview Items Editor which allowed trying to open an non-existing file.
(cherry picked from commit 391169053b)
2025-04-16 16:46:03 +03:00
Martin
8df5cc6966 Debugger, Gdbmi: set register validity if numeric value of different display format is requested. Issue #41578
(cherry picked from commit 47c395bf03)
2025-04-09 15:42:40 +02:00
Martin
e893aa4eda SynEdit: Improve d8e4b249c3, initialize out variable. issue #41553
(cherry picked from commit ebd7f56170)
2025-04-01 15:53:04 +02:00
Željan Rikalo
b20c594475 SynEditTextBuffer: initialize out variable. issue #41553
(cherry picked from commit d8e4b249c3)

Co-authored-by: zeljan1 <zeljko@holobit.hr>
2025-03-31 19:28:38 +02:00
Maxim Ganetsky
a53bc7e03d LazReport: Fix enable/disable export filters. By gucao issue #41149
(cherry picked from commit 5f3ad1e7eb)

Co-authored-by: Jesus Reyes Aguilar <jesusrmx@gmail.com>
2025-03-23 17:36:39 +03:00
mattias
0919af14bd set fixes version to 4.0RC3 2025-03-21 19:32:09 +01:00
mattias
d44799c623 codetools: fixed CompareCodeXYPositions 2025-03-21 19:27:21 +01:00
Martin
ca2e64716d SynEdit: PasHighlighter, don't attempt to merge nil attrib
(cherry picked from commit f74f454aee)
2025-03-21 16:21:43 +01:00
Martin
4ed95ee337 SynEdit: elastic tab, fix stack overflow with shared text buffers. Ping-pong between 2 elastic-tab-views.
(cherry picked from commit 4b3cb64bd6)
2025-03-21 15:07:06 +01:00
Martin
d1120b1898 SynEdit: PasHighLighter, do not change FRange when processing comments
(cherry picked from commit 434454b4ed)
2025-03-16 22:27:41 +01:00
Martin
8bce574728 SynEdit: fix OnClearMark, checking the correct fields for assigned. Issue #41522
(cherry picked from commit 6c2a52efe0)
2025-03-11 10:28:02 +01:00
DomingoGP
c1d95b4283 Jedi code format: fix allowed file types.
(cherry picked from commit db66ebdbb3)
2025-03-08 15:30:15 +01:00
Martin
a182389908 SynEdit: fix single-line (mode=smLine) selection was not restored by undo (e.g. after undo after indent). Related to issue #29591
(cherry picked from commit a66269e8bb)
2025-03-07 12:11:44 +01:00