From 650a30d7940fd395bc664558ead883a6ada918a7 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 15 Apr 2021 16:13:27 +0200 Subject: Revert "tag/Pool: use strncmp() without strlen() to compare strings" This reverts commit 1532983fb5755305a86fc37d2f35a7757d2bd66f. This optimization was bad because now all strings match if they are a prefix of another string, and this caused collisions in the tag string pool, corrupting the database. --- NEWS | 2 ++ 1 file changed, 2 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 738904249..f72f15838 100644 --- a/NEWS +++ b/NEWS @@ -6,6 +6,8 @@ ver 0.22.7 (not yet released) - gme: support RSN files * storage - curl: don't use glibc extension +* database + - simple: fix database corruption bug * output - httpd: send header "Access-Control-Allow-Origin: *" - wasapi: add algorithm for finding usable audio format -- cgit v1.2.3 From b885f358a51d1ea6b126372a3d122b26c19dbe46 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 26 Apr 2021 21:33:51 +0200 Subject: output/control: add missing nullptr checks Fixes crash when pausing the default partition after an output was moved to another partition. Closes https://github.com/MusicPlayerDaemon/MPD/issues/1147 --- NEWS | 1 + 1 file changed, 1 insertion(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index f72f15838..a9a846f70 100644 --- a/NEWS +++ b/NEWS @@ -9,6 +9,7 @@ ver 0.22.7 (not yet released) * database - simple: fix database corruption bug * output + - fix crash when pausing with multiple partitions - httpd: send header "Access-Control-Allow-Origin: *" - wasapi: add algorithm for finding usable audio format - wasapi: use default device only if none was configured -- cgit v1.2.3 From 0f02bbc2fe4fa5e359dd3da7bb6fe9e87e96a98b Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 7 Apr 2021 17:29:58 +0200 Subject: output/jack: enable on Windows This enables the JACK output plugin on Windows, but doesn't link against libjack64.dll, instead loads the DLL at runtime with LoadLibrary(). This kludge avoids the extremely fragile JACK shared memory protocol by using the system's libjack64.dll, without requiring the same DLL at build time. --- NEWS | 1 + 1 file changed, 1 insertion(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index a9a846f70..74e975f31 100644 --- a/NEWS +++ b/NEWS @@ -10,6 +10,7 @@ ver 0.22.7 (not yet released) - simple: fix database corruption bug * output - fix crash when pausing with multiple partitions + - jack: enable on Windows - httpd: send header "Access-Control-Allow-Origin: *" - wasapi: add algorithm for finding usable audio format - wasapi: use default device only if none was configured -- cgit v1.2.3 From 638dfc398184ff0d71c2a81c8c3eb99f649ac307 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 17 May 2021 19:24:12 +0200 Subject: {input,storage}/curl: set CURLOPT_HTTPAUTH=CURLAUTH_BASIC With the default value CURLAUTH_ANY, libcurl needs to probe for authentication methods first, and only the second request will have an Authorization header. Closes https://github.com/MusicPlayerDaemon/MPD/issues/1155 --- NEWS | 2 ++ 1 file changed, 2 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 74e975f31..b0f393f57 100644 --- a/NEWS +++ b/NEWS @@ -1,6 +1,8 @@ ver 0.22.7 (not yet released) * protocol - don't use glibc extension to parse time stamps +* input + - curl: send user/password in the first request, save one roundtrip * decoder - ffmpeg: fix build problem with FFmpeg 3.4 - gme: support RSN files -- cgit v1.2.3