Commit graph

32705 commits

Author SHA1 Message Date
Fredrik Roubert
ef78f2a863 ICU-21107 Update configure files from configure.ac using autoreconf. 2023-12-21 09:31:55 +09:00
Fredrik Roubert
45d351ca4e ICU-21107 Update ICU4C minimum standard version from C99 to C11. 2023-12-21 09:31:55 +09:00
Frank Tang
fc6e282d98 ICU-22549 Limit Normalizer2 Fuzzer for 5K of input
To avoid timeout
2023-12-19 13:58:03 -08:00
Fredrik Roubert
1384d9f395 ICU-22532 Remove redundant 'void' from empty C++ parameter lists.
https://releases.llvm.org/16.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/modernize/redundant-void-arg.html
2023-12-19 09:27:18 +09:00
Fredrik Roubert
85b7f5fda2 ICU-22604 Use 'void' for empty C parameter lists (-Wstrict-prototypes). 2023-12-19 09:27:01 +09:00
Frank Tang
838227ce95 ICU-22614 Fix buffer overflow in TimeZoneNames
See #2752
2023-12-18 16:26:06 -08:00
Frank Tang
11d1148e56 ICU-22549 Improve fuzzer to test more locale
We found bogus locale cause crash in DateFormat so here
we enhance the fuzzer to also test locale name which are not
return by the available locale list.
2023-12-18 13:31:06 -08:00
Frank Tang
4ba5d9191b ICU-22549 Add DateFormatSymbols fuzzer 2023-12-15 16:17:38 -08:00
Frank Tang
7bef50e71d ICU-22609 Fix nulldef w/ bogus locale in DateFormat::create* 2023-12-15 16:14:56 -08:00
Frank Tang
5cf5ec1adb ICU-22549 Add TimeZoneNames fuzzer 2023-12-15 11:30:45 -08:00
Frank Tang
77759422dd ICU-22549 Add Normalizer2 Fuzzer
ICU-22549 Remove unnecessary include files
2023-12-15 11:30:33 -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
Fredrik Roubert
99f6be4345 ICU-22593 Add missing layout/ prefix for Layout Engine header files. 2023-12-14 23:51:10 +01:00
Fredrik Roubert
391e3b85fe ICU-22591 Delete obsolete source file. 2023-12-14 20:42:00 +01:00
Fredrik Roubert
6f2e37ecb5 ICU-22590 Delete useless source file. 2023-12-14 20:41:44 +01:00
Fredrik Roubert
e2d1d3ed43 ICU-22592 Rename source file that should not be directly compiled. 2023-12-14 20:11:50 +01:00
Fredrik Roubert
e112f896a2 ICU-22576 Use standard alignof() with modern C. 2023-12-14 19:11:29 +01:00
Fredrik Roubert
1bc059e7d6 ICU-21107 Update configure files from configure.ac using autoreconf. 2023-12-14 09:36:22 -08:00
Fredrik Roubert
7ec1765ce8 ICU-21107 Update ICU4C minimum standard version from C++11 to C++17. 2023-12-14 09:36:22 -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
7d3cd7cba5 ICU-22584 Fix def of nullptr
ICU-22584 fix
2023-12-11 14:35:10 -08:00
Frank Tang
4da7ffaa36 ICU-22580 Address infinity loop in RBBI
ICU-22580 Fix tests
2023-12-11 11:34:47 -08:00
Frank Tang
73f972f7ff ICU-22581 Fix RBBI leakage
Duplicate variable references in the rule should not cause leakage
2023-12-08 15:47:51 -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
Andy Heninger
e6892996b1 ICU-22584 Fix RBBI rule builder stack overflow.
The problem was found by fuzz testing.

A rule consisting of a long literal string produces a large, unbalanced parse tree,
one node per string element. Deleting the tree was recursive, once per node, resulting
in deep recursion.

This PR changes node deletion to use an iterative (non-recursive) approach.

This change only affects rule building. There is no change to the RBBI run time
using pre-built rules.
2023-12-08 12:49:26 -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
Frank Tang
2a3cb99f6e ICU-22589 Avoid timeout in TimeZone test 2023-12-05 16:24:33 -08:00
Frank Tang
b246489074 ICU-22588 Limit test data to avoid meaningless timeout 2023-12-05 16:24:02 -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
Fredrik Roubert
394ebaaee0 ICU-22522 Update configure files from configure.ac using autoreconf. 2023-12-04 16:17:20 +01:00
Fredrik Roubert
e5f3295b91 ICU-22522 Revert "Use the Clang -Wno-ambiguous-reversed-operator flag".
This reverts commit dc1b8ca26e.
2023-12-04 16:17:20 +01:00
Fredrik Roubert
e48d2734c6 ICU-22522 Revert "Add early check for AX_CHECK_COMPILE_FLAG".
This reverts commit 9f358ccb24.
2023-12-04 16:17:20 +01:00
Fredrik Roubert
d2a5638336 ICU-22522 Make operator==() const to resolve C++20 ambiguity. 2023-12-04 16:17:20 +01:00
Frank Tang
d93c7b60fc ICU-22568 return TimeZomeFormat::createInstance for bogus locale 2023-12-01 15:10:41 -08:00
Frank Tang
83327fb92c ICU-22549 Add Fuzzer for TimeZone 2023-12-01 15:04:51 -08:00
Frank Tang
e8e19454da ICU-22549 Add fuzzer for NumberFormatter 2023-12-01 15:04:22 -08:00
Frank Tang
368d67316c ICU-22549 Add UnicodeSet fuzzer 2023-11-30 08:32:09 -08:00
Fredrik Roubert
78b1a3fc46 ICU-22522 Update the Azure CI from Clang 14 to Clang 16. 2023-11-30 15:34:36 +01:00
Fredrik Roubert
f99f8c678b ICU-22522 Delete unused variables.
Clang 16 is more thorough in finding unused variables, so these must be
removed to be able to compile this code using Clang 16 and -Werror.
2023-11-30 15:34:36 +01:00
Frank Tang
ba4e8f2ef7 ICU-22549 Add Fuzer for Unicode property API 2023-11-29 16:30:46 -08:00
Elango Cheran
2adf957de2 ICU-22314 Refactor GH CI jobs into workflows triggered by modified paths 2023-11-29 17:59:41 -05:00
Frank Tang
0bfa5f4c44 ICU-22549 Add DateTimePatternGenerator fuzzer
See #2708
2023-11-29 14:45:21 -08:00
Frank Tang
276d3dc865 ICU-22493 Implement First Day Override in Calendar 2023-11-29 11:55:51 -08:00
Frank Tang
5d3e84afc0 ICU-22549 Add RuleBasedBreakIterator fuzzer 2023-11-29 11:55:09 -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
102ed8b6bd ICU-22563 Limit the size for calendar fuzzer
Limit to 1000 bytes of valid test data so the fuzzer will
not timeout because of running many operations.

ICU-22563 fix comment
2023-11-16 14:55:00 -08:00
Elango Cheran
511e5efe56 ICU-22533 Update BRS instructions for tagging release 2023-11-10 15:33:31 -08:00