florian
a5c5c0956d
* edited fix from Rimgaudas Laucius to fix #7868
...
git-svn-id: trunk@5564 -
2006-12-10 22:49:18 +00:00
marco
f68280e91c
* Patch from 7048
...
git-svn-id: trunk@5535 -
2006-12-03 19:12:11 +00:00
yury
84d5552deb
* Added HAS_WIDESTRINGMANAGER define to turn off default wide string manager routines.
...
git-svn-id: trunk@5308 -
2006-11-10 14:47:28 +00:00
yury
c00d0debf0
* fixed some notes/warnings.
...
git-svn-id: trunk@5306 -
2006-11-10 12:36:45 +00:00
florian
81a4547901
* fixed assignment of empty strings for windows
...
git-svn-id: trunk@5071 -
2006-10-29 20:22:51 +00:00
peter
2f0ce31751
* string concat changed from function to procedure to
...
allow runtime optimization if the destination is the
same as a source parameter
* tassignmentnode now sets aktassignmentnode global that can be used
to use the left node as a destination parameter and
skip the assignment
* disabled all cpu specific shortstr concat/append
git-svn-id: trunk@4770 -
2006-10-02 20:00:06 +00:00
florian
9d14c87da7
* fpc_assign_widestr after a hint of Martin Schreiber fixed, see #7272
...
git-svn-id: trunk@4502 -
2006-08-24 20:16:39 +00:00
yury
5a49addb35
* fixed more warnings and notes while compiling RTL.
...
git-svn-id: trunk@4259 -
2006-07-19 19:10:02 +00:00
yury
11576fd24b
* fixed warnings and notes while compiling system unit for wince.
...
git-svn-id: trunk@4250 -
2006-07-18 15:00:09 +00:00
florian
096fb2dcb8
* really copy widestrings in widestr_assign when winlike wistrings are used
...
git-svn-id: trunk@4151 -
2006-07-12 17:53:58 +00:00
peter
16411cda22
* fix win32
...
git-svn-id: trunk@3851 -
2006-06-12 17:59:38 +00:00
peter
fc2f86b210
* small cleanup fixes
...
* fix uninitialized initial refcount in newwidestring
git-svn-id: trunk@3850 -
2006-06-12 17:35:16 +00:00
peter
eb8db1e460
* fix internal alias parameters for incr_ref
...
git-svn-id: trunk@3844 -
2006-06-11 10:51:27 +00:00
marco
96ad9ad3cf
* firstoff->widefirstoff typo correction
...
git-svn-id: trunk@3629 -
2006-05-22 14:26:40 +00:00
florian
6996081cd2
* another windows widestring fix
...
git-svn-id: trunk@3478 -
2006-05-11 11:03:21 +00:00
florian
631e84dcb4
* fixed hopyfully setlength on windows needs still be optimized using SysReallocStringLen
...
git-svn-id: trunk@3477 -
2006-05-11 08:57:19 +00:00
florian
570c1bc3a5
* widestrings aren't ref. counted anymore on windows
...
git-svn-id: trunk@3466 -
2006-05-09 20:54:26 +00:00
peter
9cd5a800af
* check for nil in concat_multi
...
git-svn-id: trunk@2658 -
2006-02-20 17:15:05 +00:00
peter
a77f503a30
* optimize multiple concats for ansi/widestring
...
git-svn-id: trunk@2650 -
2006-02-20 10:58:28 +00:00
Jonas Maebe
58381ff7b6
* made chararray handling 98% TP-compatible, fixes web bugs 3012
...
and 4080. The compatibility differences are:
a) writing a chararray which is zero-based but not zero-
terminated does not cause a buffer overflow
b) non-zero-based chararrays can also be read
The difference was that previously, all chararrays were treated
as pchars. In TP/Delphi (and now also in FPC), this is only done
for zero-based chararrays. For non-zero-based ones, the entire
contents of the array should always be used (including #0 's).
The default parameters in the system unit for the chararray
helpers are to avoid having to use a define for bootstrapping.
git-svn-id: trunk@2152 -
2006-01-04 10:05:10 +00:00
Jonas Maebe
b08eccdbf0
- reverted ansi2wide and wide2ansi changes, because they affect
...
third party sources too much
git-svn-id: trunk@2046 -
2005-12-24 01:40:23 +00:00
Jonas Maebe
9a08cdccf0
* several changes of var parameters into out parameters to avoid
...
useless warnings: code parameter of val(), destination of str(),
destinations of ansi2wide and wide2ansi
git-svn-id: trunk@2041 -
2005-12-23 22:25:26 +00:00
Jonas Maebe
2dea0c793f
* made the target parameter of SetString an "out" instead of "var" parameter
...
git-svn-id: trunk@1896 -
2005-12-07 16:06:34 +00:00
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