Commit Graph

23121 Commits

Author SHA1 Message Date
mattias
d9b2f91808 pas2js: fixed crash in designer popup menu 2024-03-08 09:32:01 +01:00
Martin
078cf6077a LeakView: Fix resolve. Outdated use of ImageBase, which is now RelocationOffset
(cherry picked from commit 8ca43789be)
2024-02-29 09:22:35 +01:00
Juha
f9216f15d2 LazUtils: Remove WriteLn() from TStringListUTF8Fast.InsertItem. Causes trouble on Windows.
(cherry picked from commit 2c81dff5d9)
2024-02-26 16:37:10 +03:00
mattias
9876cb96f9 set fixes version to 3.3 2024-02-25 13:27:23 +01:00
mattias
3887be2510 set fixes version to 3.2 2024-02-25 13:22:42 +01:00
Bart
433708a18b T(Float)SpinEditEx: In InitializeWnd set Text to represent FValue, otherwise NullValueBehavious will be applied in call to UpdateControl.
(cherry picked from commit a3ba11e5c3)
2024-02-22 16:43:32 +03:00
wp_xyz
8b8bcd3a51 TAChart: Add demo for AxisClickTool
(cherry picked from commit 0642c65d04)
2024-02-22 16:43:32 +03:00
wp_xyz
492dc38099 TAChart: Fix axis click tool sometimes detecting wrong axis part.
(cherry picked from commit 9e3e23a440)
2024-02-22 16:43:32 +03:00
wp_xyz
0c588105a2 aggpas: Prevent potential overflow error. Issue #40765.
(cherry picked from commit 7b6e360bce)
2024-02-22 16:43:31 +03:00
Juha
e583a28391 LazUtils: Deprecate UTF8CompareLatinTextFast. Implement TStringListUTF8Fast differently.
(cherry picked from commit 890f92e33e)
2024-02-22 16:43:31 +03:00
Juha
0253fd90c4 SynEdit, FpDebug, LazUtils, IdeIntf: Remove UTF8CompareLatinTextFast calls.
(cherry picked from commit 08c0f4865d)
2024-02-22 16:43:31 +03:00
Bart
b1e1c99f05 T(Float)SpinEditEx: fix setting (initial) value if NullValueBehaviour = nvbShowTextHint.
(cherry picked from commit 5168d97f96)
2024-02-22 16:43:31 +03:00
Juha
75264a7e1a TurboPower_ipro: Optimize 'px' in TIpHtmlNodeCore.GetFontSizeFromCSS. Fix possibly missing Result in function CssMarginToProps.
(cherry picked from commit bc201de1ed)
2024-02-22 16:43:31 +03:00
Juha
4a581e38fe TurboPower_ipro: Optimize function FindFontName. Remember previous values.
(cherry picked from commit c9e4a59c62)
2024-02-22 16:43:31 +03:00
Juha
cfb33e6975 TurboPower_ipro: Remove useless code from TIpHtmlParser.ParseHead.
(cherry picked from commit 4a639e70c5)
2024-02-22 16:43:30 +03:00
Juha
6a97f94583 LHelp: Remove UTF8CompareLatinTextFast calls.
(cherry picked from commit aecb1d9473)
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
b43b509320 IDEIntf: property-editor for TMaskEdit: set minimal width for samples listbox.
(cherry picked from commit a1f45d1080)
2024-02-22 16:43:29 +03:00
wp_xyz
74b5fb8682 TAChart: Fix function IncQuarter calculation error for negative NumberOfQuarters.
(cherry picked from commit 59aff202e1)
2024-02-22 16:43:29 +03:00
Martin
8db790f0ac LazDebuggerIntf: fix #40762
(cherry picked from commit 021178a42a)
2024-02-16 20:27:03 +01:00
Martin
5077e87590 SynEdit: fix range check introduced in a7a0b3ee3a - Issue #40778
(cherry picked from commit 0b1f218698)
2024-02-16 14:12:04 +01:00
Martin
30569f5fe8 LazDebuggerFp: further fix reading pty for console window. Remove dangling async call before destroying object.
(cherry picked from commit b1a91a2333)
2024-02-14 17:42:08 +01:00
Martin
f1632e6291 SynEdit: fix dragging text, when text has folded areas. Issue #40773 Patch by Olivier Guichard
(cherry picked from commit 7044a3b3df)
2024-02-13 23:24:41 +01:00
Martin
60d9e7d2d9 Codetools: fix crash when trying to add declaration for "foo := unit1;" Patch by WooBean007
(cherry picked from commit ba0c38e2b4)
2024-02-13 22:36:34 +01:00
Martin
972e988e00 FpDebug: further fix reading pty for console window.
(cherry picked from commit e9099ab0e8)
2024-02-13 22:35:57 +01:00
Martin
e44532f395 FpDebug: fix reading pty for console window.
(cherry picked from commit 47c34d2e7e)
2024-02-13 22:35:57 +01:00
mattias
a877f4fbec codetools: fixed compile 2024-02-08 11:43:25 +01:00
mattias
4701570830 codetools: clean up 2024-02-08 11:03:34 +01:00
Martin
43569dfc6a FpDebug: Prevent range checks on target address computation
(cherry picked from commit ad54dc2ceb)
2024-02-07 13:48:02 +01: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
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
Martin
89282a94ee SynEdit: don't access dangling pointer to FFoldedLinesView. See commit fb279cada4 and ca21254ef0
(cherry picked from commit 3477bc102d)
2024-01-28 20:09:10 +01:00
Martin
ca21254ef0 SynEdit: prevent fold-view CalculateMaps assert during destroy. Once the handle is destroyed, the HL will scan delayed. Issue #40720
(cherry picked from commit fb279cada4)
2024-01-25 12:50:33 +01:00
Martin
6448c2b1a0 FpDebug: fix range check in stack unwind (CFI)
(cherry picked from commit ac87f213d1)
2024-01-23 11:29:03 +01:00
Martin
910afda1b3 LazDebuggerFpLldb: fixed watch-eval for Mac-M2, if stackwindow is closed. (register PC for M2)
(cherry picked from commit c4483bf7f4)
2024-01-22 13:58:11 +01:00
Martin
ca859f5b3e FpDebug: Fix mem leak, if breakpoint is set to "auto destroy"
(cherry picked from commit 5d6489a45a)
2024-01-20 17:23:53 +01:00
Martin
ef82482ce5 LazDebuggerFp: Don't set breakpoints when the debug session is already over
(cherry picked from commit fd792b5d6f)
2024-01-20 17:23:53 +01:00
Martin
fbb65eaa20 FpDebug: Fix dangling pointer, if debug-backend sets breakpoint too late.
(cherry picked from commit ec98b15709)
2024-01-20 17:23:52 +01:00
Maxim Ganetsky
48b54337bc MessageComposer: Restrict minimal form width and height to keep correct layout. Patch by Don Siders, issue #40707.
(cherry picked from commit e585a9016f)
2024-01-19 23:02:57 +00:00
Juha
9835b964fb LazUtils: Resolve '/somedir/..' correctly in ResolveDots. Add tests. Issue #40678.
(cherry picked from commit 148b2d23f4)
2024-01-18 16:49:34 +00:00
Maxim Ganetsky
7c62769d75 Translations: Slovak translation update by LacaK, issue #40700
(cherry picked from commit c2d546e251)
2024-01-17 22:39:18 +03:00
Martin
8c022f5c58 FpDebug: Don't read debug info with unknown DW_FORM
(cherry picked from commit 532aae6212)
2024-01-16 17:46:06 +01:00
Martin
023766bdda SynEdit: Hihghlighter-Html, fix slow down due to internal pchar to string conversions. Issue #40660
(cherry picked from commit a7a0b3ee3a)
2024-01-15 01:50:26 +01: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
Maxim Ganetsky
a7413b60db SynEdit, Highlighters: actually use initial value of DefaultFilter when deciding whether to store this value to LFM or not
(cherry picked from commit 889c2339f6)
2024-01-10 16:19:34 +00:00
mattias
9590c4978c codetools: fixed FindDanglingComponentEvents iteration of properties, fixed #40664 2024-01-03 10:44:35 +01:00
Maxim Ganetsky
6eb05623c2 AnchorDocking: improved header appearance, patch by Don Siders, issue #40677
(cherry picked from commit 3b5bda9882)
2024-01-02 15:21:00 +00:00
Maxim Ganetsky
2c67e9194b LazUtils, Translations unit: fixed compilation on 32-bit Darwin as reported on forum:
https://forum.lazarus.freepascal.org/index.php/topic,65612.msg500834.html#msg500834


(cherry picked from commit beb17ad4d7)
2023-12-31 17:22:25 +00:00
Martin
bfd4989743 FpDebug: prevent div-by-zero in the debugger (in the IDE) while evaluating watches.
(cherry picked from commit 5a1d892e69)
2023-12-30 21:07:10 +01:00