Alexandre Julliard
193cf50a09
Removed some of the calls to HEAP_strdup* functions.
2002-01-01 00:24:30 +00:00
Alexandre Julliard
9caa71eef4
Redesign of the server communication protocol to allow arbitrary sized
...
data to be exchanged.
Split request and reply structures to make backwards compatibility
easier.
Moved many console functions to dlls/kernel, added code page support,
changed a few requests to behave properly with the new protocol.
2001-11-30 18:46:42 +00:00
Ove Kaaven
708a846a88
Save a disk file's drive type in the server object.
2001-10-24 00:23:25 +00:00
Alexandre Julliard
37e9503ae8
Moved server.h to include/wine.
2001-07-19 00:39:09 +00:00
Patrik Stridvall
33929be46f
- Made sure that the files that contains the declarations
...
of implementated functions are included.
- Corrected mismatching prototypes.
- Cleaned up the include section.
2001-07-18 21:04:23 +00:00
Patrik Stridvall
044855c6ec
Documentation fixes.
2001-07-11 18:56:41 +00:00
Patrik Stridvall
01d5e5b071
Documentation fixes.
2001-07-02 19:59:40 +00:00
Andreas Mohr
99f2f396b5
Spelling fixes.
2001-06-22 23:21:47 +00:00
Patrik Stridvall
dae8de69e2
Documentation ordinal fixes (using winapi_fixup).
2001-06-13 20:13:18 +00:00
Alexandre Julliard
67a749999a
New set of macros for server calls; makes requests without variable
...
part somewhat faster.
2001-02-27 02:09:16 +00:00
Patrik Stridvall
d0a41774a3
Documentation ordinal fixes.
2001-02-14 23:11:17 +00:00
Martin Pilka
ac0b814444
Fixed typo which caused the WritetoHomeRegistryFiles option to be
...
ignored.
2001-01-26 21:00:48 +00:00
Alexandre Julliard
306fc9c475
Fixed typo in HKEY_USERS/.Default creation.
2001-01-25 21:48:24 +00:00
Alexandre Julliard
8081e5a1e5
Added handle_t type to server interface so that we can make handles
...
pointers later on.
Always use 0 to signal invalid handle in server requests.
2001-01-05 04:08:07 +00:00
Martin Pilka
57f8eb71da
- registry loading speed up (reduced client <-> server communication)
...
- make the code a bit more understandable
2000-12-15 03:22:27 +00:00
Francois Gouget
519346a47e
Fixed miscellaneous typos, syntactic and grammatical errors.
2000-12-02 20:18:08 +00:00
Patrik Stridvall
7a4e599780
Fixed some issues found by winapi_check.
2000-12-01 23:53:46 +00:00
Alexandre Julliard
5ce2329a95
Finished separation of advapi32.
2000-11-30 20:31:41 +00:00
Marcus Meissner
8f1e39f3a7
RegSetValueEx16 might get passed 0 as count of databytes, determine
...
string length for ourselves in this case.
2000-11-15 22:13:11 +00:00
Alexandre Julliard
908464d448
Authors: Andreas Mohr <amohr@codeweavers.com>, Dimitrie O. Paun <dimi@cs.toronto.edu>, Patrik Stridvall <ps@leissner.se>
...
Various warning fixes.
2000-11-01 03:11:12 +00:00
David Elliott
c6161ac66a
_nt_parse_nk() should not close keys that it does not open.
2000-10-31 01:36:50 +00:00
Alexandre Julliard
57f05e1913
Converted a few more server requests to the new mechanism.
2000-10-15 00:40:25 +00:00
Andreas Mohr
fd8104987f
fixed the win95 registry loader to have somewhat stricter checking.
2000-09-22 20:50:35 +00:00
Alexandre Julliard
9c2370bd75
Added exception handling wrapper to a number of server requests.
...
Changed a few requests to use the new vararg mechanism.
2000-08-30 00:00:48 +00:00
Alexandre Julliard
cb10fdab99
Replaced lstrlen/lstrcmp by libc equivalents everywhere we don't need
...
to trap exceptions.
2000-08-06 02:41:16 +00:00
Alexandre Julliard
ad28d39d98
Fixed lstrcpynAtoW usage (reported by Stas Sergeev).
...
Small cleanups.
2000-07-09 11:20:59 +00:00
Andreas Mohr
2e011a5243
Lots of spelling fixes that accumulated in my tree again, made several
...
error msgs more verbose, doc updates.
2000-06-01 23:28:25 +00:00
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
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