mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-27 01:45:35 -05:00
Compare commits
4 commits
13b30e591a
...
0e8d4c60bc
Author | SHA1 | Date | |
---|---|---|---|
|
0e8d4c60bc | ||
|
81cd8d1bca | ||
|
48cad613c7 | ||
|
f9fed578aa |
6 changed files with 29 additions and 21 deletions
|
@ -35,6 +35,12 @@
|
||||||
* Add hashtag symbol to CommonFilter::Any (#1131)
|
* Add hashtag symbol to CommonFilter::Any (#1131)
|
||||||
* Disable forward compat on android (c9e97af)
|
* Disable forward compat on android (c9e97af)
|
||||||
|
|
||||||
|
## v3.9.2
|
||||||
|
* Fix searching for mods returning unavailable mods (#1149)
|
||||||
|
|
||||||
|
## v3.9.1
|
||||||
|
* Fix mod downloads not checking version (f575187)
|
||||||
|
|
||||||
## v3.9.0
|
## v3.9.0
|
||||||
* Many changes to the settings ui (#1108)
|
* Many changes to the settings ui (#1108)
|
||||||
* Fuzzy search is now more reasonable
|
* Fuzzy search is now more reasonable
|
||||||
|
|
|
@ -237,7 +237,7 @@ endif()
|
||||||
|
|
||||||
set(MAT_JSON_AS_INTERFACE ON)
|
set(MAT_JSON_AS_INTERFACE ON)
|
||||||
CPMAddPackage("gh:geode-sdk/result@1.2.1")
|
CPMAddPackage("gh:geode-sdk/result@1.2.1")
|
||||||
CPMAddPackage("gh:geode-sdk/json@3.0.3")
|
CPMAddPackage("gh:geode-sdk/json@3.1.0")
|
||||||
CPMAddPackage("gh:fmtlib/fmt#11.0.2")
|
CPMAddPackage("gh:fmtlib/fmt#11.0.2")
|
||||||
|
|
||||||
target_compile_definitions(${PROJECT_NAME} INTERFACE MAT_JSON_DYNAMIC=1)
|
target_compile_definitions(${PROJECT_NAME} INTERFACE MAT_JSON_DYNAMIC=1)
|
||||||
|
|
|
@ -37,15 +37,15 @@ static void patchCall(uintptr_t addr, uintptr_t newCall) {
|
||||||
$execute {
|
$execute {
|
||||||
if (LoaderImpl::get()->isForwardCompatMode()) return;
|
if (LoaderImpl::get()->isForwardCompatMode()) return;
|
||||||
|
|
||||||
|
#if GEODE_COMP_GD_VERSION == 22040
|
||||||
// BitmapDC::~BitmapDC
|
// BitmapDC::~BitmapDC
|
||||||
#if 0 // TODO: mat GEODE_COMP_GD_VERSION == 22040
|
|
||||||
patchCall(0xC9A56, (uintptr_t)&RemoveFontResourceWHook);
|
patchCall(0xC9A56, (uintptr_t)&RemoveFontResourceWHook);
|
||||||
|
|
||||||
// BitmapDC::setFont
|
// BitmapDC::setFont
|
||||||
patchCall(0xCB5BC, (uintptr_t)&RemoveFontResourceWHook);
|
patchCall(0xCB5BC, (uintptr_t)&RemoveFontResourceWHook);
|
||||||
patchCall(0xCB642, (uintptr_t)&AddFontResourceWHook);
|
patchCall(0xCB642, (uintptr_t)&AddFontResourceWHook);
|
||||||
#else
|
#else
|
||||||
// #pragma message("Unsupported GD version!")
|
#pragma message("Unsupported GD version!")
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -505,20 +505,20 @@ void Loader::Impl::loadModGraph(Mod* node, bool early) {
|
||||||
thread::setName("Mod Unzip");
|
thread::setName("Mod Unzip");
|
||||||
log::loadNest(nest);
|
log::loadNest(nest);
|
||||||
auto res = unzipFunction();
|
auto res = unzipFunction();
|
||||||
auto prevNest = log::saveNest();
|
this->queueInMainThread([=, this, res = std::move(res)]() {
|
||||||
log::loadNest(nest);
|
auto prevNest = log::saveNest();
|
||||||
if (!res) {
|
log::loadNest(nest);
|
||||||
this->addProblem({
|
if (!res) {
|
||||||
LoadProblem::Type::UnzipFailed,
|
this->addProblem({
|
||||||
node,
|
LoadProblem::Type::UnzipFailed,
|
||||||
res.unwrapErr()
|
node,
|
||||||
});
|
res.unwrapErr()
|
||||||
log::error("Failed to unzip: {}", res.unwrapErr());
|
});
|
||||||
m_refreshingModCount -= 1;
|
log::error("Failed to unzip: {}", res.unwrapErr());
|
||||||
log::loadNest(prevNest);
|
m_refreshingModCount -= 1;
|
||||||
return;
|
log::loadNest(prevNest);
|
||||||
}
|
return;
|
||||||
this->queueInMainThread([=, this]() {
|
}
|
||||||
loadFunction();
|
loadFunction();
|
||||||
log::loadNest(prevNest);
|
log::loadNest(prevNest);
|
||||||
});
|
});
|
||||||
|
|
|
@ -554,12 +554,11 @@ ServerRequest<ServerModsList> server::getMods(ModsQuery const& query, bool useCa
|
||||||
// Add search params
|
// Add search params
|
||||||
if (query.query) {
|
if (query.query) {
|
||||||
req.param("query", *query.query);
|
req.param("query", *query.query);
|
||||||
} else {
|
|
||||||
// Target current GD version and Loader version when query is not set
|
|
||||||
req.param("gd", GEODE_GD_VERSION_STR);
|
|
||||||
req.param("geode", Loader::get()->getVersion().toNonVString());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
req.param("gd", GEODE_GD_VERSION_STR);
|
||||||
|
req.param("geode", Loader::get()->getVersion().toNonVString());
|
||||||
|
|
||||||
if (query.platforms.size()) {
|
if (query.platforms.size()) {
|
||||||
std::string plats = "";
|
std::string plats = "";
|
||||||
bool first = true;
|
bool first = true;
|
||||||
|
|
|
@ -1,4 +1,7 @@
|
||||||
#include "ModPopup.hpp"
|
#include "ModPopup.hpp"
|
||||||
|
|
||||||
|
#include <optional>
|
||||||
|
|
||||||
#include <Geode/binding/ButtonSprite.hpp>
|
#include <Geode/binding/ButtonSprite.hpp>
|
||||||
#include <Geode/ui/MDTextArea.hpp>
|
#include <Geode/ui/MDTextArea.hpp>
|
||||||
#include <Geode/ui/TextInput.hpp>
|
#include <Geode/ui/TextInput.hpp>
|
||||||
|
|
Loading…
Reference in a new issue