Commit Graph

5599 Commits

Author SHA1 Message Date
mattias
c8ff4ec3ee codetools: fixed complete event assignment 2023-03-12 23:11:26 +01:00
mattias
d0a8be0821 codetools: add test complete event assignment 2023-03-12 23:11:06 +01:00
mattias
82edbea0ac codetools: clean up 2023-03-12 22:52:25 +01:00
mattias
f2050ac1c3 codetools: comment 2023-03-12 22:43:19 +01:00
Martin
f0901a9512 Codetools: parse specialization as function result (in function type def) Issue #38970 2023-03-10 16:56:06 +01:00
Martin
7172fd48e9 Codetools: test for Issue #28989 2023-03-10 16:27:42 +01:00
Martin
cbda39285c Codetools: fix finding types declared in specialized generics (and inside classes in generics). Issue 28989 2023-03-10 15:57:57 +01:00
Martin
258d843914 Codetools: fix "a:=TSpcecialized.Create". When completing/declaring variables find the name of the specialized class. 2023-03-10 14:32:31 +01:00
Martin
e923b4c5d5 Codetools: parse function-param of type "specialize G<T>.member". (Part of) issue #39699 2023-03-09 23:51:02 +01:00
Martin
44b14e0702 Codetool: nested (inside class) declaration of generic. Issue #37640 2023-03-09 20:21:53 +01:00
Martin
84e5a5ba02 CodeTools: fix guesstype (type for declaration) with generics. 2023-03-08 17:25:09 +01:00
Martin
89ab07a39f Codetools: Find type of generic, if specialized with build-in type (e.g. string) 2023-03-07 22:41:24 +01:00
Martin
31c8f2dadd Codetools: add testcase for issue 40145 / allow "{completion" after dot. 2023-03-07 20:10:19 +01:00
Martin
b03e3b50fd Codetool: preserve generic-param as result, if it can not be resolved. 2023-03-07 13:10:49 +01:00
Martin
6d1b53067f Codetools: fix FoundProc stack list. 2023-03-07 13:10:49 +01:00
Martin
04337988d9 Codetools, tests: Add test for issue #32252 2023-03-06 16:53:27 +01:00
Martin
6fda552055 Codetools: Return generic params for found identifier / Update calling Parameters 2023-03-06 12:53:54 +01:00
Martin
19d12f194d Codetools: Prevent node caching for results in generics. 2023-03-06 11:46:29 +01:00
Martin
ddc435d313 Codetools: Match generic params with the correct specialize. In case of specialize inside of a generic params were mismatched. 2023-03-06 00:30:56 +01:00
Martin
5f053c5a52 CodeTools: test for improve FindDeclaration in nested specialized classes 2023-03-05 21:36:16 +01:00
Martin
68366d178c CodeTools: Fix parsing "with" statement, ended by outer block (repeat, try, if...) Issue #39684 Patch by Domingo Galmés 2023-03-04 20:12:02 +01:00
Martin
749ab743d6 CodeTools: improve FindDeclaration in nested specialized classes 2023-03-04 15:31:56 +01:00
Juha
a9752b1326 Codetools: Fix parsing variant records with pointers to procedure. Issue #40145, patch by Domingo Galmés. 2023-03-04 14:16:04 +02:00
mattias
e5058e166d codetools: fixed ide include paths 2023-03-01 19:29:30 +01:00
Juha
994659c015 Add loongarch64 support. FPC trunk supports it, too. Issue #40127, patch by Alfred Glänzer. 2023-02-25 23:24:38 +02:00
mattias
4c53c90895 codetools: test CheckLFM: parse unitname 2023-01-18 10:00:42 +01:00
mattias
2db4892771 codetools: lfmtree: parse unitname and nested class 2023-01-17 22:41:57 +01:00
mattias
09c3e47a45 codetools: test CheckLFM child component 2023-01-17 22:41:17 +01:00
mattias
029f775a85 codetools: started testsuite for CheckLFM 2023-01-17 21:50:16 +01:00
mattias
827fe1fa19 codetools: if sizeof unicodechar 2023-01-15 13:19:52 +01:00
mattias
1b490d997c codetools: implemented $if sizeof() for some built-in types 2023-01-13 12:43:46 +01:00
mattias
6bdd3dfa3d codetools: updated ide unit paths 2023-01-09 20:41:31 +01:00
Ondrej Pokorny
cbef44b7ef CodeTools: fix attribute resolver - remove exception handling 2022-12-28 08:55:51 +01:00
Ondrej Pokorny
0f438c98fe CodeTools: fix attribute resolver 2022-12-28 02:07:17 +01:00
Juha
5719672f10 Codetools: Fix SmartHint for generic specialized types. Issue #29860. 2022-12-23 15:25:06 +02:00
mattias
2e52709c59 codetools: added ide/packages/ideconfig to srcpath of ide 2022-12-14 15:09:15 +01:00
mattias
488c7e32c1 codetools: lazarus definetemplate clean up 2022-12-09 17:19:14 +01:00
Martin
28247a829c IDE: Move LazConf.pp to new base-package "IdeConfig" 2022-12-08 19:28:19 +01:00
Martin
369e4e47a7 IDE: Add base-package "IdeConfig" 2022-12-08 01:38:41 +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
mattias
6671244b72 updated makefiles, fixed compile fpdebug with fpc 3.2.2 2022-11-13 13:23:46 +01: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
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
Martin
eea8b2cd21 IDE, Debugger, Project: Allow setting up project specific debugger backends 2022-08-28 21:00:28 +02:00
mattias
96cf3062ba codetools: lazarussrc template: added unit paths 2022-07-26 16:37:56 +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
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
Maxim Ganetsky
b47cfe278d CodeTools: removed unused resource strings, regenerated translations 2022-06-25 01:47:29 +03:00
mattias
66b36cd172 codetools: fixed some tests 2022-06-17 17:35:23 +02:00
mattias
6b9fd935b2 codetools: parse underscore in decimals 2022-06-17 17:20:11 +02:00
Martin
caa6e333a2 Codetools: prevent endless loop in FindExpressionTypeOfTerm 2022-06-06 21:08:57 +02:00
mattias
9e762cde89 udpated makefiles 2022-05-29 19:34:19 +02:00
mattias
da07d07593 codetools: no error on unknown modeswitch 2022-05-29 15:54:10 +02:00
mattias
e8afecf3c7 codetools: pas2js: set fixed modeswitches 2022-05-28 19:56:51 +02:00
mattias
4e92b0a028 codetools: removed modeswitch clousers, added functionreferences and anonymousfunctions 2022-05-27 00:17:10 +02:00
Juha
d84f2a9ebd Lazbuild: Suppress verbose output when requested to be quiet. Issue #39752, patch by BugsBeGone. 2022-05-18 00:27:27 +03:00
Martin
2182681a6e Codetools: Add test for code-completion keywords 2022-05-03 21:59:18 +02:00
Martin
3e2872c0f7 CodeTools: remove circular ref for "keywords in code completion" 2022-05-03 21:59:18 +02:00
Martin
396d171d16 Refining the conditions when some of the keywords will be added. 2022-05-03 21:59:17 +02:00
regs01
dcf91fa0b6 Include keywords option 2022-05-03 21:59:17 +02:00
regs01
cb225ab6f1 Keywords in Code Completion list, when auto invoke 2022-05-03 21:59:17 +02:00
Martin
4d12a06af5 CodeTools: Resolve generic params when searching in ancestors. 2022-05-03 02:32:26 +02:00
Martin
599e06f718 CodeTool: Parse packed array params "procedure Foo(bar: packed array of integer)" 2022-05-02 17:44:28 +02:00
Sergey Larin
c78e9a35b8 Support UnderscoreisSeparator modeswitch.
Also ImplicitFunctionSpecialization moved to supported by FPC modeswitches.
2022-04-28 22:41:47 +03:00
mattias
34b3b9a49a IDE: paste text in pascal source: convert unicode spaces to ascii spaces 2022-04-20 23:49:41 +02:00
mattias
5d7bd18469 codetools: less debug 2022-04-16 13:08:41 +02:00
mattias
57c88852ab codetools: fixed complete event assignment keeping spaces after assign operator 2022-04-16 13:08:03 +02:00
mattias
e18dd7be66 codetools: added OnGetClassUnitName 2022-04-16 09:05:50 +02:00
Juha
ae6d20b6a4 Codetools: Add target processor names for SPARC CPU matching the names in FPC. Issue #39692. 2022-03-29 21:42:08 +03:00
Juha
9da44c1c9b Codetools: Do not crash when invoking ident completion on empty editor. Issue #39685. 2022-03-29 19:54:01 +03:00
mattias
e2ad6b3d8d codetools: parse multiline string constant 2022-03-14 16:38:07 +01:00
Martin
12530d0cfe Codetools: Fix testcase. Added "filemask" as long-option, so example invocations from unit TestFindDeclaration will work. 2022-03-11 16:59:30 +01:00
Martin
9007567a5e Codetools: Fix compilation of IFDEFed code. 2022-03-11 16:59:30 +01:00
Martin
de1c148c6e Codetools: Include fdfSearchInAncestors when resolving aliases, specializations or properties. "procedure SearchIdentifier" in "TFindDeclarationTool.FindBaseTypeOfNode". Fix issue #39498
Added test
2022-03-11 16:59:29 +01:00
Martin
0e3c87e83d Codetools: Fix setting "SubParams.Flags" in SearchIdentifier nested in TFindDeclarationTool.FindBaseTypeOfNode.
- "SubParams.Flags" originally copied flags from the outer search (masked with fdfGlobals).
- Before fa76ed282c "SubParams" was named"Params"
- In 2cbc2f4f5a the code was refactored into a subroutine. "Params" became a new local var (with a newly created instance). So "... +(fdfGlobals*Params.Flags);" no longer copied the existing flags.
2022-03-11 16:59:29 +01:00
mattias
4030fcc52c codetools: fixed TSourceLog.Replace 2022-03-09 10:02:26 +01:00
Juha Manninen
62db64ddb8 Merge branch 'codetools-internproc-add' into 'main'
Internproc processing added to CodeTools when modeswitch PrefixedAttributes

