Commit graph

87 commits

Author SHA1 Message Date
matcool
324795cddb ghc::filesystem -> std::filesystem
remove ghc::filesystem :D
closes #713
2024-06-02 22:35:51 -03:00
qimiko
4fa80983f6
add some android keys 2024-05-08 16:31:30 -07: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
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
qimiko
a5326b7d9a
add breakpad handling code 2024-02-02 03:13:35 -07:00
qimiko
b8140a7717
add platform threading impls 2024-01-28 16:35:34 -07:00
ConfiG
17467d129b
better thread names api 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
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
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
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
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
altalk23
d7ed016768 fix logcat adding all crashlogs if last crash didnt result in the thing 2024-01-22 19:11:17 +03:00
matcool
120fa4a1df use getInternalDirectory for getModRuntimeDir on android 2024-01-20 11:51:29 -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
acd9bd7884 load native binaries from mod resources/binaries/<platform/ 2024-01-18 12:35:18 -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
91bff5fbb2
forward compat mode 2024-01-12 22:18:24 +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
mat
e3d9082553 reimplement StringImpl::free, use dlsym to get operator new and delete 2024-01-01 15:14:00 -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
altalk23
157261171b temporary dependency bandaid 2023-12-30 21:34:04 +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