Commit Graph

115 Commits

Author SHA1 Message Date
rocky
834b1d06b6 cd-info.c: tolerate CDDB options even when we don't support CDDB.
Better error reporting of bad options.
2005-02-19 11:43:05 +00:00
rocky
a4d389b939 iso9660_fs.c: reallocate filename when Rock-Ridge name is bigger.
rock.c: variable name changes

cd-info.c: don't translate file name when there are Rock-Ridge
Extensions.
2005-02-18 01:31:08 +00:00
rocky
ab344d538c Remove more of the no longer needed distinction (that we sometimes got
wrong) of Mode 1 vs Mode 2 data reading.
2005-02-17 11:54:28 +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
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
e0cce4558d Version information now includes build. 2005-01-22 22:21:36 +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
4ce2a5fe57 Create open_input() for common input open routines.
Input error messages have been gone over. cd-read is a little more
like the rest.

Regression output now has NO-WARRANTY.
2005-01-09 00:10:48 +00:00
rocky
d72c6b8e40 CdIo -> CdIo_t 2005-01-02 22:49:31 +00:00
rocky
1736451181 Show raw and formatted sizes. 2005-01-01 14:20:41 +00:00
rocky
97a51c3c26 Add image driver track flag reporting. Reorganize code for image drivers
a little better (via image_common.c).

Update regression tests for more expanded cd-info output.
2004-12-31 07:51:43 +00:00
rocky
74045586bd Start to fill in cdio_get_preemphasis, cdio_get_copy_permit, and
cdio_get_channels. Internals reworked a little for this.
2004-12-31 05:47:36 +00:00
rocky
8b111096d3 cd-info now shows size of CD.
iso-info takes options -l and -f to be a little more like isoinfo

configure.ac now allows for disabling cd-paranoia, iso-read,
iso-drive, cd-drive.

Regression tests adjusted to new output and more drive reading capabilities.
2004-12-18 21:24:25 +00:00
rocky
6c14d28918 BIG REORGANIZATION.
Reorganize directory structure for inclusion of cd-paranoia. Works for
GNU/Linux. Other OS's may be broken. Regression test output needs to
be adjusted too.

Move:
lib/driver (split off of lib)
lib/iso9660 (split off of lib)

Add from paranoia:
lib/cdda_interface
lib/paranoia
src/paranoia

Also made some small changes to capability indentification to show
more reading capabilties and show that.

cd-info now shows the total disc size.
2004-12-18 17:29:32 +00:00
rocky
16bc93f4e5 Add cast to remove compiler warning. 2004-12-04 11:44:16 +00:00
rocky
734f295960 Add cdio_ in front of to_bcd8 and from_bcd8. 2004-11-19 22:10:21 +00:00
rocky
5b3981e365 Add "toc-file" option for cdrdao images. 2004-11-19 02:16:21 +00:00
rocky
5e87bca2c8 Bug in showing cdtext for individual tracks. 2004-11-06 03:12:34 +00:00
rocky
152d8508b7 Common output routine in utility programs as a concession to
environments which may no have or prefer stdout/stderr such as XBOX.
2004-11-04 10:08:23 +00:00
rocky
749d506d08 Conditional compilation of Joliet support. 2004-10-29 02:11:48 +00:00
rocky
90ce9028d2 Add --no-joliet option 2004-10-26 07:51:49 +00:00
rocky
30a19a1909 Various valgrind-detected memory leaks and unitialized variable errors. 2004-10-26 07:34:41 +00:00
rocky
8b895d0ba1 Joliet filename detection for CD images is now done.
Various valgrind-caught errors fixed
Output changed: we no longer print root block number.
(It is still shown when XA attributes are printed.)
2004-10-26 01:21:05 +00:00
rocky
55de6dfdeb First attempt to extent Joliet to CD reading portion. 2004-10-24 23:42:39 +00:00
rocky
b80d83f07b iso9660.h, iso9660_fs.c: Add iso9660_ifs_is_xa() a routine to
determine if an iso image has XA attributes.

bytesex.h and bytesex_asm.h are now public. (Down the line should use
glib though.) Package  has been revised to the move.

