Commit Graph

511 Commits

Author SHA1 Message Date
R. Bernstein
0ae0a2ca8b Revise with info from dpANS SCSI Primary Commands-3 (SPC-3). Use sense
data structure in mmc_last_cmd_sense.
2010-02-05 07:40:31 -05:00
R. Bernstein
35b6969a45 Add SCSI sense key values. 2010-02-05 03:37:27 -05:00
R. Bernstein
34bc1ec0b4 mmc.h: Big endian bytes is not the same as big_endian bitfield
mmc.c: more pervasive use of cdio's mmc definitions.
2010-02-04 04:24:43 -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
e281b22c3c Add type definition for SCSI sense data. 2010-02-03 04:53:25 -05:00
R. Bernstein
a08a1f5149 Allow a status parameter in mmc_get_disc_eraseable to be NULL. Suggested by Frank Endres on libcdio-devel mailing list. 2010-01-31 07:46:48 -05:00
R. Bernstein
1b05767201 Update MMC Feature Profile list 2010-01-29 04:48:38 -05:00
R. Bernstein
aef85b1bc7 Add a driver return code parameter to mmc_get_get_disc_erasable. 2010-01-29 03:51:21 -05:00
R. Bernstein
edf69959c1 Add mmc_get_disc_erasable courtesy of Frank Endres. 2010-01-28 19:38:34 -05:00
R. Bernstein
2a125e3471 Fill out parameter descriptions to remove doxygen warnings. 2010-01-28 10:36:59 -05:00
R. Bernstein
fbfc391f28 Regularis some of the mmc Doxygen comments. 2010-01-28 05:06:15 -05:00
R. Bernstein
7d8b6d0a4d cdio_follow_symlink -> cdio_realpath which is really POSIX realpath. (Suggestion via Thomas Schmitt.) gnu_linux.c: report errors when they occur. 2010-01-16 16:44:12 -05:00
R. Bernstein
cb35e2877c Move driver tests into a separate directory. 2009-12-26 11:20:55 -05:00
R. Bernstein
5aec1e0536 Change comment describing LIBCDIO_VERSION_NUM, libcdio_version_num,
CDIO_VERSION.
2009-12-25 19:45:09 -05:00
R. Bernstein
db8ee6e65a Add run-time variables for libcdio version number/string. 2009-12-25 09:14:26 -05:00
R. Bernstein
c498cec5e1 Add interface for retrieval of last SCSI sense command. 2009-12-25 08:36:02 -05:00
R. Bernstein
f996d202b8 Start set/get time routines that tolerate no timezone structure in
struct tm. Solaris is like that. (I think cygwin too.)
2009-12-23 08:49:58 -05:00
R. Bernstein
1b031e0cd6 Merge branch 'master' of rocky@git.sv.gnu.org:/srv/git/libcdio 2009-12-19 18:23:28 -05:00
R. Bernstein
4e8eff137e Thomas Schmitt's first patches towards supporting writing from libcdio. Somewhat experimental and for now just the GNU/Linux driver. 2009-12-19 18:17:18 -05:00
R. Bernstein
35663d6266 Possibly make compiling example programs easier from the outside - don't assume HAVE_CONFIG_H is defined but pick up values from the runtime version of that file. We also now run example programs as tests if they are built. 2009-11-26 05:31:39 -05:00
R. Bernstein
5ead040aea Make doxygen clean. Get ready for 0.82 release. 2009-10-27 07:47:55 -04:00
Nicolas Boullis
91adaa6ff2 Update the documentation in include/cdio/device.h as well. 2009-07-13 00:48:25 +02:00
Nicolas Boullis
70dad66457 Add new cdio_drivers and cdio_device_drivers arrays. 2009-07-13 00:48:24 +02:00
R. Bernstein
58d87158cf Add OS/2 driver courtesy of KO Myung-Hun. Security: Add "%s" to cdparanoia's fprintfs 2009-02-08 05:52:49 -05:00
R. Bernstein
860becb14c Use LTLIBICONV instead of LIBICONV. Bug #25201 from Yaakov Selkowitz 2008-12-28 23:09:25 -05:00
R. Bernstein
ca23ec2ae5 Add check against GNU/Linux driver. More info in include/cdio/config. 2008-12-07 06:40:51 -05:00
R. Bernstein
4f0228e99f Fix bug in 0.81 release in adding NetBSD driver. Make device enumerations
match internal structures. (Also corrected the name for the
non-existent AIX driver.)
2008-12-06 22:35:16 -05:00
R. Bernstein
f434186567 Makefile.am: Redo target for ChangeLog to use git2cl. NEWS: Note NetBSD driver added. Reset: git administrivia. 2008-12-06 20:04:23 -05:00
rocky
8af60f3dce Another small tweak - make sure macro is undefine'd first. 2008-07-16 00:28:54 +00:00
rocky
29cea5c023 Undefine ISODCL and note where this comes from. 2008-07-15 13:37:30 +00:00
rocky
fd6bb03037 Remove cdrtools GPL "v2 only" pollution. iso9660.h is from Eric Youngdale's 1993 GPL v2 or later header from mkisofs 2008-07-15 12:00:54 +00:00
rocky
7036d8d951 iso9660.h: parameter name change to match implementation.
iso9660.c: use reentrant version of localtime and gettime (most of the time)
Patch from Nicolas Boullis.

