Commit Graph

307 Commits

Author SHA1 Message Date
R. Bernstein
70e8d1a6f8 Enable automake enable silent rules which makes it easier to spot warnings.
If Automake v1.10 or earlier is used, AM_SILENT_RESULES is be ignored. Patch
also from Pete Batard.
2012-01-17 11:32:05 -05:00
R. Bernstein
062885bb19 Remove a couple of "possibly unused variable" warnings. Patch from Pete Batard. 2012-01-17 11:24:34 -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
c0315f0d80 discid (http://discid.sourceforge.net/) using libcdio. 2011-11-05 01:03:27 -04:00
R. Bernstein
3dfffd589c libcdio.texi: add information about the cdio/cdio_config.h and cdio_unconfig.hs header mess.
README.libcdio: revise for FreeBSD and other BSDs.
2011-10-21 06:05:17 -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
96343e07bf Note that some adjustments might be needed to compile example programs 2011-10-20 07:00:14 -04:00
R. Bernstein
8002d97db8 Remove CVS $Id$ line which is no longer automatically updated.
ios9660.hpp under FS because of Solaris macro conflict as suggested by Thomas Schmitt.
cd-drive.c: add some casts to remove gcc warnings
src/cd-paranoia/Makefile.am: remove a GNU make idiom.
README.develop: note needing GNU make or remake
2011-10-19 22:01:37 -04:00
R. Bernstein
1cb3a20baa Remove some warnings 2011-10-19 21:25:56 -04:00
rocky
940b7cd848 patch from Honza Horak using Coverity's static analysis tool. 2011-05-30 15:19:22 -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
R. Bernstein
a20dbc952c From Leon Merten Lohse https://savannah.gnu.org/patch/?7532:
* discid field extraction
 * genre field extraction (experimental)
 * blocksize field extraction
 * read charcode from blocksize field
 * some unneeded comments removed
 * unneeded local variables removed
 * typos
2011-04-23 14:43:21 -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
f23ca9a9da Start to remove sleep in favor of usleep. Bug #28543. 2010-02-11 20:10:11 -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
ecff23366e Use mmc_get_disctype in mmc example. 2010-02-08 19:28:44 -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
f112a399d7 Update date 2010-01-30 20:16:10 -05:00
R. Bernstein
8ecd2d9483 Linguistic purity. 2010-01-30 11:51:53 -05:00
R. Bernstein
eb2da6111c Show off drive_erasable() in MMC example. 2010-01-30 11:46:01 -05:00
R. Bernstein
2b4a36f758 Remove more warnings. test/testnrg.c.in -> test/driver/nrg.c.in 2010-01-21 02:58:19 -05:00
R. Bernstein
9c96d2c448 More information around access modes for specific drivers. 2010-01-18 03:39:33 -05:00
R. Bernstein
0297656be1 driver/*.c: Add response for get_arg("mmc-supported?")
example/*.c: remove compiler wranings.
2010-01-17 05:54:02 -05:00
R. Bernstein
67c8623051 lib/driver/libcdio.sym: cdio_realpath is extern now.
udffile.c: remove warning
test/driver/gnu_linux.c: don't have scsi-tuple-linux any more.
2010-01-17 04:49:47 -05:00
R. Bernstein
e06e0d096b Don't eject a CDROM drive door in testing. 2009-12-26 14:33:31 -05:00
rocky
f180cae22d example/* change failures so the record as skipped tests when running 'make check'. 2009-12-26 17:25:05 +01:00
R. Bernstein
de3e47f1b7 Remove one more example program from distcheck 2009-11-26 05:47:02 -05:00
R. Bernstein
ff5d576242 Remove some example program from make check to make "make distcheck" work easier. I would Rather remove programs than coddle automake. 2009-11-26 05:45:27 -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
3844f42df8 Remove some cppcheck style warnings 2009-10-27 21:28:11 -04:00
R. Bernstein
273ba31e3a In 0.83git now. Fix minor leaks in libcdio 0.82 detected by cppcheck
via Eric Sesterhenn.
2009-10-27 21:00:51 -04:00
R. Bernstein
b2dda51f57 Ignore windows executables and stack dumps. 2009-10-21 12:47:50 -04:00
Nicolas Boullis
8e8b18e197 Remove all remaining uses of CDIO_MIN_DRIVER, CDIO_MAX_DRIVER, CDIO_MIN_DEVICE_DRIVER or CDIO_MAX_DEVICE_DRIVER. 2009-07-13 00:48:24 +02:00
R. Bernstein
2522c26ec8 Adapted from patches by Nicolas Boullis on Debian:
* alignment issues on sparc
 * "make check" failure when stderr is not a tty
 * wrong program name in manpages in tarball
 * build failure with hurd
 * "make check" failure on machines with no disc drive
 * make distclean fixes
2009-07-02 20:26:39 -04:00
rocky
5e1989a604 Revise for new paranoia descriptions. 2009-04-20 07:15:09 -04:00
rocky
2c37ff8db5 paranoia.cpp: write WAV file of up to the first 300 sectors of the first track
*/Makefile.am remove any created WAV files.
README: update paranoia descriptions
parananoia.c: track-01.wav -> track01s.wav
2009-04-20 07:06:02 -04:00
rocky
768c2ff249 paranoia.c: slight code touch-up. *.cpp remove lint warnings, e.g. int -> unsigned int 2009-04-20 01:51:40 -04:00
rocky
7306b590ce Administrivia 2009-04-19 04:42:15 -04:00
rocky
f756fe368c Extend paranoia program to write a file with a WAV header 2009-04-19 04:40:12 -04:00
rocky
cbb5fc643b Administrivia 2009-04-19 00:58:43 -04:00
R. Bernstein
a904cc23ec Resolve conflicted files. 2008-12-06 22:46:14 -05:00
R. Bernstein
570d3c6ec5 I hate conflicted merges 2008-12-06 22:44:28 -05:00
R. Bernstein
542481d673 Wasn't checking the range of the device id in cdio_have_driver. Add regression test for checking this too.
More git administrivia.
2008-12-06 21:20:51 -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
R. Bernstein
f594166540 . 2008-11-29 01:40:40 -05:00
R. Bernstein
6175d43311 More administrivia. 2008-11-29 01:04:33 -05:00
R. Bernstein
95f087cdc3 First commit after CVS conversion. Should be just administrative changes. 2008-11-29 00:56:26 -05:00
R. Bernstein
4ea407f746 Initial commit after git-cvsimport (import from CVS). 2008-11-28 21:47:15 -05:00
R. Bernstein
987e4a48ba Remove import path hard-coding. Will have to deal with in a Pythonic way and some package somewhere. 2008-11-28 13:56:44 -05:00
R. Bernstein
641e629100 Add more of the files we need 2008-11-23 23:18:39 -05:00