From 7a02af07f5df2092d678eb1262ee3bd0496522c0 Mon Sep 17 00:00:00 2001 From: jcorporation Date: Thu, 14 Jun 2018 16:30:07 +0100 Subject: [PATCH 1/5] Removed libasan compile --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0819398..1d918bc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -22,7 +22,7 @@ include_directories(${PROJECT_BINARY_DIR} ${PROJECT_SOURCE_DIR} ${LIBMPDCLIENT_I include(CheckCSourceCompiles) -set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu99 -Wall -ggdb -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector -fsanitize=address -fno-omit-frame-pointer -fsanitize=undefined -fsanitize=shift -fsanitize=integer-divide-by-zero -fsanitize=unreachable -fsanitize=vla-bound -fsanitize=null -fsanitize=return -fsanitize=signed-integer-overflow -fsanitize=bounds -fsanitize=bounds-strict -fsanitize=alignment -fsanitize=object-size -fsanitize=float-divide-by-zero -fsanitize=float-cast-overflow -fsanitize=nonnull-attribute -fsanitize=returns-nonnull-attribute -fsanitize=bool -fsanitize=enum -fsanitize=vptr -static-libasan") +set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu99 -Wall") set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -ggdb -pedantic") if(WITH_IPV6) set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS NS_ENABLE_IPV6) From a370af5bba7d199e583805aa0202244f0dc15964 Mon Sep 17 00:00:00 2001 From: jcorporation Date: Thu, 14 Jun 2018 16:31:54 +0100 Subject: [PATCH 2/5] Bump version to 2.2.1 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1d918bc..0746044 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,7 +4,7 @@ project (mympd C) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${PROJECT_SOURCE_DIR}/cmake/") set(CPACK_PACKAGE_VERSION_MAJOR "2") set(CPACK_PACKAGE_VERSION_MINOR "2") -set(CPACK_PACKAGE_VERSION_PATCH "0") +set(CPACK_PACKAGE_VERSION_PATCH "1") if(CMAKE_BUILD_TYPE MATCHES RELEASE) set(ASSETS_PATH "${CMAKE_INSTALL_PREFIX}/share/${PROJECT_NAME}/htdocs") else() From 6fe4e997c289889f075c3cef7394caf178f5cde3 Mon Sep 17 00:00:00 2001 From: jcorporation Date: Thu, 14 Jun 2018 16:33:19 +0100 Subject: [PATCH 3/5] Bump version to 2.3.0 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1d918bc..34b25f8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 2.6) project (mympd C) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${PROJECT_SOURCE_DIR}/cmake/") set(CPACK_PACKAGE_VERSION_MAJOR "2") -set(CPACK_PACKAGE_VERSION_MINOR "2") +set(CPACK_PACKAGE_VERSION_MINOR "3") set(CPACK_PACKAGE_VERSION_PATCH "0") if(CMAKE_BUILD_TYPE MATCHES RELEASE) set(ASSETS_PATH "${CMAKE_INSTALL_PREFIX}/share/${PROJECT_NAME}/htdocs") From 43d77690ae1850e471dc895802771f699c9cd1b2 Mon Sep 17 00:00:00 2001 From: jcorporation Date: Thu, 14 Jun 2018 21:04:25 +0100 Subject: [PATCH 4/5] Fixed tag selection in search --- htdocs/js/mpd.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/js/mpd.js b/htdocs/js/mpd.js index b99ea38..698653c 100644 --- a/htdocs/js/mpd.js +++ b/htdocs/js/mpd.js @@ -195,9 +195,9 @@ app.route=function() { } $('#searchstr2').val(app.current.search); $('#searchtags2 > button').each(function() { - if ($(this).text == app.current.filter) { + if ($(this).text() == app.current.filter) { $(this).removeClass('btn-secondary').addClass('btn-success'); - $('#searchtags2desc').text($(this).text); + $('#searchtags2desc').text($(this).text()); } }); } From 35a3a47bbe72438a9a553b365ed099a1580a1627 Mon Sep 17 00:00:00 2001 From: jcorporation Date: Mon, 18 Jun 2018 21:05:15 +0100 Subject: [PATCH 5/5] Fix local player --- htdocs/player.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/player.html b/htdocs/player.html index 65af38f..ae4265b 100644 --- a/htdocs/player.html +++ b/htdocs/player.html @@ -6,7 +6,7 @@ myMPD: Local Player - + @@ -31,7 +31,7 @@ - +