Commit Graph

271 Commits

Author SHA1 Message Date
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
rocky
f6dceffef2 win32.c: wasn't passing along mode2 form1 when requested. 2004-03-06 18:05:37 +00:00
rocky
4d244d2a36 update #include file name. 2004-03-06 11:07:02 +00:00
rocky
c029b9df1a Bogosity fixup for Solaris. Could be better. 2004-03-06 05:04:41 +00:00
rocky
7b44195c51 GNU/Linux mode1 sector bogosity reduction. (Could be greatly improved.) 2004-03-06 04:49:26 +00:00
rocky
0dbf8a5630 Moved to MSWindows. 2004-03-06 03:49:44 +00:00
rocky
1bb2511e67 Moved from parent directory into MSWindows directory. 2004-03-06 03:47:22 +00:00
rocky
7e58a526a3 Fix up mode1 sector reading. 2004-03-06 03:22:50 +00:00
rocky
68b259c26a Small changes. 2004-03-06 03:21:59 +00:00
rocky
9184f52579 See previous log entry. 2004-03-06 01:26:35 +00:00
rocky
a716292bd6 The logic in _cdio_read_mode2_sector seems a bit wrong and convoluted
to me, but passes the regression tests. (Perhaps it is why we get
valgrind errors in vcdxrip). Leave it the way it was for now.
Review this sector 2336 stuff later.
2004-03-06 01:24:29 +00:00
rocky
281585e49d *: Create OS-specific directories.
bincue.c: remove more bogus behavior in mode1/mode2 sector reading.
2004-03-05 12:32:45 +00:00
rocky
98b9f3719c Work on mode1 reading. Remove some of the bogusity in cdio.c and bincue.c
win2, now works!
2004-03-05 04:23:52 +00:00
rocky
36c81dbfb9 mode2 reading works on win2k via ioctl (so probaby on WINNT and xp as well. 2004-03-04 04:01:30 +00:00
rocky
3cc8f9efd7 Long needed start to improve WIN2k native support. 2004-03-03 02:41:18 +00:00
rocky
2bc523611f shared library numbers - this time, for sure! 2004-03-01 02:17:56 +00:00
rocky
edffe99713 Change AGE not CURRENT on libiso9660. 2004-03-01 01:28:14 +00:00
rocky
a1c9d6df83 libiso9660 has changed - the fs_stat_translate routines added and that
packed attribut on XA. Thus we've got to update "current" in libiso9660.
2004-02-28 19:48:17 +00:00