Commit Graph

215 Commits

Author SHA1 Message Date
mattias
2ad95802b4 codetools: directory cacher: fixed finding dotted units
git-svn-id: trunk@41199 -
2013-05-14 23:16:14 +00:00
mattias
20382c7ed0 codetools: skipped code is now converted to special comments
git-svn-id: trunk@38521 -
2012-09-05 10:47:44 +00:00
mattias
ac5fdad655 undo
git-svn-id: trunk@38292 -
2012-08-21 07:48:52 +00:00
mattias
8700716f40 codetools: example for skipped code
git-svn-id: trunk@38291 -
2012-08-21 07:47:20 +00:00
mattias
9175dedadf codetools: using TFileStreamUTF8
git-svn-id: trunk@37653 -
2012-06-15 16:21:53 +00:00
mattias
fe499f1b2f codetools: simplified code
git-svn-id: trunk@36814 -
2012-04-16 11:45:18 +00:00
mattias
633df49583 lazutil: ExpandFilenameUTF8 with custom directory
git-svn-id: trunk@36053 -
2012-03-16 00:42:16 +00:00
mattias
b82b9efda2 codetools: debugln using CTDbgOutEvent
git-svn-id: trunk@35183 -
2012-02-06 14:19:29 +00:00
mattias
7f5a352702 lazutils: added CreateAbsoluteSearchPath, CreateRelativeSearchPath, MinimizeSearchPath, FindPathInSearchPath
git-svn-id: trunk@35159 -
2012-02-05 14:19:40 +00:00
mattias
db1ea8ca0c codetools: fixed compilation win32
git-svn-id: trunk@35096 -
2012-02-02 21:01:49 +00:00
mattias
e3ab9e771b codetools: using system filemask
git-svn-id: trunk@35092 -
2012-02-02 16:58:21 +00:00
mattias
971b471ca4 IDE: catch wrong dates
git-svn-id: trunk@35086 -
2012-02-02 15:09:48 +00:00
mattias
f9917204fc codetools: added FileDateToDateTimeDef
git-svn-id: trunk@35085 -
2012-02-02 15:04:42 +00:00
mattias
099bf2898b lazutils+codetools: fixed FindDiskFilename
git-svn-id: trunk@33219 -
2011-11-02 13:51:26 +00:00
mattias
edeaa59964 lazutils: started lazutf8, lazfileutil, lazfilecache
git-svn-id: trunk@32678 -
2011-10-04 22:42:44 +00:00
mattias
5fec1dbe91 IDE: activated new xml units
git-svn-id: trunk@32302 -
2011-09-12 21:12:49 +00:00
mattias
aae1b7e21f codetools: CompareFilenames with PChar
git-svn-id: trunk@32255 -
2011-09-10 16:11:50 +00:00
mattias
d66ac4c7bf codetools: fixed compilation win64
git-svn-id: trunk@32238 -
2011-09-09 06:51:19 +00:00
mattias
3123ce42c2 codetools: dbgs(array of const)
git-svn-id: trunk@32186 -
2011-09-05 18:10:37 +00:00
paul
14cca12943 fix typo caused a range check error or hang
git-svn-id: trunk@32114 -
2011-08-30 14:06:18 +00:00
mattias
d93c4a20c1 codetools: FilenameIsPascalUnit: dotted names
git-svn-id: trunk@32113 -
2011-08-30 10:46:50 +00:00
mattias
a4080c2387 IDE: RenameFileUTF8: invalidate file cache
git-svn-id: trunk@30956 -
2011-05-29 09:41:25 +00:00
mattias
8e1f917408 codetools: fixed TCodeToolManager.FindReferences
git-svn-id: trunk@30947 -
2011-05-28 08:52:08 +00:00
mattias
c46036889e codetools: when a single file is invalidated then invalidate the directory in the directorycacher
git-svn-id: trunk@30883 -
2011-05-24 09:26:42 +00:00
mattias
8e95e69f36 codetools: FileExistsCached, FileAgeCached: use directory cacher
git-svn-id: trunk@30872 -
2011-05-23 16:26:09 +00:00
mattias
2dd6f59bd1 codetools: SplitStringConstant: added UTF8 support
git-svn-id: trunk@30442 -
2011-04-23 22:50:43 +00:00
mattias
7461ab9b58 codetools: BeautifyStatement: nested comments
git-svn-id: trunk@30437 -
2011-04-23 15:10:56 +00:00
mattias
61b1c28e3b codetools: ReadAllLinks: stop after 12 levels
git-svn-id: trunk@30029 -
2011-03-27 09:10:04 +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
2eed8c5fe8 IDE: added fpdoc path for IDE sources
git-svn-id: trunk@29803 -
2011-03-12 12:26:19 +00:00
mattias
9b37a91c5b codetools: changed TFileStateCacheItem.TimeStamp to int64
git-svn-id: trunk@29801 -
2011-03-11 22:47:40 +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
117f3f55fa codetools: started parsing union
git-svn-id: trunk@29566 -
2011-02-15 21:37:44 +00:00
mattias
777bb13739 codetools: FindCompiledUnitInCompletePath searching in unitset
git-svn-id: trunk@29448 -
2011-02-10 10:45:12 +00:00
mattias
6c152e5c94 codetools: fixed FileIsText, bug #18692
git-svn-id: trunk@29408 -
2011-02-07 10:07:58 +00:00
paul
2af6ab0885 codetools: fix compilation for wince (issue #0018537)
git-svn-id: trunk@29228 -
2011-01-28 04:21:37 +00:00
paul
08d510cd25 codetools: use Windows instead of MSWindows define in case someone want to build codetools for wince
git-svn-id: trunk@29121 -
2011-01-19 12:42:09 +00:00
mattias
1be73ee86b lcl doc: TWSWinControl.GetPreferredSize
git-svn-id: trunk@29041 -
2011-01-15 18:32:54 +00:00
mattias
4b32b87dde codetools: fixed CreateRelativePath
git-svn-id: trunk@28994 -
2011-01-13 15:07:51 +00:00
mattias
d5c9ca6f4f IDE: fixed wrong CleanAndExpandFile/Dir use
git-svn-id: trunk@28940 -
2011-01-10 20:40:59 +00:00
mattias
336f855447 codetools: added RaiseAndCatchException
git-svn-id: trunk@28591 -
2010-12-02 12:32:06 +00:00
mattias
0f237c154c codetools: fixed CreateRelativePath
git-svn-id: trunk@28483 -
2010-11-25 19:03:31 +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
62d9b368ac LCL: fixed FileIsText to check for #0
git-svn-id: trunk@27524 -
2010-09-29 10:04:36 +00:00
mattias
250603ab78 LCL: fixed FileIsText to skip BOMs
git-svn-id: trunk@27523 -
2010-09-29 10:01:59 +00:00
mattias
36cb2971ba IDE: clean up
git-svn-id: trunk@27402 -
2010-09-18 08:45:04 +00:00
mattias
db8fac4fac codetools: fixed CreateRelativeSearchPath to keep a . search path
git-svn-id: trunk@27365 -
2010-09-14 16:37:32 +00:00
mattias
d926fdf04a codetools: fpc cache: check PATH
git-svn-id: trunk@26854 -
2010-07-27 13:52:57 +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
3ebbb2a0a9 codetools: store errors for jit parsed nodes, bug #16992
git-svn-id: trunk@26778 -
2010-07-22 11:35:42 +00:00
mattias
63fb9e4fd8 codetools: added ChangeStamp for all boss files
git-svn-id: trunk@26334 -
2010-06-30 04:44:00 +00:00
mattias
4db8628bf5 codetools: FilenameIsMatching: fixed asterisk in brackets
git-svn-id: trunk@24966 -
2010-04-26 13:33:30 +00:00
mattias
a66aa3f7cb codetools: FilenameIsMatching: fixed asterisk
git-svn-id: trunk@24965 -
2010-04-26 13:10:09 +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
cc85994222 codetools: when writing to an existing file: invalidate file cache only for that file
git-svn-id: trunk@24347 -
2010-04-01 12:04:21 +00:00
mattias
795893ae06 codetools: TCodeBuffer.FileDateOnDisk using cache
git-svn-id: trunk@24342 -
2010-04-01 11:32:26 +00:00
mattias
0d857ce551 codetools: implemented simple macro parsing
git-svn-id: trunk@23694 -
2010-02-11 18:19:35 +00:00
mattias
9b0d596224 lcl+codetools: CreateRelativePath: support for double pathdelims
git-svn-id: trunk@23666 -
2010-02-09 13:36:20 +00:00
paul
9863a149d8 codetools: don't request file locks on reading ppu and checking that file is a text file
git-svn-id: trunk@21931 -
2009-10-01 00:48:15 +00:00
mattias
2f1d65c377 codetools: added hook to redirect dbgout
git-svn-id: trunk@21121 -
2009-08-06 15:45:20 +00:00
mattias
cd6234540b codetools: mem stats for FileStateCache
git-svn-id: trunk@19930 -
2009-05-11 16:58:55 +00:00
mattias
6eb08e3000 codetools: mem stats details for tlinkscanner
git-svn-id: trunk@19866 -
2009-05-09 09:58:11 +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
44384111c2 fixed typo
git-svn-id: trunk@18762 -
2009-02-19 08:35:22 +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
192fccaf68 FindDiskFilename: fixed case when there are three different times the same filename in a directory
git-svn-id: trunk@17636 -
2008-11-30 23:29:59 +00:00
mattias
1dcd32648f darwin: comparing filenames case insensitive by default
git-svn-id: trunk@17133 -
2008-10-25 18:28:39 +00:00
mattias
6e7b906945 codetools: using locale independent format for dates in config files
git-svn-id: trunk@16552 -
2008-09-11 20:35:33 +00:00
mattias
fc954bd37a codetools: fixed compilation
git-svn-id: trunk@16380 -
2008-09-03 07:43:31 +00:00
mattias
60daf2ddd1 fixed comparing filenames under darwin
git-svn-id: trunk@16373 -
2008-09-03 01:08:09 +00:00
mattias
9032caa4fd UTF-8: added ExpandFilenameUTF8
git-svn-id: trunk@16272 -
2008-08-27 11:25:01 +00:00
vincents
c6d49b3802 fixed UTF8 to Sys conversions for file operations
git-svn-id: trunk@16259 -
2008-08-26 19:57:21 +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
paul
7a57600b98 codetools: fixed compilation
git-svn-id: trunk@16230 -
2008-08-25 14:26:00 +00:00
mattias
5c3f687e2f codetools: fileprocs: added file functions with UTF-8 encoding
git-svn-id: trunk@16226 -
2008-08-25 13:41:09 +00:00
mattias
8c7598d73a IDE: implemented supporting FPCVer in FPCSrcDir
git-svn-id: trunk@16133 -
2008-08-19 01:28:24 +00:00
mattias
70e7f10204 IDE: package compilation: do not build all if only search paths changed, this is spotted by fpc itself
git-svn-id: trunk@16105 -
2008-08-18 08:34:07 +00:00
mattias
5cc44da499 IDE: compiler test: check for orphaned ppu files in output directory
git-svn-id: trunk@16051 -
2008-08-13 11:00:29 +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
7092ac70e6 FileIsText: skipping end of file chars (#26)
git-svn-id: trunk@15904 -
2008-07-28 13:17:07 +00:00
mattias
1341499890 synedit: set default synedit font for carbon
IDE: sourceditor: using the same default font as synedit
  IDE: added code template d for debugln
  IDE: moved Insert $IFDEF in keymapping to edit section
  CodeTools: identifier completion: do not add semicolon in front of then, of, to, else, do
  CodeTools: define LCL and LCLwidgetset for lazarus sources
  IDE: Editor Options Keymapping: implemented text filter and shortcut search

git-svn-id: trunk@15819 -
2008-07-19 09:51:32 +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
vincents
affaad4f42 codetools: merged r10717 and r10718 #7847b25113 from fileutils to fileprocs to fix FileIsExecutable for directories
git-svn-id: trunk@15259 -
2008-05-27 12:08:36 +00:00
paul
7234fee1f0 don't try to access empty string members
git-svn-id: trunk@14369 -
2008-03-03 02:54:00 +00:00
jesus
9df2110ffb fix Unable to create target lazarus directory, issue #10286
git-svn-id: trunk@13071 -
2007-11-29 05:09:32 +00:00
jesus
8ff99369dd fix ForceDirectory that partially creates a dir if ending char is not PathDelim, for example package output directory will be created correctly
git-svn-id: trunk@13055 -
2007-11-27 21:01:11 +00:00
mattias
3ef35c3b4e codetools: added changestep for nodes deleted from tool trees
git-svn-id: trunk@12980 -
2007-11-23 10:49:59 +00:00
mattias
d093a68232 codetools: FilenameIsPascalUnit now checks if unitname is valid identifier
git-svn-id: trunk@12871 -
2007-11-14 19:51:28 +00:00
marc
ee3d4895ef * fixed compilation with fpc 2.2 on win64
git-svn-id: trunk@12717 -
2007-11-03 16:49:08 +00:00
mattias
56c010baf4 codetools: added dbgs(extended) parameter to avoid conflicts on systems without extended
git-svn-id: trunk@12716 -
2007-11-03 16:32:04 +00:00
marc
31f9b02560 * fixed compilation on fpc 2.0.4
git-svn-id: trunk@12711 -
2007-11-03 02:41:12 +00:00
mattias
94f9b83e0e codetools: fixed DirectoryIsWritable when missing pathdelim at end
git-svn-id: trunk@12707 -
2007-11-03 00:29:29 +00:00
mattias
41008134a5 codetools: added dbgs overload for qword
git-svn-id: trunk@12677 -
2007-11-01 12:53:10 +00:00
mattias
6b5f9e4f97 codetools: added dbgs overload for int64
git-svn-id: trunk@12675 -
2007-11-01 11:40:27 +00:00
mattias
21595af114 IDE: added icons for menu: dfm to lfm and open file at cursor from Laurent
git-svn-id: trunk@12263 -
2007-10-01 08:58:45 +00:00
mattias
2a4cf8b92f codetools: fixdefinitionorder: implemented sorting and moves, started commit
git-svn-id: trunk@12110 -
2007-09-21 11:00:42 +00:00
mattias
13c2b40e20 codetools: implemented parsing the new fpc 2.3.1 generics, simple find declaration for generics
git-svn-id: trunk@11829 -
2007-08-16 17:12:56 +00:00
mattias
fee343a469 IDE: codebrowser parses units
git-svn-id: trunk@10639 -
2007-02-13 23:46:29 +00:00
mattias
0999d7c7a8 codetools, LCL: fixed CeateRelativePath
git-svn-id: trunk@10264 -
2006-11-30 00:17:55 +00:00