Commit Graph

358 Commits

Author SHA1 Message Date
rocky
db486c617d Better error message when CD audio scanning failed. 2005-01-09 13:19:17 +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
b080079248 Remove a GNU/Linux includes that isn't used any more.
Move other GNU/Linux tests to the linux-specific part of configure.
2005-01-07 22:15:24 +00:00
rocky
b684827de6 When verbose, show cdio info messages. 2005-01-06 22:26:01 +00:00
rocky
967e08d00d Revise for libcdio's name (cd-paranoia). 2005-01-06 13:10:33 +00:00
rocky
eb73ce5385 Various small bugs in setting variables to disable utility programs. 2005-01-06 11:55:09 +00:00
rocky
a79892c7fb Test for GNU getopt_long() and add to cd-paranoia sources. Compile a local
copy if not available.
2005-01-06 11:39:40 +00:00
rocky
14093ffd6b Fix bug in disabling building of utility programs: cd-info,
cd-read. Bug noticed by Steve Schultz.
2005-01-06 10:56:22 +00:00
rocky
97af0343c5 Lots of portability fixes to make non GNU/Linux-specific. Now runs on Solaris! 2005-01-06 03:09:11 +00:00
rocky
f939e73e52 First working all-libcdio cd-paranoia (modulo various omissions and
memory leaks).
2005-01-06 01:15:51 +00:00
rocky
694fbf8006 CdIo -> CdIo_t 2005-01-04 04:42:17 +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
6786658c3a Correct bin_PROGRAMS name.
cd-paranoia/.deps/cd-paranoia$(EXEEXT).Po was getting created when
when it should be
  cd-paranoia/.deps/cd-paranoia.Po

Problem reported by C.Y.M.
2004-12-23 09:57:33 +00:00
rocky
4fba1f791c Until we put in more fine-grain control, don't make libcdio_paranoia
and libcdda_interface libraries if we aren't making cd-paranoia.

src/Makefile.am: correct way to disable cd-paranoia.
2004-12-22 10:04:46 +00:00
rocky
0c35a965fc More integration/cleanup. Now uses cdio bytesex.h's BE/LE routines.
copystring -> strdup.

Some int's changed to track_t. But I need to be careful *not* to change
cdda_interface.h.
2004-12-19 01:43:38 +00:00
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