From 106ad08cd2b571fcffdcd23fa45bd4d8cccec2c3 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 9 May 2022 23:12:17 +0200 Subject: [PATCH 1/6] increment version number to 0.23.8 --- NEWS | 2 ++ doc/conf.py | 2 +- meson.build | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index 5d5b08731..fa0477a1a 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,5 @@ +ver 0.23.8 (not yet released) + ver 0.23.7 (2022/05/09) * database - upnp: support pupnp 1.14 diff --git a/doc/conf.py b/doc/conf.py index 90e51ca9f..170e0e8cd 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -38,7 +38,7 @@ author = 'Max Kellermann' # built documents. # # The short X.Y version. -version = '0.23.7' +version = '0.23.8' # The full version, including alpha/beta/rc tags. #release = version + '~git' diff --git a/meson.build b/meson.build index df5972e75..d4ea38920 100644 --- a/meson.build +++ b/meson.build @@ -1,7 +1,7 @@ project( 'mpd', ['c', 'cpp'], - version: '0.23.7', + version: '0.23.8', meson_version: '>= 0.56.0', default_options: [ 'c_std=c11', From c6f7f5777694c448aa42d17f88ab9cf2e3112dd0 Mon Sep 17 00:00:00 2001 From: Caleb Xu Date: Mon, 16 May 2022 22:31:39 -0400 Subject: [PATCH 2/6] apple/Throw: add missing header strlen() and strcpy() are provided by the and headers (as functions in global and std namespaces, respectively). Compilers MAY provide an implementation for either of the functions without including the extra header but the existence of a declaration without the header is not assured. --- src/apple/Throw.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/apple/Throw.cxx b/src/apple/Throw.cxx index 9f6fd7a58..9bc27b7d0 100644 --- a/src/apple/Throw.cxx +++ b/src/apple/Throw.cxx @@ -31,6 +31,7 @@ #include "ErrorRef.hxx" #include "StringRef.hxx" +#include #include namespace Apple { @@ -57,8 +58,8 @@ ThrowOSStatus(OSStatus status, const char *_msg) const Apple::StringRef cfstr(cferr.CopyDescription()); char msg[1024]; - strcpy(msg, _msg); - size_t length = strlen(msg); + std::strcpy(msg, _msg); + size_t length = std::strlen(msg); cfstr.GetCString(msg + length, sizeof(msg) - length); throw std::runtime_error(msg); From aa7b872a14d071a541702f623c7461f1f61bf520 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 12 May 2022 05:50:09 +0200 Subject: [PATCH 3/6] .github/workflows/build.yml: run "apt-get update" The build has been failing for a week or two because the package lists in the image are outdated. --- .github/workflows/build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 004ea3530..6977c2c98 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -41,7 +41,8 @@ jobs: key: linux - name: Install dependencies run: | - sudo apt install -y --no-install-recommends \ + sudo apt-get update + sudo apt-get install -y --no-install-recommends \ g++-10 libfmt-dev libboost-dev \ libgtest-dev \ libpcre2-dev \ From b577783cf0f61218af35917be47ed4b340f6635b Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 19 May 2022 09:23:56 +0200 Subject: [PATCH 4/6] .github/FUNDING.yml: remove, no funding This was an experiment, but I decided I don't need that. --- .github/FUNDING.yml | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 .github/FUNDING.yml diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml deleted file mode 100644 index 402b03c23..000000000 --- a/.github/FUNDING.yml +++ /dev/null @@ -1,12 +0,0 @@ -# These are supported funding model platforms - -github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] -patreon: # Replace with a single Patreon username -open_collective: # Replace with a single Open Collective username -ko_fi: # Replace with a single Ko-fi username -tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel -community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry -liberapay: MaxK -issuehunt: # Replace with a single IssueHunt username -otechie: # Replace with a single Otechie username -custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] From 32aafb35729b102b041726c9f6bf5f58eab7b2be Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 19 May 2022 09:24:59 +0200 Subject: [PATCH 5/6] .github/ISSUE_TEMPLATE/question.md: remove, we have GitHub discussions now --- .github/ISSUE_TEMPLATE/question.md | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/question.md diff --git a/.github/ISSUE_TEMPLATE/question.md b/.github/ISSUE_TEMPLATE/question.md deleted file mode 100644 index f476047ae..000000000 --- a/.github/ISSUE_TEMPLATE/question.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -name: Question -about: Ask a question about MPD ---- - - -## Question From a009e95afdd6be4459b2262bc10760c08bec9d0f Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 19 May 2022 09:26:20 +0200 Subject: [PATCH 6/6] .github/ISSUE_TEMPLATE/bug_report.md: add "Configuration" section --- .github/ISSUE_TEMPLATE/bug_report.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index b8af47cad..2335fe225 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -18,5 +18,9 @@ about: Create a bug report +## Configuration + + + ## Log