Frank Tang
7153a3db52
ICU-23006 Fix Chinese Calendar getActualMaximize
...
See #3348
2025-01-28 16:34:26 -08:00
Robin Leroy
6d8b63ce84
ICU-22984 Generate old Java monkeys
2025-01-27 23:57:27 +01:00
Frank Tang
4fc1b7e7f6
ICU-22991 Simplified Grego code
...
Use timeToFields instead of dayToFields
ICU-22991 Revert back gregoimp interface change
2025-01-24 17:13:51 -08:00
Younies Mahmoud
d70b252cdc
ICU-22781 Add support for converting units with constant denominators (C++)
...
See #3347
2025-01-25 01:45:49 +01:00
Younies Mahmoud
4df4eb419b
ICU-22781 Add support for constant denominators in unit conversion
...
Implement handling of constant denominators in unit conversion:
- Add divide method to Factor class in UnitsConverter
- Update ConversionRates to apply constant denominator during conversion
- Add comprehensive test cases for units with constant denominators
2025-01-25 00:54:37 +01:00
Taichi Haradaguchi
16e50b260f
ICU-22921 Fix broken link in userguide
...
* Fix link from gitdev to ci/exhaustive-tests.
* Fix link from ci to gitdev.
2025-01-24 15:11:34 -08:00
Younies Mahmoud
ba4d4d3ac2
ICU-22781 Adding support for constant denominators (C++)
...
See #3337
2025-01-24 02:06:43 +01:00
Younies Mahmoud
242bf9655f
ICU-22781 Add a test case for unit constant behaviour
2025-01-24 01:34:43 +01:00
Younies Mahmoud
036919214c
ICU-22781 Fix and Add unit tests for withConstantDenominator in MeasureUnit
...
See #3342
2025-01-24 01:30:21 +01:00
Frank Tang
2c667e31cf
ICU-22973 Fix buffer overflow by using CharString
2025-01-23 09:53:56 -08:00
Younies Mahmoud
373cbaf3b2
ICU-22781 Adding support for constant denominators
...
See #3336
2025-01-23 00:52:04 +01:00
Taichi Haradaguchi
384c54ce66
ICU-22966 Fix -Wshadow warnings in unicode/uset.h
...
Fix -Wshadow warnings displayed
when compiling ICU4C 76.1 or later.
Co-authored-by: Xisco Fauli <xiscofauli@libreoffice.org>
2025-01-21 16:53:06 +09:00
Elango Cheran
2c5e021f6d
ICU-22921 Add howto guide to try MF 2.0 final candidate draft impls
...
See #3334
2025-01-15 14:22:57 -08:00
George Rhoten
2d6a4185c3
ICU-22979 Support inverse rule for [] span in RBNF
2025-01-15 08:56:08 -08:00
Frank Tang
13a5e29644
ICU-22929 Improve fuzzer to find leak from udat_open
...
Try to find out what cause ICU-23008. Use ICU-22929 as bug number
to improve fuzzer to find the problem.
According to ICU-23008 bug report, the leak of DecimalFormatSymbols
can be reach by udat_open when the style is UDAT_PATTERN
2025-01-14 15:41:06 -08:00
Tim Chevalier
f8aa68b0c1
ICU-22940 MF2 ICU4C: Error checking improvements in parser
...
Improve checking for OOM errors when allocating UnicodeSets,
per post-merge comments on https://github.com/unicode-org/icu/pull/3236
2025-01-09 18:00:43 -08:00
Frank Tang
bd50f8be32
ICU-22991 Reduce unnecessary Grego calculation
...
See #3329
2025-01-08 17:04:00 -08:00
Mihai Nita
ba5cf31f77
ICU-22921 Add windows script doing jar extraction
2025-01-08 13:54:42 -08:00
Frank Tang
9eafd8ca3e
ICU-22991 Reduce Calendar object size
...
See #3327
2025-01-08 12:26:35 -08:00
Fredrik Roubert
6f93c07a45
ICU-22954 Revert to using std::u16string instead of UnicodeString.
...
It seems as if icu4c-windows-cygwin-gcc only crashes if the constructor
is defined inline, so with the exception of the constructor this commit
reverts the code to commit 320220ef69
.
2025-01-08 10:13:20 +09:00
Fredrik Roubert
a8d9f471ea
ICU-22713 Delete layout/DataDrivenTest.
2025-01-07 15:53:53 +09:00
Fredrik Roubert
b1acce62de
ICU-22713 Delete unused files.
...
It's unclear when (if ever) these files were used for anything, but they
aren't used now and aren't expected to be used in the future.
2025-01-07 15:53:53 +09:00
Fredrik Roubert
c49a9c2a33
ICU-22713 Delete long since dead code.
...
None of the code in this directory is ever compiled unless USING_ICULEHB
is set, so all such conditionally compiled code has been dead ever since
commit 4136a2f257
deleted the layout engine.
2025-01-07 15:53:53 +09:00
Fredrik Roubert
df0422ed3f
ICU-22954 Workaround: Replace std::u16string member with UnicodeString&.
2025-01-07 12:23:51 +09:00
Fredrik Roubert
b2a47f9aa4
ICU-22954 Delete copy & assign from IcuTestErrorCode.
...
There's no reason to ever make a copy of these objects, existing code
that does this is doing it by mistake.
2025-01-07 12:23:51 +09:00
Frank Tang
6091406a3a
ICU-22991 Reduce fStamp to 8 bits
...
See #3323
2025-01-06 18:38:17 -08:00
Frank Yung-Fong Tang
4c3622f218
ICU-23000 Replace CharString for LocaleBased
...
See #3321
2025-01-06 14:09:30 -08:00
Frank Tang
93ce388619
ICU-23002 Fix int64_t overflow in NFRule::parseRuleDescriptor
...
See #3324
2025-01-03 15:48:24 -08:00
Almaz Mingaleev
ed69e5336d
ICU-22992 madvise memory mapped files on Android.
2025-01-03 15:00:51 -08:00
Markus Scherer
d9d09db2a7
ICU-22921 remove redundant PR checklist item
2024-12-26 11:07:30 -08:00
Frank Tang
841e88bc8c
ICU-22991 Remove unused private fIsSet
...
This field is removed in Java 24 years ago. Save 24 bytes per Calendar
object.
2024-12-23 14:58:56 -08:00
Frank Tang
e515c84645
ICU-22991 Remove unnecessary overload in Calendar
2024-12-23 12:52:11 -08:00
Frank Tang
ff31805f56
ICU-22991 Change fIsTimeSet fAreFieldsSet fAreAllFieldsSet fAreFieldsVirtuallySet fIsSet fStamp to private
...
https://docs.google.com/document/d/1RqP3s7Y1YLahqopNcuadl3DT-DMIZ7ASXZbSy7M2mFE/edit?tab=t.0#heading=h.lok0fhe381qa
2024-12-23 12:51:13 -08:00
Markus Scherer
b0ae845e47
ICU-22954 USetHeaderOnlyTest use unique_ptr
2024-12-23 11:17:14 -08: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
Frank Tang
7546622f87
ICU-22991 Remove unnecessary computeGregorianAndDOWFields private
...
Move the DOW calculation into computeWeekFields
2024-12-20 16:33:53 -08:00
Frank Tang
4c9ef1a31b
ICU-22962 Fix int overflow in Calendar::handleComputeJulianDay
2024-12-20 16:12:58 -08:00
Robin Leroy
7d60bb844e
ICU-22986 GL takes CM
2024-12-20 03:54:59 +01:00
Markus Scherer
e3bc073737
ICU-22954 header-only-test USet C++ iterators
2024-12-19 17:40:33 -08:00
Markus Scherer
320220ef69
ICU-22954 intltest.h & IcuTestErrorCode usable without U_SHOW_CPLUSPLUS_API
2024-12-19 17:40:33 -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
Markus Scherer
d03826cdee
ICU-22954 USet C++ iterator return std::u16string
2024-12-19 17:40:33 -08:00
Mihai Nita
ba012a74a1
ICU-22920 Fix raw type warnings in icu4j tests: charset, common_tests, translit
2024-12-17 16:14:38 -08:00
Frank Tang
a7291c4e51
ICU-22962 Fix int32 overflow in Chinese Calendar
2024-12-16 18:02:05 -08:00
Frank Tang
81d047524c
ICU-22991 Remove protected direct access to fStamp
2024-12-16 13:17:40 -08:00
Mihai Nita
4ff5d6a070
ICU-22920 Fix raw type warnings in icu4j core tests
2024-12-15 01:18:47 -08:00
Mihai Nita
02951053b4
ICU-22921 Document a way to remove unused includes from command line
2024-12-12 12:22:31 -08:00
Henri Sivonen
494e8cdc93
ICU-22968 Rearrange bits in trie values in normalization data export for ICU4X
2024-12-12 08:47:07 -08:00