Commit graph

1667 commits

Author SHA1 Message Date
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
altalk23
e9baaaa1c5 tiny oopsie 2024-01-24 19:38:01 +03:00
altalk23
620c1bb04d forgot to remove AsyncResponseHeader 2024-01-24 19:33:18 +03:00
altalk23
df07409532 implement the last modified since & responseHeaders in async web 2024-01-24 19:31:51 +03:00
altalk23
065d0c4926 Merge branch 'try-removal' 2024-01-24 17:49:10 +03:00
altalk23
4cd08e1ca9 remove try blocks 2024-01-24 17:17:42 +03:00
matcool
6835f57b8b move deletion of old index folder into thread 2024-01-24 11:16:03 -03:00
altalk23
69b9b2d559 update tuliphook and crashlog 2024-01-24 13:47:21 +03:00
altalk23
115c31eab7 capture force 2024-01-24 13:41:53 +03:00
altalk23
44976b4348 Make the force a param instead 2024-01-24 13:39:07 +03:00
altalk23
e3d0b30d70 force touch priority for overwriting priorities 2024-01-24 13:37:10 +03:00
altalk23
303d7cede4 force prio hook no more 2024-01-24 11:57:10 +03:00
altalk23
709e3cab48 first impl of revert 2024-01-24 11:30:38 +03:00
altalk23
3822006176 readd isnt here apparently 2024-01-24 00:44:12 +03:00
altalk23
320216604f Merge branch 'main' of https://github.com/geode-sdk/geode 2024-01-24 00:41:14 +03:00
altalk23
9b8a1a470f im crying with more prio 2024-01-24 00:34:30 +03:00
matcool
dc8cd21976 clearer error message when platform binary doesnt exist 2024-01-23 18:32:34 -03:00
altalk23
bedd6d3f59 fix lines again sorry mat 2024-01-24 00:11:07 +03:00
altalk23
fd8c3630e3 fix editorui prio final 2024-01-24 00:00:44 +03:00
altalk23
7bc6a066cd Merge branch 'main' of https://github.com/geode-sdk/geode 2024-01-23 23:15:47 +03:00
altalk23
31048ae16b remove g_instance from ModListLayer 2024-01-23 23:15:39 +03:00
matcool
d9358d8756 make Logger::push and clear thread safe
fixes #435
2024-01-23 17:12:18 -03:00
altalk23
b531a414bd revert editorui prio 2024-01-23 22:53:33 +03:00
altalk23
ad9abf13e3 add isvisible to scrolllayer visit 2024-01-23 22:16:42 +03:00
altalk23
eeeedbb9c4 move clipping rect fix to scrolllayer 2024-01-23 22:14:21 +03:00
altalk23
bdc6eb1283 Merge branch 'main' of https://github.com/geode-sdk/geode 2024-01-23 21:41:01 +03:00
altalk23
f1a32b6aef hardcode editorui force priority 2024-01-23 21:40:25 +03:00
matcool
1898397493 fix #439 2024-01-23 15:17:31 -03:00
dankmeme01
d3559c207d
fix ccnode header (#443) 2024-01-23 15:14:31 -03:00
mat
e4f957856f
Merge pull request #440 from dankmeme01/main
better error messages on dll load fail
2024-01-23 15:14:16 -03:00
matcool
82808c3a86 also check gd version on index items 2024-01-23 15:01:46 -03:00
altalk23
4a6b5b7c37 ninx will have fun finding the address of cocos2d::ccDrawLine 2024-01-23 20:28:50 +03:00
matcool
c2d1e587fa force geode internal mod to be first
quick and dirty, closes #427
2024-01-23 13:52:37 -03:00
matcool
ac76f5da40 add cvolton 2024-01-23 13:42:55 -03:00
matcool
43005d8e97 update internal mod about.md 2024-01-23 13:33:27 -03:00
matcool
bd9d0635aa dont skip mod updates if its disabled 2024-01-23 12:48:51 -03:00
matcool
d2a5135497 move gd version check to ModImpl::loadBinary 2024-01-23 12:06:27 -03:00
dankmeme01
77736d35e5 better error messages on dll load fail 2024-01-23 00:21:09 +01:00
altalk23
f68b25a052 this is android32 only 2024-01-23 01:56:35 +03:00
altalk23
9c87d4c8dd Fix exceptions on android 32 maybe 64? 2024-01-23 01:39:41 +03:00
altalk23
4ab71973fd revert the fix 2024-01-22 22:29:30 +03:00
altalk23
b8a43705fe will this work 2024-01-22 22:11:42 +03:00
altalk23
2bc0d1a827 do while OH MY GOD 2024-01-22 21:54:26 +03:00
altalk23
491666965d fuck you newlines in hashing 2024-01-22 20:42:11 +03:00
altalk23
316e652b19 readd the textinput fix 2024-01-22 19:59:12 +03:00
altalk23
d7ed016768 fix logcat adding all crashlogs if last crash didnt result in the thing 2024-01-22 19:11:17 +03:00
altalk23
d8b18dc609 ifdef gameDidSave into windows 2024-01-22 18:42:27 +03:00
altalk23
2ebd2f014c add GEODE_COMP_GD_VERSION 2024-01-22 17:58:22 +03:00
altalk23
8eb033c48c update android stubs & version 2024-01-22 17:45:02 +03:00
mat
efe94e553c
macos sucks 2024-01-21 14:33:19 -03:00
alk
9869ddcdea
Macos support for Geode v2 (#437)
updates loader refactor stuff and other things

---------

Co-authored-by: matcool <26722564+matcool@users.noreply.github.com>
Co-authored-by: dankmeme01 <42031238+dankmeme01@users.noreply.github.com>
2024-01-21 14:08:06 -03:00
HJfod
5bacaf307c fix SearchFilterPopup layout 2024-01-21 17:42:46 +02:00
HJfod
b61d4664fd fix squishing 2024-01-21 17:32:26 +02:00
HJfod
c42b5ddbc2 force all nodes of a Layout be ignoreAnchorPointForPosition 2024-01-21 16:49:03 +02:00
altalk23
bb60da8cb2 create parent path for unzip 2024-01-21 00:52:11 +03:00
altalk23
8e92bca418 remove the one in single extract 2024-01-20 23:59:45 +03:00
altalk23
1cf90c6acd Merge branch 'main' of https://github.com/geode-sdk/geode 2024-01-20 23:58:39 +03:00
altalk23
f6e1958ae8 uhh create dir 2024-01-20 23:58:30 +03:00
HJfod
427e28c034 fix Zip::Impl::extractAt not making sure dest dir exists 2024-01-20 22:15:58 +02:00
HJfod
cf14056037 Merge branch 'main' of https://github.com/geode-sdk/geode into main 2024-01-20 21:26:25 +02:00
HJfod
a628ea3ace fixing SearchFilterPopup ui being broken
my brother forced me off my pc so have to commit so i can continue on my laptop
2024-01-20 21:26:01 +02:00
altalk23
b22ed7de21 fun zip optimizations 2024-01-20 21:58:25 +03:00
HJfod
5c30809919 get rid of some unnecessary macros 2024-01-20 19:44:47 +02:00
matcool
120fa4a1df use getInternalDirectory for getModRuntimeDir on android 2024-01-20 11:51:29 -03:00
matcool
b63611ede8 add Index::isUpdating(), show message properly when updating index 2024-01-20 11:39:31 -03:00
matcool
dc2fba24ee avoid virtual call in forward compat cclayer::init hook
closes #432
2024-01-20 09:03:32 -03:00
mat
f7d9c6af17
macos gd::string (#430) 2024-01-19 20:33:17 -03:00
matcool
d8459041a0 remove member test (it was moved to bindings) 2024-01-19 13:55:48 -03:00
matcool
de7b2f6d9a update test dependencies 2024-01-19 13:53:53 -03:00
mat
cb5b887172
Merge pull request #423 from dankmeme01/main
c++ exception handler improvements + 64-bit compatibility
2024-01-18 21:33:46 -03:00
matcool
39efa08218 fix silly error in ModMetadataimpl yet again 2024-01-18 20:52:33 -03:00
qimiko
33e7ea3fe3
dump memory mappings in crash logs
a very bad solution to not resolving mod names
2024-01-18 15:47:58 -07:00
matcool
a49e230d63 disable this warning its annoying 2024-01-18 19:46:14 -03:00
matcool
9b07484e09 include tag in LoaderImpl::minModVersion 2024-01-18 17:51:49 -03:00
matcool
14d327e8ff use android32 and android64 everywhere, for consistency
breaks launcher lol! sorry
2024-01-18 17:28:21 -03:00
matcool
7e0558e030 set CCMenuItem::m_fSizeMult to 0 by default
fixes #406
2024-01-18 17:00:13 -03:00
matcool
98f4e7e817 no need to overload addressOfNonVirtual 2024-01-18 16:09:39 -03:00
ConfiG
647d463f6a
replace supportsDisabling with isInternal 2024-01-18 21:18:03 +03:00
matcool
f1df13aa63 remove Mod::wasSuccessfullyLoaded 2024-01-18 15:11:43 -03:00
matcool
eea39644fd set mod as enabled before loading platform binary 2024-01-18 15:10:49 -03:00
ConfiG
4f38f08c2b
why are you move 2024-01-18 20:46:19 +03:00