Commit Graph

478 Commits

Author SHA1 Message Date
Francois Gouget 5940ada80b regedit: line_size is supposed to track a string length.
That is it does not count the trailing '\0'.
Fix a few places that got this wrong and rename it to line_len.
2008-11-12 13:11:41 +01:00
Francois Gouget f982e731c5 regedit: Check that we were able to allocate line_buf too. 2008-11-12 13:11:30 +01:00
Francois Gouget 71af3e1582 regedit: Remove unneeded variable initializations. 2008-11-12 13:11:23 +01:00
Michael Stefaniuc 4f199a10ad Remove the remaining casts of NULL. 2008-11-03 13:42:09 +01:00
Andrey Esin f0321f85a0 regedit: Corrections in Russian translation. 2008-10-17 11:42:55 +02:00
Muneyuki Noguchi a969e0066e regedit: Convert Japanese resource to UTF-8. 2008-10-13 11:39:56 +02:00
Lei Zhang a4ed7a1003 regedit: Pass VK_DELETE messages to Listview/Treeview child windows. 2008-10-09 14:19:50 +02:00
Lei Zhang d3908e699b regedit: Make branch export behavior work more like native regedit. 2008-10-06 13:08:40 +02:00
Lei Zhang 86a4e99c04 regedit: Check return values, don't request unneeded value which always fails. 2008-10-02 10:29:06 -05:00
Lei Zhang 4389066754 regedit: Use W version of TreeView_GetItem. 2008-10-02 10:29:00 -05:00
Andrey Turkin ae097646ab regedit: Ignore spaces in regedit files. 2008-09-30 11:33:14 -05:00
Muneyuki Noguchi 6461d5dc7e regedit: Use "MS Shell Dlg" 9 in Japanese resources. 2008-09-25 13:27:43 +02:00
Alexandre Julliard 700b5c6d7f regedit: Fix file exports in ASCII format. 2008-09-22 15:34:41 +02:00
Alexander Nicolaysen Sørnes 4f332e610e regedit: Fix some fprintf arguments. 2008-09-22 12:20:07 +02:00
Alexander Nicolaysen Sørnes 1e0a77622b regedit: Fix char escaping for registry export. 2008-09-22 12:19:54 +02:00
Alexander Nicolaysen Sørnes c4d58a4b07 regedit: Add support for exporting unicode files. 2008-09-16 13:35:31 +02:00
Alexander Nicolaysen Sørnes 60cd910797 regedit: Gather a full string before exporting it. 2008-09-16 13:35:27 +02:00
Alexander Nicolaysen Sørnes 484421560b regedit: Fix importing REG_MULTI_SZ values for ANSI files. 2008-09-10 11:08:30 +02:00
Alexander Nicolaysen Sørnes 32f890939f regedit: Convert parts of export handling to unicode. 2008-09-09 11:46:14 +02:00
Michael Stefaniuc 26f363aed3 regedit: Fix the Bg, Cs, Da, Es, Hu, It, Ko, Pl, Pt, Ru, Si and Tr translations. 2008-09-08 12:47:20 +02:00
Muneyuki Noguchi 131996ae45 regedit: Update Japanese translation. 2008-09-05 11:21:05 +02:00
Alexander Nicolaysen Sørnes 92e9b1edcf regedit: Fix a memory leak in export handling. 2008-09-04 11:51:29 +02:00
Alexander Nicolaysen Sørnes 5defba1165 regedit: Convert open/save dialogues to unicode. 2008-09-04 11:51:23 +02:00
Hongbo Ni e670b5c831 regedit: Add simplified and traditional Chinese resources. 2008-09-04 11:42:54 +02:00
Alexander Nicolaysen Sørnes d67986b9dd regedit: Some minor unicode conversions. 2008-09-03 13:14:52 +02:00
Alexander Nicolaysen Sørnes 7bb5df75d3 regedit: Remove some unused code. 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 c36fec1cd0 regedit: Set the unicode flag for the treeview. 2008-09-02 13:26:57 +02:00
Alexander Nicolaysen Sørnes 0035421e45 regedit: Remove an ANSI function. 2008-09-02 13:26:57 +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 d0991c92d7 regedit: Convert listview init to unicode. 2008-09-02 12:55:49 +02:00
Alexander Nicolaysen Sørnes fef3660024 regedit: Fix a memory leak. 2008-09-02 12:55:38 +02:00
Alexander Nicolaysen Sørnes e26b563ee1 regedit: Remove some ANSI functions. 2008-09-02 12:55:30 +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 7aa56d249a regedit: Don't try to convert NULL pointers. 2008-09-02 12:52:03 +02:00
Alexander Nicolaysen Sørnes df84eb514c regedit: Remove old fixme. 2008-09-02 12:51:41 +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 4aabdecd67 regedit: Use Unicode strings when updating listview. 2008-08-28 11:24:50 +02:00
Alexander Nicolaysen Sørnes f7ff9e76f9 regedit: Avoid conversion to ANSI when importing hex values. 2008-08-28 11:24:50 +02:00
Alexander Nicolaysen Sørnes b058648ae3 regedit: Fix concat handling for ANSI files. 2008-08-28 11:24:50 +02:00
Lei Zhang faf9c55eb8 regedit: Fix typo in commit c6d01ac847. 2008-08-28 11:24:49 +02:00
Alexander Nicolaysen Sørnes 1def017ecd regedit: Ignore case when sorting values. 2008-08-27 13:21:22 +02:00
Alexander Nicolaysen Sørnes c6d01ac847 regedit: Add listview entries as unicode. 2008-08-27 13:21:22 +02:00
Alexander Nicolaysen Sørnes b0a8b66789 regedit: Fix leak in GetItemFullPathW. 2008-08-27 13:21:21 +02:00
Alexander Nicolaysen Sørnes 46ea43e677 regedit: Convert menu & statusbar handling to unicode. 2008-08-27 13:21:21 +02:00
Alexander Nicolaysen Sørnes 5915b49700 regedit: Use only SendMessageW in treeview.c. 2008-08-26 12:07:42 +02:00
Alexander Nicolaysen Sørnes be43131b49 regedit: Convert treeview init to Unicode. 2008-08-26 12:07:42 +02:00
Alexander Nicolaysen Sørnes 583bf6e4bf regedit: Convert searching to Unicode. 2008-08-26 12:07:42 +02:00
Alexander Nicolaysen Sørnes ded5b05e4a regedit: Fix memory leaks in favourites handling. 2008-08-25 11:39:02 +02:00
Alexander Nicolaysen Sørnes 455ce06d4f regedit: Convert favourites handling to unicode. 2008-08-25 11:38:56 +02:00
Alexander Nicolaysen Sørnes 039df36b16 regedit: Fix possible memory leaks. 2008-08-25 11:38:28 +02:00
Alexander Nicolaysen Sørnes 223c24bdbf regedit: Remove unneeded character conversions. 2008-08-25 11:38:20 +02:00
Alexander Nicolaysen Sørnes 74cae34da8 regedit: Convert AddEntryToTree to unicode. 2008-08-22 11:32:09 +02:00
Alexander Nicolaysen Sørnes a6a4109dd4 regedit: Convert key creation to unicode. 2008-08-22 11:32:09 +02:00
Muneyuki Noguchi 2e61fe2227 regedit: Update Japanese translation. 2008-08-22 10:39:59 +02:00
Alexander Nicolaysen Sørnes 93f1d070fc regedit: Fix passing null pointer. 2008-08-21 12:52:01 +02:00
Alexander Nicolaysen Sørnes 6168a7c60c regedit: Convert clipboard handling to unicode. 2008-08-20 12:20:37 +02:00
Alexander Nicolaysen Sørnes 5cb8bccf46 regedit: Convert printing&help to unicode. 2008-08-20 12:20:33 +02:00
Alexander Nicolaysen Sørnes 04929756e7 regedit: Convert deletion to unicode. 2008-08-20 12:20:28 +02:00
Francois Gouget 22ff8c9b29 regedit: Remove a couple of left-over debug statements. 2008-07-21 12:59:55 +02:00
Alexander Nicolaysen Sørnes 0952fd3a89 regedit: Fixes for Norwegian Bokmål translation. 2008-07-18 11:06:04 +02:00
Frans Kool 9eaf4c2890 regedit: Fixed Dutch translations. 2008-07-16 17:53:41 +02:00
Alexander Nicolaysen Sørnes bf76a39f3b regedit: Update Norwegian Bokmål translation. 2008-07-16 17:52:06 +02:00
Alexander Nicolaysen Sørnes d1e02c169d regedit: Add missing fclose on file import. 2008-07-14 12:26:17 +02:00
Alexander Nicolaysen Sørnes 4ef4777630 regedit: Fix concat handling in unicode import. 2008-07-14 12:25:49 +02:00
Andre Wisplinghoff a7f84cc035 regedit: Implement deleting multiple values. 2008-07-11 14:49:44 +02:00
Alexander Nicolaysen Sørnes 2a9713a6cb regedit: Null-terminate buffer in Unicode file import. 2008-07-11 14:07:07 +02:00
Alexander Nicolaysen Sørnes e4b1abefdd regedit: Fix comment handling in Unicode file import. 2008-07-11 14:06:57 +02:00
Alexander Nicolaysen Sørnes e83d8dad04 regedit: Use strchrW instead of custom code in Unicode file import. 2008-07-11 14:06:49 +02:00
Alexander Nicolaysen Sørnes 6f2e3e1b1e regedit: Add support for importing Unicode files. 2008-07-10 18:09:15 +02:00
Alexander Nicolaysen Sørnes 9d60849037 regedit: Convert remaining registry import code to Unicode. 2008-07-10 18:01:33 +02:00
Alexander Nicolaysen Sørnes db074ee9a3 regedit: Convert openKey to Unicode. 2008-07-10 17:58:56 +02:00
Alexander Nicolaysen Sørnes 2e7b8cbc42 regedit: Convert the rest of setValue to Unicode. 2008-07-10 17:54:21 +02:00
Alexandre Julliard f7f249e59b regedit: Fixed the GetWideString and GetMultiByteString functions to work with null-terminated strings. 2008-07-10 17:49:36 +02:00
Alexander Nicolaysen Sørnes c23da6c35f regedit: Use RegSetValueExW when importing data. 2008-07-10 13:33:53 +02:00
Alexander Nicolaysen Sørnes f4c3e0f464 regedit: Use unicode for all key deletion. 2008-07-10 13:32:54 +02:00
Alexander Nicolaysen Sørnes eafa99ea55 regedit: Convert import delete handling to unicode. 2008-07-08 21:26:21 +02:00
Ted Percival 0674e61955 regedit: Interpret REG_DWORD as unsigned in editor. 2008-06-23 12:46:52 +02:00
Vladimir Pankratov 56c1ea6af4 regedit: Update Russian translation. 2008-06-19 11:55:20 +02:00
Francois Gouget dcfd6b9d50 regedit: Remove spaces before '...'. 2008-06-16 15:52:27 +02:00
Michael Stefaniuc 48bc578c68 regedit: Fix the Danish translation. 2008-06-11 11:27:35 +02:00
Michael Stefaniuc 4f03310ec5 regedit: Fix the Slovenian translation. 2008-06-11 11:27:30 +02:00
Michael Stefaniuc 7f09556e24 regedit: Fix the Turkish translation. 2008-06-11 11:27:28 +02:00
Mikołaj Zalewski d0319d0530 regedit: Add/remove favorite opens a dialog, thus should have ellipsis. 2008-06-06 10:27:45 +02:00
Mikołaj Zalewski b29e46c67b regedit: Update Polish translation. 2008-06-06 10:27:39 +02:00
Francois Gouget 39cb432b68 Fix the resources to remove extraneous spaces in '...'. 2008-06-05 15:53:05 +02:00
Michael Stefaniuc a7a68d5209 regedit: Fix the Italian translation. 2008-06-03 11:11:08 +02:00
Michael Stefaniuc 0f7ac9e672 regedit: Fix the Czech translation. 2008-06-03 11:11:01 +02:00
Francois Gouget 4cff95351c regedit: Update the French translation. 2008-06-02 14:13:43 +02:00
José Manuel Ferrer Ortiz 85e839a2c2 Spanish translations updates. 2008-06-02 12:32:47 +02:00
Vitaliy Margolen 5fc1b36b17 Update Russian translations. 2008-06-02 12:13:11 +02:00
Michael Stefaniuc b5cfaad49c regedit: Fix the Portugese translations.
Thanks to Mauricio Teixeira <mteixeira@webset.net> for the translations.
2008-06-02 12:12:22 +02:00
Michael Stefaniuc ad8f210481 regedit: Fix the Hungarian translation. 2008-05-30 10:01:37 +02:00
Michael Stefaniuc d647f6db08 regedit: Fix the Japanese translation. 2008-05-30 10:01:35 +02:00
Michael Stefaniuc 8732cb7a5b regedit: Fix the Bulgarian translation. 2008-05-30 10:01:32 +02:00
Francois Gouget 39054f0ad0 regedit: Remove extraneous spaces in '...'. 2008-05-30 10:01:22 +02:00
Michael Stefaniuc ad17ef70e8 regedit: Fix the English (NEUTRAL) translation. Rename SUBLANG_ENGLISH_US to SUBLANG_DEFAULT. 2008-05-29 12:11:05 +02:00
Alexandre Julliard 0e3eda3425 programs: Use the Wine import libraries when compiling with MinGW. 2008-05-26 19:26:06 +02:00
Andrej Sinicyn 34c0bd760f regedit: Update the German translation. 2008-05-26 17:59:32 +02:00
Alexander Nicolaysen Sørnes c1940e397e regedit: Set selected key name as default favourite name. 2008-05-22 11:30:34 +02:00
Alexander Nicolaysen Sørnes bb0eefb939 regedit: Allow modifying values of root keys. 2008-05-22 11:29:14 +02:00
Hwang YunSong(황윤성) 1db3aa0be5 regedit: Updated Korean resource. 2008-05-21 11:38:24 +02:00
Paul Vriens b3e75eead9 regedit: Sync Dutch resource with latest changes. 2008-05-19 23:10:01 +02:00
Alexander Nicolaysen Sørnes 66b3d415c3 regedit: Improve dialog layout. 2008-05-19 14:04:19 +02:00
Alexander Nicolaysen Sørnes 96653ca60a regedit: Add Export option to context menu. 2008-05-19 13:36:00 +02:00
Alexandre Julliard e568580447 regedit: Fix editing and exporting of zero-size strings. 2008-05-13 20:27:11 +02:00
Jens Albretsen b092f27782 regedit: Danish translation. 2008-05-07 12:09:38 +02:00
Alexander Nicolaysen Sørnes a4649d3730 regedit: Update Norwegian Bokmål resource. 2008-04-14 23:50:13 +02:00
Dmitry Timoshkov a5816064f0 regedit: Fix Win64 warnings. 2008-04-09 16:26:44 +02:00
Rok Mandeljc a7c4c6a9f1 regedit: Updated Slovenian translation. 2008-04-08 11:59:01 +02:00
Mikołaj Zalewski ad274f602e regedit: Add some ES_AUTOHSCROLL to dialog templates in languages that didn't have them. 2008-03-31 12:13:33 +02:00
Vitaliy Margolen 5b690b0885 Update Russian translations. 2008-03-28 09:53:44 +01:00
Vitaliy Margolen 0f2d7aedd9 regedit: Fix typo. 2008-03-28 09:53:25 +01:00
Kusanagi Kouichi 819d16729d regedit: Fix Japanese resource. 2008-03-27 17:47:48 +01:00
Alexandre Julliard 255e7b4274 regedit: Display a larger icon in the About box. 2008-03-25 16:14:35 +01:00
Herve Chanal c440322647 regedit: A nicer icon. 2008-03-25 16:14:23 +01:00
Michael Stefaniuc 9858a1480e regedit: Fix and update the German translation.
- Add the translations for REG_MULTI_SZ.
- Replace "Zeichenkette" with "Zeichenfolge" as that seems to be what
  Windows uses.
