Commit Graph

1023 Commits

Author SHA1 Message Date
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
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
a8f67b6163 Classified one more disc mode perhaps. Variable name change and
probably clarification.
2004-12-17 04:57:14 +00:00
rocky
bdc5d3ff6e Change wording of discmode2str. 2004-12-17 04:50:46 +00:00
rocky
5cfd029197 Towards getting an AIX driver working. 2004-12-15 01:45:15 +00:00
rocky
15e74d015c Add better discmode detection via FULLTOC that we use on GNU/Linux. 2004-12-06 05:30:43 +00:00
rocky
f1c7afdc9d scsi_mmc_get_discmode: As per Justin B Ruggles, SCSI, MMC-5 may require setting
db.field[1] = CDIO_CDROM_MSF.
2004-12-06 04:47:57 +00:00
rocky
2334c3c7cc Move scsi mmc discmode determination to scsi-mmc.
Add discmode for CD-i.
2004-12-04 11:50:40 +00:00
rocky
9e95befc7f Justin B Ruggles <jruggle@earthlink.net> reports:
GNU/Linux ioctl(.., CDROM_DISC_STATUS does not return "CD DATA Form
  2" for SVCD's when I know they are form 2, so we read a FULL TOC in
  an attempt to make it more accurate.  Most of the info was obtained
  the SCSI MMC draft spec revision 10a from
  http://www.t10.org/ftp/t10/drafts/mmc/mmc-r10a.pdf

  Pages 56 to 62 give more details.  Libcdio does not have CD-i as a
  discmode, so I just have it treat CD-i as if it is CD-XA.

This doesn't work for the SVCD I tried but it is probably a step in
the right direction. And when things settle down, it should be done on
other OS drivers as well.
2004-12-04 05:49:25 +00:00
rocky
5e5914d0c3 Small typo. 2004-12-04 05:20:35 +00:00
rocky
9818368169 make -j4 was failing because the Makefile variable
libcdio_la_dependencies was not getting set. I don't know why this
happens, but I've worked around the problem by removing this variable
and adding the value of it (libcdio.la) in the places
libcdio_la_dependencies is used.

Problem reported by Goetz Waschk.
2004-11-22 11:03:28 +00:00
rocky
e28ed9bd87 configure.ac: in 72cvs now.
iso9660.{c,h}: "new" is a reserved word in C++. Don't use it as a
parameter name
2004-11-21 22:32:03 +00:00
rocky
8700ac32b4 Make sure we initialize get_hwinfo expliscitly. 2004-11-20 12:50:26 +00:00
rocky
f0f6aa9441 Make sure get_hwinfo is initialized. Add cdio_ in front of to/from_bcd8 2004-11-20 12:41:21 +00:00
rocky
5c29f90a7c Add cdio_ in front of to_bcd8 and from_bcd8. 2004-11-19 13:04:25 +00:00
rocky
46cfdd10aa _cdio_sunos.c: fix bug in audio mode reading.
*.c: replcate {from,to}_bcd8 with corresponding cdio_ names.
2004-11-18 01:56:09 +00:00
nboullis
8b700e9be7 When a list of exported symbols is modified, the corresponding library
should be rebuilt.
2004-11-16 00:58:10 +00:00
nboullis
b94edb1fcf libcdio's ABI should provide all the symbols required by the API. 2004-11-16 00:57:02 +00:00
nboullis
2c15dd5f1d Access libcdio.sym and libiso9660.sym through $(srcdir) to enable
building outside the source directory. (Used by "make distcheck".)
2004-11-15 21:34:10 +00:00
nboullis
2371971eca There is no _cdio_list_preappend symbol, but _cdio_list_prepend instead. 2004-11-15 20:54:49 +00:00
rocky
7041233982 Add symbols that VCDimager uses. 2004-11-15 03:45:52 +00:00
rocky
976f6a6879 rename to_bcd8 and from_bcd8 to cdio_to_bcd8 and cdio_from_bcd8.
(N. Boullis)

lib/Makefile.am: avoid non-GNU ld options when --without-versioned-libs is
in effect.
2004-11-15 01:34:09 +00:00
rocky
b8fed52754 Move local files to global. 2004-11-14 19:32:29 +00:00
rocky
277df80074 lib/Makefile.am: make sure we include .sys files in distribution.
configure.ac: get ready for 0.71
Makefile.am: one of those m4's doesn't exist here.
2004-11-14 18:33:13 +00:00
nboullis
070013df23 Only export the required symbols of libiso9660. 2004-11-14 17:06:01 +00:00
nboullis
ea63e52de0 Only export the required symbols of libcdio. 2004-11-14 16:35:17 +00:00
rocky
d21266807a Add explicit NULL for get_hwinfo. 2004-11-13 23:36:22 +00:00
rocky
8ffff65053 env -> p_env 2004-11-13 23:33:57 +00:00
rocky
55dfbe18ea Guidence from Nicolas Boullis on how to library versioning works or
should work.
2004-11-12 03:44:08 +00:00
rocky
7e765bafdc cdtext.c: was not converting arranger string properly. 2004-11-08 04:13:27 +00:00
rocky
9a75dca071 Hoist common "portable" definitions into portable.h
NEWS - rearrange.
2004-11-07 21:13:10 +00:00
rocky
dcbf0eb30a Revert last changes. 2004-11-07 16:29:05 +00:00
rocky
5fdb9585ea Compilation fix. 2004-11-07 06:42:16 +00:00
rocky
e0918d11c1 win32_ioctl.c: minor comment or function name changes.
aspi32.c: use length definitions better.
2004-11-07 06:36:53 +00:00
rocky
c653d900fe Read TOC buf fixes. Now tries MMC FULLTOC and then falls back to
Windows' DeviceIoCtl READ_TOC.
2004-11-07 06:22:49 +00:00
rocky
2f1d2c045c Small warning change when we don't have nl_langinfo(CODESET). 2004-11-06 17:50:05 +00:00
rocky
d364eb5f96 Automake woes. Think I have PACKAGE and VERSION set right now.
lib/Makefile.am: we'll say libcdio has new interfaces
2004-11-06 12:29:37 +00:00
rocky
68552aa3fe Change library numbers. 2004-11-06 11:41:59 +00:00
rocky
09d2893bdb Compilation fix. Add line/file/fn info on XBOX. 2004-11-01 10:39:30 +00:00
rocky
a04b4a324b Add common FORMAT_ERROR. XBOX/MSVC deficiencies shouldn't be so in your face. 2004-11-01 09:48:34 +00:00
rocky
b8a37ff266 Merging in MSVC/XBOX from John Oseman 2004-11-01 09:14:21 +00:00
rocky
b0eaac98fb Compilation fixes. 2004-10-31 17:43:30 +00:00
rocky
5ff97b8b45 scsi_mmc.c: get CD-Text length before reading CD-Text. win32.c: make
sure we can't set ASPI when XBOX. Other small changes for XBOX compatibility.
2004-10-31 17:18:08 +00:00
rocky
613cc70533 portable.h: remove rcsid.
logging.c: include portable.h
2004-10-31 14:55:35 +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
64f2ad383d Mostly portability issues from or inspired by mog's changes for XBOX.
image/*.c: initialize func structure to 0 (NULL).

include/cdio/*.h: add "extern C" for C++ compilations where
appropriate.
2004-10-31 06:07:26 +00:00
rocky
4c2ba6c953 Change to make compatible for MSVC 6 and older C compilers. 2004-10-31 05:33:08 +00:00
rocky
a63627c686 Fixes when no Joliet support. 2004-10-31 04:55:57 +00:00
rocky
905d72fcac Add include of stdlib.h (From mog for XBOX) 2004-10-30 21:53:15 +00:00