testiso9660.c: Change a memcmp for a test_compare which gives more detailed
information on failure.
2008-05-28 01:48:37 +00:00
edsdead
b07d491fcd fix up return type of mmc_run_cmd and mmc_run_cmd_len 2008-05-09 06:13:32 +00:00
rocky
70be01d454 cdio_have_xxx is now private. Add p1.bin to distribution. 2008-03-28 01:28:50 +00:00
rocky
0e463dfc0d Start NetBSD driver 2008-03-27 17:40:50 +00:00
karl
0664dad58a gplv3 2008-03-25 15:59:08 +00:00
karl
3b90a7dda4 update Makefiles to GPLv3+ 2008-03-20 19:02:37 +00:00
edsdead
e4ecb61b05 get isrc from nrg files AND new API char * cdio_get_track_isrc(CdIo_t *,track_t); 2008-03-20 01:40:28 +00:00
rocky
51d9652c82 get_track_pregap_lba, get_track_pregap_lsn. Section on "CD-DA pregap" in libcdio manual.
All changes from Robert William Fuller.
2008-03-16 00:12:42 +00:00
rocky
40fe8bcd2d Things needed to make "make distcheck" work.
Makefile.am: forgot paranoia.h header.
check_paranoia.sh.in: need to compare with "right" file $srcdir not "."
2008-03-08 16:45:19 +00:00
rocky
b6868ddc8f Note that iso9660_dir_to_name can return NULL if memory allocation fails. 2008-01-05 12:12:52 +00:00
rocky
8e48c0ad7f Run a Multimedia command (MMC) specifying the CDB length.
The motivation here is for example ot use in is an undocumented
debug command for LG drives (namely E7), whose length is being
miscalculated by mmc_get_cmd_len(); it doesn't follow the usual
code number to length conventions. Patch supplied by SukkoPera.
2007-11-21 03:01:58 +00:00
flameeyes
88e72ac231 Don't install the cdparanoia headers when cd-paranoia is not built nor installed. 2007-11-16 21:52:08 +00:00
rocky
cddf780736 paranoia.h, p_block.c: Add paranoia_set_range and correct #define in paranoia.h
common_interface.c: try to give credit where it is due.
2007-09-28 12:09:38 +00:00
rocky
de2c6a18ae Add iso9660_fs_find_lsn_with_path and iso9660_ifs_find_lsn_with_path to report the full filename path of lsn. 2007-08-11 16:26:14 +00:00
rocky
63f0137d4b read.h: include sys/types.h since some OS's need it.
cdio-eject.c: no real changes. Add copyright.
2007-04-15 16:23:58 +00:00
rocky
6d72edc346 audio.h: doxygenation
Address, Copyright change.
2007-03-16 15:32:48 +00:00
rocky
9e24b5594f Update cdio_read documentation. 2007-02-25 15:58:31 +00:00
gmerlin
efc2151bc1 * Better drive detection for Linux
* cdio_add_device_list() now adds devices with symlinks only once
2006-11-27 19:31:37 +00:00