Commit Graph

570 Commits

Author SHA1 Message Date
Pofis 67f6ca52b2 Don't print FIXME for FILE_ATTRIBUTE_TEMPORARY. 2004-02-09 21:10:08 +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
Eric Pouech 6c8ee62340 - RtlGetFullPathName_U: rewritten so that the source & destination
buffer can be the same
- GetFullPathName[AW]: now call RtlGetFullPathName_U
- GetShortPathNameW: fixed regression introduced in last patch
2004-01-20 01:40:23 +00:00
Mike Hearn 517248d7bc - Ensure we correctly add a backslash like Windows 98/XP do.
- Generate filenames that look like Windows does (no left digit
  padding).
2004-01-16 04:49:13 +00:00
Mike McCormack 41e25208b2 Preserve trailing backslashes in GetFullPathName. 2004-01-15 01:48:44 +00:00
Eric Pouech 9ccb73a8d7 Reimplemented Get{Short|Long}PathName and updated the regression
tests.
2004-01-15 00:20:46 +00:00
Eric Pouech 768008fa20 - got rid of FILE_Dup2 export from kernel32
- move all dos handle related code into dlls/kernel32
2004-01-14 04:34:20 +00:00
Francois Gouget 640cc3f3e1 Assorted spelling fixes. 2004-01-06 22:08:33 +00:00
Eric Pouech 5bf3a2669b Made wine_get_unix_file_name take a Unicode string pointer. 2004-01-05 23:42:09 +00:00
Hans Leidekker 513670551b MoveFile returns ERROR_ALREADY_EXISTS, not ERROR_FILE_EXISTS. 2003-12-15 20:15:20 +00:00
Eric Pouech 1da37e6ac4 Moved all remaining console related code to dlls/kernel directory. 2003-12-12 04:10:52 +00:00
Alexandre Julliard 5525cab2c6 Removed no longer needed dll separation hack. 2003-12-02 04:48:16 +00:00
Alexandre Julliard 04ecca54a1 Use wine_server_release_fd() instead of close() everywhere we use
wine_server_handle_to_fd().
A few minor winsock cleanups.
2003-12-02 04:19:56 +00:00
Alexandre Julliard f3f435ffa1 Added wine_server_release_fd function to release the fd returned by
wine_server_handle_to_fd. Fixed a couple of potential fd leaks.
2003-12-01 23:01:12 +00:00
Alexandre Julliard 402b79a1e8 Porting fixes. 2003-11-27 00:59:36 +00:00
Eric Pouech ff0365290b Got rid of DRIVE_OpenDevice, and replaced it with Win32 equivalents. 2003-11-25 01:51:07 +00:00
Alexandre Julliard 436eda3071 Removed task.h. 2003-11-25 00:42:26 +00:00
Alexandre Julliard e983652363 Moved a number of DOS definitions out of the global headers and into
winedos private files. Removed the msdos.h header.
2003-11-15 00:13:20 +00:00
Eric Pouech 8ca6cadab1 - moved the remaining of int21 calls to dlls/winedos
- disabled drive enabling/disabling as well as disk serial number
  writing (for DLL separation issues)
