2005-10-10  Sven Panne  <sven.panne@aedion.de>

	* admin/freealut.spec: Added. Note that the neededforbuild and
	BuildRequires info is not yet correct, need to figure out how to
	compute those.

	* Makefile.am: Unbreak "make dist". Added documentation.

2005-10-05  Sven Panne  <sven.panne@aedion.de>

	* src/Makefile.am, src/alutInputStream.c, src/alutInternal.h,
	src/alutLoader.c: Factored out codecs. Simplified stream
	interface.

	* src/alutCodec.c: Added.

	* src/alutBufferData.c, src/alutInputStream.c, src/alutInternal.h,
	src/alutLoader.c, src/alutUtil.c, src/alutWaveform.c: More heavy
	refactoring, mainly making the buffer data an abstract data type.

	* test_suite/test_errorstuff.c, test_suite/test_fileloader.c,
	test_suite/test_memoryloader.c, test_suite/test_retrostuff.c,
	test_suite/test_version.c, test_suite/test_waveforms.c: Cleaned up
	and fixed the test suite (always call alutExit before exiting,
	test for AL_NONE instead of 0, no repetitions, more error checks,
	return EXIT_FAILURE on failure).

	* src/alutBufferData.c, src/alutInputStream.c: Forgot to re-indent
	these...

2005-09-30  Sven Panne  <sven.panne@aedion.de>

	* admin/.indent.pro,examples/playfile.c, include/AL/alut.h,
	src/Makefile.am, src/alutInit.c, src/alutInternal.h,
	src/alutLoader.c, src/alutWaveform.c: Some heavy refactoring of
	the input streams and buffer data types, we are moving towards
	common OO techniques here. Not completely finished, but much
	better than before.

	* src/alutBufferData.c, src/alutInputStream.c: Added.

	* src/alutWaveform.c: Instead of the 44.1kHz 16bit PCM data, use
	11.025kHz 8-bit ISDN u-law for the "Hello, world!" sound, saving
	56kB in the resulting ALUT library.

2005-09-28  Sven Panne  <sven.panne@aedion.de>

	* examples/playfile.c, include/AL/alut.h, src/alutError.c,
	src/alutInit.c, src/alutLoader.c: Adapted to spec changes.

	* doc/alut.html: Updated list of error tokens. Replaced
	alutEnumerateSupportedFileTypes with alutGetMIMETypes. More
	reformatting and clarifications.

2005-09-27  Sven Panne  <sven.panne@aedion.de>

	* include/AL/alut.h, src/alutError.c, src/alutInit.c,
	src/alutInternal.h, src/alutLoader.c, src/alutWaveform.c: Adapted
	to spec changes. Added a few missing error checks. Improved
	SampleAttribs a bit.

	* doc/alut.css, doc/alut.html: Make descriptions of API entries
	more formal, following the usual manual page style (not finished
	yet). Added some clarifications. Changed the set of possible ALUT
	errors.

2005-09-26  Sven Panne  <sven.panne@aedion.de>

	* doc/alut.html, include/AL/alut.h, src/alutError.c,
	src/alutInit.c, src/alutInternal.h, src/alutLoader.c,
	src/alutUtil.c: Clarified and changed the ALUT error handling and
	reporting after the corresponding discussion on the mailing list.

2005-09-23  Sven Panne  <sven.panne@aedion.de>

	* admin/.cvsignore: Ignore mkinstalldirs.

	* src/alutLoader.c: Make the endianess test dynamic.

2005-09-21  Sven Panne  <sven.panne@aedion.de>

	* src/alutLoader.c: Removed evil byte-swapping. Fixed WAV loading
	(still not 100% bullet-proof, I think). Cleanup.

	* admin/.indent.pro: Added new typedef.

	* src/alutInternal.h: Handle 32bit sized types on Windows.

