Commit graph

2592 commits

Author SHA1 Message Date
HJfod
c4fe40b037 teehee totally forgot GEODE_DLL on this one 2024-07-29 12:51:12 +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
6080fdbfde deprecate cc3x 2024-07-29 12:50:37 +03:00
HJfod
5c840127fa expose LoadingSpinner for mods to use 2024-07-29 12:50:22 +03:00
MarioMastr
0ef7d6e075
add custom_constructor to ccglprogram (#1009) 2024-07-29 00:19:00 +03:00
SMJSGaming
caeef8f4a4 Changed the operator overloads of CCPoint to be more inline with other engines 2024-07-28 16:16:41 +02:00
SMJSGaming
72586f780d Added remove methods to the web API 2024-07-27 19:53:07 +02:00
Chloe
dceb91e181
he can go back now :D 2024-07-25 17:11:37 -07:00
Chloe
d13b1dc269
actually no i forgot one thing 😭 2024-07-25 07:14:01 -07:00
Chloe
057bb7a44d
undo everything part 2 2024-07-25 07:13:26 -07:00
Chloe
509c5e7e93
add objectdecoderdelegate for objectdecoder 2024-07-25 06:58:44 -07:00
Chloe
4266a82a56
update minizip-ng to latest commit
this fixes an issue in which some compilers may complain about gz_intmax not being defined - this is intentional to match rob's version of zlib on windows
2024-07-25 05:43:38 -07: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
Cvolton
4272b8b549 fix missing include in terminate header 2024-07-24 19:41:52 +02:00
Cvolton
49c8d386a9 fix objectdecoder inheritance 2024-07-24 15:48:33 +02:00
Cvolton
95f9eeb187
add objectdecoder (#1012) 2024-07-24 14:00:54 +02:00
Oleksandr Nemesh
94dc60a7f2
fix whitespace 2024-07-24 12:34:55 +03:00
dankmeme01
fc544f9144 fix ccparticlesystem virtuals 2024-07-21 20:25:01 +02: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
dfdb7107dd fix build 2024-07-20 17:04:35 -03:00
matcool
4f321973ac implement custom window for showing crashlog instead of messagebox
very cool :-)
2024-07-20 16:28:03 -03:00
Chloe
2b35e0e833
remove useless fs hash block
ndk r27 implements this, so it won't build
2024-07-18 18:45:20 -07:00
Oleksandr Nemesh
e46353908d
fix ccColor 2024-07-11 14:50:09 +03:00
Oleksandr Nemesh
0ee2b5beb2
add include 2024-07-11 14:46:55 +03:00
Oleksandr Nemesh
360827e766
add cclightning 2024-07-11 14:45:03 +03:00
Cvolton
ba7b0fa818 remove low limit for mod logo scale 2024-07-10 14:24:25 +02:00
dankmeme01
e26fe954a6 update netlibs (fix crashes on macos wine and old wine/proton) 2024-07-07 15:00:03 +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
9009b3db6a fix macos modify changes 2024-07-07 01:06:40 +03:00
altalk23
66c2f9a0d4 no more CCPoint::unrotate! (function bound checking inside crashlog handler) 2024-07-07 00:41:43 +03:00
altalk23
2dc989fdd9 check for attempting to hook missing & inlined functions in modify 2024-07-06 23:42:57 +03:00
altalk23
9fd9a7876d add salmon editor button 2024-07-06 21:54:18 +03:00
matcool
efc4a002b0 run blank generation script 2024-07-06 15:37:36 -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
matcool
e397c99fff make these members public 2024-07-03 16:10:00 -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
HJfod
5b7efea357 force MZ_FETCH_LIBS 2024-06-29 13:12:56 +03:00
Flafy
1da73cf3fc
Fixes for TextInput (#977) 2024-06-28 23:49:43 -03:00
ConfiG
7ae5ca0310
force fetch zlib on windows 2024-06-28 22:13:53 +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
ConfiG
21c928856c
use real clang for windows builds 2024-06-28 00:50:47 +03:00
Cvolton
df278bfa89
revert idmanager back to $execute 2024-06-26 23:27:11 +02:00
matcool
6fe1ac9e3f fix single arg overload of Task::listen 2024-06-26 14:48:09 -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
4a044bc16a
update minizip 2024-06-25 20:24:46 +03: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
Cvolton
fd476fe872
add special error when bad dlls detected 2024-06-24 21:25:15 +02: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
dankmeme01
5421ad1b78 add missing override 2024-06-24 18:39:33 +02:00
Cvolton
98c0eae228
Revert "create on_mod listeners in separate threads"
This reverts commit fd3c9c6f7a.
2024-06-24 12:28:27 +02:00
Cvolton
fd3c9c6f7a
create on_mod listeners in separate threads 2024-06-24 00:59:23 +02: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
SMJS
184abd397a
Moved the inverse border (#941) 2024-06-22 02:16:05 -07: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
altalk23
d88a93e3cd fix eventlistenerpool abi break on windows 2024-06-21 09:53:01 +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
f918f1310c fix compilation 2024-06-20 23:02:06 +03:00
altalk23
ea96e2c658 make some classes final 2024-06-20 23:00:04 +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
f523689f53 cause my ebo check is wrong 2024-06-20 20:14:32 +03:00
altalk23
bf2fcd2daf ebo edge case 2024-06-20 20:09:58 +03:00
altalk23
1a513ec3c6 change the alignment things 2024-06-20 20:06:00 +03: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
dankmeme01
92704b965f fix use of dangling string_view in task names 2024-06-20 17:36:53 +02:00
matcool
9d0c8ccc40 fix typename errors 2024-06-20 12:07:25 -03:00
matcool
5f37d30fbd add static_assert to prevent old way of adding members to modify 2024-06-20 11:58:44 -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
b3925f1913
fix gd version of the top sprite too 2024-06-20 15:29:34 +03:00
ConfiG
e273ef27b6
fix some ui positioning 2024-06-20 15:27:01 +03:00
altalk23
c3058ff452 add fast menu back 2024-06-20 15:21:34 +03:00
altalk23
7bd8a1a231 remove RT_ADD and RT_REMOVE 2024-06-20 15:19:43 +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
Cooper
8792747de2
Add discord and website links to mod.json (#921) 2024-06-18 20:26:15 -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
matcool
97d2e44611 fix CCArrayExt::value_type 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
dankmeme01
f3525035ad fix Ref and WeakRef move assignment operator 2024-06-17 12:56:12 +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
SpaghettDev
c3c2afaac8
gd::vector::erase for android (#906)
* gd::vector::erase for android

* oops
2024-06-16 10:45:47 -04:00
matcool
723ff87f06 add geode addition comment 2024-06-15 21:24:20 -03:00
qimiko
df3d1477c7
hide platform console option on android 2024-06-15 15:30:03 -07: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
matcool
bacab92b75 ok apple clang can handle it 2024-06-13 12:14:05 -03:00
matcool
b22a59d41e make _spr compile time 2024-06-13 12:06:26 -03: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
Cvolton
48a7981d3b
split GEODE_PLATFORM_NAME for MacArm and MacIntel 2024-06-13 14:02:08 +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
mat
eb7c4d9803
rename Task::then to Task::listen 2024-06-12 17:38:46 -03: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
kynex7510
84e47a596f
Revert "use fixed cmake"
This reverts commit cb0b34f7e3.
2024-06-12 08:18:13 +02:00
Oleksandr Nemesh
562fbf6cb1
add 2.2 CCDrawNode members 2024-06-12 00:57:12 +03:00
matcool
fa7a2de780 add Task::then to handle tasks without storing a listener 2024-06-11 14:58:23 -03:00
matcool
da617eefaa std::string const& -> std::string_view in task code 2024-06-11 13:16:34 -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
mat
c80f58bb27
specify commit hash on md4c 2024-06-11 10:56:36 -03:00
kynex7510
a5d638215e
Mute warning 2024-06-11 15:54:33 +02:00
kynex7510
cb0b34f7e3
use fixed cmake 2024-06-11 15:47:44 +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
kynex7510
fdcad96521
Use winapi threads 2024-06-11 15:04:15 +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
d0821f5c3a
add special error for 1114 2024-06-10 20:36:00 +02:00
mat
2d274693c1
friend CCHttpClient 2024-06-10 11:33:06 -03:00
Cvolton
84c0ba5f0f
increase max delay for restarting gd 2024-06-10 14:50:40 +02:00
Cvolton
cc5df2cac2
add awesome code to show restarting text 2024-06-10 14:35:44 +02:00
matcool
1d98bc9248 fix it 2024-06-09 19:47:38 -03:00
matcool
89548f282c i forgot about the json primitives 2024-06-09 19:36:36 -03:00
matcool
899a1a5d86 just include stl_serialize everywhere at this point 2024-06-09 19:23:05 -03:00
matcool
6c1a330aa6 check for is_json when using Mod::getSavedValue 2024-06-09 19:14:45 -03: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
acaruso-xx
ce6e6f063a Fix CCMotionStreak member 2024-06-09 11:27:57 -04:00
SpaghettDev
7c5a83d3d1
cursor position member (#872) 2024-06-08 21:50:58 +02: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