Commit Graph

1238 Commits

Author SHA1 Message Date
rocky
8c0d08b480 Don't give "source not a device message" for uniformity with other drivers. 2004-05-04 01:57:23 +00:00
rocky
c286bec8ee Another patch from Heiner Eichmann. 2004-05-03 03:22:24 +00:00
rocky
a20cdf7d76 Another correction from Heiner Eichmann. 2004-05-02 14:55:11 +00:00
rocky
355eb4f071 Compilation fixes from Heiner Eichmann - Thanks! 2004-05-02 14:50:01 +00:00
rocky
b691fb63f3 Compilation fix. 2004-05-01 01:05:26 +00:00
rocky
c9982234a0 Compilation fixes after adjustments. 2004-04-30 22:27:59 +00:00
rocky
e853206824 Compilation fixes and modulization improvements. 2004-04-30 21:36:53 +00:00
rocky
a4cc1496e5 Attempt to add FreeBSD CAM access method. Hope I havent' broken
FreeBSD otherwise.
2004-04-30 09:59:54 +00:00
rocky
06a44699c8 ioctl.c -> win32_ioctl.c 2004-04-30 08:23:23 +00:00
rocky
46fd3abf81 compilation fixes. 2004-04-30 07:33:51 +00:00
rocky
a77be90ba4 Compilation fixes. 2004-04-30 07:07:49 +00:00
rocky
7f8cefed11 Add cdio_open_am to allow specifying an access method use for
reading/controlling CD.
2004-04-30 06:54:15 +00:00
rocky
a406b7b44b Add READ_TOC 2004-04-27 03:05:23 +00:00
rocky
6b9bc59426 More procedure canonicalization, some #defines added and used. 2004-04-26 07:54:47 +00:00
rocky
f6a16bae11 Remove unused _read_mode2. 2004-04-26 06:40:16 +00:00
rocky
6a0f9e4686 Add const on get_mcn prototype and initialization of get_drive_cap in
func structure
2004-04-25 17:05:07 +00:00
rocky
34cc0fb16f Missing a couple of const's in get_mcn when prototype changed.
cdio.h: doc fix.
2004-04-25 16:38:06 +00:00
rocky
3ecd485a7d More regularization of names. Warning: untested on freebsd and osx. 2004-04-25 15:41:26 +00:00
rocky
a664ea08b0 Regularize and I hope simplify names a bit more.
image/*.c: (bogus) eject media now frees resources
bincue.c: missing default_devices routine in function initialization table.
2004-04-25 14:48:17 +00:00
rocky
20974d4568 CDIO_DRIVE -> CDIO_DRIVE_CAP 2004-04-25 14:07:23 +00:00
rocky
36507b3c10 get_mcn paramater is const.
solaris: failed attempt to get mcn and drive capabilities. Some
boilerplate routines used.

scsi_mmc: more defines.

src/cd-drive.c: bugfix when cdio is null
src/util.c: small enhancement.
2004-04-25 03:52:37 +00:00
rocky
1bf5f1e464 Regularize naming convention of static routines a little bit. 2004-04-25 01:19:58 +00:00
rocky
52e0a80503 lib/*c, include/cdio/*.h: Add more drive capability info
util.{c,h}: common routine for printing capbilities
cd-info.c: use above.
*.right: update for capability display of above

cd-drive.c: new program to show drive capabilities
2004-04-25 00:46:34 +00:00
rocky
dee62a7917 Small doxygen comment. 2004-04-24 19:18:52 +00:00
rocky
ba9830766f Fix bugs in getting drive capabilities; 2004-04-24 19:15:34 +00:00
rocky
f1675ad319 Fix a simple bug: get_mcn wasn't. 2004-04-24 19:13:10 +00:00
rocky
53bb5de3d6 More drive capability fixups. (Not sure about win32 fixes yet though.) 2004-04-24 11:48:37 +00:00
rocky
4909e8cd43 A little better about detecting drive type via SCSI-3 passthrough.
Still has some problems though.
2004-04-24 04:46:33 +00:00
rocky
b05dc3aab0 cdio.{c,h}: get_drive_cap -> get_drive_cap_dev and add get_drive_cap.
cd-info.c, sample2.c: use it.
2004-04-23 22:10:52 +00:00
rocky
a516b22565 image/common.h -> image_common.h. I'd rather switch than fight. I
still hate automake.
2004-04-23 02:18:07 +00:00
rocky
b6a67c8d94 image/common.c, Makefile.am: common image routines.
src/cd-info.c, *.right: Now show file images under "drive capability"
bincue.c/nrg.c: report file image "drive capability"
2004-04-23 01:01:35 +00:00
rocky
12762d2d7c *.{c,h}: add cdio_get_drive_cap to determine what kind of CDROM device
we've got.

README.libcdio: suggest stonger making a separate package for cd-info
configure.ac: we are in 0.69cvs now
2004-04-22 03:24:38 +00:00
rocky
2cfe722a21 Compilation fix: declarations need to come before statements for gcc < 3.0. 2004-03-22 01:01:50 +00:00
rocky
fdd55c4e6e Yet another valgrind-found memory leak. 2004-03-21 03:43:06 +00:00
rocky
1488e2e910 Allocation of buffer too short caught by valgrind. 2004-03-21 00:51:49 +00:00
rocky
d1fafb40d6 Revision number got bumped - but reconsidered changing interface. So
back to the old one.
2004-03-20 22:49:33 +00:00
rocky
fb040eada5 Remove more memory leaks caught by valgrind. 2004-03-20 22:46:56 +00:00
rocky
5b7204c167 Remove memory leaks found by valgrind. 2004-03-20 21:54:38 +00:00
rocky
515f6fbea5 Fix compilation bug. 2004-03-20 04:16:59 +00:00
rocky
c803d90787 Bump revision of libcdio before release. 2004-03-20 04:12:07 +00:00
rocky
20d26ec45a Add mode1 reading in a hacky way. 2004-03-20 03:34:12 +00:00
rocky
6d6fbfcfa6 From Ian MacIntosh:
Modifications that it doesn't use the uscsi commands anymore and so
all IDE and SCSI drives go through the same code path - a major
simplification.

This works with all the CD drives that work with Solaris (IDE or SCSI)
as the ioctl's for CDROMCDXA in Solaris just end up doing uscsi calls
anyway, but directly from the kernel. The added advantage of not using
uscsi is that the user doesn't need to be root - which is important in
Sunray environments.
2004-03-16 12:18:32 +00:00
rocky
2a3d73ca21 Changes to make -mno-cygwin (no POSIX emulation on M$) work. In the
process, in configure.ac might have broken cygwin when -mno-cygwin
isn't used. We'll see.
2004-03-10 11:53:10 +00:00
rocky
4c5c801d4e ioctl: printf lint for cygwin (and perhaps others)
cdio.c: define SEEK_SET for cygwin -mno-cygwin (and perhaps others)
2004-03-10 10:57:44 +00:00
rocky
21e6af7f72 Best guess right now at what might work for mode1/mode2. 2004-03-09 02:55:37 +00:00
rocky
6fad463e33 mode{1,2}_form2 -> b_form2 2004-03-07 02:42:22 +00:00
rocky
6f968b9fe1 Bug in read_mode2 sectors fixed. With this, vcd-info, vcdxrip, vlc and xine
shoudl be able to read okay on win2k!
2004-03-07 02:40:58 +00:00
rocky
63464c508c Not sure why we had *exclusive* access just to see if a CD-ROM is
around.  Was causing failure to discover CD-ROM drives.
2004-03-07 01:40:00 +00:00
rocky
e2284cb607 regular *mode2 variable name. 2004-03-06 18:30:44 +00:00
rocky
af2c12ddc1 regularize variable names mode{1,2}_form2 -> b_form2 2004-03-06 18:22:07 +00:00