Commit Graph

240 Commits

Author SHA1 Message Date
rocky
81d0304b7e test/*, configure.ac:
First paranoia regression test. It's run automatically as it assumes
  that you have a *flawless* CD-DA in a drive.

*.{c,h}: more integration toward libcdio routines. In particular remove
swap16 and swap32.
2004-12-19 00:02:09 +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
28b8a70c9a Opens cd driver a little less and checks for NULL. Helps things
especially on AIX.
2004-11-14 00:03:52 +00:00
rocky
10e8259fba src/util.{c,h}: use report more often.
NEWS - what's up
2004-11-06 09:16:04 +00:00
rocky
f4a22b5fe6 src/util.c: remove extra white space
test/cdda.right: adjust for recently found bug.
2004-11-06 03:17:31 +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
465e0373ee configure.ac, lib/*, example/*.c, src/iso-read.c:
start to separate compiler/OS deficiencies into "portable.h"

configure.ac, lib/iso9660_fs.c:
  use AM_LANGINFO_CODESET rather than code in our ouwn langinfo.h and
  CODESET tests.
2004-10-31 13:58:44 +00:00
rocky
299e2ea2f9 configure.ac, iso9660.c: test for tzname variable.
configure.ac, iso9660_fs.c: test for nls_langinfo() and #include <langinfo.h>
iso-info.c: some OS's need 2 args for multi-arg defines.
2004-10-30 02:55:17 +00:00
rocky
749d506d08 Conditional compilation of Joliet support. 2004-10-29 02:11:48 +00:00
rocky
589fba32d9 Solaris fixes
test/vcd_demo.right: fix when vcd-info is not installed.
2004-10-26 08:32:28 +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
4257f24aaa Add libiconv libraries where needed. 2004-10-24 12:26:28 +00:00
rocky
4df410a412 configure.ac: test for intl and iconv needed for Joliet support
iso-info.c: add --no-joliet option
Doxyfile*, configure.ac: Automatically update some ofthe Doxyfile information
2004-10-24 11:20:30 +00:00
rocky
a492bb4ab6 First cut at Joliet support for ISO 9660 images. More work is needed
to integrate this into CD reading.
2004-10-23 20:55:08 +00:00
rocky
8cca2f6709 Slightly better error messages. 2004-10-22 09:51:40 +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
6d187c9f54 Apply Patch #3043 Thanks to mccarthy from U of Alberta:
Building libcdio with libcddb in a non-standard directory --prefix
causes make to fail.
2004-09-11 13:02:36 +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
4ba0be9187 Show status unknown when it is unknown 2004-08-27 00:02:10 +00:00
rocky
6725196b0f lib/*.c: create and use get_cdtext_generic.
lib/generic.h: prototypes for _cdio_generic.c (move out of _cdio_private.h)

example/sample10.c, src/util.c: small print format improvement
2004-08-10 11:58:14 +00:00
rocky
4f0dd2822c Ooops. Debug info creapt in. 2004-08-10 03:47:57 +00:00
rocky
f989d329a7 Compilation fixes for Win32 and cd-text breakage. 2004-08-10 03:44:55 +00:00
rocky
993ec7356f Add a couple of "features".
freebsd_ioctl.c: hopefully less-erroneous MCN extraction.
2004-08-10 02:29:46 +00:00
rocky
322487ca91 Print hardware serial number if given by feature. 2004-08-08 03:11:11 +00:00
rocky
547fbb963f Add more feature info. 2004-08-08 03:03:10 +00:00
rocky
5c84847b7f Bug: listing wrong drive capabilities. Was using wrong source_name. 2004-08-07 11:26:01 +00:00
rocky
c10819c3e6 FreeBSD and gcc < 3.0 fixes
Some variable name changes to match style.
2004-08-07 09:42:34 +00:00
rocky
5f3ed4ee3a Add power management feature display. 2004-08-07 03:37:46 +00:00
rocky
1d727d1adb Add more feature descriptions. 2004-08-07 03:24:45 +00:00
rocky
18411a8764 util.*, cd-drive: Add feature listing to cd-drives.
sample10.c: More feature information printed

scsi_mmc.h: more doxygen comments about features.
2004-08-07 01:48:36 +00:00
rocky
db5ed09ce8 win32.c: initialize capabilities before setting them.
util.c: typo was using read parameter for determining CD-RW writing.
2004-08-06 14:27:33 +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