Markus Scherer
2864379937
ICU-21833 replace U_NOEXCEPT with C++11 standard noexcept
2023-03-01 15:24:34 -08:00
Rich Gillam
c37ca411fc
ICU-13353 Fixed several problems preventing horizontal resource inheritance from working as intended, and added a
...
Java version of a unit test I'd previously only added on the C++ side.
2021-09-10 12:47:15 -07:00
Rich Gillam
19b8b076f9
ICU-20992 Added new API for iterating child resources while following aliases, and changed DateTimePatternGenerator
...
to use it.
2021-09-03 12:47:24 -07:00
Markus Scherer
a300d8dd02
ICU-20769 refactor UResourceBundle.fResData & init_resb_result()
...
- replace UResourceBundle.fResData with access via fData
- change ResourceDataValue.resData into a pointer
- move C tests to C++ that stack-allocate now-C++ UResourceBundle
- init_resb_result():
- remove redundant ResourceData parameter
- simplify memory management, and various small simplifications
- /LOCALE/path reuse valid locale, no ures_open()
- pull alias-fetching code into separate function getAliasTargetAsResourceBundle()
- `const char *` for keyPath pieces
- s/noAlias/recursionDepth/
- getAllItemsWithFallback() set correct parentBundle.fValidLocaleDataEntry
2021-08-31 02:26:33 +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
Hugo van der Merwe
54b896962b
ICU-21123 Calculate built-in units' gender when CLDR lacks the data
...
See #1620
2021-03-10 20:09:51 +01:00
Markus Scherer
a18df7ba28
ICU-21267 stop using FALSE & TRUE macros in most library-internal headers
2020-09-10 13:55:46 -07:00
Markus Scherer
41c24b6c00
ICU-9695 port LocaleMatcher to C++
2019-08-19 10:41:35 -07:00
Romain Geissler
f128f75cb8
ICU-20265 Use noexcept instead of throw() in C++ >= 11.
...
- Adds note directing users of U_NO_THROW to U_NOEXCEPT.
2019-02-22 13:29:20 -06:00
Jeff Genovy
4509ab7d96
ICU-20419 Export internal StackUResourceBundle helper, so it can be used in the i18n library.
...
Replace all current usages of ures_initStackObject() in the i18n library with the StackUResourceBundle helper.
2019-02-20 09:24:24 -08:00
Jeff Genovy
8858da9b7f
ICU-20414 Add internal ures_openDirectFillIn API, use in getTZDataVersion to avoid memory allocation for UResourceBundle.
2019-02-19 16:58:38 -08:00
Fredrik Roubert
2d3901ae5d
ICU-20271 Use C++11 operator new = delete to disallow heap allocation.
2018-11-19 13:59:36 +01:00
Fredrik Roubert
710212c495
ICU-20249 An internal helper class for stack allocated UResourceBundle.
2018-11-07 17:57:50 +01: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
Felipe Balbontín
eae3a7e3e6
ICU-12634 Remove ResourceTableSink and ures_getAllTableItems().
...
X-SVN-Rev: 39155
2016-09-07 19:22:41 +00:00
Felipe Balbontín
b17650f34a
ICU-12634 Remove ResourceArraySink and ResourceTableSink.enter(), leave() and getOrCreateArraySink().
...
X-SVN-Rev: 38983
2016-07-19 18:37:37 +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
Markus Scherer
192500a361
ICU-12510 resource data enumeration: get array/table objects from ResourceValue, iterate with nested code & functions not by returning nested sinks; use this in DateTimePatternGenerator AllowedHourFormatsSink
...
X-SVN-Rev: 38655
2016-04-27 16:19:26 +00:00
Markus Scherer
d5877ebe4e
ICU-11986 use prefix Resource for C++ classes, prefix UResource for C types
...
X-SVN-Rev: 38087
2015-11-18 00:18:28 +00:00
Markus Scherer
147ca53163
ICU-11986 enumerate most of the measurement unit formatting data, rather than lookup-with-fallback for each piece; adds necessary fallback on leaf level
...
X-SVN-Rev: 38082
2015-11-12 22:09:04 +00:00
Markus Scherer
326e9592dc
ICU-10823 add ures_openNoDefault() and use it from collation data loader and BreakIterator; refactor ures_openXyz() for code sharing
...
X-SVN-Rev: 36806
2014-12-04 21:11:26 +00:00
John Emmons
921f531cb7
ICU-8821 Handle empty set markers in ures_getStringByKeyWithFallback()
...
X-SVN-Rev: 30679
2011-09-16 20:22:44 +00:00
Markus Scherer
02836844e6
ICU-8428 remove @draft etc. API tags from non-API headers (impl, tests, samples)
...
X-SVN-Rev: 30117
2011-05-16 20:46:27 +00:00
Markus Scherer
50bd1345ef
ICU-8428 do not use @deprecated in internal headers
...
X-SVN-Rev: 30114
2011-05-14 00:06:45 +00:00
Steven R. Loomis
a1ea70071b
ICU-7708 compiler warnings for 4.5.1 (batch 1)
...
X-SVN-Rev: 28103
2010-05-25 22:17:12 +00:00
Steven R. Loomis
07ea404d7f
ICU-3904 fix leaks. report leaks if all of ICU is compiled with URES_DEBUG
...
X-SVN-Rev: 27822
2010-03-11 20:05:42 +00:00
Markus Scherer
c9087beb0d
ICU-6945 merge into trunk: changes for .res formatVersion 2 ( #6945 ) and new ICU4J data .jar building from ICU4C ( #7043 ), from -r 26329:26368 icu/branches/markus/smallres2
...
X-SVN-Rev: 26375
2009-07-17 22:57:26 +00:00
Steven R. Loomis
2e10735e9c
ICU-6571 merge r25317 and r25318 - C side
...
X-SVN-Rev: 25327
2009-01-29 00:17:44 +00:00
George Rhoten
6520f1df57
ICU-6186 Reduce UResourceBundle struct padding
...
X-SVN-Rev: 23462
2008-02-19 17:27:59 +00:00
George Rhoten
24e86c8cab
ICU-6076 Make it easier to test small allocation failures.
...
X-SVN-Rev: 23459
2008-02-19 07:09:38 +00:00
George Rhoten
a938a88c39
ICU-6076 Fix initialization problems with resource bundles.
...
X-SVN-Rev: 23458
2008-02-19 05:59:10 +00:00
George Rhoten
4ab435ccc8
ICU-5965 Comment out unused special purpose code due to previous changes under this ticket.
...
X-SVN-Rev: 23372
2008-02-07 22:24:27 +00:00
George Rhoten
f29097dc68
ICU-5410 Comment out debugging code.
...
X-SVN-Rev: 20659
2006-11-15 00:38:04 +00:00
George Rhoten
4c544c3b2a
ICU-5161 Fix the compilation issue introduced with Compare It.
...
X-SVN-Rev: 19587
2006-04-25 19:41:17 +00:00
George Rhoten
f5e940afb4
ICU-5161 Fix valgrind and Purify warnings about uninitialized memory copies.
...
Make it more efficient to copy and initialize a UResourceBundle.
Don't use U_INTERNAL_PROGRAM_ERROR when U_ILLEGAL_ARGUMENT_ERROR was meant.
X-SVN-Rev: 19586
2006-04-25 19:32:35 +00:00
Vladimir Weinstein
b28410ab1b
ICU-4835 move *getByKeyWithFallback to internal header
...
X-SVN-Rev: 18664
2005-10-11 23:59:46 +00:00
Ram Viswanadha
1ca738302f
ICU-4741 implement multi-level fallback
...
X-SVN-Rev: 18487
2005-09-01 22:27:16 +00:00
Ram Viswanadha
73ac81ed00
ICU-4741 add clone and compare functions
...
X-SVN-Rev: 18473
2005-08-26 21:50:51 +00:00
Eric Mader
5dc3d7c9d4
ICU-4561 Update copyright notices for ICU 3.4
...
X-SVN-Rev: 17822
2005-06-07 23:38:09 +00:00
Vladimir Weinstein
ac51e19921
ICU-4122 change xpath convention from '//' to '/LOCALE/' and make it actually follow fallback
...
X-SVN-Rev: 17447
2005-04-01 07:57:40 +00:00
Steven R. Loomis
c3cf6d724e
ICU-3591 ures_openAvailableLocales
...
X-SVN-Rev: 16653
2004-10-28 15:08:47 +00:00
George Rhoten
18ffb7c81f
ICU-3963 Make sure that better symbol names are exported for urename.h
...
X-SVN-Rev: 16333
2004-09-16 04:00:12 +00:00
George Rhoten
ca8716d1e9
ICU-4084 Sync the C and C++ API, and move internal function to internal headers.
...
X-SVN-Rev: 16221
2004-08-31 17:49:04 +00:00
George Rhoten
af9958522e
ICU-3905 Fix some compiler warnings
...
X-SVN-Rev: 16147
2004-08-12 17:19:31 +00:00
Eric Mader
14fbb48bf9
ICU-3770 Updated copyright notices for ICU 3.0
...
X-SVN-Rev: 15385
2004-05-18 22:01:41 +00:00
Steven R. Loomis
d442797ad9
ICU-2487 update documentation on internal function ures_findResource(), as this function does not currently have a syntax to handle resource bundle trees.
...
X-SVN-Rev: 14981
2004-04-15 07:55:48 +00:00
Alan Liu
2e12dd0fa5
ICU-3668 make getters const
...
X-SVN-Rev: 14806
2004-03-30 23:17:44 +00:00
Vladimir Weinstein
a5cb6af9dd
ICU-2080 ditched requested locale for resource bundles + a bug fix in fallback keyword (j 2438)
...
X-SVN-Rev: 13665
2003-11-11 21:36:24 +00:00