Commit Graph

77 Commits

Author SHA1 Message Date
peter
ea6dadb7be * make widestrings compatible with COM BSTR, the length is now the number
of bytes allocated instead of the number of widechars

git-svn-id: trunk@1467 -
2005-10-18 09:45:13 +00:00
peter
cc38ec676e * add winwidestringalloc boolean, set it to false to use the fpc
heapmanager to allocate widestrings

git-svn-id: trunk@1306 -
2005-10-06 06:28:05 +00:00
florian
3a5895be0f * StringToWideChar fixed
git-svn-id: trunk@1236 -
2005-09-30 08:30:44 +00:00
florian
78f4cb86b0 * more widestring overloads for pos to avoid problems with selection of the correct one
git-svn-id: trunk@1177 -
2005-09-24 16:42:35 +00:00
florian
bb26084a0f + UCS4StringToWideString
+ WideStringToUCS4String
+ locale sensitive comparing of widestrings on unix

git-svn-id: trunk@1142 -
2005-09-19 19:13:03 +00:00
michael
fee6627a8a + Fixed typo, patch by Colin Western
git-svn-id: trunk@507 -
2005-06-26 14:53:09 +00:00
florian
ed95c19399 * reallocation of widestrings on windows fixed
* warnings in sstrings.inc fixed

git-svn-id: trunk@500 -
2005-06-26 08:17:21 +00:00
florian
07442c5693 * fixed passing of variant parameters for windows api
* widestrings need to be allocated by a special OS call on windows

git-svn-id: trunk@458 -
2005-06-20 19:56:36 +00:00
michael
5cafc069b5 + Removed NOSAVEREGISTERS define
git-svn-id: trunk@307 -
2005-06-09 17:58:20 +00:00
michael
06ab2d2ee6 + Removed STR_USES_VALINT define
git-svn-id: trunk@305 -
2005-06-09 17:53:01 +00:00
michael
f7edd5a256 + Removed DECRREFNOTNIL define
git-svn-id: trunk@300 -
2005-06-09 17:48:33 +00:00
michael
93ba0409be + Removed HASCOMPILERPROC define
git-svn-id: trunk@265 -
2005-06-07 21:41:02 +00:00
michael
db5d9d75aa + Removed INTERNCOPY define
git-svn-id: trunk@259 -
2005-06-07 21:11:49 +00:00
michael
a20556e62d + Removed INTERNLENGTH/INTERNSETLENGTH defines
git-svn-id: trunk@257 -
2005-06-07 21:07:21 +00:00
peter
4ace790492 * remove $Log
git-svn-id: trunk@231 -
2005-06-07 09:47:55 +00:00
fpc
790a4fe2d3 * log and id tags removed
git-svn-id: trunk@42 -
2005-05-21 09:42:41 +00:00
fpc
50778076c3 initial import
git-svn-id: trunk@1 -
2005-05-16 18:37:41 +00:00
michael
7df51de3d6 + Fix for Utf8ToUnicode from Lazarus bug tracker 888 2005-05-04 10:34:48 +00:00
florian
375d7711b8 * widestr->shortstr fixed
* wstrings to system unit dependencies added
2005-04-03 08:46:02 +00:00
florian
e2c26378b3 * shortstr_to_widestring fixed 2005-03-22 10:10:54 +00:00
florian
128152f7cf * utf8 to unicode (utf-16) fix from Matthias 2005-03-14 21:32:04 +00:00
florian
9445db95f3 * widestring manager can handle now ansi<->wide string conversions even if the lens don't match 2005-03-14 21:09:04 +00:00
florian
7fa1ae2ea8 + WideSameStr 2005-02-26 15:00:14 +00:00
florian
eb4b962cee + implemented WideFormat
+ some Widestring stuff implemented
  * some Widestring stuff fixed
2005-02-26 10:21:17 +00:00
peter
e417e34496 * truncate log 2005-02-14 17:13:06 +00:00
florian
3ed23de88e + StrCharLength infrastructure 2005-02-06 09:38:45 +00:00
florian
8f571abbb9 + infrastructure for WideCompareText implemented 2005-02-03 18:40:50 +00:00
florian
4f7560d89e * improved widestring infrastructure manager 2005-02-01 20:22:49 +00:00
florian
87771a2ae3 * widecharray patch from Peter 2005-01-06 13:31:06 +00:00
peter
14eb8f59b4 internconst, internproc and some external declarations moved to interface 2004-11-17 22:19:04 +00:00
peter
fd759e521f * saveregisters calling convention is obsolete 2004-10-24 20:01:41 +00:00
mazen
b65cffcdef * widestring conversion routines takes a widechar so no
information is lost
2004-09-29 14:55:49 +00:00
Jonas Maebe
3f10b1b4f6 - removed unused local variable
* fixed bug in Utf8ToUnicode (use of uninitialised variable)
2004-09-18 10:23:08 +00:00
florian
7a7c34e1b7 + several unicode (to/from utf-8 conversion) stuff added
* some longint -> SizeInt changes
2004-07-18 20:21:44 +00:00
peter
b3e3030e6f * remove maxlen field from ansistring/widestrings 2004-07-12 17:58:19 +00:00
peter
59691cc142 * decr ref doesn't reset pointer
* finalize resets pointer for astring,wstring
2004-07-02 21:21:09 +00:00
peter
962ef697d5 * remove comment warnings 2004-05-31 14:31:57 +00:00
florian
dea441a7dd * the decr functions set the data now to nil 2004-05-29 15:39:08 +00:00
peter
81b6d9f16c * replace strlenint with sizeint 2004-05-01 23:55:18 +00:00
peter
cafed35e77 * str() helpers now also use valint/valuint
* int64/qword helpers disabled for cpu64
2004-04-29 18:59:43 +00:00
peter
6dc4cd8b82 * finalize needs to reset to nil after decr_ref 2004-01-22 22:09:05 +00:00
michael
2f103d8153 + Added overloaded version of SetWideStringManager without old parameter 2003-11-29 17:27:05 +00:00
michael
51c296f60c + Added WideStringManager 2003-11-28 20:36:13 +00:00
florian
68e4d5c88a * made Index* usage consistent with astrings.inc 2003-11-05 15:33:51 +00:00
Jonas Maebe
4be7651aa2 * fixed conversion of fpc_*str_unique to compilerproc 2003-06-17 19:24:08 +00:00
Jonas Maebe
394b70f94d * fpc_{ansistr|widestr}_unique is now a function so it can be used as
compilerproc
2003-06-17 16:38:53 +00:00
florian
eab5d1f7c5 * started to make the rtl 64 bit save by introducing SizeInt and SizeUInt (similar to size_t of C) 2003-05-01 08:05:23 +00:00
peter
d0776e3492 * implemented some more conversions 2002-12-29 16:59:17 +00:00
peter
438fbdedee * SetString(WideString,[PChar|PWideChar],Len) added 2002-12-15 22:33:12 +00:00
sg
a384390a05 * Ported improvements from the AnsiString equivalents to NewWideString and
fpc_WideStr_SetLength
2002-12-14 19:16:45 +00:00