Commit Graph

1772 Commits

Author SHA1 Message Date
rocky
929770f419 Add routine to report MMC capabilities of a drive. Add that to the
cd-drive program.
2005-04-30 09:42:37 +00:00
rocky
5a515d9140 Simplify endian determination - thanks to suggestions of Steve Schultz
Remove recently added field is_scsi which isn't in cdparanoia
2005-04-30 07:15:51 +00:00
rocky
8271c5b9be Comment typo. 2005-04-30 02:04:29 +00:00
rocky
d1f56b181d We really should be in 0.74cvs by now. 2005-04-28 01:44:32 +00:00
rocky
54e0e9a52f An ATAPI drive (_NEC , DVD_RW ND-3520A, 1.04, SCSI CD-ROM) was getting
set as big endian although it appeared not to, possibly because of
SCSI emulation.

We now test for SCSIness in addition to ATAPIness as both can occur.

Added field in cdrom_device structure for SCSIness and that's tested
before unconditionally setting drive bigendian-ness.
2005-04-28 01:25:53 +00:00
rocky
5b0aecf817 glossary.texi: CDTEXT -> CD Text
util.h: allow getting larger sector count sizes. CD's new 900MB could exceed
16-bits.
2005-04-27 23:31:47 +00:00
rocky
adc1418cbd From Burkhard Plaum:
1. Fix a crash, which happened when cdtext_get() was called for an emtp=
y
   (i.e. NULL) field.

2. Add another function cdtext_get_const(), which returns a const point=
er
   and avoids too much strcpying (apps may want only to TEST if a
   field is present or have their own string management routines).
2005-04-25 23:06:21 +00:00
rocky
320c9bd55f Patch from Burkhard Plaum:
1. In the function is_cdrom_linux(...) in the file lib/driver/gnu_linux.c,
   the CDROMREADTOCHDR ioctl gets called, which fails when the drive is
   empty. The CDROM_GET_CAPABILITY ioctl always succeeds for CDrom drives
   and fails for hard disks etc.

2. For some reason, at least my (GNU/Linux 2.6.10) Kernel fails to
   open empty drives, when only O_RDONLY is used. Changing the open flag to
   O_RDONLY|O_NONBLOCK, the call succeeds also for emtpy drives.
   By the way, the cdrom header file in the kernel says explicitely,
   that O_RDONLY|O_NONBLOCK should used whenever a cdrom is touched.

