Commit graph

2463 commits

Author SHA1 Message Date
Fleeym
170506e533 fix xinput on wine 2024-06-03 17:03:37 +03:00
matcool
9a9f63a82f remove gd mod.json shorthand, per platform is now required
closes #471
2024-06-03 10:23:06 -03:00
qimiko
6b52da266c
fat libs for macos 2024-06-03 05:38:49 -07:00
matcool
ff8de703ab gnustl std::vector<bool>::at 2024-06-03 01:24:18 -03:00
matcool
324795cddb ghc::filesystem -> std::filesystem
remove ghc::filesystem :D
closes #713
2024-06-02 22:35:51 -03:00
qimiko
188ae45af2
update the libs or something 2024-06-02 17:59:13 -07:00
Cvolton
6575754b77
use aliastl on windows 2024-06-03 02:39:29 +02:00
matcool
713267a590 add getMod forward decl 2024-06-02 21:13:05 -03:00
matcool
ab08a1f64e remove log include from terminate util, fixes member test 2024-06-02 21:08:32 -03:00
kynex7510
b8996a984b
This line is useless 2024-06-02 23:13:38 +02:00
kynex7510
b6783d8997
Misinformation 2024-06-02 23:11:19 +02:00
kynex7510
9385cb302c
Load xinput if it's not already loaded 2024-06-02 23:10:05 +02:00
kynex7510
1f9cb46b02
Fix loader 2024-06-02 22:46:01 +02:00
matcool
b7488e0b5a SwelvyBG speed shouldnt depend on fps 2024-06-02 17:14:44 -03:00
matcool
959ae77036 proxy loader now properly defines ordinal 2024-06-02 16:38:50 -03:00
matcool
9194e8c718 important grammar fix 2024-06-02 15:26:06 -03:00
matcool
637a79429e fix proxyloader 2024-06-02 15:24:59 -03:00
matcool
6b79cb2b6e patch lld-link's tailMerge to almost fix xmm registers
see: https://github.com/llvm/llvm-project/issues/51941
2024-06-02 14:22:32 -03:00
matcool
a7bf4ef5ae we have enough windows bindings for proper 2.206 2024-06-02 14:06:10 -03:00
Cvolton
5e413acfc2
update cclayer header for 2.206 2024-06-02 19:00:51 +02:00
dankmeme01
0be92c90c7 fix persist and fix windows stacktrace 2024-06-02 18:05:34 +02:00
kynex7510
fe7d24cd01
Fix proxy 2024-06-02 17:10:44 +02:00
Cvolton
9b361b11b8
remove updateBar calls from slider stuff (its called implicitly by setValue) 2024-06-02 16:30:52 +02:00
kynex7510
ad54bf6425
Fix addresser 2024-06-02 10:43:41 +02:00
kynex7510
620e6b5eb9
Merge branch 'main' of https://github.com/geode-sdk/geode into new-index-but-better 2024-06-02 10:43:22 +02:00
kynex7510
4a5856ea1c
Switch to xinput 2024-06-02 09:36:33 +02:00
matcool
fd0109e408 comment out these patches for now TODO mat yeah 2024-06-02 04:03:15 -03:00
qimiko
888f6e8dac
arm mac platform 2024-06-01 20:05:54 -07:00
kynex7510
29b98b3b4b
Delete duplicates 2024-06-02 00:04:55 +02:00
kynex7510
8ea2d759cc
Revert "Revert "Merge branch 'main' into new-index-but-better""
This reverts commit be89e09e4b.
2024-06-02 00:04:09 +02:00
kynex7510
be89e09e4b
Revert "Merge branch 'main' into new-index-but-better"
This reverts commit 19ab68d202, reversing
changes made to f95daab2fe.
2024-06-02 00:00:23 +02:00
matcool
19ab68d202 Merge branch 'main' into new-index-but-better 2024-06-01 18:56:22 -03:00
kynex7510
f95daab2fe
Update loader 2024-06-01 23:50:36 +02:00
matcool
2c6ffb6bdf update all the libs 2024-06-01 18:50:29 -03:00
matcool
c0e4d43f42 fix followThunkFunction 2024-06-01 18:42:30 -03:00
matcool
00491a6859 fix narrowing casts in a very ugly way 2024-06-01 18:31:51 -03:00
kynex7510
827c28ad38
Remove win32 libs 2024-06-01 23:24:23 +02:00
altalk23
8b79a9b484 windows 64 bit entry that i have in fact not tested 2024-06-02 00:23:37 +03:00
dankmeme01
cf6f688e71 add glew32.lib 2024-06-01 23:19:15 +02:00
dankmeme01
3823134c6c add windows libs 2024-06-01 23:13:06 +02:00
dankmeme01
f8f85ad2b0 Merge branch 'main' into new-index-but-better 2024-06-01 22:39:58 +02:00
mat
ccfa6edf53
Merge pull request #814 from geode-sdk/win-64
Win 64 support
2024-06-01 17:12:30 -03:00
altalk23
bdbaed05df Merge branch 'win-64' of https://github.com/geode-sdk/geode into win-64 2024-06-01 20:23:05 +03:00
altalk23
008be9e780 typeinfo cast port 2024-06-01 20:23:03 +03:00
matcool
ae0545f977 oops 2024-06-01 14:21:31 -03:00
matcool
cf111ca000 handle delayLoad failure in Addresser::followThunkFunction 2024-06-01 14:16:40 -03:00
SMJS
2f56c0f800
Updated SimpleTextArea to clean up some old stuff and fix the overflow in most wrapping modes (#798)
* Fixed some broken overflow handles and made some optimizations in general

* Removed 2 empty methods

* Added an extra const
2024-06-01 18:22:50 +03:00
YellowCat98
ac20d69611
show info key from mod.json in geode::openIssueReportPopup (#802)
* hmm

* forgot semicolon

* add a few more changes

* compile please?
2024-06-01 18:22:29 +03:00
altalk23
de733173c0 add CCMenuItemExt for lambda callback util needs 2024-06-01 15:38:21 +03:00
kynex7510
bd7b3b12dd
QoL 2024-06-01 13:22:41 +02:00
kynex7510
ad9f0ee8bb
Change ModItem bg color 2024-06-01 13:02:15 +02:00
kynex7510
68732ebe57
Oh my fod 2024-06-01 09:01:04 +02:00
kynex7510
68e271f317
Use correct paths 2024-06-01 08:59:19 +02:00
kynex7510
a222f0895b
Fix xinput build 2024-06-01 08:48:00 +02:00
Fleeym
b9e48fd078 forgot to delete this oops 2024-06-01 00:52:04 +03:00
Fleeym
479de68286
Add a better popup for mod errors (#809) 2024-06-01 00:51:02 +03:00
kynex7510
6d5a5cacd8
Update macos curl 2024-05-31 20:10:40 +02:00
kynex7510
6bac7e0432
Skip submodules for net_libs 2024-05-31 19:25:26 +02:00
kynex7510
b3367d2230
Enable TLS certificate verification 2024-05-31 14:46:07 +02:00
kynex7510
a203a11b05
Link to zlib only on macos 2024-05-31 14:22:41 +02:00
kynex7510
b9edb00f7c
Partially revert 25fc6b0 for macos 2024-05-31 13:33:54 +02:00
kynex7510
bf7e86988c
Fix win32 build 2024-05-31 13:28:12 +02:00
kynex7510
25fc6b00ae
Remove useless lib 2024-05-31 13:27:13 +02:00
kynex7510
6671e72edf
Add android32 libs 2024-05-31 12:06:31 +02:00
kynex7510
8ccf7b8af7
Update libs 2024-05-31 11:53:04 +02:00
mat
fa92969a56
Merge pull request #805 from geode-sdk/main
update win-64 branch
2024-05-30 18:17:40 -03:00
mat
8b999d5592
followThunkFunction for windows 64 bit (probably)
tested on a local app, cant be sure whether itll work on actual gd
2024-05-30 18:10:12 -03:00
dankmeme01
57bead48fe fix labels overlapping 2024-05-30 18:28:07 +02:00
dankmeme01
2138579d14 fix bugs with download cancellation 2024-05-30 18:11:18 +02:00
dankmeme01
be3af759ec fix colors being brokey 2024-05-30 15:40:34 +02:00
dankmeme01
cea58a87f1 merge main into new-index-but-better 2024-05-30 15:19:28 +02:00
Nikki
9e0042df7c
Merge pull request #801 from kynex7510/new-index-android
Fix android crash
2024-05-28 21:52:10 +02:00
kynex7510
1419dcafb0
Revert loader changes 2024-05-28 21:03:52 +02:00
kynex7510
a4b94693a3
WebRequest: Add proxy capabilities 2024-05-28 19:11:46 +02:00
dankmeme01
43f646164f fix xhash yet again wow yay cool you can compile again 2024-05-28 07:31:10 +02:00
Oleksandr Nemesh
3e03978b1e
make getGameVersion public (#797) 2024-05-27 21:29:42 +03:00
Fleeym
663637e98e Merge branch 'main' of github.com:geode-sdk/geode into new-index-but-better 2024-05-27 01:21:30 +03:00
altalk23
6510df7c85 reremove enums.hpp 2024-05-26 17:37:03 +03:00
TheSillyDoggo
30cdb41f6f
sometimes. (#767) 2024-05-26 17:36:15 +03:00
Alvy
5b4bc9b394
add like 2 i found for CommentType (#755) 2024-05-26 17:35:37 +03:00
Calloc
4300ed746e
add GJHttpType enums (#787) 2024-05-26 17:35:25 +03:00
SpaghettDev
f902930413
some enums (#710)
* GJFeatureState

* GauntletType

* DifficultyIconType

* DemonDifficultyType

* a bit of GJMusicAction (cant find shit)

* GJErrorCode, AccountError and BackupAccountError

* CurrencySpriteType

* PlayerCollisionDirection

* gjParticleValue

* AudioGuidelinesType

* TextStyleType

* comma

* GJSongError

* SongSelectType

* FMODReverbPreset

* lowercase FMODReverbPresets

* PLAIN -> plain
2024-05-26 17:35:10 +03:00
altalk23
6737c609fa readd enums for merging prs 2024-05-26 17:34:49 +03:00
Ashton
006413a1c9
Fix Texture Pack Removal (#793) 2024-05-26 17:30:56 +03:00
altalk23
23e04a08c3 move enums to bindings 2024-05-26 16:54:37 +03:00
Sabe
5f778ea90b
FMODQueuedMusic is not an enum (#666)
* FMODQueuedMusic is not an enum

* More types that are not enums
2024-05-26 16:50:14 +03:00
altalk23
8ea94d1e39 fix getgameversion not using the impl 2024-05-26 16:07:17 +03:00
altalk23
408395064d macos early version check 2024-05-26 16:06:03 +03:00
altalk23
32f2b24ff8 move geode call to 32 2024-05-26 15:47:21 +03:00
altalk23
a1536b4a66 define the windows32 64 macros 2024-05-26 15:46:40 +03:00
altalk23
e0b30f648f fix defines 2024-05-26 14:37:35 +03:00
altalk23
01020ccbd4 windows 64 bit changes (apart for links and all) 2024-05-26 14:32:36 +03:00
Cvolton
a4c6b71ee4
make ref move ctor noexcept 2024-05-25 18:18:51 +02:00
Fleeym
961c6e2a40 new-index: add a ton of node ids 2024-05-20 19:59:00 +03:00
SpaghettDev
7a6958c47b
make CCTextFieldTTF hooks work (#774) 2024-05-19 21:05:01 +02:00
qimiko
7a87c8cfdb
ok fine 2024-05-16 17:39:59 -07:00
Chloe
fa159f17b1
update ccdirector 2024-05-16 17:25:54 -07:00
Fleeym
2b60027636 fix internal mod setup crashing on wine 2024-05-16 17:23:43 +03:00
HJfod
da06cf6e4e fixes to the BasedButtonSprite change 2024-05-16 15:08:52 +03:00
Fleeym
9bedf1bacc hey look other platforms work 2024-05-16 15:08:03 +03:00
HJfod
edb8e6c721 cherry-pick BasedButtonSprite changes from new-index-but-better 2024-05-16 14:59:46 +03:00
Fleeym
49d423dc8c windows/util: check if failed callback exists before calling 2024-05-16 14:13:41 +03:00
Fleeym
557873db25 fix FieldContainer destructor sometimes crashing 2024-05-15 23:59:42 +03:00
Fleeym
89273c9458 Merge branch 'main' into new-index-but-better 2024-05-15 23:58:55 +03:00
HJfod
f79e87af93 addSideArt overload for styling 2024-05-15 12:46:08 +03:00
HJfod
77e7c6d969 add docs for querySelector 2024-05-15 11:18:38 +03:00
HJfod
c75ec639f2 CCNode::querySelector 2024-05-15 11:11:46 +03:00
Fleeym
7071bb1588 ScrollLayer: add scrollToTop utility 2024-05-14 23:31:05 +03:00
HJfod
80455ddb14 Merge branch 'main' of https://github.com/geode-sdk/geode into main 2024-05-14 15:02:30 +03:00
HJfod
1dc9ec41cc add Result::unwrapOrDefault() 2024-05-14 15:02:17 +03:00
Chloe
fcd1a331a0
win32 cocos header update 2024-05-13 23:30:04 -07:00
mat
4baef33172
fix comment 2024-05-12 13:01:26 -03:00
matcool
d725126e1f add geode::utils::getDisplayFactor 2024-05-12 10:25:36 -03:00
dankmeme01
92e0de4dea fix <memory> include 2024-05-10 12:15:18 +02:00
ConfiG
4ce33b363a
add the new particle system fields 2024-05-09 18:26:58 +03:00
HJfod
77e0f2ebb0 fix file::readFromJson 2024-05-09 17:28:19 +03:00
HJfod
9722e8e591 Merge branch 'main' into new-index-but-better 2024-05-09 15:19:04 +03:00
HJfod
7ff257cbd4 bring in Layout changes from new-index-but-better; makes AxisLayout pimpl 2024-05-09 15:18:18 +03:00
HJfod
9c7c87fb17 add installation confirm popup 2024-05-09 15:15:06 +03:00
HJfod
654d226489 remove use of new-index-but-better-specific functions 2024-05-09 11:51:38 +03:00
HJfod
26729c3f34 cherry-pick changes to ui/General from new-index-but-better 2024-05-09 11:49:19 +03:00
HJfod
cdc41a5c10 fix ListBorders scale9sprite scaling 2024-05-09 11:44:07 +03:00
HJfod
a37af634a9 Merge branch 'main' into new-index-but-better 2024-05-09 10:57:36 +03:00
HJfod
0a145550ed fix file::readFromJson 2024-05-09 10:57:12 +03:00
qimiko
4fa80983f6
add some android keys 2024-05-08 16:31:30 -07:00
HJfod
196d50ee9b mod issues stuff 2024-05-07 17:32:14 +03:00
HJfod
6215787ff6 search filters are now good 2024-05-06 13:33:34 +03:00
HJfod
c7c2cc7afb Merge branch 'main' into new-index-but-better 2024-05-06 12:51:06 +03:00
HJfod
0160249db3 add mod developer list popup 2024-05-06 12:50:54 +03:00
HJfod
991fce0d72 add TextInput::setLabel 2024-05-06 12:50:40 +03:00
HJfod
e7df9a7a03 add task-based file picking functions 2024-05-05 23:49:07 +03:00
camila314
8db8406148 nvm 2024-05-05 14:39:33 -05:00
camila314
42fe3ba7b4 changed cchsvvalue back 2024-05-05 14:32:56 -05:00
dankmeme01
29b4732173 fix inputnode touches behaving weirdly in certain situations 2024-05-05 09:18:10 +02:00
HJfod
d5d5c3adb7 disable settings button on server mods / mods with no settings 2024-05-05 00:03:59 +03:00
HJfod
5b5b77b1bd replace theme button with geode settings button 2024-05-05 00:00:04 +03:00
HJfod
66fb257c53 stupid ass news icon 2024-05-04 23:46:30 +03:00
HJfod
a6d5a5a056 remove mod packs tab 2024-05-04 23:46:18 +03:00
HJfod
3cb119fd13 perfect (verb) geode tabs 2024-05-04 23:46:09 +03:00
HJfod
223a9c2d85 replace trending tab with recent tab 2024-05-04 23:15:01 +03:00
HJfod
d0617d1b63 fix the styling of the geode tab buttons 2024-05-04 23:14:53 +03:00
HJfod
03385d07e1 add download counts to ModItem 2024-05-04 23:01:07 +03:00
HJfod
52de5912e4 make the download bar bigger (= better looking) 2024-05-04 21:33:23 +03:00
HJfod
7fa73b84c4 Merge branch 'main' into new-index-but-better 2024-05-04 21:17:28 +03:00
HJfod
c48e8ad8d4
i'm sorry wtf was i doing with that commit???
was bro high??? tf was this about
2024-05-04 21:14:22 +03:00
HJfod
58a3868a01 Merge branch 'main' into new-index-but-better 2024-05-04 21:09:57 +03:00
HJfod
ae6856f6aa check that the input string is not null in TextInput 2024-05-04 21:09:33 +03:00
HJfod
dd53fbbf5d setup internal mod immediately to make sure it's valid in $execute 2024-05-04 12:12:22 +03:00
HJfod
309de35a57 Merge branch 'main' into new-index-but-better 2024-05-04 10:56:43 +03:00
mat
5c5e3bac72
add missing include in TextInput.hpp 2024-05-01 12:51:08 -03:00
mat
b2f1b1f540
oh my fod 2024-04-29 17:41:45 -03:00
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
HJfod
6304e8c6d7 add mod list sorting 2024-04-01 22:02:04 +03:00
HJfod
2e482cedfb squeeze FiltersPopup 2024-04-01 21:28:00 +03:00
HJfod
3e6b300115 clean up filters popup 2024-03-30 23:30:28 +02:00
HJfod
be048d41b9 fix spacers being scaled down in layouts 2024-03-30 21:58:00 +02:00
HJfod
dce50ca4df Merge branch 'main' into new-index-but-better 2024-03-30 21:21:33 +02:00
HJfod
730729ccd5 impl filtering by tags 2024-03-30 21:07:29 +02:00
HJfod
a7a4dd9a91 fix searching not working on installed mods anymore 2024-03-30 19:55:33 +02:00
HJfod
6d3f72209f show updates button state is now properly updated :3 2024-03-30 19:51:18 +02:00
HJfod
17f6aa09bb impl updates filtering for installed mods 2024-03-29 23:10:01 +02:00
iAndyHD3
9426b6bc4a add GJGameEvent
source: GJBaseGameLayer::gameEventToString
2024-03-29 15:34:16 +01:00
HJfod
cc5cb07b7d adjust search fuzzying 2024-03-29 13:16:25 +02:00
HJfod
8f550e57d3 rework ModListSource to be inheritance-based 2024-03-29 13:16:05 +02:00
altalk23
dd6e20b283 add a GEODE_REVERT_TODO_RETURN option for cmake 2024-03-27 22:36:45 +03:00
altalk23
55e1f6a16c Operation Big Sister - Finalize TodoReturn changes 2024-03-27 22:18:46 +03:00
altalk23
f3267b0f43 Operation Big Sister - Make TodoReturn a struct and disallow modifying TodoReturn functions 2024-03-27 20:55:14 +03:00
HJfod
bd95800fd2 (currently non-functional) UPDATE ALL BUTTON!!!!! 2024-03-27 12:09:32 +02:00
HJfod
aa032a9d8d fix checks for installed mods using getLoadedMod instead of getInstalledMod 2024-03-27 12:09:13 +02:00
dankmeme01
7155705f35 that was, in fact, not very thread-safe 2024-03-26 22:24:46 +01:00
HJfod
984cb81535 have to commit to work elsewhere :/ 2024-03-26 22:25:05 +02:00
HJfod
9953904628 fix geode logo size in menu 2024-03-26 22:19:43 +02:00
HJfod
fc7d3343d9 implement proper mod update checking 2024-03-26 22:18:34 +02:00
HJfod
269ba9002a make the defaulted comparison functions not constexpr for macos 2024-03-26 21:21:37 +02:00
Cvolton
c8d1e88a97
fix memory leak in handletouchpriority 2024-03-25 23:24:20 +01:00
Cvolton
912aa23833
add missing header to msvc allocator 2024-03-25 23:22:38 +01:00
kynex7510
afc4d572ba
Fix C++23 compilation (#644) 2024-03-25 23:21:39 +01:00
dankmeme01
bb81fa6cb2
Merge pull request #636 from kynex7510/msvcstl
MSVC Fixups
2024-03-25 21:03:13 +01:00
kynex7510
b4cbae894a
Fix macos build 2024-03-25 20:51:17 +01:00
Oleksandr Nemesh
9362df6078
Implement "Report Issue" button (#634)
Currently, "Report an Issue" button, which can be found in the `ModInfoPopup` if `mod.json` contains `issues` property, doesn't do anything useful except opening crashlog directory.
This changes it to actually open the specified URL in browser / crashlogs directory, instead of both buttons having the same action.
2024-03-25 20:43:24 +01:00
Cvolton
223f168fb0
windows: fix restart with spaces in exe filename 2024-03-25 15:03:23 +01:00
HJfod
575a7cb7e0 Merge branch 'main' into new-index-but-better 2024-03-25 15:18:17 +02:00
HJfod
54e9763631 make mod list state updating use events instead of poor man's delegates 2024-03-25 15:17:20 +02:00
HJfod
e13091115b always open up installed version of mod popup if possible 2024-03-25 13:26:03 +02:00
HJfod
560b42c8de make server mods have a little bit of a different color 2024-03-25 13:18:25 +02:00
HJfod
98e174ac10 include repository in server mods 2024-03-25 12:36:33 +02:00
HJfod
54b66868fb fix about and changelog on server mods (though server doesn't give the data yet) 2024-03-25 11:57:38 +02:00
HJfod
bdd8698e54 implement uninstalling in new ui :3 2024-03-25 01:05:48 +02:00
HJfod
13842b0fce add white delete button sprite for ModPopup 2024-03-25 00:53:15 +02:00
Cvolton
2d13d4f84f
retain node in handleTouchPriority 2024-03-24 22:35:17 +01:00
HJfod
a4685a50e1 fix ModPopup::updateState behaviour with the enable button 2024-03-24 21:31:42 +02:00
HJfod
8b23be8d81 fix CCMenuItemToggler scaling in AxisLayouts 2024-03-24 20:01:33 +02:00
HJfod
f1f96dee50 move color definitions to a centralized $execute block 2024-03-24 14:27:44 +02:00
HJfod
062ab12c83 impl disabling / enabling mods through ModPopup 2024-03-24 13:35:00 +02:00
HJfod
6edef6c61b finalize positioning of left column in ModPopup 2024-03-24 12:23:20 +02:00
HJfod
1876af8124 add tags to ModPopup 2024-03-24 12:05:50 +02:00
HJfod
c8a603cdbb add function for tags endpoint 2024-03-24 11:27:28 +02:00
HJfod
4447153f24 implement tags key in ModMetadata 2024-03-24 11:05:51 +02:00
HJfod
f40ced5bff lots of work on ModPopup 2024-03-24 00:34:47 +02:00
HJfod
56679e739b add a ModMetadata overload for openSupportPopup + make it crash-resistant 2024-03-24 00:33:46 +02:00
HJfod
6995e8d4c5 add support for overriding cross axis line alignment on AxisLayout nodes 2024-03-24 00:33:03 +02:00
HJfod
56839119f0 fix anchor parameters in addChildAtPosition being flipped the wrong way 2024-03-24 00:32:28 +02:00
HJfod
ec5dafbc8f cache mod server info requests 2024-03-23 19:49:26 +02:00
HJfod
fa62b8813e add versions to mod list items 2024-03-23 19:42:35 +02:00
HJfod
a3c85e0b9c organize mods ui files 2024-03-23 19:34:10 +02:00
HJfod
98dc9f51cd clear all server caches after leaving modslayer 2024-03-23 18:10:54 +02:00
HJfod
ece3fd22d8 fix mac server cache build 2024-03-23 17:39:48 +02:00
HJfod
6aa60327a3 fix mac Promise build 2024-03-23 17:36:59 +02:00
HJfod
62480cc3e8 fix Promsie build on other platforms 2024-03-23 17:31:21 +02:00
HJfod
dc633ec72e server caching works like a dream now 2024-03-23 17:25:54 +02:00
HJfod
b417e0686d Merge branch 'main' into new-index-but-better 2024-03-22 15:36:39 +02:00
HJfod
9cccecd4e7 the new promise design finally works :^) 2024-03-22 15:35:22 +02:00
dankmeme01
7f509e5297 add missing particlesystem virtual 2024-03-22 12:45:47 +01:00
kynex7510
cbebb3d66f
MSVC UMap, USet 2024-03-20 16:52:48 +01:00
dankmeme01
1a67f9b862 fix fmodfix cc and update tuliphook 2024-03-18 12:44:07 +01:00
qimiko
682144f188
enable fmod fix for all platforms 2024-03-17 17:06:26 -07:00
Cvolton
8ab3f56090
Windows: change outdated gd message 2024-03-17 18:11:08 +01:00
dankmeme01
ea6ac9f172 whats more scary is the fact that it compiled 2024-03-16 20:10:29 +01:00
Cvolton
7f9dcc6b95
improve ccmenuitem activate crash fix 2024-03-16 02:26:20 +01:00
dankmeme01
e4ab8819f5 add some util functions to gd map :map: 2024-03-15 21:12:56 +01:00
dankmeme01
d165616700 fix gnustl gd::map::lower_bound and upper_bound 2024-03-15 17:09:21 +01:00
HJfod
a4bcae726a i do not know what is wrong but Promise still doesn't work :( 2024-03-15 17:06:13 +02:00
HJfod
f685fa0c4f Merge branch 'main' into new-index-but-better 2024-03-13 22:51:11 +02:00
HJfod
bc98c9b84e almost finished reworking promises, they compile now but sometimes dont work 2024-03-13 22:50:36 +02:00
HJfod
8101ae50ab new promise impl (does not compile for shit) 2024-03-12 22:41:17 +02:00
dankmeme01
b7202f5409 change todoreturn to void 2024-03-12 13:36:47 +01:00
HJfod
a7909938c8
Merge pull request #615 from Weebifying/main
icontype 101
2024-03-12 14:29:48 +02:00
Cvolton
43cf9fab40
run utils::file::openFolder in its own thread (windows) 2024-03-12 13:18:39 +01:00
camila314
c02dc7d08b you cant use getMod in a source file, silly 2024-03-11 20:15:55 -05:00
HJfod
c762283b49 customizable size limit for cache 2024-03-11 11:34:04 +02:00
Weebifying
d495900068
icontype 101 2024-03-10 23:36:31 -07:00
Cvolton
96fee44064
fix impostor playlayer fix being enabled in forward compat 2024-03-11 00:37:24 +01:00
Cvolton
b44184c081
fix profile page fix misaligning profiles 2024-03-11 00:37:12 +01:00
Cvolton
005d245351
add CCMenuItem::activate fix 2024-03-11 00:37:03 +01:00
HJfod
e9c17a7c3d change cache design to be shared 2024-03-10 22:21:18 +02:00
HJfod
b21fa5bc8a remove multi result and just use single result 2024-03-10 21:39:24 +02:00
HJfod
ff5af54b07 cache server icon results 2024-03-10 13:26:47 +02:00
HJfod
e74e56e8ff change datetime parsing to use std::get_time for mac and android compat 2024-03-10 12:21:30 +02:00
HJfod
be5e892cbe Merge branch 'main' into new-index-but-better 2024-03-10 11:26:13 +02:00
HJfod
eeb998b4c8 impl links in mod metadata 2024-03-09 22:59:12 +02:00
dankmeme01
52ea6ea51c fix minor memory leak in AsyncWebRequest 2024-03-09 12:10:42 +01:00
HJfod
d0d55744ee change colors to use ccc3 in ModPopup 2024-03-08 15:18:35 +02:00
HJfod
e633021d46 add update checking in ModPopup 2024-03-05 18:25:35 +02:00
HJfod
5e76da13f6 add ObjWrapper 2024-03-05 18:25:25 +02:00
HJfod
581af3b9ce Merge branch 'main' into new-index-but-better 2024-03-05 12:19:36 +02:00
Ashton
709a6a3b3b
Fix a duplicated node ID (#574) 2024-03-05 02:02:09 +01:00
HJfod
2105441f0c Merge branch 'main' into new-index-but-better 2024-03-04 22:47:35 +02:00
camila314
ba6483404b you can now update the bytes of a patch 2024-03-03 15:23:26 -06:00
HJfod
a152b60059 change full date format to unambiguous Mon DD YYYY 2024-03-03 00:45:26 +02:00
HJfod
04d4df1326 shrink the stat value labels a bit 2024-03-03 00:45:03 +02:00
HJfod
38852566a6 impl uploaded at and updated at stats 2024-03-03 00:28:06 +02:00