Commit Graph

479 Commits

Author SHA1 Message Date
Vladimir Weinstein
b74dd8f3f2 ICU-2959 Added copyright notices to files that didn't have them
X-SVN-Rev: 12266
2003-06-04 01:06:48 +00:00
Alan Liu
de95737116 ICU-2959 update copyright dates to include 2003
X-SVN-Rev: 12253
2003-06-03 20:58:22 +00:00
George Rhoten
4e17bfad19 ICU-2729 Make some memory const.
X-SVN-Rev: 12224
2003-06-02 18:59:45 +00:00
George Rhoten
b718add118 ICU-2959 Add copyright notices to the binaries, and #ifdef some debugging code.
X-SVN-Rev: 12223
2003-06-02 18:56:58 +00:00
George Rhoten
5617587faf ICU-2729 Don't copy unitialized memory
X-SVN-Rev: 12192
2003-05-30 00:48:44 +00:00
George Rhoten
4e1913af46 ICU-2850 Add MSVC 7 (Visual Studio .NET) project files
X-SVN-Rev: 11743
2003-04-30 22:50:21 +00:00
George Rhoten
f6cef37345 ICU-2628 Updates for the import library installation on CygWin/MSVC and z/OS,
and updates for installation on CygWin/MSVC and QNX

X-SVN-Rev: 11501
2003-04-10 17:42:21 +00:00
George Rhoten
fae219cec9 ICU-2628 Allow z/OS and CygWin/MSVC to install their import libraries
(aka sidedeck on z/OS).

