Commit Graph

424 Commits

Author SHA1 Message Date
Jason Edmeades 922a5e4681 Silence fixme in unnecessary situation, add missing \n to another fixme. 2002-05-28 22:38:54 +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
Steven Edwards 48ac89b627 Add check for <sys/ioctl.h>. 2002-05-19 22:25:02 +00:00
Alexandre Julliard 9bb05fc48e Specify the complete source file list for a dll inside the main
makefile and get rid of the subdirectories makefiles.
2002-05-14 18:36:54 +00:00
Andreas Mohr 470a3f93eb Make PROFILE_GetString account for default value in all cases. 2002-05-11 22:59:41 +00:00
Juergen Schmied 6b27977ab5 Use long names, not 8.3 names in environment. 2002-05-09 19:35:22 +00:00
Michael Wetherell 70c42d822f Fix handling of unix absolute paths in DOSFS_GetFullName and
GetShortPathNameA.
Handle '..' in paths in DRIVE_FindDriveRoot.
2002-05-08 00:29:17 +00:00
Jason Edmeades ffb3d784d9 Ensure correct full path returned when GetFullPathName supplied a path
relative from the root of the drive 'eg '\windows\system'.
2002-05-05 21:01:43 +00:00
Mike McCormack 9414adf75e Implement NetBIOS resolution for UNC pathnames. 2002-05-05 20:29:15 +00:00
Marcus Meissner 77fbbcf30d FindClose: protect the GlobalLock for pagefaults too. 2002-05-04 18:28:36 +00:00
Rizsanyi Zsolt e7c6d17b3e Implemented IOCTL_SCSI_GET_ADDRESS for non true scsi cdrom drives
(only on linux).
Initialize registry under HKEY_LOCAL_MACHINE/HARDWARE/DEVICEMAP/Scsi.
Added IOCTL_CDROM_MEDIA_REMOVAL support.
2002-05-01 22:25:41 +00:00
Martin Wilck ff1f320ac8 Fixed some bugs in my recently submitted patch series. 2002-04-26 18:31:19 +00:00
Martin Wilck 9ca4285a9f Fixed ReadFile() semantics when reading asynchronously on sockets.
Provide more accurate status codes than STATUS_UNSUCCESSFUL.
2002-04-25 22:58:59 +00:00
Martin Wilck af16c98f71 Implemented overlapped WSARecvFrom(), WSASendTo(), and
WSAGetOverlappedResult().
Fixed shutdown() to work correctly for overlapped sockets (do not
actually do a shutdown() system call as long as there are pending
overlapped requests).
Also added correct error reporting when trying to read or write on a
shut down connection, also for ReadFile()/WriteFile() calls.
2002-04-25 21:34:24 +00:00
Martin Wilck ef79c38e76 Avoid segfault with overlapped WriteFile() calls. 2002-04-23 19:27:51 +00:00
Eric Pouech ac24236d9a Always close fd when reading super block. 2002-04-22 22:34:00 +00:00
Martin Wilck e0587d4a64 GetOverlappedResult: Return ERROR_IO_INCOMPLETE if IO still pending.
ReadFile / WriteFile: Use GetOverlappedResult() to check for immediate
completion.
2002-04-17 16:46:06 +00:00
Martin Wilck 08867f7149 - Need a "cleanup" method.
- calling the "call_completion" method unconditionally in finish_async
  (introduced by me) was wrong, because the thread may never be in an
  alertable wait state -> call it only if user completion function is present.
- We need two constant "ops" objects, one with and one without call_completion
  method (the event field may NOT be used to determine whether the completion
  must be called or not).
2002-04-14 19:34:57 +00:00
Stefan Leichter f25efa0660 Compile fixes for gcc 2.7.2.3. 2002-04-11 17:34:46 +00:00
Martin Wilck 2b47fb3cee - separate cleanly between async scheduling and file IO related issues.
- make the API compatible with other types of async requests (e.g. for
  sockets).
