Commit Graph

31 Commits

Author SHA1 Message Date
rocky
af1b97bfce Pete's changes require a more aggressive use of stdbool.h. 2012-04-23 00:45:58 -04:00
R. Bernstein
892ff0522e Merge branch 'greenleon' of git.sv.gnu.org:/srv/git/libcdio
Conflicts:
	lib/driver/image/bincue.c
2012-03-10 16:13:58 -05:00
R. Bernstein
abe5b84295 Multilanguage CD-Text from greenleon 2012-03-05 21:22:08 -05:00
Pete Batard
9b0a90d4ae Fix various issues
* bzero is obsolete
* use HMODULE instead of long win win32 for 64 bit compatibility
* iso9660_seek_read_framesize fails seeking to a position higher than 4 GB
* cd-read produces a warning
* legal-regex should allow for years > 2009
2012-03-05 17:52:30 +00:00
R. Bernstein
d0b09d15ef More patches from the pbatard branch. 2012-03-04 14:37:07 -05:00
rocky
8eabfdd37a Remove some driver compilation warnings 2012-03-04 14:34:58 +01:00
R. Bernstein
603b32f77f More pbatard patches 2012-03-03 20:18:57 -05:00
R. Bernstein
d0018220cc Reduce complation warnings via changes in pbatard branch 2012-03-03 19:57:05 -05:00
R. Bernstein
b1d2146ab4 Reduce complation warnings via changes in pbatard branch 2012-03-03 19:52:41 -05:00
R. Bernstein
110ab30f17 Silence 'cont_###' set but not used warnings on MinGW
From pbatard branch.
Update copyright date on recently changed files.
2012-02-25 20:41:26 -05:00
R. Bernstein
3d024135b5 Fix missing logging header for aspi32.c/win32.c
From pbatard branch
2012-02-25 20:19:49 -05:00
R. Bernstein
dbf6d24765 1) cdtext objects are no longer associated with a track but with the disc.
2) - cdio_get_cdtext no longer takes track as an argument
- cdtext_get, cdtext_get_const, cdtext_set require track argument
3) Language, Genre, Genre Code and Encoding Fields are now properly parsed and stored in the cdtext object
4) Added public function cdio_get_cdtext_raw to extract the binary CD-Text
5) Added CDTEXTFILE keyword logic in cue sheet parser. Parses binary/raw CD-Text files
6) Added cdtext_genre2str to convert genre code
7) altered the example programs, test drivers, cdda-player and cd-info to work with these changes
8) Added test case
9) A few smaller changes
A disc either holds CD-Text for all the tracks or does not hold any. Therefore a CD-Text object for the whole disc seems more natural to me. It also enables us to store global fields, like genre, encoding, language.

Patch was tested on GNU/Linux 32 bit running Gentoo.
2011-11-24 20:54:40 -05:00
R. Bernstein
f215cad224 Make sure config.h or the copy of that gets included only once to reduce duplicate include
warnings.
2011-10-20 19:44:10 -04:00
rocky
22b544bde6 Fix a couple of sizeof syntax errors in converting sprintf to snprintf. See bug #34125. 2011-08-25 00:13:36 -04:00
R. Bernstein
9be0980337 Change a number of sprintf's to snprintf. 2011-05-27 17:50:56 -04:00
R. Bernstein
245a9a645f Clear sense request valid flag. 2010-02-09 21:35:00 -05:00
R. Bernstein
2d3b7d28b4 Add SCSI-MMC GET CONFIGURATION.
Add Frank Endres' disc type determination via MMC.
Be more careful to suffix with CDIO_MMC which I hope will reduce possible name conflicts.
2010-02-07 21:04:21 -05:00
R. Bernstein
e3a5e16cbb mmc.h: TEST_UNIT_READY MMC command opcode
device.h: Add DRIVER_OP_MMC_SENSE to driver_return_code_t.

win32_ioctl.c: work around MS bug where buffer sizes are 0 or 1. Set
return code status if sense data passed back. Translate bad parameter
MS Windows error into a driver_return_code_t error.

test/driver/mmc.c: Reinstate old logic now that the MS Windows driver
has been made to work more like other drivers and copes with some of
the MS Windows causing failure here.
2010-02-03 21:43:05 -05:00
R. Bernstein
991ea303d7 Add more doxygen comments as to sense request information means and add a typedef for mmc_sense_request.
Use this in win32_ioctl.c.
2010-02-03 05:22:20 -05:00
R. Bernstein
60b237a161 MS Windows iocontrol SCSI Passthrough fixes. Change test/driver/mmc.c - we
can't that when we get sense data, that we also gegt status back that pass through fails.
On MS Windows it doesn't seem to work that way.
2010-02-02 22:15:55 -05:00
R. Bernstein
8e9339917c Format windows error messages better. 2010-01-31 23:19:56 -05:00
R. Bernstein
5f10331adb MS Windows driver hacking hopefully to get closer to passing back sense data.
For now it seems that some pass-through direct doesn't work while the less-good passthrough does. Sigh.
2010-01-31 21:31:08 -05:00
R. Bernstein
a41cfed2a1 Add cdio_get_arg("scsi-tuple") for Win32 ioctl. 2010-01-29 23:25:59 -05:00
R. Bernstein
9edd3db3d2 Better diagnostic messages for MS Window driver. 2010-01-23 21:59:43 -05:00
R. Bernstein
fa897e85b9 Extend win32 test to check get_arg("mmc-supported?"). Turn ASPI load failer into an info message 2010-01-18 03:30:40 -05:00
R. Bernstein
3bdc6820e5 Bug fixes in test/driver programs 2010-01-18 03:08:30 -05:00
R. Bernstein
fe77f93bf7 Start to request sense data in DeviceIOControl of MS Windows. gnu_linux.c: small changes. 2010-01-01 05:52:52 -05:00
R. Bernstein
4819e7e0c4 Closer to having RW access working 2009-12-31 23:58:01 -05:00
WIndows XP
309bff3441 Last change to gnu_linux.c broke things on non GNU/Linux 2009-12-31 22:21:11 -05:00
WIndows XP
67e1f57468 First attempt to add sense retrieval in Windows driver. Clean up
return code in run_mmc_cmd_aspi.
2009-12-25 16:32:08 -05:00
R. Bernstein
95f087cdc3 First commit after CVS conversion. Should be just administrative changes. 2008-11-29 00:56:26 -05:00