- added volume management prototypes to include/winbase.h
- started DefineDosDevice (needed by first item in this list)
- removed int21 specific code from dlls/kernel
2003-11-14 04:54:39 +00:00
Alexandre Julliard 289613a57b Make sure GetTempFileName never returns 0 on success. 2003-10-31 03:38:54 +00:00
Daniel Marmier 7832562ee6 Fixed warnings with gcc option "-Wwrite-strings". 2003-10-21 23:57:25 +00:00
Gerald Pfeifer 5363999005 Remove unused variable wineW. 2003-10-21 23:42:22 +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 49a0224fb3 Get rid of the drive codepages and use CP_UNIXCP instead. 2003-10-15 03:47:53 +00:00
Oleg Prokhorov 947c61e4f7 Avoid HeapReAlloc of a NULL pointer. 2003-10-09 19:49:05 +00:00
Alexandre Julliard 2f4f2908ae Removed dependency on ntdll_misc.h. 2003-10-08 03:52:11 +00:00
Alexandre Julliard 01def427b7 Pass the cdrom device path in CDROM_InitRegistry so that ntdll doesn't
need to call DRIVE_GetDevice.
Get rid of GetDriveType calls.
2003-10-08 02:59:22 +00:00
Alexandre Julliard af192f83b6 Store a "removable" flag instead of the full drive type in the server
file object; this way we don't need to use GetDriveTypeW in the loader
code.
Make sure we always have a valid builtin_load_info pointer.
2003-10-08 00:25:32 +00:00
Alexandre Julliard 841f898663 Converted process creation to Unicode. 2003-10-04 04:09:41 +00:00
Pavel Roskin c8160055e8 Implemented GetCompressedFileSize[AW]. 2003-10-03 03:31:46 +00:00
Alexandre Julliard 4137aecaa5 Changed LdrLoadDll to only search for the dll in the specified path,
using ntdll functions.
Moved LOAD_WITH_ALTERED_SEARCH_PATH functionality to LoadLibraryEx
where it belongs.
2003-10-02 04:58:49 +00:00
Alexandre Julliard ae78c3c62f Hack to update ntdll current directory value in DRIVE_Chdir. 2003-10-02 04:44:32 +00:00
Alexandre Julliard f80b869939 Converted most of the loader code to Unicode. 2003-09-29 20:42:24 +00:00
Alexandre Julliard 2d13956285 The "Path" value of the "App Paths" entry should be handled in
ShellExecute by changing PATH in the new process, instead of being
done in SearchPath.
2003-09-26 04:35:01 +00:00
Alexandre Julliard 240b0a9b48 Moved the Windows version code to dlls/ntdll, and implemented
RtlGetVersion and RtlVerifyVersionInfo.
Moved the 16-bit and DOS version support to dlls/kernel.
2003-09-24 05:26:00 +00:00
Alexandre Julliard 8db8368ee7 Keep the file handle of 16-bit modules open while the module is
loaded. This makes it possible to remove the InstallShield hack in
OpenFile16.
Moved LoadLibrary32_16 to kernel.
2003-09-18 04:35:34 +00:00
Alexandre Julliard 2ac34461ad Reimplemented the 16-bit FindFirstFile, FindNextFile and FindClose
functions on top of their 32-bit counterpart, and moved them to
dlls/kernel.
2003-09-18 04:25:31 +00:00
Alexandre Julliard 65e7196fed Moved most kernel string functions to dlls/kernel. 2003-09-16 20:35:42 +00:00
Alex Pasadyn 33854afbe0 - Use HeapAlloc instead of GlobalAlloc in FindNextFile.
- Add test for FindNextFile that checks last error value.
2003-09-16 01:22:05 +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
Stefan Leichter a98f12973e Moved implementation of QueryDosDevice from ascii to unicode. 2003-09-02 18:14:50 +00:00
Alexandre Julliard 94463d7bbe Moved profile functions to dlls/kernel. 2003-08-26 02:54:37 +00:00
Alexandre Julliard 5fbb446cfc Moved most of the 16-bit task support and NE module loader to
dlls/kernel.
2003-08-23 00:03:40 +00:00
Eric Pouech f3d2a8d42d Removed the DOSFS_ specific time related conversion routine, and make
use of the ntdll equivalents.
2003-08-20 03:40:21 +00:00
Eric Pouech 7435723e11 Removed code for handling ${VAR} constructs in .ini files. 2003-08-20 03:39:07 +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 19b6a49845 Allocate DebugInfo field for all critical sections (based on a patch
by Alex Pasadyn).
Get rid of the Wine-specific CRITICAL_SECTION_INIT macro.
2003-08-12 23:50:54 +00:00
Mike McCormack 5ef127a000 Fix a couple of bugs in CDROM_GetSerial:
- it would fail if DeviceIoControl succeeded.
 - it would leak handles in some cases.
2003-07-21 20:02:23 +00:00
Alexandre Julliard d9780a8b3e Fixed compile when functions are not inlined. 2003-07-03 18:12:38 +00:00
Stefan Leichter eec7e0c734 Added line wrapping for a FIXME. 2003-06-27 19:40:56 +00:00