Commit graph

2062 commits

Author SHA1 Message Date
HJfod
afa57371ec add gd-style colors option 2024-04-29 19:39:02 +03:00
HJfod
7ed58b8896 add geode theming to mod settings popup 2024-04-29 17:36:42 +03:00
HJfod
d33be521cb add ListBorders UI class 2024-04-29 17:36:28 +03:00
HJfod
82d86782fb fix build on clang 2024-04-29 17:12:15 +03:00
HJfod
8fabdf545e add warning if you try to install a billion mods 2024-04-29 15:31:35 +03:00
HJfod
5266ba9655 add option for filtering by only enabled mods 2024-04-29 10:54:06 +03:00
HJfod
d36d50f525 remove debug log 2024-04-29 10:54:02 +03:00
qimiko
39331b6f80
very important string edit 2024-04-28 15:18:57 -07:00
qimiko
c4a682b991
update macos fmod for 2.2 2024-04-28 15:17:02 -07:00
HJfod
97f9820d0f
Add doc comments to Task
i wrote this on my phone sry if it breaks smth
2024-04-29 01:13:32 +03:00
matcool
280344ef60 create util for formatting api url 2024-04-28 18:31:14 -03:00
matcool
9eb7064fcd fix Task::all when tasks is empty 2024-04-28 18:10:38 -03:00
Justin
f65336d4ba
geode::cocos::isSpriteName and geode::cocos::getChildBySpriteName (#725)
* isSpriteName and getChildBySpriteName (Code)

* isSpriteName and getChildBySpriteName (Headers)
2024-04-28 17:44:20 -03:00
matcool
16636e8e7b fix empty recommended list 2024-04-28 17:33:11 -03:00
matcool
d4f49abd33 also clear filters when pressing x button 2024-04-28 17:32:44 -03:00
Justin
8ae4303918
GJDifficultyName and GJFeatureState (#706)
* Update Enums.hpp

* Update Enums.hpp

* Update Enums.hpp

* Update Enums.hpp
2024-04-28 22:28:13 +02:00
matcool
60ca65fb67 Merge branch 'main' of github.com:geode-sdk/geode into new-index-but-better 2024-04-28 16:29:07 -03:00
mat
4e130c9b3b
disable FMODFix on macos, temporarily
do this until we figure out what causes the few previous commits to not build on mac
2024-04-28 16:12:51 -03:00
Fleeym
d38b387d26 cross-platform is saved, for now 2024-04-28 20:42:28 +03:00
HJfod
00f2bf5c18 fix geode not being given top billing in mods list 2024-04-26 16:50:47 +03:00
HJfod
349af5462e make recommendations use latest major version 2024-04-26 13:52:15 +03:00
HJfod
93aa77943c add ComparableVersionInfo::getComparison 2024-04-26 13:52:02 +03:00
HJfod
a8901c350a only allow mods to have dependencies with version any or moreeq 2024-04-26 13:51:52 +03:00
mat
c5921ff098
put WindowFontCacheFix behind forward compat check 2024-04-25 17:33:53 -03:00
HJfod
beeb7ca1f8 recommended mods list 2024-04-25 17:50:00 +03:00
HJfod
8a7a7a40cc bring back old settings 2024-04-24 12:04:08 +03:00
HJfod
d6ca01abc9 update grammar for installation 2024-04-24 10:23:10 +03:00
HJfod
f3aac4a71a rewrite updater to use new webrequests 2024-04-24 10:03:22 +03:00
HJfod
ae1a766aa6 add Task::isNull 2024-04-24 00:09:39 +03:00
HJfod
684a109dee installing & updating mods (needs work still) 2024-04-23 22:24:08 +03:00
HJfod
5c3111e564 fix description & changelog not working on server mods 2024-04-22 21:19:07 +03:00
HJfod
f48dc529a8 slight color tweaks & smexy gradient 2024-04-22 20:50:44 +03:00
HJfod
0ef9c1ff55 add update button to ModPopup 2024-04-22 20:19:26 +03:00
HJfod
ff30ba3f88 tweak colors 2024-04-22 20:19:19 +03:00
HJfod
b1fff19908 fix behaviour on empty label 2024-04-22 20:19:06 +03:00
HJfod
f5f2a6450d add color3b for convenience 2024-04-22 20:18:58 +03:00
HJfod
082ad7b260 fix ModPopup eternally checking for updates on non-installed mods 2024-04-22 18:49:21 +03:00
HJfod
22d5e4e97a change update checking so they can use a better caching system 2024-04-22 18:41:49 +03:00
HJfod
9ca23e01dc fix loading spinner freezing 2024-04-22 18:25:42 +03:00
HJfod
f44f392b97 Merge branch 'main' into new-index-but-better 2024-04-22 18:16:56 +03:00
HJfod
72be477f48 fix all remaining memory issues with Task <3 2024-04-22 18:16:26 +03:00
altalk23
bdb96daed1 remove typename from listimpl 2024-04-22 17:32:51 +03:00
altalk23
20dc3c95e2 deprecate old fields 2024-04-22 15:53:23 +03:00
altalk23
aaf62584fb fix fields not working on macos? hopefully 2024-04-22 15:34:57 +03:00
HJfod
18bb4436fd Merge branch 'main' into new-index-but-better 2024-04-22 15:22:14 +03:00
HJfod
ab0aa47495 working on fixing task memory leaks 2024-04-22 15:21:44 +03:00
altalk23
db32732d47 delete class field containers 2024-04-22 15:20:02 +03:00
HJfod
3b58ed3ae2 fix the refresh button not actually forcing a cache reset on server mods 2024-04-22 13:45:10 +03:00
HJfod
adcd42e42b fix task access specifications being wrong 2024-04-22 13:39:47 +03:00
HJfod
fbdb6265df Merge branch 'main' into new-index-but-better 2024-04-22 13:36:20 +03:00
HJfod
fa1577184a fully move over from Promises to Tasks 2024-04-22 13:35:12 +03:00
HJfod
ed1668897e Task::runWithCallback among other fixes 2024-04-22 13:34:57 +03:00
HJfod
98d5216dcd fix Ok() and Err() causing unexpected implicit moves 2024-04-22 13:34:14 +03:00
HJfod
a91905bd4c fix MiniFunction not being usable with move-only parameters 2024-04-22 13:33:56 +03:00
altalk23
0a3efd7704 more typename 2024-04-22 00:22:40 +03:00
altalk23
8db0e39651 use Fields for geode fields 2024-04-22 00:20:54 +03:00
altalk23
4505b0da69 i hate concepts (alternate fields impl) 2024-04-22 00:09:49 +03:00
HJfod
5f8588ea97 Merge branch 'main' into new-index-but-better 2024-04-22 00:08:49 +03:00
HJfod
a09ba5c67c new Task class to replace Promises, test seems to indicate it's working 2024-04-22 00:08:10 +03:00
HJfod
4be910bda4 Fix crashes on trying to delete nullptr 2024-04-22 00:07:42 +03:00
Cvolton
18dd0b75cb
try fix updater sometimes skipping releases 2024-04-21 19:43:42 +02:00
dankmeme01
d7c3d4af62
Update ccTypes.h 2024-04-16 07:43:04 +02:00
Justin
5e11ddab85
Fix ccHSVValue (#694) 2024-04-16 07:16:51 +02:00
HJfod
763e312baf remove incompatible stuff from MDTextArea 2024-04-14 18:41:42 +03:00
HJfod
53b081e77b remove uses of std::source_location 2024-04-14 18:04:01 +03:00
HJfod
3fbda5748e fix text input being clickable when invisible 2024-04-14 17:58:43 +03:00
HJfod
1145426402 Fix unzip crash 2024-04-14 17:57:31 +03:00
HJfod
33e12646b8 Make terminate cause a crash instead for the crashlog and stacktrace 2024-04-14 17:57:15 +03:00
HJfod
69bcab649e Better MiniFunction terminate message 2024-04-14 17:56:48 +03:00
altalk23
2443422e94 ObjectScaleType 2024-04-14 16:14:14 +03:00
dankmeme01
f84e8660cb add the crashed thread to windows crashlogs 2024-04-14 00:12:04 +02:00
dankmeme01
798cacc1a8 add a way to access internal setting container
exposing an internal field like this isn't the best practice, but it seemed like the best and simplest solution to me to a problem of not being able to do anything to unknown setting keys (such as removing them or migrating their data if that key used to be a valid setting)
2024-04-14 00:00:17 +02:00
HJfod
33af7befed Merge branch 'main' into new-index-but-better 2024-04-13 21:47:56 +03:00
HJfod
65fb390b43 use Popup::setCloseButtonSpr 2024-04-13 21:39:29 +03:00
HJfod
243c11cc8f minifunction dont assume return value is default-constructible 2024-04-13 21:38:46 +03:00
HJfod
d107f3386f add geode::terminate and geode::unreachable 2024-04-13 21:38:26 +03:00
HJfod
b1f33db497 add Popup::setCloseButtonSpr 2024-04-13 21:38:05 +03:00
HJfod
c6ecd87da3 improve is_filter + add move binding to eventlistener 2024-04-13 21:37:49 +03:00
dankmeme01
4c492c1f60 fix a lot of ub in disownPatch 2024-04-13 14:15:09 +02:00
altalk23
65e0023df8 fix test mods and version check 2024-04-13 00:56:33 +03:00
altalk23
2db4834fff Merge branch 'main' of https://github.com/geode-sdk/geode 2024-04-12 22:56:10 +03:00
altalk23
00e971a274 fix field containers for separate modify classes in which one of them is a base of another, causing shared indices 2024-04-12 22:56:05 +03:00
Oleksandr Nemesh
e50c3abff4
Fix loading bar going out of bounds (#688)
The actual reason lies in the loader implementation, which for some reason can sometimes count up the `m_refreshedModCount` twice for some mods which are disabled.

This small change checks the actual loaded mod count instead of relying on an incorrect `LoaderImpl` member and fixes issue #687.
2024-04-12 22:45:08 +03:00
Cooper
8c61a6fe60
Add MDTextArea link (#664)
* add level: links and mod: links

* fix errors

* fix errors 2

* fix errors 3 (hopefully)

* fix errors 4 (i think fixed?)

* fix 5 PLEASE

* fix mod links and make level links actually work

* PLEASE JUST WORK!!!!!!!!!!!!!

* change it to this

* oops forgot a )

* PLEASE HORRIBLE CODE JUST WORK!

* AHHHHHHHHHHHHHHH fix

* just work

* I DO HORRIBLE CODE

* Update ModInfoPopup.cpp

---------

Co-authored-by: alk <45172705+altalk23@users.noreply.github.com>
2024-04-11 20:40:04 +03:00
glistermelon
e9da55f5fc
Windows Font Cache fix (again) (#595)
* Implemented Windows Font Cache fix, I think?

* These don't need to be volatile
2024-04-11 20:38:24 +03:00
NyteLyte
a795487634
getChildOfType negative indices: size_t is unsigned (#656)
* size_t is unsigned

`i` is always >= 0 because it is unsigned. This causes crashes if no children are found before reaching 0.

* oops

`node->getChildrenCount() - 1` in the 2nd part of the for loop underflows as well if the children count is 0
2024-04-11 20:30:35 +03:00
undefined06855
97f585545a
change #warning to #pragma message (#674) 2024-04-11 20:20:39 +03:00
The Bearodactyl
2ca2cae6f8
Update Enums.hpp (#684)
* Update Enums.hpp

* Update Enums.hpp
2024-04-11 20:14:58 +03:00
dankmeme01
071b8958b0 fix geode dll 2024-04-11 18:40:57 +02:00
dankmeme01
427c74fce3 i hope this works 2024-04-11 18:26:58 +02:00
altalk23
e83e03f714 someone (prevter) wants to make a crashlog mod so i guess it's fine we export these as well 2024-04-11 19:05:36 +03:00
dankmeme01
e77cc4d4f4 comment this out again 2024-04-11 10:29:53 +02:00
acaruso-xx
a84d49a630
[Loader] Fix android build (#680)
I probably should've tested this.
2024-04-10 22:59:54 +02:00
dankmeme01
6ea595a780
Merge pull request #678 from acaruso-xx/main
[Loader] Enable 'MZ_FORCE_FETCH_LIBS'
2024-04-10 22:44:46 +02:00
acaruso-xx
c7f8b5fea9 [Loader] Correct rendering of soft line breaks in MDTextArea 2024-04-10 16:36:03 -04:00
acaruso-xx
3fb52e3fe4 [Loader] Enable 'MZ_FORCE_FETCH_LIBS'
I think CMake is trying to link zlib from the host system? This prevents it from doing that.

This also causes a fun new CMake warning when configuring for whatever reason.
2024-04-10 16:16:42 -04:00
dankmeme01
9f2cea46ad fix the release xhash 2024-04-03 21:19:21 +02:00
dankmeme01
faf5b336a9 i could not find an answer to that question 2024-04-03 18:34:51 +02:00
dankmeme01
ac08d2f03a fix windows debug compilation 2024-04-03 18:33:37 +02:00
HJfod
399a67f56b disable sort button on non-server since they have no sorting options 2024-04-01 22:40:31 +03:00