platform/upstream/flac.git
9 years agopackging: Bump to version 1.3.0 63/31963/1 accepted/tizen_3.0_common accepted/tizen_3.0_ivi accepted/tizen_4.0_unified accepted/tizen_5.0_unified accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable tizen_3.0 tizen_3.0.2014.q4_common tizen_3.0.2015.q1_common tizen_3.0.2015.q2_common tizen_3.0.m1_mobile tizen_3.0.m1_tv tizen_3.0.m2 tizen_3.0_ivi tizen_4.0 tizen_5.0 accepted/tizen/3.0/common/20161114.110540 accepted/tizen/3.0/ivi/20161011.044153 accepted/tizen/4.0/unified/20170816.013702 accepted/tizen/4.0/unified/20170828.222501 accepted/tizen/5.0/unified/20181102.025145 accepted/tizen/common/20141215.134557 accepted/tizen/ivi/20141225.062821 accepted/tizen/ivi/20160218.024828 accepted/tizen/mobile/20150105.022441 accepted/tizen/tv/20150105.022404 accepted/tizen/unified/20170309.035627 accepted/tizen/wearable/20150105.054723 submit/tizen_3.0.m2/20170104.093752 submit/tizen_3.0_common/20161104.104000 submit/tizen_3.0_ivi/20161010.000002 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170828.100005 submit/tizen_5.0/20181101.000006 submit/tizen_common/20141212.155000 submit/tizen_common/20151015.190624 submit/tizen_common/20151019.135620 submit/tizen_ivi/20141225.111111 submit/tizen_ivi/20160217.000000 submit/tizen_ivi/20160217.000005 submit/tizen_mobile/20141231.012840 submit/tizen_mobile/20151202.000000 submit/tizen_tv/20151202.000000 submit/tizen_unified/20170308.100412 submit/tizen_wearable/20150102.000000 tizen_3.0.m1_mobile_release tizen_3.0.m1_tv_release tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release tizen_3.0_ivi_release tizen_4.0.IoT.p1_release tizen_4.0.IoT.p2_release tizen_4.0.m1_release tizen_4.0.m2_release
Kévin THIERRY [Fri, 31 Oct 2014 13:48:41 +0000 (14:48 +0100)]
packging: Bump to version 1.3.0

Use upstream git repo instead of pristin-tar.

Note: the following Tizen commits haven't been rebased:
* flac-no-xmms.diff
* flac-printf-format-fix.diff
* flac-gcc43-fixes.diff
* flac-1.2.1-asm
* flac-1.2.1-bitreader
* flac-ocloexec
* flac-visibility
* flac-leaks
* flac-gcc47

Bug-Tizen: TC-1815
Change-Id: Ib4a31769108c87f86187bb0d56489642bcac45ef
Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
10 years agoresetting manifest requested domain to floor
Alexandru Cornea [Fri, 28 Jun 2013 21:54:58 +0000 (00:54 +0300)]
resetting manifest requested domain to floor

10 years agoclean up docs, groups and license
Anas Nashif [Wed, 26 Jun 2013 11:04:16 +0000 (07:04 -0400)]
clean up docs, groups and license

10 years agoFix subpackage names in baselibs.conf
Patrick McCarty [Tue, 5 Feb 2013 18:49:47 +0000 (10:49 -0800)]
Fix subpackage names in baselibs.conf

Change-Id: Iab4fc2f60c7367d66c3879e7dde6ed7b114e8fee

10 years agoadd baselibs
Anas Nashif [Thu, 22 Nov 2012 14:34:40 +0000 (06:34 -0800)]
add baselibs

10 years agoremove patches
Anas Nashif [Thu, 22 Nov 2012 14:33:09 +0000 (06:33 -0800)]
remove patches

10 years agoadd packaging
Anas Nashif [Mon, 5 Nov 2012 02:14:07 +0000 (18:14 -0800)]
add packaging

