Commit graph

32531 commits

Author SHA1 Message Date
Fredrik Roubert
2d65456a3b ICU-21107 Specify language standard versions C11 & C++17 also for Bazel.
This is copied (with C11 added) from:

https://github.com/tensorflow/tensorflow/blob/v2.15.0/.bazelrc

There were until now no versions specified at all, relying on the
default (or commandline overrides) to be sufficiently recent.
2024-01-17 16:26:57 +09:00
Fredrik Roubert
078b88a11a ICU-21107 Specify language standard versions C11 & C++17 also for MSVC.
There were until now no versions specified at all, relying on the
default (or commandline overrides) to be sufficiently recent.
2024-01-16 22:22:05 +09:00
Fredrik Roubert
214ae60d94 ICU-21107 Bugfix: Break up statement to force execution order. 2024-01-16 22:22:05 +09:00
Fredrik Roubert
ab72ab1d4a ICU-22520 Replace char arrays with icu::CharString & icu::MemoryPool. 2024-01-13 17:05:58 +09:00
Frank Tang
509405c9f2 ICU-22626 Fix leakage when 2 '=' in PluralRules
See #2782
2024-01-12 09:36:29 -08:00
yumaoka
dc7014fda6 ICU-22620 tz2023d updates 2024-01-11 11:41:23 -05:00
Fredrik Roubert
a837e0d399 ICU-22532 Set a value for _POSIX_C_SOURCE to get symlink() declared.
ISO C99 and later do not support implicit function declarations.
2024-01-11 17:35:28 +09:00
Frank Tang
23d1fc5989 ICU-22549 Fix incorrect pointer
Remove the adjustment of data pointer to avoid buffer-overflow
Fix bug https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=65632
2024-01-10 12:36:39 -08:00
Fredrik Roubert
906093f31b ICU-22520 Make icu::CharString comparable with itself. 2024-01-10 17:30:32 +09:00
Fredrik Roubert
87ca023447 ICU-22520 Replace char arrays with icu::CharString. 2024-01-10 12:19:44 +09:00
Frank Tang
ed970751ef ICU-22520 Add test case for oss-fuzz issue #65635. 2024-01-10 12:19:44 +09:00
Frank Tang
3f054adaf3 ICU-22549 Fix fuzzer to call Locale with null-terminiate string 2024-01-05 01:18:48 -08:00
Frank Tang
cfba9a8caf ICU-22549 Reland PR2770 w/ fix
Reland PR2770 w/ the fix that null termination the input to Locale
constuctor.
2024-01-05 01:18:10 -08:00
Fredrik Roubert
539e8f41a3 ICU-22532 Compiler warning: conversion from 'double' to 'int32_t'.
The definition of kOneDay is 1.0 * U_MILLIS_PER_DAY so there's no
reason whatsoever to not just use U_MILLIS_PER_DAY directly here.
2024-01-04 09:40:40 +09:00
Frank Yung-Fong Tang
52ff51e82c ICU-22549 Revert "Improve fuzzer to test more locale"
See #2770
2024-01-03 14:19:32 -08:00
Shane F. Carr
1a60a038e1 ICU-21952 Add withoutLocale functions to LocalizedNumber[Range]Formatter
See #2483
2023-12-28 22:04:02 -08:00
Fredrik Roubert
02740597ce ICU-22520 Replace char arrays with icu::CharString. 2023-12-29 11:30:57 +09:00
Manish Goregaokar
74abcfe288 ICU-22481 Add toml support to gendict
(and use it in CI)
2023-12-27 22:59:57 -08:00
Fredrik Roubert
7eb56fee1e ICU-22520 Remove now superfluous intermediate buffers. 2023-12-28 11:13:38 +09:00
Fredrik Roubert
5fa7d4c7ff ICU-22520 Delete unused internal feature alternateTags. 2023-12-28 11:13:38 +09:00
Fredrik Roubert
03a870a23c ICU-22520 Replace uprv_malloc() / uprv_free() with icu::CharString. 2023-12-28 10:27:35 +09:00
Fredrik Roubert
9a91599fd4 ICU-22520 Replace uprv_malloc() / uprv_free() with icu::LocalPointer. 2023-12-23 10:42:55 +09:00
Steven R. Loomis
9d3e12b820 ICU-22601 v74.2 fix dangling LICENSE file
- 'git archive' works on a subtree so did not include LICENSE
- we copy the LICENSE file from the build dir
- broken by ICU-22309
2023-12-22 09:28:09 -08:00
Fredrik Roubert
887005b68a ICU-22520 Remove unnecessary copying of statically allocated strings. 2023-12-22 08:43:55 +09:00
Fredrik Roubert
daa0171501 ICU-22608 Add necessary using statements for namespace icu. 2023-12-22 08:12:47 +09:00
Frank Tang
23dd2b8b54 ICU-22549 Add PluralRule Fuzzer 2023-12-21 14:21:33 -08:00
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