Commit Graph

105 Commits

Author SHA1 Message Date
rocky
dcbf0eb30a Revert last changes. 2004-11-07 16:29:05 +00:00
rocky
5fdb9585ea Compilation fix. 2004-11-07 06:42:16 +00:00
rocky
e0918d11c1 win32_ioctl.c: minor comment or function name changes.
aspi32.c: use length definitions better.
2004-11-07 06:36:53 +00:00
rocky
c653d900fe Read TOC buf fixes. Now tries MMC FULLTOC and then falls back to
Windows' DeviceIoCtl READ_TOC.
2004-11-07 06:22:49 +00:00
rocky
09d2893bdb Compilation fix. Add line/file/fn info on XBOX. 2004-11-01 10:39:30 +00:00
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
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
4c2ba6c953 Change to make compatible for MSVC 6 and older C compilers. 2004-10-31 05:33:08 +00:00
rocky
f26b991c7c Fixes while trying to merge some of the XBOX changes. 2004-10-30 06:48:17 +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
17a4e2ff4c Cygwin fixes. 2004-10-27 01:16:39 +00:00
rocky
30a19a1909 Various valgrind-detected memory leaks and unitialized variable errors. 2004-10-26 07:34:41 +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
8b61fa9ea5 Use generic SCSI MMC code for getting drive capabilities. 2004-08-27 04:12:29 +00:00
rocky
d1ea5b8e5e typo. 2004-08-10 12:09:20 +00:00
rocky
6725196b0f lib/*.c: create and use get_cdtext_generic.
lib/generic.h: prototypes for _cdio_generic.c (move out of _cdio_private.h)

example/sample10.c, src/util.c: small print format improvement
2004-08-10 11:58:14 +00:00
rocky
f989d329a7 Compilation fixes for Win32 and cd-text breakage. 2004-08-10 03:44:55 +00:00
rocky
e39890f7c8 1st attempt to reduce duplicate CD-Text code. (It works on GNU/Linux)... 2004-08-10 03:03:27 +00:00
rocky
08e99d720d Compilation fixes. 2004-08-08 00:20:21 +00:00
rocky
87f0c9334f Add b_cdtext_init and b_cdtext_error to generic structure. If we
can't read cdtext once, mark as an error and don't try to read again.
2004-08-07 22:58:51 +00:00
rocky
db5ed09ce8 win32.c: initialize capabilities before setting them.
util.c: typo was using read parameter for determining CD-RW writing.
2004-08-06 14:27:33 +00:00
rocky
f9fe21cb6a Was passing in the wrong pointer (p_cdio instead of p_env) 2004-08-05 02:58:46 +00:00
rocky
62d49b41f5 Initialization bugs. 2004-08-03 12:45:40 +00:00
rocky
2ba3136636 Use more common routines. ioctl - not tested. ASPI has bug probably
in running scsi command.
2004-07-29 04:14:44 +00:00
rocky
eeb8ecada1 Bug in generic run_scsi_cmd_win32ioctl: wasn't copying CDB in
and wasn't setting length.
2004-07-28 16:51:15 +00:00
rocky
5c26700f3e Make setting read lengths more precise (and correct). 2004-07-28 11:45:21 +00:00
rocky
257a956093 compilation fixes 2004-07-28 03:17:56 +00:00
rocky
6041f8ae47 msecs 2 secs cleanup 2004-07-28 01:55:03 +00:00
rocky
7716188c38 Make sure milliseconds get converted to seconds if needed.
Some function renaming, and a typo in a DVD book type.
2004-07-28 01:09:59 +00:00
rocky
8e3c103b71 Misc consolidation fixes. Some mode2 reading seems broken still. 2004-07-27 02:21:23 +00:00
rocky
3153e68a3c compilation typo 2004-07-27 01:23:27 +00:00
rocky
db337e5665 More consolidation of code by adding routines to scsi_mmc. 2004-07-27 01:06:01 +00:00
rocky
46d287060c Don't use the cdtext_set_field macro any more. 2004-07-26 11:25:51 +00:00
rocky
8000e161a2 get_dvd_physical common routine now works. 2004-07-26 04:33:21 +00:00
rocky
50532e7025 Try to make get_dvd_physical a common routine. (Haven't tested yet.) 2004-07-26 03:58:25 +00:00
rocky
1b15e56374 Start to break out routines into a device-callable routine as well
as a publically callable routine. The device-callable routine will
be able to change the passthrough routine as M$ has two distinct
routines for aspi and ioctl.
2004-07-26 03:39:55 +00:00
rocky
cf5ec43903 Got test backwards. 2004-07-25 23:32:15 +00:00
rocky
20b4fe48c7 Add ioctl disc mode detection. - Not fully tested yet. 2004-07-25 22:33:54 +00:00
rocky
a0f928de45 Disc mode detection done for aspi. 2004-07-25 21:43:30 +00:00
rocky
fbb7806979 MSWindows: add DVD type determination.
cd-info.c: poor disc-mode error message string
2004-07-25 17:32:19 +00:00
rocky
a7fcd6e83e Compilation fix: run_scsi_cmd is no longer static. 2004-07-25 10:26:22 +00:00
rocky
8ec061202a freebsd: add scsi_mmc_cmd_run and use it.
Others: small changes.
2004-07-24 05:42:09 +00:00
rocky
64febf9a8a Allow scsi_mmc_run_cmd to get called from outside. 2004-07-23 14:40:43 +00:00
rocky
ead37407e7 Add scsi_mmc_run_cmd_win32ioctl and use it. 2004-07-23 14:28:42 +00:00
rocky
091a486c8e Create uniform scsi_mmc_run_cmd routine and use this more pervasively. 2004-07-23 10:59:15 +00:00
rocky
3263eeefae Work on SCSI MMC layer. Some things may be broken. 2004-07-22 09:52:17 +00:00
rocky
91f78d58f9 A little less convoluted 2004-07-19 15:40:47 +00:00
rocky
8a99889f49 Add READTOC format defines. 2004-07-19 01:13:31 +00:00
rocky
752d81db4d Modified for expanded CD-TEXT handling. 2004-07-18 06:51:49 +00:00