Commit Graph

5957 Commits

Author SHA1 Message Date
Alan Liu
d56b33f27e Use UInfo-based character property methods; minor fixes
X-SVN-Rev: 1453
2000-05-24 17:28:21 +00:00
Alan Liu
5553497e0f Add UInfo-based character property methods
X-SVN-Rev: 1452
2000-05-24 17:27:35 +00:00
Alan Liu
a2cea3f2da Port TestJ277 from ICU
X-SVN-Rev: 1443
2000-05-23 16:51:28 +00:00
Alan Liu
4576173828 Initial checkin; creates ICU rules from ICU4J rules
X-SVN-Rev: 1442
2000-05-23 16:50:38 +00:00
Alan Liu
721dca33fc Fix off by one bug in UnicodeSet variable parsing
X-SVN-Rev: 1441
2000-05-23 16:49:40 +00:00
Alan Liu
fbb6c04c00 Fix typo SEPEATOR -> SEPARATOR
X-SVN-Rev: 1440
2000-05-23 16:49:04 +00:00
Alan Liu
97a228e07a Fix doc; remove unused auto
X-SVN-Rev: 1439
2000-05-23 16:48:27 +00:00
Alan Liu
ed4a6972fc Don't use C comments; replace with C++ comments
X-SVN-Rev: 1438
2000-05-23 16:47:48 +00:00
Alan Liu
d60cec0ada Update docs
X-SVN-Rev: 1412
2000-05-18 22:49:51 +00:00
Alan Liu
4dea43407d Make SYMBOL_REF static
X-SVN-Rev: 1411
2000-05-18 22:49:20 +00:00
Alan Liu
3f8d04ca3c Update docs
X-SVN-Rev: 1409
2000-05-18 21:37:19 +00:00
Alan Liu
47b6a57c60 Add tests from inversion list test code; enhance tests to detect new problems
X-SVN-Rev: 1403
2000-05-18 19:13:18 +00:00
Alan Liu
eba3048b0a Don't call System.out.println in tests
X-SVN-Rev: 1402
2000-05-18 19:11:55 +00:00
Alan Liu
45ef6aac00 Change System.out.println to logln
X-SVN-Rev: 1401
2000-05-18 19:11:27 +00:00
Alan Liu
bbd9061552 Add output detail
X-SVN-Rev: 1400
2000-05-18 19:10:47 +00:00
Alan Liu
9e250a141d Move up to com.ibm.test package; delete com.ibm.test.topleveltest package
X-SVN-Rev: 1398
2000-05-18 19:10:19 +00:00
Alan Liu
158c8d3760 Update to support child tests properly
X-SVN-Rev: 1397
2000-05-18 19:09:51 +00:00
Alan Liu
7ee2df21f2 Move from topleveltest package; update to include new tests, and to use new TestFmwk API
X-SVN-Rev: 1396
2000-05-18 19:09:38 +00:00
Alan Liu
290c607266 Update path to Unicode data file to be relative to icu4j root dir
X-SVN-Rev: 1395
2000-05-18 19:08:40 +00:00
Alan Liu
8b47407a5e Rewrite UnicodeSet to use an inversion list internally. Some API changes.
X-SVN-Rev: 1394
2000-05-18 19:03:36 +00:00
Eric Mader
b44da5a3e1 Added "impel" and "unalienable"
X-SVN-Rev: 1363
2000-05-13 18:28:35 +00:00
Alan Liu
88e3406421 Add TimeZone and SimpleTimeZone to com.ibm.util.
X-SVN-Rev: 1360
2000-05-12 23:21:32 +00:00
Eric Mader
6c92553260 Added missing words, removed obscure words and some words that should be capitalized.
X-SVN-Rev: 1358
2000-05-12 01:32:29 +00:00
Eric Mader
8afebd5a10 Need to reset state to 0 when backing up.
X-SVN-Rev: 1357
2000-05-12 01:30:35 +00:00
Eric Mader
3ce17a1037 Correct two spelling errors in the Declaration of Independence.
X-SVN-Rev: 1356
2000-05-12 01:29:30 +00:00
Eric Mader
6da1e6e996 Merge with the current default word break and line break rules.
X-SVN-Rev: 1355
2000-05-12 01:29:02 +00:00
Doug Felt
824dc0c4f3 Whoops, need to force scroller block increment to at least 1, not 0.
X-SVN-Rev: 1348
2000-05-11 18:08:42 +00:00
Doug Felt
5275593e3f Scrollbars were getting created with negative block increments
if the component were not yet visible, leading to warnings on linux
systems.  Force block increment to at least zero in order to avoid
spurious warnings.

X-SVN-Rev: 1347
2000-05-10 21:54:57 +00:00
Doug Felt
afc7dc4f92 Sometimes the offscreen buffer was getting created
before the component was fully initialized.  This does not
create the buffer unless the component is visible.

X-SVN-Rev: 1346
2000-05-10 21:52:50 +00:00
Eric Mader
a4a8090ea9 Built with a larger word list and in the correct format...
X-SVN-Rev: 1345
2000-05-09 22:55:23 +00:00
Eric Mader
5f3646b38e Convert rules to new syntax.
X-SVN-Rev: 1344
2000-05-09 22:54:31 +00:00
Eric Mader
f5f970869c Hack to keep state machine for Thai word break rules from getting
stuck.

X-SVN-Rev: 1343
2000-05-09 22:50:42 +00:00
Eric Mader
24ba81049f Treat state like an unsigned short.
X-SVN-Rev: 1342
2000-05-09 22:49:12 +00:00
Eric Mader
8e742fa555 Copy english.dict to com.ibm.demo.rbbi instead of
com.ibm.text.resources

