Commit Graph

599 Commits

Author SHA1 Message Date
mattias
fb8fc48319 codetools: fixed continuing parsing after source name
git-svn-id: trunk@55948 -
2017-09-30 14:29:25 +00:00
mattias
4cee79f31d codetools: fixed skipping sourcename, added TPascalParserTool.FindUsesNode
git-svn-id: trunk@55946 -
2017-09-30 13:52:10 +00:00
mattias
fef3d14b6d codetools: fixed skipping program name nodes
git-svn-id: trunk@55855 -
2017-09-13 18:43:33 +00:00
mattias
80021aec47 codetools: fixed RemoveUnitFromAllUsesSections
git-svn-id: trunk@55853 -
2017-09-13 18:22:15 +00:00
mattias
bfadc91c3c codetools: find declaration of dotted program name
git-svn-id: trunk@55851 -
2017-09-13 18:05:15 +00:00
mattias
edd5ed40ee codetools: parse generic function
git-svn-id: trunk@55485 -
2017-07-10 18:26:50 +00:00
mattias
497a08de97 codetools: renamed cmsBlocks to cmsCBlocks, because less confusing
git-svn-id: trunk@54831 -
2017-05-08 11:53:32 +00:00
mattias
aa5717bb55 codetools: search units with namespaces
git-svn-id: trunk@54745 -
2017-04-26 18:36:04 +00:00
mattias
a8d6670895 codetools: fixed parsing array
git-svn-id: trunk@54729 -
2017-04-25 09:52:21 +00:00
mattias
22350effc4 codetools: parse multi dim arrays, patch from Paul W, issue #25045
git-svn-id: trunk@54719 -
2017-04-25 07:08:42 +00:00
mattias
e96ede4637 codetools: code completion: add proc for procvar: fixed reference-to
git-svn-id: trunk@54692 -
2017-04-22 18:10:28 +00:00
mattias
a378409b29 codetools: added unique ids for errors
git-svn-id: trunk@54663 -
2017-04-21 18:35:53 +00:00
mattias
00d6a447b5 codetools: fixed resolving function result, simplified code
git-svn-id: trunk@54649 -
2017-04-20 11:36:37 +00:00
mattias
5ad98a7bcf codetools: ctnReferencTo for typeinfo, code hints and type check
git-svn-id: trunk@54642 -
2017-04-19 11:49:51 +00:00
mattias
0236e179c3 codetools: referenceto: fixed endpos
git-svn-id: trunk@54637 -
2017-04-19 10:34:54 +00:00
juha
ffa67e0ff4 Fix compilation of Codetools examples and wiki test project. Clean uses sections.
git-svn-id: trunk@54563 -
2017-04-07 19:02:11 +00:00
juha
e800a738ad Copy AVL_Tree from FPC trunk and replace classes in AvgLvlTree and in CodetoolsStructs with it.
The unit in FPC packages will be used directly later.

