Commit Graph

24725 Commits

Author SHA1 Message Date
Maxim Ganetsky
e033d4be7f OpkMan: made translations not depend on exact internet link names 2025-02-14 17:02:02 +03:00
mattias
fb03756b41 replaced url http://wiki.freepascal.org with https 2025-02-13 08:49:48 +01:00
dsiders
f91b117ccd Docs: LazControls/listviewfilteredit. Adds missing description for the TListViewFilterEdit.MatchesFilter.AData parameter. 2025-02-12 13:07:34 -05:00
dsiders
c060b1d1dc Docs: DateTimeCtrls/datetimepicker. Adds missing short description in the TCustomDateTimePicker.CalendarForm topic. 2025-02-12 12:32:36 -05:00
mattias
73db35fc82 ide: find/rename identifier: fixed error hint on keywords 2025-02-12 16:46:09 +01:00
mattias
0c7a9dfcb9 codetools: test GatherIdentifiers for dotted uses and program 2025-02-12 12:41:24 +01:00
mattias
9deafd1e43 codetools: find declaration of middle identifiers of dotted program name now jumps to the middle 2025-02-12 11:22:28 +01:00
mattias
f9ebfa5eac opengl: less hints 2025-02-11 20:44:42 +01:00
mattias
fd115f2c71 codetools: fixed FindSourceNameReferences to check also source name 2025-02-11 16:50:12 +01:00
mattias
8726dd48e7 ide: find/rename identifier: allow conflict and check if FNode is valid 2025-02-11 16:17:22 +01:00
mattias
79707cbc54 codetools: find declaration of middle namespace 2025-02-11 14:15:14 +01:00
Hendi
9dbc1dbe1e ProjectGroups: Fix lazbuild path macro 2025-02-10 15:59:07 +00:00
mattias
666f72b7f0 codetools: clean up 2025-02-10 16:07:30 +01:00
mattias
87d27af233 ide: save file as: check for pascal keyword in unit name and suggest retry or ampersand 2025-02-10 16:04:05 +01:00
Maxim Ganetsky
15ab3afbc6 LazReport, AddFunction addon: don't randomly change compiler directives in frFuncNum.pas, issue #41418.
Align directive affects records, which are not used in this unit.
Also there is no apparent need to explicitly disable range checking,
coprocessor emulation and complete boolean evaluation.
2025-02-10 17:46:33 +03:00
mattias
995c81f4d0 codetools: added IdentifierHasKeywords 2025-02-10 15:31:48 +01:00
mattias
b042ec4560 codetools: RenameSourceNameReferences: apply ascending 2025-02-10 14:43:48 +01:00
Martin
6552d52af2 SynEdit: remove incorrect assert from 211a0a8b90, need to return empty token if skipping off-screen exceeds next markup - only then new next markup can be calculated. 2025-02-10 10:30:17 +01:00
Martin
b1ba753964 SynEdit: remove incorrect assert from 211a0a8b90, need to return empty token if skipping off-screen exceeds next markup - only then new next markup can be calculated. 2025-02-09 23:11:11 +01:00
Martin
3d01335568 SynEdit: Fix detecting combining after white-space (tab). Amend fix from commit ed45ec5224 See Issue #41228 2025-02-09 23:11:11 +01:00
Martin
696cf7c7b5 SynEdit: fixed "DX" (ETO) values for visualized tabs. An extra value was inserted, shifting subsequent values by one (noticeable when "full-width" chars were on the same line) 2025-02-09 23:11:11 +01:00
Martin
c29347cfc7 SynEdit: Show fold indicator on last wrapped line. 2025-02-09 16:20:17 +01:00
Martin
269f304c2c SynEdit: Fix fold gutter for wrapped line with +/- fold indicator. 2025-02-09 16:20:17 +01:00
Martin
211a0a8b90 SynEdit: Textarea, TokenBreaker, add safety checks 2025-02-09 16:20:17 +01:00
Martin
137485b0ab SynEdit: DisplayView, add token origin/kind indicator 2025-02-09 16:20:17 +01:00
wp_xyz
986cea52b7 TAChart: Minor change in financial demo project. 2025-02-09 15:59:26 +01:00
mattias
e49854f895 codetools: RenameSource now also updates references in the unit, ide: SaveAs uses FindRenameSourceReferences 2025-02-07 11:26:36 +01:00
mattias
985bbdbf7f ide: find/rename identifier use for source name the new codetools methods 2025-02-07 10:07:55 +01:00
Martin
6c2cd439b7 SynEdit: DisplayView, return PhysXPos of first token, paint wrapped sub-lines with correct Phys-X (not Viewed-X) for Markup 2025-02-06 21:42:23 +01:00
Martin
3fda8a05e9 SynEdit: Rename some type-declaration to differentiate between text-point (logical/physical/viewed/...) 2025-02-06 21:42:23 +01:00
mattias
efe7efbc39 codetools: search dotted unitnames in namespaces 2025-02-06 11:23:30 +01:00
mattias
287832a0e8 codetools: FindSourceNameReferences: elimnate duplicates 2025-02-06 10:24:42 +01:00
mattias
ea7e84988d codetools: test rename program name tora.tora.tora 2025-02-05 17:01:32 +01:00
mattias
7dbb6355e5 codetools: fixed FindSourceNameReferences searching longest fitting unitname 2025-02-04 19:21:26 +01:00
mattias
116b91b184 codetools: directorycache: invalidate directory when a codebuffer is marked deleted 2025-02-04 16:45:03 +01:00
mattias
de11537070 codetools: rename used unit references: update in-filename 2025-02-04 15:40:25 +01:00
mattias
e5c09ba479 codetools: rename source name references: keep omitted namespace 2025-02-04 15:40:25 +01:00
mattias
370938ca90 codetools: find sourcename refs to used unit 2025-02-04 15:40:25 +01:00
mattias
3276690fec codetools: ReplaceDottedIdentifier: delete atoms 2025-02-04 15:40:25 +01:00
mattias
cdeeb79cc7 codetools: clean up and fixed resolving dotted.src.name.identifier 2025-02-04 15:40:25 +01:00
mattias
a8004c0845 codetools: started Find- and RenameSourceNameReferences 2025-02-04 15:40:25 +01:00
wp_xyz
1014cd330f LazUtils: Fix calculation error in function PolyBezierArcPoints (unit GraphMath). Issue #41400. Fix typos in comments. 2025-02-03 12:08:57 +01:00
wp_xyz
1dcfd1a774 LazUtils: Fix calculation error in function LineEndPoint (unit GraphMath). Issue #41400. 2025-02-03 10:30:08 +01:00
wp_xyz
4e939b31dd Replace locally implement operator overload for method comparison by already available SameMethod. Proposed by n7800 in MR !431 2025-02-02 12:09:48 +01:00
Maxim Ganetsky
f5a6c63885 LazReport: small cleanup in lrFclPDFExport addon 2025-02-01 22:54:29 +03:00
Maxim Ganetsky
3da776592f LazReport: Improve setting document properties when exporting document using lrFclPDFExport addon. Patch by paweld, issue #41392. 2025-02-01 22:53:16 +03:00
Juha
28ba5306c3 LCL: Add a new function SelectInFolder in LclIntf. Use it in source editor's StatusBar. 2025-02-01 18:28:44 +02:00
n7800
170c75784c LazUtils/TryCreateRelativePath: Improved checking for double period (indicating parent folder) in paths 2025-01-31 18:37:07 +00:00
Juha
fddb4de9bc IdeIntf: Remove deprecated functions from IdeImagesIntf. 2025-01-31 14:29:55 +02:00
Juha
476da882fa Delete some deprecated functions. Inspired by issue #41363. 2025-01-31 13:50:35 +02:00
Martin
ca16a22cea LazDebuggerGdbmiFp: Improve workaround for FPC issue 37658 / Check both: full-path, and no-path. 2025-01-31 01:25:57 +01:00
Martin
3e75833edd LazDebuggerLldbFp: Improve workaround for FPC issue 37658 / Check both: full-path, and no-path. 2025-01-31 01:25:57 +01:00
Martin
2c9e5f2f4b FpDebug: Test LineInfo and GetLineAddresses with filenames with/without path or wrong path (also needed for generics) 2025-01-31 01:25:57 +01:00
Martin
6c006a3e8e FpDebug, LazDebuggerFp: Improve workaround for FPC issue 37658 / Check both: full-path, and no-path. 2025-01-31 01:25:57 +01:00
mattias
fc7ad93a93 codetools: fixed find references wrong tool 2025-01-30 09:32:53 +01:00
mattias
89d494f909 codetools: fixed endless loop parsing proc modifiers at end of source 2025-01-30 09:32:53 +01:00
mattias
90ddf0774e codetools: find references: find method overrides in other units 2025-01-29 16:08:05 +01:00
mattias
5979037e86 codetools: find references: started find method overrides 2025-01-29 16:08:05 +01:00
mattias
e6c486a8e7 codetools: added ReadRawPascal 2025-01-29 16:08:05 +01:00
Martin
5141571608 FpDebug: improve loading DWARF line info. Fix workaround for FPC issue 37658 / check the expanded FileName 2025-01-29 11:20:07 +01:00
wp_xyz
8ef40e37d5 TAChart: Fix potentially unbalanced sequence of Dataset.DisableControls and .EnableControls in TDbChartSource (https://forum.lazarus.freepascal.org/index.php/topic,70019.msg545153/topicseen.html) 2025-01-28 23:25:49 +01:00
mattias
584fb864fa codetools: fixed FindReferences for expression inherited name 2025-01-28 18:43:56 +01:00
mattias
6a79e2f3d0 pas2js: less hints 2025-01-28 10:31:04 +01:00
mattias
fd780d0e00 codetools: fixed resolving forward pointer type in other unit 2025-01-27 11:02:07 +01:00
Martin
b9e392ee96 SynEdit: SynEditKeycmds, added missing IntToIdent mappings. Marked some constants as unimplemented. 2025-01-26 15:35:55 +01:00
Martin
fce631b4f7 SynEdit: deprecate ecGotFocus / ecLostFocus. They have no functionality. 2025-01-26 15:35:55 +01:00
Martin
97ea7c51a4 SynEdit: - Replace ShortCutToText from SynEditKeyCmds (incomplete/broken) with the LclProc implementation. Issue #41360
- Fix condition for displaying 2nd shortcut in TSynEditKeyStroke.GetDisplayName
- Remove dead code.
2025-01-26 15:35:54 +01:00
mattias
1d92530751 codetools: less hints 2025-01-26 15:27:39 +01:00
mattias
2706cc285c codetools: fixed method jump from objfpc generic method body to decl 2025-01-26 15:23:38 +01:00
mattias
b7aafac192 codetools: fixed class completion of objfpc generic method 2025-01-26 14:55:54 +01:00
mattias
9d425ed90b codetools: renamed TCodeTreeNodeExtension ExtTxt fields 2025-01-26 14:55:54 +01:00
Martin
21d8cebd73 IDE, SynEdit: command to toggle fold on current line. Issue #41359 2025-01-26 12:20:02 +01:00
Martin
7f4426c2e9 SynEdit: Mark as changed (change gutter) if deleting line with ecDeleteLine (next line will be marked, like when selection was deleted). Issue #41264 2025-01-25 23:31:26 +01:00
Martin
c2974f91ee SynEdit: UnixShellScript Highlighter, treat # and ~ as identifiers rather than unknown. Add separate markup-color for unknown. Issue #41288 2025-01-25 22:12:52 +01:00
Martin
d121ba841e SynEdit: fix folded view, missing assign to result. (random gutter errors with wrapped text) 2025-01-25 21:40:13 +01:00
Martin
ab35263d34 IDE: Add config for SynEdit wrapped-view 2025-01-24 21:43:11 +01:00
Martin
dfadb86949 SynEdit: Wrapped-View, introduced MinWrapWidth 2025-01-24 21:43:10 +01:00
Martin
8acb7a8215 SynEdit: Wrapped-view, publish CaretWrapPos 2025-01-24 21:43:10 +01:00
Martin
8177877e02 SynEdit: Wrapped-view, map (mouse click) positions at (before/after) start/end of sub-line to the correct end/start pos of the subline (according to property CaretWrapPos) 2025-01-24 21:43:10 +01:00
Martin
1f18a0d57d SynEdit: TextDrawer, paint divider lines only for last wrapped line 2025-01-24 21:43:09 +01:00
Martin
2a874e1c87 SynEdit: fix invalidate gutter-lines, if caret Viewed-Y changes 2025-01-24 21:43:09 +01:00
Martin
ce7acbe6cf SynEdit: markup gutter-marks, use logical pos. Handle wrapped lines (phys pos occurs on every sub-line) 2025-01-24 21:43:09 +01:00
Martin
86abcd75d9 SynEdit: Add support for folding wrapped text 2025-01-24 21:43:08 +01:00
Martin
a09c94fa11 SynEdit: Folded-view, rename TopLine to TopViewPos 2025-01-24 21:43:08 +01:00
Martin
7727294e2c SynEdit: Folded-View, rename some fields 2025-01-24 21:43:07 +01:00
Martin
a949f2be2e SynEdit: Wrapped-view, clean up empty nodes 2025-01-24 21:43:07 +01:00
Martin
e331c9fb35 SynEdit: Wrapped-view, fix leaks. Remove event-handler and view in Destroy 2025-01-24 21:43:07 +01:00
Martin
bf012c22cd SynEdit: Wrapped-view, fix Wrap-Width (SynEdit needs 1 extra char) 2025-01-24 21:43:03 +01:00
Martin
94f2b48f00 SynEdit: Wrapped-view, fix painting for non-wrapped lines. Update values for current (sub-)line 2025-01-24 20:53:55 +01:00
Martin
bbee19f531 SynEdit: Wrapped-view, fix inserting lines 2025-01-24 20:52:21 +01:00
Martin
56889ff210 SynEdit: Wrapped-view, fixed dangling node in invalidation list 2025-01-24 20:52:20 +01:00
Martin
7a61eec5b3 SynEdit: Wrapped view, fixed assertion 2025-01-24 20:52:20 +01:00
Martin
9a8138a7c1 SynEdit: Word wrap, fix initialization of token-info 2025-01-24 20:52:20 +01:00
Martin
33ea43b9e4 SynEdit: optimize status-events 2025-01-24 20:52:20 +01:00
mattias
85dd5c0743 codetools: fix xml: option to remove unopen close tags, aissist: fix xml 2025-01-24 12:29:52 +01:00
mattias
1c07e853c7 codetools: fixed ppu search for ampersand units 2025-01-24 11:06:34 +01:00
zeljan1
b38335ac9a lclextensions package: fixed range check error. 2025-01-23 18:58:54 +01:00
mattias
f84357df08 aissist: nicer unit names 2025-01-23 15:34:25 +01:00
mattias
7fa47dc222 codetools: fixed modeswitch autoderef for forward pointer, issue #41353 2025-01-23 13:52:20 +01:00
mattias
b30984ef03 codetool: fixed find declaration of pointer type to type behind, issue #31320 2025-01-23 13:25:26 +01:00
mattias
e8156b8eb5 codetools: fixed resolve forward defined pointer, patch from WooBean007, issue #31230 2025-01-23 10:45:30 +01:00
Martin
fc08a7c13f SynEdit: reduce duplicate status events 2025-01-23 01:01:43 +01:00
Martin
949a6339ac SynEdit: Textdrawer, fixed painting gaps past EOL (don't show special chars in gap before fold-indicator) 2025-01-23 01:01:43 +01:00
mattias
68bef43532 aissist: fpdoc: store response 2025-01-21 18:46:06 +01:00
mattias
f4c0443b5d aissist: add button to fpdoc editor describe a function 2025-01-21 18:21:46 +01:00
Martin
df2710224f SynEdit: folded view, change/fix some comments 2025-01-21 12:56:52 +01:00
Martin
bf58a011b8 SynEdit: deprecate some methods in folded-view 2025-01-21 12:52:36 +01:00
Martin
909934c32a SynEdit: fix folded view GetViewedLines 2025-01-21 12:00:59 +01:00
mattias
448d4b0a28 lcl: added TCustomDateTimePicker.ShowCalendarForm 2025-01-20 11:43:23 +01:00
mattias
1a0fb4c487 codetools: start test forward decl pointer resolve 2025-01-16 15:33:12 +01:00
dsiders
2a59941a59 Docs: DateTimeCtrls. Syncs CSS, build scripts. 2025-01-14 04:57:33 -05:00
dsiders
e775aa597e Docs: LazControls/laznumedit. Adds content to TLazIntegerEdit topics, including:
* TLazIntegerEdit.Utf8KeyPress
* TLazIntegerEdit.RealGetText
* TLazIntegerEdit.InitializeWnd
* TLazIntegerEdit.FinalizeWnd
* TLazIntegerEdit.DoExit
* TLazIntegerEdit.EditingDone
* Housekeeping for linked topics.
2025-01-13 23:00:33 -05:00
dsiders
c288b1917c Docs: LazControls. Restores explicit import args in build script. 2025-01-13 15:14:18 -05:00
mattias
c92a49b9f9 codetools: test uses vs local precedence 2025-01-13 19:50:54 +01:00
rich2014
05cc198468 IDE/LazFileUtils: fix in GetDarwinNormalizedFilename() #41332 2025-01-13 23:50:43 +08:00
Martin
66ccefcd0f Anchordocking: Fix loading. Don't constrain splitter bounds, until they are loaded and have a percent position. Issue #41331 2025-01-13 11:45:07 +01:00
dsiders
585c3e4abb Docs: Simplifies build script. 2025-01-13 02:17:53 -05:00
dsiders
77576dbbf1 Docs: LazControls/laznumedit. Updates content in TLazIntegerEditGen topics. Revises topic links in TLazIntegerEdit. 2025-01-13 02:15:42 -05:00
dsiders
b348ac054c Docs: LazControls/treefilteredit. Fixes invalid See Also links. 2025-01-11 21:04:13 -05:00
dsiders
249eee3f9a Docs: LazControls/laznumedit. Fixes invalid topic identifiers and see also links. 2025-01-11 21:02:08 -05:00
dsiders
7f765309a8 Docs: LazControls. Enables extended tab controls file in project. 2025-01-11 21:00:12 -05:00
dsiders
7d5ec58f87 Docs: LazControls. Restores use of FpDoc 3.3.1. 2025-01-11 20:58:22 -05:00
Martin
af76af71c2 SynEdit: Pas-Highlighter, fix crash with custom-word settings. Adding/Removing lists did not trigger a rebuild. 2025-01-10 16:42:42 +01:00
dsiders
66e7c0348d Docs: LazControls. Removes Windows cruft from build script. 2025-01-10 01:08:57 -05:00
dsiders
52889254f3 Docs: LazControls. Syncs CSS to LCL, LazUtils. 2025-01-10 00:48:13 -05:00
Maxim Ganetsky
63dc9e6f2c LazReport: Fixed loading FreeReport files with TfrCheckBoxView (where CheckBox does not have Checked property).
Patch by https://gitlab.com/michalgw, issue #41326.
2025-01-10 02:02:18 +03:00
Maxim Ganetsky
880cd91c00 LazReport: improved Russian translation 2025-01-10 01:42:57 +03:00
ccrause
7f2fd2fba8 Added extra controller sub architectures for xtensa and riscv 2025-01-09 19:24:47 +00:00
Martin
d25d085dbb FpDebug: Do not free current DbgThread while still in use / Will be freed after next run/step. (Linux) 2025-01-09 11:44:15 +01:00
zeljan1
34844aa934 LCL: SetDeviceScaleRatio renamed to SetCanvasScaleFactor. 2025-01-09 09:21:59 +01:00
Martin
6f1cd0c4b5 FpDebug: Linux, fix reading proc/maps to get loaded libraries. 2025-01-07 18:36:04 +01:00
mattias
98e9438a8a ideintf: added fpdoc editor custom buttons 2025-01-06 09:29:54 +01:00
zeljan1
4d840c6866 TLazVirtualTrees: removed cocoa workarounds. Related to the issue #41313 2025-01-05 23:24:33 +01:00
Michaël Van Canneyt
21de341ae2 * Project wizards for client/server openapi projects 2025-01-05 23:16:58 +01:00
zeljan1
ff108ae5b6 LazVirtualTrees: removed cocoa workaround from PaintHeader. related to the issue #41313 2025-01-05 21:58:35 +01:00
zeljan1
8148379d00 TurboPowerIPro: removed LCLCocoa workaround. issue #41299 and relates 2025-01-05 21:56:55 +01:00
Martin
71bb738610 SynEdit: Pas-Highlighter, custom words, fix matching multiple words. Increase pointer to actual element in list. Issue #41308 2025-01-05 17:35:28 +01:00
Michaël Van Canneyt
fb2c8c45c2 * Explain function added 2025-01-04 15:48:38 +01:00
Michaël Van Canneyt
16b3f5455a * AI assistant functonality for Lazarus 2025-01-04 15:37:54 +01:00
Michaël Van Canneyt
58ce582298 * Basic chat control (needed for AI assistant) 2025-01-04 15:37:54 +01:00
Michaël Van Canneyt
93a20edba4 * Allow to read YAML using new FPC support for YAML 2025-01-04 15:37:54 +01:00
Michaël Van Canneyt
4efdbd6cbb * Small formatting fixes 2025-01-04 15:37:53 +01:00
Martin
afe87b6e8c LCL: Docked-Designer, FakeMenu-Toolbar, layout 2025-01-04 13:14:11 +01:00
Martin
e63194a5f2 DockedFormEditor: add menu preview via TToolbar.Menu. Patch by FerDeLance See MR !393 2025-01-04 13:10:26 +01:00
Juha
f762946f60 LazReport: Add the forgotten Objects reference in TfrPage.Clear. Issue #41306, patch by rasberryrabbit. 2025-01-04 09:23:03 +02:00
zeljan1
c8df21aee3 Cocoa: added cocoa workaround until cocoa StretchBlt is fixed. 2025-01-02 13:31:14 +01:00
zeljan1
4510285762 LCL: changed SetDeviceScaleRatio HGDIOBJ param to HDC to be inline with cocoa abilities. 2025-01-02 12:08:47 +01:00
mattias
ae48e9841e codetools clean up 2025-01-02 10:22:00 +01:00
mattias
f6b5cd0a9d codetools: fixed node cache for nested proc, RenameIdentifier: do not check for conflict 2025-01-02 10:10:44 +01:00
zeljan1
7ceec9b428 IpHtml: draw crisp text on bitmap when canvas scale factor > 1. issue #41299 2025-01-02 09:38:59 +01:00
mattias
09db774d44 codetools: moved rename test to refactoring tests 2025-01-01 19:58:33 +01:00
mattias
4e797f0590 codetools: disabled findrefs test 2025-01-01 19:28:35 +01:00
mattias
6786a53330 codetools: fixed more tests 2025-01-01 17:50:41 +01:00
mattias
d6fd8ec102 codetools: fixed crash on searching in used namespaces 2025-01-01 17:50:41 +01:00
mattias
6acd693a4b codetools: fixed jump from uses to unit 2025-01-01 15:27:12 +01:00
mattias
ab03974ccf codetools: fixed find used unit with ampersands 2025-01-01 13:36:17 +01:00
mattias
35910aa7d6 codetools: tests: fixed test for nodes 2025-01-01 10:15:53 +01:00
mattias
1448213e24 codetools: test for scope rule local before uses 2025-01-01 09:47:49 +01:00
Željan Rikalo
2ef1afb7f2 Revert "TurboPowerIPro: fixed blurred text when rendered onto bitmap. issue #41299"
This reverts commit f0dae76cf2
2025-01-01 08:41:19 +00:00
zeljan1
f0dae76cf2 TurboPowerIPro: fixed blurred text when rendered onto bitmap. issue #41299 2024-12-31 20:17:10 +01:00
mattias
be497b7252 codetools: disabled wrong preflight check for unitnames 2024-12-31 14:29:21 +01:00
mattias
f4094028d4 codetools: clean up and simplified 2024-12-31 11:39:21 +01:00
mattias
43d02af738 codetool:s renamed DottedIdentifierMatchesTo to DottedIdentifierMatches 2024-12-31 10:59:25 +01:00
mattias
4cb5f5aa5a codetools: optimization and clean up 2024-12-31 10:38:19 +01:00
wp_xyz
0f2d6ec40d IDEIntf: Fix scaling of action names listbox in ActionList component editor 2024-12-30 12:06:31 +01:00
mattias
f0826a35cb codetools: fixed rename nested proc, issue #23994 2024-12-29 17:51:58 +01:00
mattias
f6270da71a codetools: added test rename other nested proc 2024-12-29 17:04:30 +01:00
mattias
04f1b35255 codetools: added test rename nested proc 2024-12-29 17:02:14 +01:00
mattias
6950c5a06c codetools: fixed rename proc args 2024-12-29 16:50:39 +01:00
mattias
ab45877d37 codetools: removed unneeded IsIdentifierDotted 2024-12-29 16:50:39 +01:00
mattias
ec5dd4209d codetools: less hints 2024-12-29 16:50:38 +01:00
mattias
93b4f9f305 codetools: optimized IsValidDottedIdent 2024-12-29 16:50:38 +01:00
mattias
ed2a217e45 ide+codetools: list and rename dotted units and identifntifiers and amp identifiers, from WooBean007 2024-12-29 16:50:38 +01:00
Juha
c78a1ffc83 LazUtils: Improve functions UTF8SwapCase and UTF8ProperCase. 2024-12-29 16:37:23 +02:00
Juha
277cc26bdc LazUtils: Optimize function UTF8StringReplace a little. 2024-12-29 12:09:01 +02:00
Juha
c80fcf7e17 LazUtils tests: Add a test for UTF8StringReplace. Shorten function names. 2024-12-29 10:54:02 +02:00
Juha
4c1a98b6fa LazUtils: New implementation of UTF8StringReplace. Issue #41291. 2024-12-28 22:15:41 +02:00
zeljan1
602fb83512 FreeType: fixed code mess and memory leak in ttcache. Patch by lagprogramming. issue #40202 2024-12-28 20:42:52 +01:00
dsiders
f32dc951cc Docs: LazControls/treefilteredit. Updates topic content for changes in 5cb22fbc.
* Related to Issue #41282.
* Adds missing used unit references
* TTreeFilterBranch.DeleteData
* TTreeFilterBranch.GetData
* TTreeFilterBranch.FreeNodeData
* TTreeFilterBranch.InvalidateBranch
* TTreeFilterBranch.Items
2024-12-27 23:31:25 +00:00
mattias
562e9fbe7c codetools: fixed searching fpc namespaced include without extension, issue #41275 2024-12-27 11:26:50 +01:00
Juha
7fd1e6e91c Codetools: Fix a regression in unit tests. Issue #23994, patch by WooBean007. 2024-12-27 03:15:32 +02:00
wp_xyz
ad55ba8399 LazReport: Fix mouse cursor disappearing over images. Issue #41289, patch by paweld 2024-12-26 10:54:46 +01:00
n7800
a0d1766a2e IDE/AddWithBlockDlg: Allow item selection by double click. Merge request !406. 2024-12-26 06:57:53 +02:00
n7800
0ded6ff0bf IDE/AddWithBlockDlg: Change the tab order so that the focus is on the table, and by default the "OK" button is pressed. Merge request !405. 2024-12-26 06:53:57 +02:00
n7800
f6a164e1bb IDE/SearchResultsView: Adding IDE commands to open next/previous search result. Issue #40328 2024-12-26 06:44:32 +02:00
wp_xyz
07a5b364bf TAChart: Add demo for the new OnCalculateNewExtent event of zoom/pan tools. 2024-12-26 00:32:21 +01:00
wp_xyz
ca8860602a TAChart: Fix drawing of TZoomDragTool's selection in case of fixed RatioLimit. 2024-12-25 23:51:03 +01:00
wp_xyz
345460427e TAChart: More user-friendly zoom-in by ZoomDragTool with fixed RatioLimit 2024-12-25 23:41:12 +01:00
Juha
6dd342cef1 Codetools: Fix the scope of finding nested procedures. Issue #23994, patch by WooBean007. 2024-12-25 20:21:40 +02:00
wp_xyz
6d84ad507a TAChart: Add OnCalculateNewExtent event to all zoom/drag tools. 2024-12-25 18:48:27 +01:00
Juha
ef08272eb6 LazUtils, LConvEncoding: Fix CP932 (Shift_JIS). Issue #41277, patch by rasberryrabbit. 2024-12-25 02:25:58 +02:00
wp_xyz
5038bb77e1 TAChart: Add event OnCalculateNewExtent to TBasicZoomTool 2024-12-24 11:16:20 +01:00
Martin
2f79294556 SynEdit: Python HL, keyword fixes. Issue #41285 2024-12-21 21:02:31 +01:00
Martin
21c681f75f SynEdit: Python HL, keyword fixes. Issue #40585 2024-12-19 17:21:56 +01:00
Martin
c0a982f5ef SynEdit: Python HL, keyword fixes. Issue #40585 2024-12-19 12:33:19 +01:00
Martin
43fa8cf71a LazControls: FilterEdit, keep track of owner sorted-flag to avoid unnecessary re-sorting. Issue: #41282 2024-12-17 11:26:27 +01:00
Martin
b1d3af8d21 LazControls: FilterEdit, unsort data in branch, if owner.SortData is or fShowDirHierarchy change. TODO: keep track, and avoid sorting if e.g. only filter changed. Issue: #41282 2024-12-16 22:04:07 +01:00
Maxim Ganetsky
1425aab2f7 SynEdit (Python highlighter): removed dangling semicolon after "then", patch by n7800, merge request !403 2024-12-14 22:36:54 +03:00
Maxim Ganetsky
c53ead5cc8 Printers: removed dangling semicolon after "then", patch by n7800, merge request !403 2024-12-14 22:36:54 +03:00
n7800
b807160141 Aarre: removed dangling semicolon after "then", patch by n7800, merge request !403 2024-12-14 22:36:54 +03:00
Martin
5cb22fbc12 LazControls:
- Incompatible: Change property access from TStringList to TStrings
- TreefilterEdit, Change internal storage
- Change to merge sort
2024-12-12 13:22:59 +01:00
Martin
f856a8cc8c LazUtils: Added GetLazNormalizedFilename 2024-12-12 13:18:35 +01:00
wp_xyz
72a834edba TAChart: Fix crash when Hide is called for an inactive chart tool. 2024-12-12 11:58:38 +01:00
Martin
2a690eac26 IDE: Project/SourceEdit, reimplement user-set custom highlighter. Only calculate default if needed. 2024-12-10 13:06:53 +01:00
DomingoGP
f41f2bded2 Jedi code format: fix wrong error line number when formating selection. 2024-12-08 12:19:42 +01:00
dsiders
52c27a7cd9 Docs: LazControls/treefilteredit. Adds TTreeFilterEdit.SetTreeFilterSilently topic for changes in 9e8dbdc9. Issue #41259. 2024-12-07 18:12:50 +00:00
Martin
337d747d4d IDE, Project: refactored unit lists for units with specific flags. 2024-12-01 11:37:38 +01:00
Maxim Ganetsky
ae599e9b61 LazDebuggers: reverted part of e1aff780f0 to hopefully unbreak compilation on Windows 2024-12-01 03:05:51 +03:00
Juha
d326f3e9e7 IDE In search results window, do not expand nodes when switching tabs. Issue #41259. 2024-12-01 00:35:10 +02:00
Juha
e1aff780f0 LazDebuggers: Cleanup in unit DebugProcess. 2024-12-01 00:35:09 +02:00
Martin
a81ad6381b SynEdit: Pas-Highlighter. Treat some utf8 as identifiers, to avoid splitting combining marks. Related to Issue #41228 2024-11-24 18:41:12 +01:00
Martin
ed45ec5224 SynEdit: partly implement handling of space followed by combining mark. Issue #41228 2024-11-24 18:15:23 +01:00
Martin
79be6943b5 SynEdit: PascalHighlighter, remove some false detection of continue/break/exit 2024-11-24 17:57:52 +01:00
Martin
bbcdf77e01 FpDebug: Update "dwarf-4 fix for broken fpc". Fpc 3.2.3 has been fixed 2024-11-23 14:55:28 +01:00
Martin
9b406db211 FpDebug: test, clean up signed enum tests 2024-11-23 14:55:27 +01:00
Martin
ba0a9c5bf7 FpDebug: fix checks for end of CIE-data. Don't read outside the section data. 2024-11-23 14:55:27 +01:00
Martin
9fd6981814 FpDebug: Linux, check if thread is known. 2024-11-23 14:55:27 +01:00
Michaël Van Canneyt
e9df17213c * OpenAPI support 2024-11-22 14:17:34 +01:00
Martin
2031d9ec48 AnchorDocking: Ensure splitters are in the parents clientrect.
Workaround for:
- Splitters at the far right/bottom use "splitter left side"=99.99% which move the splitter out, if the main window shrinks
- Issue #41178
2024-11-20 13:44:33 +01:00
Maxim Ganetsky
f9f76a8675 FPDebug: added test executable file to .gitignore, committed automatically generated FpTest.res 2024-11-19 01:03:12 +03:00
Martin
2fa8d8fe5c FpDebug: test - don't access forms for console runner 2024-11-18 20:46:28 +01:00
Martin
dd2ffad6b3 FpDebug: fix reading extended and tests for fpc 3.2.2 2024-11-18 18:20:11 +01:00
Martin
e07a1eeaec FpDebug: Move asm testcase from LazDebuggerFp to FpDebug. 2024-11-18 17:17:35 +01:00
Martin
516ae9bcf5 FpDebug: change test case to console test-runner 2024-11-18 17:03:21 +01:00
Maxim Ganetsky
6e43556427 Translations: French translation update by Gilles Vasseur, issue #41248 2024-11-18 02:30:56 +03:00
Martin
4d21661950 FpDebug: improve handling enum with negative ord value. 2024-11-17 23:13:57 +01:00
Martin
d93235de52 FpDebug: fix range check error with enum values (negative ord value). Issue #41240 2024-11-17 13:15:53 +01:00
Martin
c0a07ff85f FpDebug: add protection against huge line numbers 2024-11-16 23:16:54 +01:00
Martin
fdee6e8947 FpDebug: Line-Addr-Map, better check for max line offset. 2024-11-16 14:43:49 +01:00
Martin
e98044f52f FpDebug: Line-Addr-Map, use Hash/Dictionary for filenames 2024-11-16 12:50:53 +01:00
wp_xyz
b7f4fd1d74 IconFinder: Avoid closing the IDE options dialog when the user presses ENTER after typing a search phrase. 2024-11-14 23:48:29 +01:00
Martin
add8755ea8 DockedFormEditor: Adjust scrollbar for "fake" main-menu. Pull Request !380 2024-11-13 21:10:29 +01:00
Martin
d461637604 FpDebug: Change line-num/address mapping. Improve performance. Issue #41230 2024-11-13 14:48:00 +01:00
wp_xyz
d82e6b2dca IconFinder: Fix compilation of IconViewer demo 2024-11-13 00:12:39 +01:00
Martin
95a133b379 LazDebuggerFp: test, change testcase to use Test* instead of Assert* => so it will write logs 2024-11-12 22:58:06 +01:00
Martin
8afda09539 FpDebug: Fixed MemManage read from register and sign extend (if register is smaller than expected source size) 2024-11-12 22:58:06 +01:00
Martin
4d88956173 FpDebug: Allow MemManage read extended to other float types. Fixed test for new soft fpu extended 2024-11-12 22:58:06 +01:00
Martin
35b94fb26f FpDebug: test, fixed for pascal parser new context 2024-11-12 22:58:06 +01:00
Martin
5932ef9aef FpDebug: test, remove old test, now covered by LazFpDebugger test. 2024-11-12 22:58:05 +01:00
mattias
dfb7c2bd04 codetools: fixed ExtractFuncResultType for complex types and class operator 2024-11-10 18:03:33 +01:00
mattias
6f72566182 codetools: added test for advanced record completion class operator 2024-11-10 18:01:56 +01:00
wp_xyz
e16acf9623 IconFinder: Further speedup of icon reading. 2024-11-09 22:46:55 +01:00
Maxim Ganetsky
ceb2ada507 JCF2: updated Russian translation 2024-11-09 22:14:23 +03:00
Maxim Ganetsky
7d2a74d680 IconFinder: regenerated translations and updated Russian translation 2024-11-09 22:13:39 +03:00
wp_xyz
3788e25cc6 IconFinder: Display icon count. Update demo projects. 2024-11-09 00:12:46 +01:00
wp_xyz
39252c56ba IconFinder: Fix crash when icon folders are added/hidden while an icon is selected in the viewer. 2024-11-08 22:34:56 +01:00
Martin
0a86b7b053 Anchordocking: fix default monitor, if no monitor is set in config (0/zero may not be the default on all systems) 2024-11-08 21:26:25 +01:00
Martin
eeca861ba4 FpDebug: mask range check 2024-11-08 20:07:14 +01:00
DomingoGP
4a2319c986 Jedi code format: new option to remove comments in the current editor window. 2024-11-08 19:15:03 +01:00
wp_xyz
b5e2e98d35 IconFinder: Fix failure to display BMP icons. 2024-11-08 18:51:51 +01:00