Commit Graph

21575 Commits

Author SHA1 Message Date
Joost van der Sluis
4e4c402b62 FpDebug: Remove breakpoints bound to a specific library when this library gets unloaded 2021-12-23 00:32:41 +01:00
mattias
947a183c9c codetools: added boolean8, boolean16, boolean32, boolean64 2021-12-22 23:58:25 +01:00
wp_xyz
ac784af64b ideintf/ImageListEditor: Less truncation of loaded large images. 2021-12-19 00:29:36 +01:00
Jesus Reyes A
639398c65d LazReport: enable image transparency in FCL PDF exporter 2021-12-18 17:28:33 -06:00
Juha
7e1fcc4033 Project Templates: Give variables a default value when not typed by user. 2021-12-19 00:50:51 +02:00
wp_xyz
ce4661f5ec ideintf/graphpropedits: Scale images in TImageIndexPropertyEditor dropdown to line height. Issue #35807. 2021-12-18 23:11:00 +01:00
Juha
734cf1a136 Project Templates: Disable OK button while necessary information is not given. 2021-12-18 20:51:42 +02:00
Maxim Ganetsky
c55ec94d74 FpWeb: correctly enable edit controls when New HTTP Server Application dialog is shown 2021-12-18 01:44:08 +03:00
Maxim Ganetsky
4f73a1d210 FpWeb: unified terminology in New HTTP Server Application dialog, regenerated translations and updated Russian translation 2021-12-18 01:28:45 +03:00
Maxim Ganetsky
e313060d09 FpWeb: fixed layout of New HTTP Server Application dialog 2021-12-18 01:21:56 +03:00
Michaël Van Canneyt
b4881d60cf Merge branch 'main' of https://gitlab.com/freepascal.org/lazarus/lazarus into main 2021-12-17 13:37:21 +01:00
Michaël Van Canneyt
73d4c3e8f3 * Forgot to add to previous commit 2021-12-17 13:37:05 +01:00
Michaël Van Canneyt
eb90152af1 * More structured code, clearer dialog, fix some formatting 2021-12-17 13:36:20 +01:00
Michaël Van Canneyt
e2d630da1d * Fix output, add better file serving options for new http app 2021-12-17 13:05:19 +01:00
Bart
cb9d685f79 LConvEncoding: reverts #05765da982ab46e2486c6932648c71fd692a54d5 and #01e627e35da5030ccea4406cffbdf5b67b85b0b9 and resolves issue #39348 in a different way (by always setting the target's codepage when converting to UTF8). 2021-12-16 22:11:56 +01:00
Martin
818c1c82d8 JitClass: Allow looking up Interfaces via TObject.GetInterface 2021-12-16 16:36:49 +01:00
Joost van der Sluis
e0c4d9c77b FpDebug: cleanup and explanation of the difference between the ImageBase, RelocationOffset and LoadedTargetImageAddr 2021-12-16 00:35:18 +01:00
Joost van der Sluis
8205a04199 FpDebug: On Windows the RelocationOffset can only be calculated after the file-header has been read. So the whole logic to obtain the RelocationOffset out of the LoadedTargetImageAddr and ImageBase is refactored 2021-12-15 01:21:10 +01:00
Maxim Ganetsky
e71c784ab0 Translations: Brazilian Portuguese translation update by Marcelo B Paula, issue #39516 2021-12-15 02:21:23 +03:00
Joost van der Sluis
190a7267c4 FpDebug: Fixed compilation on Windows 2021-12-14 10:35:59 +01:00
Joost van der Sluis
70d007f0de FpDebug: Differentiate between the BaseAddr and the RelocationOffset 2021-12-13 23:18:10 +01:00
Ondrej Pokorny
1dac8b96e8 CodeTools: don't break one-liner class definitions like "private const". Issue 39514 2021-12-13 17:46:46 +01:00
Martin
842abf97c1 FpDebug: Remove some asserts that were to strict. The check is done in ReadThreadState. If that has already been done, the functions do not need the requirement. 2021-12-12 21:00:28 +01:00
Martin
bfcd8fc293 LazDebuggerFp: More stepping tests 2021-12-12 21:00:28 +01:00
Martin
85c71832e3 FpDebug: Win64 SEH finally sub-routines, show correct line for resolved symbol 2021-12-12 21:00:27 +01:00
Martin
a1c6e559e1 LazDebuggerFp: Cleanup compiler hints 2021-12-12 21:00:27 +01:00
Martin
6e5c00bb59 LazDebuggerFp: Handle Win32-SEH for step-in/out/over 2021-12-12 21:00:27 +01:00
Martin
4490c1f5a5 LazDebuggerFp: ifdef win64 code 2021-12-12 21:00:22 +01:00
Martin
97c29d9540 LazDebuggerFp: Added safety measures for single stepping (Win64 SEH) 2021-12-12 21:00:22 +01:00
Martin
4c78791096 LazDebuggerFp: catch exceptions in Application.ProcessMessages 2021-12-12 21:00:22 +01:00
Martin
a4b23e0b2a FpDebug: PascalParser, Fix parsing float on localized PC. 2021-12-12 21:00:21 +01:00
Martin
189c64388e LazLogger: avoid "inline" warning for fpc versions not supporting it. Issue #39508 2021-12-12 00:02:41 +01:00
Bart
153a562187 LazUtf8: fix rangecheck error due to not detecting invalid 4-byte Utf8-codepoint in ConvertUTF8ToUTF16. Issue #39501. 2021-12-11 19:17:44 +01:00
Bart
01e627e35d LazUtils: LConvEncoding: change signature of TConvertEncodingFunction analogue to all XXXToUtf8() functions. Part of issue #39348; 2021-12-11 17:31:30 +01:00
Joost van der Sluis
2a51f03e2b FpDebug fixed calculation of addresses, got broken in commit 5ff2a7d17c 2021-12-11 13:38:30 +01:00
Maxim Ganetsky
b2c460ee34 FpDebug: updated Russian translation 2021-12-11 01:23:43 +03:00
Joost van der Sluis
5ff2a7d17c FpDebug: Calculate the relocated addresses of libraries 2021-12-10 20:17:46 +01:00
Joost van der Sluis
124083f794 FpDebug: Do not crash on unrecognized binary-formats 2021-12-10 17:57:07 +01:00
Joost van der Sluis
1dbef448b0 FpDebug: Removed spaces at start of the line in error-messages. 2021-12-10 17:31:33 +01:00
Martin
c33019c14b LazDebugger: Fix, ensure DefaultContext is available. Broken in e618b09804 2021-12-10 00:29:26 +01:00
Martin
5c22ff5ad2 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.
2021-12-10 00:29:26 +01:00
Bart
5aa4ccaa47 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.
2021-12-09 22:00:25 +01:00
Bart
05765da982 LazUtils: LConvEncoding: Fix not setting target codepage in various xxxToUtf8() functions. Issue #39348.
Note: ConvertAnsiToUtf8 not fixed yet.
2021-12-09 21:42:07 +01:00
Martin
343eb4e47c 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 18:17:57 +01:00
Martin
4548d90a7f LazDebuggerFp: Win64 - catch finally handlers, if the "try" block was entered via breakpoint (not stepped into) *and* left via "exit". 2021-12-09 18:17:57 +01:00
Martin
c90fb08f85 LazDebuggerFp: Win64 -Monitor RtlRestoreContext to catch more unwind cases. 2021-12-09 18:17:56 +01:00
Martin
269079e11a LazDebuggerFp, Tests: Ensure the debugger does not break out of ProcessLoop, unless it is done. 2021-12-09 18:17:56 +01:00
Martin
280d99664e LazDebuggerFp, Tests: Ensure the debugger does not go into unwanted dsInternalPause 2021-12-09 18:17:56 +01:00
Martin
e618b09804 LazDebuggerFp: Fix Stepping and threads / Ensure loop exits with correct EventType 2021-12-09 18:17:56 +01:00
Juha
08ed2844b3 Project Templates: Improve configuration of ProjectFile and other variables. Issue #38244, patch by Rolf Wetjen. 2021-12-09 12:16:52 +02:00