rocky: also made a change to eject to continue even if we can't get
the drive status -- which we can't with an empty CD-ROM drive.
2005-04-23 01:16:19 +00:00
rocky
15ddfdbc2c Another autoconf bug. I hate autoconf. 2005-04-22 03:26:50 +00:00
rocky
4d66b8b630 Testing wrong variable in showing whether paranoia is set to be built. 2005-04-22 03:18:34 +00:00
rocky
4e3e2a6aa6 Order of ncurses/curses headers should match order of ncurses/curses library? 2005-04-22 02:54:10 +00:00
rocky
a691a9a1b1 Add test to see if curses has keypad(). May break on Solaris - we'll see.
Fix from discussion with Steve Schultz
2005-04-22 01:54:13 +00:00
rocky
c825b6af5e Ooops. Remove duplicate free 2005-04-21 20:23:11 +00:00
rocky
b3390082f4 Remove free() that is no longer needed. Also correct/add C++ names of example programs. 2005-04-18 15:43:36 +00:00
rocky
13c0888ccc Wasn't allowing last track to get played. 2005-04-17 06:19:48 +00:00
rocky
dd71f07283 Add cdda-player binary 2005-04-16 00:37:51 +00:00
rocky
2c5f4eac9d Get ready for 0.73 release. 2005-04-15 20:39:18 +00:00
rocky
2ecc6106d7 Fix bug if we don't have Joliet around. 2005-04-15 05:06:09 +00:00
rocky
43baf9cbdf Remove unused variable. 2005-04-14 01:24:32 +00:00
rocky
c0c9b1a22e gcc 2.95 compatibility - decls before statements. 2005-04-14 01:10:24 +00:00
rocky
52064d3f33 Get ready for 0.73 release. 2005-04-14 00:35:03 +00:00
rocky
77a935bf57 Seems to force executable shell better. 2005-04-11 02:57:04 +00:00
rocky
c48ac300dc Changes to make Solaris /bin/sh regression test work. 2005-04-11 02:36:36 +00:00
rocky
4428ffa788 Misc memory issues 2005-04-11 01:37:38 +00:00
rocky
ea6f2ba77c testparanoia.c: free() moved inside library where it belongs.
others: trivial changes.
2005-04-11 01:03:46 +00:00
rocky
f47531e7cb Small output format change. 2005-04-11 01:02:11 +00:00
rocky
3eba1124e9 Free libcddb regexp memory. 2005-04-11 01:00:49 +00:00
rocky
d07801abd1 trivial format change. 2005-04-11 00:53:56 +00:00
rocky
e29bd8949a More memory management stuff. 2005-04-11 00:53:09 +00:00
rocky
102ea21ddd Another valgrind-caught leak. 2005-04-10 14:52:52 +00:00
rocky
c89b50e07e Correct FreeBSD table initialization.
Chalk another up for valgrind. Fix memory leak in cdio_free_device_list().
2005-04-10 14:39:19 +00:00
rocky
20b044ca11 Small valgrind-caught memory leak. 2005-04-09 22:56:07 +00:00
rocky
6a8b040a2f FreeBSD audio control patches from Heiner. 2005-04-05 02:13:58 +00:00
rocky
20cd253bdb Impliment -l (list tracks). 2005-03-31 00:24:32 +00:00
rocky
7f0c18e0ab freebsd.c: forgot initialization.
correct one of the doxygen comments.
2005-03-29 12:00:23 +00:00
rocky
076ec51ef1 Set libraries for revision before release. Interfaces in libcdio and
iso9660 have been added so bump, current (and set revision and age 0).
2005-03-29 01:40:19 +00:00
rocky
af4ceb5835 Don't know why cd_close was in play_track(). 2005-03-23 16:32:49 +00:00
rocky
3010132e24 Remove compiler warning about uninitialized variable. 2005-03-23 16:22:16 +00:00
rocky
a18b69a318 Remove internal "close_tray" function as this is external only.
Now that close_tray is done right the prototype can be like the others.
2005-03-23 11:26:49 +00:00
rocky
4ef90d57b4 loop over cdtext using length reported back by MMC TOC command.
Test sequence number only for valid blocks.
cdtext_private.h: add enumeration to facilitate debugging
cdtext.c: On Windows CD-Text was off by 4. Hack for this.
2005-03-23 11:15:25 +00:00
rocky
322cb07c1f Make expression more explicit. Warning on gcc 2.95 looks like a miscompile. 2005-03-22 09:36:36 +00:00
rocky
7a9111434b Fix up return code status in close tray. 2005-03-22 09:19:47 +00:00
rocky
7774f8d873 Pass back return code on command. 2005-03-22 09:15:57 +00:00
rocky
36f606f0dc Fix up BSDI code for closing tray. All the hard work really due to
Steve Schultz.
2005-03-22 08:59:54 +00:00
rocky
0ad6b0a629 Ability to toggle list display mode. 2005-03-22 01:57:22 +00:00
rocky
79780510e2 Note BCDness of msf_t 2005-03-21 10:43:08 +00:00
rocky
350c491346 Add info on: cdda-player, Rock Ridge Extensions.
Note our MSF structure peculiarity. Remove remark that we don't support
audio controls - we now do.

Other miscellaneous revisions too.
2005-03-21 10:36:18 +00:00
rocky
2a11267eb9 Doxygen lint corrections. 2005-03-21 09:19:06 +00:00
rocky
74dc895997 Some small changes to update list when track changes. Probably a lot
more could be done in terms of having multiple disc views.
2005-03-21 09:00:20 +00:00
rocky
800eef655f Not sure why we set the loglevel to debug before a DVD STRUCT PHYSICAL.
Remove it.
2005-03-21 08:33:36 +00:00