Martin
0bfb65de03
LazDebuggerFp: Cleanup compiler hints
...
(cherry picked from commit a1c6e559e1
)
2021-12-16 09:54:08 +01:00
Martin
65133dd1cd
LazDebuggerFp: Handle Win32-SEH for step-in/out/over
...
(cherry picked from commit 6e5c00bb59
)
2021-12-16 09:54:07 +01:00
Martin
08764bb5db
LazDebuggerFp: ifdef win64 code
...
(cherry picked from commit 4490c1f5a5
)
2021-12-16 09:54:07 +01:00
Martin
3a0a64113d
LazDebuggerFp: Added safety measures for single stepping (Win64 SEH)
...
(cherry picked from commit 97c29d9540
)
2021-12-16 09:54:07 +01:00
Martin
64480a7931
LazDebuggerFp: catch exceptions in Application.ProcessMessages
...
(cherry picked from commit 4c78791096
)
2021-12-16 09:54:07 +01:00
Martin
777aac6151
FpDebug: PascalParser, Fix parsing float on localized PC.
...
(cherry picked from commit a4b23e0b2a
)
2021-12-16 09:54:07 +01:00
Maxim Ganetsky
09ea9e4bd3
Translations: Brazilian Portuguese translation update by Marcelo B Paula, issue #39516
...
(cherry picked from commit e71c784ab0
)
2021-12-15 02:26:36 +03:00
dsiders
0d2ebdc27f
Docs: LCL/extctrls. Updates topics for TCustomTrayIcon, TTrayIcon.
...
(cherry picked from commit d116a8f5cc
)
2021-12-14 00:40:13 +03:00
Maxim Ganetsky
393a92d4f7
IDE: improved Russian translation
...
(cherry picked from commit e92521a472
)
2021-12-13 01:09:42 +03:00
Maxim Ganetsky
9e736bfafb
IDE: Restored manual LCL translation callback call (allows to have LCL translated earlier in order to have translated button captions in some dialogs shown during IDE start)
...
(cherry picked from commit 102e584847
)
2021-12-13 01:08:37 +03:00
Martin
5004991a63
IDE: fix mingw-path in message about gdb location.
...
(cherry picked from commit 159f5e368f
)
2021-12-13 01:08:37 +03:00
dsiders
3f9ec227eb
Docs: LazUtils/lconvencoding. Adds topic for SetTargetCodePage parameter in TConvertEncodingFunction.
...
* Depends on 01e627e3
.
(cherry picked from commit b12267c1e3
)
2021-12-13 01:08:35 +03:00
Juha
357d2f849c
IDE: Improve the header hint clicked behavior. Issue #39506 .
...
(cherry picked from commit 4eff151060
)
2021-12-13 01:08:35 +03:00
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