326fb376dd
* autoload.cc (LocaleNameToLCID): Define. * cygwin.din (strfmon): Export. * nlsfuncs.cc: New file. Define a lot of internal functions called from setlocale. (wcscoll): Implement locale-aware here, using CompareStringW function. (strcoll): Ditto. (wcsxfrm): Implement locale-aware here, usingLCMapStringW function. (strxfrm): Ditto. (__set_charset_from_locale): Replace __set_charset_from_codepage. Return Linux-compatible charset. * strfuncs.cc (__set_charset_from_codepage): Remove. * wchar.h (__set_charset_from_codepage): Drop definition. * wincap.h (wincaps::has_localenames): New element. * wincap.cc: Implement above element throughout. * libc/strfmon.c: New file. * libc/strptime.cc: Remove locale constant strings in favor of access to locale-specifc data. (strptime): Point _CurrentTimeLocale to locale-specific data. Throughout use correct locale-specific format fields for all locale-specific formats. * include/monetary.h: New file. * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump. |
||
---|---|---|
.. | ||
_types.h | ||
acl.h | ||
config.h | ||
core_dump.h | ||
cygwin_dll.h | ||
fs.h | ||
grp.h | ||
hdreg.h | ||
icmp.h | ||
if.h | ||
in.h | ||
in6.h | ||
in_systm.h | ||
ipc.h | ||
kd.h | ||
msg.h | ||
mtio.h | ||
rdevio.h | ||
sem.h | ||
shm.h | ||
signal.h | ||
socket.h | ||
sockios.h | ||
stat.h | ||
stdlib.h | ||
sys_time.h | ||
sysproto.h | ||
time.h | ||
types.h | ||
utmp.h | ||
version.h | ||
wait.h |