Commit Graph

362 Commits

Author SHA1 Message Date
mattias
f1b926fd5e IDE: open project: read lpr and set IsPartOfProject for all used units with <in> filenames
git-svn-id: trunk@53245 -
2016-10-28 10:02:22 +00:00
mattias
cd1f78d608 codetools: fixed TStandardCodeTool.CompleteBlock to not add anything if cursor in a comment
git-svn-id: trunk@53192 -
2016-10-21 17:41:38 +00:00
ondrej
eda5b1fdca codetools: find unused units: add support for class helpers. (e.g. in "Unused units" dialog.)
git-svn-id: trunk@52411 -
2016-05-30 18:05:19 +00:00
mattias
8a70101ec3 IDE: quick fix ad warn off directive: add message pattern as comment
git-svn-id: trunk@51789 -
2016-03-01 15:41:58 +00:00
mattias
6365797a00 codetools: added AddUnitWarnDirective
git-svn-id: trunk@51769 -
2016-03-01 14:30:10 +00:00
ondrej
0ce59a4f03 codetools: fix unused units feature broken by r50266 #d49143fd83. Issue #29486
git-svn-id: trunk@51385 -
2016-01-23 11:45:55 +00:00
juha
653b5dd43a Codetools, unit FileProcs: Disable conditionally wrapper functions. For testing define DisableWrapperFunctions and build Lazarus.
git-svn-id: trunk@49504 -
2015-07-07 11:43:38 +00:00
mattias
2f643bd4d4 codetools: move Find*UsesSection to TPascalParserTool, issue #28285
git-svn-id: trunk@49342 -
2015-06-16 09:22:42 +00:00
mattias
7e7b1e40c4 codetools: clean up
git-svn-id: trunk@48657 -
2015-04-06 17:22:43 +00:00
mattias
303a563f98 codetools: clean up
git-svn-id: trunk@48656 -
2015-04-06 17:18:13 +00:00
mattias
a2e0bd3f68 codetools: clean up
git-svn-id: trunk@48644 -
2015-04-06 16:37:01 +00:00
juha
232c983159 CodeTools: Initialize variables based on compiler warnings. Contains ToDo items.
git-svn-id: trunk@48480 -
2015-03-24 17:51:40 +00:00
mattias
686b04a732 codetools: GetIDEDirectives: implemented filter, needed to fix removing all
git-svn-id: trunk@48335 -
2015-03-14 10:30:25 +00:00
juha
34fa9b2929 IDE: Improve harmonizing the style of spaces. Issue #27441, patch from Anton.
git-svn-id: trunk@48164 -
2015-03-07 16:38:24 +00:00
juha
58163e4f6a IDE: Harmonize the style of spaces more. Issue #27441, patch from Alexey Torgashin.
git-svn-id: trunk@48141 -
2015-03-05 19:03:24 +00:00
mattias
f4c1725bcd codetools: added InsertStatements
git-svn-id: trunk@47837 -
2015-02-16 21:52:05 +00:00
mattias
9a8ecaceff codetools: fixed ChangeLineEndings if #10 at end
git-svn-id: trunk@47831 -
2015-02-16 18:54:21 +00:00
juha
6bbcc0f7ac Codetools: Hard-coded quotations in resourcestrings.
git-svn-id: trunk@45525 -
2014-06-15 11:52:46 +00:00
mattias
ab1ba1c851 codetools: moved findgdbidentifier
git-svn-id: trunk@44963 -
2014-05-07 12:47:59 +00:00
mattias
eedad74e42 codetools: optimized HasRegster
git-svn-id: trunk@44961 -
2014-05-07 11:13:15 +00:00
mattias
16ee2ad735 codetools: findunusedunits: check generic types, bug #26085
git-svn-id: trunk@44832 -
2014-04-28 10:19:55 +00:00
juha
2e701c907d Codetools: make CheckLfm report an object which is missing from pascal source. Fixes issues #24473 and #25425
git-svn-id: trunk@43550 -
2013-12-16 00:18:27 +00:00
mattias
fc9c962339 codetools: FindUnitSource: fixed error message if not cursor pos known
git-svn-id: trunk@43209 -
2013-10-11 15:37:55 +00:00
mattias
c0dac09b7f IDE: fixed complete block, bug #24935
git-svn-id: trunk@42865 -
2013-09-18 21:05:17 +00:00
mattias
0e785800e1 codetools: fixed removing first unit from second line
git-svn-id: trunk@42859 -
2013-09-18 12:41:10 +00:00
mattias
f66fa252fc IDE: renamed SetPathDelims to GetForcedPathDelims
git-svn-id: trunk@42698 -
2013-09-09 10:28:10 +00:00
mattias
ac4996ff62 replaced SetDirSeparators with SetPathDelims
git-svn-id: trunk@42685 -
2013-09-08 20:58:12 +00:00
juha
f770004bfc Converter: Optimize commenting units in main and implementation uses sections.
git-svn-id: trunk@42463 -
2013-08-23 17:38:22 +00:00
mattias
02baf26d2a codetools: clean up
git-svn-id: trunk@42460 -
2013-08-23 12:23:46 +00:00
juha
d80f88d719 Codetools: a temporary fix for commenting out the whole uses section in implementation part.
git-svn-id: trunk@42458 -
2013-08-23 11:47:07 +00:00
juha
4f96dcd578 Codetools: revert changes in TStandardCodeTool.CheckLFM from r41948 #1182ff0df2. Caused regressions. Issue #24702
git-svn-id: trunk@41984 -
2013-07-03 13:57:04 +00:00
juha
1182ff0df2 Converter: Add variables in class when components (like menu item) are only in LFM. Changed also CheckLFM. Issue #24473.
git-svn-id: trunk@41948 -
2013-06-30 22:05:56 +00:00
juha
8ae11e18a5 Codetools: formatting
git-svn-id: trunk@41947 -
2013-06-30 22:05:48 +00:00
mattias
945a988824 codetools: TSourceChangeCache.Begin/EndUpdate comments and clean up
git-svn-id: trunk@41626 -
2013-06-09 11:25:13 +00:00
juha
e06985f2bd Codetools: remove a useless (?) call to SourceChangeCache.Apply in AddUnitToSpecificUsesSection
git-svn-id: trunk@41618 -
2013-06-09 10:04:56 +00:00
mattias
a7ceaf11d7 codetools: create ctnUseUnit nodes for contains, FindMissingUnits fixes contains
git-svn-id: trunk@41556 -
2013-06-05 20:02:06 +00:00
mattias
fd298c3dcf codetools: CheckUsesSection: fix directories too
git-svn-id: trunk@41554 -
2013-06-05 19:40:40 +00:00
mattias
db4e6e9744 codetools: fixed FindDiskFilename to recursively check all directories
git-svn-id: trunk@41553 -
2013-06-05 19:30:33 +00:00
mattias
4ce8683fd7 codetools: set DirectoryCache of tool, removed auto fetching
git-svn-id: trunk@41552 -
2013-06-05 19:07:50 +00:00
juha
c8649178b3 Codetools: revert the change in FixIncludeFilenames. It must be fixed properly later.
git-svn-id: trunk@41546 -
2013-06-05 10:53:40 +00:00
juha
a15d7330b6 Codetools: use CreateRelativePath() in FixIncludeFilenames.
git-svn-id: trunk@41544 -
2013-06-04 21:42:09 +00:00
mattias
c6da313e09 codetools: FindMissingUnits: do not find fpc sources if there is no ppu in fpc search path
git-svn-id: trunk@41412 -
2013-05-26 10:26:32 +00:00
mattias
f1b6abfac5 codetools: stdcodetools: use GetIndentStr of beautifier
git-svn-id: trunk@40820 -
2013-04-15 09:58:00 +00:00
mattias
3c5846fe89 codetools: stdcodetools: use GetLineIndent of beautifier
git-svn-id: trunk@40819 -
2013-04-15 09:53:05 +00:00
mattias
4b82e6e707 codetools: stdcodetools: use GetIndentStr of beautifier
git-svn-id: trunk@40818 -
2013-04-15 09:40:57 +00:00
mattias
a0f58c4b7d codetools: moved CommentCode to TStdCodeTool
git-svn-id: trunk@40815 -
2013-04-15 09:09:08 +00:00
mattias
da88503beb codetools: fixed range check error
git-svn-id: trunk@38752 -
2012-09-19 13:44:57 +00:00
mattias
89b17f0d82 codetools: fixed TStandardCodeTool.ReplaceWords
git-svn-id: trunk@38540 -
2012-09-06 15:00:13 +00:00
mattias
da2404fdb3 codetools: TLinkScanner.FindCodeInRange: return only links with code
git-svn-id: trunk@38539 -
2012-09-06 14:59:46 +00:00
mattias
cfa24e7773 codetools: skip codetools skip comment
git-svn-id: trunk@38209 -
2012-08-08 22:40:14 +00:00