Commit Graph

558 Commits

Author SHA1 Message Date
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
mattias
29b00c7528 codetools: fixed deleting parts of the node tree
git-svn-id: trunk@29807 -
2011-03-12 16:42:46 +00:00
mattias
ac2f3730dc codetools: append node ctnEndPoint for programs
git-svn-id: trunk@29795 -
2011-03-11 08:03:05 +00:00
mattias
eb4109ed4e codetools: fixed checking if codebuffer reverted
git-svn-id: trunk@29794 -
2011-03-11 07:54:44 +00:00
mattias
4d9418b4b6 codetools: fixed scanning section of cursor
git-svn-id: trunk@29792 -
2011-03-11 06:49:19 +00:00
mattias
ae61921ef1 codetools: fixed check if cursor pos inside scanned range
git-svn-id: trunk@29791 -
2011-03-10 22:59:13 +00:00
mattias
77566ccf65 codetools: implemented scanning units in smaller chunks and successive scanning without deleting nodes
git-svn-id: trunk@29769 -
2011-03-09 20:52:44 +00:00
mattias
ec73978c03 codetools: parsing class section type public in fpc 2.4.x, bug #18882
git-svn-id: trunk@29739 -
2011-03-07 11:07:44 +00:00
mattias
cf5a42b000 codetools: skip univ keyword in macpas
git-svn-id: trunk@29730 -
2011-03-05 09:46:23 +00:00
mattias
a92bf656be fixed typos: unkown
git-svn-id: trunk@29445 -
2011-02-10 09:39:05 +00:00
mattias
91f5747254 codetools: clean up
git-svn-id: trunk@29417 -
2011-02-07 18:55:31 +00:00
mattias
8cd980cb5b codetools: fixed simple init
git-svn-id: trunk@29402 -
2011-02-06 11:07:47 +00:00
mattias
de68945dc9 codetools: started parsing delphi generics
git-svn-id: trunk@29396 -
2011-02-05 16:59:53 +00:00
mattias
1c4d2b4f3e codetools: using special keyword list in macpas mode
git-svn-id: trunk@29392 -
2011-02-05 10:55:13 +00:00
mattias
3943d23f9b codetools: started nested classes, replaced ctnClassType with ctnTypeSection, ctnClassConst with ctnConstSection, class type,const,var sections are now childs of visibility sections
git-svn-id: trunk@29390 -
2011-02-05 10:09:22 +00:00
mattias
652830aa23 codetools: parsing anonymous records
git-svn-id: trunk@29367 -
2011-02-03 23:23:10 +00:00
mattias
2fa1d11c5c codetools: fixed inserting first published variable
git-svn-id: trunk@29365 -
2011-02-03 22:48:34 +00:00
mattias
bec76993b1 codetools: parsing member type without semicolon
git-svn-id: trunk@29364 -
2011-02-03 22:18:32 +00:00
mattias
38725ab0ee codetools: fixed parsing case records
git-svn-id: trunk@29360 -
2011-02-03 21:52:10 +00:00
mattias
05be735961 codetools: parsing advanced records
git-svn-id: trunk@29359 -
2011-02-03 20:38:14 +00:00
mattias
0324c50205 codetools: parsing class operators
git-svn-id: trunk@29358 -
2011-02-03 19:04:34 +00:00
mattias
9d8f487e25 codetools: ctnClassInterface: do not add visibility nodes
git-svn-id: trunk@29355 -
2011-02-03 18:06:02 +00:00
mattias
4e5d44a9de codetools: clean up
git-svn-id: trunk@29354 -
2011-02-03 17:52:56 +00:00
mattias
49c7f66c0f codetools: fixed parsing forward class
git-svn-id: trunk@29347 -
2011-02-03 10:28:09 +00:00
mattias
c0b344ba6b codetools: always parse class-interface nodes
git-svn-id: trunk@29337 -
2011-02-02 21:41:39 +00:00
mattias
19c0b3a5a2 codetools: always parse class nodes
git-svn-id: trunk@29336 -
2011-02-02 19:33:04 +00:00
mattias
d900d21d44 codetools: refactored
git-svn-id: trunk@29297 -
2011-02-01 19:32:51 +00:00
mattias
a7c6e1a13f codetools: parsing objcclass external name
git-svn-id: trunk@29293 -
2011-02-01 16:55:50 +00:00
mattias
12543c5195 codetools: parsing objcclass external, bug #17197
git-svn-id: trunk@29236 -
2011-01-28 10:15:34 +00:00
mattias
fa0cc49336 codetools: improved message when string expected at end of source
git-svn-id: trunk@29231 -
2011-01-28 09:00:05 +00:00
mattias
5cec794a58 codetools: parsing external keyword after forward class, bug #17197
git-svn-id: trunk@29224 -
2011-01-27 20:07:27 +00:00
mattias
0a22192168 codetools: fixed parsing exports unitname.identifier, bug #18353
git-svn-id: trunk@29222 -
2011-01-27 19:32:24 +00:00
mattias
f4ecc0e4f7 IDE: code templates: fixed auto indent for middle space
git-svn-id: trunk@28970 -
2011-01-12 12:21:41 +00:00