X-SVN-Rev: 1341
2000-05-09 22:44:28 +00:00
Eric Mader
c302b8c30d Changes for building large dictionaries.
X-SVN-Rev: 1340
2000-05-09 22:38:37 +00:00
Eric Mader
244719a599 Source file for building english.dict for rbbi demo.
X-SVN-Rev: 1339
2000-05-09 22:37:47 +00:00
Alan Liu
749ff7c5f6 Modify rules to maintain round-trip jamo-latin-jamo integrity
X-SVN-Rev: 1303
2000-05-01 20:56:34 +00:00
Alan Liu
d290f6a810 Extend error limit
X-SVN-Rev: 1302
2000-05-01 20:56:04 +00:00
Alan Liu
db7b1742ee Update syntax displayed by toString
X-SVN-Rev: 1292
2000-04-28 01:22:01 +00:00
Alan Liu
041d02897d Fix some pathological corner cases that fail round-trip
X-SVN-Rev: 1291
2000-04-28 01:21:29 +00:00
Alan Liu
31a28e98a1 Fix syntax errors
X-SVN-Rev: 1290
2000-04-28 00:25:54 +00:00
Alan Liu
8c56afe778 Improve error reporting
X-SVN-Rev: 1289
2000-04-28 00:25:42 +00:00
Alan Liu
c65b44c418 Update zip target
X-SVN-Rev: 1288
2000-04-27 23:34:06 +00:00
Alan Liu
8c22392060 Fix javadoc link errors
X-SVN-Rev: 1285
2000-04-27 22:41:39 +00:00
Alan Liu
14d85f2ab6 Fix javadoc errors
X-SVN-Rev: 1284
2000-04-27 22:34:40 +00:00
Alan Liu
c41110aae0 Cleanup
X-SVN-Rev: 1283
2000-04-27 22:28:47 +00:00
Alan Liu
8605327ffc Fix apparent typo
X-SVN-Rev: 1282
2000-04-27 22:17:47 +00:00
Alan Liu
057e6f20b9 Fix round trip failures by marking misplaced finals/nonfinals with ^/~
X-SVN-Rev: 1270
2000-04-26 23:25:53 +00:00
Alan Liu
392e27e223 Modify rules to fix round trip failures
X-SVN-Rev: 1268
2000-04-26 21:34:16 +00:00
Alan Liu
17fb1e156d Cleanup
X-SVN-Rev: 1267
2000-04-26 21:22:55 +00:00
Alan Liu
a7adfb1195 Modify handling of small h/k 'i' and 'vu' to allow round trip
X-SVN-Rev: 1266
2000-04-26 21:22:25 +00:00
Eric Mader
1799a86bdb Don't use getDisplayName() to select the display locale 'cause it
may not have gone in the menu that way... set and use selectMe
instead.

X-SVN-Rev: 1265
2000-04-26 19:13:48 +00:00
Eric Mader
44482299e1 Added DemoUtilities.compareLocales for partial matching of locales,
changed calendar demos to use it when building display langauge
menus.

