Commit Graph

3415 Commits

Author SHA1 Message Date
Erik de Castro Lopo
248d7924b7 FLAC.sln : Remove obsolete in_flac project.
Patch from Janne Hyvärinen <cse@sci.fi>.
2013-03-17 19:41:37 +11:00
Erik de Castro Lopo
d3dac717ce changelog.html : Updates. 2013-03-17 18:31:46 +11:00
Erik de Castro Lopo
f86b1a3353 Wave64 patch from Janne Hyvrinen <cse@sci.fi>.
GUID had one word incorrectly in little endian order.
2013-03-17 18:28:57 +11:00
Erik de Castro Lopo
ca7a3cb822 Restore code dropped in commit f25b2602dc. 2013-03-15 06:37:59 +11:00
Erik de Castro Lopo
f25b2602dc Fix a couple of Windows 2Gig file size issues.
Patch submitted by Janne Hyvärinen <cse@sci.fi>.
2013-03-14 18:22:37 +11:00
Erik de Castro Lopo
6497ce1977 configure.ac : Detect the size of off_t. 2013-03-13 21:54:15 +11:00
Erik de Castro Lopo
195470fe2e Add configure option to enable GNU GCC stack smash protection.
This option is disabled by default because it is known not to work
on FreeBSD 9.1 and for Linux -> Windows cross compiling using the
Debian MinGW-w64 tool chain.

It is known to work for native compiles in Debian testing and
OpenBSD 5.2.
2013-03-13 18:59:50 +11:00
Erik de Castro Lopo
300d17c56f MS VS : Add alloc.c to the grabbag static build.
Patch from Janne Hyvärinen <cse@sci.fi>.
2013-03-12 19:15:04 +11:00
Erik de Castro Lopo
9edb817dd2 MS VS inline/extern fix from Ben Alison plus comments.
Add explicit extern to functions that are locally declared inline
but which also have non-inline public prototypes.

