Commit Graph

428 Commits

Author SHA1 Message Date
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
mattias
5b10133171 codetools: class quick parser: check for of object, bug #18324
git-svn-id: trunk@28885 -
2011-01-06 17:51:44 +00:00
mattias
a2ddb892d9 codetools: fixed parsing var a: some deprecated;
git-svn-id: trunk@28574 -
2010-11-30 17:13:18 +00:00
mattias
efb3fc218d IDEIntf: objectinspector: update popup menu item Show Hints always, bug #18092
git-svn-id: trunk@28538 -
2010-11-28 15:35:09 +00:00
mattias
e5ff2b2def codetools: ExtractProcHead: extract parameter type colon only if names and types are wanted
git-svn-id: trunk@28531 -
2010-11-28 13:28:54 +00:00
mattias
f6ec5f72bc codetools: quick class parser: skip object
git-svn-id: trunk@28519 -
2010-11-28 09:37:24 +00:00
mattias
3973fe6595 codetools: removed cafRecord
git-svn-id: trunk@28518 -
2010-11-28 09:33:08 +00:00
mattias
e051968939 codetools: fixed parsing class const section
git-svn-id: trunk@28517 -
2010-11-28 09:16:05 +00:00
mattias
24da9a3ae1 codetools: fixed parsing const keyword in classes
git-svn-id: trunk@28514 -
2010-11-27 19:14:07 +00:00
paul
188361e605 codetools: support new class/generics syntax. like the next:
{ 
 TFoo = class
  const
    Value = 5;
  type
    TBar = integer;
  var
    FSomeField: Integer;
    procedure Dosomething;
  end;  
}

git-svn-id: trunk@28513 -
2010-11-27 18:25:25 +00:00
mattias
a4f82ba95d codetools: fixed parsing operator after type section
git-svn-id: trunk@28431 -
2010-11-23 10:51:43 +00:00
mattias
3cd6430bb9 codetools: added constref parameter prefix modifier
git-svn-id: trunk@27647 -
2010-10-10 23:47:16 +00:00
mattias
21ac9ffc21 codetools: fixed node end for parameter type array/file of, bug #17324
git-svn-id: trunk@27344 -
2010-09-13 07:14:47 +00:00
mattias
bfe27912a8 codetools: fixed parsing constant with round brackets
git-svn-id: trunk@27336 -
2010-09-12 16:40:44 +00:00
mattias
875ac17bdb codetools: fixed parsing constants a.b.c
git-svn-id: trunk@27313 -
2010-09-11 18:41:52 +00:00
mattias
1e799a4678 codetools: added "is nested" procedure modifier, bug #17310
git-svn-id: trunk@27312 -
2010-09-11 18:07:15 +00:00
mattias
e1fab76727 codetools: extended ReadConstant to read all operators and operands, bug #17351
git-svn-id: trunk@27307 -
2010-09-11 15:06:38 +00:00
mattias
5dd1a92a8d codetools: fixed parsing property after const/type section
git-svn-id: trunk@26937 -
2010-07-31 15:38:48 +00:00
mattias
8b0ca63246 codetools: fixed parsing property after var section
git-svn-id: trunk@26935 -
2010-07-31 15:33:26 +00:00
mattias
4ab9dcd97e codetools: fixed FindExpressionTypeOfTerm resolve function result
git-svn-id: trunk@26934 -
2010-07-31 15:32:52 +00:00
mattias
11e862fcaa codetools: fixed sub parsing class interface
git-svn-id: trunk@26803 -
2010-07-24 10:33:33 +00:00
mattias
978187a18d codetools: fixed error position
git-svn-id: trunk@26802 -
2010-07-24 10:32:15 +00:00
mattias
2b2c5d9831 codetools: parsing deeper nodes, even if higher node has errors, bug #8093
git-svn-id: trunk@26799 -
2010-07-24 10:07:57 +00:00
mattias
5f4f03d6e9 IDE: using new codetools FPC caches
IDE: fixed macro FPCVer for multiple versions used by fpc.exe
IDE: fixed rescan of FPC sources if not changed, bug #16824
codetools: replaced fpc source heuristic with rule set, needed for bug #13912, #14572
IDE: fixed unneeded rescan of fpc sources if only target changed, needed for 12828
IDE: fixed calling compiler on every start, needed by lazarus on a stick
codetools: fixed search for fpc units without ppu, needed for 15534
IDE: implemented cache for fpc include files, needed by debugger
lazbuild: fixed using non default lclwidgettype of lpi
IDE: fixed auto update if fpc.cfg or target compiler changed, needed for 16824

git-svn-id: trunk@26796 -
2010-07-24 08:12:27 +00:00
mattias
bbb27946d7 codetools: fixed endless loop, bug #17013
git-svn-id: trunk@26787 -
2010-07-22 22:51:58 +00:00
mattias
3ebbb2a0a9 codetools: store errors for jit parsed nodes, bug #16992
git-svn-id: trunk@26778 -
2010-07-22 11:35:42 +00:00
mattias
47c41f9993 codetools: parsing record case unitname.type of
git-svn-id: trunk@26703 -
2010-07-16 22:02:08 +00:00
mattias
20c18d6616 codetools: copy only calling specifiers when completing a forward proc, bug #16953
git-svn-id: trunk@26692 -
2010-07-16 18:51:03 +00:00
mattias
3e90d1e023 codetools: reduced debugging
git-svn-id: trunk@26552 -
2010-07-09 20:20:12 +00:00
mattias
1e473ef5c9 codetools: BuildTree: check if last error was in implementation and only interface is needed, bug #16867
git-svn-id: trunk@26551 -
2010-07-09 20:18:28 +00:00
mattias
75f8643d7d codetools: parsing class inheritance with error position on unexpected token, bug #8093
git-svn-id: trunk@26422 -
2010-07-02 19:28:11 +00:00