Commit Graph

1238 Commits

Author SHA1 Message Date
rocky
7f246527b8 Add read_data_sectors to exported symbols and to BSDI. 2005-02-17 12:05:10 +00:00
rocky
ab344d538c Remove more of the no longer needed distinction (that we sometimes got
wrong) of Mode 1 vs Mode 2 data reading.
2005-02-17 11:54:28 +00:00
rocky
da62695b60 Move forward in getting better ISO-9660 reading by eliminating "Mode 1/2"
specification in API.
2005-02-17 07:03:36 +00:00
rocky
78a3f49868 Add routine for reading data independent of or mode1 and mode2 format.
Should help with ISO 9660 reading. Add generic MMC READ_CD routine.

Warning - even more breakage in some situations. (But there's promise
of an overall brighter future.)
2005-02-17 04:57:21 +00:00
rocky
b504a1a652 First semblance of being able to handle Rock Ridge names. 2005-02-14 07:49:46 +00:00
rocky
3f4397a6f5 Remove assumption that OS has POSIX file definitions (mode_t, nlink_t,
gid_t, uid_t, time_t, etc.)
2005-02-14 02:18:58 +00:00
rocky
d37d48bc1c gcc < 3.0 compilation fix 2005-02-14 01:07:29 +00:00
rocky
2f11a30fb3 Merge in more Rock Ridge code. Not working yet. Hopefully not much
breakage. (But there may be some especially on less-POSIX OS's.)
2005-02-13 22:03:00 +00:00
rocky
78eabe4f2a iso9660.h, iso9660.c, xa.c, xa.h: Add const char's for debugging use.
iso9660.h: go over yet again for more info from the ECMA 119 spec.
2005-02-12 18:24:21 +00:00
rocky
521fb446a9 All structure tags now end in _s and we have typedefs for all of them
(ending in _t).
iso9660.h: abc -> a.b.c for ISO fields.
2005-02-12 10:23:18 +00:00
rocky
d7bee1720b mmc.c: mmc_mode_sense can't use cdio_have_atapi (without further check) or else
we may get an infinite recursion.
win32_ioctl.c: deal with an error message that can't be converted to a string.
2005-02-11 03:30:12 +00:00
rocky
43f59fc830 Stylistic changes. 2005-02-11 02:18:15 +00:00
rocky
8dfb4780cd Bug fix for mmc_have_interface.
checK_paranoia.sh.in: fix bug in returning success on a core dump
win32.c: some small changes - more later.
image/*.c: set run_mmc_cmd NULL explicitly.
2005-02-11 01:34:12 +00:00
rocky
e491ba74d6 Use solaris ioctl for blocksize set/get. Prototype corrections. 2005-02-10 11:23:08 +00:00
rocky
5316ed6880 Think I have how to get MMC media changed worked out. 2005-02-10 03:23:10 +00:00
rocky
8296df8b3d Add generic mode_sense(), add cdio_have_atapi() and use these.
API number bumped
Add bool_3way_t (yes, nope, dunno)
2005-02-10 01:59:05 +00:00
rocky
43e8856bfa Turn a number of the info messages into debug messages. 2005-02-09 09:55:38 +00:00
rocky
3755da8d0c Add mode_sense6() and mode_sense10() MMC commands. Use them to
hopefully clean up code a little. Remove some unused MMC "private"
commands.

iso4 -> isofuzzy
2005-02-09 02:50:46 +00:00
rocky
644ad9ceb7 Add "Rigid Restricted Overwrite" string. 2005-02-09 01:24:17 +00:00
rocky
a1c206fe3b Add enum for feature profiles. Add feature to string conversion routines. 2005-02-08 04:14:28 +00:00
rocky
7bb03d5c93 Break out DVD detection. More verbose comments about the issues here. 2005-02-07 04:16:19 +00:00
rocky
2860cea4cb lib/drivermmc.{c,h}: Add mmc_have_interface() to see if we've got SCSI
or ATAPI or whatever.

cdda_interface: Use mmc_have_inteface() we don't have anything for
this except in GNU/Linux. May reduce the unnecessary data_bigendianp()
calls which cause lots of disc reading.

Turn #defines for MMC Profiles into enumeration.
Add enumeration for "core" interface types

#include <cdio/scsi_mmc.h> -> #include <cdio/mmc.h>
2005-02-07 03:36:01 +00:00
rocky
3344d5642f Windows fixes. Read TOC via MMC only when media is not DVD. 2005-02-06 17:36:17 +00:00
rocky
6618a05537 Various portability fixes mosty for MSVC which doesn't have drand and
doesn't allow dynamic local arrays.
v_fragment -> v_fragment_t
libcdio.sym: more external symbols defined
/lib/_cdio_linux.c: harmless type mismatch
example/sample2.c -> example/device.c
2005-02-06 15:09:10 +00:00
rocky
315a31a5ee scsi_mmc -> mmc name change. 2005-02-06 13:10:37 +00:00
rocky
ae0356f74e FreeBSD fixes. 2005-02-06 13:05:42 +00:00
rocky
e2bfdf7659 OSX fixes. 2005-02-06 11:46:12 +00:00
rocky
0af0e995e2 BSDI fixes for get_media_changed. Fix mostly harmless type mismatch from
before media_changed work.
2005-02-06 11:39:32 +00:00
rocky
12186bc043 iso9660_fs.c: wrong order of initialization.
correct types on get_media_changed_mmc
Solaris fixes.
2005-02-06 11:32:22 +00:00
rocky
71a71d7f56 Start to implement ability to a detect media change.
scsi_mmc -> mmc. Warning: some breakage may occur.
2005-02-06 11:13:37 +00:00
rocky
fc60baec9c Move track things out off sector.h 2005-02-06 04:20:25 +00:00
rocky
20acbc8d07 Another typo 2005-02-05 23:53:06 +00:00
rocky
ec5daa5b0d Typo. 2005-02-05 23:52:20 +00:00
rocky
0e2f37193c Another "cooked" name bites the dust. Soem doxygen cleanup too. 2005-02-05 23:45:57 +00:00
rocky
187c314225 Deal with OS's that don't have a stat'able filesystem.
More SuSe spec removal.

More SuSE spec removal
2005-02-05 23:16:34 +00:00
rocky
79d7a57f1f Check in Mode 1 or Mode 2 on fuzzy searching. 2005-02-05 18:58:36 +00:00
rocky
1c5aa655ea Check header for PVD MSF. Get XA mode more often. 2005-02-05 18:41:31 +00:00
rocky
a94f82f2e7 xa.h: add enumeration for debugging
rest: better understanding of when there might be XA and when there might not
      be. Don't give a warnings about missing XA attributes when the format
      isn't supposed to have it.
2005-02-05 17:29:01 +00:00
rocky
840330127a cooked -> cddap. It has been observed that the use of "cooked" causes
confusion and derision among the small-minded; and the code doesn't
use cooked reading anyway.
2005-02-05 16:25:51 +00:00
rocky
81e6bf4c95 Move discmode things out of sector and over to disc.h and disc.c. 2005-02-05 14:42:28 +00:00
rocky
063b81e5cf scsi_mmc -> mmc 2005-02-05 13:13:31 +00:00
rocky
c172c0ba20 scsi_mmc -> mmc 2005-02-05 13:07:02 +00:00
rocky
b58349ba1a Make debugger-helping enums extern'd and define onces elsewhere. 2005-02-05 12:37:35 +00:00
rocky
d958f062ea First attempt at smart iso9660 reading in CD images.
_cdio_stream.*: return is now cdio_driver_return_t
2005-02-05 04:25:14 +00:00
rocky
a35a0a61d3 Remove d->interface. 2005-02-05 04:23:56 +00:00
rocky
ecb7526721 const removal to match proper run_scsi_cmd prototype.
Bug in reporting TOC lsn's. Thanks to Bobbin007.
2005-02-04 03:57:45 +00:00
rocky
629addf0dc remove cdio_malloc() and replace with calloc() 2005-02-04 02:18:12 +00:00
rocky
f0708a5264 Test and workaround another Unixism - pwd.h, getuid/getpwuid. 2005-02-03 08:07:24 +00:00
rocky
5bd3a51e03 Test for presense of lstat (optionally used in scan_devices of
cdda_interface).
2005-02-03 07:52:15 +00:00
rocky
f1d3b190ba remove cdio_malloc and replace with calloc which does functionally
exactly the same thing (but is standard). In some drivers _data -> p_data.
2005-02-03 07:35:14 +00:00