Commit graph

32760 commits

Author SHA1 Message Date
Markus Scherer
ba1ecef7de ICU-22707 Unicode 16 security data first cut 2024-04-29 17:00:55 -07:00
Markus Scherer
423b4c7c31 ICU-22707 Unicode 16 script metadata 2024-04-29 17:00:55 -07:00
Markus Scherer
1053be18e5 ICU-22707 Java norm2impl support MaybeNo 2024-04-29 17:00:55 -07:00
Markus Scherer
b1a50f2a38 ICU-22707 Java props data files 2024-04-29 17:00:55 -07:00
Markus Scherer
e57aeba98c ICU-22707 test normalization quick check properties against ppucd 2024-04-29 17:00:55 -07:00
Markus Scherer
94ef2757a3 ICU-22707 gennorm2 & C++ norm2impl support MaybeNo
- .nrm formatVersion 5
- updated data format doc & design doc
2024-04-29 17:00:55 -07:00
Markus Scherer
d0e43d6943 ICU-22707 fix normalization bug: chars that combine back & fwd 2024-04-29 17:00:55 -07:00
Markus Scherer
4d9612bfa2 ICU-22707 Age 6:2, run generate.sh 2024-04-29 17:00:55 -07:00
Markus Scherer
d79c7bf5a0 ICU-22707 expectedLong script names 2024-04-29 17:00:55 -07:00
Markus Scherer
560e4bbf41 ICU-22707 preparseucd.py 2024-04-29 17:00:55 -07:00
Markus Scherer
ed8fe2c336 ICU-22707 ICU Unicode 16 version numbers 2024-04-29 17:00:55 -07:00
Markus Scherer
ce846a2367 ICU-22707 update change log for 16 2024-04-29 17:00:55 -07:00
Markus Scherer
2688bca066 ICU-22707 change log for Unicode 16 minus hardcoded props 2024-04-29 17:00:55 -07:00
Frank Tang
a57c68364e ICU-22079 Rename 2024-04-29 14:51:13 -07:00
Frank Tang
a3d3e8abc5 ICU-22079 Add ubidi_fuzzer
Port the code from https://unicode-org.atlassian.net/browse/ICU-22079
to add fuzzer for ubidi
2024-04-29 14:51:13 -07:00
Fredrik Roubert
755b0981ec ICU-22721 Reorder initializer to match declaration (-Wreorder-ctor). 2024-04-29 11:44:35 -07:00
Fredrik Roubert
d7c1f6b55d ICU-22721 Add missing const (-Wwritable-strings). 2024-04-29 11:44:35 -07:00
Fredrik Roubert
d7a1815c3d ICU-22721 Remove superfluous semicolons (-Wextra-semi). 2024-04-29 11:44:35 -07:00
Fredrik Roubert
8b84ae1dda ICU-22721 Comment out variables only used in commented out code. 2024-04-29 11:43:21 -07:00
Fredrik Roubert
ec57da8651 ICU-22721 Delete unused variables. 2024-04-29 11:43:21 -07:00
Fredrik Roubert
a7e23a531c ICU-22721 Clang-Tidy: modernize-use-override
https://releases.llvm.org/17.0.1/tools/clang/tools/extra/docs/clang-tidy/checks/modernize/use-override.html
2024-04-29 19:28:40 +02:00
Frank Tang
3aa8b8c5ee ICU-22742 Fix handling of XA,XB,XC for addLikelySubtags
Add more tests.

ICU-22742 Add PS... variants

ICU-22742 Add java tests

ICU-22742 extend tests

