Commit Graph

407 Commits

Author SHA1 Message Date
Ricardo Filipe d904d1359a include: Fix commdlg hook procedures return type. 2009-02-09 17:17:09 +01:00
Marcus Meissner 1082779ddc regedit: Check HeapAlloc results (coverity). 2009-01-29 12:44:48 +01:00
Francois Gouget 5898a5c767 regedit: Make some functions static. 2009-01-26 15:13:21 +01:00
Francois Gouget 492304128b regedit: We don't bother unregistering window classes on exit, so remove HexEdit_Unregister(). 2009-01-26 15:13:18 +01:00
Anders Jonsson 846e361ed1 regedit: Add Swedish translation. 2009-01-22 12:04:16 +01:00
Mikołaj Zalewski f2235ef30d regedit: Don't pass an ANSI string to vsprintfW. 2009-01-21 13:26:48 +01:00
Erich Hoover 51a04d5b65 regedit: Fix import mangling REG_EXPAND_SZ values. 2009-01-19 13:36:26 +01:00
Michael Stefaniuc 484a53574a regedit: Remove superfluous pointer casts. 2009-01-15 12:43:05 +01:00
Alexandre Julliard 4be4b19ee7 regedit: Convert error box display to Unicode. 2009-01-07 11:10:26 +01:00
Alexandre Julliard 259e8f61c8 regedit: Fix integer printf formats in resource strings. 2009-01-07 11:10:25 +01:00
ByeongSik Jeon 5f3287d79f *Ko.rc: Update Korean resource.
Fix the unnecessary SUBLANG_NATURAL.
Change the font size from 8 to 9.
2008-12-11 12:21:07 +01:00
ByeongSik Jeon 1b0297a7f9 *Zh.rc: Update the Chinese resource font name to "MS Shell Dlg". 2008-12-11 12:20:48 +01:00
Rok Mandeljc f54101abd3 regedit: Updated Slovenian translation. 2008-12-08 12:01:10 +01:00
Michael Stefaniuc 683c53db42 regedit: Remove some superfluous casts. 2008-12-04 12:08:27 +01:00
Francois Gouget 23e6e7be8e Make sure we have a space before the ellipses in Slovenian resources. 2008-12-04 12:06:06 +01:00
Francois Gouget dfb823bb6f regedit: Deal with races in 'regedit /E' by resizing the buffers and retrying. 2008-12-01 12:57:39 +01:00
Michael Stefaniuc c75a143f3d regedit: Remove NULL check before HeapFree (Smatch). 2008-11-25 11:55:59 +01:00
Francois Gouget c880ccea1a regedit: Fix handling of zero-byte binary values for 'regedit /E'. 2008-11-24 13:43:47 +01:00
Francois Gouget be19acfbe8 regedit: Avoid wsprintfW() so we can avoid loading user32.dll for 'regedit /E'. 2008-11-21 10:00:47 +01:00
Francois Gouget a81bb704df regedit: Fix exporting of REG_EXPAND_SZ and other 'weird' strings.
REG_EXPAND_SZ must be exported as hexadecimal to preserve the string type.
0-byte strings and those missing a trailing '\0' or with odd sizes must 
be saved as hexadecimal too so they are restored as is.
Move the binary-value export code to the new REGPROC_export_binary() 
function.
2008-11-21 10:00:41 +01:00
Francois Gouget 3ef0b0ef2d regedit: Pass the string length to REGPROC_export_string().
We already know it in the caller so this saves us one lstrlenW() call.
2008-11-21 10:00:17 +01:00
Francois Gouget d92c976803 regedit: Fix a buffer allocation in export_registry_key().
This fixes a major buffer overflow bug in 'regedit /E'.
2008-11-21 10:00:13 +01:00
Francois Gouget 3b140ccb0e Assorted spelling fixes. 2008-11-17 16:04:39 +01:00
Francois Gouget e1901500ee regedit: Fix the wrapping of binary values in export_hkey().
Don't wait until the line overflows before wrapping it.
Don't wrap the last line.
2008-11-12 13:12:35 +01:00
Francois Gouget f0f91a69b3 regedit: Fix a buffer overflow when exporting binary values in export_hkey().
We must take the indentation into account to compute the number of lines a binary value will use.
2008-11-12 13:12:31 +01:00
Francois Gouget 7df7222594 regedit: Simplify / clean up export_hkey().
Avoid unneeded/redundant calls to lstrcatW() and lstrlenW().
Tighten the scope of variables.
2008-11-12 13:12:23 +01:00
Francois Gouget 126ffb1f8a regedit: Tighten a buffer size calculation. 2008-11-12 13:12:12 +01:00
Francois Gouget d1d3db4183 regedit: Simplify REGPROC_export_string(). 2008-11-12 13:12:09 +01:00
Francois Gouget 7f707b3037 regedit: The xxx_name_len variables track buffer sizes. That is they count the trailing '\0'. Adjust a couple of places that got this wrong and rename them to xxx_name_size. 2008-11-12 13:11:59 +01:00
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