Commit Graph

1238 Commits

Author SHA1 Message Date
rocky
643ab46b25 Need #include<sys/stat.h> 2005-11-06 00:42:17 +00:00
rocky
6e4743c734 Break out POSIX-like definitions to posix.h
Add ISO9660 routines to convert to mode_t
Record whether XA or not in iso9660_stat_t.
And other definition shifting around.
2005-11-06 00:39:37 +00:00
rocky
765b1529ea A couple of corrections on udf_get_file_length(). 2005-11-02 03:49:15 +00:00
rocky
78883887df Add routine to get file length.
Fix bug in retrieving dirent for root.
Reduce overhead in udf_get_link_count()
2005-11-02 03:42:49 +00:00
rocky
e9851bf3a3 udf_find_file -> udf_fopen and made closer to fopen(). It also
simplifies things a little bit. Start testing.
2005-11-01 13:07:01 +00:00
rocky
00a3010210 Remove extraneous parameter on udf_opendir(). 2005-11-01 03:21:04 +00:00
rocky
7de9d148bf Rename some functions to be more like POSIX file reading, i.e. add
udf_opendir() and udf_readdir(). udf_file_entry_t -> udf_dirent_t.
2005-11-01 03:14:49 +00:00
rocky
8524d367b3 udf_times_to_stamp -> udf_timespec_to_stamp 2005-10-30 14:10:44 +00:00
rocky
9ec9c5a991 Break of file routines into udf_file.{c,h}
udf1: Add link count
2005-10-30 07:35:36 +00:00
rocky
6c7ca93321 Replace some numbers with enum "constants". 2005-10-30 06:06:09 +00:00
rocky
17de10953a Fill out file modes better and clean up interface more by trying to
funnel into POSIX file mode_t. FIXME: something needs to be done to
merge ISO9660 interfaces and UDF and probably the right thing is to
make it look like POSIX. Would be nice if there were a library
e.g. from GNU fileutils I could use to help.
2005-10-30 05:43:01 +00:00
rocky
7b44e5b47e Fill out posix attributes a little. Add directory listing to output. 2005-10-29 14:52:47 +00:00
rocky
031b7199e9 Add more access functions. 2005-10-29 14:43:50 +00:00
rocky
c74242e942 Use MMC routine for reading data blocks. At leat on XP home it seems to work
better than generic read which is a cooked read.
2005-10-28 12:43:30 +00:00
rocky
5583cbccd7 More documentation of ecma 167. Some fields changed names. More
#defines removed/replaced by enum type and variables.
2005-10-27 11:18:56 +00:00
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