- remove exports of async IO related functions for DLL separation.
2002-04-05 22:53:57 +00:00
Alexandre Julliard 1bb69a0c09 Make GetFullPathName fail if input path name is empty. 2002-04-02 02:46:27 +00:00
Francois Gouget 34372dcbf0 Fix SetFileAttributes to honor the umask (rather than making files
world-writable).
2002-03-29 18:17:35 +00:00
Patrik Stridvall f89d4a8673 Fixed some issues found by winapi_check. 2002-03-23 21:39:05 +00:00
Alexandre Julliard 8d1550d1c6 Export the FILE_GetUnixHandle functionality from ntdll. 2002-03-23 18:48:12 +00:00
Gerald Pfeifer c8764e4de0 Add missing #includes for FreeBSD and Solaris. 2002-03-19 02:06:25 +00:00
Mike McCormack fc93261150 Begin to make wine an SMB client. 2002-03-12 19:24:04 +00:00
Mike McCormack 4a6b990ce8 Set an overlapped hEvent before calling any APCs. 2002-03-11 01:19:29 +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 8f925ae5c8 Implemented "App Paths" registry key support for SearchPath(). 2002-02-27 18:49:40 +00:00
Andreas Mohr c8dcafc65e Fixed overflow and signed/unsigned behaviour. 2002-02-27 18:49:06 +00:00
Peter Hunnisett 73ab649ced New file msvcrt/excpt.h. Move some stuff out of winnt.h into it. 2002-02-25 20:10:35 +00:00
Gerhard W. Gruber 814a3fa2a1 MoveFileEx now enters the files in the registry when the boot delay
flag is set.
2002-02-22 21:30:22 +00:00
Jukka Heinonen 34f5563dab Added missing break statement. 2002-02-12 18:45:06 +00:00
Gerhard Gruber 024a0ac158 WritePrivateProfileSection should allow to create duplicate keys
because it takes the buffer as it is without any modifications.
2002-02-05 19:44:54 +00:00
Jukka Heinonen fd33517a41 Added support for DOS EMS memory. 2002-01-29 17:55:21 +00:00
Aric Stewart c43985b275 GetDiskFreeSpace needs to set the last error on failure. 2002-01-29 02:45:23 +00:00
Marcus Meissner 4589a07499 Handle section==NULL (error) in WritePrivateProfileStringA. 2002-01-21 23:36:53 +00:00
Alexandre Julliard 45342a35fe Fixed function prototype that confused winapi_extract. 2002-01-21 17:37:24 +00:00
Dmitry Timoshkov 4291e45c98 Fix return value of GetWindowsDirectoryA/W and GetSystemDirectoryA/W. 2002-01-18 18:53:11 +00:00
Eric Pouech 5cc6105b39 Changed the Wine internal cdrom interface to the NT model. 2002-01-13 01:44:00 +00:00
Martin Wilck 88cd32b2d1 More general approach to file descriptor types and flags. 2002-01-09 20:30:51 +00:00
Martin Wilck 718b1b711b Add server side support for async IO on files.
Use pread/pwrite to read/write from the offset specified in the
overlapped structure.
2002-01-07 21:02:15 +00:00
Mike McCormack 99a5cfea91 - Attempt write before going overlapped in Writefile.
- Fix return codes in WriteFileEx.
2002-01-07 18:11:28 +00:00
Mike McCormack de339f3021 Implement CancelIo properly. 2002-01-07 18:06:59 +00:00
Mehmet Yasar 39e001962b Do not save empty sections names. 2002-01-04 18:24:37 +00:00
Mike McCormack 9119543795 Set an overlapped's hEvent for ReadFile/WriteFile in an overlapped
completion function, not in ReadFileEx or WriteFileEx.
2002-01-01 01:11:32 +00:00
Alexandre Julliard 193cf50a09 Removed some of the calls to HEAP_strdup* functions. 2002-01-01 00:24:30 +00:00
Mike McCormack 5d754fc958 Don't return from overlapped ReadFile on EAGAIN and other non-fatal
errors.
2001-12-21 19:16:33 +00:00
Mike McCormack 6f011c0847 - move async activation into the server
- implement async queues
2001-12-20 00:07:05 +00:00
Mike McCormack 27cf4a41c2 Implemented timed-out non-overlapped ReadFile. 2001-12-19 18:48:29 +00:00