Commit Graph

455 Commits

Author SHA1 Message Date
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
rocky
49defd1cdc restore tab which got lost in cut-and-past. -- A pox on "make".
Thanks to Steve Schultz again for keeping us (more) honest.
2008-04-26 15:16:06 +00:00
rocky
62d7731703 Patch from Peter Hartley to allow Cross-compiling to mingw32:
- MinGW doesn't have struct timespec, so udf_time.c doesn't compile
   (changes lib/udf/udf_time.c, configure.ac, config.h.in)

 - The configure test for bitfield ordering uses AC_TRY_RUN and thus
   doesn't work when cross-compiling; use sneakiness to try and
   determine it at compile time, falling back to the existing runtime
   check if the sneakiness doesn't work
   (changes configure.ac; tested on x86_64-linux-gnu and i586-mingw32
   which are bf_lsbf=1, plus sparc64-linux-gnu which is bf_lsbf=0)

 - The configure test for "extern long timezone" needlessly uses
   AC_TRY_RUN when in fact AC_LINK_IFELSE is all we need to know, and
   that latter works when cross-compiling
   (changes configure.ac)

 - MinGW sys/stat.h doesn't have the *GRP or *OTH macros, nor S_IFLNK
   or S_IFSOCK, nor S_ISUID etc
   (changes lib/udf/udf.c and lib/iso9660/xa.c)

 - MinGW doesn't have <sys/wait.h>, so even the header-inclusion bit
   of the Linux driver doesn't compile unless it's moved inside the
   "ifdef HAVE_LINUX_CDROM"
   (changes lib/driver/gnu_linux.c)

 - Because the man pages cd-info.1 etc depend on the binaries themselves
   (for help2man reasons), the configure options --without-cd-info etc
   don't actually stop them being compiled. Fixed by only depending on
   man pages for programs that are actually built, which also stops
   the installation of man pages of programs which aren't themselves
   installed
   (changes src/Makefile.am)
2008-04-24 07:28:00 +00:00
karl
0e61f3de1a gplv3+ 2008-04-17 17:39:47 +00:00
karl
4f8b039943 gplv3+ 2008-04-14 17:30:26 +00:00
karl
431910a2c0 gplv3+ 2008-04-11 15:44:00 +00:00
karl
3b90a7dda4 update Makefiles to GPLv3+ 2008-03-20 19:02:37 +00:00
rocky
691d64e45b More libiconv escallation. Sigh. 2008-03-15 17:26:13 +00:00
rocky
7b32c1a3de Install pkgconfig files libudf.pc, libcdio++.pc and libiso9660++.pc. Distribute
manual pages for standalone utilities. Suggestions thanks to Nicolas Boullis.
2008-03-15 16:21:28 +00:00
rocky
b04b348e69 test/check_paranoia.sh.in: need to ignore variance in status. 2008-03-08 18:11:11 +00:00
rocky
b78955226e cd-read add --mode='any' which is basically a mmc_read_cd with
CDIO_MMC_READ_TYPE_ANY.
2008-03-06 01:16:49 +00:00
rocky
930f40bd25 Remove what looks like a spurious --output-info (-i) option. 2008-03-03 12:13:34 +00:00
rocky
5f10277136 Add option to cd-paranoia to log summary output to a file. Patch from and
thanks to Daniel Schwarz.
2008-02-29 11:34:15 +00:00
rocky
599b88fd14 Cast to integer because function it seems really might not be
paranoia_mode_t but seems augmented by to additional values below 0. Ugh.
2008-01-19 02:08:27 +00:00
rocky
1f8a5f9d54 cd-info.c iso-info.c More error-tolerant patch from Stanislav Brabec
at SuSE.

 iso9660.hpp: patch to compile libcdio with gcc 4.3 from
Cristian Rodriguez via Stanislav Brabec. Add return statement in
function returning non-void.