X-SVN-Rev: 11353
2003-03-19 01:56:39 +00:00
George Rhoten
dc3d5b5d69 ICU-2120 Speed improvements for %g and the char * format specifier
X-SVN-Rev: 11236
2003-03-04 19:21:42 +00:00
George Rhoten
4d3562dcb7 ICU-2705 Add CygWin/MSVC support
X-SVN-Rev: 11008
2003-02-11 00:13:48 +00:00
Alan Liu
78c4cb87f9 ICU-122 add capacity to uprv_itou
X-SVN-Rev: 10908
2003-01-27 17:24:33 +00:00
Vladimir Weinstein
c0513031ab ICU-2659 bumped the version number to 2.6
X-SVN-Rev: 10873
2003-01-20 17:57:20 +00:00
Steven R. Loomis
eaf899cbcb ICU-2479 uconv documentation
X-SVN-Rev: 10775
2002-12-20 23:20:15 +00:00
Vladimir Weinstein
89628f1df9 ICU-2107 added copyright notices
X-SVN-Rev: 10722
2002-12-18 08:31:34 +00:00
George Rhoten
9d13645fff ICU-2565 add @stable labels etc.
X-SVN-Rev: 10631
2002-12-12 00:37:41 +00:00
Markus Scherer
97d2e85372 ICU-2341 fix buffer overflow in uconv with utf-16/32 converters that add a BOM
X-SVN-Rev: 10182
2002-11-07 02:49:10 +00:00
Steven R. Loomis
10bc681d20 ICU-2457 update to 2.4 version number
X-SVN-Rev: 10137
2002-11-01 01:45:24 +00:00
George Rhoten
f85b8fd193 ICU-2394 Update the http:// link
X-SVN-Rev: 10136
2002-10-31 23:34:15 +00:00
Markus Scherer
61969c8c50 ICU-2248 modularize ICU
X-SVN-Rev: 9934
2002-10-01 01:26:49 +00:00
Markus Scherer
68ae250e76 ICU-2150 fix string length parameter for U16_GET
X-SVN-Rev: 9931
2002-09-30 04:01:47 +00:00
George Rhoten
bb9b8b966c ICU-2135 Remember to convert the NULL too.
X-SVN-Rev: 9796
2002-08-27 22:46:54 +00:00
George Rhoten
f0bd5ecb0d ICU-2039 Increase code coverage. Fix %[] scanset so that it uses UChars instead of chars.
X-SVN-Rev: 9792
2002-08-26 20:53:53 +00:00
George Rhoten
c7c125fe99 ICU-1879 simplify fgets
X-SVN-Rev: 9787
2002-08-23 22:13:14 +00:00
George Rhoten
4f0ea51df4 ICU-1879 Fix the newline counting problem with fgets
X-SVN-Rev: 9786
2002-08-23 20:58:40 +00:00
George Rhoten
6055bd132a ICU-1891 Add better support for z/OS batch mode (Forgot the tab)
X-SVN-Rev: 9710
2002-08-14 00:38:39 +00:00
George Rhoten
cf154cb042 ICU-900 Fixed some compiler warnings.
X-SVN-Rev: 9692
2002-08-13 17:22:46 +00:00
George Rhoten
8824e0a8fa ICU-1891 Add better support for z/OS batch mode.
X-SVN-Rev: 9677
2002-08-12 20:30:23 +00:00
George Rhoten
097d92d7f2 ICU-1836 Stay within the limits of the array.
X-SVN-Rev: 9571
2002-08-04 07:09:30 +00:00
George Rhoten
edb4b9897e ICU-837 Add const because it shouldn't be writing to the buffer
X-SVN-Rev: 9500
2002-08-01 01:46:19 +00:00
Steven R. Loomis
246977f930 ICU-1992 data packaging
X-SVN-Rev: 9475
2002-07-31 21:06:04 +00:00
Steven R. Loomis
c0a8bc9cb7 ICU-1992 packaging, suffix, uconv building on unix
X-SVN-Rev: 9470
2002-07-31 20:28:32 +00:00
Steven R. Loomis
0d2700c1de ICU-1992 data packaging, update to uconv
X-SVN-Rev: 9462
2002-07-31 17:43:13 +00:00
Steven R. Loomis
2f30c04d51 ICU-1992 data packaging, update to uconv
X-SVN-Rev: 9454
2002-07-31 00:51:06 +00:00
George Rhoten
7f3143a935 ICU-2030 Undo most of the ADD CPP statements.
X-SVN-Rev: 9412
2002-07-29 23:24:37 +00:00
Andy Heninger
f0f44e915e ICU-2030 WIndows build changes to allow apps to use static C runtime lib
X-SVN-Rev: 9400
2002-07-29 21:04:18 +00:00
George Rhoten
5f78d1642e ICU-900 Fixed some compiler warnings.
X-SVN-Rev: 9339
2002-07-25 18:01:05 +00:00
George Rhoten
7e92471c93 ICU-1947 Better usage for U_EXPORT2 and U_CALLCONV
X-SVN-Rev: 9295
2002-07-23 23:01:08 +00:00
Vladimir Weinstein
2cbb05fdb9 ICU-978 cygwin port
X-SVN-Rev: 9267
2002-07-19 23:25:41 +00:00
George Rhoten
fe000c413a ICU-1988 Update the ICU version
X-SVN-Rev: 9195
2002-07-16 02:32:22 +00:00
George Rhoten
c85207afbd ICU-1887 Try to fix the name mangling problems with the Intel compiler by including utypes.h before the system headers.
X-SVN-Rev: 9124
2002-07-12 21:42:24 +00:00
George Rhoten
806e71d789 ICU-1868 No need for two platform includes.
X-SVN-Rev: 9112
2002-07-12 16:31:04 +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
Vladimir Weinstein
e2c13a27f4 ICU-1945 corrected bug in reading hex numbers
X-SVN-Rev: 8867
2002-06-12 22:18:02 +00:00
Vladimir Weinstein
24e167988e ICU-1938 removed dependency on icu being in the ...\icu folder take 2 (didn't do save all in msvc before comitting)
X-SVN-Rev: 8834
2002-06-11 04:53:25 +00:00
Vladimir Weinstein
438a976a9a ICU-1938 removed dependency on icu being in the ...\icu folder
X-SVN-Rev: 8818
2002-06-07 23:51:58 +00:00
Steven R. Loomis
2def9432c3 ICU-1868 AS/400 changes (allow uconv to be built as static, dll, or common)
X-SVN-Rev: 8808
2002-06-07 17:08:34 +00:00
George Rhoten
a028508a8e ICU-1891 Fix for z/OS (os/390) -L does not exist for the linker.
X-SVN-Rev: 8756
2002-05-31 17:56:00 +00:00
George Rhoten
eed554706d ICU-900 Fixed some compiler warnings.
X-SVN-Rev: 8706
2002-05-24 23:30:25 +00:00
George Rhoten
08df62745a ICU-900 Fixed some compiler warnings.
X-SVN-Rev: 8681
2002-05-23 22:10:23 +00:00
George Rhoten
1a09ea5eda ICU-1868 Properly use CPPFLAGS and other flags
X-SVN-Rev: 8613
2002-05-13 23:51:50 +00:00
George Rhoten
9d8d0d3940 ICU-1868 Make DEFS be used for macros and includes only for compile
time, not for link time, and other various fixes.

X-SVN-Rev: 8562
2002-05-01 23:48:15 +00:00
George Rhoten
b3267fb318 ICU-900 Fixed some compiler warnings.
X-SVN-Rev: 8543
2002-04-30 20:43:51 +00:00
George Rhoten
df30dfbd29 ICU-1877 Add Win64 support.
X-SVN-Rev: 8531
2002-04-26 23:04:32 +00:00
George Rhoten
d85d2f804e ICU-837 Update the TODO list
X-SVN-Rev: 8498
2002-04-22 16:05:38 +00:00
George Rhoten
78b2d83a32 ICU-1868 Consolodate most definitions into icudefs.mk.in
X-SVN-Rev: 8494
2002-04-19 02:19:24 +00:00
George Rhoten
37c0fb31ff ICU-1718 Add another TODO
X-SVN-Rev: 8437
2002-04-11 00:11:47 +00:00
Steven R. Loomis
20c8368198 ICU-1718 typo, u_flush -> u_fflush
X-SVN-Rev: 8385
2002-04-04 23:59:01 +00:00
George Rhoten
6e6032ba13 ICU-900 Fixed some compiler warnings.
X-SVN-Rev: 8335
2002-04-02 03:25:05 +00:00
George Rhoten
e8cf181469 ICU-1828 Remove tabs
X-SVN-Rev: 8328
2002-04-02 01:17:28 +00:00
George Rhoten
7e30e40a5f ICU-837 Update the TODO list
X-SVN-Rev: 8322
2002-04-01 22:58:01 +00:00
George Rhoten
1c24ef9b24 ICU-837 Test and implement the plus sign in the printf format.
X-SVN-Rev: 8310
2002-03-30 00:02:40 +00:00
George Rhoten
45d458abd7 ICU-837 Don't use // in a C file.
X-SVN-Rev: 8285
2002-03-28 21:34:57 +00:00
George Rhoten
837c7710b4 ICU-1816 Disable language extensions for the compiler.
X-SVN-Rev: 8283
2002-03-28 18:26:25 +00:00
George Rhoten
574f17a9b8 ICU-1787 Add u_vsprintf_u. The function was declared with an implementation.
X-SVN-Rev: 8269
2002-03-27 22:17:07 +00:00
George Rhoten
774a1d225a ICU-837 More testing of u_fgets
X-SVN-Rev: 8268
2002-03-27 21:17:25 +00:00
George Rhoten
db6095938d ICU-837 Test u_fgets
X-SVN-Rev: 8267
2002-03-27 20:08:42 +00:00
George Rhoten
8b412568f9 ICU-837 Add a testing comment.
X-SVN-Rev: 8266
2002-03-27 19:27:50 +00:00
George Rhoten
ede58699b8 ICU-1807 Fix some usprintf bugs except always doing NULL termination because this goes against the specifications.
X-SVN-Rev: 8265
2002-03-27 19:20:55 +00:00
George Rhoten
334f5d5719 ICU-837 print (null) for NULL strings.
X-SVN-Rev: 8250
2002-03-26 20:10:19 +00:00
George Rhoten
364b4d33ff ICU-1220 \ is for escape. \\ is for backslash on Windows
X-SVN-Rev: 8244
2002-03-26 05:38:06 +00:00
George Rhoten
eea2bf2492 ICU-1739 Fix memory leaks, array offsets problems, getting the proper default converter and use uchar.h functions.
X-SVN-Rev: 8243
2002-03-26 05:33:56 +00:00
Yves Arrouye
ff59d942ec ICU-1220 define the path separator outside of resfiles.mk
X-SVN-Rev: 8237
2002-03-26 01:37:01 +00:00
George Rhoten
75697aa8fc ICU-1220 Do proper dependency checking for uconv.
X-SVN-Rev: 8220
2002-03-23 01:01:46 +00:00
Yves Arrouye
845fdd8f38 ICU-1220 private string functions
X-SVN-Rev: 8204
2002-03-22 09:51:02 +00:00
Yves Arrouye
5db948db4a ICU-1220 better pname
X-SVN-Rev: 8203
2002-03-22 09:50:02 +00:00
Yves Arrouye
9acbb79cb3 ICU-601 remove emails
X-SVN-Rev: 8196
2002-03-22 09:31:39 +00:00
George Rhoten
a37c37063b ICU-1791 Fix and test getting the default codepage in in ustdio.
X-SVN-Rev: 8189
2002-03-22 00:01:46 +00:00
Yves Arrouye
02eb4684c1 ICU-1798 change project files and fix one code bug to build on Visual
Studio .NET

X-SVN-Rev: 8175
2002-03-21 17:09:52 +00:00
George Rhoten
71f955b6cc ICU-1556 Fixes for 64-bit AIX.
X-SVN-Rev: 8170
2002-03-21 01:26:40 +00:00
Yves Arrouye
d2de27a433 ICU-1220 because of transliteration, be paranoid about offsets!
X-SVN-Rev: 8141
2002-03-20 02:11:50 +00:00
Yves Arrouye
3729bc964e ICU-1220 rename dir for consistency with samples
X-SVN-Rev: 8140
2002-03-20 02:04:06 +00:00
Yves Arrouye
9bdfaa14ca ICU-1220
X-SVN-Rev: 8122
2002-03-19 18:32:21 +00:00
Yves Arrouye
bf0b7aa9d9 ICU-1220 use the bundles in the bundles subdirectory.
X-SVN-Rev: 8119
2002-03-19 18:00:31 +00:00
Yves Arrouye
2da8a4ccbd ICU-1220 move bundle files. add French to Windows project
X-SVN-Rev: 8115
2002-03-19 17:15:14 +00:00
Yves Arrouye
0a393ebe45 ICU-1220 move bundle files. add French to Windows project
X-SVN-Rev: 8114
2002-03-19 17:14:49 +00:00
Yves Arrouye
e6c9e3bea5 ICU-1220 change u_wmsg(); consistently use it in uconv.
X-SVN-Rev: 8113
2002-03-19 17:14:10 +00:00
Steven R. Loomis
2beec0d7ab ICU-1769 update to 2.1 version
X-SVN-Rev: 8103
2002-03-19 01:43:19 +00:00
Yves Arrouye
0c30e75ab3 ICU-1220 start translating some messages into French.
X-SVN-Rev: 8090
2002-03-18 20:53:14 +00:00
Yves Arrouye
564f1a1904 ICU-1220 case-insensitive compare of callabck names.
X-SVN-Rev: 8087
2002-03-18 17:12:52 +00:00
Steven R. Loomis
43108199f4 ICU-1568 static data fixes
X-SVN-Rev: 8067
2002-03-16 02:26:55 +00:00
Steven R. Loomis
83df0975fd ICU-1568 static mode on Win32
X-SVN-Rev: 8043
2002-03-15 02:12:01 +00:00
Steven R. Loomis
7e0a131963 ICU-1568 static mode
X-SVN-Rev: 8042
2002-03-15 02:06:52 +00:00
Steven R. Loomis
cf07b86764 ICU-1568 static mode update
X-SVN-Rev: 8040
2002-03-15 02:02:57 +00:00
George Rhoten
05808a5cde ICU-1718 Make the u_fopen use the common code in u_finit.
X-SVN-Rev: 8036
2002-03-15 00:28:52 +00:00
George Rhoten
8303b520a1 ICU-837 Add some comments about ustdio.
X-SVN-Rev: 8035
2002-03-15 00:25:57 +00:00
George Rhoten
4d1ade8112 ICU-1718 Fix an initialization problem.
X-SVN-Rev: 8031
2002-03-14 23:19:20 +00:00
George Rhoten
7729e43cad ICU-837 Add some comments about ustdio.
X-SVN-Rev: 8029
2002-03-14 23:12:31 +00:00
George Rhoten
7801efa305 ICU-1718 Don't use tabs, and use the ICU standard for indentation.
X-SVN-Rev: 8009
2002-03-14 00:40:08 +00:00
Steven R. Loomis
afc7627459 ICU-1718 C comments again
X-SVN-Rev: 7986
2002-03-13 17:27:17 +00:00
Steven R. Loomis
d78a18c8da ICU-1718 u_fsettransliterator on ustdio
X-SVN-Rev: 7980
2002-03-13 16:11:04 +00:00
Yves Arrouye
a5f2175b26 ICU-1220 usage() if no arg to -f or -t.
X-SVN-Rev: 7873
2002-03-03 07:06:27 +00:00
Steven R. Loomis
a094c953de ICU-837 removed UChar streamers
X-SVN-Rev: 7851
2002-03-01 23:10:26 +00:00
Steven R. Loomis
c0fd3f923e ICU-1568 use static mode for uconv by default
X-SVN-Rev: 7848
2002-03-01 22:44:21 +00:00
George Rhoten
41ffc2ef36 ICU-1733 Integrate some of the easier (and non-redundent) changes from Lotus.
X-SVN-Rev: 7802
2002-02-28 01:42:40 +00:00
George Rhoten
0566195af9 ICU-837 Add some more tests, and fix some errors to ustdio.
X-SVN-Rev: 7791
2002-02-26 21:23:21 +00:00
George Rhoten
c638ecd394 ICU-837 Better implementation of operator>>
X-SVN-Rev: 7778
2002-02-25 21:46:41 +00:00
Yves Arrouye
c1db2f0638 ICU-1220 replace <control-000A> by LINE FEED in the examples.
X-SVN-Rev: 7770
2002-02-25 09:11:34 +00:00
Yves Arrouye
1fa2aa47e1 ICU-1220 add paragraph on relationship between uconv, iconv(1),
and the GNU iconv(1).
Add CAVEATS AND BUGS section to warn against differences in error positions
reporting between uconv and GNU iconv(1), and to document the poor job we
do at reporting error positions when transliterating.

X-SVN-Rev: 7762
2002-02-25 06:45:05 +00:00
Yves Arrouye
3d35164827 ICU-1220 change error messages to remove the "or near" part.
X-SVN-Rev: 7761
2002-02-25 06:25:31 +00:00
Yves Arrouye
15b324d1f7 ICU-1220 switch to error reporting as offsets in the output when
getting weird offsets.
Flush what can be saved when there is an error so that the output is only
truncated where the error occured.

X-SVN-Rev: 7760
2002-02-25 06:24:08 +00:00
George Rhoten
fb2f039c5b ICU-837 First shot at fixing up ustdio for better compatibility with stdio.
X-SVN-Rev: 7747
2002-02-23 00:34:39 +00:00
George Rhoten
dccc8aeafd ICU-900 Fixed some compiler warnings.
X-SVN-Rev: 7714
2002-02-20 00:22:12 +00:00
Yves Arrouye
243f394f83 ICU-1220 update date."
X-SVN-Rev: 7699
2002-02-16 22:13:23 +00:00
Yves Arrouye
904c2cc397 ICU-1220 use \e for backslash.
X-SVN-Rev: 7698
2002-02-16 22:11:01 +00:00
Yves Arrouye
ca23adfbcc ICU-1220 use \e for backslash.
X-SVN-Rev: 7697
2002-02-16 22:09:56 +00:00
Yves Arrouye
2919f7cb30 ICU-1220 use \e for backslash.
X-SVN-Rev: 7696
2002-02-16 22:09:02 +00:00
Yves Arrouye
40295b3306 ICU-1220 Fixed calculation of error positions when a transliterator
is used.
Added an EXAMPLES section to show non-trivial uses of uconv.

X-SVN-Rev: 7695
2002-02-16 22:07:19 +00:00
Yves Arrouye
6f2c114b83 ICU-1220 allows - for -f and -t (same as not giving them).
more documentation.
changed some error messages.

X-SVN-Rev: 7694
2002-02-16 18:45:11 +00:00
Yves Arrouye
0c98108e83 ICU-1220 make the -f and -t arguments optional,
and use the default encoding if they're not specified (I am split
on this between the default encoding and UTF-8). This allows one
to quickly use transliterators without having to pass these options.

