Commit Graph

240 Commits

Author SHA1 Message Date
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
rocky
fbb7806979 MSWindows: add DVD type determination.
cd-info.c: poor disc-mode error message string
2004-07-25 17:32:19 +00:00
rocky
bc90454ca4 Some weird problem when --no-cddb and libcddb was not around. I'd
rather switch than fight it.
2004-07-25 11:32:33 +00:00
rocky
1dfdba7b7d sector.h: add more DVD types.
_cdio_linux.c: Add ability in GNU/Linux to determine if a drive has a
DVD in it.

cd-info: show the drive type.
2004-07-25 03:05:18 +00:00
rocky
b4cea7fd9e Add get_disc_mode to image readers.
Add it in cd-info display.
Update regression tests.

I'm not sure disc_mode is all that helpful or correct.
2004-07-24 14:23:37 +00:00
rocky
212b701ef6 MMC mode page capabilities gone over. Some more were added. 2004-07-18 03:35:07 +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
c4cd69693c Check that mandatory options are mandatory and note in help where they
are.

Error messages gone over a little.

Closes bug #9675
http://savannah.gnu.org/bugs/?func=detailitem&item_id=9675
2004-07-17 16:47:37 +00:00
rocky
0c36493f8d Expand get_cdtext to include a track number. 0 = disc info. 2004-07-17 02:18:26 +00:00
rocky
ca69284de2 Add cdtext display to cd-info and adjust regression tests accordingly.
cd-read.c: don't try to print null strings.
2004-07-16 21:29:24 +00:00
rocky
275e0da305 Print out more of the capabilities. 2004-06-27 16:37:34 +00:00
rocky
373fe1f196 Add getting UDF label and major/minor version numbers.
cd_types.c: also replace unsafe use of sprintf with strncpy.
2004-06-23 09:28:02 +00:00
rocky
c9ab763671 More (but not all) UDF stuff from the Xbox project. 2004-06-23 03:56:25 +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
b6fe547937 More information about ISO 9660 images is printed. 2004-06-19 10:38:07 +00:00
rocky
a3de80d0ae iso9660_iso_... -> iso9660_ifs_... 2004-06-19 00:15:44 +00:00
rocky
f126d236aa iso9660*.{c,h}: Add PVD read for ISO 9660 images.
iso-info now shows this info.
2004-06-19 00:10:23 +00:00
rocky
53b70ca566 Go back to 8-place MM:SS:FF. 2004-06-12 17:30:03 +00:00
rocky
a5d03e58ba Make sure source_name a malloc'd, so we can uniformly free it when
not needed.
2004-05-31 14:52:04 +00:00
rocky
59a3a3af4e Handle error reporting with null source correctly. 2004-05-31 12:19:35 +00:00
rocky
74005ffae2 Strive to make source_name always a malloc'd variable (so it can
always be free'd).
2004-05-31 04:00:54 +00:00
rocky
3eea3968c0 Put LIBPOPT_CFLAGS after local include in case LIBPOPT has headers common
to those in LIBCDIO_CFLAGS.
2004-05-27 02:46:17 +00:00
rocky
95546002d5 Add --hexdump and --no-hexdump options. We now can hexdump to a file and
dump bytes stdout (which may be useful in a pipe).
2004-05-26 00:52:53 +00:00
rocky
a28d909009 Test variable is not already free before freeing. 2004-05-24 23:28:05 +00:00
rocky
2a54d504c0 MSWindows/*: get access mode working better. ASPI support is faulty though
freebsd.c: it's "ioctl" not "IOCTL";
cdrdao: it's cdrdao, not "toc"
cd-info: slightly better error message?
2004-05-16 13:33:26 +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
21a5f21a9a Ouptut of LSN has one more place just to be sure.
cd-info.c: use new msf_to_str routine.
2004-05-09 17:05:34 +00:00
rocky
9e816e126c Add cd-drive. 2004-05-06 12:06:52 +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
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
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
c1c1c03223 Slightly better drive capability display. Will probably get moved to a
separate program.
2004-04-24 19:16:57 +00:00
rocky
53bb5de3d6 More drive capability fixups. (Not sure about win32 fixes yet though.) 2004-04-24 11:48:37 +00:00
rocky
5379bb06c2 Better formating of drive capabilities. 2004-04-24 04:48:06 +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
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
08ee2840ff Remove duplicate short option on --no-cddb. On CDDB error give a
better error message.
2004-04-21 09:23:38 +00:00
rocky
50674a4871 Change for -mno-cygwin to which doesn't support %e in strftime. 2004-03-24 11:24:44 +00:00
rocky
fb040eada5 Remove more memory leaks caught by valgrind. 2004-03-20 22:46:56 +00:00
rocky
72d9aac556 Cater to implimentations that don't impliment Single Unix
strftime. Like mingw.
2004-03-13 03:31:47 +00:00
rocky
0470ada14e Make work under cygwin with -mno-cygwin. 2004-03-11 01:01:15 +00:00
rocky
c07d74869f Make older C compilers happy. 2004-02-29 16:02:48 +00:00
rocky
64976af456 Add iso-read to list of binaries in package. 2004-02-28 12:45:02 +00:00
rocky
1354c92722 libiso9660 stat routines that match level 1 ISO-9600 filenames
translating them into Unix-style names (i.e. lowercased letter with
version numbers dropped.)
2004-02-26 00:13:24 +00:00
rocky
182396c53a Add iso-read program. 2004-02-25 10:04:06 +00:00
rocky
221995f91d Add program for extracting files from an ISO-9660 image. (Until we
change the iso9660_ifs_stat interface, names of files extracted have
to have version numbers, e.g. ;1 after them.
2004-02-25 10:03:27 +00:00
rocky
3083423fb7 Valgrind lint. Not sure if I'd classify this truly as memory leaks
rather than explicit deallocations before terminating.
2004-02-21 18:31:48 +00:00
rocky
36e7520b68 *** empty log message *** 2004-02-21 15:46:14 +00:00
rocky
837344b71d *** empty log message *** 2004-02-21 15:42:44 +00:00