Commit Graph

830 Commits

Author SHA1 Message Date
bart
545d1bb66f LazUtf8: Fix UnicodeToUtf8 for CodePoint = 0. Issue #0031103.
git-svn-id: trunk@53659 -
2016-12-12 20:55:42 +00:00
mattias
5fe7ed77c1 lazutils: clean up
git-svn-id: trunk@53616 -
2016-12-09 09:14:13 +00:00
mattias
e53ad0a63b lazutils: simplified
git-svn-id: trunk@53403 -
2016-11-21 16:05:02 +00:00
juha
5338a3dfc1 LazUtils: Refactoring for TXMLConfig. Issue #30899, patch from AlexeyT.
git-svn-id: trunk@53385 -
2016-11-18 19:25:05 +00:00
ondrej
37928d1126 LazUtils: lazutf8sysutils: use GetTickCount32 from FPC 3 if available. Issue #30927
git-svn-id: trunk@53364 -
2016-11-14 13:41:54 +00:00
mattias
f96014d35b lazutils: TStringToPointerTree: fixed freeing value on replace
git-svn-id: trunk@53305 -
2016-11-07 11:29:29 +00:00
mattias
eefe2518a1 lazutils: comment
git-svn-id: trunk@53300 -
2016-11-05 14:57:02 +00:00
bart
39750fff57 LazUtf8
- deprecate ValidUTF8String() (confusing name)
- implement Utf8EscapeControlChars()
Resolves Issue #0030821.

git-svn-id: trunk@53297 -
2016-11-04 14:23:20 +00:00
mattias
887269a2be lazutils: ExpandFileNameUTF8: fixed HOME with UTF-8
git-svn-id: trunk@53283 -
2016-11-02 11:13:07 +00:00
mattias
88c8a65391 lazutils: ResolveDots: fixed a/../b
git-svn-id: trunk@53275 -
2016-11-01 19:55:25 +00:00
ondrej
c4a4b773bd LazUtils: FindDefaultExecutablePath refactoring. Issue #30816, patch by AlexeyT
git-svn-id: trunk@53257 -
2016-10-29 06:30:41 +00:00
mattias
3bcde4474b lazutils: FindDefaultExecutablePath: on Windows search in BaseDir as well, bug #30802.
git-svn-id: trunk@53236 -
2016-10-27 10:38:59 +00:00
mattias
281d09864a lcl: added TProcessUTF8.ParseCmdLine
git-svn-id: trunk@53142 -
2016-10-17 13:50:13 +00:00
mattias
ad2a1d0c2d lazutils: less warnings
git-svn-id: trunk@53137 -
2016-10-17 13:33:55 +00:00
juha
0973660a48 LazUtils: Unify formatting between FileIsReadable and FileIsWritable + other formatting.
git-svn-id: trunk@53127 -
2016-10-16 20:06:33 +00:00
joost
dd12fca090 * Re-generated fpmake.pp
git-svn-id: trunk@53117 -
2016-10-14 18:37:23 +00:00
juha
8cfa96523a Packager: formatting
git-svn-id: trunk@53083 -
2016-10-09 13:12:08 +00:00
juha
9ca4db530f LazUtils: Add few more IDE directives to suppress notes about unused Sender parameter. Issue #29704.
git-svn-id: trunk@52990 -
2016-09-18 19:42:55 +00:00
mattias
bc57de6bb9 lazutf8: improved UTF8CharacterLength and UTF8CharacterLengthFast
git-svn-id: trunk@52857 -
2016-08-21 21:14:01 +00:00
juha
413f000fc0 LazUtils: Return 1 also for char #0 in UTF8CharacterLengthFast. Matches the logic in UTF8CharacterLength.
git-svn-id: trunk@52856 -
2016-08-21 19:48:01 +00:00
juha
01c9a4b4d7 LazUtils: Add fast versions of UTF8CharacterLength and UTF8Length. Use them in LazUnicode unit.
git-svn-id: trunk@52853 -
2016-08-21 16:37:02 +00:00
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