Commit Graph

23894 Commits

Author SHA1 Message Date
Martin
50102fef2b FpDebug: PascalParser, change wrongly named "Context" to "Scope" 2024-05-25 12:51:25 +02:00
wp_xyz
44b12c3199 fpweb: Improved versions of some of the fpweb icons (by Roland Hahn). 2024-05-24 18:59:25 +02:00
wp_xyz
c24c46c1ab fpweb: Update fpweb_images resource file. 2024-05-24 17:12:06 +02:00
wp_xyz
2fbdd4de2f fpweb: new icons by Roland Hahn, issue #40971 2024-05-24 14:18:55 +02:00
mattias
c7e5d8d441 codetools: fixed clearing include file link 2024-05-24 11:40:23 +02:00
Martin
ccdcbb7bcf FpDebug: PascalParser, treat skInterface like skClass 2024-05-23 23:52:22 +02:00
Jesus Reyes A
1b3e5ae738 LazReport: Fix illegal set conversion 2024-05-23 13:54:51 -06:00
Martin
ed9974287b FpDebug: update DwarfViewer 2024-05-23 20:04:36 +02:00
Martin
a0f66fb2b9 FpDebug: DWARF-4, DW_AT_high_pc can be constant/offset 2024-05-23 20:04:36 +02:00
Martin
7f9391a737 FpDebug: read line-info for Dwarf-4 / fix special opcode must set flags for PrologueEnd, EpilogueBegin, ... 2024-05-23 20:04:36 +02:00
Martin
0d47565d98 FpDebug: add DW_FORM_sec_offest, DW_FORM_exrloc, DW_FORM_flag_present, DW_FORM_ref_sig8 2024-05-23 20:04:35 +02:00
Martin
dc46e8ce2e FpDebug: Windows, implement alternative "normal" file reading (via stream). On 32bit mapping an entire file into memory can fail, if not enough continuous memory is available. 2024-05-23 20:04:35 +02:00
wp_xyz
3d6170cf9e TAChart: More speedup of TADrawerSVG.ColorToHex. Issue #40967. Patch by Alexey Torgashin. 2024-05-23 15:27:20 +02:00
Martin
b2ed046722 FpDebug: defaults for DW_AT_lower_bound 2024-05-22 23:26:09 +02:00
Martin
2383f18a82 FpDebug: Move getting FrameBase to Context. 2024-05-22 22:53:05 +02:00
Martin
515c01c063 FpDebug: Windows, implement alternative "normal" file reading (via stream). On 32bit mapping an entire file into memory can fail, if not enough continuous memory is available. 2024-05-22 17:06:08 +02:00
wp_xyz
30e0768475 TAChart: Speedup TADrawerSVG.ColorToHex. Issue #40967. Patch proposed by Alexey Torgashin. 2024-05-22 16:38:36 +02:00
Martin
b201c1c4d5 FpDebug: fixed spelling 2024-05-22 15:52:53 +02:00
Martin
7bccd11e8d LazLogger: fixed overflow in DbgHex 2024-05-22 15:44:05 +02:00
Martin
4e543b65ce FpDebug: Don't create empty CFA entries 2024-05-22 12:12:13 +02:00
Martin
0e3a451627 FpDebug: update DwarfViewer 2024-05-22 12:12:12 +02:00
Martin
8e75a2d637 FpDebug: check for error, before using result from location-parser 2024-05-22 12:12:12 +02:00
Martin
a5c48c104e FpDebug: very basic/partial implementation for DW_OP_call_frame_cfa (register only) 2024-05-22 12:12:12 +02:00
Martin
747b9e5552 FpDebug: consolidate some string related code 2024-05-22 12:12:11 +02:00
Martin
baa905dd96 FpDebug: fixes for DW_TAG_string_type 2024-05-22 12:12:11 +02:00
Martin
45094bcabe FpDebug: add DW_OP_stack_value 2024-05-22 12:12:11 +02:00
Martin
bab6ed4c4b Changed some modal result checks to honour cancellation as mrNo. See merge request !281 issue #40920 2024-05-20 02:35:01 +02:00
Martin
b593ba42f3 Debugger: test-base, handle calls to event logger 2024-05-19 13:44:09 +02:00
Martin
1b6c857812 FpDebug: fix memleak 2024-05-19 13:44:08 +02:00
Martin
282e6a369d FpDebug: test, fix test code for WatchValuePrg 2024-05-19 13:44:08 +02:00
Martin
c33f507472 FpDebug: fix reading dwarf for arrays with several indexes (written as multiple bounds in the same TAG_array). E.g. as done by llvm. 2024-05-19 13:44:08 +02:00
Martin
c8962f2243 FpDebug: test, refactor test code, so it can be compiled using the llvm backend 2024-05-19 13:44:07 +02:00
Martin
dc2c0ee78f FpDebug: fix searching line<>address map. / add test 2024-05-18 23:44:44 +02:00
Martin
da18a60294 Debugger: fix tests 2024-05-18 18:01:21 +02:00
Martin
5114026173 Debugger: fix compiling tests 2024-05-18 13:17:57 +02:00
Željan Rikalo
bfc25b89bb Qt5,Qt6: Fixed doubled menu on designer surface. Patch by Don Siders. issue #40947 2024-05-18 11:54:32 +02:00
DomingoGP
140875c982 Jedi code format: fix parser error when there are more than one attribute. 2024-05-16 14:12:58 +02:00
ccrause
8779a95c72 Output descriptions of target enumerations in place of the ordinal values. 2024-05-13 18:36:48 +00:00
ccrause
81d8d38c5c RSP - Handle multiple output messages from OpenOCD. 2024-05-13 16:15:12 +00:00
wp_xyz
03c96ee8aa Virtualtreview: Fix loading resources from DLL (https://forum.lazarus.freepascal.org/index.php?topic=67250.msg517169) 2024-05-12 19:06:57 +02:00
wp_xyz
9140371e91 fpVectorial: Some cleanup in svg writer. 2024-05-12 12:07:48 +02:00
wp_xyz
6d966f6a88 fpVectorial: Declare TvSVGVectorialWriter.WriteEntity as protected and virtual. (https://www.lazarusforum.de/viewtopic.php?p=141423#p141423). 2024-05-12 11:58:29 +02:00
wp_xyz
06f18454f8 FPVectorial: Simplify reader/writer registration avoiding exception when a registered format is registered again. 2024-05-11 17:52:33 +02:00
wp_xyz
cb8f4216d5 fpVectorial: Allow usage of custom file reader and writer classes. 2024-05-11 16:22:00 +02:00
Martin
ccd36eba7f IdeDebugger: Watches/Evaluate-Dlg, improve multi-line formatting of values. Configurable depth for line-wrapping. 2024-05-11 12:58:08 +02:00
Martin
f01a0c056d IdeDebugger: Display-format, no leading zeros for addresses. 2024-05-11 12:58:07 +02:00
Martin
06f123d8dd LazDebuggerFp: fixed range check / added safety check for string len (exception msg/name). 2024-05-09 21:00:38 +02:00
wp_xyz
b2c74fa967 TAChart: Fix unit test failure for IncQuarter. 2024-05-09 17:47:58 +02:00
Martin
5acbe20f96 FpDebug: Return errors when the debugger can't start. 2024-05-09 14:29:44 +02:00
Martin
190b5e77a7 FpDebug: Return errors when the debugger can't start. 2024-05-09 14:24:28 +02:00
wp_xyz
4186cfe014 LazUtils: Deprecate IsNumber(), rename to IsNumeric() for better clarity. Check for empty input string, issue #40935, patch by Ph B. 2024-05-01 12:10:49 +02:00
wp_xyz
7ec978ec60 TAChart: Fixes incorrect axis title alignment in TChartExtentLink when one title is empty or when Axis.Title.Attachment = maCenter. 2024-04-30 22:48:40 +02:00
wp_xyz
6682b2230f TAChart: Provide access to the boundary polygon of the axis title (property TChartAxis.TitlePolygon) 2024-04-29 12:30:35 +02:00
wp_xyz
c285c06219 TAChart: Fix misalignment of axis position of charts linked by TChartExtentLink when an axis has no title. Forum https://forum.lazarus.freepascal.org/index.php/topic,67087.msg515909.html#msg515909 2024-04-29 11:55:45 +02:00
Maxim Ganetsky
cd3be6f4f2 PackageTabs: regenerated translations and updated Russian translation 2024-04-28 21:58:41 +03:00
Martin
3c41d81f5d SynEdit: fix endless XML HL, do not return empty tokens. 2024-04-28 13:35:35 +02:00
Martin
6b9d5774e7 SynEdit: fix endless loop in html-exporter. Patch by michalgw. Issue #40927 2024-04-28 13:35:08 +02:00
Juha
e969070031 IDE: Remove the File > 'Close All' feature. It was neither intuitive nor very useful. 2024-04-28 10:17:39 +03:00
Martin
762f48aeb5 FpDebug: fix out of range in line-address lookup 2024-04-28 00:10:50 +02:00
Martin
85652d22ca IdeDebugger: ValueFormatter "Ordinal to name" 2024-04-28 00:10:03 +02:00
Martin
ee125ebe32 IdeDebugger: Value-formatters, match expression/name 2024-04-27 18:56:30 +02:00
Maxim Ganetsky
d68ed7f5d7 IDEIntf: regenerated translations and updated Russian translation 2024-04-26 16:57:25 +03:00
Juha
c4d26f3da9 TurboPower_IPro: Fix memory leak in TIpHtmlInternalPanel.SelectPrinterDlg. Issue #40924, patch by michalgw. 2024-04-26 00:59:26 +03:00
Martin
308396194c SynGutter: reduce invalidating/painting 2024-04-25 22:45:50 +02:00
Martin
49f44c8ee1 Fix checking modal result, handle mrCancel. Issue: #40920 2024-04-25 21:47:15 +02:00
Martin
0002e72121 SynEdit: Fix SynEditMarkupHighAll MaybeDropOldMatches 2024-04-25 17:32:53 +02:00
Martin
c250e622d1 SynEdit: SynEditMarkupHighAll, tests 2024-04-25 17:22:57 +02:00
Martin
e80bce48a4 SynEdit: SynEditMarkupHighAll, remove unused code 2024-04-25 17:22:56 +02:00
Martin
78cf30a16a SynEdit: Fix for SynEditMarkupHighAll, keep AFirstKeptValidIdx 2024-04-25 17:22:56 +02:00
Martin
ad3c41af62 SynEdit: Fix SynEditMarkupHighAll MaybeDropOldMatches and DeleteInvalidMatches 2024-04-25 17:22:56 +02:00
Martin
3f6c2f860d SynEdit: fix FindStartPointUsedExistingMatch 2024-04-25 17:22:56 +02:00
Martin
21f3e40a14 SynEdit: rename some variables 2024-04-25 17:22:55 +02:00
wp_xyz
30046f3bba IDE/ImagelistEditor: Add button to paste image from clipboard. 2024-04-25 16:37:53 +02:00
Maxim Ganetsky
f130c3af96 IDE, DockedFormEditor: fixed deprecation warnings, patch by Don Siders, issue #40921 2024-04-25 02:12:06 +03:00
Martin
fcaca1fe6a IdeDebugger: ValueFormatter "Custom Displayformat" 2024-04-22 21:23:10 +02:00
Martin
af5212d267 Codetools: Add a few more keywords to Ident-Completion. 2024-04-22 14:04:02 +02:00
Martin
1b27926055 IDE: Guttermarks, improve layout 2024-04-22 02:23:22 +02:00
Martin
fca464e951 SynEdit: fix MarksGutter deduplication 2024-04-21 22:48:11 +02:00
Martin
73cb3d87f4 LazDebuggerFp: avoid calling QuickPause twice. 2024-04-21 19:36:49 +02:00
Martin
6b5a7e75ea FpDebug: workaround, when hardcoded int3 is allowed as user breakpoint, don't stop on internal breakrequest. Issue #40910 2024-04-21 19:36:08 +02:00
Martin
7d11cc3fe8 LazDebuggerFp, FpDebug: Handle multipl-breakpoint at the same address. 2024-04-21 16:59:09 +02:00
Martin
0b2c6bd8fa FpDebug: Allow breakpoints on lines without code (search up to N lines below). 2024-04-21 16:59:08 +02:00
Martin
ac0faad39a LazDebuggerFp: fix "variant" converter for dwarf-2 2024-04-21 11:30:04 +02:00
Martin
00628a8d26 SynEdit: "Marks-gutter, use all columns before ..." / limit repeated icons Issue #40914 2024-04-20 21:59:10 +02:00
Martin
9fb7aaf3e8 SynEdit: Fix 2 columns with debug-lines "Marks-gutter, use all columns before ..." Issue #40914 2024-04-20 19:58:41 +02:00
ccrause
b73bed0fed FpDebug: Handle partial overlap between breakpoint data and AData buffer. By CCrause. MR: !279 2024-04-20 17:04:27 +02:00
Martin
baef7180da SynEdit: Marks-gutter, overlap/resize marks if not enough space. Issue #40914 2024-04-20 16:38:37 +02:00
Martin
8bcc164019 SynEdit: Marks-gutter, use all columns before icons get out of visible range. Issue #40914 2024-04-20 16:38:37 +02:00
Juha
f8a04256ff IdePackager: Remove IDEMsgIntf dependency from PackageSystem. 2024-04-20 17:07:51 +03:00
ccrause
fc4f5ae329 Xtensa - Store all registers read for current stack frame. 2024-04-20 10:20:41 +02:00
Juha
fde93a7b25 LazBuild: Improve colored output. Issue #40878, patch by n7800. 2024-04-20 08:21:31 +03:00
Martin
3f2ccce591 IdeDebugger: Displayformat defaults for enum-identifier 2024-04-19 17:30:08 +02:00
Martin
e1a58d379a IdeDebugger: add SupportedDataKinds to Valueformatter for quicker filter 2024-04-18 15:59:44 +02:00
Martin
a31c9b11d7 IdeDebugger: remove DisplayFormat-filter from Valueformatter. (value formatter can now be disabled in watch properties) 2024-04-18 15:42:54 +02:00
Martin
442dfce7a8 IdeDebugger: add ValueFormatter to watch properties 2024-04-18 14:32:31 +02:00
Juha
fdc1806f53 IdePackager: Remove IDEOptEditorIntf dependency from PackageSystem. 2024-04-18 13:29:35 +03:00
wp_xyz
02d8ea0bde TAChart: Add filter to axis click hit tests. 2024-04-18 10:16:35 +02:00
Bart
1f7accb9e2 Fix missing Raise before Exception.Create. Issue ##40860. Patch by n7800. 2024-04-17 13:29:00 +02:00
DomingoGP
a2cee5287b Jedi code format: avoid warning include file not found for {$I+} {$I-} 2024-04-16 19:41:06 +02:00
Martin
bf823abbb9 SynEdit: Sql highlighter add "union" for mysql. Issue #40908 2024-04-16 16:58:23 +02:00
Martin
07c0f26341 SynEdit: Sql highlighter add group_concat for mysql. Issue #40887 2024-04-16 14:32:48 +02:00
Martin
be4d6c3bcc IdeDebugger: refactor (Global)ValueFormatterSelectorList / (Global)ValueConverterSelectorList / DisplayFormat changed notify 2024-04-16 13:38:24 +02:00
Juha
3ad25b1afc Move 2 functions from IdeDialogs (IdeIntf) to LazMsgWorker (BuildIntf). Leave wrapper functions. 2024-04-16 12:13:33 +03:00
Martin
f3d1f63432 SynEdit: fix wrong right-gutter pos, if scrollbars were changed during handle creation / reduce some double calculation during resize 2024-04-15 16:39:09 +02:00
Martin
3d50451e87 SynEdit: remove check for unnecessary calls to "DoOnResize". The check was wrong, e.g. if the Handle/Window was recreated, old/outdate values where used. Most likely the cause for issue #40241 2024-04-15 16:39:09 +02:00
Juha
695e84d46d Codetools: Fix tab order and set ActiveControl in DeclareVarDialog. From n7800. 2024-04-14 23:56:54 +03:00
Martin
e50183f6d1 Codetools: FindDeclaration handle nested specialize (specialize as param to outer specialize) 2024-04-14 16:59:50 +02:00
mattias
bdb9668aa8 leakview: support heaptraces from other platforms 2024-04-14 13:07:53 +02:00
ccrause
63881011b3 Use byte offset to locate data to be replaced in MaskBreakpointsInReadData. 2024-04-13 22:58:49 +00:00
Martin
c4644e5d63 SynEdit: mitigate endless loop with regex replace and utf8. (regex does not handle utf-8). Issue #40900 2024-04-13 22:08:44 +02:00
ccrause
d56f77c2be Use cross platform sockets.CloseSocket call to close a socket. 2024-04-13 14:45:44 +02:00
ccrause
95205d9bc2 Remove unused variable 2024-04-13 14:45:44 +02:00
ccrause
28c86c583b [fpdebug] Track initialization of the remote connection. Fix some issues with qemu and Bloom debug servers. 2024-04-13 14:45:44 +02:00
mattias
1953dcda72 leakview: less hints 2024-04-13 11:04:00 +02:00
mattias
66d72908dc lazutils: comment 2024-04-13 11:03:43 +02:00
mattias
9ede831c2a codetools: parse section on platform wasi 2024-04-13 09:39:52 +02:00
Martin
d40c952fa7 Ide: Move more units into ide-packages, project / packager 2024-04-11 23:46:56 +02:00
Martin
db75236351 FpDebug: force asm window, when explicitly stopping in no-source-code area (breakpoint, or "step-out") 2024-04-11 17:11:00 +02:00
Martin
655727ed2b FpDebug: keep "\\?\" filenames. 2024-04-11 13:27:34 +02:00
Martin
1aef153d5f FpDebug: Stepping with F8/F7 should asm-step if no line info is available. Issue #40891 2024-04-11 13:07:03 +02:00
Juha
be06ee3c92 LazBuild: Better colored output. Move unit LazTTY to LazUtils. Issue #40878, patch by Anton Kavalenka. 2024-04-11 10:34:46 +03:00
Martin
088167ac57 SynEdit: Sql highlighter, add new Sqlite identifiers. Issue #40887 2024-04-10 12:17:13 +02:00
Juha
ca71aeb4e4 Move CreateFirstIdentifier, CreateNextIdentifier and MergeSort from LCLProc to LazUtilities. 2024-04-08 16:32:07 +03:00
wp_xyz
c82ade7806 AggPas: Fix file not found errors in some sample projects. 2024-04-08 01:16:42 +02:00
Martin
a8f03a8829 SynEdit: fixed syncro edit cell order (added by IDE for templates). Issue #40866 2024-04-06 20:02:39 +02:00
Maxim Ganetsky
c280b11889 Pas2JS: regenerated translations and updated Russian translation 2024-04-06 20:52:45 +03:00
Maxim Ganetsky
a976387063 Pas2JS: improved and cleaned up i18n 2024-04-06 20:52:45 +03:00
Maxim Ganetsky
852e19274e SimpleWebServerGui: improved Russian translation 2024-04-06 20:52:44 +03:00
Martin
b38dcaebfc SynEdit: Fix crash (write incorrect memory via pointer in DoGetPhysicalCharWidths / not caught by range check) and 2ndary range-check-error, when linetext has #$00. Issue #40873 2024-04-06 17:38:18 +02:00
Martin
a8651246a0 Debugger: Improve new Displayformats. Redo layout of watch properties 2024-04-06 17:38:17 +02:00
Juha
959d8c6ad4 Turn some LazLogger into LazLoggerBase. 2024-04-06 16:45:28 +03:00
Juha
68e341be20 Remove IdeIntf dependency from CompilerOptions. 2024-04-06 14:49:39 +03:00
mattias
eb480b51d8 pas2js: resourcestring 2024-04-05 21:12:03 +02:00
mattias
a64088aefb pas2js: show error when downloading 2024-04-05 21:04:08 +02:00
mattias
d7e2935f3f pas2js: using openssl 2024-04-05 20:51:27 +02:00
mattias
4564e60ba5 pas2js: showing install menu item 2024-04-05 20:41:31 +02:00
mattias
944fda4e6d pas2js: clean up 2024-04-05 20:25:32 +02:00
mattias
9650ea9371 pas2js: download release in thread and progress dialog 2024-04-05 20:24:31 +02:00
mattias
cbb928ad70 pas2js: download release 2024-04-05 18:40:22 +02:00
mattias
53321a2b49 pas2js: browse buttons 2024-04-05 18:40:22 +02:00
mattias
8b0b1fba22 pas2js: started installer dialog 2024-04-05 18:40:22 +02:00
mattias
fd9746e2f9 pas2js: started install 2024-04-05 18:40:22 +02:00
Juha
f468a36dd0 IDE: In Project Options show build modes more distinctively. Issue #40816, patch by n7800. 2024-04-05 17:42:10 +03:00
DomingoGP
8d91b18a79 Jedi code format: better fix for issue #40871 error handling set definition with ranges. 2024-03-31 18:39:50 +02:00
Juha
7f000a6970 LazControls: Filter data by TreeFilterEdit also when the TreeView is switched. By n7800. 2024-03-29 16:50:25 +02:00
DomingoGP
a326522d93 Jedi code format: fix issue #40871 error handling a set with ranges, based on a patch from bytebites 2024-03-28 21:20:04 +01:00
DomingoGP
cb6991ccd6 Jedi code format: more fine grained control of warning messages. 2024-03-28 11:15:23 +01:00
Martin
dd49f320f4 LazControls: Fix DividerBevel for vertical layout / Ensure correct values for very small/thin bevels 2024-03-27 20:02:04 +01:00
rich2014
a528a5c515 FpDebug: fix compliation error when FPC<3.3.1 2024-03-24 23:57:04 +08:00
Bart
db6ed214b9 Fix several occurrences of raise exception('some string'), in effect casting a string into an exception, instead of raise exception.create(). Issue #40860. Patch by n7800 (slightly modified). 2024-03-23 23:16:38 +01:00