Commit graph

9106 commits

Author SHA1 Message Date
Frank Tang
0b77215040 ICU-22698 Clean up CalendarAstronomer 2024-03-20 13:36:17 -07:00
Markus Scherer
cce162bf4d ICU-11396 new properties Identifier_Status & Identifier_Type
See #2879
2024-03-20 13:20:14 -07:00
Frank Tang
7a3dfe877d ICU-22679 Remove getType and string comparsion
Change the logic of handling year in era 0 counting backwards
to depend on a boolean virtual function instead of adding
string comparsion code in the base class to have specific knowledge of
behavior of subclass.
2024-03-19 17:44:37 -07:00
DraganBesevic
4f2cefb7ca ICU-22534 Integrate CLDR 45 release beta1 2024-03-18 20:49:00 -07:00
Rich Gillam
281d8ef140 ICU-22152 Uncommented a bunch of commented-out test cases in ULocaleCollationTest.TestNameList() and made them pass again. 2024-03-18 17:01:14 -07:00
Younies Mahmoud
80b33416e8 ICU-22686 Fix Unit preferences calculation in Java
See #2899
2024-03-18 13:23:37 +01:00
Frank Tang
f709987818 ICU-22679 Refactor Islamic Calendar and Optmize starting condition of loop.
Refactor different rules into implementation of private interface Algorithm.
Since IslamicCalendar is public in Java (not in C++), we cannot put them into different subclass of Calendar and have to let them use the same class and object since the caller UNFORTUNALLY can call setCalculationType and setCivil to change the object to different rule. With this refactoring, we group the formula for the same rule into the same Algorithm
implementaiton and now we only do the if/switch check in the constructor or during the call of setCalculationType and setCivil only. The calculation operation is then just delegate the work to the assigned concrete Algorithm.

Improve the efficency while the month is very large. Apply the same optimization in PR 2853 which estimate starting point of year iteration based on an inverse calculation.

ICU-22679 change parameter name

ICU-22679 Use Consumer
2024-03-15 15:01:51 -07:00
Frank Tang
de9910659d ICU-22661 Limit the size of variants in Locale
See #2821
2024-03-14 16:23:51 -07:00
Rich Gillam
c771fc444f ICU-22523 Cut down the large tables in the APIs docs for SimpleDateFormat and included a link to the full table
in the LDML spec.
2024-03-14 14:32:29 -07:00
Rich Gillam
2b6ddc50fe ICU-22202 Fixed DateIntervalFormat to solve a couple "conflicting fields" errors. 2024-03-14 14:31:48 -07:00
DraganBesevic
fc18bcb05f ICU-22534 Integrate CLDR 45 release alpha 3, part 2, data files 2024-03-14 08:30:09 -07:00
DraganBesevic
0906aae169 ICU-22534 Integrate CLDR 45 release alpha 3, part 1, binary files 2024-03-14 08:30:09 -07:00
Frank Tang
9a912bb51b ICU-22633 Add more Calendar overflow tests
Test set+set, set+add, set+roll, add+add, roll+roll
Fix more int32_t overflow problems.

