Commit Graph

196 Commits

Author SHA1 Message Date
mattias
96694f6d88 codetools: clean up
git-svn-id: trunk@37120 -
2012-05-01 13:34:41 +00:00
mattias
d18e8e49d3 codetools: GetSmartHint: show anonymous arrays
git-svn-id: trunk@37104 -
2012-04-30 14:13:02 +00:00
mattias
c7543c32cb codetools: JumpToPublishedMethodBody: added parameter ErrorOnNotFound
git-svn-id: trunk@36968 -
2012-04-22 10:06:33 +00:00
mattias
4d57d078dd codetools: find inheritance of objccategory
git-svn-id: trunk@36458 -
2012-03-30 13:47:49 +00:00
paul
f9cbe3fbe2 codetools: treat method which contains only an inherited call as an empty method
git-svn-id: trunk@35755 -
2012-03-06 00:48:52 +00:00
mattias
325e87fb8e codetools: fixed MoveCursorToFirstProcSpecifier parsing operator
git-svn-id: trunk@34993 -
2012-01-28 17:18:50 +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
3e692990e1 codetools: fixed crash parsing operator with invalid name
git-svn-id: trunk@34879 -
2012-01-22 22:44:23 +00:00
mattias
8f6bddb835 codetools: find identifier references: fixed searching local identifiers
git-svn-id: trunk@34832 -
2012-01-21 11:39:20 +00:00
mattias
5010a42914 codetools: complete parameter: methods
git-svn-id: trunk@34723 -
2012-01-13 00:25:26 +00:00
juha
0bf4bf0d2a Codetools: initialize string result value in TPascalReaderTool.ExtractUsedUnitNameAtCursor. It broke at least TFindDeclarationTool.FindUnitInUsesSection.
git-svn-id: trunk@34092 -
2011-12-10 18:49:27 +00:00
juha
72a709a931 Formatting
git-svn-id: trunk@34091 -
2011-12-10 18:49:02 +00:00
mattias
08900f28d7 codetools: moved TCodeXYPosition from CodeAtom to CodeCache
git-svn-id: trunk@33220 -
2011-11-02 14:26:05 +00:00
mattias
95f93fb4a6 codetools: GetPasDocComment: fixed endless loop
git-svn-id: trunk@33014 -
2011-10-22 07:25:01 +00:00
mattias
e509196a2b codetools: TFindDeclarationTool.FindDeclarationInUsesSection: dotted names
git-svn-id: trunk@32122 -
2011-08-30 17:28:11 +00:00
mattias
5190b83a71 codetools: TStandardCodeTool.UsesSectionToUnitnames: dotted names
git-svn-id: trunk@32117 -
2011-08-30 16:03:46 +00:00
mattias
ef465ef95f codetools: TStandardCodeTool.FindDelphiProjectUnits: dotted names
git-svn-id: trunk@32115 -
2011-08-30 15:58:33 +00:00
mattias
eacc24bb69 codetools: TStandardCodeTool.FixUsedUnitCaseInUsesSection: dotted name
git-svn-id: trunk@32110 -
2011-08-30 09:55:24 +00:00
mattias
421f9a390f codetools: TStandardCodeTool.UnitExistsInUsesSection: dotted name
git-svn-id: trunk@32106 -
2011-08-30 09:08:20 +00:00
mattias
116c4b1bbd codetools: AddUnitToUsesSection: dotted unit
git-svn-id: trunk@32103 -
2011-08-30 08:34:17 +00:00
mattias
e9498b62da codetools: reader tool: dotted uses
git-svn-id: trunk@32102 -
2011-08-30 07:37:30 +00:00
mattias
3695f21e44 codetools: parser: read dot source name
git-svn-id: trunk@32100 -
2011-08-29 22:01:05 +00:00
mattias
0288156d40 codetools: class completion: ignore method bodies of sub classes, bug #20066
git-svn-id: trunk@32069 -
2011-08-27 10:04:48 +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
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
347515afc3 codetools: fixed range check
git-svn-id: trunk@31356 -
2011-06-24 10:50:02 +00:00
mattias
74e195a9e2 codetools: TPascalReaderTool.ProcNodeHasSpecifier: parse header
git-svn-id: trunk@31215 -
2011-06-14 12:36:31 +00:00
mattias
8c9b6e6548 codetools: unsing less AnsiCompareText
git-svn-id: trunk@30953 -
2011-05-28 10:46:55 +00:00
mattias
b87cbc31f1 cody: declare var
git-svn-id: trunk@30934 -
2011-05-27 17:24:02 +00:00
mattias
a75a29091c codetools: find declaration: inherited;
git-svn-id: trunk@30920 -
2011-05-27 05:41:52 +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
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
4f1223747b cody: add call inherited
git-svn-id: trunk@30720 -
2011-05-13 10:38:57 +00:00
mattias
fbca65edab codetools: find declaration: fixed search Result
git-svn-id: trunk@30697 -
2011-05-12 17:19:58 +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
e39bb2d05b codetools: reading operand: old tp style character constants, bug #19260
git-svn-id: trunk@30600 -
2011-05-07 16:19:57 +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
fbc076999d codetools: example for FindAssignMethod
git-svn-id: trunk@30495 -
2011-04-28 12:50:19 +00:00
mattias
dd0fc4c825 IDE: codehelp: improved debugging
git-svn-id: trunk@30266 -
2011-04-11 21:25:55 +00:00
mattias
ab79608453 codetools: TPascalReaderTool.GetNodeIdentifier: check if node starts at end of code, bug #19076
git-svn-id: trunk@30178 -
2011-04-04 10:58:32 +00:00
mattias
3601dd2d4d codetools: fixed crash
git-svn-id: trunk@30036 -
2011-03-27 14:23:26 +00:00
mattias
2af49962ac codetools: parse programs without program keyword
git-svn-id: trunk@30035 -
2011-03-27 14:19:18 +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
6495ad0a79 codetools: find declaration: search in type of constant/variable
git-svn-id: trunk@29415 -
2011-02-07 14:42:26 +00:00
mattias
de68945dc9 codetools: started parsing delphi generics
git-svn-id: trunk@29396 -
2011-02-05 16:59:53 +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
e2de6ffbef codetools: searching top most type section
git-svn-id: trunk@29356 -
2011-02-03 18:19:48 +00:00
mattias
19c0b3a5a2 codetools: always parse class nodes
git-svn-id: trunk@29336 -
2011-02-02 19:33:04 +00:00
mattias
666cc1741f codetools: class completion: if unit was parsed with error: reraise error
git-svn-id: trunk@29105 -
2011-01-18 10:03:16 +00:00
mattias
fc610a8a98 codetools: findreferences: fixed searching procs 18153
git-svn-id: trunk@28619 -
2010-12-04 16:58:00 +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
82f7e95ca0 codetools: ExtractProcHead extract operator result name
git-svn-id: trunk@28528 -
2010-11-28 13:05:36 +00:00
vincents
56646eb28c removed support for compiled units in .ppw files, this is obsolete after fpc 1.0 (issue #16067)
git-svn-id: trunk@28053 -
2010-11-03 09:48:49 +00:00
mattias
8f9d20991a codetools: fixed CommentCode, bug #17403
git-svn-id: trunk@27483 -
2010-09-26 21:05:59 +00:00
mattias
f684b879a0 codetools: added comment
git-svn-id: trunk@27482 -
2010-09-26 21:05:38 +00:00
mattias
fd6b0bde63 codetools: fixed endless loop ExtractProcHead
git-svn-id: trunk@26967 -
2010-08-01 22:10:44 +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
54ce6e667b codetools: fixed range of FindCommentInFront
git-svn-id: trunk@26546 -
2010-07-09 12:48:05 +00:00
mattias
29839a9707 codetools: findreferences: search declaration comment, bug #13497
git-svn-id: trunk@26542 -
2010-07-08 21:41:56 +00:00
mattias
f9840ae34a IDE: when changing build IDE extra options, invalidate macros, bug #16844
git-svn-id: trunk@26467 -
2010-07-05 07:41:47 +00:00
mattias
421757e81f codetools: fixed rename identifier
git-svn-id: trunk@26458 -
2010-07-04 12:48:49 +00:00
mattias
c94fd8c234 codetools: fixed find identififier references corresponding proc node
git-svn-id: trunk@26248 -
2010-06-22 07:01:12 +00:00
mattias
234a5b2de1 codetools: find main declaration: find corresponding method parameter, bug #16398
git-svn-id: trunk@26223 -
2010-06-21 09:04:50 +00:00
mattias
5aed4cd577 codetools: fixed TPascalReaderTool.MoveCursorToPropType not raising exception
git-svn-id: trunk@25905 -
2010-06-04 22:09:11 +00:00
mattias
7029a5ebf8 IDE: codecontext hints: added ranged array type
git-svn-id: trunk@25533 -
2010-05-20 10:13:19 +00:00
mattias
227801c427 codetools: implemented parsing class property
git-svn-id: trunk@23406 -
2010-01-09 16:27:36 +00:00
mattias
cf8c233871 codetools: parsing cppclass
git-svn-id: trunk@22601 -
2009-11-15 15:43:53 +00:00
mattias
ef08824411 codetools: code completion: operator enumerator current
git-svn-id: trunk@22429 -
2009-11-04 15:07:08 +00:00
mattias
170f532285 codetools: sealed and abstract classes
git-svn-id: trunk@22300 -
2009-10-27 00:02:41 +00:00
mattias
c66ecbfe45 codetools: objcprotocol
git-svn-id: trunk@21694 -
2009-09-13 23:00:19 +00:00
mattias
ddad9c8091 codetools: implemented objcclass
git-svn-id: trunk@21689 -
2009-09-13 21:31:32 +00:00
mattias
fcf2e7f4fb IDE: identifier completion: do not replace virtualwith overrides for object, bug #14432
git-svn-id: trunk@21448 -
2009-08-25 17:25:33 +00:00
mattias
901245e1af codetools: fixed PositionInFuncResultName, bug #11395
git-svn-id: trunk@21434 -
2009-08-24 11:46:09 +00:00
mattias
3a20a03570 codetools: findoverloads: add source type nodes
git-svn-id: trunk@21260 -
2009-08-17 12:25:04 +00:00
mattias
5c6c61bf25 codetools: identifier completion: fixed checking parameterless procedures
git-svn-id: trunk@21023 -
2009-07-31 14:16:40 +00:00
mattias
4e8f764cea codetools: identifier completion: added ParamNameList
git-svn-id: trunk@21022 -
2009-07-31 14:11:42 +00:00
mattias
ef037bb0b6 codetools: class completion: copying calling convention
git-svn-id: trunk@20604 -
2009-06-12 15:46:53 +00:00
mattias
faabdd53fd codetools: fixed crash on checking position in funcresultytoe
git-svn-id: trunk@20274 -
2009-05-28 05:28:25 +00:00
mattias
40586875a2 IDE: code help: allow result type
git-svn-id: trunk@20264 -
2009-05-27 13:38:40 +00:00
mattias
802d6ef059 codetools: FindDeclarationAndOverload return function result type when cursor on colon
git-svn-id: trunk@20263 -
2009-05-27 13:04:04 +00:00
mattias
de7660d56f IDE: codeexplorer: fixed crash on incomplete property
git-svn-id: trunk@20231 -
2009-05-26 10:39:46 +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
7438cdff7a codetools: class completion: copying pascal calling convention
git-svn-id: trunk@19849 -
2009-05-08 09:29:31 +00:00
mattias
8f19b73c43 codetools: removed TCustomCodeTool.UpperSrc
git-svn-id: trunk@19832 -
2009-05-07 08:16:34 +00:00
mattias
cfc67e3541 codetools: implemented complete gathering of identifiers in interface
git-svn-id: trunk@19647 -
2009-04-27 09:35:08 +00:00
mattias
de190884ee codetools: as operator in with variables
git-svn-id: trunk@19533 -
2009-04-20 22:59:04 +00:00
mattias
7400ba8680 IDE: code explorer: added figures for Paul
git-svn-id: trunk@19458 -
2009-04-16 22:55:18 +00:00
mattias
26ef5cd496 IDE+codetools: started heuristic to find unused units
git-svn-id: trunk@19281 -
2009-04-08 23:45:15 +00:00
mattias
22c61b805d IDE+codetools: identifier completion: show constructor/destructo from Paul, bug #13215
git-svn-id: trunk@18783 -
2009-02-20 21:23:15 +00:00
mattias
c2a3f47f4d codetools: fixed CleanPosIsInComment
git-svn-id: trunk@16545 -
2008-09-11 14:24:36 +00:00
mattias
cb1c9a3077 codetools: ExtractProperty: implemented unit.type
git-svn-id: trunk@16014 -
2008-08-10 10:18:45 +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
cc954306a9 codetools: added function to find empty method bodies
git-svn-id: trunk@14969 -
2008-04-25 12:11:17 +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
9519c2624f codetools: implemented start of extern c
git-svn-id: trunk@14283 -
2008-02-27 15:22:12 +00:00
mattias
59077ba016 codetools: fixed code completion for semicolons after procs bugs #10741
git-svn-id: trunk@13937 -
2008-01-31 13:53:10 +00:00
mattias
3492130ddf codetools: replaced some var with out
git-svn-id: trunk@13222 -
2007-12-08 14:17:46 +00:00
mattias
363234509c codetools: implemented searching abstract methods, added example
git-svn-id: trunk@13188 -
2007-12-07 00:28:12 +00:00