Commit Graph

132 Commits

Author SHA1 Message Date
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
dacdcc0eb0 cd-info.c: should not try to print out MCN for DVD's - they don't have any
such thing.

util.c: wasn't reading right/write parms when showing write capabilities.
	now also show DVD+RW and DVD-RW capabilities.
2004-08-06 00:53:58 +00:00
rocky
b1616ea6d5 Add scsi_mmc_get_hwinfo. 2004-07-31 07:43:26 +00:00
rocky
e606f025a0 Add discmode to string array. Simplifies some code a bit. 2004-07-28 22:03:35 +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
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
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
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
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
53b70ca566 Go back to 8-place MM:SS:FF. 2004-06-12 17:30:03 +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
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
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
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
88422bd561 Add option to list all drives. 2004-02-21 13:09:12 +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
ff736f6bae iso9600_stat now has filename inside it.
iso9660_fs_readdir now returns a list of iso9660_stat_t's rather than
filenames.

This should reduce by a small amount the number of CD reads since we store
more information in the iso9660_fs_readdir return.

However all of this is in preparation for greatly reducing the number of
CD reads when picking out segment lsn information.
2003-11-16 19:30:45 +00:00
rocky
e4b8e0ecb9 Was filling out source_name for a device even when it wasn't. 2003-11-09 15:51:43 +00:00
rocky
de43eac2f9 Be able to set/disable default log handler logging. 2003-11-09 13:57:51 +00:00
rocky
e98490dde5 cdio_analysis -> cdio_iso_analysis 2003-11-05 04:12:57 +00:00
rocky
71b5bd60c3 Show green status for each track.
cd-info.c: above + fewer assertions
cd-read.c: direction we'll go when after release.
2003-10-15 01:59:51 +00:00
rocky
359cf083a8 cd_types: sector 0 rarely needs to be read, and when it doesn't, it's not
an error if it can't be read
cd-info:  give more info by default - source location and driver.
test/*:   as a result of cd-info changes need now to pass option --quiet.
2003-10-06 04:04:05 +00:00
rocky
083f472570 First-cut to auto-scan for device capabilities 2003-09-28 17:14:20 +00:00
rocky
624ac3c529 Wasn't respecting --no-vcd, Or vcd-info when SVCD or CVD. 2003-09-28 14:16:01 +00:00
rocky
3c5888e31d Replace techno-wizard message "Get MCN" with more layman "Media Catalog Number" 2003-09-27 23:29:29 +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
269eddbc72 More tidy. 2003-09-21 04:36:41 +00:00
rocky
d3909991ab Break out common standalone routines from cd-info and cd-read. 2003-09-21 04:21:39 +00:00
rocky
11d4eb000c Add options processing to cd-read. Had not very useful output on
mode1 format1 test.
2003-09-21 03:35:39 +00:00
rocky
63af058973 Use new common scsi_mmc.h. 2003-09-14 09:34:17 +00:00
rocky
9df242f4de Yet another time format output change on listing. Hopefully the last one 2003-09-07 18:12:30 +00:00