Commit Graph

227 Commits

Author SHA1 Message Date
mattias
cd514961b0 codetools: FindClose in try finally 2024-01-15 15:18:56 +01:00
mattias
d2954c9818 codetools: searching fpc source namespaced includes, issue #40670 2023-12-30 15:29:44 +01:00
mattias
f03d205c06 codetools: fixed FilenameIsMatching on Windows 2023-08-06 09:46:49 +02:00
mattias
a0fddef59c codetools: fixed FilenameIsMatching on Windows 2023-08-06 00:31:13 +02:00
mattias
1138fe154d codetools: star direcory exclude: always case insensitive 2023-08-04 23:19:48 +02:00
Juha
e65a102527 Remove unit Laz_AVL_Tree, a copy of unit AVL_Tree. Not needed with FPC 3.2.x. 2023-07-07 17:39:03 +03:00
mattias
3a096be5ed codetools: less hints, search inc file order 2023-06-12 10:41:17 +02:00
mattias
67c1c58793 codetools: moved DateToCfgStr to LazConfigStorage 2023-06-11 21:34:37 +02:00
mattias
da12f4b7d5 codetools: started TCTDirectoryCachePool.FindIncludeFileInDirectory 2023-05-23 22:49:13 +02:00
mattias
db82372e4b codetools: less hints 2023-04-13 15:38:12 +02:00
mattias
54d8f2bdb1 IDE: moved CTSafeFormat to avoid nameclash with fpc 3.3.1 SafeFormat 2023-04-02 20:16:14 +02:00
Juha
29794316f2 Converter: Move function PathHasPascalUnitFile to IDEProcs. Search missing units from all open packages. 2023-03-26 15:38:22 +03:00
juha
42850cfe4d LazUtils: Deprecate now obsolete unit LazUtf8Classes and remove its references from Lazarus code.
git-svn-id: trunk@64384 -
2021-01-14 12:41:32 +00:00
juha
4321fbf6e5 LazUtils: move procedure ReplaceSubstring from LazUTF8 to LazStringUtils.
git-svn-id: trunk@64081 -
2020-10-29 15:45:34 +00:00
juha
c9e4614e17 Delete old deprecated methods.
git-svn-id: trunk@59175 -
2018-09-28 11:06:40 +00:00
ondrej
c0136a0867 Components: use LazLoggerBase instead of LazLogger
git-svn-id: trunk@58083 -
2018-06-02 16:46:39 +00:00
mattias
aa2b29544e codetools: started parsing pas2js output
git-svn-id: trunk@57846 -
2018-05-08 17:00:34 +00:00
juha
3ed79743c8 Remove the wrapper functions from LazUtils.FileUtil, Lcl.LclProcs and Codetools.FileProcs completely. Simplify code.
git-svn-id: trunk@56693 -
2017-12-11 19:44:37 +00:00
juha
6810c626df LazUtils: Change "Character" to "Codepoint" in LazUTF8 function names to be more accurate and to avoid confusion.
git-svn-id: trunk@56692 -
2017-12-11 19:44:22 +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
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
juha
39fe54c5f6 Make LCL and LazUtils compile for Amiga systems (NoGUI). Issue #31186, patch from Marcus Sackrow.
git-svn-id: trunk@53853 -
2017-01-03 12:01:49 +00:00
mattias
f62bc9af4e codetools: clean up
git-svn-id: trunk@53470 -
2016-11-27 11:38:12 +00:00
juha
c266594a02 Codetools: Fix compilation in OS/X. Use CompareText in SysUtils, not in MacOSAll. Issue #31008.
git-svn-id: trunk@53468 -
2016-11-27 10:51:00 +00:00
mattias
6b7ab7bc9d codetools: fixed SearchFileInDir and SearchPascalFileInDir searching using Pascal case insensitivity
git-svn-id: trunk@53397 -
2016-11-21 15:57:00 +00:00
mattias
a9051948ae IDE: compile project/package: warn when passing an option twice with different values
git-svn-id: trunk@53184 -
2016-10-20 20:17:01 +00:00
mattias
bd2ab5c7bc codetools: ParseFPCParameters: moved to other fpc option parse functions
git-svn-id: trunk@53182 -
2016-10-20 17:02:59 +00:00
mattias
de0adccd6e codetools: ParseFPCParameters: alias params
git-svn-id: trunk@53181 -
2016-10-20 16:57:52 +00:00
mattias
3610fd18b2 codetools: started ParseFPCParameters
git-svn-id: trunk@53180 -
2016-10-20 16:24:52 +00:00
mattias
ebe105f987 codetools: started ParseFPCParameter
git-svn-id: trunk@53155 -
2016-10-18 13:34:55 +00:00
juha
95e8ab1cd8 LCL, Codetools: Turn condition {$IFnDEF DisableWrapperFunctions} into {$IFDEF EnableWrapperFunctions} in units where it was forgotten.
git-svn-id: trunk@52678 -
2016-07-13 13:32:33 +00:00
ondrej
3a6697bc77 codetools, lazutils, win32: less hints
git-svn-id: trunk@50822 -
2015-12-15 16:27:39 +00:00
mattias
06c04debf6 tests: ExtractFileUnitname
git-svn-id: trunk@50160 -
2015-10-24 21:50:00 +00:00
mattias
5c15224a08 codetools: added ExtractFileUnitname
git-svn-id: trunk@50119 -
2015-10-19 11:22:24 +00:00
mattias
582f4ad8d9 codetools: clean up
git-svn-id: trunk@49647 -
2015-08-11 12:29:02 +00:00
juha
08c9621520 Change order of used units so that "deprecated" warnings are not triggered.
git-svn-id: trunk@49612 -
2015-08-07 17:20:40 +00:00
juha
82acb31da2 Codetools: add deprecated notes to function wrappers. Fix compilation in example projects, packages, StartLazarus and LazBuild.
git-svn-id: trunk@49508 -
2015-07-07 15:35:28 +00:00
juha
653b5dd43a Codetools, unit FileProcs: Disable conditionally wrapper functions. For testing define DisableWrapperFunctions and build Lazarus.
git-svn-id: trunk@49504 -
2015-07-07 11:43:38 +00:00
mattias
ab4e4de60d codetools: DbgText: implemented keeplines
git-svn-id: trunk@48670 -
2015-04-06 18:13:25 +00:00
juha
232c983159 CodeTools: Initialize variables based on compiler warnings. Contains ToDo items.
git-svn-id: trunk@48480 -
2015-03-24 17:51:40 +00:00
mattias
528e8777a2 codetools: less output, ctconsoleverbosity
git-svn-id: trunk@48423 -
2015-03-18 21:44:39 +00:00
mattias
8ffc5aba40 codetools: use lazlogger
git-svn-id: trunk@48416 -
2015-03-18 17:33:47 +00:00
mattias
69edc4d8c0 lazutils: moved ReplaceSubString to LazUTF8, added UTF8QuotedStr
git-svn-id: trunk@47748 -
2015-02-13 20:34:21 +00:00
mattias
a573e115e0 codetools: FilenameIsMatching: fixed comparing mask with / at end and file has not
git-svn-id: trunk@47717 -
2015-02-12 11:55:56 +00:00
mattias
ddfb215360 tests: FilenameIsMatching: tests for trailing pathdelims
git-svn-id: trunk@47716 -
2015-02-12 11:42:19 +00:00
mattias
e5885ee170 codetools: FilenameIsMatching: support for nested {}, multiple *, UTF-8 and special chars, issue #27393
git-svn-id: trunk@47711 -
2015-02-11 23:18:42 +00:00
mattias
91b63d9feb tests: FileIsMatching
git-svn-id: trunk@47710 -
2015-02-11 21:21:23 +00:00
mattias
5772aff233 fixed wrong Frac/Trunc in DecodeDate/Time
git-svn-id: trunk@47641 -
2015-02-07 12:22:35 +00:00
mattias
0d19bf6dd6 codetools: DateToCfgStr extended for time
git-svn-id: trunk@47623 -
2015-02-07 11:59:48 +00:00
mattias
4b3c76e18a lazutils: moved MergeSort to lazutilities, laz2_xmlcfg: sort nodes to find non existing and out of order nodes faster
git-svn-id: trunk@47164 -
2014-12-10 02:16:39 +00:00