mmc-tool.c: remove out-of-bound array access.
2008-01-09 04:26:23 +00:00
rocky
27012a3603 Improper +1 on alloc. 2008-01-03 14:39:29 +00:00
rocky
5afb39d0c1 Remove possible buffer overrun when long joliet names are used.
Savannah Bug #21910.
2007-12-30 15:09:00 +00:00
flameeyes
07f4dffc71 Don't try to use a generic rule for building usage.h or it will fail make distcheck when builddir != srcdir 2007-11-17 11:58:27 +00:00
rocky
d03584ab42 Apparently cygwin's perl sometimes puts in \r's for linefeeds.
Patch from Gary Parks.
2007-11-09 01:25:04 +00:00
rocky
4227500560 Update copyright. 2007-10-21 21:57:09 +00:00
rocky
728ba72929 jp -> ja 2007-10-17 03:12:14 +00:00
rocky
40c531fed9 Remove := in Makefiles for portability.
autoconf 1.10 complains about adding AM_PROC_CC_C_O - pander to it.
2007-10-15 04:53:59 +00:00
rocky
256034ad7a Don't expect TOC reading to report audio mode if we are trying to rip prior to the very first track. And don't give an error here either. 2007-06-18 00:42:08 +00:00
rocky
92ecec76a7 CDDB disc id is an unsigned 32-bit integer, not long which could be
64-bits.
2007-06-16 20:12:16 +00:00
rocky
cd266bbd19 Rename Japan locale to ja. Bug #19880. 2007-05-16 10:00:50 +00:00
rocky
ce30f41003 More potential cdparanoia -> cd-paranoia changes. Note how this
differes from cdparanoia (i.e. not much).
2007-03-09 09:26:43 +00:00
rocky
9eae350c72 Use "getopt.h" , not <getopt.h> 2007-03-09 01:33:42 +00:00
rocky
07b1944cb6 Better strtol fix based on SMS's remark. 2007-03-05 11:49:24 +00:00
rocky
0dc4e4d5ae Set errno=0 before calling strtol(). bug #18131 2007-03-05 11:18:49 +00:00
rocky
244facf18b Had one too many field in structure. 2006-12-04 02:53:10 +00:00
rocky
5a470e52ec Add --ignore (-k). Thanks to Justin F. Hallett for suggesting and testing 2006-11-16 00:31:28 +00:00
rocky
80ab1a301c libcdio.sym: add mmc_close_tray
cdda-player.c, mmc-tool.c: remove possibility of uninitialized return
code variables
2006-04-14 22:17:08 +00:00
rocky
79755a7659 doc fix 2006-04-12 14:55:27 +00:00
rocky
46a68fcbc3 Add access to GPCMD_INQUIRY 2006-04-12 14:49:21 +00:00
rocky
0c2b1bfa9e mmc: add mmc_close_tray().
mmc-tool: add option for close tray and to get mode-sense 2A data.
2006-04-12 09:30:14 +00:00
rocky
a87210b686 Allow multiple sequence of operations. 2006-04-12 03:23:46 +00:00
rocky
cbcfd4ee77 Wrapping fixes 2006-04-07 02:32:03 +00:00
rocky
aca503e166 If a driver doesn't have cdio_get_audio_volume, increase/decrease
volume arbitrarily start off with 50 (midway in range) and we've arranged
that cdda-player will do it's own bookkeeping to figure out what the
current volume level is.
2006-04-07 02:01:46 +00:00
rocky
48d9626a53 Add ability to interactively set volume levels. Keys +/- 2006-04-05 11:46:54 +00:00
rocky
a454dc7194 Tidy up a little. 2006-04-05 04:11:33 +00:00
rocky
5eaec0081d *** empty log message *** 2006-04-05 03:53:01 +00:00
rocky
049e4e2c67 Figure out last line from screen paramaters. (I'm embarrassed it this
wasn't put in earlier.) Play *only* if we weren't previously paused or
playing.
2006-04-05 03:52:21 +00:00
rocky
b9140126a8 Start off playing all tracks.
Set status to show playing all tracks.
2006-04-05 02:35:55 +00:00
rocky
1be50a03fc typo 2006-04-04 02:09:19 +00:00
rocky
edc8056ec9 Clarify the difference betweeen speed as it is defined in the MMC spec
and drive unit speeds. Add a new mmc routine for the latter.
2006-04-04 02:06:12 +00:00
rocky
380b9322ee mmc-tool: tool do issue libcdio mmc commands. 2006-04-04 00:20:48 +00:00
rocky
c5bf341cc3 Add get/set blocksize and MCN commands. 2006-04-04 00:20:13 +00:00
rocky
bcd670d1c6 More strcat, sprintf, and strcpy replacements. 2006-03-18 01:28:13 +00:00
rocky
94eda2ef9d Add --just-hex option to cd-read. Not all OS's agree on what's printable. 2006-03-17 23:37:19 +00:00
rocky
25a76d78cb Put back in getopt.h, getopt.c, getopt1.c. Solaris doesn't always have
it and it's really too much of a hassle to do all that configuration
code to figure out where it is and what has to be done to get it to
work.
2006-03-17 19:36:54 +00:00