Commit graph

26 commits

Author SHA1 Message Date
Andy Heninger
866254ef12 ICU-21180 BreakIterator, change all NULL to nulptr
In the C++ break iterator code, change all use of NULL to nullptr.
This is in preparation for follow-on PRs to improve out-of-memory error handling
in Break Iterators, keeping use of nullptr consistent between old and new
or updated code.
2022-10-26 18:55:48 -07:00
Cyndy Ishida
0dcb1cb065 ICU-22035 Remove instances of pre c++11 default constructor prevention pattern 2022-06-08 16:28:02 -07:00
Erik Torres
2b895a71e1 ICU-21555 Fix typos in repo from letter d to i
Fix typos in repo from letter d to i
2021-08-30 16:45:43 -05:00
Markus Scherer
a18df7ba28 ICU-21267 stop using FALSE & TRUE macros in most library-internal headers 2020-09-10 13:55:46 -07:00
Andy Heninger
faa2f9f9e1 ICU-20303 Break Iterator, improve handling of look-ahead rules.
- Merge the look-ahead results slots used when multiple rules share a common accepting state.
- Sequentially number the look-ahead result slot. Will eventually allow replacing the runtime map with an array.
- Inhibit chaining out of look-ahead rules. This could never actually happen; when a hard break
  rule matches, the engine is stopped immediately, but the state table was being constructed
  as if it could  happen. Reduces table size for line break rules.
- Remove incorrect handling of fAccepting and fLookAhead fields of a state table row
  when removing duplicate states. Look-ahead slot number was being mis-interpreted as a state number.
2019-12-13 13:17:21 -08:00
Shane Carr
b596462d5a ICU-20508 Fixing -Wextra-semi in library code. 2019-03-22 15:29:45 -07:00
Andy Heninger
242e02c388 ICU-12764 icu4c utf-8 source files, update Copyright notices.
X-SVN-Rev: 39583
2017-01-20 00:20:31 +00:00
Michael Ow
61607c2773 ICU-12564 Update copyright notice in trunk
X-SVN-Rev: 38848
2016-06-15 18:58:17 +00:00
Yoshito Umaoka
00ca13e126 ICU-12564 Reverted r38761 and r38762, because we want to prepend the Unicode copyright for existing source files, instead of replacing copyright comments.
X-SVN-Rev: 38776
2016-05-31 21:45:07 +00:00
Michael Ow
c9f199a30f ICU-12564 Update copyright notice in ICU4C
X-SVN-Rev: 38761
2016-05-26 22:32:17 +00:00
Andy Heninger
9d9256f3b7 ICU-12081 Initial implementation Emoji break rules and a new RBBI monkey test.
X-SVN-Rev: 38387
2016-02-26 21:58:26 +00:00
Markus Scherer
f2186b6d33 ICU-12141 make each internal header file compile by itself; add includes where necessary; add simple test script
X-SVN-Rev: 38341
2016-02-24 00:49:51 +00:00
George Rhoten
de6512a9c1 ICU-6132 Undo some unneccessary changes. Remove some tabs. Make sure that the UErrorCode is propagated when possible. When a UErrorCode is available, don't check for a NULL return value.
X-SVN-Rev: 23479
2008-02-23 19:15:18 +00:00
George Rhoten
4149802897 ICU-6125 Turn multiple consts into one enum.
X-SVN-Rev: 23360
2008-02-07 09:26:30 +00:00
George Rhoten
967b65a458 ICU-5889 Fix some logic errors uncovered by BEAM.
X-SVN-Rev: 22558
2007-08-29 02:57:42 +00:00
George Rhoten
27fd8e382d ICU-4733 Use int32_t instead of int.
X-SVN-Rev: 18458
2005-08-23 18:44:52 +00:00
George Rhoten
2f83fa1b86 ICU-4092 Remove dead code to improve code coverage numbers.
X-SVN-Rev: 16993
2004-12-22 00:23:15 +00:00
Alan Liu
c91c33fbdf ICU-3262 make UnicodeSet constructor and applyPattern() taking a ParsePosition, options bit mask, and SymbolTable pointer public
X-SVN-Rev: 13417
2003-10-14 21:47:59 +00:00
Andy Heninger
d4524826ed ICU-2924 RBBI, new style rule format, new line break rules. (14 known test failures, will fix real soon.)
X-SVN-Rev: 13364
2003-10-09 01:13:08 +00:00
Vladimir Weinstein
c9475e02ae ICU-2959 Updated copyright notices
X-SVN-Rev: 12246
2003-06-03 06:44:40 +00:00
George Rhoten
f1919822df ICU-2648 Reduce the size of .brk files, and test that the rules roundtrip.
X-SVN-Rev: 11076
2003-02-17 18:06:42 +00:00
Markus Scherer
87ab6dcc57 ICU-2244 change internal classes to inherit UMemory, not UObject
X-SVN-Rev: 9960
2002-10-04 01:23:34 +00:00
Andy Heninger
8714fcad68 ICU-45 clean up more g++ compiler warnings
X-SVN-Rev: 9314
2002-07-24 19:07:37 +00:00
Markus Scherer
11948b52df ICU-1962 change UObject: RTTI pure virtual, remove other boilerplate for now
X-SVN-Rev: 8977
2002-06-29 00:04:16 +00:00
Markus Scherer
5a81709c73 ICU-1962 derive all ICU C++ classes from common UObject base class
X-SVN-Rev: 8953
2002-06-27 01:19:20 +00:00
Andy Heninger
32c09250b7 ICU-45 new builder for RBBI rules, initial checkin
X-SVN-Rev: 8939
2002-06-25 17:23:07 +00:00