summaryrefslogtreecommitdiff
path: root/source3/utils/regedit.c
AgeCommit message (Collapse)AuthorFilesLines
2013-04-29regedit: Use color only when available.Andreas Schneider1-1/+8
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-29regedit: Improve the while loop.Andreas Schneider1-8/+7
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
2013-04-29regedit: Remove talloc leak report.Andreas Schneider1-4/+0
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
2013-04-29regedit: Add an edit binary command.C. Davis1-3/+10
Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
2013-04-29regedit: Load values on startup.C. Davis1-4/+12
Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
2013-04-29regedit: Add a general help section.C. Davis1-7/+16
Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
2013-04-29regedit: Print help on left side of screen instead of the right.C. Davis1-6/+5
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-29regedit: Add help msgs for key and value sections at bottom of screen.C. Davis1-2/+33
Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
2013-04-29regedit: Prefer copywin() over prefresh() for displaying path.C. Davis1-4/+5
copywin() works better with panels, dialogs, etc. Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
2013-04-29regedit: Cut off the front of the path when screen width is too small.C. Davis1-3/+13
Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
2013-04-29regedit: Uese a pad for path label.C. Davis1-10/+27
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-29regedit: Update dialog position on screen resize.C. Davis1-21/+32
Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
2013-04-29regedit: Handle term resizes.C. Davis1-35/+42
Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
2013-04-29regedit: Create subkeys.C. Davis1-32/+64
Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
2013-04-29regedit: Delete and add keys.C. Davis1-2/+60
Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
2013-04-29regedit: Simplify notice dialogs, don't overwrite existing values.C. Davis1-12/+10
Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
2013-04-29regedit: Really delete value.C. Davis1-3/+18
Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
2013-04-29regedit: Add new value type selection dialog.C. Davis1-0/+9
Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
2013-04-29regedit: Save contents of value editor.C. Davis1-1/+3
Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
2013-04-29regedit: Some work on dialogs.C. Davis1-60/+29
* 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-29regedit: Don't panic if we can't open the file.Andreas Schneider1-1/+5
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
2013-04-29regedit: Introduce dialog windows.C. Davis1-73/+172
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-29regedit: Take into account that getch() may return a '\n' instead of KEY_ENTER.C. Davis1-0/+1
Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
2013-04-29regedit: Use tab key to switch between key and value sections.C. Davis1-29/+85
Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
2013-04-29regedit: Print value summary, fix heap corruption and path printing.C. Davis1-3/+5
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-29regedit: List values for the selected key.C. Davis1-9/+23
Next step is to format a preview for the data and show that next to the data type. Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
2013-04-29regedit: Print the registry path.C. Davis1-1/+7
Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
2013-04-29regedit: Make all hives browsable.C. Davis1-9/+54
Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
2013-04-29regedit: load the configuration after processing the command lineMichael Adam1-1/+5
this way the "-s" parameter can change the config file to be loaded... Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
2013-04-29regedit: Setup a test tree view of HKLM.C. Davis1-26/+64
Expand on the former test by allowing the user to walk HKLM with the tree view. Subkeys are loaded dynamically in memory as the user walks the hierarchy with tree_node_load_children(). One issue with this at the moment is detecting if the in-memory copy of the hierarchy is out of date. TODO: figure out when to reload out of date portions of the hierarchy (probably by checking last_modified_time). Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
2013-04-29regedit: First crack at linking to ncurses.C. Davis1-0/+5
First attempt of editing build scripts to link to ncurses libraries. It seems to work, though checks may need to be expanded upon. Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
2013-04-29regedit: Add regedit main source fileC. Davis1-0/+95
Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>