Commit Graph

454 Commits

Author SHA1 Message Date
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
e4b4d564ef manual page corrections. 2012-02-19 12:35:30 -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
rocky
f5a2c6666f cygwin has ncurses.h in <ncurses/ncurses.h> 2011-11-30 06:06:40 -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
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
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
R. Bernstein
273ce72a98 Add remake --task documentation 2011-10-20 06:39:18 -04:00
R. Bernstein
34dc6a0973 Add <strings.h> to pick up definition of bzero. 2011-10-19 22:38:48 -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
dced0a55c4 --no-header omits warranty. Patch from Martin von Gagem. Savannah #29307. 2011-10-04 04:28:36 -04:00
R. Bernstein
6d907afff7 Give CDDB info if *any* tracks are found to be audio tracks. 2011-09-12 21:41:41 -04:00
R. Bernstein
2a0747b6e2 Two more Coverty static analysis issues addressed by Honza Horak. 2011-05-31 14:30:26 -04:00
rocky
940b7cd848 patch from Honza Horak using Coverity's static analysis tool. 2011-05-30 15:19:22 -04:00
R. Bernstein
9be0980337 Change a number of sprintf's to snprintf. 2011-05-27 17:50:56 -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
R. Bernstein
46876a2040 Correct wording in cdda-player comments. For Christopher Yeleighton,
among others.
2011-05-18 04:46:36 -04:00
R. Bernstein
ed6311426d Don't wrap-around volume adjustment for cdda-player. The rationale is that
folks might not look at the volume indicator or know what the max or min values are. See issue #33333 by Christopher Yeleighton.
2011-05-18 03:39:01 -04:00
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
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
ba610a0575 Silence another GCC warning. Thanks to Thomas Schmitt for this. 2010-05-11 13:34:27 -04: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
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
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
b7ef82250e Assume nowadays Standard C is Standard C 2010-01-27 22:24:34 -05:00
R. Bernstein
9edd3db3d2 Better diagnostic messages for MS Window driver. 2010-01-23 21:59:43 -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
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
b4e36da3e2 Removed cd-paranoia.c by accident. 2009-07-11 19:42:04 -04:00
R. Bernstein
5a0ab057c3 MOSTLYCLEANFILES subsumes MAINTAINERCLEANFILES. As Nicolas Boulis
points out, want only the latter.
2009-07-03 19:37:59 -04:00
R. Bernstein
2c804547f7 Merge branch 'master' of rocky@git.sv.gnu.org:/srv/git/libcdio 2009-07-02 20:29:48 -04: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
R. Bernstein
bc634ba342 Merge branch 'master' of rocky@git.sv.gnu.org:/srv/git/libcdio 2009-06-15 09:35:39 -04:00
R. Bernstein
7f8f0f806a Savannah bug #26808 - Multiple definitions of cddb_opts. Helps MinGW/MSys compilation. Patch courtesy of lrn. 2009-06-15 09:31:54 -04:00
rocky
cc08ce617f README.develop: add help2man. Rest - cosmetic changes 2009-05-16 23:01:39 -04: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
37f248aa46 Fix manpage generation on platforms with non-empty EXEEXT,
and fix the VPATH build as well.
2008-12-28 23:11:29 -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
c02aa93af6 Nuke cddb disc ID if --no-cddb option is given. 2008-09-09 14:44:25 +00:00
rocky
1185f7d0f4 Allow compiling cd-info without cddb. Patch thanks to Fabrice Ménard. 2008-09-08 14:45:07 +00:00
flameeyes
a4b1427fe9 Use the LTLIBICONV variable rather than LIBICONV.
With this change, instead of using the fully qualified path to the
shared object (or the one that the configure think is the fully
qualified path), the path where the library is found will be added to
the search path and just a generic -liconv will be used.

The old variable would be fooled up when /usr/lib/libiconv.so is an LD
script that redirects to /lib/libiconv.so, causing failures with some
linkers.

Also, replace @LIBICONV@ for libcdio itself also with $(LTLIBICONV) or
it will fail to link against on uClibc.
2008-08-31 13:38:21 +00:00
rocky
82c7c09a97 Fixes for Mingw+MSYS and DLL support from Carlo Bramini
* configure.ac: Added AC_LIBTOOL_WIN32_DLL for enabling the creation of shared libraries.
* configure.ac: Added -I$(top_srcdir)/include to LIBCDIO_CFLAGS, it allows to build outside the source tree.
* configure.ac: Added LT_NO_UNDEFINED for adding '-no-undefined' switch to libtool when building win32 shared libraries.
* configure.ac: Check for Windows.h presence if under Mingw (included for using Sleep() function).
* configure.ac: Check for more missing functions: setenv(), unsetenv(), sleep(), gmtime_r(), localtime_r().

* example/cdchange.c: If sleep() function does not exist, it tries to emulate it with a similar code (require inclusion of Windows.h)

* src/cddb.c:
* lib/cdda_interface/scsi_interface.c: Compilation fails because u_int32_t is undefined. It has been changed to uint32_t to be compliant to all other parts of the libraries.
* lib/cdda_interface/Makefile.am:
* lib/iso9660/Makefile.am:
* lib/cdio++/Makefile.am:
* lib/paranoia/Makefile.am:
* lib/udf/Makefile.am:
* lib/driver/Makefile.am: added LT_NO_UNDEFINED to libtool flags.
* lib/iso9660/iso9660.c: Added replacements for setenv(), unsetenv(), gmtime_r\
(), localtime_r().
2008-06-25 08:01:53 +00:00
flameeyes
3685c0d78e Mark variables and constant as static in source tools, examples and tests. Also replace some char pointers with char arrays. 2008-06-19 15:44:10 +00:00