Commit Graph

372 Commits

Author SHA1 Message Date
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
paul
133174aae8 ide: add codetools->line splitting frame to the ide options
git-svn-id: trunk@17209 -
2008-11-04 08:19:53 +00:00
mattias
e5de689ab4 clean up
git-svn-id: trunk@16953 -
2008-10-11 07:31:03 +00:00
mattias
7f2d78f450 IDE: project: adding/removing include directive for project resources
git-svn-id: trunk@16932 -
2008-10-08 16:43:14 +00:00
mattias
992d5f74ab codetools: fixed TCodeTreeNode.ConsistencyCheck
git-svn-id: trunk@16859 -
2008-10-03 09:34:52 +00:00
mattias
f30a307736 codetools: fixed boss.loadfile to not load when autorevert is disabled
git-svn-id: trunk@16808 -
2008-09-30 08:41:35 +00:00
mattias
5d3611d298 codetools: auto revert when buffer IsDeleted
git-svn-id: trunk@16735 -
2008-09-25 23:44:53 +00:00
mattias
9032caa4fd UTF-8: added ExpandFilenameUTF8
git-svn-id: trunk@16272 -
2008-08-27 11:25:01 +00:00
mattias
69cfe88898 using UTF-8 for file operations and environment variables
git-svn-id: trunk@16236 -
2008-08-25 22:32:23 +00:00
mattias
ea23d0c086 IDE+codetools: using compiler mode Delphi when set in compiler options
git-svn-id: trunk@16092 -
2008-08-17 19:45:49 +00:00
mattias
41d5425de5 codetools: h2pas example: added defines, undefines, outputfile and multiple input files
git-svn-id: trunk@15905 -
2008-07-28 16:16:42 +00:00
mattias
4d27d2dca5 IDE+codetools: implemented creating event override for nested components
git-svn-id: trunk@15738 -
2008-07-10 16:17:24 +00:00
mattias
1546f3eee9 IDEIntf: TPropertyEditorHook changed method names to be ansistring instead shortstring
git-svn-id: trunk@15712 -
2008-07-08 18:48:15 +00:00
mattias
7e45858274 codetools: ppu: added heuristic to create FPC groups
git-svn-id: trunk@15665 -
2008-07-03 14:57:57 +00:00
mattias
b7b30e862a codetools: identifier completion can exists while rebuilding code trees
git-svn-id: trunk@15048 -
2008-05-05 20:06:28 +00:00
mattias
5e41e48a30 codetools: remove empty methods: implemented returning list of removed definitions
git-svn-id: trunk@14986 -
2008-04-26 19:18:57 +00:00
mattias
c0fef1b31e codetools: added function to remove empty method bodies
git-svn-id: trunk@14970 -
2008-04-25 12:35:55 +00:00
mattias
cc954306a9 codetools: added function to find empty method bodies
git-svn-id: trunk@14969 -
2008-04-25 12:11:17 +00:00
paul
b70cfb3a82 ide: load unit source buffer if it was not loaded before in LoadDependencyHidden, improve verbosity
git-svn-id: trunk@14848 -
2008-04-16 08:28:44 +00:00
mattias
92e555f7da codetools: lfmtrees are now kept
git-svn-id: trunk@14826 -
2008-04-15 12:08:36 +00:00
mattias
d8737e8a09 codetools: added h2ptree, converted some consistencychecks to exceptions
git-svn-id: trunk@14517 -
2008-03-14 11:56:14 +00:00
mattias
58e4529589 codetools: started h2pastool
git-svn-id: trunk@14407 -
2008-03-04 13:23:11 +00:00
mattias
876cefb855 codetools: CreateMethod: implemented adding units for parameter types, bug #10594
git-svn-id: trunk@13693 -
2008-01-09 19:45:29 +00:00
mattias
b7a82699cc codetools: added ErrorNicePosition to distingush between error position and probable cause of error
git-svn-id: trunk@13560 -
2008-01-01 20:26:48 +00:00
mattias
fd8a3de7c9 coetools: extract proc: implemented collecting and ingnoring missing identifiers
git-svn-id: trunk@13559 -
2008-01-01 19:35:37 +00:00
mattias
fb2f004237 codetools: code completion: auto create procedure from call statement
git-svn-id: trunk@13508 -
2007-12-28 19:35:10 +00:00
mattias
c126253698 codetools: fixed crash on FreeListOfPCodeXYPosition, IDE: fixed spelling mistake
git-svn-id: trunk@13436 -
2007-12-23 11:14:06 +00:00
mattias
6ff1df4f1f codetools: fixed some uninitialzed out params
git-svn-id: trunk@13371 -
2007-12-18 09:44:50 +00:00