2005-09-18  Sven Panne  <sven.panne@aedion.de>

	* src/alutInit.c, src/alutLoader.c: Added a few error checks. Made
	testing for errors more consistent, it should be of the form:

	   if (!<assertion>)
	     {
	       _alutSetError(<error>);
	       <cleanup>
	       return <whatever>;
	     }

	* admin/.indent.pro, examples/.cvsignore, examples/Makefile.am,
	src/alutLoader.c: Merged and heavily modified Erik Hofman's fixes
	for AU/WAV loaders. Some more cleanup + minor fixes.

	* examples/playfile.c: Added.

2005-09-17  Sven Panne  <sven.panne@aedion.de>

	* configure.ac, include/AL/alut.h, test_suite/Makefile.am: Flag
	deprecated functions if possible (VisualC++ .NET and GCC >=
	3.1.1), but be careful to avoid those warnings in our test suite.

	* admin/m4/alut_check_flag.m4, admin/m4/alut_eval_stderr.m4:
	Added.

	* configure.ac, admin/alut.vcproj, include/AL/alut.h: Use
	AL_ALUT_H instead of _AL_ALUT_H, macros starting with "_" are
	reserved by the C standard. For the same reason, rename _ALUTLIB
	to ALUT_BUILD_LIBRARY.

	* README: Added building instructions using VisualStudio.

	* admin/.cvsignore: Ignore files generated by VisualStudio.

	* AUTHORS: Added Erik Hofman. Small reformatting.

	* alut.sln, alut.vcproj, hello_world.vcproj: Added. I have access
	to VisualStudio .NET only, so I can't maintain project files for
	older versions. Note that the OpenAL SDK is assumed to live under
	C:\OpenALSDK, not nice to hardwire this, but I don't see another
	solution currently. Help would be appreciated.

	* alut.dsp, alut.dsw, hello_world.dsp: Removed.

	* configure.ac, src/alutInternal.h, src/alutLoader.c,
	src/alutWaveform.c: As usual, Microsoft chooses to ignore
	standards, this time C99: VisualC doesn't have stdint.h, so hack
	around this omission.

	* Makefile.am: Moved m4 subdirectory to admin where it belongs.

	* admin/m4/alut_c__attribute.m4, admin/m4/alut_check_func.m4:
	Added.

	* m4/alut_c__attribute.m4, m4/alut_check_func.m4: Removed.

	* src/Makefile.am: Fixed headers.

	* .cvsignore: Ignore distribution archives.

2005-09-14  Sven Panne  <sven.panne@aedion.de>

	* src/alutError.c, src/alutInit.c, src/alutLoader.c,
	src/alutUtil.c, src/alutVersion.c, src/alutWaveform.c: Use
	alutInternal.h.

	* src/alutInternal.h: Added. This file should be #included as the
	first header in all *.c files.

	* src/alutError.h, src/alutInit.h: Removed

	* Makefile.am, examples/Makefile.am, src/Makefile.am,
	test_suite/Makefile.am: Automatically build examples and test
	suite now. Moved local autoconf macros to a separate
	directory. Added a few comments.

	* m4/alut_c__attribute.m4, m4/alut_check_func.m4: Added.

	* acinclude.m4: Removed

2005-09-13  Sven Panne  <sven.panne@aedion.de>

	* configure.ac, src/alutLoader.c, src/alutWaveform.c: A few
	compatibility hacks to make it compile on Linux, MinGW/MSYS and
	Cygwin.

	* acinclude.m4: Added.

2005-09-12  Sven Panne  <sven.panne@aedion.de>

	* admin/.cvsignore: Improved ignorance.

	* src/Makefile.am: Cleaned up and fixed include paths. Added
	-no-undefined to libtool linker flags to prepare for building a
	Windows DLL. Added some comments.

2005-09-11  Sven Panne  <sven.panne@aedion.de>

	* configure.ac, src/alutWaveform.c: Cleaned up
	alutCreateBufferWaveform.

	* configure.ac, src/alutInit.c: Header cleanup.

	* src/alutUtil.c: Fixed braino in alutMicroSleep using nanosleep.

	* src/alutInit.c: _alutSanityCheck doesn't terminate the program
	in case of an error anymore, it simply sets the error
	condition. Some additional cleanup.

	* src/alutError.c: Print a message to stderr when an error
	condition is set and the ALUT_DEBUG environment variable is
	defined.

	* src/Makefile.am: Include src/helloworld.wav and src/README in
	distributions.

	* src/README: A few additions and corrections.

	* doc/alut.html: A few clarifications and a little reformatting.

