Re: [flac-dev] [PATCH website] Even more brands for links and sourceforge pages

2013-06-05 Thread Martijn van Beurden
On 05-06-13 00:45, Erik de Castro Lopo wrote:
 I notice that in the feeds/feed.xml file there is a item titled Sony 
 launches its first FLAC-playing receiver but that does not show up on 
 https://xiph.org/flac/news.html. Any idea what's going on here?

Yeah, sure, I have that all the time. The weird thing is that even when 
using Ctrl+F5, my browser (Firefox) won't reload the XML feed. You'll 
have to go to xiph.org/flac/feeds/feed.xml, refresh the feed there with 
(Ctrl+)F5, to get the new news in the browser cache, then it will show up.

I don't know how long caches are usually held, but just for the record, 
that news item of Sony shows up here.


___
flac-dev mailing list
flac-dev@xiph.org
http://lists.xiph.org/mailman/listinfo/flac-dev


Re: [flac-dev] [PATCH website] Even more brands for links and sourceforge pages

2013-06-05 Thread Erik de Castro Lopo
Martijn van Beurden wrote:

 Yeah, sure, I have that all the time. The weird thing is that even when 
 using Ctrl+F5, my browser (Firefox) won't reload the XML feed. You'll 
 have to go to xiph.org/flac/feeds/feed.xml, refresh the feed there with 
 (Ctrl+)F5, to get the new news in the browser cache, then it will show up.

Ah yes, thats it.
 
 I don't know how long caches are usually held, but just for the record, 
 that news item of Sony shows up here.

Have you tried replacing the GET here:

  xhttp.open(GET,dname,false);
  xhttp.send();
  return xhttp.responseXML;

with a POST operation instead? See the GET or POST? section of this
page:

http://www.w3schools.com/dom/dom_httprequest.asp
 
Cheers,
Erik
-- 
--
Erik de Castro Lopo
http://www.mega-nerd.com/
___
flac-dev mailing list
flac-dev@xiph.org
http://lists.xiph.org/mailman/listinfo/flac-dev


Re: [flac-dev] 1.3.0: Symbol visibility breaks XMMS plugin

2013-06-05 Thread Erik de Castro Lopo
Christian Weisgerber wrote:

 FLAC now defaults to building with -fvisibility=hidden on GCC4-ELF
 platforms.  This breaks the XMMS plugin.  At least get_iplugin_info()
 needs to be externally visible.

Applied, thanks.


Erik
-- 
--
Erik de Castro Lopo
http://www.mega-nerd.com/
___
flac-dev mailing list
flac-dev@xiph.org
http://lists.xiph.org/mailman/listinfo/flac-dev


Re: [flac-dev] [PATCH] Add missing config.h includes

2013-06-05 Thread Erik de Castro Lopo
Cristian Rodríguez wrote:

 All C and C++ files must include config.h

Applied, thanks.

Erik
-- 
--
Erik de Castro Lopo
http://www.mega-nerd.com/
___
flac-dev mailing list
flac-dev@xiph.org
http://lists.xiph.org/mailman/listinfo/flac-dev


Re: [flac-dev] [PATCH] metaflac : Fix local_strcat() to terminate string correctly.

2013-06-05 Thread Erik de Castro Lopo
Miroslav Lichvar wrote:

 The NUL char is written at incorrect place when the destination string
 is longer than 0, which causes memory corruption. It was broken by
 commit 2d6354ff2a618a79d40edbd4f208b4b07c5422f1.

Applied. Thanks.

Erik
-- 
--
Erik de Castro Lopo
http://www.mega-nerd.com/
___
flac-dev mailing list
flac-dev@xiph.org
http://lists.xiph.org/mailman/listinfo/flac-dev


[flac-dev] [PATCH] Disable FLAC__bitreader_read_rice_signed_block_asm_ia32_bswap.

2013-06-05 Thread Miroslav Lichvar
Don't use the assembly function since it seems to be slower than
the current version of FLAC__bitreader_read_rice_signed_block.
---
 src/libFLAC/stream_decoder.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libFLAC/stream_decoder.c b/src/libFLAC/stream_decoder.c
index f987c27..37934de 100644
--- a/src/libFLAC/stream_decoder.c
+++ b/src/libFLAC/stream_decoder.c
@@ -400,7 +400,7 @@ static FLAC__StreamDecoderInitStatus init_stream_internal_(
 #ifdef FLAC__CPU_IA32
FLAC__ASSERT(decoder-private_-cpuinfo.type == 
FLAC__CPUINFO_TYPE_IA32);
 #ifdef FLAC__HAS_NASM
-#if 1 /*@@ OPT: not clearly faster, needs more testing */
+#if 0 /*@@ OPT: seems to be slower than 
FLAC__bitreader_read_rice_signed_block */
if(decoder-private_-cpuinfo.data.ia32.bswap)

decoder-private_-local_bitreader_read_rice_signed_block = 
FLAC__bitreader_read_rice_signed_block_asm_ia32_bswap;
 #endif
-- 
1.8.1.4

___
flac-dev mailing list
flac-dev@xiph.org
http://lists.xiph.org/mailman/listinfo/flac-dev


Re: [flac-dev] [PATCH website] Even more brands for links and sourceforge pages

2013-06-05 Thread Martijn van Beurden

On 05-06-13 10:41, Erik de Castro Lopo wrote:

Have you tried replacing the GET here:

  xhttp.open(GET,dname,false);
  xhttp.send();
  return xhttp.responseXML;

with a POST operation instead? See the GET or POST? section of this
page:


Right, I didn't know about that. Here's a patch, it seems to work, but 
I'm not really sure. With this patch, there seems to be no caching, but 
when I reverted it, it worked too. I really don't understand Firefox 
caching.


Well, anyway, a few sources on the internet say this should work and I 
don't see a way this might break anything.
From c35a4b26d6274cf864146f725f8802c55267b3e0 Mon Sep 17 00:00:00 2001
From: Martijn van Beurden mva...@gmail.com
Date: Wed, 5 Jun 2013 19:19:14 +0200
Subject: [PATCH] Change javascript feed fetch from GET to POST

This change should disable caching of the news feed
---
 index.html | 2 +-
 news.html  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/index.html b/index.html
index 41d81d8..b4efb6b 100644
--- a/index.html
+++ b/index.html
@@ -23,7 +23,7 @@
 	  } else {
 	xhttp=new XMLHttpRequest();
 	  }
-	  xhttp.open(GET,dname,false);
+	  xhttp.open(POST,dname,false);
 	  xhttp.send();
 	  return xhttp.responseXML;
 	}
diff --git a/news.html b/news.html
index 88e8ab6..02048df 100644
--- a/news.html
+++ b/news.html
@@ -25,7 +25,7 @@
 	  } else {
 	xhttp=new XMLHttpRequest();
 	  }
-	  xhttp.open(GET,dname,false);
+	  xhttp.open(POST,dname,false);
 	  xhttp.send();
 	  return xhttp.responseXML;
 	}
-- 
1.8.1.2

___
flac-dev mailing list
flac-dev@xiph.org
http://lists.xiph.org/mailman/listinfo/flac-dev