ICU-22742 wrap java
2024-04-24 15:24:35 -07:00
Frank Tang
a91cbd6578 ICU-22750 Fix Floating-point-exception in icu::Calendar::roll
See #2979
2024-04-23 09:46:29 -07:00
Elango Cheran
0312308566 ICU-22721 Prevent inconsistent ICU4J Maven deploys via CI 2024-04-22 15:28:56 -07:00
Fredrik Roubert
4c9770f73d ICU-22721 Remove now obsolete disabled warnings for LocalPointerBase.
The missing operators that used to be warned about were all deleted by
commit 75eab42060.
2024-04-22 21:58:17 +02:00
Mihai Nita
0e4c2d8bc6 ICU-22724 ICU BRS 76: front-load update version to 76.0.1 2024-04-18 16:57:47 -07:00
Frank Tang
0c02f8c007 ICU-22743 Change internal functions to propagate errors up. 2024-04-18 15:32:59 -07:00
Shane F. Carr
5e35ffc87e
ICU-22745 Merge ICU 75 maintenance branch to main (#2972) 2024-04-18 15:04:33 -07:00
Craig Cornelius
3f960044b8 ICU-22722 Revised ICU4J API doc process to modern tools
See #2969
2024-04-17 13:20:26 -07:00
Elango Cheran
617b094df3 ICU-22723 Update PR template help text for next version's ticket numbers
See #2962
2024-04-15 22:22:46 -04:00
DraganBesevic
7750081bda ICU-22535 Integrate CLDR 45 release beta5 2024-04-15 17:55:43 -07:00
Markus Scherer
0379e638a9 ICU-22520 doc: uloc_getName() & others may fail
for example with a U_ILLEGAL_ARGUMENT_ERROR since PR #2813
in some cases where the implementation may have
returned with a misleading U_BUFFER_OVERFLOW_ERROR
2024-04-15 15:59:57 -07:00
Fredrik Roubert
d8ee6843b9 ICU-22726 Add new CLDR 45 currency code XCG also to gCurrencyList. 2024-04-15 15:56:45 -07:00
Rahul Pandey
530e9a509f ICU-22535 BRS_75_GA: Update cldr-to-icu version to 75.1 2024-04-15 12:28:25 -07:00
Mihai Nita
aebd5ba54b ICU-22533 Change API version annotation from 75.0 to 75 2024-04-15 11:17:15 -07:00
DraganBesevic
9518b26a91 ICU-22535 Integrate CLDR 45 release beta4, part 5, restore copyright headers in catalog.txt 2024-04-12 16:21:12 -07:00
DraganBesevic
dcae3872f0 ICU-22535 Integrate CLDR 45 release beta4, part 4, build updates 2024-04-12 16:21:12 -07:00
DraganBesevic
c27199ec9c ICU-22535 Integrate CLDR 45 release beta4, part 3, data updates 2024-04-12 16:21:12 -07:00
DraganBesevic
66c8c65857 ICU-22535 Integrate CLDR 45 release beta4, part 2, personName test data updates 2024-04-12 16:21:12 -07:00
DraganBesevic
97a046d116 ICU-22535 Integrate CLDR 45 release beta4, part 1, binary files 2024-04-12 16:21:12 -07:00
Rahul Pandey
2f7a3ea491 ICU-22535 BRS_75_GA: Update ICU version to 75.1 (no more -SNAPSHOT) 2024-04-12 09:36:09 -07:00
Elango Cheran
a1bce0c096 ICU-22261 Refactor error handling for internal MF2 array-allocating functions 2024-04-12 09:22:15 -07:00
Fredrik Roubert
75eab42060 ICU-22261 Improved identification of the MSVC compiler and library.
It's not uncommon for code for Windows to use the _MSC_VER preprocessor
macro to identify that it's being compiled for Windows so it's also not
uncommon for compilers other than the real MSVC compiler to also set
this to be able to compile such code.

It's also not possible to use _MSC_VER to determine whether the C++
standard library implementation used is the Microsoft STL.

Clang will however refuse to instantiate a template with a forward
declared type, so the code that currently does this needs to be moved to
after the type has been properly defined, which in turn makes MSVC warn
that those templates aren't instantiated, so those warnings need to be
disabled, but then the disabling of warning C4661 doesn't work any
longer (for some unknown reason) but this can be resolved by properly
deleting the non-existent operators instead of disabling the warning.
2024-04-11 15:35:23 -07:00
Elango Cheran
dbb3fe957a ICU-22722 Fix missing starter character for MF2 keyword in User Guide 2024-04-11 12:49:15 -07:00
Frank Tang
6d4cea57ed ICU-22727 fix addLikelySubtags for 5-8 chars lang codes
Fix C++ code, add tests for C, C++ and Java API
2024-04-11 12:31:36 -07:00
Frank Tang
29b1141f79 ICU-22730 Fix Japanese extended year int32 overflow 2024-04-10 22:17:01 -07:00
Tim Chevalier
9e1c66daf7 ICU-22261 Refactor MF2 attributes and options parsing code
Previously, there were separate overrides for the options and
attributes parsing methods in the parser that were used in different
context. (Options can appear in Operator and Markup, while attributes
can appear in Expression and Markup.)

This is a refactoring that eliminates this duplicated code.
To enable it, a builder is added for the internal OptionMap type.

Separately, this patch also explicitly deletes copy constructors
and copy assignment operators for all Builder classes; a bug in an
earlier version of this patch caused me to notice this hadn't been
done. Also explicitly deletes move constructors/assignment operators
with the exception of OptionMap::Builder (OptionMap is non-public,
so that shouldn't cause confusion).
2024-04-09 08:15:54 -07:00
Fredrik Roubert
bae39adf67 ICU-22532 Resolve new / free() mismatch. 2024-04-08 22:04:00 +02:00
Tim Chevalier
4f0c2ca71c ICU-22261 Remove MF2 formatter caching optimization
The implementation was keeping a cache of FormatterFactory
    objects so that subsequent calls to the same formatter re-use the
    same object.
    The problem is that this is unsafe, because
    `MFFunctionRegistry::getFormatter()` returns a non-const `FormatterFactory*`;
    so if the caller deleted the resulting pointer, the formatter cache
    would contain a dangling pointer.
    
    This optimization was added because of an ICU4J test that checked for
    the presence of the optimization. However, for separate reasons
    (making `adoptFormatter()` actually adopt its argument), this test
    was already removed.
    
    The caching could be re-added later if that optimization is needed,
    but for now, remove it (also, no tests were checking for its presence).
2024-04-05 13:14:34 -07:00
Elango Cheran
943b0ca31b ICU-22722 Fix Readme CI badge link 2024-04-05 08:31:47 -07:00