From b8fb0d754946ef63187ba03c03aca1286005eab0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20K=C3=BCpper?= Date: Wed, 22 Nov 2017 20:12:22 +0100 Subject: [PATCH 01/18] Make reading HighscoreDB more robust if song entries are incomplete --- Vocaluxe/Lib/Database/CHighscoreDB.cs | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/Vocaluxe/Lib/Database/CHighscoreDB.cs b/Vocaluxe/Lib/Database/CHighscoreDB.cs index 35e9fe87..1e0026b5 100644 --- a/Vocaluxe/Lib/Database/CHighscoreDB.cs +++ b/Vocaluxe/Lib/Database/CHighscoreDB.cs @@ -463,10 +463,19 @@ namespace Vocaluxe.Lib.Database if (reader != null && reader.HasRows) { reader.Read(); - artist = reader.GetString(0); - title = reader.GetString(1); - numPlayed = reader.GetInt32(2); - dateAdded = new DateTime(reader.GetInt64(3)); + + if (!reader.IsDBNull(0)) + artist = reader.GetString(0); + + if (!reader.IsDBNull(1)) + title = reader.GetString(1); + + if (!reader.IsDBNull(2)) + numPlayed = reader.GetInt32(2); + + if (!reader.IsDBNull(3)) + dateAdded = new DateTime(reader.GetInt64(3)); + reader.Dispose(); return true; } From d7e924b72bd1d7dc171bdde2aca00e445935d187 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20K=C3=BCpper?= Date: Thu, 23 Nov 2017 16:50:07 +0100 Subject: [PATCH 02/18] Fixed installer file names --- Installer/setup.aip | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Installer/setup.aip b/Installer/setup.aip index 1309ecc0..cf17cbd8 100644 --- a/Installer/setup.aip +++ b/Installer/setup.aip @@ -3765,8 +3765,8 @@ - - + + From 1baed149afc4987d395f1fb3f0b46f5fcfbfab6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20K=C3=BCpper?= Date: Thu, 23 Nov 2017 16:54:30 +0100 Subject: [PATCH 03/18] Updated AdvancedInstaller version --- Installer/setup.aip | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Installer/setup.aip b/Installer/setup.aip index cf17cbd8..afe22b95 100644 --- a/Installer/setup.aip +++ b/Installer/setup.aip @@ -1,5 +1,5 @@ - + @@ -18,7 +18,7 @@ - + @@ -28,7 +28,7 @@ - + @@ -4032,8 +4032,8 @@ - - - + + + From feb5c1eaed39d5c0c8414fbad1028e170f0a3380 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20K=C3=BCpper?= Date: Fri, 1 Dec 2017 16:41:21 +0100 Subject: [PATCH 04/18] Fix: PartyNameSelection visibility of team increase/decrease button --- VocaluxeLib/Menu/CMenuPartyNameSelection.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/VocaluxeLib/Menu/CMenuPartyNameSelection.cs b/VocaluxeLib/Menu/CMenuPartyNameSelection.cs index cc01f135..b4953cde 100644 --- a/VocaluxeLib/Menu/CMenuPartyNameSelection.cs +++ b/VocaluxeLib/Menu/CMenuPartyNameSelection.cs @@ -699,8 +699,8 @@ namespace VocaluxeLib.Menu private void _UpdateButtonVisibility() { - _Buttons[_ButtonIncreaseTeams].Visible = _AllowChangePlayerNum && _Teams && _PartyMode.MinTeams != _PartyMode.MaxTeams; - _Buttons[_ButtonDecreaseTeams].Visible = _AllowChangePlayerNum && _Teams && _PartyMode.MinTeams != _PartyMode.MaxTeams; + _Buttons[_ButtonIncreaseTeams].Visible = _AllowChangeTeamNum && _Teams && _PartyMode.MinTeams != _PartyMode.MaxTeams; + _Buttons[_ButtonDecreaseTeams].Visible = _AllowChangeTeamNum && _Teams && _PartyMode.MinTeams != _PartyMode.MaxTeams; _Buttons[_ButtonIncreasePlayer].Visible = _AllowChangePlayerNum; _Buttons[_ButtonDecreasePlayer].Visible = _AllowChangePlayerNum; } From af59a42f81516ebad6af607e8a0b1879a2f3fc8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20K=C3=BCpper?= Date: Fri, 1 Dec 2017 17:09:29 +0100 Subject: [PATCH 05/18] Fixed increase/decrease team button positions. --- .../Default/Screens/PartyScreenChallengeNames.xml | 8 ++++---- .../Default/Screens/PartyScreenTicTacToeNames.xml | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Output/PartyModes/Challenge/Themes/Default/Screens/PartyScreenChallengeNames.xml b/Output/PartyModes/Challenge/Themes/Default/Screens/PartyScreenChallengeNames.xml index 2ce1d175..2339b1cb 100644 --- a/Output/PartyModes/Challenge/Themes/Default/Screens/PartyScreenChallengeNames.xml +++ b/Output/PartyModes/Challenge/Themes/Default/Screens/PartyScreenChallengeNames.xml @@ -152,8 +152,8 @@ Plus Plus - 145 - 1200 + 1180 + 105 40 40 0 @@ -179,8 +179,8 @@ Minus Minus - 145 - 1200 + 1130 + 105 40 40 0 diff --git a/Output/PartyModes/TicTacToe/Themes/Default/Screens/PartyScreenTicTacToeNames.xml b/Output/PartyModes/TicTacToe/Themes/Default/Screens/PartyScreenTicTacToeNames.xml index 1e27c09c..4c798de0 100644 --- a/Output/PartyModes/TicTacToe/Themes/Default/Screens/PartyScreenTicTacToeNames.xml +++ b/Output/PartyModes/TicTacToe/Themes/Default/Screens/PartyScreenTicTacToeNames.xml @@ -148,12 +148,12 @@ 10 -