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
2015-02-03 * regtool.cc (longopts): Add --force option.Corinna Vinschen
(opts): Add -f option. (restore_flags): New variable. (usage): Clarify working of save action. Add restore action. Add description for -f/--force option. (set_privilege): Drop function. The Cygwin DLL is doing that anyway. (cmd_save): Drop call to set_privilege. (cmd_restore): New function. (main): Handle -f/--force option.
2013-04-23 * Merge in cygwin-64bit-branch.Corinna Vinschen
2012-07-06 * cygpath.cc: Change including headers to allow building againstCorinna Vinschen
Mingw64 headers. Include ntdef.h and ntdll.h rather than ddk headers. Define _WIN32_WINNT and WINVER as 0x0602. (RtlEqualUnicodePathPrefix): Drop definition. Pulled in from ntdll.h now. (get_device_name): s/Zw/Nt. * dumper.cc: Include sys/param.h (dumper::dump_memory_region): Use MIN rather than min. * locale.cc: Include stdlib.h. Define _WIN32_WINNT and WINVER as 0x0602. * ps.cc: Include ntdef.h and ntdll.h rather than ddk headers. * regtool.cc (regDeleteKeyEx): Drop WINADVAPI qualifier.
2011-12-18Clean up whitespace.Christopher Faylor
2011-10-10 * Align usage output, version output, as well as usage and versionCorinna Vinschen
option handling to use the same style throughout all Cygwin utils. Throughout use program_invocation_short_name to refer to current process name in Cygwin executables. * utils.sgml: Align documentation to above change. Add missing sections for getconf, ldd, and setmetamode. * strace.cc (proc_child): Avoid compiler warning.
2011-03-30 * regtool.cc (cmd_set): Avoid a compiler warning.Corinna Vinschen
2010-10-31* regtool.c (cmd_set): Write correct number of bytes for REG_MULTI_SZ case.Christopher Faylor
2010-08-28 * loadlib.h: New header implementing safe LoadLibrary calls.Corinna Vinschen
Include throughout files using LoadLibrary function. * cygcheck.cc (dump_sysinfo): Retrieve kernel32.dll handle via GetModuleHandle, rather than using LoadLibrary. * cygpath.cc (get_long_name): Ditto. (do_sysfolders): Append .dll suffix in LoadLibrary call. * ldh.cc (WinMain): Use LoadLibraryExW with DONT_RESOLVE_DLL_REFERENCES to avoid loading malicious library code. * locale.cc (print_locale_with_codeset): Change way to retrieve kernel32.dll path.
2010-03-24 * regtool.cc (find_key): Fix allocation size of "value".Corinna Vinschen
2009-12-16 * regtool.cc: Throughout, convert all registry calls to wide charCorinna Vinschen
calls and use string conversion according to current locale. (longopts): Change "dword-le" to "dword-be", as was originally intended. (usage): Change usage accordingly. (print_version): Simplify copyright dates in output. (cmd_list): Handle REG_LINK like REG_SZ. (cmd_get): Ditto. (main): Call setlocale. * utils.sgml (regtool): Fix options and add missing descriptions for new features.
2008-09-13* cygcheck.cc (pathlike::check_existence): Remove class name from declaration.Christopher Faylor
(display_internet_error): Use proper format specifier for DWORD. (environ): Remove unneeded declaration. (main): Use brace around nested if to avoid an overly-helpful compiler warning. * dump_setup.cc (parse_filename): Reorganize nested if to avoid an overly-helpful compiler warning. * path.cc (GUID_shortcut): Use braces around part of initializer which needs them. (conv_fstab_spaces): Parenthesize assignment in while loop to avoid a compiler warning. (struct opt): Make static. * ps.cc (main): Reorganize nested if to avoid an overly-helpful compiler warning. * regtool.cc: Make some anonymous structs static to avoid a compiler warning. * ssp.c (lookup_thread_id): Initialize *tix to zero to avoid potential uninitialized use. * strace.cc (add_child): Use proper format specifier for DWORD. (remove_child): Ditto. (proc_child): Ditto.
2008-03-12 * cygpath.cc (do_sysfolders): Use cygwin_conv_path.Corinna Vinschen
(do_pathconv): Use cygwin_conv_path and cygwin_conv_path_list. * dumper.cc (main): Use cygwin_conv_path. Allocate target path dynamically. * mkpasswd.c (current_user): Use cygwin_conv_path. (enum_users): Ditto. * ps.cc (NT_MAX_PATH): Define. (main): Use cygwin_conv_path. * regtool.cc (find_key): Ditto. Allocate target path dynamically. (cmd_save): Ditto.
2007-12-07 * regtool.cc (opts): Add missing 'W'.Corinna Vinschen
2006-10-21 * regtool.cc (key_type): Drop.Corinna Vinschen
(REG_AUTO): Define. (value_type): Replace key_type. Use REG_xxx values directly. Accomodate change throughout. (longopts): Add --dword, --dword-le, --none, --qword and --hex options. (opts): Add -d, -D, -n, -Q and -x options. (types): Array to convert REG_xxx into strings. (hex): New variable to keep value of --hex option. (usage): Accomodate new options. Print only the necessary by default. Only be verbose in case of -h/--help option. (cmd_list): Use key separator from -K option when printing. Print value type when verbose option is given. Handle so far not handled REG_xxx types. (cmd_set): Avoid SEGV due to missing argument. Handle so far not handled REG_xxx types. (cmd_get): Handle --binary option type agnostic. Handle so far not handled REG_xxx types. (main): Handle new options.
2006-10-19 * regtool.cc (longopts): Add --wow32 option.Corinna Vinschen
(opts): Add -W option. (usage): Add text for --wow32/-W option. (main): Handle --wow32/-W option. * utils.sgml: Document the new -W option.
2006-10-16 * regtool.cc (KEY_WOW64_64KEY): Drop definition. Instead defineCorinna Vinschen
WINVER to 0x0502 before including windows.h.
2006-10-16 * regtool.cc (KEY_WOW64_64KEY): Define.Corinna Vinschen
(longopts): Add --wow64 option. (opts): Add -w option. (wow64): New variable to control usage of KEY_WOW64_64KEY access flag. (usage): Add text for --wow64/-w option. (print_version): Fix copyright. (find_key): Use wow64 value in calls to RegOpenKeyEx and RegCreateKeyEx. (cmd_add): Use wow64 value in call to RegCreateKeyEx. (regDeleteKeyEx): New function pointer to load RegDeleteKeyEx function dynamically. (cmd_remove): Load and use regDeleteKeyEx when wow64 is set. (main): Handle --wow64/-w option. * utils.sgml: Document the new -w option.
2006-03-03 * regtool.cc (options): Add 'binary'.Corinna Vinschen
(usage): Document 'load|unload|save' and '-b'. (find_key): Add 'options' parameter, add load/unload. (cmd_set): Add KT_BINARY case. (cmd_get): Add hex output in KT_BINARY case. (cmd_load): New function. (cmd_unload): New function. (set_privilege): New function. (cmd_save): New function. (commands): Add load, unload and save. (main): Add '-b' * utils.sgml (regtool): Document it.
2006-02-15 * regtool.cc (usage): Clarify help for "-K".Corinna Vinschen
2005-09-08 * regtool.cc: Extend copyright-years.Corinna Vinschen
(print_version): Ditto. (cmd_list): Don't depend on terminating '\0' being present on string-values. (cmd_get): Don't attempt to read more than present, but keep extra space for terminating '\0'. Really output REG_BINARY. Don't leak memory. (cmd_set): Include trailing '\0' in string's length.
2005-02-27* regtool.cc (opts): The argument to 'K' is not optional.Christopher Faylor
(main): Revert previous change. Just let getopt deal with missing argument.
2005-02-27* regtool.cc (main): Avoid a SEGV when nothing follows -K.Christopher Faylor
2004-10-25fix whitespace, update some copyrightsChristopher Faylor
2003-08-15 * regtool.cc (usage): Add missing linefeed. Move example to --helpCorinna Vinschen
text. Fix forward slash description.
2003-04-27* cygcheck.cc (usage) Add description output.Joshua Daniel Franklin
2002-09-15Add final newlines to utilsJoshua Daniel Franklin
2002-08-13* regtool.cc (find_key): Add support for custom key separator.Christopher Faylor
(usage): Document it.
2002-06-07 * regtool.cc (Fail): Be more verbose.Corinna Vinschen
(find_key): Add support for remote registry access. (usage): Document it. * utils.sgml: Document it.
2002-06-03* regtool.cc (prog_name): New global variable.Christopher Faylor
(longopts): Ditto. (opts): Ditto. (usage): Standardize usage output. Rearrange/add descriptions. (print_version): New function. (main): Accomodate longopts and new --help, --version options. Add check for (_argv[optind+1] == NULL).
2001-07-15 * regtool.cc (find_key): Handle keys with only one subkey.Corinna Vinschen
2001-06-28* regtool.cc (find_key): Revert previous change.Christopher Faylor
2001-06-27* regtool.cc (find_key): Allow '/' as a synonym for '\\'.Christopher Faylor
2001-01-11* regtool.cc (cmd_list): Add new registry display options.Christopher Faylor
(cmd_list): Add code to implement -p, -k, and -l options. * regtool.cc (Fail): Add call to LocalFree to free memory allocated by FormatMessage.
2001-01-10more formatting changes.Christopher Faylor
2001-01-10* regtool.cc (translate): Ensure that 'c' is initialized.Christopher Faylor
(cmd_set): Ditto for rv.
2000-05-20 * regtool.cc (find_key): Add parameter `access'.Corinna Vinschen
Call `RegOpenKeyEx' with that desired access. (cmd_add, cmd_remove, cmd_set, cmd_unset): Call `find_key' with KEY_ALL_ACCESS access. (cmd_list, cmd_check, cmd_get): Call `find_key' with KEY_READ access.
2000-02-17import winsup-2000-02-17 snapshotChristopher Faylor