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
920c072f0e
LazUtils: Add, fix and unify header comments of many units.
...
git-svn-id: trunk@52518 -
2016-06-18 16:40:04 +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
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
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
mattias
233243e167
lazutils: paswstring: sanity check macros
...
git-svn-id: trunk@47104 -
2014-12-04 18:11:43 +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
mattias
302870da38
lazutils: paswstring: EnsureAnsiLen grow faster
...
git-svn-id: trunk@47089 -
2014-12-04 13:50:48 +00:00
mattias
b7d22a3843
lazutils: paswstring: one string less in UpperWideString
...
git-svn-id: trunk@47088 -
2014-12-04 13:47:43 +00:00
mattias
6efffcae72
lazutils: paswstring: one string less in LowerWideString
...
git-svn-id: trunk@47087 -
2014-12-04 13:46:28 +00:00
mattias
1b03376550
lazutils: paswstring: one string less in Wide2AnsiMove and Ansi2WideMove
...
git-svn-id: trunk@47086 -
2014-12-04 13:44:15 +00:00
juha
ecd140c985
Improve license headers in sources, part 2. Refer to details about license, not copyright. Remove jargon about lack of warranty, it is covered in license already.
...
git-svn-id: trunk@41389 -
2013-05-25 09:22:25 +00:00
sekelsenmat
6c181cc045
paswstring fix from bug #20668
...
git-svn-id: trunk@33538 -
2011-11-15 09:15:41 +00:00
sekelsenmat
ba49416b3b
Disables lconvencoding from paswstring by default
...
git-svn-id: trunk@33116 -
2011-10-27 18:40:33 +00:00
sekelsenmat
29e7449f18
Disables the new widestring manager for fpc 2.7 and moves some comented routines to proper place
...
git-svn-id: trunk@32982 -
2011-10-19 14:44:14 +00:00
sekelsenmat
4d936c5608
Tunes the ansi conversion to really target ansi, not utf-8 as previously
...
git-svn-id: trunk@32978 -
2011-10-19 08:57:31 +00:00
sekelsenmat
5b05dc0fdd
Removes unnecessary code to set the string terminators
...
git-svn-id: trunk@32977 -
2011-10-19 08:19:32 +00:00
sekelsenmat
e960bd6462
Fixes a stack corruption in Unicode2Ansi
...
git-svn-id: trunk@32975 -
2011-10-19 07:05:50 +00:00
sekelsenmat
a6ce630bcc
Fixes string length and other errors in paswstring
...
git-svn-id: trunk@32972 -
2011-10-19 06:53:52 +00:00
sekelsenmat
397f343a4f
Adds some missing widestring manager routines
...
git-svn-id: trunk@32967 -
2011-10-19 06:10:57 +00:00
sekelsenmat
3ffd9d2af9
Moves lconvencoding.pas from the LCL to LazUtils
...
git-svn-id: trunk@32942 -
2011-10-17 11:36:24 +00:00
sekelsenmat
7e93706129
Some fixes for paswstrings
...
git-svn-id: trunk@32893 -
2011-10-14 20:47:34 +00:00
sekelsenmat
26e38aa25c
Adds paswstring to lazutils, it is feature complete now, although parts might need rethinking specially for fpc 2.7
...
git-svn-id: trunk@32889 -
2011-10-14 19:09:04 +00:00