Commit graph

1822 commits

Author SHA1 Message Date
HJfod
56f878ccb3 folder settings & allow picking which dialog to use 2024-08-24 12:13:58 +03:00
HJfod
971e3fb254 make file picker dialog cancellation not return an error but just cancel the task 2024-08-24 11:26:28 +03:00
HJfod
766b71dfbd path settings done 2024-08-24 00:33:38 +03:00
HJfod
35d16eb44e improve jsonvalidation type errors 2024-08-23 23:35:29 +03:00
HJfod
36853b785c fix crash due to not checking if setting is loaded 2024-08-23 22:55:43 +03:00
HJfod
dc6637e130 string setting nodes + move number setting nodes to a shared class + legacy custom setting nodes proven to work 2024-08-23 12:36:49 +03:00
HJfod
85e7b5e3ab make AxisLayout size hint more reasonable 2024-08-23 11:32:26 +03:00
HJfod
6ed6b32669 int and float setting nodes 2024-08-22 14:22:57 +03:00
HJfod
5263483b0a bool setting nodes are so back now 2024-08-21 23:35:31 +03:00
HJfod
40a28eec7b make custom settings be based on custom setting types 2024-08-21 21:41:44 +03:00
HJfod
a5f56cb7cb a bit of docs on modsettingsmanager 2024-08-20 13:18:59 +03:00
HJfod
71eb4a2041 fix target gd version not working if it's set to * 2024-08-20 12:57:04 +03:00
HJfod
f061dd4bf2 make setting constructors private 2024-08-20 12:50:04 +03:00
HJfod
1032d9afa8 no longer crashes on startup :3 2024-08-20 00:31:41 +03:00
HJfod
90ed885d89 Merge branch 'main' into settings 2024-08-19 19:19:48 +03:00
HJfod
f37c903160 new settings should work now 2024-08-19 19:19:29 +03:00
Cvolton
cd5a66c1d1 add Notification::Cancel 2024-08-15 15:43:45 +02:00
HJfod
05a4daf794 Merge branch 'main' into settings 2024-08-13 13:42:37 +03:00
HJfod
1b5ae86f7b fix s_idCounter missing definition 2024-08-13 13:42:24 +03:00
HJfod
c6bbf4b3a1 once again main is broken 2024-08-13 13:41:49 +03:00
HJfod
78c69199e0 Merge branch 'main' into settings 2024-08-13 13:38:11 +03:00
HJfod
1f2aa2ced7 how did i not notice- 2024-08-13 13:37:41 +03:00
HJfod
89d1a5140f new settings stuff that i need to commit because main broke 2024-08-13 13:34:33 +03:00
HJfod
00e191accb
Merge pull request #1040 from SMJSGaming/main
Added IDs to web request to prevent incompatibilities between web mods
2024-08-13 11:35:49 +03:00
SMJSGaming
58402e9b7b Made the ID system thread safe 2024-08-13 10:11:54 +02:00
SMJSGaming
a5bbf6a40c Added IDs to web request to prevent incompatibilities between web mods 2024-08-13 09:05:59 +02:00
Chloe
81f8573cc5
stl fix for member tests 2024-08-05 02:26:38 -07:00
Oleksandr Nemesh
bf6879113f fix buttons glitches 2024-08-02 02:45:39 +03:00
Oleksandr Nemesh
677e7debd5 add restart button 2024-08-02 02:45:28 +03:00
altalk23
fe730ed78b use virtual getChildren for getChildByID 2024-08-01 12:31:16 +03:00
dankmeme01
bae22b4e34 add new gd::string constructor 2024-07-30 17:19:33 +02:00
HJfod
a533b5f51a actually technically that last one didn't match og behaviour even 2024-07-29 22:06:14 +03:00
HJfod
8de28d1e2a support old <c hex> syntax too for backwards compatability 2024-07-29 22:05:37 +03:00
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