mattias
6e88fded34
lazutils: clean up
...
git-svn-id: trunk@52770 -
2016-08-01 20:06:41 +00:00
martin
65f56da2d8
LazClasses: TRefCountedObject, added debug helpers
...
git-svn-id: trunk@52757 -
2016-07-31 14:39:58 +00:00
mattias
c13e223026
lazutils: deprecated note
...
git-svn-id: trunk@52712 -
2016-07-18 17:40:40 +00:00
mattias
872c45d0f4
lazutils: fixed compilation with FPC 2.6.4
...
git-svn-id: trunk@52686 -
2016-07-14 09:31:37 +00:00
juha
156ab97c17
LazUtils: Improve function names in LazUnicode. Add comments.
...
git-svn-id: trunk@52676 -
2016-07-12 17:17:21 +00:00
juha
26220ffce3
LazUnicodeTest: Define UseUTF16 so that it affects LazUtils package, too.
...
git-svn-id: trunk@52673 -
2016-07-12 13:40:24 +00:00
juha
70535df1b1
LazUtils: a new test program for LazUnicode unit.
...
git-svn-id: trunk@52672 -
2016-07-12 12:20:38 +00:00
juha
6e8338f0f9
LazUtils: add LazUnicode unit to LazUtils package.
...
git-svn-id: trunk@52671 -
2016-07-12 12:18:22 +00:00
juha
dc90c9173e
LazUtils: New unit LazUnicode for encoding agnostic code. Supports Delphi. LazUTF16 is updated.
...
git-svn-id: trunk@52670 -
2016-07-12 09:55:21 +00:00
bart
cc2b0f718e
LazUtils: fix comments in lazutils_defines.inc.
...
git-svn-id: trunk@52607 -
2016-07-03 15:15:09 +00:00
wp
40a5dc93a0
lazutils: Avoid laz2_xmlcfg changing DefaultFormatSettings.
...
git-svn-id: trunk@52584 -
2016-06-29 11:48:44 +00:00
juha
f34ea1f4c7
LazUtils: Match character case of unit name LazUTF16 with LazUTF8.
...
git-svn-id: trunk@52528 -
2016-06-20 06:34:37 +00:00
juha
920c072f0e
LazUtils: Add, fix and unify header comments of many units.
...
git-svn-id: trunk@52518 -
2016-06-18 16:40:04 +00:00
sekelsenmat
d69c951230
Fixes compilation with FPC 2.6
...
git-svn-id: trunk@52498 -
2016-06-13 09:28:03 +00:00
bart
2a41a0e2f4
Fix spelling errors. Issue #0030258 . Patch by Paul Gevers.
...
git-svn-id: trunk@52489 -
2016-06-12 16:07:57 +00:00
ondrej
4706ec8505
lazutils: fix compilation with DisableUTF8RTL after r52480 #b13ba1b0b9
...
git-svn-id: trunk@52488 -
2016-06-12 08:57:25 +00:00
ondrej
47df5bbcc5
lazutils: fix comment from r52480 #b13ba1b0b9
...
git-svn-id: trunk@52486 -
2016-06-12 08:32:47 +00:00
mattias
824e8f1f9d
lazutils: fixed compilation on non windows
...
git-svn-id: trunk@52481 -
2016-06-12 06:55:16 +00:00
ondrej
b08c38cba0
lazutils: fix GetFormatSettingsUTF8, make it public
...
git-svn-id: trunk@52479 -
2016-06-12 05:57:58 +00:00
maxim
207c318329
Regenerated translations
...
git-svn-id: trunk@52455 -
2016-06-08 21:59:41 +00:00
juha
ba872ba5b1
LazUtils: Use cwstring always on unix systems. WideCompare* functions require it.
...
git-svn-id: trunk@52442 -
2016-06-05 08:26:52 +00:00
wp
9077d7ba0e
LazFreeType: FontCollection can add folders recursively now.
...
git-svn-id: trunk@52430 -
2016-06-03 16:23:05 +00:00
wp
ea3a65ae10
LazFreeType: Fix infinite loop if a font with a non-regular style is added to the FontCollection a second time.
...
git-svn-id: trunk@52429 -
2016-06-03 16:09:28 +00:00
ondrej
5b81517c26
lazutils: add TMethodList enumerators.
...
git-svn-id: trunk@52398 -
2016-05-27 15:40:19 +00:00
ondrej
6b94a5fca9
lazutils: less hints
...
git-svn-id: trunk@52342 -
2016-05-22 10:10:48 +00:00
wp
27e59768b3
LazUtils: Extend xml reader to accept encoding name "UTF8" in addition to "UTF-8"
...
git-svn-id: trunk@52329 -
2016-05-19 20:59:13 +00:00
ondrej
b7d9f09d50
lazfreetype: fix TFreeTypeFont.CharsPosition for unicode text
...
git-svn-id: trunk@52283 -
2016-05-05 11:05:49 +00:00
ondrej
b58038b72c
lazutils: easylazfreetype: return the actual item in TFreeTypeFontCollection.AddFile and not just boolean.
...
git-svn-id: trunk@52153 -
2016-04-09 18:41:59 +00:00
juha
2c41ccf609
Formatting, comment.
...
git-svn-id: trunk@52109 -
2016-04-06 10:19:12 +00:00
bart
9ea2b541f4
LazUtils: PasWString: fix infinite recursion in WideCompareText.
...
git-svn-id: trunk@52076 -
2016-03-28 10:57:53 +00:00
bart
5d6e5012ea
LazFileUtils: fix uninitialized result in ChompPathDelim. Issue #0029866 .
...
git-svn-id: trunk@52004 -
2016-03-20 22:08:06 +00:00
mattias
25f7a697e5
updated makefiles
...
git-svn-id: trunk@52001 -
2016-03-20 11:19:40 +00:00
mattias
f2e4d7db58
lazutils: comments
...
git-svn-id: trunk@51998 -
2016-03-20 10:55:55 +00:00
bart
7c9fc905a6
LazUtf8: In UTF8CompareStrCollated only call AnsiCompareStr is ACP_RTL is defined, since in all other cases
...
AnsiCompareStr = widestringmanager.CompareStrAnsiStringProc = UTF8CompareStr.
If ACP_RTL is not defined call Utf8CompareStr, since this is now does proper collation and is faster than
converting to WideString.
git-svn-id: trunk@51978 -
2016-03-17 12:07:57 +00:00
bart
77e5428b3f
LazUtf8: firts attempt to rewrite Utf8CompareStr and Utf8CompareText so that it's results will be more consistent with
...
AnsiCompareStr/WideCompareStr and AnsiCompareTex/WideCompareText.
(
The old implementation was in effect a copy of CompareStr and, this made the claim about proper collation in
Utf8CompareText (which uses Utf8CompareStr) rather ludicrous.
The new implementaion is slower, mainly becaus of the fact we cannot use CompareMemrange/CompareByte anymore,
and we have to iterate the bytes ourselves. This fact alone contributes much more to the loss in speed than
the fact we use WideCompareStr on the 2 differing codepoints:
- iterating in a for loop: adss a factor of appr. 10 to the time needed
- using the final WideCompareStr adds a factor of about 1.6 to the time meeded.
Because of the slowdown in speed in Utf8CompareStr, Utf8CompareText now calls WideCompareText directly, which is
now appr. the same speed as converting to lowercase and then calling Utf8CompareStr
)
git-svn-id: trunk@51977 -
2016-03-17 11:38:56 +00:00
bart
b192fb9760
LazUtf8: Refactor UTF8FindNearestCharStart. Resolves Issue #0029851 .
...
git-svn-id: trunk@51973 -
2016-03-17 10:42:52 +00:00
bart
34be9ae2d0
LazUtf8: implement Utf8TryFindCodepointStart.
...
git-svn-id: trunk@51972 -
2016-03-17 10:39:52 +00:00
juha
d93952201f
LazUtils: Fix compilation on darwin. Issue #29843 , patch from lks.
...
git-svn-id: trunk@51957 -
2016-03-16 07:05:26 +00:00
bart
23f36140b5
LazUtf8: implement Utf8ReverseString and Utf8RPos. Patch by Bernard Marcelly. Issue #0029817 .
...
git-svn-id: trunk@51927 -
2016-03-12 14:01:03 +00:00
mattias
69de6012ba
lazfileutils: added windows function SHGetFolderPathUTF8
...
git-svn-id: trunk@51881 -
2016-03-09 13:15:53 +00:00
bart
9c050f164e
LazUtils: disable the wrapper functions in FileUtil by default. The wrapper functions will be removed later on.
...
git-svn-id: trunk@51834 -
2016-03-06 13:19:23 +00:00
mattias
febbca6c63
components: less hints
...
git-svn-id: trunk@51785 -
2016-03-01 15:26:12 +00:00
bart
2683bc53a8
LazUtils: Prevent CopyDirTree copying to a subdirectory of source: handle unicode characters.
...
git-svn-id: trunk@51692 -
2016-02-24 23:07:19 +00:00
bart
f09c665b2a
LazUtf8: fix Utf8LowerCase for #$E2#$B1#$AD (LATIN CAPITAL LETTER ALPHA)
...
git-svn-id: trunk@51688 -
2016-02-24 22:26:58 +00:00
bart
f7005c6649
LazUtils: Revert r51038 #10e166f60e. Fixes bug in CopyDirTree. Issue #0029695 .
...
git-svn-id: trunk@51675 -
2016-02-22 18:13:29 +00:00
bart
f98b2e0ab7
LazUtils: Remove (obsolete) ansi implementations of File*UTF8 functions (Windows).
...
Part of removing specific Win9x code.
git-svn-id: trunk@51308 -
2016-01-17 15:38:02 +00:00
juha
5ff026ab94
IDE: Support dotted unit names in FilenameIsPascalSource. Issue #29363 .
...
git-svn-id: trunk@51261 -
2016-01-12 17:00:28 +00:00
joost
c65c09f800
* Added TLazThreadedQueue.PopItemTimeout to be able to specify different timeout then the default
...
git-svn-id: trunk@51236 -
2016-01-10 15:45:53 +00:00
juha
800d968b77
LazUtils: Suppress some hints when compiling LazUtils. Issue #27961 .
...
git-svn-id: trunk@51053 -
2015-12-27 15:04:41 +00:00
bart
35b30db335
LazUtils: CopyDirTree: better readable Boolean expression.
...
git-svn-id: trunk@51041 -
2015-12-26 16:43:20 +00:00
bart
b8d42c3a62
LazUtils: Fix r51038 #10e166f60e for Issue #28841 .
...
git-svn-id: trunk@51039 -
2015-12-26 13:50:01 +00:00
bart
10e166f60e
LazUtils: Better fix "Prevent CopyDirTree copying to a subdirectory of source." Issue #28841 .
...
git-svn-id: trunk@51038 -
2015-12-26 13:14:11 +00:00
juha
d10faafb1a
LazUtils: Use trimmed paths for comparing sub-dir in CopyDirTree. Fix return value. Issue #28841 .
...
git-svn-id: trunk@51034 -
2015-12-25 19:14:04 +00:00
juha
6faa4e893c
LazUtils: Prevent CopyDirTree copying to a subdirectory of source. Issue #28841 .
...
git-svn-id: trunk@51033 -
2015-12-25 18:39:32 +00:00
bart
39da734bec
LazUtils: fix compilation for WinCE.
...
git-svn-id: trunk@51026 -
2015-12-24 18:08:42 +00:00
bart
894c125543
LazUtils: Second attempt to implement Utf8Delete() for parameters of type Utf8String.
...
git-svn-id: trunk@50910 -
2015-12-18 17:59:39 +00:00
mattias
7896da19ae
IDE: fixed searching in PATH on Windows
...
git-svn-id: trunk@50865 -
2015-12-17 14:34:53 +00:00
bart
b3035175ac
LazUtils: implement Utf8Delete() and Utf8Insert() for parameters of type Utf8String. (Only needed for these, since they use var parameters).
...
git-svn-id: trunk@50850 -
2015-12-16 17:07:58 +00:00
bart
eef2f8f590
LazUtils: implement Utf16StringReplace.
...
git-svn-id: trunk@50849 -
2015-12-16 16:55:05 +00:00
ondrej
3a6697bc77
codetools, lazutils, win32: less hints
...
git-svn-id: trunk@50822 -
2015-12-15 16:27:39 +00:00
mattias
9a471bcd00
lazutils: fixed compilation under Windows
...
git-svn-id: trunk@50729 -
2015-12-09 23:35:07 +00:00
mattias
b48a3ea89e
lazutils: UTF8ToWinCP for Unix
...
git-svn-id: trunk@50723 -
2015-12-09 22:58:30 +00:00
juha
67bbb06ba6
LazUtils: Finalize FreeTypeFont instance only when needed. Issue #29151 , patch from Andrey Zubarev.
...
git-svn-id: trunk@50712 -
2015-12-08 19:56:21 +00:00
mattias
eeeb237080
lazutils: fixed TProcessUTF8 ancestor
...
git-svn-id: trunk@50655 -
2015-12-05 18:51:23 +00:00
mattias
82b946cccb
lazutils: fixed dangling pointer
...
git-svn-id: trunk@50646 -
2015-12-05 14:08:46 +00:00
mattias
55619096fd
lazutils: fixed compilation FC 2.6.4
...
git-svn-id: trunk@50627 -
2015-12-05 00:13:53 +00:00
mattias
9e8df5c8ed
lazutils: fixed ConsoleToUTF8 on Windows
...
git-svn-id: trunk@50624 -
2015-12-04 23:04:44 +00:00
mattias
93a809284f
lazutils: TProcessUTF8: using CreateProcessW on MSWindows, using alias otherwise
...
git-svn-id: trunk@50603 -
2015-12-04 16:06:35 +00:00
mattias
d0dace2bf5
lazutils: TProcessUTF8: experimental on mswindows override Execute using CreateProcessW, other platforms: use alias, bug #28991
...
git-svn-id: trunk@50595 -
2015-12-04 15:27:16 +00:00
mattias
fff60a4076
lazutils: undo TProcessUTF8 change, not stable
...
git-svn-id: trunk@50588 -
2015-12-03 15:05:22 +00:00
mattias
eeed3eae79
lazutils: TProcessUTF8: on mswindows override Execute using CreateProcessW, other platforms: use alias, bug #28991
...
git-svn-id: trunk@50586 -
2015-12-03 14:50:36 +00:00
bart
1f91afe602
LazUtils: fix issue with implicit codepage conversion in ParamStrUtf8. Issue #0028815 .
...
git-svn-id: trunk@50569 -
2015-12-02 13:33:56 +00:00
bart
a121cb2acc
LazUtils: Fix implicit codepage ceversion issue for FindFirstUtf8/FindNextUtf8 (Windows). Patch by Michl. Issue #0028406 .
...
git-svn-id: trunk@50567 -
2015-12-02 12:43:29 +00:00
bart
2a47550bba
LazUtils: fix crash in ExpandFilenameUtf8 (Issue #0029098 ).
...
git-svn-id: trunk@50519 -
2015-11-28 15:48:40 +00:00
bart
efc3ca18be
LazUtf8: Fix Utf8ToConsole. Patch by ChrisF, modified by me. Issue #0028371 .
...
git-svn-id: trunk@50514 -
2015-11-27 10:39:35 +00:00
bart
b2fa28caad
LazUtils: add lazutils_defines.inc, forgotten in r50498 #0c8df133dd.
...
git-svn-id: trunk@50499 -
2015-11-24 16:24:54 +00:00
bart
0c8df133dd
LazUtils:
...
- An attempt to unify the defines for the different scenario's in the use of (not) codepage aware ansistrings
and the use of the "Utf8 in RTL" feature.
It makes for better separation of code and thus better readability and ease of maintainance (and in a later
stadium it makes it easier to remove code that deals with non codepage aware ansistrings (fpc < 3.0)).
- Also replace (FPC_FULLVERSION >= xxxx) with FPC_HAS_CPSTRING where appropriate.
- Replace the custom HasCP define with built in FPC_HAS_CPSTRING define.
git-svn-id: trunk@50498 -
2015-11-24 16:23:18 +00:00
bart
0493a91c19
LazUtils: Less hints.
...
git-svn-id: trunk@50497 -
2015-11-24 14:24:12 +00:00
bart
094b14ce22
LazUtils: remove legacy code for the 2.6.0 compiler.
...
git-svn-id: trunk@50496 -
2015-11-24 14:06:50 +00:00
bart
984edab996
LazUtils: fix compilation of LazUtf8 for fpc <= 3.0.0 after r50470 #22750460e4.
...
git-svn-id: trunk@50475 -
2015-11-22 23:32:54 +00:00
bart
22750460e4
LazUtils: fix compilation of LazUtf8 for WinCE. Issue #0029059 .
...
git-svn-id: trunk@50470 -
2015-11-22 12:33:32 +00:00
mattias
da9c319b92
lazutils: LoadFromCSVStream: fixed reading UTF16
...
git-svn-id: trunk@50319 -
2015-11-12 14:30:42 +00:00
mattias
a1e2f1e248
lazutils: LoadFromCSVStream: fixed reading UTF16
...
git-svn-id: trunk@50232 -
2015-11-06 12:05:15 +00:00
mattias
fb15809cef
lazutils: DirectoryIsWritable: check if directory exists
...
git-svn-id: trunk@50170 -
2015-10-26 09:26:44 +00:00
mattias
c8e7c3acb5
lazutils: lconvencoding: fixed using tables for lossless conversion back and forth
...
git-svn-id: trunk@50157 -
2015-10-24 21:46:16 +00:00
mattias
fcafecec98
LCL: LoadFromCSVStream: fixed converting UTF16
...
git-svn-id: trunk@50146 -
2015-10-22 21:34:53 +00:00
mattias
9eae75a03b
LCL: LoadFromCSVStream: fixed reading quote not closed
...
git-svn-id: trunk@50144 -
2015-10-22 19:37:40 +00:00
juha
5fc7132693
Use the new UTF-8 system by default. Can be disabled by define DisableUTF8RTL. EnableUTF8RTL is removed.
...
git-svn-id: trunk@50129 -
2015-10-20 17:20:11 +00:00
juha
c831f9ecd9
LazUtils: Less notes from compiler about Asian codepages.
...
git-svn-id: trunk@50088 -
2015-10-16 21:48:15 +00:00
mattias
2c46e6e468
IDE+lazbuild+makefiles: on darwin use -gw instead of -g
...
git-svn-id: trunk@49906 -
2015-10-01 18:40:54 +00:00
juha
5642758bf1
LazUtils: Fix TFileSearcher encoding when -dEnableUTF8RTL is not used. Issue #28406 , patch from Michl.
...
git-svn-id: trunk@49888 -
2015-09-28 19:57:52 +00:00
mattias
43bbbdf2d0
lazutils: fixed compialtion EnableUTF8RTL
...
git-svn-id: trunk@49866 -
2015-09-21 18:18:12 +00:00
mattias
9c680beb48
lazutils: lconvencoding: using system conversion only if available, extened ConvertEncodingFromUTF8 with parameter SetTargetCodePage, default is false for compatibility with code using 1.4 and below, bug #28485
...
git-svn-id: trunk@49859 -
2015-09-21 10:50:54 +00:00
juha
50bc37338d
IDE, AnchorDocking: Support desktops also with docked IDE. Move configuration to environment options. By Ondrej Pokorny.
...
git-svn-id: trunk@49778 -
2015-09-07 22:01:22 +00:00
jesus
0ca49a5f21
LCL, fix CSV import into StringGrid omits first line, from wp, issue #28582
...
git-svn-id: trunk@49735 -
2015-09-01 19:20:51 +00:00
bart
da24388dc4
LazUtils: Prevent "Abstract method called" for TXMLObjectWriter / TXMLObjectReader also with FPC 3.0.0. Issue #27817 .
...
git-svn-id: trunk@49712 -
2015-08-26 09:29:52 +00:00
mattias
dcfae18d9a
lazutils: comments
...
git-svn-id: trunk@49664 -
2015-08-13 10:13:05 +00:00
mattias
ccdf8a27f9
lazutils: clean up
...
git-svn-id: trunk@49648 -
2015-08-11 12:47:25 +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
sekelsenmat
1c98cc10e6
lazutf16: Adds functions to check for valid utf-16
...
git-svn-id: trunk@49596 -
2015-08-05 14:22:46 +00:00
bart
8f7215b840
LazFileUtils: FileIsReadable on Windows should only return True if the file actually exists.
...
git-svn-id: trunk@49543 -
2015-07-14 10:25:53 +00:00
juha
af6fb723af
LazUtils: Use LookupStringList in LazUtils package. Remove old DictionaryStringList files.
...
git-svn-id: trunk@49506 -
2015-07-07 12:10:35 +00:00
juha
810d20ce56
LazUtils: Rename DictionaryStringList -> LookupStringList. Add the renamed files as new.
...
git-svn-id: trunk@49505 -
2015-07-07 12:05:03 +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
juha
4285b7380f
LazUtils: Use SetCodePage() from FPC 3.x for UTF8ToXXX() functions in lconvencoding.
...
git-svn-id: trunk@49503 -
2015-07-07 11:43:23 +00:00
juha
06ac76f560
LazUtils, unit FileUtil: Disable conditionally LazUtf8 and LazFileUtils wrapper functions. For testing define NoLazUTF8Wrappers and build Lazarus.
...
git-svn-id: trunk@49494 -
2015-07-04 23:08:00 +00:00
juha
2d401fe45a
IDE: Support UTF-8 in editor UpperCase/LowerCase Selection commands. Issue #28361 , patch from Ondrej Pokorny.
...
git-svn-id: trunk@49481 -
2015-07-01 09:22:46 +00:00
juha
6cf8c56cfc
LazUtils: Improve UTF8WrapText. Issue #28259 , patch from Antônio Galvão.
...
git-svn-id: trunk@49300 -
2015-06-09 07:56:02 +00:00
bart
5383338553
LazUtils: Don't raise exceptions in CopyFile function by default. Added a parameter to control this behaviour. Issue #0028236 .
...
git-svn-id: trunk@49284 -
2015-06-07 09:21:24 +00:00
juha
9c161101bc
LazUtils: Add missing ISO-8859-15 entry to LConvEncoding. Issue #28209 , patch from Alexey Torgashin.
...
git-svn-id: trunk@49232 -
2015-05-31 13:45:25 +00:00
juha
db9994a7e8
LazUtils: Support Arial and Helvetica font families better on all platforms. Issue #28165 , patch from Johann.
...
git-svn-id: trunk@49158 -
2015-05-24 22:05:14 +00:00
juha
1568077381
LazUtils: Clean UTF8WrapText function in LazUTF8.
...
git-svn-id: trunk@49148 -
2015-05-23 14:13:04 +00:00
juha
f88dc97367
LazUtils: Improve DictionaryStringList and its example project. Issue #28159 , patch from Antônio Galvão.
...
git-svn-id: trunk@49147 -
2015-05-23 14:12:58 +00:00
juha
824f9ac5d9
LazUtils: Call LazFreeType.CheckInstance in GetCharIndex and make it public. Issue #28163 , patch from Johann.
...
git-svn-id: trunk@49146 -
2015-05-23 12:44:54 +00:00
juha
0fe92eae95
LazUtils: Remove ambiguity from font item listeners. Issue #28137 , patch from Johann.
...
git-svn-id: trunk@49136 -
2015-05-22 20:20:39 +00:00
zeljko
42e04b941f
lconvencoding: added missing chars in utf8tocp437 for translation from croatian utf8 to cp437.
...
git-svn-id: trunk@49116 -
2015-05-20 08:40:01 +00:00
mattias
48512f8dc4
lazutils: less notes
...
git-svn-id: trunk@49111 -
2015-05-19 21:04:15 +00:00
juha
3f8b158c87
LazUtils: Add unit LazFreeTypeFPImageDrawer to the actual package.
...
git-svn-id: trunk@49107 -
2015-05-19 16:17:11 +00:00
juha
09eff40893
LazUtils, EasyLazFreetype: Drawing symbol fonts and individual glyphs with their index. Issue #28078 , patch from Johann.
...
git-svn-id: trunk@49105 -
2015-05-19 16:13:36 +00:00
juha
7bf388fe91
LazUtils: New LazFreeType drawer for TFPCustomImage. Issue #28020 , patch from Johann.
...
git-svn-id: trunk@49104 -
2015-05-19 16:11:36 +00:00
mattias
2c26f71ea9
lazutils: fixed compilation with stabs
...
git-svn-id: trunk@49085 -
2015-05-18 19:40:19 +00:00
mattias
3de4e18d3f
lazutils: lazlistclasses: sorted unit
...
git-svn-id: trunk@49083 -
2015-05-18 16:25:44 +00:00
martin
85f0a2993f
LazUtils: force dwarf for fpc 2.*
...
git-svn-id: trunk@49082 -
2015-05-18 12:49:48 +00:00
juha
bdc0dc8fbb
LazUtils: Recognise symbol font better. Issue #28020 . Patch from Johann.
...
git-svn-id: trunk@49067 -
2015-05-17 11:41:46 +00:00
juha
749442f5a7
LazUtils: LConvEncoding refactoring, separate UTF-8 specific conversion functions. Issue #28093 , patch from Alexey Torgashin.
...
git-svn-id: trunk@49059 -
2015-05-17 10:43:06 +00:00
martin
29b2f06a1d
LazUtils: New List classes
...
git-svn-id: trunk@49055 -
2015-05-16 19:15:34 +00:00
martin
399add232b
LazUtils: New List classes
...
git-svn-id: trunk@49054 -
2015-05-16 18:53:11 +00:00
juha
ccbbb894f3
LazUtils: FreeType fixes and new features. Issue #28073 , patch from Johann.
...
git-svn-id: trunk@49047 -
2015-05-16 11:09:18 +00:00
juha
ed5a6cac42
LConvEncoding refactoring. Issue #28093 , patch from Alexey Torgashin.
...
git-svn-id: trunk@49045 -
2015-05-16 11:09:15 +00:00
mattias
b56346b8fe
lazutils: added a copy of the FreeType license
...
git-svn-id: trunk@49031 -
2015-05-15 16:23:59 +00:00
mattias
2785411ce8
lazutils: fixe compilation
...
git-svn-id: trunk@48996 -
2015-05-12 14:24:43 +00:00
mattias
02e2574269
codetools: added FindPathInSearchPath
...
git-svn-id: trunk@48993 -
2015-05-12 10:22:59 +00:00
joost
b4b8dab3b4
LazUtils: Added unit lazcollections with generic class TLaThreadedQueue<T>, for usage in fpdebug
...
git-svn-id: trunk@48990 -
2015-05-11 20:15:50 +00:00
juha
37ae3c0f43
LazUtils: New UTF8WrapText function for LazUTF8. Issue #28001 , patch from Antônio Galvão.
...
git-svn-id: trunk@48924 -
2015-05-03 10:02:15 +00:00
juha
414374dbd9
LazUtils: Restore test for HashTableSize>0, needed because HashTableSize is unsigned.
...
git-svn-id: trunk@48873 -
2015-04-26 21:10:30 +00:00
bart
b727702265
LazUtils: TFileSearcher.Search: do not remove directories that are subdirectories of another directory from ASearchPath,
...
when ASearchSubDirs is False. Issue #0027965 .
git-svn-id: trunk@48858 -
2015-04-25 18:28:43 +00:00
bart
a64855cad9
LazUtils: TFileSearcher.Search: if SearchPath is empty, search current directory.
...
git-svn-id: trunk@48854 -
2015-04-25 18:02:28 +00:00
maxim
622dfa7549
Translations: Spanish translation update by José Martínez with some help of Jesus Reyes, bug #27803
...
git-svn-id: trunk@48851 -
2015-04-25 17:49:09 +00:00
juha
fe0840ae84
LazUtils: Fix compilation with FPC trunk. Remove a useless test "if FHashTableSize>0".
...
git-svn-id: trunk@48845 -
2015-04-25 11:06:37 +00:00
joost
7c10064ae9
LazUtils: Added unit lazfglhash with generic class TLazFPGHashTable<T>, for usage in fpdebug
...
git-svn-id: trunk@48844 -
2015-04-25 09:51:59 +00:00
jesus
967e0663ad
LazUtils: added function for getting normalized filename (darwin)
...
git-svn-id: trunk@48828 -
2015-04-24 06:28:20 +00:00
jesus
54dee07964
LazUtils, cvsutils: load from file version
...
git-svn-id: trunk@48825 -
2015-04-24 04:53:00 +00:00
maxim
76cc8230b1
Translations: French translation update by Gilles Vasseur, bugs #27920 , #27925
...
git-svn-id: trunk@48812 -
2015-04-21 21:27:59 +00:00
jesus
a95002e0bf
LCL, grids, fix loading CSV data with multiline fields, issue #27443
...
git-svn-id: trunk@48780 -
2015-04-20 17:50:27 +00:00
juha
25de80ed6c
LazUtils: formatting
...
git-svn-id: trunk@48778 -
2015-04-19 15:31:01 +00:00
juha
8250ced275
LazUtils: Use cwstring always with UTF8 RTL on Unix. Does not work without it.
...
git-svn-id: trunk@48776 -
2015-04-18 10:21:58 +00:00
juha
143b80ae36
LazUtils: Implement abstract methods for classes TXMLObjectWriter / TXMLObjectReader. Issue #27817 , patch from Vojtech Cihak.
...
git-svn-id: trunk@48689 -
2015-04-09 20:29:10 +00:00
juha
3c30f0d516
LazUtils: Formatting.
...
git-svn-id: trunk@48483 -
2015-03-24 17:52:43 +00:00
juha
abe573b42d
Initialize variables based on compiler warnings around Lazarus and libs. Contains ToDo items.
...
git-svn-id: trunk@48481 -
2015-03-24 17:52:23 +00:00
mattias
0763ff58d5
lazutils: fixed typo
...
git-svn-id: trunk@48418 -
2015-03-18 18:52:45 +00:00
mattias
4b7419bb8f
lazutils: clean up
...
git-svn-id: trunk@48355 -
2015-03-15 10:19:37 +00:00
mattias
0769a21e22
lconvencoding: added Macintosh
...
git-svn-id: trunk@48295 -
2015-03-12 12:29:02 +00:00
bart
750c0cd318
LazFileUtils: fix stupid mistake in DbgSFileAttr() function.
...
git-svn-id: trunk@48165 -
2015-03-07 17:25:44 +00:00
bart
b83671949f
LazFileUtils: implement DbgSFileAttr() function.
...
git-svn-id: trunk@48154 -
2015-03-06 22:02:59 +00:00
bart
51a48d7494
LazFileUtils: fix error in TryCreateRelativePath (it failed e.g with Dest=C:\ and Source=C:\foo). Issue #0027601 .
...
git-svn-id: trunk@48120 -
2015-03-03 19:51:20 +00:00
mattias
3584c167ee
lazutils: clean up
...
git-svn-id: trunk@48078 -
2015-03-01 13:55:40 +00:00
mattias
61c2952174
lazutils: comment
...
git-svn-id: trunk@48077 -
2015-03-01 13:13:57 +00:00
mattias
faa8237679
lazutils: comment
...
git-svn-id: trunk@48076 -
2015-03-01 13:10:48 +00:00
mattias
c249cc6c2b
lazutils: TFileStreamUTF8: fixed string type
...
git-svn-id: trunk@48073 -
2015-03-01 12:48:57 +00:00
mattias
f6788eb5b9
lazutils: TFileStreamUTF8: fixed string type
...
git-svn-id: trunk@48070 -
2015-03-01 12:43:07 +00:00
mattias
222321addf
lazutils: simplify enableutf8rtl by only using lazutf8
...
git-svn-id: trunk@47915 -
2015-02-20 14:28:49 +00:00
mattias
e1e00306cf
lazutf8: GetFormatSettingsUTF8: map common multibyte chars to ASCII
...
git-svn-id: trunk@47890 -
2015-02-18 19:51:28 +00:00
mattias
2979c97a9a
lazutils: fixed compilation on win64
...
git-svn-id: trunk@47879 -
2015-02-18 16:52:32 +00:00
mattias
27ab2c6a1f
lazutils: less hints
...
git-svn-id: trunk@47799 -
2015-02-15 12:37:49 +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
73702875b0
lazutils: TAvgLvlTree.FindLeftMostKey/FindRightMostKey fixed
...
git-svn-id: trunk@47645 -
2015-02-07 13:17:51 +00:00
maxim
ede88bbed7
Translations: Hungarian translation update by Péter Gábor, bug #27365
...
git-svn-id: trunk@47550 -
2015-01-27 23:10:25 +00:00
bart
f2491ead05
DictionaryStringlist: Deduplicate: allow the AStrings to have objects if it does not own them.
...
git-svn-id: trunk@47328 -
2015-01-10 15:35:20 +00:00
bart
d38d2f788b
LazFileUtils: fix compilation of GetShellLinkTargetAnsi for fpc 2.6.2.
...
git-svn-id: trunk@47324 -
2015-01-09 01:17:36 +00:00
bart
73d61b2750
LazUtils: make Deduplicate in DictionaryStringlist a bit more general and improve check for objects.
...
git-svn-id: trunk@47322 -
2015-01-08 21:53:07 +00:00
juha
9bbe6f00a1
LazUtils: Add a Deduplicate procedure for DictionaryStringList. Issue #27249 , patch from Antônio Galvão.
...
git-svn-id: trunk@47321 -
2015-01-08 20:56:39 +00:00
maxim
d61830214b
Translations: Hungarian translation update by Péter Gábor, bug #27230
...
git-svn-id: trunk@47292 -
2015-01-04 14:21:29 +00:00
joost
fb88fadd74
fpmake: re-generated several fpmake.pp files
...
git-svn-id: trunk@47285 -
2015-01-02 20:45:33 +00:00
joost
3a0de4fe98
fpmake: Re-generated some fpmake.pp files
...
git-svn-id: trunk@47240 -
2014-12-23 22:00:41 +00:00
mattias
47c65faeef
laz2_xmlread: added flag xrfAllowSpecialCharsInComments
...
git-svn-id: trunk@47211 -
2014-12-17 10:00:43 +00:00
mattias
814cf1a717
lazutils: FindInvalidUTF8Character: check for wrong mapped codes, changed default to report gaps
...
git-svn-id: trunk@47172 -
2014-12-10 14:26:18 +00:00
mattias
98578ff53a
laz2xmlcfg: duplicate nodes: always use the first
...
git-svn-id: trunk@47171 -
2014-12-10 11:26:47 +00:00
mattias
890803a8be
laz2xmlcfg: fixed TXMLConfig.InternalFindNode invalidate sorted node list on insert
...
git-svn-id: trunk@47170 -
2014-12-10 11:18:39 +00:00
mattias
d71ed5e522
lazutils: clean up
...
git-svn-id: trunk@47168 -
2014-12-10 09:55:24 +00:00
mattias
eb0a454ab7
laz2_xmlcfg: use array
...
git-svn-id: trunk@47167 -
2014-12-10 03:14:47 +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
mattias
3fb03c60b1
lazutf8: UTF8StrLICompAnsiString: use Count as fixed bound, do not check for #0
...
git-svn-id: trunk@47162 -
2014-12-10 01:04:26 +00:00
mattias
f54c36b0da
laz2xmlconfig: fixed crash
...
git-svn-id: trunk@47154 -
2014-12-09 14:18:38 +00:00
mattias
9058f5367b
laz2xmlconfig: fixed crash
...
git-svn-id: trunk@47153 -
2014-12-09 14:18:02 +00:00
mattias
5c340cafc8
xmlcfg: search neighbours first
...
git-svn-id: trunk@47151 -
2014-12-09 13:52:15 +00:00
mattias
1ffb091432
lazutils: less hint
...
git-svn-id: trunk@47150 -
2014-12-09 11:31:51 +00:00
bart
f78f0d056d
FileUtil: implement optional parameter DirAttr for FindAllFiles.
...
git-svn-id: trunk@47144 -
2014-12-08 21:51:43 +00:00
mattias
4a8e3ccc51
lazutils: replaced utf8string with string
...
git-svn-id: trunk@47139 -
2014-12-08 15:50:31 +00:00
mattias
574751850e
lazutf8: in utf8 mode: override widestringmanager Ansi procs
...
git-svn-id: trunk@47108 -
2014-12-04 20:19:50 +00:00
mattias
e2c1838d3d
lazutils: sanity check macros
...
git-svn-id: trunk@47105 -
2014-12-04 18:11:56 +00:00
mattias
233243e167
lazutils: paswstring: sanity check macros
...
git-svn-id: trunk@47104 -
2014-12-04 18:11:43 +00:00
mattias
b27cc83e34
lazutils: show exceptions of GetFormatSettingsUTF8
...
git-svn-id: trunk@47103 -
2014-12-04 18:10:53 +00:00
mattias
4ead586177
lazutils: paswstring: implemented CodePointLengthPChar
...
git-svn-id: trunk@47097 -
2014-12-04 16:45:29 +00:00
mattias
191c86fdf6
lazutils: paswstring: fixed CharLengthPChar
...
git-svn-id: trunk@47096 -
2014-12-04 16:27:01 +00:00
mattias
a937271d53
lazutils: paswstring: clean up
...
git-svn-id: trunk@47095 -
2014-12-04 16:11:59 +00:00
mattias
a4c4c3a904
lazutils: paswstring: PasUnicodeCompareText less strings
...
git-svn-id: trunk@47094 -
2014-12-04 16:10:31 +00:00
mattias
140ad30431
lazutils: paswstring: Unicode2AnsiMove, Ansi2UnicodeMove less strings
...
git-svn-id: trunk@47093 -
2014-12-04 16:07:49 +00:00
mattias
faa90467e8
lazutils: paswstring: StrCompAnsi: two strings less
...
git-svn-id: trunk@47092 -
2014-12-04 14:53:53 +00:00
mattias
cbcc383422
lazutils: paswstring: WideCompareText: two strings less
...
git-svn-id: trunk@47091 -
2014-12-04 14:41:05 +00:00
mattias
2a848a5c8c
lazutils: GetEnvironmentStringUTF8 for FPC_RTL_UNICODE
...
git-svn-id: trunk@47090 -
2014-12-04 14:28:35 +00:00