src/winsup/utils ChangeLog regtool.cc utils.sgml

2009-12-16 Thread corinna
CVSROOT:/cvs/src
Module name:src
Changes by: cori...@sourceware.org  2009-12-16 14:02:58

Modified files:
winsup/utils   : ChangeLog regtool.cc utils.sgml 

Log message:
* regtool.cc: Throughout, convert all registry calls to wide char
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.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/utils/ChangeLog.diff?cvsroot=srcr1=1.499r2=1.500
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/utils/regtool.cc.diff?cvsroot=srcr1=1.27r2=1.28
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/utils/utils.sgml.diff?cvsroot=srcr1=1.80r2=1.81



src/winsup/utils ChangeLog regtool.cc utils.sgml

2007-12-07 Thread corinna
CVSROOT:/cvs/src
Module name:src
Branch: cr-0x5f1
Changes by: [EMAIL PROTECTED]   2007-12-07 09:40:33

Modified files:
winsup/utils   : ChangeLog regtool.cc utils.sgml 

Log message:
* regtool.cc (KEY_WOW64_64KEY): Define conditionally.
(KEY_WOW64_32KEY): Ditto.
(opts): Add missing 'W'.

* regtool.cc (key_type): Drop.
(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.

* regtool.cc (longopts): Add --wow32 option.
(opts): Add -W option.
(usage): Add text for --wow32/-W option.
(main): Handle --wow32/-W option.
* utils.sgml: Document the new -W option.

* regtool.cc (KEY_WOW64_64KEY): Drop definition.  Instead define
WINVER to 0x0502 before including windows.h.

* regtool.cc (KEY_WOW64_64KEY): Define.
(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.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/utils/ChangeLog.diff?cvsroot=srconly_with_tag=cr-0x5f1r1=1.356.4.1r2=1.356.4.2
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/utils/regtool.cc.diff?cvsroot=srconly_with_tag=cr-0x5f1r1=1.20r2=1.20.4.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/utils/utils.sgml.diff?cvsroot=srconly_with_tag=cr-0x5f1r1=1.59r2=1.59.4.1



src/winsup/utils ChangeLog regtool.cc utils.sgml

2006-10-19 Thread corinna
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2006-10-19 09:08:44

Modified files:
winsup/utils   : ChangeLog regtool.cc utils.sgml 

Log message:
* regtool.cc (longopts): Add --wow32 option.
(opts): Add -W option.
(usage): Add text for --wow32/-W option.
(main): Handle --wow32/-W option.
* utils.sgml: Document the new -W option.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/utils/ChangeLog.diff?cvsroot=srcr1=1.364r2=1.365
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/utils/regtool.cc.diff?cvsroot=srcr1=1.22r2=1.23
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/utils/utils.sgml.diff?cvsroot=srcr1=1.60r2=1.61



src/winsup/utils ChangeLog regtool.cc utils.sgml

2006-10-16 Thread corinna
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2006-10-16 18:00:07

Modified files:
winsup/utils   : ChangeLog regtool.cc utils.sgml 

Log message:
* regtool.cc (KEY_WOW64_64KEY): Define.
(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.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/utils/ChangeLog.diff?cvsroot=srcr1=1.362r2=1.363
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/utils/regtool.cc.diff?cvsroot=srcr1=1.20r2=1.21
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/utils/utils.sgml.diff?cvsroot=srcr1=1.59r2=1.60



src/winsup/utils ChangeLog regtool.cc utils.sgml

2006-03-03 Thread corinna
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2006-03-03 09:43:35

Modified files:
winsup/utils   : ChangeLog regtool.cc utils.sgml 

Log message:
* regtool.cc (options): Add 'binary'.
(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.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/utils/ChangeLog.diff?cvsroot=srcr1=1.352r2=1.353
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/utils/regtool.cc.diff?cvsroot=srcr1=1.19r2=1.20
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/utils/utils.sgml.diff?cvsroot=srcr1=1.58r2=1.59