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
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