Commit Graph

22394 Commits

Author SHA1 Message Date
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