Commit graph

32858 commits

Author SHA1 Message Date
Carlos Alberto Lopez Perez
8ca6bc7545 ICU-22813 Rise the size of the buffers used for the command strings at pkgdata
The tool pkgdata uses snprintf() to build the strings of the commands that
will execute later during the install process. But the maximum size of this
buffers is not enough when there is a long path.

This has caused issues on some CI systems that use very long paths, causing
the install process to produce a wrong result.

The maximum path on Linux is 4096 (defined as PATH_MAX at <linux/limits.h>)
So the size of SMALL_BUFFER_MAX_SIZE should be 4096 to avoid errors related
to truncated paths.
2024-07-19 18:02:53 +00:00
Robin Leroy
4acb4724cf ICU-22707 Copy new monkey rules to ICU4J 2024-07-18 23:56:34 +00:00
Robin Leroy
d1490896ed ICU-22707 Fix an ancient bug in moveIndex32 2024-07-18 23:56:34 +00:00
Robin Leroy
b3ec8d1abd ICU-22707 Port the old monkey rule changes to ICU4J 2024-07-18 23:56:34 +00:00
Robin Leroy
7a52b0602a ICU-22707 Port the line monkey partition to ICU4J 2024-07-18 23:56:34 +00:00
Robin Leroy
80c3389bcd ICU-22707 Copy data-driven test file to ICU4J 2024-07-18 23:56:34 +00:00
Markus Scherer
558b3c02a6 ICU-22707 generate ICU4J .brk files 2024-07-18 23:56:34 +00:00
Robin Leroy
a53a8bdc73 ICU-22707 UTC-179-C28 Improved expectation 2024-07-18 23:56:34 +00:00
Robin Leroy
7d14e8db45 ICU-22707 Patch tailored new monkeys, manually for the last hunk on line_(loose|normal)_cj 2024-07-18 23:56:34 +00:00
Robin Leroy
3a004d400f ICU-22707 Patch tailored rules (manually for hunks 1 and 6 on loose(_phrase)?_cj) 2024-07-18 23:56:34 +00:00
Robin Leroy
782d5cc339 ICU-22707 UTC-179-A102 Consider using a macro throughout the rules for [\p{ea=F}\p{ea=W}\p{ea=H}]. 2024-07-18 23:56:34 +00:00
Robin Leroy
20fdebcb35 ICU-22707 UTC-180? Give up on 16.0β rules, amend LB10 and LB21a instead. 2024-07-18 23:56:34 +00:00
Robin Leroy
cc64ec7c94 ICU-22707 feed more bits to the starving monkeys: ranlux48 rather than a 32-bit LCG 2024-07-18 23:56:34 +00:00
Robin Leroy
47a8ea4065 ICU-22707 smarter old monkeys: refine the partition on interesting sets 2024-07-18 23:56:34 +00:00
Robin Leroy
600011eb7d ICU-22707 LB19 rules that seem to actually work with ea=W BA and CM. Update default new monkeys. 2024-07-18 23:56:34 +00:00
Robin Leroy
6d3b988fd0 ICU-22707 UTC-179-C30 [\p{lb=IS} & [\p{ea=F}\p{ea=W}\p{ea=H}]] has been emptied 2024-07-18 23:56:34 +00:00
Robin Leroy
5d7df44d2f ICU-22707 UTC-179-C28 examples from https://github.com/unicode-org/properties/issues/197 = L2/24-064 §5.5 (also in LineBreakTest.txt but less legible). 2024-07-18 23:56:34 +00:00
Robin Leroy
79f4745494 ICU-22707 UTC-179-C25 Limit LB21a to the Hebrew-hyphen-non-Hebrew case 2024-07-18 23:56:34 +00:00
Robin Leroy
83f3334b96 ICU-22707 UTC-179-C32 Upstream and improve the old Finnish tailoring LB20a from CLDR-3029 and ICU-8151 2024-07-18 23:56:34 +00:00
Robin Leroy
36fe0f0660 ICU-22707 UTC-179-C28 Simplify the UAX14 formulation 2024-07-18 23:56:34 +00:00
Robin Leroy
84ff5dacf8 ICU-22707 UTC-179-C28 LB19 change for simplified chinese 2024-07-18 23:56:34 +00:00
Robin Leroy
1513b66c32 ICU-22707 UTC-179-C35 Remove redundant rule, caught after UTC-179. Called out in review note in https://www.unicode.org/reports/tr14/tr14-52.html#LB25. 2024-07-18 23:56:34 +00:00
Robin Leroy
d3b361f23a ICU-22707 UTC-179-C35 LB25 alignment with the UAX14 formulation from 15.1 and earlier. 2024-07-18 23:56:34 +00:00
Robin Leroy
509f552e38 ICU-22707 UTC-179-C35 No regexes for old monkeys: Express LB25 using UAX14-style rules rather than a regex 2024-07-18 23:56:34 +00:00
Robin Leroy
9391cbb0b3 ICU-22707 Print random 🙈🙉🙊🐵🐒 rather than ... so that progress is visible when the screen is full and report monkey counts 2024-07-18 23:56:34 +00:00
Markus Scherer
f9d2d561a1 ICU-22707 disable UTS46 test for now 2024-07-18 23:56:34 +00:00
Markus Scherer
4312a4e5cb ICU-22707 Unicode 16 beta jun04 2024-07-18 23:56:34 +00:00
Markus Scherer
876816b0a1 ICU-22707 new short aliases ID_Status, ID_Type 2024-07-18 23:56:34 +00:00
Elango Cheran
ee93218eab ICU-22721 Simplify wait-for-checks match logic 2024-07-11 05:19:59 -07:00
Fredrik Roubert
0178a07a26 ICU-22793 Clang-Tidy: google-readability-casting
https://releases.llvm.org/17.0.1/tools/clang/tools/extra/docs/clang-tidy/checks/google/readability-casting.html
2024-07-04 22:32:12 +02:00
Elango Cheran
f668bc5218 ICU-22721 Add workflow that enforces required checks 2024-06-30 21:21:16 -07:00
Elango Cheran
2e00f38660 ICU-22721 Prevent redundant concurrent CI runs on the same PR branch 2024-06-30 14:13:33 -07:00
Frank Tang
cf7ff1b0a5 ICU-22716 Set smaller timeout limit for uregex_match_fuzzer
3000 is still too large and cause https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=69869
set to 300 per andy's earlier suggestion
2024-06-24 14:06:08 -07:00
Frank Tang
86add69c92 ICU-22716 Set timeout limit for uregex_match_fuzzer
To avoid unnecessary timeout.
2024-06-21 11:49:55 -07:00
Frank Tang
42d0bab7c3 ICU-22800 Avoid inconsistent state inside Locale
There are some memory leak in Locale which is hard to figure out why.
Use different variable to track memory allocation to avoid inconsistent
state while malloc fail
2024-06-21 11:49:11 -07:00
Gary L. Wade
b29eb331e1 ICU-22720 Update ICU4J to be comparable for relative date formatting as ICU4C for days of the week and quarters
Added enums for the days of week to RelativeUnit of RelativeDateTimeFormatter and changed QUARTERS to be included in this change rather than deprecated.  Removed short-circuiting of unit tests for the comparable formatting in ICU4C.  Added changes in formatNumericImpl and RelDateTimeDataSink to use the enums.  Added unit tests to RelativeDateTimeFormatter.java to test the enums proposed and removed the short-circuiting of days-of-week tests.
2024-06-18 13:56:07 -07:00
Makoto Kato
f48944e062 ICU-21809 Possible memory leak of tempTable.resFlags 2024-06-18 13:49:23 -07:00
Fredrik Roubert
8f6ba2a7a5 ICU-22721 Correct format specifier for type int32_t (-Wformat). 2024-06-18 09:57:56 -07:00
Fredrik Roubert
e6674c7360 ICU-22721 Set all fields in initializer (-Wmissing-field-initializers). 2024-06-18 09:57:56 -07:00
Fredrik Roubert
471c2ce03b ICU-22721 Delete unused variable (-Wunused-variable). 2024-06-18 09:57:56 -07:00
Frank Tang
e5b8660a46 ICU-22716 Add uregex_match_fuzzer
Based on https://chromium-review.googlesource.com/c/chromium/deps/icu/+/5465572
2024-06-17 20:06:41 -07:00
Frank Tang
0ea487a58b ICU-21810 Fix memory allocation error check in ucurr.cpp
See #3039
2024-06-17 15:33:20 -07:00
David Yeung
6e9e120520 ICU-22796 Bugfix: Memory access after uprv_free(). 2024-06-17 13:09:27 -07:00
Frank Yung-Fong Tang
697cb14f08 ICU-22798 Avoid stack overflow by return error.
See #3035
2024-06-14 13:09:30 +05:30
Frank Tang
b82291fd77 ICU-21810 Fix error checking of ucurr.cpp part 1
See #3027
2024-06-13 14:31:27 -07:00
Frank Tang
09dce103f2 ICU-22797 Move the loop limit before ignore continue
Fix an infinity loop issue inside collation builder
2024-06-13 09:58:15 -07:00
Fredrik Roubert
64f529e113 ICU-22310 Update configure files from configure.ac using autoreconf. 2024-06-13 15:09:29 +02:00
Fredrik Roubert
d1cfbb22f1 ICU-22310 Revert now obsolete autoconf "pld hack". 2024-06-13 15:09:29 +02:00
Fredrik Roubert
6a24e8d1df ICU-22310 Update configure files from configure.ac using autoreconf. 2024-06-13 15:09:00 +02:00
Fredrik Roubert
58df035f1d ICU-22310 Revert now obsolete autoconf bug workaround for echo. 2024-06-13 15:09:00 +02:00