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
rocky
15527b8cb1
Non-functional changes:
...
Small coding style changes: add _t to some types, p_/psz_ to some variables
Update/add doxygen comments
add missing regression test output
2005-01-12 11:34:51 +00:00
rocky
bb1bb5113d
doc: add some paranoia documentation.
...
src: Cleaner way to get usage and allow it to be customized to a particular
name
configure.ac: add --with-cd-paranoia-name to allow customization of the
cd-paranoia name.
More work is needed to get the binary renamed.
2005-01-11 04:00:26 +00:00
rocky
fe0fe0a17a
toc.c: don't assume first sector is 1.
...
cdda.h: document TOC better.
p_block.c: revise getting paranoia first/last sector
2005-01-10 02:10:46 +00:00
rocky
6f7e9e182b
cdio.{c,h}: moved various reading and device/driver routines out into the below
...
read.{c,h}: separate include for the reading routines.
disc.{c,h}: more moved here from corresponding cdio.
device.c: a place for device/driver related routines.
interface.c: break up line to make debugging easier.
2005-01-09 16:07:46 +00:00
rocky
c6e33b1a1c
Put back some of the GNU/Linux-ism for detecting drive endian-ness.
...
The data-driven endian correction isn't working correctly.
Ultimately though this code should move down into libcdio (and get
removed from here.)
2005-01-08 20:39:40 +00:00
rocky
90f235fb44
Doxygen documentatoin on more routines. Remove some things that aren't
...
useable any more.
2005-01-06 23:34:13 +00:00
rocky
7a2a44a814
The first all libcdio cdda_interface. There are some gaps could be
...
filled.
cdda_inteface.h renamed to cdda.h
cdio_destroy moved from cdio.h to device.h
2005-01-05 04:16:11 +00:00
rocky
2c20dfb2ef
Add device for drive(r)/device things. Reorganize more to pull things
...
out of cdio and into their respective units.
2005-01-04 10:58:03 +00:00
rocky
f226947ec6
Break out track and disc routines. (Disc needs more work)
...
Add more convenience track routines.
Set access-mode for image routines to be the image drivers - for uniformity.
Some name regularization.
And we're in 2005 now.
2005-01-04 04:33:36 +00:00