Commit Graph

2700 Commits

Author SHA1 Message Date
rocky
bf7ce1606d Correct erroneous error message. Thanks to Bas Timmer via libcdio-help. 2011-02-24 09:09:05 -05:00
R. Bernstein
42534c91f6 Guard against not having S_ISLNK and S_ISSOCK. 2010-11-30 21:27:43 -05:00
R. Bernstein
52f5643881 Memoery leak reported in paranoia-dev. Fix from billy.donahue. 2010-11-10 21:17:12 -05:00
R. Bernstein
4db957ab7f Makefile.am: Variable was misspelled 2010-10-26 04:31:08 -04:00
R. Bernstein
05a2fb6d35 Merge branch 'master' of git.sv.gnu.org:/srv/git/libcdio 2010-10-22 23:43:01 -04:00
R. Bernstein
122aecc0a9 udf.h, libudf.sym, udf_private.h: expose struct udf_dirent_s and udf_get_lba()
udf_file.c: udf_read_block() Raise level of severity on warning when requested
blocks exceed the number in the extent.
2010-10-22 23:39:19 -04:00
rocky
621e41ed60 Merge branch 'master' of git.sv.gnu.org:/srv/git/libcdio 2010-08-27 17:09:36 -04:00
rocky
e3226cdd2b Typo in doxygen comment 2010-08-27 17:09:14 -04:00
R. Bernstein
f4462b558d config.h has to come first else _FILE_OFFSET_BITS are redefined in say opensolaris. Part 2 of patch from Thomas Schmitt 2010-05-30 22:29:09 -04:00
R. Bernstein
efdd4e8179 Merge branch 'master' of git.sv.gnu.org:/srv/git/libcdio 2010-05-30 01:25:22 -04:00
R. Bernstein
789a90472a Some of the patches from Thomash Schmitt on http://lists.gnu.org/archive/html/libcdio-devel/2010-05/msg00005.html. More later when I get back to the states. 2010-05-30 01:24:59 -04:00
R. Bernstein
e6b6353cb8 uint8_t -> unsigned int. http://en.wikipedia.org/wiki/C_syntax#Bit_fields via Thomas Schmitt 2010-05-11 13:55:08 -04:00
R. Bernstein
ba610a0575 Silence another GCC warning. Thanks to Thomas Schmitt for this. 2010-05-11 13:34:27 -04:00
R. Bernstein
7d52ffcac0 Typo found by Thomas Schmitt. 2010-05-11 10:51:26 -04:00
rocky
883e4e4a96 From Thomas Schmitt: in order to preserve the current behavior over
the CAM changes.
2010-05-07 07:59:25 -04:00
R. Bernstein
9fff09c8fe Compile error when Rock Ridge support is disabled. Savannah bug #29308. 2010-03-23 16:29:27 -04:00
R. Bernstein
3b933bb375 Savannah Patch #7129 from Mike Frysinger:
specifies user-visible e-mail address in AC_INIT
- uses AC_HELP_STRING() for enable/with options
- uses AC_MSG_* instead of `echo` for user notices
- removes redundant test checks for enable/with options
- fixes 3rd arg handling with AC_ARG_ENABLE and --enable-rock and --enable-cddb and --enable-vcd-info
- properly quotes enable/with variables in case someone passes a value with spaces as the enable/with value
2010-03-23 16:20:35 -04:00
R. Bernstein
9a59c307ac Track discmode_t (include/disc.h) enumeration changes 2010-03-23 16:10:42 -04:00
R. Bernstein
c10bee26b6 mmc_util.{c,h} Break simpler non-dependent mmc helper or utility routines from mmc.{c,h} 2010-02-22 15:18:59 -05:00
R. Bernstein
f23ca9a9da Start to remove sleep in favor of usleep. Bug #28543. 2010-02-11 20:10:11 -05:00
R. Bernstein
6e53c6b19f Small change 2010-02-11 06:39:06 -05:00
R. Bernstein
ff49db8449 Move another routine from mmc.c into mmc_hl_cmds.c 2010-02-11 06:35:22 -05:00
R. Bernstein
74762179d2 Fix Minor test bug 2010-02-11 05:22:15 -05:00
R. Bernstein
fe85ad4ca9 Go over for coding and code style. 2010-02-11 05:04:39 -05:00
R. Bernstein
f362f43593 Small changes 2010-02-10 22:40:57 -05:00
R. Bernstein
7f37476924 Split off MMC tests which don't involve exclusive access from those that do. 2010-02-10 22:30:37 -05:00
R. Bernstein
80304a8cef Add mmc_read_disc_information. Change get_disctype to use it and thus it
moves from mmc.c into mmc_hl_cmds.c. Status is now the return type, not
erasable.