2005-09-10  Sven Panne  <sven.panne@aedion.de>

	* configure.ac, doc/alut.html, examples/hello_world.c,
	include/AL/alut.h, src/Makefile.am, src/alutUtil.c,
	test_suite/test_fileloader.c, test_suite/test_memoryloader.c,
	test_suite/test_retrostuff.c, test_suite/test_waveforms.c: Added
	alutMicroSleep and use it.

	* include/AL/alut.h: Renamed ALUTAPI/ALUTAPIENTRY to
	ALUT_API/ALUT_APIENTRY, so we only #define macros with the ALUT_
	prefix.

	* doc/alut.html, include/AL/alut.h, src/alutLoader.c,
	src/alutWaveform.c, test_suite/test_retrostuff.c: Frequencies are
	ALfloat again.

	* doc/alut.html: Mention openal-config and pkg-config. Reformatted
	a bit.
	
	* doc/alut.css: The body should have the same font-family as the
	headers.

2005-09-09  Sven Panne  <sven.panne@aedion.de>

	* src/Makefile.am: Added libm dependencies.

	* configure.ac, include/AL/alut.h, admin/alut.dsp: Consistently
	use _ALUTLIB when building the ALUT DLL.

	* configure.ac, include/Makefile.am: Install header directly from
	include subdirectory, it is more logical this way.

	* include/AL/Makefile.am: Removed.

	* configure.ac, src/Makefile.am, examples/Makefile.am,
	test_suite/Makefile.am: Hardwire the library name, that kind of
	flexibility is not needed as it would break the ABI.

	* Makefile.am: Added rule to update libtool.

	* configure.ac: Don't change the default prefix (principle of
	least surprise). The alut library should be able to be used by
	dlopen, it doesn't use dlopen (yet). Removed obscure includedir
	adjustment, it is not needed. Removed dead code. Improved logic to
	choose OpenAL library (still not completely right).

2005-09-08  Sven Panne  <sven.panne@aedion.de>

	* src/Makefile.am: Distribute internal headers, too.

	* Makefile.am: Include the Windows stuff in the distribution.

	* autogen.sh: Simply us autoreconf, as recommended in the
	automake/autoconf documentation.

	* README: Fixed typo.

	* .cvsignore, configure.ac, Makefile.am: Put all administrative
	files into admin subdirectory.
	
	* .indent.pro, INSTALL, install-sh, mkinstalldirs,
	win_build/alut.dsp, win_build/alut.dsw, win_build/hello_world.dsp:
	Removed.

	* admin/alut.dsp, admin/alut.dsw, admin/.cvsignore,
	admin/hello_world.dsp, admin/.indent.pro: Added.

	* README: Synched with reality.

2005-09-07  Sven Panne  <sven.panne@aedion.de>

	* autogen.sh: Use -Wall for automake to catch some buglets,
	deprecated stuff, etc.

2005-09-03  Sven Panne  <sven.panne@aedion.de>

	* src/alutLoader.c: Merged patches for AU format from Erik Hofman
	<erik@ehofman.com>, including some changes to the original patch.