See merge request freepascal.org/lazarus/lazarus!73
2022-02-24 13:17:09 +00:00
Juha Manninen
0cec6db9e6 Merge branch 'noinline-noreturn' into 'main'
Updated supported procedure modifiers: noinline, noreturn

See merge request freepascal.org/lazarus/lazarus!72
2022-02-24 12:43:06 +00:00
mattias
26c9421318 updated Makefiles 2022-02-24 12:55:45 +01:00
Sergey Larin
ef53a0ca6e Internproc processing added to CodeTools when modeswitch PrefixedAttributes.
Implemented by analogy with `alias:'name1'` processing.
2022-02-19 14:51:03 +03:00
Sergey Larin
abf2576e8d Updated supported procedure modifiers: noinline, noreturn 2022-02-19 13:16:20 +03:00
Sergey Larin
1a49e68465 Updated the list of intrinsic functions: IsManagedType, IsConstValue 2022-02-19 12:46:48 +03:00
mattias
451ba64bde codetools: added pas2js platforms electorn and module 2022-02-05 16:18:30 +01:00
mattias
8a8bee71f8 codetools: added unitsearch path for ide to debugger 2022-01-30 19:14:45 +01:00
mattias
6183eb288d codetools: clean up 2022-01-26 13:30:42 +01:00
Marcus Sackrow
b22acaab2e codetools: include defines for Amiga-style systems 2022-01-25 18:37:20 +01:00
Juha
dfa66431c4 Codetools: Complete code correctly for "procedure xxx; forward;". Issue #39510, patch by Domingo Galmés. 2022-01-23 12:10:21 +02:00
PeaZomboss
6f8172a61a Codetools: Allow keyword const in generic parameter list. Issue #38087. 2022-01-18 23:51:27 +08:00
mattias
a374f1e5e6 cody: store only if modified 2022-01-17 12:43:55 +01:00
mattias
f97a493801 updated makefiles 2022-01-16 21:42:24 +01:00
Juha
3b0b5e67dd IDE: List different processors for i8086 target. Issue #39565. 2022-01-15 21:05:41 +02:00
Juha
42e38ce991 Revert the assignment ':=' commit. It is useless without the parameter list and fails to work always. Issue #39545. 2022-01-14 13:13:23 +02:00
Juha
2fbce3f5e6 Codetools: Feed UpperKeyword param in PascalReaderTool.PropertyHasSpecifier with uppercase strings. 2022-01-12 17:08:40 +02:00
Juha
86c5fa6b45 IDE: Do not add assignment ':=' after a variable of procedure type. Issue #39545. 2022-01-12 17:08:40 +02:00
Juha
a57cf215d3 Codetools: Update target processor types for x86_64. 2021-12-30 16:35:39 +02:00
mattias
947a183c9c codetools: added boolean8, boolean16, boolean32, boolean64 2021-12-22 23:58:25 +01:00
Ondrej Pokorny
1dac8b96e8 CodeTools: don't break one-liner class definitions like "private const". Issue 39514 2021-12-13 17:46:46 +01:00
Martin
47177f39ca Codetools: Testcase, add a few options for upcoming tests 2021-12-04 14:20:45 +01:00
mattias
de1209eefb codetools: started test for nested alias class 2021-12-04 08:43:25 +01:00
mattias
8f307159a6 codetools: fixed tests when no pas2js found 2021-12-03 12:05:40 +01:00
Juha
c3a2bf802b Codetools: Prevent identifier being added many times. A hack but works. Issue #37384. 2021-11-25 15:19:54 +02:00
Juha
021deb1dee Codetools: Formatting, cleanup. 2021-11-25 15:18:22 +02:00
Juha
2849fb27e9 Codetools: Hunt for issue #37384. 2021-11-25 02:18:38 +02:00
mattias
3891f57067 codetools: sourcecloser: warning if something is wrong with implementation section 2021-11-18 22:40:39 +01:00
mattias
f84b6b1c5a codetools: fixed parsing sub proc of anonymous proc 2021-11-18 22:40:39 +01:00
Juha
937b6bdfef Codetools: Ignore empty () in function description. Generate function body correctly. Issue #39441, patch by Domingo Galmés. 2021-10-30 23:17:29 +03:00
mattias
0354b47bc4 updated makefiles 2021-10-18 14:32:30 +02:00
Martin
8d41aa5e99 IDE: Fix endless loop in codetools. Issues #39306 and #39387 2021-10-11 13:50:48 +02:00
Juha
7ca9ba2fb6 Support more calling conventions. Issue #39405, patch by Pavel. 2021-10-04 11:10:27 +03:00
Juha
555a0bb5fc CodeTools: Support case-insensitive {$Align X} etc. directives. Issue #39339, patch by PeaZomboss. 2021-10-01 16:31:42 +03:00
Juha
8eeeef47c6 Codetools: Eliminate a variable. 2021-10-01 16:31:42 +03:00
mattias
e542d3a317 codetools: clean up 2021-08-09 18:38:49 +02:00
juha
1c9f70830c Codetools: Add webassembly and other new targets from FPC trunk. Issue #39131, patch by Alfred.
git-svn-id: trunk@65356 -
2021-07-03 21:09:29 +00:00
juha
57339c6efd CodeTools: Allow a "var" section inside a record with {$modeswitch advancedrecords}. Issue #38957, patch by Domingo Galmés.
git-svn-id: trunk@65275 -
2021-06-18 17:58:28 +00:00
mattias
91763f2247 set trunk version to 2.3.0
git-svn-id: trunk@65242 -
2021-06-15 14:00:39 +00:00
maxim
d2acf5f8b8 CodeTools: fixed typo in TryFirstLocalIdentOccurence function name
git-svn-id: trunk@65209 -
2021-06-10 22:31:48 +00:00
maxim
14a12ecb59 CodeTools: fixed typos related to 'occur' word
git-svn-id: trunk@65193 -
2021-06-10 22:07:39 +00:00
mattias
e70b03a463 codetools: readparamtype: use ReadTypeReference
git-svn-id: trunk@65081 -
2021-05-02 15:37:01 +00:00
mattias
8fb7b558f3 codetools: test GenericsDelphi_FuncParam
git-svn-id: trunk@65080 -
2021-05-02 15:33:23 +00:00
pascal
246e2a5ac2 codetools: extended test (some are still failing)
git-svn-id: trunk@65072 -
2021-04-30 10:38:31 +00:00
pascal
7a252352cf codetools: added new test: find declaration for generic lists and arrays with member of default array property (still fails for generic array)
git-svn-id: trunk@65071 -
2021-04-30 10:32:34 +00:00
pascal
d1fdd59831 codetools: fixed program name of test
git-svn-id: trunk@65070 -
2021-04-30 04:59:19 +00:00
pascal
4e21c34991 codetools: partly fixed find declaration for members of default array property
git-svn-id: trunk@65069 -
2021-04-30 00:42:41 +00:00
pascal
88eaecc93d codetools: added new test
git-svn-id: trunk@65068 -
2021-04-30 00:37:11 +00:00
mattias
b9fb3cc8bc codetools: FindDeclarationOfIdentAtParam return proc head instead of proc
git-svn-id: trunk@65010 -
2021-04-17 11:22:26 +00:00
mattias
4a77082939 codetools: test rename proc
git-svn-id: trunk@65009 -
2021-04-17 11:21:39 +00:00
pascal
cb6eb68d7e codetools: added test TTestRefactoring.TestRenameProcReferences
git-svn-id: trunk@64998 -
2021-04-15 12:40:31 +00:00
pascal
052438a840 codetools: test for regression due to generic type fixes
git-svn-id: trunk@64980 -
2021-04-13 08:16:29 +00:00
mattias
01bf54a2cc codetools: test RenameIdentifier
git-svn-id: trunk@64978 -
2021-04-12 18:49:28 +00:00
mattias
55040cc650 codetools: added test for FindDeclaration proc property
git-svn-id: trunk@64966 -
2021-04-11 15:49:23 +00:00
mattias
25a802c34b codetools: fix for fpc 3.2+
git-svn-id: trunk@64965 -
2021-04-11 14:59:24 +00:00
mattias
13450f46a2 codetools: FindReferences for unit names
git-svn-id: trunk@64931 -
2021-04-06 00:11:28 +00:00
mattias
bd5b47ce14 codetools: GetCompatiblePublishedMethods check if class or property missing
git-svn-id: trunk@64842 -
2021-03-20 11:28:01 +00:00
pascal
1ceca464e8 codetools: added DISCARDRESULT to IsKeyWordProcedureSpecifier
git-svn-id: trunk@64817 -
2021-03-15 10:08:54 +00:00
juha
2fa9987008 IDE, Codetools: Simplify LoadAncestorDependencyHidden. Use "out" parameter when appropriate.
git-svn-id: trunk@64762 -
2021-03-07 13:24:51 +00:00
mattias
4ec7483328 codetools: updated controller types, issue #38596
git-svn-id: trunk@64761 -
2021-03-07 11:39:46 +00:00
mattias
8faf2f2b80 codetools: fixed event assignment completion keep spaces in front of := operator
git-svn-id: trunk@64750 -
2021-03-05 18:26:11 +00:00
juha
9046b533af LazUtils: New LazStartsStr and similar functions. StartsStr etc. in StrUtils return False for empty sub-string, thus Delphi incompatible.
git-svn-id: trunk@64743 -
2021-03-04 08:58:54 +00:00
mattias
16eb8abc21 cody: fixed vk_up on empty
git-svn-id: trunk@64724 -
2021-03-02 18:04:30 +00:00
mattias
341a3f7a74 codetools: fixed TFindDeclarationTool.FindUnitReferences search in uses section, bug #38559
git-svn-id: trunk@64704 -
2021-02-28 23:34:09 +00:00
mattias
bacadab499 codetools: less hints
git-svn-id: trunk@64699 -
2021-02-28 22:39:26 +00:00
mattias
ed63a0aaea codetools: less hints
git-svn-id: trunk@64696 -
2021-02-28 22:12:36 +00:00
mattias
d3ab310266 codetools: fixed parsing var w:word platform = 1 platform
git-svn-id: trunk@64692 -
2021-02-28 21:33:21 +00:00
mattias
17781940eb codetools: added tests
git-svn-id: trunk@64691 -
2021-02-28 21:32:43 +00:00
mattias
4ba43eba0b codetools: fixed parsing var c:word = 1 deprecated, issue #38554
git-svn-id: trunk@64688 -
2021-02-28 08:59:14 +00:00
mattias
f7e8f4b52e codetools: test bug #38554
git-svn-id: trunk@64687 -
2021-02-28 08:58:42 +00:00
mattias
ac82b9e9bc codetools: less hints
git-svn-id: trunk@64683 -
2021-02-28 08:51:52 +00:00
martin
06eb834614 Implement "Select code block"
git-svn-id: trunk@64672 -
2021-02-26 22:01:33 +00:00
mattias
9baf8fe81d codetools: fixed GetSmartHint other unit
git-svn-id: trunk@64603 -
2021-02-17 13:59:24 +00:00
juha
3f78f0d62d New optimized functions in LazUtils: FilenameExtIs and FilenameExtIn. Used instead of CompareFileExt and similar.
git-svn-id: trunk@64583 -
2021-02-15 08:43:50 +00:00
mattias
62c37ad72a updated Makefiles
git-svn-id: trunk@64567 -
2021-02-13 13:01:14 +00:00
juha
77e6853ca6 Components: Reduce calls to LowerCase().
git-svn-id: trunk@64515 -
2021-02-10 13:43:15 +00:00
juha
4733d3b7a1 Fix compilation with FPC 3.0.4.
git-svn-id: trunk@64498 -
2021-02-05 20:07:12 +00:00
juha
0feb7a5662 Codetools, Debugger: Use a faster compare method for case-insensitive strings and StringLists.
git-svn-id: trunk@64465 -
2021-02-05 11:28:11 +00:00
juha
2ba0ae90c4 IDE: Formatting and cleanup.
git-svn-id: trunk@64438 -
2021-01-29 19:58:57 +00:00
juha
aeb086e9c0 IDE, Codetools: Restore CodeToolBoss.DefineTree.ClearCache calls that were removed in optimization.
git-svn-id: trunk@64417 -
2021-01-24 12:42:50 +00:00
juha
b092cee8be IDE: Optimize DefineTemplates updates for packages and project.
git-svn-id: trunk@64405 -
2021-01-19 09:20:34 +00:00
juha
dcf754c7c8 Codetools: Refactoring, move sub-procedure CalculateTemplate out from TDefineTree.Calculate.
git-svn-id: trunk@64394 -
2021-01-16 06:44:17 +00:00
juha
42850cfe4d LazUtils: Deprecate now obsolete unit LazUtf8Classes and remove its references from Lazarus code.
git-svn-id: trunk@64384 -
2021-01-14 12:41:32 +00:00
juha
36968885dd LazUtils: Rename function FilenameIsPascalUnit -> FilenameHasPascalExt. Clashed with a function in Codetools. Update references.
git-svn-id: trunk@64376 -
2021-01-11 16:16:58 +00:00
juha
3ea7788cbf Optimize CompareFileExt in different ways. Comparison of FPC/Lazarus generated files can be case-sensitive.
git-svn-id: trunk@64374 -
2021-01-10 19:07:52 +00:00
juha
edc2cc5dbb Fix StandardCodeTool.HasInterfaceRegisterProc. Simplify code for checking added unit files.
git-svn-id: trunk@64156 -
2020-11-23 10:26:46 +00:00
pascal
31d43390f6 codetools: threadvar support for pascalparsertool. Issue #36947, patch from Delcio Sbeghen.
git-svn-id: trunk@64146 -
2020-11-17 19:25:20 +00:00
juha
4321fbf6e5 LazUtils: move procedure ReplaceSubstring from LazUTF8 to LazStringUtils.
git-svn-id: trunk@64081 -
2020-10-29 15:45:34 +00:00
juha
78d5022afa IDE: Minor optimization, cleanup and formatting.
git-svn-id: trunk@64047 -
2020-10-22 13:35:04 +00:00
juha
ebad1d78ef IDE: Add iOS as target. Issue #37869, patch from Alfred.
git-svn-id: trunk@63987 -
2020-10-09 18:39:07 +00:00
mattias
9e19eed0b3 codetools: added intrinsic GetTypeKind
git-svn-id: trunk@63832 -
2020-08-26 19:09:33 +00:00
pascal
da8c2d75b5 codetools: generate local var for Length() with type SizeInt
git-svn-id: trunk@63800 -
2020-08-21 07:43:13 +00:00
pascal
7fefade33f codetools: changed some types of fpc intrinsics from Integer to SizeInt
git-svn-id: trunk@63799 -
2020-08-21 06:40:19 +00:00
pascal
4787a58f27 codetools: fixed identifier completion in or behind empty string. Issue #26964
git-svn-id: trunk@63798 -
2020-08-20 11:41:33 +00:00
mattias
ec9a94e00b codetools: added SetString overloads
git-svn-id: trunk@63683 -
2020-08-03 20:55:53 +00:00
mattias
708776f819 codetools: added SetString overloads
git-svn-id: trunk@63681 -
2020-08-03 20:53:27 +00:00
mattias
9f37792f79 codetools: added SetString overloads
git-svn-id: trunk@63679 -
2020-08-03 20:50:29 +00:00
mattias
32f1e69fdd codetools: search unit first in current directory, issue #37466
git-svn-id: trunk@63675 -
2020-08-02 16:27:24 +00:00
mattias
c85295938d codetools: tests: less hints, test search in virtual sub dir
git-svn-id: trunk@63674 -
2020-08-02 16:18:21 +00:00
mattias
2a1638310f codetools: added winapi proc modifier, issue #36927
git-svn-id: trunk@63633 -
2020-07-23 13:39:46 +00:00
juha
4fde982e86 Codetools: Find form's ancestor also when a generic form is specialized. Issue #37396, patch from Imants Gulbis.
git-svn-id: trunk@63627 -
2020-07-22 20:16:22 +00:00
mattias
61c53d6f41 LazUtils/FreeType: Separate FreeType stuff into its own package
git-svn-id: trunk@63558 -
2020-07-14 18:09:17 +00:00
mattias
8ceb09a67b make: changed default darwin lcl platform from carbon to cocoa
git-svn-id: trunk@63551 -
2020-07-13 09:00:41 +00:00
maxim
8a7112535d Translations: Chinese translation update by robsean, bug #37290
git-svn-id: trunk@63485 -
2020-07-01 21:39:48 +00:00
mattias
9dcd9ee04d updated makefiles
git-svn-id: trunk@63453 -
2020-06-28 11:01:41 +00:00
mattias
494953483e codetools: updated fallback fpc msg file
git-svn-id: trunk@63451 -
2020-06-27 19:47:52 +00:00
mattias
cefb52cf69 codetools: test add unit does not break dotted names
git-svn-id: trunk@63406 -
2020-06-20 16:03:16 +00:00
mattias
665ab3cba6 codetools: AddUnitToMainUsesSection using flags, test
git-svn-id: trunk@63404 -
2020-06-20 15:52:42 +00:00
maxim
b91524a887 Translations: Ukrainian translation update by Olexandr Pylypchuk, bug #37201
git-svn-id: trunk@63346 -
2020-06-12 15:01:32 +00:00
maxim
1db124462b CodeTools: cleaned up outdated codetools/languages/README.txt contents
git-svn-id: trunk@63340 -
2020-06-10 15:57:34 +00:00
mattias
7c7f225d4f codetools: parse proc modifier async, built-in function await
git-svn-id: trunk@63192 -
2020-05-21 10:22:41 +00:00
mattias
9364c88e45 codetools: support for xtensa cpu and freertos OS, issue #37097, from Christo Crause
git-svn-id: trunk@63185 -
2020-05-19 12:51:38 +00:00
mattias
ac6b80f0c2 codetools: fixed extract generic type param names, issue #37081, from Pascal Riekenberg
git-svn-id: trunk@63181 -
2020-05-18 10:29:22 +00:00
mattias
c64cd287c5 codetools: var completion of for-var-in-genericarray, from Pascal Riekenberg, issue #37076
git-svn-id: trunk@63160 -
2020-05-15 09:37:49 +00:00
mattias
9083125eb6 codetools: fixed semicolon after specialize on class completion, from Pascal Riekenberg
git-svn-id: trunk@63159 -
2020-05-15 08:37:03 +00:00
mattias
eb33c352df codetools: test parsing nested generic inline expression, from Pascal Riekenberg
git-svn-id: trunk@63149 -
2020-05-14 08:18:22 +00:00
mattias
9aa25f1ba7 codetools: extract generic type reference, from Pascal Riekenberg
git-svn-id: trunk@63148 -
2020-05-14 08:17:17 +00:00
mattias
36e7acabf5 codetools: fixed AV
git-svn-id: trunk@63138 -
2020-05-12 17:19:27 +00:00
mattias
1c9deb7a4c codetools: undo patch r62693 #d1b15edcfe, it broke some tests
git-svn-id: trunk@63137 -
2020-05-12 17:08:22 +00:00
mattias
797768a965 codetools: code completion for "FOR var IN" with generic class, from Pascal Riekenberg
git-svn-id: trunk@63136 -
2020-05-12 16:47:24 +00:00