Martin
369e4e47a7
IDE: Add base-package "IdeConfig"
2022-12-08 01:38:41 +01:00
Maxim Ganetsky
abfb1038bd
Regenerated translations.
2022-12-08 03:30:04 +03:00
Maxim Ganetsky
045ba029e3
LazUtils: Rewritten comparison of formatting arguments of translations (in PO files). Now formatting arguments are compared in their entirety (including index, width and precision).
...
The reasons are:
0. Working with arguments is very prone to typos.
1. Removing index of arguments in translation can lead to exceptions.
2. Adding index to arguments in translation can lead to incorrect argument selection if e. g. '*' usage in arguments and relation of indexed and non-indexed arguments are not properly considered. Validating all this is a big complicated mess which should better be avoided.
3. Allowing to change width/precision can lead to incorrect argument rendering.
This means that swapping indexes is now effectively forbidden. This is not expected to create any unavoidable problems for translators, though. In any case such issues can better be solved by changing resource strings instead on a case by case basis.
This change allowed to spot many missed argument mismatches in different languages.
2022-12-08 03:30:03 +03:00
wp_xyz
fd431d9325
TAChart: Un-deprecate the OnAfterDraw event.
2022-12-07 19:11:27 +01:00
Martin
cc31d7752a
FpDebug: fix watching fields in "old style" objects
2022-12-07 01:44:51 +01:00
Juha
32963dc9d5
Examples window: Improve the filter and prevent an AV etc. Issue #40034 , patch by dbannon.
2022-12-06 21:54:45 +02:00
wp_xyz
5fdb03fb78
IDE: Adds missing and improved menu icons by Roland Hahn.
2022-12-06 17:57:07 +01:00
Maxim Ganetsky
0ea7199af9
ExamplesWindow: improved i18n and layout of settings frame, regenerated translations and updated Russian translation
2022-12-06 02:35:41 +03:00
Maxim Ganetsky
e71aafbc65
ExternHelp: cleaned up unused resource string, regenerated translations
2022-12-06 02:35:41 +03:00
Martin
d8f2ce5a1f
FpDebug: fix mem leak
2022-12-06 00:15:35 +01:00
Martin
cdafe7d9a3
FpDebug: make "^char" display string-like, like PChar.
2022-12-06 00:15:35 +01:00
Martin
55f314c9ac
FpDebug: Fix subtraction for some pointers / Fix type-info for @char, so minus considers them compatible.
2022-12-06 00:15:34 +01:00
Juha
e723acfe03
ExamplesWindow: Use GetParsedLazarusDirectory from OptionsIntf instead of reading XML file. Arrange uses sections. Hide some warnings.
2022-12-05 12:48:06 +02:00
Bart
db8a298e3d
TDateTimePicker: expose FEffectiveDateDisplayOrder and FEffectiveHideDateTimeParts as read only protected properties. Patch by michalgw. Issue #39971 .
2022-12-03 15:59:49 +01:00
mattias
10ba6d4322
buildintf: added UserThread for running as an external tool
2022-12-03 01:51:38 +01:00
Juha
20d2044bb4
LazUtils: In UTF8CompareLatinTextFast, use AnsiCompareText instead of WideCompareText.
2022-12-02 22:45:14 +02:00
Martin
4c879cc73c
FpDebug: Fix disassembler operand size for $a3 "move [...], reg"
2022-12-02 03:19:38 +01:00
Martin
a9cb3d0967
LazDebuggerFp: add feedback if "modify watch" failed.
2022-12-02 01:03:44 +01:00
Martin
143aaab00f
FpDebug: WatchResultData, more error checks
2022-12-02 01:01:33 +01:00
Martin
cfdb6d2299
SynEdit: fix range check in WrappedView
2022-12-02 00:58:42 +01:00
Martin
042ddcfe20
Fix UnicodeSpacesToASCII, After "Replace()" p is already replaced. Old code could skip codepoints or iterate past end of string. Don't replace regular space #20 with itself (nop).
2022-12-02 00:58:42 +01:00
Bart
6ab3629c14
TDateTimePicker: implement properties MonthDisplay, CustomMonthNames and deprecate MonthNames property. Issue #39525 .
2022-11-29 19:07:13 +01:00
wp_xyz
bb65b8022c
TAChart: Fix TDataPointMarksClickTool crashing when series is empty.
2022-11-28 19:14:48 +01:00
mattias
84f716a2ff
IDEIntf: added AddHandlerFPCSrcDirScanned
2022-11-28 15:34:20 +01:00
Maxim Ganetsky
3bdcb55eb2
SQLDb: regenerated translations and updated Russian translation
2022-11-26 03:10:34 +03:00
Maxim Ganetsky
b019eb73e0
SQLDb: fixed a typo in a resource string
2022-11-26 03:07:11 +03:00
Bart
46e8e195a9
LazUtf8: fix UTF8CompareLatinTextFast to be consistent with Utf8CompareText, when comparing lower ASCII values. Issue #40014
2022-11-25 17:26:14 +01:00
wp_xyz
e6f85953d8
SQLDB: Improved German translation of GenerateSQLDlg.
2022-11-24 19:26:24 +01:00
wp_xyz
aba5738ffd
SQLDB: Improved usability of GenerateSQLDlg.
2022-11-24 17:38:29 +01:00
Bart
c67c745669
LazUtf8: honour CaseSensitive in TStringListUTF8Fast.DoCompareText.
2022-11-23 14:23:20 +01:00
Martin
bcb511f8c1
FpDebug: fix parsing linemap, after commit 5e1326dab3
2022-11-22 16:29:09 +01:00
Martin
6793da0620
SynEdit: fix crash/hang (endless loop) in SearchReplace. Advance 1 char, if regex returns an zero-len match. Issue #39999
2022-11-22 15:44:40 +01:00
mattias
5e1326dab3
fpdebug: fixed crash
2022-11-22 02:36:49 +01:00
wp_xyz
7a73eac63a
SQLDB: Fix several layout issues in GenerateSQLDlg. Based on patch by Don Siders, issue #40009
2022-11-21 11:47:32 +01:00
Juha
fa711164a9
IdeIntf: procedure DoAfterComponentAdded does not need to be virtual. Formatting.
2022-11-21 09:21:32 +02:00
Juha
fa224fda62
IDE: Simplify function ShowSaveProjectAsDialog. UseMainSourceFile parameter and sfSaveMainSourceAs flag are not needed.
2022-11-20 20:31:33 +02:00
wp_xyz
ecf49109b1
SQLDB: Enforce usage of default SynEdit font in GenerateSQLDlg form. Patch by Don Siders (see issue #39975 ).
2022-11-20 16:32:34 +01:00
wp_xyz
f40f8d5c28
SQLDB: Fix generation of incomplete SQL statements by component editor. Modified patch by Don Siders, issue #39975 .
2022-11-20 16:08:51 +01:00
Juha
28443d4c13
Jedi Code Format: No blank lines in function/procedure declarations. Issue #40006 , patch by Domingo Galmés.
2022-11-19 22:21:41 +02:00
Željan Rikalo
eec91b3a05
Qt6: fixed building for Qt6
2022-11-19 21:21:09 +01:00
Juha
d20728f3a4
Jedi Code Format: Fix a regression introduced by commit 27dfc5b4
. Issue #40005 , patch by Domingo Galmés.
2022-11-19 09:25:18 +02:00
Željan Rikalo
da19cbeace
Qt: proper conversion from widestring.
2022-11-15 15:56:47 +01:00
Željan Rikalo
80b197d439
Qt6: started printing support for Qt6.
2022-11-15 15:36:22 +01:00
zamtmn
c87cedb97f
Fix issue #39924 (AnchorDocking Header position resets)
2022-11-15 04:10:12 +03:00
zamtmn
989070fa91
Fix issue #39923 (AnchorDocking Docked forms sometimes overlap)
2022-11-15 04:09:52 +03:00
mattias
ffb0b0034e
virtualtreeview: added qt6 fake units
2022-11-13 16:41:18 +01:00
mattias
6671244b72
updated makefiles, fixed compile fpdebug with fpc 3.2.2
2022-11-13 13:23:46 +01:00
mattias
3b3bd6ca14
clean up
2022-11-13 12:57:59 +01:00
zeljan1
abc2adaf4d
Qt6: added support for VirtualStringTree
2022-11-11 16:05:18 +01:00
wp_xyz
aa025a513b
Images: Some reworked images for improved rendering in dark mode (by Roland Hahn).
2022-11-08 18:42:41 +01:00
Juha
ae62f4f10e
Jedi Code Format: Improve recognition of generic constraints. Issue #39991 , patch by Domingo Galmés.
2022-11-06 23:39:31 +02:00
Juha
f112427168
Jedi Code Format: Remove blank lines before type, const, var, begin tokens inside a procedure/function. Issue #39990 , patch by Domingo Galmés.
2022-11-06 23:39:31 +02:00
Juha
2d95dc76d7
Jedi Code Format: Indent try..finally..except blocks better. Issue #39989 , patch by Domingo Galmés.
2022-11-06 23:25:08 +02:00
wp_xyz
9ac4a95870
TAChart: Add aipInteger as new TAxisIntervalParamOption to force axis labels only in integer steps.
2022-11-06 18:28:57 +01:00
wp_xyz
05dcff1c02
OnlinePackageManager: Replace hard-coded disabled image list by one which is derived at runtime from the normal images. Based on code by Roland Hahn.
2022-11-04 14:18:13 +01:00
wp_xyz
969ac2a4bf
LazUtils/GraphMath: Avoid separate calculation of sin() and cos() of the same angle in several functions. Related to issue #39983 .
2022-11-02 23:21:44 +01:00
wp_xyz
e171cf6f33
TAChart: Workaround for TChartListbox not detecting clicks on checkbox and series icon correctly on macOS Monterey. See https://forum.lazarus.freepascal.org/index.php/topic,61074.msg458489.html .
2022-11-02 21:59:26 +01:00
Juha
f4d0eeb099
Jedi Code Format: Improve formatting of preprocessor blocks and preprocessor directives. Issue #39662 , patch by Domingo Galmés.
2022-11-02 19:30:49 +02:00
Juha
4c6414f837
LazUtils: Support time formatting with 12-hour clock on Windows. Issue #39977 , patch by foxpas.
2022-11-02 19:11:36 +02:00
wp_xyz
182091e424
LazUtils/GraphMath: Optimize RotatePoint().
2022-11-01 23:30:52 +01:00
wp_xyz
dc60b24979
OnlinePackageManager: Update icons in datamodule, forgotten in previous commit.
2022-10-29 19:23:05 +02:00
wp_xyz
65b11fca12
OPM: Replace icons with "nicer" package (by Roland Hahn)
2022-10-29 18:01:56 +02:00
wp_xyz
2f18817fd8
Images: Update res files affected by previous commit.
2022-10-28 18:39:22 +02:00
wp_xyz
ed9431c5c1
Images: Improved details of package icon (and derivatives), by Roland Hahn.
2022-10-28 18:16:33 +02:00
mattias
236f558536
anchordocking: fixed example
2022-10-28 08:23:28 +02:00
mattias
ef6ce79e07
synedit: ssMeta on darwin instead of only carbon
2022-10-28 07:52:26 +02:00
Martin
8ef10902f3
FpDebug: Stack, CFI - For older FPC (broken CFI) always continue non-CFI eval.
2022-10-27 15:42:59 +02:00
Martin
e1dc8a96d9
Codetool: prevent recursion in ResolveBaseTypeOfIdentifier. Issue 39897
...
`fdfFunctionResult` will cause `FindExpressionTypeOfTerm` to `ResolveChildren` and recurse forever if the node starts with open brackets. If the cursor is not on an identifier, it should not be a function and the flag is not needed.
2022-10-26 14:58:42 +02:00
Martin
204e3d5734
CodeTools, tests: run "bug*" tests too.
2022-10-26 14:54:02 +02:00
wp_xyz
78225565ce
freetype: Fix range-check error when compiled with range-check on.
2022-10-25 17:54:07 +02:00
Martin
efc94ab2db
LazDebuggerFp: fix mem leak in TFPBreakpoint.ThreadLogExpression
2022-10-23 13:18:00 +02:00
Martin
f47e51faf4
Codetool: FindDeclaration, fix "generic array" in fdt_generics_finddeclaration.pas / Fix issue #39738
2022-10-20 21:39:46 +02:00
Martin
d488d45819
CodeTool: Improve tracking specialized generic parameters (e.g. variable class base).
...
Undo/Replace commits:
- 797768a965
, Branch RevNo: 58874
codetools: code completion for "FOR var IN" with generic class, from Pascal Riekenberg
git-svn-id: trunk@63136 -
- 4d12a06af5
, Branch RevNo: 62044
CodeTools: Resolve generic params when searching in ancestors.
2022-10-20 13:55:54 +02:00
Juha
8affac89f3
Jedi Code Format: Support noinline keyword and Delphi inline vars and consts. Issue #39960 , patch by Domingo Galmés.
2022-10-16 22:26:44 +03:00
Juha
5d276c4f43
Jedi Code Format: Prevent an assertion failure on certain assembler code. Issue #39942 , patch by Domingo Galmés.
2022-10-16 13:06:38 +03:00
Juha
8d9b8042eb
Jedi Code Format: Support Intel x64 Assembler Registers. Issue #39953 , patch by Александр Дмитриев.
2022-10-16 12:57:56 +03:00
Juha
5a0ff3af30
Jedi Code Format: Support anonymous methods. Issue #39928 , patch by Domingo Galmés.
2022-10-15 12:20:44 +03:00
Juha
1e8303a356
Jedi Code Format: Refactoring. Remove obsolete code and units. Issue #39929 , patch by Domingo Galmés.
2022-10-14 18:21:44 +03:00
Juha
88242f8152
Jedi Code Format: Reapply changes for removing LCL dependency. Generate Makefiles. Issue #39929 , patch by Domingo Galmés.
2022-10-13 20:39:13 +03:00
Martin
b5858164db
Debugger, GDBMI: Fix displayformat for numeric values. (double conversion). Issue #39932
2022-10-12 14:02:15 +02:00
Maxim Ganetsky
23c6022915
IDEIntf: updated Russian translation
2022-10-10 01:42:06 +03:00
Bart
26d083e55e
IDE: implement (crude) range checking for floating point property editor. Only show "Infinity not allowed" if user actually types +/-Inf.
2022-10-08 22:52:29 +02:00
Juha
c024e5bb5a
Jedi Code Format: Revert changes for removing LCL dependency. It broke "make bigide" because of LAZARUS_PLUGIN define.
2022-10-07 11:58:01 +03:00
Juha
fd32bba5eb
Jedi Code Format: Remove NoGui widgetset from project settings. LCL is no more needed.
2022-10-06 17:26:15 +03:00
Juha
02d6db5218
Jedi Code Format: Remove LCL dependency from the command line program. Issue #39929 , patch by Domingo Galmés.
2022-10-06 17:09:04 +03:00
Juha
556719130c
Jedi Code Format: Revert part of 27dfc5b4cd
. Reduces debug output. Issue #39947 , patch by Bruno K.
2022-10-05 13:29:03 +03:00
Juha
06f9cdf968
Jedi Code Format: Read jcfsettings.cfg into a cmd line JCF from the same folder as the IDE plugin. Issue #39929 , patch by Domingo Galmés.
2022-10-05 08:06:11 +03:00
Juha
c55c7e45b4
Jedi Code Format: Change the output directory of a cmd line JCF project. Issue #39929 , patch by Domingo Galmés.
2022-10-05 08:02:21 +03:00
Juha
545b37f413
Jedi Code Format: Fix parsing numbers. Issue #39926 .
2022-10-04 23:38:54 +03:00
Juha
27dfc5b4cd
Jedi Code Format: Prevent choking on some new and rare language syntax. Issue #39945 , patch by Bruno K.
2022-10-04 19:47:05 +03:00
Juha
fe5518b176
Jedi Code Format: Add support for a new digit separator. Issue #39926 , patch by Domingo Galmés.
2022-10-04 13:01:04 +03:00
Juha
4fda5f9771
Jedi Code Format: Add more files to the IdePlugin package. Cleanup in uses sections.
2022-10-04 10:35:12 +03:00
Juha
0e08315669
Jedi Code Format: Disable code with LCLNOGUI define for the cmd line project. Add Debug and Release build modes. Issue #39929 .
2022-10-04 00:13:57 +03:00
Juha
cf3937e42a
Jedi Code Format: Use "nogui" widgetset for the cmd line project. Issue #39929 .
2022-10-03 16:38:26 +03:00
Juha
2df1e6b9d4
Jedi Code Format: Lowercase the source file name of a cmd line JCF project.
2022-10-03 15:33:56 +03:00
Juha
eb033fc39b
Jedi Code Format: Fix memory leaks. Issue #39939 , patch by Domingo Galmés.
2022-10-03 13:02:37 +03:00
Juha
2011565650
Jedi Code Format: Improve formatting of selected code. Issue #39940 , patch by Domingo Galmés.
2022-10-03 12:12:28 +03:00
Maxim Ganetsky
bd845938b3
IDEIntf: regenerated translations and updated Russian translation
2022-10-03 02:17:48 +03:00
Maxim Ganetsky
be6b774886
IDEIntf: fixed typo in resource string name
2022-10-03 02:17:26 +03:00
Bart
8f00090a13
IDE: disallow setting floating point propertis to +/-Inf or NaN. Issue #39793 .
2022-10-02 15:12:20 +02:00
Juha
dd3cb67d40
Jedi Code Format: Fix formatting visibility modifiers in a record. Issue #39931 , patch by Domingo Galmés.
2022-09-30 12:28:15 +03:00
Ondrej Pokorny
a8f455967d
pas2js design-time: fix memory leaks
2022-09-29 01:43:53 +02:00
Ondrej Pokorny
da539c7b9c
IDE: load High-DPI images
2022-09-29 00:59:16 +02:00
Martin
bf6c6ba4d9
Debugger: set default for "enable dwarf" dialog
2022-09-27 12:16:13 +02:00
Martin
9e813a6a78
FpDebug: Watch-Function-Eval, support QWord parameters on 32 bit targets
2022-09-25 19:49:42 +02:00
Martin
78caaf4fc2
FpDebug: Dwarfviewer, do not parse after unknown OP.
2022-09-23 20:29:17 +02:00
Martin
3ebada48d3
FpDebug: Allow more params passed to function in watch-function-eval
2022-09-23 20:28:20 +02:00
Željan Rikalo
40558f7043
laz.VirtualTrees: TVirtualTreeColumn.Hint should be written to the lfm
2022-09-22 21:26:40 +02:00
dsiders
66164ae8da
Docs: LazControls/spinex. Removes mentions of compiler version defines in SameValue topics. Depends on 9526343e
.
2022-09-22 01:56:07 +01:00
Martin
9526343e18
FpDebug: test, fix compile
2022-09-21 14:27:42 +02:00
Bart
bcda2c2047
SpinEx: let drived classes always implement SameValue, since it's wrong to use Math.SameValue on integer types. Also resolves #39792 and #39793 .
2022-09-21 10:41:12 +02:00
wp_xyz
5efaca564c
LCL/TaskDialog: Add component editor for testing the dialog at design-time. Issue #39919 .
2022-09-19 17:22:38 +02:00
Martin
753799d887
FpDebug: add intrinsics "Pos(SubStr, SearchStr)" and "SubStr(Str, Start, Len, DoPtr)
2022-09-18 23:48:59 +02:00
Martin
4bdc8f2702
FpDebug: add intrinsic "RefCnt()" => RefCount for AnsiString/LongString (Dwarf-3) and dyn array.
2022-09-18 23:48:59 +02:00
Martin
4910e764bb
FpDebug: Improve PChar handling in pointer math.
2022-09-18 23:48:59 +02:00
Bart
05531f1071
TFloatSpinEditEx: revert changes made in #95cfa51d, since it refuses to compile on MacOS en Linux 64 bit.
2022-09-18 11:46:34 +02:00
dsiders
79132216d6
Docs: LazControls/spinex. Modifies topics to be more consistent with TCustomFloatSpinEdit and descendants.
2022-09-18 06:17:14 +01:00
Bart
95cfa51d1b
TFloatSpinEdit(Ex): fix crash in OI when setting MaxValue/MinValue/Increment. Issue #39792 .
2022-09-17 19:03:18 +02:00
Juha
4a30435502
Jedi Code Format: Suppress "deprecated" warnings.
2022-09-17 19:14:23 +03:00
Juha
e81675c3a7
Jedi Code Format: Fix formatting with external and export var modifiers. Issue #39665 , patch by Domingo Galmés.
2022-09-17 19:04:12 +03:00
Juha
8d06f23d76
Jedi Code Format: Do not add useless spaces. Issue #39670 , patch by Domingo Galmés.
2022-09-17 18:58:42 +03:00
Juha
b4d5ac5c89
Jedi Code Format: Parse an empty nested "type" section. Issue #39906 , patch by Domingo Galmés.
2022-09-17 17:54:36 +03:00
Martin
41c9abc8a5
FpDebug: fix typo
2022-09-16 19:55:14 +02:00
zeljan1
78b42debff
Revert "Merge branch 'main' of https://gitlab.com/freepascal.org/lazarus/lazarus into main"
...
This reverts commit 9c4ae10819
, reversing
changes made to 0e040a0d77
.
2022-09-16 18:00:17 +02:00
Martin
8e038f924e
FpDebug: fix typo
2022-09-14 18:40:17 +02:00
Martin
88e9c521d7
FpDebug: fix watch-properties log-eval / log-stack to event window.
2022-09-14 18:15:30 +02:00
Martin
1024191ee5
Debugger: Fix breakpoint with "HitCount" do not eval stack/watches until hit-count is reached (for FpDebug backend)
2022-09-14 17:03:45 +02:00
Martin
313a112a65
FpDebug: fix type
2022-09-14 16:38:04 +02:00
Martin
ffaa538517
Debugger: increase safety net for max stack frames
2022-09-14 16:38:04 +02:00
Martin
3952e9ce2d
Debugger: Run only current thread for converter function eval. Add option to run all threads.
2022-09-11 17:11:54 +02:00
Martin
069baa2497
Debugger: Run only current thread for watch function eval. Add option to run all threads.
2022-09-11 15:16:18 +02:00
Martin
45b69e8d9d
Debugger: Allow to suspend/resume individual threads / only with FpDebug, only while paused - for the next run/step.
2022-09-11 03:28:53 +02:00
Martin
cbf0b6b0d6
Debugger: make ThreadState an enum
2022-09-11 02:25:23 +02:00
Martin
ddd2194c61
FpDebug: Testcase, fix mem leak
2022-09-10 21:40:28 +02:00
Martin
712b3e161d
FpDebug: Fixes for watch-function-eval: allow function to ignore breakpoints set by the user.
2022-09-10 21:36:09 +02:00
Martin
26b56b74f9
FpDebug: Ensure update notification is sent after new stakc frames have been added.
2022-09-10 18:01:37 +02:00
Martin
db69b34e2a
FpDebug: Fixes for watch-function-eval: allow function to recursively enter itself.
2022-09-10 18:01:36 +02:00
Martin
0bdae9fa28
FpDebug: fix crash in stack after "watch eval" call. Don't clear stack data.
2022-09-09 22:56:08 +02:00
Martin
126dd815cd
FpDebug: fix range check error in stack
2022-09-09 22:54:06 +02:00
Martin
099f690aea
FpDebug: Fix parsing &Identifer in watches
2022-09-09 13:04:36 +02:00
Martin
659d6aec30
Debugger: changed default intrinsic prefic to ":" / require bracket if no prefix
2022-09-09 12:24:47 +02:00
Martin
6126d94aaf
FpDebug: add intrinsic "CC()" => ChildClass for dynamic casting to instance class
2022-09-08 22:53:52 +02:00
Martin
9885e6c62c
LazUtils: fix compilation of objects descended from TRefCountedObject (don't change function signature with IFDEF)
2022-09-08 22:52:08 +02:00
Martin
7e6a705caf
FpDebug: Fix array (element len), issue introduced in 116b22ed72
"Introduce "Intrinsics functions" for watches."
2022-09-07 20:08:42 +02:00
Martin
787c6de6c0
Debugger: Backend converter. Fixed order of matching. Match from top to bottom. // Add up/down buttons to config
2022-09-07 17:09:55 +02:00
Martin
b5099c1cf4
FpDebug: Test for "Intrinsics function" length() for watches.
2022-09-07 17:09:55 +02:00
Martin
7038201fcd
LazDebuggerFp: Fix sporadic "interrupts" (callstack updates) while stepping (before reaching step target)
2022-09-07 17:09:55 +02:00
Martin
116b22ed72
FpDebug: Introduce "Intrinsics functions" for watches. Add "length()" for string (dwarf-3) and array
2022-09-07 04:36:34 +02:00
Martin
f58a7bde79
LazDebuggerFp: add %register syntax for watches
2022-09-07 04:36:34 +02:00
Martin
b3cae05fee
FpDebug: fix restoring registers (e.g. after function eval)
2022-09-07 04:36:33 +02:00
Martin
deb959022e
LazDebuggerFp: Additional check to ensure full count is set correctly.
2022-09-07 04:36:33 +02:00
Martin
61e5fb272a
LazDebuggerFp: fix getting full Callstack.Count - Issue #39886
2022-09-06 21:28:25 +02:00
Martin
88ad421ae1
LazDebuggerFp: Add nil check in Memreader
2022-09-06 21:28:13 +02:00
Martin
ae209a52a4
FpDebug: fix callstack eval, after CFI ended.
2022-09-06 13:59:01 +02:00
Martin
7a4e58e4d3
LazDebuggerIntf: docs
2022-09-04 23:03:17 +02:00
Martin
528dc04f52
FpDebug: Fix compilation of dwarfviewer.
2022-09-04 10:52:57 +02:00
Martin
a0b19ffcf9
FpDebug: Fix Mac-ImageReader. Deal with Symbols of type N_PEXT. And fix, for entries where N_SECT is encountered before N_GSYM. Issue #39696
2022-09-04 10:52:57 +02:00
Martin
7347d41a12
Debugger: fix crash introduced in "LazDebuggerFp: improve error handling"
2022-08-31 15:33:48 +02:00
Martin
f15e2bded5
Debugger: fix compiling testcase
2022-08-31 14:01:34 +02:00
Martin
64380b2fd2
Debugger, LLDB: reworded misleading message: "Debugger stopped" => "Process stoppend"
2022-08-31 13:18:09 +02:00
Martin
552fd1dce8
LazDebuggerFp: improve error handling
2022-08-31 02:52:34 +02:00
mattias
9ffc366cd0
make: updated makefiles
2022-08-30 07:54:41 +02:00
Martin
7fb2cbaf6c
Debugger: docs / links for help
2022-08-28 21:03:39 +02:00
Martin
b41163de42
Debugger: "Value Converter Conf" in "Project Options"
2022-08-28 21:00:28 +02:00
Martin
af214f8719
Debugger: Renamed FpConverter to BackendConverter
2022-08-28 21:00:28 +02:00
Martin
eea8b2cd21
IDE, Debugger, Project: Allow setting up project specific debugger backends
2022-08-28 21:00:28 +02:00
Martin
836b9a1054
Debugger: Clean up / renames
2022-08-28 20:59:52 +02:00
Michaël Van Canneyt
de87e3dfab
* TFieldDefs.Find raises exception, index does not
2022-08-25 10:12:48 +02:00
Martin
d49b8782d7
FpDebugger: fix clear current command after SigSegV before pause (don't conflict with func-eval)
2022-08-23 22:44:59 +02:00
Martin
1c5a6ca5d7
FpDebugger: fix value-converters crash in array. Arrays elements must have a static type, and must not depend on the instance.
2022-08-23 16:08:21 +02:00
Martin
9147be77ec
Debugger: more moving value-converters to LazDebuggerIntf.
2022-08-23 16:08:20 +02:00
Martin
d98c10ac7d
Debugger: more moving value-converters to LazDebuggerIntf.
2022-08-23 16:08:20 +02:00
Martin
99b40ac097
Debugger: start moving value-converters to LazDebuggerIntf.
2022-08-23 16:08:15 +02:00
Maxim Ganetsky
c987cf35a0
Translations: Brazilian Portuguese translation update by Marcelo B Paula, issue #39863
2022-08-22 02:21:13 +03:00
juha
b75a7c1e81
IdeIntf: Restore MaxValue in enum/set property editors. FPC will prohibit publishing non-contiguous enums and MaxValue will work. Issue #39832 .
2022-08-17 22:06:53 +03:00
juha
272334aae0
IdeIntf: Use GetEnumNameCount() instead of MaxValue also in TSetPropertyEditor. Issue #39832 .
2022-08-16 01:07:43 +03:00
Olly
db81590f90
synhighlighterpas: support multiline double quoted strings
2022-08-14 12:06:24 +02:00
mattias
d90aee4c2d
simplewebservergui: use external instead of linklib
2022-08-12 20:26:28 +02:00
Martin
871038c1a0
Merge branch 'fix-missing-DW_AT_XX_pc' into 'main'
...
FpDebug: Handle case where DW_AT_high_pc = 0 for compiled unit
See merge request freepascal.org/lazarus/lazarus!102
2022-08-11 18:43:20 +00:00
juha
d623f68c1d
IdeIntf: Prevent bogus entries in TEnumPropertyEditor better. Issue #39832 .
2022-08-11 18:57:32 +03:00
juha
686b056fcf
IdeIntf: Prevent bogus entries with a non-contiguous enum in TEnumPropertyEditor. Issue #39832 .
2022-08-11 11:54:28 +03:00
juha
62e33c59a2
LazReport: Add options for new PreviewButtons. Issue #39845 , patch by michalgw.
2022-08-11 08:59:37 +03:00
ccrause
4c3d53137f
Only break out of search loop if current Result contains the sfHasLine flag.
2022-08-08 09:25:20 +02:00
Martin
20a05aea86
LazLogger: fix parsing parameters (handling "=") / Issue #39812
2022-08-07 23:20:22 +02:00
Martin
795b94703f
FpDebug: missing result initialization
2022-08-07 23:19:17 +02:00
dsiders
ab0220e48a
Docs: RttiControls/rttigrids. Updates TTICustomGrid, TTIGrid topics and See Also links.
...
* Includes a trailing space on word-wrapped lines.
2022-08-07 01:12:07 +01:00
dsiders
ba7e61ad45
Docs: RttiControls/rttictrls. Updates topic content and See Also links.
...
* Includes a trailing space on word-wrapped lines.
2022-08-07 01:11:40 +01:00
Martin
475d04f179
Debugger: Fix mem-leak using value-converter
2022-08-05 23:03:39 +02:00
Martin
f3bf79fa35
Debugger: fix calling abstract method "BelongsToInstance" on watchpoint. Introduced 4e4c402b62
2022-08-05 17:33:28 +02:00
Martin
5708b50487
amend * Debugger: Fixes To TWatchResultDat
2022-08-05 17:33:28 +02:00
Martin
dd22337fc3
FpDebug: fix accessing nil pointer
2022-08-05 17:33:28 +02:00
Martin
683d087e36
Debugger: Fixes To TWatchResultData / introduced 2d0c2ea8ba
2022-08-05 17:33:28 +02:00
Martin
f0d0b24add
Debugger: Enable converter to match unitname for classes. "MyUnit.TFoo"
2022-08-05 02:45:01 +02:00
Martin
1c87d53199
Debugger: implement reading class.unitname from RTTI
2022-08-05 02:45:01 +02:00
Martin
8749ca4f20
FpDebug: fix address for interfaces
2022-08-05 02:44:29 +02:00
Martin
6f99f0fe16
Debugger: Configuration for value converter
2022-08-05 02:44:28 +02:00
Martin
2d0c2ea8ba
Debugger: new result type for ConvertValue
2022-08-04 22:50:40 +02:00
Martin
2f4e270270
FpDebug: Windows, rewrite of "step after hitting breakpoint". Fix issues with incorrect steps (Instr-Ptr not reset) in multi thread scenario, when the int3 had been remove in the meantime.
2022-08-02 15:20:50 +02:00
Martin
48043da966
Debugger: Converter, match "*" and inheritance via "is:"
2022-08-01 18:41:17 +02:00
dsiders
200d15366f
Docs: LazControls. Fixes tagging for True, False values.
...
* Removes whitespace used to indent content.
* Wraps text in content at 80 characters and inserts an EOL.
2022-07-30 16:10:19 +01:00
Jesus Reyes A
640f35cba5
LazReport: Add scrollbars to memo in variables editor, by Michal Gawrycki. Fix #30593
2022-07-29 21:37:44 -05:00
Martin
de03939782
LazDebuggerFp: Converter JsonForDebug
2022-07-27 01:17:36 +02:00
Martin
099c102565
FpDebug, LazDebuggerFp: more string support for function-eval / support string literals as param
2022-07-27 01:17:36 +02:00
Martin
f3476e5274
FpDebug: Callcontext, rename TFpValueCallParamStringByRef to TFpSymbolCallParamOrdinalOrPointer
2022-07-27 01:17:36 +02:00
Martin
8a0a21a7bc
LazDebuggFp,FpDebug: fix racing conditions
...
- while TDbgController.SendEvents runs in the main thread, the work-thread may run TDbgControllerCallRoutineCmd
- TDbgControllerCallRoutineCmd may run, while the main thread attempts to set the next command
- CallStack code was from before the WorkQueue was introduced. It needs a different approach. (without attempting to start a new worker)
2022-07-27 01:17:35 +02:00
mattias
96cf3062ba
codetools: lazarussrc template: added unit paths
2022-07-26 16:37:56 +02:00
Maxim Ganetsky
9654b421dd
TAChart: regenerated translations and updated Russian translation
2022-07-25 01:45:56 +03:00
wp_xyz
9f08e2006b
TAChart: Add new TDataPointMarksClickTool
2022-07-23 19:32:56 +02:00
wp_xyz
e937ed3ecd
TAChart: Fix series marks positioning when MarkPositions is lmpInside.
2022-07-20 11:35:00 +02:00
dsiders
7ea1d8851c
Docs: LCL, LazControls. Clarifies wording in Invalidate-related topics.
2022-07-17 03:03:47 +01:00
Maxim Ganetsky
54c3d26553
MemDS: added a standard command for editing dataset fields to component's context menu (patch from Aleksey, issue #39823 )
2022-07-16 00:49:32 +03:00
dsiders
e47c69672b
Docs: LazControls/treefilteredit. Adds, updates topic content.
...
* Updates topic content and See Also links.
* Adds missing topics.
* This is an interim commit; there is more work to be done here.
2022-07-14 19:25:27 +01:00
dsiders
4492fdb697
Docs: LazControls/listfilteredit. Updates topic content and See Also links.
2022-07-14 02:59:32 +01:00
martin
2fce58a3de
FpDebug: support DW_TAG_variant_part
2022-07-13 21:19:35 +02:00
Martin
4bc63f4650
LazDebuggerFp: Variant-converter, check record size.
2022-07-13 10:27:48 +02:00
Martin
d0d616e131
FpDebug: keep CurrentContext during function-eval calls. (access by other threads)
2022-07-13 10:27:47 +02:00
Martin
77857b84ce
FpDebug: improve dyn array detection
2022-07-13 10:27:47 +02:00
wp_xyz
358a6955a0
TAChart: Fix crash in design mode when Undo is executed after deleting a series.
2022-07-12 22:46:59 +02:00
dsiders
bddac75379
Docs: LazControls/listviewfilteredit. Updates topic content and See Also links.
2022-07-11 01:07:07 +01:00
Joost van der Sluis
a680001c2e
FpDebug: Workaround in fpmake.pp for usage with fpc 3.2.2
2022-07-10 12:54:03 +02:00
Joost van der Sluis
7e67d9b871
FpDebug: fpmake.pp updated
2022-07-10 12:46:13 +02:00
Pascal Riekenberg
54aadb67fd
Codetools: fixed parsing of directives with in operator + test
2022-07-06 23:32:59 +02:00
Pascal Riekenberg
d5951070d0
Codetools: Tests for: Keep empty () on code completion. Issue #39712 .
2022-07-06 22:33:47 +02:00
Pascal Riekenberg
781955e856
Codetools: Keep empty () on code completion. Issue #39712 , patch by Domingo Galmés.
2022-07-06 22:32:10 +02:00
Joost van der Sluis
a7d0a6e0b2
FpDebug: Keep register-names in stacktrace
2022-07-03 18:44:12 +02:00
Martin
fd64dddf42
Debugger: Fixes for "Add option to limit converter invocations."
2022-07-03 12:11:41 +02:00
Martin
271024d8d9
Debugger: Add option to limit converter invocations.
2022-07-03 01:54:32 +02:00
Martin
6243770298
LazDebuggerFp: reduced default limit for max array members returned. Arrays can now be paged. (and RecurseCnt can override it) / removed hardcode 1000 limit.
2022-07-03 01:54:28 +02:00
Martin
248732defe
debugln
2022-07-02 01:57:49 +02:00
Joost van der Sluis
dee6e4a482
FpDebug: Duplicate code removed
2022-07-02 00:48:42 +02:00
Joost van der Sluis
4ed7f56bb4
FpDebug: Handle CIEs and FDEs without instructions properly
2022-07-02 00:31:15 +02:00
Martin
a571e61d9c
LazDebuggerFp: Add cache for common function addresses (used in watch-eval function calling), e.g. FPC_ANSISTR_DECR_REF
2022-07-01 01:06:09 +02:00
Martin
3c322a009f
FpDebug: Win, improved logging for errors
2022-07-01 01:06:08 +02:00
Martin
9e67808d84
LazDebuggerFp: improve errors for function calling
2022-07-01 01:06:08 +02:00
Martin
dcf2a00767
FpDebug: use Wow64SuspendThread for cross debugging.
2022-06-30 13:00:45 +02:00
Martin
4c6633754c
FpDebug: fix empty array (nil) access from changes in 62145cd833
, "Use Dwarf Call Frame Information (CFI) for stack-tracing when available.
2022-06-30 12:05:22 +02:00
Martin
ae2ca525ca
FpDebug: Win, Clear Exception after function-eval-call failed (with SigSegV)
2022-06-30 02:46:01 +02:00
Martin
0429c822c1
LazDebuggerFp: debugln for function calling (watch-eval)
2022-06-30 02:30:15 +02:00
Martin
9fb4edfbe5
FpDebug: PascalParser, fixed unary minus after comma.
2022-06-30 02:30:14 +02:00
Martin
1d0daee376
FpDebug: fix setting negative value to Register for 32bit target.
2022-06-30 02:20:53 +02:00
Pascal Riekenberg
00fca7c4fa
codetools: prevent av/error when typing '.' in array definition or float value, issue #34448
2022-06-29 21:38:45 +02:00
Martin
f4f7cca11d
FpDebug: fix reading range checks on Linux
2022-06-29 19:42:18 +02:00
Martin
bdb719b82a
FpDebug: fix reading large dwarf info on 32bit Linux
2022-06-29 18:52:32 +02:00
Martin
2d7b1138f4
FpDebug: allow function calls on Linux-32bit
2022-06-29 17:42:08 +02:00
Martin
649e4600ef
FpDebug: fix range check error from changes in 62145cd833
, "Use Dwarf Call Frame Information (CFI) for stack-tracing when available.
2022-06-29 16:26:22 +02:00
Joost van der Sluis
07cba653fa
FpDebug: Avoid crash on invalid CFI-information
2022-06-29 10:02:56 +02:00
Martin
b54ac53cca
Debugger: improve SysVarToLStr - Improve error handling
2022-06-28 23:44:21 +02:00
Martin
720538be97
Debugger: improve SysVarToLStr - fix uninitialized result
2022-06-28 23:44:20 +02:00
Joost van der Sluis
62145cd833
FpDebug: Use Dwarf Call Frame Information (CFI) for stack-tracing when available. Refactored some stuff to be able to place it in a separate unit.
2022-06-28 23:09:34 +02:00
Pascal Riekenberg
2bc0a9b371
Debugger: added support for TThread.NameThreadForDebugging
2022-06-28 07:35:40 +02:00