resetting manifest requested domain to floor
[platform/upstream/freealut.git] / ChangeLog
1 2006-05-22  Sven Panne  <sven.panne@aedion.de>
2
3         * Prepared release candidate 1 for 1.1.0, tag is "freealut_1_1_0_RC1".
4
5         * NEWS: Added news for 1.1.0.
6
7 2006-05-11  Sven Panne  <sven.panne@aedion.de>
8
9         * README, admin/VisualStudio6/alut/alut.dsp,
10         admin/VisualStudio6/hello_world/hello_world.dsp,
11         admin/VisualStudio6/playfile/playfile.dsp,
12         admin/VisualStudioDotNET/alut/alut.vcproj,
13         admin/VisualStudioDotNET/hello_world/hello_world.vcproj,
14         admin/VisualStudioDotNET/playfile/playfile.vcproj: Changed the paths to
15         the headers and the library to conform to the default of the current
16         OpenAL SDK installer from Creative.
17
18         * src/alutWaveform.c(getWaveformFunction): To avoid warnings on VC6, add
19         some redundant '&' operators.
20
21         * include/AL/alut.h: Added some fragile logic to find the right path to
22         the OpenAL headers.
23
24 2006-04-12  Sven Panne  <sven.panne@aedion.de>  
25
26         * configure.ac: To guarantee version consistency, generate .spec
27         file via configure.
28
29         * admin/RPM/.cvsignore, admin/RPM/freealut.spec.in: Added.
30
31         * admin/RPM/freealut.spec: Removed.
32
33         * CMakeLists.txt, admin/VisualStudio6/alut/alut.dsp,
34         admin/VisualStudioDotNET/alut/alut.vcproj, admin/autotools/.indent.pro,
35         configure.ac, include/AL/alut.h, src/Makefile.am, src/alutBufferData.c,
36         src/alutInternal.h, src/alutLoader.c, src/alutUtil.c,
37         src/alutWaveform.c: Implemented alutLoadMemoryHelloWorld and
38         alutLoadMemoryWaveform. Refactored things internally a bit, mainly by
39         making an InputStream the central kind of sound data source. Introduced
40         the OutputStream type for generating built-in sounds. Bumped the package
41         version to 1.1.0 and the library version to 1:0:1 (i.e. a backwards
42         compatible version, only with new features). Added --enable-efence
43         configure option.
44
45         * src/alutOutputStream.c: Added.
46
47         * doc/alut.html: Added a few missing ALUT_ERROR_OUT_OF_MEMORY error
48         conditions in the descriptions of the loaders. Added
49         alutLoadMemoryHelloWorld and alutLoadMemoryWaveform. Bumped spec version
50         to 1.1.0.
51
52         * doc/alut.css: Added a remark how to make the headers stand out a
53         little bit more.
54
55 2006-04-10  Sven Panne  <sven.panne@aedion.de>
56
57         * doc/alut.html: Fixed foo-config documentation. Minor cleanup.
58
59 2006-03-05  Prakash Punnoor <prakash@punnoor.de>
60
61         * admin/CMakeModules/FindSleepFunction.cmake: sync to OpenAL version
62
63         * Makefile.am: add CMake Modules to EXTRA_DIST
64
65         * CMakeLists.txt: make more windows friendly; variables
66         OPENAL_INCLUDE_DIR and OPENAL_LIB_DIR introduced
67
68 2006-02-13  Sven Panne  <sven.panne@aedion.de>
69
70         * configure.ac, src/Makefile.am: Added version info.
71
72 2006-02-16  Prakash Punnoor <prakash@punnoor.de>
73
74         * CMakeLists.txt: don't check for unistd.h twice
75
76 2006-02-13  Prakash Punnoor <prakash@punnoor.de>
77
78         * CMakeLists.txt: forgot to delete old visibility macro; use OpenAL
79         module for sleep function detection; define _POSIX_C_SOURCE and add
80         comments from configure.ac
81
82 2006-02-13  Sven Panne  <sven.panne@aedion.de>
83
84         * configure.ac: We might need nanosleep, which is a POSIX IEEE Std
85         1003.1b-1993 feature, so tell our system headers about that. Fixes the
86         build e.g. on an old SuSE 8.2 distro.
87
88         * NEWS: Fixed release date.
89
90         * doc/alut.html: Fixed broken link.
91
92 2006-02-11  Sven Panne  <sven.panne@aedion.de>
93
94         * Released Version 1.0.1, CVS tag is "freealut_1_0_1".
95
96 2006-02-07  Prakash Punnoor <prakash@punnoor.de>
97
98         * CMakeLists.txt: Define __NO_CTYPE
99
100 2006-02-07  Sven Panne  <sven.panne@aedion.de>
101
102         * admin/RPM/freealut.spec: Bumped to 1.0.1, too. We should really
103         automate this.
104
105         * NEWS, src/alutUtil.c: When nanosleep returns early due to a signal,
106         continue sleeping, otherwise return AL_FALSE from alutSleep.
107
108         * NEWS: Prepared for 1.0.1 release, probably more to come.
109
110         * configure.ac: Use AC_DEFINE instead of specifying preprocessor defines
111         by hand. Added a tiny comment.
112
113 2006-02-06  Prakash Punnoor <prakash@punnoor.de>
114
115         * CMakeLists.txt: Use modules written for OpenAL, fixing various issues;
116         bumped version.
117
118         * admin/CMakeModules/FindCompilerAttribute.cmake,
119         admin/CMakeModules/FindCompilerFlagsSet.cmake,
120         admin/CMakeModules/FindCompilerVisibility.cmake,
121         admin/CMakeModules/admin/CMakeModules/FindConfigHelper.cmake,
122         admin/CMakeModules/FindSleepFunction.cmake: added
123
124         * configure.ac: Added symbol visibility support.
125
126 2006-02-06  Sven Panne  <sven.panne@aedion.de>
127
128         * admin/pkgconfig/Makefile.am: Use a more portable way of defining
129         pkgconfdir (by Andreas Bierfert).
130
131 2006-02-04  Sven Panne  <sven.panne@aedion.de>
132
133         * include/AL/alut.h: Use visibility attribute only when building ALUT
134         library.
135
136         * configure.ac: Fixed CR/LF vs. LF issue in configure on Windows. Bumped
137         version to 1.0.1.
138
139 2005-12-17  Prakash Punnoor <prakash@punnoor.de>
140
141         * CMakeLists.txt, include/AL/alut.h: GCC visibility support.
142
143 2005-12-16  Sven Panne  <sven.panne@aedion.de>
144
145         * Released Version 1.0.0, CVS tag is "freealut_1_0_0".
146
147         * admin/pkgconfig/freealut-config.in, admin/pkgconfig/freealut.pc.in:
148         Fixed copy-n-paste typo. Somehow this fix didn't make into RC2...
149
150 2005-12-15  Sven Panne  <sven.panne@aedion.de>
151
152         * Makefile.am, admin/RPM/freealut.spec, configure.ac: Build and install
153         freealut-config and a pkg-config description.
154
155         * admin/.cvsignore, admin/Makefile.am, admin/pkgconfig/.cvsignore,
156         admin/pkgconfig/Makefile.am, admin/pkgconfig/freealut-config.in,
157         admin/pkgconfig/freealut.pc.in: Added.
158
159 2005-12-15  Prakash Punnoor <prakash@punnoor.de>
160
161         * README: CMake cache clearing typos
162         
163         * CMakeLists.txt: also make freealut-config and freealut.pc; sync
164         VERSION to configure.ac
165
166 2005-12-12  Prakash Punnoor <prakash@punnoor.de>
167
168         * README: CMake cache clearing
169
170 2005-12-10  Sven Panne  <sven.panne@aedion.de>
171
172         * src/alutInit.c (alutExit): Do a full sanity check only when ALUT
173         itself owns the context, an external context might have been destroyed
174         before alutExit is called.
175
176 2005-12-05  Prakash Punnoor <prakash@punnoor.de>
177
178         * Makefile.am: add CMakeLists.txt to EXTRA_DIST
179         
180         * README: add CMake use instructions
181
182 2005-12-04  Prakash Punnoor <prakash@punnoor.de>
183
184         * CMakeLists.txt: add -DNDEBUG
185         
186         * AUTHORS: add myself
187
188 2005-12-03  Sven Panne  <sven.panne@aedion.de>
189
190         * configure.ac, include/AL/alut.h, src/alutBufferData.c,
191         src/alutInputStream.c, src/alutLoader.c src/alutWaveform.c: Avoid
192         generating a depedency on GLIBC 2.3. Added --enable-more-warnings
193         configure flag and fixed the resulting warnings.
194
195 2005-12-03  Prakash Punnoor <prakash@punnoor.de>
196
197         * CMakeLists.txt: made pretty feature-complete
198
199 2005-12-02  Prakash Punnoor <prakash@punnoor.de>
200
201         * src/alutCodec.c, src/alutLoader.c: fix warnings
202         
203         * CMakeLists.txt: added; doesn't build examples/tests yet
204
205 2005-11-28  Sven Panne  <sven.panne@aedion.de>
206
207         * test_suite\Makefile.am: Distribute example sounds, too.
208
209         * admin/RPM/freealut.spec: Updated build dependencies.
210
211 2005-11-27  Sven Panne  <sven.panne@aedion.de>
212
213         * src/alutCodec.c, src/alutLoader.c, src/alutWaveform.c: Re-indented.
214
215         * Makefile.am, README, configure.ac: Rearranged the admin subdirectory a
216         little bit, making it hopefully clearer which files belong to which
217         build system.
218
219         * admin/RPM/freealut.spec, admin/autotools/.cvsignore,
220         admin/autotools/.indent.pro, admin/autotools/m4/alut_c__attribute.m4,
221         admin/autotools/m4/alut_check_cflags_wall.m4,
222         admin/autotools/m4/alut_check_flag.m4,
223         admin/autotools/m4/alut_check_func.m4,
224         admin/autotools/m4/alut_eval_stderr.m4: Added.
225
226         * admin/.cvsignore, admin/.indent.pro, admin/freealut.spec,
227         admin/m4/alut_c__attribute.m4, admin/m4/alut_check_cflags_wall.m4,
228         admin/m4/alut_check_flag.m4, admin/m4/alut_check_func.m4,
229         admin/m4/alut_eval_stderr.m4: Removed.
230
231         * src/alutBufferData.c, src/alutCodec.c, src/alutInputStream.c,
232         src/alutInternal.h, src/alutLoader.c, src/alutWaveform.c: Consistently
233         use size_t for sizes internally, because ALsizei is signed and we don't
234         want to lose a bit (2GB vs. 4GB limits).
235
236         * admin/VisualStudioDotNET/.cvsignore,
237         admin/VisualStudioDotNET/alut.sln,
238         admin/VisualStudioDotNET/alut/.cvsignore,
239         admin/VisualStudioDotNET/alut/alut.vcproj,
240         admin/VisualStudioDotNET/hello_world/.cvsignore,
241         admin/VisualStudioDotNET/hello_world/hello_world.vcproj,
242         admin/VisualStudioDotNET/playfile/.cvsignore,
243         admin/VisualStudioDotNET/playfile/playfile.vcproj: Added. The structure
244         is now similar to the Visual Studio 6 directory and the
245         solution/projects are now usable with older versions of Visual Studio
246         .NET.
247
248         * admin/alut.sln, admin/alut.vcproj, admin/hello_world.vcproj,
249         admin/playfile.vcproj: Removed.
250
251         * admin/VisualStudio6/.cvsignore, admin/VisualStudio6/alut.dsw,
252         admin/VisualStudio6/alut/.cvsignore, admin/VisualStudio6/alut/alut.dsp,
253         admin/VisualStudio6/hello_world/.cvsignore,
254         admin/VisualStudio6/hello_world/hello_world.dsp,
255         admin/VisualStudio6/playfile/.cvsignore,
256         admin/VisualStudio6/playfile/playfile.dsp: Added Visual Studio 6
257         workspace and projects.
258
259         * src/alutCodec.c: Silence a useless Visual C 6 warning.
260
261         * src/alutInternal.h: Visual C 6's basetsd.h has no definitions for
262         sized integral types, so let's define them by hand.
263
264 2005-11-25  Sven Panne  <sven.panne@aedion.de>
265
266         * admin/alut.vcproj: Use "Multi-threaded DLL (/MD)" and "Multi-threaded
267         Debug DLL (/MDd)" as the runtime library, bringing down the size of
268         alut.dll to something sensible.
269
270         * examples/playfile.c, test_suite/test_fileloader.c,
271         test_suite/test_memoryloader.c, test_suite/test_retrostuff.c: Changed
272         literal ALfloat constants from 0.1 to 0.1f, silencing Visual C.
273
274         * configure.ac: Tell the system headers that we might use POSIX/XPG
275         entitites like struct timespec or random(), which are not in the ANSI
276         standard. Do not define any user variables like CFLAGS. Split the old
277         configure flag --enable-warnings into a pair --enable-warnings and
278         --enable-werror. Use a (modified) macro from the autoconf archive to
279         detect strict warning flags.
280
281         * admin/m4/alut_check_cflags_wall.m4: Added. It is a modified version of
282         ax_cflags_warn_all_ansi.m4 from the autoconf archive, updated to conform
283         to more recent autoconf standards.
284
285 2005-11-21  Sven Panne  <sven.panne@aedion.de>
286
287         * configure.ac: Removed --enable-debug option, it was unused.
288
289 2005-11-19  Sven Panne  <sven.panne@aedion.de>
290
291         * doc/alut.html: Added a remark about LD_PRELOAD to use old
292         binaries with the new ALUT.
293
294 2005-11-17  Sven Panne  <sven.panne@aedion.de>
295
296         * src/alutInit.c: Fixed alutInitWithoutContext initialisation
297         state check.
298
299 2005-10-29  Sven Panne  <sven.panne@aedion.de>
300
301         * examples/hello_world.c, examples/playfile.c ,include/AL/alut.h,
302         src/alutUtil.c, test_suite/test_fileloader.c,
303         test_suite/test_memoryloader.c, test_suite/test_retrostuff.c,
304         test_suite/test_waveforms.c: Synched implementation with latest spec
305         changes.
306
307         * doc/alut.html: As discussed on the mailing list, sleeping is now done
308         via an ALfloat. This is more consinstent with physical reality and
309         alutCreateBufferWaveform. Note that alutSleep can actually fail now,
310         something which the former alutMicroSleep never did.
311
312         * src/alutLoader.c: Re-indented.
313
314 2005-10-24  Sven Panne  <sven.panne@aedion.de>
315
316         * src/alutLoader.c, src/alutWaveform.c: Added a few harmless casts where
317         Visual Studio was complaining about a possible loss of precision.
318
319         * admin/alut.vcproj: Added the recently introduced source files.
320
321 2005-10-10  Sven Panne  <sven.panne@aedion.de>
322
323         * examples/playfile.c: Added missing alutExit call.
324
325 2005-10-21  Sven Panne  <sven.panne@aedion.de>
326
327         * admin/freealut.spec: Added. Note that the neededforbuild and
328         BuildRequires info is not yet correct, need to figure out how to compute
329         those.
330
331         * Makefile.am: Unbreak "make dist". Added documentation.
332
333 2005-10-05  Sven Panne  <sven.panne@aedion.de>
334
335         * src/Makefile.am, src/alutInputStream.c, src/alutInternal.h,
336         src/alutLoader.c: Factored out codecs. Simplified stream interface.
337
338         * src/alutCodec.c: Added.
339
340         * src/alutBufferData.c, src/alutInputStream.c, src/alutInternal.h,
341         src/alutLoader.c, src/alutUtil.c, src/alutWaveform.c: More heavy
342         refactoring, mainly making the buffer data an abstract data type.
343
344         * test_suite/test_errorstuff.c, test_suite/test_fileloader.c,
345         test_suite/test_memoryloader.c, test_suite/test_retrostuff.c,
346         test_suite/test_version.c, test_suite/test_waveforms.c: Cleaned up and
347         fixed the test suite (always call alutExit before exiting, test for
348         AL_NONE instead of 0, no repetitions, more error checks, return
349         EXIT_FAILURE on failure).
350
351         * src/alutBufferData.c, src/alutInputStream.c: Forgot to re-indent
352         these...
353
354 2005-09-30  Sven Panne  <sven.panne@aedion.de>
355
356         * admin/.indent.pro,examples/playfile.c, include/AL/alut.h,
357         src/Makefile.am, src/alutInit.c, src/alutInternal.h, src/alutLoader.c,
358         src/alutWaveform.c: Some heavy refactoring of the input streams and
359         buffer data types, we are moving towards common OO techniques here. Not
360         completely finished, but much better than before.
361
362         * src/alutBufferData.c, src/alutInputStream.c: Added.
363
364         * src/alutWaveform.c: Instead of the 44.1kHz 16bit PCM data, use
365         11.025kHz 8-bit ISDN u-law for the "Hello, world!" sound, saving 56kB in
366         the resulting ALUT library.
367
368 2005-09-28  Sven Panne  <sven.panne@aedion.de>
369
370         * examples/playfile.c, include/AL/alut.h, src/alutError.c,
371         src/alutInit.c, src/alutLoader.c: Adapted to spec changes.
372
373         * doc/alut.html: Updated list of error tokens. Replaced
374         alutEnumerateSupportedFileTypes with alutGetMIMETypes. More reformatting
375         and clarifications.
376
377 2005-09-27  Sven Panne  <sven.panne@aedion.de>
378
379         * include/AL/alut.h, src/alutError.c, src/alutInit.c,
380         src/alutInternal.h, src/alutLoader.c, src/alutWaveform.c: Adapted to
381         spec changes. Added a few missing error checks. Improved SampleAttribs a
382         bit.
383
384         * doc/alut.css, doc/alut.html: Make descriptions of API entries more
385         formal, following the usual manual page style (not finished yet). Added
386         some clarifications. Changed the set of possible ALUT errors.
387
388 2005-09-26  Sven Panne  <sven.panne@aedion.de>
389
390         * doc/alut.html, include/AL/alut.h, src/alutError.c, src/alutInit.c,
391         src/alutInternal.h, src/alutLoader.c, src/alutUtil.c: Clarified and
392         changed the ALUT error handling and reporting after the corresponding
393         discussion on the mailing list.
394
395 2005-09-23  Sven Panne  <sven.panne@aedion.de>
396
397         * admin/.cvsignore: Ignore mkinstalldirs.
398
399         * src/alutLoader.c: Make the endianess test dynamic.
400
401 2005-09-21  Sven Panne  <sven.panne@aedion.de>
402
403         * src/alutLoader.c: Removed evil byte-swapping. Fixed WAV loading
404         (still not 100% bullet-proof, I think). Cleanup.
405
406         * admin/.indent.pro: Added new typedef.
407
408         * src/alutInternal.h: Handle 32bit sized types on Windows.
409
410 2005-09-18  Sven Panne  <sven.panne@aedion.de>
411
412         * src/alutInit.c, src/alutLoader.c: Added a few error checks. Made
413         testing for errors more consistent, it should be of the form:
414
415            if (!<assertion>)
416              { _alutSetError(<error>); <cleanup> return <whatever>; }
417
418         * admin/.indent.pro, examples/.cvsignore, examples/Makefile.am,
419         src/alutLoader.c: Merged and heavily modified Erik Hofman's fixes for
420         AU/WAV loaders. Some more cleanup + minor fixes.
421
422         * examples/playfile.c: Added.
423
424 2005-09-17  Sven Panne  <sven.panne@aedion.de>
425
426         * configure.ac, include/AL/alut.h, test_suite/Makefile.am: Flag
427         deprecated functions if possible (VisualC++ .NET and GCC >= 3.1.1), but
428         be careful to avoid those warnings in our test suite.
429
430         * admin/m4/alut_check_flag.m4, admin/m4/alut_eval_stderr.m4: Added.
431
432         * configure.ac, admin/alut.vcproj, include/AL/alut.h: Use AL_ALUT_H
433         instead of _AL_ALUT_H, macros starting with "_" are reserved by the C
434         standard. For the same reason, rename _ALUTLIB to ALUT_BUILD_LIBRARY.
435
436         * README: Added building instructions using VisualStudio.
437
438         * admin/.cvsignore: Ignore files generated by VisualStudio.
439
440         * AUTHORS: Added Erik Hofman. Small reformatting.
441
442         * alut.sln, alut.vcproj, hello_world.vcproj: Added. I have access to
443         VisualStudio .NET only, so I can't maintain project files for older
444         versions. Note that the OpenAL SDK is assumed to live under
445         C:\OpenALSDK, not nice to hardwire this, but I don't see another
446         solution currently. Help would be appreciated.
447
448         * alut.dsp, alut.dsw, hello_world.dsp: Removed.
449
450         * configure.ac, src/alutInternal.h, src/alutLoader.c,
451         src/alutWaveform.c: As usual, Microsoft chooses to ignore standards,
452         this time C99: VisualC doesn't have stdint.h, so hack around this
453         omission.
454
455         * Makefile.am: Moved m4 subdirectory to admin where it belongs.
456
457         * admin/m4/alut_c__attribute.m4, admin/m4/alut_check_func.m4: Added.
458
459         * m4/alut_c__attribute.m4, m4/alut_check_func.m4: Removed.
460
461         * src/Makefile.am: Fixed headers.
462
463         * .cvsignore: Ignore distribution archives.
464
465 2005-09-14  Sven Panne  <sven.panne@aedion.de>
466
467         * src/alutError.c, src/alutInit.c, src/alutLoader.c, src/alutUtil.c,
468         src/alutVersion.c, src/alutWaveform.c: Use alutInternal.h.
469
470         * src/alutInternal.h: Added. This file should be #included as the first
471         header in all *.c files.
472
473         * src/alutError.h, src/alutInit.h: Removed
474
475         * Makefile.am, examples/Makefile.am, src/Makefile.am,
476         test_suite/Makefile.am: Automatically build examples and test suite
477         now. Moved local autoconf macros to a separate directory. Added a few
478         comments.
479
480         * m4/alut_c__attribute.m4, m4/alut_check_func.m4: Added.
481
482         * acinclude.m4: Removed
483
484 2005-09-13  Sven Panne  <sven.panne@aedion.de>
485
486         * configure.ac, src/alutLoader.c, src/alutWaveform.c: A few
487         compatibility hacks to make it compile on Linux, MinGW/MSYS and Cygwin.
488
489         * acinclude.m4: Added.
490
491 2005-09-12  Sven Panne  <sven.panne@aedion.de>
492
493         * admin/.cvsignore: Improved ignorance.
494
495         * src/Makefile.am: Cleaned up and fixed include paths. Added
496         -no-undefined to libtool linker flags to prepare for building a Windows
497         DLL. Added some comments.
498
499 2005-09-11  Sven Panne  <sven.panne@aedion.de>
500
501         * configure.ac, src/alutWaveform.c: Cleaned up alutCreateBufferWaveform.
502
503         * configure.ac, src/alutInit.c: Header cleanup.
504
505         * src/alutUtil.c: Fixed braino in alutMicroSleep using nanosleep.
506
507         * src/alutInit.c: _alutSanityCheck doesn't terminate the program in case
508         of an error anymore, it simply sets the error condition. Some additional
509         cleanup.
510
511         * src/alutError.c: Print a message to stderr when an error condition is
512         set and the ALUT_DEBUG environment variable is defined.
513
514         * src/Makefile.am: Include src/helloworld.wav and src/README in
515         distributions.
516
517         * src/README: A few additions and corrections.
518
519         * doc/alut.html: A few clarifications and a little reformatting.
520
521 2005-09-10  Sven Panne  <sven.panne@aedion.de>
522
523         * configure.ac, doc/alut.html, examples/hello_world.c,
524         include/AL/alut.h, src/Makefile.am, src/alutUtil.c,
525         test_suite/test_fileloader.c, test_suite/test_memoryloader.c,
526         test_suite/test_retrostuff.c, test_suite/test_waveforms.c: Added
527         alutMicroSleep and use it.
528
529         * include/AL/alut.h: Renamed ALUTAPI/ALUTAPIENTRY to
530         ALUT_API/ALUT_APIENTRY, so we only #define macros with the ALUT_ prefix.
531
532         * doc/alut.html, include/AL/alut.h, src/alutLoader.c,
533         src/alutWaveform.c, test_suite/test_retrostuff.c: Frequencies are
534         ALfloat again.
535
536         * doc/alut.html: Mention openal-config and pkg-config. Reformatted a
537         bit.
538         
539         * doc/alut.css: The body should have the same font-family as the
540         headers.
541
542 2005-09-09  Sven Panne  <sven.panne@aedion.de>
543
544         * src/Makefile.am: Added libm dependencies.
545
546         * configure.ac, include/AL/alut.h, admin/alut.dsp: Consistently use
547         _ALUTLIB when building the ALUT DLL.
548
549         * configure.ac, include/Makefile.am: Install header directly from
550         include subdirectory, it is more logical this way.
551
552         * include/AL/Makefile.am: Removed.
553
554         * configure.ac, src/Makefile.am, examples/Makefile.am,
555         test_suite/Makefile.am: Hardwire the library name, that kind of
556         flexibility is not needed as it would break the ABI.
557
558         * Makefile.am: Added rule to update libtool.
559
560         * configure.ac: Don't change the default prefix (principle of least
561         surprise). The alut library should be able to be used by dlopen, it
562         doesn't use dlopen (yet). Removed obscure includedir adjustment, it is
563         not needed. Removed dead code. Improved logic to choose OpenAL library
564         (still not completely right).
565
566 2005-09-08  Sven Panne  <sven.panne@aedion.de>
567
568         * src/Makefile.am: Distribute internal headers, too.
569
570         * Makefile.am: Include the Windows stuff in the distribution.
571
572         * autogen.sh: Simply us autoreconf, as recommended in the
573         automake/autoconf documentation.
574
575         * README: Fixed typo.
576
577         * .cvsignore, configure.ac, Makefile.am: Put all administrative files
578         into admin subdirectory.
579         
580         * .indent.pro, INSTALL, install-sh, mkinstalldirs, win_build/alut.dsp,
581         win_build/alut.dsw, win_build/hello_world.dsp: Removed.
582
583         * admin/alut.dsp, admin/alut.dsw, admin/.cvsignore,
584         admin/hello_world.dsp, admin/.indent.pro: Added.
585
586         * README: Synched with reality.
587
588 2005-09-07  Sven Panne  <sven.panne@aedion.de>
589
590         * autogen.sh: Use -Wall for automake to catch some buglets, deprecated
591         stuff, etc.
592
593 2005-09-03  Sven Panne  <sven.panne@aedion.de>
594
595         * src/alutLoader.c: Merged patches for AU format from Erik Hofman
596         <erik@ehofman.com>, including some changes to the original patch.
597
598 2005-09-01  Sven Panne  <sven.panne@aedion.de>
599
600         * doc/alut.html, include/AL/alut.h, src/alutError.c, src/alutInit.c,
601         src/alutLoader.c, src/alutVersion.c, src/alutWaveform.c: Moved internal
602         function prototypes out of the public header. Fixed function prototypes,
603         i.e. foo() (C++) vs. foo(void) (C).
604
605         * src/alutError.h, src/alutInit.h: Added.
606
607         * .indent.pro, src/alutInit.c, src/alutLoader.c, src/alutWaveform.c,
608         test_suite/test_errorstuff.c, test_suite/test_fileloader.c,
609         test_suite/test_memoryloader.c, test_suite/test_retrostuff.c,
610         test_suite/test_version.c, test_suite/test_waveforms.c: Don't use TABs.
611
612         * test_suite/test_fileloader.c, test_suite/test_memoryloader.c,
613         test_suite/test_retrostuff.c, test_suite/test_version.c,
614         test_suite/test_waveforms.c: Hopefully make the examples compile on
615         WinDoze. Play sounds only a finite number of times, which is better for
616         automating things.
617
618         * src/alutError.c, src/alutInit.c, src/alutLoader.c, src/alutVersion.c,
619         src/alutWaveform.c, test_suite/test_errorstuff.c,
620         test_suite/test_fileloader.c, test_suite/test_memoryloader.c,
621         test_suite/test_retrostuff.c, test_suite/test_version.c,
622         test_suite/test_waveforms.c: Reformatted conforming to GNU
623         standards. Please keep it that way...
624
625         * Makefile.am: Added a target "permissions" to fix the broken
626         permissions after a checkout. Added a target "indent" to automagically
627         indent all C sources and headers according to GNU standards.
628
629         * .indent.pro: Added.
630
631         * doc/alut.html, include/AL/alut.h, src/alutError.c, src/alutInit.c,
632         src/alutLoader.c, test_suite/test_memoryloader.c,
633         test_suite/test_retrostuff.c: A bunch of API cleanups:
634
635         Changed the first parameter of alutInit and alutInitWithoutContext to
636         int*, not ALint*. argc is an int, after all.
637
638         Changed return type of alutGetError to ALenum, this is more consistent
639         with alGetError.
640
641         Changed the argument of alutGetErrorString to ALenum for the same
642         reason.
643
644         Changed the first parameter of alutLoadMemoryFromFileImage and
645         alutCreateBufferFromFileImage to "const ALvoid*", this is more
646         convenient and more consistent with alBufferData.
647
648         Changed the first parameter of alutLoadWAVFile and alutLoadWAVMemory
649         back to ALbyte*, like it was before.
650
651         Changed the frequency parameter of alutLoadMemoryFromFile and
652         alutLoadMemoryFromFileImage to an ALuint*, this is more consistent with
653         the way AL handles frequencies.
654
655         Changed the return type of alutLoadMemoryFromFile and
656         alutLoadMemoryFromFileImage to an ALvoid* for more consistency.
657
658         * doc/alut.html: Added myself. Fixed a few typos and synched examples
659         with actual sources. Use code formatting conforming to the GNU coding
660         standards.
661
662         * AUTHORS: Added myself.
663
664         * doc/alut.html: Converted spec to XHTML + CSS, no changes to the
665         content itself. This is a first step towards using DocBook, which is far
666         more flexible regarding the possible output formats
667         (XHTML, PDF, PS, ...).
668
669         * doc/alut.css: Added.
670
671         * doc/noise.gif: Removed.
672
673         * include/AL/alut.h: Synched platform-specific parts with the AL/ALC
674         headers. Reformatted according to GNU standards.
675
676         * Makefile.am, examples/Makefile.am, src/Makefile.am,
677         test_suite/Makefile.am: Do not hardwire any obscure paths into the build
678         process, the normal way of using headers/libraries in non-standard
679         places is to set CPPFLAGS/LDFLAGS when configuring and building.
680
681         * autogen.sh: Small cleanup: Be a good *nix citizen and be quiet when
682         everything works. Furthermore, terminate immediately when a tool fails.
683
684 2005-09-01  Steve Baker  <sjbaker1@airmail.net>
685
686         * examples/Makefile.am, examples/hello_world.c, include/AL/alut.h,
687         src/alutLoader.c, src/alutWaveform.c, test_suite/Makefile.am:
688
689         1) Replaced '//' C++ style comments with /*...*/ style for portability.
690
691         2) According to the OpenAL headers, the third argument of alGetSourcei
692         should be ALint - not ALuint. So 'hello_world.c' wouldn't
693         compile. Fixed.
694
695         3) It's a bad idea to sit in a tight loop doing nothing but
696         alGetSourcei. On some OS's, this could lock out any other AL threads -
697         with disasterous consequences.
698
699         Rather than get into all that complexity in a 'Hello World' example, I
700         elected to simply sleep for plenty of time.
701
702         However, I did fixup the 'sleep(seconds)' versus 'Sleep(microseconds)'
703         issue (good way to be non-portable Mr Gates).
704
705         4) Makefile.am had been changed around so that ALUT demo's and
706         test_suite would link to the OpenAL library in the current build
707         tree. This is bad for many reasons discussed via email - so I reverted
708         that change.
709
710         5) Evidently 'strcasecmp' doesn't exist under Windows/MSVC and
711         strcasecmp had been replaced with 'strcmp' for Windows. I think
712         'stricmp' is the Windows version of strcmp that's case insensitive.
713
714         6) I fixed up the lack of a 'random()' function in Windows used 'rand()'
715         instead. Not the ideal fix but definitely 'good enough'.
716
717 2005-08-31  Garin Hiebert  <garinh@cheesetoast.net>
718
719         * win_build/alut.dsp, win_build/hello_world.dsp: Fixed Release Build
720         Issues.
721
722         * doc/alut.html, examples/hello_world.c, include/AL/alut.h,
723         src/alutLoader.c, src/alutWaveform.c: First Stab At Moving To Windows.
724
725         * win_build/alut.dsp, win_build/alut.dsw, win_build/hello_world.dsp:
726         Added.
727
728 2005-08-30  Sven Panne  <sven.panne@aedion.de>
729
730         * src/alutError.c: Namespace hygiene: Make lastError static
731
732         * examples/.cvsignore, examples/Makefile.am, test_suite/.cvsignore,
733         test_suite/Makefile.am: More tweaks to the build environment, still a
734         bit hacky...
735
736         * Makefile.am, configure.ac, src/Makefile.am, src/alutError.c,
737         src/alutInit.c, src/alutLoader.c, src/alutVersion.c, src/alutWaveform.c:
738         Move alut.h to include/AL, so we can always use the same kind of
739         #includes and always use the headers from the SI, not any installed
740         ones. Things are not perfect yet, but better...
741
742         * src/alut.h: Removed.
743
744         * .cvsignore, examples/.cvsignore, include/.cvsignore,
745         include/Makefile.am, include/AL/.cvsignore, include/AL/Makefile.am,
746         include/AL/alut.h, src/.cvsignore, test_suite/.cvsignore: Added.
747
748 2005-08-30  Steve Baker  <sjbaker1@airmail.net>
749
750         * src/Makefile.am: Jason Daly said: The current build system makes the
751         assumption that OpenAL is installed. This just adds -I../../include to
752         pick up the AL headers in the top-level directory. ALUT wouldn't build
753         on my system without this (we use OpenAL from an NFS-mounted directory).
754
755 2005-08-29  Steve Baker  <sjbaker1@airmail.net>
756
757         * README, examples/hello_world.c: Added some more build instructions.
758
759         * configure.ac, examples/Makefile.am, src/Makefile.am,
760         test_suite/Makefile.am: Fixed up makefiles so they find OpenAL in either
761         /usr/local/lib or /usr/lib also fixed ALUT to install in /usr/include/AL
762         and /usr/lib/.
763
764         * Makefile.am, README, test_suite/test_memoryloader.c,
765         test_suite/test_retrostuff.c: More minor cleanup.
766
767         * src/alutError.c, src/alutInit.c, src/alutLoader.c, src/alutWaveform.c:
768         Cleaned up some warning messages when -pedantic is enabled.
769
770         * src/alut.h: Added.
771
772         * autogen.sh, configure.ac, install-sh, mkinstalldirs: Added autoconf
773         stuff.
774
775 2005-08-27  Steve Baker  <sjbaker1@airmail.net>
776
777         * AUTHORS, COPYING, ChangeLog, INSTALL, Makefile.am, NEWS, README,
778         doc/alut.html, doc/noise.gif, examples/Makefile.am,
779         examples/hello_world.c, src/Makefile.am, src/README, src/alutError.c,
780         src/alutInit.c, src/alutLoader.c, src/alutVersion.c, src/alutWaveform.c,
781         src/helloworld.wav, test_suite/Makefile.am, test_suite/README,
782         test_suite/file1.wav, test_suite/file2.au, test_suite/file3.raw,
783         test_suite/test_errorstuff.c, test_suite/test_fileloader.c,
784         test_suite/test_memoryloader.c, test_suite/test_retrostuff.c,
785         test_suite/test_version.c, test_suite/test_waveforms.c: Added ALUT 1.0.0
786         Alpha.