Commit graph

840 commits

Author SHA1 Message Date
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
mat
89723cf24c
maybe this will work 2024-01-29 09:17:51 -03:00
mat
7cb02c9d57
avoid filesystem formatting for macos 2024-01-29 09:02:32 -03:00
Fleeym
653c78925d update EditCommand enum 2024-01-29 02:19:42 +02:00
matcool
c16cac0707 add missing GEODE_DLL to these functions 2024-01-28 18:20:27 -03: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
ConfiG
416f2d588e
add api for saving/loading current log nesting 2024-01-28 19:53:16 +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
ConfiG
17467d129b
better thread names api 2024-01-28 17:41:33 +03:00
matcool
ee97e2daac deprecate blocking file utils, will remove later 2024-01-28 10:37:51 -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
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
bb1fcbe678 inputnode has been very fun 2024-01-27 21:09:57 +03:00
altalk23
c551d430c3 inputnode fix 2024-01-26 16:29:14 +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
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
alk
73707610db
Merge pull request #447 from geode-sdk/prio-revert
Revert priority changes hook
2024-01-24 20:14:29 +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
4cd08e1ca9 remove try blocks 2024-01-24 17:17:42 +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
fd8c3630e3 fix editorui prio final 2024-01-24 00:00:44 +03:00
altalk23
eeeedbb9c4 move clipping rect fix to scrolllayer 2024-01-23 22:14:21 +03:00
dankmeme01
d3559c207d
fix ccnode header (#443) 2024-01-23 15:14:31 -03:00
matcool
82808c3a86 also check gd version on index items 2024-01-23 15:01:46 -03:00
matcool
d2a5135497 move gd version check to ModImpl::loadBinary 2024-01-23 12:06:27 -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
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
matcool
b63611ede8 add Index::isUpdating(), show message properly when updating index 2024-01-20 11:39:31 -03:00
mat
f7d9c6af17
macos gd::string (#430) 2024-01-19 20:33:17 -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
6a617789d2 remove rvalue requirement, fix claimHook and claimPatch 2024-01-18 14:36:52 -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
matcool
5268bc631b add docs 2024-01-18 13:20:48 -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
mat
4d2b676d48
fix sizes of gnustl set, unordered_map and unordered_set 2024-01-17 11:49:16 -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
c00bd759c7 fix InputNode::getString 2024-01-16 13:58:31 -03:00
altalk23
c89f68cb18 move the ctors back to private 2024-01-15 18:15:57 +03:00
altalk23
165f05fcb4 funny shared_ptr implementation 2024-01-15 17:57:43 +03:00
ConfiG
28c91f762e
refactor Hook/Patch 2024-01-15 00:42:04 +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
ConfiG
05064eb4d5
fix clang-tidy error in clion on windows when using m_fields 2024-01-13 22:12:20 +03:00
altalk23
f0127bdb88 remind me to test my changes 2024-01-13 17:01:50 +03:00
altalk23
badc7061ab fix vector constructing 2024-01-13 16:56:08 +03:00
altalk23
784dd0fe42 breaking change !!! (gd string) 2024-01-13 16:43:53 +03:00
Cvolton
b11d837013
fill in LevelLeaderboardMode enum (#419) 2024-01-13 08:59:57 -03:00
ConfiG
21caf514c2
move forward compat hook toggling to macros 2024-01-13 03:30:07 +03:00
ConfiG
83f7a0b18c
make deleteSaveData in Mod::uninstall an optional param 2024-01-13 01:02:35 +03:00
ConfiG
98b3a8fbf1
remove some funcs from Loader 2024-01-13 00:49:42 +03:00
ConfiG
91bff5fbb2
forward compat mode 2024-01-12 22:18:24 +03:00
matcool
8ccc61febb new util methods, rename postFields and customRequest 2024-01-09 20:10:58 -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
matcool
aa91e51e0d fix addCustomSetting 2024-01-09 11:49:33 -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
947dcf7f26 add concepts to validate the types for the ext classes 2024-01-09 10:47:23 -03:00
dankmeme01
dcaa408bc1 use string_view instead of string& in Mod 2024-01-09 14:47:11 +01:00
matcool
32cd4c40f1 fix ccdictionaryext yet again 2024-01-09 09:41:22 -03:00
matcool
aecd7cc186 oops missed this one 2024-01-09 02:20:10 -03:00
matcool
e1b7b1f4be change ccdictionaryext api sorry 2024-01-09 02:13:44 -03:00
matcool
198948319b compiles for 2.202/2.2011 whatever we'll call it 2024-01-08 16:48:21 -03:00
Cvolton
a555f736d0 add 2.2 SpecialRewardItems 2024-01-05 09:23:51 -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
a8deaef73f
these ones too 2024-01-03 12:48:36 -03:00
mat
fdf3c2eba6
i want this member in CCTextureCache 2024-01-03 11:10:07 -03:00
mat
386d2d7052
Merge pull request #405 from Cvolton/aaaaa
Some more 2.2 stuff
2024-01-01 18:42:20 -03:00
makitard
8bc65ca1f1 Update PlayerButton in Enums.hpp 2024-01-01 16:22:04 -03:00
Cvolton
87484c04d8
define SizeMult in CCMenuItem 2024-01-01 20:18:31 +01:00
Cvolton
8500acac9e
add CommentKeyType 2024-01-01 20:18:31 +01:00
Cvolton
5b478a83d3
Fix providing IDs for InfoLayer 2024-01-01 20:18:30 +01:00
altalk23
23423a8ab9 begone thot 2024-01-01 00:42:11 +03:00
altalk23
a99a1f569b generatedaddress no more 2024-01-01 00:39:34 +03:00
mat
9ff1059452
Merge pull request #395 from Cvolton/enums2
Add more 2.2 enum values
2023-12-30 12:22:49 -03:00
mat
347ee36595
include fmtlib's ranges and stl support
previously we had formatters for std::vector and std::optional, so geode should provide them by default :-)
2023-12-30 11:55:56 -03:00
mat
2ba8761f3e
Merge pull request #386 from geode-sdk/refactor-log
Refactor logging internals
2023-12-30 10:59:31 -03:00
Cvolton
bf2fc537f5
Add more 2.2 enum values 2023-12-30 01:25:09 +01:00
mat
953e9504a0 get it working on fmtlib 10.1.1 2023-12-29 20:59:06 -03:00
mat
b61013661e fix formatting of Mod* 2023-12-29 19:11:10 -03:00
matcool
c49d6fe576 make these hidden just in case 2023-12-29 10:58:05 -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
Cvolton
2112caac6d
Update some enums to 2.2 2023-12-28 22:57:33 +01:00
matcool
237109ce39 Merge branch 'main' into refactor-log 2023-12-28 15:18:56 -03:00
matcool
2111530743 fix this one function 2023-12-27 19:24:18 -03:00