HJfod
fa1577184a
fully move over from Promises to Tasks
2024-04-22 13:35:12 +03:00
HJfod
ed1668897e
Task::runWithCallback among other fixes
2024-04-22 13:34:57 +03:00
HJfod
98d5216dcd
fix Ok() and Err() causing unexpected implicit moves
2024-04-22 13:34:14 +03:00
HJfod
a91905bd4c
fix MiniFunction not being usable with move-only parameters
2024-04-22 13:33:56 +03:00
HJfod
a09ba5c67c
new Task class to replace Promises, test seems to indicate it's working
2024-04-22 00:08:10 +03:00
HJfod
4be910bda4
Fix crashes on trying to delete nullptr
2024-04-22 00:07:42 +03:00
HJfod
53b081e77b
remove uses of std::source_location
2024-04-14 18:04:01 +03:00
HJfod
33e12646b8
Make terminate cause a crash instead for the crashlog and stacktrace
2024-04-14 17:57:15 +03:00
HJfod
69bcab649e
Better MiniFunction terminate message
2024-04-14 17:56:48 +03:00
HJfod
33af7befed
Merge branch 'main' into new-index-but-better
2024-04-13 21:47:56 +03:00
HJfod
243c11cc8f
minifunction dont assume return value is default-constructible
2024-04-13 21:38:46 +03:00
HJfod
d107f3386f
add geode::terminate and geode::unreachable
2024-04-13 21:38:26 +03:00
NyteLyte
a795487634
getChildOfType negative indices: size_t is unsigned ( #656 )
...
* size_t is unsigned
`i` is always >= 0 because it is unsigned. This causes crashes if no children are found before reaching 0.
* oops
`node->getChildrenCount() - 1` in the 2nd part of the for loop underflows as well if the children count is 0
2024-04-11 20:30:35 +03:00
HJfod
fc7d3343d9
implement proper mod update checking
2024-03-26 22:18:34 +02:00
HJfod
6aa60327a3
fix mac Promise build
2024-03-23 17:36:59 +02:00
HJfod
62480cc3e8
fix Promsie build on other platforms
2024-03-23 17:31:21 +02:00
HJfod
dc633ec72e
server caching works like a dream now
2024-03-23 17:25:54 +02:00
HJfod
9cccecd4e7
the new promise design finally works :^)
2024-03-22 15:35:22 +02:00
HJfod
a4bcae726a
i do not know what is wrong but Promise still doesn't work :(
2024-03-15 17:06:13 +02:00
HJfod
bc98c9b84e
almost finished reworking promises, they compile now but sometimes dont work
2024-03-13 22:50:36 +02:00
HJfod
8101ae50ab
new promise impl (does not compile for shit)
2024-03-12 22:41:17 +02:00
HJfod
5e76da13f6
add ObjWrapper
2024-03-05 18:25:25 +02:00
HJfod
72fa718a76
better restarting ui
2024-02-29 21:37:09 +02:00
HJfod
36ef4979ed
add new ColorProvider utility
2024-02-28 00:27:19 +02:00
HJfod
dd57a39157
Merge branch 'main' into new-index-but-better
2024-02-26 18:28:11 +02:00
HJfod
456c1895be
finish Promise
2024-02-26 18:27:33 +02:00
HJfod
463cebf0c4
finish new web requests api
2024-02-26 18:26:34 +02: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
HJfod
44ae5c83c7
Merge branch 'main' into new-index-but-better
2024-02-25 18:44:36 +02:00
altalk23
baf3a6b306
implement progress visual to index unzip
2024-02-24 22:08:07 +03:00
matcool
ee274195fe
how did fod compile this
2024-02-24 14:25:14 -03:00
qimiko
b082dd1a9c
remove deprecated permissions
2024-02-23 21:13:52 -07:00
HJfod
e82ea3eddd
finish Promise class + add Promise-based events
2024-02-24 02:08:42 +02:00
HJfod
9db76274b5
hash for string_view
2024-02-23 13:28:22 +02:00
HJfod
f540d5bd63
Promise class
2024-02-23 13:28:14 +02:00
altalk23
30c9a8ec82
use from chars when it can
2024-02-18 17:19:25 +03:00
altalk23
6d91804c57
implement float parsing to numFromString
2024-02-18 17:04:19 +03:00
altalk23
eea35568fe
isSpriteFrameName
2024-02-16 23:58:40 +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
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
98d572c0e5
add separate message for outdated incompat
2024-02-15 21:34:20 +01: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
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
mat
2c1eb674c9
add missing GEODE_DLL to web::fetchJSON
2024-02-12 00:04:56 -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
HJfod
b241c1ccda
add platform-specific settings + update changelog and bump version
2024-02-10 13:36: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
qimiko
5f7af1a434
replace readmedia perms with one file perm
2024-02-04 12:47:50 -07:00
altalk23
d9c65b37ea
better geode version comparison & handling
2024-01-31 00:47:30 +03:00
matcool
c16cac0707
add missing GEODE_DLL to these functions
2024-01-28 18:20:27 -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
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
mat
4cafd145b5
Update general.hpp
2024-01-25 13:45:12 -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
matcool
98f4e7e817
no need to overload addressOfNonVirtual
2024-01-18 16:09:39 -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
matcool
8ccc61febb
new util methods, rename postFields and customRequest
2024-01-09 20:10:58 -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
947dcf7f26
add concepts to validate the types for the ext classes
2024-01-09 10:47:23 -03: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
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
c57db81910
remove log components, just format directly with fmtlib
2023-12-25 15:18:38 -03:00
altalk23
7b793a4d1d
get codegen sources to compile
2023-12-21 17:13:39 +03:00
altalk23
d853f2240e
move node ids
2023-12-20 20:21:23 +03:00
HJfod
442789e61a
Merge branch '1.4.0-dev' into 2.0.0-dev
2023-12-20 12:19:29 +02:00
camila314
b17ca9ae4b
docs change lmao
2023-10-22 11:01:14 -05:00
altalk23
f57601d0b5
file picker
2023-10-08 16:38:17 +03:00
altalk23
a43dcc84cb
Revert "Add MenuItemSprite"
...
This reverts commit 152dc7edcf
.
2023-09-20 17:37:42 +03:00
altalk23
152dc7edcf
Add MenuItemSprite
2023-09-20 17:07:25 +03:00
altalk23
34398b86e9
Merge branch 'main' into 1.4.0-dev
2023-09-20 15:30:29 +03:00
ConfiG
07c6278253
fix CCArrayExt::operator[] return type
2023-09-18 10:09:53 +03:00
altalk23
0f67435685
Merge branch '1.4.0-dev' into 2.0.0-dev
2023-09-13 10:43:47 +03:00
ConfiG
a738320e2c
add uninstall button to geode mod
2023-09-11 16:36:35 +03:00
altalk23
92ca99b82c
fix broken web request stuff
2023-09-08 18:05:20 +03:00
altalk23
83e48fa8dc
Fix AsyncWebRequest backwards compat
2023-09-08 18:02:59 +03:00
altalk23
c256207457
Add post & custom requests and user agents to AsyncWebRequest
2023-09-08 17:17:45 +03:00
ConfiG
17a5ac93ea
remove all deprecated functions
2023-08-31 15:27:30 +03:00