Commit Graph

193 Commits (5656ca0d6c7b3210996e1bcfa1eb4f465ea7f4dc)

Author SHA1 Message Date
Alex Villacís Lasso c93d7d1e6d Do not assume HKEY_CURRENT_USER/Environment exists ==> config file was
migrated. Instead test for every key to migrate under
HKEY_CURRENT_USER/Environment.
2004-08-25 00:48:47 +00:00
Alexandre Julliard 6a27b48895 Fd type is no longer used, get rid of it. 2004-08-18 00:04:58 +00:00
Troy Rollo a370fa83cb Process sibling keys iteratively, thereby preventing exhaustion of the
stack.
2004-07-30 01:35:52 +00:00
Kevin Koltzau 51700afd9c Prevent garbage being passed for windows directory. 2004-07-16 23:22:09 +00:00
Robert Reif a052728a56 Add HKEY_DYN_DATA\Config Manager\Enum to registry. 2004-07-12 19:48:23 +00:00
Eric Pouech 62a860988c Const correctness, pointer cast correctness, removed extraneous ';'. 2004-06-14 17:04:34 +00:00
Alexandre Julliard ad546918b4 Use environment variables instead of config file entries to specify
path, profile, temp, windows and system directories.
Convert existing config file entries to registry values under
HKCU\Environment.
2004-05-14 21:43:18 +00:00
Alexandre Julliard c07ce0571e Moved loading of the home registry files to the server, there's no
real need to make these configurable.
2004-05-07 04:13:21 +00:00
Alexandre Julliard 643617f2ae Moved most remaining file functions to dlls/kernel.
Removed files/file.c and include/file.h.
2004-05-01 05:25:07 +00:00
Alexandre Julliard 553a75e16e Use symlinks in dosdevices/ for the drive devices too.
Store drive types in the registry instead of in the config file.
Added some more code to convert existing config to the new scheme.
2004-04-29 00:27:57 +00:00
Alexandre Julliard 7b6651a9e1 Moved creation of the CDROM registry keys into the registry loading
code.
2004-04-23 21:36:22 +00:00
Alexandre Julliard 7930ce1287 Use NtOpenFile instead of FILE_CreateFile to open Unix files. 2004-04-23 00:07:34 +00:00
Alexandre Julliard 49b2f6d964 Get rid of the removable media handling in the server. 2004-04-06 23:41:01 +00:00
Alexandre Julliard b70e0c8ea6 Removed the FailReadOnly option, this is now the default behavior. 2004-04-02 23:33:39 +00:00
Ge van Geldorp 399901e054 Rename LARGE_INTEGER and ULARGE_INTEGER members "s" to "u" to conform
with PSDK.
2004-01-23 01:51:33 +00:00
Daniel Marmier 7832562ee6 Fixed warnings with gcc option "-Wwrite-strings". 2003-10-21 23:57:25 +00:00
Rolf Kalbermatter 76f13deb26 Use INVALID_FILE_ATTRIBUTES to test for failure of
GetFileAttributesA/W and not -1 or 0xFFFFFFFF.
2003-10-16 19:12:49 +00:00
Alexandre Julliard 52f692fb9b Moved the wine server client-side support to dlls/ntdll. Removed a
couple of unnecessary functions.
2003-09-18 23:27:19 +00:00
Alexandre Julliard e37c6e18d0 Fixed header dependencies to be fully compatible with the Windows
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Eric Pouech 61f84c18d5 Translate a few more kernel32 calls into the ntdll equivalents. 2003-08-20 03:39:38 +00:00
Alexandre Julliard e0deb0c627 Replaced remaining calls to PROFILE_GetWineIniString/Bool by direct
registry accesses.
2003-08-19 03:21:04 +00:00
Alexandre Julliard 9060d47118 Get rid of wrong/confusing _strdupnA usage. 2003-08-07 03:15:20 +00:00
Eric Pouech f6a70969e1 - start moving a few file related functions from files/file.c to
dlls/kernel subdir (also splitting 16bit APIs in a separate file)
- implemented ntdll.Nt{Lock|Unlock}File, and made use of those for the
  kernel32 equivalent
