New branch for data track handling fixes
New private API for reading CD TOCs, TOC loading function that correctly handles multiple data tracks
Oops
Use the same data track handling code on Windows, get rid of the Windows 9x implementation which can't handle multi-sessions CDs at all.
Rename disc_win32_new.c to disc_win32.c
Fix compilation on MSVC
define HAVE_SPARSE_READ, LIB-35

to make it easy to optionally use read_sparse()
when available without requiring a current libdiscid.
rename to DISCID_HAVE_SPARSE_READ
update ChangeLog and AUTHORS
doc: last track = last audio track
Provide automatically generated version.h file

version.h includes defines to get version information about libdiscid:
DISCID_VERSION_MAJOR, DISCID_VERSION_MINOR and DISCID_VERSION_PATCH.

Signed-off-by: Sebastian Ramacher <sramacher@debian.org>
fix compilation on SunPro, re #13

tested with:
CC=/opt/SUNWspro/bin/cc cmake .; make
with
$ cc -V
cc: Sun C 5.10 SunOS_sparc 2009/06/03

(hiding of internal symbols works now)
only ignore "discid" at the root

Git add include/discid/discid.h failed before,
since include/discid was matched by .gitignore.
merge version defines to discid.h.in

This way it appears in the documentation and is easier to understand.
fix relative include in discid_private.h

That worked a long time, but with .in includes it breaks
out-of-source builds.
Merge branch 'discid_version'

See pull request #14
use distcheck for distribution

Thanks @kepstin for the tip.
cmake: cleanup out-of-source build

The build worked, but two files were placed in the source tree.
The default for configure_file is to convert a file from the source tree
to one in the binary tree anyways, so just use that.
add DISCID_VERSION_NUM for easy calculation

This is basically one decimal number created using two digits for each
part of the version.
This breaks when patch version > 99 (unlikely) and has to be adapted when
the major version changes (> 0).

MAJOR is not used now, since we can't have leading zeroes.
This would make it an octal number.
move VERSION_NUM calculation to build files

This duplicates the code, but makes discid.h easier to read and
understand.