Commit Graph

107 Commits

Author SHA1 Message Date
George Rhoten
3935356bad ICU-994 Needed to use atol instead of atoi
X-SVN-Rev: 5326
2001-07-24 01:07:56 +00:00
George Rhoten
11a7219087 ICU-580 Change os/390 batch support back to the original way.
X-SVN-Rev: 5213
2001-07-10 18:14:23 +00:00
George Rhoten
0b0a9cb20a ICU-1018 Don't use the Windows compiler extension _itoa().
X-SVN-Rev: 5191
2001-07-06 01:12:24 +00:00
Vladimir Weinstein
6c37bcf77d ICU-1031 added warning codes ending in _WARNING, changed string names. Also added error and warning needed for j392
X-SVN-Rev: 5179
2001-07-05 19:45:03 +00:00
George Rhoten
4b61754a3f ICU-900 Fixed some compiler warnings
X-SVN-Rev: 5109
2001-06-27 16:25:02 +00:00
Vladimir Weinstein
f8af8ef211 ICU-1002 changed semantics of variable top, fixed fractional UCA, added placeholder for setter API, added error codes
X-SVN-Rev: 5069
2001-06-25 04:01:49 +00:00
Yves Arrouye
04a8b879b7 ICU-963 define DATA_TYPE
X-SVN-Rev: 5060
2001-06-22 16:10:38 +00:00
George Rhoten
fec6a9409a ICU-994 fixed uprv_digitsAfterDecimal()
X-SVN-Rev: 4997
2001-06-14 00:29:38 +00:00
Yves Arrouye
78e52aba92 ICU-963 oops, it's U_ICUDATA_NAME nor U_ICUDATA_FILE
X-SVN-Rev: 4910
2001-06-07 17:14:44 +00:00
Yves Arrouye
5cfa04f7fd ICU-963 added a check for specific files in the hardcoded directory
before we get too fancy with library pathes, since we can get it wrong when
differently compiled, and incomplete, ICUs, are installed in different
locations.

X-SVN-Rev: 4908
2001-06-06 23:32:41 +00:00
George Rhoten
9568fe1112 ICU-567 Oops, forgot a ; for the Mac
X-SVN-Rev: 4679
2001-05-15 23:07:21 +00:00
George Rhoten
6a6ea806c0 ICU-567 Errors.h is not standard on the Mac, but MacTypes.h is standard.
X-SVN-Rev: 4677
2001-05-15 22:11:59 +00:00
George Rhoten
ed45c994e0 ICU-597 Doing math with infinity usually results in NaN.
as/400 won't allow this to happen.

X-SVN-Rev: 4667
2001-05-14 22:45:22 +00:00
George Rhoten
73ee79ad66 ICU-597 Minor fix to get the locale for as/400
X-SVN-Rev: 4609
2001-05-04 23:41:15 +00:00
George Rhoten
468c08fe10 ICU-597 Minor fix to get the locale for as/400
X-SVN-Rev: 4608
2001-05-04 23:34:17 +00:00
George Rhoten
322e05f131 ICU-597 Get the locale for as/400
X-SVN-Rev: 4602
2001-05-04 00:47:16 +00:00
George Rhoten
1b9b0d85a0 ICU-567 A better implementation of the Mac OS getDataDirectory
X-SVN-Rev: 4587
2001-05-03 00:13:10 +00:00
George Rhoten
c4997713ef ICU-903 Updated the copyright notice
X-SVN-Rev: 4238
2001-03-21 20:44:20 +00:00
Steven R. Loomis
83978d8c16 ICU-865 oops, semicolon
X-SVN-Rev: 4084
2001-03-15 01:31:02 +00:00
George Rhoten
84284e110a ICU-865 os/390 porting changes
X-SVN-Rev: 4080
2001-03-15 00:31:08 +00:00
George Rhoten
3377cf7fb9 ICU-597 AS/400 porting changes
X-SVN-Rev: 3722
2001-02-22 02:39:41 +00:00
Markus Scherer
1b4da8a065 ICU-388 add new error code to putil.c for u_errorName()
X-SVN-Rev: 3674
2001-02-19 21:25:31 +00:00
Markus Scherer
33418441e8 ICU-471 add shaping options & error code
X-SVN-Rev: 3629
2001-02-15 02:36:15 +00:00
George Rhoten
b3e5c73338 ICU-535 Fixed some compiler warnings
X-SVN-Rev: 3545
2001-02-02 23:03:08 +00:00
George Rhoten
e1b9012971 ICU-552 added more ISO-639 names to the codepage list
X-SVN-Rev: 3537
2001-02-02 20:34:37 +00:00
George Rhoten
1c1a918f0b ICU-832 Fixed some compiler warnings
X-SVN-Rev: 3527
2001-02-01 23:19:51 +00:00
George Rhoten
bc3aaa20ef ICU-573 Put in putil.h
X-SVN-Rev: 3361
2001-01-03 00:18:57 +00:00
Yves Arrouye
006615f65b ICU-695 put data under $(libdir) not $(datadir).
X-SVN-Rev: 2790
2000-10-25 22:26:17 +00:00
Yves Arrouye
614eb112b5 ICU-480 detect nl_langinfo() and then tries to pass it CODESET and
_NL_CTYPE_CODESET_NAME, and set U_NL_LANGINFO_CODESET accordingly. If neither
works, define U_HAVE_NL_LANGINFO_CODESET to 0, for these NetBSD boxes...

