Commit Graph

48 Commits

Author SHA1 Message Date
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
e226c220ac Fix syntax error if Joliet. 2005-03-03 13:47:59 +00:00
rocky
b7a7319c57 Respect localtime parameter in iso9660_get_dtime 2005-03-03 10:32:01 +00:00
rocky
d4279cb35f Report error when read_data_block fails. 2005-02-28 03:04:21 +00:00
rocky
602be8e5c6 win32.c: fill in read_data_blocks (use mmc routine)
iso-info.c: lint cast on output
iso9660.c: deal with struct tm's that don't have gmt_off.
2005-02-27 20:16:08 +00:00
rocky
86cf5ff85f Copy last changes to parse_rock_ridge_stat_internal(). 2005-02-26 17:54:49 +00:00
rocky
1781cf1a3d Fix bugs in getting full symbolic link name (when multiple directories).
Remove unnecessary malloc in realloc_symlink().
2005-02-26 17:20:33 +00:00
rocky
60032c9c2d Change to iso9660_get_dtime to make dates on Rock-Ridge CD's match
what the OS reports when mounting. A bit was done by trial and error
although it doesn't seem *inconsistent* with standards definitions.
2005-02-26 14:58:53 +00:00
rocky
f21d10168d Erroneous parameter passed. 2005-02-25 09:08:57 +00:00
rocky
0661cbd0b6 Don't assume all OS's have tm_gmtoff 2005-02-23 00:43:05 +00:00
rocky
a37cfc0ba4 NEWS: all that's gone on so far in 0.73cvs
README: Note paranoia and samba vfs module
*.{h,c}: more debugger symbols. Use _s convention more.
2005-02-22 10:42:50 +00:00
rocky
7bbdbd4f7c iso9660_get_dtime hack: we've seen it happen that everything except
gmtoff is zero and the expected date is the beginning of the epoch. So
we accept 6 numbers being zero. I'm also not sure if using the of the
Epoch is also the right thing to do either.
2005-02-22 09:55:47 +00:00
rocky
1dcab83589 Missing new symbol. Thanks again to Steve Schultz 2005-02-22 04:39:23 +00:00
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
a68d88f117 Remove bug in Joliet-handling when adding Rock Ridge is not there. 2005-02-18 22:35:48 +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
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
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
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
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
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
rocky
b58349ba1a Make debugger-helping enums extern'd and define onces elsewhere. 2005-02-05 12:37:35 +00:00
rocky
d958f062ea First attempt at smart iso9660 reading in CD images.
_cdio_stream.*: return is now cdio_driver_return_t
2005-02-05 04:25:14 +00:00
rocky
629addf0dc remove cdio_malloc() and replace with calloc() 2005-02-04 02:18:12 +00:00
rocky
275d39eb41 Attempt to get library version numbers correct for release. 2005-01-27 03:26:37 +00:00
rocky
bd333bc73f Move a set_speed and set_blocksize (via MMC)from driver-specific
places to generic.

Add _t to yet another type.
2005-01-20 01:00:52 +00:00
rocky
15527b8cb1 Non-functional changes:
Small coding style changes: add _t to some types, p_/psz_ to some variables
  Update/add doxygen comments
  add missing regression test output
2005-01-12 11:34:51 +00:00
rocky
725396e56f lib/{driver,iso9660}/Makefile.am: new improved script for handling the case
where there are no local symbols (or global symbols).
libsio9660.sym: The last remaining local symbol really should be global.

Change made on behalf of Nicolas Boullis.
2005-01-11 00:34:10 +00:00
rocky
0538377177 Add Cdio_t, move some more stuff into track.h 2005-01-02 22:43:41 +00:00
rocky
00569141c7 Perhaps this is okay. 2004-12-27 23:50:19 +00:00
rocky
8ddfd0fa0c Remove some semicolons at the end of lines. 2004-12-27 23:33:25 +00:00
rocky
4fba1f791c Until we put in more fine-grain control, don't make libcdio_paranoia
and libcdda_interface libraries if we aren't making cd-paranoia.

src/Makefile.am: correct way to disable cd-paranoia.
2004-12-22 10:04:46 +00:00
rocky
6c14d28918 BIG REORGANIZATION.
Reorganize directory structure for inclusion of cd-paranoia. Works for
GNU/Linux. Other OS's may be broken. Regression test output needs to
be adjusted too.

Move:
lib/driver (split off of lib)
lib/iso9660 (split off of lib)

Add from paranoia:
lib/cdda_interface
lib/paranoia
src/paranoia

Also made some small changes to capability indentification to show
more reading capabilties and show that.

cd-info now shows the total disc size.
2004-12-18 17:29:32 +00:00