Commit Graph

233 Commits

Author SHA1 Message Date
Peter Ganten d580b8344d Fixed GetShortPathNameA. 1999-12-12 20:44:07 +00:00
Huw D M Davies 90d089b547 Fixed arg types of FIXMEs. 1999-12-12 19:40:01 +00:00
Peter Ganten f6c4388e61 Return an error if lpOverlapped is provided to ReadFile / WriteFile. 1999-12-11 23:08:00 +00:00
Alexandre Julliard 05d006be47 Added missing WINAPIs. 1999-12-11 23:04:05 +00:00
Alexandre Julliard 7b7e2d434a Authors: Chris Morgan <cmorgan@wpi.edu>, James Abbatiello <abbeyj@wpi.edu>
Added stubs for the WinNT tape backup functions.
1999-12-10 03:46:20 +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
Peter Ganten ea5941ba26 Fix GetCurrentDirectoryA and W to return the needed space for the CWD,
if the buffer size is not large enough.
1999-12-05 23:51:56 +00:00
Marcus Meissner 9b4fcf721d Stub for CloseProfileUserMapping. 1999-12-04 04:19:55 +00:00
Alexandre Julliard 86a755343b Fixed MoveFileExA behavior when target file does not exist. 1999-11-21 02:11:48 +00:00
Andreas Mohr 87bff28c18 Flush current profile before using a newly opened one. 1999-11-21 02:03:03 +00:00
Patrik Stridvall b9010214d2 Added better missing function emulation. 1999-11-13 22:23:35 +00:00
Moshe Vainer 0ea089b6a8 Stub for GetOverlappedResult. 1999-11-10 19:51:01 +00:00
Peter Schlaile 6deeedbf66 Fixed a long standing (and annoying) typo, that prevented
GetDiskFreeSpaceA from working...
1999-11-04 01:39:59 +00:00
Eric Pouech f54c95ff07 When reading a profile entry remove trailing quote when there's an
opening one.
1999-10-31 17:32:57 +00:00
Patrik Stridvall 3a9c476a03 Fixed documentation. 1999-10-31 02:07:05 +00:00
Patrik Stridvall 96336324cf - Added missing configuration #if:s and #includes:s.
- Minor configuration related changes.
1999-10-24 22:13:47 +00:00
Gerard Patel c465e198af Remove prefixing by a tilde for GetTempFileName 32bits. 1999-10-24 20:48:54 +00:00
Jim Aston 031f4faaff Fixed compiling with STRICT. 1999-10-23 19:00:02 +00:00
Uwe Bonnes c25e7153b6 Account for the trailing NULL in GetLogicalDriveStringsA. 1999-10-13 13:57:38 +00:00
Peter Ganten 0bac5e9315 Fix for VFAT_IOCTL_READDIR_BOTH. 1999-09-27 11:46:27 +00:00
Abey George 70810d97d5 Made GetCurrentDirectory return long name of the current directory. 1999-09-27 11:39:43 +00:00
Francois Boisvert 567bcf130f CreateFileA returns HFILE_ERROR when the filename contains a wild card. 1999-09-20 18:31:21 +00:00
Patrik Stridvall 311e456a64 Added support for anonymous structs/unions on compilers that implement it. 1999-09-19 14:20:33 +00:00
Richard Cohen 93b579fe28 Stop crash in GetDiskFreeSpaceEx. 1999-09-10 13:59:55 +00:00
Thuy Nguyen 7c7f155be3 Resolve environment variable when enumerating values. 1999-09-04 11:03:22 +00:00
Morten Eriksen 467845a081 FIXME on unimplemented feature made less obtrusive. 1999-08-15 14:20:18 +00:00
Alexandre Julliard 89f079bfd1 Replaced a few calls to lstr* functions by their CRTDLL or libc
equivalent.
1999-08-08 18:54:47 +00:00
Andreas Mohr 0471841d32 Fixed case sensitivity flag. 1999-08-07 12:36:11 +00:00
Morten Eriksen 1563e83aaf Improved GetDiskFreeSpaceEx() implementation a little bit. 1999-08-07 12:29:04 +00:00
Alexandre Julliard beb8fabf22 Removed async I/O support. 1999-08-01 14:51:26 +00:00
Alexandre Julliard e61b792f97 Remove file from cache when flushing it (based on a patch by Ian
Schmidt).
1999-07-31 19:24:11 +00:00
Ove Kaaven 43a2b6a2a5 Made async fds nonblocking. 1999-07-31 12:59:29 +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
Alexandre Julliard 359f497e97 Converted to the new debug interface, using script written by Patrik
Stridvall.
1999-07-04 16:02:24 +00:00
Andreas Mohr e00114c414 Added UnlockFileEx stub. 1999-07-03 11:56:07 +00:00
Gerard Patel 8f3c0a375e Return ERROR_DISK_FULL for WriteFile. 1999-06-27 15:26:37 +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
Alexandre Julliard ebe29ef376 Further server optimizations:
- merged request and reply structures
- build requests directly into the buffer to avoid a copy
1999-06-26 08:43:26 +00:00
Alexandre Julliard 5bc78089db Made server communication faster by using a shared memory block.
A few other optimizations in request processing in the server.
Moved automatically generated request definitions to server.h and
removed include/server/request.h.
1999-06-22 17:26:53 +00:00
Alexandre Julliard 08b9b4f21d Authors: Chris Morgan <cmorgan@wpi.edu>, James Abbatiello <abbeyj@wpi.edu>
Fixed response of GetFullPathNameA when buffer==NULL.
1999-06-06 17:09:21 +00:00
Uwe Bonnes e4f46dc3a2 CreateFileA/FILE_DoOpenFile: add verbose reporting of arguments. 1999-06-06 17:08:13 +00:00
Dave Pickles 18d3ad837c Stub for SetVolumeLabel(). 1999-06-05 15:19:30 +00:00
Guy Albertelli e40c9b0a94 Correct search order in SearchPath for Win 3.1/95/98. Still broken for NT. 1999-06-05 11:47:25 +00:00
James Juran e8df90b9ad Add stub for LockFileEx (KERNEL32.513). 1999-06-05 08:57:37 +00:00
Andreas Mohr adfeec96dd Added support for the undocumented combination
GetPrivateProfileStringA(section == NULL, entry == NULL, ...
1999-05-22 16:04:57 +00:00
Marcus Meissner acfae0c117 Fixed off by 1 error in section code (did not return len-2 on buffer
overflow in some cases, but len-1).
1999-05-08 18:29:10 +00:00
Marcus Meissner 264360fc21 Return the correct value from GetPrivateProfileSectionA.
Copy/convert back the buffer in GetPrivateProfileSectionW.
Replace some output pointers str/wstr->ptr in kernel32.spec.
1999-05-08 10:02:05 +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
Andreas Mohr 0c3f70dbfd Ignore trailing dots on file names. 1999-04-25 12:27:58 +00:00
Patrik Stridvall 0f8bc5b5c7 Fixed ANSI compabillity. 1999-04-22 16:27:50 +00:00
Ulrich Weigand 8228bd6792 Added missing profile KERNEL routines (call 32-bit versions). 1999-04-22 09:56:09 +00:00
Patrik Stridvall b4b9fae671 New debug scheme with explicit debug channels declaration. 1999-04-19 14:56:29 +00:00
Robert W Hall 9132a78b27 Make DOSFS_MatchLong match a search string ending in '*.' to a zero
extension file name, allowing Mathcad to run.
1999-04-18 14:38:17 +00:00
Guy Albertelli e711ba2366 Fixed SearchPathA return value. 1999-04-06 07:14:09 +00:00
Alexandre Julliard d5240f13db Mask off unsupported attributes in _lcreat (bug reported by Andreas Mohr).
Moved _lcreat16_uniq to int21.c
1999-04-03 13:54:51 +00:00
Eric Pouech ed15575954 Thread-safe implementation of profile functions (Windows and Wine). 1999-03-25 13:24:08 +00:00
Marcus Meissner 6b9dd2e098 Lots of warning fixed, one missing WINAPI in ddraw.c added. 1999-03-18 17:39:57 +00:00
Jim Aston 2e1cafa288 Renamed wintypes.h to windef.h. 1999-03-14 16:35:05 +00:00
Peter Ganten f22bea0a76 Better implementation of GetShortPathNameA/W. 1999-03-14 15:15:14 +00:00
Michael McCormack a84860785a Basic support for WIN32 serial communications API.
Modify DOSFS_OpenDevice to allow opening of COM ports.
Change Win32 comm functions to accept file handle.
Add declaration of COMSTAT32 structure.
1999-03-14 12:25:36 +00:00
Marcus Meissner 412d025243 Changed CreateDirectory LastError returns to match Win32 (found out by
experiment). Adapted int21 CreateDirectory call to still return the
correct DOS error codes according to Ralph Brown.
1999-02-28 19:50:39 +00:00
Alexandre Julliard 3f09ec5263 CLIENT_WaitReply: don't clear last error on success; fixed callers
accordingly (based on a patch by Juergen Schmied).
1999-02-28 19:25:51 +00:00
Andreas Mohr df8cdfdfac Better error message. 1999-02-28 16:56:48 +00:00
Alexandre Julliard 96c08d817c Use server handles directly for Win32 handles. Removed use of K32OBJ. 1999-02-28 13:27:56 +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
Michael Veksler 249d14ba29 Fixed warning and compilation errors. 1999-02-25 16:39:16 +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
Marcus Meissner 317af320cf Optimized include/*.h: (recursively) include all headers needed by
this .h file, but only those. Necessary fixes to a lot of .c files,
started optimizing "windows.h" away from some of them. Moved
GetCurrentTask prototype to wine/winbase16.h.
1999-02-17 13:51:06 +00:00
Uwe Bonnes 3dbc7881ea Fix GetTempDrive behaviour. 1999-02-14 17:32:46 +00:00
Juergen Schmied 1ed51af346 Small fixes to compile with the headers (mostly nt-security). 1999-02-12 17:47:07 +00:00
Uwe Bonnes 272334287b Set the flags for GetVolumeInformation32A. 1999-02-11 10:23:05 +00:00
Ulrich Weigand b7b205046f Call VIRTUAL_HandleFault if read/write returns EFAULT. 1999-02-09 15:29:27 +00:00
Juergen Schmied 639568276e Wrong access on server handle was demanded (GENERIC_READ instead of
GENERIC_WRITE).
1999-02-09 14:17:35 +00:00
Andreas Mohr e3728cd27a Use vfat/win95 as default. 1999-02-05 10:16:19 +00:00
Eric Pouech 6ec6492ff6 GetDiskFreeSpaceEx32A can get null pointers and still not crash. 1999-02-02 10:25:41 +00:00
Alexandre Julliard 4ff2a27c09 Changed DOS extended error handling to be based on SetLastError;
should be more thread-safe this way.
1999-01-31 15:23:45 +00:00
Marcus Meissner 6b5a811175 Some more warnings and bugs fixed. 1999-01-30 13:06:00 +00:00
Alexandre Julliard 9416abaff7 Don't abort PROFILE_GetSection on empty keys. 1999-01-26 17:29:49 +00:00
Marcus Meissner b12e72d685 DOS programs use handles 0-4 without opening/closing any of those
handles first. Split up Init from AllocDosHandle and call it from
the DOSVM.
1999-01-23 14:01:08 +00:00
Alexandre Julliard 62a8b43301 Hacked server-side device support
Added user APCs support.
Many changes to the xterm console to make use of the server (not
finished yet).
Moved some other small stuff to the server.
1999-01-19 17:48:23 +00:00
Alexandre Julliard 8da12c43a9 Group commit for recovery after disk crash.
See Changelog for changes WRT release 990110.
1999-01-17 16:55:11 +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
Juergen Schmied 8640716a66 Bugfix for trailing slashes, repetition of '/' or '\' and
SetLastError() in GetFullPathname.
1999-01-03 16:12:01 +00:00
Andreas Mohr cc0248e52d Implemented raw device access calls for ioctlGenericBlkDevReq()
and therefore moved the core functionality of int2[56].c into files/drive.c.
1999-01-03 12:31:51 +00:00
Alexandre Julliard 0562539d18 Implemented file sharing checks in the server.
Added set file time server request.
Overall clean up of the file handling (DOS device handling is now
broken, should be redone).
1999-01-03 11:55:56 +00:00
Alexandre Julliard 6ebbe3c949 Cleaned up and removed some no longer used code. 1999-01-01 17:04:00 +00:00
Alexandre Julliard 55443878fc Removed client-side wait functions; all waiting is now done through
the server.
1998-12-31 15:52:06 +00:00
Alexandre Julliard fbe63adcc7 Reimplemented Read/WriteFile to use server file descriptors.
Removed file position hack as it is wrong for Win32 (should be redone
for Win16 only).
1998-12-30 12:10:06 +00:00
Alexandre Julliard 338e757d08 Added beginnings of server-side file handling.
Added -debugmsg +server support.
Better server request dumping for varargs requests.
1998-12-27 15:28:54 +00:00
Marcus Meissner 73458b03cd Changed // comments to /* */ so WINE compiles with non-gcc compilers
again.
1998-12-26 12:54:29 +00:00
Huw D M Davies a03f064175 Fix GetTempPath32 if count=0. 1998-12-15 18:04:58 +00:00
Juergen Schmied 30f503fd01 Bugfix: GetFullPathName sets lpFilePart only when the last element
does not end with '\'.
1998-12-15 17:28:26 +00:00
Marcus Meissner ad7538bfc5 Made async IO (SIGIO) stuff from WINSOCK generic useable.
Added async IO support to FILE and CONSOLE objects.
1998-12-14 18:15:10 +00:00
Marcus Meissner 7d123bf0e4 Added Win32 synchro to FILEs (useful only for terminal handles). 1998-12-11 09:13:29 +00:00
Alexandre Julliard 0c0e3bebb8 Authors: Francis Beaudet <francis@macadamian.com>, Sylvain St-Germain <sylvain@macadamian.com>, Thuy Nguyen <thuy@macadamian.com>
Lots of new stubs.
1998-12-10 15:49:22 +00:00
Uwe Bonnes f3836f5f37 Fixed DRIVE_GetFreeSpace to handle space > 4 GByte. 1998-12-10 09:56:06 +00:00
Marcus Meissner d5e7c7927c Some unnecessary #include and messages removed. 1998-12-09 11:06:00 +00:00
Alexander Larsson 2772a67c7d Reverted previous patch. 1998-12-07 16:23:42 +00:00
Alexander Larsson a8745ea31e Opening a file in a directory which doesn't exist returns
ERROR_FILE_NOT_FOUND instead of ERROR_PATH_NOT_FOUND.
1998-12-02 10:04:52 +00:00
Andreas Mohr 4ae195a2f5 Improved GetDiskFreeSpace32A(). 1998-11-27 15:02:25 +00:00