Commit Graph

870 Commits

Author SHA1 Message Date
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
rocky
56e40df160 mcn -> psz_mcn and other psz variables.
bincue.c: a little closer to getting cuetools parse_cuefile useable.
2004-07-09 02:46:42 +00:00
rocky
0a905205c7 Small changes. 2004-07-09 01:34:16 +00:00
rocky
75f04f119b Fill in a tad more. In particular the mmssff_to_lba routine. 2004-07-09 01:23:46 +00:00
rocky
ed6f60868d Start to merge in cue parsing from cuetools. Also moves forward CDTEXT
from a different direction.
2004-07-09 01:05:31 +00:00
rocky
e4a0a1fa82 Small changes. 2004-07-08 06:33:22 +00:00
rocky
4058457e52 Sun drive capabilities improved. Sun and Windows ASPI use common
MODE_SENSE defines defines now.
2004-07-08 06:29:45 +00:00
rocky
29c858060f #define changed name. Fix compilation error. 2004-07-08 05:19:27 +00:00
rocky
65fd7d3b43 Regularize MMC commands more. Add ALLOW_PREVENT_MEDIUM.
Start CDTEXT. _cdio_linux.c: better at reporting errors.
2004-07-08 01:27:57 +00:00
rocky
38a5241b83 All files in cdinfo should be owned by root and the root group.
Change from Manfred Tremmel in response to a problem reported by
Gabriel L. Somlo.
2004-07-01 19:34:04 +00:00
rocky
88acd4b7c1 Update for more capabilities in vcd-info -enabled cd-info. 2004-07-01 15:56:58 +00:00
rocky
c7d1e955e3 Note the existence of CD-TEXT even if we don't know how to parse it yet. 2004-07-01 09:50:59 +00:00
rocky
11d57ee18c Spelling mistake. 2004-06-30 23:44:20 +00:00
rocky
367a6c688c Preparation for handling Joliet (and RockRidge?) extensions. 2004-06-29 02:01:24 +00:00