Commit Graph

522 Commits

Author SHA1 Message Date
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