Commit Graph

400 Commits

Author SHA1 Message Date
mattias
e38a298110 codetools: fixed SetApplicationTitleStatement for Application as param 2023-10-08 00:19:01 +02:00
mattias
f6ae2ddc3b codetools: using cache 2023-08-03 11:12:57 +02:00
Juha
e65a102527 Remove unit Laz_AVL_Tree, a copy of unit AVL_Tree. Not needed with FPC 3.2.x. 2023-07-07 17:39:03 +03:00
Martin
4f1d9530d5 Codetool: fix endless loop in "Find block begin", when already at start of file. Issue #40326 2023-06-18 10:37:55 +02:00
mattias
1d74ac6a25 codetoolsL TLinkScanenr: using TSourceLog 2023-06-09 16:15:46 +02:00
mattias
345f47ca6f IDE: loadlfm: resolve ambigious registered component classes 2023-04-13 15:38:12 +02:00
mattias
16eea4aacd IDE: loadlfm: check for ambiguous classes, heuristics to resolve ambiguous classes 2023-04-13 15:38:12 +02:00
mattias
37d638661f codetools: added GatherPublishedVarTypes, CompleteComponent with optional CheckUnits 2023-04-13 15:38:12 +02:00
mattias
a7f2330310 codetools: CheckLFM: variable type with unit name 2023-04-07 14:03:40 +02:00
mattias
7dec126e98 codetools: test wrong object unitname 2023-04-07 11:29:42 +02:00
mattias
d8a835dd17 codetools: test wrong root unitname 2023-04-07 11:29:41 +02:00
mattias
35a67fba04 codetools: started checking type unitnames 2023-04-06 12:33:47 +02:00
juha
2fa9987008 IDE, Codetools: Simplify LoadAncestorDependencyHidden. Use "out" parameter when appropriate.
git-svn-id: trunk@64762 -
2021-03-07 13:24:51 +00:00
martin
06eb834614 Implement "Select code block"
git-svn-id: trunk@64672 -
2021-02-26 22:01:33 +00:00
juha
0feb7a5662 Codetools, Debugger: Use a faster compare method for case-insensitive strings and StringLists.
git-svn-id: trunk@64465 -
2021-02-05 11:28:11 +00:00
juha
edc2cc5dbb Fix StandardCodeTool.HasInterfaceRegisterProc. Simplify code for checking added unit files.
git-svn-id: trunk@64156 -
2020-11-23 10:26:46 +00:00
juha
4fde982e86 Codetools: Find form's ancestor also when a generic form is specialized. Issue #37396, patch from Imants Gulbis.
git-svn-id: trunk@63627 -
2020-07-22 20:16:22 +00:00
mattias
665ab3cba6 codetools: AddUnitToMainUsesSection using flags, test
git-svn-id: trunk@63404 -
2020-06-20 15:52:42 +00:00
juha
9aaa7c7143 IDE: Disable 'Guess Misplaced IFDEF/ENDIF' feature until it gets fixed. Can be enabled by defining GuessMisplacedIfdef.
git-svn-id: trunk@62427 -
2019-12-21 08:11:26 +00:00
juha
45446f15b8 Formatting
git-svn-id: trunk@62168 -
2019-11-03 16:45:42 +00:00
juha
2599738437 Codetools: Fix function FindNextIncludeDirective when an include file name is quoted.
git-svn-id: trunk@60675 -
2019-03-15 11:23:21 +00:00
juha
c9e4614e17 Delete old deprecated methods.
git-svn-id: trunk@59175 -
2018-09-28 11:06:40 +00:00
mattias
45217310eb codetools: clean up
git-svn-id: trunk@59161 -
2018-09-24 17:38:29 +00:00
juha
57d56b4303 IDE: Add new Application.Title and .Scale statements after Application.Create line. Issue #34318.
git-svn-id: trunk@59156 -
2018-09-24 12:10:50 +00:00
mattias
727afc4dbd codetools: changed TAtomRing to support longer ring, full two way
git-svn-id: trunk@56465 -
2017-11-22 10:58:30 +00:00
mattias
f38efed9d7 codetools: fixed FindMissingUnits
git-svn-id: trunk@56269 -
2017-11-03 23:04:48 +00:00
mattias
e20bbbe399 codetools: fixed adding uses section to program
git-svn-id: trunk@56232 -
2017-10-29 15:43:55 +00:00
mattias
043449ee6f codetools: fixed AddUnitWarnDirective insert position
git-svn-id: trunk@56077 -
2017-10-16 11:59:40 +00:00
mattias
dad863f838 codetools: AddUnitWarnDirective: fixed startnode
git-svn-id: trunk@56073 -
2017-10-16 11:35:40 +00:00
mattias
ccf46cda1d codetools: fixed RemoveUnitFromAllUsesSections
git-svn-id: trunk@55944 -
2017-09-30 13:14:44 +00:00
mattias
80021aec47 codetools: fixed RemoveUnitFromAllUsesSections
git-svn-id: trunk@55853 -
2017-09-13 18:22:15 +00:00
ondrej
a5c8984ec7 CodeTools: center jumps with a percent value. Add settings for code block jump as well.
git-svn-id: trunk@55030 -
2017-05-21 13:26:38 +00:00
mattias
aa5717bb55 codetools: search units with namespaces
git-svn-id: trunk@54745 -
2017-04-26 18:36:04 +00:00
mattias
a378409b29 codetools: added unique ids for errors
git-svn-id: trunk@54663 -
2017-04-21 18:35:53 +00:00
juha
e800a738ad Copy AVL_Tree from FPC trunk and replace classes in AvgLvlTree and in CodetoolsStructs with it.
The unit in FPC packages will be used directly later.

git-svn-id: trunk@54524 -
2017-04-05 08:34:48 +00:00
mattias
8d2f378fed codetools: TStandardCodeTool.GetApplicationScaledStatement: check EndPos
git-svn-id: trunk@54256 -
2017-02-23 07:48:08 +00:00
ondrej
1c7e92643d LCL, IDE: HighDPI: add Application.Scaled and Project1.Scaled property for automatic LCL-driven scaling
git-svn-id: trunk@54199 -
2017-02-19 20:02:58 +00:00
joost
1de2cbf586 general: Updated address of the Free Software Foundation in copyright messages
git-svn-id: trunk@54031 -
2017-01-29 21:04:32 +00:00
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