Commit Graph

144 Commits

Author SHA1 Message Date
rocky
30a19a1909 Various valgrind-detected memory leaks and unitialized variable errors. 2004-10-26 07:34:41 +00:00
rocky
8b895d0ba1 Joliet filename detection for CD images is now done.
Various valgrind-caught errors fixed
Output changed: we no longer print root block number.
(It is still shown when XA attributes are printed.)
2004-10-26 01:21:05 +00:00
rocky
55de6dfdeb First attempt to extent Joliet to CD reading portion. 2004-10-24 23:42:39 +00:00
rocky
b80d83f07b iso9660.h, iso9660_fs.c: Add iso9660_ifs_is_xa() a routine to
determine if an iso image has XA attributes.

bytesex.h and bytesex_asm.h are now public. (Down the line should use
glib though.) Package  has been revised to the move.

iso-info.c: shows XA attributes what that it is available.
2004-10-22 01:13:38 +00:00
rocky
0dd6c21281 Make ds.h public. It should have been that way since it *is* public.
Eventually though we'll redo things using glib and then ds.h will get
removed.
2004-10-09 03:20:28 +00:00
rocky
a5131730d0 Possibly some C compilers need at least 2 arguments. Noticed on old
FreeBSD box.
2004-09-02 01:33:57 +00:00
rocky
b82de3054b Error messages was slightly incorrect. And add another one of that ilk. 2004-08-30 01:25:09 +00:00
rocky
c5d4c75599 _cdio_osx.c: wasnt' returning CDIO_INVALID_TRACK on TOC read error.
cd-info.c: abort sooner if we can't read the TOC.
2004-08-30 01:14:14 +00:00
rocky
91af2a7906 cd-info.c: bug in DVD test.
sector.h: redo the way the dvd and cd tests work. Isn't strictl necessary, but
   this is has fewer implicit dependencies.
2004-08-30 01:01:14 +00:00
rocky
1703e7dc00 sector.h: add routines for determining if discmode is DVD or CD.
cdtext*: adjust for bigendian or not. Check for double-byte characters.

cd-info.c: new option --dvd. Don't attempt to understand DVD unless this is
           given.
2004-08-30 00:26:59 +00:00
rocky
19991ded7b add psz_ to hwinfo type.
_cdio_linux.c: go back to using SCSI MMC drive cap routine.
2004-08-27 11:53:38 +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
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