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
path: root/winsup
AgeCommit message (Collapse)Author
2010-02-172010-02-14 Roumen Petrov <rumen@users.sourceforge.net>Chris Sutcliffe
Issue [2134161]: time64 functions and types for msvcrt >= 8.0 (initial implementation) * new type: __time32_t * new structures: _finddata32_t, _finddata32i64_t, _finddata64i32_t, __stat32, _stat32i64, _stat64i32, __timeb32, __utimbuf32, __wfinddata32_t, _wfinddata32i64_t, _wfinddata64i32_t * new functions: _ctime32, _difftime32, _difftime64, _findfirst32 _findfirst32i64, _findfirst64i32, _findnext32, _findnext32i64, _findnext64i32, _fstat32, _fstat32i64, _fstat64i32, _ftime32, _futime32, _gmtime32, _localtime32, _mkgmtime32, _mkgmtime64, _mktime32, _stat32, _stat32i64, _stat64i32, _time32, _utime32, _wctime32, _wfindfirst32, _wfindfirst32i64, _wfindfirst64i32, _wfindnext32, _wfindnext32i64, _wfindnext64i32, _wstat32, _wstat32i64, _wstat64i32,_wutime32 * new define _USE_32BIT_TIME_T set 32 or 64 aliases for: time_t, ctime, difftime, _findfirst, _findfirsti64, _findnext, _findnexti64, _fstat, _fstati64, _ftime, _futime, gmtime, localtime, mktime, _stat, _stati64, time, _utime, _wctime, _wfindfirst, _wfindfirsti64, _wfindnext, _wfindnexti64, _wstat, _wstati64, _wutime
2010-02-15 * new-features.sgml (ov-new1.7.2): Add native DOS path and UNC pathCorinna Vinschen
change. * pathnames.sgml (pathnames-intro): Make the Win32 path text a note and xref to new pathnames-win32 section. (cygdrive): Add description how the cygdrive mount flags apply to UNC paths starting with slashes. (pathnames-win32): New section describing native path handling.
2010-02-15 * path.cc (path_conv::check): Treat native DOS paths as "noacl".Corinna Vinschen
2010-02-15 * mount.cc (mount_info::conv_to_win32_path): Set UNC path flags toCorinna Vinschen
cygdrive prefix path flags.
2010-02-15* fhandler.cc (fhandler_base::setup_overlapped): Don't set signalled state toChristopher Faylor
true initially. (fhandler_base::has_ongoing_io): Delete ill-advised function. (fhandler_base::read_overlapped): Rely on caller having checked nonblocking state. Don't attempt to (incorrectly) check it here. (fhandler_base::write_overlapped): Remove call to has_ongoing_io. * select.cc (peek_pipe): Ditto. * fhandler.h (fhandler_base::has_ongoing_io): Delete declaration.
2010-02-15* regex/regcomp.c (xwcrtomb): Fix one explicable and one inexcplicable CChristopher Faylor
warning.
2010-02-13 * regex/regcomp.c (xwcrtomb): Don't convert Unicode chars outside theCorinna Vinschen
base plane always to UTF-8. Call wcsnrtombs instead to allow arbitrary multibyte charsets.
2010-02-13 * cygpath.cc (do_pathconv): Fix potential crash.Corinna Vinschen
2010-02-12 * regex/regcomp.c (wgetnext): Use size_t as type for n2 since that'sCorinna Vinschen
what's returned by mbrtowc. * regex/regexec.c (xmbrtowc): Ditto.
2010-02-12* pthread.cc (pthread_mutex_init): Explicitly fill out third arg toChristopher Faylor
pthread_mutex::init. * thread.cc: Remov some obsolete comments. (verifyable_object_isvalid): Reflect change to use thread_magic_t for magic numbers. (pthread_mutex::pthread_mutex): Set magic number to invalid initially until we've verified that everything is valid. (pthread_mutex::unlock): Fix a comment. (verifyable_object::verifyable_object): Delete here. (~verifyable_object::~verifyable_object): Ditto. (pthread_mutex::init): Don't run is_good_initializer for non-static objects. * thread.h (thread_magic_t): New typedef. (verifyable_object::verifyable_object): Use thread_magic_t; (verifyable_object::magic): Ditto. (pthread_mutex::is_good_initializer_or_bad_object): Remove unneeded variable names. (pthread_mutex::can_be_unlocked): Ditto. (pthread_mutex::init): Ditto. Remove default for third argument.
2010-02-12fix typoChristopher Faylor
2010-02-12 * regex/regcomp.c (xwcrtomb): New function to convert wide charsCorinna Vinschen
outside of the base plane to UTF-8. Call throughout instead of wcrtomb. (wgetnext): Handle surrogate pairs on UTF-16 systems. * regex/regexec.c (xmbrtowc): Ditto.
2010-02-12 * sec_auth.cc (get_user_local_groups): Retrieve name of well knownCorinna Vinschen
builtin group from system. Explain why. * sec_helper.cc (well_known_builtin_sid): New SID for BUILTIN group. * security.h (well_known_builtin_sid): Declare.
2010-02-122010-02-11 Pierre Humblet <Pierre.Humblet@ieee.org>Pierre Humblet
* registry.c (get_registry_hive_path): Add space in string.
2010-02-12 * regex/engine.c (step): Drop Cygwin-specific definition.Corinna Vinschen
(NONCHAR): Better cast here to make the test work. Move comment from step here. (matcher): Disable skipping initial string in multibyte case. * regex/regcomp.c (p_bracket): Don't simplify singleton in the invert case. (p_b_term): Handle early end of pattern after dash in bracket expression. (singleton): Don't ignore the wides just because there's already a singleton in the single byte chars. Fix condition for a singleton wide accordingly. (findmust): Check for LC_CTYPE charset, rather than LC_COLLATE charset. * regex2.h (CHIN): Fix condition in the icase & invert case. (ISWORD): Fix wrong cast to unsigned char.
2010-02-11 * new-features.sgml (ov-new1.7.2): Rephrase getlocale entry.Corinna Vinschen
2010-02-11 * getlocale.c (main): Rename local variable to avoid problems.Corinna Vinschen
Avoid string comparisons, rather test language and sublanguage codes wheere possible. Add more code to handle Serbian language/territory state identical on all Windows versions. Fix handling for "@latin" modifier in Belarusian locale. * utils.sgml (getlocale): Try to make wording and example clearer.
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 * getlocale.c (usage): Change text slightly.Corinna Vinschen
2010-02-10 * getlocale.c (main): Restrict -a loop to avoid psudo language entriesCorinna Vinschen
on Vista and later.
2010-02-10 * getlocale.c (main): Revamp -a loop to avoid duplicates and to printCorinna Vinschen
locales with the correct, supported modifiers.
2010-02-10 * new-features.sgml (ov-new1.7.2): Add LC_MESSAGES support.Corinna Vinschen
* setup2.sgml (setup-locale-ov): Change "@euro" modifier description. (setup-locale-missing): Remove.
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-10* dcrt0.cc (_dll_crt0): Set _main_tls as early as possible.Christopher Faylor
* thread.cc (pthread_mutex::can_be_unlocked): Remove check for MUTEX_OWNER_ANONYMOUS since it is racy and unsafe. (pthread::init_mainthread): Initialize thread directly from _my_tls. (pthread::self): Ditto. (pthread::get_tls_self_pointer): Delete. (pthread_mutex::pthread_mutex): Use an event rather than a semaphore. (pthread_mutex::lock): Rename from _<func>. Derive self directly. (pthread_mutex::tryunlock): Ditto. (pthread_mutex::destroy): Ditto. (pthread_mutex::unlock): Ditto. Accommodate change from semaphore to event. (pthread_mutex::_fixup_after_fork): Accommodate change from semaphore to event. (pthread_mutex::init): Don't attempt to initialize a semaphore unless it is in an initialized state. Do this check under mutex_initialization_lock.lock * thread.h (fast_mutex::init): Use event rather than semaphore. (fast_mutex::lock): Ditto. (pthread_mutex::_lock): Delete. (pthread_mutex::_unlock): Ditto. (pthread_mutex::_trylock): Ditto. (pthread_mutex::_destroy): Ditto. (pthread_mutex::get_pthread_self): Ditto. (pthread_mutex::get_tls_self_pointer): Ditto. (pthread_mutex::lock): Un-inline. (pthread_mutex::unlock): Ditto. (pthread_mutex::trylock): Ditto. (pthread_mutex::destroy): Ditto.
2010-02-10* cygtls.h (struct _cygtls): Remove unneeded elements.Christopher Faylor
* thread.cc (pthread::exit): Avoid potential double call to _my_tls.remove. * tlsoffsets.h: Regenerate.
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, fix a problem in locales with modifiers.Corinna Vinschen
2010-02-09 * lc_msg.h: New file, generated from running Linux system.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-08 * external.cc (cygwin_internal): Add CW_INT_SETLOCALE case toCorinna Vinschen
allow to call internal_setlocale(). * nlsfuncs.cc (internal_setlocale): Make externally available. * include/cygwin/version.h: Bump API minor number. * include/sys/cygwin.h (cygwin_getinfo_types): Add CW_INT_SETLOCALE. * nlsfuncs.cc (lc_mbstowcs): Fix call to f_mbtowc. (__set_locale_from_locale_alias): Ignore "@cjknarrow" modifier.
2010-02-08 * new-features.sgml (ov-new1.7-misc): Fix typo.Yaakov Selkowitz
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 * new-features.sgml (ov-new1.7.2): Add support for locales fromCorinna Vinschen
/usr/share/locale/locale.alias. * setup2.sgml (setup-locale-ov): Ditto.
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 * setup2.sgml (setup-locale-ov): Align description of working modifiersCorinna Vinschen
to latest changes.
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 * new-features.sgml (ov-new1.7.2): Add support for new charsets.Corinna Vinschen
Change text for modifier support. (setup-locale-charsetlist): Add new GEORGIAN-PS and PT154 charsets to list of supported charsets. Reorder list for non-ISO, non-CP charsets alphabetically.
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 * path.cc (symlink_info::check_nfs_symlink): Reopen file withCorinna Vinschen
FILE_READ_EA access since, surprisingly, you need it to read EAs even on NFS.
2010-02-06 * sec_auth.cc (get_full_privileged_inheritable_token): New functionCorinna Vinschen
to fetch token with full privileges from logon token in Vista and later, and to make token inheritable. Add lengthy comments to explain the function's job. (cygwin_logon_user): Drop calling SetHandleInformation. Enable TCB privilege and call get_full_privileged_inheritable_token. (lsaauth): Don't fetch linked token and don't make handle inheritable here, just call get_full_privileged_inheritable_token instead. (lsaprivkeyauth): Ditto.
2010-02-06 * setup2.sgml (setup-locale-ov): Add description for "uz_UZ@cyrillic"Corinna Vinschen
and "tt_RU@iqtelif" modifiers. Slightly rephrase locale specifier description in terms of the modifier string.
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-05* dll_init.cc (per_module::run_dtors): Use consistent method for runningChristopher Faylor
destructors.
2010-02-05 * new-features.sgml (ov-new1.7.2): Add grouping for printf/wprintf.Corinna Vinschen
2010-02-05* regcomp.c (p_ere): Workaround incorrect compiler warning.Christopher Faylor
* regerror.c (regatoi): Return non-const string or compiler complains in certain inexplicable situations.