Commit graph

22966 commits

Author SHA1 Message Date
Erik Torres
3f043c7693 ICU-21555 Fix typos from G to L
See #1737
2021-06-07 16:09:09 -07:00
Erik Torres
48ef451b87 ICU-21581 BRSRC 70.0.1 Version update and regenerate configure for v70.0.1
See #1738
2021-06-04 14:09:41 -07:00
Andy Heninger
7d75a85501 ICU-21579 Compiler warning fixes.
Fix typos in hard-coded test data, uncovered by a compiler upgrade to
clang version 12.0.0-1ubuntu1
2021-05-21 12:29:09 -07:00
yumaoka
5518bb0c84 ICU-21623 Removed linker flag -dexpall for AIX xlclang build.
See #1727
2021-05-20 11:49:40 -04:00
Frank Tang
6d56429336 ICU-21569 LSTM fix resource issue.
See #1718
2021-05-15 10:10:37 -07:00
Frank Tang
4b6e6e1bc9 ICU-21569 LSTM Add test to test long string. 2021-05-13 13:12:59 -07:00
Frank Tang
b96a806c8f ICU-21569 Remove extra LocalUResourceBundlePointer
Remove LocalUResourceBundlePointer fDictRes which shadowed the real
UUResourceBundle*.

ICU-21569 fix assert
2021-05-11 20:46:53 -07:00
Erik Torres
cfefa03539 ICU-21555 fix typos for D, E and F found in the repo
See #1714
2021-05-10 11:09:05 -07:00
Frank Yung-Fong Tang
2a72af07ac ICU-21569 LSTM Part 3 Add Java implementation
See #1706
2021-05-08 21:15:44 -07:00
Frank Tang
17c7563078 ICU-21569 LSTM Optimize memory usage.
See #1712
2021-05-08 18:27:28 -07:00
Frank Tang
4af403d5c4 ICU-21588 Fix strncpy warning 2021-05-05 12:07:07 -07:00
Frank Tang
4136fa207f ICU-21569 Propagate LSTM memory allocation issue 2021-05-04 15:09:54 -07:00
Frank Tang
512290fd23 ICU-21585 Remove not used var. 2021-05-04 09:12:32 -07:00
Frank Tang
9a2177c575 ICU-21569 Add GA to test LSTM configuration
1. Add GA to test BreakIterator under LSTM configuration (remove Thai
and Burmese dictionary and include Thai and Burmese LSTM)
2. Add LSTMDataName for the purpose of testing.
3. Add file base test code to test BreakIterator match results from test
file generated by pythong code in
https://github.com/unicode-org/lstm_word_segmentation/blob/master/segment_text.py
4. Fix a LSTMBreakEngine::divideUpDictionaryRange bug when the return value
should only contains the number of words found when the passed in foundBreaks
already contains some data.
5. Change the cintltest TestSwapData from testing thaidict to laodict so
it will not break while we filter out thaidict under the LSTM
configuration.
2021-04-30 20:02:09 -07:00
Frank Tang
253c54ab81 ICU-21569 Add BOM to the beginning of the lstm files (minor fix of Part 2 C++)
See #1702
2021-04-29 12:30:46 -07:00
Frank Tang
b13be666cd ICU-21597 Fix Null-deref W in canonicalizeLocale 2021-04-28 15:37:08 -07:00
Frank Tang
19c52a4fe3 ICU-21569 LSTM Part 2- include C++ implementation
See #1689
2021-04-28 00:51:11 -07:00
Andy Heninger
7577899ff3 ICU-21591 Release lock in SimpleDateFormat::tzFormat in case of failure
Also remove the use of the unsafe double-checked lock idiom in the same
function, SimpleDateFormat::tzFormat(). Synchronization now always uses a
mutex, which is slower, but in the context of format or parse operations,
shouldn't be significant.

Added synchronization to one more unsafe direct reference to a const
SimpleDateFormat::fTimeZoneFormat. In the assignment operator.
2021-04-27 18:12:31 -07:00
Frank Yung-Fong Tang
f3f24f1423 ICU-21569 LSTM Part 1- data file and build tool
See #1688
2021-04-23 17:22:45 -07:00
Frank Tang
4689706386 ICU-21593 Merge ReadAndConvertFile 2021-04-23 14:33:10 -07:00
Elango Cheran
581c427557 ICU-21523 Declare default impl for copy operator for GCC warning 2021-04-14 12:32:52 -07:00
Frank Tang
2dc5bea906 ICU-21587 Fix memory bug w/ baseName
Edge cases not fixed in assign and move assign operator
while the locale is long and call setKeywordValue with incorrect
keyword/values.
2021-04-13 16:33:06 -07:00
Frank Tang
45b893c1f9 ICU-21539 Fix getUnicodeKeywords to skip non keys
See #1683
2021-04-08 22:02:15 -07:00
Shane Carr
bc22e421bf ICU-21578 Merging maint/maint-69 into main (conflict: icudata.jar) 2021-04-07 15:15:05 -07:00
Long Nguyen
0e7b442886 ICU-21560 mingw: Remove version numbers from link flags 2021-04-07 13:47:42 -05:00
Mojca Miklavec
ff702ad727 ICU-21513 check if TARGET_OS_SIMULATOR has been defined
clang 11 throws an error when using undefined variables starting with
TARGET_OS_, and TARGET_OS_SIMULATOR is missing in earlier versions
of macOS, so the code would not compile without an additional guard.

