Displaying 20 results from an estimated 400 matches similar to: "[PATCH 0/5] Allow multiple targets to be disabled"
2017 Jan 06
1
[PATCH 5/5] win_utf8_io: Avoid forbidden functions when building for WinRT/UWP
Hugo Beauzée-Luyssen <hugo at beauzee.fr> wrote:
> ---
> src/share/win_utf8_io/win_utf8_io.c | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
> diff --git a/src/share/win_utf8_io/win_utf8_io.c
> b/src/share/win_utf8_io/win_utf8_io.c
> index c61d27f3..1437b41e 100644
> --- a/src/share/win_utf8_io/win_utf8_io.c
> +++ b/src/share/win_utf8_io/win_utf8_io.c
>
2017 Jan 14
2
[PATCH 0/5] Allow multiple targets to be disabled
Hugo Beauzée-Luyssen wrote:
>> configure.ac: Allow the programs to be disabled
>> configure.ac: Allow bench to be disabled
>> configure.ac: Don't build any tests when they are explicitely disabled
>> configure.ac: Allow examples to be disabled
>> win_utf8_io: Avoid forbidden functions when building for WinRT/UWP
>>
>> configure.ac
2016 Jan 08
8
Lets do a 1.3.2 release
HI all,
I think its time for a new release. The current code base is stable
and I've been building it for x86_64/linux, powerpc/linux, armhf/linux,
x86_64/darwin in a Jenkins build bot. I'm pretty sure others have been
building regularly on their platforms of interest.
I made a first pass on an update to the changelog.html. I' also putting
toether a release checklist that I will add
2014 May 24
2
make dllimport/dllexport attributes work with mingw (and others)
The following patch changes export.h so that the dllimport/dllexport
attributes work with mingw/mingw-w64 and others:
- changes _declspec keyword to __declspec: the former may not be
defined by some toolchains.
- changes the _MSC_VER condition to universally _WIN32: MSVC, as well
as GCC supports this.
Attached patch: declspec.diff
Regards.
--
O.S.
-------------- next part --------------
2017 Jan 14
0
[PATCH 0/5] Allow multiple targets to be disabled
On 01/06/2017 01:53 PM, Hugo Beauzée-Luyssen wrote:
> Hi,
>
> This patchet allows a few targets to be disabled when unrequired.
> The rational is coming from VLC's contrib buildsystem, so far we use make -C to select only some subparts of the available targets.
> It would be easier and cleaner to use autoconf to do so IMHO.
>
> There's an additional patch which fixes
2016 Jan 09
3
Lets do a 1.3.2 release
lvqcl wrote:
>>> Win_utf8 stuff should not be included in libflac since it's only to be
>>> used by the flac.exe frontend. It is not needed by other programs nor
>>> would they benefit from it without doing the extra work of converting
>>> their ansi filenames and functions to utf-8.
>>>
>>>> Version 2 of my patch attached, which fixes
2016 Feb 01
3
Problems building on MinGW
Hi all,
I tried building the latest flac.git on Windows with MinGW just
today, and got the following build error: (I had to copy-paste
this 'by hand', so there might be a few small mistakes)
> CCLD utf8/libutf8.la
> CC win_utf8_io/win_utf8_io.lo
> win_utf8__io/win_utf8_io.c:266:13: error: static declaration
> of 'set_filename_utf8' follows
2013 Apr 20
1
One tiny Windows Unicode patch
I have been doing some heavy testing with the new FLAC version, and I
found that CreateFile function in grabbag had been left out of UTF-8
treatment at some point. This causes re-encoding an existing flac to the
same name to break the file if it contains non-ascii characters.
Attached patch fixes this.
-------------- next part --------------
diff --git a/include/share/win_utf8_io.h
2016 Jan 09
2
Lets do a 1.3.2 release
Janne Hyv?rinen wrote:
> Win_utf8 stuff should not be included in libflac since it's only to be
> used by the flac.exe frontend. It is not needed by other programs nor
> would they benefit from it without doing the extra work of converting
> their ansi filenames and functions to utf-8.
>
>> Version 2 of my patch attached, which fixes the problem for the
>>
2014 Sep 12
2
win_utf8_io, print_console and uint32_t
Currently it is required to include share/compat.h before inclusion
of share/win_utf8_io.h. That's because of print_console() declaration:
its 3rd argument have type 'uint32_t' which is defined in share/compat.h.
So share/win_utf8_io.h depends on share/compat.h which in turn
includes share/win_utf8_io.h. Not a problem but it's a bit ugly imho.
Actually, the 3rd argument of
2016 Jan 09
2
About libFLAC -> win_utf8_io dependency
First, this dependency exists only on Windows. For obvious
reasons such dependency cannot exist on Linux/FreeBSD/OSX/etc.
Previous versions (up to 1.2.1) didn't support Unicode filenames
on Windows. And then it was decided to add such support.
Windows uses UTF-16, where characters have 16-bit wchar_t type.
LibFLAC receives strings only via char*.
So one way to add Unicode support is to add
2016 Jan 22
2
Lets do a 1.3.2 release
lvqcl wrote:
> Then IMHO all three build systems (configure && make, Makefile.lite
> and MSVC) should be synchronized with each other
+1
> TO ERIK:
>
> I have some patches, but they either modify MSVC .vcxproj files,
> or win_utf8_io.c/.h, so they conflict with patches from Evan Ramos.
> So should they be applied? rejected? postponed until after flac 1.3.2?
We
2016 Jan 28
2
Lets do a 1.3.2 release
lvqcl wrote:
> all I can suggest
> is to apply this patch, then fix issues if they'll happen after
> this.
But seriously, as a matter of fact win_utf8_io is a part of libFLAC.
Functions from libFLAC call functions from win_utf8_io...
For example: FLAC__stream_decoder_init_file() calls init_file_internal_()
that calls flac_fopen() that is defined as fopen_utf8().
Currently
2016 Jan 16
2
Lets do a 1.3.2 release
Evan Ramos wrote:
>> So currently libFLAC on _WIN32 does depend on win_utf8_io.
>
> Does my patch fix this issue on your end?
BTW, your patch also changes MSVC solution/projects. What's the
problem with them? I built flac/metaflac/libFLAC libraries
with Visual Studio many times, and haven't noticed anything wrong.
2016 Jan 09
2
Lets do a 1.3.2 release
lvqcl wrote:
> IIRC libFLAC.a built with "./autogen.sh && ./configure && make"
> contains all functions from win_utf8_io. So I think it's possible
> to change some Makefile.lite or maybe build/*.mk files so that
> there will be no need to add -lwin_utf8_io to -lFLAC.
Version 2 of my patch attached, which fixes the problem for the
Makefile.lite and Visual
2016 Jan 29
2
Lets do a 1.3.2 release
Erik de Castro Lopo wrote:
>> Currently functions in win_utf8_io.c are a compatibility layer for
>> libFLAC. I can't see reasons not to move win_utf8_io.c into libFLAC.
>
> Ok, lets do it.
I just thought that it's more complicated. All *file* functions should
really be moved to libFLAC. But other functions should not, because
libFLAC doesn't use them.
Two of them -
2016 Jan 09
1
[PATCH] minor fix for win_utf8_io.c
I noticed that share/win_utf8_io.h includes windows.h anyway,
so another include in win_utf8_io.c is unnecessary.
Also, the comment there is incorrect.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: win_utf8_io.patch
Type: application/octet-stream
Size: 423 bytes
Desc: not available
Url :
2013 Apr 28
7
Pre-release 1.3.0pre4 (hopefully the last)
Hi all,
I have tagged 1.3.0pre4 in git and provided a tarball here:
http://downloads.xiph.org/releases/flac/beta/flac-1.3.0pre4.tar.xz
I have built and tested the git tree on:
linux-x86_64
openbsd5-i386
freebsd5-i386
as well as successfully cross compiling from Linux to 32 and 64 bit
MinGW.
As far as I am concerned, the only thing left to do for this release
is to update the
2015 Aug 30
2
Undefined behaviour
Martijn van Beurden wrote:
> I just checked on my Raspberry pi (armv6-hf, GCC 4.6) and it
> looks like decoding is actually faster with these changes. I
> benchmarked 1b8af6b against f7c52c8, the results are attached.
Interesting results, thanks.
(OTOH, GCC 4.6 was released ~4.5 years ago, so it would be also
interesting to test it on newer compilers - GCC 4.9.x or 5.x,
or some new
2016 Jan 08
3
Lets do a 1.3.2 release
Evan Ramos wrote:
> > Yes please.
>
> Patch attached.
Sorry, I misunderstood your intention. The utf8_static library should
stay as a separate component, but should be statically linked as needed
(ie its only needed for Windows)
Erik
--
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/