Cleanup unused assets

This commit is contained in:
Digital Artifex
2026-08-13 15:17:42 -04:00
parent 3d0655edd1
commit 1826209521
14 changed files with 139 additions and 393 deletions
+17 -4
View File
@@ -20,7 +20,20 @@ set(QML_IMPORT_PATH ${QT_QML_OUTPUT_DIRECTORY}
FORCE FORCE
) )
find_package(Qt6 6.8 REQUIRED COMPONENTS Core Gui Widgets Qml Quick QuickControls2 QuickTimeline ShaderTools Concurrent) find_package(
Qt6 6.8
REQUIRED COMPONENTS
Core
Gui
Widgets
Qml
Quick
QuickControls2
QuickTimeline
ShaderTools
Concurrent
)
qt_standard_project_setup() qt_standard_project_setup()
qt_add_executable(${CMAKE_PROJECT_NAME} qt_add_executable(${CMAKE_PROJECT_NAME}
@@ -85,13 +98,13 @@ qt_add_resources(${CMAKE_PROJECT_NAME} "app_images"
"images/kero/kero_run_4.png" "images/kero/kero_run_4.png"
"images/kero/kero_success.png" "images/kero/kero_success.png"
"images/kero/kero_warning.png" "images/kero/kero_warning.png"
) )
target_compile_definitions( target_compile_definitions(
${CMAKE_PROJECT_NAME} ${CMAKE_PROJECT_NAME}
PUBLIC PUBLIC
KOMPLEX_LOCAL_DEV KOMPLEX_LOCAL_DEV
) )
include(qds) include(qds)
-1
View File
@@ -1 +0,0 @@
Imported 3D assets and components imported from bundles will be created in this folder.
+6 -8
View File
@@ -19,23 +19,17 @@ qt_add_qml_module(
newestpacksmodel.cpp newestpacksmodel.cpp
common/komplex_global.h common/komplex_global.h
common/slidingcachecontroller.h common/slidingcachecontroller.h
common/paginator.h
common/coreservices.h common/coreservices.h
common/coreservices.cpp common/coreservices.cpp
common/logging.h common/logging.h
common/fetchresult.h common/fetchresult.h
paginators/paginator.h
paginators/newestpackspaginator.h paginators/newestpackspaginator.h
paginators/featuredpackspaginator.h paginators/featuredpackspaginator.h
paginators/featuredimagespaginator.h paginators/featuredimagespaginator.h
paginators/wallpaperpaginator.h paginators/wallpaperpaginator.h
paginators/packsearchpaginator.h paginators/packsearchpaginator.h
paginators/imagesearchpaginator.h paginators/imagesearchpaginator.h
paginators/newestshaderspaginator.h
paginators/newestcubemapspaginator.h
paginators/featuredshaderspaginator.h
paginators/featuredcubemapspaginator.h
paginators/searchshaderspaginator.h
paginators/searchcubemapspaginator.h
paginators/videosearchpaginator.h paginators/videosearchpaginator.h
featuredpacksmodel.h featuredpacksmodel.h
featuredpacksmodel.cpp featuredpacksmodel.cpp
@@ -60,7 +54,8 @@ qt_add_qml_module(
common/exceptions.h common/exceptions.h
common/shadertoymetadata.h common/shadertoymetadata.h
common/shaderpack.h common/shaderpack.h
SOURCES packcompiler.h packcompiler.cpp packcompiler.h
packcompiler.cpp
) )
target_compile_definitions( target_compile_definitions(
@@ -69,9 +64,12 @@ target_compile_definitions(
KOMPLEX_PLUGIN KOMPLEX_PLUGIN
) )
add_subdirectory(3rdparty/qtkeychain)
target_link_libraries(KomplexHubPlugin PRIVATE target_link_libraries(KomplexHubPlugin PRIVATE
Qt${QT_VERSION_MAJOR}::Core Qt${QT_VERSION_MAJOR}::Core
Qt${QT_VERSION_MAJOR}::Gui Qt${QT_VERSION_MAJOR}::Gui
qt6keychain
) )
if(ENABLE_ASAN) if(ENABLE_ASAN)
+10
View File
@@ -19,6 +19,7 @@
#ifndef KOMPLEX_GLOBAL_H #ifndef KOMPLEX_GLOBAL_H
#define KOMPLEX_GLOBAL_H #define KOMPLEX_GLOBAL_H
#include <QtTypes> #include <QtTypes>
#include <QString>
#include <chrono> #include <chrono>
#ifdef KOMPLEX_PLUGIN #ifdef KOMPLEX_PLUGIN
@@ -66,5 +67,14 @@
inline static qsizetype nullsize = std::numeric_limits<qsizetype>::min(); inline static qsizetype nullsize = std::numeric_limits<qsizetype>::min();
inline static std::chrono::milliseconds KOMPLEX_RATE_LIMIT(500); inline static std::chrono::milliseconds KOMPLEX_RATE_LIMIT(500);
inline static QString KOMPLEX_KEYCHAIN_PASSWORD_KEY = QStringLiteral
(
"com.digitalartifex.komplex.keychain.password"
);
inline static QString KOMPLEX_KEYCHAIN_TOKEN_KEY = QStringLiteral
(
"com.digitalartifex.komplex.keychain.token"
);
#endif // KOMPLEX_GLOBAL_H #endif // KOMPLEX_GLOBAL_H
@@ -1,47 +0,0 @@
/*
* Komplex Wallpaper Engine
* Copyright (C) 2026 @DigitalArtifex
* https://digitalartifex.dev - https://github.com/DigitalArtifex
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>
*/
#ifndef FEATUREDCUBEMAPSPAGINATOR_H
#define FEATUREDCUBEMAPSPAGINATOR_H
#include <QObject>
#include <QNetworkAccessManager>
#include <QNetworkReply>
#include <QNetworkRequest>
#include <QEventLoop>
#include <QJsonDocument>
#include <QJsonParseError>
#include <QJsonArray>
#include <QJsonObject>
#include "wallpaperpaginator.h"
class KOMPLEX_EXPORT FeaturedCubemapsPaginator : public WallpaperPaginator
{
public:
explicit FeaturedCubemapsPaginator(QObject *parent = nullptr) : WallpaperPaginator(parent)
{
setUri(
QString::fromUtf8(KOMPLEX_ENDPOINT_CUBEMAPS_FEATURED)
);
controller()->setWindowSize(20);
}
};
#endif // FEATUREDCUBEMAPSPAGINATOR_H
@@ -1,47 +0,0 @@
/*
* Komplex Wallpaper Engine
* Copyright (C) 2026 @DigitalArtifex
* https://digitalartifex.dev - https://github.com/DigitalArtifex
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>
*/
#ifndef FEATUREDSHADERSPAGINATOR_H
#define FEATUREDSHADERSPAGINATOR_H
#include <QObject>
#include <QNetworkAccessManager>
#include <QNetworkReply>
#include <QNetworkRequest>
#include <QEventLoop>
#include <QJsonDocument>
#include <QJsonParseError>
#include <QJsonArray>
#include <QJsonObject>
#include "wallpaperpaginator.h"
class KOMPLEX_EXPORT FeaturedShadersPaginator : public WallpaperPaginator
{
public:
explicit FeaturedShadersPaginator(QObject *parent = nullptr) : WallpaperPaginator(parent)
{
setUri(
QString::fromUtf8(KOMPLEX_ENDPOINT_SHADERS_FEATURED)
);
controller()->setWindowSize(20);
}
};
#endif // FEATUREDSHADERSPAGINATOR_H
+1 -1
View File
@@ -30,9 +30,9 @@
#include <QJsonObject> #include <QJsonObject>
#include "common/logging.h" #include "common/logging.h"
#include "common/paginator.h"
#include "common/imagecache.h" #include "common/imagecache.h"
#include "common/coreservices.h" #include "common/coreservices.h"
#include "paginator.h"
/** /**
* @brief The ImagePaginator class * @brief The ImagePaginator class
@@ -1,45 +0,0 @@
/*
* Komplex Wallpaper Engine
* Copyright (C) 2026 @DigitalArtifex
* https://digitalartifex.dev - https://github.com/DigitalArtifex
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>
*/
#ifndef NEWESTCUBEMAPSPAGINATOR_H
#define NEWESTCUBEMAPSPAGINATOR_H
#include <QObject>
#include <QNetworkAccessManager>
#include <QNetworkReply>
#include <QNetworkRequest>
#include <QEventLoop>
#include <QJsonDocument>
#include <QJsonParseError>
#include <QJsonArray>
#include <QJsonObject>
#include "wallpaperpaginator.h"
class KOMPLEX_EXPORT NewestCubemapsPaginator : public WallpaperPaginator
{
public:
explicit NewestCubemapsPaginator(QObject *parent = nullptr) : WallpaperPaginator(parent)
{
setUri(
QString::fromUtf8(KOMPLEX_ENDPOINT_CUBEMAPS_NEWEST)
);
}
};
#endif // NEWESTCUBEMAPSPAGINATOR_H
@@ -1,45 +0,0 @@
/*
* Komplex Wallpaper Engine
* Copyright (C) 2026 @DigitalArtifex
* https://digitalartifex.dev - https://github.com/DigitalArtifex
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>
*/
#ifndef NEWESTSHADERSPAGINATOR_H
#define NEWESTSHADERSPAGINATOR_H
#include <QObject>
#include <QNetworkAccessManager>
#include <QNetworkReply>
#include <QNetworkRequest>
#include <QEventLoop>
#include <QJsonDocument>
#include <QJsonParseError>
#include <QJsonArray>
#include <QJsonObject>
#include "wallpaperpaginator.h"
class KOMPLEX_EXPORT NewestShadersPaginator : public WallpaperPaginator
{
public:
explicit NewestShadersPaginator(QObject *parent = nullptr) : WallpaperPaginator(parent)
{
setUri(
QString::fromUtf8(KOMPLEX_ENDPOINT_SHADERS_NEWEST)
);
}
};
#endif // NEWESTSHADERSPAGINATOR_H
@@ -27,8 +27,8 @@
#include <QJsonDocument> #include <QJsonDocument>
#include <QJsonParseError> #include <QJsonParseError>
#include "komplex_global.h" #include "common/komplex_global.h"
#include "slidingcachecontroller.h" #include "common/slidingcachecontroller.h"
/** /**
* @brief The PaginationNotifier class * @brief The PaginationNotifier class
@@ -1,45 +0,0 @@
/*
* Komplex Wallpaper Engine
* Copyright (C) 2026 @DigitalArtifex
* https://digitalartifex.dev - https://github.com/DigitalArtifex
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>
*/
#ifndef SEARCHCUBEMAPSPAGINATOR_H
#define SEARCHCUBEMAPSPAGINATOR_H
#include <QObject>
#include <QNetworkAccessManager>
#include <QNetworkReply>
#include <QNetworkRequest>
#include <QEventLoop>
#include <QJsonDocument>
#include <QJsonParseError>
#include <QJsonArray>
#include <QJsonObject>
#include "wallpaperpaginator.h"
class KOMPLEX_EXPORT SearchCubemapsPaginator : public WallpaperPaginator
{
public:
explicit SearchCubemapsPaginator(QObject *parent = nullptr) : WallpaperPaginator(parent)
{
setUri(
QString::fromUtf8(KOMPLEX_ENDPOINT_CUBEMAPS_SEARCH)
);
}
};
#endif // SEARCHCUBEMAPSPAGINATOR_H
@@ -1,45 +0,0 @@
/*
* Komplex Wallpaper Engine
* Copyright (C) 2026 @DigitalArtifex
* https://digitalartifex.dev - https://github.com/DigitalArtifex
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>
*/
#ifndef SEARCHSHADERSPAGINATOR_H
#define SEARCHSHADERSPAGINATOR_H
#include <QObject>
#include <QNetworkAccessManager>
#include <QNetworkReply>
#include <QNetworkRequest>
#include <QEventLoop>
#include <QJsonDocument>
#include <QJsonParseError>
#include <QJsonArray>
#include <QJsonObject>
#include "wallpaperpaginator.h"
class KOMPLEX_EXPORT SearchShadersPaginator : public WallpaperPaginator
{
public:
explicit SearchShadersPaginator(QObject *parent = nullptr) : WallpaperPaginator(parent)
{
setUri(
QString::fromUtf8(KOMPLEX_ENDPOINT_SHADERS_SEARCH)
);
}
};
#endif // SEARCHSHADERSPAGINATOR_H
+1 -1
View File
@@ -30,9 +30,9 @@
#include <QJsonObject> #include <QJsonObject>
#include "common/logging.h" #include "common/logging.h"
#include "common/paginator.h"
#include "common/videocache.h" #include "common/videocache.h"
#include "common/coreservices.h" #include "common/coreservices.h"
#include "paginator.h"
/** /**
* @brief The VideoPaginator class * @brief The VideoPaginator class
@@ -30,9 +30,9 @@
#include <QJsonObject> #include <QJsonObject>
#include "common/logging.h" #include "common/logging.h"
#include "common/paginator.h"
#include "common/wallpapercache.h" #include "common/wallpapercache.h"
#include "common/coreservices.h" #include "common/coreservices.h"
#include "paginator.h"
/** /**
* @brief The WallpaperPaginator class * @brief The WallpaperPaginator class