rocky
a04b4a324b
Add common FORMAT_ERROR. XBOX/MSVC deficiencies shouldn't be so in your face.
2004-11-01 09:48:34 +00:00
rocky
b8a37ff266
Merging in MSVC/XBOX from John Oseman
2004-11-01 09:14:21 +00:00
rocky
b0eaac98fb
Compilation fixes.
2004-10-31 17:43:30 +00:00
rocky
5ff97b8b45
scsi_mmc.c: get CD-Text length before reading CD-Text. win32.c: make
...
sure we can't set ASPI when XBOX. Other small changes for XBOX compatibility.
2004-10-31 17:18:08 +00:00
rocky
613cc70533
portable.h: remove rcsid.
...
logging.c: include portable.h
2004-10-31 14:55:35 +00:00
rocky
465e0373ee
configure.ac, lib/*, example/*.c, src/iso-read.c:
...
start to separate compiler/OS deficiencies into "portable.h"
configure.ac, lib/iso9660_fs.c:
use AM_LANGINFO_CODESET rather than code in our ouwn langinfo.h and
CODESET tests.
2004-10-31 13:58:44 +00:00
rocky
64f2ad383d
Mostly portability issues from or inspired by mog's changes for XBOX.
...
image/*.c: initialize func structure to 0 (NULL).
include/cdio/*.h: add "extern C" for C++ compilations where
appropriate.
2004-10-31 06:07:26 +00:00
rocky
4c2ba6c953
Change to make compatible for MSVC 6 and older C compilers.
2004-10-31 05:33:08 +00:00
rocky
a63627c686
Fixes when no Joliet support.
2004-10-31 04:55:57 +00:00
rocky
905d72fcac
Add include of stdlib.h (From mog for XBOX)
2004-10-30 21:53:15 +00:00
rocky
f26b991c7c
Fixes while trying to merge some of the XBOX changes.
2004-10-30 06:48:17 +00:00
rocky
c809407a2f
NLS fixups. Wrong preprocessor symbol used.
2004-10-30 04:43:43 +00:00
rocky
299e2ea2f9
configure.ac, iso9660.c: test for tzname variable.
...
configure.ac, iso9660_fs.c: test for nls_langinfo() and #include <langinfo.h>
iso-info.c: some OS's need 2 args for multi-arg defines.
2004-10-30 02:55:17 +00:00
rocky
9d94b71a53
*: test for daylight and timezone
...
configure.ac: test for stdbool.h
2004-10-30 00:38:43 +00:00
rocky
749d506d08
Conditional compilation of Joliet support.
2004-10-29 02:11:48 +00:00
rocky
6869e97bb2
configure.ac: Add --disable-joliet and disable joliet if iconv is not around
...
iso9660_fs.c: Setting string length on of UCBE wrong?
test/*: add joliet regression test.
2004-10-28 11:13:40 +00:00
rocky
8ad61e6d4d
Add more fields from the MMC-3 spec.
2004-10-28 03:50:32 +00:00
rocky
8ea308b5eb
bytesex files have moved from private to public. Forgot to remove
...
them for "make dist"
2004-10-28 03:49:37 +00:00
rocky
17a4e2ff4c
Cygwin fixes.
2004-10-27 01:16:39 +00:00
rocky
f49f88e122
iconv manpages sys the return is size_t not int
2004-10-26 10:00:27 +00:00
rocky
61e83949c0
Reinstate -1 test.
2004-10-26 09:56:53 +00:00
rocky
3095286c1f
Respect --no-joliet better.
2004-10-26 09:35:47 +00:00
rocky
30a19a1909
Various valgrind-detected memory leaks and unitialized variable errors.
2004-10-26 07:34:41 +00:00
rocky
3cc13c287f
Test for presence of tzset().
2004-10-26 06:33:49 +00:00
rocky
8b895d0ba1
Joliet filename detection for CD images is now done.
...
Various valgrind-caught errors fixed
Output changed: we no longer print root block number.
(It is still shown when XA attributes are printed.)
2004-10-26 01:21:05 +00:00
rocky
1d0bca626b
root_directory accounting is now a little different since we don't
...
count the filename as part of the root_directory record.
2004-10-25 01:41:07 +00:00
rocky
55de6dfdeb
First attempt to extent Joliet to CD reading portion.
2004-10-24 23:42:39 +00:00
rocky
7faabbe647
Was looking at wrong place for joliet/non-joliet.
2004-10-24 13:01:44 +00:00
rocky
4257f24aaa
Add libiconv libraries where needed.
2004-10-24 12:26:28 +00:00
rocky
780afbabfd
Various portability fixes when libiconv isn't available or is broken.
2004-10-24 03:29:31 +00:00
rocky
a492bb4ab6
First cut at Joliet support for ISO 9660 images. More work is needed
...
to integrate this into CD reading.
2004-10-23 20:55:08 +00:00
rocky
b80d83f07b
iso9660.h, iso9660_fs.c: Add iso9660_ifs_is_xa() a routine to
...
determine if an iso image has XA attributes.
bytesex.h and bytesex_asm.h are now public. (Down the line should use
glib though.) Package has been revised to the move.
iso-info.c: shows XA attributes what that it is available.
2004-10-22 01:13:38 +00:00
rocky
ee39520dfc
Change some void * return types to what they really are. The void *
...
was helping to propagate the mistake of not
exporting CdioList in ds.h. CVS:
----------------------------------------------------------------------
include/cdio/iso9660.h lib/iso9660_fs.c CVS:
----------------------------------------------------------------------
2004-10-09 23:20:52 +00:00
rocky
0dd6c21281
Make ds.h public. It should have been that way since it *is* public.
...
Eventually though we'll redo things using glib and then ds.h will get
removed.
2004-10-09 03:20:28 +00:00
rocky
40332db672
Add get_hwinfo functions in image drivers.
2004-09-04 00:06:50 +00:00
rocky
c1905e6879
configure.ac: now in 0.71cvs
...
*.c: lint-like changes. Tested on Sun's SUNPRO cc compiler.
Removed feild initialization lingo (even if it is C99).
2004-09-03 23:20:11 +00:00
rocky
9eb10f8065
Fix bugs in discmode determination. And actually in general due to
...
moving i_first_track to generic structure.
2004-09-02 03:45:49 +00:00
rocky
8f0500c0be
Remove include which is not needed.
2004-09-02 02:33:54 +00:00
rocky
a67ffc5d92
Update for release. I think I have it right this time. (Well, at
...
least Nicolas Boullis doesn't strongly *disagree*).
2004-09-02 00:49:31 +00:00
rocky
9d6cf91c63
Put in later after tested.
2004-08-30 01:59:13 +00:00
rocky
770244c186
Use generic routines for getting first track and number of tracks.
2004-08-30 01:21:59 +00:00
rocky
c5d4c75599
_cdio_osx.c: wasnt' returning CDIO_INVALID_TRACK on TOC read error.
...
cd-info.c: abort sooner if we can't read the TOC.
2004-08-30 01:14:14 +00:00
rocky
1703e7dc00
sector.h: add routines for determining if discmode is DVD or CD.
...
cdtext*: adjust for bigendian or not. Check for double-byte characters.
cd-info.c: new option --dvd. Don't attempt to understand DVD unless this is
given.
2004-08-30 00:26:59 +00:00
rocky
ef7030e53b
Incremented the wrong thing.
2004-08-29 15:16:38 +00:00
rocky
9ac45248ac
Increment before release.
2004-08-29 15:14:57 +00:00
rocky
1e45b03013
cdio.c: missing string for discmode enumeration.
...
_cdio_osx.c: fix a couple of bus faults. Detects DVD-RW properly now.
Better error message for failing to read TOC.
2004-08-29 03:45:34 +00:00
rocky
61374f1161
CD-ROM media type does not indicate whether a CD is CD-DA or CD-DATA
2004-08-29 03:05:53 +00:00
rocky
01f832bdc1
Better error reporting when TOC reading fails. Well at least we try to
...
do better.
env -> p_env some places.
2004-08-29 02:31:34 +00:00
rocky
1db61171af
Some cleanups, possibly bug fixes. Hack in optimistic guess for drive properties.
2004-08-28 16:06:25 +00:00
rocky
1949a54ec9
_cdio_osx.c: add getting hw info. Get some read/write capabilities and
...
disc info.
*generic*: split off CD discmode classification so it can be used by
OSX
cdio: env -> p_env
2004-08-28 09:15:41 +00:00