Commit graph

58 commits

Author SHA1 Message Date
Alexandre Julliard
7344ac9b72 regedit: Use WINAPIV calling convention for variadic functions.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-02 10:21:53 +01:00
Hugh McMaster
efb8d0b497 regedit: Allow editing of all hex data types.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-08 20:13:56 +09:00
Hugh McMaster
6238cd46f2 regedit: Use the heap_*() functions in edit.c where possible.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-27 17:04:04 +02:00
Hugh McMaster
c4a06a3034 regedit: Update string resources associated with key deletion.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-12 19:51:54 +02:00
Hugh McMaster
b25337e6d6 regedit: Free the binary data buffer after saving the new value (Coverity).
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-28 18:23:04 +02:00
Hugh McMaster
cb563dbac6 regedit: Re-insert the default value item after deleting its data.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-16 15:25:38 +02:00
Hugh McMaster
b1e48fb469 regedit: Free the stringValueData buffer before using it again (Coverity).
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-15 15:02:14 +02:00
Hugh McMaster
9cd1fc3fc4 regedit: Update the data in a listview subitem without refreshing the listview.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-30 21:49:50 +02:00
Hugh McMaster
f3c4cca7bf regedit: Add listview entries without refreshing the listview.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-30 21:49:50 +02:00
Nikolay Sivov
71a6eeb732 regedit: Make it clear whether it is a key or a value that is about to be removed.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-17 20:54:05 +01:00
Hugh McMaster
8ce48b9fcd regedit: Update some comments in edit.c.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-01 16:40:17 +01:00
Hugh McMaster
93b08c6289 regedit: Update dialog messages related to key and value renaming.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-01 16:40:12 +01:00
Hugh McMaster
ed5d1f2618 regedit: Update search completion message handling.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-01 16:39:09 +01:00
Hugh McMaster
6a8aea20ac regedit: Combine error() and error_code_messagebox().
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-01 16:35:13 +01:00
Hugh McMaster
e0ab47ce87 regedit: Display custom error messages instead of strings from the system table.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-01 16:32:45 +01:00
Hugh McMaster
e31a0cc241 regedit: Use FormatMessage() for optimal memory usage.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-01 16:30:16 +01:00
Hugh McMaster
6350cfd8c7 regedit: Remove unnecessary error handling from message box functions in edit.c.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-01 16:26:55 +01:00
Alexandre Julliard
65dfc51b2e regedit: Don't use tchar.h. 2012-01-23 16:07:34 +01:00
Andrew Nguyen
8f0bc1e2ed regedit: Convert the edit code to Unicode. 2011-04-18 11:50:16 +02:00
Mikołaj Zalewski
f2235ef30d regedit: Don't pass an ANSI string to vsprintfW. 2009-01-21 13:26:48 +01:00
Alexandre Julliard
4be4b19ee7 regedit: Convert error box display to Unicode. 2009-01-07 11:10:26 +01:00
Alexander Nicolaysen Sørnes
d67986b9dd regedit: Some minor unicode conversions. 2008-09-03 13:14:52 +02:00
Alexander Nicolaysen Sørnes
ba093c6dc0 regedit: Fix some references to TCHARs. 2008-09-03 13:14:51 +02:00
Alexander Nicolaysen Sørnes
d2664e0fbb regedit: Set the unicode flag for the listview. 2008-09-02 13:26:57 +02:00
Alexander Nicolaysen Sørnes
6b7ebf0881 regedit: Convert key renaming to unicode. 2008-09-02 12:53:35 +02:00
Alexander Nicolaysen Sørnes
4a3d8d8cb0 regedit: Convert value renaming to unicode. 2008-09-02 12:53:01 +02:00
Alexander Nicolaysen Sørnes
1e56f94945 regedit: Convert value editing to unicode. 2008-09-02 12:51:34 +02:00
Alexander Nicolaysen Sørnes
9d6b80b121 regedit: Convert value creation to unicode. 2008-08-29 12:26:43 +02:00
Alexander Nicolaysen Sørnes
a6a4109dd4 regedit: Convert key creation to unicode. 2008-08-22 11:32:09 +02:00
Alexander Nicolaysen Sørnes
04929756e7 regedit: Convert deletion to unicode. 2008-08-20 12:20:28 +02:00
Andre Wisplinghoff
a7f84cc035 regedit: Implement deleting multiple values. 2008-07-11 14:49:44 +02:00
Ted Percival
0674e61955 regedit: Interpret REG_DWORD as unsigned in editor. 2008-06-23 12:46:52 +02:00
Alexandre Julliard
e568580447 regedit: Fix editing and exporting of zero-size strings. 2008-05-13 20:27:11 +02:00
Byeong-Sik Jeon
f225297a5f regedit: Support REG_MULTI_SZ creation and editing. 2007-04-03 13:13:35 +02:00
Paul Vriens
0cf2010f7b regedit: Initialize a variable (Coverity). 2006-10-24 11:42:05 +02:00
Andrew Talbot
4b2756ba5d regedit: Cast-qual warnings fix. 2006-10-12 14:59:00 +02:00
Gerald Pfeifer
cc5e910658 programs/regedit: Fix format specifiers for _stscanf and fprintf. 2006-10-10 13:39:06 +02:00
Jonathan Ernst
360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Krzysztof Foltman
e4e75a2a06 - Added Find functions
- Some refactoring that made Find functions possible
   - GetItemPath returns a heap-allocated string
   - subtree update put into a separate function UpdateExpandingTree
   - error() utility function made public
