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-26* mkimport: cd away from temp directory or Windows will have problems removingChristopher Faylor
the directory.
2010-02-26 * new-features.sgml (ov-new1.7.2): Add strptime changes.Corinna Vinschen
2010-02-26 * libc/strptime.cc: Implement support for era, alt_digits and POSIXCorinna Vinschen
padding and width modifiers. (era_info_t): New type. (free_era_info): New static function to free era_info_t storage. (get_era_info): New static function to create era_info_t storage from LC_TIME era information. (alt_digits_t): New type. (get_alt_digits): New static function to create alt_digits_t storage from LC_TIME alt_digits information. (free_alt_digits): New static function to free alt_digits_t storage. (find_alt_digits): New static function to scan input for alternative digits and return them, if any. Return NULL otherwise. (__strptime): New static function taking all code from strptime. Implement handling for E, O, +, 0, and width modifiers per POSIX-1.2008. (strptime): Convert into wrapper function to provide era_info and alt_digits pointers and call __strptime. (conv_num): Take additional alt_digits_t parameter and if it's not NULL, call find_alt_digits to convert.
2010-02-26 * strsig.cc: Fix formatting and copyright.Corinna Vinschen
2010-02-262010-02-26 Pierre Humblet <Pierre.Humblet@ieee.org>Pierre Humblet
* security.cc (check_access): Use user.imp_token if appropriate. Set errno and return if DuplicateTokenEx fails .
2010-02-26 * utils.sgml (kill): Add SIGIO, SIGCLD, and SIGPWR.Yaakov Selkowitz
2010-02-26 * new-features.sgml (ov-new1.7.2): Add strftime/wcsftime changes.Corinna Vinschen
2010-02-26 Add missing ChangeLog checkin.Corinna Vinschen
2010-02-26 Remove all traces of __CYGWIN_USE_BIG_TYPES__.Corinna Vinschen
* include/cygwin/config.h: Move Cygwin-specific build flags from newlib's sys/config.h here. Add a comment.
2010-02-26 * new-features.sgml (ov-new1.7.2): Add SIGPWR support.Yaakov Selkowitz
2010-02-26 * include/cygwin/signal.h: Define SIGPWR as synonym for SIGLOST.Yaakov Selkowitz
* strsig.cc: Ditto. * include/cygwin/version.h: Bump CYGWIN_VERSION_API_MINOR.
2010-02-25 * lc_era.h (lc_era_t): Fix apparent glibc bug in ja_JP era definition.Corinna Vinschen
2010-02-25 * utils.sgml (locale): Change description of -a and -av to matchCorinna Vinschen
latest changes.
2010-02-25 * new-features.sgml (ov-new1.7.2): Move stty erase support intoCorinna Vinschen
correct category. Change "console window" to "Windows console".
2010-02-24 * sec_auth.cc (get_full_privileged_inheritable_token): Fix dumb typoCorinna Vinschen
when checking linked token for being a primary token.
2010-02-24* dlfcn.cc (dlopen): Make sure exception handler is really loaded after dynamicChristopher Faylor
load.
2010-02-24* cygtls.cc (_cygtls::init_exception_handler): Force installation of ourChristopher Faylor
exception handler to always be at the beginning.
2010-02-23 * locale.cc (printlocale): Remove.Corinna Vinschen
(loc_t): New type to keep locale information for printing. (print_codeset): New function to print codeset as on Linux. (print_locale_with_codeset): New function to print single locale. Print verbose style as the Linux locale(1) tool. (print_locale): New function to print single locale plus its UTF-8 variation, if available. (compare_locales): New helper function for bsearch and qsort on loc_t. (add_locale): New function to store locale in loc_t array. (add_locale_alias_locales): New function to store locales from locale.alias file in loc_t. (print_all_locales): Call add_locale instead of printlocale. Call add_locale_alias_locales, sort locales alphabetically and print them.
2010-02-23* thread.cc (pthread_mutex::unlock): Don't attempt to unlock if there is anChristopher Faylor
error.
2010-02-22* strace.cc (mnemonic_table): Add "special" mask option.Christopher Faylor
(usage): Document it. * utils.sgml: Ditto.
2010-02-22* include/sys/strace.h: Define _STRACE_SPECIAL.Christopher Faylor
(strace_printf_wrap): Fix NOSTRACE definitions. (strace_printf_wrap1): Fix NOSTRACE definitions. (special_printf): Define. * thread.cc: Perform minor syntax fix in a comment. Rename "is_good_initialzer*" to "is_initializer*" throughout. Use pthread_printf rather than debug_printf throughout. Add extra pthread_printf debugging throughout. (pthread_mutex::_new_mutex): New constant value. (pthread_mutex::_unlocked_mutex): Ditto. (pthread_mutex::_destroyed_mutex): Ditto. (pthread_mutex::no_owner): Define new function. (pthread_mutex::can_be_unlocked): Detect no_owner situation. Handle PTHREAD_MUTEX_NORMAL as a special case. (pthread::create_cancel_event): Use C++ boolean values. (pthread::precreate): Use method to set mutex type. (pthread_cond::pthread_cond): Ditto. (pthread_rwlock::pthread_rwlock): Ditto. (pthread_mutex::pthread_mutex): Set owner to _new_mutex initially. (pthread_mutex::~pthread_mutex): Reset various elements to make it clearer if they are incorrectly reused. (pthread_mutex::lock): Add clarifying comment. (pthread_mutex::unlock): Attempt to handle various mutex types correctly. In particular, reinstate ability to have one thread unlock another thread's mutex if type == PTHREAD_MUTEX_NORMAL. (semaphore::_fixup_after_fork): Avoid redundancy. (pthread_mutex::_fixup_after_fork): Ditto. Fix debugging statement. (__pthread_cond_dowait): Accommodate changes to remove previously inexplicable use can_be_unblocked() as a static function. * thread.h: Rename "is_good_initialzer*" to "is_initializer*" throughout. (pthread_mutex): Reorganize. Make many things private. (pthread_mutex::no_owner): Define new method. (pthread_mutex::_new_mutex): Define new constant. (pthread_mutex::_unlocked_mutex): Ditto. (pthread_mutex::_destroyed_mutex): Ditto.
2010-02-22 * cygpath.cc (do_pathconv): Fix erroneously printing native NT pathCorinna Vinschen
prefix introduced by previous patch.
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-22 * locale.cc (lc_time_names): Add "date_fmt" entry.Corinna Vinschen
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-20 * path.cc (warn_msdos): Enforce extended hex printing of multibyteCorinna Vinschen
pathnames.
2010-02-19Update copyrightChristopher Faylor
2010-02-19utils/ChangeLog:Christopher Faylor
* strace.cc (mnemonic_table): Add pthread mask option. (usage): Document strace pthread mask option. * utils.sgml: Ditto. cygwin/ChangeLog: * include/sys/strace.h: Remove old code. Add support for ptrace tracing.
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-19 * locale.cc (print_lc_mstrings): New function to printCorinna Vinschen
semicolon-separated strings. (enum type_t): New type is_sepstrings_linf. (lc_time_names): Change type of era and alt_digits entry to is_sepstrings_linf. (print_lc): Add case for is_sepstrings_linf and call print_lc_mstrings in that case.
2010-02-19 * fhandler_disk_file.cc (fhandler_disk_file::opendir): Try to openCorinna Vinschen
directory with stat()-friendly access mask first. Explain why.
2010-02-19 * fhandler_disk_file.cc (fhandler_base::fstat_helper): Set st_rdevCorinna Vinschen
to same value as st_dev. Avoid useless debug output in executable check. Add filename to debug output. (fhandler_disk_file::facl): Simplify code calling fstat methods to just call fstat to avoid errors with the cygdrive directory.
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-18* fhandler.cc (fhandler_base::setup_overlapped): Revert to starting with handleChristopher Faylor
in signalled state as it seems to fix some hangs.
2010-02-182010-02-17 LRN <lrn1986@gmail.com>Chris Sutcliffe
* include/shlguid.h (IID_IFolderView): Define. * include/shlobj.h (IFolderView interface): Define. * lib/shell32.c (IID_IFolderView): Export.
2010-02-17 * new-features.sgml (ov-new1.7.2): Accommodate name change of getlocaleCorinna Vinschen
to locale. * setup2.sgml (setup-locale-how): Ditto.
2010-02-17 * Makefile.in (CYGWIN_BINS): Rename getlocale to locale.Corinna Vinschen
* getlocale.c: Rename to ... * locale.cc: Revamp to add full functionality of POSIX locale(1) tool, as far as Cygwin supports it. * utils.sgml (getlocale): Move and rename to ... (locale): Accommodate new functionality.
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.