Commit Graph

48 Commits

Author SHA1 Message Date
rocky
4c2ba6c953 Change to make compatible for MSVC 6 and older C compilers. 2004-10-31 05:33:08 +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
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
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
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
8e3c103b71 Misc consolidation fixes. Some mode2 reading seems broken still. 2004-07-27 02:21:23 +00:00
rocky
db337e5665 More consolidation of code by adding routines to scsi_mmc. 2004-07-27 01:06:01 +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
fbb7806979 MSWindows: add DVD type determination.
cd-info.c: poor disc-mode error message string
2004-07-25 17:32:19 +00:00
rocky
64febf9a8a Allow scsi_mmc_run_cmd to get called from outside. 2004-07-23 14:40:43 +00:00
rocky
91f78d58f9 A little less convoluted 2004-07-19 15:40:47 +00:00
rocky
752d81db4d Modified for expanded CD-TEXT handling. 2004-07-18 06:51:49 +00:00
rocky
e0aa1848e4 Hoist common CD-TEXT routines. 2004-07-17 10:05:54 +00:00
rocky
b02c3fa64f Win32 fixes for new CD-TEXT interface. 2004-07-17 09:12:21 +00:00
rocky
d07ed75256 Corrections for new cdtext interface.
Some more precise track handling when the first track is not 1.
Some of this needs to be tested.
2004-07-17 02:43:41 +00:00
rocky
03db2d51c5 Wasn't calling CD-TEXT win32 ioctl routine. CD-TEXT now works on win32 ioctl. 2004-07-16 13:55:08 +00:00
rocky
3747be0b8b Finish get_MCN for aspi. Use conventions to make look more like
other SCSI passthrough routines.
2004-07-16 01:25:57 +00:00
rocky
b45ada9181 Some code cleanups - more may follow. 2004-07-13 03:59:09 +00:00
rocky
5eb83082eb Add CD-TEXT to MS-Windows ASPI driver. (The first real CD driver!)
In the process we've had to remove "const" from get_aspi.
2004-07-13 03:45:15 +00:00
rocky
4185b45889 Add mode1 reading Lint changes, routine renaming to be like
others. More const's, fewer void *. Attempt drive detection.

There are still many bugs. The code is just a little less bogus.
2004-06-20 15:06:42 +00:00
rocky
2a54d504c0 MSWindows/*: get access mode working better. ASPI support is faulty though
freebsd.c: it's "ioctl" not "IOCTL";
cdrdao: it's cdrdao, not "toc"
cd-info: slightly better error message?
2004-05-16 13:33:26 +00:00
rocky
cf6fd8b4c8 Allow more flexibility in specifying access mode.
"IOCTL" -> "ioctl".
2004-05-13 01:49:01 +00:00
rocky
aab600b46a Make scsi_mmc.h public. 2004-05-10 03:28:51 +00:00
rocky
749dfb717c A better guess when we don't know for sure. 2004-05-08 14:14:03 +00:00
rocky
42d95f5a34 Bring in line with other drivers. 2004-05-06 04:01:52 +00:00
rocky
c9982234a0 Compilation fixes after adjustments. 2004-04-30 22:27:59 +00:00
rocky
e853206824 Compilation fixes and modulization improvements. 2004-04-30 21:36:53 +00:00
rocky
46fd3abf81 compilation fixes. 2004-04-30 07:33:51 +00:00
rocky
7f8cefed11 Add cdio_open_am to allow specifying an access method use for
reading/controlling CD.
2004-04-30 06:54:15 +00:00
rocky
f1675ad319 Fix a simple bug: get_mcn wasn't. 2004-04-24 19:13:10 +00:00
rocky
53bb5de3d6 More drive capability fixups. (Not sure about win32 fixes yet though.) 2004-04-24 11:48:37 +00:00
rocky
4909e8cd43 A little better about detecting drive type via SCSI-3 passthrough.
Still has some problems though.
2004-04-24 04:46:33 +00:00
rocky
6f968b9fe1 Bug in read_mode2 sectors fixed. With this, vcd-info, vcdxrip, vlc and xine
shoudl be able to read okay on win2k!
2004-03-07 02:40:58 +00:00
rocky
e2284cb607 regular *mode2 variable name. 2004-03-06 18:30:44 +00:00
rocky
f6dceffef2 win32.c: wasn't passing along mode2 form1 when requested. 2004-03-06 18:05:37 +00:00
rocky
281585e49d *: Create OS-specific directories.
bincue.c: remove more bogus behavior in mode1/mode2 sector reading.
2004-03-05 12:32:45 +00:00