Commit Graph

507 Commits

Author SHA1 Message Date
mattias
dfe60001a1 codetools: fixed nested comments for compiler mode fpc
git-svn-id: trunk@31022 -
2011-06-03 14:21:28 +00:00
mattias
03e335fd0e codetools: fixed fpc src include path for directory rtl
git-svn-id: trunk@31021 -
2011-06-03 14:03:26 +00:00
mattias
8c39496157 codetools: fixed use of keywordlists
git-svn-id: trunk@30954 -
2011-05-29 08:34:20 +00:00
mattias
8e1f917408 codetools: fixed TCodeToolManager.FindReferences
git-svn-id: trunk@30947 -
2011-05-28 08:52:08 +00:00
mattias
3d778b6492 codetools: define templates for lazarus src dir: packager frames
git-svn-id: trunk@30912 -
2011-05-26 10:50:59 +00:00
mattias
53b56fb01a codetools: fixed crash when compiler is broken
git-svn-id: trunk@30888 -
2011-05-24 18:45:54 +00:00
mattias
0abcba4a03 IDE: test compiler options: use codetools fpc config cache, bug #17700
git-svn-id: trunk@30457 -
2011-04-24 20:29:51 +00:00
mattias
c66ecb7939 IDE: debugging
git-svn-id: trunk@30037 -
2011-03-27 15:39:15 +00:00
mattias
c2071ea3cb IDE: started setup for fpc src
git-svn-id: trunk@29904 -
2011-03-19 10:28:38 +00:00
juha
f38190794b Formatting: joined lines where only ');' was split to its own line, in procedure defs.
git-svn-id: trunk@29871 -
2011-03-16 16:52:28 +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
20860be566 IDE: clean up
git-svn-id: trunk@29742 -
2011-03-07 11:41:04 +00:00
mattias
bee4293381 IDE: scan fpc source directory in the background after checking the fpc config
git-svn-id: trunk@29741 -
2011-03-07 11:18:36 +00:00
mattias
a7661ba152 codetools: added mode iso
git-svn-id: trunk@29729 -
2011-03-05 09:39:32 +00:00
mattias
552969e601 codetools: fixed parsing fpc info
git-svn-id: trunk@29665 -
2011-02-25 07:57:56 +00:00
mattias
2de3612e95 codetools: fixed buffer overrun
git-svn-id: trunk@29664 -
2011-02-24 23:32:51 +00:00
mattias
00962b9bbd codetools: lazarus src template packager/frames
git-svn-id: trunk@29639 -
2011-02-21 21:23:49 +00:00
mattias
777bb13739 codetools: FindCompiledUnitInCompletePath searching in unitset
git-svn-id: trunk@29448 -
2011-02-10 10:45:12 +00:00
mattias
b3a8dd03b1 fixed typos: childs
git-svn-id: trunk@29440 -
2011-02-10 09:37:16 +00:00
mattias
8cd980cb5b codetools: fixed simple init
git-svn-id: trunk@29402 -
2011-02-06 11:07:47 +00:00
mattias
48fb114490 IDE: always use unit LCLIntfCompile
git-svn-id: trunk@29211 -
2011-01-27 13:06:04 +00:00
mattias
5acda0783b android intf: added interfaces
git-svn-id: trunk@29127 -
2011-01-19 23:20:21 +00:00
mattias
a7b2988650 codetools: fixed adding fpc undefines
git-svn-id: trunk@29021 -
2011-01-14 23:45:25 +00:00
mattias
59680157ad codetools: added lcl targets arm-darwin-carbon arm-darwin-nogui
git-svn-id: trunk@28988 -
2011-01-13 12:10:40 +00:00
mattias
8e04bd3d98 codetools: allow caching unitsets without fpc source directory
git-svn-id: trunk@28977 -
2011-01-12 21:22:02 +00:00
mattias
8c4273f6e4 lazbuild: check fpc via test file
git-svn-id: trunk@28965 -
2011-01-11 22:54:13 +00:00
mattias
1323dd35bc IDE: added check for missing real compiler
git-svn-id: trunk@28962 -
2011-01-11 16:41:54 +00:00
mattias
d5c9ca6f4f IDE: fixed wrong CleanAndExpandFile/Dir use
git-svn-id: trunk@28940 -
2011-01-10 20:40:59 +00:00
mattias
dc5709cc8a IDE: warn if fpc has no config file
git-svn-id: trunk@28939 -
2011-01-10 16:51:08 +00:00
mattias
632ae5d71b IDE: about fpc: show fpc -i and -va output
git-svn-id: trunk@28893 -
2011-01-07 13:49:49 +00:00
mattias
0083799bb6 codetools: fixed some file name compares
git-svn-id: trunk@28582 -
2010-12-01 15:28:43 +00:00
mattias
dcde33b7ef codetools: TFPCSourceCache.Update; do not scan if Directory empty
git-svn-id: trunk@28554 -
2010-11-29 09:15:32 +00:00
mattias
504bccb12b IDE: RescanCompilerDefines: check if changestamp invalid
git-svn-id: trunk@28201 -
2010-11-13 13:42:55 +00:00
mattias
423aab1554 codetools: search target compiler in directory of default compiler
git-svn-id: trunk@28190 -
2010-11-12 20:37:19 +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
9f21138dcb IDE: when creating a new unit and project options and main sourcedirectives differ ask, feature 17014
git-svn-id: trunk@27969 -
2010-10-30 11:30:35 +00:00
mattias
2c5c4c2609 IDE: auto fix case of TargetOS and TargetCPU
git-svn-id: trunk@27847 -
2010-10-25 08:24:24 +00:00
mattias
e104829cc2 codetools: added check vs symlink loop, bug #17614
git-svn-id: trunk@27689 -
2010-10-13 22:17:09 +00:00
mattias
1293a9022f codetools: debugging output
git-svn-id: trunk@27580 -
2010-10-05 07:44:19 +00:00
mattias
4d26bc867f IDE: running FPC source scan in background thread
git-svn-id: trunk@27577 -
2010-10-04 18:34:57 +00:00
mattias
aac4168119 IDE: started background scan of fpc source directory
git-svn-id: trunk@27575 -
2010-10-04 14:00:13 +00:00
mattias
0b18b44d8e codetools: added flag TFPCSourceCache.Valid
git-svn-id: trunk@27562 -
2010-10-04 09:20:53 +00:00
mattias
cb4fe65c5f codetools: fpc caches: added invalid stamp constant
git-svn-id: trunk@27561 -
2010-10-04 09:15:34 +00:00
mattias
24003c4e73 codetools: fixed fpcdefine caches: fixed changestamp
git-svn-id: trunk@27008 -
2010-08-04 11:09:59 +00:00
mattias
234c166d86 codetools: CreateFPCCommandLineDefines parse -dName:=Value
git-svn-id: trunk@26926 -
2010-07-31 08:49:15 +00:00
mattias
ee2a4b6481 codetools: fixed runtool currentdirectory utf8tosys
git-svn-id: trunk@26912 -
2010-07-30 12:22:25 +00:00
mattias
4075c56ad3 codetools: fixed UTF8 for RunTool
git-svn-id: trunk@26909 -
2010-07-30 05:26:14 +00:00
mattias
08521ea248 codetools: runtool: utf8tosys
git-svn-id: trunk@26908 -
2010-07-29 22:17:42 +00:00
mattias
6d3739d9ba codetools: fpc unit paths setdirseparator
git-svn-id: trunk@26866 -
2010-07-27 18:20:01 +00:00
mattias
d926fdf04a codetools: fpc cache: check PATH
git-svn-id: trunk@26854 -
2010-07-27 13:52:57 +00:00
mattias
0ed44a071c codetools: warning about not able to create test file
git-svn-id: trunk@26850 -
2010-07-27 10:10:36 +00:00
mattias
5a1cba9ff7 codetools: fixed crash, if fpc returns no search paths
git-svn-id: trunk@26847 -
2010-07-27 09:06:55 +00:00
mattias
b965ac5878 codetools: fpc src rules: check case insensitive, when no target compiler use defaults
git-svn-id: trunk@26839 -
2010-07-26 13:13:10 +00:00
mattias
47a231cc35 codetools: testfpcsrcunitrules: added flag to check a unit
git-svn-id: trunk@26837 -
2010-07-26 10:45:26 +00:00
mattias
1ce765fdda codetools: check if ppu exists in fpc ppu search path, bug #17033
git-svn-id: trunk@26835 -
2010-07-26 08:04:24 +00:00
mattias
39450e7d0d codetools: fpc cache: using case insensitive trees
git-svn-id: trunk@26827 -
2010-07-25 08:57:43 +00:00
mattias
0713dbfc33 codetools: fpc cache: using case insensitive trees
git-svn-id: trunk@26826 -
2010-07-25 08:56:16 +00:00
mattias
688eb04f0d codetools: delete temp file
git-svn-id: trunk@26824 -
2010-07-24 23:19:21 +00:00
mattias
7f590e0497 codetools: fixed getting compiler target os, cpu
git-svn-id: trunk@26821 -
2010-07-24 22:57:39 +00:00
mattias
afe16f9489 IDE: code browser: fixed scanning IDE
git-svn-id: trunk@26808 -
2010-07-24 11:52:24 +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
eeb043e59e codetools: TCodeToolsOptions.InitWithEnvironmentVariables: search for default
git-svn-id: trunk@26736 -
2010-07-19 12:19:30 +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
87dd07beb4 codetools: fpcdefines: support for empty target cpu and os
git-svn-id: trunk@26697 -
2010-07-16 20:06:08 +00:00
mattias
c7463d7343 IDE: fixed mem leak
git-svn-id: trunk@26658 -
2010-07-14 23:07:30 +00:00
mattias
7728cf1e4e codetools: started unitsets
git-svn-id: trunk@26656 -
2010-07-14 23:01:12 +00:00
mattias
10bd683ca8 codetools: fpc template from config cache
git-svn-id: trunk@26628 -
2010-07-13 15:47:21 +00:00
mattias
55dcc22df2 codetools: fpcdefines: check cache validity
git-svn-id: trunk@26618 -
2010-07-13 11:42:46 +00:00
mattias
b23492619f codetools: completeblock: check if unindented line starts new block
git-svn-id: trunk@26617 -
2010-07-13 10:06:40 +00:00
mattias
893f722018 codetools: fpcdefines: tcomponent
git-svn-id: trunk@26613 -
2010-07-13 08:01:19 +00:00
mattias
c38a01e0ae codetools: fpccache: notifications
git-svn-id: trunk@26608 -
2010-07-12 11:58:42 +00:00
mattias
7ece9907af codetools: fpcdefines: started supported caching multiple targets
git-svn-id: trunk@26605 -
2010-07-12 07:31:43 +00:00
mattias
7e74198f7d codetools: completeblock: improved for class
git-svn-id: trunk@26604 -
2010-07-11 20:46:35 +00:00
mattias
dee92243f1 codetools: expreval: support for defined(#var)
git-svn-id: trunk@26296 -
2010-06-27 16:49:58 +00:00
mattias
d0d753564d IDE: define template use default flag
git-svn-id: trunk@26286 -
2010-06-24 19:19:34 +00:00
mattias
4abd567ce9 IDE: started fallback define templates
git-svn-id: trunk@26281 -
2010-06-24 15:47:28 +00:00
mattias
5b07f80b00 IDE: lazcontrols: added codetools values, create dummy package if lpk not found, package link, Makefile
git-svn-id: trunk@26245 -
2010-06-21 22:50:36 +00:00
mattias
a0f0155c4a codetools: lcl defines split for gtk2
git-svn-id: trunk@26028 -
2010-06-10 15:56:51 +00:00
mattias
65f048b55b codetools: added TFPCDefinesCache
git-svn-id: trunk@25386 -
2010-05-13 21:34:07 +00:00
mattias
7fe1c5270e codetools: check if fpc cfg needs update
git-svn-id: trunk@25383 -
2010-05-13 18:59:00 +00:00
mattias
e5a74ccd2b codetools: reduced warnings
git-svn-id: trunk@25340 -
2010-05-12 19:38:45 +00:00
mattias
39c8ccd392 codetools: load/save fpc config and sources
git-svn-id: trunk@25338 -
2010-05-12 16:56:10 +00:00
mattias
dc88662419 codetools: load/save fpc sources
git-svn-id: trunk@25335 -
2010-05-12 16:31:25 +00:00
mattias
5dbb743c2f codetools: load/save fpc configs
git-svn-id: trunk@25333 -
2010-05-12 15:49:48 +00:00
mattias
5355942e1a codetools: cache for fpc listing
git-svn-id: trunk@25223 -
2010-05-05 18:59:20 +00:00
mattias
da949d64ae IDE: codetools: load/save fpc source listing
git-svn-id: trunk@25221 -
2010-05-05 17:18:55 +00:00
mattias
3bb94e2091 codetools: parsing target compiler
git-svn-id: trunk@25216 -
2010-05-05 13:29:35 +00:00
mattias
ff8ec805a1 codetools: storing tried fpc cfgs
git-svn-id: trunk@25208 -
2010-05-05 10:40:05 +00:00
mattias
9968ec7168 LCL: TTreeView: added OnAddition
git-svn-id: trunk@25192 -
2010-05-04 20:20:13 +00:00
mattias
cf55952b42 removed OldAutoSize
git-svn-id: trunk@25190 -
2010-05-04 19:16:18 +00:00
mattias
1a15552418 codetools: started save/load fpc target cache
git-svn-id: trunk@25187 -
2010-05-04 17:52:17 +00:00
mattias
bc5304c425 codetools: started load/save fpc source file names
git-svn-id: trunk@25172 -
2010-05-04 09:21:09 +00:00
mattias
083a214ec4 codetools: started caching fpc defines
git-svn-id: trunk@25129 -
2010-05-02 10:23:21 +00:00
mattias
f6dfa6e457 codetools: function to report fpc source duplicates and missing units
git-svn-id: trunk@25117 -
2010-05-01 19:40:35 +00:00
mattias
9a54275b4e codetools: started fpc source checking
git-svn-id: trunk@25112 -
2010-05-01 18:27:38 +00:00
mattias
63fc880084 codetools: comment
git-svn-id: trunk@25109 -
2010-05-01 17:53:11 +00:00
mattias
a846877b84 codetools: adjust fpc source rules for httpd
git-svn-id: trunk@25108 -
2010-05-01 17:39:24 +00:00
mattias
798bfa1b72 IDE: using normal bounds or restore
git-svn-id: trunk@25077 -
2010-04-30 07:15:25 +00:00
mattias
c766ccbcaa codetools: fpc source units: return list of conflicts
git-svn-id: trunk@25076 -
2010-04-30 06:49:36 +00:00
mattias
2dcf65e139 codetools: fpc sources: fixed fpc source score
git-svn-id: trunk@25073 -
2010-04-29 21:21:07 +00:00
mattias
d9a053b0da codetools: fpc sources: ignore fpmake.pp units
git-svn-id: trunk@25072 -
2010-04-29 20:59:18 +00:00
mattias
1f5959b00a codetools: added more fpc source scores
git-svn-id: trunk@25071 -
2010-04-29 20:43:32 +00:00
mattias
06f583ae49 codetools: using fpc source rules
git-svn-id: trunk@25064 -
2010-04-29 09:00:49 +00:00
mattias
7787ab48a2 codetools: started reading fpc source rules
git-svn-id: trunk@25050 -
2010-04-28 23:33:34 +00:00
mattias
027fe93e96 codetools: started rule set for fpc sources
git-svn-id: trunk@25048 -
2010-04-28 23:04:32 +00:00
mattias
0e85fb36ac codetools: fpc source rules adding
git-svn-id: trunk@25041 -
2010-04-28 17:42:58 +00:00
mattias
914394bb12 codetools: started fpc source rules
git-svn-id: trunk@25040 -
2010-04-28 17:39:13 +00:00
mattias
c2e7239df1 codetools: started function to gather fpc source units
git-svn-id: trunk@25029 -
2010-04-28 12:34:51 +00:00
mattias
de960ec11d codetools: added function to find all fpc units
git-svn-id: trunk@25023 -
2010-04-28 08:44:31 +00:00
mattias
c48d57385a codetools: function to run fpc and get macros and unit search paths
git-svn-id: trunk@25018 -
2010-04-27 21:24:27 +00:00
mattias
ce48109571 codetools: function to run fpc and get info
git-svn-id: trunk@25016 -
2010-04-27 20:06:45 +00:00
mattias
2a85bf2409 codetools: added function to get fpc info
git-svn-id: trunk@25015 -
2010-04-27 20:01:27 +00:00
mattias
e9d4b90835 codetools: identifier completion: list used units
git-svn-id: trunk@24999 -
2010-04-27 10:14:49 +00:00
mattias
ca57327310 codetools: added parse function for fpc -i output
git-svn-id: trunk@24998 -
2010-04-27 09:42:59 +00:00
mattias
bdfcf514b1 codetools: started fpc info
git-svn-id: trunk@24995 -
2010-04-27 08:16:20 +00:00
mattias
3160329041 codetools: simple runtool
git-svn-id: trunk@24983 -
2010-04-26 21:53:07 +00:00
mattias
7a5869db43 codetools: removed TGatherFileProgress
git-svn-id: trunk@24970 -
2010-04-26 14:48:50 +00:00
mattias
e8430676fb codetools: added msg string to progres
git-svn-id: trunk@24969 -
2010-04-26 14:31:42 +00:00
mattias
8b4777eebd codetools: added GatherFiles
git-svn-id: trunk@24967 -
2010-04-26 13:40:25 +00:00
mattias
4db8628bf5 codetools: FilenameIsMatching: fixed asterisk in brackets
git-svn-id: trunk@24966 -
2010-04-26 13:33:30 +00:00
mattias
b885edf472 codetools: FilenameIsMatching: fixed bracket at end of mask, FindPathInSearchPath: using CompareFilenames
git-svn-id: trunk@24964 -
2010-04-26 12:22:02 +00:00
mattias
7e95a219cd codetools: added OS haiku, bug #16294
git-svn-id: trunk@24742 -
2010-04-20 14:45:12 +00:00
mattias
e0b2912421 codetools: defines for synedit SrcPath to IDEIntf for sub directories
git-svn-id: trunk@24702 -
2010-04-18 18:10:12 +00:00
mattias
35197f4b0d codetools: fpc units in packages/fcl* have higher priority
git-svn-id: trunk@24600 -
2010-04-12 14:29:36 +00:00
mattias
fc19399e97 codetools: added TDefinePool.GetFPCVerFromFPCTemplate
git-svn-id: trunk@24034 -
2010-03-16 13:29:29 +00:00
mattias
462d545377 codetools: define templates for fcl-async
git-svn-id: trunk@23529 -
2010-01-22 12:10:45 +00:00
mattias
4f92e05edc codetools: fixed getdefaultcompiledtargetos
git-svn-id: trunk@23509 -
2010-01-20 19:04:19 +00:00
mattias
34ee8ab50f codetools: fixed search paths for directory debugger
git-svn-id: trunk@23025 -
2009-12-08 11:33:24 +00:00
mattias
e959ab8230 codetools: fixed search paths for directory debugger
git-svn-id: trunk@23024 -
2009-12-08 11:29:29 +00:00
mattias
4a5ccd0c77 IDE: using new eval
git-svn-id: trunk@22812 -
2009-11-26 20:47:19 +00:00
mattias
88d5b48c92 codetools: using new eval for conditionals
git-svn-id: trunk@22810 -
2009-11-26 20:37:58 +00:00
mattias
8906d2acae codetools: added carbon/objc to search path for carbon intf ppu
git-svn-id: trunk@22774 -
2009-11-25 16:56:39 +00:00
mattias
c9f7496afe codetools: defines: added ideintf to synedit
git-svn-id: trunk@22498 -
2009-11-09 11:00:12 +00:00
mattias
f154487ab1 codetools: skip fpc source directory amunits
git-svn-id: trunk@22473 -
2009-11-07 13:00:57 +00:00
mattias
9595f3e726 codetools: skip fpc src directoy packages/amunits
git-svn-id: trunk@22468 -
2009-11-07 10:56:27 +00:00
paul
5d50a609c0 codetools: rename AUnitName properties to Unit_Name
git-svn-id: trunk@22352 -
2009-10-30 14:46:35 +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
bc4d902447 codetools: defines for lcl carbon: pascocoa unit paths
git-svn-id: trunk@22106 -
2009-10-12 11:32:40 +00:00
mattias
8a287aeb94 codetools: added progress events for scanning FPC sources
git-svn-id: trunk@22074 -
2009-10-08 09:52:57 +00:00
mattias
777ca09779 codetools: added TCTDirectoryCache time stamp for configs
git-svn-id: trunk@21443 -
2009-08-25 14:08:26 +00:00
vincents
0dfadd5331 codetools: added nogui widget set to the list of CPU OS Widget set combinations (issue #14093)
git-svn-id: trunk@20789 -
2009-07-03 09:28:22 +00:00
mattias
8bc4612fcd codetools: finding and removing duplicate strings in define trees
git-svn-id: trunk@19913 -
2009-05-10 21:20:49 +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
bed259ea54 codetools: lazarus src: added unit paths to packager/frames
git-svn-id: trunk@18278 -
2009-01-13 16:49:28 +00:00
mattias
89df8b61f5 IDE: added directory packager/frames to defines
git-svn-id: trunk@18090 -
2009-01-03 22:02:07 +00:00
mattias
7784d73eb5 codetools: added ide to SrcPath for ide/frames directory, bug #12840
git-svn-id: trunk@17885 -
2008-12-22 17:25:09 +00:00