Commit Graph

478 Commits

Author SHA1 Message Date
mattias
01bf54a2cc codetools: test RenameIdentifier
git-svn-id: trunk@64978 -
2021-04-12 18:49:28 +00:00
mattias
13450f46a2 codetools: FindReferences for unit names
git-svn-id: trunk@64931 -
2021-04-06 00:11:28 +00: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
3f78f0d62d New optimized functions in LazUtils: FilenameExtIs and FilenameExtIn. Used instead of CompareFileExt and similar.
git-svn-id: trunk@64583 -
2021-02-15 08:43:50 +00:00
juha
3ea7788cbf Optimize CompareFileExt in different ways. Comparison of FPC/Lazarus generated files can be case-sensitive.
git-svn-id: trunk@64374 -
2021-01-10 19:07:52 +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
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
a2c685b569 Codetools: Rename a namespaced unit correctly in project source. Issue #35803.
git-svn-id: trunk@62134 -
2019-10-27 15:46:17 +00:00
mattias
7167eb3bd1 codetools: fixed GetPascalCompilerForDirectory using same algo as TLinkScanner
git-svn-id: trunk@60592 -
2019-03-05 10:12:21 +00:00
mattias
6e9fee2984 IDE: fixed fpc version check for resources
git-svn-id: trunk@60552 -
2019-03-01 10:03:36 +00:00
mattias
70529aa22d IDE/codetools: unified compiler check, fixed testing compiler twice
git-svn-id: trunk@60551 -
2019-03-01 09:32:14 +00:00
juha
c9e4614e17 Delete old deprecated methods.
git-svn-id: trunk@59175 -
2018-09-28 11:06:40 +00:00
juha
41dc46374f LazUtils: Move string manipulation functions from LazUtilities to LazStringUtils.
git-svn-id: trunk@58634 -
2018-07-25 23:44:54 +00:00
ondrej
55dd4fef2b IDE: word completion: don't add words in place of a sub-identifier (myObject.|)
git-svn-id: trunk@58158 -
2018-06-06 20:13:29 +00:00
mattias
0aeaf2facf codetools: added AddProcModifier
git-svn-id: trunk@57914 -
2018-05-13 09:57:40 +00:00
mattias
157312616b IDE: started pas2js message parser
git-svn-id: trunk@57902 -
2018-05-11 19:59:48 +00:00
mattias
7943f543f2 codetools: use unit scopes from fpc output
git-svn-id: trunk@57844 -
2018-05-08 09:09:48 +00:00
mattias
65f9818baa IDE: parse custom compiler option -FN for default namespaces
git-svn-id: trunk@57801 -
2018-05-07 08:06:37 +00:00
mattias
0d058c9c07 codetools: renamed TFPCConfigFileStateList TPCConfigFileStateList, TFPCTargetConfigCache TPCTargetConfigCache
git-svn-id: trunk@56779 -
2017-12-18 17:03:02 +00:00
mattias
022a515783 codetools: renamed FPCDefinesCache to CompilerDefinesCache
git-svn-id: trunk@56776 -
2017-12-18 12:20:03 +00:00
mattias
f733e63de6 codetools: fixed clearing errormsg, issue #32761, from Pascal
git-svn-id: trunk@56578 -
2017-12-02 10:30:19 +00:00
mattias
ccea2a4b40 codetools: complete property: set defaults, complex type
git-svn-id: trunk@56526 -
2017-11-28 14:39:38 +00:00
mattias
c43215a213 codetools: added TCodeContextInfoItem.AsDebugString
git-svn-id: trunk@56506 -
2017-11-27 14:41:27 +00:00
mattias
87da0fc570 codetools: clean up
git-svn-id: trunk@56361 -
2017-11-11 10:07:34 +00:00
mattias
acd77c3bb0 lazutils: replaced TPASObjectWriter with TCompWriterPas
git-svn-id: trunk@56208 -
2017-10-26 14:18:13 +00:00
mattias
eee3db1cf7 codetools: GetValuesOfCaseVariable: WithTypeDefIfScoped default true
git-svn-id: trunk@56168 -
2017-10-23 11:22:39 +00:00
mattias
548fbd4852 codetools: added TFindDeclarationTool.FindClassMember
git-svn-id: trunk@55238 -
2017-06-05 13:29:16 +00:00
mattias
eca0a51b27 codetools: undo
git-svn-id: trunk@55236 -
2017-06-05 13:28:15 +00:00
mattias
12ad990c7b codetools: less hints methodjumptool.pas
git-svn-id: trunk@55235 -
2017-06-05 13:25:37 +00:00
juha
e27232d4cc Fix uninitialized variables based on compiler warnings got with dfa (data flow analysis) enabled.
git-svn-id: trunk@55211 -
2017-06-04 15:14:29 +00:00
mattias
b29915c159 IDE: method property editor: edit: ask whether jump to inherited or add override
git-svn-id: trunk@55206 -
2017-06-04 09:21:06 +00:00
ondrej
c3ef5a5623 CodeTools: return method overloads for compatibility after r55031 #3ec399d85a
git-svn-id: trunk@55037 -
2017-05-22 06:57:39 +00:00
ondrej
3ec399d85a CodeTools: add "Avoid unnecessary jumps" option, make it default.
git-svn-id: trunk@55031 -
2017-05-21 18:14:51 +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
f915aac0c7 codetools: use namespaces only for pas2js and fpc>30101
git-svn-id: trunk@54769 -
2017-04-28 22:39:47 +00:00
mattias
aa5717bb55 codetools: search units with namespaces
git-svn-id: trunk@54745 -
2017-04-26 18:36:04 +00:00
mattias
9af0510f2d codetools: fixed id on unknown exception
git-svn-id: trunk@54686 -
2017-04-22 11:20:56 +00:00
mattias
43254f08ad codetools: sourcechangecache and directiveparser: unique ids for errors
git-svn-id: trunk@54684 -
2017-04-22 11:18:28 +00:00
mattias
f344610be5 codetools: linkscanner: unique ids for errors
git-svn-id: trunk@54682 -
2017-04-22 11:10:31 +00:00
mattias
e42d0903e0 codetools: fixed error msg
git-svn-id: trunk@54674 -
2017-04-21 21:24:20 +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
hnb
1903007760 CodeTools: create new callback FindIncFileInCfgCache in basiccodetools.pas filled by codetoolmanager.pas to omit compilicated unit dependencies introduced in linkscanner.pas by uses section (for modules: CodeToolManager and DefineTemplates) in implementation section (that was the reason of AV on IDE exit and memory leaks, fix for mantis #31575, #31580)
git-svn-id: trunk@54461 -
2017-03-21 23:06:36 +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
8d43a73be1 codetools: avltree: new consistencycheck
git-svn-id: trunk@53925 -
2017-01-11 12:41:05 +00:00
mattias
0f58c1ef85 codetools: started test parsing record operators
git-svn-id: trunk@53668 -
2016-12-13 12:46:32 +00:00
mattias
81599322c4 codetools: started FindFileAtCursor
git-svn-id: trunk@53269 -
2016-10-30 23:42:40 +00:00