R. Bernstein
1a7366c674
types.h: gcc before 4.5 has a no-argument form of deprecated.
...
device.h: use LIBCIO_DEPRECATED macro rather than assume gcc.
2012-02-24 05:10:24 -05:00
R. Bernstein
e20dde12c4
Make "distcheck" works again.
...
include/cdio/Makefile.am: was missing inclusion of cdtext.h
test/Makefile.am: remove paranoia test.
2012-02-23 03:47:08 -05:00
rocky
f9bd26cbc2
paranoia code removed. Is now in separate tree under GPL v2+.
...
realpath.c: patch from Debian and N. Boullis
2012-02-19 22:11:14 -05:00
rocky
12876c81fd
Deprecate some defines - patch from Nicolas Boullis.
2012-02-19 13:04:36 -05:00
R. Bernstein
2fea51593b
Incorporate patch #7628 for building outside of source tree. Check for locale en-US.
2011-12-05 07:51:43 -05:00
R. Bernstein
8d43aaca4d
Patch from Leon Merten Lohse: Correct the length of the CD-TEXT block.
2011-12-04 20:29:53 -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
e0b2ee826d
Don't error out on handling "NO PRE_EMPHASIS" in cdrdao TOC.
...
Savannah bug #34826 :
2011-11-16 20:36:22 -05:00
R. Bernstein
f09889f331
Reduce doxygen warnings regarding documenting some parameters.
2011-10-26 21:23:27 -04:00
R. Bernstein
10ba010cb9
src/cd-paranoia.h and include/cdio/cdio_config.h are derived files, so don't include them in the distribution.
2011-10-20 21:46:29 -04:00
R. Bernstein
958476abf4
Add an include to remove any C Preprocessor symbol libcdio's config.h creates. Programs using
...
libcdio can do this:
// for cdio:
// for your program
2011-10-20 20:32:20 -04: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
R. Bernstein
b7203f5d6b
Correct test for enable_cdda to accept either curses.h *or* ncurses.h
...
Add <strings.h> in more places that use bzero. Checks suggested by Blake Jones.
Add preprocessor symbol CDIO_CONFIG_H to <cdio_config.h>
2011-10-20 18:24:10 -04:00
rocky
15cd458874
Use "make" to create include/cdio/cdio_config.h rather than do it in the configure script.
2011-07-08 21:40:07 -04:00
rocky
5ac9df4db8
Reduce range of seek in paranoia_seek to be int32_t. CDDA's definitely live within this range. off_t is influenced by _FILE_OFFSET_BITS and can cause problems on a 32-bit system where _FILE_OFFSET_BITS is set to 64. See Bastiaan Timmer's posting to libcdio-help on July 7, 2011.
2011-07-08 21:15:29 -04:00
R. Bernstein
7d23f847e6
Add git install instructions. Simplify and customize INSTALL. Add dependency to cause version.texi to get created. Update my email address.
2011-05-19 07:43:38 -04:00
rocky
f2438edcbc
Add ISRC track info to cd-info output. Code from Scot C. Bontrager.
2011-05-18 09:48:03 -04:00
rocky
d10938c43c
Add mmc routine to get the ISRC information on a CD that is in the q subchannel
...
but not showing up in the CDTEXT. Contributed by Scot C. Bontrager.
2011-05-17 22:59:36 -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
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
7d52ffcac0
Typo found by Thomas Schmitt.
2010-05-11 10:51:26 -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
ff49db8449
Move another routine from mmc.c into mmc_hl_cmds.c
2010-02-11 06:35:22 -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
57407e65a2
Add CDIO_MMC_GPCMD_READ_TRACK_INFORMATION
2010-02-09 11:26:15 -05:00
R. Bernstein
6b95148431
Comment spelling typos
2010-02-08 21:49:50 -05:00
R. Bernstein
5656a0b14c
Remove duplicate cdio_mmc_disctype_t.
2010-02-08 19:01:14 -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
R. Bernstein
e3d2e21123
glossary.texi, mmc.h: note acronyms SPC-3, MMC-5, SBC-2.
...
glossary.texi: start using texinfo cross references
test/driver/mmc.c: use provided routine for start/stop unit. Warning: might have broken things here.
2010-02-05 13:50:07 -05:00
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