Commit graph

924 commits

Author SHA1 Message Date
dankmeme01
e4ab8819f5 add some util functions to gd map :map: 2024-03-15 21:12:56 +01:00
dankmeme01
d165616700 fix gnustl gd::map::lower_bound and upper_bound 2024-03-15 17:09:21 +01:00
HJfod
a7909938c8
Merge pull request #615 from Weebifying/main
icontype 101
2024-03-12 14:29:48 +02:00
camila314
c02dc7d08b you cant use getMod in a source file, silly 2024-03-11 20:15:55 -05:00
Weebifying
d495900068
icontype 101 2024-03-10 23:36:31 -07:00
camila314
ba6483404b you can now update the bytes of a patch 2024-03-03 15:23:26 -06:00
matcool
a5475bda11 add missing GEODE_DLL 2024-02-26 11:58:40 -03:00
Talis
6ee63091de
Fix the failed to set locale on devices that don't have us english (like my phone) (#566) 2024-02-26 13:50:43 +03:00
altalk23
f0465ba5b2 readd fods removed stuff for abi 2024-02-25 13:53:49 +03:00
altalk23
500d346b16 geode_dll <3 2024-02-25 11:02:18 +03:00
altalk23
0e1b0e4b91 sorry for the 0 people who were including these headers manually 2024-02-25 10:53:52 +03:00
altalk23
1d444ed05e sorry for the 2 people that manually includes the jsontest headers 2024-02-25 10:44:09 +03:00
altalk23
afd54a64e4 fix dispatch 2024-02-25 10:38:46 +03:00
altalk23
f33f116ced fix the old test mod stuff 2024-02-25 10:21:27 +03:00
altalk23
9a47d611cc fine 2024-02-25 10:04:29 +03:00
altalk23
d8ac85b44a i cant believe this was that easy 2024-02-25 10:00:57 +03:00
altalk23
c7a1f76f1a push pop nest fix 2024-02-24 22:11:41 +03:00
altalk23
baf3a6b306 implement progress visual to index unzip 2024-02-24 22:08:07 +03:00
qimiko
b082dd1a9c
remove deprecated permissions 2024-02-23 21:13:52 -07:00
HJfod
363a028c1f replace attributes with an augmented user object system 2024-02-22 23:39:45 +02:00
matcool
a19d26d52e also add overloads for std::string 2024-02-19 17:52:33 -03:00
matcool
982e8ab669 add explicit const char* overloads for gd::string 2024-02-19 17:44:22 -03:00
altalk23
30c9a8ec82 use from chars when it can 2024-02-18 17:19:25 +03:00
altalk23
e7997d6c84 Merge branch 'main' of https://github.com/geode-sdk/geode 2024-02-18 17:05:07 +03:00
altalk23
6d91804c57 implement float parsing to numFromString 2024-02-18 17:04:19 +03:00
HJfod
8cccb4ce5c fix numFromString on floats 2024-02-18 00:13:34 +02:00
HJfod
29f99c2eaa fix TextInputs and InputNodes using tags for fixed touch behaviour 2024-02-17 18:24:23 +02:00
HJfod
d0ed9844be Merge branch 'main' of https://github.com/geode-sdk/geode into main 2024-02-16 23:11:27 +02:00
HJfod
28f393b4de add sane TextInput class 2024-02-16 23:11:18 +02:00
altalk23
eea35568fe isSpriteFrameName 2024-02-16 23:58:40 +03:00
altalk23
07dd379611 Merge branch 'main' of https://github.com/geode-sdk/geode 2024-02-16 21:37:15 +03:00
altalk23
e10621d40d actually move it to source 2024-02-16 21:37:10 +03:00
altalk23
85f8a206cd add getChildBySpriteFrameName to cocos utils 2024-02-16 21:28:49 +03:00
HJfod
83cb61bb20 Merge branch 'main' of https://github.com/geode-sdk/geode into main 2024-02-16 16:30:55 +02:00
HJfod
e06b9070d0 add CCNode::setContentWidth etc. 2024-02-16 16:30:31 +02:00
Fleeym
c65626892b over ride 2024-02-16 02:44:02 +02:00
HJfod
3802af1e70 Merge branch 'main' of https://github.com/geode-sdk/geode into main 2024-02-16 01:29:45 +02:00
HJfod
f140e67bef add setIDs overload for automatically incrementing current node ID index 2024-02-16 01:29:23 +02:00
Cvolton
4b667cc82c
change message for conflicting mods as well 2024-02-15 21:58:30 +01:00
Cvolton
98d572c0e5
add separate message for outdated incompat 2024-02-15 21:34:20 +01:00
Cvolton
f1ddc568e0
add more user friendly dependency messages 2024-02-15 20:19:24 +01:00
HJfod
e80d228a59 deprecate mod ids with uppercase letters
adds "supersede" incompatability
2024-02-14 19:52:58 +02:00
HJfod
4ba0b7d58d make clamp use TypeIdentityType so the min and max values dont participate in type deduction 2024-02-14 14:14:02 +02:00
HJfod
077ead1428 imo msvc should be outlawed 2024-02-13 23:17:22 +02:00
HJfod
c4e9c17a35 add numFromString 2024-02-13 23:14:49 +02:00
HJfod
b69ac71ede get rid of strfmt and cstrfmt functions for being evil and redundant 2024-02-13 22:59:07 +02:00
matcool
32644b50d1 add formatter for matjson 2024-02-13 13:26:46 -03: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
83847e37a1 fix JsonValidation leaking exceptions on into 2024-02-12 17:38:06 +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
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
HJfod
8250a737e0 add missing GEODE_DLL to ColorPickPopup 2024-02-12 15:04:38 +02:00
mat
2c1eb674c9
add missing GEODE_DLL to web::fetchJSON 2024-02-12 00:04:56 -03:00
altalk23
8e4b76f7d1 thank absolute for the new enum values 2024-02-12 00:59:35 +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
altalk23
a971322393 fix the funny thing in popup 2024-02-11 01:17:11 +03:00
matcool
2bcbc396d5 inline ds_dictionary dtor, what could go wrong 2024-02-10 16:34:39 -03:00
HJfod
204ec63ce5 Merge branch 'main' of https://github.com/geode-sdk/geode into main 2024-02-10 21:12:12 +02:00
HJfod
438252f946 add openSupportPopup 2024-02-10 21:11:59 +02:00
altalk23
076d6e3d30 Merge branch 'main' of https://github.com/geode-sdk/geode 2024-02-10 14:42:48 +03:00
altalk23
15935642f7 gd::vector push_back pop_back 2024-02-10 14:42:45 +03:00
HJfod
b241c1ccda add platform-specific settings + update changelog and bump version 2024-02-10 13:36:11 +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
HJfod
e7a1913254 add $override macro 2024-02-07 21:14:09 +02:00
qimiko
5f7af1a434
replace readmedia perms with one file perm 2024-02-04 12:47:50 -07:00
ConfiG
2e20cccf22
Run codegen on configure and move it to bindings (#484) 2024-02-04 22:45:52 +03:00
altalk23
9d92a7c11c fix simpletextarea alignment & dont update at draw 2024-02-04 19:23:53 +03:00
iAndyHD3
4f4f14241b
define CC_FORMAT_PRINTF on msvc intellisense (#485) 2024-02-03 21:56:47 -03: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
HJfod
a694453bfd fix Popup not adding the title as a child if the popup is not dynamic 2024-02-03 12:31:18 +02:00
HJfod
85180d5f1c add support for multiple developers 2024-02-03 12:26:27 +02:00
HJfod
7891ac605e CopySizeLayout wasn't actually dllexported whoops 2024-02-01 16:08:17 +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
altalk23
d9c65b37ea better geode version comparison & handling 2024-01-31 00:47:30 +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
HJfod
7654f6e7cd initial ideas, going to sleep for today 2024-01-30 00:08:53 +02:00
matcool
0c6b003b72 ok a lot of things relied on that ranges include 2024-01-29 09:41:32 -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
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