Commit Graph

603 Commits

Author SHA1 Message Date
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
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
mattias
e2538d01bc codetools: removed cafBegin
git-svn-id: trunk@25737 -
2010-05-28 18:47:50 +00:00
mattias
ddb29579bd codetools: parsing enum types with deprecated, bug #16544
git-svn-id: trunk@25600 -
2010-05-24 09:48:35 +00:00
mattias
e6e762d899 codetools: reading unit modifier library, experimental, deprecated
git-svn-id: trunk@25211 -
2010-05-05 11:32:46 +00:00
mattias
6668b94759 codetools: parsing var a:b; external 'lib' name 'var'
git-svn-id: trunk@25081 -
2010-04-30 15:33:56 +00:00
mattias
5565573175 codetools: fixed parsing constant of type
git-svn-id: trunk@24668 -
2010-04-17 15:31:41 +00:00
mattias
b4e952229d codetools: fixed endless loop if source ends in constant of type
git-svn-id: trunk@24667 -
2010-04-17 15:29:26 +00:00
paul
526fcbcc5f codetools: add support for class constructors and class destructors
git-svn-id: trunk@24630 -
2010-04-15 13:00:14 +00:00
mattias
7e820e2a53 codetools: fixed adding semicolon to procedure heads, bug #16062
git-svn-id: trunk@24221 -
2010-03-26 13:52:12 +00:00
martin
4e55c6562f Codetools: Better support for hint directives after properties
git-svn-id: trunk@24218 -
2010-03-26 12:00:21 +00:00
mattias
153ddcdffa codetools: fixed parsing library without interface and implementation
git-svn-id: trunk@23791 -
2010-02-25 15:39:39 +00:00
paul
23177da4f2 codetools: support dispinterface property declaration
git-svn-id: trunk@23504 -
2010-01-20 14:17:41 +00:00
paul
9e02d5824f codetools: distinct dispinterface and other interfaces
git-svn-id: trunk@23500 -
2010-01-20 13:18:11 +00:00
mattias
4a0a000909 codetools: var and type sections for classes
git-svn-id: trunk@23415 -
2010-01-09 23:04:13 +00:00
mattias
171d63e5c4 codetools: class var/type section for generics
git-svn-id: trunk@23407 -
2010-01-09 16:40:40 +00:00
mattias
227801c427 codetools: implemented parsing class property
git-svn-id: trunk@23406 -
2010-01-09 16:27:36 +00:00
mattias
4c254a359a codetools: parsing new class type section without following visibility keyword, bug #15335
git-svn-id: trunk@23127 -
2009-12-13 19:46:04 +00:00
mattias
2f59dcd283 codetools: parsing weakexternal procedure specifier
git-svn-id: trunk@22762 -
2009-11-25 11:46:36 +00:00
mattias
ef0d1a3cc4 codetools: parsing objcprotocol external name constant
git-svn-id: trunk@22709 -
2009-11-22 19:49:04 +00:00
mattias
10bf020df1 codetools: parsing objcprotocol external, bug #15157
git-svn-id: trunk@22708 -
2009-11-22 19:19:26 +00:00
mattias
2b1408184e codetools: parsing objcprotocol
git-svn-id: trunk@22707 -
2009-11-22 19:18:19 +00:00
mattias
837f13ad0c codetools: parsing specialize in class inheritage brackets, bug #15081
git-svn-id: trunk@22649 -
2009-11-17 12:11:33 +00:00
mattias
b64abcbd7a codetools: parsing objccategory
git-svn-id: trunk@22611 -
2009-11-16 00:39:35 +00:00
mattias
b13238d551 codetools: fixed parsing method
git-svn-id: trunk@22602 -
2009-11-15 15:55:48 +00:00
mattias
cf8c233871 codetools: parsing cppclass
git-svn-id: trunk@22601 -
2009-11-15 15:43:53 +00:00
mattias
7fe5b967f1 codetools: parsing string<number> in mode objfpc,fpc
git-svn-id: trunk@22528 -
2009-11-11 12:57:07 +00:00
mattias
d7dd00883c codetools: parsing proc modifier external delayed
git-svn-id: trunk@22505 -
2009-11-09 14:02:56 +00:00
mattias
19d3a509bd codetools: fixed parsing proc message modifier
git-svn-id: trunk@22482 -
2009-11-07 17:14:41 +00:00
mattias
640e59b6b4 codetools: fixed parsing deprecated after types
git-svn-id: trunk@22480 -
2009-11-07 16:08:10 +00:00
mattias
8838a2c5fd codetools: parsing procedure deprecated without comment
git-svn-id: trunk@22478 -
2009-11-07 15:10:19 +00:00
mattias
c0f0ab2673 codetools: parsing deprecated for variables
git-svn-id: trunk@22476 -
2009-11-07 14:00:03 +00:00
mattias
dffcbd97cc codetools: procedure modifier deprecated
git-svn-id: trunk@22471 -
2009-11-07 12:52:44 +00:00
mattias
c9f863d3a3 codetools: parsing class/interface deprecated
git-svn-id: trunk@22451 -
2009-11-05 16:54:51 +00:00
mattias
51babfb160 codetools: parsing function+property modifier enumerator
git-svn-id: trunk@22425 -
2009-11-04 12:02:23 +00:00
mattias
170f532285 codetools: sealed and abstract classes
git-svn-id: trunk@22300 -
2009-10-27 00:02:41 +00:00
paul
f1e1cc8ec1 codetools: support abstract/sealed class modifiers
git-svn-id: trunk@22211 -
2009-10-18 04:38:18 +00:00
paul
5dd9571ffc codetools: support for *experimental* and *library* hint modifiers
git-svn-id: trunk@22206 -
2009-10-17 13:56:39 +00:00
mattias
10467a9126 codetools: clean up
git-svn-id: trunk@22107 -
2009-10-12 11:35:01 +00:00
mattias
14f7ff3b26 codetools: parsing strict public section
git-svn-id: trunk@22048 -
2009-10-05 14:28:32 +00:00
mattias
406489f03e codetools: added ExtractOperand
git-svn-id: trunk@21937 -
2009-10-01 10:41:33 +00:00
mattias
c66ecbfe45 codetools: objcprotocol
git-svn-id: trunk@21694 -
2009-09-13 23:00:19 +00:00
mattias
6a402092e2 codetools: parsing objcclass end external name string
git-svn-id: trunk@21690 -
2009-09-13 21:44:28 +00:00
mattias
ddad9c8091 codetools: implemented objcclass
git-svn-id: trunk@21689 -
2009-09-13 21:31:32 +00:00
mattias
f9ce3b06a8 codetools: fixed parsing on in statements
git-svn-id: trunk@21656 -
2009-09-11 21:30:25 +00:00
mattias
8e63d7866a codetools: parsing on statements, bug #13935
git-svn-id: trunk@21076 -
2009-08-02 20:53:45 +00:00
mattias
6a4ad23422 codetools: fixed parsing paremeter type array of const, bug #14247
git-svn-id: trunk@21072 -
2009-08-02 16:16:15 +00:00
mattias
df517558c5 codetools: comment
git-svn-id: trunk@21070 -
2009-08-02 15:37:08 +00:00
mattias
782c9cf39c codetools: class completion: add missing property semicolons
git-svn-id: trunk@20691 -
2009-06-21 13:03:25 +00:00
mattias
bf9c4b2db9 codetools: ignoring missing semicolons after properties
git-svn-id: trunk@20690 -
2009-06-21 12:40:54 +00:00
mattias
2401f2c20c codetools: code completion: ignoring code after cursor for some completions
git-svn-id: trunk@20620 -
2009-06-13 21:35:28 +00:00
mattias
40586875a2 IDE: code help: allow result type
git-svn-id: trunk@20264 -
2009-05-27 13:38:40 +00:00
mattias
fef4a6e9b8 codetools: fixed ignoring alias functions in classes
git-svn-id: trunk@20141 -
2009-05-23 10:14:26 +00:00
mattias
602f48c153 codetools: improved class end not found position
git-svn-id: trunk@20139 -
2009-05-23 09:13:41 +00:00
mattias
ef4a384eb3 codetools: replaced some local keyword lists with case statments
git-svn-id: trunk@19924 -
2009-05-11 09:21:50 +00:00
mattias
e3c48b9278 codetools: mem stat categories
git-svn-id: trunk@19864 -
2009-05-09 09:44:56 +00:00
mattias
6e52d7829c codetools: added memory stats
git-svn-id: trunk@19862 -
2009-05-09 08:34:50 +00:00
mattias
8f19b73c43 codetools: removed TCustomCodeTool.UpperSrc
git-svn-id: trunk@19832 -
2009-05-07 08:16:34 +00:00
mattias
5abefaf3bf codetools: fixed marking very short classes as unfinished, bug #13638
git-svn-id: trunk@19806 -
2009-05-04 20:03:21 +00:00
mattias
ca2c76b484 codetools: added class ancestor nodes
git-svn-id: trunk@19717 -
2009-04-30 21:38:40 +00:00
mattias
b46c4051e3 codetools: fixed closing with variable nodes, bug #10640
git-svn-id: trunk@19633 -
2009-04-26 13:25:24 +00:00
mattias
8f2bc2fdb1 codetools: identifier completion search at start of identifier and at end of valid code, bug #10548
git-svn-id: trunk@19613 -
2009-04-24 18:01:03 +00:00
mattias
de190884ee codetools: as operator in with variables
git-svn-id: trunk@19533 -
2009-04-20 22:59:04 +00:00
mattias
76f345e29e IDE: codeexplorer: implemented figure empty begin blocks
git-svn-id: trunk@19522 -
2009-04-20 13:18:23 +00:00
mattias
29df007f71 codetools: parsing procedure alias
git-svn-id: trunk@19296 -
2009-04-10 08:40:54 +00:00
mattias
5799bab4d1 codetools: added nodes for units in uses sections
git-svn-id: trunk@19271 -
2009-04-07 09:21:23 +00:00
mattias
271dd47acb codetools: parsing var a: char; public name test;
git-svn-id: trunk@18726 -
2009-02-17 09:49:12 +00:00
mattias
76c9b75118 clean up
git-svn-id: trunk@18432 -
2009-01-25 10:17:33 +00:00
mattias
8f3ab8527b codetools: fixed setting EndPos for parameter types array of identifier
git-svn-id: trunk@17129 -
2008-10-24 15:59:36 +00:00
mattias
e417cd9cef codetools: static keywords for class variables, bug #12293
git-svn-id: trunk@16880 -
2008-10-05 09:33:46 +00:00
mattias
3e2ce6e7d3 codetools: fixed checking unit dependencies each time a unit is parsed, bug #12269
git-svn-id: trunk@16838 -
2008-10-02 07:52:08 +00:00
mattias
8c20e8c9b9 codetools: fixed endless loop
git-svn-id: trunk@15982 -
2008-08-07 14:13:29 +00:00
mattias
746be92b66 codetools: fixed reparsing MethodMap nodes, IDE: fpdoc editor: added short label
git-svn-id: trunk@15974 -
2008-08-06 15:46:13 +00:00
mattias
41ab419765 codetools: allowing @end labels in asm blocks
git-svn-id: trunk@15945 -
2008-08-03 20:24:38 +00:00
mattias
60e3f56061 codetools: implemented parsing 1e-16, bug #8446
git-svn-id: trunk@15880 -
2008-07-26 18:16:56 +00:00
mattias
1bc45f97db codetools: implemented file of identifier for parameters, bug #11025
git-svn-id: trunk@15879 -
2008-07-26 18:04:13 +00:00
mattias
cbc57806d7 synedit: pascal highlighter: implemented mode Delphi/ObjFPC and nested comments
git-svn-id: trunk@15874 -
2008-07-26 15:11:57 +00:00
mattias
9b4a380f50 codetools: returning false on error searching ancestors, bug #11665
git-svn-id: trunk@15828 -
2008-07-21 11:39:11 +00:00
mattias
194d128c0f IDE: allowing negative font height
git-svn-id: trunk@15812 -
2008-07-18 08:08:06 +00:00
mattias
ec306d185d codetools: added debugging info or dangling events
git-svn-id: trunk@15811 -
2008-07-18 08:00:07 +00:00
mattias
c1b02e4ddd codetools: added range check, bug #11573
git-svn-id: trunk@15607 -
2008-06-28 20:43:32 +00:00
mattias
49291a20cd codetools: fixed reading til statement end, bug #7970
git-svn-id: trunk@15208 -
2008-05-22 15:08:31 +00:00
mattias
a45d589f57 codetools: extended ctnWithStatement EndPos to next atom when possible, bug #7970
git-svn-id: trunk@15207 -
2008-05-22 14:48:32 +00:00
mattias
376c870ffe codetools: fixed EndPos of ctnWithStatement
git-svn-id: trunk@15205 -
2008-05-22 14:01:11 +00:00
mattias
5d66571b44 IDE: implemented parsing LCLVersion from lfm, added ResourceBaseClass to TUnitInfo and TPkgFile
git-svn-id: trunk@15106 -
2008-05-12 16:59:43 +00:00
mattias
5f7d69844d codetools: implemented parsin unitname.identifier for function types results
git-svn-id: trunk@15097 -
2008-05-12 09:52:37 +00:00
mattias
1c51099541 IDE: implemented showing help for identifier completion
git-svn-id: trunk@15065 -
2008-05-06 21:37:25 +00:00
mattias
5122d3eaaf codetools: not reparsing when cursor in valid interface
git-svn-id: trunk@15064 -
2008-05-06 19:19:40 +00:00
mattias
08ee4f4862 codetools: missing semicolong in procedure modifiers now allowed for fpc too - sigh
git-svn-id: trunk@14875 -
2008-04-17 22:54:28 +00:00
mattias
abd08bc5f4 codetools: implemented parsing var a:b; export name c;, bug #11002
git-svn-id: trunk@14524 -
2008-03-15 10:24:12 +00:00
vincents
035ee959b3 fixed compilation with fpc 2.3.1, which does not allow passing literal chars to formal const parameters (bug #10949)
git-svn-id: trunk@14452 -
2008-03-07 10:17:39 +00:00
mattias
91f054ad10 codetools: implemented parsing on Exception do, bug #9291
git-svn-id: trunk@13702 -
2008-01-09 22:33:28 +00:00
mattias
876cefb855 codetools: CreateMethod: implemented adding units for parameter types, bug #10594
git-svn-id: trunk@13693 -
2008-01-09 19:45:29 +00:00
mattias
f9cbb95fc4 codetools: fixed parsing classes containing only the inheritage brackets, but no end (bug #10563)
git-svn-id: trunk@13644 -
2008-01-05 23:04:14 +00:00
mattias
4b2895f732 codetools: fixed ignoreerrorafter position to <= instead of <
git-svn-id: trunk@13561 -
2008-01-01 21:03:27 +00:00
mattias
b7a82699cc codetools: added ErrorNicePosition to distingush between error position and probable cause of error
git-svn-id: trunk@13560 -
2008-01-01 20:26:48 +00:00
mattias
b9e3bc84b4 codetools: code completion: completing class interface properties
git-svn-id: trunk@13338 -
2007-12-15 12:58:25 +00:00
mattias
e9a74b0e51 codetools: added phpWithHasDefaultValues
git-svn-id: trunk@13251 -
2007-12-09 11:49:53 +00:00
mattias
3492130ddf codetools: replaced some var with out
git-svn-id: trunk@13222 -
2007-12-08 14:17:46 +00:00
mattias
bf2f4fb951 codetools: parser: fixed parsing methods after var protected section
git-svn-id: trunk@12407 -
2007-10-10 15:56:22 +00:00
mattias
9b445a52cc codetools: added keyword unimplemented
git-svn-id: trunk@12353 -
2007-10-06 18:45:15 +00:00
mattias
6e481f5330 codetools: fixed parsing class functions in programs
git-svn-id: trunk@12131 -
2007-09-22 11:26:18 +00:00
mattias
ffc01c88f4 codetools: fixed regression to jump between methods in implementation classes
git-svn-id: trunk@11850 -
2007-08-23 14:27:29 +00:00
mattias
896b613597 codetools: fixed parsing properties of class interfaces
git-svn-id: trunk@11835 -
2007-08-18 15:37:32 +00:00
mattias
afcbbf4db0 codetools: implemented local type and var section for generics
git-svn-id: trunk@11833 -
2007-08-17 12:48:29 +00:00
mattias
13c2b40e20 codetools: implemented parsing the new fpc 2.3.1 generics, simple find declaration for generics
git-svn-id: trunk@11829 -
2007-08-16 17:12:56 +00:00
mattias
efaec13a02 codetools, TSynPasSyn: aded bitpacked keyword
git-svn-id: trunk@11173 -
2007-05-21 10:09:46 +00:00
mattias
a6d2e13791 replaced calls to MethodName with hooks
git-svn-id: trunk@11036 -
2007-04-29 22:18:42 +00:00
mattias
dd7b5ba113 IDE: fixed adding spaces for identifier completion adding method declarations to classes
git-svn-id: trunk@10479 -
2007-01-19 16:48:20 +00:00
mattias
07cdb27c5d IDE: added Close Project menu item
git-svn-id: trunk@10413 -
2007-01-10 19:28:38 +00:00
mattias
e8fa91fe05 IDE: implemented loading .po files of packages
git-svn-id: trunk@10411 -
2007-01-10 01:29:36 +00:00
mattias
d94c0106dc codetools: added example for identifier completion
git-svn-id: trunk@10402 -
2007-01-08 23:56:58 +00:00
mattias
735b70957a codetools: code completion: implemented adding methog declaration for method body at cursor
git-svn-id: trunk@10386 -
2007-01-06 13:00:36 +00:00
mattias
9aa007713c codetools: fixed parsing if then begin..end statements till end
git-svn-id: trunk@10382 -
2007-01-05 14:57:49 +00:00
mattias
75f42392b4 h2paswizard: implemented redordering files, started tool to replace implicit types in parameters
git-svn-id: trunk@10309 -
2006-12-06 16:51:56 +00:00
mattias
220d4e0e7c codetools: added MacPAS mode specials: IFC, ELSEC, ELIFC, ENDC, defined identifier, undefined identifier, SETC, SETC name := value, out as parameter name, property as parameter name
git-svn-id: trunk@10283 -
2006-12-04 00:00:36 +00:00
mattias
c045101121 codetools: remove debugging code
git-svn-id: trunk@10223 -
2006-11-20 18:18:40 +00:00
mattias
e5fdfd28ff codetools: allowed: var identifier: class of identifier
git-svn-id: trunk@10222 -
2006-11-20 16:28:20 +00:00
mattias
0b3a85d0e6 codetools: adding missing semicolon on code completing forward procedures
git-svn-id: trunk@10139 -
2006-10-31 12:22:13 +00:00
mattias
53dde5cff5 codetools: improved parsing variable section with errors
git-svn-id: trunk@9894 -
2006-09-14 19:30:01 +00:00
mattias
6446572899 codetools: fixed packed class
git-svn-id: trunk@9744 -
2006-08-23 19:05:54 +00:00
mattias
83fc712326 codetools: fixed parsing invalid subrange
git-svn-id: trunk@9626 -
2006-07-17 18:47:07 +00:00
mattias
609922d9e5 codetools: fixed validating last error
git-svn-id: trunk@9502 -
2006-06-27 15:28:37 +00:00
mattias
5d2766a239 added evaluate text at cursor during debugging from Darek
git-svn-id: trunk@9419 -
2006-06-12 18:48:30 +00:00
mattias
07fec2d11b fixed parsing procedure specifier public
git-svn-id: trunk@9344 -
2006-05-23 21:42:52 +00:00
mattias
dc4d7c5d38 IDE now checks, if all files of the package exists
git-svn-id: trunk@9309 -
2006-05-19 16:27:15 +00:00
mattias
e710e115ed codetools implemented parsing requires and contains section of packages
git-svn-id: trunk@8977 -
2006-03-22 00:42:43 +00:00