Commit graph

1825 commits

Author SHA1 Message Date
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
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
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
FigmentBoy
3fe102d2ca
Fix profile links 2024-02-11 21:21:14 -05: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
HJfod
438252f946 add openSupportPopup 2024-02-10 21:11:59 +02: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
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
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
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
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
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
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
HJfod
f21542a855 add popup for multiple developers 2024-02-03 13:14:15 +02:00
HJfod
85180d5f1c add support for multiple developers 2024-02-03 12:26:27 +02:00
qimiko
a5326b7d9a
add breakpad handling code 2024-02-02 03:13:35 -07:00
dankmeme01
86ae005fe9 implement getGameVersion on mac 2024-02-01 21:18:27 +01: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
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
qimiko
e90c614c01
i'm so sorry 2024-01-28 17:52:25 -07: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
Fleeym
d2befe1873 fix the messagebox fix 2024-01-28 21:17:29 +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
0692bc1a20 show currently loading mod in crashlog 2024-01-28 17:22:13 +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
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
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
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
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
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
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
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
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
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
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
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
ConfiG
b4e41464d0
Revert "refactor the code flow"
This reverts commit 69f8e15e
2024-01-18 20:44:16 +03:00
matcool
3d89677b60 uncomment this from Notification 2024-01-18 14:40:54 -03:00
matcool
6a617789d2 remove rvalue requirement, fix claimHook and claimPatch 2024-01-18 14:36:52 -03:00
ConfiG
b909bf69d8
this shouldnt pop back 2024-01-18 20:31:13 +03:00
ConfiG
4e28df1800
error when trying to disown a superpositioned hook
hehe kittydog reference
2024-01-18 20:24:39 +03:00
mat
a5a3a08d65
Merge pull request #421 from geode-sdk/hook-patch-refactor
Refactor Hook/Patch
2024-01-18 13:29:20 -03:00
dankmeme01
5298adf709 remove useless pragma 2024-01-18 17:09:25 +01:00
dankmeme01
a99f992a10 fix ehdata_structs.hpp on clang 2024-01-18 17:01:39 +01:00
dankmeme01
f3e937b8cc
Merge branch 'geode-sdk:main' into main 2024-01-18 16:45:36 +01:00
dank_meme
d76d88534f show exception class name + 64-bit forward compat 2024-01-18 16:45:39 +01:00
matcool
5bb386417d use AddDllDirectory instead 2024-01-18 12:43:33 -03:00
matcool
acd9bd7884 load native binaries from mod resources/binaries/<platform/ 2024-01-18 12:35:18 -03:00
matcool
25dc6eea5b ok so float was not precise enough 2024-01-18 11:47:07 -03:00
matcool
a0515fad26 still load game if geode is newer 2024-01-18 10:45:04 -03:00
matcool
562e73d610 redo logic for mod target gd version
it was busted idk what i was on when i wrote it, it wouldnt be able to
load anything newer than the geode gd version
2024-01-18 10:41:58 -03:00
matcool
753fd4e152 add PlatformID::toShortString and other things 2024-01-18 09:51:40 -03:00
Cvolton
e23b051a3d
Add 2.204 support (#422) 2024-01-17 14:09:08 -03:00
matcool
3e6db723da dont free our internal string 2024-01-16 17:10:03 -03:00
matcool
806499c8f4 extract gnustl empty string from CCString
no more hardcoded addresses in android!!
2024-01-16 16:54:33 -03:00
matcool
925e72535d fix inputnode length 2024-01-16 14:16:56 -03:00
matcool
c00bd759c7 fix InputNode::getString 2024-01-16 13:58:31 -03:00
Chloe
45a04cc330
Merge branch 'main' into hook-patch-refactor 2024-01-15 22:19:54 -07:00
qimiko
b871c2a088
dynamically resolve dynamic_cast address 2024-01-15 19:48:24 -07:00
matcool
e6cd66aee7 oops 2024-01-15 18:50:16 -03:00
matcool
f7a3947c06 add gd version key to mod.json
closes #414
2024-01-15 18:44:23 -03:00
ConfiG
a089f5474e
patch overlap checking 2024-01-15 18:07:37 +03:00
altalk23
69f8e15e21 refactor the code flow 2024-01-15 18:04:49 +03:00
altalk23
165f05fcb4 funny shared_ptr implementation 2024-01-15 17:57:43 +03:00
ConfiG
ab436bd7c3
fix crash yayy 2024-01-15 00:55:18 +03:00
ConfiG
7631b045e1
fix android 2024-01-15 00:47:02 +03:00
ConfiG
28c91f762e
refactor Hook/Patch 2024-01-15 00:42:04 +03:00
ConfiG
5ff74e849a
remove unloadPlatformBinary 2024-01-15 00:41:00 +03:00
ConfiG
12ba95f7ba
set default loading state 2024-01-15 00:40:01 +03:00
ConfiG
3e840cdb47
pass const ref to func in queueInMainThread 2024-01-15 00:39:36 +03:00
ConfiG
516a1c67da
use std::optional<bool> for forward compat flag 2024-01-14 16:00:33 +03:00
ConfiG
b70b64dfc9
rename executeGDThreadQueue to executeMainThreadQueue 2024-01-14 15:38:37 +03:00
ConfiG
be7ee3ef18
Refactor some stuff in Loader (#420)
* move console stuff from loader

* compile platform sources only per platform

* move ipc from loader

* move updater from loader

* remove Loader::didLastLaunchCrash

* remove platformdata from loader

* move updaters events and filters too
2024-01-14 14:23:34 +03:00
altalk23
784dd0fe42 breaking change !!! (gd string) 2024-01-13 16:43:53 +03:00
qimiko
b072c6bc31
use dladdr to get base on android 2024-01-12 19:26:24 -07:00
qimiko
9661693e72
getGameVersion android but commented out 2024-01-12 19:15:53 -07:00
ConfiG
21caf514c2
move forward compat hook toggling to macros 2024-01-13 03:30:07 +03:00
ConfiG
56cedaac32
fix android platformMessageBox missing severity 2024-01-13 03:15:07 +03:00
ConfiG
153880c286
show message box on first forward compat startup 2024-01-13 03:11:25 +03:00
ConfiG
d81e1ba072
add severity to platformMessageBox 2024-01-13 03:08:08 +03:00
ConfiG
f6cde6a62f
fallback save mod data for forward compat 2024-01-13 02:48:10 +03:00
ConfiG
83f7a0b18c
make deleteSaveData in Mod::uninstall an optional param 2024-01-13 01:02:35 +03:00
ConfiG
d9ff838c80
fix last commit 2024-01-13 01:01:53 +03:00
ConfiG
98b3a8fbf1
remove some funcs from Loader 2024-01-13 00:49:42 +03:00
matcool
a0f70c8c35 improve timestamp map code 2024-01-12 17:37:01 -03:00
ConfiG
91bff5fbb2
forward compat mode 2024-01-12 22:18:24 +03:00
ConfiG
7ef57bbf67
sigscan for gd main func 2024-01-12 19:19:34 +03:00
ConfiG
7de9a82d53
delayload cocos 2024-01-12 18:34:33 +03:00
matcool
635fe1bb00 works on 2.203 2024-01-11 12:55:54 -03:00
matcool
9b22d48352 move gd version detection code to proxyloader, now works on 2.1 2024-01-10 18:23:56 -03:00
mat
def39fc3f9
use compact json for request body 2024-01-10 00:12:35 -03:00
matcool
8ccc61febb new util methods, rename postFields and customRequest 2024-01-09 20:10:58 -03:00
matcool
91703e4192 fix postFields not setting isPostRequest to true 2024-01-09 18:31:55 -03:00
matcool
2540790ccb make cancelling not call error callback 2024-01-09 18:17:46 -03:00
matcool
7ba832c9ee debug maybe works now, and other things 2024-01-09 16:59:57 -03:00
matcool
8081860055 Merge branch 'main' of github.com:geode-sdk/geode into web-request-refactor 2024-01-09 15:40:45 -03:00
mat
e1161a96c6
Merge pull request #417 from dankmeme01/main
use string_view instead of string& in Mod
2024-01-09 11:00:24 -03:00
matcool
c3c055662f fix geode uses of CCArrayExt 2024-01-09 10:54:29 -03:00
dankmeme01
dcaa408bc1 use string_view instead of string& in Mod 2024-01-09 14:47:11 +01:00
qimiko
6b1164d4a6
workaround multithreaded base directory issues 2024-01-08 23:11:27 -07:00
qimiko
c1a0969af7
fix crash when missing base directory method 2024-01-08 17:33:25 -07:00
qimiko
91c68f525b
use jni basedirectory for android paths 2024-01-08 16:21:56 -07:00
matcool
198948319b compiles for 2.202/2.2011 whatever we'll call it 2024-01-08 16:48:21 -03:00
HJfod
154c5a2522 fix openFolder on Windows 2024-01-06 19:31:26 +02:00
mat
27fac2ba9d show bindings commit 2024-01-04 18:36:44 -03:00
mat
53e01fd94e remove completely unused internal nodes 2024-01-04 09:57:56 -03:00
mat
8a605da9b8 actually implement asyncwebrequest::timeout 2024-01-04 09:37:55 -03:00
mat
13ac3359f7 add AsyncWebRequest::timeout 2024-01-03 23:12:23 -03:00
mat
1ee1352d70 make AsyncWebRequest pimpl 2024-01-03 22:17:27 -03:00
mat
b9a09f73d5 update json library, changes namespace to matjson
very breaking change! though not annoying to upgrade. this change was
done because matjson is not really meant to be a "do everything" json
library, so taking up the very common `json` identifier was troublesome.
2024-01-03 18:04:43 -03:00
mat
b4235bb59a remove binary and datastore keys 2024-01-02 22:52:53 -03:00
mat
39d372c7f6 removed required from mod.json 2024-01-02 22:50:07 -03:00
altalk23
da72e5cdfe Merge branch 'main' of https://github.com/geode-sdk/geode 2024-01-01 21:17:46 +03:00
altalk23
6a48715c8a I AM CRYING OH MY GOD 2024-01-01 21:17:25 +03:00
mat
de6edd1cb2 Merge branch 'main' of https://github.com/geode-sdk/geode 2024-01-01 15:15:03 -03:00
mat
e3d9082553 reimplement StringImpl::free, use dlsym to get operator new and delete 2024-01-01 15:14:00 -03:00
mat
3a616ea590 use better syntax for this for loop 2024-01-01 15:13:25 -03:00
altalk23
94d03ed630 revert the dependency stuff 2024-01-01 20:51:29 +03:00
altalk23
00b90e2d98 remove the log 2024-01-01 20:46:45 +03:00
altalk23
a8e53426e3 fix touch dispatcher 2024-01-01 20:46:13 +03:00
altalk23
7aca59b20c stringcopy begone 2024-01-01 19:46:52 +03:00
altalk23
16f66eb76c document the size 2024-01-01 17:55:45 +03:00
altalk23
25bb79cea0 fix armv8 empty string 2024-01-01 17:54:20 +03:00
mat
3b53328718
include loader commit in crashlog, and change message 2023-12-30 23:26:44 -03:00
mat
138b3ac6b5
just say the game crashed instead of us 2023-12-30 23:16:34 -03:00
altalk23
157261171b temporary dependency bandaid 2023-12-30 21:34:04 +03:00
mat
97e5b74c8b
oops this shouldnt be exported 2023-12-30 11:19:50 -03:00
mat
2ba8761f3e
Merge pull request #386 from geode-sdk/refactor-log
Refactor logging internals
2023-12-30 10:59:31 -03:00
altalk23
8c4d5f367d bindings fixed 2023-12-30 16:27:28 +03:00
mat
6f66e47bed use local timezone in logs 2023-12-29 19:46:19 -03:00
matcool
f4f7b66437 floor seconds to int 2023-12-29 11:32:46 -03:00
matcool
570a3b5904 bring back ccobject* logging by wrapping code and downgrading to 10.0.0 2023-12-29 10:54:19 -03:00
matcool
1df146a516 make Logger and Log loader only, refactor Logger too 2023-12-28 19:56:40 -03:00
matcool
237109ce39 Merge branch 'main' into refactor-log 2023-12-28 15:18:56 -03:00
altalk23
d057d8b208 i am no longer lazy 2023-12-27 19:32:41 +03:00
matcool
047db25b23 add fix for clipping rect in some layers 2023-12-27 00:35:39 -03:00
mat
b01db1f0fc even more cleaning 2023-12-25 15:35:07 -03:00
mat
c57db81910 remove log components, just format directly with fmtlib 2023-12-25 15:18:38 -03:00
altalk23
e21a7ac7d9 fix loadingcircle 2023-12-25 07:41:47 +03:00
altalk23
00e2bfee28 find armv8 string dtor 2023-12-25 07:11:17 +03:00
mat
f8cc461635 fix android gd::string 2023-12-25 00:52:43 -03:00
mat
941042999b
fix quickpopup 2023-12-24 17:17:18 -03:00
HJfod
cfa6e09e46 make attempting to hook a placeholder address log in the console 2023-12-23 18:43:59 +02:00
HJfod
e442e37e7a update the placeholder address 2023-12-23 18:31:20 +02:00
altalk23
78ca51fe3e ok only tuliphook and static libs left 2023-12-23 18:02:13 +03:00
HJfod
1475c45afd fix loader trying to load mods from 1.0.0-beta.5 2023-12-23 16:35:02 +02:00
matcool
7bd637370b add todos 2023-12-23 11:10:36 -03:00
matcool
a3ce94cdaf Merge branch 'main' of github.com:geode-sdk/geode 2023-12-23 11:00:52 -03:00
matcool
d6af9af2b4 rename StringImpl -> StringData, StringImplAdapter -> StringImpl 2023-12-23 11:00:43 -03:00
altalk23
cab63073c2 add android64 to headers 2023-12-23 16:10:23 +03:00
matcool
a82ba30a70 rename string headers 2023-12-23 09:44:29 -03:00
altalk23
c0ae7e4705 add scroll layer to tags 2023-12-23 14:36:36 +03:00
altalk23
b4c16e6ab5 fix mod settings 2023-12-23 14:04:27 +03:00
altalk23
db4c76f7f7 fix trysavegame 2023-12-23 13:32:44 +03:00
altalk23
62bff96a19 fix geode abouts not showing up 2023-12-23 13:08:14 +03:00
altalk23
15eaf56ca8 fix toggle button 2023-12-23 12:09:11 +03:00
altalk23
d28084c3bf i hate force prio i hate force prio 2023-12-23 11:52:05 +03:00
altalk23
a2389f65ee fix android compiling (did i tell i hate <=> operator) 2023-12-23 11:05:59 +03:00
matcool
1065592e8d i dont know at this point, android still crashes 2023-12-23 02:59:45 -03:00
matcool
24bbc65f19 refactor gd::string 2023-12-22 18:09:58 -03:00
matcool
cc4dfc1ba4 disable parts of menulayer::init for now 2023-12-22 15:11:20 -03:00
altalk23
5ef7aec666 fix the list view, the cell is broken 2023-12-22 19:50:53 +03:00
matcool
40cc77051c fix JMP_BYTES macro on clang 2023-12-22 09:53:37 -03:00
matcool
210375ca6d fix loadinglayer 2023-12-22 01:45:43 -03:00
matcool
bf63e31ff4 disable this for now 2023-12-21 17:04:08 -03:00
matcool
5397e0fa66 ignore placeholder hooks 2023-12-21 17:03:22 -03:00
altalk23
9888a7aa1e im done for today, good work IMO 2023-12-21 22:43:23 +03:00
altalk23
9af2bd5e89 android gg 2023-12-21 22:04:43 +03:00
altalk23
95915f5c81 do android stuff 2023-12-21 20:44:22 +03:00
altalk23
5d07b2ab7d Geode android compiles gg girls and girls 2023-12-21 19:42:01 +03:00
matcool
b6b20b0bd3 update main hook, probably
i havent tested this yet because bindings dont build, but it probably
workd :-)
2023-12-20 14:55:26 -03:00
altalk23
d853f2240e move node ids 2023-12-20 20:21:23 +03:00
altalk23
7599a58f56 zmx please fix the android base get 2023-12-20 20:01:10 +03:00
altalk23
f021b726be comment out ids except menulayer 2023-12-20 19:58:47 +03:00
HJfod
151303c696 remove deprecated funcs from mod and fix wasSuccesfullyLoaded 2023-12-20 12:47:59 +02:00
HJfod
442789e61a Merge branch '1.4.0-dev' into 2.0.0-dev 2023-12-20 12:19:29 +02:00
mat
ebcc23e7a9
Merge branch 'main' into 1.4.0-dev 2023-12-19 10:02:19 -03:00
matcool
0787b8f450 message for a bug i cant recreate 2023-12-17 22:33:32 -03:00
matcool
c7a471660e fix garage node ids being shifted when asking for name 2023-12-16 10:30:42 -03:00
matcool
4b7663015a (urgent) fix followThunkFunction
it was following hooks for cocos functions, causing bad crashes.
instead, now only follow jmp and then jmp dword ptr
2023-12-15 11:59:11 -03:00
matcool
d295fc9546 update comment 2023-12-14 21:45:24 -03:00
matcool
391f63edee implement a save file fix
thank you chloe for a basis for the rewritten function

Co-authored-by: qimiko <25387744+qimiko@users.noreply.github.com>
2023-12-14 21:37:29 -03:00
matcool
44a018cdf9 recursively follow jumps in followThunkFunction 2023-12-14 21:32:19 -03:00
matcool
e8a326f7cb make crashlog messagebox always appear, instead of only on GEODE_DEBUG 2023-12-14 21:31:54 -03:00
altalk23
c8392e92f5 im tired 2023-11-21 22:03:07 +03:00
altalk23
164185621e easy fix of the web error crash !!! (not rly) 2023-11-21 21:20:06 +03:00
altalk23
df3979fe46 Merge branch 'main' of https://github.com/geode-sdk/geode 2023-11-21 20:38:15 +03:00
altalk23
f7962246ec set time for updating index notif 2023-11-21 20:38:13 +03:00
ConfiG
c5550a67c2
log geode version on startup 2023-11-21 20:34:59 +03:00
altalk23
b76eb12458 fix onShare 2023-11-21 20:34:12 +03:00
altalk23
d5027ca6ab Merge branch 'main' into 1.4.0-dev 2023-11-21 20:31:36 +03:00
altalk23
5cf0f3c28c fix hooks lol! funny demorgan stuff happened here 2023-11-21 20:22:27 +03:00
ConfiG
5083017b50
improve logging + minor refactors 2023-11-11 19:45:18 +03:00
mat
41832af1d8
Merge branch '1.4.0-dev' into 1.4-merge-temp 2023-11-09 22:39:23 -03:00
mat
12231b223c
disable CCTextInputNodeFix 2023-10-31 14:57:04 -03:00
alk
d5000c29ae
Merge pull request #319 from dankmeme01/main
Display messages of unhandled c++ exceptions on Windows
2023-10-28 18:48:23 +03:00
Fire
237128bfc5
Allow error responses
i dont want a "HTTP response code said error"
2023-10-27 20:49:17 +00:00
dank_meme
0472075f88 actually fix windows exception handling 2023-10-25 00:18:58 +02:00
dank_meme01
52421d8c65 fix msvc compilation error in ehdata_structs.hpp 2023-10-24 22:42:48 +02:00
dank_meme01
0d09162622 some exception handling improvements 2023-10-24 12:05:37 +02:00
dank_meme01
fdd78aca3f display messages of unhandled c++ exceptions 2023-10-23 23:19:15 +02:00
camila314
23bfc22d11 someone made an oopsie in SentAsyncWebRequest::Impl's constructor 2023-10-22 11:50:58 -05:00
mat
d6de1187d3
avoid convertTouchToNodeSpace because of mac 2023-10-22 10:53:40 -03:00
Mazin Eltahawy
2d8e988ce3
Add null check for m_delegate (#318)
* fix formatting

* Add null check for `m_delegate`

---------

Co-authored-by: Mazin Eltahawy <mazintahawy@gmail.com>
Co-authored-by: mat <26722564+matcool@users.noreply.github.com>
2023-10-22 10:46:21 -03:00
Mazin Eltahawy
746966c423
Make CCTextInputNode work in nested hierarchies (#317) 2023-10-22 10:38:09 -03:00
altalk23
902385fd1b fix namespace 2023-10-16 18:49:28 +03:00
altalk23
17f892169c i forgot semicolon 2023-10-16 18:48:47 +03:00
altalk23
8c74e3357f thank you mat 2023-10-16 18:48:38 +03:00
altalk23
8ca3b9fce2 thank you cvolton 2023-10-16 18:47:20 +03:00
altalk23
241fed492c android crashlog implemented gg 2023-10-15 17:31:30 +03:00
altalk23
57a475b3b7 add the logcat writer 2023-10-15 16:43:21 +03:00
altalk23
6a3a2c9714 fix bros and remove update dir on start 2023-10-15 16:12:32 +03:00
altalk23
335cc445c3 Merge branch '1.4.0-dev' into android 2023-10-15 16:07:42 +03:00
altalk23
6574b22b81 Merge branch 'main' into 1.4.0-dev 2023-10-15 16:06:22 +03:00
altalk23
c967b520df fix the index notif staying on all the time 2023-10-11 22:16:12 +03:00
altalk23
449ee464be fix pickfiles 2023-10-11 21:02:06 +03:00
Fleeym
8762714c23 only show update indicator if mod is enabled 2023-10-11 19:56:33 +03:00
matcool
b4fbea51e2 only write checksum file after unzipping 2023-10-10 18:44:37 -03:00
SMJSGaming
42a1a33c53 Added word wrappers, colors and optimizations to text area 2023-10-10 19:19:12 +02:00
altalk23
df459dec3c new pick files to other platforms 2023-10-08 17:11:32 +03:00
altalk23
f57601d0b5 file picker 2023-10-08 16:38:17 +03:00
altalk23
35c018e661 even more broken 2023-10-05 17:02:59 +03:00
altalk23
66e36b3a38 this handler sometimes doesnt work 2023-10-05 15:09:42 +03:00
altalk23
a77c33974b Merge branch '1.4.0-dev' into android 2023-10-04 13:51:05 +03:00
SMJS
36c461ace4
Fixed alignment issues caused by unallocated memory and bad anchor points (#282) 2023-10-03 17:33:59 -03:00
SMJS
0e8865546c
Fixed alignment issues caused by unallocated memory and bad anchor points
Simply put, alignment had no default assignment, causing undefined behavior, this also revealed some bad anchor points which could be optimized
2023-10-03 22:28:15 +02:00
altalk23
a985d5a8c5 implement utils except file utils but i tried ok 2023-10-03 17:51:12 +03:00
altalk23
d194cbe3b7 remove this-> 2023-10-02 19:05:27 +03:00
altalk23
0367360644 Add text input node fix 2023-10-02 19:03:58 +03:00
altalk23
8dd2e15c38 fix dynamic cast 2023-10-02 16:50:10 +03:00
altalk23
0ed1a41426 Fix unzip modify date & add verifying text 2023-10-02 14:37:02 +03:00
altalk23
5c765c6798 Implement modified date check on geode files for unzip 2023-10-02 14:15:20 +03:00
altalk23
777cf38df0 implement threaded unzipping and revert typeinfo cast (but its ugly) 2023-10-02 13:37:09 +03:00
SMJS
7f277a77e1
Added a simple text area UI node (#277) 2023-10-01 18:59:44 -03:00
altalk23
9fa9284726 add not working clipboard 2023-10-01 23:25:13 +03:00
altalk23
2847beed8f most requested feature of all time 2023-10-01 22:45:17 +03:00
Cvolton
63940f2ce9 Improve Android bindings 2023-10-01 14:45:28 -03:00
altalk23
fedf96edd9 enable editorpause ids 2023-10-01 20:21:23 +03:00
altalk23
7de21d9177 Fix latest resources downloading 2023-10-01 19:41:25 +03:00
altalk23
238d1b7de9 implement android game::exit 2023-10-01 19:18:40 +03:00
altalk23
6bd6c6b320 reenable persist 2023-10-01 18:40:04 +03:00
altalk23
c950787693 remove the field tests 2023-10-01 17:38:50 +03:00
altalk23
90d55d0526 revert web 2023-10-01 17:37:26 +03:00
altalk23
fc58ab79ef c++ abi can go burn in gaseous tungsten 2023-10-01 17:36:44 +03:00
altalk23
fed73fefd6 Revert loading layer 2023-10-01 15:23:48 +03:00
altalk23
41ae88ae5b Merge branch '1.4.0-dev' into android 2023-10-01 15:22:18 +03:00
altalk23
275a87aece Merge branch 'main' into 1.4.0-dev 2023-10-01 15:14:06 +03:00
altalk23
dd0179c42a Fix garagelayer ids on not logged in users 2023-09-27 15:27:11 +03:00
altalk23
499f2569cb readd the nullptr check in InstallListPopup::createCells 2023-09-27 15:12:00 +03:00
altalk23
a43dcc84cb Revert "Add MenuItemSprite"
This reverts commit 152dc7edcf.
2023-09-20 17:37:42 +03:00
altalk23
dcc40f11e1 Revert "Fix some stuff related to menuitemspriteextra but gonna revert"
This reverts commit e8b98e48f5.
2023-09-20 17:37:30 +03:00
altalk23
e8b98e48f5 Fix some stuff related to menuitemspriteextra but gonna revert 2023-09-20 17:37:20 +03:00
altalk23
152dc7edcf Add MenuItemSprite 2023-09-20 17:07:25 +03:00
altalk23
34398b86e9 Merge branch 'main' into 1.4.0-dev 2023-09-20 15:30:29 +03:00
Fleeym
a942a45adc follow redirects on all util::web requests 2023-09-20 00:56:55 +03:00
FigmentBoy
140f38bee0 Make MDTextArea fit within provided size (and look better) 2023-09-19 15:14:59 -04:00
FigmentBoy
cf8fbbad71 Allow for StringSetting character filters 2023-09-18 23:04:45 -04:00
matcool
e7e5ee7f26 add some opengl functions here, for now 2023-09-17 15:01:34 -03:00
matcool
45d3be8903 change these to createDirectoryAll 2023-09-16 17:25:15 -03:00
altalk23
b3ac20d2a7 fix resources again 2023-09-16 19:03:31 +03:00
altalk23
d33c508d48 move unzipped to inside data 2023-09-16 17:22:30 +03:00
altalk23
bf1d47244f hardcode path utils to external for now 2023-09-16 17:11:36 +03:00
altalk23
28480a6dc4 download latest loader resource if folder doesnt exist and the version doesnt exist 2023-09-16 15:38:14 +03:00
altalk23
4b9b72f541 Merge branch 'main' into android 2023-09-16 15:17:57 +03:00
qimiko
e070fba8cb
remove hardcodes for directory 2023-09-16 04:52:34 -07:00
altalk23
81de161b3e reunify resources.zip 2023-09-16 14:09:05 +03:00
altalk23
fdc7e314d1 Merge branch '1.4.0-dev' into android 2023-09-16 13:56:21 +03:00
altalk23
f39c6f711a Merge branch 'main' into 1.4.0-dev 2023-09-16 13:55:52 +03:00
qimiko
fda43ec617
fix web request crash 2023-09-16 03:53:24 -07:00
altalk23
5856f5fde0 Trying to fix hashes by enforcing LF 2023-09-16 11:38:11 +03:00
altalk23
aa55ebe8aa fix search paths - season 1 episode 4 2023-09-16 10:01:45 +03:00
altalk23
2723588f21 Fix nested lists in md 2023-09-16 09:50:05 +03:00
altalk23
a6a47bf6cf Fix #239 and revert GEODE_HIDDENs 2023-09-16 09:48:48 +03:00
altalk23
20d5e079bc Fix tuliphook alignment intervener issue 2023-09-16 01:10:56 +03:00
altalk23
86de5ff7dd uncomment some stuff 2023-09-16 00:17:45 +03:00
altalk23
4294177be6 gd opens rn lol! but i commented like everything 2023-09-15 23:37:18 +03:00
altalk23
7c55b215d1 comment string dtor & add +1 to dlsym 2023-09-15 19:59:55 +03:00
altalk23
9906a8ff78 fix android empty string 2023-09-15 19:38:15 +03:00
altalk23
372ea0e78c remove the expand sprite log 2023-09-15 08:17:40 +03:00
altalk23
5954b06bc4 Merge branch 'main' of https://github.com/geode-sdk/geode 2023-09-14 17:54:32 +03:00
altalk23
9a28e58639 add GEODE_HIDDEN to _spr 2023-09-14 17:54:26 +03:00
ConfiG
21866a033a
improve utils::file::read* error checking 2023-09-14 17:39:00 +03:00
altalk23
4715072c86 Add platform specific funcs 2023-09-14 15:56:51 +03:00
altalk23
0e324c444c Add android gd string and comment out addresses for now 2023-09-14 15:49:24 +03:00
altalk23
1d53ce7695 Make missimg members private, ifdef missing ids 2023-09-14 14:59:12 +03:00
altalk23
46e4cdb3b1 Compiles until linking 2023-09-14 14:43:55 +03:00
altalk23
0f67435685 Merge branch '1.4.0-dev' into 2.0.0-dev 2023-09-13 10:43:47 +03:00
altalk23
26a6c7e96d fix too big mod icons 🔥 2023-09-12 22:11:16 +03:00
altalk23
71a79ab4dd add GEODE_HIDDEN to _spr 2023-09-12 21:07:53 +03:00
altalk23
f64c74a128 Fix nested lists in md 2023-09-12 19:46:26 +03:00
altalk23
ac74e056cf fix blue view spacing 2023-09-12 18:46:14 +03:00
altalk23
dd806e0532 Make mod info popup top a layout 2023-09-12 18:42:17 +03:00
altalk23
607adc8fd0 Fix disabling problem mods from view popup 2023-09-12 18:24:31 +03:00
altalk23
e8b6c57c21 fix grayed out 2023-09-12 18:16:03 +03:00
altalk23
cd89ef1909 fix the toggling thing with dependencies 2023-09-12 18:15:17 +03:00
altalk23
ef4764728b change loadinglayer, fix macos spritesheet issue, separate user disabled & problem disabled, fix not enabling a disabled mod that has dependency disabled, 2023-09-12 18:12:46 +03:00
camila314
734ddd0ed9 Merge remote-tracking branch 'refs/remotes/origin/1.4.0-dev' into 1.4.0-dev 2023-09-11 13:12:21 -05:00
camila314
0f179dad45 make minor version label invisible on update 2023-09-11 13:12:15 -05:00
ConfiG
20adf34d4a
change some popups a bit 2023-09-11 17:02:43 +03:00
ConfiG
899b0ce82c
Merge branch 'main' into 1.4.0-dev
# Conflicts:
#	VERSION
#	loader/src/ui/internal/list/ModListCell.cpp
2023-09-11 16:50:55 +03:00
ConfiG
a738320e2c
add uninstall button to geode mod 2023-09-11 16:36:35 +03:00
ConfiG
8fa2ba2de1
fix mac build 2023-09-11 15:42:35 +03:00
ConfiG
7c582f177f
make index unzip async 2023-09-11 15:22:19 +03:00
ConfiG
ae048e48a9
deprecate Mod::isLoaded 2023-09-11 14:38:14 +03:00
ConfiG
5b7d3183bb
only show whether mods are loaded in crashlog 2023-09-11 14:07:49 +03:00
ConfiG
bb431ee1dc
fix search paths - season 1 episode 3 2023-09-11 04:22:58 +03:00
Gleb
2d2bdd16bc
Remove SetThreadDescription calls
Remove SetThreadDescription calls to restore Windows 7 compatibility
2023-09-11 05:18:24 +05:00
ConfiG
06635690c4
bring unknown problems back 2023-09-10 19:14:00 +03:00
ConfiG
8f39c38851
fix texture alignment 2023-09-10 18:37:39 +03:00
altalk23
182984d291 Fix problems with macos console 2023-09-10 18:01:23 +03:00
altalk23
d277b9435c Reenable platform console 2023-09-10 17:19:59 +03:00
altalk23
19ad688fcc Merge branch 'main' into 1.4.0-dev 2023-09-10 15:54:26 +03:00
altalk23
6cad19d4c0 Update tuliphook & missing texture message 2023-09-10 15:53:34 +03:00
altalk23
2ecb658b2a Don't hardcode userobject hooks to ccdirector 2023-09-09 15:29:22 +03:00
altalk23
b087574ac7 Fix scaling on labelmenu 2023-09-09 14:39:14 +03:00
altalk23
32b622639c readd stencil 2023-09-09 14:33:00 +03:00
altalk23
114fa465a8 Mod cells now use layouts & disable macos console temporarily 2023-09-09 14:32:20 +03:00
camila314
3f8cdd994a proper platform console for mac 2023-09-08 19:48:27 -05:00
camila314
6d599a5e19 allow logging to be disabled per-mod 2023-09-08 12:44:26 -05:00
altalk23
cbd1d04cab fix target 2 2023-09-08 18:07:21 +03:00
altalk23
92ca99b82c fix broken web request stuff 2023-09-08 18:05:20 +03:00
altalk23
645eb8e03d delete extra 2023-09-08 18:04:18 +03:00
altalk23
83e48fa8dc Fix AsyncWebRequest backwards compat 2023-09-08 18:02:59 +03:00
altalk23
c256207457 Add post & custom requests and user agents to AsyncWebRequest 2023-09-08 17:17:45 +03:00
altalk23
7816c435c4 Update macos crashlog to include base and offset 2023-09-08 16:33:22 +03:00
altalk23
2c0c36277f Merge branch 'main' into 1.3.0-dev 2023-09-08 15:54:56 +03:00
altalk23
e68c0d7fcd Fix ontab keeping scroll 2023-09-08 15:49:25 +03:00
altalk23
b3d444a0f3 Keep scroll value when refreshing the list 2023-09-08 15:25:55 +03:00
altalk23
d40f4672c4 change install and uninstall popups to reflect 1.3.0 changes 2023-09-08 15:13:07 +03:00
altalk23
b21ff6e234 Fix geode checkbox and installed mods not showing restart 2023-09-08 15:07:11 +03:00
ConfiG
e557a551d8
actually update m_applied in Patch 2023-09-07 21:32:28 +03:00
altalk23
5d15eb0215 Implement UI for multiple version downloading (very cursed) 2023-09-05 02:22:57 +03:00
altalk23
63027a7f84 Fix mod logo and special files of index entries 2023-09-04 23:45:04 +03:00
altalk23
5572f9cd1c use mods-v2 for index 2023-09-04 23:15:41 +03:00
altalk23
b0d39e79c9 make patch dtor protected 2023-09-04 22:42:07 +03:00
altalk23
1eeb8810c9 Move patch getters to srouce 2023-09-04 22:39:27 +03:00
altalk23
69821f3e2c Add disable auto enable to Patch 2023-09-04 22:36:33 +03:00
altalk23
23c3095263 move ModEventType::Loaded place 2023-09-04 22:14:51 +03:00
altalk23
4f2835ae34 Fix dependencies getting installed when they exist 2023-09-04 22:07:12 +03:00
altalk23
d81774957d Remove runtime enable/disable, requires cleanup 2023-09-04 19:08:25 +03:00
altalk23
e78eaf01e8 Fix search paths missing with spritesheetless mods 2023-09-04 17:21:34 +03:00
altalk23
65b4364ab5 Fix search paths when reloaded 2023-09-04 16:50:32 +03:00
altalk23
87749d46c2 why does msvc compile trailing comma 2023-09-04 13:00:40 +03:00
altalk23
9ee0994a0e fix CustomizeObjectLayer ids moving around when multiple objects are selected 2023-09-04 01:04:15 +03:00
ConfiG
17a5ac93ea
remove all deprecated functions 2023-08-31 15:27:30 +03:00
matcool
eda87da1a2
improved formatting for registers and most list on crashlogs 2023-08-27 15:51:34 -03:00
matcool
6e97c2700c
Merge branch 'main' of github.com:geode-sdk/geode into 1.2.0-dev 2023-08-27 13:57:07 -03:00
matcool
0835477572
also check for GJ_GameSheetIcons.png 2023-08-27 13:53:39 -03:00
altalk23
d6ef0a9650 Merge branch '1.2.0-dev' of https://github.com/geode-sdk/geode into 1.2.0-dev 2023-08-27 19:36:11 +03:00
altalk23
a7181ebba8 fix objc/runtime include 2023-08-27 19:35:50 +03:00
altalk23
db02c3dd1a macos map add things 2023-08-27 19:34:33 +03:00
altalk23
7836e60b86 Merge branch 'main' into 1.2.0-dev 2023-08-27 19:16:32 +03:00
matcool
9875f5d597
improve lag because of cc_2x2_white_image 2023-08-27 11:23:36 -03:00
ConfiG
32f7610ab6
Merge branch 'main' into 1.2.0-dev 2023-08-23 18:20:34 +03:00
alk
e639ff3182
Update crashlog.mm 2023-08-22 16:09:43 +03:00
ConfiG
f91b289388
actually fix dingus 2023-08-19 01:22:31 +03:00
mat
19af576db2
fix dingus 2023-08-18 18:35:24 -03:00
ConfiG
277f68bfd7
rename queueInGDThread to queueInMainThread 2023-08-19 00:23:20 +03:00
ConfiG
ef1f1d15c6
fix search buttons not clickable over view buttons 2023-08-19 00:13:14 +03:00
ConfiG
919276977c
improve install confirmation popup 2023-08-19 00:13:13 +03:00
altalk23
794dded30f Revert "replace macos entry with objc hook" 2023-08-18 11:04:53 +03:00
altalk23
a31d07237f Add objc hooking utilities 2023-08-18 10:51:00 +03:00
altalk23
409815acb3 Merge branch 'main' of https://github.com/geode-sdk/geode 2023-08-18 10:27:02 +03:00
altalk23
e54bd552ce replace macos entry with objc hook 2023-08-18 10:08:03 +03:00
matcool
38cc38c2c3
remove unnecessary gd thread queues for mod events 2023-08-16 21:02:13 -03:00
ConfiG
1d5fae8fbb
fix loading layer not using m_fields for m_loadedModsLabel 2023-08-16 23:29:51 +03:00
ConfiG
f316c86756
fix typos in "successfully" 2023-08-16 21:16:15 +03:00
ConfiG
cd772bd056
swap Recommended/Customize, Cancel/Delete > Keep/Delete 2023-08-16 21:13:37 +03:00
altalk23
86accf9a33 remove friend ModInfo::Impl (created a warning) 2023-08-14 17:03:40 +03:00
ConfiG
aee84c0ffc
problems list ui 2023-08-13 22:20:53 +03:00
ConfiG
6ab542d51a
dont enable mods on update 2023-08-13 21:52:36 +03:00
ConfiG
73169fbf22
improve index related ui
- hide install list behind a popup
- remove android and ios filters
- don't show not installable mods
- allow quick popups to be completely cancelled by esc
2023-08-13 21:52:36 +03:00
ConfiG
3707418355
new install list ui 2023-08-13 21:52:35 +03:00
altalk23
0e1d639002
implement missing stuff to macos 2023-08-13 21:52:34 +03:00
ConfiG
a9cce769d5
fix index ui with show installed filter on 2023-08-13 21:52:33 +03:00
ConfiG
3d2e447333
add epic super secret api that nobody should use 2023-08-13 21:52:31 +03:00
ConfiG
8908235234
add importance to incompat 2023-08-13 21:52:30 +03:00
ConfiG
e7180695b8
early load 2023-08-13 21:40:21 +03:00
ConfiG
80f387d9d1
name ipc threads 2023-08-13 21:40:20 +03:00
ConfiG
ed5b5c9685
fix index not parsing tags correctly 2023-08-13 21:40:19 +03:00
ConfiG
cb8759bef0
add api label 2023-08-13 21:40:18 +03:00
ConfiG
5200128544
huge dependency stuff refactor 2023-08-13 21:40:18 +03:00
ConfiG
7f449b996e
add utils::game::restart, reset => forceReset 2023-08-10 23:49:29 +03:00
ConfiG
53b52eaeeb
ModInfo => ModMetadata 2023-08-10 23:49:28 +03:00
ConfiG
2b1dc178a4
add any (*) to ComparableVersionInfo 2023-08-09 21:58:44 +03:00
ConfiG
7d74f16c01
add logger nesting 2023-08-09 21:58:44 +03:00
ConfiG
82e128bb57
add utils::string::join 2023-08-07 01:47:14 +03:00
altalk23
e41784ed39 Change resources.zip to be platform dependent 2023-08-05 22:16:35 +03:00
ConfiG
1c1a2f2680
Merge remote-tracking branch 'origin/main' 2023-08-04 20:50:50 +03:00
ConfiG
c055933d95
sus 2023-08-04 20:50:29 +03:00
matcool
7a83354c8c
use std::filesystem on windows on some wine-problematic functions
the code added could definitely be cleaned later by wrapping the
problematic functions, but this is a working solution for now
2023-08-04 14:47:16 -03:00
matcool
2945422744
use correct changelog for mod info popup 2023-08-04 13:24:20 -03:00
ConfiG
1f7e6da304
fix auto update 2023-08-04 13:58:15 +03:00
ConfiG
ca5bcc3a18
Merge remote-tracking branch 'origin/main' 2023-08-04 01:23:38 +03:00
altalk23
fc72c24e2e Add mod ids to logged removed keys of ModInfo 2023-08-04 01:18:46 +03:00
ConfiG
c2aacd9979
fix when bootstrapper present but update isn't 2023-08-04 01:18:19 +03:00
ConfiG
cf3ed327e5
"MacOS" > "macOS", "iOS" > "IOS" in platform filters 2023-08-04 00:56:52 +03:00
ConfiG
e3c2ca7417
fix mac build
workaround by using convertToWorldSpace instead of convertToWorldSpaceAR and setting the anchor point to 0,0
2023-08-03 21:27:57 +03:00
ConfiG
ebab230bf5
Merge remote-tracking branch 'origin/main' 2023-08-03 21:00:02 +03:00
ConfiG
8ce12278aa
new cool tabs 😎 2023-08-03 20:33:42 +03:00
HJfod
7a0ade2bf6 update index to be pimpl
also remove the ability for multiple sources from it
2023-08-03 20:01:37 +03:00
HJfod
0a6d31ebb6 make all mods including disables ones be unzipped
this makes it so disabled mods' resources are loaded
2023-08-02 19:42:31 +03:00
ConfiG
363d27395c
fix some warnings 2023-08-02 18:04:37 +03:00
altalk23
4f6265ae32 Merge branch 'main' of https://github.com/geode-sdk/geode 2023-08-02 15:58:51 +03:00
altalk23
fe8cb42129 change getSaveDir and implement autoupdate macos 2023-08-02 15:58:37 +03:00
HJfod
912b766ecb fix text input not being clickable 2023-07-30 22:21:26 +03:00
HJfod
8c567a57fd make menu detachment code generic 2023-07-30 22:20:55 +03:00
HJfod
f8da81625f change select channel button string id to be more specific 2023-07-30 12:03:25 +03:00
HJfod
138fdbb1a4 fix CustomizeObjectLayer bindings and menus not hiding on mode change 2023-07-29 23:58:13 +03:00
HJfod
f78969ca83 replace uses of touch priority and registerWithTouchDispatcher 2023-07-29 20:56:55 +03:00
HJfod
e00b3a6a7f add option to disable last crashed popup 2023-07-29 20:56:46 +03:00
HJfod
6d92bb817f add CustomizeObjectLayer ids 2023-07-29 20:44:24 +03:00
HJfod
8ca2b99d7c fix spacers not actually taking any space 2023-07-29 20:39:50 +03:00
HJfod
8027b807e5 fix switchToMenu assuming nodes to have a parent 2023-07-29 20:39:25 +03:00
altalk23
b558962f2f fix main.mm includes 2023-07-08 17:08:24 +03:00
altalk23
26e38ecbab Change geode loading order, auto updating not implemented yet 2023-07-08 16:38:09 +03:00
altalk23
07d9fcbc0d Fix windows wine crashing on static init time 2023-06-30 17:27:19 +03:00
altalk23
4ad8b486ff implement save and open panel 2023-06-25 19:52:01 +03:00
altalk23
f5e57380aa Merge branch 'main' of https://github.com/geode-sdk/geode 2023-06-24 00:45:21 +03:00
altalk23
7e70daf5a0 fix getMousePos for macchew 2023-06-24 00:45:13 +03:00
ConfiG
e98a756361
unsillify dllmain and better early errors 2023-06-11 01:53:25 +03:00
ConfiG
9acb07229b
move loadGeode call to geode's DllMain 2023-06-11 00:33:17 +03:00
altalk23
991e714810 check if the github tag exists before downloading 2023-06-10 16:35:51 +03:00
ConfiG
7097ab4d89
dont try latest on error when downloading res 2023-06-10 15:53:17 +03:00
ConfiG
46fab0e821
use weakly_canonical in getGameDir and getSaveDir 2023-06-10 15:49:55 +03:00
ConfiG
3eb686c4b5
improve updater code 2023-06-10 13:57:12 +03:00
matcool
8f5c229f7c
use memcpy instead of WriteProcessMemory 2023-06-09 23:08:57 -03:00
matcool
681fb481a9
fix updateGeode() when geode or the update folder doesnt exist 2023-06-09 23:04:22 -03:00
ConfiG
884825488d
actually fix mac build 2023-06-09 19:09:28 +03:00
ConfiG
73e94193ef
fix mac build
i forgor 💀
2023-06-09 18:52:44 +03:00
ConfiG
3c1529caa6
split main.cpp per platform 2023-06-09 18:29:19 +03:00
ConfiG
7f772e9bee
open console early 2023-06-09 18:11:35 +03:00
ConfiG
d29f86ef3e
add upgrade path to new updater and xinput 2023-06-09 17:52:22 +03:00
ConfiG
692e227194
add LIBRARY_OUTPUT_DIRECTORY back
and change SIZE_T to size_t
2023-06-09 15:54:37 +03:00
ConfiG
ab5975aa9c
don't do c_str inplace 2023-06-09 15:48:01 +03:00
ConfiG
b47870e7e9
new proxy loader
- remove bootstrapper dll
- add updater exe
- remove createthread/loadlibrary calls
  - and link instead to let windows load it
- needs mac port probably?
2023-06-09 15:39:35 +03:00
altalk23
4c4be3657a add sigbus & print the crashlog 2023-06-08 23:54:39 +03:00
altalk23
dd7e18fb57 you didnt see me commiting a __builtin_trap shush 2023-06-08 23:09:17 +03:00
altalk23
3881e65511 make stacktrace make sense even if atos is missing 2023-06-08 23:07:40 +03:00
altalk23
9b58b3376b Implement macos crashlog (wow this was hard) 2023-06-08 22:59:45 +03:00
altalk23
fd3fd9536e fix crashlog to actually build (doesnt work on macos yet) 2023-06-08 19:22:51 +03:00
altalk23
9c3759b398 Merge branch 'main' of https://github.com/geode-sdk/geode 2023-06-08 19:04:45 +03:00
qimiko
041a98ee4d
implement loader for android
compilation still won't work, pending implementations for gdstl/codegen/tuliphook. the first two should be mostly done already. may also be good to get FileWatcher, crashlog, and the file picker implemented but they aren't necessary

the libcurl.a and libssl.a files were built using
https://github.com/ibaoger/libcurl-android. they are placed in the link/android folder because putting them in the link folder confused the macOS build.

once built, the geode binary should be loaded after nativeSetApkPath is ran (otherwise the directory setup crashes). in the future it would be nice if the internal mod also did save data path redirection, as base GD is incapable of doing this

Co-authored-by: mat <26722564+matcool@users.noreply.github.com>
2023-06-05 17:42:22 -07:00
qimiko
df7166711c
remove unsigned from table indexes
it creates issues with android bindings :(
2023-06-04 16:45:56 -07:00
altalk23
20f461305b addresses and crashlog 2023-06-02 21:56:59 +03:00
alk
d9c775651e
Update pickup fix for collectibles 2023-05-23 00:01:40 +03:00
alk
cdc80ffe9f
Add pickup trigger fix 2023-05-22 23:54:28 +03:00
camila314
392c6941fe Implement update functionality 2023-05-18 10:20:04 -05:00
matcool
af8d4a04de
enable ansi color support for windows console, use it on logs
this will use gray for debug, blue for info, yellow for warning and red
for error
2023-05-06 13:32:34 -03:00
altalk23
56b7b66b93 fix getSaveDir not working with nonascii paths 2023-05-06 18:31:51 +03:00
altalk23
a968153331 Merge branch 'main' of https://github.com/geode-sdk/geode 2023-05-01 18:41:36 +03:00
altalk23
0f6b173a11 handle the ui for major and minor versions 2023-05-01 18:41:18 +03:00
matcool
a1e9ac46b9
use wide version of winapi functions
This in theory should help with unicode support, as the old cocos2d
methods did not handle unicode well. However i was not able to test this
since vanilla gd itself doesnt launch on a non ascii path for me!
2023-05-01 11:18:35 -03:00
altalk23
b236a1daac Merge branch 'main' of https://github.com/geode-sdk/geode 2023-05-01 16:41:03 +03:00
altalk23
4929599c19 Reenable has update icon 2023-05-01 16:40:55 +03:00
altalk23
1323debea7 remove file::current_path, add less and more version compares 2023-05-01 16:06:06 +03:00
alk
799a6672ce
Update util.cpp 2023-05-01 15:15:27 +03:00
altalk23
dc96da012d don't rely on filesystem current_path 2023-05-01 14:47:25 +03:00
altalk23
d7ccfdef3e revert mod.json resource and move markdowns 2023-05-01 13:06:46 +03:00
altalk23
144bb1baae remove debug message box 2023-05-01 12:12:29 +03:00
altalk23
e3bda2a544 Fix resources because of broken working directory 2023-05-01 12:11:32 +03:00
altalk23
95f046b98e add markdowns and mod.json as resources 2023-05-01 11:36:11 +03:00
altalk23
b7c2a422fd Merge branch 'main' of https://github.com/geode-sdk/geode 2023-04-28 15:04:13 +03:00
altalk23
c174f81998 make getGameDir weaklyCanonical 2023-04-28 15:03:58 +03:00
HJfod
a45032ae2c Merge branch 'main' of https://github.com/geode-sdk/geode into main 2023-04-27 18:51:08 +03:00
HJfod
e7ab46cfdb add logging for gd::string and fix version comparisons being inverted 2023-04-27 18:50:45 +03:00
altalk23
7af062f35d fix fuzzy search 2023-04-27 11:28:39 +03:00
hjfod
50ff15c356 add public file watching api 2023-04-27 09:22:56 +03:00
altalk23
8842e8f793 fix pickFile on macos 2023-04-26 12:29:43 +03:00
hjfod
40f36bbeb8 make sure to also remove event listeners from the toAdd queue 2023-04-20 11:24:45 +03:00
HJfod
9deb5a8a09 add some bindings 2023-04-16 21:45:22 +03:00
HJfod
a5f3fe10c7 fix layouts not working properly on nodes whose scale isn't 1 2023-04-15 15:08:28 +03:00
HJfod
475499407f fix Notification not being at the top of the scene tree 2023-04-15 14:20:33 +03:00
HJfod
7bcb6d75eb fix CCApplication member offsets 2023-04-15 14:18:09 +03:00
HJfod
11a90adf12 Merge branch 'main' of https://github.com/geode-sdk/geode into main 2023-04-11 20:41:51 +03:00
HJfod
3a357027d6 add Mod::hasSavedValue + fix some enumKeyCodes 2023-04-11 20:41:35 +03:00
altalk23
ed442702fe make ModStateFilter copy ctor default 2023-04-10 17:12:49 +03:00
altalk23
d0d0b79578 Merge branch 'main' of https://github.com/geode-sdk/geode 2023-04-10 14:35:27 +03:00
altalk23
f89cdcd78a Fix macos crashing on hook enabling 2023-04-10 14:35:09 +03:00
HJfod
2ce5680a6a fix weakref on CCTextInputNode 2023-04-10 12:59:23 +03:00
HJfod
bc840ecb98 minor formatting changes 2023-04-10 12:50:31 +03:00
altalk23
80b5b20efb fix events, resources, and minor stuff 2023-04-10 12:49:59 +03:00
HJfod
208ba02279 add a fix for CCTextInputNode content size 2023-04-10 10:20:42 +03:00
HJfod
43a705ace1 Merge branch 'main' of https://github.com/geode-sdk/geode into main 2023-04-09 18:36:10 +03:00
HJfod
2fe88f1c33 make Event::post return the ListenerResult 2023-04-09 18:35:08 +03:00
alk
80e75f2a4a
Add continue for null hooks 2023-04-09 18:30:48 +03:00
altalk23
22d138bee2 Merge branch 'main' of https://github.com/geode-sdk/geode 2023-04-09 18:29:18 +03:00
altalk23
d7fd2a581d error non virtual missing bindings on compile time 2023-04-09 18:29:11 +03:00
HJfod
97b7cbe211 fix AxisLayout::getSizeHint cross axis size 2023-04-09 15:09:05 +03:00
HJfod
fe27260abc add a special case for null mod to allow listening for all mod events 2023-04-09 11:19:48 +03:00
HJfod
fac032f8b1 fix dev names being clickable in the dev popup (fix for #153) 2023-04-07 20:25:55 +03:00
HJfod
cf69fa3b2f fix WeakRef 2023-04-07 20:07:16 +03:00
hjfod
69ddb75bd9 always place new listeners at the front of the queue 2023-04-06 19:01:06 +03:00
HJfod
3dd6d55b49 add CCNode::getEventListenerCount 2023-04-05 19:26:46 +03:00
HJfod
6ba91482a6 fix event listeners not being removed from the right queue 2023-04-05 18:59:25 +03:00
hjfod
6d77f841c9 Merge branch 'main' of https://github.com/geode-sdk/geode 2023-04-05 18:18:21 +03:00
hjfod
993cd6fd7e rework event listeners to add different queues for listeners 2023-04-05 18:17:53 +03:00
Fleeym
530551ec95 add bindings and ids for CustomSongWidget 2023-04-05 14:06:31 +03:00
hjfod
b44b5d3cd3 add SpacerNode & bring back Dispatch 2023-04-04 17:44:49 +03:00
HJfod
c1d4a89f8b fix event listeners vector containing freed listeners 2023-04-03 21:04:56 +03:00
hjfod
75580a01ae changelog stuff
- make changelog visible in-game
 - fix issues with the changelog in ModInfoPopup & scrollbar
2023-04-03 10:43:52 +03:00
hjfod
2efe772329 fix crash if event listener is destroyed while they are being iterated 2023-04-03 09:36:38 +03:00
HJfod
21ee6894cf fix EditLevelLayer not properly handling the id and layout of desc btn 2023-04-02 16:14:31 +03:00
HJfod
9fb5051f80 fix mod resources not being updated when a mod is enabled at runtime 2023-04-02 16:00:17 +03:00
HJfod
152f90cf67 add option to ignore invisible children to Layout 2023-04-02 14:43:39 +03:00
HJfod
83fe2bb679 Merge branch 'addEventListener' of https://github.com/geode-sdk/geode into addEventListener 2023-04-01 17:21:02 +03:00
HJfod
eabb68bbcf fix circle button sprite size 2023-04-01 17:20:49 +03:00
hjfod
0e4636284b fix multiple weak refs causing a memory leak 2023-03-31 11:36:54 +03:00
HJfod
e92541a655 add WeakRef 2023-03-30 22:07:57 +03:00
HJfod
83b0850878 fix scrollbar going funky on DevTools description 2023-03-30 19:20:17 +03:00
HJfod
585a9de18d fix scrollbar hitbox being goofy due to ignoring anchor point position 2023-03-30 18:45:27 +03:00
HJfod
35f7f86e6d add optional ids to node event listeners + properly clean them up 2023-03-29 22:07:33 +03:00
hjfod
69bd0d99ef add AttributeSetEvent 2023-03-29 16:05:20 +03:00
hjfod
7963469f1e make attributes use json::Value instead of std::any 2023-03-29 15:23:57 +03:00
hjfod
38575ac825 add CCScene::get + CCScheduler::get + CCNode::hasAncestor 2023-03-29 11:11:22 +03:00
HJfod
22a6745b74 make Mod::getResourcesDir return resources/{mod.id} 2023-03-26 10:39:40 +02:00
hjfod
52c308e65d event stuff 2023-03-25 18:22:34 +02:00
HJfod
9bdd9fc526 add event listener stuff 2023-03-23 21:42:01 +02:00
HJfod
93fd396ed9 ensure mod events are only posted in gd thread 2023-03-21 22:01:10 +02:00
HJfod
6b67789b63 Merge branch 'main' of https://github.com/geode-sdk/geode into main 2023-03-19 15:29:25 +02:00
HJfod
81472c9ab5 make Layout inherit from CCObject 2023-03-19 15:02:49 +02:00
matcool
db9ea383a3
prevent mod from trying to resolve multiple times 2023-03-19 09:37:04 -03:00
camila314
8fc23e14da make mac pos accurate to cocos2d positioning 2023-03-16 20:06:19 -05:00
camila314
d7b0e09779 mouse and file picker impl for mac 2023-03-16 19:42:30 -05:00
matcool
306fde70d0
add util geode::cocos::getMousePos 2023-03-11 11:40:03 -03:00
HJfod
5f3c6587b3 add CCNode::removeChildByID 2023-03-11 10:19:26 +02:00
PoweredByPie
5af15fba7c Add geode::prelude to replace USE_GEODE_NAMESPACE()
Don't use macros where not necessary!
This deprecates the old macro by way of a weird alias namespace.
2023-03-10 12:09:48 -08:00
mat
162979c2da
fix error message in enableHook 2023-03-08 20:01:04 -03:00
HJfod
0a37b01845 fix max size of editor button sprites 2023-03-08 19:31:07 +02:00
hjfod
eb0e4b6b1e delete geode/unzipped on startup if it exists 2023-03-08 13:23:42 +02:00