2005-09-01  Sven Panne  <sven.panne@aedion.de>

	* doc/alut.html, include/AL/alut.h, src/alutError.c,
	src/alutInit.c, src/alutLoader.c, src/alutVersion.c,
	src/alutWaveform.c: Moved internal function prototypes out of the
	public header. Fixed function prototypes, i.e. foo() (C++)
	vs. foo(void) (C).

	* src/alutError.h, src/alutInit.h: Added.

	* .indent.pro, src/alutInit.c, src/alutLoader.c,
	src/alutWaveform.c, test_suite/test_errorstuff.c,
	test_suite/test_fileloader.c, test_suite/test_memoryloader.c,
	test_suite/test_retrostuff.c, test_suite/test_version.c,
	test_suite/test_waveforms.c: Don't use TABs.

	* test_suite/test_fileloader.c, test_suite/test_memoryloader.c,
	test_suite/test_retrostuff.c, test_suite/test_version.c,
	test_suite/test_waveforms.c: Hopefully make the examples compile
	on WinDoze. Play sounds only a finite number of times, which is
	better for automating things.

	* src/alutError.c, src/alutInit.c, src/alutLoader.c,
	src/alutVersion.c, src/alutWaveform.c,
	test_suite/test_errorstuff.c, test_suite/test_fileloader.c,
	test_suite/test_memoryloader.c, test_suite/test_retrostuff.c,
	test_suite/test_version.c, test_suite/test_waveforms.c:
	Reformatted conforming to GNU standards. Please keep it that
	way...

	* Makefile.am: Added a target "permissions" to fix the broken
	permissions after a checkout. Added a target "indent" to
	automagically indent all C sources and headers according to GNU
	standards.

	* .indent.pro: Added.

	* doc/alut.html, include/AL/alut.h, src/alutError.c,
	src/alutInit.c, src/alutLoader.c, test_suite/test_memoryloader.c,
	test_suite/test_retrostuff.c: A bunch of API cleanups:

	Changed the first parameter of alutInit and alutInitWithoutContext
	to int*, not ALint*. argc is an int, after all.

	Changed return type of alutGetError to ALenum, this is more
	consistent with alGetError.

	Changed the argument of alutGetErrorString to ALenum for the same
	reason.

	Changed the first parameter of alutLoadMemoryFromFileImage and
	alutCreateBufferFromFileImage to "const ALvoid*", this is more
	convenient and more consistent with alBufferData.

	Changed the first parameter of alutLoadWAVFile and
	alutLoadWAVMemory back to ALbyte*, like it was before.

	Changed the frequency parameter of alutLoadMemoryFromFile and
	alutLoadMemoryFromFileImage to an ALuint*, this is more consistent
	with the way AL handles frequencies.

	Changed the return type of alutLoadMemoryFromFile and
	alutLoadMemoryFromFileImage to an ALvoid* for more consistency.

	* doc/alut.html: Added myself. Fixed a few typos and synched
	examples with actual sources. Use code formatting conforming to
	the GNU coding standards.

	* AUTHORS: Added myself.

	* doc/alut.html: Converted spec to XHTML + CSS, no changes to the
	content itself. This is a first step towards using DocBook, which
	is far more flexible regarding the possible output formats
	(XHTML, PDF, PS, ...).

	* doc/alut.css: Added.

	* doc/noise.gif: Removed.

	* include/AL/alut.h: Synched platform-specific parts with the
	AL/ALC headers. Reformatted according to GNU standards.

	* Makefile.am, examples/Makefile.am, src/Makefile.am,
	test_suite/Makefile.am: Do not hardwire any obscure paths into the
	build process, the normal way of using headers/libraries in
	non-standard places is to set CPPFLAGS/LDFLAGS when configuring
	and building.

	* autogen.sh: Small cleanup: Be a good *nix citizen and be quiet
	when everything works. Furthermore, terminate immediately when a
	tool fails.

2005-09-01  Steve Baker  <sjbaker1@airmail.net>

	* examples/Makefile.am, examples/hello_world.c, include/AL/alut.h,
	src/alutLoader.c, src/alutWaveform.c, test_suite/Makefile.am:

	1) Replaced '//' C++ style comments with /*...*/ style for
	portability.

	2) According to the OpenAL headers, the third argument of
	alGetSourcei should be ALint - not ALuint. So 'hello_world.c'
	wouldn't compile. Fixed.

	3) It's a bad idea to sit in a tight loop doing nothing but
	alGetSourcei. On some OS's, this could lock out any other AL
	threads - with disasterous consequences.

	Rather than get into all that complexity in a 'Hello World'
	example, I elected to simply sleep for plenty of time.

	However, I did fixup the 'sleep(seconds)' versus
	'Sleep(microseconds)' issue (good way to be non-portable Mr
	Gates).

	4) Makefile.am had been changed around so that ALUT demo's and
	test_suite would link to the OpenAL library in the current build
	tree. This is bad for many reasons discussed via email - so I
	reverted that change.

	5) Evidently 'strcasecmp' doesn't exist under Windows/MSVC and
	strcasecmp had been replaced with 'strcmp' for Windows. I think
	'stricmp' is the Windows version of strcmp that's case
	insensitive.

	6) I fixed up the lack of a 'random()' function in Windows used
	'rand()' instead. Not the ideal fix but definitely 'good enough'.

