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
Petr Tomasek
cd9a633ffa
- Write serial numbers to the device (FAT)
...
- DRIVE_ReadSuperblock: better checking for the FAT fs.
2000-02-27 14:00:14 +00:00
Uwe Bonnes
59b5f786ff
GetFullPathName fixes.
2000-02-27 13:58:12 +00:00
Patrik Stridvall
422a10a571
Fixed some debug message crashes.
2000-02-26 13:15:51 +00:00
Petr Tomasek
788a9f7680
GetLongPathName rewrite.
2000-02-20 19:14:17 +00:00
Eric Pouech
0521a541f8
While creating the wine config key, make sure that only Wine's subkeys
...
are volatile.
2000-02-20 13:39:42 +00:00
Alexandre Julliard
00377a78b7
Store config file contents in the registry so we only have to load it
...
once per session.
Replaced PROFILE_EnumerateWineIniSection by PROFILE_EnumWineIniString.
Removed a few unnecessary/unused command-line options.
2000-02-19 20:50:00 +00:00
Andreas Mohr
91a8e0d73c
DRIVE_FindDriveRoot() always checked from drive A: to Z: for each
...
path component even if a match already occurred.
2000-02-18 19:06:49 +00:00
Matthew Cline
8bfd825fbe
Added WARN messages on open errors.
2000-02-18 19:05:11 +00:00
Alexandre Julliard
90476d6b4a
Moved SystemHeap allocations to the process heap.
2000-02-16 22:47:24 +00:00
Alexandre Julliard
383da68cf9
Optimized debugging API to reduce code size.
2000-02-10 22:15:21 +00:00
Jeremy White
d3e22d9d55
Removed #include of wingdi.h and windef.h from winuser.h (and resolved
...
the resulting compilation failures).
2000-02-10 19:03:02 +00:00
Andreas Mohr
a16c0e19a7
- implemented serial numbers for audio CDs and data CDs
...
- big clean up of misc/cdrom.c and dlls/winmm/mcicda/mcicda.c function
naming and such
- split debug channel cdaudio into cdrom and mcicda
- fixed some typos
2000-02-07 16:28:52 +00:00
Andreas Mohr
17b1f46150
- Windows skips the '\t' and ' ' at the beginning and end of section
...
key names of .INI files.
- Fixed Get/WritePrivateProfileStructA():
- (re-)translate the binary data into ASCII hex chars
- add checksum / checking of it
2000-01-30 21:15:14 +00:00
Juergen Schmied
8573cc7faf
- fixes, loading of settings per user
...
- autodetecting of windows registry version
2000-01-30 03:03:23 +00:00
Andreas Mohr
1fe93345c4
- support for reading labels and serial nums from device
...
- "reasonable" misc/cdrom.c device handling
- much improved audio CD support
- serial number overwrite bug fix
- spelling fixes
2000-01-29 21:11:47 +00:00
Andreas Mohr
0b16006b73
Add a newbie warning for slashes in the search Path= of wine.conf.
2000-01-26 02:04:09 +00:00
Alexandre Julliard
647876e598
Added PROFILE_GetConfigDir function.
2000-01-25 01:35:01 +00:00
Marcus Meissner
dd7523d518
Handle \\.\<dosdevice> like <dosdevice> in CreateFile. Tested with
...
help of James Feeney <james@nurealm.net>.
2000-01-23 02:18:27 +00:00
Ove Kaaven
a01e289696
Made SetVolumeLabel report failure on CD-ROM drives.
2000-01-15 23:28:26 +00:00
Francois Gouget
93d7057293
DOSFS_DoGetFullPathName would underflow (p would get past the
...
beginning of buffer) if given the name "//..".
Regrouped the handling of the directory separators.
Directory separators in the returned path are now alway a single "\"
which simplifies the handling of ".." in the name.
2000-01-09 21:34:34 +00:00
Rein Klazes
7458be0243
Implement WritePrivateProfileSectionA().
2000-01-05 01:42:51 +00:00
Francois Gouget
baa9bf9a23
Buffer overflows and strncpy fixes.
1999-12-27 05:24:06 +00:00
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