11 years agotest/*.sh : Fix MALLOC_PERTURB initialization. 1.3.0 upstream/1.3.0
Erik de Castro Lopo [Mon, 27 May 2013 09:22:21 +0000 (19:22 +1000)]
test/*.sh : Fix MALLOC_PERTURB initialization.

Was using '$(date +%N)', but that doesn't work on OSX or *BSD. Switched
to using '$(date +%s)'.

11 years agoREADME : Update version number
Ulrich Klauer [Sun, 26 May 2013 22:49:58 +0000 (00:49 +0200)]
README : Update version number

Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
11 years agoLanguage fix: "difference licenses"
Ulrich Klauer [Sun, 26 May 2013 20:53:43 +0000 (22:53 +0200)]
Language fix: "difference licenses"

Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
11 years agoUse location of TIOCGWINSZ from autoconf manual
Dagobert Michelsen [Sun, 26 May 2013 21:32:01 +0000 (23:32 +0200)]
Use location of TIOCGWINSZ from autoconf manual

Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
11 years agoSun Studio can not include static function from extern inline
Dagobert Michelsen [Sun, 26 May 2013 20:55:12 +0000 (22:55 +0200)]
Sun Studio can not include static function from extern inline

Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
11 years agoProperly close HTML comments
Ulrich Klauer [Sun, 26 May 2013 20:12:20 +0000 (22:12 +0200)]
Properly close HTML comments

Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
11 years agosrc/flac/main.c : Fix copyright notice
Ulrich Klauer [Sun, 26 May 2013 20:19:50 +0000 (22:19 +0200)]
src/flac/main.c : Fix copyright notice

There is no copyright for 2010, so "2000-2013" should not be used.

Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
11 years agoDeclare UTF-8 encoding for changelog
Ulrich Klauer [Sun, 26 May 2013 20:07:49 +0000 (22:07 +0200)]
Declare UTF-8 encoding for changelog

The changelog declared "charset=ISO-8859-1", but used a UTF-8 encoded
name. Change the declaration to UTF-8 to fix this.

Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
11 years agoFix bootstrap on Mac OS X
Xiyue Deng [Fri, 24 May 2013 20:51:29 +0000 (13:51 -0700)]
Fix bootstrap on Mac OS X

* Mac OS X has incomplete installations of gettext/iconv. So stop
  checking for gettext command on Darwin, and install some additional m4
  scripts so it can be bootstrapped on Mac OS X.

Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
11 years agoSet version to 1.3.0 and update coyprights throughout.
Erik de Castro Lopo [Sat, 25 May 2013 07:11:19 +0000 (17:11 +1000)]
Set version to 1.3.0 and update coyprights throughout.

11 years agoFix gcc version check for private macros
Ulrich Klauer [Sat, 25 May 2013 13:12:33 +0000 (15:12 +0200)]
Fix gcc version check for private macros

Use Benjamin Stiglitz' MIN macros from gcc 4.3 (according to the
changelog, __COUNTER__ was introduced in this version). Previously,
the macros weren't used on any existing gcc version; the first one
would have been 5.5.

Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
11 years agobitwriter.c : Add missing "extern" declaration
Robert Kausch [Sat, 25 May 2013 12:37:44 +0000 (14:37 +0200)]
bitwriter.c : Add missing "extern" declaration

Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
11 years agoFix mistyped variable name
Robert Kausch [Sat, 25 May 2013 12:34:18 +0000 (14:34 +0200)]
Fix mistyped variable name

Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
11 years agoCorrectly initialize FLAC_API_SUPPORTS_OGG_FLAC
Ulrich Klauer [Sat, 25 May 2013 12:14:08 +0000 (14:14 +0200)]
Correctly initialize FLAC_API_SUPPORTS_OGG_FLAC

Commits a7e3705d051bafd1cae90f6605287cc1d9f2a18d and
a4c321e492748db0a7e38240699ba420ba88e01c, while trying to simplify how
the FLAC_API_SUPPORTS_OGG_FLAC global variable was initialized,
inadvertently caused it to be always set to false, whether Ogg support
was compiled in or not.

This commit reverts the relevant part to how it looked in the 1.2.1
release, which is verbose but correct.

The problem was found by Robert Kausch <robert.kausch@freac.org>.

Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
11 years agochangelog.html : Added entries about RICE2 residue coding method.
Erik de Castro Lopo [Sat, 25 May 2013 07:51:17 +0000 (17:51 +1000)]
changelog.html : Added entries about RICE2 residue coding method.

11 years agoFix compiling for Android.
Erik de Castro Lopo [Sat, 25 May 2013 07:12:23 +0000 (17:12 +1000)]
Fix compiling for Android.

Patch from Janne Hyvärinen <cse@sci.fi>.

11 years agoReplace dead anchor
Martijn van Beurden [Wed, 15 May 2013 18:31:03 +0000 (20:31 +0200)]
Replace dead anchor

This fixes a wrong link (dead anchor) in the Doxygen api documentation

Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
11 years agoREADME : Remove reference to OS X Project Builder.
Erik de Castro Lopo [Tue, 30 Apr 2013 22:08:11 +0000 (08:08 +1000)]
README : Remove reference to OS X Project Builder.

11 years agoRefer to configure.ac instead of configure.in
Ulrich Klauer [Tue, 30 Apr 2013 21:10:11 +0000 (23:10 +0200)]
Refer to configure.ac instead of configure.in

Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
11 years agoPurge old Mac OS X Project Builder directory.
Erik de Castro Lopo [Tue, 30 Apr 2013 15:23:43 +0000 (01:23 +1000)]
Purge old Mac OS X Project Builder directory.

11 years agoRegenerate man/flac.1.
Erik de Castro Lopo [Tue, 30 Apr 2013 07:47:49 +0000 (17:47 +1000)]
Regenerate man/flac.1.

11 years agoFix path to HTML documentation
Ulrich Klauer [Thu, 11 Apr 2013 20:05:17 +0000 (22:05 +0200)]
Fix path to HTML documentation

In the flac(1) man page, fix the path to the HTML documentation. Patch
by Joshua Kwan <joshk@triplehelix.org>, taken from the Debian patch
tracker for flac 1.2.1-6 (02_doc_path.patch).

Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
11 years agoUse C locale when reading ReplayGain tag
Ulrich Klauer [Thu, 11 Apr 2013 20:07:49 +0000 (22:07 +0200)]
Use C locale when reading ReplayGain tag

When a locale is in effect that does not use the point as the decimal
mark (e.g., sv_SE or de_DE, which use a comma) and a ReplayGain tag is
read for --apply-replaygain-which-is-not-lossless, the gain value was
misinterpreted (e.g., "-2.29" truncated to "-2"). This is fixed by
resetting the locale to "C" temporarily, based on Josh Coalson's fix
of the dual case (writing ReplayGain tag) in commit cda02d3.

Patch by hhaamu@gmail.com, taken from the Debian patch tracker for
flac 1.2.1-6 (13_replaygain_c_locale.patch).

http://sourceforge.net/p/flac/bugs/380/

Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
11 years agoTwo minor compiled fixes for OS/2.
Erik de Castro Lopo [Mon, 29 Apr 2013 11:32:48 +0000 (21:32 +1000)]
Two minor compiled fixes for OS/2.

Patch from Dave Yeo <dave.r.yeo@gmail.com>.

11 years agoVersion 1.3.0pre4. 1.3.0pre4
Erik de Castro Lopo [Sun, 28 Apr 2013 06:29:39 +0000 (16:29 +1000)]
Version 1.3.0pre4.

11 years agotest/test_compression.sh : Test compression level 0 as well.
Erik de Castro Lopo [Sun, 28 Apr 2013 05:52:07 +0000 (15:52 +1000)]
test/test_compression.sh : Test compression level 0 as well.

11 years agoDocument --apply-replaygain-which-is-not-lossless command line option.
Erik de Castro Lopo [Sun, 28 Apr 2013 05:48:41 +0000 (15:48 +1000)]
Document --apply-replaygain-which-is-not-lossless command line option.

11 years agoman/flac.sgml : Document --ignore-chunk-sizes option.
Erik de Castro Lopo [Sun, 28 Apr 2013 04:30:05 +0000 (14:30 +1000)]
man/flac.sgml : Document --ignore-chunk-sizes option.

Also regenerate man/flac.1.

11 years agosrc/flac/encode.c : Use flac_snprintf instead of sprintf.
Erik de Castro Lopo [Sat, 27 Apr 2013 07:24:31 +0000 (17:24 +1000)]
src/flac/encode.c : Use flac_snprintf instead of sprintf.

11 years agoAdd set -e to stop test_metaflac.sh
Martijn van Beurden [Thu, 25 Apr 2013 13:20:23 +0000 (15:20 +0200)]
Add set -e to stop test_metaflac.sh

test_metaflac.sh wasn't aborting when replaygain values were
incorrect because the die() function was embedded in a pipe.
set -e was added so the script exits with a non-zero exit code
when die is called in a pipe.

Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
11 years agotest/test_metaflac.sh: POSIXify embedded awk script.
Erik de Castro Lopo [Thu, 25 Apr 2013 03:53:21 +0000 (13:53 +1000)]
test/test_metaflac.sh: POSIXify embedded awk script.

The embedded awk script was using the 'lshift' function which
apparently only exists in GNU auk (gawk) and definitely does not
exist in mawk.

Thanks to Martijn van Beurden <mvanb1@gmail.com> for reporting
this issue.

11 years agoReplace usage of $RANDOM in test scripts.
Erik de Castro Lopo [Thu, 25 Apr 2013 02:31:50 +0000 (12:31 +1000)]
Replace usage of $RANDOM in test scripts.

$RANDOM seems to be a bashism and isn't avaiable in eg dash.

11 years agoMetaflac UTF-8 fixes (Windows)
Janne Hyvärinen [Wed, 24 Apr 2013 22:58:08 +0000 (08:58 +1000)]
Metaflac UTF-8 fixes (Windows)

Metaflac can now print all console supported characters from tags on the
screen. It also fixes metaflac to be able to import its own exports back
without non-ascii characters getting mutilated. And --no-utf8-convert
now works properly with import and export commands.

Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
11 years agoReduce valgrind num-callers to 50
Martijn van Beurden [Sun, 21 Apr 2013 21:12:16 +0000 (23:12 +0200)]
Reduce valgrind num-callers to 50

My Valgrind doesn't run, saying it doesn't support showing more
than 50 entries of a stack trace

Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
11 years agoFixes setting test level and valgrind testing
Martijn van Beurden [Sun, 21 Apr 2013 20:05:26 +0000 (22:05 +0200)]
Fixes setting test level and valgrind testing

This should enable using the disable-thorough-tests,
enable-exhaustive-tests and enable-valgrind-testing
configure switches, because setting these didn't do
anything

Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
11 years agoFix status print staying on the wrong line with certain filename length.
Janne Hyvärinen [Sun, 21 Apr 2013 11:02:48 +0000 (14:02 +0300)]
Fix status print staying on the wrong line with certain filename length.

Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
11 years agoFix compile when compiling with FLAC__INTEGER_ONLY_LIBRARY.
Erik de Castro Lopo [Sun, 21 Apr 2013 09:51:47 +0000 (19:51 +1000)]
Fix compile when compiling with FLAC__INTEGER_ONLY_LIBRARY.

Problem reported by Martijn van Beurden <mvanb1@gmail.com>.

11 years agoFix -Wshadow warnings when compiling with mingw-gcc.
Erik de Castro Lopo [Sun, 21 Apr 2013 09:31:54 +0000 (19:31 +1000)]
Fix -Wshadow warnings when compiling with mingw-gcc.

11 years agoMetaflac hex dump UTF-8 and locale fix.
Erik de Castro Lopo [Sun, 21 Apr 2013 08:05:21 +0000 (18:05 +1000)]
Metaflac hex dump UTF-8 and locale fix.

Change metaflac hexdump function so utf-8 decoding is only used for
filename printing and changed hex output printing to not rely only
on isprint. That function seems to return true for tabulator
control character under Windows when application isn't using C-locale.

Patch (with one minor tweak) from Janne Hyvärinen <cse@sci.fi>.

11 years agoWindows utf8 utime fix.
Janne Hyvärinen [Sat, 20 Apr 2013 09:42:24 +0000 (12:42 +0300)]
Windows utf8 utime fix.

UTF-8 version of utime was completely broken and file timestamps were
not preserved.

Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
11 years agoWin utf8 treatment for CreateFile.
Erik de Castro Lopo [Sun, 21 Apr 2013 07:53:02 +0000 (17:53 +1000)]
Win utf8 treatment for CreateFile.

Patch from Janne Hyvärinen <cse@sci.fi>.

11 years agoEnsure AM_LDFLAGS is used consistently
Cristian Rodríguez [Thu, 18 Apr 2013 17:13:48 +0000 (14:13 -0300)]
Ensure AM_LDFLAGS is used consistently

Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
11 years agoFix compiler warnings related to win utf8 stuff.
Erik de Castro Lopo [Sun, 21 Apr 2013 07:19:37 +0000 (17:19 +1000)]
Fix compiler warnings related to win utf8 stuff.

11 years agoA set of windows utf8 patches fromJanne Hyvärinen <cse@sci.fi>.
Erik de Castro Lopo [Sun, 21 Apr 2013 06:16:44 +0000 (16:16 +1000)]
A set of windows utf8 patches fromJanne Hyvärinen <cse@sci.fi>.

11 years agosrc/libFLAC/include/private/macros.h : Add default MIN/MAX macros.
Erik de Castro Lopo [Sun, 7 Apr 2013 10:21:24 +0000 (20:21 +1000)]
src/libFLAC/include/private/macros.h : Add default MIN/MAX macros.

11 years agosrc/libFLAC/include/private/macros.h : Check GNUC version for MIN macro.
Erik de Castro Lopo [Sun, 7 Apr 2013 10:15:09 +0000 (20:15 +1000)]
src/libFLAC/include/private/macros.h : Check GNUC version for MIN macro.

11 years agoinclude/share/compat.h : Include cleanup.
Erik de Castro Lopo [Sun, 7 Apr 2013 08:41:14 +0000 (18:41 +1000)]
include/share/compat.h : Include cleanup.

Patch from Janne Hyvärinen <cse@sci.fi>.

11 years agodoc/html/changelog.html : Updates.
Erik de Castro Lopo [Sun, 7 Apr 2013 08:40:34 +0000 (18:40 +1000)]
doc/html/changelog.html : Updates.

11 years agoFix Windows SIZE_T_MAX definition.
Erik de Castro Lopo [Sun, 7 Apr 2013 08:12:30 +0000 (18:12 +1000)]
Fix Windows SIZE_T_MAX definition.

Problem reported by Ulrich Klauer <ulrich@chirlu.de>.
Patch from Janne Hyvärinen <cse@sci.fi>.

11 years agosrc/share/Makefile.am : Rejig building of win_utf8_io/libwin_utf8_io.la.
Erik de Castro Lopo [Sun, 7 Apr 2013 07:48:06 +0000 (17:48 +1000)]
src/share/Makefile.am : Rejig building of win_utf8_io/libwin_utf8_io.la.

This should avoid a build error on Mac OSX where it the Mac build
tools refused to build an empty library. Problem reported by
Michael Guntsche <michael.guntsche@it-loops.com>.

11 years agoFix a bunch of compiler warnings (mainly MinGW).
Erik de Castro Lopo [Sun, 7 Apr 2013 03:44:33 +0000 (13:44 +1000)]
Fix a bunch of compiler warnings (mainly MinGW).

11 years agoFor windows, make UTF-8 mode into a runtime choice.
Erik de Castro Lopo [Sun, 7 Apr 2013 03:11:19 +0000 (13:11 +1000)]
For windows, make UTF-8 mode into a runtime choice.

The smaller patch makes the utf-8 library use ANSI codepage by
default. When frontends call the "get_utf8_argv" function it
changes Unicode conversion codepage from ANSI to UTF-8.

Patch from Janne Hyvärinen <cse@sci.fi>.

11 years agoOnly link against libogg (and libm) if needed
Ulrich Klauer [Sat, 6 Apr 2013 19:28:25 +0000 (21:28 +0200)]
Only link against libogg (and libm) if needed

Most of the programs don't use libogg or libm directly and should not
link to them (overlinking).

Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
11 years agoFix pkg-config files to avoid overlinking
Ulrich Klauer [Sat, 6 Apr 2013 18:41:12 +0000 (20:41 +0200)]
Fix pkg-config files to avoid overlinking

Libraries that are used internally by libFLAC(++) but are not part of
their API should be listed in pkg-config "private" clauses. Otherwise
executables that are linked dynamically against libFLAC(++) will have
unneeded direct dependencies (overlinking).

Based on a patch by Brad Smith from
  https://sourceforge.net/p/flac/bugs/397/
that I updated to only include ogg if libFLAC is actually built with
ogg support.

Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
11 years agom4/ogg.m4 : Grab latest version from libogg-1.3.0.
Erik de Castro Lopo [Sat, 6 Apr 2013 09:18:03 +0000 (20:18 +1100)]
m4/ogg.m4 : Grab latest version from libogg-1.3.0.

11 years agoRename all parameters and locals from 'index' to 'indx'.
Erik de Castro Lopo [Fri, 5 Apr 2013 09:21:22 +0000 (20:21 +1100)]
Rename all parameters and locals from 'index' to 'indx'.

11 years agoflac*.pc : Add -logg if configured with Ogg support.
Erik de Castro Lopo [Tue, 2 Apr 2013 09:45:54 +0000 (20:45 +1100)]
flac*.pc : Add -logg if configured with Ogg support.

11 years agoflactimer patches from Janne Hyvärinen <cse@sci.fi>.
Erik de Castro Lopo [Tue, 2 Apr 2013 09:30:55 +0000 (20:30 +1100)]
flactimer patches from Janne Hyvärinen <cse@sci.fi>.

11 years agoflac_mac safe string patch from Janne Hyvärinen <cse@sci.fi>.
Erik de Castro Lopo [Tue, 2 Apr 2013 09:24:37 +0000 (20:24 +1100)]
flac_mac safe string patch from Janne Hyvärinen <cse@sci.fi>.

11 years agometaflac typo patch from Janne Hyvärinen <cse@sci.fi>.
Erik de Castro Lopo [Tue, 2 Apr 2013 09:22:15 +0000 (20:22 +1100)]
metaflac typo patch from Janne Hyvärinen <cse@sci.fi>.

11 years agoautogen.sh : Test for required programs.
Erik de Castro Lopo [Tue, 2 Apr 2013 06:53:12 +0000 (17:53 +1100)]
autogen.sh : Test for required programs.

11 years agoflac_mac patches from Janne Hyvärinen <cse@sci.fi>.
Erik de Castro Lopo [Mon, 1 Apr 2013 19:37:08 +0000 (06:37 +1100)]
flac_mac patches from Janne Hyvärinen <cse@sci.fi>.

11 years agoAnother windows utf8 I/O patch from Janne Hyvärinen <cse@sci.fi>.
Erik de Castro Lopo [Mon, 1 Apr 2013 19:35:35 +0000 (06:35 +1100)]
Another windows utf8 I/O patch from Janne Hyvärinen <cse@sci.fi>.

11 years agoMSVC version patch from Janne Hyvärinen <cse@sci.fi>.
Erik de Castro Lopo [Mon, 1 Apr 2013 19:33:09 +0000 (06:33 +1100)]
MSVC version patch from Janne Hyvärinen <cse@sci.fi>.

11 years agoTwo small patches for utf8 I/O.
Erik de Castro Lopo [Mon, 1 Apr 2013 19:27:07 +0000 (06:27 +1100)]
Two small patches for utf8 I/O.

Thanks to LRN <lrn1986@gmail.com>.

11 years agoinclude/share/Makefile.am : Add win_utf8_io.h.
Erik de Castro Lopo [Mon, 1 Apr 2013 19:05:47 +0000 (06:05 +1100)]
include/share/Makefile.am : Add win_utf8_io.h.

11 years agoPurge more strcpy/strcat usage.
Erik de Castro Lopo [Mon, 1 Apr 2013 11:00:59 +0000 (22:00 +1100)]
Purge more strcpy/strcat usage.

11 years agoconfigure.ac : Version 1.3.0pre3.
Erik de Castro Lopo [Mon, 1 Apr 2013 09:49:41 +0000 (20:49 +1100)]
configure.ac : Version 1.3.0pre3.

11 years agoPurge FLAC__STRINGS_IN_UTF8 from VC project files.
Erik de Castro Lopo [Mon, 1 Apr 2013 09:01:37 +0000 (20:01 +1100)]
Purge FLAC__STRINGS_IN_UTF8 from VC project files.

11 years agoEnable utf8 I/O stuff when compiling with MinGW.
Erik de Castro Lopo [Mon, 1 Apr 2013 08:57:13 +0000 (19:57 +1100)]
Enable utf8 I/O stuff when compiling with MinGW.

11 years agoUse recursive automake in src/share/ part of tree.
Erik de Castro Lopo [Mon, 1 Apr 2013 06:44:42 +0000 (17:44 +1100)]
Use recursive automake in src/share/ part of tree.

This will make it easier to incorporate the win_utf8_io stuff.

11 years agoAdd CLEANFILES to relevant Makefile.am to force removal of Windows EXEs.
Erik de Castro Lopo [Sat, 23 Mar 2013 11:24:47 +0000 (22:24 +1100)]
Add CLEANFILES to relevant Makefile.am to force removal of Windows EXEs.

This ensures they are removed even we've cross-compiled from Linux
to Windows and then configured for Linux. We don't want the Windows
EXEs to be run after configuring for Linux.

11 years agoinclude/share/compat.h : Cleanup.
Erik de Castro Lopo [Sat, 23 Mar 2013 11:13:47 +0000 (22:13 +1100)]
include/share/compat.h : Cleanup.

11 years agoRename _flac_stat to flac_stat_s.
Erik de Castro Lopo [Fri, 22 Mar 2013 07:22:57 +0000 (18:22 +1100)]
Rename _flac_stat to flac_stat_s.

11 years agoRename all 'utf8_io' -> 'win_utf8_io'.
Erik de Castro Lopo [Fri, 22 Mar 2013 07:18:14 +0000 (18:18 +1100)]
Rename all 'utf8_io' -> 'win_utf8_io'.

11 years agoHuge Windows utf8 I/O patch.
Erik de Castro Lopo [Thu, 21 Mar 2013 08:18:49 +0000 (19:18 +1100)]
Huge Windows utf8 I/O patch.

Patch from Janne Hyvärinen <cse@sci.fi>.

11 years agosrc/test_libFLAC/decoders.c : Minor improvement.
Erik de Castro Lopo [Fri, 29 Mar 2013 09:54:34 +0000 (20:54 +1100)]
src/test_libFLAC/decoders.c : Minor improvement.

11 years agoFix option names in documentation and help messages.
Miroslav Lichvar [Wed, 27 Mar 2013 16:49:19 +0000 (17:49 +0100)]
Fix option names in documentation and help messages.

Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
11 years agoinclude/share/compat.h : Simplify.
Erik de Castro Lopo [Sat, 23 Mar 2013 11:02:56 +0000 (22:02 +1100)]
include/share/compat.h : Simplify.

11 years agoReplace a couple of safe_strncpy/cat with snprintf.
Erik de Castro Lopo [Thu, 21 Mar 2013 06:28:23 +0000 (17:28 +1100)]
Replace a couple of safe_strncpy/cat with snprintf.

11 years agoReplace broken str* functions with safe versions.
Erik de Castro Lopo [Tue, 19 Mar 2013 09:23:44 +0000 (20:23 +1100)]
Replace broken str* functions with safe versions.

11 years agoAdd new file include/share/safe_str.h.
Erik de Castro Lopo [Tue, 19 Mar 2013 09:14:26 +0000 (20:14 +1100)]
Add new file include/share/safe_str.h.

New functions safe_strncat() and safe_strncpy() which always return
a NUL terminated string and do not overflow the destination buffer.

11 years agoautogen.sh : OpenBSD tweaks.
Erik de Castro Lopo [Mon, 18 Mar 2013 08:35:30 +0000 (19:35 +1100)]
autogen.sh : OpenBSD tweaks.

11 years agoMore Microsoft Visual Studio project file updates.
Erik de Castro Lopo [Sun, 17 Mar 2013 19:22:51 +0000 (06:22 +1100)]
More Microsoft Visual Studio project file updates.

Patch from Janne Hyvärinen <cse@sci.fi>.

11 years agoWindows flac_snprintf tweaks.
Erik de Castro Lopo [Sun, 17 Mar 2013 11:05:58 +0000 (22:05 +1100)]
Windows flac_snprintf tweaks.

Patch from Janne Hyvärinen <cse@sci.fi>.

11 years agoinclude/share/private.h : Add FLAC_API to private functions.
Erik de Castro Lopo [Sun, 17 Mar 2013 11:04:34 +0000 (22:04 +1100)]
include/share/private.h : Add FLAC_API to private functions.

Patch from Janne Hyvärinen <cse@sci.fi>.

11 years agoUse new function flac_snprintf() where ever appropriate.
Erik de Castro Lopo [Sun, 17 Mar 2013 09:56:41 +0000 (20:56 +1100)]
Use new function flac_snprintf() where ever appropriate.

This replaces un-safe usage of sprintf() and Micorsoft's _snprintf()
with something sane.

11 years agoAdd file src/share/grabbag/snprintf.c to grabbag library.
Erik de Castro Lopo [Sun, 17 Mar 2013 09:51:52 +0000 (20:51 +1100)]
Add file src/share/grabbag/snprintf.c to grabbag library.

Define function flac_snprintf() which has ISO C99 snprintf() behavior
even when compiling with Microsoft Visual Studio, by wrapping the
MSVS snprintf_s() function.

11 years agoFLAC.sln : Remove obsolete in_flac project.
Erik de Castro Lopo [Sun, 17 Mar 2013 08:39:05 +0000 (19:39 +1100)]
FLAC.sln : Remove obsolete in_flac project.

Patch from Janne Hyvärinen <cse@sci.fi>.

11 years agochangelog.html : Updates.
Erik de Castro Lopo [Sun, 17 Mar 2013 07:31:46 +0000 (18:31 +1100)]
changelog.html : Updates.

11 years agoWave64 patch from Janne Hyvrinen <cse@sci.fi>.
Erik de Castro Lopo [Sun, 17 Mar 2013 07:28:53 +0000 (18:28 +1100)]
Wave64 patch from Janne Hyvrinen <cse@sci.fi>.

GUID had one word incorrectly in little endian order.

11 years agoRestore code dropped in commit f25b2602dc.
Erik de Castro Lopo [Thu, 14 Mar 2013 19:37:59 +0000 (06:37 +1100)]
Restore code dropped in commit f25b2602dc.

11 years agoFix a couple of Windows 2Gig file size issues.
Erik de Castro Lopo [Thu, 14 Mar 2013 07:22:29 +0000 (18:22 +1100)]
Fix a couple of Windows 2Gig file size issues.

Patch submitted by Janne Hyvärinen <cse@sci.fi>.