Commit Graph

74 Commits

Author SHA1 Message Date
rocky
55de6dfdeb First attempt to extent Joliet to CD reading portion. 2004-10-24 23:42:39 +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
1e45b03013 cdio.c: missing string for discmode enumeration.
_cdio_osx.c: fix a couple of bus faults. Detects DVD-RW properly now.
  Better error message for failing to read TOC.
2004-08-29 03:45:34 +00:00
rocky
1949a54ec9 _cdio_osx.c: add getting hw info. Get some read/write capabilities and
disc info.

*generic*: split off CD discmode classification so it can be used by
OSX

cdio: env -> p_env
2004-08-28 09:15:41 +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
e606f025a0 Add discmode to string array. Simplifies some code a bit. 2004-07-28 22:03:35 +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
4a7b48d568 Turn an assertion into a return failure. 2004-07-21 11:28:32 +00:00
rocky
02872bfb2f Add get_discmode to return what kind of CD or DVD we've got. This is
no where near finished. In fact I just started it on GNU/Linux.

CD-TEXT on GNU/Linux: turn "warning" into "info". Reduce the chance of
error (although we still don't get the CD-TEXT.)
2004-07-21 10:19:20 +00:00
rocky
50d780d342 gcc 2.95 vs 3.0 fix. Thanks yet again to Steven Schultz. 2004-07-18 05:12:03 +00:00
rocky
e84c6316b0 Expand getting drive capabilities. We now have 3 masks where we had
only one before.
2004-07-17 22:16:46 +00:00
rocky
0c36493f8d Expand get_cdtext to include a track number. 0 = disc info. 2004-07-17 02:18:26 +00:00
rocky
14646f641f MSWindows: comment corrections
_cdio_linux.c: perhaps closer to getting CD TEXT correct.
2004-07-15 02:24:29 +00:00
rocky
0d3c10c775 Redo CD-TEXT handling. First minimally working version for CD bin/cue
and cdrdao images.
2004-07-11 14:25:07 +00:00
rocky
ed6f60868d Start to merge in cue parsing from cuetools. Also moves forward CDTEXT
from a different direction.
2004-07-09 01:05:31 +00:00
rocky
65fd7d3b43 Regularize MMC commands more. Add ALLOW_PREVENT_MEDIUM.
Start CDTEXT. _cdio_linux.c: better at reporting errors.
2004-07-08 01:27:57 +00:00
rocky
e1808fb407 Lint-like things.
Add X-BOX detection courtesy of the xmbc project.
2004-06-19 19:15:15 +00:00
rocky
8eaf26a91d Bug: wasn't adding drives with detected capability, but the first
drive on the list of drives. Don't know how this went undetected this long.
2004-06-07 00:24:45 +00:00
rocky
1e67fc17e0 Correct mismatched prototypes. 2004-05-27 01:06:34 +00:00
rocky
b4090f3ca5 Add cdio_open_am_cd.
Use network order for FreeBSD lsn/lba's and other small FreeBSD patches.
Thanks again to Heiner.
2004-05-19 03:00:03 +00:00
rocky
cb9db0a7d5 Allow more freedom in specifying access mode.
Image drivers now have an "image" access mode.
2004-05-13 01:50:10 +00:00
rocky
5328594c59 Check for invalid LSNs. Turn some asserts into just returning failed status. 2004-05-09 22:12:49 +00:00
rocky
e0139050ff Be more optimistic about CD drive capabilities. 2004-05-08 14:06:11 +00:00
rocky
f04f14c312 Add some cdrdao image reading support from Svend S. Sorensen's
cuetools

cdio.c: remove some complicated and extraneous code for auto-driver
detection.
2004-05-04 02:06:48 +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
20974d4568 CDIO_DRIVE -> CDIO_DRIVE_CAP 2004-04-25 14:07:23 +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
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
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
fdd55c4e6e Yet another valgrind-found memory leak. 2004-03-21 03:43:06 +00:00
rocky
fb040eada5 Remove more memory leaks caught by valgrind. 2004-03-20 22:46:56 +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
e2284cb607 regular *mode2 variable name. 2004-03-06 18:30:44 +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
c090e7ee81 Fix some of the memory leaks and uninitialized variables which valgrind
notices.
2004-02-07 02:40:20 +00:00
rocky
e98490dde5 cdio_analysis -> cdio_iso_analysis 2003-11-05 04:12:57 +00:00
rocky
998b4bb30f Add OSX device scanning. 2003-10-04 23:11:50 +00:00
rocky
ac1103e2bd Clean up comment. 2003-10-04 21:28:27 +00:00
rocky
b8e817feab A better fix by Gildas Bazin. 2003-10-04 20:32:54 +00:00
rocky
90e17cdea8 Check on open that we didn't hit an error. 2003-10-04 20:30:59 +00:00
rocky
694a61cdf1 cdio.{c,h}: update initializations for get_devices. 2003-10-03 02:36:52 +00:00
rocky
d63dec6ebe BSDI Fixes. 2003-10-02 02:59:57 +00:00
rocky
1e84cacbb4 Fill out autoscan devices/images to image drivers. API is probably
closer to more complete.
2003-09-30 03:26:11 +00:00
rocky
21039b8f90 Closer to autoscan working better. globbing for *.nrg in NRG.
Will probably do likewise in bin/cue when NRG is working.
2003-09-29 02:56:22 +00:00
rocky
083f472570 First-cut to auto-scan for device capabilities 2003-09-28 17:14:20 +00:00
rocky
6450be398b Add get_mcn, although it really only works on GNU/Linux right now. 2003-09-25 09:38:15 +00:00
rocky
dd05f2e6ad Change interface for read_audio_sectors. 2003-09-20 12:34:02 +00:00
rocky
f4cc4eb9a0 Bug if we had a get_track_lba but no get_track_msf. Guard against that. 2003-09-14 14:34:51 +00:00