X-SVN-Rev: 1264
2000-04-26 18:40:15 +00:00
Alan Liu
3d98d09a42 Fixed err/errln/logln stuff.
X-SVN-Rev: 1261
2000-04-26 17:39:58 +00:00
Alan Liu
7ae37ad56d Import Mark Davis' round trip test - currently fails!
X-SVN-Rev: 1260
2000-04-26 17:13:17 +00:00
Alan Liu
18003aee55 Create TestLog interface to allow delegation to non subclasses
X-SVN-Rev: 1259
2000-04-26 17:11:52 +00:00
Alan Liu
1c73019fa1 Make -v a synonym for -verbose
X-SVN-Rev: 1248
2000-04-25 17:40:11 +00:00
Alan Liu
19a8da8356 Minor parser cleanup.
X-SVN-Rev: 1247
2000-04-25 17:38:00 +00:00
Alan Liu
7e1ccff554 Eliminate ReplaceableString.getBuffer
X-SVN-Rev: 1246
2000-04-25 17:19:34 +00:00
Alan Liu
004aad2638 ICU4J -> icu4j
X-SVN-Rev: 1245
2000-04-25 17:18:28 +00:00
Alan Liu
943b8564c9 Add Replaceable.copy to retain out-of-band info during reordering.
X-SVN-Rev: 1244
2000-04-25 17:17:37 +00:00
Alan Liu
0b9db3eadf Add test for arbitrary length variable values.
X-SVN-Rev: 1243
2000-04-25 01:43:23 +00:00
Alan Liu
7a49adef39 Allow arbitrary length variable values. Clean up Data API. Update javadocs.
X-SVN-Rev: 1242
2000-04-25 01:42:58 +00:00
Alan Liu
cd1cfb9094 Remove unreachable null statement
X-SVN-Rev: 1241
2000-04-25 00:18:51 +00:00
Alan Liu
d9b4e9ad3d Added RichEdit tests.
X-SVN-Rev: 1238
2000-04-24 21:33:07 +00:00
Alan Liu
457b7786c1 no message
X-SVN-Rev: 1237
2000-04-24 21:11:45 +00:00
Alan Liu
75c7b20231 Moved to new package - now uses FmwkTestTextPanel.
X-SVN-Rev: 1236
2000-04-24 21:11:30 +00:00
Alan Liu
d53240de34 Wraps TestTextPanel for TestFmwk.
X-SVN-Rev: 1235
2000-04-24 21:10:58 +00:00
Alan Liu
3f0c7da3c8 Modified package spec.
X-SVN-Rev: 1234
2000-04-24 20:52:58 +00:00
Alan Liu
1732485c3d Moved to test packages
X-SVN-Rev: 1232
2000-04-24 20:38:00 +00:00
Alan Liu
29a5eb3759 no message
X-SVN-Rev: 1231
2000-04-24 20:37:28 +00:00
Alan Liu
99cee5964d Removed dependency on TestFmwk.
X-SVN-Rev: 1230
2000-04-24 20:28:24 +00:00
Alan Liu
e8bebfd0e8 Added command to add RichEdit docs to RichEdit zip dir.
X-SVN-Rev: 1227
2000-04-24 17:14:39 +00:00
Alan Liu
995ca45baa Now posting key event directly to host component.
X-SVN-Rev: 1225
2000-04-22 17:10:10 +00:00
Alan Liu
d7486cddca Added ability to specify file (styled or plain) and insertion text on command line.
X-SVN-Rev: 1224
2000-04-22 17:08:46 +00:00
Alan Liu
b367c0063b no message
X-SVN-Rev: 1221
2000-04-22 03:31:34 +00:00
Alan Liu
cc1c0006c6 Made getDocumentFromFile static and public.
X-SVN-Rev: 1220
2000-04-22 03:30:52 +00:00
Alan Liu
2af3ed4269 Add support for cursor positioner '@'
X-SVN-Rev: 1219
2000-04-22 01:29:14 +00:00
Alan Liu
011d1e1344 Add support for cursor positioner '@'; update javadoc
X-SVN-Rev: 1218
2000-04-22 01:25:10 +00:00
Alan Liu
d1944a2465 Narrow range to 21 - 7E for mandatory quoting.
X-SVN-Rev: 1217
2000-04-22 00:08:43 +00:00
Alan Liu
0460815e8c Quote all special characters.
X-SVN-Rev: 1216
2000-04-22 00:04:39 +00:00
Alan Liu
be940edb7b Disallow unquoted special chars. Report multiple errors at once.
X-SVN-Rev: 1215
2000-04-22 00:03:54 +00:00
Alan Liu
578dd7bcfa changed println to logln.
X-SVN-Rev: 1214
2000-04-21 22:48:49 +00:00
Alan Liu
f88555f6d8 Clean up parseReference. Previous log should read 'delegate', not 'delete'.
X-SVN-Rev: 1213
2000-04-21 22:23:40 +00:00
Alan Liu
aa61987272 Delete variable name parsing to SymbolTable interface to consolidate parsing code.
X-SVN-Rev: 1212
2000-04-21 22:16:29 +00:00
Alan Liu
ffaec2e342 Now using icu4j test framework.
X-SVN-Rev: 1211
2000-04-21 22:11:24 +00:00
Alan Liu
2b1cdd4f74 Modify rule syntax
X-SVN-Rev: 1210
2000-04-21 21:17:08 +00:00
Alan Liu
f445f984a4 Added build targets for RichEdit jar and zip files.
X-SVN-Rev: 1205
2000-04-21 00:19:24 +00:00
Eric Mader
e75d5d93c0 Changed "com.ibm.richtext" to "com.ibm.richtext.*" for docs target.
X-SVN-Rev: 1202
2000-04-20 21:40:23 +00:00
Alan Liu
7c369148a6 Changed arg name in inner class.
X-SVN-Rev: 1196
2000-04-20 19:29:08 +00:00
Alan Liu
06a70de3f9 Removed an extra semicolon.
X-SVN-Rev: 1195
2000-04-20 19:23:12 +00:00
Alan Liu
450fe1fadc Add com.ibm.richtext to docs
X-SVN-Rev: 1194
2000-04-20 18:46:25 +00:00
Alan Liu
5acd67515d Added RichEdit control to compilation, but not to jar.
X-SVN-Rev: 1193
2000-04-20 17:57:12 +00:00
Alan Liu
c4a2d01698 RichEdit control. UI implementation shared between AWT and Swing.
X-SVN-Rev: 1192
2000-04-20 17:52:46 +00:00
Alan Liu
e9f426a35d RichEdit AWT and Swing panels. This is the central package for the control.
X-SVN-Rev: 1191
2000-04-20 17:51:23 +00:00
Alan Liu
bf82494a6f RichEdit control formatting engine. This package uses the Java2D Complex Text API's.
X-SVN-Rev: 1190
2000-04-20 17:50:03 +00:00
Alan Liu
d6ed5975e9 RichEdit control classes - miscellaneous applications built with the RichEdit control.
X-SVN-Rev: 1189
2000-04-20 17:49:11 +00:00
Alan Liu
836a55c735 RichEdit control classes - tests.
X-SVN-Rev: 1188
2000-04-20 17:46:57 +00:00
Alan Liu
3e71bec515 RichEdit control classes - swing menus, dialogs, panels and frames.
X-SVN-Rev: 1187
2000-04-20 17:46:22 +00:00
Alan Liu
4df0579885 RichEdit control classes - swing versions of demos.
X-SVN-Rev: 1186
2000-04-20 17:45:42 +00:00
Alan Liu
0622187d5a RichEdit control classes - styled text storage.
X-SVN-Rev: 1185
2000-04-20 17:45:10 +00:00
Alan Liu
7dd3e16ec6 RichEdit control classes - printing support.
X-SVN-Rev: 1184
2000-04-20 17:44:33 +00:00
Alan Liu
5a7f23ea3d RichEdit control classes. This package contains the files for EditDemo and CodeEdit, two demo's of the RichEdit control.
X-SVN-Rev: 1183
2000-04-20 17:43:09 +00:00
Alan Liu
460bec23d3 RichEdit control classes. This package creates AWT menu items,
and contains an AWT TabRuler and text frame.

