Commit Graph

296 Commits

Author SHA1 Message Date
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
f4462b558d config.h has to come first else _FILE_OFFSET_BITS are redefined in say opensolaris. Part 2 of patch from Thomas Schmitt 2010-05-30 22:29:09 -04:00
R. Bernstein
f23ca9a9da Start to remove sleep in favor of usleep. Bug #28543. 2010-02-11 20:10:11 -05:00
R. Bernstein
80304a8cef Add mmc_read_disc_information. Change get_disctype to use it and thus it
moves from mmc.c into mmc_hl_cmds.c. Status is now the return type, not
erasable.

Split mmc_cmds.h into mmc_ll_cmds.h and mmc_hl_cmds.h.
test/driver/mmc.c for invalid page check we get the right sense key,
asc, and ascq.
2010-02-09 22:39:05 -05:00
R. Bernstein
ecff23366e Use mmc_get_disctype in mmc example. 2010-02-08 19:28:44 -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
f112a399d7 Update date 2010-01-30 20:16:10 -05:00
R. Bernstein
8ecd2d9483 Linguistic purity. 2010-01-30 11:51:53 -05:00
R. Bernstein
eb2da6111c Show off drive_erasable() in MMC example. 2010-01-30 11:46:01 -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
9c96d2c448 More information around access modes for specific drivers. 2010-01-18 03:39:33 -05:00
R. Bernstein
0297656be1 driver/*.c: Add response for get_arg("mmc-supported?")
example/*.c: remove compiler wranings.
2010-01-17 05:54:02 -05:00
R. Bernstein
67c8623051 lib/driver/libcdio.sym: cdio_realpath is extern now.
udffile.c: remove warning
test/driver/gnu_linux.c: don't have scsi-tuple-linux any more.
2010-01-17 04:49:47 -05:00
R. Bernstein
e06e0d096b Don't eject a CDROM drive door in testing. 2009-12-26 14:33:31 -05:00
rocky
f180cae22d example/* change failures so the record as skipped tests when running 'make check'. 2009-12-26 17:25:05 +01:00
R. Bernstein
de3e47f1b7 Remove one more example program from distcheck 2009-11-26 05:47:02 -05:00
R. Bernstein
ff5d576242 Remove some example program from make check to make "make distcheck" work easier. I would Rather remove programs than coddle automake. 2009-11-26 05:45:27 -05:00
R. Bernstein
35663d6266 Possibly make compiling example programs easier from the outside - don't assume HAVE_CONFIG_H is defined but pick up values from the runtime version of that file. We also now run example programs as tests if they are built. 2009-11-26 05:31:39 -05:00
R. Bernstein
3844f42df8 Remove some cppcheck style warnings 2009-10-27 21:28:11 -04: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
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
rocky
5e1989a604 Revise for new paranoia descriptions. 2009-04-20 07:15:09 -04:00
rocky
2c37ff8db5 paranoia.cpp: write WAV file of up to the first 300 sectors of the first track
*/Makefile.am remove any created WAV files.
README: update paranoia descriptions
parananoia.c: track-01.wav -> track01s.wav
2009-04-20 07:06:02 -04:00
rocky
768c2ff249 paranoia.c: slight code touch-up. *.cpp remove lint warnings, e.g. int -> unsigned int 2009-04-20 01:51:40 -04:00
rocky
7306b590ce Administrivia 2009-04-19 04:42:15 -04:00
rocky
f756fe368c Extend paranoia program to write a file with a WAV header 2009-04-19 04:40:12 -04:00
rocky
cbb5fc643b Administrivia 2009-04-19 00:58:43 -04:00
R. Bernstein
a904cc23ec Resolve conflicted files. 2008-12-06 22:46:14 -05:00
R. Bernstein
570d3c6ec5 I hate conflicted merges 2008-12-06 22:44:28 -05:00
R. Bernstein
542481d673 Wasn't checking the range of the device id in cdio_have_driver. Add regression test for checking this too.
More git administrivia.
2008-12-06 21:20:51 -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
R. Bernstein
f594166540 . 2008-11-29 01:40:40 -05:00
R. Bernstein
6175d43311 More administrivia. 2008-11-29 01:04:33 -05:00
R. Bernstein
95f087cdc3 First commit after CVS conversion. Should be just administrative changes. 2008-11-29 00:56:26 -05:00
R. Bernstein
4ea407f746 Initial commit after git-cvsimport (import from CVS). 2008-11-28 21:47:15 -05:00
R. Bernstein
987e4a48ba Remove import path hard-coding. Will have to deal with in a Pythonic way and some package somewhere. 2008-11-28 13:56:44 -05:00
R. Bernstein
641e629100 Add more of the files we need 2008-11-23 23:18:39 -05:00
R. Bernstein
934d53057d First semblance of distutils setuptools. Not complete yet though. 2008-11-23 23:17:02 -05: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
karl
0a527dedaf gplv3 2008-03-24 15:30:55 +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
50108ffa33 Was accessing out of array bounds. Caught by Stanislav Brabec. 2008-01-09 04:27:16 +00:00
flameeyes
209f1d3358 Add a configure option to disable examples building (useful for distributions, as adding them to noinst will still build them during make all wasting build time. 2008-01-01 03:14:17 +00:00
rocky
962b6ca3c5 Yet another program, yet another ignore 2007-08-12 12:42:16 +00:00
rocky
2a01d008fc iso9660_fs.c: remove some bugs in freeing here.
isolsn.c: Add a sample program for showing the path for given LSN.
2007-08-12 00:56:09 +00:00