Commit Graph

499 Commits

Author SHA1 Message Date
mattias
ab1ba1c851 codetools: moved findgdbidentifier
git-svn-id: trunk@44963 -
2014-05-07 12:47:59 +00:00
mattias
ba52488ed6 codetools: define templates: macros in varibale names
git-svn-id: trunk@44539 -
2014-03-28 03:40:47 +00:00
mattias
612b486281 IDE: implement find references of used unit
git-svn-id: trunk@42686 -
2013-09-08 22:47:26 +00:00
mattias
5364c52f95 codetools: FindUsedUnitReferences
git-svn-id: trunk@42681 -
2013-09-08 19:19:55 +00:00
mattias
a1d47beded codetools: shrinked scan ranges from lsrEnd to lsrInitializationStart where possible
git-svn-id: trunk@42202 -
2013-07-25 12:49:04 +00:00
mattias
bbabe5442e codetools: free expander
git-svn-id: trunk@42192 -
2013-07-24 07:17:09 +00:00
mattias
e02c8ef2c8 codetools: started ability to load code completion snippets from an xml files, thanks to Don Ziesig, patch #15922
git-svn-id: trunk@42177 -
2013-07-22 22:08:53 +00:00
juha
8ae11e18a5 Codetools: formatting
git-svn-id: trunk@41947 -
2013-06-30 22:05:48 +00:00
mattias
a411d10198 codetools: fixed uninitialized params
git-svn-id: trunk@41914 -
2013-06-27 07:22:58 +00:00
mattias
2334f84a57 codetools: fixed result of ExploreUnitDirectives
git-svn-id: trunk@41678 -
2013-06-11 14:14:02 +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
mattias
4ce8683fd7 codetools: set DirectoryCache of tool, removed auto fetching
git-svn-id: trunk@41552 -
2013-06-05 19:07:50 +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
7530f8b888 IDE: started ifdef update via codetools
git-svn-id: trunk@41145 -
2013-05-12 08:56:20 +00:00
mattias
d3fc959f04 IDE: store directives when new scanner is initialized and a sourceeditor for the unit exist
git-svn-id: trunk@41132 -
2013-05-11 17:30:13 +00:00
mattias
78f5a14553 codetools: linkscanner: counter for storedirectives
git-svn-id: trunk@41128 -
2013-05-11 09:29:48 +00:00
mattias
dc39e06d70 codetools: linkscanner: sorted inlines, started storing directives
git-svn-id: trunk@41092 -
2013-05-09 13:19:47 +00:00
mattias
77326c8e80 codetools: fixed FindResourceDirective scanning only one file
git-svn-id: trunk@41007 -
2013-05-02 21:41:10 +00:00
mattias
09853b3d90 codetools: init error state
git-svn-id: trunk@41005 -
2013-05-02 21:08:00 +00:00
mattias
4b82e6e707 codetools: stdcodetools: use GetIndentStr of beautifier
git-svn-id: trunk@40818 -
2013-04-15 09:40:57 +00:00
mattias
e9156f83de codetools: gather identifiers: use tool beautifier
git-svn-id: trunk@40816 -
2013-04-15 09:14:12 +00:00
mattias
f4cb4fec12 IDE: pass BlockTabIndent to codetools
git-svn-id: trunk@40791 -
2013-04-11 11:08:01 +00:00
mattias
480fedbcc8 codetools: safety clean up on exception
git-svn-id: trunk@40681 -
2013-04-01 12:58:40 +00:00
mattias
c54dedb94a IDE: added TDesignerMediator.UseRTTIForMethods
git-svn-id: trunk@40122 -
2013-02-02 15:46:43 +00:00
mattias
2c1a0a9089 IDE: load designer form: fixed loading .pas or .pp
git-svn-id: trunk@40098 -
2013-01-31 21:03:25 +00:00
mattias
31d45f3449 IDE: added new search function for designer components
git-svn-id: trunk@40014 -
2013-01-29 02:06:01 +00:00
mattias
60fd65da29 codetools: added flag -dVerboseFindDeclarationFail
git-svn-id: trunk@39748 -
2013-01-03 13:48:12 +00:00
martin
f6c4b6b46c IDE: "Rename Identifier": show replaced lines in result. (FIx nil deref)
git-svn-id: trunk@39556 -
2012-12-16 04:32:53 +00:00
martin
fd62b97730 IDE: "Rename Identifier": show replaced lines in result.
git-svn-id: trunk@39555 -
2012-12-16 04:19:34 +00:00
juha
d91c978a4d Converter: Call FixIncludeFiles before parsing the source.
git-svn-id: trunk@37646 -
2012-06-14 17:51:25 +00:00
mattias
c7543c32cb codetools: JumpToPublishedMethodBody: added parameter ErrorOnNotFound
git-svn-id: trunk@36968 -
2012-04-22 10:06:33 +00:00
mattias
3e6354408f IDE: save lrs: check if possible
git-svn-id: trunk@35924 -
2012-03-13 11:06:33 +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
595b29af86 IDE: fixed typo
git-svn-id: trunk@34806 -
2012-01-19 22:06:56 +00:00
mattias
eb5f4cfb5d codetools: clean up
git-svn-id: trunk@34611 -
2012-01-06 10:40:06 +00:00
juha
5fd93058b5 IDE & packager: add units to uses section only if needed. Issue #20844
git-svn-id: trunk@34093 -
2011-12-10 18:50:03 +00:00
juha
72a709a931 Formatting
git-svn-id: trunk@34091 -
2011-12-10 18:49:02 +00:00
mattias
d3a1c4c3e8 codetools: TCodeToolManager.GetMainCode: if FindCodeOfMainUnitHint fails, use the source directly
git-svn-id: trunk@33777 -
2011-11-25 10:04:42 +00:00
mattias
f05fbd0a1f codetools: handlerlist for treetoolchanged
git-svn-id: trunk@33555 -
2011-11-16 06:52:13 +00:00
mattias
3d59e27e15 cody: started dictionary
git-svn-id: trunk@33550 -
2011-11-16 05:50:48 +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
4dcc3116ea codetools: show backtrace on consistency exceptions in linkscanner
git-svn-id: trunk@32775 -
2011-10-09 06:51:01 +00:00
mattias
edeaa59964 lazutils: started lazutf8, lazfileutil, lazfilecache
git-svn-id: trunk@32678 -
2011-10-04 22:42:44 +00:00
mattias
e914964569 codetools: clean up
git-svn-id: trunk@32525 -
2011-09-27 19:20:22 +00:00
mattias
921dd0404b codetools: started GetExpandedOperand
git-svn-id: trunk@32262 -
2011-09-10 18:21:13 +00:00
mattias
be78a06cb3 codetools: AddWithBlock
git-svn-id: trunk@32244 -
2011-09-09 22:32:47 +00:00
mattias
73d34d3088 codetools: find sources in fpc unit search paths
git-svn-id: trunk@32240 -
2011-09-09 19:00:32 +00:00
mattias
3fb87d479c codetools: started add with block
git-svn-id: trunk@32209 -
2011-09-07 21:03:52 +00:00
mattias
caa300bdcf codetools: renamed TStandardCodeTool.AddIncludeDirective
git-svn-id: trunk@32121 -
2011-08-30 16:37:31 +00:00
mattias
d054dea35c codetools: identifier completion: do not clear on change
git-svn-id: trunk@31625 -
2011-07-09 21:36:19 +00:00
mattias
755ba26316 IDE: add unit to uses section: search via codetools
git-svn-id: trunk@31228 -
2011-06-14 18:56:21 +00:00
mattias
fb150584ed codetools: gatheridentifiers: protect list during update
git-svn-id: trunk@31223 -
2011-06-14 17:33:12 +00:00
mattias
057f07d894 codetools: validate node caches on every BuildTree, not only when unit changed
git-svn-id: trunk@31218 -
2011-06-14 14:48:12 +00:00
mattias
23176970f9 IDE: added warning when auto compile package has dependencies and output dir is in default fpc unit path
git-svn-id: trunk@31109 -
2011-06-05 23:34:31 +00:00
mattias
8e1f917408 codetools: fixed TCodeToolManager.FindReferences
git-svn-id: trunk@30947 -
2011-05-28 08:52:08 +00:00
mattias
4a19042de7 codetools: fixed mem leak
git-svn-id: trunk@30945 -
2011-05-27 23:05:46 +00:00
mattias
b87cbc31f1 cody: declare var
git-svn-id: trunk@30934 -
2011-05-27 17:24:02 +00:00
mattias
4e3bb381e3 codetools: AddVariable: interface and implementation
git-svn-id: trunk@30898 -
2011-05-25 15:49:27 +00:00
mattias
3ce75c3558 codetools: AddLocalVariable: insert in front of MaxPos
git-svn-id: trunk@30892 -
2011-05-24 21:42:15 +00:00
mattias
f36407ac9e IDE: compile package check: check file date of fpc units
git-svn-id: trunk@30873 -
2011-05-23 20:45:38 +00:00
mattias
8e95e69f36 codetools: FileExistsCached, FileAgeCached: use directory cacher
git-svn-id: trunk@30872 -
2011-05-23 16:26:09 +00:00
mattias
53866fee38 cody: declare var: with statement
git-svn-id: trunk@30841 -
2011-05-21 21:22:42 +00:00
mattias
e1c12a7721 cody: started declare variable
git-svn-id: trunk@30811 -
2011-05-19 15:28:09 +00:00
mattias
7a98756abb codetools: added cache to FindReferences
git-svn-id: trunk@30547 -
2011-05-04 13:40:35 +00:00
mattias
a031fab2fc codetools: extractproc for program
git-svn-id: trunk@30533 -
2011-05-02 18:27:16 +00:00
mattias
92692eea39 codetools: aded FindProcDeclaration
git-svn-id: trunk@30523 -
2011-05-02 09:08:23 +00:00
mattias
bc19f550d3 cody: added dialog to add a Assign method
git-svn-id: trunk@30521 -
2011-05-01 19:24:09 +00:00
mattias
fbc076999d codetools: example for FindAssignMethod
git-svn-id: trunk@30495 -
2011-04-28 12:50:19 +00:00
mattias
90a1dcfc9b codetools: started FindAssignMethod
git-svn-id: trunk@30491 -
2011-04-27 17:51:15 +00:00
mattias
3a806bbb9f IDE: codehelp: loop
git-svn-id: trunk@30270 -
2011-04-12 17:19:25 +00:00
mattias
dd0fc4c825 IDE: codehelp: improved debugging
git-svn-id: trunk@30266 -
2011-04-11 21:25:55 +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
e58c0558d2 codetools: added PublishedMethodExists, GetCompatiblePublishedMethods without typedata
git-svn-id: trunk@29956 -
2011-03-21 09:56:35 +00:00
mattias
160a97f228 codetools: changed TDefinePool.ChangeStep to integer
git-svn-id: trunk@29800 -
2011-03-11 22:44:22 +00:00
mattias
517bd4b789 codetools: use global changesteps for quick updateneeded checks
git-svn-id: trunk@29787 -
2011-03-10 22:22:47 +00:00
mattias
12728e1833 cody: ppu list: uses count and used by count
git-svn-id: trunk@29469 -
2011-02-11 18:32:32 +00:00
mattias
da98b47570 codetools: cache for parsing ppu files
git-svn-id: trunk@29455 -
2011-02-10 21:56:58 +00:00
mattias
777bb13739 codetools: FindCompiledUnitInCompletePath searching in unitset
git-svn-id: trunk@29448 -
2011-02-10 10:45:12 +00:00
mattias
8cd980cb5b codetools: fixed simple init
git-svn-id: trunk@29402 -
2011-02-06 11:07:47 +00:00
mattias
92a693d145 codetools: removed TCodeTreeNodeExtMemManager, not needed anymore
git-svn-id: trunk@29334 -
2011-02-02 18:56:59 +00:00
mattias
b75a2a4bb5 codetools: added TCodeToolManager.AddUnitToImplementationUsesSection
git-svn-id: trunk@28795 -
2010-12-21 13:33:34 +00:00
mattias
e61789e256 IDE: context help editor: show hint about declaration of each control
git-svn-id: trunk@28681 -
2010-12-11 11:14:47 +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
6ebaacbba1 codetools: clean up and debugging
git-svn-id: trunk@27498 -
2010-09-28 10:51:08 +00:00
mattias
5dd01ce874 codetools: CheckLFM: added boolean RootMustBeClassInUnit parameter
git-svn-id: trunk@27481 -
2010-09-26 20:30:24 +00:00
mattias
6d02cc37ff codetools: extended RetypeClassVariables
git-svn-id: trunk@27479 -
2010-09-26 20:02:50 +00:00
mattias
d4b9573bfb codetools: FindDeclaration: jump by default to next declaration
git-svn-id: trunk@26961 -
2010-08-01 08:43:02 +00:00
mattias
5f4f03d6e9 IDE: using new codetools FPC caches
IDE: fixed macro FPCVer for multiple versions used by fpc.exe
IDE: fixed rescan of FPC sources if not changed, bug #16824
codetools: replaced fpc source heuristic with rule set, needed for bug #13912, #14572
IDE: fixed unneeded rescan of fpc sources if only target changed, needed for 12828
IDE: fixed calling compiler on every start, needed by lazarus on a stick
codetools: fixed search for fpc units without ppu, needed for 15534
IDE: implemented cache for fpc include files, needed by debugger
lazbuild: fixed using non default lclwidgettype of lpi
IDE: fixed auto update if fpc.cfg or target compiler changed, needed for 16824

