Commit Graph

1097 Commits

Author SHA1 Message Date
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
rocky
6fd61d8595 Use common MODE SENSE routines in scsi-mmc.c 2004-06-28 16:02:07 +00:00
rocky
c969662177 Compilation fix. 2004-06-28 00:39:21 +00:00
rocky
72923b43af Add multisession test. 2004-06-28 00:26:19 +00:00
rocky
b14b535764 Correct compilation problems. Fill out more ASPI defines. 2004-06-28 00:24:00 +00:00
rocky
f313c9f68b Add common SCSI MMC routine for getting drive capabilities. 2004-06-27 22:00:08 +00:00
rocky
878bdc80da Add common routine for SCSI MMC. 2004-06-27 21:58:12 +00:00
rocky
b8ee659109 Compilation fix. Remove magic number 100. Use common mmc routine for
drive capabilites.
2004-06-27 21:57:45 +00:00
rocky
a6e1122bf5 Changed drive capability output. 2004-06-27 16:45:04 +00:00
rocky
275e0da305 Print out more of the capabilities. 2004-06-27 16:37:34 +00:00
rocky
52424fda4d Revert last change. Need to return char * for MCN. Also replace that
magic number 100 with MAX_TRACKS+1.
2004-06-27 16:36:38 +00:00
rocky
b1cf0ebe7e Don't know how $target_os got in there, but it's not
defined. $host_os will work although there probably is something better
for cross-compiling.
2004-06-27 16:25:16 +00:00
rocky
79ea450a56 Add type for holding MCN and ISRC. Add type for session
Replace magic constant 100 with CDIO_MAX_TRACK+1 where appropriate.

_cdio_osx: save session number and presumably some tighter coding.
nrg.c: make sure we add zero byte to end of MCN.
2004-06-27 15:29:20 +00:00
rocky
1e59a360a2 thesin says the double -Wl,-framework is necessary when building
vcdimager.
2004-06-26 19:26:36 +00:00
rocky
e5a3b1a390 Update to mention/include cdrdao, iso-info, iso-read and kiso. 2004-06-26 10:01:09 +00:00
rocky
8b04edf042 Use .adr rather than session number to determine if we've got a valid track. 2004-06-26 01:20:41 +00:00
rocky
6bf47238f6 configure.ac: we're now in 0.70cvs
scsi_mmc.h: add doxygen comment.
2004-06-26 01:08:46 +00:00
rocky
850f58c907 Typo. 2004-06-26 00:47:50 +00:00
rocky
e21255ec1a Reduce cut and paste - add common routine, to _cdio_generic.c:
cdio_read_mode1_sector.
2004-06-26 00:39:00 +00:00
rocky
8f47e3671e Get ready for real 0.69 release. 2004-06-25 21:26:34 +00:00
rocky
238b74ab7f fewer error exits in drivers. Instead, a failure code is returned. 2004-06-25 21:10:36 +00:00
rocky
3ca533663d Don't terminate on error but just return a failure and let the
caller decide to exit or not.
2004-06-25 20:49:56 +00:00
rocky
805ce0d9ee mode1 reading fixed up. Some cdio_error's turned into cdio_warn's as
we really shouldn't abort in the driver if there is an error
discovered but instead just return failure.
2004-06-25 20:45:41 +00:00
rocky
9e827ca7a4 Fill in LUN's on requests. Add common routine for
checking/initializing ASPI availability.
2004-06-25 01:47:06 +00:00