Commit Graph

95 Commits

Author SHA1 Message Date
Chris Morgan e4055508a0 Updated messages with new config files in mind to keep from confusing
users.
2001-01-12 19:55:19 +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
Andreas Mohr a6d83ebae1 - clarify many error messages
- add data corruption warning to README file
2000-12-27 04:02:46 +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 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
Patrik Stridvall 2b3aa616e8 Added/modified documentation for function arguments. 2000-12-01 23:58:28 +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 27952ef0ee Added a few more large integer functions. 2000-10-13 20:26:03 +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
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 cb10fdab99 Replaced lstrlen/lstrcmp by libc equivalents everywhere we don't need
to trap exceptions.
2000-08-06 02:41:16 +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
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
Alexandre Julliard fbace6eefe Added a per-drive FailReadOnly flag, and removed the global
--failreadonly option.
2000-04-04 20:35:45 +00:00
Patrik Stridvall 2d6457c11a Added/fixed some documentation reported by winapi_check. 2000-03-28 20:22:59 +00:00
Francois Gouget 6d77d3a1df Use min/max instead of MIN/MAX. 2000-03-25 21:44:35 +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
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
Alexandre Julliard 90476d6b4a Moved SystemHeap allocations to the process heap. 2000-02-16 22:47:24 +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 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
Ove Kaaven a01e289696 Made SetVolumeLabel report failure on CD-ROM drives. 2000-01-15 23:28:26 +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
Patrik Stridvall b9010214d2 Added better missing function emulation. 1999-11-13 22:23:35 +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
Uwe Bonnes c25e7153b6 Account for the trailing NULL in GetLogicalDriveStringsA. 1999-10-13 13:57:38 +00:00
Abey George 70810d97d5 Made GetCurrentDirectory return long name of the current directory. 1999-09-27 11:39:43 +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
Morten Eriksen 467845a081 FIXME on unimplemented feature made less obtrusive. 1999-08-15 14:20:18 +00:00
Morten Eriksen 1563e83aaf Improved GetDiskFreeSpaceEx() implementation a little bit. 1999-08-07 12:29:04 +00:00
Dave Pickles 18d3ad837c Stub for SetVolumeLabel(). 1999-06-05 15:19:30 +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
Patrik Stridvall 0f8bc5b5c7 Fixed ANSI compabillity. 1999-04-22 16:27:50 +00:00
Patrik Stridvall b4b9fae671 New debug scheme with explicit debug channels declaration. 1999-04-19 14:56:29 +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
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
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
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
Uwe Bonnes f3836f5f37 Fixed DRIVE_GetFreeSpace to handle space > 4 GByte. 1998-12-10 09:56:06 +00:00
Andreas Mohr 4ae195a2f5 Improved GetDiskFreeSpace32A(). 1998-11-27 15:02:25 +00:00
Petter Reinholdtsen 6ca3f79e79 Make sure the access functions are always used to get label and serial
number.
1998-10-20 14:25:50 +00:00
Andreas Mohr fe6dfb0522 Fixed severe bug: SetCurrentDirectory32A didn't set pTask->curdir
correctly due to current drive being set too late.
1998-10-11 17:36:06 +00:00
Petter Reinholdtsen 0dce5b7538 Bugfix: Changed GetDriveType32A(NULL) to use cwd's root. 1998-10-11 14:26:25 +00:00