Commit Graph

57 Commits

Author SHA1 Message Date
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
6fd29e25c7 ICU-6132 Recover from allocation errors more gracefully.
X-SVN-Rev: 23399
2008-02-08 09:10:22 +00:00
Michael Ow
d6daed3088 ICU-6132 Check memory leak and null pointers rbbiscan.cpp.
X-SVN-Rev: 23225
2008-01-14 19:26:43 +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
ab838a4310 ICU-5445 Consolidate RuleWhiteSpace implementations, and reduce casting between USet and UnicodeSet.
X-SVN-Rev: 22135
2007-07-25 02:51:25 +00:00
George Rhoten
b27729b208 ICU-5304 Allow source code to work again without using U_NAMESPACE_USE
X-SVN-Rev: 20240
2006-09-03 17:08:23 +00:00
George Rhoten
34c5798a18 ICU-5333 Whitespace changes.
X-SVN-Rev: 20117
2006-08-19 21:27:08 +00:00
Ram Viswanadha
b70227e2c7 ICU-4741 make compare functions for Hashtable and StringEnumeration general
X-SVN-Rev: 18788
2005-11-11 19:23:09 +00:00
Andy Heninger
f327cc7af2 ICU-4773 add beginning of input test to rbbi rules
X-SVN-Rev: 18589
2005-09-27 00:03:32 +00:00
Andy Heninger
2f8dfa2df2 ICU-4703 beam compile warning fixes
X-SVN-Rev: 18377
2005-08-02 00:25:54 +00:00
George Rhoten
b015ef5d41 ICU-4288 Fix some compiler warnings.
X-SVN-Rev: 18159
2005-07-07 17:50:37 +00:00
Eric Mader
41ca4f63ee ICU-4428 update copyright notices for ICU 3.3.
X-SVN-Rev: 17296
2005-03-08 22:49:59 +00:00
Andy Heninger
3da6e43cd6 ICU-4377 fix incorrect parseError info from rbbi rule builder
X-SVN-Rev: 17117
2005-01-13 23:40:17 +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
George Rhoten
85c0552e8f ICU-3905 Fix some compiler warnings.
X-SVN-Rev: 16648
2004-10-27 23:40:36 +00:00
George Rhoten
8066655515 ICU-4078 Remove unused strings.
X-SVN-Rev: 16329
2004-09-15 17:11:47 +00:00
Markus Scherer
53e086dc9a ICU-4078 disentangle conversion and properties code some from other parts of the common library
X-SVN-Rev: 16193
2004-08-26 22:51:40 +00:00
Eric Mader
14fbb48bf9 ICU-3770 Updated copyright notices for ICU 3.0
X-SVN-Rev: 15385
2004-05-18 22:01:41 +00:00
Andy Heninger
8e87b72c79 ICU-3043 RBBI multiple status values, add test. Fix incorrect error code for parse errors on tag values in rules.
X-SVN-Rev: 14642
2004-03-05 22:37:54 +00:00
Andy Heninger
44fe5a69ee ICU-2092 Code Review changes
X-SVN-Rev: 14387
2004-01-23 01:25:19 +00:00
Andy Heninger
a57f032f42 ICU-3437 rbbi debug functions, better conditional compilation.
X-SVN-Rev: 14006
2003-12-04 22:44:05 +00:00
Andy Heninger
840affc200 ICU-2924 rbbi builder, better handling of !!lookAheadHardBreak option
X-SVN-Rev: 13994
2003-12-04 02:12:42 +00:00
Syn Wee Quek
558442a420 ICU-2292 line breaks passing on default option
X-SVN-Rev: 13636
2003-11-07 22:49:38 +00:00
Andy Heninger
26c1c65d9c ICU-2924 RBBI rule builder, detect rule syntax error on missing ';' after !!options
X-SVN-Rev: 13608
2003-11-06 21:54:53 +00:00
Andy Heninger
a9cdcba39e ICU-2924 RBBI rule builder, changes for safe point rules. Work in progress.
X-SVN-Rev: 13578
2003-11-05 02:03:44 +00:00
Andy Heninger
515ffb9930 ICU-2924 RBBI, add !!LBCMNoChain rule option to suppress line break combining mark chaining
X-SVN-Rev: 13461
2003-10-17 23:30:02 +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
Syn Wee Quek
6f094669a2 ICU-2092 error status checks added
X-SVN-Rev: 13050
2003-09-09 23:51:17 +00:00
Andy Heninger
265ed564e0 ICU-2959 copyright updated for RBBI, Regexp files.
X-SVN-Rev: 12228
2003-06-02 22:21:58 +00:00
George Rhoten
7bf253f27f ICU-2785 Don't strip white space anymore. Just strip the new lines.
X-SVN-Rev: 11544
2003-04-14 23:44:31 +00:00
Andy Heninger
71070da39f ICU-2093 RBBI rule make dependencies for UnicodeSet properties adjusted.
Check for empty UnicodeSets added to builder.

