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