Commit Graph

1023 Commits

Author SHA1 Message Date
rocky
311bed3fba Attempt to deal with OS's (like BSDI) that don't have an extern long timezone. 2005-10-27 03:26:39 +00:00
rocky
2ee302e4f8 Changes to make work on Cygwin. However probably need a more general
test for timezone being extern long.
2005-10-27 03:03:42 +00:00
rocky
8881e6b50d File entry update fixed on udf_get_next().
More access functions added to return a UDF file entry
and to interpret a permission string.
2005-10-27 01:23:48 +00:00
rocky
645cbacbc2 Add some UDF time routines and time-conversion routines.
Note: udf_get_next() needs to advance file entry info
2005-10-26 02:05:53 +00:00
rocky
d10ea87088 Add routine to get volumeset id 2005-10-25 13:19:05 +00:00
rocky
fcd818f4ba Add silly volume identifier. More #defines removed in favor of enums. 2005-10-25 03:13:13 +00:00
rocky
fd0bbfbab1 Remove memory leak and invalid write references thanks to valgrind.
Now lists all files correctly - at least in the absense of directories
under /.
2005-10-25 01:19:48 +00:00
pjcreath
723c5d5dae Added TRACE_PARANOIA, which differs from cdparanoia's NOISY compile-time
flag in that it's designed to help someone understand how cdparanoia works,
rather than troubleshoot.  Setting TRACE_PARANOIA to 1 traces stage 1,
2 trace stage 2, and 3 traces both (and is extremely verbose).

Additionally, committed a tentative bugfix to paranoia itself, which was
causing the libcdio test case to break.  If it introduces unexpected
behavior, it should be backed out.  So far it seems to fix all test cases.
2005-10-24 19:42:15 +00:00
rocky
b0306c811e UDF file is now opaque. Access routines then added.
Note: there are valgrind and free() errors that need going over.
2005-10-24 10:14:57 +00:00
rocky
63402ba0c9 List more of the external routines (udf_get_next, udf_get_sub) 2005-10-24 08:51:17 +00:00
rocky
50045f874b Ignore the usual. 2005-10-24 03:23:25 +00:00
rocky
8d956e8db1 Makefile.am for libudf 2005-10-24 03:14:38 +00:00
rocky
e9be12e7e5 First inkling of code for UDF support. 2005-10-24 03:12:30 +00:00
rocky
8be2ccedee Remove a #define we don't need. 2005-10-23 12:17:30 +00:00
rocky
ef3244f025 Rmove references to external (SCSI) routines that don't in fact exist. 2005-10-23 11:32:57 +00:00
rocky
3fbbc62c49 Patch by Erik Lunchpail to accomodate systems (e.g. MinGW) that don't
have drand48 but have rand.
2005-10-23 11:28:20 +00:00
rocky
6b8618d6c7 Start list of external symbols for Nicholas. 2005-10-21 12:34:45 +00:00
rocky
a6472512f6 Start some UDF routines. Very preliminary. 2005-10-21 12:31:02 +00:00
rocky
7f4e8140ae Turn one more set of #define into an enum 2005-10-21 11:27:09 +00:00
rocky
fa0848bf90 Try to regularize naming better. More mmc_ -> cdio_mmc_
Add more debug variables to be able to get at enum values in a debugger.
2005-10-21 11:13:54 +00:00
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