Mike McCormack
eb3e38eb73
Swap lpOverlapped parameters in ReadFile and WriteFile.
...
The InternalHigh member should contain the number of
bytes transferred.
2001-01-12 19:57:38 +00:00
Chris Morgan
e4055508a0
Updated messages with new config files in mind to keep from confusing
...
users.
2001-01-12 19:55:19 +00:00
Chris Morgan
7af79ff645
Removed some unnecessary defines after profile.c cleanup.
2001-01-11 20:16:27 +00:00
Chris Morgan
4a3d508b33
Removed use of outdated WINE_INI environment variable. Removed
...
obsolete --config option. Removed loading of global wine config file.
Cleaned up some messages.
2001-01-10 22:57:34 +00:00
Mike McCormack
f21aac0e0c
Implemented asynchronous ReadFile and WriteFile.
2001-01-10 22:45:03 +00:00
Ryan Cumming
418e27ea68
Make CDROM_GetLabel return 0 in the event of failure, and make the
...
default label for drives a string of 11 spaces.
2001-01-09 20:54:11 +00:00
François Gouget
4b4f69ad38
The last parameter of CreateFile should be 0 (aka NULL), not -1.
...
CreateFile returns INVALID_HANDLE_VALUE when it fails, not
HFILE_ERROR.
Added comments.
2001-01-09 20:51:19 +00:00
Alexandre Julliard
550ba5b47a
Avoid crashing on invalid lines during config file conversion.
2001-01-05 22:23:37 +00:00
Alexandre Julliard
8081e5a1e5
Added handle_t type to server interface so that we can make handles
...
pointers later on.
Always use 0 to signal invalid handle in server requests.
2001-01-05 04:08:07 +00:00
Mike McCormack
ad72e71fda
Implemented GetOverlappedResult.
2000-12-29 19:44:18 +00:00
Andreas Mohr
a6d83ebae1
- clarify many error messages
...
- add data corruption warning to README file
2000-12-27 04:02:46 +00:00
Lawson Whitney
e3178f9fbc
Allow an application to open a dos device ending with ':'.
2000-12-27 03:28:13 +00:00
François Gouget
55146dbe18
Fixed a few type clashes in preparation for the switch to STRICT.
2000-12-24 20:33:01 +00:00
Dmitry Timoshkov
b6ac770f04
Define environment variable TMP as an alias for TEMP.
2000-12-24 20:01:12 +00:00
Alexandre Julliard
d549f6909e
Use a separate FIFO pair for server requests that don't need to pass a
...
file descriptor.
Associate file descriptors with handles on the server side so that we
don't need to pass the fd every time the client wants to use it.
2000-12-22 02:04:15 +00:00
Alexandre Julliard
5801723b50
Replaced WIN16_GlobalLock16 by "official" function K32WOWGlobalLock16.
2000-12-22 01:09:26 +00:00
Dmitry Timoshkov
fdc78a3ed0
Protect against NULL buffer in the profile functions.
2000-12-19 19:37:03 +00:00
Alexandre Julliard
1ab243bac1
Merged the get_read_fd and get_write_fd requests.
2000-12-19 02:12:45 +00:00
Huw D M Davies
d0f8bfd778
Spelling fix.
2000-12-15 20:54:01 +00:00
Lawson Whitney
0348212609
Add strerror() to the "Could not stat" and "Invalid path" startup
...
error messages.
2000-12-14 20:30:13 +00:00
Alexandre Julliard
982a223f36
Replaced PTR_SEG_TO_LIN macro by exported MapSL function.
...
Fixed a few ptr/segptr mismatches.
Moved CONV_RECT/POINT macros to wingdi16.h.
2000-12-13 20:20:09 +00:00
Alexandre Julliard
bf67259a41
Use the DRIVE_* API constants instead of the DRIVETYPE enum.
...
Changed DRIVE_CANNOTDETERMINE and DRIVE_DOESNOTEXIST to use the
correct names.
Cleaned up a few dependencies on internal drive.c functions.
2000-12-12 00:44:42 +00:00
Alexandre Julliard
73be8d1cfd
Added automatic translation of the config file to the new
...
format. Updated documentation.
2000-12-06 20:25:11 +00:00
Aric Stewart
e4d09327ef
Added ASCII-only version of toupper, tolower, strcasecmp and the like
...
for file and module I/O.
2000-12-03 03:14:29 +00:00
Patrik Stridvall
2b3aa616e8
Added/modified documentation for function arguments.
2000-12-01 23:58:28 +00:00
Alexandre Julliard
3a0f8b7953
Finished separation of shell32 and wsock32.
2000-12-01 20:48:41 +00:00
Alexandre Julliard
27bb311d70
Added implementation of lstat to port.c.
2000-11-29 17:48:06 +00:00
Alexandre Julliard
24a62ab9b0
Got rid of the Wine internal lstrcpy* functions and of winestring.h.
2000-11-28 22:40:56 +00:00
Dimitrie O. Paun
529da54394
Require {DECLARE,DEFAULT}_DEBUG_CHANNEL statements to end in a ;
2000-11-27 23:54:25 +00:00
Alexandre Julliard
5ce902b0b9
Implemented DosFileHandleToWin32Handle, Win32HandleToDosFileHandle and
...
DisposeLZ32Handle and use them to replace file.c internal functions.
Renamed WOW* functions into K32WOW*.
2000-11-27 21:59:08 +00:00
Alexandre Julliard
ac7efef3b5
Changed GetProcAddress16 and 16-bit resource functions to take normal
...
pointers instead of SEGPTRs.
Removed WIN16_GetTempDrive.
2000-11-27 21:54:01 +00:00
Marcus Meissner
25e7403a27
Removed strange checkj for !filename, so we don't get section NULL
...
accesses later.
2000-11-26 22:36:19 +00:00
Alexandre Julliard
ab687979fd
Moved standard syslevel APIs declaration to winbase.h.
...
Use exported syslevel function wherever possible.
Moved SEGPTR declaration to windef16.h.
2000-11-15 23:41:46 +00:00
Dimitrie O. Paun
864dc5981c
Use variable argument macros when compiling with gcc.
2000-11-10 23:31:06 +00:00
Dimitrie O. Paun
dbb61c0f3e
Use debugging API instead of outputing to stderr directly.
2000-11-04 02:55:54 +00:00
Alexandre Julliard
9400e2d727
Fixed SearchPath to handle a ';'-separated path as first argument.
2000-11-01 21:48:38 +00:00
David Elliott
44f84b55f3
Added basic working stubs of new Windows 2000 API functions.
2000-10-29 01:24:54 +00:00
Marcus Meissner
7f0490e3f3
If we have a drive pointing to /, we must not remove the final / or we
...
get the current directory doubled.
2000-10-23 00:37:06 +00:00
Joerg Mayer
959d73e8dd
Reduce the number of warnings about missing initializers.
2000-10-22 23:56:32 +00:00
Andreas Mohr
220312e993
Skip directory symlinks in DOSFS_FindNextEx.
2000-10-19 20:38:38 +00:00
Alexandre Julliard
57f05e1913
Converted a few more server requests to the new mechanism.
2000-10-15 00:40:25 +00:00
Alexandre Julliard
27952ef0ee
Added a few more large integer functions.
2000-10-13 20:26:03 +00:00
Mike McCormack
11776c1fcf
Moved comm.c into kernel32.
2000-10-13 17:11:30 +00:00
Alexandre Julliard
aef9a36059
Use special environment variables to transmit the cwd of the various
...
drives to child processes (based on a patch by Andreas Mohr).
2000-10-03 04:19:16 +00:00
Andreas Mohr
3ac104face
Fixed the default value handling (trailing spaces of the default value
...
are clipped).
section == NULL, key_name == NULL undoc. feature is only valid in Win32.
2000-09-29 21:04:44 +00:00
Alexandre Julliard
15bfcd0398
Moved $(MODULE).o rule out of Make.rules into the individual
...
Makefiles.
2000-09-29 00:28:25 +00:00
Marcus Meissner
34ed4fd40f
Have the UNIX cwd follow the current directory on the current drive.
2000-09-27 00:22:16 +00:00
Alexandre Julliard
83f52d11c1
Moved all Win16 definitions out of the standard Windows headers.
2000-09-26 22:20:14 +00:00
Alexandre Julliard
072dfb57e3
Removed inclusion of wine/winestring.h from winbase.h and added it to
...
the C files that need it.
2000-09-25 23:30:56 +00:00
Alexandre Julliard
6dbf67e566
Moved FILE_dommap() to memory/virtual.c (and renamed it VIRTUAL_mmap).
2000-09-18 01:44:08 +00:00
Andreas Mohr
20cd9356a8
- fixes debugger output
...
- get rid of wrong comments
- fix comments
- .spec spelling fix
- improve warning message
2000-09-12 23:40:40 +00:00
Alexandre Julliard
46b8c24f9c
Removed chdir("/") until we have proper Unix cwd management.
2000-09-10 03:18:29 +00:00
Andreas Mohr
0729105683
DOSFS_MatchLong ignored several things about file mask matching for
...
long file names.
2000-09-07 21:03:02 +00:00
Mike McCormack
44b5bf5998
Added serial port object to the server.
2000-09-07 18:39:51 +00:00
Alexandre Julliard
92643003cf
Converted a lot of server requests to the new exception handling
...
mechanism.
2000-08-31 01:59:51 +00:00
Alexandre Julliard
9c2370bd75
Added exception handling wrapper to a number of server requests.
...
Changed a few requests to use the new vararg mechanism.
2000-08-30 00:00:48 +00:00
Alexandre Julliard
6c8d9171cd
Added a real root key and simplified creation of the HKEY_* special root keys.
...
Do not prefix all keys with the name of the top key when saving to a file.
Try to load $WINEPREFIX/config into the Wine config branch at startup.
2000-08-26 04:40:07 +00:00
Marcus Meissner
242d23e9a3
(from IBM TopPage patch) return correct error for already existing
...
file.
2000-08-21 03:18:32 +00:00
Stefan Leichter
eb0ab1b1ec
Fixed return value of CDROM_GetLabel if CDROM_Open failed (e.g. no
...
Device entry for drive in wine.conf).
2000-08-18 23:45:46 +00:00
Alexandre Julliard
dcd247e55f
Moved CharUpper* and CharLower* functions to dlls/user.
2000-08-14 17:39:15 +00:00
Alexandre Julliard
e101f6db3b
Cleaned up a few inter-dll dependencies. Added a few imports.
2000-08-14 14:42:41 +00:00
Alexandre Julliard
5ab9d860f2
Removed some unnecessary #includes and dll dependencies.
2000-08-09 22:35:05 +00:00
Alexandre Julliard
231674d824
Removed the DOS handles table from the PDB and made it a static
...
variable.
2000-08-09 22:30:18 +00:00
Alexandre Julliard
a007f3364a
Moved a few non-standard headers into their respective dlls.
2000-08-09 00:54:58 +00:00
Alexandre Julliard
cb10fdab99
Replaced lstrlen/lstrcmp by libc equivalents everywhere we don't need
...
to trap exceptions.
2000-08-06 02:41:16 +00:00
Alexandre Julliard
2e9f786d83
Only set COMSPEC if not defined already.
2000-08-01 23:34:01 +00:00
Alexandre Julliard
15467bfb1f
Moved MulDiv() and VGA routines out of GDI.
2000-08-01 22:03:18 +00:00
Hidenori Takeshima
66791afa8f
Fix for 64-bit negative seek value.
2000-07-31 23:26:50 +00:00
Andreas Mohr
3084b58606
- fixed a gross bug in SetCurrentDirectoryA (where changing to a new
...
non-existent directory would leave the new drive enabled upon aborting
(fixes CuteFTP install and should fix MANY apps)
This has probably been caused by myself. *brownpaperbag*
- added GetVolumeInformation serial number bug-for-bug compatibility
- corrected Unicode labels (better CD-ROM handling in general)
- moved CD-ROM label detection code to misc/cdrom.c
- possible to use loopback mounted ISO9660 files
- init some uninitialised drive fields
- remove some unnecessary header includes
2000-07-25 20:59:59 +00:00
Alexandre Julliard
b18dbd26c5
Perform NE_InitProcess in the context of the new task.
2000-07-25 12:11:53 +00:00
Andreas Mohr
2caee712a2
Spelling fixes.
2000-07-16 15:44:22 +00:00
Marcus Meissner
c895908824
Drop UNIX cwd to / after calculating WINE current directory (to allow
...
CD unmounts).
2000-07-16 14:38:53 +00:00
Dave Hawkes
bb9e66e265
If whitespace or dots are appended to the end of any component in a
...
path then it should be ignored.
2000-06-25 12:46:40 +00:00
Andreas Mohr
9b414e11e0
Added some stuff saying that this is NOT supported.
2000-06-24 13:33:52 +00:00
Uwe Bonnes
d88fbb7a78
Make WritePrivateProfileSectionA care for "" and NULL as the
...
string argument. New function PROFILE_DeleteAllKeys.
2000-06-20 20:48:46 +00:00
Uwe Bonnes
594a0dccce
GetFullPathName: get "drive" value too for absolute paths.
2000-06-15 00:30:26 +00:00
Andreas Mohr
bd86d18f74
DRIVE_GetFreeSpace() is supposed to *always* return 0 for "avail"
...
on CD-ROMs, even if CD-ROM is *not* mounted and thus the mount point
normally returns the "avail" of the corresponding partition.
Cleaned up GetDiskFreeSpaceA.
2000-06-13 03:36:05 +00:00
Marcus Meissner
a6ae55542f
Strip whitespace from front of profile values.
2000-06-13 01:06:22 +00:00
Stas Sergeev
feb71a6950
mmap() fails with ENODEV on NTFS under Linux.
2000-06-07 03:16:01 +00:00
Juergen Schmied
2250f12c48
Implemented FindFirstFileEx, cleaned old implementation up.
2000-06-01 23:17:42 +00:00
James Juran
65020b3539
SearchPathA needs to set the last error to ERROR_FILE_NOT_FOUND when
...
it does not find the file.
2000-05-23 01:13:50 +00:00
Uwe Bonnes
ed343a2b03
DOSFS_DoGetFullPathName: terminate string weh called like .\\file
2000-05-19 03:37:53 +00:00
Uwe Bonnes
40249c6573
GetFullPathname: add missing termination to the string.
2000-05-12 21:45:52 +00:00
Gerard Patel
f69c1501a8
Revert the test for Virtual_HandleFault in ReadFile/WriteFile.
2000-05-07 18:26:19 +00:00
Alexandre Julliard
045d81f16c
Added ENOEXEC error code.
2000-05-01 16:20:23 +00:00
Dimitrie O. Paun
abdbced4fd
Removed some HEAP_xalloc calls.
2000-04-29 14:20:28 +00:00
Uwe Bonnes
d3b890f66d
DOSFS_DoGetFullPathName: rewrite to return results like OSR2.
2000-04-28 20:48:54 +00:00
Alexandre Julliard
86ff8c0826
Make sure HKLM\Software\Wine\Wine is a non-volatile key.
2000-04-13 16:10:20 +00:00
Andreas Mohr
af7e1ae5c5
FILE_CreateFile()'s read/write-check was broken due to checking of
...
ERROR_xxx instead of STATUS_xxx.
2000-04-13 15:58:30 +00:00
Alexandre Julliard
227a0894d4
Removed a number of global handle allocations and critical section
...
initializations.
2000-04-08 21:06:06 +00:00
Alexandre Julliard
de1d5ad444
Added support for WINEPREFIX environment variable.
2000-04-06 20:36:17 +00:00
Uwe Bonnes
61f572a6ea
GetShortPathName: always erase characters at the end of the new
...
string, and return only single backslashes.
2000-04-06 19:31:11 +00:00
Alexandre Julliard
fbace6eefe
Added a per-drive FailReadOnly flag, and removed the global
...
--failreadonly option.
2000-04-04 20:35:45 +00:00
Alexandre Julliard
8a971bfec0
Fixed file descriptor leaks.
2000-04-04 19:57:23 +00:00
Patrik Stridvall
2d6457c11a
Added/fixed some documentation reported by winapi_check.
2000-03-28 20:22:59 +00:00
Alexandre Julliard
199aebaa57
Ignore trailing spaces in DOSFS_ToDosFCBFormat.
2000-03-28 13:20:32 +00:00
Stefan Leichter
7cc51fae64
DOSFS_ToDosFCBFormat: fail if extension longer than 3 characters.
2000-03-26 20:25:59 +00:00
Francois Gouget
6d77d3a1df
Use min/max instead of MIN/MAX.
2000-03-25 21:44:35 +00:00
Uwe Bonnes
b2ccbb2926
PROFILE_GetString: only accept NULL for keyname to return the list of
...
keys as Win95 does.
2000-03-04 19:03:15 +00:00
Alexandre Julliard
e4960a1f0f
Make profile key a global handle.
2000-02-29 22:19:57 +00:00