Commit graph

1839 commits

Author SHA1 Message Date
HJfod
fabe7d37de Merge branch 'main' of https://github.com/geode-sdk/geode into main 2024-07-29 20:59:11 +03:00
HJfod
749fdf1ad3 add TextInput::focus and unfocus 2024-07-29 20:58:58 +03:00
Chloe
22bcbe1b5e
remove usages of cc3x 2024-07-29 06:18:17 -07:00
Chloe
b6250cd278
fix mac build 2024-07-29 05:59:09 -07:00
HJfod
96e2f5b63a update theme button name and id 2024-07-29 15:17:25 +03:00
HJfod
69f2934768 silence a warning 2024-07-29 15:15:08 +03:00
HJfod
2a3c35f584 allow modifying Geode UI via events 2024-07-29 15:14:49 +03:00
HJfod
c323faee27 make openInfoPopup return a Task<bool> 2024-07-29 13:10:42 +03:00
HJfod
028bbf9a8b add support for hex colors + 2.2 color tags + fix mod links 2024-07-29 12:50:56 +03:00
HJfod
5c840127fa expose LoadingSpinner for mods to use 2024-07-29 12:50:22 +03:00
SMJSGaming
72586f780d Added remove methods to the web API 2024-07-27 19:53:07 +02:00
altalk23
006ede8f34 replace all c number parsing with numFromString 2024-07-25 15:17:35 +03:00
matcool
2cd1a9ee26 use C locale instead of en_us.utf8
TODO: replace these with numFromString instead :P
2024-07-24 19:21:35 -03:00
matcool
61e000daa0 check hash for downloaded mods 2024-07-20 18:16:06 -03:00
matcool
1e6d6fbcb6 these arent used anymore 2024-07-20 17:12:28 -03:00
matcool
4f321973ac implement custom window for showing crashlog instead of messagebox
very cool :-)
2024-07-20 16:28:03 -03:00
Cvolton
ba7b0fa818 remove low limit for mod logo scale 2024-07-10 14:24:25 +02:00
matcool
1f8f76a0e6 cleanup code for new image args syntax 2024-07-06 21:02:02 -03:00
Justin
0a3de6cd4e
New image arguments format (#983) 2024-07-06 20:04:25 -03:00
altalk23
66c2f9a0d4 no more CCPoint::unrotate! (function bound checking inside crashlog handler) 2024-07-07 00:41:43 +03:00
altalk23
9fd9a7876d add salmon editor button 2024-07-06 21:54:18 +03:00
HJfod
aed02d22f6 wait what it didn't even include all of my stuff in the commit??? 2024-07-06 17:15:07 +03:00
HJfod
828078ef65 i didn't actually even try to compile ANY of that 2024-07-06 17:12:32 +03:00
HJfod
9d02155d76 add Mod::checkUpdates to replace Mod::hasUpdatesAvailable 2024-07-06 17:06:50 +03:00
HJfod
1c16913499 deprecate openIndexPopup rather than openInfoPopup 2024-07-06 16:22:16 +03:00
HJfod
8dfef9e62a Merge branch 'main' of https://github.com/geode-sdk/geode into main 2024-07-06 00:44:46 +03:00
HJfod
0082765591 add special visuals for paid tag + make featured tag match with it 2024-07-06 00:44:30 +03:00
Cvolton
e432e72fa0 add openChangelogPopup, deprecate openInfoPopup 2024-07-05 23:07:30 +02:00
matcool
22b258028c bring back geode uninstall button on windows 2024-07-04 20:49:21 -03:00
matcool
e659b97ceb force internal mod to always appear enabled 2024-07-04 20:49:06 -03:00
altalk23
f73e473ae5 only skip selecting a mod if the dependency is a required one 2024-07-04 14:45:31 +03:00
altalk23
255066a4b9 build modsToLoad stack statically 2024-07-04 14:38:51 +03:00
SMJS
a96ec91f89
Added some getters to web request and added some coverage for edge-cases (#981)
* Added some getters to web request and added some coverage for possible edge-cases

* Added the getter implements for web requests

* Escaped header options
2024-06-30 17:32:06 +03:00
altalk23
427e86ef6e update account bases and category, and editor script, reflect basedbuttonsprite changes (minor semver change) 2024-06-30 02:00:30 +03:00
Flafy
1da73cf3fc
Fixes for TextInput (#977) 2024-06-28 23:49:43 -03:00
dankmeme01
09c188a157 fix the fix of the messagebox fix 2024-06-28 20:47:39 +02:00
dankmeme01
69bb63087a fix glfwerror handler 2024-06-28 20:43:25 +02:00
mat
4dd348a2e4
remove msvcstl as its no longer used 2024-06-28 11:10:19 -03:00
Fleeym
f94e95ef8e fix(FileSettingNode): use event listener for task 2024-06-25 21:09:36 +03:00
dankmeme01
d752bc2ca3 fix auto updater on macos 2024-06-25 19:41:04 +02:00
ConfiG
621e3f557c
Update libraries (#971)
- update fmt to 10.2.1
- update minizip-ng to 4.0.7
- properly link to zlib
- replace the only re2 usage with std::regex
2024-06-25 20:13:47 +03:00
qimiko
98852129f7
qwq 2024-06-25 07:03:26 -07:00
shloakmenon
ac93a6c220 Fix macOS safe mode again 2024-06-24 20:40:29 -04:00
ConfiG
14efdd86d4
hello everybody my name is config and welcome to one early return at geode 2024-06-25 03:34:11 +03:00
mat
c2e9eb9718
make safeModeCheck return a boolean 2024-06-24 21:25:55 -03:00
shloakmenon
e4905a0a20 Add Safe Mode for MacOS 2024-06-24 20:18:41 -04:00
matcool
71fdea4adb missed one dbg log 2024-06-24 16:05:39 -03:00
matcool
138460485d add check for different bytes at entry address
somehow 2 people had this, so now the code does something else to find
the main function
2024-06-24 16:02:52 -03:00
Cvolton
a654f343a8
use on_mod(Loaded) for a few more things 2024-06-23 23:45:02 +02:00
Cvolton
5ca4b571c7
add info level to notification 2024-06-23 21:46:52 +02:00
Cvolton
89ed81ac62
replace exclamation with update dot if update available 2024-06-23 21:46:43 +02:00
SpaghettDev
83f8a32a3f
More web options (HTTP version, accept encoding, transfer body, follow request, range) (#943) 2024-06-23 16:45:12 -03:00
Cvolton
83bb3c2ff2
fix missing version check for incompats 2024-06-23 17:40:25 +02:00
Cvolton
58863246af
fix install confirmation popup not showing stuff 2024-06-23 17:23:36 +02:00
dankmeme01
f06a7414bb cleanup many creates promoting better modern c++ coding practices 2024-06-23 11:36:16 +02:00
qimiko
00799b6b5b
android getgameversion impl 2024-06-22 17:46:55 -07:00
altalk23
cfb682ef79 Reenable can_catch hook for android64 (fully fixes exceptions) 2024-06-22 14:01:02 +03:00
qimiko
1f5ebf93e2
left align it for fod 2024-06-22 01:56:01 -07:00
qimiko
581e2d3a93
replace versions tab for now 2024-06-21 21:40:36 -07:00
altalk23
518f94144d Don't save data if mod is uninstalled with save 2024-06-21 14:32:31 +03:00
altalk23
b72bb9e6d0 display commit hashes for the loader mod 2024-06-21 12:03:21 +03:00
altalk23
4509607853 remove the custom setting missing warning 2024-06-21 11:13:54 +03:00
altalk23
7742b57c49 even hackier one-of abi fix 2024-06-21 11:10:23 +03:00
altalk23
8e753a3034 refix the one-of impl with hacky way 2024-06-21 10:50:13 +03:00
altalk23
5ed0ed5ba6 i hate exposing structs
why arent settings opaque pointers aaaaaaa (fixed the abi break on custom settings users)
2024-06-21 10:43:59 +03:00
qimiko
2cd0990aa1
display mods not on current platform 2024-06-20 18:57:49 -07:00
qimiko
9095005613
more details button for problems 2024-06-20 18:24:14 -07:00
mat
84a9dfa9d5
remove mod count from user agent 2024-06-20 19:18:58 -03:00
altalk23
e796711f6e quick fix events crash 2024-06-20 23:46:09 +03:00
altalk23
c66ddd56ac remove forgotten debug log 2024-06-20 22:39:11 +03:00
mat
101fc946a0
remove outdated comment 2024-06-20 15:40:43 -03:00
altalk23
c50196b31f align comments 2024-06-20 21:36:28 +03:00
altalk23
ec1d846a69 Fix delayload xmm0 2024-06-20 21:35:10 +03:00
dankmeme01
2824c17e89 some cleanup and improvement for windows crashlog
* added special case for calls of unimplemented functions on wine
* make the "Faulty Mod" string display the name and the version
* make faulty mod detection slightly smarter (for C++ exceptions and wine unimpl stubs searches through the stack instead of just checking the 1st entry)
2024-06-20 19:17:24 +02:00
altalk23
7d79ddde30 slow one-of impl 2024-06-20 19:46:12 +03:00
Fleeym
115f0e75a0 download specific version for update instead of latest 2024-06-20 19:30:51 +03:00
ConfiG
255a42c1f9
fix frame drawing over next/prev page buttons 2024-06-20 19:14:40 +03:00
altalk23
abc34f9a1e make indexof a basic for loop instead 2024-06-20 19:12:26 +03:00
altalk23
4c15bdbe32 remove toRemove from events 2024-06-20 19:06:38 +03:00
altalk23
636be07435 fix event pool race condition in a hacky way 2024-06-20 16:17:02 +03:00
altalk23
eb233f8482 update tuliphook 2024-06-20 15:37:55 +03:00
ConfiG
e273ef27b6
fix some ui positioning 2024-06-20 15:27:01 +03:00
altalk23
3f674e522d quick impl one-of 2024-06-20 14:48:51 +03:00
ConfiG
0a6a5e6206
clamp swelvy bg vertically instead of repeating 2024-06-20 14:45:27 +03:00
altalk23
08da8ca774 remove all warnings 2024-06-20 14:16:37 +03:00
altalk23
34e51ff868 cleanup old field remnants without abi break 2024-06-20 11:48:15 +03:00
dankmeme01
fdb473ac7c fix std::locale crash on some systems 2024-06-20 06:01:19 +02:00
Cvolton
79689cdbc4
fix geode layer enter crash 2024-06-19 23:51:57 +02:00
Fleeym
70fe096724
Windows stacktrace fix (#925)
* fix the windows hook exceptions

* update tuliphook

* update tuliphook

* remove old code

---------

Co-authored-by: altalk23 <45172705+altalk23@users.noreply.github.com>
Co-authored-by: dankmeme01 <42031238+dankmeme01@users.noreply.github.com>
Co-authored-by: mat <26722564+matcool@users.noreply.github.com>
2024-06-19 23:03:32 +03:00
ConfiG
815c4a31d8
no mod updates is not an error 2024-06-19 19:11:09 +03:00
matcool
adc4469f77 add AxisAlignment::Between, for equal space between elements
inspired by flexbox's space-between
2024-06-18 00:17:00 -03:00
Fleeym
76e2ed47c6 fix texture corruption on ModsLayer 2024-06-18 01:36:59 +03:00
matcool
6e6daceb1c bring back safe mode ui 2024-06-17 15:15:01 -03:00
matcool
a421047d16 check for texture loader's fallback 2024-06-17 12:02:33 -03:00
matcool
626a65cb38 ok we do need addSearchPath in updateModResources 2024-06-17 11:13:26 -03:00
Cvolton
de50b989c7
add comma to download count 2024-06-17 13:11:01 +02:00
Cvolton
71c585f80d
fix android build 2024-06-17 12:38:37 +02:00
Cvolton
8f3f4d7a05
only trigger confirmation popup if state changed 2024-06-17 10:20:47 +02:00
matcool
aeaf7f7b88 fix paths not properly being removed due to trailing /, and other logic errors 2024-06-17 03:01:28 -03:00
matcool
3313a4461d only check for updates once ever in menulayer::init 2024-06-16 17:20:49 -03:00
matcool
8f1a9cf6a3 show confirm dialog directly when updating mods 2024-06-16 17:20:36 -03:00
qimiko
8164bb20df
mark platforms as known in settings 2024-06-15 15:28:09 -07:00
HJfod
5c418c7052 Merge branch 'main' of https://github.com/geode-sdk/geode into main 2024-06-15 14:00:56 +03:00
HJfod
0309e01e04 make file::openFolder actually work on selecting paths on windows 2024-06-15 14:00:35 +03:00
dankmeme01
6ae11dd462 don't change the method from POST to GET when following a redirect 2024-06-15 11:48:02 +02:00
Fleeym
4f400b530f
Move pick file APIs to Tasks (#899) 2024-06-14 23:19:16 +03:00
Fleeym
274b8d743f
Replace "Recommended" with "Featured" tab (#897)
* replace recommended with featured

* remove suggested source, update popup

* remove featured from isDefaultQuery
2024-06-14 19:52:14 +03:00
matcool
9679b4010d update server user agent format 2024-06-14 00:54:31 -03:00
matcool
c1fbc08381 hacky temporary fix for mods with old gd key syntax 2024-06-14 00:32:38 -03:00
dankmeme01
84a2c6bc42 apparently it was a tuliphook bug so all of this is unnecessary 👍 2024-06-13 23:12:58 +02:00
dank_meme
e141d097ab dont crash on mods failling to load (again) 2024-06-13 22:07:43 +02:00
dank_meme
e37615b459 fix mods crashing instead of failing to load when they fail to load 2024-06-13 22:02:49 +02:00
kynex7510
153f22f338
Merge branch 'main' of https://github.com/geode-sdk/geode 2024-06-13 15:04:48 +02:00
kynex7510
22cc33b8a9
use string_view for sprite expansion 2024-06-13 15:04:32 +02:00
qimiko
5c684388f2
i keep forgetting to do this (pch fix) 2024-06-13 01:43:55 -07:00
Cvolton
0270d472a9
fix notification crashing when shown during a transition fade 2024-06-13 01:30:38 +02:00
Fleeym
1c40a63e33 only display more button for devs on server mods 2024-06-12 13:03:46 +03:00
Fleeym
93c12a6757 oops 2024-06-12 12:57:26 +03:00
Fleeym
014ec689d8 make dev filter search by username 2024-06-12 12:56:55 +03:00
Fleeym
06bd2e202d Index: use version with tag for creating download link 2024-06-12 12:18:58 +03:00
Fleeym
4d267d3794 ModProblemItem: use SPACE_WRAP for the textarea 2024-06-12 12:18:42 +03:00
Fleeym
e9df2af4d4 guess we're not removing date library
This reverts commit 5912a8325c.
2024-06-11 17:59:49 +03:00
Fleeym
5912a8325c remove date library 2024-06-11 17:55:50 +03:00
kynex7510
a5d638215e
Mute warning 2024-06-11 15:54:33 +02:00
kynex7510
cb1e7def9b
Remove warnings 2024-06-11 15:20:06 +02:00
kynex7510
68ac2b020a
Mute warning 2024-06-11 15:13:20 +02:00
Cvolton
698112a573
fix "loading mods cancelled" constantly appearing 2024-06-11 01:07:03 +02:00
Cvolton
2b53e8ae7d
add keyboard support to modslayer 2024-06-11 00:44:14 +02:00
dankmeme01
b8ae37ed06 dont crash on bp if debugger attached 2024-06-10 23:58:41 +02:00
Cvolton
cc5df2cac2
add awesome code to show restarting text 2024-06-10 14:35:44 +02:00
Ashton
2779c04394
UI Fixes and Revamped Developer List (#877)
* UI Fixes and Revamped Developer List

* Remove toggler fix as the underlying issue is fixed in bindings
2024-06-09 17:19:12 -03:00
SMJS
74a450e3c3
Border simplification/bad practice fixes (#883)
* Removed some useless stuff from Border

* Removed the bad z order abuse
2024-06-09 17:15:09 -03:00
dankmeme01
5b483946ba
Fix windows crashlog (#875)
* i fixed it for real now i promise i tested

* fix wine too
2024-06-08 21:40:14 +02:00
matcool
2f22102a93 trigger on_mod(Loaded) for internal mod, use it in a few places 2024-06-08 16:19:28 -03:00
dank_meme
23f444e8b4 fix windows crashlog finally!!! 2024-06-08 19:14:36 +02:00
altalk23
3ab70775c0 fix macos entry again 2024-06-08 19:20:04 +03:00
Fleeym
f909a737ec add WebResponse::into 2024-06-08 18:11:16 +03:00
altalk23
5969c905a8 fix mangles for entries 2024-06-08 16:00:04 +03:00
altalk23
6b2ac24ccd add geodeImplicitEntry and geodeCustomEntry 2024-06-08 15:57:50 +03:00
SMJS
87649f18da
Fixed padding and added a content layer to borders (#868) 2024-06-08 14:50:59 +03:00
dankmeme01
1dcc4264a4 apparently it did do something 2024-06-08 13:41:41 +02:00
Fleeym
e910645cb8 fix some touch prio issues in ModsLayer 2024-06-08 13:02:41 +03:00
Fleeym
1c36854e73 fix timezone shennanigans 2024-06-08 12:13:41 +03:00
dankmeme01
f5f3873597 fix exception handling yet again 2024-06-08 09:55:24 +02:00
qimiko
80d95cf603
change per platform array values 2024-06-07 23:42:54 -07:00
dankmeme01
6adff05755 ignore more debug exceptions 2024-06-08 08:20:04 +02:00
dankmeme01
cd7c4b9d43 fix exceptions further 2024-06-08 08:06:48 +02:00
dank_meme
ebf55395f5 Merge branch 'main' of https://github.com/geode-sdk/geode 2024-06-08 07:48:05 +02:00
dank_meme
0602b34734 fix windows crashlog 2024-06-08 07:47:52 +02:00
Fleeym
407e91605d Revert "add Task based file utils on android"
This reverts commit a299f86170.
2024-06-08 02:44:35 +03:00
Fleeym
754ae3cde6 fix supersede ids being validated 2024-06-08 02:40:25 +03:00
Fleeym
a299f86170 add Task based file utils on android 2024-06-08 00:49:10 +03:00
qimiko
47e7f8308a
split macos platform 2024-06-07 05:56:35 -07:00
qimiko
d0c6629ea3
show platform in load message 2024-06-07 05:55:40 -07:00
dankmeme01
b129808723 remove old web utils 2024-06-07 11:20:50 +02:00
dankmeme01
049482efdd fix messageboxfix and remove warning in win crashlog 2024-06-07 11:00:12 +02:00
altalk23
38976cc42c yeet wstring overloads 2024-06-07 09:38:06 +03:00
Fleeym
d943897898 use v-less version for geode param 2024-06-07 00:52:23 +03:00
Fleeym
e121323f28 add new params to update check 2024-06-07 00:46:37 +03:00
SMJS
4c2e020b7f
Added border color support and fixed the color reload (#859)
* Moved a DTOR so that $modify doesn't complain

* Added border color support and fixed the color reload

* Small name correction

* Removed a debug log
2024-06-06 23:13:57 +03:00
altalk23
0f6b6b5b9d add utils cocos 2024-06-06 21:35:47 +03:00
altalk23
ddeecaeff2 add border includes 2024-06-06 21:04:55 +03:00
Jouca
dafc4906c0
openIndexPopup fixed (#853) 2024-06-06 20:11:13 +03:00
Ashton
345262c771
Fix SwelvyBG (#852)
* Fix SwelvyBG

* Use abs instead
2024-06-06 16:56:50 +02:00
SMJS
cb81e86e2f
List color fix (#856)
* Added a fix for the color support in generic cells
2024-06-06 14:20:44 +02:00
SMJS
e9304c60ac
Added dynamic borders (#855)
* Added dynamic borders

* Removed an ambiguous size
2024-06-06 14:17:14 +02:00
dankmeme01
8cd91ac93a oh my fod 2024-06-06 13:51:24 +02:00
kynex7510
7b2051d0b6
HJFod will be executed for this 2024-06-06 12:15:33 +02:00
SMJS
9a3a66ff3f
Added better color customization support for generic list cells (#854)
* Added better color customization support for generic list cells
2024-06-06 10:03:36 +02:00
dankmeme01
99958c02c9 fix empty post fields freeze 2024-06-06 09:58:24 +02:00
qimiko
20f0f35f9c
make the load hook dynamic 2024-06-05 14:24:25 -07:00
qimiko
0060de4e64
a real path hash fix 2024-06-05 13:47:16 -07:00
SMJS
e0d9056a88
Added space only wrapping to the simple text area (#851) 2024-06-05 21:16:23 +03:00
qimiko
712caa4c1e
dynamic cast hooks for macos 2024-06-04 22:23:14 -07:00
qimiko
f08856f663
fix macos entry addresses 2024-06-04 21:52:47 -07:00
qimiko
5170433c72
no pch 2024-06-04 14:54:07 -07:00
Cvolton
144b2d70da
aliastl string 2024-06-04 23:33:07 +02:00
Fleeym
81b4d7048e fix ModProblemItem error stuff 2024-06-05 00:28:47 +03:00
Fleeym
9b4cfebbee ModsLayer: add open mods dir button 2024-06-05 00:19:47 +03:00
Fleeym
b1a21ad5f1 fix GeodeSquareSprite screwing up texture cache 2024-06-05 00:19:47 +03:00
Fire
63d4e49eda
fix m1 crashlog code (#842) 2024-06-04 15:33:32 -03:00
Cvolton
25fe269c68
use setidpopup for page changes 2024-06-04 19:39:36 +02:00
Fleeym
bb64bf8bc0 rare hjfod L 2024-06-04 20:20:20 +03:00
matcool
40e2605731 use formatDevelopers in modpopup 2024-06-04 12:55:55 -03:00
qimiko
7860cb05ef
grrr (pch fixes) 2024-06-03 17:20:47 -07:00
altalk23
35b5626252 remove ghc from util.cpp (why was this here did i broke smth) 2024-06-03 23:24:45 +03:00
altalk23
0c35a92ece Update queueInMainThread to be movable 2024-06-03 23:21:17 +03:00
altalk23
e52b488d0d remove old fields & fix some deprecations 2024-06-03 23:04:54 +03:00
Fleeym
05cb95edec SAFE restart 2024-06-03 21:13:30 +03:00
Fleeym
e5f9c90370 ModList: add alternative buttons for mods 2024-06-03 21:13:30 +03:00
Fleeym
20e80e27b1 adjust error colors on GD theme 2024-06-03 21:13:30 +03:00
Fleeym
669eef4358 ModProblems: add "Fix" button check 2024-06-03 21:13:30 +03:00
Fleeym
7087767d3e MenuLayer: prevent update and error icon overlap 2024-06-03 18:56:58 +03:00
Fleeym
4e1721a6ef make mod problems a bit better 2024-06-03 18:53:39 +03:00
Fleeym
b96be1a8f2
add support for supersede updates from server (#810) 2024-06-03 12:12:48 -03:00
Fleeym
e6e1d34694 ModList: check owner when displaying mod devs 2024-06-03 17:39:15 +03:00
matcool
9a9f63a82f remove gd mod.json shorthand, per platform is now required
closes #471
2024-06-03 10:23:06 -03:00
matcool
324795cddb ghc::filesystem -> std::filesystem
remove ghc::filesystem :D
closes #713
2024-06-02 22:35:51 -03:00
matcool
ab08a1f64e remove log include from terminate util, fixes member test 2024-06-02 21:08:32 -03:00
matcool
b7488e0b5a SwelvyBG speed shouldnt depend on fps 2024-06-02 17:14:44 -03:00