Bart
cc30355e84
LazUtf8: fix rangecheck error due to not detecting invalid 4-byte Utf8-codepoint in ConvertUTF8ToUTF16. Issue #39501 .
...
(cherry picked from commit 153a562187
)
2021-12-13 01:08:35 +03:00
Bart
dcb34591d1
LazUtils: LConvEncoding: change signature of TConvertEncodingFunction analogue to all XXXToUtf8() functions. Part of issue #39348 ;
...
(cherry picked from commit 01e627e35d
)
2021-12-13 01:08:35 +03:00
dsiders
5f003f5b0a
Docs: LCL/controls. Updates content for Align and Anchors topics in TControl.
...
(cherry picked from commit c96a14fd0d
)
2021-12-13 01:08:34 +03:00
Juha
3416b7f8e6
IDE: Move to actual message header when the header hint on top is clicked. Issue #39506 .
...
(cherry picked from commit ab4e2af841
)
2021-12-13 01:08:34 +03:00
Juha
c9605867fc
IDE: In message header, move to last line of previous view with Up-key. Part of issue #39506 .
...
(cherry picked from commit a821a43b5f
)
2021-12-13 01:08:34 +03:00
Bart
d5a59467c4
LazUtils: LConvEncoding: remove all code that is disabled if FPC_HAS_CPSTRING is NOT defined,
...
since we do not support compiler versions < 3.0, so FPC_HAS_CPSTRING is always defined now.
(cherry picked from commit 5aa4ccaa47
)
2021-12-13 01:08:33 +03:00
Bart
9b3fe9b4f7
LazUtils: LConvEncoding: Fix not setting target codepage in various xxxToUtf8() functions. Issue #39348 .
...
Note: ConvertAnsiToUtf8 not fixed yet.
(cherry picked from commit 05765da982
)
2021-12-13 01:08:33 +03:00
Juha
b86b163829
IDE: Remove an assertion in TMessagesCtrl. Triggered rarely by timing issues. Issue #39503 .
...
(cherry picked from commit 4020cb96fb
)
2021-12-13 01:08:33 +03:00
Martin
cc734c628b
LazLogger: avoid "inline" warning for fpc versions not supporting it. Issue #39508
...
(cherry picked from commit 189c64388e
)
2021-12-12 00:08:37 +01:00
Martin
cbd0330c2c
LazDebugger: Fix, ensure DefaultContext is available. Broken in e618b09804
...
(cherry picked from commit c33019c14b
)
2021-12-10 00:31:19 +01:00
Martin
87bbace028
FpDebug: Fix stepping does not stop at next line (seen on Win7 only / Maybe issue #39383 ).
...
When checking if a step-in/over returned from going over a called proc (using the hidden-break), do not trust the BasePointer.
(cherry picked from commit 5c22ff5ad2
)
2021-12-10 00:31:19 +01:00
Martin
499add13ab
FpDebug: PascalParser, fixed parsing float. In Pascal the comma is a list-separator. It can not be decimal-point. So using the locale "DecimalSeparor" will get wrong results.
2021-12-09 19:34:57 +01:00
Martin
a3516ccc80
LazDebuggerFp: Win64 - catch finally handlers, if the "try" block was entered via breakpoint (not stepped into) *and* left via "exit".
2021-12-09 19:34:56 +01:00
Martin
7bb0bff6ec
LazDebuggerFp: Win64 -Monitor RtlRestoreContext to catch more unwind cases.
...
(cherry picked from commit c90fb08f85
)
2021-12-09 19:34:32 +01:00
Martin
dbacf940a5
LazDebuggerFp, Tests: Ensure the debugger does not break out of ProcessLoop, unless it is done.
...
(cherry picked from commit 269079e11a
)
2021-12-09 19:33:10 +01:00
Martin
4831a5ae8c
LazDebuggerFp, Tests: Ensure the debugger does not go into unwanted dsInternalPause
...
(cherry picked from commit 280d99664e
)
2021-12-09 19:33:10 +01:00
Martin
fe2160cd1b
LazDebuggerFp: Fix Stepping and threads / Ensure loop exits with correct EventType
...
(cherry picked from commit e618b09804
)
2021-12-09 18:59:02 +01:00
Martin
7d1223ef96
FpDebug: reduced debugln
...
(cherry picked from commit 9877946d86
)
2021-12-09 18:49:11 +01:00
Martin
75876c3371
LazDebuggerFp: Fix handling of internal SEH breakpoints. Do not remove breakpoints from outer frames, they may still be needed.
...
(cherry picked from commit a691278256
)
2021-12-09 18:49:11 +01:00
Martin
9979693585
FpDebug: Fixed passing dangling pointer. (Currently not used by LazDebuggerFp when doing deExitProcess)
...
(cherry picked from commit 7534833eb6
)
2021-12-09 18:49:11 +01:00
Martin
2ce918ee2e
LazDebuggerFp: clear flags for set/unset internal breaks
...
(cherry picked from commit 4f94496f20
)
2021-12-09 18:49:10 +01:00
Martin
3e0e221d32
LazDebuggerFp: Fix removing temp break from "FBreakPoints[bplSehW64Except]". "Rdx" was a copy and paste error, once hit the address is "PC".
...
(cherry picked from commit ba63a18843
)
2021-12-09 18:49:10 +01:00
Martin
b2129c5faa
LazDebuggerFp: Fixed step-out over finally. Do not stop in finally block.
...
(cherry picked from commit 480b0fd02d
)
2021-12-09 18:49:10 +01:00
Martin
7ddcb99119
LazDebuggerFp: Added Comments for handling FpcSpecific data
...
(cherry picked from commit 28d1437b17
)
2021-12-09 18:49:10 +01:00
Maxim Ganetsky
2aff8ed2aa
IDE: it is no longer needed to manually call translation callback for LCL package
...
(cherry picked from commit 92260fbdea
)
2021-12-09 01:04:51 +03:00
Maxim Ganetsky
39f87cd554
IDE: it is no longer needed to manually call translation callbacks for 'static base' packages
...
(cherry picked from commit 0c9041f474
)
2021-12-09 01:04:51 +03:00
mattias
6cc810e692
IDE: translate required packages before calling Register
...
(cherry picked from commit 6f8cfba2f9
)
2021-12-09 01:04:51 +03:00
Martin
ecfb9c4ded
IDE, project: Mark session modified for debugger-backend. => Amended "save selected debugger to session, not lpi" 2ad53a8a51
...
(cherry picked from commit 74cf3e3a62
)
2021-12-08 10:29:52 +01:00
Martin
8f2965307f
IDE, project: save selected debugger to session, not lpi
...
(cherry picked from commit 2ad53a8a51
)
2021-12-08 10:29:52 +01:00
dsiders
a3b83a43dc
Docs: LazControls. Updates topic content and See Also links.
...
(cherry picked from commit 06d44e3815
)
2021-12-08 00:21:45 +03:00
Martin
0bf8dc1256
SourceEditor: Fix to show bookmark pop-up menu using key-shortcut (without toolbar). Fixes regression from issue #35883
...
(cherry picked from commit 9519a967ca
)
2021-12-06 11:46:00 +01:00
Martin
c241f20c7f
LazDebuggerFp: Fixed race condition / double free. By the time TFpDebugExceptionStepping.Destroy is called, the debug process should be gone, and should have deleted all its breakpoint, including those in DoDbgStopped. Also this is usually called in the Process-Exit event.
...
(cherry picked from commit 1b1dd8f5fa
)
2021-12-05 22:47:17 +01:00
Martin
b834fe113e
FpDebug: Fix race condition. After FQueue.RemoveThread(Self) the Queue (if waiting in TerminateAllThreads) can destroy itself. So it must no longer be accessed.
...
(cherry picked from commit 7e06003d9d
)
2021-12-05 22:47:17 +01:00
Martin
11ccb9ed06
FpDebug: fix for logging
...
(cherry picked from commit b3e07ba2b5
)
2021-12-05 22:46:34 +01:00
mattias
870d5ac69f
codetools: fixed tests when no pas2js found
...
(cherry picked from commit 8f307159a6
)
2021-12-04 00:17:42 +03:00
wp_xyz
011b97d0e0
IDE: Use radiobuttons in project buildmode menu (rather than checkboxes). Issue #39497 , patch by Alexey Torgashin
...
(cherry picked from commit 2b2368cb83
)
2021-12-04 00:17:41 +03:00
Martin
626125debf
LazDebuggerFp: fixed a nil deref, DefaultContext needs CurrentThread
...
(cherry picked from commit 217459a76f
)
2021-12-01 22:00:33 +01:00
Martin
340f6f1502
FpDebug: Show "class var" if in current context (no class/instance-name prefix).
...
(cherry picked from commit d8188bb780
)
2021-12-01 22:00:09 +01:00
dsiders
709f86d99f
Docs: LCL/forms. Updates topic content for TCustomFrame and TFrame.
...
(cherry picked from commit aaee8f2881
)
2021-12-01 00:42:59 +03:00
Juha
3f5c16d5f9
IDE: Revert experimental exceptions.
...
(cherry picked from commit 28984a7cdf
)
2021-11-30 01:00:40 +03:00
wp_xyz
c29da8f0d8
LazControls/SpinEditExBase: Clearer defines for issue #39490 workaround.
...
(cherry picked from commit 171f18dd75
)
2021-11-29 02:16:20 +03:00
dsiders
5e67b02e81
Docs: LazControls/spinex. Adds topics for overloaded SameValue() methods in TCustomFloatSpinEditEx and TCustomSpinEditEx.
...
* Depends on 182cc8b8e6
, 7f45938388
, 5523c58bc9
0e5fdc884a
, c301731931
.
(cherry picked from commit 15e62fda4d
)
2021-11-29 02:16:20 +03:00
Juha
69e9028c85
IDE: Show Frame's contents in designer also when its component package is installed in palette. Issue #39488 .
...
(cherry picked from commit 05382f4ddf
)
2021-11-29 02:16:20 +03:00
wp_xyz
8b4a580354
LazControls/TSpinEditExBase: IFDEF the previous commit (workaround for an already solved FPC bug). Issue #39490/39491.
...
(cherry picked from commit 5523c58bc9
)
2021-11-29 02:16:19 +03:00
wp_xyz
a8a4e42e1f
LazControls/SpinEditExBase: Fix compilation issue with FPC 3.2.0. Issue #39491 .
...
(cherry picked from commit 7f45938388
)
2021-11-29 02:16:19 +03:00
dsiders
f4daa8fde9
Docs: LCL/forms. Adds and updates topic content.
...
* Adds new topics in TScreen for BeginScreenCursor, EndScreenCursor.
* Corrects spelling errors.
(cherry picked from commit c301731931
)
2021-11-29 02:16:19 +03:00
dsiders
aaa826ce6a
Docs: LazControls/spin. Adds new topic for TSpinEditExBase.SameValue. Depends on 182cc8b8
.
...
(cherry picked from commit 0e5fdc884a
)
2021-11-29 02:16:18 +03:00
wp_xyz
ccf2b094dd
LazControls/SpinEditExBase: Add virtual method SameValue() to fix compilation issue on Win/x64 for a currency descendant. Issue #39490 .
...
(cherry picked from commit 182cc8b8e6
)
2021-11-29 02:16:18 +03:00
Martin
eba951e985
FpDebug: Dwarf location-parser, allow to deref a register-location. See merge-request !28
...
(cherry picked from commit 0a7f1b1da9
)
2021-11-28 12:06:25 +01:00
Martin
05a6267205
FpDebug: refactor external debug info / Enable for Linux and Windows
...
(cherry picked from commit 1c87dc96eb
)
2021-11-28 12:04:20 +01:00