Commit Graph

13940 Commits

Author SHA1 Message Date
George Rhoten
7e6b69156d ICU-5161 Properly delete memory, and make sure there is enough space to unescape a string.
X-SVN-Rev: 19555
2006-04-16 17:28:00 +00:00
George Rhoten
504248ad53 ICU-5161 Fix a memory leak.
X-SVN-Rev: 19554
2006-04-15 18:04:35 +00:00
George Rhoten
6de38a94a1 ICU-5161 Better fix for Purify/valgrind warnings about uninitialized memory reading.
X-SVN-Rev: 19553
2006-04-15 16:06:01 +00:00
George Rhoten
7a50d6f62d ICU-5161 Fix Purify/valgrind warnings about reading uninitialized memory.
X-SVN-Rev: 19552
2006-04-15 08:07:30 +00:00
George Rhoten
ac0ec58b80 ICU-5161 Fix Purify/valgrind warnings about uninitialized memory reading.
X-SVN-Rev: 19551
2006-04-15 07:52:16 +00:00
George Rhoten
8530362290 ICU-5161 Properly delete the memory.
X-SVN-Rev: 19550
2006-04-15 07:35:05 +00:00
George Rhoten
3737c923bd ICU-5161 Fix valgrind and Purify warnings about getTerminatedBuffer and uninitialized memory reads.
X-SVN-Rev: 19549
2006-04-14 21:58:41 +00:00
George Rhoten
4493abae62 ICU-5161 Fix valgrind and Purify warnings about getTerminatedBuffer and uninitialized memory reads.
X-SVN-Rev: 19548
2006-04-14 21:43:21 +00:00
George Rhoten
e88c000399 ICU-5161 Reduce memory consumption.
Allow more memory allocation errors to be reported.
Reduce memory fragmentation.
Speed up initialization slightly.

X-SVN-Rev: 19547
2006-04-14 21:09:42 +00:00
George Rhoten
573f662749 ICU-4707 Fix some compiler warnings.
X-SVN-Rev: 19546
2006-04-14 16:20:02 +00:00
George Rhoten
ca09e63755 ICU-4707 Fix some compiler warnings.
X-SVN-Rev: 19545
2006-04-14 16:01:20 +00:00
George Rhoten
216965ea92 ICU-4707 Fix some compiler warnings.
X-SVN-Rev: 19544
2006-04-14 15:49:37 +00:00
George Rhoten
a0a2635fdc ICU-4707 Fix some compiler warnings.
X-SVN-Rev: 19543
2006-04-14 15:41:51 +00:00
Eric Mader
8927afbf4b ICU-5153 Make sure the string passed to GetNumberFormatW, GetCurrencyFormatW has "." as the decimal separator.
X-SVN-Rev: 19542
2006-04-13 23:48:32 +00:00
George Rhoten
e397fa369b ICU-5161 Fix uninitialized memory read.
X-SVN-Rev: 19538
2006-04-13 15:56:37 +00:00
George Rhoten
a17245d34c ICU-5161 The source and target in a call to memcpy should be the same.
Check the capacity before using strlen.
Explain why the @ sign is variant in the code.

