Commit graph

2247 commits

Author SHA1 Message Date
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
HJfod
abe41a79a3 fetch mod info from server on installed mods 2024-03-02 21:57:40 +02:00
HJfod
0a17fcc985 Merge branch 'main' into new-index-but-better 2024-03-02 18:39:58 +02:00
HJfod
f365dc4861 improve look of ModPopup + add versions tab 2024-03-02 18:39:02 +02:00
HJfod
9117ad9cec make axis alignment even for stats 2024-03-02 18:09:30 +02:00
HJfod
82b4885eb7 add stats to ModPopup 2024-03-02 18:06:04 +02:00
HJfod
35fcdb4df3 make AxisLayout pimpl + add default scaling options 2024-03-02 17:20:25 +02:00
HJfod
be0880f49c add CCNode::setScaledContentSize, CCNode::getScaledContentWidth etc. 2024-03-02 13:36:06 +02:00
qimiko
dd440433db
force fPIC for openssl on android32
see openssl pull request 22181 for details (just used the changes from there)
2024-03-01 17:29:47 -07:00
qimiko
1fb12f2d12
enable fPIC for openssl 2024-03-01 17:06:25 -07:00
qimiko
6cd6e4d0af
linker magic 2024-03-01 16:45:57 -07:00
qimiko
8998041e1c
update android curl to v8.6.0
also includes nghttp2 v1.60.0 for http2 support
2024-03-01 16:32:24 -07:00
qimiko
2be5854913
update android openssl to v3.2.1 2024-03-01 16:23:12 -07:00
HJfod
6414737b0c initial mod popup work! :) 2024-03-01 17:05:20 +02:00
HJfod
65f6158774 refactor to move all ModItems to one monolithic class rather than subclasses 2024-03-01 15:01:22 +02:00
HJfod
5e8306ac65 new tabs idea 2024-02-29 22:35:33 +02:00
HJfod
78fe601066 dim disabled mods a bit 2024-02-29 22:28:06 +02:00
HJfod
72fa718a76 better restarting ui 2024-02-29 21:37:09 +02:00
HJfod
dac16a40cb allow disabling a mod if you enabled it by accident and vice versa 2024-02-29 17:03:18 +02:00
HJfod
d8864975a3 give geode a boost in local sorting 2024-02-29 16:45:07 +02:00
HJfod
16fdddb06e mod items now use layouts (Wayouts imo) 2024-02-29 16:43:23 +02:00
HJfod
da2bf3e0d3 refactor UI code to be more dry + move restart to developer rather than replacing the view menu 2024-02-29 11:21:48 +02:00
HJfod
1eab0bcb27 delete unused sprites 2024-02-28 22:19:46 +02:00
HJfod
4d40321177 add tags popup (not functional cuz need server support first) 2024-02-28 22:18:25 +02:00
HJfod
eed99d16c5 update default logo to just N/A + move featured to a star icon next to the title rather than glow since we can't enforce mod logo shape 2024-02-28 21:33:58 +02:00
HJfod
c7d64beb7a add filters and clear filters button 2024-02-28 19:57:43 +02:00
HJfod
fd5802afa0 remove unnecessary filters sprite since gd has a better one now 2024-02-28 19:57:29 +02:00
HJfod
f9eb5c6bd9 increment search buffering time a tiny bit 2024-02-28 19:41:11 +02:00
HJfod
435484b6ae impl searching local mods 2024-02-28 19:38:20 +02:00
HJfod
65645fe753 impl searching on server 2024-02-28 01:30:39 +02:00
HJfod
54ac66ef7c use new awesome ColorProvider utility 2024-02-28 00:27:43 +02:00
HJfod
b356a7670a remove old bad Colors utility 2024-02-28 00:27:35 +02:00
HJfod
36ef4979ed add new ColorProvider utility 2024-02-28 00:27:19 +02:00
HJfod
5109acf725 move page number & list actions to ModsLayer rather than the list itself 2024-02-27 23:32:54 +02:00
HJfod
fe4dbd96ed add left alignment option to TextInput 2024-02-27 23:32:37 +02:00
HJfod
547c0474db fix AnchorLayout making targets not ignore anchor point for position 2024-02-27 23:32:03 +02:00
HJfod
055f05ca55 move ModList into its own header + source 2024-02-27 13:03:50 +02:00
matcool
41102fee4a we have GEODE_STR already 2024-02-26 22:59:06 -03:00
matcool
ba91dfa6a4 maybe fix mac 2024-02-26 22:45:05 -03:00
matcool
b9f8c38dca add custom user agent 2024-02-26 22:36:46 -03:00
Fleeym
a673fda267 allow for gd '*' when parsing server response 2024-02-27 03:14:01 +02:00
matcool
b2ced73010 actually encode url params 2024-02-26 21:38:36 -03:00
HJfod
62862fca12 Merge branch 'new-index-but-better' of https://github.com/geode-sdk/geode into new-index-but-better 2024-02-27 01:17:44 +02:00
HJfod
909317146d featured mod glow :3 2024-02-27 01:16:24 +02:00
HJfod
7467eecb00 add separators to mods list 2024-02-27 01:00:18 +02:00
HJfod
708d1ec873 refactor a bit; works like a charm :3 2024-02-27 00:55:33 +02:00
matcool
10edd35475 fix build on non windows 2024-02-26 19:03:04 -03:00
HJfod
2689320116 le new index :3 2024-02-26 22:14:53 +02:00
HJfod
dd57a39157 Merge branch 'main' into new-index-but-better 2024-02-26 18:28:11 +02:00
HJfod
058f3546dc remove old index + UI fully 2024-02-26 18:27:42 +02:00
HJfod
456c1895be finish Promise 2024-02-26 18:27:33 +02:00
HJfod
463cebf0c4 finish new web requests api 2024-02-26 18:26:34 +02:00
matcool
d139049b89 prevent updater from hanging, also copy pdb 2024-02-26 12:31:18 -03:00
matcool
a5475bda11 add missing GEODE_DLL 2024-02-26 11:58:40 -03:00
Fire
c94e350cdf
Fix Wine crashing when launching via terminal (#501) 2024-02-26 09:37:27 -03:00
Talis
6ee63091de
Fix the failed to set locale on devices that don't have us english (like my phone) (#566) 2024-02-26 13:50:43 +03:00
dankmeme01
bba9b6c7ed
impostor playlayer fix (#562) 2024-02-25 23:17:44 +03:00
HJfod
6c6a4b1211 add "go to page" button by clicking page number 2024-02-25 20:14:46 +02:00
HJfod
44ae5c83c7 Merge branch 'main' into new-index-but-better 2024-02-25 18:44:36 +02:00
mat
04405cbc20
silly chloe relying on pch 2024-02-25 12:18:42 -03:00
altalk23
f0465ba5b2 readd fods removed stuff for abi 2024-02-25 13:53:49 +03:00
altalk23
500d346b16 geode_dll <3 2024-02-25 11:02:18 +03:00
altalk23
28bd75793e sure you go girl 2024-02-25 11:00:47 +03:00
altalk23
0e1b0e4b91 sorry for the 0 people who were including these headers manually 2024-02-25 10:53:52 +03:00
altalk23
1d444ed05e sorry for the 2 people that manually includes the jsontest headers 2024-02-25 10:44:09 +03:00
altalk23
afd54a64e4 fix dispatch 2024-02-25 10:38:46 +03:00
altalk23
f33f116ced fix the old test mod stuff 2024-02-25 10:21:27 +03:00
altalk23
9a47d611cc fine 2024-02-25 10:04:29 +03:00
altalk23
3ede15b6e2 if i fixed the includes 2024-02-25 10:01:27 +03:00
altalk23
d8ac85b44a i cant believe this was that easy 2024-02-25 10:00:57 +03:00
altalk23
c7a1f76f1a push pop nest fix 2024-02-24 22:11:41 +03:00
altalk23
76f0c66a36 Merge branch 'main' of https://github.com/geode-sdk/geode 2024-02-24 22:08:14 +03:00
altalk23
baf3a6b306 implement progress visual to index unzip 2024-02-24 22:08:07 +03:00
matcool
76a615cea2 recreate and undither base circle textures 2024-02-24 15:54:00 -03:00
matcool
ee274195fe how did fod compile this 2024-02-24 14:25:14 -03:00
qimiko
b082dd1a9c
remove deprecated permissions 2024-02-23 21:13:52 -07:00
HJfod
2db556dc20 new mods list design is done :3 ready to impl new index!! 2024-02-24 02:09:02 +02:00
HJfod
e82ea3eddd finish Promise class + add Promise-based events 2024-02-24 02:08:42 +02:00
HJfod
44cd7ec63f remove default value from parameter in updateAnchoredPosition to fix overload resolution 2024-02-24 02:08:23 +02:00
qimiko
06235634bd
add android fmod initialization check
relates to geode-sdk/android-launcher#13
2024-02-23 16:13:36 -07:00
HJfod
7a4b6ddad2 does not compile! had to commit for laptop access 2024-02-23 13:28:32 +02:00
HJfod
9db76274b5 hash for string_view 2024-02-23 13:28:22 +02:00
HJfod
f540d5bd63 Promise class 2024-02-23 13:28:14 +02:00
HJfod
af420ffbf7 make the top offset actually be applied 2024-02-23 00:02:48 +02:00
HJfod
f781a33239 add another missing cocos2d:: 2024-02-22 23:57:47 +02:00
HJfod
7795baaaf6 add missing cocos2d namespace 2024-02-22 23:57:23 +02:00
HJfod
2825654361 make top sprite offset settable in BasedButtonSprite 2024-02-22 23:56:20 +02:00
HJfod
1e0a8c5e2f use new tagged user objects for SwelvyBG 2024-02-22 23:50:04 +02:00
HJfod
363a028c1f replace attributes with an augmented user object system 2024-02-22 23:39:45 +02:00
HJfod
f9d7cfdc68 replace attributes with an augmented user object system 2024-02-22 23:39:21 +02:00
HJfod
e452f482a8 View buttons! 2024-02-22 17:28:09 +02:00
HJfod
1f6335ce17 Merge branch 'main' into new-index-but-better 2024-02-22 02:05:12 +02:00
HJfod
8985b32fc2 initial work on new ui 2024-02-22 02:04:38 +02:00
matcool
b9a76b3d1a recreate these icons to remove dithering 2024-02-20 21:41:30 -03:00
matcool
a19d26d52e also add overloads for std::string 2024-02-19 17:52:33 -03:00
matcool
982e8ab669 add explicit const char* overloads for gd::string 2024-02-19 17:44:22 -03:00
matcool
6b59217ce1 fix docs build 2024-02-19 10:09:52 -03:00
Cvolton
4e06c204a1
show featured mods on top 2024-02-18 19:58:26 +01:00
altalk23
5b9393d0e7 good one 2024-02-18 19:14:58 +03:00
altalk23
5c8ee29cd3 i didnt test it if that helps 2024-02-18 19:12:13 +03:00
altalk23
30c9a8ec82 use from chars when it can 2024-02-18 17:19:25 +03:00
altalk23
e7997d6c84 Merge branch 'main' of https://github.com/geode-sdk/geode 2024-02-18 17:05:07 +03:00
altalk23
6d91804c57 implement float parsing to numFromString 2024-02-18 17:04:19 +03:00
Cvolton
f61e577c0e
fix missing include 2024-02-18 11:19:38 +01:00
HJfod
8cccb4ce5c fix numFromString on floats 2024-02-18 00:13:34 +02:00
HJfod
29f99c2eaa fix TextInputs and InputNodes using tags for fixed touch behaviour 2024-02-17 18:24:23 +02:00
matcool
91c8ae446e why did we even override keyDown 2024-02-16 22:46:16 -03:00
HJfod
d0ed9844be Merge branch 'main' of https://github.com/geode-sdk/geode into main 2024-02-16 23:11:27 +02:00
HJfod
28f393b4de add sane TextInput class 2024-02-16 23:11:18 +02:00
altalk23
eea35568fe isSpriteFrameName 2024-02-16 23:58:40 +03:00
altalk23
07dd379611 Merge branch 'main' of https://github.com/geode-sdk/geode 2024-02-16 21:37:15 +03:00
altalk23
e10621d40d actually move it to source 2024-02-16 21:37:10 +03:00
altalk23
85f8a206cd add getChildBySpriteFrameName to cocos utils 2024-02-16 21:28:49 +03:00
HJfod
83cb61bb20 Merge branch 'main' of https://github.com/geode-sdk/geode into main 2024-02-16 16:30:55 +02:00
HJfod
e06b9070d0 add CCNode::setContentWidth etc. 2024-02-16 16:30:31 +02:00
Fleeym
c65626892b over ride 2024-02-16 02:44:02 +02:00
HJfod
3802af1e70 Merge branch 'main' of https://github.com/geode-sdk/geode into main 2024-02-16 01:29:45 +02:00
HJfod
f140e67bef add setIDs overload for automatically incrementing current node ID index 2024-02-16 01:29:23 +02:00
Cvolton
4b667cc82c
change message for conflicting mods as well 2024-02-15 21:58:30 +01:00
Cvolton
4c354ed460
show incompatibilities on top of problems list 2024-02-15 21:40:54 +01:00
Cvolton
98d572c0e5
add separate message for outdated incompat 2024-02-15 21:34:20 +01:00
Cvolton
f1ddc568e0
add more user friendly dependency messages 2024-02-15 20:19:24 +01:00
HJfod
e80d228a59 deprecate mod ids with uppercase letters
adds "supersede" incompatability
2024-02-14 19:52:58 +02:00
HJfod
143cccc6c4 Merge branch 'main' of https://github.com/geode-sdk/geode into main 2024-02-14 14:14:22 +02:00
HJfod
4ba0b7d58d make clamp use TypeIdentityType so the min and max values dont participate in type deduction 2024-02-14 14:14:02 +02:00
matcool
9051779800 only give filename to android pickFile defaultPath 2024-02-13 19:36:30 -03:00
Chloe
c82f4a4af3
good prevails 2024-02-13 14:41:06 -07:00
HJfod
077ead1428 imo msvc should be outlawed 2024-02-13 23:17:22 +02:00
HJfod
c4e9c17a35 add numFromString 2024-02-13 23:14:49 +02:00
HJfod
b69ac71ede get rid of strfmt and cstrfmt functions for being evil and redundant 2024-02-13 22:59:07 +02:00
ConfiG
dd62eac4c5
Enable PCH with sccache on mac, clean up actions (#519) 2024-02-13 16:59:32 -03:00
matcool
32644b50d1 add formatter for matjson 2024-02-13 13:26:46 -03:00
matcool
a3a7562ee0 uninstalling a mod should forget if its disabled 2024-02-13 10:53:23 -03:00
Cvolton
875c3ea0d3
mandatory changelog update 2024-02-12 21:39:40 +01:00
Cvolton
3497692ec9
Use first 2 chars for ModListLayer sorting instead 2024-02-12 21:36:03 +01:00
matcool
8272b45da8 update changelog 2024-02-12 16:37:46 -03:00
matcool
eef949c5f1 fix delayload on clang 2024-02-12 16:27:23 -03:00
matcool
824efbf37f add missing forward compat hook disables, add notice on utils::restart 2024-02-12 16:03:38 -03:00
matcool
456075a2cb (urgent) fix log mutex breaking forward compat mode
yes, this single mutex would break geode loading in forward compat mode
entirely.. because the forward compat hooks log at static init time! and
since static init stuff is weird, the mutex wasnt initialized yet. so
now we force it to be initialized by having it in a getter
2024-02-12 15:55:13 -03:00
matcool
f91b2cd779 show yes/no choice instead for safe mode 2024-02-12 13:20:58 -03:00
matcool
a327f722c8 trigger safe mode on windows by holding shift on game launch 2024-02-12 13:06:48 -03:00
HJfod
cc4c32e12f fix MDPopup height estimations having way too high of an upper bound 2024-02-12 18:06:12 +02:00
altalk23
97139d2fcd Merge branch 'main' of https://github.com/geode-sdk/geode 2024-02-12 18:39:49 +03:00
altalk23
803df4faeb edit is_jsons to be more detailed 2024-02-12 18:39:46 +03:00
HJfod
83847e37a1 fix JsonValidation leaking exceptions on into 2024-02-12 17:38:06 +02:00
HJfod
131539fa00 fix color parsign 2024-02-12 17:37:31 +02:00
HJfod
94ab199406 move loader commit hash info to about popup 2024-02-12 17:23:12 +02:00
HJfod
628b7d2ec9 Merge branch 'main' of https://github.com/geode-sdk/geode into main 2024-02-12 16:56:28 +02:00
HJfod
b71ae176e9 add Mod::hasAvailableUpdate 2024-02-12 16:56:18 +02:00
matcool
d91c0ba9f6 silly chloe relying on pch 2024-02-12 10:58:42 -03:00
Chloe
a93ddd4c4a
Implement callbacks for Android keyboard inputs (#507)
* add android input callbacks

* make platformcapability a bool

* fix method signature

* scroll tweaks
2024-02-12 10:53:14 -03:00
matcool
5037a9b7cb bring back pch if sccache is disabled 2024-02-12 10:22:17 -03:00
HJfod
8250a737e0 add missing GEODE_DLL to ColorPickPopup 2024-02-12 15:04:38 +02:00
mat
2c1eb674c9
add missing GEODE_DLL to web::fetchJSON 2024-02-12 00:04:56 -03:00
FigmentBoy
3fe102d2ca
Fix profile links 2024-02-11 21:21:14 -05:00
altalk23
8e4b76f7d1 thank absolute for the new enum values 2024-02-12 00:59:35 +03:00
Cvolton
ca683faf45
add <ca> to MDTextArea 2024-02-11 22:14:28 +01:00
ConfiG
3fec377e96
Improve actions build speed by using sccache, removes PCH (#493)
---------

Co-authored-by: mat <26722564+matcool@users.noreply.github.com>
2024-02-11 15:58:46 -03:00
qimiko
7eb5953762
fork breakpad and then change the api 2024-02-10 18:48:35 -07:00
altalk23
a971322393 fix the funny thing in popup 2024-02-11 01:17:11 +03:00
matcool
2bcbc396d5 inline ds_dictionary dtor, what could go wrong 2024-02-10 16:34:39 -03:00
HJfod
204ec63ce5 Merge branch 'main' of https://github.com/geode-sdk/geode into main 2024-02-10 21:12:12 +02:00
HJfod
438252f946 add openSupportPopup 2024-02-10 21:11:59 +02:00
altalk23
076d6e3d30 Merge branch 'main' of https://github.com/geode-sdk/geode 2024-02-10 14:42:48 +03:00
altalk23
15935642f7 gd::vector push_back pop_back 2024-02-10 14:42:45 +03:00
HJfod
b241c1ccda add platform-specific settings + update changelog and bump version 2024-02-10 13:36:11 +02:00
HJfod
bf43946daf fix input nodes being clickable when invisible 2024-02-10 13:15:25 +02:00
HJfod
3b7621c8a0 make LayoutOptions CCObject aswell (ABI break!!) 2024-02-10 13:09:11 +02:00
HJfod
cbd7e1e972 Merge branch 'main' of https://github.com/geode-sdk/geode into main 2024-02-10 13:03:26 +02:00
HJfod
9c8fcf15a9 add support for platform-specific setting values
also improves ccColor3B and ccColor4B hex string parsing (API break) and JsonMaybeValue::is (no break because templated)
2024-02-10 13:02:31 +02:00
ConfiG
4ddd92d708
fleeym 2024-02-10 06:03:11 +03:00
ConfiG
b78bc4629d
Revert "fix docs part 2"
This reverts commit 06544a4391.
2024-02-10 06:02:06 +03:00
Fleeym
06544a4391 fix docs part 2 2024-02-08 18:48:08 +02:00
Fleeym
6c7af1234a Merge branch 'main' of github.com:geode-sdk/geode 2024-02-08 18:41:35 +02:00
Fleeym
d70069453f maybe fix docs build 2024-02-08 18:41:30 +02:00
HJfod
e7a1913254 add $override macro 2024-02-07 21:14:09 +02:00
Fleeym
cee8c74c72 add fixes for social menu 2024-02-07 20:55:47 +02:00
Fleeym
f9473e7394 fix MenuLayer bottom-menu content size 2024-02-07 19:30:51 +02:00
HJfod
30c7d3f7c9 impl platform-specific dependencies 2024-02-07 18:42:05 +02:00
ConfiG
dd926fc10b
fikuse 2024-02-07 12:57:12 +03:00
ConfiG
9167b75b56
only install if has path, dont fail configuration 2024-02-07 12:02:33 +03:00
qimiko
d35b2def01
remove trailing slash 2024-02-04 15:28:59 -07:00
altalk23
cb7c024983 dont tell mat about this commit 2024-02-05 01:22:51 +03:00
altalk23
c83858d4fd fix floatsettingnode not accepting . 2024-02-05 00:54:33 +03:00
qimiko
5f7af1a434
replace readmedia perms with one file perm 2024-02-04 12:47:50 -07:00
ConfiG
2e20cccf22
Run codegen on configure and move it to bindings (#484) 2024-02-04 22:45:52 +03:00
HJfod
e9aa889920 cmake now also installs resources 2024-02-04 20:11:33 +02:00
altalk23
40a0467bb0 Merge branch 'main' of https://github.com/geode-sdk/geode 2024-02-04 19:25:18 +03:00
altalk23
9d92a7c11c fix simpletextarea alignment & dont update at draw 2024-02-04 19:23:53 +03:00
matcool
241ddc317a make safe mode actually useful 2024-02-04 11:43:06 -03:00
altalk23
ba0e13f9b2 fix the list reload prio issues again 2024-02-04 17:28:53 +03:00
altalk23
fda37905e0 fix dependency freeze in nested dependency chain 2024-02-04 16:39:18 +03:00
altalk23
34e80c1ea8 fix scrollbar touch 2024-02-04 15:34:31 +03:00
altalk23
53fa4d3185 Merge branch 'main' of https://github.com/geode-sdk/geode 2024-02-04 14:46:30 +03:00
altalk23
e95d454b45 fix currently loading crashlog 2024-02-04 14:42:22 +03:00
qimiko
65907caa87
change log filenames for better sorting 2024-02-04 03:49:25 -07:00
qimiko
f832cc5145
log path when crash is saved 2024-02-04 02:53:24 -07:00
altalk23
201c5a2c41 alk not commit debug logs challenge 2024-02-04 12:44:13 +03:00
altalk23
5c457251d4 some problems rework 2024-02-04 12:41:18 +03:00
iAndyHD3
4f4f14241b
define CC_FORMAT_PRINTF on msvc intellisense (#485) 2024-02-03 21:56:47 -03:00
qimiko
c00ccd35b1
evil 2024-02-03 17:30:26 -07:00
matcool
c035278231 okay im bad at copying code
this happened whenever the request would get converted into json and
fail, and then that handler would call SentAsyncWebRequest::error
instead of the expect, delaying the execution of expect by one frame, by which
time the request class was already deleted.

Co-Authored-By: dankmeme01 <42031238+dankmeme01@users.noreply.github.com>
2024-02-03 19:33:27 -03:00
matcool
49738e6029 fix mysterious web request crash
thank you @dankmeme01
2024-02-03 19:30:46 -03:00
matcool
1ce2b32a7f fix android build, free curl header list 2024-02-03 19:14:58 -03:00
matcool
17153a4f68 remove crlf from http headers 2024-02-03 18:55:03 -03:00
ConfiG
c2ea744d67
use file(MAKE_DIRECTORY) instead of make_directory 2024-02-03 21:11:37 +03:00
HJfod
55f3e67033 fix cli version for install 2024-02-03 20:02:40 +02:00
HJfod
25e3e048ef Merge branch 'main' of https://github.com/geode-sdk/geode into main 2024-02-03 19:50:18 +02:00
HJfod
36727cedee add install command to loader 2024-02-03 19:50:03 +02:00
ConfiG
e6b15ed50a
Not const 2024-02-03 20:16:42 +03:00
ConfiG
1be7a997a1
set hook priority in fallback loading layer too 2024-02-03 20:12:31 +03:00
ConfiG
8b302f8139
fix alk's commit 2 2024-02-03 20:06:16 +03:00
HJfod
b0e5588419 Merge branch 'main' of https://github.com/geode-sdk/geode into main 2024-02-03 19:00:27 +02:00
HJfod
0cc77ae9b3 fix alk's commit 2024-02-03 19:00:13 +02:00
ConfiG
00143ebfac
Refactor console handling (#468)
- console no longer opened/closed in run-time (only opened on startup if enabled)
- log should be fully thread safe now (?)
- windows: the console can now attach to the parent console if ran from cmd or a debugger or whatever
- windows: stdin/stdout are no longer redirected to console, logger uses WriteFile instead
- windows: stdout/stderr are now redirected to logger
2024-02-03 19:59:20 +03:00
altalk23
e155c336c8 hardest node ids ever 2024-02-03 19:39:39 +03:00
Chloe
e2ff9c8719
Merge pull request #479 from dankmeme01/main
implement getGameVersion on mac
2024-02-03 06:29:25 -07:00
matcool
b4037093d7 fix available mod update label 2024-02-03 09:53:48 -03:00
Chloe
838b2d36ab
Merge pull request #481 from geode-sdk/breakpad
Use Breakpad for crash reports on Android
2024-02-03 05:44:00 -07:00
qimiko
bf4aa150fc
allow disabling handler with launch flag 2024-02-03 05:07:09 -07:00
qimiko
2f97fc671d
rename breakpad cmake option 2024-02-03 04:40:44 -07:00
HJfod
f21542a855 add popup for multiple developers 2024-02-03 13:14:15 +02:00
HJfod
a694453bfd fix Popup not adding the title as a child if the popup is not dynamic 2024-02-03 12:31:18 +02:00
HJfod
85180d5f1c add support for multiple developers 2024-02-03 12:26:27 +02:00
qimiko
0688a1f5e5
fix indentation 2024-02-02 19:03:42 -07:00
qimiko
a5326b7d9a
add breakpad handling code 2024-02-02 03:13:35 -07:00
qimiko
91b4ec4469
add breakpad package to cmakelists 2024-02-02 02:40:07 -07:00
dankmeme01
86ae005fe9 implement getGameVersion on mac 2024-02-01 21:18:27 +01:00
HJfod
7891ac605e CopySizeLayout wasn't actually dllexported whoops 2024-02-01 16:08:17 +02:00
HJfod
759b2d47a5 forgot to add the new CopySizeLayout source file 2024-01-31 23:43:42 +02:00
HJfod
f53c02491a rename Popup::initDynamic to Popup::initAnchored 2024-01-31 23:38:09 +02:00
HJfod
ed588eb9b1 rename AutoSizeLayout to CopySizeLayout 2024-01-31 23:36:00 +02:00
HJfod
563a44c874 add a bunch of documentation and an option to addChildAtPosition 2024-01-31 23:30:52 +02:00
HJfod
389c8b1bda Merge branch 'main' into anchor-layout 2024-01-31 23:14:17 +02:00
HJfod
aa949aed39 finished design for AnchorLayout 2024-01-31 23:11:43 +02:00
Luke
accd5bc8ac
Fix two tiny typos (#475)
This fixes two itty bitty teeny weeny tiny typos :3
2024-01-31 16:36:02 -03:00
altalk23
d9c65b37ea better geode version comparison & handling 2024-01-31 00:47:30 +03:00
altalk23
c348fc8a55 Merge branch 'main' of https://github.com/geode-sdk/geode 2024-01-30 17:26:11 +03:00
altalk23
2fab7147f1 rob on his way to implement the most unintuitive system ever known to mankind 2024-01-30 17:26:04 +03:00
matcool
984d148279 sort mods by id in crashlog 2024-01-29 21:09:03 -03:00
HJfod
7654f6e7cd initial ideas, going to sleep for today 2024-01-30 00:08:53 +02:00
altalk23
ea81897d5b this much silliness should be impossible !!!! 2024-01-29 23:17:16 +03:00
matcool
0c6b003b72 ok a lot of things relied on that ranges include 2024-01-29 09:41:32 -03:00
mat
181c602a68
add missing ranges include
Geode/Utils.hpp doesnt have it tf, this stupid file relied on log including it
2024-01-29 09:30:11 -03:00
mat
6dc6e9b418
increase macos target to 10.15
no more std::filesystem errors from other libraries. sorry to all the 3 people still on macos 10.13, not like you can even launch the game anyways
2024-01-29 09:24:33 -03:00
mat
89723cf24c
maybe this will work 2024-01-29 09:17:51 -03:00
mat
7cb02c9d57
avoid filesystem formatting for macos 2024-01-29 09:02:32 -03:00
qimiko
e90c614c01
i'm so sorry 2024-01-28 17:52:25 -07:00
Fleeym
653c78925d update EditCommand enum 2024-01-29 02:19:42 +02:00
qimiko
0188eee5e5
add android only save path fix 2024-01-28 16:48:26 -07:00
qimiko
b8140a7717
add platform threading impls 2024-01-28 16:35:34 -07:00
qimiko
cf0a3ec115
overcomplicate the macos file code 2024-01-28 16:35:04 -07:00
matcool
ee89935127 goodbye inputnode 2024-01-28 18:21:05 -03:00
matcool
c16cac0707 add missing GEODE_DLL to these functions 2024-01-28 18:20:27 -03:00
Fleeym
d2befe1873 fix the messagebox fix 2024-01-28 21:17:29 +02:00
Fleeym
d834ec1221 SimpleTextArea part 2 2024-01-28 20:55:28 +02:00
Fleeym
a105ca05fa fix SimpleTextArea not using public 2024-01-28 20:27:11 +02:00
octav adrian
5d63192161
update fix for GLFW error handler to 2.204 (#467)
* Fix GLFW error handler

* fix formatting oopsie

* add forwardcompat check
2024-01-28 14:09:38 -03:00
ConfiG
5a59faa077
add some thread names 2024-01-28 19:53:18 +03:00
ConfiG
416f2d588e
add api for saving/loading current log nesting 2024-01-28 19:53:16 +03:00
ConfiG
832bcf81f7
log thread names 2024-01-28 19:53:09 +03:00
Skye Prince
7ccaef904c
Launch Argument Additions (#453)
* Safe mode

* Disable custom menu additions

* getLaunchBool -> getLaunchFlag

Yes this is silly I know

* parseLaunchArgument

* Fix loading bar going out of bounds

* Fix not putting arg in

* Remove temporary newline fix

* fix safe mode log

---------

Co-authored-by: ConfiG <cgytrus@cgyt.ru>
2024-01-28 19:00:39 +03:00
dankmeme01
8f6241a29c
fix cursor position in inputnode (#463) 2024-01-28 19:00:04 +03:00
ConfiG
17467d129b
better thread names api 2024-01-28 17:41:33 +03:00
ConfiG
b9805bbbb0
Revert "fix thread include"
This reverts commit 5c6ea93c8b.
2024-01-28 17:41:33 +03:00
ConfiG
67891f3e7b
Revert "config why"
This reverts commit f307263e5f.
2024-01-28 17:41:32 +03:00
altalk23
13281e9e99 Merge branch 'main' of https://github.com/geode-sdk/geode 2024-01-28 17:22:27 +03:00
altalk23
0692bc1a20 show currently loading mod in crashlog 2024-01-28 17:22:13 +03:00
matcool
ee97e2daac deprecate blocking file utils, will remove later 2024-01-28 10:37:51 -03:00
altalk23
5c6ea93c8b fix thread include 2024-01-28 16:29:39 +03:00
qimiko
2e860309a1
fix file api crash on macos 2024-01-28 06:27:10 -07:00
altalk23
f307263e5f config why 2024-01-28 16:23:03 +03:00
ConfiG
ce53fb3135
add api for getting/setting thread names 2024-01-28 15:33:33 +03:00
Fleeym
5498ecb015 update enumKeyCodes with 2.2 controller stuff 2024-01-28 13:47:02 +02:00
Cvolton
518ad4308d
Merge branch 'main' of https://github.com/geode-sdk/geode 2024-01-28 12:29:26 +01:00
Cvolton
0aa1b26fb5
add more DLLs to userTriedToLoadDLLs 2024-01-28 12:29:22 +01:00
qimiko
d69a1d4b90
impl android launch arguments 2024-01-28 04:28:45 -07:00
HJfod
93c45cebb3 i am no longer into anime 2024-01-28 12:41:05 +02:00
ConfiG
11ebd08119
fix build maybe 2024-01-28 05:24:54 +03:00
ConfiG
0b1e010e60
log when updating local index cache is done 2024-01-28 05:17:52 +03:00
ConfiG
aadc7efdd6
make nest levels thread local 2024-01-28 05:10:19 +03:00
Cvolton
578e0d37d5
add "Disable Thumstick" support to MenuLayer Node IDs 2024-01-27 23:18:53 +01:00
Cvolton
6d1e0a42c0
add single time hints to MenuLayer node IDs 2024-01-27 22:42:56 +01:00
matcool
90b3b2c479 log when fetching index fails 2024-01-27 17:55:31 -03:00
dankmeme01
9ff919118e
Add methods for requesting and querying permissions (#461)
* add methods for requesting and querying permissions

* change requestPermission to void and handle jni errors

* move permissions to utils

* how could i forget the mac operating system

* genuinely blind

* make a permission enum

* call permission callbacks on unimpl platforms
2024-01-27 16:02:34 -03:00
altalk23
7d8bb9b8af well i didnt test if it that helps 2024-01-27 21:12:51 +03:00
altalk23
bb1fcbe678 inputnode has been very fun 2024-01-27 21:09:57 +03:00
altalk23
e81b5e9f9b i cant wait to get rid of this 2024-01-27 18:22:33 +03:00
Cvolton
d4d4370cb9
Add node IDs for 2.2 social media 2024-01-27 03:48:36 +01:00
Cvolton
6ba656c2a1
Force Windows errors into English 2024-01-27 03:10:14 +01:00
mat
fc7728fbfb
remove alk silly 2024-01-26 15:03:53 -03:00
altalk23
c551d430c3 inputnode fix 2024-01-26 16:29:14 +03:00
matcool
67c7305acc fix the colors on this horrendous popup 2024-01-25 23:14:40 -03:00
matcool
45ce360836 fix intersection code in Patch 2024-01-25 23:00:25 -03:00
matcool
ba88e12cb0 add android stub fmod binaries 2024-01-25 22:04:20 -03:00
Ashton
5802b78e85
Add sprite scaling for MDTextArea (#457) 2024-01-26 00:42:15 +03:00
ConfiG
4693eb14fe
improve log nesting logic 2024-01-25 22:11:50 +03:00
ConfiG
f76e9d9840
remove unnecessary Log::toString overload 2024-01-25 22:11:50 +03:00
ConfiG
f7980d32ab
make logs look fancier 2024-01-25 22:11:49 +03:00
ConfiG
777f81d85a
dont log json checker warnings for old versions of mods on the index 2024-01-25 22:11:48 +03:00
ConfiG
61d01b1df1
make jsonchecker roots more descriptive 2024-01-25 22:11:47 +03:00
ConfiG
31ed815166
remove unused log severities 2024-01-25 22:11:47 +03:00
matcool
b5f4b55c7b ccdrawnode 2.201 changes 2024-01-25 15:52:17 -03:00
mat
4cafd145b5
Update general.hpp 2024-01-25 13:45:12 -03:00
altalk23
a15cdde906 lmao 2024-01-24 22:13:05 +03:00
altalk23
45273f737a make the constexpr std::string_view 2024-01-24 22:08:40 +03:00
altalk23
9307bb1c42 update changelog 2024-01-24 22:07:30 +03:00
Skye Prince
a2b164af29
Launch Arguments (#444)
* Loader launch args

* Implement launch args on loader/mod

* Add to test mod

* Documentation

* Rename methods and better docs

* Expand API

* Fix loader impls

* Expand tests

* Add an extra hyphen to the launch arg prefix

* Update comments with extra hyphen
2024-01-24 22:04:00 +03:00
Fleeym
ae99505641
Merge branch 'geode-sdk:main' into main 2024-01-24 20:50:02 +02:00
Fleeym
a2b996b702 run file callbacks in cocos thread 2024-01-24 20:49:20 +02:00
altalk23
2319d19fcd Deadlocked by F777 2024-01-24 21:48:45 +03:00
altalk23
70d783c299 idk events are thread 2024-01-24 21:41:22 +03:00
altalk23
3b3e1748dd just slap a mutex to that bad girl (m_items) 2024-01-24 21:40:14 +03:00
altalk23
78237ebf13 Merge branch 'main' of https://github.com/geode-sdk/geode 2024-01-24 20:52:06 +03:00
altalk23
16b9689855 reenable ccrash popup and index update 2024-01-24 20:51:58 +03:00
matcool
9e973a931d fix windows openFolder opening the parent folder instead 2024-01-24 14:44:05 -03:00
alk
73707610db
Merge pull request #447 from geode-sdk/prio-revert
Revert priority changes hook
2024-01-24 20:14:29 +03:00