Commit Graph

123 Commits

Author SHA1 Message Date
George Rhoten
197318a1c2 ICU-821 gcc 3.0, AIX xlC and os/390 can not properly optimize IEEEremainder
X-SVN-Rev: 6086
2001-10-05 18:47:09 +00:00
George Rhoten
0adcaceb0f ICU-1257 Call setlocale only once. We don't want /en_US/C/C/C/C/C on
the second try from Solaris.

X-SVN-Rev: 6070
2001-10-05 02:10:46 +00:00
George Rhoten
4e351c0c81 ICU-513 Don't use the deprecated API anymore.
X-SVN-Rev: 5756
2001-09-17 21:50:19 +00:00
Ram Viswanadha
23183c7042 ICU-399 cast the range checks to uint32_t
X-SVN-Rev: 5734
2001-09-11 18:33:18 +00:00
Markus Scherer
0cf4543b4a ICU-1109 add U_STRING_NOT_TERMINATED_WARNING
X-SVN-Rev: 5693
2001-09-05 23:36:20 +00:00
George Rhoten
420c9b317c ICU-770 More data cleanup
X-SVN-Rev: 5678
2001-09-01 01:55:48 +00:00
Ram Viswanadha
e7042af1b8 ICU-329 Add parseError and UErrorCode to all public API's to make them consitent with ICU's design. Fix implementation to bubble the error code.
X-SVN-Rev: 5653
2001-08-31 03:23:39 +00:00
George Rhoten
8f2c4bfb65 ICU-770 More data cleanup
X-SVN-Rev: 5651
2001-08-31 02:14:47 +00:00
George Rhoten
303ce37e9a ICU-900 Fixed some compiler warnings by making the locmap "translation unit" not empty.
X-SVN-Rev: 5606
2001-08-29 21:37:09 +00:00
George Rhoten
66288afa66 ICU-1099 Add const to some static data
X-SVN-Rev: 5571
2001-08-24 00:22:07 +00:00
Ram Viswanadha
23beedf30c ICU-1031 Shuffled error constants so that for display in the debugger
X-SVN-Rev: 5539
2001-08-18 00:40:35 +00:00
Andy Heninger
fc61c83aa2 ICU-1075 Yet more data loading changes
X-SVN-Rev: 5523
2001-08-17 21:34:07 +00:00
Ram Viswanadha
61e489cacd ICU-329 Move uprv_strtod and other functions to private headers and files
X-SVN-Rev: 5498
2001-08-17 01:40:34 +00:00
George Rhoten
d1afd5979d ICU-900 Fixed some compiler warnings
X-SVN-Rev: 5492
2001-08-17 00:24:58 +00:00
George Rhoten
5979c84b75 ICU-597 Implement uprv_getDefaultCodepage for as/400, and move related code closer together.
X-SVN-Rev: 5481
2001-08-16 16:20:56 +00:00
Ram Viswanadha
87d0db48ce ICU-329 Move itou to putil.c add more error codes for parse errors and transliteration.
X-SVN-Rev: 5477
2001-08-16 01:01:57 +00:00
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