rocky
d9c63df6ce
Changes to make doxygen doc better.
2004-09-04 23:49:47 +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
a5131730d0
Possibly some C compilers need at least 2 arguments. Noticed on old
...
FreeBSD box.
2004-09-02 01:33:57 +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
a14c20644b
Update for release.
2004-09-01 23:39:17 +00:00
rocky
3021a6db48
How could I have forgotten...
2004-08-30 02:44:44 +00:00
rocky
9d6cf91c63
Put in later after tested.
2004-08-30 01:59:13 +00:00
rocky
b82de3054b
Error messages was slightly incorrect. And add another one of that ilk.
2004-08-30 01:25:09 +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
91af2a7906
cd-info.c: bug in DVD test.
...
sector.h: redo the way the dvd and cd tests work. Isn't strictl necessary, but
this is has fewer implicit dependencies.
2004-08-30 01:01: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
6d9b580440
Note CD-text addition.
2004-08-28 16:31:01 +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
rocky
19991ded7b
add psz_ to hwinfo type.
...
_cdio_linux.c: go back to using SCSI MMC drive cap routine.
2004-08-27 11:53:38 +00:00
rocky
c495bfdfa7
Add p_ where appropriate.
2004-08-27 11:36:45 +00:00
rocky
56c60c8ce1
add p_ where appropriate.
2004-08-27 11:34:44 +00:00
rocky
ae8bb2f892
cd_drives -> ppsz_cd_drives
2004-08-27 11:32:12 +00:00
rocky
7609605f3f
*** empty log message ***
2004-08-27 11:28:03 +00:00
rocky
c4333fa4e3
filename typo: .cvignore -> .cvsignore
2004-08-27 11:26:30 +00:00
rocky
945338288f
Add constant variable to indicate which OS driver we've got in build.
2004-08-27 11:23:40 +00:00
rocky
8610733f12
What's up.
2004-08-27 11:22:40 +00:00
rocky
7454e4375e
Add a couple of routines to pass back the driver used in getting a
...
drive. Speeds up a little the task of opening the drive. Is now used
in cd-drive and cd-info.
2004-08-27 04:17:08 +00:00
rocky
8b61fa9ea5
Use generic SCSI MMC code for getting drive capabilities.
2004-08-27 04:12:29 +00:00
rocky
34d045e2be
Wrong access for setting drive capabilites to unknown.
2004-08-27 02:59:25 +00:00
rocky
758f954e1f
Expose hwinfo call as a cdio command. It was SCSI-MMC. This may help
...
on OSX.
2004-08-27 02:50:13 +00:00
rocky
fb3d481d96
scsi_mmc.c: more aggressive about getting drive capabilites. Try to
...
get length first. Also try CAPABILITIES_PAGEs as well as ALL_PAGEs.
2004-08-27 01:24:40 +00:00
rocky
66b7f9c003
Devices list fixed, compilation error and give up on drive capabilities for now
2004-08-27 00:03:05 +00:00
rocky
4ba0be9187
Show status unknown when it is unknown
2004-08-27 00:02:10 +00:00
rocky
df2eb98bad
Small variable name changes
2004-08-26 10:44:38 +00:00
rocky
86903bbb75
Small formatting changes
2004-08-26 10:43:36 +00:00
rocky
7161a0da11
Save more IOkit information in private structure and separate this
...
from reading TOC.
Many small changes that I hope will eventually get us closer to
getting more drive and CD information although for now it doesn't help
all that much.
2004-08-22 00:43:07 +00:00
rocky
eacbfd3f9d
Partial OSX improvements -- more work is needed.
2004-08-19 04:01:34 +00:00
rocky
1c08b4e69b
Another attempt at a pkgconfig bug workaround
2004-08-19 02:50:35 +00:00
rocky
34749d84ae
Fixes for making libcdio work with pkg-config on Darwin when linking
...
vcdimager and when linking just libcdio. From Steven M. Schultz:
I blew a couple minutes tinkering with libcdio.pc and found that
manually adding a quote character (not even a matched set of quotes!)
around the second -framework was enough.
What works for now is manually editing libcdio.pc after it's been
installed:
Libs: -L${libdir} -lcdio -lm -Wl,-framework -Wl,CoreFoundation -Wl,-framework -Wl,IOKit
to:
Libs: -L${libdir} -lcdio -lm -Wl,-framework -Wl,CoreFoundation "-Wl,-framework" -Wl,IOKit
is enough to get vcdimager compiled and linked.
Appears that the thing to do is somehow get the quotes into
libcdio.pc but not into $LIBS - or something like that at any rate.
2004-08-19 01:12:27 +00:00
rocky
df540d7da5
Make sure pp_scsiTaskDeviceInterface is initialized. The code should
...
probably be reorganized better for this. For now this probably works.
2004-08-18 11:31:58 +00:00
rocky
3d6d01ddbd
Set toc_init even on image drivers. Never know when the could will
...
start needing this, but may as well do now.
2004-08-16 02:04:08 +00:00
rocky
8ddd3bf19f
Initialize gen.toc_init
2004-08-16 01:47:49 +00:00
rocky
499f3f1dbe
Forgot to init CD-Text variables.
2004-08-16 01:04:26 +00:00
rocky
c8000d60e9
_cdio_osx.c: first attempt at issuing general SCSI-MMC passthrough command.
...
others: small changes.
2004-08-16 00:52:53 +00:00
rocky
ff65f7133f
First attempt at getting drive capabilities.
2004-08-15 16:15:40 +00:00