It seems MS VS does not quite meet the C99 spec (section 6.7.4).
2013-03-12 17:12:07 +11:00
Erik de Castro Lopo
06f3812d79 configure.ac : When compiling with GCC use some extra warning flags. 2013-03-11 06:06:34 +11:00
Erik de Castro Lopo
96a5ba7120 Fix -Wshadow warnings. 2013-03-11 06:06:34 +11:00
Erik de Castro Lopo
0a2b901e99 src/libFLAC/include/private/macros.h : Fix flac_min.
The existing flac_min macro was generating -Wshadow compiler warnings
when nested.
2013-03-11 06:06:34 +11:00
Erik de Castro Lopo
dd1fa80883 Fix -Wstrict-prototypes -Wmissing-prototypes warnings.
The files src/flac/encode.c and src/libFLAC/stream_encoder.c use
functions in libFLAC that are marked as 'unpublished debug routines'.
This patch moves these functions to new file include/share/private.h
and marks them as 'unpublished debug routines'.
2013-03-11 06:06:33 +11:00
Erik de Castro Lopo
b85cc57d73 include/share/compat.h : feeko and ftello fixes for MinGW.
Patch from LRN <lrn1986@gmail.com>.
2013-03-10 18:38:07 +11:00
Erik de Castro Lopo
11efaa37f7 gcc_version.m4 : Use cut instead of sed.
Add this and other macros to Makefile.am.
2013-03-10 12:38:38 +11:00
Erik de Castro Lopo
168c258aa3 Purge old un-maintained MSVC 6 project files. 2013-03-10 11:17:20 +11:00
Erik de Castro Lopo
c8f84e243f doc/html/changelog.html : Prepare for 1.3.0 release. 2013-03-10 10:58:57 +11:00
Erik de Castro Lopo
c574ffbd3e doc/html/documentation_tools_flac.html : Tweaks. 2013-03-09 23:56:19 +11:00
Erik de Castro Lopo
1ad32efb89 Version 1.3.0pre2. 2013-03-09 22:06:12 +11:00
Erik de Castro Lopo
05ef63b44d Update .gitignore. 2013-03-09 20:50:27 +11:00
Erik de Castro Lopo
b555ec1a6c m4/gcc_version.m4 : Fix XIPH_GCC_VERSION macro.
Macro was misbehaving with OpenBSD's sed.
2013-03-09 20:07:38 +11:00
Erik de Castro Lopo
2860f1780c configure.ac : If gcc is version 4.2, use -fgnu89-inline.
Using -gnu-inline avoids a rather ugly warning message that only
seems to be present with gcc-4.2.
2013-03-09 19:45:27 +11:00
Erik de Castro Lopo
cd3162a2f6 test/test_compression.sh : Replace seq with numbers.
Apparently seq is a GNU program that isn't installed by default
on OpenBSD.
2013-03-09 19:40:19 +11:00
Erik de Castro Lopo
712b578539 configure.ac : Disable stack protector on FreeBSD. 2013-03-09 18:42:59 +11:00
Erik de Castro Lopo
71d630dbba FLAC/ordinals.h : Add <stdint.h> definitions for MSVC < 2010. 2013-03-09 10:25:39 +11:00
Erik de Castro Lopo
d5b03bcc36 configure.ac : Don't enable stack protector for mingw* host_os. 2013-03-09 09:18:06 +11:00
Erik de Castro Lopo
ae663c36af FLAC/ordinals.h : Provide links for <stdint.h> replacements. 2013-03-08 21:13:13 +11:00
Erik de Castro Lopo
139ffb090d Fix version number in Visual Studio project files.
Patch from Ben Allison <benski@winamp.com> and tweaked to change
version from 1.3.0 (which hasn't been released yet) to 1.3.0pre1.
2013-03-08 21:06:48 +11:00
Erik de Castro Lopo
fd6b192d25 Another MSVC patch from Ben Alison. 2013-03-08 20:47:43 +11:00
Erik de Castro Lopo
a4c321e492 Large patch from Ben Allison fixing the MSVC build.
Patch tweaked a little to fix Linux build and clean up minor problems.
2013-03-06 22:17:51 +11:00
Erik de Castro Lopo
91790ef965 Fix compiler warnings from new compiler flags. 2013-03-06 07:42:08 +11:00
Erik de Castro Lopo
05609d5b4b configure.ac : Add hardening compile options.
Extra compile options are detected at configure time with new
XIPH_ADD_*FLAGS m4 macros.

Options enabled include -Wextra, -D_FORTIFY_SOURCE=2 and stack
protection.
2013-03-06 07:39:24 +11:00
Erik de Castro Lopo
9d057c7179 Fix a bunch of WDG validation warnings in HTML docs. 2013-03-05 18:25:15 +11:00
Erik de Castro Lopo
9c024f2bd8 documentation_tools_flac.html : Document --ignore-chunk-sizes command line option. 2013-03-05 17:46:04 +11:00
Erik de Castro Lopo
5eb63fc8e4 documentation_tools_flac.html : Fix WDG HTML validator warnings. 2013-03-05 17:40:57 +11:00
Erik de Castro Lopo
9b11da76a4 src/flac/main.c : Mention --ignore-chunk-sizes in help output.
Also mention --no-ignore-chunk-sizes option.
2013-03-05 17:35:21 +11:00
Erik de Castro Lopo
0432b96490 test/test_compression.sh : Use wc instead of stat to get file size.
The stat program has different command line parameters depend on
whether its the GNU or BSD version. Sitch to 'wc -c' instead which
seems more portable.
Plus other minor improvements.
2013-03-04 21:24:58 +11:00
Erik de Castro Lopo
538ce85eae configure.ac : Version 1.3.0pre1. 2013-03-02 19:06:56 +11:00
Erik de Castro Lopo
2227ec7936 src/flac/decode.c : Remove repeated code block. 2013-03-02 19:06:20 +11:00
Erik de Castro Lopo
c8adb080b0 Add appropriate WAV channel masks for 7 and 8 channel files.
This commit accepts the new default channel masks for 6.1 and 7.1
surround input WAV files, and writes the corresponding masks when
decoding to WAV without a channel mask from the metadata block.

The local copy of the format spec is also updated with the new text
from the flac-website repository.

Patch from Ralph Giles <giles@mozilla.com>
2013-03-02 14:09:46 +11:00
Timothy B. Terriberry
d75cb67d7f Robustify autogen.sh
This allows the script to be run from somewhere other than the
 top-level build directory.

Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
2013-02-08 18:58:33 +11:00
Timothy B. Terriberry
81c917829a xmms - Fix inline linking problems with old glib
f0296255 switched to --std=c99 by default, but old glib relies on
 the pre-C99 extern inline rules.
Override G_INLINE_FUNC for it to avoid multiple definition linker
 errors.

Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
2013-02-08 18:58:29 +11:00
Timothy B. Terriberry
100c82e18b xmms - #include <inttypes.h> for PRIu64
Not sure where this was coming from before, but it's not getting
 included elsewhere on my system, so include it explicitly.

Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
2013-02-08 18:58:25 +11:00
Timothy B. Terriberry
5c8bb1333f xmms - Fix libtool usage.
9b7cb22f removed the extra libtool-disable-static script in favor
 of always building with disable-static, but plugin_xmms still
 referenced libtool-disable-static explicitly.

Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
2013-02-08 18:58:21 +11:00
Erik de Castro Lopo
b104c6d8af include/share/compat.h : For MSVC define inline as __inline. 2013-01-26 10:11:39 +11:00
Ralph Giles
4632f945de Fix the 'distclean' target.
Generated documentation needs to be removed by this target
for 'distcheck' to succeed.

Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
2013-01-19 11:52:33 +11:00
Ralph Giles
f1841caba3 Hoist a repeated conditional in the channel mapping code.
This is equivalent and just makes the code shorter.

Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
2013-01-18 16:46:35 +11:00
Erik de Castro Lopo
a53e85b889 autogen.sh : Make sure config.rpath exists. 2013-01-17 20:13:33 +11:00
Olivier Blin
f699788f31 doc: fix out-of-tree build
When building outside of the source tree, the Doxyfile needs to be
generated in the build tree and should point to the proper paths for
include directories and html footer.

The generated api files to install should also be taken from the build
tree instead of the source tree.

Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
2013-01-14 21:52:43 +11:00
Erik de Castro Lopo
fb13acc457 Revert parts of 96d081c1 that touched source code or autotools files. 2013-01-03 06:25:21 +11:00