2005-08-31  Garin Hiebert  <garinh@cheesetoast.net>

	* win_build/alut.dsp, win_build/hello_world.dsp: Fixed Release
	Build Issues.

	* doc/alut.html, examples/hello_world.c, include/AL/alut.h,
	src/alutLoader.c, src/alutWaveform.c: First Stab At Moving To
	Windows.

	* win_build/alut.dsp, win_build/alut.dsw,
	win_build/hello_world.dsp: Added.

2005-08-30  Sven Panne  <sven.panne@aedion.de>

	* src/alutError.c: Namespace hygiene: Make lastError static

	* examples/.cvsignore, examples/Makefile.am,
	test_suite/.cvsignore, test_suite/Makefile.am: More tweaks to the
	build environment, still a bit hacky...

	* Makefile.am, configure.ac, src/Makefile.am, src/alutError.c,
	src/alutInit.c, src/alutLoader.c, src/alutVersion.c,
	src/alutWaveform.c: Move alut.h to include/AL, so we can always
	use the same kind of #includes and always use the headers from the
	SI, not any installed ones. Things are not perfect yet, but
	better...

	* src/alut.h: Removed.

	* .cvsignore, examples/.cvsignore, include/.cvsignore,
	include/Makefile.am, include/AL/.cvsignore,
	include/AL/Makefile.am, include/AL/alut.h, src/.cvsignore,
	test_suite/.cvsignore: Added.

2005-08-30  Steve Baker  <sjbaker1@airmail.net>

	* src/Makefile.am: Jason Daly said: The current build system makes
	the assumption that OpenAL is installed. This just adds
	-I../../include to pick up the AL headers in the top-level
	directory. ALUT wouldn't build on my system without this (we use
	OpenAL from an NFS-mounted directory).

2005-08-29  Steve Baker  <sjbaker1@airmail.net>

	* README, examples/hello_world.c: Added some more build
	instructions.

	* configure.ac, examples/Makefile.am, src/Makefile.am,
	test_suite/Makefile.am: Fixed up makefiles so they find OpenAL in
	either /usr/local/lib or /usr/lib also fixed ALUT to install in
	/usr/include/AL and /usr/lib/.

	* Makefile.am, README, test_suite/test_memoryloader.c,
	test_suite/test_retrostuff.c: More minor cleanup.

	* src/alutError.c, src/alutInit.c, src/alutLoader.c,
	src/alutWaveform.c: Cleaned up some warning messages when
	-pedantic is enabled.

	* src/alut.h: Added.

	* autogen.sh, configure.ac, install-sh, mkinstalldirs: Added
	autoconf stuff.

2005-08-27  Steve Baker  <sjbaker1@airmail.net>

	* AUTHORS, COPYING, ChangeLog, INSTALL, Makefile.am, NEWS, README,
	doc/alut.html, doc/noise.gif, examples/Makefile.am,
	examples/hello_world.c, src/Makefile.am, src/README,
	src/alutError.c, src/alutInit.c, src/alutLoader.c,
	src/alutVersion.c, src/alutWaveform.c, src/helloworld.wav,
	test_suite/Makefile.am, test_suite/README, test_suite/file1.wav,
	test_suite/file2.au, test_suite/file3.raw,
	test_suite/test_errorstuff.c, test_suite/test_fileloader.c,
	test_suite/test_memoryloader.c, test_suite/test_retrostuff.c,
	test_suite/test_version.c, test_suite/test_waveforms.c: Added ALUT
	1.0.0 Alpha.
