Commit Graph

950 Commits

Author SHA1 Message Date
rocky
5eacbe6af2 More time corrections as hopefully move towards Nirvana. 2005-02-22 04:32:52 +00:00
rocky
a2fccc90c4 Add routine for extracing ISO 9660 long time format and probably correct
the short-time format a little.

Handle Rock-Ridge time and be able to display it.
This pretty much completes the bulk of handling Rock-Ridge extensions.
2005-02-22 02:02:46 +00:00
rocky
ec0564dfee Process Rock-Ridge time fields. Not tested or shown yet.
Break out Rock Ridge fields of our ISO9660 stat.
2005-02-21 09:00:53 +00:00
rocky
5b029744c6 Process symbolic links. Remove some memory leaks. 2005-02-21 02:02:12 +00:00
rocky
7a45afb450 Fix some memory leaks caught by valgrind. Also replace a relloc - not sure
why valgrind was having problems with that.
2005-02-20 17:47:01 +00:00
rocky
3d97c7ded6 Correct Rock-Ridge directory/link listing.
{cd,iso}-info --no-rock-ridge works (and with rock-ridge too)
test/*.right: output is now what I guess it's should be
2005-02-20 16:21:06 +00:00
rocky
a8e1fd6038 all: Add iso9660_get_rock_attr_str to get an ls-like mode string for rock
ridge.

{cd,iso}-info.c util.{c,h}: put common printing routine in util.c

rock.h: add enum for NM flags
iso9660.h: move mode_t typedef so it can be used in rock.h
xa.{c,h}: small typos.

test/*: in most cases better output. On VCD's however there there is a
slight regression on displaying the filename someitmes. Will be
addressed later.
2005-02-20 10:21:01 +00:00
rocky
0a048cb05c *** empty log message *** 2005-02-20 03:20:42 +00:00
rocky
2d41f7dc42 Add read_data_sectors 2005-02-19 00:58:12 +00:00
rocky
a68d88f117 Remove bug in Joliet-handling when adding Rock Ridge is not there. 2005-02-18 22:35:48 +00:00
rocky
e65d0eb854 Mode sense changes. Not sure about this though. 2005-02-18 09:49:14 +00:00
rocky
a4d389b939 iso9660_fs.c: reallocate filename when Rock-Ridge name is bigger.
rock.c: variable name changes

cd-info.c: don't translate file name when there are Rock-Ridge
Extensions.
2005-02-18 01:31:08 +00:00
rocky
7f246527b8 Add read_data_sectors to exported symbols and to BSDI. 2005-02-17 12:05:10 +00:00
rocky
ab344d538c Remove more of the no longer needed distinction (that we sometimes got
wrong) of Mode 1 vs Mode 2 data reading.
2005-02-17 11:54:28 +00:00
rocky
da62695b60 Move forward in getting better ISO-9660 reading by eliminating "Mode 1/2"
specification in API.
2005-02-17 07:03:36 +00:00
rocky
78a3f49868 Add routine for reading data independent of or mode1 and mode2 format.
Should help with ISO 9660 reading. Add generic MMC READ_CD routine.

Warning - even more breakage in some situations. (But there's promise
of an overall brighter future.)
2005-02-17 04:57:21 +00:00
rocky
b504a1a652 First semblance of being able to handle Rock Ridge names. 2005-02-14 07:49:46 +00:00
rocky
3f4397a6f5 Remove assumption that OS has POSIX file definitions (mode_t, nlink_t,
gid_t, uid_t, time_t, etc.)
2005-02-14 02:18:58 +00:00
rocky
d37d48bc1c gcc < 3.0 compilation fix 2005-02-14 01:07:29 +00:00
rocky
2f11a30fb3 Merge in more Rock Ridge code. Not working yet. Hopefully not much
breakage. (But there may be some especially on less-POSIX OS's.)
2005-02-13 22:03:00 +00:00
rocky
78eabe4f2a iso9660.h, iso9660.c, xa.c, xa.h: Add const char's for debugging use.
iso9660.h: go over yet again for more info from the ECMA 119 spec.
2005-02-12 18:24:21 +00:00
rocky
521fb446a9 All structure tags now end in _s and we have typedefs for all of them
(ending in _t).
iso9660.h: abc -> a.b.c for ISO fields.
2005-02-12 10:23:18 +00:00
rocky
d7bee1720b mmc.c: mmc_mode_sense can't use cdio_have_atapi (without further check) or else
we may get an infinite recursion.
win32_ioctl.c: deal with an error message that can't be converted to a string.
2005-02-11 03:30:12 +00:00
rocky
43f59fc830 Stylistic changes. 2005-02-11 02:18:15 +00:00
rocky
8dfb4780cd Bug fix for mmc_have_interface.
checK_paranoia.sh.in: fix bug in returning success on a core dump
win32.c: some small changes - more later.
image/*.c: set run_mmc_cmd NULL explicitly.
2005-02-11 01:34:12 +00:00
rocky
e491ba74d6 Use solaris ioctl for blocksize set/get. Prototype corrections. 2005-02-10 11:23:08 +00:00
rocky
5316ed6880 Think I have how to get MMC media changed worked out. 2005-02-10 03:23:10 +00:00
rocky
8296df8b3d Add generic mode_sense(), add cdio_have_atapi() and use these.
API number bumped
Add bool_3way_t (yes, nope, dunno)
2005-02-10 01:59:05 +00:00
rocky
43e8856bfa Turn a number of the info messages into debug messages. 2005-02-09 09:55:38 +00:00
rocky
3755da8d0c Add mode_sense6() and mode_sense10() MMC commands. Use them to
hopefully clean up code a little. Remove some unused MMC "private"
commands.

iso4 -> isofuzzy
2005-02-09 02:50:46 +00:00
rocky
644ad9ceb7 Add "Rigid Restricted Overwrite" string. 2005-02-09 01:24:17 +00:00
rocky
a1c206fe3b Add enum for feature profiles. Add feature to string conversion routines. 2005-02-08 04:14:28 +00:00
rocky
7bb03d5c93 Break out DVD detection. More verbose comments about the issues here. 2005-02-07 04:16:19 +00:00
rocky
2860cea4cb lib/drivermmc.{c,h}: Add mmc_have_interface() to see if we've got SCSI
or ATAPI or whatever.

cdda_interface: Use mmc_have_inteface() we don't have anything for
this except in GNU/Linux. May reduce the unnecessary data_bigendianp()
calls which cause lots of disc reading.

Turn #defines for MMC Profiles into enumeration.
Add enumeration for "core" interface types

#include <cdio/scsi_mmc.h> -> #include <cdio/mmc.h>
2005-02-07 03:36:01 +00:00
rocky
3344d5642f Windows fixes. Read TOC via MMC only when media is not DVD. 2005-02-06 17:36:17 +00:00
rocky
6618a05537 Various portability fixes mosty for MSVC which doesn't have drand and
doesn't allow dynamic local arrays.
v_fragment -> v_fragment_t
libcdio.sym: more external symbols defined
/lib/_cdio_linux.c: harmless type mismatch
example/sample2.c -> example/device.c
2005-02-06 15:09:10 +00:00
rocky
315a31a5ee scsi_mmc -> mmc name change. 2005-02-06 13:10:37 +00:00
rocky
ae0356f74e FreeBSD fixes. 2005-02-06 13:05:42 +00:00
rocky
e2bfdf7659 OSX fixes. 2005-02-06 11:46:12 +00:00
rocky
0af0e995e2 BSDI fixes for get_media_changed. Fix mostly harmless type mismatch from
before media_changed work.
2005-02-06 11:39:32 +00:00
rocky
12186bc043 iso9660_fs.c: wrong order of initialization.
correct types on get_media_changed_mmc
Solaris fixes.
2005-02-06 11:32:22 +00:00
rocky
71a71d7f56 Start to implement ability to a detect media change.
scsi_mmc -> mmc. Warning: some breakage may occur.
2005-02-06 11:13:37 +00:00
rocky
fc60baec9c Move track things out off sector.h 2005-02-06 04:20:25 +00:00
rocky
20acbc8d07 Another typo 2005-02-05 23:53:06 +00:00
rocky
ec5daa5b0d Typo. 2005-02-05 23:52:20 +00:00
rocky
0e2f37193c Another "cooked" name bites the dust. Soem doxygen cleanup too. 2005-02-05 23:45:57 +00:00
rocky
187c314225 Deal with OS's that don't have a stat'able filesystem.
More SuSe spec removal.

More SuSE spec removal
2005-02-05 23:16:34 +00:00
rocky
79d7a57f1f Check in Mode 1 or Mode 2 on fuzzy searching. 2005-02-05 18:58:36 +00:00
rocky
1c5aa655ea Check header for PVD MSF. Get XA mode more often. 2005-02-05 18:41:31 +00:00
rocky
a94f82f2e7 xa.h: add enumeration for debugging
rest: better understanding of when there might be XA and when there might not
      be. Don't give a warnings about missing XA attributes when the format
      isn't supposed to have it.
2005-02-05 17:29:01 +00:00