X-SVN-Rev: 1182
2000-04-20 17:41:49 +00:00
Alan Liu
5cfa36a1fe RichEdit control classes
X-SVN-Rev: 1181
2000-04-20 17:33:31 +00:00
Alan Liu
5f7a92e6c0 RichEdit control - JDK 1.1 compatibility classes
X-SVN-Rev: 1180
2000-04-20 17:33:07 +00:00
Alan Liu
71b21e2eeb Update javadoc; fix compile error
X-SVN-Rev: 1166
2000-04-19 17:35:23 +00:00
Alan Liu
2947282e42 Add segment support.
X-SVN-Rev: 1165
2000-04-19 16:37:38 +00:00
Alan Liu
7ed0a330a8 Added zip and zipsrc targets to build.xml.
X-SVN-Rev: 1132
2000-04-14 22:59:53 +00:00
Alan Liu
c4c3fe0ffd Hyperlink isWeekend javadoc
X-SVN-Rev: 1130
2000-04-14 01:44:35 +00:00
Alan Liu
f61ea0e560 Fix javadoc errors
X-SVN-Rev: 1129
2000-04-14 01:37:27 +00:00
Alan Liu
7ba8c67c86 Remove duplicate mkdirs; amend copyright
X-SVN-Rev: 1128
2000-04-14 01:15:08 +00:00
Alan Liu
659587d574 Remove MS Office garbage and rewrite build section to conform to current status
X-SVN-Rev: 1127
2000-04-14 00:21:00 +00:00
Alan Liu
9e2c7d654e Exclude unwanteds from jar
X-SVN-Rev: 1126
2000-04-14 00:20:03 +00:00
Alan Liu
8e44d6cdf7 Exclude .java files under CVS/Base from build
X-SVN-Rev: 1125
2000-04-13 23:08:38 +00:00
Alan Liu
c6794e2bba Make work with ant 3.1 beta
X-SVN-Rev: 1123
2000-04-13 22:52:41 +00:00
Alan Liu
c6a96e7684 Delegate replace operation to rule object
X-SVN-Rev: 1119
2000-04-12 20:17:45 +00:00
John Fitzpatrick
c420e90cf3 Initial checkin
X-SVN-Rev: 1071
2000-04-05 18:05:11 +00:00
John Fitzpatrick
a7322ccf5c Restored com.ibm.math.BigDecimal support
X-SVN-Rev: 1070
2000-04-05 18:00:19 +00:00
John Fitzpatrick
bde27a6d88 Restored com.ibm.math.BigDecimal support
X-SVN-Rev: 1069
2000-04-05 17:40:54 +00:00
John Fitzpatrick
96dce060a3 Restored com.ibm.math.BigDecimal support
X-SVN-Rev: 1068
2000-04-05 17:04:30 +00:00
John Fitzpatrick
9d7cfece10 Fixed some complete class names to use the new packages.
X-SVN-Rev: 1067
2000-04-05 17:01:53 +00:00
John Fitzpatrick
d689922026 Updated to build com.ibm.math
X-SVN-Rev: 1046
2000-03-31 22:39:00 +00:00
John Fitzpatrick
baa708ff68 Updated demos to compile with new calendar classes in
com.ibm.util

X-SVN-Rev: 1043
2000-03-31 18:49:02 +00:00
John Fitzpatrick
15fa18bc56 initial checkin
X-SVN-Rev: 1031
2000-03-30 00:17:54 +00:00
John Fitzpatrick
08016523ee initial checkin
X-SVN-Rev: 1030
2000-03-29 23:55:00 +00:00
John Fitzpatrick
28b8176914 Added command to generate javadoc
X-SVN-Rev: 994
2000-03-27 22:39:42 +00:00
John Fitzpatrick
5563d13b38 updated bad link to download page
X-SVN-Rev: 981
2000-03-24 00:04:00 +00:00
John Fitzpatrick
05d0b518f6 added information about the buildall.bat script
X-SVN-Rev: 980
2000-03-23 23:55:09 +00:00
John Fitzpatrick
a2aa949d59 initial checkin
X-SVN-Rev: 979
2000-03-23 22:18:48 +00:00
Alan Liu
f7a4bbd75b Port fix for ICU (4c) jitterbug 243; Hex-Unicode and Unicode-Hex support for prefixes, suffixes, and digit counts through a pattern syntax
X-SVN-Rev: 971
2000-03-22 02:00:08 +00:00
Alan Liu
babd74d8a1 Add javadoc comments for new fields.
X-SVN-Rev: 967
2000-03-21 17:05:48 +00:00
Alan Liu
5043fda0b0 Fix isWeekend() etc. API and implementation. Remove temporary static API from IBMCalendar and create proper API in Calendar.
X-SVN-Rev: 966
2000-03-21 02:51:43 +00:00
Alan Liu
14248040ac Incorporate regression and basic compatibility tests for Calendar and GregorianCalendar
X-SVN-Rev: 965
2000-03-21 02:20:37 +00:00
Alan Liu
4fd6c9e7c3 Use com.ibm.util.Calendar, com.ibm.util.GregorianCalendar, and com.ibm.text.DateFormat
X-SVN-Rev: 964
2000-03-21 02:20:08 +00:00
John Fitzpatrick
59c7bb0997 fixed bad dowload link
X-SVN-Rev: 960
2000-03-20 20:47:47 +00:00
John Fitzpatrick
421d0b9673 Initial checkin
X-SVN-Rev: 956
2000-03-15 21:37:48 +00:00
John Fitzpatrick
e3c8a011fb Added package documentation
X-SVN-Rev: 955
2000-03-15 21:35:53 +00:00
John Fitzpatrick
3ce53a29c6 Changed "jcu" to "icu4j"
X-SVN-Rev: 953
2000-03-15 17:44:44 +00:00
John Fitzpatrick
2a94586501 added package documentation
X-SVN-Rev: 952
2000-03-15 17:44:12 +00:00
John Fitzpatrick
a7e29a76ef Added package documentation
X-SVN-Rev: 951
2000-03-15 06:54:50 +00:00
John Fitzpatrick
34e4d2438c Added package documentation
X-SVN-Rev: 950
2000-03-15 06:28:48 +00:00
John Fitzpatrick
ddc6bc0493 Updated to the latest version of ant
X-SVN-Rev: 949
2000-03-15 00:40:28 +00:00
John Fitzpatrick
4ab53783f1 Changed javadoc comment
X-SVN-Rev: 947
2000-03-14 19:54:51 +00:00
John Fitzpatrick
2fe428804e Changed javadoc comment
X-SVN-Rev: 946
2000-03-14 19:48:25 +00:00
Alan Liu
67173452de Initial isWeekend etc implementation, data, and test, with temporary API
X-SVN-Rev: 945
2000-03-14 18:09:36 +00:00
John Fitzpatrick
c2c02cd525 Now copy english_dict to proper place when compiling demos
X-SVN-Rev: 944
2000-03-13 19:18:54 +00:00
Laura Werner
215ba048b9 Use REM instead of Java-style comments
X-SVN-Rev: 942
2000-03-10 23:50:23 +00:00
John Fitzpatrick
2fb1f7ac01 Copyright update
X-SVN-Rev: 940
2000-03-10 04:18:06 +00:00
John Fitzpatrick
1e6262055e Copyright update
X-SVN-Rev: 939
2000-03-10 04:07:32 +00:00
John Fitzpatrick
2f3ddc9f3e Copyright update
X-SVN-Rev: 938
2000-03-10 03:47:47 +00:00
John Fitzpatrick
fdf872dd09 Taking the plunge to Ant build system
X-SVN-Rev: 936
2000-03-10 01:33:53 +00:00
John Fitzpatrick
b4c2715073 Fixed test failure. ClassCastException because the dictionary
name wasn't a URL as expected  by BreakIterator

