Commit Graph

362 Commits

Author SHA1 Message Date
mattias
855af79e42 codetools: do not save errors outside parser
git-svn-id: trunk@37213 -
2012-05-07 16:04:57 +00:00
mattias
d5f1c3dec2 codetools: fixed FindUsedUnitFiles to only parse main uses section
git-svn-id: trunk@35103 -
2012-02-02 22:04:00 +00:00
mattias
197ac89ba8 codetools: completeblock debugging
git-svn-id: trunk@35002 -
2012-01-28 18:39:54 +00:00
mattias
42721b9bee IDE: find start of code block: when on start, jump to start of parent block
git-svn-id: trunk@34906 -
2012-01-24 19:04:33 +00:00
mattias
a7a3a71ce2 IDE: find start of code block: outside cstatements: jump to node start
git-svn-id: trunk@34905 -
2012-01-24 18:48:02 +00:00
mattias
502a88f46a codetools: checklfm: error if property is not published
git-svn-id: trunk@34807 -
2012-01-19 22:23:10 +00:00
mattias
380ab6721d codetools: checklfm: search further to find published property
git-svn-id: trunk@34805 -
2012-01-19 22:01:17 +00:00
mattias
81d67bcdc6 codetools: checklfm: fixed searching types
git-svn-id: trunk@34768 -
2012-01-18 01:54:53 +00:00
mattias
13f554a1f4 codetools: clean up unit not found code
git-svn-id: trunk@34677 -
2012-01-09 13:23:48 +00:00
mattias
848177ad94 codetools: TStandardCodeTool.AddUnitToSpecificUsesSection: auto remove unit from other uses section
git-svn-id: trunk@34095 -
2011-12-10 19:33:09 +00:00
mattias
3ec95f8d25 codetools: FindBlockStart: fixed when starting on last atom of block, bug #20797
git-svn-id: trunk@33915 -
2011-12-02 20:07:45 +00:00
mattias
246cf4a714 codetools: TStandardCodeTool.FindUnusedUnits scan whole unit
git-svn-id: trunk@33795 -
2011-11-26 10:49:06 +00:00
mattias
2f56a3d603 codetools: fixed repairing file case for include files and uses section
git-svn-id: trunk@33260 -
2011-11-03 12:38:25 +00:00
juha
53677b7b83 Codetools: remove obsolete StrConstTokenTypeName, use WriteStr
git-svn-id: trunk@33242 -
2011-11-02 23:18:36 +00:00
mattias
099bf2898b lazutils+codetools: fixed FindDiskFilename
git-svn-id: trunk@33219 -
2011-11-02 13:51:26 +00:00
mattias
f18dadf725 codetools: TStandardCodeTool.FindDanglingComponentEvents; safer align, bug #19109
git-svn-id: trunk@32572 -
2011-09-30 14:34:13 +00:00
mattias
caa300bdcf codetools: renamed TStandardCodeTool.AddIncludeDirective
git-svn-id: trunk@32121 -
2011-08-30 16:37:31 +00:00
mattias
6608134915 codetools: TStandardCodeTool.FindUnusedUnits: dotted names
git-svn-id: trunk@32120 -
2011-08-30 16:31:08 +00:00
mattias
1fb1d33e84 codetools: TStandardCodeTool.CommentUnitsInUsesSections: dotted names
git-svn-id: trunk@32119 -
2011-08-30 16:24:42 +00:00
mattias
8bdf7647bb codetools: TStandardCodeTool.FindMissingUnits: dotted names
git-svn-id: trunk@32118 -
2011-08-30 16:09:21 +00:00
mattias
5190b83a71 codetools: TStandardCodeTool.UsesSectionToUnitnames: dotted names
git-svn-id: trunk@32117 -
2011-08-30 16:03:46 +00:00
mattias
9f82460b7b codetools: TStandardCodeTool.UsesSectionToFilenames: dotted names
git-svn-id: trunk@32116 -
2011-08-30 16:00:51 +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
684ea95b51 codetools: deprecated GetUnitNameForUsesSection
git-svn-id: trunk@32108 -
2011-08-30 09:28:53 +00:00
mattias
9673a4f818 codetools: TStandardCodeTool.RemoveUnitFromUsesSection: dotted name
git-svn-id: trunk@32107 -
2011-08-30 09:12:00 +00:00
mattias
421f9a390f codetools: TStandardCodeTool.UnitExistsInUsesSection: dotted name
git-svn-id: trunk@32106 -
2011-08-30 09:08:20 +00:00
mattias
78d488844a codetools: TStandardCodeTool.UnitExistsInUsesSection: dotted name
git-svn-id: trunk@32104 -
2011-08-30 08:56:14 +00:00
mattias
116c4b1bbd codetools: AddUnitToUsesSection: dotted unit
git-svn-id: trunk@32103 -
2011-08-30 08:34:17 +00:00
juha
f9a84e9f2f Codetools: Add a new uses-section right after interface/implementation keyword. Issue #19901, patch from Anton.
git-svn-id: trunk@31878 -
2011-08-05 16:36:29 +00:00
mattias
8c39496157 codetools: fixed use of keywordlists
git-svn-id: trunk@30954 -
2011-05-29 08:34:20 +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
2af49962ac codetools: parse programs without program keyword
git-svn-id: trunk@30035 -
2011-03-27 14:19:18 +00:00
mattias
e317ac3780 clean up
git-svn-id: trunk@30024 -
2011-03-26 21:09:07 +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
af321cf45c codetools: added debugging
git-svn-id: trunk@29983 -
2011-03-22 15:14:12 +00:00
mattias
c2a58808d3 codetools: changed some uppercase parameters to mixed case
git-svn-id: trunk@29982 -
2011-03-22 13:41:30 +00:00
mattias
304a45372e codetools: fixed TLinkScanner.LinkSize for last link
git-svn-id: trunk@29796 -
2011-03-11 11:09:16 +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
b88c6577a4 synedit: fixed synregexpr 64bit
git-svn-id: trunk@29717 -
2011-03-03 12:46:22 +00:00
mattias
2c76183be2 codetools: fixed TStandardCodeTool.RemoveUnitFromAllUsesSections
git-svn-id: trunk@29640 -
2011-02-21 21:43:11 +00:00
mattias
d97d756067 codetools: fixed mem leak in FindDanglingComponentEvents, bug #18691
git-svn-id: trunk@29391 -
2011-02-05 10:26:36 +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
19c0b3a5a2 codetools: always parse class nodes
git-svn-id: trunk@29336 -
2011-02-02 19:33:04 +00:00
mattias
92a693d145 codetools: removed TCodeTreeNodeExtMemManager, not needed anymore
git-svn-id: trunk@29334 -
2011-02-02 18:56:59 +00:00
mattias
599efccf86 codetools: FindMissingUnit: FixCase fixed
git-svn-id: trunk@28901 -
2011-01-08 11:43:32 +00:00
mattias
7c572b1d3c codetools: fixed FindUsedUnitNames
git-svn-id: trunk@28610 -
2010-12-03 15:15:09 +00:00
mattias
ba3dc6e1f5 codetools: CompleteBlock implementation begin end., bug #17293
git-svn-id: trunk@28566 -
2010-11-30 09:39:18 +00:00
mattias
9eb142f295 codetools: clean up
git-svn-id: trunk@28499 -
2010-11-26 12:25:50 +00:00
mattias
94948dde5e codetools: RemoveUnitFromUsesSection: when removing the last unit remove empty lines in front too, bug #18055
git-svn-id: trunk@28498 -
2010-11-26 12:23:25 +00:00
mattias
496151f6f8 codetools: AddUnitToSpecificUsesSection for implementation, patch #18028
git-svn-id: trunk@28435 -
2010-11-23 11:39:42 +00:00
mattias
6ebaacbba1 codetools: clean up and debugging
git-svn-id: trunk@27498 -
2010-09-28 10:51:08 +00:00
mattias
f684b879a0 codetools: added comment
git-svn-id: trunk@27482 -
2010-09-26 21:05:38 +00:00
mattias
5dd01ce874 codetools: CheckLFM: added boolean RootMustBeClassInUnit parameter
git-svn-id: trunk@27481 -
2010-09-26 20:30:24 +00:00
mattias
82369989ce IDE: converter: search classes in implementation too
git-svn-id: trunk@27480 -
2010-09-26 20:04:31 +00:00
mattias
6d02cc37ff codetools: extended RetypeClassVariables
git-svn-id: trunk@27479 -
2010-09-26 20:02:50 +00:00
mattias
d66103ac53 codetools: debugging
git-svn-id: trunk@26856 -
2010-07-27 14:51:53 +00:00
mattias
0d135358b4 codetools: block completion: consider comments in front of insert pos
git-svn-id: trunk@26737 -
2010-07-19 12:37:02 +00:00
mattias
bc14bcf0a2 codetools: completeblock: complete if parent and child same indented
git-svn-id: trunk@26619 -
2010-07-13 13:01:13 +00:00
mattias
b23492619f codetools: completeblock: check if unindented line starts new block
git-svn-id: trunk@26617 -
2010-07-13 10:06:40 +00:00
mattias
7e74198f7d codetools: completeblock: improved for class
git-svn-id: trunk@26604 -
2010-07-11 20:46:35 +00:00
mattias
b4b5016f20 codetools: completeblock: complete if unindent and cursor at unindent or in empty line
git-svn-id: trunk@26594 -
2010-07-11 11:27:44 +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
c0682eae27 codetools: completeblock when typing begin
git-svn-id: trunk@26515 -
2010-07-07 22:40:38 +00:00
mattias
0b3a7661b0 codetools: completeblock: add newline, bug
git-svn-id: trunk@26512 -
2010-07-07 20:07:49 +00:00
mattias
14c0ca0b26 codetools: FindDanglingComponentEvents: check sub persistents in properties, bug #16831
git-svn-id: trunk@26455 -
2010-07-04 09:10:59 +00:00
mattias
1751469cc8 codetools: completeblock: ignore open brackets on semicolon
git-svn-id: trunk@26453 -
2010-07-04 07:29:19 +00:00
mattias
e454ee7c16 codetools: completeblock: begin ;, bug #16836
git-svn-id: trunk@26452 -
2010-07-04 07:23:42 +00:00
mattias
e03811d82e codetools: clean up
git-svn-id: trunk@26423 -
2010-07-02 19:43:27 +00:00
mattias
2a0aad5e01 codetools: GetStringConstAsFormatString treat " as normal character
git-svn-id: trunk@26036 -
2010-06-11 07:16:41 +00:00
mattias
a15b25d274 codetools: CheckLFM: check types even if parent types was not found
git-svn-id: trunk@25847 -
2010-06-02 19:20:22 +00:00
mattias
e2538d01bc codetools: removed cafBegin
git-svn-id: trunk@25737 -
2010-05-28 18:47:50 +00:00
mattias
331b05a147 IDE: started block completion on char
git-svn-id: trunk@25556 -
2010-05-20 21:44:03 +00:00
mattias
eaa1ff2fba IDE: added quickfix for note local variable not used, remove
git-svn-id: trunk@25498 -
2010-05-18 14:45:02 +00:00
mattias
4809be32c6 codetools: fixed FindCOdeOrLineEndInFrontOf for bracket close, bug #16419
git-svn-id: trunk@25238 -
2010-05-07 11:04:50 +00:00
mattias
0b64f42042 codetools: identifier completion: do not eat unit not found error when searching ancestors
git-svn-id: trunk@25035 -
2010-04-28 17:15:24 +00:00
mattias
d3f232387d codetools: changed RetypeClassVariables parameter to tree
git-svn-id: trunk@24219 -
2010-03-26 12:24:47 +00:00
mattias
a74bc652d2 codetools: added RetypeClassVariables
git-svn-id: trunk@24215 -
2010-03-25 21:16:32 +00:00
mattias
34bcf2c445 codetools: fixed ConvertDelphiToLazarusSource reparse after adding mode delphi
git-svn-id: trunk@23767 -
2010-02-23 12:01:42 +00:00
paul
9e02d5824f codetools: distinct dispinterface and other interfaces
git-svn-id: trunk@23500 -
2010-01-20 13:18:11 +00:00
mattias
3e0e6a5370 codetools: undo parsing ^j
git-svn-id: trunk@23414 -
2010-01-09 21:53:31 +00:00
mattias
dfc20b664d codetools: completeblock: skip if target line is not empty or code behind is more indented
git-svn-id: trunk@22828 -
2009-11-27 16:50:24 +00:00
mattias
b64abcbd7a codetools: parsing objccategory
git-svn-id: trunk@22611 -
2009-11-16 00:39:35 +00:00
mattias
cf8c233871 codetools: parsing cppclass
git-svn-id: trunk@22601 -
2009-11-15 15:43:53 +00:00
mattias
ce415836a7 codetools: TStandardCodeTool.GetPasDocComments stop at directives
git-svn-id: trunk@22575 -
2009-11-13 20:42:15 +00:00
mattias
555090ae4f codetools: TStandardCodeTool.ExtractOperand ignore positions in space
git-svn-id: trunk@22558 -
2009-11-13 06:03:49 +00:00
mattias
95af4fb208 codetools: fixed adding uses section
git-svn-id: trunk@22475 -
2009-11-07 13:48:47 +00:00
mattias
c12d17af61 codetools: FindStartOfTerm: fixed starting in an atom
git-svn-id: trunk@22340 -
2009-10-29 14:28:19 +00:00
mattias
192ee15737 codetools: renamed unitname identifiers
git-svn-id: trunk@22334 -
2009-10-29 11:23:40 +00:00
mattias
ceaa5de063 codetools: when adding units to uses section check for special units: cmem, sharedmem, lineinfo, heaptrc, cthreads
git-svn-id: trunk@22307 -
2009-10-27 12:38:10 +00:00
paul
81f665d3c4 codetools: better support 'sealed' and 'abstract' classes
git-svn-id: trunk@22290 -
2009-10-26 15:01:26 +00:00
mattias
2360f0fed7 codetools: reduced debugging
git-svn-id: trunk@21986 -
2009-10-02 18:57:58 +00:00
mattias
1ffd720917 IDE+codetools: ExtractOperand: added WithoutTrailingPoints
git-svn-id: trunk@21985 -
2009-10-02 18:49:58 +00:00
mattias
1803fc05ff codetools: ExtractOperand: do not return if cursor in front of expression
git-svn-id: trunk@21984 -
2009-10-02 18:39:23 +00:00
mattias
19a53151f7 codetools: fixed TStandardCodeTool.ExtractOperand for endpos
git-svn-id: trunk@21982 -
2009-10-02 09:30:11 +00:00
mattias
8442f27d8c IDE: debugger: tool tip for symbol under cursor
git-svn-id: trunk@21980 -
2009-10-02 08:48: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
ddad9c8091 codetools: implemented objcclass
git-svn-id: trunk@21689 -
2009-09-13 21:31:32 +00:00
mattias
b52f66dabc codetools: renamepublishedvariable: skip .identifier, bug #13823
git-svn-id: trunk@21476 -
2009-08-28 11:08:30 +00:00