Commit Graph

14 Commits

Author SHA1 Message Date
micha
83b7f81f81 + add no-fpu support to compiler/rtl for powerpc-linux (-Cfnone)
git-svn-id: trunk@10422 -
2008-03-02 12:59:02 +00:00
peter
7ffbfdc9c8 * fix widestring concat multi for winlikewidestring. The
append optimization can't be used in this can because the
    trick with refcnt is not supported

git-svn-id: trunk@10327 -
2008-02-14 20:15:21 +00:00
Jonas Maebe
4d9445749c * fixed buffer overflow in delete() for widestrings (patch by
Martin Schreiber, #10800)

git-svn-id: trunk@10255 -
2008-02-09 11:47:14 +00:00
Jonas Maebe
76b7bfedd8 * fix for (w)chararray to ansi/widestring conversions after
ansi/widestring function handling change in r9718 (patch by
    Sergei Gorelkin)

git-svn-id: trunk@10073 -
2008-01-27 22:06:07 +00:00
Jonas Maebe
cdfb7c8f26 * patch from Sergei Gorelkin to return ansi/widestrings by reference
in an invisible parameter (Delphi compatible, faster/smaller code)

git-svn-id: trunk@9718 -
2008-01-11 22:36:50 +00:00
Jonas Maebe
588822b14d * more ptruint type casts to avoid 64 bit comparisons on 32 bit
platforms

git-svn-id: trunk@9693 -
2008-01-09 18:32:37 +00:00
yury
cd03a2893b * Explicitly increment and decrement ref count to keep copy of destination string in fpc_AnsiStr_Concat_multi and fpc_WideStr_Concat_multi. It prevents note "Local variable "destcopy" is assigned but never used".
git-svn-id: trunk@9554 -
2007-12-28 00:02:35 +00:00
Jonas Maebe
01592d7b5d * don't convert terminating #0 of UCS4Strings to widestring
* fixed length check in twide5.pp

git-svn-id: trunk@9518 -
2007-12-23 18:40:15 +00:00
florian
213dd11800 * setlength in utf16/widestringtoutf32 fixed, resolves #10462
git-svn-id: trunk@9517 -
2007-12-22 18:43:29 +00:00
yury
8c54008d0c * Fixed condition which was evaluated to true at compile time, and code for else block was not generated at all. "Dead code" warning warned about it.
* Removed unused local var.

git-svn-id: trunk@9496 -
2007-12-21 21:19:32 +00:00
Jonas Maebe
7ec9dc5bc9 * fixed unix CompareWideString to not treat null characters inside
a widestring as end-of-string + test (which fails on Darwin/FreeBSD
    in utf-8/utf-16 locales, because their libc's wcscoll is documented
    as only working in single-byte locales and falling back to wcscmp
    for others)

git-svn-id: trunk@9416 -
2007-12-08 16:00:09 +00:00
Jonas Maebe
9da3986087 * removed some unused variables, which fixes building on non-unix
git-svn-id: trunk@9400 -
2007-12-06 15:55:57 +00:00
Jonas Maebe
2319d8c3ce * fixed WideStringToUCS4String and UCS4StringToWideString for code points
requiring surrogate pairs in utf-16 + test

git-svn-id: trunk@9391 -
2007-12-05 13:05:09 +00:00
florian
891ce34513 * preparations for unicodestring support in the rtl
git-svn-id: trunk@9386 -
2007-12-02 22:33:56 +00:00