Commit Graph

823 Commits

Author SHA1 Message Date
Mike Hearn b6908b4c9f Default to Win98 in DLL linkage heuristics. 2004-06-21 23:55:07 +00:00
Pierre d'Herbemont c196f63a72 Fix a compile error for SNOOP_GetProcAddress and RELAY_GetProcAddress
on non-i386.
2004-06-18 19:34:10 +00:00
Alexandre Julliard fd9792bdc9 Added support for the IMAGE_FILE_LARGE_ADDRESS_AWARE flag. 2004-06-18 00:26:57 +00:00
Alexandre Julliard 2ed053b5a0 Take spin count into account in RtlEnterCriticalSection. 2004-06-17 23:11:08 +00:00
Alexandre Julliard 2bcef9e1fb Don't use lseek when truncating a file to avoid corrupting the current
file position.
2004-06-17 23:05:48 +00:00
Gerald Pfeifer 69075d0c1c Remove incorrect support for FreeBSD and NetBSD in
DVD_StartSession().
2004-06-16 19:03:25 +00:00
Alexandre Julliard cc461324da Store the number of processors in the PEB structure.
More correct support for setting critical section spin counts (based
on a patch by Robert Shearman).
2004-06-15 00:52:03 +00:00
Eric Pouech db52588754 Const correctness. 2004-06-15 00:47:00 +00:00
Uwe Bonnes e98a664d57 Support for reading encrypted DVDs. 2004-06-15 00:45:01 +00:00
Eric Pouech b0fd2ade62 - Added ProcessBasicInformation class to ntdll.NtQueryInformationProcess.
- Make use of it in kernel32.
2004-06-14 17:02:00 +00:00
Raphael Junqueira d6bd6b0488 Added _vsnwprintf (needed by some native XP dlls). 2004-06-03 00:26:35 +00:00
Alexandre Julliard 08183bdbfd Use wine_exec_wine_binary in all cases to start the server. 2004-05-30 03:11:10 +00:00
Alexandre Julliard b1abca8a5d Initial version of the Wine preloader, used to reserve memory
areas at startup. Based on the work of Mike McCormack.
2004-05-28 20:59:22 +00:00
Alexandre Julliard dc4d05690e Don't rely on the reserved area list being empty in reserve_area,
since the preloader will need to add things to the list before
startup.
2004-05-28 03:48:09 +00:00
Alexandre Julliard 94d74b5fed Added support for managing reserved memory areas in libwine and ntdll.
Try to reserve everything above 0x80000000 on startup.
2004-05-25 01:29:24 +00:00
Dmitry Timoshkov 20f25c3468 Cygwin's mntent.h requires stdio.h to be included first. 2004-05-24 19:07:12 +00:00
Alexandre Julliard eb04fd22f8 Converted the memory views list to use the standard functions from
wine/list.h.
Restructured some functions to always return proper NT status codes.
A couple of optimizations.
Added a few tests for file mappings.
2004-05-21 20:58:44 +00:00
Alexandre Julliard cb27ab8b13 Added support for mapping UNC filenames to the dosdevices directory. 2004-05-17 21:09:19 +00:00
Patrik Stridvall 070db4e5de Fixed some issues found by winapi_check. 2004-05-17 21:08:31 +00:00
Alexandre Julliard 8c29b5f0cc Removed the no longer used SMB file I/O support, we can't do reliable
file I/O in user space anyway.
2004-05-14 22:24:48 +00:00
Alexandre Julliard 63a5d81cfa Better fix for removing trailing spaces in RtlGetFullPathName_U.
Need to remove trailing dots too (reported by Ken Belleau).
2004-05-14 22:10:24 +00:00
Alexandre Julliard c00b0b029a Remove trailing spaces from the filename in RtlGetFullPathName_U. 2004-05-13 05:21:23 +00:00
Alexandre Julliard 04869eb658 Initial support for automatically creating the ~/.wine directory on
startup.
2004-05-11 04:29:18 +00:00
Alexandre Julliard c4effa39e6 Use the Unix codepage to convert the user name to Unicode. 2004-05-07 04:01:28 +00:00
Alexandre Julliard ae42aad2ae Initialize ntdll debugging earlier on so that we can trace the server
startup too.
2004-05-05 05:56:37 +00:00
Alexandre Julliard 048b3ac67c Fixed RtlSetEnvironmentVariable to deal properly with Unicode strings
that aren't null-terminated.
2004-05-05 01:39:12 +00:00
Francois Gouget 4e5b9efcf0 We should not make deststring static since we count on it being fresh
and clean when entering test_RtlCopyString().
2004-05-05 01:38:24 +00:00
Alexandre Julliard a11b2bbafb Updated the auto-generated tests. 2004-05-04 00:41:11 +00:00
Alexandre Julliard b592cbbc18 Reimplemented GetFileType and SetEndOfFile using ntdll functions. 2004-05-01 02:44:00 +00:00
Alexandre Julliard d4874d6406 Added a few more info classes in NtQueryInformationFile.
Use NT file names in CreateNamedPipeW.
Reimplemented GetFileInformationByHandle, GetFileSize and GetFileTime
using ntdll functions.
2004-04-30 21:03:09 +00:00
Alexandre Julliard ff07c20446 Moved support for opening named pipes to ntdll. 2004-04-30 19:04:19 +00:00
Alexandre Julliard ffcc67abf1 Added auto-detection of DOS drive devices based on finding the
corresponding mount point in /etc/mtab or /etc/fstab.
2004-04-29 20:04:48 +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 cf67839bc4 Pass the creation disposition to wine_nt_to_unix_file_name so that it
can return the correct error code in all cases.
Changed MoveFileExW to use wine_nt_to_unix_file_name to avoid
computing the NT name twice.
Fixed crash in GetDriveTypeW with a NULL root.
2004-04-27 02:15:52 +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 223fcdff77 Moved support for opening DOS device files to ntdll. 2004-04-23 03:22:34 +00:00
Alexandre Julliard 9db147e5e4 Make DIR_nt_to_unix return STATUS_NO_SUCH_FILE instead of
STATUS_OBJECT_NAME_NOT_FOUND to indicate that the last component
didn't exist to allow distinguishing it from legitimate errors.
Export it from ntdll, renamed to wine_nt_to_unix_file_name.
2004-04-23 02:46:18 +00:00
Alexandre Julliard 4bb759e8ad Properly set IO_STATUS_BLOCK.Information in NtCreateFile. 2004-04-21 22:26:44 +00:00
Alexandre Julliard e4409325d2 Reimplemented GetFileAttributesExW and GetCompressedFileSizeW using
the corresponding ntdll functionality.
2004-04-20 04:06:49 +00:00
Francois Gouget 52c0832161 Make Unicode strings static const. 2004-04-20 01:12:17 +00:00
Robert Shearman e2490a0986 Stub and documentation for RtlFormatMessage. 2004-04-20 01:07:23 +00:00
Alexandre Julliard 362ce5eac7 Minor fixes. 2004-04-20 00:37:00 +00:00
Alexandre Julliard 174e2a6464 Reimplemented GetFileAttributesW, SetFileAttributesW and SetFileTime
using the corresponding ntdll functionality.
2004-04-20 00:36:29 +00:00
Michael Stefaniuc 5150b37a00 NtQueryInformationToken isn't a stub so change the FIXME to a TRACE. 2004-04-19 19:25:29 +00:00
Alexandre Julliard 769a4bb586 Fixed ntdll_wcstoumbs and WideCharToMultiByte to set the 'used' flag
for UTF-8 codepage too. This was causing DIR_nt_to_unix to fail in
some cases (tracked down with help from Alex Pasadyn).
2004-04-19 03:05:07 +00:00
Emmanuel Maillard 8183eb658f Fix a compile error for SNOOP_GetProcAddress on non-i386. 2004-04-17 00:21:18 +00:00
Alexandre Julliard 716878c5b1 Fixed a number of NT status values to be closer to NT behavior. 2004-04-16 23:32:40 +00:00
Alexandre Julliard dfcfc98ed0 RtlSetCurrentDirectory_U: store a handle to the current directory
along with its name.
2004-04-16 05:00:46 +00:00
Alexandre Julliard 186b419e02 Added hack to fetch the current directory from the subsystem tid so
that it is handled correctly in ntdll also for 16-bit tasks.
2004-04-16 00:10:03 +00:00
Alexandre Julliard a45931c6f3 Get rid of the TEB flags, they are no longer used. 2004-04-15 05:04:53 +00:00