X-SVN-Rev: 11476
2003-04-09 00:09:14 +00:00
George Rhoten
c9ed03fc4b ICU-2744 Fix some IRIX problems
X-SVN-Rev: 11329
2003-03-15 01:57:10 +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
Andy Heninger
11960914d0 ICU-2562 better error in breakiterator for missing ICU data.
X-SVN-Rev: 10606
2002-12-11 18:26:35 +00:00
George Rhoten
1341f3bcd1 ICU-2000 Fix some compiler warnings
X-SVN-Rev: 10411
2002-11-30 04:41:53 +00:00
Alan Liu
819429ec06 ICU-2015 move getRuleWhiteSpaceSet to uprops and convert it from C++ to C
X-SVN-Rev: 10177
2002-11-07 01:28:14 +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
Markus Scherer
3d38617bdc ICU-2248 modularize icu, allow parts to not be built
X-SVN-Rev: 9900
2002-09-20 01:54:48 +00:00
Andy Heninger
423eb52850 ICU-2190 RBBI rule builder, fixed incorrect handling of some \escaped chars in rules,
and failure to allow white space before a * or ?

X-SVN-Rev: 9824
2002-08-30 23:04:10 +00:00
Andy Heninger
d2e6ab9355 ICU-2123 Replace awkward RBBI builder data structure. Linked list of
uset nodes replaced by a vector; overloaded use of right child field of node eliminated.

X-SVN-Rev: 9812
2002-08-28 22:24:17 +00:00
George Rhoten
9de782b1eb ICU-2000 Fixed some compiler warnings.
X-SVN-Rev: 9771
2002-08-22 21:01:43 +00:00
George Rhoten
87438a3f34 ICU-2111 Fix for IRIX
X-SVN-Rev: 9738
2002-08-19 16:05:39 +00:00
Andy Heninger
7ab245e6e9 ICU-45 RBBI: conditionalize / remove stdio and stdlib dependencies.
Remove dead code.  Clean up some comments.

X-SVN-Rev: 9509
2002-08-01 16:17:41 +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
George Rhoten
0b135a6401 ICU-1953 Add UErrorCode arguments and tests for allocation.
This also fixes a compiler warning/error when trying to cast NULL.

X-SVN-Rev: 9299
2002-07-24 00:23:41 +00:00
Andy Heninger
7c556849f0 ICU-45 clean up g++ compiler warnings
X-SVN-Rev: 9290
2002-07-23 18:02:13 +00:00
Andy Heninger
0e23352a30 ICU-2011 U_ASSERT macro added
X-SVN-Rev: 9285
2002-07-22 23:24:55 +00:00
Markus Scherer
6be11f8432 ICU-1997 use getRuleWhiteSpace()
X-SVN-Rev: 9261
2002-07-19 21:46:07 +00:00
Markus Scherer
30c37a9114 ICU-1962 use uprv_malloc/free instead of new/delete for non-class types
X-SVN-Rev: 9194
2002-07-16 01:55:55 +00:00