Commit Graph

1303 Commits

Author SHA1 Message Date
rocky
4efa6efeb9 Allow folks to refer to and use ISO_STANDARD_ID 2005-10-17 23:50:42 +00:00
pjcreath
ae34187757 Added comments to the sort_info_t macros, including the scary pointer
arithmetic that makes ipos() tick.
2005-10-17 20:56:51 +00:00
pjcreath
6bcd6c5609 Extensively commented cdparanoia's stage 1 matching. No code changes apart
from added white space for improved readability.  Comments containing "???"
suggest areas for further study and documentation.
2005-10-17 15:31:08 +00:00
rocky
1e89dc8909 Analysis and comments courtesy of Peter J. Creath, again. (I believe
this will be the last commit I'll make on his behalf.)
2005-10-15 03:18:42 +00:00
rocky
326776a693 Minor formatting changes. 2005-10-14 02:07:06 +00:00
rocky
8c04ca8e04 Many informative comments courtesy of Peter J. Creath.
External accessible routines renamed to their libcdio name.
2005-10-14 01:20:55 +00:00
rocky
f082e5742a pathname ->psz_name 2005-10-12 11:25:17 +00:00
rocky
1223d47875 libpopt no longer use
sort_link -> sort_link_t.
2005-10-08 09:08:10 +00:00
rocky
d12f4d6489 All multiple-block reading routines now return success when asked to
read 0 blocks and the lsn's are valid. Idea suggested by Peter J. Creath.
2005-10-07 07:15:19 +00:00
rocky
14811c97db Two patches from Peter J. Creath
Fix bug in handling arithmetic with unsigned numbers
  Return success if reading 0 audio blocks.
2005-10-07 00:06:45 +00:00
rocky
16bdbf2615 Remove libpopt.
cd-drive, cd-info: some source option bug fixes
osx.c: bug in duplicate free in add-device

Patches and bug fixes courtesy Peter J. Creath
2005-10-05 09:48:11 +00:00
rocky
e74fc3f8da Just a little more clear about the enum/#define thing. 2005-10-05 00:50:41 +00:00
rocky
f3b673dec7 Use #defines (and enums for debugging) for paranoia read flags.
Patch from Peter J. Creath.
2005-10-05 00:02:12 +00:00
rocky
01a86fd79d Some provision for handling Rock-Ridge device numbers. 2005-10-04 09:59:46 +00:00
rocky
f9f6561478 Remove the comments about the bug that was just addressed. Thanks again to
Peter J. Creath
2005-10-04 00:38:34 +00:00
rocky
c6dfef5d24 Bug fix in overallocated analyzed and fixed courtesy of Peter J. Creath 2005-10-03 02:31:11 +00:00
rocky
b4994b8c3f Remove double free of str_bsd_path. Thanks to Peter J. Creath for
finding/fixing.
2005-09-30 00:01:09 +00:00
nboullis
59e64edfe1 Link libcdio_cdda with libm as needed for cos and sin. 2005-09-21 17:45:59 +00:00
nboullis
6290f7396b Fix the version of symbols in the libcdio_paranoia library. 2005-09-20 16:36:48 +00:00
rocky
ba2be3037a Wrong name. 2005-09-20 01:01:17 +00:00
rocky
1f5d7ae128 Wrong name. 2005-09-20 00:45:45 +00:00
rocky
d8826d36a2 Add --with-versioned-libs for libcdio_paranioa and libcdio_cdda Remove
use of "new" even in private C parts. Changes and patch from Nicholas
Boullis.
2005-09-20 00:42:14 +00:00
rocky
3a1145614b include <stdbool.h> only if not C++. 2005-09-17 20:57:19 +00:00
rocky
b4b1c4ec6f Add option to disable Rock-Ridge support --disable-rock
Add IS_ISSOCK() or S_ISLNK() macros for Rock-Ridge when environment
doesn't have it, e.g. MSYS 1.0.10 with MinGW 3.4.2.

Go over --enable settings. --disable-cpp-progs now works.

Require libcddb 1.0.1 or better
2005-09-15 06:36:01 +00:00
rocky
0554f105a5 Remove warning: "use of cast expressions as lvalues is deprecated"
Reports have it that gcc 4 doesn't tolerate this.
2005-08-28 22:40:19 +00:00
rocky
d97137d6ed Get device name if none supplied in cdio_cddap_indentify. Check for
more error conditions and update doc to reflect that the error return
is NULL.
2005-08-27 14:28:30 +00:00
rocky
7e64f29d05 Some small type and variable name changes. 2005-07-23 22:24:04 +00:00
rocky
342d42412a Ooops -- syntax error. 2005-07-23 22:05:29 +00:00
rocky
a42209123c Doc changes. 2005-07-23 21:39:18 +00:00
rocky
6029b6c3d7 Patch from Diego 'Flameeyes' Petten to eject_media_freebsd_ioctl():
Allegedly this works better than the CAM mode eject; CAM gets the error
"Device not ready" when trying to eject an empty CD-ROM drive.

We make use of an already open file descriptor to the CD-ROM instead
of opening a new one (else we have two file descriptor open, so when
it launch the ioctl() to eject the device it results busy because of
the other fd).

Also corrects the documentation comment about the return value.
2005-07-23 21:36:54 +00:00
rocky
10ffeb8964 Conservative setting for library. 2005-07-07 06:54:48 +00:00
rocky
8f154dc75d Remove gcc 4 warning 2005-07-07 06:53:04 +00:00
rocky
5d9dd72dcb Correct test caught by gcc 4.0 2005-07-07 06:51:58 +00:00
rocky
638a30a5f1 Remove gcc 4 warnings 2005-07-07 06:51:13 +00:00
rocky
3b0b52ac52 Allow the MMC timeout to be adjusted by the application. 2005-06-26 18:29:49 +00:00
rocky
bd0fc6d54f Patch to make --disable-shared and --enable-static work with --with-versioned-libs 2005-06-25 10:48:06 +00:00
rocky
c0310e8674 Attempt getting audio port volume levels. 2005-06-11 18:59:47 +00:00
rocky
fdea8ee466 Remove a couple more valgrind-caught memory leaks 2005-06-08 08:07:00 +00:00
rocky
ad95301515 Remove valgrind-caught invalid memory reference. 2005-06-08 07:40:28 +00:00
rocky
cb9abde2e4 Remove a valgrind-caught memory leak. 2005-06-07 23:41:38 +00:00
rocky
62a7cdc325 A couple of flawfinder errors. Use sizeof instead of strlen. Fold
strncat into preceding snprintf.
2005-06-07 23:40:53 +00:00
rocky
7ba5ba86db Bug in getting CD-Text make sure TOC is read before trying to get
CD-Text info. Problem reported by Christian Moser.
2005-05-16 08:11:31 +00:00
rocky
afa9015c4a Heiner reports that FreeBSD's passopen() and xptopen() don't allow
nonblocking access so O_NONBLOCK might do harm. But it's just a guess
pending what others discover/report.
2005-05-09 23:19:40 +00:00
rocky
adeb8ad487 Add O_NONBLOCK on sms's recommendation 2005-05-09 01:06:39 +00:00
rocky
5fdd22b258 Hopefully a better error message on a transport failed. 2005-05-08 10:10:18 +00:00
rocky
2235d79e7a cdio_generic_init interface parameter added. Noticed by Heiner. 2005-05-08 09:58:33 +00:00
rocky
bb04344980 Was converting in the wrong direction. 2005-05-07 22:37:15 +00:00
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
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