- implemented a few information classes in NtQueryInformationFile and
  NtSetInformationFile (still lots of missing classes)
- enhanced the get_file_info server request in order to implement
  correctly NtQueryInformationFile (change time & file alloc size)
- rewrote registry loading to comply with latest changes
2003-06-24 02:32:01 +00:00
Alexandre Julliard 98cfe58dcf Removed useless check for registry file version. 2003-05-02 20:17:32 +00:00
Maxime Bellengé e3b9bd9747 Fix a regression when loading a real windows registry. 2003-03-30 03:05:12 +00:00
Eric Pouech c9fda6faeb No longer using kernel32's APIs but ntdll's. 2003-03-25 00:33:32 +00:00
Alexandre Julliard 435e2e63f4 winnt.h should not be self-contained, it must depend on windef.h so
that STRICT works correctly; moved some definitions back to windef.h
where they belong, and removed a couple of definitions that don't
exist on Windows.
2002-12-10 22:56:43 +00:00
Alexandre Julliard 8ed35fe87f Warnings fixes. 2002-11-25 01:14:15 +00:00
Alexandre Julliard 60bace9cfa Replace most PROFILE_GetWineIni calls by direct registry accesses.
Keep the config key open to query all values instead of re-opening it
all the time.
2002-11-24 22:19:57 +00:00
Andrew John Hughes ed800c69c8 Build ntdll with -DSTRICT. 2002-11-21 03:45:01 +00:00
Martin Wilck 6d886a52b3 - Allow setting NetBIOS ComputerName through registry.
- Keep old behavior as default, using new config option to change.
- Implement SetComputerName(), SetComputerNameEx(),
  GetComputerNameEx().
- ComputerName initialization moved to kernel32.
2002-11-15 01:01:47 +00:00
Raul Dias bbc2b5b9cc Added new "GlobalRegistryDir" option. 2002-09-24 03:07:17 +00:00
Alexandre Julliard f2ef2c2bb2 Handle special registry root keys directly in advapi32, and avoid
using them in kernel and ntdll.
2002-09-13 21:42:28 +00:00
Alexandre Julliard dafbc3f73f Removed remaining references to advapi32 registry functions from
kernel functions.
2002-09-13 18:52:01 +00:00
Alexandre Julliard f4bf7185a7 Moved 16-bit registry functions to kernel dll and implemented them by
calling up to advapi32.
2002-09-09 19:34:48 +00:00
Dmitry Timoshkov d75aed2c92 Convert most of the file APIs to Unicode. 2002-08-27 01:13:58 +00:00
Patrik Stridvall d016f819f1 Added include protection for unistd.h and sys/time.h. 2002-08-17 00:43:16 +00:00
Alexandre Julliard 7375597fe2 Fixed some handle type mismatches and added a few casts in prevision
of void* handles.
2002-07-31 19:26:03 +00:00
Alexandre Julliard 4144b5b8fc Create the server directory and socket file in /tmp.
Use fcntl file locking to ensure exclusion on the server socket and to
better recover from crashes.
Flush the registry before closing the socket to avoid timeouts on the
client side.
Moved get_config_dir functionality to libwine.
2002-06-20 23:21:27 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Alexandre Julliard 55e845d11b Removed most inclusions of options.h.
Removed a few no longer used PROFILE_* functions.
2002-05-23 19:40:18 +00:00
Andreas Mohr 841ce935d2 Removed obsolete email address. 2002-05-23 02:41:46 +00:00
Juergen Schmied 7c68252560 Use only winapi functions in _convert_winnt_registry_to_wine_format. 2002-05-09 19:38:06 +00:00
Alexandre Julliard 5769d1de00 Better support for configure detection of missing types, added check
for ssize_t.
Removed a couple of no longer used portability functions.
Various portability fixes in port.h.
2002-04-26 19:05:15 +00:00
Alexandre Julliard 8c875f8d13 Load classes.dat too. 2002-03-29 18:20:03 +00:00
Alexandre Julliard 0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Andreas Mohr f16b401e28 Various cosmetic changes. 2002-02-27 21:34:54 +00:00
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