Commit Graph

176 Commits

Author SHA1 Message Date
Markus Scherer
12be5b8ce0 ICU-6928 even simpler NUL-termination code, now only in getTerminatedBuffer(); insight: getTerminatedBuffer() can safely write a NUL even in a shared, allocated (kLongString & refCount()>1) buffer so no other code need NUL-terminate the buffer
X-SVN-Rev: 26007
2009-05-14 06:05:27 +00:00
Markus Scherer
b23ab3d19d ICU-6928 make not-writable UnicodeString buffers NUL-terminated if there is space, and NUL-terminate writable buffers if there is space; this is so valgrind and Purify don't complain about testing uninitialized memory
X-SVN-Rev: 26006
2009-05-13 21:05:51 +00:00
Steven R. Loomis
8e85f80a2a ICU-6797 raft of doxygen fixes for milestone:4.1.4
X-SVN-Rev: 25600
2009-03-17 01:47:25 +00:00
Andy Heninger
7ba40f1363 ICU-6375 Add option for reducing spurious valgrind errors
X-SVN-Rev: 25586
2009-03-13 23:49:56 +00:00
Markus Scherer
e74be582d0 ICU-6606 optimized away calls to u_getDefaultConverter() from UnicodeString code (constructors and extract()) if U_CHARSET_IS_UTF8
X-SVN-Rev: 25571
2009-03-12 21:24:54 +00:00
Markus Scherer
2cc78d6fce ICU-6606 split UnicodeString methods so that implicitly using the default codepage does not have to depend on ucnv_* functions if the default is UTF-8
X-SVN-Rev: 25554
2009-03-11 23:57:47 +00:00
Andy Heninger
8ec2292d83 ICU-6776 fix compilation error with UnicodeString::toUTF8String()
X-SVN-Rev: 25524
2009-03-09 02:54:18 +00:00
Markus Scherer
63ea2e06da ICU-6765 add API: StringPiece, ByteSink(s), UnicodeString::toUTF8() and fromUTF8()
X-SVN-Rev: 25519
2009-03-06 19:19:00 +00:00
Markus Scherer
311b29556f ICU-6677 add UnicodeString fromUTF32() and toUTF32() methods
X-SVN-Rev: 25448
2009-02-19 22:35:06 +00:00
Steven R. Loomis
fa50d4a3b2 ICU-6435 fix bad 4.0 tags. Re-do r23962 as stable 3.8 instead of stable 4.0.
X-SVN-Rev: 24395
2008-07-21 18:57:26 +00:00
Steven R. Loomis
c2ae3e30a4 ICU-6297 move @draft to @stable
X-SVN-Rev: 23962
2008-05-21 23:27:14 +00:00
George Rhoten
4999616984 ICU-6090 Remove broken compiler warnings.
X-SVN-Rev: 23275
2008-01-20 19:11:49 +00:00
Markus Scherer
a5ab4206d7 ICU-5835 add forward declaration before friend declaration, for standard-conformant C++ compilers
X-SVN-Rev: 22742
2007-10-03 20:59:45 +00:00
Markus Scherer
92992780d1 ICU-5835 add friend declaration for the union to see US_STACKBUF_SIZE, for standard-conformant C++ compilers
X-SVN-Rev: 22741
2007-10-03 19:18:52 +00:00
Markus Scherer
13270fbe6f ICU-5835 optimize UnicodeString: increase US_STACKBUF_SIZE from 7 to 13; optimize append() and unescape()
X-SVN-Rev: 22718
2007-09-28 04:50:25 +00:00
Markus Scherer
7bb221a187 ICU-5869 revert changes (r22476); too risky and needs further discussion; see ticket reply
X-SVN-Rev: 22607
2007-08-31 19:39:14 +00:00
Markus Scherer
3c79dc08b7 ICU-4613 fix minor UnicodeString's compareCodePointOrder doc glitch
X-SVN-Rev: 22524
2007-08-24 19:27:03 +00:00
George Rhoten
8620a4a530 ICU-5869 Properly NULL terminate strings that are not byte based, like UTF-16 or UTF-32.
X-SVN-Rev: 22476
2007-08-22 23:39:11 +00:00
George Rhoten
9623bf94e7 ICU-5357 Fix doxygen warnings.
X-SVN-Rev: 22265
2007-08-03 23:52:19 +00:00
Markus Scherer
c12f6712f9 ICU-4935 add U_TITLECASE_NO_LOWERCASE, U_TITLECASE_NO_BREAK_ADJUSTMENT, ucasemap_get/setBreakIterator, ucasemap_toTitle, ucasemap_utf8ToTitle, ucasemap_utf8FoldCase, UnicodeString::toTitle(...options)
X-SVN-Rev: 22170
2007-07-27 06:37:08 +00:00
George Rhoten
93351fd30c ICU-5357 Fix broken HTTP links in documentation.
X-SVN-Rev: 21699
2007-06-11 19:14:47 +00:00
George Rhoten
bc576b9b4c ICU-2957 Add support for UTF-16 string literal syntax.
X-SVN-Rev: 21600
2007-05-30 22:28:35 +00:00
Markus Scherer
4f5e372f0d ICU-5304 fix macros in unistr.h with namespace qualification of the UnicodeString class
X-SVN-Rev: 20586
2006-10-23 21:12:33 +00:00
Ram Viswanadha
40de6d9299 ICU-5221 fix docs
X-SVN-Rev: 20186
2006-08-29 21:55:46 +00:00
George Rhoten
ea6e0433c1 ICU-4707 Better fix for compiler warnings.
X-SVN-Rev: 19996
2006-08-07 20:29:51 +00:00
George Rhoten
248545dcc7 ICU-4707 Fix some compiler warnings.
X-SVN-Rev: 19995
2006-08-07 18:02:31 +00:00
George Rhoten
5937e5ec9a ICU-4707 Fix some compiler warnings about unused variables.
X-SVN-Rev: 19230
2006-02-21 18:32:00 +00:00
George Rhoten
880b530fd3 ICU-5008 Remove @internal items from the public headers
X-SVN-Rev: 19057
2006-02-02 04:51:05 +00:00
George Rhoten
ed52ece8ed ICU-5008 Undraft some API
X-SVN-Rev: 18999
2006-01-18 03:34:19 +00:00
Vladimir Weinstein
ed7fe99c8b ICU-4599 promote @draft ICU 2.8 to stable
X-SVN-Rev: 17985
2005-06-22 23:38:06 +00:00
Ram Viswanadha
d0eb5dd8e9 ICU-4524 add brief documentation
X-SVN-Rev: 17983
2005-06-22 22:39:36 +00:00
George Rhoten
5c51ec946a ICU-4233 Fix non-ASCII characters in doxygen documentation.
X-SVN-Rev: 17899
2005-06-15 04:20:43 +00:00
George Rhoten
b534c0bffc ICU-4461 Allow EBCDIC machines to declare UTF-16 strings
X-SVN-Rev: 17394
2005-03-25 18:58:42 +00:00
Eric Mader
41ca4f63ee ICU-4428 update copyright notices for ICU 3.3.
X-SVN-Rev: 17296
2005-03-08 22:49:59 +00:00
George Rhoten
aac8e996c4 ICU-4412 Bye bye oss.software.ibm.com. Your pages have been sent to other various web sites.
X-SVN-Rev: 17221
2005-02-18 00:19:33 +00:00
Vladimir Weinstein
647cb8dc77 ICU-4194 promotion of @draft 2.6 to @stable 2.6 for common library
X-SVN-Rev: 16728
2004-11-02 07:28:07 +00:00
George Rhoten
a078bb1ce8 ICU-4053 Fix some doxygen warnings.
X-SVN-Rev: 16719
2004-11-02 04:55:53 +00:00
George Rhoten
7674c243d1 ICU-4078 There is no need to use the default locale for foldCase as stated by Markus.
X-SVN-Rev: 16424
2004-10-08 05:17:17 +00:00
George Rhoten
22d8e01eca ICU-4078 Fix VS.NET compiler errors
X-SVN-Rev: 16197
2004-08-27 16:53:29 +00:00
Markus Scherer
2327dcdc7f ICU-4078 disentangle conversion and properties code some from other parts of the common library
X-SVN-Rev: 16194
2004-08-26 22:58:39 +00:00
George Rhoten
254eea3c6e ICU-4072 Explicitly use U_EXPORT2 to specify calling convention of static C++ code.
X-SVN-Rev: 16182
2004-08-24 17:21:14 +00:00
George Rhoten
a6432fd203 ICU-3946 Use U_EXPORT2 for operators
X-SVN-Rev: 16020
2004-07-16 15:43:19 +00:00
George Rhoten
4e30c5a621 ICU-3872 Change the destructor to virtual
X-SVN-Rev: 15960
2004-06-30 05:36:17 +00:00
Eric Mader
ad42df258f ICU-3820 fix doxygen warnings.
X-SVN-Rev: 15879
2004-06-15 20:52:22 +00:00
George Rhoten
5ba76644fa ICU-3650 Fix doxygen warnings
X-SVN-Rev: 15523
2004-05-25 03:23:31 +00:00
Markus Scherer
01889c4280 ICU-2761 make UnicodeString::extractBetween() pin properly
X-SVN-Rev: 15179
2004-05-06 17:41:09 +00:00
Markus Scherer
c5455ff499 ICU-3570 fix apiref bug of polarity of UnicodeString compare(), < etc.
X-SVN-Rev: 15174
2004-05-06 15:26:53 +00:00
Ram Viswanadha
bbe9de394c ICU-3405 prototype for U_DRAFT, U_DEPRECATED and U_OBSOLETE
X-SVN-Rev: 14775
2004-03-26 19:42:04 +00:00
George Rhoten
85312b5541 ICU-2950 Fix a compiler warning on AIX about operator +. Make it out of line.
X-SVN-Rev: 13962
2003-12-03 01:53:31 +00:00
Markus Scherer
eb3d7a8d9c ICU-3348 change @draft ICU 2.2 and earlier to @stable
X-SVN-Rev: 13742
2003-11-18 02:37:24 +00:00