Commit Graph

138 Commits

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