Commit graph

1303 commits

Author SHA1 Message Date
kynex7510
6d5a5cacd8
Update macos curl 2024-05-31 20:10:40 +02:00
kynex7510
b3367d2230
Enable TLS certificate verification 2024-05-31 14:46:07 +02:00
kynex7510
bf7e86988c
Fix win32 build 2024-05-31 13:28:12 +02:00
kynex7510
25fc6b00ae
Remove useless lib 2024-05-31 13:27:13 +02:00
kynex7510
6671e72edf
Add android32 libs 2024-05-31 12:06:31 +02:00
kynex7510
8ccf7b8af7
Update libs 2024-05-31 11:53:04 +02:00
mat
fa92969a56
Merge pull request #805 from geode-sdk/main
update win-64 branch
2024-05-30 18:17:40 -03:00
dankmeme01
cea58a87f1 merge main into new-index-but-better 2024-05-30 15:19:28 +02:00
kynex7510
a4b94693a3
WebRequest: Add proxy capabilities 2024-05-28 19:11:46 +02:00
dankmeme01
43f646164f fix xhash yet again wow yay cool you can compile again 2024-05-28 07:31:10 +02:00
Oleksandr Nemesh
3e03978b1e
make getGameVersion public (#797) 2024-05-27 21:29:42 +03:00
Fleeym
663637e98e Merge branch 'main' of github.com:geode-sdk/geode into new-index-but-better 2024-05-27 01:21:30 +03:00
altalk23
6510df7c85 reremove enums.hpp 2024-05-26 17:37:03 +03:00
Alvy
5b4bc9b394
add like 2 i found for CommentType (#755) 2024-05-26 17:35:37 +03:00
Calloc
4300ed746e
add GJHttpType enums (#787) 2024-05-26 17:35:25 +03:00
SpaghettDev
f902930413
some enums (#710)
* GJFeatureState

* GauntletType

* DifficultyIconType

* DemonDifficultyType

* a bit of GJMusicAction (cant find shit)

* GJErrorCode, AccountError and BackupAccountError

* CurrencySpriteType

* PlayerCollisionDirection

* gjParticleValue

* AudioGuidelinesType

* TextStyleType

* comma

* GJSongError

* SongSelectType

* FMODReverbPreset

* lowercase FMODReverbPresets

* PLAIN -> plain
2024-05-26 17:35:10 +03:00
altalk23
6737c609fa readd enums for merging prs 2024-05-26 17:34:49 +03:00
altalk23
23e04a08c3 move enums to bindings 2024-05-26 16:54:37 +03:00
Sabe
5f778ea90b
FMODQueuedMusic is not an enum (#666)
* FMODQueuedMusic is not an enum

* More types that are not enums
2024-05-26 16:50:14 +03:00
altalk23
32f2b24ff8 move geode call to 32 2024-05-26 15:47:21 +03:00
altalk23
a1536b4a66 define the windows32 64 macros 2024-05-26 15:46:40 +03:00
altalk23
e0b30f648f fix defines 2024-05-26 14:37:35 +03:00
altalk23
01020ccbd4 windows 64 bit changes (apart for links and all) 2024-05-26 14:32:36 +03:00
Cvolton
a4c6b71ee4
make ref move ctor noexcept 2024-05-25 18:18:51 +02:00
SpaghettDev
7a6958c47b
make CCTextFieldTTF hooks work (#774) 2024-05-19 21:05:01 +02:00
qimiko
7a87c8cfdb
ok fine 2024-05-16 17:39:59 -07:00
Chloe
fa159f17b1
update ccdirector 2024-05-16 17:25:54 -07:00
Fleeym
9bedf1bacc hey look other platforms work 2024-05-16 15:08:03 +03:00
HJfod
edb8e6c721 cherry-pick BasedButtonSprite changes from new-index-but-better 2024-05-16 14:59:46 +03:00
Fleeym
557873db25 fix FieldContainer destructor sometimes crashing 2024-05-15 23:59:42 +03:00
Fleeym
89273c9458 Merge branch 'main' into new-index-but-better 2024-05-15 23:58:55 +03:00
HJfod
f79e87af93 addSideArt overload for styling 2024-05-15 12:46:08 +03:00
HJfod
77e7c6d969 add docs for querySelector 2024-05-15 11:18:38 +03:00
HJfod
c75ec639f2 CCNode::querySelector 2024-05-15 11:11:46 +03:00
Fleeym
7071bb1588 ScrollLayer: add scrollToTop utility 2024-05-14 23:31:05 +03:00
HJfod
80455ddb14 Merge branch 'main' of https://github.com/geode-sdk/geode into main 2024-05-14 15:02:30 +03:00
HJfod
1dc9ec41cc add Result::unwrapOrDefault() 2024-05-14 15:02:17 +03:00
Chloe
fcd1a331a0
win32 cocos header update 2024-05-13 23:30:04 -07:00
mat
4baef33172
fix comment 2024-05-12 13:01:26 -03:00
matcool
d725126e1f add geode::utils::getDisplayFactor 2024-05-12 10:25:36 -03:00
dankmeme01
92e0de4dea fix <memory> include 2024-05-10 12:15:18 +02:00
ConfiG
4ce33b363a
add the new particle system fields 2024-05-09 18:26:58 +03:00
HJfod
77e0f2ebb0 fix file::readFromJson 2024-05-09 17:28:19 +03:00
HJfod
7ff257cbd4 bring in Layout changes from new-index-but-better; makes AxisLayout pimpl 2024-05-09 15:18:18 +03:00
HJfod
26729c3f34 cherry-pick changes to ui/General from new-index-but-better 2024-05-09 11:49:19 +03:00
HJfod
0a145550ed fix file::readFromJson 2024-05-09 10:57:12 +03:00
HJfod
c7c2cc7afb Merge branch 'main' into new-index-but-better 2024-05-06 12:51:06 +03:00
HJfod
991fce0d72 add TextInput::setLabel 2024-05-06 12:50:40 +03:00
HJfod
e7df9a7a03 add task-based file picking functions 2024-05-05 23:49:07 +03:00
camila314
8db8406148 nvm 2024-05-05 14:39:33 -05:00
camila314
42fe3ba7b4 changed cchsvvalue back 2024-05-05 14:32:56 -05:00
dankmeme01
29b4732173 fix inputnode touches behaving weirdly in certain situations 2024-05-05 09:18:10 +02:00
HJfod
03385d07e1 add download counts to ModItem 2024-05-04 23:01:07 +03:00
HJfod
309de35a57 Merge branch 'main' into new-index-but-better 2024-05-04 10:56:43 +03:00
mat
5c5e3bac72
add missing include in TextInput.hpp 2024-05-01 12:51:08 -03:00
HJfod
afa57371ec add gd-style colors option 2024-04-29 19:39:02 +03:00
HJfod
d33be521cb add ListBorders UI class 2024-04-29 17:36:28 +03:00
HJfod
d36d50f525 remove debug log 2024-04-29 10:54:02 +03:00
qimiko
c4a682b991
update macos fmod for 2.2 2024-04-28 15:17:02 -07:00
HJfod
97f9820d0f
Add doc comments to Task
i wrote this on my phone sry if it breaks smth
2024-04-29 01:13:32 +03:00
matcool
9eb7064fcd fix Task::all when tasks is empty 2024-04-28 18:10:38 -03:00
Justin
f65336d4ba
geode::cocos::isSpriteName and geode::cocos::getChildBySpriteName (#725)
* isSpriteName and getChildBySpriteName (Code)

* isSpriteName and getChildBySpriteName (Headers)
2024-04-28 17:44:20 -03:00
Justin
8ae4303918
GJDifficultyName and GJFeatureState (#706)
* Update Enums.hpp

* Update Enums.hpp

* Update Enums.hpp

* Update Enums.hpp
2024-04-28 22:28:13 +02:00
Fleeym
d38b387d26 cross-platform is saved, for now 2024-04-28 20:42:28 +03:00
HJfod
93aa77943c add ComparableVersionInfo::getComparison 2024-04-26 13:52:02 +03:00
HJfod
beeb7ca1f8 recommended mods list 2024-04-25 17:50:00 +03:00
HJfod
ae1a766aa6 add Task::isNull 2024-04-24 00:09:39 +03:00
HJfod
684a109dee installing & updating mods (needs work still) 2024-04-23 22:24:08 +03:00
HJfod
f5f2a6450d add color3b for convenience 2024-04-22 20:18:58 +03:00
HJfod
f44f392b97 Merge branch 'main' into new-index-but-better 2024-04-22 18:16:56 +03:00
HJfod
72be477f48 fix all remaining memory issues with Task <3 2024-04-22 18:16:26 +03:00
altalk23
bdb96daed1 remove typename from listimpl 2024-04-22 17:32:51 +03:00
altalk23
20dc3c95e2 deprecate old fields 2024-04-22 15:53:23 +03:00
altalk23
aaf62584fb fix fields not working on macos? hopefully 2024-04-22 15:34:57 +03:00
HJfod
ab0aa47495 working on fixing task memory leaks 2024-04-22 15:21:44 +03:00
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
0a17fcc985 Merge branch 'main' into new-index-but-better 2024-03-02 18:39:58 +02: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
qimiko
dd440433db
force fPIC for openssl on android32
see openssl pull request 22181 for details (just used the changes from there)
2024-03-01 17:29:47 -07:00
qimiko
1fb12f2d12
enable fPIC for openssl 2024-03-01 17:06:25 -07:00
qimiko
6cd6e4d0af
linker magic 2024-03-01 16:45:57 -07:00
qimiko
8998041e1c
update android curl to v8.6.0
also includes nghttp2 v1.60.0 for http2 support
2024-03-01 16:32:24 -07:00
qimiko
2be5854913
update android openssl to v3.2.1 2024-03-01 16:23:12 -07: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
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
matcool
ba88e12cb0 add android stub fmod binaries 2024-01-25 22:04:20 -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
altalk23
8eb033c48c update android stubs & version 2024-01-22 17:45:02 +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