X-SVN-Rev: 934
2000-03-10 00:20:05 +00:00
John Fitzpatrick
334569110b Updated the name to ICU4J in the JavaDoc
X-SVN-Rev: 932
2000-03-09 18:38:20 +00:00
Alan Liu
0e484c7af7 Add applyPattern overload
X-SVN-Rev: 925
2000-03-09 00:37:19 +00:00
Alan Liu
cbfbc72864 Rename spurious textXxx methods to _textXxx
X-SVN-Rev: 924
2000-03-09 00:22:06 +00:00
Alan Liu
19841ceb74 Comment out debugging printlns
X-SVN-Rev: 923
2000-03-09 00:21:42 +00:00
Alan Liu
c9fd419e20 Construct UnicodeSets making whitespace significant
X-SVN-Rev: 922
2000-03-09 00:08:04 +00:00
Alan Liu
befefaa64c Overwrite with version that passes the tests
X-SVN-Rev: 921
2000-03-09 00:07:16 +00:00
Alan Liu
3c6e2dc125 Construct UnicodeSets making whitespace significant
X-SVN-Rev: 920
2000-03-08 23:56:21 +00:00
Alan Liu
396711af88 Make whitespace ignoring optional for RBBI
X-SVN-Rev: 919
2000-03-08 23:55:34 +00:00
Alan Liu
fbee131420 Remove debugging printlns
X-SVN-Rev: 918
2000-03-08 23:50:19 +00:00
Alan Liu
80a86736aa Fix equals and enhance error checking
X-SVN-Rev: 917
2000-03-08 21:56:41 +00:00
John Fitzpatrick
c787644878 Removed name conflict with BreakIteratorRules_en_US_TEST
used in rbbi tests

X-SVN-Rev: 915
2000-03-07 23:23:39 +00:00
John Fitzpatrick
a5493ca8ef Fixed to work with topleveltest.TestAll. The main function did
initialization that needed to be moved to the constructor.

X-SVN-Rev: 914
2000-03-07 22:54:08 +00:00
John Fitzpatrick
b79ec714b9 fixed compile errors
X-SVN-Rev: 913
2000-03-07 22:11:51 +00:00
John Fitzpatrick
a8a0fd260a Started copyright update
X-SVN-Rev: 912
2000-03-07 22:09:03 +00:00
John Fitzpatrick
c676f9996c initial checkin
X-SVN-Rev: 911
2000-03-07 19:18:04 +00:00
John Fitzpatrick
adf90ac2dc Fixed for JDK1.3 compatibility - DateFormat.getDateTimeInstance
no longer took -1 as a style.

X-SVN-Rev: 896
2000-03-06 22:44:44 +00:00
John Fitzpatrick
fe7cc000bd Changed RuleBasedBreakIterator package to rbbi
X-SVN-Rev: 883
2000-03-02 01:35:55 +00:00
John Fitzpatrick
1fe2cd9753 No longer make Chinese calendar resources
X-SVN-Rev: 882
2000-03-02 01:29:15 +00:00
John Fitzpatrick
19848c7c2f Problem with creating the classes directory fixed
X-SVN-Rev: 881
2000-03-02 01:28:03 +00:00
John Fitzpatrick
db6605a3c1 No longer need to include decimal.jar and decimal1.jar in the
classpath.

X-SVN-Rev: 880
2000-03-02 01:04:42 +00:00
John Fitzpatrick
f0a452ef9d NumberFormat.java fell victim to ^Ms
X-SVN-Rev: 879
2000-03-02 01:01:04 +00:00
John Fitzpatrick
b8c5e71817 Change name of RuleBasedBreakIterator directory to rbbi
X-SVN-Rev: 878
2000-03-02 00:39:50 +00:00
John Fitzpatrick
6c04fa20a6 No longer include com.ibm.math.BigDecimal support
X-SVN-Rev: 877
2000-03-01 23:48:11 +00:00
John Fitzpatrick
27a4494f9e initial checkin
X-SVN-Rev: 876
2000-03-01 18:32:32 +00:00
John Fitzpatrick
08009dd620 Added calendar tests to make file
X-SVN-Rev: 875
2000-03-01 17:31:30 +00:00
John Fitzpatrick
1a5ff471ff Added code so FormatHelper didn't throw ClassCastExcepions.
It can get both the java.text and the com.ibm.text versions
of SimpleDateFormat but did not distinguish between the two.

X-SVN-Rev: 874
2000-03-01 17:31:17 +00:00
John Fitzpatrick
95cf4d48cb Fixed ClassCastExceptions. The code confused
java.text.SimpleDateFormat and com.ibm.text.SimpleDateFormat
and it caused casting problems.

X-SVN-Rev: 872
2000-03-01 17:25:22 +00:00
John Fitzpatrick
61fdf8bb2a Remove Chinese calendar
X-SVN-Rev: 871
2000-03-01 01:57:00 +00:00
John Fitzpatrick
be26231e9a Cleaned import statements
X-SVN-Rev: 870
2000-03-01 01:34:13 +00:00
John Fitzpatrick
737235ac01 Cleaned import statements
X-SVN-Rev: 869
2000-03-01 01:34:12 +00:00
John Fitzpatrick
bf42bd1572 Fixed bad package name in make file
X-SVN-Rev: 867
2000-02-29 19:51:41 +00:00
John Fitzpatrick
db6d551cda Fixed make file to correctly copy dictionary files. For some reason it
wasn't doing a proper symbol substitution and was grabbing files
from the classes/ directory instead of the /src directory

