Commit Graph

814 Commits

Author SHA1 Message Date
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
rocky
3b6c362c6e Remove a number of GNU/Linux and/or Unix #includes that probably don't
belong. #ifdef some of the others, although I think they'll likely be
there.
2005-02-03 07:28:40 +00:00
rocky
6796ed982a More variable renamings. 2005-01-30 10:05:37 +00:00
rocky
580bf437c6 env -> p_env user_data -> p_user_data 2005-01-30 10:03:10 +00:00
rocky
f882c3e3b3 Missing cdio_error. 2005-01-29 21:20:01 +00:00
rocky
8ad5e4cbb0 Doxygen changes. 2005-01-29 20:54:20 +00:00
rocky
5586d10367 *** empty log message *** 2005-01-28 00:06:34 +00:00
rocky
9c58aecc32 fix harmless prototype mismatches. 2005-01-27 23:23:22 +00:00
rocky
18bda94aca cygwin fixes mostly. 2005-01-27 11:08:55 +00:00
rocky
97bedb82a6 Add check for <sys/param.h> to and use in freebsd.c to stop warning. 2005-01-27 04:54:26 +00:00
rocky
75496146b7 Some FreeBSD fixes. 2005-01-27 04:00:48 +00:00
rocky
275d39eb41 Attempt to get library version numbers correct for release. 2005-01-27 03:26:37 +00:00
rocky
9e2eaf7546 cdparanoia: add ability to disable byte swapping
configure.ac: remove AIX driver for now - it doesn't really work
remove some (but not all) of the valgrind errors in cd-text
Some stylistic things, doxygen comment improvements typos, etc.
2005-01-27 03:10:06 +00:00
rocky
d7b87a6fad Add a cdda_close that doesn't free the p_cdio pointer for those cases
where an application may want to keep that pointer open.

All routines now are distinct from parnaoia routines with suitable
#defines for compatibility.
2005-01-26 01:03:16 +00:00
rocky
266cb9a65d libcdio_cdda.pc.in: had wrong cdda_interface library
Rename paranoia routines to cdio-specific names so both libraries can
coexist.  And I think it makes debugging a little easier if not
clearer.
2005-01-25 11:04:45 +00:00
rocky
ef95fa5ad4 Compilation fixes 2005-01-24 17:36:56 +00:00
rocky
6253f67a8d Wrong return type. 2005-01-24 00:23:18 +00:00
rocky
b0365c2cc9 Synatx error. 2005-01-24 00:17:41 +00:00
rocky
c08a644b26 syntax error. 2005-01-24 00:13:22 +00:00
rocky
d3935f0c87 Wrong return type. 2005-01-24 00:10:46 +00:00
rocky
798929000d stat_size -> get_disc_last_lsn. Now returns lsn_t and CDIO_INVALID_LSN
on error.

Add MMC version of get_disc_last_lsn.

More regularization of driver_return_code_t and get_disc_last_lsn

There's probably some small driver breakage which will be fixed soon.
2005-01-24 00:06:31 +00:00
rocky
19856a30da Change read routines so the use the driver_return_code_t enumeration.
It's a little cleaner and may make things clearer in debugging.
2005-01-23 19:16:58 +00:00
rocky
11ade4b1eb Use SCSI-MMC routine for reading audio sectors. ioctl READRAW doesn't
always word and is slow.
2005-01-23 17:14:33 +00:00
rocky
bdf0d1a6c4 Work around problem where we were accessing outside of an allocate
range when the drive endian was different than the CD-ROM
endianness. We do this by always allocating an extra block, but it
would be better to understand whether this is correct or whether some
logic needs to be fixed.
2005-01-23 14:05:19 +00:00
rocky
4fabb2857e Remove some valgrind-caught memory leaks or use of uninitialized regions. 2005-01-23 05:31:03 +00:00