Commit Graph

119 Commits

Author SHA1 Message Date
Alexandre Julliard a01004d828 Added support for registry values larger than the server buffer.
When loading a registry file, automatically determine overlap between
key name and file contents based on the first key name.
Removed v1 saving code.
Save USER\.Default separately into ~/.wine/userdef.reg.
2000-05-14 22:57:57 +00:00
Huw D M Davies e5565ff049 Strip the $$$PROTO.HIV bit from win2k SYSTEM and SOFTWARE hives. 2000-05-05 18:19:03 +00:00
Bertho Stultiens 5b8eb2d838 Mmap does not fail on zero-length files. 2000-05-03 17:35:10 +00:00
Juergen Schmied 6889c68680 Small fixes, removed asserts. 2000-04-28 19:59:48 +00:00
Alexandre Julliard c970904c2c Save the registry on server exit without client intervention.
Removed "alt" registry files since we now have symlinks and
WINEPREFIX to replace them.
2000-04-16 17:21:13 +00:00
Ove Kaaven b43b9d931b Follow symlinks when saving registry. 2000-04-14 14:05:43 +00:00
Alexandre Julliard 08b289d7a6 Moved SaveOnlyUpdatedKeys to wine.ini.
Use get_config_dir() instead of hardcoding ~/.wine
Simplified loading and saving routines.
2000-04-06 20:37:37 +00:00
Alexandre Julliard fbace6eefe Added a per-drive FailReadOnly flag, and removed the global
--failreadonly option.
2000-04-04 20:35:45 +00:00
Alexandre Julliard a57d77a750 Call PROFILE_GetWineIniBool before starting to fill the request
buffer. Made new registry format the default.
2000-04-04 19:56:49 +00:00
Patrik Stridvall 2d6457c11a Added/fixed some documentation reported by winapi_check. 2000-03-28 20:22:59 +00:00
Dimitrie O. Paun 9ad9636725 Removed most calls to xmalloc/xrealloc. 2000-03-19 14:29:50 +00:00
Alexandre Julliard fe08568a0d Moved command-line option handling out of the X11 driver.
Added support for "--" prefix on options.
Replaced a few X11 command-line options by wine.conf parameters.
2000-03-18 21:56:10 +00:00
Patrik Stridvall 7e9913f463 Fixed some warnings. 2000-03-08 18:25:22 +00:00
Alexandre Julliard f53aba8acd Fixed error checking in registry saving. 2000-03-04 19:33:38 +00:00
Patrik Stridvall 0ee98cc39f Fixed ANSI C violations. 2000-02-26 13:17:55 +00:00
Juergen Schmied bd1dcd7520 Reading of ri blocks.
Better error handling.
2000-02-13 15:05:39 +00:00
Alexandre Julliard 383da68cf9 Optimized debugging API to reduce code size. 2000-02-10 22:15:21 +00:00
Juergen Schmied 8573cc7faf - fixes, loading of settings per user
- autodetecting of windows registry version
2000-01-30 03:03:23 +00:00
Alexandre Julliard 2fe57779fb Made the server listen for new clients on a Unix socket in
$HOME/.wine. Newly started wine processes now attach to an existing
server if one is running.
2000-01-25 01:40:27 +00:00
Juergen Schmied 0311eb3716 Better error handling, less keys held open. 2000-01-17 22:23:10 +00:00
Juergen Schmied 271ba29e39 New implementation of the win95 registry loader. 2000-01-15 23:42:50 +00:00
Juergen Schmied 5d0ae2dcd9 - removed copying of HKEY_USERS to HKEY_CURRENT_USER
- HKEY_CURRENT_USER is now subkey of HKEY_USERS
- changed query_key_info_request to return the key name too (NtQueryKey needs this)
- the rootkeys (MACHINE and USER) do have names
2000-01-09 21:07:01 +00:00
Patrik Stridvall 6afc68aabd Fixed some issues found by winapi_check. 2000-01-04 00:32:38 +00:00
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