X-SVN-Rev: 7693
2002-02-16 09:15:06 +00:00
Yves Arrouye
4566ade726 ICU-1220 protect against undocumented error codes which crash us.
X-SVN-Rev: 7691
2002-02-16 08:59:44 +00:00
Yves Arrouye
3aa83e6566 ICU-1220 error reporting for rules parsing errors.
X-SVN-Rev: 7690
2002-02-16 08:47:31 +00:00
Yves Arrouye
161c2863a7 ICU-1220 support IDs and compound IDs, but also complex rules in the -x
argument.

X-SVN-Rev: 7688
2002-02-16 07:43:26 +00:00
Yves Arrouye
de48cf6149 ICU-1220 use inline and not U_INLINE in C++.
X-SVN-Rev: 7555
2002-02-01 23:45:32 +00:00
Yves Arrouye
fa6f2efdd4 ICU-1220 full path to uconvmsg.dat in FILES section.
X-SVN-Rev: 7553
2002-02-01 07:42:54 +00:00
Yves Arrouye
a2e14be391 ICU-1680 add \n
X-SVN-Rev: 7552
2002-02-01 07:41:12 +00:00
Yves Arrouye
0a2d80ea82 ICU-1220 make escape-xml the same as escape-xml-hex by default instead
of escape-xml-dec.

