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
Vladimir Weinstein
497abfd708
ICU-460 Porting changes
...
X-SVN-Rev: 1678
2000-06-28 22:20:08 +00:00
Markus Scherer
ee39dd3f52
ICU-397 better u_versionToString() error checking
...
X-SVN-Rev: 1554
2000-06-02 18:37:54 +00:00
Steven R. Loomis
561deb6ee6
ICU-408 HPUX returns 'C C C C C C' as the default locale, map to en_US like 'C'
...
X-SVN-Rev: 1518
2000-05-30 20:43:37 +00:00
Helena Chapman
aab9c41ddc
ICU-408 AIX 4.3.x port changes.
...
X-SVN-Rev: 1460
2000-05-24 19:21:39 +00:00
Markus Scherer
aca0c53ac2
ICU-397 make u_versionFrom/ToString() public
...
X-SVN-Rev: 1437
2000-05-22 22:24:51 +00:00
Markus Scherer
a511f10787
ICU-401 different ebcdic<->ascii tables for non-os/390 ebcdic platforms
...
X-SVN-Rev: 1418
2000-05-20 00:58:14 +00:00
Helena Chapman
335e7a1731
ICU-394 Check NULL return in the default lookup table.
...
X-SVN-Rev: 1416
2000-05-19 17:19:07 +00:00
Helena Chapman
69ba12f77c
ICU-351 Define UBool to be used in the APIs.
...
X-SVN-Rev: 1410
2000-05-18 22:08:39 +00:00
Vladimir Weinstein
c786b21d52
ICU-184 resource data files in memory mapped format (initial revision)
...
X-SVN-Rev: 1365
2000-05-15 18:39:17 +00:00
Yves Arrouye
0d35fb05a2
ICU-390 define the right cpp symbols for compilation under Linux
...
and Solaris when gcc -ansi is used (which negates POSIX, X/Open, BSD, and
SVID specific definitions in the standard libraries, definitions that ICU
needs).
X-SVN-Rev: 1354
2000-05-12 01:15:50 +00:00
Yves Arrouye
38baf3e075
ICU-390 define __USE_POSIX and __USE_XOPEN before including
...
<time.h> if POSIX and LINUX are both defined.
X-SVN-Rev: 1352
2000-05-12 00:42:00 +00:00
Helena Chapman
1de326b1fe
ICU-375 Added code to detect system default locale in POSIX environments. Merged back from 1.4.1.2 release.
...
X-SVN-Rev: 1311
2000-05-02 23:25:45 +00:00
Yves Arrouye
808294bc94
ICU-377 more changes from Todd for timezone handling on Rhapsody.
...
X-SVN-Rev: 1297
2000-04-28 16:17:04 +00:00
Yves Arrouye
4d0f747e86
ICU-378 (Todd) Use falback for timezone on Rhapsody too.
...
X-SVN-Rev: 1294
2000-04-28 04:36:17 +00:00
Markus Scherer
a2707cca7c
ICU-365 fix u_versionFromString()
...
X-SVN-Rev: 1174
2000-04-19 22:13:30 +00:00
Yves Arrouye
f911c8b490
ICU-353 _tzname[n] on Windows too, please... Thanks Vladimir for the heads-up.
...
X-SVN-Rev: 1133
2000-04-15 03:33:59 +00:00
Yves Arrouye
bff1b2e05c
ICU-353 use better names to replace index, depending on what the func/
...
method actually does with it (for example: n to get the nth element, offset
within a buffer, etc.).
X-SVN-Rev: 1131
2000-04-14 05:22:29 +00:00
Yves Arrouye
c69c164be8
ICU-353 basic warnings cleanup (not touching object's memory layout). A
...
basic build now compiles w/o a single warning on Linux. One with --enable-strict
is a different matter...
X-SVN-Rev: 1124
2000-04-13 23:00:43 +00:00
Markus Scherer
e542c7dedc
ICU-346 change IEEE_754 to a numeric macro (value 0 or 1)
...
X-SVN-Rev: 1080
2000-04-06 16:45:03 +00:00
Alan Liu
b24fb13633
ICU-315 fix C compile errors
...
X-SVN-Rev: 1075
2000-04-05 21:33:50 +00:00
Alan Liu
b839eb84e0
ICU-315 add uprv_IEEEremainder doc
...
X-SVN-Rev: 1072
2000-04-05 19:18:53 +00:00
Alan Liu
5142b7614c
ICU-315 add portable IEEEremainder implementation
...
X-SVN-Rev: 1066
2000-04-05 16:53:37 +00:00
Markus Scherer
2b5a36af8c
ICU-315 more S/390 and EBCDIC changes
...
X-SVN-Rev: 1044
2000-03-31 21:45:17 +00:00
Markus Scherer
0b31557c8f
ICU-315 more S/390 changes
...
X-SVN-Rev: 1028
2000-03-29 23:52:56 +00:00
Alan Liu
e9697c4835
ICU-336 fix index out of range bug in u_UCharToChars
...
X-SVN-Rev: 974
2000-03-22 19:12:21 +00:00
Helena Chapman
a24534df38
ICU-84 S/390 DLL code update.
...
X-SVN-Rev: 937
2000-03-10 01:52:03 +00:00
Steven R. Loomis
7b3299b787
ICU-84 s/390 update
...
X-SVN-Rev: 802
2000-02-18 21:36:51 +00:00
Steven R. Loomis
6c77945014
ICU-200 OS400 update
...
X-SVN-Rev: 797
2000-02-18 21:05:24 +00:00
Markus Scherer
eb3b8551a2
ICU-279 EBCDIC LF/NL must be mapped according to the CDRA
...
X-SVN-Rev: 755
2000-02-14 19:10:13 +00:00
Markus Scherer
ea63c9f28e
ICU-87 changed the registry key to HKLM "SOFTWARE\\ICU\\Unicode\\Data"
...
X-SVN-Rev: 642
2000-01-18 23:09:30 +00:00