git-svn-id: trunk@26796 -
2010-07-24 08:12:27 +00:00
mattias
9a69db4955 codetools: started collecting FPC units from set
git-svn-id: trunk@26738 -
2010-07-19 15:59:57 +00:00
mattias
7dc32fc395 codetools: fpc cache: handle missing compiler file
git-svn-id: trunk@26735 -
2010-07-19 12:08:13 +00:00
mattias
76a66d83d4 codetools: implemented TCodeToolManager.DirectoryCachePoolGetUnitFromSet
git-svn-id: trunk@26728 -
2010-07-18 21:07:44 +00:00
mattias
3920c1a238 codetools: started init with new fpc cache
git-svn-id: trunk@26721 -
2010-07-18 00:50:13 +00:00
mattias
7728cf1e4e codetools: started unitsets
git-svn-id: trunk@26656 -
2010-07-14 23:01:12 +00:00
mattias
c0682eae27 codetools: completeblock when typing begin
git-svn-id: trunk@26515 -
2010-07-07 22:40:38 +00:00
mattias
421757e81f codetools: fixed rename identifier
git-svn-id: trunk@26458 -
2010-07-04 12:48: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
946f34ba8f codetools: find references: fixed error handling
git-svn-id: trunk@26434 -
2010-07-02 23:11:47 +00:00
mattias
ed39d1d953 codetools: comment
git-svn-id: trunk@26131 -
2010-06-15 13:26:22 +00:00
mattias
886f997841 codetools: find identifier references: limit scope
git-svn-id: trunk@25959 -
2010-06-06 22:23:44 +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
7380a8de8d codetools: implemented TCodeBufXMLConfig
git-svn-id: trunk@24500 -
2010-04-08 12:30:26 +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
f778e14f09 codetools: improved error message, when unit of include file is not known
git-svn-id: trunk@23906 -
2010-03-09 22:28:30 +00:00
mattias
3129fa2571 codetools: fixed using SetPropertyVariableName
git-svn-id: trunk@23875 -
2010-03-08 11:19:34 +00:00
paul
040bb76815 ide, codetools, packager: use Classes.TGetStrProc instead of similar locally defined types by Alexander S. Klenin (issue #0015556)
git-svn-id: trunk@23514 -
2010-01-21 02:24:16 +00:00
mattias
2f778c1f3b codetools: fixed adding published method into implicit first published section
git-svn-id: trunk@22941 -
2009-12-03 11:29:47 +00:00
mattias
e97ed5a1c9 codetools: LoadFile revert=true: check Revert result
git-svn-id: trunk@22853 -
2009-11-28 15:23:23 +00:00
paul
79ff6ed4bc components, ide, ideintf: change UnitName identifier to AUnitName inside classes (preparations for the new TObject.UnitName method)
git-svn-id: trunk@22327 -
2009-10-29 08:40:22 +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
mattias
6577c9429d codetools: auto indenter: fetching example filenames
git-svn-id: trunk@22292 -
2009-10-26 17:32:11 +00:00
mattias
10467a9126 codetools: clean up
git-svn-id: trunk@22107 -
2009-10-12 11:35:01 +00:00
mattias
1ffd720917 IDE+codetools: ExtractOperand: added WithoutTrailingPoints
git-svn-id: trunk@21985 -
2009-10-02 18:49:58 +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
paul
c7998ac533 ide: fix creation of project .lrs files before the build if they does not exist (issue #0014620)
git-svn-id: trunk@21760 -
2009-09-18 15:00:06 +00:00
mattias
99b710e724 codetools: fixed double init, thx to Paul
git-svn-id: trunk@21552 -
2009-09-03 08:21:31 +00:00
mattias
777ca09779 codetools: added TCTDirectoryCache time stamp for configs
git-svn-id: trunk@21443 -
2009-08-25 14:08:26 +00:00
mattias
cb478845f0 codetools; comment
git-svn-id: trunk@21417 -
2009-08-23 11:59:33 +00:00
mattias
8ba2fa933d codetools: clear sourcechangecache on error, bug #14026
git-svn-id: trunk@21075 -
2009-08-02 19:34:05 +00:00
mattias
f924e9f36e codetools: reduced debugging output
git-svn-id: trunk@21073 -
2009-08-02 16:59:26 +00:00
mattias
a1c288222b codetools: moved indenter to TCodeToolManager
git-svn-id: trunk@20480 -
2009-06-06 16:16:51 +00:00
mattias
65c80f814d codetools: added indenter to sourcechanger
git-svn-id: trunk@20318 -
2009-05-30 17:58:32 +00:00
mattias
f8012d194e IDE: fixed result of SaveSourceEditorChangesToCodeCache, codetools: started complete block
git-svn-id: trunk@20107 -
2009-05-21 13:24:15 +00:00
mattias
3af6e0f0e1 codetools: mem stats for GlobalIdentifierTree
git-svn-id: trunk@19931 -
2009-05-11 17:14:09 +00:00
mattias
cd6234540b codetools: mem stats for FileStateCache
git-svn-id: trunk@19930 -
2009-05-11 16:58:55 +00:00
mattias
2ffb8e87be codetools: mem stats plus keywordfunclist
git-svn-id: trunk@19928 -
2009-05-11 16:52:30 +00:00
mattias
0ebc2f8222 codetools: added mem stat details for boss
git-svn-id: trunk@19880 -
2009-05-09 11:46:20 +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
9544e1cffa codetools: option to add units as last ignoring user settings
git-svn-id: trunk@19839 -
2009-05-07 09:44:15 +00:00
mattias
3e5a744e2d codetools: find declaratuion: added flag to skip forward class
git-svn-id: trunk@19814 -
2009-05-05 18:02:20 +00:00
mattias
3d95973a6c codetools: implemented adding to uses sections with options
git-svn-id: trunk@19802 -
2009-05-04 16:12:03 +00:00
mattias
018eab6b38 codetools: added policy for uses additions
git-svn-id: trunk@19779 -
2009-05-03 10:34:33 +00:00
mattias
21ad29c287 codetools: find overloads: add parent-child edges
git-svn-id: trunk@19752 -
2009-05-01 22:53:22 +00:00
mattias
a927537fcb IDE: find overloads: find main declaration
git-svn-id: trunk@19751 -
2009-05-01 19:41:26 +00:00
mattias
bf401e3e3b codetools: started overloads graph
git-svn-id: trunk@19748 -
2009-05-01 18:24:27 +00:00
mattias
46cf4464ea IDE: implemented code macro ofall
git-svn-id: trunk@19654 -
2009-04-27 20:58:04 +00:00
mattias
ee6cc0c5be codetools: identifier completion after inherited, bug #10560
git-svn-id: trunk@19605 -
2009-04-24 11:44:36 +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
39dabdaf5d IDE: added quickfix item for identifier not found and adding local variable
git-svn-id: trunk@19388 -
2009-04-12 22:54:55 +00:00
mattias
36c8c8f079 IDE+codetools: started finding unit references
git-svn-id: trunk@19310 -
2009-04-10 14:52:57 +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
77ab045b5b IDE+codetools: implemented Extract Function, issue #13108
git-svn-id: trunk@19188 -
2009-04-01 15:51:21 +00:00
mattias
1a4313f8bc codetools: consistencychecks now raises exceptions, accelerated TExprEval, added TExprEval.ChangeStamp
git-svn-id: trunk@17858 -
2008-12-18 22:32:30 +00:00
mattias
24e99e928a IDE: combined remove empty methods
git-svn-id: trunk@17804 -
2008-12-11 23:00:58 +00:00
mattias
2629831200 codetools: fixed fpc source directory definitions if blocks
git-svn-id: trunk@17731 -
2008-12-08 17:58:16 +00:00
mattias
ef52dfede9 codetools: SImpleInit: allow overriding TargetOS
git-svn-id: trunk@17715 -
2008-12-07 22:39:47 +00:00
mattias
991a580e12 codetools: extended examples to sue environment variable FPCTARGET
git-svn-id: trunk@17714 -
2008-12-07 22:09:57 +00:00