X-SVN-Rev: 863
2000-02-29 18:16:23 +00:00
Alan Liu
abb7947b06 Fix off by one error
X-SVN-Rev: 861
2000-02-29 01:19:02 +00:00
John Fitzpatrick
cbe883535b initial checkin
X-SVN-Rev: 860
2000-02-28 18:04:30 +00:00
John Fitzpatrick
a01bfa4832 Changed the default data file src/data/unicode/UnicodeData.txt
X-SVN-Rev: 859
2000-02-28 04:14:47 +00:00
John Fitzpatrick
ae768ebd30 Removed some debug print statements
X-SVN-Rev: 858
2000-02-28 04:11:56 +00:00
John Fitzpatrick
b51f59177a Cleaned up some of the imports
X-SVN-Rev: 857
2000-02-28 04:09:23 +00:00
John Fitzpatrick
4b4c8dbf6c Modified dictionary rules to always install dictionaries in the
com/ibm/text/resources directory.

X-SVN-Rev: 856
2000-02-28 04:07:52 +00:00
John Fitzpatrick
3df9f41d3e Added english dictionary file
X-SVN-Rev: 855
2000-02-28 04:04:49 +00:00
John Fitzpatrick
8b76b96b29 Needed for test
X-SVN-Rev: 854
2000-02-28 01:27:47 +00:00
John Fitzpatrick
5e2912446e Removed ChineseDateFormat stuff because the Chinese
calendar doesn't work.

X-SVN-Rev: 853
2000-02-28 01:10:41 +00:00
John Fitzpatrick
f2ab64247f Removed FooTest
X-SVN-Rev: 852
2000-02-28 01:03:14 +00:00
John Fitzpatrick
a70b0649f1 Removed xUtility.java
X-SVN-Rev: 851
2000-02-28 00:54:58 +00:00
John Fitzpatrick
ce5a19c69f initial checkin
X-SVN-Rev: 850
2000-02-28 00:47:29 +00:00
John Fitzpatrick
f9b3933cdc misc
X-SVN-Rev: 849
2000-02-27 06:24:34 +00:00
John Fitzpatrick
254a78e5c9 Fixed (cough) test failure
X-SVN-Rev: 848
2000-02-27 05:56:09 +00:00
John Fitzpatrick
0d93fe3f55 Corrected test failures
X-SVN-Rev: 847
2000-02-27 04:40:32 +00:00
John Fitzpatrick
ca2cd2be68 Test now defaults to using data in ../src/data/unicode/UnicodeData.txt
X-SVN-Rev: 846
2000-02-26 23:30:48 +00:00
John Fitzpatrick
545b377a6f Fixed bad test data in com.ibm.test.normalizer.BasicTest
X-SVN-Rev: 845
2000-02-26 23:19:25 +00:00
John Fitzpatrick
d484328e89 misc
X-SVN-Rev: 844
2000-02-26 22:01:44 +00:00
John Fitzpatrick
c22fde3d5a Added search directory
X-SVN-Rev: 843
2000-02-26 22:01:20 +00:00
John Fitzpatrick
1a9d04805e initial checkin
X-SVN-Rev: 842
2000-02-26 22:00:57 +00:00
John Fitzpatrick
4eea789464 regenerated from unicode 3.0 data
X-SVN-Rev: 841
2000-02-26 21:59:50 +00:00
John Fitzpatrick
f2fb87c0e6 Now provides a default location for the data file in
../src/data/unicode/UnicodeData.txt

X-SVN-Rev: 840
2000-02-26 21:56:55 +00:00
John Fitzpatrick
eb25a2e30f Fixed problem with building tools target
X-SVN-Rev: 839
2000-02-26 21:55:44 +00:00
Alan Liu
9fe00cdf0d Fix bug in call to UnicodeSet constructor for single char. ADD TEMPORARY DEBUGGING CODE.
X-SVN-Rev: 838
2000-02-26 02:22:15 +00:00
Alan Liu
ff5c0ac734 Improve error reporting
X-SVN-Rev: 837
2000-02-26 02:21:37 +00:00
John Fitzpatrick
6c1674a023 Fixed compile errors
X-SVN-Rev: 836
2000-02-26 00:47:20 +00:00
John Fitzpatrick
18b45a378b Fixed to use test framework
X-SVN-Rev: 835
2000-02-26 00:45:57 +00:00
John Fitzpatrick
2035894fe7 Removed Chinese Calendar classes
X-SVN-Rev: 834
2000-02-25 23:57:12 +00:00
John Fitzpatrick
9fbf06bfe8 Removed sizes.txt
X-SVN-Rev: 833
2000-02-25 23:27:48 +00:00
John Fitzpatrick
6201c76bf0 Fixed tests to use test framework
X-SVN-Rev: 832
2000-02-25 23:26:56 +00:00
John Fitzpatrick
3f95e1d4a8 Now recogniser methods starting with lower case "test"
X-SVN-Rev: 831
2000-02-25 18:57:12 +00:00
John Fitzpatrick
1a647959a3 Formatting cleanup
X-SVN-Rev: 827
2000-02-25 18:38:20 +00:00
John Fitzpatrick
cc1ee7cb9e initial checkin
X-SVN-Rev: 826
2000-02-25 18:27:21 +00:00
John Fitzpatrick
2f326b3916 cvs lost its mind and checked a new file in over this one from a different directory!
X-SVN-Rev: 825
2000-02-25 18:24:53 +00:00
John Fitzpatrick
2025e208d2 Added topleveltest
X-SVN-Rev: 824
2000-02-25 18:23:15 +00:00
Alan Liu
7cb08010aa Convert to latin-1 and use variables
X-SVN-Rev: 823
2000-02-24 21:21:29 +00:00
Alan Liu
451494f1dc Add infinite loop check
X-SVN-Rev: 822
2000-02-24 20:46:49 +00:00
Alan Liu
bb061b300b Fix bug in UnicodeSet
X-SVN-Rev: 821
2000-02-24 20:45:08 +00:00
Alan Liu
2800ce22df Fix package errors, add some help text
X-SVN-Rev: 820
2000-02-24 20:19:59 +00:00
Alan Liu
4ef8a6b32d Fix compile errors
X-SVN-Rev: 819
2000-02-24 20:11:11 +00:00
Alan Liu
9c1d93774c Fix whitespace - remove ^Ms
X-SVN-Rev: 818
2000-02-24 19:53:00 +00:00
Alan Liu
6978562bef Fix compilation errors
X-SVN-Rev: 817
2000-02-24 19:51:20 +00:00
Alan Liu
07b76ae6a3 Fix compilation warnings
X-SVN-Rev: 816
2000-02-24 19:42:39 +00:00
Alan Liu
e87b31606f Fix whitespace - remove blank lines between each line
X-SVN-Rev: 815
2000-02-24 19:41:53 +00:00
John Fitzpatrick
30f60bdef3 More build cleanup
X-SVN-Rev: 812
2000-02-23 22:54:42 +00:00
John Fitzpatrick
dc1d841366 More build cleanup
X-SVN-Rev: 811
2000-02-23 21:59:17 +00:00
John Fitzpatrick
3e6a4bffc6 Changed top level make file names
X-SVN-Rev: 810
2000-02-23 00:35:31 +00:00
John Fitzpatrick
d29ba1fc98 Changed a couple explicit calls to gnumake to $(MAKE)
X-SVN-Rev: 794
2000-02-18 18:50:33 +00:00
John Fitzpatrick
299b9f97b6 put $(MAKE) definition in defs.gmk
X-SVN-Rev: 793
2000-02-18 18:39:10 +00:00
John Fitzpatrick
f61a806057 make file stuff
X-SVN-Rev: 792
2000-02-18 18:18:29 +00:00
John Fitzpatrick
49f2784a30 no message
X-SVN-Rev: 791
2000-02-18 18:02:55 +00:00
John Fitzpatrick
485377d2bf Changed transliteration resource class names to use a _ instead
of a $ to make the make files cleaner

