Commit graph

312 commits

Author SHA1 Message Date
altalk23
408395064d macos early version check 2024-05-26 16:06:03 +03:00
altalk23
01020ccbd4 windows 64 bit changes (apart for links and all) 2024-05-26 14:32:36 +03:00
Fleeym
49d423dc8c windows/util: check if failed callback exists before calling 2024-05-16 14:13:41 +03:00
Fleeym
89273c9458 Merge branch 'main' into new-index-but-better 2024-05-15 23:58:55 +03:00
matcool
d725126e1f add geode::utils::getDisplayFactor 2024-05-12 10:25:36 -03:00
HJfod
a37af634a9 Merge branch 'main' into new-index-but-better 2024-05-09 10:57:36 +03:00
qimiko
4fa80983f6
add some android keys 2024-05-08 16:31:30 -07:00
HJfod
e7df9a7a03 add task-based file picking functions 2024-05-05 23:49:07 +03:00
HJfod
309de35a57 Merge branch 'main' into new-index-but-better 2024-05-04 10:56:43 +03:00
qimiko
39331b6f80
very important string edit 2024-04-28 15:18:57 -07:00
HJfod
5f8588ea97 Merge branch 'main' into new-index-but-better 2024-04-22 00:08:49 +03:00
HJfod
33e12646b8 Make terminate cause a crash instead for the crashlog and stacktrace 2024-04-14 17:57:15 +03:00
dankmeme01
f84e8660cb add the crashed thread to windows crashlogs 2024-04-14 00:12:04 +02:00
HJfod
dce50ca4df Merge branch 'main' into new-index-but-better 2024-03-30 21:21:33 +02:00
dankmeme01
bb81fa6cb2
Merge pull request #636 from kynex7510/msvcstl
MSVC Fixups
2024-03-25 21:03:13 +01:00
Cvolton
223f168fb0
windows: fix restart with spaces in exe filename 2024-03-25 15:03:23 +01:00
HJfod
b417e0686d Merge branch 'main' into new-index-but-better 2024-03-22 15:36:39 +02:00
kynex7510
cbebb3d66f
MSVC UMap, USet 2024-03-20 16:52:48 +01:00
Cvolton
8ab3f56090
Windows: change outdated gd message 2024-03-17 18:11:08 +01:00
HJfod
f685fa0c4f Merge branch 'main' into new-index-but-better 2024-03-13 22:51:11 +02:00
Cvolton
43cf9fab40
run utils::file::openFolder in its own thread (windows) 2024-03-12 13:18:39 +01:00
matcool
ba91dfa6a4 maybe fix mac 2024-02-26 22:45:05 -03:00
Fire
c94e350cdf
Fix Wine crashing when launching via terminal (#501) 2024-02-26 09:37:27 -03:00
qimiko
b082dd1a9c
remove deprecated permissions 2024-02-23 21:13:52 -07: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
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
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
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
qimiko
d35b2def01
remove trailing slash 2024-02-04 15:28:59 -07:00
qimiko
5f7af1a434
replace readmedia perms with one file perm 2024-02-04 12:47:50 -07:00
qimiko
f832cc5145
log path when crash is saved 2024-02-04 02:53:24 -07:00
qimiko
c00ccd35b1
evil 2024-02-03 17:30:26 -07: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
Chloe
e2ff9c8719
Merge pull request #479 from dankmeme01/main
implement getGameVersion on mac
2024-02-03 06:29:25 -07: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
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
ConfiG
5a59faa077
add some thread names 2024-01-28 19:53:18 +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
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
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
Cvolton
6ba656c2a1
Force Windows errors into English 2024-01-27 03:10:14 +01:00
ConfiG
f7980d32ab
make logs look fancier 2024-01-25 22:11:49 +03:00
ConfiG
31ed815166
remove unused log severities 2024-01-25 22:11:47 +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
a2b996b702 run file callbacks in cocos thread 2024-01-24 20:49:20 +02:00
matcool
9e973a931d fix windows openFolder opening the parent folder instead 2024-01-24 14:44:05 -03:00
altalk23
4cd08e1ca9 remove try blocks 2024-01-24 17:17:42 +03:00
altalk23
69b9b2d559 update tuliphook and crashlog 2024-01-24 13:47:21 +03:00
dankmeme01
77736d35e5 better error messages on dll load fail 2024-01-23 00:21:09 +01: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
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
matcool
120fa4a1df use getInternalDirectory for getModRuntimeDir on android 2024-01-20 11:51:29 -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
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
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
a0515fad26 still load game if geode is newer 2024-01-18 10:45:04 -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
ConfiG
5ff74e849a
remove unloadPlatformBinary 2024-01-15 00:41:00 +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
56cedaac32
fix android platformMessageBox missing severity 2024-01-13 03:15:07 +03:00
ConfiG
d81e1ba072
add severity to platformMessageBox 2024-01-13 03:08:08 +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
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
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
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
e3d9082553 reimplement StringImpl::free, use dlsym to get operator new and delete 2024-01-01 15:14:00 -03:00