Fredrik Roubert
ee8806e87c
ICU-22954 Make UCollator predicates usable without U_SHOW_CPLUSPLUS_API.
...
Until now, the implementation of the UCollator predicates has been using
UnicodeString and StringPiece as convenient wrappers for converting from
standard C++ data types to ICU4C data types.
But as that doesn't work when the client uses ICU4C built without
U_SHOW_CPLUSPLUS_API this is now changed to instead perform these
conversions directly.
(It's a bit more code, but does just the same thing in the end.)
2025-02-07 20:14:20 +01:00
Markus Scherer
c0a3fe15d4
ICU-22954 Partially revert PR #3295 U_ICU_NAMESPACE_OR_INTERNAL, header-only localpointer
...
This partially reverts commit 3527b3d320
.
Making LocalPointer header-only, with a different namespace when compiling internally,
turned out to be problematic.
2024-12-23 11:17:14 -08:00
Markus Scherer
38b6d7fe5a
ICU-22954 Revert PR #3295 make all LocalXyzPointer header-only
...
This reverts commit 5bdb4c44af
.
Making LocalPointer header-only, with a different namespace when compiling internally,
turned out to be problematic.
2024-12-23 11:17:14 -08:00
Markus Scherer
70409090de
ICU-22954 make all LocalXyzPointer header-only
2024-12-19 17:40:33 -08:00
Markus Scherer
8655718531
ICU-22954 U_ICU_NAMESPACE_OR_INTERNAL, header-only localpointer
...
header-only parts of char16ptr.h
2024-12-19 17:40:33 -08:00
Fredrik Roubert
b160feaac2
ICU-22879 Provide collator based predicates for use with STL algorithms.
2024-09-17 20:44:21 +02:00
Anton Voloshin
e4cba341b6
ICU-22850 ucol_openRules: fix ucol_open reference in the description
...
It should obviously be ucol_open here. This typo was introduced in the
0335b3b9c3
2024-08-19 13:03:21 -07:00
Frank Tang
9e9bc3695f
ICU-22489 Clarify the default setting of Collator
...
See #2595
2023-09-14 10:05:36 -07:00
Peter Edberg
0ce0d1aa5d
ICU-21900 check non-stable API macros, fix missing U_DEPRECATED
2022-03-02 10:34:16 -08:00
Victor Chang
397cbb9530
ICU-21894 A modern version of ucol_safeClone and ucnv_safeClone API
2022-02-01 16:41:49 +00:00
luz paz
73eca0a9c9
ICU-21580 Fix typos in icu4c/
...
Found via `codespell -q 3 -L ans,anumber,atleast,ba,bre,hace,nd,nin,ois,rsource,som,sur,tht -S icu4c/source/data/zone,icu4c/source/data/lang`
ICU-21580 Fix source (related) typos
ICU-21580 Revert extraneous auto-encoding
ICU-21580 Re-add previous reverted fix without auto-encoding
2021-07-19 13:22:38 -05:00
Erik Torres Aguilar
6eea259143
ICU-21018 Fix typos across repo that start with letter C
...
See #1525
2021-01-06 15:15:26 -08:00
Hugo van der Merwe
a08ac00c67
ICU-21304 Update old userguide links to unicode-org.github.io
2020-10-01 01:28:05 +02:00
Markus Scherer
18c4a69f80
ICU-9961 replace U_DRAFT/U_STABLE/U_INTERNAL with U_CAPI
2020-09-10 11:23:44 -07:00
Markus Scherer
c3fe7e09d8
ICU-21267 stop defining & using FALSE & TRUE macros in public headers
...
See #1282
2020-09-09 15:13:56 -07:00
Victor Chang
7a57d299df
ICU-21247 Move #include "unicode/localpointer.h" into U_SHOW_CPLUSPLUS_API block
2020-08-31 15:19:29 -07:00
Markus Scherer
5f443972ec
ICU-20814 new tool for checking API tags vs. ifdef guards; add FORCE guards, and move some guards, to make this work
2019-09-23 17:04:53 -07:00
Andy Heninger
35ce5296c1
ICU-13810 Doxygen warning cleanup.
2018-09-27 14:27:37 -07:00
Peter Edberg
36eed24f5f
ICU-13005 ICU 59rc BRS, finish cleanup of C status tags and U_HIDE_ conditionals
...
X-SVN-Rev: 39952
2017-03-29 04:44:37 +00:00
Andy Heninger
242e02c388
ICU-12764 icu4c utf-8 source files, update Copyright notices.
...
X-SVN-Rev: 39583
2017-01-20 00:20:31 +00:00
Peter Edberg
eccbc645aa
ICU-12738 ICU4C BRS, fixes to conditionals/includes/makefiles/scripts from testing public/private headers
...
X-SVN-Rev: 39375
2016-09-28 04:17:24 +00:00
Markus Scherer
c84e233733
ICU-12420 deprecate COUNT/LIMIT constants whose value may change
...
X-SVN-Rev: 39164
2016-09-08 22:45:51 +00:00
Michael Ow
61607c2773
ICU-12564 Update copyright notice in trunk
...
X-SVN-Rev: 38848
2016-06-15 18:58:17 +00:00
Yoshito Umaoka
00ca13e126
ICU-12564 Reverted r38761 and r38762, because we want to prepend the Unicode copyright for existing source files, instead of replacing copyright comments.
...
X-SVN-Rev: 38776
2016-05-31 21:45:07 +00:00
Michael Ow
c9f199a30f
ICU-12564 Update copyright notice in ICU4C
...
X-SVN-Rev: 38761
2016-05-26 22:32:17 +00:00
Peter Edberg
87970fe888
ICU-11917 BRS, Update macros #ifndef U_HIDE_DRAFT/INTERNAL/DEPRECATED_API
...
X-SVN-Rev: 37976
2015-09-21 20:23:38 +00:00
Peter Edberg
0ef535414e
ICU-11433 ICU4C draft API promotion; update U_HIDE_xxx conditionals
...
X-SVN-Rev: 37197
2015-03-10 07:20:48 +00:00
Markus Scherer
a9d7c3e4bd
ICU-11449 reorder single scripts not groups, scripts/groups can start on top-16-bit boundaries, data formatVersion 5 for new scripts data and optional reorderRanges appended to reorderCodes
...
X-SVN-Rev: 36924
2015-01-07 03:37:11 +00:00
Peter Edberg
6115fe24bb
ICU-11055 Minor rewording that hopefully clarifies the usage of ucol_getFunctionalEquivalent
...
X-SVN-Rev: 36572
2014-09-23 22:11:37 +00:00
Peter Edberg
2beaf3dacf
ICU-10992 BRS line 20, Check/fix non-stable API macros (U_HIDE_DRAFT_API and others)
...
X-SVN-Rev: 36520
2014-09-16 08:09:06 +00:00
Markus Scherer
8c4f2b0036
ICU-7118 document that compare() is often more efficient than getSortKey()
...
X-SVN-Rev: 36414
2014-09-09 22:05:13 +00:00
Markus Scherer
bfb928d8dd
ICU-11010 improve ucol_mergeSortkeys() API doc
...
X-SVN-Rev: 36166
2014-08-14 20:35:54 +00:00
Markus Scherer
37c7676f5e
ICU-10912 create Collator from binary: support length<0 again, and document that the base collator is required (see ticket #10517 )
...
X-SVN-Rev: 36021
2014-07-10 22:17:20 +00:00
Markus Scherer
fad96371c9
ICU-10372 deprecate collation APIs for short definition strings
...
X-SVN-Rev: 35822
2014-06-06 22:48:14 +00:00
Markus Scherer
da533923a2
ICU-8260 support all collation-related keywords in Collator::createInstance()
...
X-SVN-Rev: 35762
2014-05-27 18:50:10 +00:00
Markus Scherer
9bf9705667
ICU-9101 fix hiraganaQuaternary API docs
...
X-SVN-Rev: 35329
2014-03-04 19:32:53 +00:00
Markus Scherer
3baf728df7
ICU-10033 Clarify what characters numeric collation works on
...
X-SVN-Rev: 35274
2014-02-28 22:50:10 +00:00
Markus Scherer
e977c057a9
ICU-9101 merge branches/markus/collv2@35225 into the trunk
...
X-SVN-Rev: 35227
2014-02-25 21:21:49 +00:00
Peter Edberg
3f51cb7d8d
ICU-10398 Update #ifndef U_HIDE_XXXXX_API (e.g. DRAFT) to match status tags (e.g. @draft)
...
X-SVN-Rev: 34448
2013-09-23 06:52:34 +00:00
Steven R. Loomis
37562f403e
ICU-10394 api promo 50->52 as per PMC
...
X-SVN-Rev: 34396
2013-09-19 00:44:08 +00:00
Markus Scherer
27e00900c8
ICU-9932 deprecate & disable cloning-into-user-buffer, except keep ucnv_safeClone() intact
...
X-SVN-Rev: 34359
2013-09-17 19:48:50 +00:00
Steven R. Loomis
454a0ec782
ICU-9741 trivial fix to header, u_strcoll -> ucol_strcoll
...
X-SVN-Rev: 34159
2013-08-30 23:46:37 +00:00
Peter Edberg
fbace77746
ICU-9721 Update "#ifndef U_HIDE_XXX_API" guards for API status
...
X-SVN-Rev: 33367
2013-03-05 01:38:48 +00:00
Markus Scherer
5ed21eb567
ICU-9713 fix ucol_mergeSortkeys(): return correct length, handle empty levels
...
X-SVN-Rev: 32779
2012-11-09 01:04:05 +00:00
Peter Edberg
9622e41050
ICU-9581 Sync U_INTERNAL/U_DRAFT/U_STABLE tags to @internal/@draft/@stable
...
X-SVN-Rev: 32648
2012-10-17 05:48:18 +00:00
Peter Edberg
b72359eca5
ICU-9623 ICU4C 50 API promotions, fix U_DRAFT -> U_STABLE as needed in .h, fix U_DRAFT -> U_CAPI in .c/cpp
...
X-SVN-Rev: 32547
2012-10-08 05:16:32 +00:00
Yoshito Umaoka
f82276faf1
ICU-9567 Merged ucol_strcollUTF8 to trunk.
...
X-SVN-Rev: 32534
2012-10-05 23:44:00 +00:00
Markus Scherer
57fd3d7ef9
ICU-9589 document that the so-called UCA rules are not normally useful and can be removed from the data
...
X-SVN-Rev: 32412
2012-09-20 05:37:31 +00:00
Markus Scherer
d36fce9bed
ICU-9534 ucol_nextSortKeyPart(): do not promise uncompressed sort keys
...
X-SVN-Rev: 32409
2012-09-19 23:55:58 +00:00
Markus Scherer
ce6b202757
ICU-8920 clarify Collator::getRules() docs
...
X-SVN-Rev: 32259
2012-08-28 00:06:05 +00:00