Commit Graph

883 Commits

Author SHA1 Message Date
rocky
e84c6316b0 Expand getting drive capabilities. We now have 3 masks where we had
only one before.
2004-07-17 22:16:46 +00:00
rocky
c4cd69693c Check that mandatory options are mandatory and note in help where they
are.

Error messages gone over a little.

Closes bug #9675
http://savannah.gnu.org/bugs/?func=detailitem&item_id=9675
2004-07-17 16:47:37 +00:00
rocky
e44bf7fb40 Make use of more CDIO_CDROM_LBA and CDIO_CDROM_MSF #defines. 2004-07-17 15:43:57 +00:00
rocky
7e18d89c8a Add common defines for some subchannel commands, and use them. 2004-07-17 15:31:00 +00:00
rocky
e0aa1848e4 Hoist common CD-TEXT routines. 2004-07-17 10:05:54 +00:00
rocky
d0379a08c1 Fix for Sunos and new CD-TEXT API. 2004-07-17 09:35:00 +00:00
rocky
88104fc60a Fix for Win32. 2004-07-17 09:34:30 +00:00
rocky
b02c3fa64f Win32 fixes for new CD-TEXT interface. 2004-07-17 09:12:21 +00:00
rocky
a94c2a2728 Add common routine to extract cdtext data. 2004-07-17 08:59:44 +00:00
rocky
d07ed75256 Corrections for new cdtext interface.
Some more precise track handling when the first track is not 1.
Some of this needs to be tested.
2004-07-17 02:43:41 +00:00
rocky
0c36493f8d Expand get_cdtext to include a track number. 0 = disc info. 2004-07-17 02:18:26 +00:00
rocky
ca69284de2 Add cdtext display to cd-info and adjust regression tests accordingly.
cd-read.c: don't try to print null strings.
2004-07-16 21:29:24 +00:00
rocky
03db2d51c5 Wasn't calling CD-TEXT win32 ioctl routine. CD-TEXT now works on win32 ioctl. 2004-07-16 13:55:08 +00:00
rocky
f4aaea4a83 insignificant changes 2004-07-16 11:37:12 +00:00
rocky
2fba3dc7ba CDB for READ_CD has only 12 bytes. 2004-07-16 03:06:53 +00:00
rocky
3a0c135aa5 Misplaced #endif 2004-07-16 02:52:30 +00:00
rocky
c87df9d500 Add CD-TEXT handling 2004-07-16 02:48:49 +00:00
rocky
cd94fb2f86 routine name change. 2004-07-16 02:09:10 +00:00
rocky
d7e71d96e3 Use more universal C style 2004-07-16 02:06:40 +00:00
rocky
3747be0b8b Finish get_MCN for aspi. Use conventions to make look more like
other SCSI passthrough routines.
2004-07-16 01:25:57 +00:00
rocky
d78dfc43ac Get MCN now works.
Retrieving CD TEXT no longer causes core dump. (It still doesn't give
useful info back though.)

Code cleanups.
2004-07-15 11:55:45 +00:00
rocky
c77831ff51 cmd -> cdb to match MMC terminology and Solaris naming. 2004-07-15 11:36:12 +00:00
rocky
268d5c9926 Closer to getting CDTEXT working. 2004-07-15 04:03:52 +00:00
rocky
14646f641f MSWindows: comment corrections
_cdio_linux.c: perhaps closer to getting CD TEXT correct.
2004-07-15 02:24:29 +00:00
rocky
d59fcda91e small cleanup changes. 2004-07-14 04:42:11 +00:00
rocky
34d998f5ef Start to consolidate SCSI MMC passthrough code. 2004-07-14 04:34:25 +00:00
rocky
36a944cc28 MSWindows lint. 2004-07-13 12:28:18 +00:00
rocky
2649b729a1 Yet more code cleanups. 2004-07-13 04:33:05 +00:00
rocky
b45ada9181 Some code cleanups - more may follow. 2004-07-13 03:59:09 +00:00
rocky
5eb83082eb Add CD-TEXT to MS-Windows ASPI driver. (The first real CD driver!)
In the process we've had to remove "const" from get_aspi.
2004-07-13 03:45:15 +00:00
rocky
de43320ad1 Bad catalog cue test 1. 2004-07-12 03:59:59 +00:00
rocky
442506783b Bad MSF cue test 3. 2004-07-12 03:58:55 +00:00
rocky
f1b39241d5 MSF cue test 1 2004-07-12 03:57:28 +00:00
rocky
e8f04eb128 MS Windows compilation fixes. 2004-07-12 03:34:14 +00:00
rocky
0d3c10c775 Redo CD-TEXT handling. First minimally working version for CD bin/cue
and cdrdao images.
2004-07-11 14:25:07 +00:00
rocky
13614f9820 Add cdtext regression test. 2004-07-11 02:33:18 +00:00
rocky
adac30f39c Initialize cdtext to NULL and other add some initializations that should
have been done.
2004-07-11 02:28:06 +00:00
rocky
79cce8f8f0 Correct some string initalization bugs in cdtext_keywords. We
switched from binary search to linear search for now.
2004-07-11 02:26:15 +00:00
rocky
5c7ed94f90 Save modes types now that we have that in the disc structure.
Information for this comes courtesy extractnrg.pl
2004-07-10 11:31:42 +00:00
rocky
ab9460c3f4 Hoist some more common image routines and make image drivers look more
common. In particular we now have a "cue", "source", and "access-mode"
parameters defined even when "cue" and "source" are the same as in NRG.

The _img_private_t's for the image drivers are now more similar if not
the same.

Some memory leaks when there are error conditions in opening image
drivers have been fixed.
2004-07-10 11:06:00 +00:00
rocky
13af656fea Hoist common track mode, disk format and disk flags into sector.h
Hoist track information into image.h
2004-07-10 02:17:57 +00:00
rocky
b525effb95 Pull out mmssff_to_lba routine and fix bug when in error reporting
when frame >= 100.

Add msf3_to_lba and use that where possible (win32_ioctl.c for
example).
2004-07-10 01:21:19 +00:00
rocky
9eea6087d7 More cue tests. Add another bad msf toc test.
If argc > 1 in testtoc, testbincue, then we give debug output.
2004-07-10 01:18:02 +00:00
rocky
3ee48c691c bincue: check catalog string for validity.
cdrdao: slightly more precise error messages for CATALOG.
2004-07-09 20:48:05 +00:00
rocky
771e9fb7cd Add some bincue regression tests. 2004-07-09 20:47:08 +00:00
rocky
0438ec5e26 Buzz, buzz, buzz. Tell me what's a happenin'. 2004-07-09 10:29:11 +00:00
rocky
1fc8db0ccf Forgot to close file descriptor. Some variable name changes to make
more consistent with variable-name conventions.
2004-07-09 10:27:17 +00:00
rocky
2ef8f54043 Now uses cuetools-based cue parsing. A more complete job is now
done.

Cue files are completely parsed for validity in cdio_is_cuefile.

Remove sector 2336 (PSX) hack. It's now gotta be in the cue file.

Get a c(l)ue. If you don't have one, we're no longer going to try to
fake one up (which we did poorly anyway.)
2004-07-09 10:12:15 +00:00
rocky
b692bdc694 API version change. If it's not already it will be with planned
CDTEXT changes, capability return changes  and get_default drive
returning the driver used.
2004-07-09 10:05:36 +00:00
rocky
06c27120a3 Note that Svend also supplied CUE parsing code. 2004-07-09 10:04:12 +00:00