git-svn-id: trunk@54524 -
2017-04-05 08:34:48 +00:00
mattias
1352581471 codetools: skip keywords in asm..blocks
git-svn-id: trunk@54508 -
2017-04-02 23:34:00 +00:00
mattias
16c115f088 codetools: parse class var external
git-svn-id: trunk@54492 -
2017-03-27 22:51:14 +00:00
mattias
52bcdebadd codetools: added compiler type pas2js
git-svn-id: trunk@54488 -
2017-03-27 20:50:08 +00:00
mattias
33bab6516c codetools: parsing external class field
git-svn-id: trunk@54479 -
2017-03-24 20:47:12 +00:00
mattias
d5881ef02e codetools: implemented modeswitch externalclass
git-svn-id: trunk@54470 -
2017-03-23 10:51:07 +00:00
mattias
f239ef10b3 codetools: forward proc completion: assembler modifier
git-svn-id: trunk@54287 -
2017-02-27 00:04:45 +00:00
mattias
8ab48719ee codetools: pas2js: use define instead of mode
git-svn-id: trunk@54285 -
2017-02-26 22:36:39 +00:00
mattias
9a663cc51d codetools: added compiler mode pas2js
git-svn-id: trunk@54284 -
2017-02-26 22:18:28 +00:00
hnb
11563b2959 codetools: parser: Compatibility with FPC management operators: rename Copy to AddRef and Clone to Copy
git-svn-id: trunk@54196 -
2017-02-19 16:43:30 +00:00
joost
1de2cbf586 general: Updated address of the Free Software Foundation in copyright messages
git-svn-id: trunk@54031 -
2017-01-29 21:04:32 +00:00
mattias
c9680cf88a codetools: parser: added class operator copy and clone
git-svn-id: trunk@53706 -
2016-12-17 18:06:59 +00:00
mattias
418b895590 codetools: parsing operators Initialize and Finalize
git-svn-id: trunk@53682 -
2016-12-14 15:44:21 +00:00
mattias
2b61a95171 codetools: fixed setting EndPos of ctnGenericParam, bug #30489
git-svn-id: trunk@52844 -
2016-08-20 17:30:17 +00:00
mattias
c2aed806b6 codetools: ExtractProcHead: phpAddParentProcs
git-svn-id: trunk@52683 -
2016-07-14 07:42:59 +00:00
mattias
baadaff802 codetools: parse proc modifier compilerproc:id, bug #30237
git-svn-id: trunk@52444 -
2016-06-06 09:03:59 +00:00
ondrej
3fc41dac19 codetools: support hint modifiers not separated with semicolons as shown in FPC r32985 #207d40aab6, issue #29461.
git-svn-id: trunk@51396 -
2016-01-23 23:28:42 +00:00
mattias
1bd944bb80 codetools: fixed parsing parameter modifier location on m68k and powerpc, bug #29350
git-svn-id: trunk@51313 -
2016-01-18 16:17:16 +00:00
ondrej
90b92def4e codetools: pascalreadertool: support TGenericClass<TypeReference,TypeReference>.TNestedClass (delphi mode)
git-svn-id: trunk@51140 -
2016-01-02 22:14:28 +00:00
mattias
01acb9a1bc codetools: fixed parsing variable hint modifiers not behind semicolon
git-svn-id: trunk@50721 -
2015-12-09 17:02:02 +00:00
mattias
399acc7c84 codetools: find declaration: simple find specialized ancestor
git-svn-id: trunk@50348 -
2015-11-16 22:19:30 +00:00
ondrej
fb34c4b45f codetools: code creation support in a parameter of procedure variables.
git-svn-id: trunk@50308 -
2015-11-11 19:31:19 +00:00
ondrej
d49143fd83 IDE, CodeTools: support for unit names with dots. Issue #22235
git-svn-id: trunk@50266 -
2015-11-09 22:23:19 +00:00
mattias
ab78cd25a0 codetools: start ctnWithStatement right behind do
git-svn-id: trunk@50263 -
2015-11-09 16:31:55 +00:00
mattias
348bc7ef4c codetools: allow "helper" variable in object
git-svn-id: trunk@49645 -
2015-08-11 12:13:32 +00:00
mattias
bb5f1d11a6 codetools: modeswitch objectivec1,2: check keywords objcclass,category,protocol only in this mode switch, fixed finding NSObject, hack for searching objccategory removed
git-svn-id: trunk@49641 -
2015-08-11 11:56:02 +00:00
juha
5f8660b1de CodeTools, JCF: Support more procedure directives. Issue #28462, patch from Jeppe Johansen.
git-svn-id: trunk@49591 -
2015-08-03 22:21:59 +00:00
mattias
699bdb9e8f codetools: class helpers: find declaration and code completion, patch #28266, from Ondrej Pokorny
git-svn-id: trunk@49405 -
2015-06-22 10:02:11 +00:00
mattias
913b752bcc codetools: clean up
git-svn-id: trunk@49345 -
2015-06-16 10:59:22 +00:00
mattias
ef8ec94a3e codetools: added deprecated Find*UsesSection for compatibility
git-svn-id: trunk@49343 -
2015-06-16 09:30:23 +00:00
mattias
2f643bd4d4 codetools: move Find*UsesSection to TPascalParserTool, issue #28285
git-svn-id: trunk@49342 -
2015-06-16 09:22:42 +00:00
juha
04f6320077 Codetools: Support method names escaped with '&' in class completion. Issue #28227, patch from Ondrej Pokorny.
git-svn-id: trunk@49308 -
2015-06-10 09:02:54 +00:00
mattias
7f9a598f7d codetools: clean up
git-svn-id: trunk@48665 -
2015-04-06 17:57:38 +00:00
mattias
838eb3d9c4 codetools: clean up
git-svn-id: trunk@48664 -
2015-04-06 17:50:54 +00:00
mattias
aa026d9f75 codetools: fixed TPascalParserTool.ReadBackTilBlockEnd, bug #27755
git-svn-id: trunk@48636 -
2015-04-05 19:00:26 +00:00
mattias
06a9c32cae codetools: parse type helper
git-svn-id: trunk@48539 -
2015-03-30 16:24:22 +00:00
juha
232c983159 CodeTools: Initialize variables based on compiler warnings. Contains ToDo items.
git-svn-id: trunk@48480 -
2015-03-24 17:51:40 +00:00
mattias
bd40b2a638 codetools: fixed parsing class n:t; public in targetcpu=jvm
git-svn-id: trunk@48326 -
2015-03-13 00:06:00 +00:00
mattias
598e03ed42 codetools: fixed rebuilding nodes when targetcpu changed
git-svn-id: trunk@48270 -
2015-03-11 18:05:43 +00:00
mattias
00d2898a47 codetools: implemented parsing jvm class external as no forrward, searching indirect ancestors
git-svn-id: trunk@48268 -
2015-03-11 17:21:34 +00:00
mattias
649a39e0f8 codetools: parse const section
git-svn-id: trunk@46914 -
2014-11-20 23:01:56 +00:00
mattias
8b6feba2d7 codetools: parse var modifier section on target embedded
git-svn-id: trunk@46646 -
2014-10-23 07:51:19 +00:00
mattias
f5e2ee41a5 codetools: find declaration and gather identifiers: labels, issue #26882
git-svn-id: trunk@46592 -
2014-10-18 10:22:38 +00:00
mattias
1d3dd52ffa codetools: parse reference to
git-svn-id: trunk@45936 -
2014-07-20 17:54:29 +00:00
mattias
db99ffe7f8 codetools: clean up
git-svn-id: trunk@45912 -
2014-07-18 13:20:34 +00:00
mattias
8da67d53d9 codetools: parse -is block-
git-svn-id: trunk@45890 -
2014-07-16 12:41:27 +00:00
mattias
233aa40f42 codetools: allow exports keyword in units, bug #25724
git-svn-id: trunk@45470 -
2014-06-10 20:16:59 +00:00
mattias
46d144081e codetools: ExtractProcHead: omit skip comments
git-svn-id: trunk@44926 -
2014-05-05 13:08:40 +00:00
mattias
b641e949dc codetools: fixed parsing var n:t platform=1
git-svn-id: trunk@44271 -
2014-02-26 22:42:10 +00:00
mattias
c8dcad58c9 codetools: identifier completion: list global properties
git-svn-id: trunk@44254 -
2014-02-26 19:11:12 +00:00
mattias
e1fcd95d23 codetools: parse asm: allow @keyword
git-svn-id: trunk@44252 -
2014-02-26 18:38:53 +00:00
mattias
27f1cc4c94 codetools: read var postfix modifiers without first semicolon, bug #25537
git-svn-id: trunk@43752 -
2014-01-17 12:54:55 +00:00
mattias
f8d3895843 codetools: read var postfix modifiers without first semicolon, bug #25543
git-svn-id: trunk@43751 -
2014-01-17 10:54:36 +00:00
paul
4db78960d0 codetools: understand 'noreturn' procedure modifier
git-svn-id: trunk@43643 -
2014-01-04 14:33:24 +00:00
mattias
22c5d60fd4 codetools: nicer error message on procedure return type
git-svn-id: trunk@43455 -
2013-11-18 00:22:20 +00:00
mattias
b1dfaeda44 codetools: parsing type hint modifiers
git-svn-id: trunk@43215 -
2013-10-12 09:05:35 +00:00
mattias
6849f265a6 codetools: simplified code
git-svn-id: trunk@43214 -
2013-10-12 08:53:28 +00:00
mattias
9362ac2278 codetools: var initial value of local vars
git-svn-id: trunk@43208 -
2013-10-11 15:25:40 +00:00
mattias
32d0c4f93c codetools: vr hint modifiers only in modes objfpc, delphi and delphiunicode
git-svn-id: trunk@43205 -
2013-10-11 13:13:13 +00:00
mattias
c4e879f295 codetools: var absolute in var sections
git-svn-id: trunk@43204 -
2013-10-11 13:11:36 +00:00
mattias
31589931c9 codetools: var notes only for global vars
git-svn-id: trunk@43203 -
2013-10-11 13:04:09 +00:00
mattias
9387ec5faf codetools: var initial values only for global vars
git-svn-id: trunk@43202 -
2013-10-11 13:03:06 +00:00
mattias
f978dc9fd0 codetools: absolute keyword only for local vars
git-svn-id: trunk@43201 -
2013-10-11 13:01:26 +00:00
paul
4e0f910563 codetools: fix parsing of "specialize SomeGeneric<TypeParams>" as function/operator result (this fixes error with parsing of new objpas generics)
git-svn-id: trunk@42846 -
2013-09-17 03:44:24 +00:00
mattias
f68c999a04 codetools: fixed parsing var type deprecated )
git-svn-id: trunk@42844 -
2013-09-16 15:55:35 +00:00
mattias
75902ea949 codetools: syntax error if parameter type is missing
git-svn-id: trunk@42843 -
2013-09-16 15:36:05 +00:00
mattias
fdb9a6258b codetools: fixed parsing hint modifiers in resourcestring
git-svn-id: trunk@42789 -
2013-09-14 01:31:32 +00:00
mattias
5faa53a9a4 codetools: fixed parsing hint modifiers without semicolon
git-svn-id: trunk@42787 -
2013-09-13 23:47:47 +00:00
mattias
82f068abd7 codetools: fixed parsing multiple hint modifiers
git-svn-id: trunk@42786 -
2013-09-13 23:29:30 +00:00
mattias
9a19939660 codetools: methodjump: ignore initialization section
git-svn-id: trunk@42201 -
2013-07-25 12:28:05 +00:00
mattias
f7a0b09e98 codetools: clean up
git-svn-id: trunk@41884 -
2013-06-25 09:27:24 +00:00
juha
e724b2befa Codetools: formatting
git-svn-id: trunk@41574 -
2013-06-07 11:21:33 +00:00
mattias
a7ceaf11d7 codetools: create ctnUseUnit nodes for contains, FindMissingUnits fixes contains
git-svn-id: trunk@41556 -
2013-06-05 20:02:06 +00:00
mattias
8fe38c58a3 codetools: procedure specifier syscall
git-svn-id: trunk@41073 -
2013-05-08 17:42:27 +00:00
juha
3cad2a3828 Codetools: Add support for files in program header. Issue #23277, patch from Anton
git-svn-id: trunk@40908 -
2013-04-28 14:33:05 +00:00
mattias
ea88f1f9bd codetools: fixed class completion and method jumping for generic methods in delphi mode, bug #23496
git-svn-id: trunk@40454 -
2013-03-01 19:47:22 +00:00
mattias
599083582c codetools: do not increase TreeChangeStep if nothing changed
git-svn-id: trunk@39905 -
2013-01-19 23:28:44 +00:00
mattias
e119532987 codetools: do not end implementation at uses section
git-svn-id: trunk@39903 -
2013-01-19 22:52:19 +00:00
mattias
a5bf4cd13b codetools: better debugging out
git-svn-id: trunk@39900 -
2013-01-19 19:56:48 +00:00
mattias
f568eeece5 codetools: UpdateNeeded: when sources changed, clear last error
git-svn-id: trunk@39899 -
2013-01-19 19:41:56 +00:00
mattias
fbcab8dfee codetools: more verbosity for scan range
git-svn-id: trunk@39896 -
2013-01-19 18:35:33 +00:00
mattias
724fca703f codetools: more verbosity for scan angw
git-svn-id: trunk@39895 -
2013-01-19 18:22:09 +00:00
mattias
f4f57577c9 codetools: parse generic constraints, bug #23496
git-svn-id: trunk@39822 -
2013-01-10 17:14:05 +00:00
mattias
06fd9d01ec codetools: ignore then without else, else without if/case
git-svn-id: trunk@39734 -
2013-01-02 18:19:07 +00:00