Commit Graph

5643 Commits

Author SHA1 Message Date
Juha
5c616a0715 Fix hint etc. for "&" + identifier. Issue #40922, patch from WooBean007. 2024-06-17 18:39:44 +03:00
Maxim Ganetsky
60e0038353 Codetools: Fixed AV in "Project -> Show Used PPU Files" when sorting by double-clicking on last three columns. Patch by n7800, issue #40984. 2024-06-13 02:29:05 +03:00
mattias
c7e5d8d441 codetools: fixed clearing include file link 2024-05-24 11:40:23 +02:00
Martin
af5212d267 Codetools: Add a few more keywords to Ident-Completion. 2024-04-22 14:04:02 +02:00
Bart
1f7accb9e2 Fix missing Raise before Exception.Create. Issue ##40860. Patch by n7800. 2024-04-17 13:29:00 +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
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
Juha
959d8c6ad4 Turn some LazLogger into LazLoggerBase. 2024-04-06 16:45:28 +03:00
Martin
0ce49ed855 Codetools: fix search aborts early if one branch of the search has a cached "not found". Issue #40818 2024-03-12 18:58:13 +01:00
mattias
6a4911e6c0 codetools: fixed find include file of namespaced fpc unit 2024-03-11 17:00:57 +01:00
mattias
a2a002d2f0 codetools: parsing config files from fpc outout: keep only last state 2024-03-11 16:38:19 +01:00
mattias
a037296ca3 codetools: better debug 2024-03-11 10:22:31 +01:00
Juha
79a6aff5c9 Codetools: Prevent an eternal loop in procedure ImproveStringConstantEnd. 2024-03-07 04:46:10 +02:00
Juha
d0c036aa81 Codetools: Complete also a virtual/overridden method body with empty brackets. Issue #40799, patch by Domingo Galmés. 2024-03-06 10:09:34 +02:00
Juha
3ab3101044 Codetools: Find nested type in nested function. Issue #29246, patch by Penilopa P. 2024-03-05 22:41:41 +02:00
mattias
513d665cb3 codetools: updated fpc english error messages 2024-03-05 16:43:01 +01:00
DomingoGP
a14eb97eaa Codetools: solve issue #40592 parsing sealed/abstract objects. 2024-03-03 15:52:38 +00:00
Juha
280ada98b2 Codetools: Prevent a crash in FindIdentififerReference on the name of a program. Issue #40753. 2024-02-22 23:53:40 +02:00
mattias
d71e4b610a codetools: clean up 2024-02-20 18:20:08 +01:00
mattias
2770584c3a codetools: fixed IsDottedIdentifier 2024-02-20 18:19:37 +01:00
Martin
ba0c38e2b4 Codetools: fix crash when trying to add declaration for "foo := unit1;" Patch by WooBean007 2024-02-13 10:59:37 +01:00
Martin
dab39f77d5 Codetools: added test 2024-02-12 01:21:40 +01:00
Martin
998b38112f CodeTools, Test: Add test for FindIdentifierReferences. 2024-02-08 18:47:02 +01:00
Juha
07941a617c Codetools: Fix compilation. 2024-02-03 07:47:01 +02:00
Juha
34342f269f Revert the Codetools support of dotted names commit (issue #40596). It broke unit tests. 2024-02-03 07:34:44 +02:00
Juha
39fb484747 Don't use "const" for some function parameters related to OutputDirectory. Can cause mysterious errors. 2024-02-02 19:38:20 +02:00
mattias
5469260518 codetools: clean up 2024-02-02 16:07:33 +01:00
Juha
593bf2d541 IDE,Codetools: Improve support of dotted unit names. Issue #40596, patch by WooBean007. 2024-01-31 11:27:54 +02:00
mattias
f0652397b9 codetools: fixed parsing record align, issue #40731 2024-01-28 20:01:35 +01:00
mattias
6024175dc0 cody: fixed frame inheritance 2024-01-24 11:32:38 +01:00
mattias
cd514961b0 codetools: FindClose in try finally 2024-01-15 15:18:56 +01:00
mattias
bd1a394e9f codetools: fixed FindDanglingComponentEvents iteration of properties, fixed #40664 2024-01-03 10:42:05 +01:00
mattias
d2954c9818 codetools: searching fpc source namespaced includes, issue #40670 2023-12-30 15:29:44 +01:00
mattias
3f6dc2d6ad codetools: clean up 2023-12-19 09:46:35 +01:00
mattias
dacecb3f91 codetools: started test for namespaced units in fpc sources 2023-12-18 10:12:02 +01:00
Martin
f813f574d4 Codetools: remove debugln, accidentally added in commit afb5e6376c 2023-12-09 21:37:02 +01:00
Maxim Ganetsky
7eb6be5a2c IDE: pass to FPC only documented assembler mode parameter values and only for relevant CPU families (i8086, i386, x86_64), issue #38786 2023-11-24 02:18:36 +03:00
Maxim Ganetsky
5d6a599d92 Codetools: fixed compilation of tests 2023-11-21 02:14:47 +03:00
mattias
c9aa80149c ide+codetools: fpc config cache: support working directory and @ param, fixed #40603 2023-11-20 16:40:52 +01:00
mattias
14e1844066 IDE: pass project custom config file to codetools 2023-11-20 16:40:52 +01:00
mattias
0ac09485c6 codetools: ReadNextPascalAtom: delphi multi line string literal 2023-11-10 15:01:03 +01:00
mattias
6fac14495b codetools: linkscanner: skip delphi multi line string literal 2023-11-10 15:01:03 +01:00
mattias
3ff0868ca6 codetools: started parsing delphi 12 multiline string literals 2023-11-09 16:29:06 +01:00
mattias
e38a298110 codetools: fixed SetApplicationTitleStatement for Application as param 2023-10-08 00:19:01 +02:00
mattias
00e6d8fbd8 codetools: fixed InsertAllNewUnitsToMainUsesSection, issue #40522 2023-09-25 22:13:53 +02:00
mattias
50f2f5f873 codetools: fixed CreatePublishedMethod adding dotted unitnames 2023-09-23 09:01:51 +02:00
mattias
34222c3fa8 updated makefiles 2023-09-12 16:25:55 +02:00
mattias
0fd939a3e4 codetools: directorycache: no exception on virtual directory, #40503 2023-09-12 15:09:08 +02:00
mattias
c5bc78b070 updated makefiles 2023-09-03 17:11:29 +02:00
wp_xyz
f3c4d7f58d Misc packages: Replace separate calls to sin() and cos() by sincos(). Issue #40473. 2023-08-31 12:14:54 +02:00
mattias
5763fb14c6 codetools: added AnsiChar 2023-08-22 16:25:59 +02:00
ACTom
f58e090182 Translations: Chinese translation update, merge request !227 2023-08-18 22:38:02 +03:00
Martin
17e62ec5c0 IDE, Identifier-Completion: fix overloaded function in history list. Issue #40332
- Adding 2 versions of an overloaded function did not work. The overloaded params were compared with different functions.
2023-08-14 23:37:19 +02:00
mattias
8d92e3b67d updated makefiles 2023-08-14 20:31:20 +02:00
Martin
afb5e6376c IDE, Identifier-Completion: fix sorting in identifier completion. Issue #40332 / Restore order-precedence for Compatibility. 2023-08-14 18:51:29 +02:00
ACTom
29240dfd2b IDE: Chinese translation update, merge request !225 2023-08-09 22:27:56 +03:00
Martin
5fbeef0e07 Codetools: IdentifierCompletion, improve "recent items"
- don't upgrade older recent based on compatibility
- prefer pre-fix matches over "mid word" (except if the user completed the original from mid-word)
2023-08-07 17:26:13 +02:00
mattias
a8cde74bcf codetools: test case insensitive 2023-08-06 09:55:56 +02:00
mattias
f03d205c06 codetools: fixed FilenameIsMatching on Windows 2023-08-06 09:46:49 +02:00
mattias
a0fddef59c codetools: fixed FilenameIsMatching on Windows 2023-08-06 00:31:13 +02:00
mattias
d41a475c27 codetools: parse proc type with specialized function result 2023-08-05 11:09:53 +02:00
mattias
1138fe154d codetools: star direcory exclude: always case insensitive 2023-08-04 23:19:48 +02:00
mattias
70c4c85414 codetools: parse attribute in proc param 2023-08-04 13:17:57 +02:00
mattias
357928192e ide: inspect chksum changed: fixed updating cache 2023-08-03 18:12:46 +02:00
mattias
68920c7d01 ide+codetools: less hints 2023-08-03 18:07:54 +02:00
mattias
74f240f5f3 ide: identifier completion: gather units in star dirs 2023-08-03 18:07:38 +02:00
mattias
f6ae2ddc3b codetools: using cache 2023-08-03 11:12:57 +02:00
mattias
71769343af codetools: added missing file 2023-08-02 01:34:14 +02:00
mattias
3e4403e691 codetools: skip star direcory when listing star directory 2023-07-31 13:30:36 +02:00
mattias
62657fbfd4 ide: fixed SubTarget to Subtarget 2023-07-26 13:36:16 +01:00
mattias
1831cd1ad6 codetools: fixed compile 2023-07-26 09:12:53 +01:00
Maxim Ganetsky
a26e43f773 Codetools: fixed compilation of tests after 977c3d1383 2023-07-26 01:43:44 +03:00
mattias
977c3d1383 ide+codetools: added fpc subtarget to caches 2023-07-25 16:52:59 +01:00
Juha
cc4760393b Reserve "On..." prefix for events and name functions differently. 2023-07-25 11:07:57 +03:00
Martin
a747d43139 Codetools: IdentifierCompletion, with "include identifier containing prefix" sort recent entries with true prefix before such "only containing" (same as for non recent items) 2023-07-24 12:19:09 +02:00
Martin
4f1297912a Ide, Codetools: IdentifierCompletion, add color for recent Items. Issue #40392 Based(Amended) on Patch by Bruno K 2023-07-21 22:47:39 +02:00
Martin
b087b9f55e Codetools: IdentifierCompletion, apply history limit to filtered list 2023-07-21 22:45:43 +02:00
Martin
8533349aba Codetools: IdentifierCompletion, fix freeing correct item if History.Capacity is reached. Issue #40354 2023-07-17 21:33:12 +02:00
Martin
9146a986b4 Codetools: Identifier completion, improve/fix limit for recent history items shown. issue #40332
- take into account that some items in history may not be in the current unfiltered items, and that "HistoryIndex" may have gaps
2023-07-17 21:33:12 +02:00
Martin
e7c438c50b Codetools: Identifier completion, add limit for recent history items shown. issue #40332 Patch by WooBean007 2023-07-17 21:33:12 +02:00
Martin
c32f97c6c8 Codetools: Identifier completion, don't use CompareIdentifiers for ParamList. ParamList contains symbols ";()". Found in issue #40332 2023-07-17 21:33:11 +02:00
mattias
636cae9653 codetools: fixed tests on windows 2023-07-17 17:35:33 +02:00
mattias
86c8874b0c codetools: fixed search atttibute 2023-07-15 11:45:48 +02:00
mattias
c472699a81 codetools: fixed pas2js tests 2023-07-15 11:22:19 +02:00
mattias
9d18e66aa8 codetools: fixed two tests 2023-07-15 11:04:18 +02:00
Juha
479ff9635e Codetools: Support more modifiers in class method. Issue #40368, patch by Peacoor. 2023-07-13 15:53:57 +03:00
mattias
0cf38f57c7 IDE: added option for global star directory excludes 2023-07-09 22:20:56 +02:00
mattias
41d9d4c12f codetools: star directories: added excludes and enabled 2023-07-09 21:07:42 +02:00
mattias
b066084087 codetools: fixed searching include directive file with subpath 2023-07-09 14:24:25 +02:00
mattias
427ba37baf codetools: tests for star directory 2023-07-09 14:03:22 +02:00
Juha
e65a102527 Remove unit Laz_AVL_Tree, a copy of unit AVL_Tree. Not needed with FPC 3.2.x. 2023-07-07 17:39:03 +03:00
Juha
adfc424e92 Lazarus trunk requires at least FPC 3.2.0. Remove checks for earlier FPC_FULLVERSION. 2023-07-07 17:39:03 +03:00
Juha
41adb276bb Remove obsolete checks for FPC versions earlier then 3.0. 2023-07-07 17:39:02 +03:00
mattias
ae9ab00109 updated Makefiles 2023-06-30 20:50:27 +02:00
Martin
ed410cb98c Codetools: fix TIdentifierHistoryList.Add
- If an existing item moves to the front (to HistoryIndex=0) then all Indexes between 0 and the old value need updating (the old value became unused, so items above do not need an update).
- If an new item is inserted, all existing items need to be increased.
2023-06-28 19:30:45 +02:00
mattias
fde0e0f965 set main version to 3.99 2023-06-25 17:47:14 +02:00
Martin
de3a85ac41 Codetools: order Identifier completion by declaration (scoped). Part of issue #40332 (Based on) Patch by WooBean007 2023-06-24 12:37:56 +02:00
Martin
92b6ded394 Fix Compile / missing semicolon 2023-06-18 16:50:21 +02:00