iso-info.c: shows XA attributes what that it is available.
2004-10-22 01:13:38 +00:00
rocky
0dd6c21281 Make ds.h public. It should have been that way since it *is* public.
Eventually though we'll redo things using glib and then ds.h will get
removed.
2004-10-09 03:20:28 +00:00
rocky
a5131730d0 Possibly some C compilers need at least 2 arguments. Noticed on old
FreeBSD box.
2004-09-02 01:33:57 +00:00
rocky
b82de3054b Error messages was slightly incorrect. And add another one of that ilk. 2004-08-30 01:25:09 +00:00
rocky
c5d4c75599 _cdio_osx.c: wasnt' returning CDIO_INVALID_TRACK on TOC read error.
cd-info.c: abort sooner if we can't read the TOC.
2004-08-30 01:14:14 +00:00
rocky
91af2a7906 cd-info.c: bug in DVD test.
sector.h: redo the way the dvd and cd tests work. Isn't strictl necessary, but
   this is has fewer implicit dependencies.
2004-08-30 01:01:14 +00:00
rocky
1703e7dc00 sector.h: add routines for determining if discmode is DVD or CD.
cdtext*: adjust for bigendian or not. Check for double-byte characters.

cd-info.c: new option --dvd. Don't attempt to understand DVD unless this is
           given.
2004-08-30 00:26:59 +00:00
rocky
19991ded7b add psz_ to hwinfo type.
_cdio_linux.c: go back to using SCSI MMC drive cap routine.
2004-08-27 11:53:38 +00:00
rocky
7454e4375e Add a couple of routines to pass back the driver used in getting a
drive.  Speeds up a little the task of opening the drive. Is now used
in cd-drive and cd-info.
2004-08-27 04:17:08 +00:00
rocky
758f954e1f Expose hwinfo call as a cdio command. It was SCSI-MMC. This may help
on OSX.
2004-08-27 02:50:13 +00:00
rocky
dacdcc0eb0 cd-info.c: should not try to print out MCN for DVD's - they don't have any
such thing.

util.c: wasn't reading right/write parms when showing write capabilities.
	now also show DVD+RW and DVD-RW capabilities.
2004-08-06 00:53:58 +00:00
rocky
b1616ea6d5 Add scsi_mmc_get_hwinfo. 2004-07-31 07:43:26 +00:00
rocky
e606f025a0 Add discmode to string array. Simplifies some code a bit. 2004-07-28 22:03:35 +00:00
rocky
fd5e6d1243 Reduce overall number of CD disc modes. I thing the main purpose
that will be used is to separate CD Audio from CD Data, XA and DVD's.

On GNU/Linux it seems that the implementation is a bit artificial.
2004-07-25 18:37:09 +00:00
rocky
fbb7806979 MSWindows: add DVD type determination.
cd-info.c: poor disc-mode error message string
2004-07-25 17:32:19 +00:00
rocky
bc90454ca4 Some weird problem when --no-cddb and libcddb was not around. I'd
rather switch than fight it.
2004-07-25 11:32:33 +00:00
rocky
1dfdba7b7d sector.h: add more DVD types.
_cdio_linux.c: Add ability in GNU/Linux to determine if a drive has a
DVD in it.

cd-info: show the drive type.
2004-07-25 03:05:18 +00:00
rocky
b4cea7fd9e Add get_disc_mode to image readers.
Add it in cd-info display.
Update regression tests.

I'm not sure disc_mode is all that helpful or correct.
2004-07-24 14:23:37 +00:00
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
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
373fe1f196 Add getting UDF label and major/minor version numbers.
cd_types.c: also replace unsafe use of sprintf with strncpy.
2004-06-23 09:28:02 +00:00
rocky
c9ab763671 More (but not all) UDF stuff from the Xbox project. 2004-06-23 03:56:25 +00:00
rocky
e1808fb407 Lint-like things.
Add X-BOX detection courtesy of the xmbc project.
2004-06-19 19:15:15 +00:00
rocky
b6fe547937 More information about ISO 9660 images is printed. 2004-06-19 10:38:07 +00:00
rocky
53b70ca566 Go back to 8-place MM:SS:FF. 2004-06-12 17:30:03 +00:00