Commit Graph

115 Commits

Author SHA1 Message Date
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
rocky
c850bd6b04 Add iso9660_name_translate() to remove ISO-name cruft.
Document iso9660_fs_stat().
2003-09-06 14:50:50 +00:00
rocky
7ab0e73ff0 Always have no-vcdinfo option. 2003-09-01 22:31:46 +00:00
rocky
577a557d12 Have to rely more on other XA test since track indicator seems faulty.
Missing "break;" in switch caused us to not print iso9660 filesystems.
2003-09-01 02:04:33 +00:00
rocky
88af9a5510 Deal with gcc warning. Think it was spurious, but just in case. 2003-08-31 20:56:14 +00:00
rocky
e801ca8bcd Make mode1 format filesystem print work. 2003-08-31 15:52:56 +00:00
rocky
19c7de3990 Straighten out mode1 vs mode2 mess. 2003-08-31 14:26:06 +00:00
rocky
cccaa2a036 I think I have the XA encapsulation down so that it will work in vcdimager
(and others).
2003-08-31 08:32:40 +00:00
rocky
0b12ed3c41 Move over reading ISO-9660 filesytems from vcdimager. Handling of XA
attributes also moved over.
2003-08-31 06:59:23 +00:00
rocky
a1d4a9d21d A tad closer to being able to print ISO-9660 filesystems 2003-08-31 04:02:05 +00:00
rocky
312a918ef8 iso_directory_record_t -> iso9660_dir_t 2003-08-31 02:51:41 +00:00
rocky
ead142ec05 Declarations have to all be together for gcc < 3.0 2003-08-29 03:03:07 +00:00
rocky
408ceac776 Add simple program to show CD-type and filesystem determination.
cd-info.c: minor code cleanups.
2003-08-16 17:31:40 +00:00
rocky
f29360b3df Move routine to analyze/guess what type of CD image we have got into
the library.
2003-08-16 15:34:58 +00:00
rocky
7c5f135a18 Fix bug in storing iso_9660 volume sector count. cd-info.c reduce
global variables. Regression tests output was incorrect with this
long-standing bug.
2003-08-16 12:59:03 +00:00
rocky
93eb9765ab First cut at separating disc analysis part from standalone source.
More modularity is needed.
2003-08-14 13:41:26 +00:00
rocky
99780af8cc Messed up on SVCD test. 2003-08-13 12:33:59 +00:00
rocky
bbd86ea2bb Set VCD log handler. 2003-08-13 12:18:49 +00:00