Peng Haitao
55add52f42
smbcquotas.c: fix a bug of -t
...
'r' should be replaced with 't'.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>
Autobuild-User(master): David Disseldorp <ddiss@samba.org>
Autobuild-Date(master): Tue Jun 4 13:06:52 CEST 2013 on sn-devel-104
2013-06-04 13:06:52 +02:00
Michael Adam
89edff08db
net: use smbconf_create_set_share() in "net conf import"
...
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>
Autobuild-User(master): Michael Adam <obnox@samba.org>
Autobuild-Date(master): Tue May 28 20:01:12 CEST 2013 on sn-devel-104
2013-05-28 20:01:12 +02:00
Peng Haitao
7174b2e18e
When message-type is drvupgrade, MSG_DEBUG should be replaced with MSG_PRINTER_DRVUPGRADE.
...
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
2013-05-22 17:00:47 -07:00
Peng Haitao
9a9949f92f
When '--policies-reset' is success, the exit code should be 0.
...
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
2013-05-22 17:00:41 -07:00
Karolin Seeger
8673d0d16b
source3/utils/ntlm_auth.c: Fix typo in debug message.
...
Signed-off-by: Karolin Seeger <kseeger@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2013-05-15 21:04:42 -07:00
Christian Ambach
e0a0280c4f
s3:utils fix wrong usage of PRIu64 in sscanf
...
Signed-off-by: Christian Ambach <ambi@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
2013-05-06 16:33:38 +02:00
Andreas Schneider
08d7caedf0
regedit: Use color only when available.
...
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Autobuild-User(master): Michael Adam <obnox@samba.org>
Autobuild-Date(master): Mon Apr 29 15:02:19 CEST 2013 on sn-devel-104
2013-04-29 15:02:19 +02:00
Andreas Schneider
92b6fc0ede
regedit: Improve the while loop.
...
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
2013-04-29 13:08:24 +02:00
Andreas Schneider
7b970e930e
regedit: Remove talloc leak report.
...
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
2013-04-29 13:08:23 +02:00
C. Davis
68d4e8dfc7
regedit: Mark string values if they contain unprintable chars.
...
Also, edit the values in bin mode to avoid screen glitches.
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
2013-04-29 13:08:22 +02:00
C. Davis
8508b411b2
regedit: Add an edit binary command.
...
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
2013-04-29 13:08:20 +02:00
C. Davis
8ea38ce970
regedit: Handle zero-length buffers better with hexedit.
...
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
2013-04-29 13:07:54 +02:00
C. Davis
ad15a83357
regedit: Load values on startup.
...
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
2013-04-29 13:06:38 +02:00
C. Davis
1208167c77
regedit: Simplify the editor dialog input loop.
...
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
2013-04-29 13:06:37 +02:00
C. Davis
d7d75fd311
regedit: Fix white space and wrap long lines.
...
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
2013-04-29 13:06:36 +02:00
C. Davis
384a593309
regedit: Add missing copyright headers to hexedit code.
...
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
2013-04-29 13:06:34 +02:00
C. Davis
8982bf841d
regedit: Enable using tab to cycle thru dialog buttons.
...
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
2013-04-29 13:06:33 +02:00
C. Davis
e8d6a33c83
regedit: Restore cursor position when user tabs to a field.
...
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
2013-04-29 13:06:32 +02:00
C. Davis
9d0ccd1b48
regedit: Add a general help section.
...
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
2013-04-29 13:06:31 +02:00
C. Davis
e279aaff8d
regedit: Print help on left side of screen instead of the right.
...
This is little bit easier to read to my eye.
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
2013-04-29 13:06:30 +02:00
C. Davis
2b6afa6aa4
regedit: Reduce magic numbers in edit dialog, clean up edit dialog creation.
...
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
2013-04-29 13:06:29 +02:00
C. Davis
e9645db344
regedit: Add help msgs for key and value sections at bottom of screen.
...
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
2013-04-29 13:06:27 +02:00
C. Davis
77edcd4dbf
regedit: Prefer copywin() over prefresh() for displaying path.
...
copywin() works better with panels, dialogs, etc.
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
2013-04-29 13:06:26 +02:00
C. Davis
dc119eb9b2
regedit: Cut off the front of the path when screen width is too small.
...
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
2013-04-29 13:06:25 +02:00
C. Davis
485af4a785
regedit: Uese a pad for path label.
...
This makes it easier scale the label on resize.
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
2013-04-29 13:06:23 +02:00
C. Davis
a857475501
regedit: Improve padding for value summary.
...
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
2013-04-29 13:06:22 +02:00
C. Davis
05dde2188f
regedit: Update dialog position on screen resize.
...
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
2013-04-29 13:06:21 +02:00
C. Davis
58f9e368c8
regedit: Handle term resizes.
...
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
2013-04-29 13:06:20 +02:00
C. Davis
560003fcd9
regedit: Create subkeys.
...
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
2013-04-29 13:06:18 +02:00
C. Davis
3344f5e3d5
regedit: Delete and add keys.
...
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
2013-04-29 13:06:17 +02:00
C. Davis
6ef5ee250c
regedit: Edit binary values with hexedit.
...
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
2013-04-29 13:06:16 +02:00
C. Davis
ec6fb5d1ce
regedit: Initialize hexedit buf with data if available.
...
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
2013-04-29 13:06:15 +02:00
C. Davis
7c60ec12de
regedit:hexedit: make sure cursor is updated on physical screen.
...
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
2013-04-29 13:06:14 +02:00
C. Davis
f723fc9619
regedit: Add an input dialog.
...
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
2013-04-29 13:06:13 +02:00
C. Davis
e4ed97f9b3
regedit: Simplify notice dialogs, don't overwrite existing values.
...
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
2013-04-29 13:06:11 +02:00
C. Davis
5cfbf7316c
regedit: Don't pass empty value names to new_item().
...
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
2013-04-29 13:06:10 +02:00
C. Davis
360f31d52b
regedit: Really delete value.
...
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
2013-04-29 13:06:09 +02:00
C. Davis
3b6da775d3
regedit: Add new value type selection dialog.
...
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
2013-04-29 13:06:08 +02:00
C. Davis
af60882af4
regedit: Save contents of value editor.
...
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
2013-04-29 13:06:07 +02:00
C. Davis
14364997c7
regedit: Value editor changes.
...
* Handle tab and back-tab for navigating among sections of the
editor dialog.
* Read in REG_MULTI_SZ values into a multi-line form field.
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
2013-04-29 13:06:06 +02:00
C. Davis
a43a9497b4
regedit: Don't refresh treeview and value list.
...
This is handled by update_panels() and doupdate() now.
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
2013-04-29 13:06:04 +02:00
C. Davis
db5295a7dc
regedit: Some work on dialogs.
...
* Make dialogs modal with a separate getch() loop to avoid extra
complexity keeping track of dialogs and getting the result.
* Start work on the value editor dialog.
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
2013-04-29 13:06:03 +02:00
C. Davis
3c14ab13b1
regedit: Import hex editor.
...
This was tested separately editing files. It needs to be
connected to regedit's value editor.
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
2013-04-29 13:06:02 +02:00
Andreas Schneider
4a87a7ab61
regedit: Don't panic if we can't open the file.
...
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
2013-04-29 13:06:00 +02:00
C. Davis
5e0f4be8e2
regedit: Improve calculation for centering dialogs.
...
Add some sanity checks to avoid crashing.
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
2013-04-29 13:05:58 +02:00
C. Davis
6155abcf82
regedit: Introduce dialog windows.
...
Link to ncurses "panels" library to support popup dialog
windows, and begin working on a small dialog library.
Right now, it is useful for "yes/no" confirmation popups,
but later it'll be used for more complex forms for editing
values.
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
2013-04-29 13:05:57 +02:00
C. Davis
4267ec59fe
regedit: Take into account that getch() may return a '\n' instead of KEY_ENTER.
...
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
2013-04-29 13:05:55 +02:00
C. Davis
19b9a7063b
regedit: Use tab key to switch between key and value sections.
...
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
2013-04-29 13:05:54 +02:00
C. Davis
0fb6cc01f3
regedit: Don't overwrite the '/' when printing path.
...
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
2013-04-29 13:05:53 +02:00
C. Davis
6d82438c63
regedit: Print value summary, fix heap corruption and path printing.
...
Added code to summarize value data. Also fixed a few bugs,
including some heap corruption found with valgrind.
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
2013-04-29 13:05:52 +02:00