From a142ee6ec26b2fc7e5a2923ca444cfa0c3cd24f1 Mon Sep 17 00:00:00 2001
From: derwin12 <4643499+derwin12@users.noreply.github.com>
Date: Sat, 9 May 2026 17:38:36 -0400
Subject: [PATCH] spdlog corrections, check for updates and downloads
---
xSchedule/Pinger.cpp | 2 +-
xSchedule/RemoteFalcon/RemoteFalconMain.cpp | 4 +-
xSchedule/events/ListenerMQTT.cpp | 2 +-
xSchedule/wxsmith/xScheduleframe.wxs | 14 ++
xSchedule/xScheduleApp.cpp | 4 +-
xSchedule/xScheduleMain.cpp | 160 +++++++++++++++++++-
xSchedule/xScheduleMain.h | 10 ++
7 files changed, 188 insertions(+), 8 deletions(-)
diff --git a/xSchedule/Pinger.cpp b/xSchedule/Pinger.cpp
index 8de72927..8c124320 100644
--- a/xSchedule/Pinger.cpp
+++ b/xSchedule/Pinger.cpp
@@ -42,7 +42,7 @@ class PingThread : public wxThread {
}
void Stop() {
- spdlog::debug("Asking pinging thread %s to stop", (const char*)_pinger->GetName().c_str());
+ spdlog::debug("Asking pinging thread {} to stop", (const char*)_pinger->GetName().c_str());
_stop = true;
}
diff --git a/xSchedule/RemoteFalcon/RemoteFalconMain.cpp b/xSchedule/RemoteFalcon/RemoteFalconMain.cpp
index 87ae4bbb..c7ad475e 100644
--- a/xSchedule/RemoteFalcon/RemoteFalconMain.cpp
+++ b/xSchedule/RemoteFalcon/RemoteFalconMain.cpp
@@ -417,14 +417,14 @@ void RemoteFalconFrame::OnMenuItem_ViewLogSelected(wxCommandEvent& event)
wxString command = ft->GetOpenCommand("foo.txt");
command.Replace("foo.txt", fn);
- spdlog::debug("Viewing log file %s.", (const char*)fn.c_str());
+ spdlog::debug("Viewing log file {}.", (const char*)fn.c_str());
wxExecute(command);
delete ft;
}
else
{
- spdlog::warn("Unable to view log file %s.", (const char*)fn.c_str());
+ spdlog::warn("Unable to view log file {}.", (const char*)fn.c_str());
wxMessageBox(_("Unable to show log file."), _("Error"));
}
}
diff --git a/xSchedule/events/ListenerMQTT.cpp b/xSchedule/events/ListenerMQTT.cpp
index 5e1dbed3..095f6a7d 100644
--- a/xSchedule/events/ListenerMQTT.cpp
+++ b/xSchedule/events/ListenerMQTT.cpp
@@ -156,7 +156,7 @@ bool ListenerMQTT::Subscribe(const std::string& topic)
index += PlayListItemMQTT::EncodeString(&buffer[index], topic);
buffer[index++] = 0x00;
- spdlog::info("MQTT subscribing to topic %s.", topic);
+ spdlog::info("MQTT subscribing to topic {}.", topic);
_client.Write(buffer, index);
wxASSERT((int)_client.LastWriteCount() == index);
diff --git a/xSchedule/wxsmith/xScheduleframe.wxs b/xSchedule/wxsmith/xScheduleframe.wxs
index 535128c9..41f4557b 100644
--- a/xSchedule/wxsmith/xScheduleframe.wxs
+++ b/xSchedule/wxsmith/xScheduleframe.wxs
@@ -587,6 +587,20 @@
Show info about this application
+
+
+