]>
granicus.if.org Git - icu/log
Markus Scherer [Sat, 10 Aug 2019 17:51:28 +0000 (10:51 -0700)]
ICU-20735 simpler state saving for C++ string tries
Jeff Genovy [Tue, 11 Jun 2019 08:20:09 +0000 (01:20 -0700)]
ICU-20757 Fix typos in utrans.h header file.
Fredrik Roubert [Wed, 7 Aug 2019 19:01:04 +0000 (21:01 +0200)]
ICU-20601 Add missing semicolons.
The way these macros currently are defined, the code compiles also
without the final semicolons. But for consistency and in order to allow
the macro definitions to be updated also these macro invocations should
have final semicolons just like in the rest of this code base.
Fredrik Roubert [Wed, 7 Aug 2019 18:56:02 +0000 (20:56 +0200)]
ICU-20601 Remove superfluous semicolons (-Wextra-semi-stmt).
Jeff Genovy [Thu, 8 Aug 2019 23:08:34 +0000 (16:08 -0700)]
ICU-20766 Fix failing TravisCI build for ICU4J due to missing ANT.
Rohan Palaniappan [Wed, 31 Jul 2019 21:58:57 +0000 (14:58 -0700)]
ICU-20747 Modify common_uwp to use onecore.lib instead of onecoreuap.lib
Jeff Genovy [Sat, 27 Jul 2019 01:09:39 +0000 (18:09 -0700)]
ICU-13764 Add separate CI build that treats warnings as errors with clang.
This adds a separate CI build that enables -Werror for clang.
This also fixes all of the -Wall -Wextra warnings in the tests, and all the
-Wextra-semi warnings as well.
Andy Heninger [Fri, 26 Jul 2019 21:14:59 +0000 (14:14 -0700)]
ICU-20048 Remove use of std::align() for compat with g++ 4.9.
younies [Fri, 26 Jul 2019 21:05:48 +0000 (21:05 +0000)]
ICU-20675 ignore .vscode configuration files.
See #717
Steven R. Loomis [Fri, 19 Jul 2019 23:32:29 +0000 (16:32 -0700)]
ICU-20493 Warn on global/static c’tors
- add -Wglobal-constructors to clang (only for libs)
- Note: ignore 'runstatedir' flap in configure
Andy Heninger [Tue, 23 Jul 2019 21:54:57 +0000 (14:54 -0700)]
ICU-20729 Remove obsolete U_HAVE_STD_ATOMICS and similar @internal macros.
Jeff Genovy [Sat, 20 Jul 2019 01:03:32 +0000 (18:03 -0700)]
ICU-20721 Fix typo in API docs about unumf_openForSkeletonAndLocale.
Shane Carr [Tue, 23 Jul 2019 04:41:43 +0000 (04:41 +0000)]
ICU-20708 Fixing edge cases with negative infinity and NaN.
Jeff Genovy [Wed, 17 Jul 2019 18:02:56 +0000 (11:02 -0700)]
ICU-20712 Add support for building ICU4C UWP with ARM64, add ARM32/ARM64 to CI.
This change adds support for building the ICU4C UWP projects for ARM64.
Additionally it adds CI builds for ARM32 and ARM64.
Co-Authored-By: Daniel Ju <daju@microsoft.com>
Jeff Genovy [Sat, 20 Jul 2019 00:54:53 +0000 (17:54 -0700)]
ICU-20718 Fix failing MSYS2 build due to current path confusion.
The Azure DevOps VM images that are used in the CI builds recently
updated the version of MSYS that is installed, which is causing the
MSYS builds to fail. It seems that this new version has issues with
using the shell cmd method in the makefiles to obtain the current path.
However, we can avoid this entirely by using the cygpath utility, which
also avoids the overhead of launching a new cmd instance just to get
the path. Unfortunately, it seems that older versions of MSYS don't
have this utility program included by default, though versions of
MSYS 2 and up do have it included by default.
We can continue using the old approach for the older versions and use
the cygpath approach for new versions.
Shane Carr [Fri, 19 Jul 2019 22:44:24 +0000 (15:44 -0700)]
ICU-20716 Fixing some buffer overruns in genccode
Jeff Genovy [Wed, 3 Jul 2019 21:04:36 +0000 (14:04 -0700)]
ICU-20689 Fix race condition in UMutex code, leading to random crashes.
Victor Chang [Mon, 10 Jun 2019 13:13:09 +0000 (14:13 +0100)]
ICU-20659 Fix DTD link in XML data files
- http://www.unicode.org/repos/cldr/trunk/common/dtd/ldml.dtd returns
HTTP 302 error and redirects to an html page, not a dtd content
apparently.
- Clone the dtd files from CLDR release-35-1
https://raw.githubusercontent.com/unicode-org/cldr/release-35-1/common/dtd/ldml.dtd
Shane Carr [Tue, 9 Jul 2019 00:03:25 +0000 (17:03 -0700)]
ICU-20593 Data slicing: allow more characters in res filter rules.
Shane Carr [Tue, 18 Jun 2019 20:33:49 +0000 (13:33 -0700)]
ICU-20593 Various updates to resource tracing.
Shane Carr [Mon, 8 Jul 2019 23:38:19 +0000 (16:38 -0700)]
ICU-20593 Data slicing: Fix mixed file and resource filter.
yumaoka [Fri, 5 Jul 2019 04:22:42 +0000 (00:22 -0400)]
ICU-20692 tzdata2019b update
Andy Heninger [Thu, 20 Jun 2019 18:51:27 +0000 (11:51 -0700)]
ICU-20672 Compiler Warning Cleanup.
Andy Heninger [Fri, 28 Jun 2019 23:36:10 +0000 (16:36 -0700)]
ICU-20650 Memory alignment of buffers used by sort functions.
Andy Heninger [Sat, 1 Jun 2019 00:46:49 +0000 (17:46 -0700)]
ICU-20048 remove uses of UAlignedMemory, replace with native C++11 constructs.
Also update the Travis CI configuration to use newer compilers, and the
dependency checker to be happy with the newer clang compiler.
Andy Heninger [Thu, 30 May 2019 23:41:44 +0000 (16:41 -0700)]
ICU-13637 Break Iterator Rule Updates for Indic Grapheme Clusters.
Norbert Runge [Wed, 26 Jun 2019 20:41:59 +0000 (13:41 -0700)]
ICU-20652 Corrects calculation of byte sequence length to prevent buffer
overflow.
ICU-20652 Add parenthesis, improve readability.
Norbert Runge [Fri, 21 Jun 2019 21:33:36 +0000 (14:33 -0700)]
ICU-20652 Adds two fuzzer target for collation (compare() and
RulebasedCollator().
ICU-20652 Adds test/fuzzer/Makefile (auto-generated upon ICU4C configuration)
to .gitignore.
ICU-20652 In response to PR#693 review, corrects allocation size of char16_t
buffer.
While at it, adds generated files to .gitignore.
Shane F. Carr [Sat, 22 Jun 2019 16:48:29 +0000 (09:48 -0700)]
ICU-20666 Adding insert/appendChar16 to FormattedStringBuilder.
Andy Heninger [Thu, 30 May 2019 23:41:44 +0000 (16:41 -0700)]
ICU-13637 Documentation for doing break iterator updates.
Shane Carr [Tue, 18 Jun 2019 20:34:51 +0000 (13:34 -0700)]
ICU-20622 Removing dead code in measfmt.cpp.
Norbert Runge [Thu, 6 Jun 2019 17:20:09 +0000 (10:20 -0700)]
ICU-20652 Adds Makefile.in, a fuzzer driver, and minor changes to in fuzzer
targets to test/fuzzer/ directory. This will enable compilation and
smoke test of fuzzer targets as part of the ICU continuous build.
ICU-20652 Fixed exit-on-error behaviour of fuzzer targets execution.
Minor clean-ups and improvements
ICU-20652 Modifies fuzzer/Makefile.in to fix Windows build issue.
ICU-20627 Adds explicit enablement of fuzzer targets build to ICU4C
configuration and Makefile.in. File 'configure' was created from
'configure.ac' by executing 'autoreconf'.
autoreconf added some new entries into 'configure' about runstatedir. Not sure
why it did this, they are not related to fuzzer.
Andy Heninger [Thu, 13 Jun 2019 23:27:58 +0000 (16:27 -0700)]
ICU-20404 Simplify word break rules.
Shane Carr [Thu, 30 May 2019 21:47:36 +0000 (14:47 -0700)]
ICU-20639 Add "mol" 3-letter language code to C++ map.
Frank Tang [Thu, 7 Mar 2019 00:52:40 +0000 (16:52 -0800)]
ICU-20149 allow duplicate unicode attribute
Christian O. Venegas [Thu, 17 Jan 2019 00:17:51 +0000 (16:17 -0800)]
ICU-20566 Add missing ICU namespace macros for extra files
ICU now uses namespaces. When trying to use the scrptrun.h header, the
header cannot compile stand-alone as it is inheriting from UObject which
is namespaced now. Add namespace macros to properly inherit.
ICU-20566 Add scrptrun to the extra high level Makefile
The scrptrun project was not being added to the extra portion of the ICU
build. Add it as a sub project so it can always be built.
ICU-20566 Properly namespace the ScriptRun test
The ScriptRun class is now namespaced. Update the test reference.
ICU-20566 Use int instead of void to compile
Clang will complain about having a void main without an int main to
invoke. Change void to int and return 0.
Shane Carr [Mon, 10 Jun 2019 23:07:53 +0000 (16:07 -0700)]
ICU-20660 Add usePoolBundle option to filters.json.
Shane Carr [Tue, 11 Jun 2019 02:16:37 +0000 (19:16 -0700)]
ICU-20661 Adding test that (U)Locale constructor accepts BCP47.
Shane Carr [Tue, 11 Jun 2019 17:46:16 +0000 (10:46 -0700)]
ICU-20593 Data docs tweaks and fixing UDATA_DEBUG build.
Mihai Nita [Tue, 28 May 2019 22:41:00 +0000 (15:41 -0700)]
ICU-20622 Fixing several MeasureFormat problems
Jeff Genovy [Wed, 12 Jun 2019 17:07:09 +0000 (10:07 -0700)]
ICU-20664 Add CI builds that exercise the Data Filtering.
Jeff Genovy [Fri, 31 May 2019 05:23:35 +0000 (22:23 -0700)]
ICU-20647 Fix TimeZone leak in ucal_open if uloc_setKeywordValue fails.
Frank Tang [Wed, 5 Jun 2019 01:14:27 +0000 (18:14 -0700)]
ICU-20654 Add hour/minute for "this hour/minute"
Fix expectation in cintltest
add tests
ICU-20654 Add hour/minute for "this hour/minute"
See #674
Jeff Genovy [Fri, 7 Jun 2019 20:10:04 +0000 (13:10 -0700)]
ICU-20527 Fix a few issues in the top-level .gitignore file
Azamshul Azizy [Thu, 30 May 2019 09:53:13 +0000 (18:53 +0900)]
ICU-20631 Fix desired currency not set for some NumberFormat currency styles
Shane Carr [Fri, 7 Jun 2019 21:05:14 +0000 (21:05 +0000)]
ICU-20593 Trace instrumentation for data loading.
- Adds hooks to utrace.h to record when ICU reads from locale data.
- Adds userguide page to document the new hooks.
Shane Carr [Fri, 7 Jun 2019 03:49:29 +0000 (20:49 -0700)]
ICU-20627 Fixing typo introduced by #670.
Jeff Genovy [Thu, 6 Jun 2019 20:15:46 +0000 (13:15 -0700)]
ICU-20658 Fix broken Data Filtering on Windows builds.
Krzysztof Kosiński [Thu, 16 May 2019 04:41:01 +0000 (21:41 -0700)]
ICU-20608 Add platform defines for Emscripten.
Shane Carr [Wed, 5 Jun 2019 21:03:55 +0000 (21:03 +0000)]
ICU-20627 Adding alias locales to new structure in res_index.
Shane Carr [Fri, 31 May 2019 07:00:02 +0000 (00:00 -0700)]
ICU-20593 ICU Data Build Tool documentation updates.
Shane Carr [Tue, 4 Jun 2019 20:38:29 +0000 (13:38 -0700)]
ICU-20629 DTPG: Fixing uncaught exception in Java.
Frank Tang [Thu, 30 May 2019 23:01:44 +0000 (16:01 -0700)]
ICU-20602 copyErrorTo() functions should be const
Frank Tang [Thu, 30 May 2019 20:22:15 +0000 (20:22 +0000)]
ICU-20641 Fixes undefined-shift
ICU-20641 Fixes undefined-shift See #663
Shane Carr [Wed, 29 May 2019 07:50:25 +0000 (07:50 +0000)]
ICU-20629 Fixing DTPG hour-format locale and region fallback logic.
Includes changes in C and J. Makes region.cpp no longer depend on DecimalFormat. See also: CLDR-13071, ICU-20640, ICU-9982.
Norbert Runge [Wed, 29 May 2019 21:46:43 +0000 (14:46 -0700)]
ICU-20638 Renames fuzzer target files to end with the .cpp suffix. Was .cc.
Shane Carr [Sat, 25 May 2019 00:36:49 +0000 (17:36 -0700)]
ICU-20625 Fixing uninitialized memory in DTPG detected by Valgrind.
Shane Carr [Tue, 21 May 2019 22:36:25 +0000 (15:36 -0700)]
ICU-20616 Allow bidi marks around the sign in exponent parsing.
Andy Heninger [Fri, 10 May 2019 23:23:21 +0000 (16:23 -0700)]
ICU-20588 UMutex, add cleanup of underlying mutexes, and simplify usage model
Frank Tang [Wed, 15 May 2019 23:21:23 +0000 (16:21 -0700)]
ICU-20602 add LocaleBuilder::copyErrorTo
Check the status after the setter and test err.
Add more check for errors.
change comments
Frank Yung-Fong Tang [Fri, 17 May 2019 21:47:14 +0000 (14:47 -0700)]
ICU-20613 fix missing </ClInclude>
Alon Bar-Lev [Sat, 27 Apr 2019 13:07:26 +0000 (16:07 +0300)]
ICU-20578 headers: guard all C++ headers using U_SHOW_CPLUSPLUS_API
support including all files in C
cleanup and simplify the test/hdrtest
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
Frank Tang [Sat, 11 May 2019 01:38:35 +0000 (18:38 -0700)]
ICU-12760 support UDISPCTX_TYPE_SUBSTITUTE_HANDLING
add tests
remove printf
fix localeDisplayName and add tests
fix fallback
remove get
Daniel Ju [Sat, 11 May 2019 01:19:14 +0000 (18:19 -0700)]
ICU-20567 Use 7Zip to package Windows binaries to avoid backslash separator errors when unzipping on CygWin
Frank Tang [Thu, 9 May 2019 23:34:24 +0000 (16:34 -0700)]
ICU-20595 Make icu::TimeZone::AdoptDefault thread safe
correct the mutex
Remove comments about not thread safe
Jeff Genovy [Thu, 11 Apr 2019 06:16:27 +0000 (23:16 -0700)]
ICU-20549 Publish Windows build artifacts from the CI builds (x64 Release)
Mihai Nita [Wed, 8 May 2019 16:30:49 +0000 (09:30 -0700)]
ICU-20591 Increased the date rowspan to include the argSkeletonText line
Shane F. Carr [Wed, 8 May 2019 17:28:29 +0000 (10:28 -0700)]
ICU-20593 Consuming ignore_xml_deprecates option in BUILDRULES.py.
The option was added in
b603285 , but the option was not being used.
Andy Heninger [Sat, 6 Apr 2019 00:37:44 +0000 (17:37 -0700)]
ICU-20520 UMutex refactoring.
- Use STATIC_NEW for mutex creation, to avoid order-of-destruction problems
by avoiding destruction altogether, while avoiding memory leak reports.
- Remove UConditionVar, replace with direct use of std::condition_variable
Shane Carr [Mon, 6 May 2019 23:37:10 +0000 (16:37 -0700)]
ICU-20593 Renaming Python buildtool to icutools.databuilder.
Shane F. Carr [Fri, 29 Mar 2019 15:55:58 +0000 (11:55 -0400)]
ICU-20529 Generate res_index on partial resource trees.
Shane Carr [Sat, 4 May 2019 02:09:43 +0000 (19:09 -0700)]
ICU-20593 Buildtool: Implementing new "additive" mode.
Shane Carr [Sat, 4 May 2019 02:08:14 +0000 (19:08 -0700)]
ICU-20593 Buildtool: adding some options and improving exec mode.
Shane Carr [Sat, 4 May 2019 01:56:12 +0000 (18:56 -0700)]
ICU-20593 Genrb: Remove keys if bundle is empty after filtering.
Markus Scherer [Wed, 1 May 2019 21:38:27 +0000 (14:38 -0700)]
ICU-20572 build & test with U_NO_DEFAULT_INCLUDE_UTF_HEADERS
Steven R. Loomis [Thu, 25 Apr 2019 17:40:28 +0000 (10:40 -0700)]
ICU-20575 fix broken default locale mapping for C.UTF-8
Regression was in
1afef30549d93c17bb966c6803d5d943cf055925
PR #418 [ICU-20187]
- We dropped the mapping from "C" in uloc_canonicalize,
but then putil did not handle cases where a codepage was
set (such as C.UTF-8).
- Add an additional check in uprv_getDefaultLocaleID() for
locales that end up as "C" or "POSIX" after removing codepage
suffix.
- Also fix regression where aa@bb would become aa__BB__BB
(incorrectly doubled __BB)
Alon Bar-Lev [Sat, 30 Mar 2019 06:59:46 +0000 (09:59 +0300)]
ICU-20530 Fix header issues based on test/hdrtst
Remove explicit extern "C++" scope.
Remove C++ macros in C mode.
Fix issues detected by make -C test/hdrtst.
Run test/hdrtest during CI to detect future breakage.
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
Jeff Genovy [Wed, 24 Apr 2019 21:02:06 +0000 (14:02 -0700)]
ICU-20558 Fix regression in DateTimePatternGenerator
This fixes a regression introduced by commit
b12a927c9365bb38831afbf76fdd0999f8f33deb for issue ICU-13778.
The above commit improved the error checking in the
DateTimePatternGenerator class, adding checks for errors/failures
where there previously was none at all. This was done in order to
catch catastrophic errors like out-of-memory (OOM), and properly
report them to the caller, rather than ignoring/hiding these errors.
However, in doing so it exposed a case where the code was depending
on ignoring errors in order to fall-back to the Gregorian calendar
when the default ICU locale is set to root.
This restores the previous behavior, by allowing the error of
U_MISSING_RESOURCE_ERROR to fall-though and continue without
reporting back an error to the caller.
Note: This regression was technically introduced in ICU 63, and
also effects ICU 64 as well.
Fredrik Roubert [Wed, 24 Apr 2019 13:46:59 +0000 (15:46 +0200)]
ICU-20573 Handle NULL return value correctly, it means empty not error.
Andy Heninger [Mon, 22 Apr 2019 19:54:14 +0000 (12:54 -0700)]
ICU-20570 UInitOnce instances, add explicit initialization where it was missing.
Fredrik Roubert [Thu, 21 Feb 2019 02:11:34 +0000 (03:11 +0100)]
ICU-20445 Pass ByteSink to ulocimp_addLikelySubtags().
Jeff Genovy [Thu, 18 Apr 2019 20:31:48 +0000 (13:31 -0700)]
ICU-20445 Need to export the CharStringByteSink class for Windows and OSX.
Andy Heninger [Mon, 4 Feb 2019 18:50:08 +0000 (10:50 -0800)]
ICU-20391 Fix regexp crash with nested look-behinds, from fuzz testing.
Shane F. Carr [Wed, 17 Apr 2019 21:15:59 +0000 (14:15 -0700)]
ICU-20511 Merge release-64-2 to master
Shane Carr [Tue, 9 Apr 2019 01:26:02 +0000 (18:26 -0700)]
ICU-20553 Updating commit checker docs; makes --rev-range required.
Shane Carr [Wed, 17 Apr 2019 20:34:41 +0000 (13:34 -0700)]
ICU-20511 Merge tag 'release-64-2' into 64-merge-branch
Steven R. Loomis [Wed, 17 Apr 2019 15:58:08 +0000 (08:58 -0700)]
ICU-20563 fix macosx rpath breakage in the data build
- in the rpath case, we do NOT want a trailing space in LD_SONAME
regression was introduced in ICU-20526 with
83a0542b5b52a30b7af736f5ef6b0405f6582867 (master)
b76cb6517efa113739a3ffadda7ff024db0d5689 (in maint-64)
(cherry picked from commit
1c553b9cf28d25c0aaf961c5f587f4ad3cee2679 )
Steven R. Loomis [Wed, 17 Apr 2019 15:58:08 +0000 (08:58 -0700)]
ICU-20563 fix macosx rpath breakage in the data build
- in the rpath case, we do NOT want a trailing space in LD_SONAME
regression was introduced in ICU-20526 with
83a0542b5b52a30b7af736f5ef6b0405f6582867 (master)
b76cb6517efa113739a3ffadda7ff024db0d5689 (in maint-64)
Fredrik Roubert [Mon, 18 Mar 2019 20:33:52 +0000 (21:33 +0100)]
ICU-12431 Update test expectations in TestLocaleNamePackaging.
These test expectations have been out-of-sync with the output that ICU4J
actually generates for quite some time now. This change brings the
expectations in sync with actual behaviour and makes the test pass.
Jeff Genovy [Fri, 22 Mar 2019 18:55:22 +0000 (11:55 -0700)]
ICU-20513 Treat MSVC warnings C4910 and C4003 as errors in the library code for CI builds.
yumaoka [Fri, 12 Apr 2019 18:16:13 +0000 (14:16 -0400)]
ICU-20554 Disabled current date sensitive Japanese era test cases for now.
Shane F. Carr [Fri, 12 Apr 2019 23:57:29 +0000 (16:57 -0700)]
ICU-20511 Merge release-64-2-rc to master
Andy Heninger [Fri, 12 Apr 2019 20:34:27 +0000 (13:34 -0700)]
ICU-20544 Regex, Fix assertion failure in positive look-behind
Shane Carr [Thu, 11 Apr 2019 22:28:54 +0000 (15:28 -0700)]
ICU-20511 Merge tag 'release-64-2-rc' into 64-merge-branch
- Rebuilds jar files to resolve merge conflict
Shane F. Carr [Thu, 11 Apr 2019 22:20:09 +0000 (15:20 -0700)]
ICU-20511 Merge release-64-1 to master
Andy Heninger [Tue, 9 Apr 2019 20:45:46 +0000 (13:45 -0700)]
ICU-20544 Regex, fix min/max match length computation with negative look-behind patterns.
yumaoka [Thu, 11 Apr 2019 03:56:29 +0000 (23:56 -0400)]
ICU-20515 Merging tz2019a changes.
yumaoka [Thu, 11 Apr 2019 00:42:23 +0000 (20:42 -0400)]
ICU-20550 jaEra: use all valid eras for calendar calculations (Java port)
Shane F. Carr [Thu, 11 Apr 2019 02:09:52 +0000 (19:09 -0700)]
ICU-20511 Merge branch 'master' into 64-merge-branch
Peter Edberg [Wed, 10 Apr 2019 19:06:57 +0000 (12:06 -0700)]
ICU-20550 jaEra: use all valid eras for calendar calculations (#614)