- Find functions are grayed/ungrayed based on context (which fixes
  invalid 'grayed' flag in some localizations).
- InvalidateRect to fix display glitches coming from using
  WM_SETREDRAW.
- English and Polish resource updates (Find dialog box and Find menu
  options, string not found message).
2005-10-26 12:07:55 +00:00
Mike McCormack
257c337c19 gcc 4.0 -Wpointer-sign fixes (Reg* functions). 2005-07-07 12:08:42 +00:00
Mike McCormack
d73dad6630 Fixes for -Wmissing-declarations and -Wwrite-strings warnings. 2005-06-04 10:01:25 +00:00
Robert Shearman
828aff306c - Add neutral English resources.
- Add a control for editing binary data.
- Add a binary value editor dialog.
2005-04-14 11:30:31 +00:00
Robert Shearman
06913278f1 - Display an error message if any edit operation fails.
- Make key renaming fail if the destination key already exists.
- Better error recovery in the case where SHCopyKey fails.
2005-03-21 10:29:09 +00:00
Crestez Leonard
94ce244555 Implement Refresh.
Fix bug with all HKEY_ roots always showing expandable.
2005-01-10 16:03:22 +00:00
Krzysztof Foltman
b2d8cd3fdf - F2 is now an accelerator for rename
- panel switching via TAB doesn't use IsDialogMessage anymore
- focus is correctly set after main window activation (Alt+TAB etc),
  removed some focus-related bugs
- pressing ENTER or double-clicking a value edits it
- setting a value to an empty string is now allowed
- adding a new value starts rename automatically
- renaming a value doesn't move the cursor
- removed some unnecessary code (NM_RCLICK in ListView etc)
- right-click on tree view displays "New..." menu
- default values are treated like in Windows RegEdit (displayed even
  when they aren't physically present, can't be renamed or deleted)
- Polish translation had some weird characters added before Polish
  letters
2004-05-04 02:55:28 +00:00
Dimitrie O. Paun
fb1845db31 Properly implement all key operations: new, delete, rename.
Fix rename command to handle both keys and values.
2004-03-15 20:19:38 +00:00
Zimler Attila
61197df74c Add delete key support. 2004-03-12 19:44:47 +00:00
Robert Shearman
b99cb051ed Cancel rename if value to rename to already exists. 2004-02-06 05:16:56 +00:00
John K. Hohm
da7a575328 Allow regedit to edit (Default) key values. 2004-01-27 20:10:40 +00:00
Dimitrie O. Paun
a38979a3cd Fix value renaming. Cleanup code, fix a few leaks. 2004-01-16 23:02:44 +00:00