R. Bernstein
5754f64453
Add test/cdtext.right to distribution.
2012-03-03 21:49:17 -05:00
R. Bernstein
0c1e50eab8
Add test/data/cdtext.cue to distribution.
2012-03-03 21:39:06 -05:00
R. Bernstein
3361461cd9
Skip testgetdevices on MinGW for now
2012-03-03 20:59:53 -05:00
R. Bernstein
6e4a15636b
Had messed up on pbatard mmc_write.c sleep patch for MinGW
2012-03-03 20:32:59 -05:00
R. Bernstein
2022037807
More patches from pbatard to reduce warnings, etc.
2012-03-03 20:11:14 -05:00
R. Bernstein
e5ac559bcd
Remove a couple of warnings, some of which were removed in the pbatard branch.
2012-03-03 19:41:48 -05:00
R. Bernstein
2145a5c805
check_legal.regex: wrong regexp. This time, for sure!
2012-03-03 18:32:43 -05:00
R. Bernstein
deb33d6a0b
check_legal.regex: allow matching cd-info.exe.
...
check_common_fn.in: don't erase file cd-info_legal.dump if there is an error.
2012-03-03 16:58:34 -05:00
R. Bernstein
47f417e5dc
Reinstate nrg test for MinGW.
2012-03-03 16:28:19 -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
R. Bernstein
44ddf740e6
test/check_common.sh.in: Avoid $(...) for sh of Solaris 10
2012-03-03 09:47:49 -05:00
R. Bernstein
422693a7cd
Change headers as per pbatard branch to make MinGW work out.
2012-03-03 00:26:20 -05:00
R. Bernstein
a08e5931e0
check_common_fn.in: show command name when we hit an error
2012-03-02 21:42:35 -05:00
R. Bernstein
1772b4eaa3
A slightly better locale-missing fix
2012-02-26 01:29:28 -05:00
rocky
c80d749a86
MinGW doesn't have a locale command
2012-02-26 00:56:53 -05:00
rocky
3ef4cde61a
Skip test/driver/nrg until we work out off_t issues
2012-02-26 00:31:49 -05:00
R. Bernstein
04181f8456
Fix "setlocale: LC_TIME: cannot change locale (en_US" warning during tests.
...
Both 'en_US' and 'en_US.utf8' might be defined on some platforms
From pbatard branch.
2012-02-25 20:27:33 -05:00
R. Bernstein
734c6473b3
Fix some of the tests for MinGW and fix the use of Sleep/usleep for MinGW & MSVC platforms
...
* Sleep takes ms, not s
* Use sleep/Sleep rather than usleep in the cdchange sample, as usleep
is not available on recent MinGW platforms
From pbatard branch.
2012-02-24 22:03:19 -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
c742eed87d
Debian POSIXness fix from N. Boullis
2012-02-19 20:06:47 -05:00
R. Bernstein
8502946c1f
$abs_top_path now seems to really refer to the absolute top path. Adjust data/check locations accordingly.
2012-02-12 09:08:08 -05:00
R. Bernstein
ff70754ebf
$abs_top_path now seems to really refer to the absolute top path. Adjust data/check locations accordingly.
2012-02-12 08:40:58 -05:00
R. Bernstein
96bd9a9993
realpath.c(main): Remove duplicate if condition.
2012-01-28 23:31:24 -05:00
R. Bernstein
6bbab1a4e2
Wasn't showing full command name when check_cue.sh failed.
2012-01-28 23:04:06 -05:00
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
R. Bernstein
8101407bc3
Add cdda.bin which is used in tests
2012-01-17 11:09:18 -05:00
rocky
2fb322806f
Double length of cdtext cue/bin example. Thomas reports on libcdio-devel that the helps some LG drives and wodim.
2011-12-25 15:38:31 -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
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
7b64aa70c6
This cue is burnable via the command: cdrecord -text cuefile=cdtext.cue
2011-11-28 20:33:18 -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
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
rocky
92908a6061
Forgot to add check_legal.regex
2011-10-21 12:38:14 -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
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
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
dced0a55c4
--no-header omits warranty. Patch from Martin von Gagem. Savannah #29307 .
2011-10-04 04:28:36 -04:00
R. Bernstein
43d4987be8
Adjust test output - track now has width for two digits.
2011-05-19 07:53:29 -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
74762179d2
Fix Minor test bug
2010-02-11 05:22:15 -05:00
R. Bernstein
fe85ad4ca9
Go over for coding and code style.
2010-02-11 05:04:39 -05:00