X-SVN-Rev: 7551
2002-02-01 07:39:57 +00:00
Yves Arrouye
4e495c5080 ICU-1680 document compound translitearors.
X-SVN-Rev: 7550
2002-02-01 07:35:25 +00:00
Yves Arrouye
f56fb8ddba ICU-1680 Fix crash with transliterators that were exceeding the
buffer size.
Also, improve speed a bit.
Finally, add a -b, --block-size size option, which not only is useful
for Real People(tm) wanting a bigger buffer size, but also great for
testing that everything runs smoothly by using -b 1 for example.

X-SVN-Rev: 7548
2002-01-31 22:44:42 +00:00
Ram Viswanadha
30681478ce ICU-1627 Update makefile to find pkgdata.inc.in
X-SVN-Rev: 7520
2002-01-29 19:38:09 +00:00
Yves Arrouye
deb6585652 ICU-1605 for UCNV_ESCAPE_UNICODE, print the codepoint, not the pair of
code units. Also, delimit the U+XXXX with curly braces for now.

X-SVN-Rev: 7514
2002-01-28 18:47:35 +00:00
Ram Viswanadha
2801607e3a ICU-1627 fix pkgdata.inc.in
X-SVN-Rev: 7497
2002-01-24 19:26:42 +00:00
Ram Viswanadha
47ff78a3ad ICU-1627 Add pkgdata.inc.in to uconv
X-SVN-Rev: 7493
2002-01-24 18:04:16 +00:00
Ram Viswanadha
e853a20b90 ICU-1627 update make files and move icupkg.in.in to data folder
X-SVN-Rev: 7489
2002-01-24 17:32:12 +00:00
Yves Arrouye
2c4beaea3b ICU-1220 manpage update.
X-SVN-Rev: 7477
2002-01-23 17:13:53 +00:00
George Rhoten
c6f5b3eedc ICU-1099 Make all string data const
X-SVN-Rev: 7467
2002-01-21 21:40:41 +00:00
Yves Arrouye
a04a8e4fd5 ICU-601 quoting to get proper spacing.
X-SVN-Rev: 7463
2002-01-18 19:45:44 +00:00
Yves Arrouye
e39234616f ICU-1220 documented --version.
X-SVN-Rev: 7457
2002-01-17 21:12:24 +00:00
Yves Arrouye
4b8a7e80ac ICU-1220 meant i.e. but wrote e.g.
X-SVN-Rev: 7427
2002-01-10 03:32:31 +00:00
Yves Arrouye
8f61ab0996 ICU-1220 cleaned up README.
X-SVN-Rev: 7424
2002-01-09 20:52:18 +00:00
Yves Arrouye
f271088377 ICU-1220 removed uconv.pro
X-SVN-Rev: 7423
2002-01-09 20:51:37 +00:00
Yves Arrouye
08c640b756 ICU-1220 of course, I had to compute the offset wrongly when there is
no error :-(

X-SVN-Rev: 7422
2002-01-09 20:44:51 +00:00
Yves Arrouye
ca88544452 ICU-1220 Report position at which errors occur.
Fix memory dumps in messages by explicetly adding U+0000 at the end of the
strings that we getBuffer() to u_wmsg().
Add --fallback and --no-fallback options to control use of fallback.

X-SVN-Rev: 7421
2002-01-09 20:42:19 +00:00
Yves Arrouye
a4d79a59a0 ICU-1220 destroyed formatting in the callbacks section. fixed.
X-SVN-Rev: 7419
2002-01-09 01:40:52 +00:00
Yves Arrouye
b68db05114 ICU-1220 more info on callbacks.
X-SVN-Rev: 7418
2002-01-09 01:34:45 +00:00
Yves Arrouye
5327e8c843 ICU-1220 typo, vocabulary.
X-SVN-Rev: 7417
2002-01-09 01:32:17 +00:00
Yves Arrouye
12be335ada ICU-1220 many files can now be transcoded at the same time. I was
tempted to let one do uconv -t utf-8 -f latin1 file1 -f euc-jp file2 so
that many files of various encodings could be converted at the same time
to a single encoding, but will do that later after cleaning up the sloppy
way I enabled multiple files for today.

X-SVN-Rev: 7416
2002-01-09 01:31:14 +00:00
Yves Arrouye
3b470abbe3 ICU-1220 Added escape-codepoint as a callback to let people use the
new UCNV_ESCAPE_CODEPOINT.
Options compatibility with iconv(1): added -V, --version; -s, --silent;
--verbose (and -v because of ICU commands); -o, --output file. uconv(1) is
now mostly compatible with iconv(1) usage, except for the fact that one
cannot convert many files in one run yet.

X-SVN-Rev: 7414
2002-01-09 01:04:32 +00:00
Steven R. Loomis
e9dfda269c ICU-1220 include of header for uprv_strdup
X-SVN-Rev: 7409
2002-01-08 19:08:47 +00:00
Yves Arrouye
58dfa37afb ICU-1220 sorry, changed \\ to \e.
X-SVN-Rev: 7408
2002-01-08 03:29:36 +00:00
Yves Arrouye
72a06de4e9 ICU-1220 oops. use UCNV_ESCAPE_XML_HEX for escape-xml-hex!
X-SVN-Rev: 7407
2002-01-08 03:23:53 +00:00
Yves Arrouye
550c0e205e ICU-1220 more manual update (thanks ispell).
X-SVN-Rev: 7406
2002-01-08 03:05:49 +00:00
Yves Arrouye
5774a07092 ICU-1220 more manual update.
X-SVN-Rev: 7405
2002-01-08 03:03:55 +00:00
Yves Arrouye
23956f9d2d ICU-1220 uconv now supports setting callbacks in both directions; see
the manual page, or call uconv -h to have a list (though the manual
page also has explanations for the different callbacks).

X-SVN-Rev: 7404
2002-01-08 02:35:07 +00:00
Yves Arrouye
c62d7f20bb ICU-1220 uconv now supports setting callbacks in both directions; see
the manual page, or call uconv -h to have a list (though the manual
page also has explanations for the different callbacks).

X-SVN-Rev: 7403
2002-01-08 02:34:33 +00:00
Yves Arrouye
e0a7eb8731 ICU-1220 added iconv-compatibility option -c, and added -i for input
X-SVN-Rev: 7400
2002-01-07 21:35:54 +00:00
Yves Arrouye
4004c78ee9 ICU-1220 added iconv-compatibility option -c, and added -i for input
X-SVN-Rev: 7399
2002-01-07 21:34:41 +00:00
Yves Arrouye
b2b5b7ff96 ICU-1220 if --canon is used with -L, --list-transliterators, print only
one name per line (makes grepping very easy).
Ensure that we can handle transliterators names of arbitrary length (as
big as memory will allow).

X-SVN-Rev: 7398
2002-01-07 21:05:30 +00:00
Yves Arrouye
4cd24e1a9f ICU-1220 better documentation of the transliteration.
X-SVN-Rev: 7397
2002-01-07 20:48:36 +00:00
Yves Arrouye
691fa3912c ICU-1220 implemented -L, --list-transliterators.
made the -x transliterator option work.
updated manual page and resource bundle to reflect that.

X-SVN-Rev: 7396
2002-01-07 20:45:00 +00:00
Yves Arrouye
021616e5c9 ICU-1220 reformat help to fit in 80 columns
X-SVN-Rev: 7395
2002-01-05 06:33:43 +00:00
Yves Arrouye
cccb02263f ICU-1104 display an error if the encoding passed to --list-code results
in a null first alias (err is not set)

X-SVN-Rev: 7387
2002-01-05 01:20:45 +00:00
Yves Arrouye
ef243d3b7d ICU-1104 add a --list-code code option to generalize the --default-code
one. A good use of this option is to know if a given name is valid, by
calling 'uconv --list-code name 2>/dev/null' and checking for the exit
code. Maybe a -q option is in order to make that easier.

X-SVN-Rev: 7386
2002-01-05 01:08:01 +00:00
Yves Arrouye
80b6bd8d53 ICU-1104 add a --default-code option.
X-SVN-Rev: 7385
2002-01-05 00:42:27 +00:00
Yves Arrouye
c05e8166f7 ICU-1104 add a --default-code option.
X-SVN-Rev: 7384
2002-01-05 00:42:05 +00:00
Yves Arrouye
35293cdf9c ICU-1104 add a --default-code option.
X-SVN-Rev: 7383
2002-01-05 00:28:34 +00:00
Yves Arrouye
ff552c0fdc ICU-1600 cleaning up of Makefile rules to show more information and less
human-oriented comments. Associated cleaning up of tools to have most
verbose
messages only displayed when verbose options are used.

X-SVN-Rev: 7382
2002-01-04 23:48:46 +00:00
Yves Arrouye
d8facfd734 ICU-1596 Added support for the -V option to version libraries.
Added alternate names for common and dll (respectively archive and library)
so that people can use the same names with configure and pkgdata.

X-SVN-Rev: 7365
2001-12-21 20:09:18 +00:00
Yves Arrouye
d7c3f90b00 ICU-1200 do not use the soon to be deprecated UnicodeConverter.
X-SVN-Rev: 7355
2001-12-20 00:50:00 +00:00
George Rhoten
a026a70834 ICU-1220 Fix the Windows build of uconv
X-SVN-Rev: 7278
2001-12-03 20:27:42 +00:00
Eric Mader
a4662d784f ICU-1289 changed to use ICU coding conventions.
X-SVN-Rev: 7094
2001-11-27 01:35:15 +00:00
Eric Mader
d003bca223 ICU-1289 added information about using the scrptrun files from their
original directory. Updated information about paired punctuation. Removed
information about LayoutEngine coding conventions.

X-SVN-Rev: 7093
2001-11-27 01:34:52 +00:00
Eric Mader
e347d76c05 ICU-1289 changes for paired character matching from samples/layout.
X-SVN-Rev: 7092
2001-11-27 01:05:31 +00:00
George Rhoten
152ddb6897 ICU-1550 Fixes for NetBSD
X-SVN-Rev: 7087
2001-11-26 21:47:42 +00:00
Vladimir Weinstein
8eb94c82a5 ICU-1541 consistently added U_CAPI & U_EXPORT2 to all the declarations and definitions
X-SVN-Rev: 7041
2001-11-21 01:22:16 +00:00
George Rhoten
e20a286b5e ICU-900 Fixed some compiler warnings
X-SVN-Rev: 7029
2001-11-20 21:25:14 +00:00
Yves Arrouye
3f3d69a692 ICU-1220 implementation of -c option.
X-SVN-Rev: 6821
2001-11-13 07:22:18 +00:00
Vladimir Weinstein
a4fecd849a ICU-393 .cvsignore
X-SVN-Rev: 6801
2001-11-12 22:06:12 +00:00
Yves Arrouye
9d560d624d ICU-1220 fixed typo. -c done.
X-SVN-Rev: 6770
2001-11-12 05:02:22 +00:00
Yves Arrouye
04e18dad03 ICU-1220 print tags.
X-SVN-Rev: 6748
2001-11-10 08:23:52 +00:00
Yves Arrouye
867b0c9cc8 ICU-1220 print tags.
X-SVN-Rev: 6747
2001-11-10 07:25:59 +00:00
Yves Arrouye
aecb038cf5 ICU-1220 renamed option -c to be used together with -l.
always print aliases names

X-SVN-Rev: 6746
2001-11-10 07:01:29 +00:00
Yves Arrouye
78f86d2bfd ICU-1220 added a --list-converters option.
X-SVN-Rev: 6743
2001-11-10 06:52:25 +00:00
Yves Arrouye
0ad967b412 ICU-1220 document that -L isn't implemented.
X-SVN-Rev: 6742
2001-11-10 06:18:37 +00:00
Yves Arrouye
9fadd80f32 ICU-1220 document that -L isn't implemented.
X-SVN-Rev: 6741
2001-11-10 06:18:16 +00:00
Yves Arrouye
22e2e9c1ba ICU-1220 added a manual page for uconv.
X-SVN-Rev: 6740
2001-11-10 06:14:46 +00:00
Yves Arrouye
52affd22d1 ICU-1220 terse printing with -l. We'll have a --list-converters that
will dump the converters and their alias as if it were a brand
new convrtrs.txt

X-SVN-Rev: 6739
2001-11-10 06:14:23 +00:00
Yves Arrouye
3029b7cf1f ICU-1220 add -? for compatibility with other tools
X-SVN-Rev: 6738
2001-11-10 06:01:49 +00:00
Yves Arrouye
a150871504 ICU-1220 add -? for compatibility with other tools
X-SVN-Rev: 6737
2001-11-10 06:00:26 +00:00
Yves Arrouye
4325059629 ICU-1404 let's simplify things, and make ICUDATA_DIR contain the
$(VERSION) part. We only need to go above that for the current symlink.

X-SVN-Rev: 6728
2001-11-10 02:21:37 +00:00
Yves Arrouye
7ba140fec6 ICU-1404 create $(ICUPKGDATA_DIR) not $(libdir) of course.
X-SVN-Rev: 6727
2001-11-10 02:18:34 +00:00
Yves Arrouye
59400a4714 ICU-1404 a lot more fixes to make --with-data-packaging=archive work.
X-SVN-Rev: 6725
2001-11-10 01:54:17 +00:00
Yves Arrouye
51c6835601 ICU-1220 call initMsg() before printing error msg.
X-SVN-Rev: 6724
2001-11-10 01:53:45 +00:00
George Rhoten
03b8c5bcdd ICU-1220 On EBCDIC platforms the UTF-8 files need the UTF-8 BOM.
X-SVN-Rev: 6647
2001-11-06 23:21:02 +00:00
Andy Heninger
39a2ff8950 ICU-1404 Fix broken out-of-source-directory build, previous commit was bad.
X-SVN-Rev: 6628
2001-11-06 00:41:18 +00:00
George Rhoten
0bbc1d8e0a ICU-1220 The -eutf-8 option is annoying when ICU_DATA is not specified,
and the libicudata.so library does not exist when only memory mapped files are created.

X-SVN-Rev: 6611
2001-11-05 18:09:30 +00:00
Andy Heninger
7202cadd36 ICU-1404 configure, fix broken --with-data-packaging option
X-SVN-Rev: 6521
2001-10-31 18:43:45 +00:00
George Rhoten
6b2bb522a9 ICU-1028 Versioning support for os/390. Remove redundent defines.
X-SVN-Rev: 6498
2001-10-30 19:03:30 +00:00
George Rhoten
8fef2b3a52 ICU-1028 Fix for os/390
X-SVN-Rev: 6484
2001-10-29 23:29:14 +00:00
George Rhoten
9e859b95e2 ICU-1220 Fix for os/390
X-SVN-Rev: 6375
2001-10-22 21:28:55 +00:00