Commit Graph

468 Commits

Author SHA1 Message Date
Leon Merten Lohse
2a6f153952 [renamed] cdtext_languages_available to cdtext_list_languages
[fixed] C++ CD-Text API
[fixed] C++ CD-Text example
2012-03-11 16:41:28 +01:00
R. Bernstein
892ff0522e Merge branch 'greenleon' of git.sv.gnu.org:/srv/git/libcdio
Conflicts:
	lib/driver/image/bincue.c
2012-03-10 16:13:58 -05:00
R. Bernstein
abe5b84295 Multilanguage CD-Text from greenleon 2012-03-05 21:22:08 -05:00
Pete Batard
d01a6302cd Remove .cvsignore as well as cdio/paranoia.h 2012-03-05 23:32:09 +00:00
Pete Batard
0074e54f97 More source headers harmonization
* fix missing #ifdefs
* remove spaces and page feeds
* follow same set of rules everywhere, with cdio includes coming
  after standard C includes.
2012-03-05 17:58:56 +00:00
Pete Batard
9b0a90d4ae Fix various issues
* bzero is obsolete
* use HMODULE instead of long win win32 for 64 bit compatibility
* iso9660_seek_read_framesize fails seeking to a position higher than 4 GB
* cd-read produces a warning
* legal-regex should allow for years > 2009
2012-03-05 17:52:30 +00:00
R. Bernstein
09917474d5 Remove more paranoia code 2012-03-04 22:38:17 -05:00
R. Bernstein
ebcc891306 More pbatard patches 2012-03-04 14:49:33 -05:00
R. Bernstein
89fae13500 More pbatard patches 2012-03-04 14:42:40 -05:00
R. Bernstein
d0b09d15ef More patches from the pbatard branch. 2012-03-04 14:37:07 -05:00
rocky
2d456fcba9 src/Makefile.am: Attempt to use GNU set (e.g. on Solaris) 2012-03-04 06:37:53 +01:00
R. Bernstein
e290a8c7f9 More pbatard patches 2012-03-03 20:22:41 -05:00
R. Bernstein
2022037807 More patches from pbatard to reduce warnings, etc. 2012-03-03 20:11:14 -05:00
R. Bernstein
739928df7b Pete Batard's patches offset types especially for MinGW and MS Visual C. 2012-03-03 12:10:53 -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
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