R. Bernstein
f130f66c5d
mmc_hl_cmds.c: remove gcc warning
...
solaris.c: remove unused fn warning when not on solaris
check_cue.sh.in: fix so we can build outside of source tree. With this, "make distcheck" works again.
2012-01-28 20:56:30 -05:00
R. Bernstein
bf40f778d1
CDTEXTFILE directifile should be relative to CUE file.
2012-01-26 00:35:57 -05:00
R. Bernstein
5224ff9556
Find/fix another place in TOC reader where we need to use relative paths. Here in a branch of code for the DATAFILE statement.
2012-01-25 23:36:08 -05:00
rocky
8238905c98
Add replacement for strndup(). MinGW doesn't have it. From Pete Batard again.
2012-01-16 20:15:33 -05:00
rocky
a3fdd2f453
Plug memory leak in iso9660_ifs_readdir() and udf_open().
...
Patches from Pete Batard. See libcdio_devel from Jan 16, 2012.
2012-01-16 19:35:14 -05:00
rocky
f3bee1f59f
Add fft_foward to externs. Used in linking libcdio_cdda
2011-12-16 03:26:38 -05:00
R. Bernstein
29b7baa1d6
Issue #33636 make path names toc/cue files be relative to the toc/cue when no absolute path is specified in toc/cue FILENAME statements.
2011-12-11 10:59:36 -05:00
R. Bernstein
1841da6de0
Add cdio_dirname which I think should complete what we need. Also add test of abs_path and dirname
2011-12-11 10:24:55 -05:00
R. Bernstein
592983743f
Start abs_path and basename to be used in cue files.
2011-12-11 08:28:05 -05:00
R. Bernstein
4a4eeb80d6
Start abs_path and basename to be used in cue files.
2011-12-10 17:36:13 -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
c242ca3997
Look for a NULL destination buffer in mmc_read_cd and return
...
DRIVER_OP_BAD_POINTER in this particular situation.
2011-11-27 17:47:50 -05:00
R. Bernstein
4aa1a16dd1
Move a little bit forward in implementing SILENCE in cdrdao.
...
cdrdao tests now work while being a little more strict.
2011-11-27 10:53:50 -05:00
R. Bernstein
92a8bcb8c8
Add Leon Merten Lohse's cdtext test images.
...
cdrdao.c reduse severity of not finding source - may change my mind later about this...
2011-11-25 13:42:23 -05:00
rocky
9c84c2b7b3
Check that we can find data source and give error when we can't
2011-11-25 09:50:27 +01: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
c0315f0d80
discid ( http://discid.sourceforge.net/ ) using libcdio.
2011-11-05 01:03:27 -04:00
R. Bernstein
6822c3543e
Makefile.am: Increase shared library "current" numbers, zeroing "revision" and "age ".
...
configure.ac: require autoconf at least 2.67
2011-10-21 15:32:57 -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
9eb137206c
sprintf -> snprintf
2011-10-19 21:12:14 -04:00
rocky
b4b810eaf9
solaris.c: sprintf->snprintf as implicitly suggested by Thomas Schmitt
2011-10-20 03:09:40 +02:00
rocky
d3cfa9ed1b
rock.c: small C-Preprocessor bug noticed on Solaris 10 sparc. check_common_fn.in: avoid == for older /bin/sh as Solaris has
2011-10-20 02:58:23 +02:00
R. Bernstein
47e4844390
Solaris patch from Thomas Schmitt to make the Solaris driver capable
...
of detecting drives without vold, and how to implement access mode
MMC_RDWR.
2011-10-18 20:00:56 -04:00
rocky
22b544bde6
Fix a couple of sizeof syntax errors in converting sprintf to snprintf. See bug #34125 .
2011-08-25 00:13:36 -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
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
rocky
9633ef3411
Make sure mmc_isrc_track_read_subchannel is a global symbol
2011-05-17 23:29:40 -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
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
66a3e4689e
Don't think NULL is valid as a parameter any more.
2011-03-28 12:30:36 -04:00
R. Bernstein
d7235c1804
CD-text patches from Leon Merten Lohse to handle double-byte strings. See https://savannah.gnu.org/patch/?7516
2011-03-28 12:27:12 -04: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
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
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
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
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
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
7f37476924
Split off MMC tests which don't involve exclusive access from those that do.
2010-02-10 22:30:37 -05:00