X-SVN-Rev: 790
2000-02-18 00:30:32 +00:00
John Fitzpatrick
862b0832b9 Fixed make files to work with gnumake
X-SVN-Rev: 789
2000-02-18 00:29:08 +00:00
John Fitzpatrick
8768599d96 no message
X-SVN-Rev: 788
2000-02-17 21:11:45 +00:00
John Fitzpatrick
65e847155d Modified make files for solaris
X-SVN-Rev: 787
2000-02-17 19:11:39 +00:00
John Fitzpatrick
f2b708efc0 no message
X-SVN-Rev: 784
2000-02-17 07:30:04 +00:00
John Fitzpatrick
9f5dd2fe95 *** empty log message ***
X-SVN-Rev: 783
2000-02-17 06:08:38 +00:00
John Fitzpatrick
aff9fb48f2 no message
X-SVN-Rev: 782
2000-02-17 05:57:54 +00:00
John Fitzpatrick
5bb0049322 no message
X-SVN-Rev: 781
2000-02-17 05:50:07 +00:00
John Fitzpatrick
94509f71bf no message
X-SVN-Rev: 780
2000-02-17 05:48:49 +00:00
John Fitzpatrick
7c2a17bde3 no message
X-SVN-Rev: 779
2000-02-17 05:34:07 +00:00
John Fitzpatrick
d3f6b00fd1 *** empty log message ***
X-SVN-Rev: 778
2000-02-17 05:14:59 +00:00
John Fitzpatrick
b43881fa19 makefile changes
X-SVN-Rev: 777
2000-02-16 23:40:09 +00:00
John Fitzpatrick
b748661137 initial checkin
X-SVN-Rev: 776
2000-02-16 23:23:18 +00:00
John Fitzpatrick
e0d232b679 Simplified "clean" target to simply blow away the
classes/com directory

X-SVN-Rev: 774
2000-02-16 19:43:59 +00:00
John Fitzpatrick
45dfd39c1b Added test, tools, and demos targets to make files
X-SVN-Rev: 773
2000-02-16 19:37:33 +00:00
John Fitzpatrick
84d51a3117 Javadoc compilation error fixes
X-SVN-Rev: 772
2000-02-16 19:04:32 +00:00
Richard Gillam
2b6da31922 Added lenient parsing rules to the German number-spellout rules
so that RBNF would correctly interpret spellings such as
"fuenfunddreissig".