X-SVN-Rev: 19537
2006-04-13 07:27:52 +00:00
George Rhoten
e4b3bbc599 ICU-4707 Fix some compiler warnings.
X-SVN-Rev: 19533
2006-04-12 23:36:56 +00:00
Eric Mader
107a44eb64 ICU-5157 need to add the 'ccmp' feature.
X-SVN-Rev: 19531
2006-04-12 01:32:13 +00:00
Eric Mader
2751032ccd ICU-3979 Fix extrremely annoying compiler warnings.
X-SVN-Rev: 19530
2006-04-11 22:40:05 +00:00
Eric Mader
656d7e1b43 ICU-3979 remove spurious semi-colons.
X-SVN-Rev: 19528
2006-04-11 01:32:24 +00:00
Eric Mader
ca9fcb4e10 ICU-3979 Fix compiler warnings.
X-SVN-Rev: 19527
2006-04-11 01:15:08 +00:00
George Rhoten
786c654db5 ICU-5152 Remove broken uprv_dtostr function, and create a better ChoiceFormat::dtos function.
X-SVN-Rev: 19525
2006-04-08 09:48:13 +00:00
George Rhoten
7bc8795cf7 ICU-5151 Hide internal functions.
X-SVN-Rev: 19524
2006-04-08 08:34:52 +00:00
Eric Mader
e4ae327eed ICU-3979 Add automatic LayoutEngine tests.
X-SVN-Rev: 19523
2006-04-07 23:51:55 +00:00
George Rhoten
cbac1432df ICU-4873 Fix Solaris warning and z/OS error.
X-SVN-Rev: 19522
2006-04-07 07:43:27 +00:00
Ram Viswanadha
ea4cd7f0fa ICU-5084 add timebombs for tests
X-SVN-Rev: 19519
2006-04-04 23:23:05 +00:00
George Rhoten
0fdb67b69c ICU-4946 Allow stable API to work by undoing previous change.
X-SVN-Rev: 19518
2006-04-04 20:30:45 +00:00
George Rhoten
6d5916a2ce ICU-4703 Improve the error checking.
X-SVN-Rev: 19517
2006-04-04 20:15:46 +00:00
George Rhoten
735bfbfbc0 ICU-4707 There is no need to set s-fChars to 0 when it's already known to be 0 in the if statement.
X-SVN-Rev: 19516
2006-04-04 19:28:14 +00:00
George Rhoten
ce8b1ede60 ICU-5117 Fix memory leak.
X-SVN-Rev: 19515
2006-04-04 16:48:23 +00:00
George Rhoten
94f0de1e3a ICU-5025 Better fix for an Intel compiler optimization bug.
X-SVN-Rev: 19514
2006-04-04 15:57:50 +00:00
George Rhoten
ebbb957f9d ICU-5025 Better fix for an Intel compiler optimization bug.
X-SVN-Rev: 19513
2006-04-04 15:56:38 +00:00
George Rhoten
a28d9218a0 ICU-4946 Install missing headers on Windows machines.
X-SVN-Rev: 19512
2006-04-03 23:48:17 +00:00
Ram Viswanadha
481a532f56 ICU-5117 add a hack for falling back to root instead of default locale
X-SVN-Rev: 19511
2006-04-03 21:16:02 +00:00
George Rhoten
b29549eef4 ICU-5143 Make sure that proper ownership rules of the RuleBasedCollator are followed.
Do deep copying where needed.
Don't dereference NULL on failure to create rule string.
Initialize all member variables.
Consolidate copy and pasted code.

