Commit Graph

458 Commits

Author SHA1 Message Date
rocky
cc9b8fcb42 Track-related calls go here. 2004-12-31 05:48:09 +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
c51a6ba67e Add cd-paranoia's track flag routines: copy-permitted, pre-emphasis, channels.
Updates to drivers to set this properly is still needed.
2004-12-30 11:13:49 +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
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
5cfd029197 Towards getting an AIX driver working. 2004-12-15 01:45:15 +00:00
rocky
d0ec7d55fd Small typo. 2004-12-04 12:01:48 +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
1ca2253b95 Fix up ability to use in C++ programs.
Add some C++ example programs to make sure those compile.
2004-11-22 01:03:52 +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
nboullis
74a383d80e "static inline __attribute__((deprecated))" functions are not available
in standard C; only use them with GCC 3 and above, and replace them with
simple #defines for other compilers.
2004-11-15 19:41:25 +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
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
9cdc89f3f3 cdio.h accidently got removed. 2004-10-28 10:08:56 +00:00
rocky
6564c84523 A small change which caused a hard-to-find bug in using Joliet filenames. 2004-10-28 00:03:17 +00:00
rocky
55de6dfdeb First attempt to extent Joliet to CD reading portion. 2004-10-24 23:42:39 +00:00
rocky
780afbabfd Various portability fixes when libiconv isn't available or is broken. 2004-10-24 03:29:31 +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
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
b946c03c2a small formatting change. 2004-10-10 20:36:10 +00:00
rocky
ee39520dfc Change some void * return types to what they really are. The void *
was helping to propagate the mistake of not
exporting CdioList in ds.h.  CVS:

----------------------------------------------------------------------
include/cdio/iso9660.h lib/iso9660_fs.c CVS:
----------------------------------------------------------------------
2004-10-09 23:20:52 +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
82e74387c6 cdtext.h: minor doxygen improvemtn
others: make "make distcheck" work again.
2004-09-05 13:03:46 +00:00
rocky
d9c63df6ce Changes to make doxygen doc better. 2004-09-04 23:49:47 +00:00
rocky
c1905e6879 configure.ac: now in 0.71cvs
*.c: lint-like changes. Tested on Sun's SUNPRO cc compiler.
     Removed feild initialization lingo (even if it is C99).
2004-09-03 23:20:11 +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
945338288f Add constant variable to indicate which OS driver we've got in build. 2004-08-27 11:23:40 +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
993ec7356f Add a couple of "features".
freebsd_ioctl.c: hopefully less-erroneous MCN extraction.
2004-08-10 02:29:46 +00:00
rocky
1fb9bce71d Add more feature codes. 2004-08-07 03:25:25 +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
331c244177 small changes. 2004-08-06 22:13:14 +00:00
rocky
32a4b63410 Add more feature definitions. 2004-08-06 22:08:07 +00:00
rocky
50da1b5c16 Fill out GET_CONFIGURATION - add some feature info and return types. 2004-08-06 11:55:16 +00:00
rocky
b7486e83e9 Comment corrections. 2004-08-06 00:55:14 +00:00
rocky
03562c49b2 Add GET_CONFIGURATION. 2004-08-01 11:29:13 +00:00
rocky
b1616ea6d5 Add scsi_mmc_get_hwinfo. 2004-07-31 07:43:26 +00:00
rocky
dc3073165c Add lengths of hardware vendor, model, and revision. 2004-07-29 05:31:27 +00:00
rocky
0d8a3e2a82 Tighten code by putting more generic routines in cdio_generic:
to get first track number and number of tracks
  to get discmode

everybody now has gen.i_tracks and gen.i_first_track.

test/* format of output changed yet again.
2004-07-29 02:16:20 +00:00
rocky
e606f025a0 Add discmode to string array. Simplifies some code a bit. 2004-07-28 22:03:35 +00:00
rocky
5c26700f3e Make setting read lengths more precise (and correct). 2004-07-28 11:45:21 +00:00
rocky
7716188c38 Make sure milliseconds get converted to seconds if needed.
Some function renaming, and a typo in a DVD book type.
2004-07-28 01:09:59 +00:00
rocky
c0c0077f3d Yet more alternate "_generic" to simplify CD-ROM drivers (like all of them
except Windows) were there is in fact only one MMC passthrough command.
2004-07-27 02:45:16 +00:00
rocky
db337e5665 More consolidation of code by adding routines to scsi_mmc. 2004-07-27 01:06:01 +00:00
rocky
50532e7025 Try to make get_dvd_physical a common routine. (Haven't tested yet.) 2004-07-26 03:58:25 +00:00
rocky
20e8974df8 Big change!
We now are starting to have universal MMC routines. To do this we need
to have function pointers to the OS-specific MMC send/run command.

Expect some breakage. Down the line though this will increase code reuse,
reliabilty, and make the library more user-customizable.
2004-07-26 02:54:37 +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