# HG changeset patch # User Paper <paper@paper.us.eu.org> # Date 1715551276 14400 # Node ID ac1451035c85c25515bd4162ca3760de926d5fba # Parent 9a88e1725fd2d7ac59e2be74dd5fbbf804562d44 dialog/about: add utf8proc diff -r 9a88e1725fd2 -r ac1451035c85 include/core/session.h --- a/include/core/session.h Sun May 12 16:31:07 2024 -0400 +++ b/include/core/session.h Sun May 12 18:01:16 2024 -0400 @@ -3,6 +3,7 @@ #include "core/config.h" #include "gui/locale.h" + #include <QElapsedTimer> #include "semver/semver.hpp" diff -r 9a88e1725fd2 -r ac1451035c85 src/gui/dialog/about.cc --- a/src/gui/dialog/about.cc Sun May 12 16:31:07 2024 -0400 +++ b/src/gui/dialog/about.cc Sun May 12 18:01:16 2024 -0400 @@ -3,8 +3,11 @@ #include "core/session.h" #include "core/strings.h" #include "gui/widgets/text.h" + #include "pugixml.hpp" +#include "utf8proc.h" + #include <QCoreApplication> #include <QFont> #include <QHBoxLayout> @@ -78,6 +81,10 @@ "<a href=\"https://github.com/Neargye/semver\">semver v" + Strings::ToQString(semver_version.to_string()) + "</a>" + ", " + "<a href=\"http://juliastrings.github.io/utf8proc/\">utf8proc v" + + Strings::ToQString(utf8proc_version()) + + "</a>" ", parts of " "<a href=\"https://github.com/erengy/anisthesia\">Anisthesia</a>" " </p>" @@ -88,7 +95,7 @@ "</span>" " <ul style=\"margin-top: 0px; margin-bottom: 0px; margin-left: 15px; margin-right: 0px; -qt-list-indent:0;\">" " <li><strong>Eren Okka</strong> " + - tr("for creating Taiga") + + tr("for creating <a href=\"https://taiga.moe/\">Taiga</a>") + "</li>" " <li><strong>Alex Huszagh</strong> " + tr("and") + " <strong>Colin Duquesnoy</strong> " + diff -r 9a88e1725fd2 -r ac1451035c85 src/sys/glib/dark_theme.cc --- a/src/sys/glib/dark_theme.cc Sun May 12 16:31:07 2024 -0400 +++ b/src/sys/glib/dark_theme.cc Sun May 12 18:01:16 2024 -0400 @@ -2,6 +2,9 @@ #include <gio/gio.h> #include <string_view> +/* this file uses the regular gio C interface because I don't + * see any real benefit to using the C++ bindings. */ + namespace glib { bool IsInDarkTheme() {