HJfod
adcd42e42b
fix task access specifications being wrong
2024-04-22 13:39:47 +03:00
HJfod
fbdb6265df
Merge branch 'main' into new-index-but-better
2024-04-22 13:36:20 +03:00
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
altalk23
0a3efd7704
more typename
2024-04-22 00:22:40 +03:00
altalk23
4505b0da69
i hate concepts (alternate fields impl)
2024-04-22 00:09:49 +03:00
HJfod
5f8588ea97
Merge branch 'main' into new-index-but-better
2024-04-22 00:08:49 +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
dankmeme01
d7c3d4af62
Update ccTypes.h
2024-04-16 07:43:04 +02:00
Justin
5e11ddab85
Fix ccHSVValue ( #694 )
2024-04-16 07:16:51 +02: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
altalk23
2443422e94
ObjectScaleType
2024-04-14 16:14:14 +03:00
dankmeme01
798cacc1a8
add a way to access internal setting container
...
exposing an internal field like this isn't the best practice, but it seemed like the best and simplest solution to me to a problem of not being able to do anything to unknown setting keys (such as removing them or migrating their data if that key used to be a valid setting)
2024-04-14 00:00:17 +02: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
HJfod
b1f33db497
add Popup::setCloseButtonSpr
2024-04-13 21:38:05 +03:00
HJfod
c6ecd87da3
improve is_filter + add move binding to eventlistener
2024-04-13 21:37:49 +03:00
altalk23
00e971a274
fix field containers for separate modify classes in which one of them is a base of another, causing shared indices
2024-04-12 22:56:05 +03:00
Cooper
8c61a6fe60
Add MDTextArea link ( #664 )
...
* add level: links and mod: links
* fix errors
* fix errors 2
* fix errors 3 (hopefully)
* fix errors 4 (i think fixed?)
* fix 5 PLEASE
* fix mod links and make level links actually work
* PLEASE JUST WORK!!!!!!!!!!!!!
* change it to this
* oops forgot a )
* PLEASE HORRIBLE CODE JUST WORK!
* AHHHHHHHHHHHHHHH fix
* just work
* I DO HORRIBLE CODE
* Update ModInfoPopup.cpp
---------
Co-authored-by: alk <45172705+altalk23@users.noreply.github.com>
2024-04-11 20:40:04 +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
undefined06855
97f585545a
change #warning to #pragma message ( #674 )
2024-04-11 20:20:39 +03:00
The Bearodactyl
2ca2cae6f8
Update Enums.hpp ( #684 )
...
* Update Enums.hpp
* Update Enums.hpp
2024-04-11 20:14:58 +03:00
altalk23
e83e03f714
someone (prevter) wants to make a crashlog mod so i guess it's fine we export these as well
2024-04-11 19:05:36 +03:00
dankmeme01
9f2cea46ad
fix the release xhash
2024-04-03 21:19:21 +02:00
dankmeme01
ac08d2f03a
fix windows debug compilation
2024-04-03 18:33:37 +02:00
HJfod
dce50ca4df
Merge branch 'main' into new-index-but-better
2024-03-30 21:21:33 +02:00
iAndyHD3
9426b6bc4a
add GJGameEvent
...
source: GJBaseGameLayer::gameEventToString
2024-03-29 15:34:16 +01:00
altalk23
dd6e20b283
add a GEODE_REVERT_TODO_RETURN option for cmake
2024-03-27 22:36:45 +03:00
altalk23
55e1f6a16c
Operation Big Sister - Finalize TodoReturn changes
2024-03-27 22:18:46 +03:00
altalk23
f3267b0f43
Operation Big Sister - Make TodoReturn a struct and disallow modifying TodoReturn functions
2024-03-27 20:55:14 +03:00
HJfod
fc7d3343d9
implement proper mod update checking
2024-03-26 22:18:34 +02:00
Cvolton
912aa23833
add missing header to msvc allocator
2024-03-25 23:22:38 +01:00
kynex7510
afc4d572ba
Fix C++23 compilation ( #644 )
2024-03-25 23:21:39 +01:00
dankmeme01
bb81fa6cb2
Merge pull request #636 from kynex7510/msvcstl
...
MSVC Fixups
2024-03-25 21:03:13 +01:00
kynex7510
b4cbae894a
Fix macos build
2024-03-25 20:51:17 +01:00
HJfod
560b42c8de
make server mods have a little bit of a different color
2024-03-25 13:18:25 +02:00
HJfod
a4685a50e1
fix ModPopup::updateState behaviour with the enable button
2024-03-24 21:31:42 +02:00
HJfod
4447153f24
implement tags key in ModMetadata
2024-03-24 11:05:51 +02:00
HJfod
56679e739b
add a ModMetadata overload for openSupportPopup + make it crash-resistant
2024-03-24 00:33:46 +02:00
HJfod
6995e8d4c5
add support for overriding cross axis line alignment on AxisLayout nodes
2024-03-24 00:33:03 +02:00
HJfod
56839119f0
fix anchor parameters in addChildAtPosition being flipped the wrong way
2024-03-24 00:32:28 +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
b417e0686d
Merge branch 'main' into new-index-but-better
2024-03-22 15:36:39 +02:00
HJfod
9cccecd4e7
the new promise design finally works :^)
2024-03-22 15:35:22 +02:00
dankmeme01
7f509e5297
add missing particlesystem virtual
2024-03-22 12:45:47 +01:00
kynex7510
cbebb3d66f
MSVC UMap, USet
2024-03-20 16:52:48 +01:00
dankmeme01
ea6ac9f172
whats more scary is the fact that it compiled
2024-03-16 20:10:29 +01:00
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
a4bcae726a
i do not know what is wrong but Promise still doesn't work :(
2024-03-15 17:06:13 +02:00
HJfod
f685fa0c4f
Merge branch 'main' into new-index-but-better
2024-03-13 22:51:11 +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
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
HJfod
eeb998b4c8
impl links in mod metadata
2024-03-09 22:59:12 +02:00
HJfod
5e76da13f6
add ObjWrapper
2024-03-05 18:25:25 +02:00
HJfod
2105441f0c
Merge branch 'main' into new-index-but-better
2024-03-04 22:47:35 +02:00
camila314
ba6483404b
you can now update the bytes of a patch
2024-03-03 15:23:26 -06:00
HJfod
35fcdb4df3
make AxisLayout pimpl + add default scaling options
2024-03-02 17:20:25 +02:00
HJfod
be0880f49c
add CCNode::setScaledContentSize, CCNode::getScaledContentWidth etc.
2024-03-02 13:36:06 +02:00
HJfod
72fa718a76
better restarting ui
2024-02-29 21:37:09 +02:00
HJfod
dac16a40cb
allow disabling a mod if you enabled it by accident and vice versa
2024-02-29 17:03:18 +02:00
HJfod
eed99d16c5
update default logo to just N/A + move featured to a star icon next to the title rather than glow since we can't enforce mod logo shape
2024-02-28 21:33:58 +02:00
HJfod
b356a7670a
remove old bad Colors utility
2024-02-28 00:27:35 +02:00
HJfod
36ef4979ed
add new ColorProvider utility
2024-02-28 00:27:19 +02:00
HJfod
fe4dbd96ed
add left alignment option to TextInput
2024-02-27 23:32:37 +02:00
HJfod
909317146d
featured mod glow :3
2024-02-27 01:16:24 +02:00
HJfod
708d1ec873
refactor a bit; works like a charm :3
2024-02-27 00:55:33 +02:00
HJfod
dd57a39157
Merge branch 'main' into new-index-but-better
2024-02-26 18:28:11 +02:00
HJfod
058f3546dc
remove old index + UI fully
2024-02-26 18:27:42 +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
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
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
44cd7ec63f
remove default value from parameter in updateAnchoredPosition to fix overload resolution
2024-02-24 02:08:23 +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
HJfod
f781a33239
add another missing cocos2d::
2024-02-22 23:57:47 +02:00
HJfod
7795baaaf6
add missing cocos2d namespace
2024-02-22 23:57:23 +02:00
HJfod
2825654361
make top sprite offset settable in BasedButtonSprite
2024-02-22 23:56:20 +02:00
HJfod
363a028c1f
replace attributes with an augmented user object system
2024-02-22 23:39:45 +02:00
HJfod
f9d7cfdc68
replace attributes with an augmented user object system
2024-02-22 23:39:21 +02:00
HJfod
e452f482a8
View buttons!
2024-02-22 17:28:09 +02:00
HJfod
1f6335ce17
Merge branch 'main' into new-index-but-better
2024-02-22 02:05:12 +02:00
HJfod
8985b32fc2
initial work on new ui
2024-02-22 02:04:38 +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