Optimize both Java and C++ Hebrew Calendar month/year advancement by first consider
every 235 months is 19 years before iteration.
2024-03-13 15:48:25 -07:00
Peter Edberg
ceee4f0b46 ICU-22655 Implement "special" conversion for speed-beaufort, part 2 icu4c 2024-03-09 19:52:42 -08:00
Craig
7bc202ae87 ICU-22534 BRS#27 scrub closed issues (frontload) 2024-03-05 11:15:28 -08:00
Shane F. Carr
71b9b88200 ICU-22319 Fix number range semanticallyEquivalent
See #2385
2024-03-04 08:23:00 -08:00
Craig
96fb7ae73a ICU-22534 ICU4J 75 frontload API change report 2024-02-29 08:49:43 -08:00
Peter Edberg
7d636aecf7 ICU-22655 Implement "special" conversion for speed-beaufort, part 1 icu4j 2024-02-28 12:57:33 -08:00
Craig
09ccfb9956 ICU-22534 ICU4J 75 frontload: API status update 2024-02-28 11:38:41 -08:00
DraganBesevic
a1925abf4f ICU-22534 CLDR 45 alpha2 integration to ICU 2024-02-28 08:28:08 -08:00
Markus Scherer
d1fa15bc1f ICU-22571 add Aran script code variant 2024-02-27 14:23:59 -08:00
Mihai Nita
201af462fc ICU-22675 Migrate from deprecated boxed primitive constructors to their replacements 2024-02-26 16:39:05 -08:00
Steven R. Loomis
ea1c6da07f ICU-22677 update LICENSE and README.md and pom.xml
- https://github.com/unicode-org/.github/issues/15
- use Unicode-3.0 in pom instead of raw license link
- https://github.com/unicode-org/.github/issues/15
2024-02-26 14:34:59 -06:00
Diego Gutierrez Yepiz
f3e50a7624 ICU-22582 Avoid synchronizing in RuleBasedBreakIterator and ULocale unless strictly necessary
See #2775
2024-02-21 09:38:41 -08:00
Peter Edberg
2c16b037cf ICU-22557 Add kxv_IN to build-icu-data.xml, update generate stubs 2024-02-09 09:40:52 -08:00
yumaoka
cd251ee62e ICU-22659 tzdata2024a updates in ICU repo 2024-02-08 15:00:39 -05:00
Peter Edberg
43ab3d1de8 ICU-22583 BRS 75rc CLDR 45-alpha0 to ICU main part 4 (fix to get new unitPrefixes data) 2024-02-06 18:07:44 -08:00
Peter Edberg
12cbf73e39 ICU-22583 BRS 75rc CLDR 45-alpha0 to ICU main part 3 (source and test code changes) 2024-02-06 18:07:44 -08:00
Peter Edberg
c7245a36df ICU-22583 BRS 75rc CLDR 45-alpha0 to ICU main part 2 (data generated or copied from CLDR) 2024-02-06 18:07:44 -08:00
Peter Edberg
b79ef68c32 ICU-22583 BRS 75rc CLDR 45-alpha0 to ICU main part 1 (binary data, binary-like source data) 2024-02-06 18:07:44 -08:00
Frank Tang
7c48842e23 ICU-22637 Accept non-ASCII digit to fix mistake 2024-01-22 14:00:12 -08:00
Frank Tang
9832f48e22 ICU-22636 Return U_BRK_RULE_SYNTAX when status number is too large
See #2793
2024-01-19 17:16:54 -08:00
Frank Tang
c8336085bb ICU-22637 Rewrite custom timezone parser
See #2792
2024-01-19 01:44:52 -08:00
Frank Tang
3eb8923b97 ICU-22638 Use parseNumber to fix buffer-overflow
See #2795
2024-01-19 01:43:35 -08:00
yumaoka
dc7014fda6 ICU-22620 tz2023d updates 2024-01-11 11:41:23 -05:00
Shane F. Carr
1a60a038e1 ICU-21952 Add withoutLocale functions to LocalizedNumber[Range]Formatter
See #2483
2023-12-28 22:04:02 -08:00
Mihai Nita
e76094c55a ICU-22605 Exclude the data files from the -sources.jar 2023-12-15 09:08:22 -08:00
Frank Tang
19af9e7ce3 ICU-22602 Fix stack overflow inside flattenVariables
Limit the recursive call of flattenVariables to maximum depth 3500
since Java on my machine throw stack overflow exception around 3900.
2023-12-14 15:14:21 -08:00
Frank Tang
4a7d61d261 ICU-22579 Fix Null deref while Unicode Set only has string 2023-12-12 14:39:12 -08:00
Frank Tang
8b14c05791 ICU-22585 Fix infinity loop while unicode set contains single surrogate 2023-12-11 15:33:12 -08:00
Frank Tang
4da7ffaa36 ICU-22580 Address infinity loop in RBBI
ICU-22580 Fix tests
2023-12-11 11:34:47 -08:00
Rahul Pandey
665d9dbbe9 ICU-22534 BRS 75 front-load update version to 75.0.1
See #2726
2023-12-08 14:32:40 -08:00
yumaoka
da83309900 ICU-22595 GitHub release file generation script to include javadoc for each artifact in addition to full javadoc 2023-12-07 10:37:15 -08:00
Rich Gillam
bcae6f2a43 ICU-22575 Change AvailableFormatsSink to allow locales to inherit availableFormats items from the root locale. 2023-12-04 12:47:50 -08:00
Frank Tang
276d3dc865 ICU-22493 Implement First Day Override in Calendar 2023-11-29 11:55:51 -08:00
Frank Tang
757d2cd90a ICU-22555 Fix infinity loop in RuleBasedCollator constructor
Fix C++ and Java code.
Add unit tests for both C++ and Java.
2023-11-29 11:31:27 -08:00
Frank Tang
8d3d214ad7 ICU-22531 Remove X from XLikelySubtags* 2023-11-17 14:49:39 -08:00
Frank Tang
fa6a4661ba ICU-22545 Fix addLikelySubtags for pseudo Locales 2023-10-31 15:00:34 -07:00
Frank Tang
1bb711ad20 ICU-22540 Add new CLDR units ronto, ronna, quecto, and quetta 2023-10-31 14:58:52 -07:00
yumaoka
a7c7d8f214 ICU-22561 Added maven-gpg-plugin in pom.xml to sign artifacts for maven central release. 2023-10-30 19:51:44 -07:00