Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
d147bce
SerialPABotBase selector: only include preferred serial ports on macO…
naussika Oct 9, 2025
c1eee6e
Merge pull request #716 from naussika/main
Mysticial Oct 10, 2025
1944fbb
fixes for dpp run_on_start
naussika Oct 10, 2025
2b867d6
Fix potential double camera refresh.
Mysticial Oct 10, 2025
434ad27
Rename enum.
Mysticial Oct 10, 2025
e048e79
Comments + version#
Mysticial Oct 10, 2025
1ff09a8
Adjust spacing to make room for longer serial port names.
Mysticial Oct 10, 2025
df260ec
Merge pull request #717 from naussika/main
Mysticial Oct 10, 2025
db788bd
Back off a bit on the spacing.
Mysticial Oct 10, 2025
34b7b27
Get rid of the std::thread::detach().
Mysticial Oct 10, 2025
6afd8ec
Don't load camera on the main thread. Preload them.
Mysticial Oct 10, 2025
42df11b
Fix neutral joycon rumbles not being suppressed.
Mysticial Oct 10, 2025
a22e324
Fix stack garbage being sent as gyro data.
Mysticial Oct 10, 2025
481d094
Autostory: Team Star Poison (#718)
jw098 Oct 10, 2025
bac9565
Revert "upgrade dpp to v10.1.3 (#705)"
naussika Oct 11, 2025
b2d31af
cmake: update for onnxruntime on macOS
naussika Oct 5, 2025
a8d2ea0
update CMakeLists.txt to use brewed dpp
naussika Oct 4, 2025
b0aa9e2
remove libdpp_macos_arm64.a
naussika Oct 4, 2025
c69162f
include libdpp@10.0.22.rb for homebrew tap
naussika Oct 11, 2025
ed2ff83
Improve game entry system for LGPE to reduce silent disconnects.
Mysticial Oct 11, 2025
d92ec7f
Fix LGPE start game getting out of sync.
Mysticial Oct 11, 2025
4a88e1b
Force new firmware for wireless controllers.
Mysticial Oct 11, 2025
dce5793
update CompilingForMac.md on instructions of installing dpp
naussika Oct 11, 2025
b6e59f6
Fix wireless color table loading. Enforce latest Pico firmware.
Mysticial Oct 11, 2025
04f299e
Autostory: Medali Gym (Normal) (#720)
jw098 Oct 11, 2025
162a976
Update README.md
Mysticial Oct 11, 2025
b1aff02
Update Build-Windows-Qt6.9.0.md
Mysticial Oct 11, 2025
53d1ab0
Autostory: Dondozo/Tatsugiri Titan. update fly_to_overworld_from_map(…
jw098 Oct 12, 2025
5f40527
Qt 6.10 fixes.
Mysticial Oct 12, 2025
fa60d06
Clean up old Qt setups. Add WIP Qt6.10.
Mysticial Oct 12, 2025
4cefb4f
enable latest Autostory segments
jw098 Oct 12, 2025
49716de
Merge pull request #719 from naussika/revert-dpp
Mysticial Oct 12, 2025
5a13dd2
build instructions
Mysticial Oct 12, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
889 changes: 221 additions & 668 deletions 3rdParty/dpp/appcommand.h

Large diffs are not rendered by default.

483 changes: 61 additions & 422 deletions 3rdParty/dpp/application.h

Large diffs are not rendered by default.

557 changes: 145 additions & 412 deletions 3rdParty/dpp/auditlog.h

Large diffs are not rendered by default.

240 changes: 100 additions & 140 deletions 3rdParty/dpp/automod.h

Large diffs are not rendered by default.

42 changes: 20 additions & 22 deletions 3rdParty/dpp/ban.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
*
* D++, A Lightweight C++ library for Discord
*
* SPDX-License-Identifier: Apache-2.0
* Copyright 2021 Craig Edwards and D++ contributors
* (https://github.com/brainboxdotcc/DPP/graphs/contributors)
*
Expand All @@ -23,7 +22,7 @@
#pragma once
#include <dpp/export.h>
#include <dpp/snowflake.h>
#include <dpp/json_fwd.h>
#include <dpp/nlohmann/json_fwd.hpp>
#include <dpp/json_interface.h>
#include <unordered_map>

Expand All @@ -34,36 +33,35 @@ namespace dpp {
*
*/
class DPP_EXPORT ban : public json_interface<ban> {
protected:
friend struct json_interface<ban>;

/** Read class values from json object
* @param j A json object to read from
* @return A reference to self
*/
ban& fill_from_json_impl(nlohmann::json* j);

public:
/**
* @brief The ban reason.
*/
/** The ban reason */
std::string reason;

/**
* @brief User ID the ban applies to.
*/
/** User ID the ban applies to */
snowflake user_id;

/** Constructor */
ban();

/** Destructor */
virtual ~ban() = default;

/** Read class values from json object
* @param j A json object to read from
* @return A reference to self
*/
ban& fill_from_json(nlohmann::json* j);

/**
* @brief Build json representation of a ban
* @param with_id Include ID in json
*
* @return std::string stringified json
*/
std::string build_json(bool with_id = false) const;
};

/**
* @brief A group of bans. The key is the user ID.
/** A group of bans
*/
typedef std::unordered_map<snowflake, ban> ban_map;

}
};
101 changes: 0 additions & 101 deletions 3rdParty/dpp/bignum.h

This file was deleted.

16 changes: 7 additions & 9 deletions 3rdParty/dpp/cache.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
*
* D++, A Lightweight C++ library for Discord
*
* SPDX-License-Identifier: Apache-2.0
* Copyright 2021 Craig Edwards and D++ contributors
* (https://github.com/brainboxdotcc/DPP/graphs/contributors)
*
Expand Down Expand Up @@ -65,7 +64,7 @@ template<class T> class cache {
/**
* @brief Construct a new cache object.
*
* @note Caches must contain classes derived from dpp::managed.
* Caches must contain classes derived from dpp::managed.
*/
cache() {
cache_map = new std::unordered_map<snowflake, T*>;
Expand Down Expand Up @@ -109,7 +108,7 @@ template<class T> class cache {
} else if (object != existing->second) {
/* Flag old pointer for deletion and replace */
std::lock_guard<std::mutex> delete_lock(deletion_mutex);
deletion_queue[existing->second] = time(nullptr);
deletion_queue[existing->second] = time(NULL);
(*cache_map)[object->id] = object;
}
}
Expand All @@ -134,7 +133,7 @@ template<class T> class cache {
auto existing = cache_map->find(object->id);
if (existing != cache_map->end()) {
cache_map->erase(existing);
deletion_queue[object] = time(nullptr);
deletion_queue[object] = time(NULL);
}
}

Expand Down Expand Up @@ -250,18 +249,17 @@ template<class T> class cache {
*/
size_t bytes() {
std::shared_lock l(cache_mutex);
return sizeof(*this) + (cache_map->bucket_count() * sizeof(size_t));
return sizeof(this) + (cache_map->bucket_count() * sizeof(size_t));
}

};

/**
* Run garbage collection across all caches removing deleted items
/** Run garbage collection across all caches removing deleted items
* that have been deleted over 60 seconds ago.
*/
void DPP_EXPORT garbage_collection();

#define cache_decl(type, setter, getter, counter) /** Find an object in the cache by id. @return type* Pointer to the object or nullptr when it's not found */ DPP_EXPORT class type * setter (snowflake id); DPP_EXPORT cache<class type> * getter (); /** Get the amount of cached type objects. */ DPP_EXPORT uint64_t counter ();
#define cache_decl(type, setter, getter, counter) DPP_EXPORT class type * setter (snowflake id); DPP_EXPORT cache<class type> * getter (); DPP_EXPORT uint64_t counter ();

/* Declare major caches */
cache_decl(user, find_user, get_user_cache, get_user_count);
Expand All @@ -270,5 +268,5 @@ cache_decl(role, find_role, get_role_cache, get_role_count);
cache_decl(channel, find_channel, get_channel_cache, get_channel_count);
cache_decl(emoji, find_emoji, get_emoji_cache, get_emoji_count);

}
};

Loading