Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-02-13 * Makefile.in (clean): Remove non-existant regexp dir.Corinna Vinschen
* collate.h: New header. (__collate_range_cmp): Declare. (__collate_load_error): Define. * glob.cc: Pull in latest version from FreeBSD. Simplify and reduce Cygwin-specific changes. * regex/regcomp.c: Include collate.h on Cygwin as well. (__collate_range_cmp): Move from here... * nlsfuncs.cc (__collate_range_cmp): ...to here. * miscfuncs.cc (thread_wrapper): Fix typo in comment. (CygwinCreateThread): Take dead zone of Windows stack into account. Change the way how the stack is commited and how to handle guardpages. Explain how and why. * thread.h (PTHREAD_DEFAULT_STACKSIZE): Change definition. Explain why.
2011-12-18Clean up whitespace.Christopher Faylor
2011-06-06whitespace eliminationChristopher Faylor
2010-06-01 * exceptions.cc (open_stackdumpfile): Correctly append .stackdumpCorinna Vinschen
suffix. * nlsfuncs.cc (rebase_locale_buf): Reorder arguments. Accommodate throughout. Add pointer to end of buffer and avoid changing pointers not pointing into the buffer.
2010-05-26 * nlsfuncs.cc (__set_lc_time_from_win): Use LOCALE_SMONTHNAME1Corinna Vinschen
instead of LOCALE_SABBREVMONTHNAME1 in Japanese and Korean locales to get abbreviated month names. Explain why.
2010-04-28 * cygwin.din (__locale_mb_cur_max): Export.Corinna Vinschen
* nlsfuncs.cc (__getlocaleinfo): Drop conversion to multibyte. (__charfromwchar): New function to convert to multibyte. (__eval_datetimefmt): Convert to return wchar_t pointer. Work on wide char string. (__set_lc_time_from_win): Take additional pointer to "C" category info to accommodate C.foo locales. Rework to fill wide char members in category info. (__set_lc_ctype_from_win): New function. (__set_lc_numeric_from_win): Take additional pointer to "C" category info to accommodate C.foo locales. Rework to fill wide char members in category info. (__set_lc_monetary_from_win): Ditto. (__set_lc_messages_from_win): Ditto. (__get_current_collate_codeset): New function, called from nl_langinfo. * include/cygwin/config.h (__HAVE_LOCALE_INFO_EXTENDED__): Define.
2010-04-10 * nlsfuncs.cc (__set_lc_time_from_win): Actually setCorinna Vinschen
_time_locale->md_order to the D_MD_ORDER value written to the buffer.
2010-04-02 * nlsfuncs.cc: Fix indentation.Corinna Vinschen
2010-04-02 * nlsfuncs.cc (rebase_locale_buf): New helper function to rebaseCorinna Vinschen
function pointers in locale structures. Explain why this is necessary. (__set_lc_time_from_win): Use rebase_locale_buf after realloc. (__set_lc_numeric_from_win): Ditto. (__set_lc_monetary_from_win): Ditto.
2010-03-28 * nlsfuncs.cc (__set_charset_from_locale): Set default charset forCorinna Vinschen
locales defaulting to codepage 936 to GB2312.
2010-02-22 * lc_era.h: Redefine lc_era_t to keepCorinna Vinschen
default date and time formats as well to workaround YA Windows shortcoming. Refresh with latest data. * lc_msg.h: Refresh with latest data. * nlsfuncs.cc (__eval_datetimefmt): Revert latest change. (__set_lc_time_from_win): Rename res to era. Prefer default date and time formats from era array if available. (__set_lc_messages_from_win): Rename res to msg.
2010-02-21 * lc_era.h (lc_era): Fix "ja_JP" era_t_fmt entry to use traditionalCorinna Vinschen
format. * nlsfuncs.cc (dt_flags): Remove DT_ERACAL since crippled era data in Windows makes it useless. (__eval_datetimefmt): Check if locale's default calender has non-gregorian start year. Use era year also in default date entries, if so.
2010-02-19 * lc_era.h: New file.Corinna Vinschen
* nlsfuncs.cc: Include lc_era.h. (locale_cmp): convert arguments to char** to be usable for both types, lc_msg_t and lc_era_t. (__set_lc_time_from_win): Handle era-related data
2010-02-18 * nlsfuncs.cc (eval_datetimefmt): Rename force to flags.Corinna Vinschen
(enum dt_flags): Define. (__eval_datetimefmt): Change force to flags and change type to dt_flags. Accommodate throughout. (__set_lc_time_from_win): Accommodate above change. Set era-related values to empty strings for now.
2010-02-11 * nlsfuncs.cc (initial_setlocale): Move check whether charset hasCorinna Vinschen
changed from here... (internal_setlocale): ...to here, to avoid unnecessary work when invoked via CW_INT_SETLOCALE.
2010-02-10 * nlsfuncs.cc (__set_charset_from_locale): Allow "@euro" modifier onlyCorinna Vinschen
for locales which use EUR as currency.
2010-02-10 * nlsfuncs.cc (__get_lcid_from_locale): Convert iu_CA to iu-Latn-CACorinna Vinschen
rather than iu-Cans-CA on Vista and later. (__set_charset_from_locale): Set default charset for iu_CA to UTF-8.
2010-02-09 * nlsfuncs.cc (lc_wcstombs): Add `return_invalid' flag to specifyCorinna Vinschen
whether invalid chars should be ignored or not. Change comment. (__set_lc_monetary_from_win): Call lc_wcstombs with return_invalid flag set. (__set_lc_messages_from_win): Simplify to accommodate the fact that lc_wcstombs just ignores invalid chars. Explain why.
2010-02-09 * nlsfuncs.cc (__set_lc_messages_from_win): Fix typo.Corinna Vinschen
2010-02-09 * lc_msg.h: New file, autogenerated from CLDR data.Corinna Vinschen
* nlsfuncs.cc: Include lc_msg.h. (lc_time_buf): Remove. (lc_numeric_buf): Remove. (lc_monetary_buf): Remove. (lc_mbstowcs): Fix previous fix. (__set_lc_time_from_win): Take additional pointer to buffer pointer, defined in newlib. (__set_lc_numeric_from_win): Ditto. (__set_lc_monetary_from_win): Ditto. (locale_cmp): New static function. (__set_lc_messages_from_win): New function to be called from newlib.
2010-02-09 Now *really* check in what should have been checked in 12 hours ago.Corinna Vinschen
2010-02-08 This patch got lost in the previous checkin, accidentally:Corinna Vinschen
* nlsfuncs.cc (lc_mbstowcs): Fix call to f_mbtowc.
2010-02-07 * nlsfuncs.cc (__get_lcid_from_locale): Handle "@cyrillic" modifierCorinna Vinschen
for uz_UZ locale here. (__set_charset_from_locale): Accommodate above change.
2010-02-07 * nlsfuncs.cc (__set_locale_from_locale_alias): New function to readCorinna Vinschen
locale aliases from /usr/share/locale/locale.alias.
2010-02-07 * nlsfuncs.cc (__get_lcid_from_locale): Handle no_NO as nb_NO, ratherCorinna Vinschen
than nn_NO.
2010-02-07 * nlsfuncs.cc (has_modifier): MOve up in file to use inCorinna Vinschen
__get_lcid_from_locale as well. (__get_lcid_from_locale): Handle no_NO locale as alias for nn_NO. Default all sr_XY locales to Cyrillic script. Change lcid to Latin script if "@latin" modifier has been specified. (__set_charset_from_locale): Handle Serbian in codepage 1251 case as well. Also check for sr_BA lcid. Restrict "@euro" modifier to locales otherwise defaulting to ISO-8859-1.
2010-02-06 * nlsfuncs.cc (__set_charset_from_locale): Set default charset forCorinna Vinschen
"ka_GE" locale to GEORGIAN-PS, for "kk_KZ" to PT154.
2010-02-06 * nlsfuncs.cc (__set_charset_from_locale): Set default locale forCorinna Vinschen
"uz_UZ" locale to ISO-8859-1, with the "@cyrillic" modifier to UTF-8.
2010-02-04 Replace regex files with multibyte-aware version from FreeBSD.Corinna Vinschen
* Makefile.in (install-headers): Remove extra command to install regex.h. (uninstall-headers): Remove extra command to uninstall regex.h. * nlsfuncs.cc (collate_lcid): Make externally available to allow access to collation internals from regex functions. (collate_charset): Ditto. * wchar.h: Add __cplusplus guards to make C-clean. * include/regex.h: New file, replacing regex/regex.h. Remove UCB advertising clause. * regex/COPYRIGHT: Accommodate BSD license. Remove UCB advertising clause. * regex/cclass.h: Remove. * regex/cname.h: New file from FreeBSD. * regex/engine.c: Ditto. (NONCHAR): Tweak for Cygwin. * regex/engine.ih: Remove. * regex/mkh: Remove. * regex/regcomp.c: New file from FreeBSD. Tweak slightly for Cygwin. Import required collate internals from nlsfunc.cc. (p_ere_exp): Add GNU-specific \< and \> handling for word boundaries. (p_simp_re): Ditto. (__collate_range_cmp): Define. (p_b_term): Use Cygwin-specific collate internals. (findmust): Ditto. * regex/regcomp.ih: Remove. * regex/regerror.c: New file from FreeBSD. Fix a few compiler warnings. * regex/regerror.ih: Remove. * regex/regex.7: New file from FreeBSD. Remove UCB advertising clause. * regex/regex.h: Remove. Replaced by include/regex.h. * regex/regexec.c: New file from FreeBSD. Fix a few compiler warnings. * regex/regfree.c: New file from FreeBSD. * regex/tests: Remove. * regex/utils.h: New file from FreeBSD.
2010-01-26 * nlsfuncs.cc (__get_lcid_from_locale): Add comments. Fix typos inCorinna Vinschen
comments. Make sure to set last_lcid every time. Return locale without territory part as invalid. Handle modern serbian territory names per ISO 3166 on older systems as well. Add appropriate comment. (__set_charset_from_locale): Handle LCID for sr_CS as well to make older systems happy.
2010-01-25 * nlsfuncs.cc (__set_charset_from_locale): Rearrange to set charsetCorinna Vinschen
more closely aligned to Glibc.
2010-01-25 * nlsfuncs.cc (__get_lcid_from_locale): Fix a comment. Handle specialCorinna Vinschen
language/TERRITORY combinations explicitely. Explain why.
2010-01-24 * nlsfuncs.cc (__set_charset_from_locale): Fix comment.Corinna Vinschen
2010-01-24 * nlsfuncs.cc (check_codepage): Move from syscalls.cc here.Corinna Vinschen
(internal_setlocale): Ditto. (initial_setlocale): Ditto. (setlocale): Ditto. * strfuncs.cc (__sjis_wctomb): Revert previous patch. (__sjis_mbtowc): Ditto. * syscalls.cc: Move setlocale-related functions to nlsfuncs.cc.
2010-01-23 * nlsfuncs.cc (wcsxfrm): Call LCMapStringW with LCMAP_BYTEREV flag toCorinna Vinschen
allow correct comparison using wcscmp.
2010-01-23 * Makefile.in (DLL_OFILES): Add nlsfunc.o and strfmon.o.Corinna Vinschen
* 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.