Commit Graph

419 Commits

Author SHA1 Message Date
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
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
ce83b58dc6 Add header for Rock-Ridge extensions. 2005-02-13 00:20:04 +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
c3dfa6f588 Add type definitions for achar, dchar and ISO 9660 7.1.1 - ISO 7.3.3
types and use them. This frees up space for better comments about he
feild names of a PVD or SVD.
2005-02-12 16:35:35 +00:00
rocky
e13dd6df2f Remove doxygen references to get_speed() routines. They don't exist
and seem to confuse people.
2005-02-12 15:27:22 +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
2f98565ee3 signature is probably better typed as a char rather than a
uint8_t. We now define structures with the _s suffix.
2005-02-12 09:52:28 +00:00
rocky
79d115401c Doxygen document ISO 9660 conversion routines a tad better. 2005-02-12 09:48:18 +00:00
rocky
485d92f27d Correct CDB acronym. 2005-02-12 02:05:02 +00:00
rocky
e491ba74d6 Use solaris ioctl for blocksize set/get. Prototype corrections. 2005-02-10 11:23:08 +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
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
a1c206fe3b Add enum for feature profiles. Add feature to string conversion routines. 2005-02-08 04:14:28 +00:00
rocky
b80ab25c6f Probably "interface" is reserved in some Windows contexts 2005-02-07 17:09:31 +00:00
rocky
ce6170ea9e Add more MMC features and profiles such as ones used by the Plextor
DVDR PX-716A
2005-02-07 12:06:29 +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
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
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
81e6bf4c95 Move discmode things out of sector and over to disc.h and disc.c. 2005-02-05 14:42:28 +00:00
rocky
b58349ba1a Make debugger-helping enums extern'd and define onces elsewhere. 2005-02-05 12:37:35 +00:00
rocky
667af7fbb7 all: Add various enums to allow debugging using #define names.
cdda: remove interface field (COOKED, SCSI). It's not going to be used.
iso9660.h: add fuzzy iso9660 search.
2005-02-05 04:23:21 +00:00
rocky
dca32f1da4 Remove cdio_malloc(). Please use calloc instead. 2005-02-03 07:36:51 +00:00
rocky
041477f19c Typo. 2005-02-01 07:01:20 +00:00
rocky
8ad5e4cbb0 Doxygen changes. 2005-01-29 20:54:20 +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
e30c3a3eb8 Add an easy way to turn off paranoia compatibility. 2005-01-26 01:21:29 +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
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
37d52c861d check_paranoia.sh.in: Add a more agressive paranoia test.
*version.h*: Include build name in version listings.
2005-01-22 19:39:16 +00:00
rocky
567e6e7775 Add jitter simulation and jitter-correction testing. 2005-01-22 18:11:32 +00:00
rocky
33ae20b89d Add interfaces which allow opening a cdio object before running paranoia.
data_bigendianp is too neat to keep it private.
2005-01-22 03:43:03 +00:00
rocky
fb07d7d0fe Various doxygen improvements. 2005-01-20 04:51:14 +00:00
rocky
1b48133934 Turn a bunch of defines into an enumeration. Makes debugging a bit
nicer.
2005-01-20 04:46:25 +00:00
rocky
f7ebed2287 Add DRIVER_OP_UNINIT and change appropriate DRIVER_OP_ERROR's to
DRIVER_OP_UNINIT.
2005-01-20 00:36:38 +00:00
rocky
7796f6cce7 Try to regularize driver operation return codes via a new enumeation
return type. (I may regret this later as we return ioctl's int value
in some cases).

cdio.h: get/set_arg moved to device.
2005-01-19 09:23:24 +00:00
rocky
93d29803c0 Attempt SCSI-MMC speed setting (e.g. for M$). 2005-01-18 05:41:58 +00:00
rocky
e5bdc956e9 Add interface for setting speed and blocksize. Reinstated it in
cd-paranoia libraries and command.

Some more variable convention regularizations.
2005-01-18 00:57:19 +00:00
rocky
44b72c606c Redo bit masks for test flags. Should accomodate what is in (even if
not working) in cdparanoia.
2005-01-16 04:23:41 +00:00
rocky
069940d1a5 Remove a couple of unused SCSI fields. 2005-01-15 16:08:39 +00:00
rocky
aa50f5e09a Add regression-test mechanism. Right now we only have underrun testing.
Perhaps more later...
cd-paranoia: -x option added to specify what to test.
2005-01-15 16:05:44 +00:00
rocky
424b735b92 Add array to convert paranoia_mode_cb into a string. 2005-01-13 04:00:15 +00:00