X-SVN-Rev: 19509
2006-04-02 19:07:50 +00:00
George Rhoten
ee12f37a5c ICU-4703 Fix memory leak on function failure
X-SVN-Rev: 19508
2006-04-02 09:15:05 +00:00
George Rhoten
20a74838a6 ICU-5138 Keep the two collation hash functions together.
X-SVN-Rev: 19507
2006-04-01 17:29:49 +00:00
George Rhoten
3209361c76 ICU-5117 Optimize the string declarations.
X-SVN-Rev: 19506
2006-03-31 19:12:26 +00:00
Ram Viswanadha
44fc7fbfea ICU-5139 update install scripts
X-SVN-Rev: 19504
2006-03-31 18:11:18 +00:00
George Rhoten
480c5cc648 ICU-5138 Separate ICU_Utility into property using and non-property using functions.
X-SVN-Rev: 19503
2006-03-31 08:00:41 +00:00
George Rhoten
01aff246f1 ICU-5138 Separate cleaning registration from the uinit() implementation.
X-SVN-Rev: 19502
2006-03-31 07:11:33 +00:00
George Rhoten
9b0162b829 ICU-5138 Separate the platform independent math from putil.c
X-SVN-Rev: 19501
2006-03-31 06:40:46 +00:00
George Rhoten
ac1228488e ICU-5138 Separate the bidi data from the data loading.
X-SVN-Rev: 19500
2006-03-31 06:24:45 +00:00
George Rhoten
7d382500f6 ICU-5138 Separate the casing data from normalization data and data loading.
X-SVN-Rev: 19499
2006-03-31 05:29:06 +00:00
Andy Heninger
f47dea2b53 ICU-4873 UText with surrogates spanning chunk boundaries.
X-SVN-Rev: 19498
2006-03-31 02:11:39 +00:00
George Rhoten
43b2723119 ICU-5032 Undo recent changes because getState and setState are sometimes called directly.
X-SVN-Rev: 19495
2006-03-31 01:22:48 +00:00
George Rhoten
84322414ef ICU-5032 Undo recent changes because getState and setState are sometimes called directly.
X-SVN-Rev: 19494
2006-03-31 01:21:06 +00:00
George Rhoten
61bc5bf179 ICU-5032 Really undo recent changes.
X-SVN-Rev: 19493
2006-03-30 20:20:27 +00:00
George Rhoten
f4cdaf67ff ICU-4707 Remove some linker warnings.
X-SVN-Rev: 19492
2006-03-30 20:19:17 +00:00
George Rhoten
3318c119ba ICU-5032 Undo last two checkins. They were invalid.
X-SVN-Rev: 19491
2006-03-30 20:08:34 +00:00
George Rhoten
714c0ec3c1 ICU-5032 Increase code coverage by removing dead code.
X-SVN-Rev: 19490
2006-03-30 20:00:13 +00:00
George Rhoten
f12fa33ed7 ICU-5032 Increase code coverage by removing dead code.
X-SVN-Rev: 19489
2006-03-30 19:53:19 +00:00
George Rhoten
86c776c5bb ICU-5032 Increase code coverage
X-SVN-Rev: 19488
2006-03-30 19:43:46 +00:00
George Rhoten
629b60258a ICU-4703 Improve the error checking.
X-SVN-Rev: 19487
2006-03-30 17:06:40 +00:00
George Rhoten
c4a7db9fa0 ICU-4703 Don't deference NULL when a mallloc fails, and report when the memory failure happens.
X-SVN-Rev: 19486
2006-03-30 16:54:13 +00:00
George Rhoten
8a9efb0f0f ICU-4703 ucol_openRules shouldn't use destination preflighting buffer rules on source strings.
X-SVN-Rev: 19485
2006-03-30 09:40:21 +00:00
George Rhoten
e336f52fd8 ICU-4703 Don't dereference NULL.
X-SVN-Rev: 19484
2006-03-30 09:30:12 +00:00
George Rhoten
f748c9d5e4 ICU-4703 Fail cleanly when detecting bad arguments.
X-SVN-Rev: 19483
2006-03-30 09:27:31 +00:00
George Rhoten
8a895cadee ICU-4703 usearch_openFromCollator should return when detecting bad arguments.
X-SVN-Rev: 19482
2006-03-30 09:26:24 +00:00
George Rhoten
7b939088a9 ICU-4703 addListener should return when detecting bad arguments.
X-SVN-Rev: 19481
2006-03-30 09:12:35 +00:00
George Rhoten
0ba4bdac5d ICU-4703 Don't crash when bad arguments are given.
X-SVN-Rev: 19480
2006-03-30 08:57:44 +00:00
George Rhoten
1378f39a25 ICU-4703 Fix a memory leak on long package names.
X-SVN-Rev: 19479
2006-03-30 08:26:56 +00:00
George Rhoten
b27859e922 ICU-4703 Fix memory leak on function failure
X-SVN-Rev: 19478
2006-03-30 05:36:01 +00:00
George Rhoten
b20499f06b ICU-4703 Fix memory leak on function failure
X-SVN-Rev: 19477
2006-03-30 05:29:25 +00:00
George Rhoten
303da65207 ICU-5032 Test swapping a 32-bit key resource bundle table
X-SVN-Rev: 19476
2006-03-30 04:50:01 +00:00
George Rhoten
1d6533d978 ICU-5025 Fix an Intel compiler issue.
X-SVN-Rev: 19475
2006-03-30 01:18:26 +00:00
George Rhoten
d77a2417e1 ICU-5129 Both Rational and FreeBSD need this change to allow the icu-config script to be generated correctly.
X-SVN-Rev: 19474
2006-03-30 00:33:20 +00:00
Deborah Goldsmith
aa8de78f26 ICU-5136 Add test of MutableTrieDictionary and CompactTrieDictionary
X-SVN-Rev: 19473
2006-03-29 23:33:02 +00:00
Deborah Goldsmith
eaa65b983e ICU-5112 Correct documentation of UDTS_MAC_OLD_TIME
X-SVN-Rev: 19472
2006-03-29 20:43:15 +00:00
George Rhoten
d2edd10e4e ICU-4703 Fix memory leak when malloc fails.
X-SVN-Rev: 19471
2006-03-29 09:42:16 +00:00
George Rhoten
25614b86e4 ICU-4703 Fix memory leak when malloc fails.
X-SVN-Rev: 19470
2006-03-29 09:03:32 +00:00
George Rhoten
88420fdecf ICU-5032 Fix a typo from the last checkin
X-SVN-Rev: 19469
2006-03-29 00:59:28 +00:00
George Rhoten
dbe243b118 ICU-5032 Increase code coverage. Bad input should fail and not succeed.
X-SVN-Rev: 19468
2006-03-29 00:19:41 +00:00
George Rhoten
7aa9c4c444 ICU-5032 Increase code coverage.
X-SVN-Rev: 19467
2006-03-29 00:19:28 +00:00
George Rhoten
d5bc69e7f4 ICU-5032 Increase code coverage numbers
X-SVN-Rev: 19466
2006-03-28 22:00:11 +00:00
George Rhoten
4c80e2649e ICU-4703 Fix u_errorName bounds checking.
X-SVN-Rev: 19465
2006-03-28 08:52:36 +00:00
George Rhoten
27ec624563 ICU-4703 Fix a memory leak on function failure
X-SVN-Rev: 19464
2006-03-28 08:51:19 +00:00
George Rhoten
bc071af705 ICU-4703 Fix memory leak on function failure
X-SVN-Rev: 19463
2006-03-28 08:50:34 +00:00
George Rhoten
f4838cc379 ICU-4703 Fix memory leak on function failure
X-SVN-Rev: 19462
2006-03-28 07:40:46 +00:00
George Rhoten
9b74d98d49 ICU-4707 Fix some compiler warnings
X-SVN-Rev: 19461
2006-03-28 07:25:09 +00:00
George Rhoten
d96b2b6088 ICU-4703 Fix memory leaks when functions start failing, and fix a threading issue.
X-SVN-Rev: 19460
2006-03-28 04:08:34 +00:00
George Rhoten
40e798da6d ICU-4703 Fail correctly when the function arguments are bad.
X-SVN-Rev: 19459
2006-03-28 04:02:17 +00:00
George Rhoten
fff133aa6e ICU-4703 Fix memory leak on failure
X-SVN-Rev: 19458
2006-03-28 04:00:58 +00:00
George Rhoten
83097bf105 ICU-5025 %f, %e and %g for scanf should expect a float by default.
X-SVN-Rev: 19457
2006-03-27 17:55:32 +00:00
George Rhoten
9460da6828 ICU-5129 Allow non-compatible "compatible" nmake to work.
X-SVN-Rev: 19456
2006-03-27 17:40:56 +00:00
George Rhoten
23eeb9c7bf ICU-5129 Remove non-existing dependencies.
X-SVN-Rev: 19455
2006-03-27 17:33:08 +00:00
George Rhoten
57f049005f ICU-5129 Allow non-compatible GNU "compatible" make to work.
X-SVN-Rev: 19454
2006-03-27 17:31:56 +00:00
George Rhoten
1b791d0cb4 ICU-5129 Allow non-compatible GNU "compatible" make to disallow implicit static library rules.
X-SVN-Rev: 19453
2006-03-27 17:31:07 +00:00
George Rhoten
37b0527b38 ICU-5129 Don't include the current directory for the default library path.
X-SVN-Rev: 19452
2006-03-27 17:29:15 +00:00
George Rhoten
722f647186 ICU-5092 Replace the temporary pointer parsing hack with a permanent platform independent parsing function.
X-SVN-Rev: 19451
2006-03-27 06:49:03 +00:00
George Rhoten
406830baf5 ICU-4707 Fix the last fix.
X-SVN-Rev: 19450
2006-03-26 10:24:57 +00:00
George Rhoten
b7925ce640 ICU-5117 Fix the last fix.
X-SVN-Rev: 19449
2006-03-26 10:17:08 +00:00
George Rhoten
a483e0fdf9 ICU-5117 Ignore new generated files.
X-SVN-Rev: 19448
2006-03-26 01:10:47 +00:00
George Rhoten
2d662cf06c ICU-4707 Fix some compiler warnings.
X-SVN-Rev: 19447
2006-03-26 01:09:16 +00:00
George Rhoten
73da58a35a ICU-4707 Fix some compiler warnings.
X-SVN-Rev: 19446
2006-03-26 00:43:34 +00:00
George Rhoten
401f909a49 ICU-4707 Fix some compiler warnings.
X-SVN-Rev: 19445
2006-03-26 00:32:27 +00:00
George Rhoten
81b211ef90 ICU-4707 Fix some compiler warnings.
X-SVN-Rev: 19444
2006-03-26 00:18:23 +00:00
George Rhoten
ebaf1da5a8 ICU-4707 Fix some compiler warnings.
X-SVN-Rev: 19443
2006-03-26 00:06:01 +00:00
George Rhoten
bbb82912ca ICU-4707 Fix some compiler warnings.
X-SVN-Rev: 19442
2006-03-25 23:53:31 +00:00
George Rhoten
9dd557b1ae ICU-4707 Fix some compiler warnings about missing virtual destructors
X-SVN-Rev: 19441
2006-03-25 23:27:09 +00:00