Commit Graph

2848 Commits

Author SHA1 Message Date
flameeyes
1865995df6 Ignore the m4 macro files created by libtool 2.2. 2008-06-16 22:37:11 +00:00
flameeyes
97831db455 Put all macros in the m4 directory, this avoids cluttering the main directory with libtool 2.2 (that split the macros in multiple files). 2008-06-16 22:36:09 +00:00
flameeyes
2c48f4be66 Replace character pointers with character arrays, mark constants as
static as they are not used outside this translation unit (and some
not at all).
2008-06-16 19:45:44 +00:00
flameeyes
a1d1797d3b Replace character pointers in signature_t with properly-sized
character arrays.

The size of sigs has increased a bit but now the sigs array can stay
entirely in .rodata section, with no runtime relocations.

Having 128 bytes sized elements also allows for direct random access
on the array without multiplications.
2008-06-16 19:39:30 +00:00
rocky
3709aca31e --disable-example-progs help text wording change
Ignore test/testpregap.c since that's now derived testpregap.c.in
2008-06-14 22:41:29 +00:00
flameeyes
4410f8dd39 Check in the missing file. 2008-06-14 10:36:49 +00:00
flameeyes
fe433594d4 Make testdefault an extra program, so that it's only built explicitly and not during make all. 2008-06-14 08:27:20 +00:00
flameeyes
e4afadf511 Make checklists fit entirely in .rodata sections, by marking them constant and using an array of characters rather than a pointer to character. 2008-06-13 19:33:13 +00:00
flameeyes
35692e9e83 Make drive exceptions non-static objects that are shared between multiple units.
Also replace the three Dummy functions wth dummy_exception (also common).

Bump the revision.

This reduces the memory footprint of libcdda_interface of about 200 bytes.
2008-06-13 19:26:22 +00:00
flameeyes
fb85aa1533 Cleanup includes, don't include <cstdlib> twice, and include <cstring> rather than <string.h>. 2008-06-13 15:58:50 +00:00
flameeyes
44979ac0f2 Remove trailing backslash. 2008-06-13 15:54:49 +00:00
flameeyes
a25ab3f917 Only install libcdio++ and libiso9660++ pkg-config files if C++ bindings are being built and installed. 2008-06-13 14:29:08 +00:00
pjcreath
233affcfee Fix for automake 1.10 and removal of unnecessary m4. 2008-06-10 02:48:20 +00:00
pjcreath
dde50ca547 Fixed pregap regression failure on non-Intel architectures, removed warnings 2008-06-10 00:45:08 +00:00
rocky
16bf6fccc0 Copies of distribution m4 macros included to avoid extra installation on OSX.
Patch from Peter Creath.
2008-06-09 02:40:33 +00:00
rocky
71b5f6e14a More time setting/getting patches - the last of the patches from N. Boullis.
Make testiso9660 more stringent now that bugs have been removed.
2008-06-03 08:40:14 +00:00
rocky
a8e617dc7d Replace last vestige of non-reentrant gmtime with timegm. Problem
determination and fix again from Nicolas Boullis.
2008-05-31 12:18:33 +00:00
rocky
f03aa75458 iso9660_get_ltime: the TZ environment variable was set using a local
buffer that disappears when the function terminates. This might lead
to segmentation faults. Reset to the old TZ value (if any) or unset
the variable if it was previously not set. Problem noted and fixed by
Nicolas Boullis.
2008-05-31 11:59:06 +00:00
rocky
d60a120854 iso9660.c: On some architectures (like my powerpc), char is unsigned. So when
libcdio tries to adjust "converted ISO9660 timezones" in iso9660_set_ltime
on such architectures, it would replace legitimate negative values with
52.

Cast &_pv_date[16] to "iso712_t *" and then dereference.

Patch from Nicolas Boullis:

doc: small spelling typos.
2008-05-29 02:28:27 +00:00
rocky
7036d8d951 iso9660.h: parameter name change to match implementation.
iso9660.c: use reentrant version of localtime and gettime (most of the time)
Patch from Nicolas Boullis.

testiso9660.c: Change a memcmp for a test_compare which gives more detailed
information on failure.
2008-05-28 01:48:37 +00:00
rocky
e6a0e3e84e Fix prototype mismatch. Savannah Bug #23228 2008-05-11 09:50:54 +00:00
edsdead
c7d17c3fdc don't shift read_sector_type into reserved field of read cd cdb (resulting in every call being treated as CDIO_MMC_READ_TYPE_ANY) 2008-05-09 09:54:39 +00:00
edsdead
58b9aee8e5 fix incorrect behavior and potential buffer overrun in mmc_read_cd when i_blocks exceeds MAX_CD_READ_BLOCKS 2008-05-09 06:43:53 +00:00
edsdead
b07d491fcd fix up return type of mmc_run_cmd and mmc_run_cmd_len 2008-05-09 06:13:32 +00:00
rocky
3f266b669b Changes to testpregap.c to allow to build outside of the source tree. 2008-05-05 23:58:28 +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
8deec6fcc9 gplv3+ 2008-04-22 15:29:11 +00:00
karl
aac7795576 gplv3+ 2008-04-21 18:30:19 +00:00
karl
2328a4872c gplv3+ 2008-04-20 13:44:31 +00:00
karl
2d05460780 gplv3+ 2008-04-18 16:02:09 +00:00
karl
0e61f3de1a gplv3+ 2008-04-17 17:39:47 +00:00
karl
078ddf9564 gplv3+ 2008-04-16 17:00:40 +00:00
rocky
82cb0583bd Install libcdio_paranoia.pc and libcdio_cdda.pc when cdparnaoia is enabled. Thanks to Geotz Waschk for catching this. 2008-04-15 17:35:23 +00:00
karl
4f8b039943 gplv3+ 2008-04-14 17:30:26 +00:00
karl
431910a2c0 gplv3+ 2008-04-11 15:44:00 +00:00
rocky
4b172d9cc2 netbsd.c: add more ops. Doc functions, bring more in line with other drivers. 2008-03-28 02:03:13 +00:00
rocky
70be01d454 cdio_have_xxx is now private. Add p1.bin to distribution. 2008-03-28 01:28:50 +00:00
rocky
0e463dfc0d Start NetBSD driver 2008-03-27 17:40:50 +00:00
edsdead
72d903e5f1 add ISRC updates to NEWS 2008-03-27 10:45:24 +00:00
karl
0664dad58a gplv3 2008-03-25 15:59:08 +00:00
karl
0a527dedaf gplv3 2008-03-24 15:30:55 +00:00
karl
ec0dced0ed gplv3 2008-03-23 17:21:34 +00:00
rocky
da33715a55 NetBSD *can* be included in libcdio. Thanks to Karl Berry for pointing out. 2008-03-22 22:51:30 +00:00
rocky
4d76632b8a Start a nrg image reading test. 2008-03-22 22:43:56 +00:00
karl
06c83dd486 gplv3 2008-03-22 18:08:25 +00:00
rocky
30eb8105b3 More Housekeeping 2008-03-21 10:59:16 +00:00
rocky
d905058970 Bookkeeping 2008-03-21 10:44:01 +00:00
rocky
73393a87fb We no longer use gpl.texi. 2008-03-21 10:42:36 +00:00
rocky
9040ae06a9 cdio_private.h: Remove type mismatch warning on get_track_pregap_lba
when compiling image drivers.

nrg.c: initialize previously uninitialzied field. Bug found by Robert
       William Fuller.

cvs2cl_usermap: add esdead and karl

NEWS: try to track what's been happening.
2008-03-21 10:19:38 +00:00