X-SVN-Rev: 2690
2000-10-16 17:26:31 +00:00
George Rhoten
377ebd5d87 ICU-659 simplified the macro logic
X-SVN-Rev: 2667
2000-10-13 02:00:26 +00:00
Yves Arrouye
67e658da3c ICU-530 use #if U_HAVE_NL_LANGINFO, not #ifdef
X-SVN-Rev: 2581
2000-10-05 23:46:48 +00:00
Yves Arrouye
0b35a1e72c ICU-630 autoconf detection code for tzset, _tzset, tzname, _tzname
(adapted from AC_STRUCT_TIMEZONE), timezone and _timezone. The defines
U_TZSET, U_TZNAME and U_TIMEZONE either contain the symbol to use, or are
undefined if there is no appropriate symbol. putil.c thus has now things
like:

	uprv_timezone() {
	#ifdef U_TIMEZONE
	    return U_TIMEZONE;
	#else
	    ...........
	#endif
	}

which is much simpler.

X-SVN-Rev: 2580
2000-10-05 23:41:59 +00:00
Yves Arrouye
1c4c881afb ICU-638 added the new U_HAVE_NL_LANGINFO, U_HAVE_CODESET, and
U_HAVE_TZSET to get rid of the (routinely incorrect) manipulation of U_POSIX
based on platform names. Also added U_HAVE_WCSCPY to define whether a
platform has the w* functions (it may not, even if wchar.h is present).

X-SVN-Rev: 2579
2000-10-05 19:33:35 +00:00
George Rhoten
539869f5f4 ICU-631 The _WIN32 checking should really be WIN32.
X-SVN-Rev: 2570
2000-10-04 22:52:22 +00:00
George Rhoten
8fec668948 ICU-480 Simplified the #if for timezone. NetBSD still not supported, but it will be easier to add in the future.
X-SVN-Rev: 2565
2000-10-04 19:24:31 +00:00
George Rhoten
dff8dc915b ICU-564 Fixed another static memory leak. This leak is Windows specific.
X-SVN-Rev: 2449
2000-09-19 18:02:53 +00:00
Steven R. Loomis
00f74db99a ICU-567 MacOS
X-SVN-Rev: 2365
2000-08-28 21:27:18 +00:00
George Rhoten
90b05dc422 ICU-535 fixed some compiler warnings
X-SVN-Rev: 2337
2000-08-23 16:55:21 +00:00
Ram Viswanadha
c795773004 ICU-565 Added new error codes
X-SVN-Rev: 2329
2000-08-23 01:19:05 +00:00
Ram Viswanadha
25f876129a ICU-565 Added new error codes
X-SVN-Rev: 2323
2000-08-22 18:04:25 +00:00
George Rhoten
f3144ab272 ICU-535 fixed some compiler warnings
X-SVN-Rev: 2204
2000-08-11 20:36:51 +00:00
George Rhoten
0cd0aae1ef ICU-535 fixed some compiler warnings
X-SVN-Rev: 2177
2000-08-10 21:45:43 +00:00
Steven R. Loomis
6fa70ecf4a ICU-527 Don't crash if setlocale() returns NULL
X-SVN-Rev: 2099
2000-08-02 19:36:19 +00:00
Yves Arrouye
13dccbd5b1 ICU-377 split the POXIX functionality into U_POSIX_LOCALE,
U_POSIX_TIMEZONE, and add U_HAVE_NL_LANGINFO for those that have
U_POSIX_LOCALE defined (may or may not have nl_langinfo()). nl_langinfo()
should be autodected but I'm lazy today (and everything in putil.c should
be autodected, actually, so there!). For Darwin, define U_POSIX_LOCALE
but not U_HAVE_NL_LANGINFO.

X-SVN-Rev: 1969
2000-07-20 04:43:47 +00:00
Yves Arrouye
9fbbbf01bc ICU-377 removed U_RHAPSODY, only U_DARWIN is used now.
X-SVN-Rev: 1938
2000-07-19 04:29:20 +00:00
Yves Arrouye
55cc3f3d3f ICU-353 const char * please.
X-SVN-Rev: 1795
2000-07-11 22:44:35 +00:00
Yves Arrouye
05e119e889 ICU-377 U_RHAPSODY doesn't look very POSIX from our point of view.
X-SVN-Rev: 1792
2000-07-11 22:24:00 +00:00
Steven R. Loomis
73b342fb13 ICU-343 parse locales such as fr_FR.UTF8@EURO [codepage and locale variant must be considered]
X-SVN-Rev: 1754
2000-07-07 06:12:00 +00:00
Yves Arrouye
2dd27cde6e ICU-377 Darwin doesn't have <langinfo.h> (even though the functions are
in the manual!) and thus shouldn't be marked POSIX.

X-SVN-Rev: 1730
2000-07-03 19:30:42 +00:00
Yves Arrouye
d37141dcac ICU-371 changed LINUX and SOLARIS to U_LINUX and U_SOLARIS, also
changed HAVE_INTTYPES_H to U_HAVE_INTTYPES_H.

X-SVN-Rev: 1726
2000-06-30 21:35:03 +00:00