196 Commits

Author SHA1 Message Date
Francois Gouget
baa9bf9a23 Buffer overflows and strncpy fixes. 1999-12-27 05:24:06 +00:00
Juergen Schmied
c35cce2ecc NT loader: don't stop loading a hive when an error occurs. 1999-12-20 03:58:44 +00:00
Marcus Meissner
ed0da3f66c Removed 2 useless include winversion.h
Do not make autodetected version fix on first calls if it is Win31.
1999-12-12 00:44:06 +00:00
Juergen Schmied
9e6b1d14ce Added loader for NT registry files. 1999-12-11 23:22:52 +00:00
Dimitrie O. Paun
dd03cc19fd Make use of the DEFAULT_DEBUG_CHANNEL where appropriate.
Use the default version of FIXME, ERR, WARN, TRACE for the default
channel.
1999-12-08 03:56:23 +00:00
Marcus Meissner
ac28aa245f Fixed _copy_registry(). 1999-12-05 23:03:15 +00:00
Alexandre Julliard
6b34fedc8c Several bug fixes in save_key(). 1999-11-25 22:15:11 +00:00
Alexandre Julliard
705686e24e Added wine.conf option for new format registry files.
Added optional periodic saving of the registry.
1999-11-24 19:34:32 +00:00
Alexandre Julliard
53f3a831c2 Added support to the server for loading new format (version 2) files. 1999-11-24 04:19:43 +00:00
Alexandre Julliard
b3d90e4b6b Bug fixes (thanks to Juergen Schmied). 1999-11-24 02:46:27 +00:00
Alexandre Julliard
2fab2ef11f Changed to use new server-side registry support. 1999-11-23 19:41:34 +00:00
Huw D M Davies
f49cb52c69 Fix save_check_tainted to properly scan the tree so that all tainted
branches get saved.
1999-11-12 00:58:15 +00:00
Eric Pouech
c0bcf26d05 Enable safe reading of registry file, even if file is broken. 1999-11-04 01:38:11 +00:00
Huw D M Davies
13d00c8dd1 Fixed a few problems with RegEnumKey*. 1999-10-31 17:40:21 +00:00
Marcus Meissner
31b9dab10b Made LoadHomeRegistryFiles default to TRUE. 1999-10-24 22:08:33 +00:00
Nathaniel
7bf36ad35d Improved registry isolation possibilities. 1999-10-24 19:35:47 +00:00
Marcus Meissner
229a28fc34 Also escape characters >=0x80 within the wineregistry savefile. 1999-10-13 12:15:19 +00:00
Patrik Stridvall
e92331ffd0 Fixed ANSI C violations. 1999-09-20 18:52:06 +00:00
Marcus Meissner
1c40562bc1 subkey_found did not search for _all_ sub keys. 1999-09-03 12:19:34 +00:00
Andreas Mohr
d4b13da309 Improved (sort of) RegFlushKey. 1999-08-07 14:17:10 +00:00
Marcus Meissner
fe9bdf9543 ERROR_MORE_DATA requires to write the needed number of bytes into the
lpcchX value (verified against NT3.51 advapi32.dll).
1999-07-15 14:33:17 +00:00
Howard Abrams
132774804e Added checks for sys/errno.h, sys/signal.h and sys/mman.h. 1999-07-10 13:16:29 +00:00
Huw D M Davies
df088c6949 Added `const's to some registry API functions. 1999-07-10 11:41:24 +00:00
Patrik Stridvall
1ed4ecffa8 ANSI C fixes.
Removed warnings.
Made the include files self-sufficient.
Some Solaris fixes.
1999-06-26 14:58:24 +00:00
Marcus Meissner
f2ef1455a4 Fixed the stringcompare in _find_or_add_*() (was missing tolower()s). 1999-06-26 11:41:33 +00:00
Marcus Meissner
adf8a0cbe6 Use @sysconfdir@ for the default registries in misc/registry.c too. 1999-06-12 08:18:38 +00:00
Marcus Meissner
450bc798c2 More debug output for RegQueryInfoKey. 1999-05-09 15:59:27 +00:00
Noomen Hamza
c4cd0bf6c8 Bug fixes. 1999-05-08 10:50:34 +00:00
Alexandre Julliard
06c275a643 Converted to the new debugging interface (done with the help of the
script written by Patrik Stridvall).
1999-05-02 14:32:27 +00:00
Alexandre Julliard
154c99b8c2 Use $HOME instead of getpwuid for user's home directory.
Fixed messed up indentation.
1999-04-25 12:41:36 +00:00
Noomen Hamza
9adef53dee Set (when registry loaded) data to "\0" and length to 2 in empty
string value case, in place of setting data to NULL and length to 0,
and this is without initializing output buffer parameter of
RegQueryValue*.
1999-04-24 11:49:26 +00:00
Noomen Hamza
7a0c2e6294 Initialize the output buffer parameters to 0 in RegQueryValue*
functions. This is important specially when there's no data to return.
1999-04-22 09:05:19 +00:00
Patrik Stridvall
b4b9fae671 New debug scheme with explicit debug channels declaration. 1999-04-19 14:56:29 +00:00
David Gay
6f0056d0bd Fixed crash due to a value of name length 0, value length 0 at the end
of the registry.
1999-04-11 12:00:15 +00:00
Sylvain St.Germain
e533222a6c Implementation of HKU key saving and loading. Add new supported data
type in debug_print_value.
1999-04-10 16:46:15 +00:00
Marcus Meissner
6b9dd2e098 Lots of warning fixed, one missing WINAPI in ddraw.c added. 1999-03-18 17:39:57 +00:00
Nathan Zorich
bd3771c2ee Allow the file names and paths for the registry files (user.reg and
system.reg) to be specified in a [Registry] section of wine.ini or
other config file.
1999-03-14 15:12:48 +00:00
Alexandre Julliard
a396029270 Large-scale renaming of all Win32 functions and types to use the
standard Windows names.
1999-02-26 11:11:13 +00:00
Alexandre Julliard
b24fc081cf Authors: Paul Quinn <paulq@corel.ca>, Zygo Blaxell <zygob@corel.ca>
Modifies parameter list of a couple of functions to comply with SDK.
1999-02-25 16:36:07 +00:00
Marcus Meissner
04c3e1d456 Removed a lot of occurences of windows.h (and added necessary other
includes).
1999-02-19 10:37:02 +00:00
Andreas Mohr
743885a914 RegFlushKey: wrong error code. 1999-02-13 12:40:22 +00:00
Juergen Schmied
1ed51af346 Small fixes to compile with the headers (mostly nt-security). 1999-02-12 17:47:07 +00:00
Juergen Schmied
f74fa4e6c8 Implemented handling of REG_MULTI_SZ and fixed small bug in
RegSetValue.
1999-01-31 09:19:46 +00:00
Juergen Schmied
26cae9dd30 New functions lmemcpynAtoW and lmemcpynWtoA for converting
REG_MULTI_SZ (including \0x00)
Better debug output for REG_BINARY and REG_MULTI_SZ
Rewritten RegQueryValueEx32[A|W]
1999-01-23 12:11:09 +00:00
Alexandre Julliard
638f169b1e Recovery of release 990110 after disk crash.
See Changelog for changes between 990103 and 990110.
1999-01-17 16:32:32 +00:00
Gavriel State
d290aa4488 Fixed registry query error value: now returns ERROR_FILE_NOT_FOUND. 1998-11-30 12:43:34 +00:00
Juergen Schmied
ebc2b778d5 Fixed warnings, some only visible with -Wstrict-prototypes or -pedantic. 1998-11-14 18:59:30 +00:00
Uwe Bonnes
877634420f API documentation says that RegEnumKeyEx, RegEnumValue and
RegQueryInfoKey takes the size of the buffers as characters.
1998-11-08 14:22:31 +00:00
John Richardson
2bb013b155 Fix wide character functions to return character count in character
quantities not byte quantities.  Make RegQueryInfoKey and
RegQueryInfoKey behave correctly in win95 mode.
1998-11-06 17:36:13 +00:00
Marcus Meissner
f4f1719ca5 Fixed some more missing WINAPIs (hopefully correct). 1998-10-17 12:10:19 +00:00