X-SVN-Rev: 762
2000-02-15 21:09:23 +00:00
John Fitzpatrick
eb572f18f6 Added comments
X-SVN-Rev: 761
2000-02-15 18:19:29 +00:00
John Fitzpatrick
e2eaf8d338 fixed test imports and packages
X-SVN-Rev: 760
2000-02-15 06:17:08 +00:00
John Fitzpatrick
5fc1bacd0c fixed test imports and packages
X-SVN-Rev: 759
2000-02-15 06:14:16 +00:00
John Fitzpatrick
81ed01173b added copy constructor
X-SVN-Rev: 746
2000-02-10 07:38:01 +00:00
John Fitzpatrick
0f992456ae fixed imports for com.ibm.util.Utility
X-SVN-Rev: 745
2000-02-10 07:36:25 +00:00
John Fitzpatrick
cb78f28a45 added makefiles
X-SVN-Rev: 744
2000-02-10 07:30:38 +00:00
John Fitzpatrick
4857053b2e *** empty log message ***
X-SVN-Rev: 742
2000-02-10 06:25:58 +00:00
John Fitzpatrick
4fdf5c9631 moved conflicting local elements files
X-SVN-Rev: 729
2000-02-08 06:45:26 +00:00
Alan Liu
957ec2d172 Use array rather than hashtable for char-to-set map
X-SVN-Rev: 713
2000-02-03 18:18:42 +00:00
Alan Liu
8e5a1219ba Use array rather than hashtable for char-to-set map
X-SVN-Rev: 712
2000-02-03 18:11:19 +00:00
Alan Liu
d09a5e4c0f Make UnicodeSet use SymbolTable
X-SVN-Rev: 711
2000-02-03 18:10:05 +00:00
Alan Liu
99fbdb93cd Move filter composition to setFilter()
X-SVN-Rev: 704
2000-01-27 20:12:14 +00:00
Alan Liu
19823fde42 Use Position rather than int[] and move all subclass overrides to one method (handleTransliterate)
X-SVN-Rev: 701
2000-01-27 18:59:20 +00:00
Alan Liu
920e879c4a Update test for new API
X-SVN-Rev: 700
2000-01-27 18:58:35 +00:00
Alan Liu
d48f0ee5e4 Fix javadoc
X-SVN-Rev: 641
2000-01-18 21:39:27 +00:00
Alan Liu
2682a99ebd Add tests for reported bugs
X-SVN-Rev: 640
2000-01-18 21:16:08 +00:00
Alan Liu
dd2712bf8b Rule fixes from Mark
X-SVN-Rev: 639
2000-01-18 20:46:58 +00:00
Alan Liu
5b8beeea65 Make UnicodeSet inherit from UnicodeFilter
X-SVN-Rev: 638
2000-01-18 20:36:30 +00:00
Alan Liu
5aa450ea30 Remove "keyboard" from method names. New CompoundTransliterator API.
X-SVN-Rev: 632
2000-01-18 19:18:37 +00:00
Alan Liu
062bdf69f0 Incorporate Mark's bug fixes.
X-SVN-Rev: 631
2000-01-18 19:17:21 +00:00
Alan Liu
d05b919e89 Remove "keyboard" from method names. New CompoundTransliterator API.
X-SVN-Rev: 628
2000-01-18 17:51:30 +00:00
Alan Liu
e1488bd974 Remove "keyboard" from method names. Make maximum context a field of Transliterator, and have subclasses set it.
X-SVN-Rev: 627
2000-01-18 17:51:09 +00:00
Alan Liu
4691f5c2a0 Fix filtering bug.
X-SVN-Rev: 625
2000-01-18 02:38:55 +00:00
Alan Liu
16730bea73 Add Jamo-Hangul, Hangul-Jamo, fix rules, add compound ID support
X-SVN-Rev: 622
2000-01-18 02:30:49 +00:00
Alan Liu
fb7313675a Fix bugs found during ICU port
X-SVN-Rev: 575
2000-01-13 23:53:23 +00:00
Alan Liu
ad0bdc2769 Update package
X-SVN-Rev: 525
2000-01-11 04:15:27 +00:00
Alan Liu
e8dba569b7 Cleanup, embellish comments
X-SVN-Rev: 524
2000-01-11 04:12:06 +00:00
Alan Liu
91bbad91cf Cleanup, embellish comments
X-SVN-Rev: 523
2000-01-11 04:03:54 +00:00
Alan Liu
8d57838cc5 Add some tests for new syntax
X-SVN-Rev: 522
2000-01-11 02:35:07 +00:00
Alan Liu
e8241fdc61 Update tests for new rule syntax; add quoting test
X-SVN-Rev: 521
2000-01-11 02:25:47 +00:00
Alan Liu
8c85f4c5a4 Add category test
X-SVN-Rev: 520
2000-01-11 02:25:14 +00:00
Alan Liu
572e9063c0 Rewrite UnicodeSet and RBT parsers for better performance and new syntax
X-SVN-Rev: 519
2000-01-11 02:25:03 +00:00
Alan Liu
de9589cdcb Update rules to new rule syntax (parens delimit context)
X-SVN-Rev: 518
2000-01-11 02:24:15 +00:00
Alan Liu
471a29ebeb Add Mark's Jamo rules, with compile errors fixed
X-SVN-Rev: 517
2000-01-11 02:23:17 +00:00
Alan Liu
697ee8afba Add null transliterator
X-SVN-Rev: 491
2000-01-06 17:38:25 +00:00
Alan Liu
a55e26abb1 Update to Mark's latest rules
X-SVN-Rev: 490
2000-01-06 03:00:51 +00:00
Alan Liu
abfccede27 Allow string arrays in rule resource bundles
X-SVN-Rev: 489
2000-01-06 01:36:36 +00:00
Alan Liu
8f00680b7b Add rule indexing, and move masking check to TransliterationRuleSet.
X-SVN-Rev: 486
2000-01-04 21:43:58 +00:00
Alan Liu
eafcfb09c4 Consolidate rule pattern anteContext, key, and postContext into one string.
X-SVN-Rev: 456
1999-12-22 01:40:54 +00:00
Alan Liu
78c974e7ba Improve masking checking; turn it off by default, for better performance
X-SVN-Rev: 455
1999-12-22 01:05:54 +00:00
Alan Liu
96844ec160 Comment out masked rules
X-SVN-Rev: 454
1999-12-22 01:05:17 +00:00
Alan Liu
93e0f7129c Detect a>x masking a>y
X-SVN-Rev: 453
1999-12-22 00:01:36 +00:00
Alan Liu
c5b076cbfc Updated to Mark Davis' new rules
X-SVN-Rev: 452
1999-12-21 23:11:26 +00:00
Alan Liu
8623cf04e2 Updated to Mark Davis' new rules
X-SVN-Rev: 451
1999-12-21 23:02:36 +00:00
Alan Liu
6edcd7320e Use registerClass on hex tranlits
X-SVN-Rev: 450
1999-12-20 20:51:47 +00:00
Alan Liu
7982010620 Fix display names
X-SVN-Rev: 449
1999-12-20 20:48:06 +00:00
Alan Liu
e78b52c1ee Add fwd-rev rule syntax a<>b
X-SVN-Rev: 448
1999-12-20 20:25:00 +00:00
Alan Liu
a529ecb267 Change name from Latin-Russian to Latin-Cyrillic
X-SVN-Rev: 447
1999-12-20 20:22:52 +00:00
Alan Liu
e5a684eb67 Delimit rules with ';'
X-SVN-Rev: 446
1999-12-20 19:13:41 +00:00
Alan Liu
9becd90a06 Change package, delimit rules with ';'
X-SVN-Rev: 445
1999-12-20 19:12:59 +00:00
Alan Liu
245859848a Change package
X-SVN-Rev: 444
1999-12-20 19:12:47 +00:00
Alan Liu
110ad9d584 Delimit script names in class name with $
X-SVN-Rev: 443
1999-12-20 19:02:27 +00:00
Alan Liu
e4562a1b42 Delimit script names in class name with $
X-SVN-Rev: 442
1999-12-20 18:51:40 +00:00
Alan Liu
42035450ff Initial revision
X-SVN-Rev: 437
1999-12-20 18:29:21 +00:00