See also ICU-13440.
2021-04-07 13:47:42 -05:00
Frank Tang
b926f52688 ICU-21550 Add zzzz to subdivision if len==2
See #1662
2021-04-07 13:47:42 -05:00
Rich Gillam
866a640b70 ICU-21552 Changed to only display "Encountered empty table" warning in verbose mode. 2021-04-07 13:47:42 -05:00
Markus Scherer
152867f7ab ICU-21459 properly guard BytesTrie.Result.getValue()
and clone/copy objects so that objects shared among instances are not modified
and use an atomic int for the C++ refcount
2021-04-06 17:10:46 -07:00
Shane F. Carr
7fd2844d10 ICU-21540 Fix FormattedList test and behavior regression 2021-04-06 16:55:30 -05:00
Jeff Genovy
c5406692bb ICU-21546 Fix warnings from running the samples with MSVC. 2021-04-05 13:59:43 -07:00
Shane F. Carr
33ba23402d ICU-21545 Dump UCPTrie test data to golden files
See #1660
2021-04-01 20:29:49 -05:00
Peter Edberg
f5d8b57d01 ICU-21413 Update laodict.txt per https://github.com/rober42539/lao-dictionary; add tests 2021-04-01 10:27:53 -07:00
Peter Edberg
544d097fa3 ICU-21546 brs 69, add note about genren process 2021-03-31 16:23:18 -07:00
Long Nguyen
fcd8c34f5e ICU-21560 mingw: Remove version numbers from link flags 2021-03-31 13:02:35 -07:00
Frank Tang
0ba723ded2 ICU-21563 Fix delete-incomplete on windows
See #1671
2021-03-31 12:02:58 -07:00
Frank Tang
bdb4c7025a ICU-21526 Change return of UElementComparator to int32_t
See #1621
2021-03-31 12:02:08 -07:00
Mojca Miklavec
05b20c1ccb ICU-21513 check if TARGET_OS_SIMULATOR has been defined
clang 11 throws an error when using undefined variables starting with
TARGET_OS_, and TARGET_OS_SIMULATOR is missing in earlier versions
of macOS, so the code would not compile without an additional guard.

See also ICU-13440.
2021-03-31 10:49:30 -07:00
Frank Tang
78c3e1ed6d ICU-21562 Add include to fix std:abs build problem 2021-03-30 21:33:22 -07:00
Markus Scherer
46720c4120 ICU-21559 more guards for self-assignment 2021-03-30 12:19:11 -07:00
Frank Tang
15d3f9f65d ICU-21550 Add zzzz to subdivision if len==2
See #1662
2021-03-29 19:04:53 -07:00
Elango Cheran
35fe8534f2 ICU-21310 Consolidate ICU4C and ICU4J Readmes via the User Guide 2021-03-24 19:03:53 -07:00
Hugo van der Merwe
0ad4614a04 ICU-21508 Rename 'master' to 'main' in docs, maven files, scripts, etc
See #1664
2021-03-24 18:56:50 +01:00
Elango Cheran
227c729b0e ICU-21117 Use Bazel to automate generation of Unicode data files 2021-03-24 10:39:38 -07:00
Rich Gillam
29d2e85041 ICU-21552 Changed to only display "Encountered empty table" warning in verbose mode. 2021-03-22 17:03:25 -07:00
Shane F. Carr
0bd125eb45 ICU-21480 Update double-conversion 2021-03-17 19:45:13 -05:00
Frank Tang
cec7de7a39 ICU-21537 Fix invalid free by long locale name
Do not free baseName if it is pointing to fullNameBuffer.

Better Fix
2021-03-17 10:34:27 -07:00
gnrunge
3d7ba6560e ICU-21520 Fixes typo in name of test data file; removes a regex that
evaluates to the empty string and the result files are missing the
perf test name as a result. E.g. '_Mar_16_155820.html' instead of
'unisetperf_Mar_16_155820.html'.
Not obvious why the regex was even created since it doesn't seem
necessary because the name of the caller doesn't require additional
parsing. The rpaticular code is from 2002, maybe changes in Perl
account for the issue(?)
2021-03-16 20:01:16 -07:00
Elango Cheran
2ae2f31c2f ICU-21480 Change ICU4C/J Readme update date after version change 2021-03-16 13:34:06 -07:00
Craig Cornelius
bc7e2e230c ICU-21480 Scrub TODOs for completed issues 21292 and 21236
See #1652
2021-03-16 11:17:14 -07:00