Commit graph

657 commits

Author SHA1 Message Date
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