145 Commits

Author SHA1 Message Date
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