- Fix the size and placement of the "OK"/"Abbrechen" buttons.
- Remove bogus accelerators on some LTEXT entries in dialogs.
2008-03-19 18:51:35 +01:00
Aric Stewart 58801f0d73 regedit: Check for unicode file without using fseek. 2008-03-17 15:11:25 +01:00
Mikołaj Zalewski b859c13907 regedit: Remove windows class names (they shouldn't be localized) and unused IDC_REGEDIT menu from resources. 2008-03-12 11:58:58 +01:00
Alexandre Julliard b9e578528f regedit: Include the terminating null in string lengths. 2008-03-03 12:07:16 +01:00
Frans Kool 98b8699b22 regedit: Added Dutch translations. 2008-02-13 16:27:26 +01:00
Eric Pouech a6d85fe801 regedit: Warn about newest unicode export from native regedit. 2008-01-23 11:31:43 +01:00
Andrey Esin 38f1733ce3 regedit: Update Russian translation. 2008-01-16 12:16:20 +01:00
Alexandre Julliard 98c133312f regedit: Fixed parsing of hex sequences. 2008-01-07 21:17:10 +01:00
Andre Wisplinghoff 005b493619 regedit: Refresh tree view on import. 2008-01-07 18:19:14 +01:00
Vincent Hardy d306bc0090 regedit: Window caption correction. 2007-12-28 13:20:33 +01:00
Francois Gouget 5f7a9cea38 Assorted spelling fixes. 2007-12-07 16:35:32 +01:00
Ted Percival 99d14ada78 regedit: Display REG_DWORD as unsigned with lowercase hex digits. 2007-12-03 13:10:21 +01:00
Jonathan Ernst a5f3c2f283 regedit: Updated French translation. 2007-11-13 21:46:34 +01:00
Hwang YunSong(황윤성) 39380c9454 regedit: Updated Korean resource. 2007-10-25 13:59:46 +02:00
Stefan Leichter b0180f7b1d regedit: Replace call to delete_branch with RegDeleteTreeA. 2007-10-10 12:16:33 +02:00
Francois Gouget ea5d653f3e regedit: Add support for 'regedit /E -', to export the registry to stdout. 2007-10-10 11:18:56 +02:00
Francois Gouget 09641eeddb regedit: Add support for 'regedit -' for feeding regedit from stdin. 2007-10-10 11:18:50 +02:00
Alexandre Julliard f6366e2d00 regedit.exe: We can now store binary files in the repository. 2007-09-18 13:35:16 +02:00
Lionel Debroux 4278c670d1 regedit: Fixed a memory leak in listview.c (found by Smatch). 2007-09-11 11:47:21 +02:00
Jason Edmeades 34749c2a07 regedit: Fix importing of .reg hex. 2007-08-13 12:09:46 +02:00
Dmitry Timoshkov 197f4059ab include: winres.h no longer exists in PSDK, fix winresrc.h includes. 2007-08-07 14:09:09 +02:00
Michael Stefaniuc 9a522589fb programs: Remove unreachable break after return/break. Found by Smatch. 2007-07-19 11:57:53 +02:00
Francois Gouget afa9d0a60d regedit: Merge getRegClass() and getRegKeyName() to form parseKeyName().
Keep track of the full registry path (including the root key) in
currentKeyName. This makes the error messages more informative.
Reduce the number of global variables used by openKey() & co.  Only
use one variable, currentKeyHandle, to indicate whether a key is
currently open or not.
2007-06-18 12:14:19 +02:00
Francois Gouget f6d5738d9a regedit: Don't allow square-bracketed registry paths on the command line (to match native).
The only place they are allowed is in .reg files, so exclusively deal with them in processRegEntry().
Fix detection of the trailing ']' in processRegEntry(): it can be followed by some garbage.
2007-06-18 12:13:55 +02:00
Francois Gouget 8585fb3112 regedit: Add missing '\n' to an error message. 2007-06-18 12:13:45 +02:00
Francois Gouget 8e362cb65a regedit: Modify getRegClass() to avoid dubious comparisons and casts between HKEYs and error codes. 2007-06-14 14:01:14 +02:00
Francois Gouget 0dac54b3a7 regedit: Having garbage after the dash in '"foo"=-' is not valid.
Don't complain if the value already does not exist.
2007-06-14 14:01:02 +02:00
Francois Gouget bde3cf9b5f regedit: The registry functions return standard error codes, not HRESULTs. 2007-06-14 14:00:48 +02:00
Francois Gouget 804ec04472 regedit: Make the dword and binary data parsing both more flexible and stricter.
Make sure it does not modify the value if the data is invalid.
2007-06-14 14:00:31 +02:00
Francois Gouget 90d7707235 regedit: If the data for a given value is in an unknown format, then print an error and don't modify the value.
Note that '"foo"=' is not valid.
2007-06-14 13:59:21 +02:00
Francois Gouget 0d2d994ecc regedit: Remove cruft and make functions static, reordering where necessary to avoid forward declarations.
Remove the command parameter of processRegLines() as it can only be used with processRegEntry().
2007-06-14 13:59:15 +02:00
Francois Gouget de2fc93b6b regedit: Remove setAppName() as the application name is hardcoded anyway. 2007-06-14 13:56:43 +02:00