Commit Graph

590 Commits

Author SHA1 Message Date
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
mattias
3162b45928 codetools: parse without error if end
git-svn-id: trunk@39728 -
2013-01-02 11:39:48 +00:00
mattias
33e29aca8a codetools: fixed parsing on e:exception do ;, bug #23549
git-svn-id: trunk@39681 -
2012-12-29 12:08:34 +00:00
mattias
af39ff4c28 codetools: fixed parsing on e:exception do ; else, bug #23549
git-svn-id: trunk@39680 -
2012-12-29 12:05:04 +00:00
mattias
15f0c7aa65 codetools: parsing else else, bug #23497
git-svn-id: trunk@39669 -
2012-12-27 23:36:39 +00:00
mattias
b9f6d06750 codetools: fixed parsing if-then-else without ending semicolon, bug #23544
git-svn-id: trunk@39658 -
2012-12-26 22:23:20 +00:00
mattias
4bfe7a4109 codetools: clean up
git-svn-id: trunk@39657 -
2012-12-26 22:03:48 +00:00
mattias
17337ba49d codetools: parsing if-then-else in TPascalParserTool.ReadTilBlockEnd, bug #23542
git-svn-id: trunk@39656 -
2012-12-26 19:38:02 +00:00
mattias
e4a6b07ebc codetools: add default class section for short classes
git-svn-id: trunk@39126 -
2012-10-18 11:53:07 +00:00
mattias
04176d39b8 codetools: fixed reusing scanrange of implementation uses section
git-svn-id: trunk@38523 -
2012-09-05 10:52:22 +00:00
mattias
d55829b176 codetools: fixed reusing scanrange of implementation uses section
git-svn-id: trunk@38522 -
2012-09-05 10:50:04 +00:00
mattias
20382c7ed0 codetools: skipped code is now converted to special comments
git-svn-id: trunk@38521 -
2012-09-05 10:47:44 +00:00
mattias
ac5fdad655 undo
git-svn-id: trunk@38292 -
2012-08-21 07:48:52 +00:00
mattias
8700716f40 codetools: example for skipped code
git-svn-id: trunk@38291 -
2012-08-21 07:47:20 +00:00
mattias
ecbd0c365e codetools: objcclass: default section is published
git-svn-id: trunk@37994 -
2012-07-21 20:45:34 +00:00
mattias
e711cf6069 codetools: no var node for anonymous record case variables
git-svn-id: trunk@37631 -
2012-06-12 10:47:38 +00:00
mattias
ee85c477b2 codetools: allow keywords in program name
git-svn-id: trunk@37483 -
2012-06-02 13:52:58 +00:00
mattias
24dcd68f83 codetools: save parse error of operator, do not save errors outside parser, fixed parsing method name with generic parameter
git-svn-id: trunk@37482 -
2012-06-02 13:47:16 +00:00
mattias
ff6ee10d04 codetools: clear nodes behind, when linkscanner parsed only parts
git-svn-id: trunk@37476 -
2012-06-02 01:41:20 +00:00
mattias
42994e213e codetools: fixed parsing parameter types with units, bug #21985
git-svn-id: trunk@37219 -
2012-05-08 13:17:02 +00:00
mattias
1eca771511 codetools: save less errors
git-svn-id: trunk@37214 -
2012-05-07 16:13:24 +00:00
mattias
855af79e42 codetools: do not save errors outside parser
git-svn-id: trunk@37213 -
2012-05-07 16:04:57 +00:00
mattias
ad932b2c33 codetools: leave implementation,initialization,finalization nodes open, error handling will close them, bug #21831
git-svn-id: trunk@36977 -
2012-04-22 19:11:43 +00:00
mattias
ef54620381 codetools: fixed reparsing initialization, finalization, begin
git-svn-id: trunk@36972 -
2012-04-22 17:51:21 +00:00
mattias
a44a227419 codetools: fixed parsing array without of
git-svn-id: trunk@35412 -
2012-02-17 09:58:18 +00:00
mattias
5f47718cdd codetools: when cursor pos outside code: give more details
git-svn-id: trunk@35178 -
2012-02-06 12:37:28 +00:00
mattias
ec66ae883a codetools: parse class helper
git-svn-id: trunk@35047 -
2012-01-31 02:25:25 +00:00
mattias
00ccb9351a codetools: parse headerless program: parse starting with a procedure
git-svn-id: trunk@35001 -
2012-01-28 18:12:43 +00:00
mattias
cb398e865c codetools: added operator ><
git-svn-id: trunk@34991 -
2012-01-28 17:04:18 +00:00
mattias
98a0eef795 codetools: parse initialization with with statements
git-svn-id: trunk@34956 -
2012-01-26 15:19:57 +00:00
mattias
b09a26670a codetools: FindProcNode: read name of a class operator
git-svn-id: trunk@34887 -
2012-01-23 18:07:14 +00:00
mattias
0ba4bd89c0 codetools: parse class operators
git-svn-id: trunk@34886 -
2012-01-23 17:49:30 +00:00
mattias
a51a9f729f codetools: parse class operator =, bug #21128
git-svn-id: trunk@34880 -
2012-01-22 22:52:32 +00:00
mattias
3e692990e1 codetools: fixed crash parsing operator with invalid name
git-svn-id: trunk@34879 -
2012-01-22 22:44:23 +00:00
mattias
d3a30108d6 codetools: started parsing class operator symbol
git-svn-id: trunk@34877 -
2012-01-22 20:40:13 +00:00
mattias
42006c76d8 codetools: fixed parsing const public
git-svn-id: trunk@34791 -
2012-01-19 10:01:12 +00:00
mattias
d5188c4108 codetools: parse resourcestring starting with an identifier, bug #8485
git-svn-id: trunk@34771 -
2012-01-18 11:10:23 +00:00
mattias
f8a838fe73 codetools: target jvm: default class ancestor is jlobject
git-svn-id: trunk@34564 -
2012-01-03 17:28:56 +00:00
mattias
da5eb3a03e codetools: new java features when cpujvm is defined
git-svn-id: trunk@34483 -
2011-12-28 23:45:45 +00:00
mattias
b03ad1543e codetools: clean up
git-svn-id: trunk@34478 -
2011-12-28 22:06:49 +00:00
mattias
544e05b6e9 codetools: static keyword only for objects
git-svn-id: trunk@34477 -
2011-12-28 22:04:14 +00:00
mattias
5a60b9e824 codetools: jvm class interface var modifier external
git-svn-id: trunk@34438 -
2011-12-26 17:47:50 +00:00
mattias
d3dc2cb54f codetools: class interface, const section followed by function
git-svn-id: trunk@34436 -
2011-12-26 15:28:55 +00:00
mattias
623df51893 codetools: parsing class var external
git-svn-id: trunk@34432 -
2011-12-26 13:31:18 +00:00
mattias
abcae707c6 codetools: parser: read jvm class sealed external
git-svn-id: trunk@34426 -
2011-12-26 12:34:38 +00:00
mattias
43032a6b67 codetools: parser: read jvm interface external
git-svn-id: trunk@34425 -
2011-12-26 12:32:06 +00:00
mattias
fefa5733c2 codetools: no public, cvar in class const
git-svn-id: trunk@34423 -
2011-12-26 11:48:20 +00:00
mattias
a0e93a9f05 codetools: parse jvm class section final var
git-svn-id: trunk@34353 -
2011-12-21 15:34:54 +00:00
mattias
bd8b3fd2e2 codetools: parsing subclasses in function result type
git-svn-id: trunk@34316 -
2011-12-20 08:38:04 +00:00
mattias
3f6db54739 codetools: on jvm target: parse class external stringpkgname name stringclassname
git-svn-id: trunk@34299 -
2011-12-19 23:31:04 +00:00
mattias
5f133c313c codetools: parse parameter type a.b.c
git-svn-id: trunk@34214 -
2011-12-16 00:11:38 +00:00
mattias
721ad9284e codetools: do not parse public after class member variable, bug #20713
git-svn-id: trunk@33740 -
2011-11-23 23:18:35 +00:00
mattias
9b4fd7d602 codetools: fixed parsing interface
git-svn-id: trunk@33718 -
2011-11-23 08:57:18 +00:00
mattias
3bcc8975d1 codetools: class sections required, optional only for objcprotocol
git-svn-id: trunk@33704 -
2011-11-22 22:58:11 +00:00
mattias
2e0870f4d0 codetools: class sections required, optional only for objcprotocol
git-svn-id: trunk@33703 -
2011-11-22 22:44:09 +00:00
mattias
8936771e6d codetools: added class sections for objcprotocol: required, optional
git-svn-id: trunk@33701 -
2011-11-22 21:46:09 +00:00
paul
2aaf758a1e codetools: skip 'OPTIONAL' and 'REQUIRED' sections in objcprotocol
git-svn-id: trunk@33683 -
2011-11-22 01:47:51 +00:00
paul
be91d94a0d codetools: correct ObjCProtocol external block parse
git-svn-id: trunk@33682 -
2011-11-22 01:01:09 +00:00
paul
ee10755fa9 codetools: also allow objcprotocol to have external block
git-svn-id: trunk@33660 -
2011-11-21 00:48:20 +00:00
paul
6e4bc933e5 codetools: allow objccategory to have external
git-svn-id: trunk@33623 -
2011-11-19 11:10:00 +00:00
mattias
965ae5eba4 codetools: fixed reraising parser error
git-svn-id: trunk@33562 -
2011-11-16 12:00:45 +00:00
mattias
f05fbd0a1f codetools: handlerlist for treetoolchanged
git-svn-id: trunk@33555 -
2011-11-16 06:52:13 +00:00
juha
09c62e511b Codetools: remove obsolete ProcHeadAttributeNames, use WriteStr
git-svn-id: trunk@33243 -
2011-11-02 23:19:04 +00:00
mattias
099bf2898b lazutils+codetools: fixed FindDiskFilename
git-svn-id: trunk@33219 -
2011-11-02 13:51:26 +00:00
mattias
2453363069 codetools: parse method specifier assembler, bug #20437
git-svn-id: trunk@32762 -
2011-10-08 07:48:31 +00:00
paul
6fc4a3abf4 codetools: support 'CVAR' variable/const modifier
git-svn-id: trunk@32562 -
2011-09-30 02:06:21 +00:00
paul
046df2da25 codetools: support 'section' variable/constant modifier
git-svn-id: trunk@32561 -
2011-09-30 01:33:04 +00:00
mattias
b883e0c022 codetools: parse const modifier public
git-svn-id: trunk@32527 -
2011-09-27 19:58:31 +00:00
paul
603f7c97eb codetools: fix parsing of method implementation header - they may contain directives like 'static'
git-svn-id: trunk@32456 -
2011-09-22 05:13:25 +00:00
paul
aa5f483f17 codetools: support rtlproc modifier
git-svn-id: trunk@32420 -
2011-09-19 07:57:24 +00:00
mattias
921dd0404b codetools: started GetExpandedOperand
git-svn-id: trunk@32262 -
2011-09-10 18:21:13 +00:00
mattias
df52f97ad3 codetools: find all with candidates
git-svn-id: trunk@32221 -
2011-09-08 01:02:10 +00:00
mattias
8bdf7647bb codetools: TStandardCodeTool.FindMissingUnits: dotted names
git-svn-id: trunk@32118 -
2011-08-30 16:09:21 +00:00
mattias
119ae65d33 codetools: parser: dotted uses
git-svn-id: trunk@32101 -
2011-08-30 07:31:17 +00:00
mattias
3695f21e44 codetools: parser: read dot source name
git-svn-id: trunk@32100 -
2011-08-29 22:01:05 +00:00
juha
202608c307 Codetools: fix parsing with generics in method parameters. Issue #20073, patch from Anthony Walter
git-svn-id: trunk@32099 -
2011-08-29 20:53:37 +00:00
juha
49baf73873 Codetools: Improve support for generics in function return. Issue #20059
git-svn-id: trunk@32067 -
2011-08-27 07:21:28 +00:00
juha
827c9501e8 Codetools: Support generics in the function return type. Issue #20059, based on a patch from Anthony Walter
git-svn-id: trunk@32066 -
2011-08-26 22:30:25 +00:00
mattias
76ed2c599f codetools: param specifier out only if modeswitch out is on
git-svn-id: trunk@32062 -
2011-08-26 11:38:37 +00:00
juha
9faa8a5364 Codetools: improve parsing of generics with many type params, from Anton.
git-svn-id: trunk@32031 -
2011-08-21 21:45:52 +00:00
juha
db121af7a1 Codetools: support generics in extended record syntax. Issue #18566, patch from Anton
git-svn-id: trunk@32015 -
2011-08-20 07:07:20 +00:00
juha
a3b74ddd78 Codetools: Class completion now ignores empty parenthesis. Issue #19668, patch from Anton
git-svn-id: trunk@31960 -
2011-08-12 11:50:11 +00:00
juha
1cb3753a6f Codetools: Fix hint directives after vars and consts in PascalReader. Issue #19614, patch from Anton
git-svn-id: trunk@31952 -
2011-08-11 21:37:30 +00:00
mattias
cf32ea0df9 codetools: parsing on E:Exception do: using ctnVarDefinition, bug #19601
git-svn-id: trunk@31317 -
2011-06-21 14:21:47 +00:00
mattias
057f07d894 codetools: validate node caches on every BuildTree, not only when unit changed
git-svn-id: trunk@31218 -
2011-06-14 14:48:12 +00:00
mattias
a4edea9f79 codetools: undo use str
git-svn-id: trunk@31217 -
2011-06-14 13:23:05 +00:00
mattias
faef63fad1 codetools: clean up
git-svn-id: trunk@31210 -
2011-06-14 10:24:55 +00:00
mattias
8c39496157 codetools: fixed use of keywordlists
git-svn-id: trunk@30954 -
2011-05-29 08:34:20 +00:00
mattias
8c9b6e6548 codetools: unsing less AnsiCompareText
git-svn-id: trunk@30953 -
2011-05-28 10:46:55 +00:00
mattias
d330b69500 codetools: fixed reparsing half parsed section
git-svn-id: trunk@30899 -
2011-05-25 17:07:24 +00:00
mattias
d7a02cfb06 Cody: declare variable: show existing definition
git-svn-id: trunk@30877 -
2011-05-23 21:39:16 +00:00
mattias
84ea3ef4f9 codetools: record case variable is now a ctnVarDefinition, bug #18368
git-svn-id: trunk@30781 -
2011-05-17 09:53:10 +00:00
mattias
a70872ae5b codetools: parse record case with enum, bug #18368
git-svn-id: trunk@30769 -
2011-05-16 15:29:39 +00:00
mattias
17405e31ea codetools: parsing hint directive in record case
git-svn-id: trunk@30762 -
2011-05-16 11:01:40 +00:00
mattias
83bf96457b codetools: find declaration: fixed constructor result type, fixed param compatiblity for convertable
git-svn-id: trunk@30737 -
2011-05-15 07:56:50 +00:00
mattias
557c962f0c codetools: changed CompielrModeSwitch to set
git-svn-id: trunk@30698 -
2011-05-12 18:46:00 +00:00
mattias
1b7397b2a3 codetools: fixed TPascalParserTool.ExtractNextAtom adding space between words
git-svn-id: trunk@30695 -
2011-05-12 16:33:47 +00:00
mattias
f7906d0507 codetools: added ctnHintModifier nodes for deprecated, unimplemented, experimental, library, platform
git-svn-id: trunk@30683 -
2011-05-11 16:22:46 +00:00
mattias
a76e3248bf codetools: first section of non class is public
git-svn-id: trunk@30621 -
2011-05-08 15:52:29 +00:00
mattias
005d8e828c codetools: parse param list
git-svn-id: trunk@30584 -
2011-05-06 12:06:35 +00:00
mattias
7a98756abb codetools: added cache to FindReferences
git-svn-id: trunk@30547 -
2011-05-04 13:40:35 +00:00
mattias
8bfe9b6371 codetools: pascal parser: var i: byte = 3; create ctnConstant, patch #18515
git-svn-id: trunk@30454 -
2011-04-24 18:31:59 +00:00
mattias
dd0fc4c825 IDE: codehelp: improved debugging
git-svn-id: trunk@30266 -
2011-04-11 21:25:55 +00:00
mattias
3db7df3317 codetools: parser: fixed starting class section on first space, completeblock: complete class at end of source
git-svn-id: trunk@30180 -
2011-04-04 12:45:50 +00:00
mattias
67b58b4044 codetools: fixed rescan of modified initialization section, fixed check if a virtual file has changed on disl
git-svn-id: trunk@30177 -
2011-04-04 10:55:39 +00:00
mattias
2af49962ac codetools: parse programs without program keyword
git-svn-id: trunk@30035 -
2011-03-27 14:19:18 +00:00
mattias
b33e2233b0 codetools: skip shebang
git-svn-id: trunk@30031 -
2011-03-27 09:43:22 +00:00
mattias
f8f705163a codetools: fixed case compare for formerly uppercase compares, fixed TSourceChangeCache.Clear to not clear updatelock
git-svn-id: trunk@30022 -
2011-03-26 21:06:24 +00:00
mattias
2737646f2a codetools: BuildTreeAndGetCleanPos: check if scanrange is still valid
git-svn-id: trunk@29809 -
2011-03-12 23:57:11 +00:00
mattias
420d07490d codetools: fixed deleting nodes if diff is behind last scanned node
git-svn-id: trunk@29808 -
2011-03-12 18:13:02 +00:00