Commit Graph

1190 Commits

Author SHA1 Message Date
juha
c32adb1c7f Instead of UTF8CompareText use AnsiCompareText which uses mostly system libraries.
git-svn-id: trunk@64437 -
2021-01-29 19:58:55 +00:00
juha
4c27531f6f LazUtils: Add function UTF8CompareTextP, use it in CompareFilenamesP.
git-svn-id: trunk@64391 -
2021-01-14 21:54:49 +00:00
juha
5d09547a8f LazUtils: Move related CompareFile... functions together in LazFileUtils. No functional changes.
git-svn-id: trunk@64390 -
2021-01-14 21:54:46 +00:00
juha
751852a44a LazUtils: New function UTF8CompareLatinTextFast. Use in IDE instead of UTF8CompareText.
git-svn-id: trunk@64385 -
2021-01-14 13:52:23 +00: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
36968885dd LazUtils: Rename function FilenameIsPascalUnit -> FilenameHasPascalExt. Clashed with a function in Codetools. Update references.
git-svn-id: trunk@64376 -
2021-01-11 16:16:58 +00:00
juha
3ea7788cbf Optimize CompareFileExt in different ways. Comparison of FPC/Lazarus generated files can be case-sensitive.
git-svn-id: trunk@64374 -
2021-01-10 19:07:52 +00:00
juha
a9aa51a93d Tweak / optimization.
git-svn-id: trunk@64372 -
2021-01-10 19:07:46 +00:00
juha
7ba0f775e7 LazUtils: Call inherited in TListFileSearcher.DoFileFound and TListDirectoriesSearcher.DoDirectoryFound. Issue #38091, patch from devEric69.
git-svn-id: trunk@64355 -
2021-01-08 16:37:42 +00:00
juha
33ebd1e599 temp
git-svn-id: trunk@64351 -
2021-01-08 00:48:04 +00:00
maxim
3d552017f1 LazUtils: commented out stray writeln, which was causing crashes on Windows after r64345 #865e21e88f
git-svn-id: trunk@64350 -
2021-01-08 00:43:07 +00:00
juha
865e21e88f LazUtils: Optimize UTF8CompareText when codepoints have one byte. Applies to most filename comparisons.
git-svn-id: trunk@64345 -
2021-01-07 13:43:47 +00:00
juha
a5df757d33 LazUtils: Fix comments in AvgLvlTree for TStringToStringTree etc.
git-svn-id: trunk@64327 -
2021-01-04 15:56:26 +00:00
juha
db94cc7a39 LazUtils: Support EUDC to PUA Microsoft mapping in function DBCSToUTF8. Issue #38206, patch from powerpcer.
git-svn-id: trunk@64308 -
2020-12-30 10:27:05 +00:00
juha
9219ea531d Move unit GraphMath from LCL to LazUtils. It has no dependencies to GUI.
git-svn-id: trunk@64303 -
2020-12-29 22:56:40 +00:00
juha
537bc0346a IDE: Map component palette SpeedButtons by comp class type (not name). Use a proper tree map instead of sorted list TFPGMap<>.
git-svn-id: trunk@64229 -
2020-12-18 21:02:22 +00:00
juha
283b70dbac Cleanup, comments.
git-svn-id: trunk@64228 -
2020-12-18 21:02:19 +00:00
martin
569e49e3cb TRefCountedObject, make thread safe
git-svn-id: trunk@64210 -
2020-12-16 14:44:11 +00:00
juha
6813e28eef LazUtils: Move math helper functions from LCLProc to LazUtilities. Deprecate LCLProc versions.
git-svn-id: trunk@64197 -
2020-12-12 11:41:07 +00:00
martin
689df5211a LazUtils: add thread-save map iterator (lock map)
git-svn-id: trunk@64127 -
2020-11-12 12:02:31 +00:00
bart
6fb1bd833b LazUtils: Remove PasWStr unit. It is obsolete since fpc 3.0.
git-svn-id: trunk@64123 -
2020-11-11 17:35:01 +00:00
bart
f47a2a5fd6 LazUtils: Remove tests for FPC versions 2.x.
git-svn-id: trunk@64122 -
2020-11-11 14:03:48 +00:00
juha
618261511d LCL: Remove tests for FPC versions 2.x. Cannot be used anyway.
git-svn-id: trunk@64120 -
2020-11-10 09:50:20 +00:00
juha
039687aae1 LazUtils: Deprecate SpecialCharsToHex. Use LazUtf8.Utf8EscapeControlChars instead. Issue #38029.
git-svn-id: trunk@64103 -
2020-11-04 17:31:46 +00:00
juha
5d89968871 LazUtils: Fix SpecialCharsToHex output to actual hex. Move code to reusable functions ShortDotsLine and BeautifyLineXY. Issue #38029.
git-svn-id: trunk@64102 -
2020-11-03 18:52:30 +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
bart
5812e23a64 LazUtf8: add some more C-escape strings for the Utf8EscapeControlChars function.
git-svn-id: trunk@64062 -
2020-10-24 10:03:39 +00:00
juha
2a8ddb66b5 IDE, LazUtils: Move unit FileReferenceList to LazUtils package. Order uses sections.
git-svn-id: trunk@64025 -
2020-10-16 12:01:15 +00:00
martin
541228d5ac LazLogger: add dbgsTime (tickcount)
git-svn-id: trunk@64018 -
2020-10-15 18:37:39 +00:00
martin
17edfd4871 LazCollections: add virtual / rename field
git-svn-id: trunk@64016 -
2020-10-15 18:37:36 +00:00
bart
108648506e LazFileUtils: use const parameters in FindAllFiles. Patch by CudaText man. Issue #0037782
git-svn-id: trunk@63989 -
2020-10-10 09:46:50 +00:00
martin
c5e7f1e250 lazcollections: TLazThreadedQueue refactor into threaded/none-threaded part
git-svn-id: trunk@63861 -
2020-09-03 08:21:02 +00:00
martin
144fb11c00 lazcollections: TLazThreadedQueue fix ShutDown
git-svn-id: trunk@63860 -
2020-09-03 08:21:00 +00:00
martin
b2b157269c lazcollections: TLazThreadedQueue fix Grow.
git-svn-id: trunk@63833 -
2020-08-26 19:14:58 +00:00
martin
005fe7208d lazcollections: TLazThreadedQueue, allow subclasses to Lock/Unlock and access queue.
git-svn-id: trunk@63827 -
2020-08-25 17:31:49 +00:00
martin
f89f1c10b4 LazUtils: lazcollections, TLazThreadedQueue fix for 3.2.0
git-svn-id: trunk@63817 -
2020-08-23 20:38:07 +00:00
martin
b61fd4c937 LazCollection: Fix TLazThreadedQueue.Grow / Fix race condition Issue #0037612
git-svn-id: trunk@63811 -
2020-08-22 20:27:15 +00:00
juha
125e794a87 Remove useless test for X <> Nil when using "is" operator.
git-svn-id: trunk@63779 -
2020-08-18 17:35:21 +00:00
ondrej
3a6057e0a3 TUTF8Process: workaround for the poNoConsole->poDetached change. Better hacks for old FPC versions without TProcessClassTemplate. Issue #35991
git-svn-id: trunk@63708 -
2020-08-09 16:23:09 +00:00
juha
1cd6dc6dd4 LazUtils: New units for encoding data tables. Can be used by external code. Issue #36078, patch from CudaText man.
git-svn-id: trunk@63642 -
2020-07-24 11:14:38 +00:00
juha
3d951e3ed7 LazUtils: Don't override TProcess.Execute for TProcessUTF8 starting from FPC 3.2. Issue #35991.
git-svn-id: trunk@63584 -
2020-07-17 07:55:32 +00:00
juha
f18d2348ff LazUtils: Delete very old code for TProcessUTF8 that was needed for FPC 2.x.
git-svn-id: trunk@63563 -
2020-07-14 21:27:48 +00:00
mattias
61c53d6f41 LazUtils/FreeType: Separate FreeType stuff into its own package
git-svn-id: trunk@63558 -
2020-07-14 18:09:17 +00:00
mattias
8ceb09a67b make: changed default darwin lcl platform from carbon to cocoa
git-svn-id: trunk@63551 -
2020-07-13 09:00:41 +00:00
martin
83c04e1ca5 TRttiXMLConfig: store 64bit values
git-svn-id: trunk@63508 -
2020-07-05 01:18:30 +00:00
mattias
9dcd9ee04d updated makefiles
git-svn-id: trunk@63453 -
2020-06-28 11:01:41 +00:00
mattias
2e0d5cd263 lazutils: FindDefaultExecutablePath: fixed using env PATH with quotes
git-svn-id: trunk@63367 -
2020-06-17 09:46:51 +00:00
juha
2013a99dc3 LazUtils: Support KOI8-R, KOI8-U and KOI8-RU codepages in LConvEncoding. Issue #37155, patch from eastorwest.
git-svn-id: trunk@63354 -
2020-06-15 10:10:02 +00:00
juha
4e587ce8f0 LazUtils: Prevent ForceDirectory trying to create directories with empty name. Issue #37133.
git-svn-id: trunk@63327 -
2020-06-08 10:34:28 +00:00
maxim
1207fa4fb3 LazUtils: committed a file which was automatically regenerated as a result of r63211 #8167e0b5e8
git-svn-id: trunk@63213 -
2020-05-22 23:37:51 +00:00