Split mmc_cmds.h into mmc_ll_cmds.h and mmc_hl_cmds.h.
test/driver/mmc.c for invalid page check we get the right sense key,
asc, and ascq.
2010-02-09 22:39:05 -05:00
R. Bernstein
245a9a645f Clear sense request valid flag. 2010-02-09 21:35:00 -05:00
R. Bernstein
31b8a4e4fd Test sense key, sense code and additional sense code on invalid page. 2010-02-09 21:30:39 -05:00
R. Bernstein
57407e65a2 Add CDIO_MMC_GPCMD_READ_TRACK_INFORMATION 2010-02-09 11:26:15 -05:00
R. Bernstein
1f41c50b09 sort libcdio.sym. Remove duplicated tests. 2010-02-09 07:49:52 -05:00
R. Bernstein
cbe5ebacd0 Missing some more externals and a file which needs to go into the distribution tarball. 2010-02-09 03:31:28 -05:00
R. Bernstein
c8b86ee520 Drop version number on automake. Add missing externals to libcdio.sym 2010-02-09 03:02:28 -05:00
R. Bernstein
6b95148431 Comment spelling typos 2010-02-08 21:49:50 -05:00
R. Bernstein
ecff23366e Use mmc_get_disctype in mmc example. 2010-02-08 19:28:44 -05:00
R. Bernstein
5656a0b14c Remove duplicate cdio_mmc_disctype_t. 2010-02-08 19:01:14 -05:00
R. Bernstein
100654b51b Fix all fo the bugs I introduced "improving" the code of others.
mmc_ll_cmds.c: mmc_mode_select and mmc_get_configuration now work.
mmc_hl_cmds.c: bug introduced by turning a var into a pointer to that variable.
2010-02-08 16:56:04 -05:00
R. Bernstein
ff23f198d7 glossary.texi: disctype additions/corrections
mmc.c: start test of get_disctype, stylisting convention changes.
Warning: mmc_get_configuration and mmc_get_mode_select are broken.
2010-02-08 07:38:42 -05:00
R. Bernstein
2bc0c8c31c See above. 2010-02-07 21:14:01 -05:00
R. Bernstein
babd3ba543 Add DVD-R DL, HD DVD-R and HD DVD-RAM. 2010-02-07 21:13:20 -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
aa7f7e1315 Start populating mmc/mmc_hl_cmds.c. Create mmc directory in preparation
for making it a library.

mmc.h:  CDIO_MMC_GPCMD_ALLOW_MEDIUM_REMOVAL ->
        CDIO_MMC_GPCMD_PREVENT_ALLOW_MEDIUM_REMOVAL
mmc.c:  Move mm_eject_media and mmc_set_drive_speed to mmc/mmc_hl_cmds.c
mmc_ll_cmds.c: add mmc_prevent_allow_medium_removal,
               move mmc_mode_sense to mmc/mmc_hl_cmds.c
2010-02-07 19:21:33 -05:00
R. Bernstein
d3a0ba06e1 Move more towards making MMC a library. Start to reorganize more to
break out 1-1 SCSI-MMC commands (in mmc_ll_cmds.c) from higher-level
commands which use the lower-level ones.
2010-02-07 18:35:47 -05:00
R. Bernstein
bf7d63b435 Add mcc_test_unit_ready and mmc_mode_select (buggy). Allow for timeouts on
mmc commands - more work needed here too.
2010-02-07 07:20:28 -05:00
R. Bernstein
51f6eb6912 Small cleanups 2010-02-06 23:27:46 -05:00
R. Bernstein
f93e673fd5 lib/driver/mmc.c - DRY code. Warning - might have introduced breakage here
*mmc*: mmc_start_stop_media -> mmc_start_stop_unit,
 CDIO_MMC_GPCMD_START_STOP -> CDIO_MMC_GPCMD_START_STOP_UNIT
cdio++/mmc.hpp: Regularize Doxygen comment format.
2010-02-06 22:53:03 -05:00
R. Bernstein
1687e2633f Start to split off specific mmc commands from the lower-level internals. 2010-02-06 11:59:35 -05:00
R. Bernstein
9cbaad6247 Add CDIO_DISC_MODEs to correspond to updated DVD Book types. 2010-02-06 08:48:22 -05:00
R. Bernstein
630fb9f3ef See above 2010-02-06 08:00:49 -05:00
R. Bernstein
0234042d9a dvd.h: Update DVD book types
disc.c: Add CDIO_DISC_MODE_DVD_OTHER

Thanks to Frank Endes and Thomas Schmitt for observing the problem and suggesting the fixes.
2010-02-06 07:54:46 -05:00