Commit Graph

377 Commits

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