Commit graph

2662 commits

Author SHA1 Message Date
HJfod
2119b4e333 actually save and load old custom settings 2024-09-11 13:02:57 +03:00
Chloe
818d8bfe28
fix all versions check
Some checks are pending
Build Binaries / Build Windows (push) Waiting to run
Build Binaries / Build macOS (push) Waiting to run
Build Binaries / Build Android (64-bit) (push) Waiting to run
Build Binaries / Build Android (32-bit) (push) Waiting to run
Build Binaries / Publish (push) Blocked by required conditions
2024-09-11 01:01:20 -07:00
Chloe
30dc70c232
update invalid mods v3
Some checks failed
Build Binaries / Build Windows (push) Waiting to run
Build Binaries / Build macOS (push) Waiting to run
Build Binaries / Build Android (64-bit) (push) Waiting to run
Build Binaries / Build Android (32-bit) (push) Waiting to run
Build Binaries / Publish (push) Blocked by required conditions
Check CHANGELOG.md / Check CHANGELOG.md (push) Has been cancelled
2024-09-10 14:03:28 -07:00
Chloe
d8cb2dec14
restore unsupported platform message 2024-09-10 14:01:13 -07:00
dankmeme01
54ff48c993 remove early ub on load 2024-09-10 22:34:10 +02:00
HJfod
75186f6346 add support for file settings making their default value a description 2024-09-10 23:09:53 +03:00
HJfod
6944f80e78 update invalid mods (show a popup + make the N/A button gray) 2024-09-10 22:57:34 +03:00
HJfod
f0f6d4a04e it's N/A 2024-09-10 22:37:30 +03:00
HJfod
91a550971b nvm alk fixed ck 2024-09-10 22:23:58 +03:00
HJfod
65a80c1057 Merge branch 'main' of https://github.com/geode-sdk/geode into main 2024-09-10 22:21:23 +03:00
HJfod
93ed3910c3 nvm 2024-09-10 22:21:12 +03:00
Justin
e8751bf899
limitNodeWidth, limitNodeHeight, and width/height properties in Markdown images (#1043)
* New image arguments format

* add ampersand support whoops

* first moves

* i think that's it for now
2024-09-10 21:13:42 +03:00
altalk23
2d9ce8f3e3 weakref hash from sleepyut 2024-09-10 21:10:19 +03:00
HJfod
67814ece83
Merge pull request #1073 from geode-sdk/settings
Settings Rework
2024-09-10 20:27:20 +03:00
IliasHDZ
7c558ee47e
Fixing current working directory on startup (#1047)
* add fix currect working directory

* oops

* change to wchar and use max_path

* using `std::array`

* Make the cwd fix use std filesystem path

---------

Co-authored-by: IliasHDZ <nassimbennamari38@gmail.com>
Co-authored-by: alk <45172705+altalk23@users.noreply.github.com>
2024-09-10 20:07:09 +03:00
HJfod
361102eb8f allow collapsing titles
Some checks failed
Build Binaries / Build Windows (push) Has been cancelled
Build Binaries / Build macOS (push) Has been cancelled
Build Binaries / Build Android (64-bit) (push) Has been cancelled
Build Binaries / Build Android (32-bit) (push) Has been cancelled
Build Binaries / Publish (push) Has been cancelled
2024-09-10 18:08:07 +03:00
HJfod
de9acbc8eb add scrollbar + different errors for missing settings 2024-09-10 17:14:37 +03:00
HJfod
324cc768fe include apple stuff first
Some checks failed
Build Binaries / Build Windows (push) Waiting to run
Build Binaries / Build macOS (push) Waiting to run
Build Binaries / Build Android (64-bit) (push) Waiting to run
Build Binaries / Build Android (32-bit) (push) Waiting to run
Build Binaries / Publish (push) Blocked by required conditions
Check CHANGELOG.md / Check CHANGELOG.md (push) Has been cancelled
2024-09-10 00:00:55 +03:00
HJfod
9bd1da3215 wait no include foundation first instead 2024-09-09 23:58:00 +03:00
HJfod
7592af4a14 undef commenttype 2024-09-09 23:57:32 +03:00
HJfod
75003b9afa fix inputs not working & make slider snaps not optional 2024-09-09 23:54:14 +03:00
HJfod
77268271ee fix esc not showing unsaved changes popup 2024-09-09 23:53:58 +03:00
HJfod
ad537375fa Merge branch 'main' into settings 2024-09-09 23:22:34 +03:00
HJfod
72cb957afd add "desktop" and "mobile" to PlatformID::getCovered 2024-09-09 22:52:18 +03:00
HJfod
b66bcca2a6 show invalid values in the UI 2024-09-09 22:30:04 +03:00
HJfod
d5718be422 add PlatformID::getCovered 2024-09-09 22:29:47 +03:00
HJfod
9f1c70ad09 allow making incompatibilities platform-specific 2024-09-09 22:29:34 +03:00
Chloe
18cf751eb3
Show invalid mods on mod search (#1065)
Some checks are pending
Build Binaries / Build Windows (push) Waiting to run
Build Binaries / Build macOS (push) Waiting to run
Build Binaries / Build Android (64-bit) (push) Waiting to run
Build Binaries / Build Android (32-bit) (push) Waiting to run
Build Binaries / Publish (push) Blocked by required conditions
* invalid server mod parsing

* show message for invalid mod

* show invalid on explicit search
2024-09-09 01:55:20 -07:00
Chloe
f6ed9c8f70
Split update checks into multiple batches (#1066)
* skip check with empty mod list

* initial batching implementation

* remove header that i don't use

* use vector insert instead of copy
2024-09-09 01:55:09 -07:00
HJfod
62af8da879 Merge branch 'main' into settings
Some checks are pending
Build Binaries / Build Windows (push) Waiting to run
Build Binaries / Build macOS (push) Waiting to run
Build Binaries / Build Android (64-bit) (push) Waiting to run
Build Binaries / Build Android (32-bit) (push) Waiting to run
Build Binaries / Publish (push) Blocked by required conditions
2024-09-09 01:03:42 +03:00
HJfod
0efde83fd4 allow fine-grained parsing for settings 2024-09-09 00:50:49 +03:00
ninXout
a121b8a37c minor fix to mod incompatibilities 2024-09-08 16:17:49 -04:00
HJfod
f1715cda28 make SettingValueNodeV3 keep track of the current value + some docs
Some checks are pending
Build Binaries / Build Windows (push) Waiting to run
Build Binaries / Build macOS (push) Waiting to run
Build Binaries / Build Android (64-bit) (push) Waiting to run
Build Binaries / Build Android (32-bit) (push) Waiting to run
Build Binaries / Publish (push) Blocked by required conditions
2024-09-08 12:07:10 +03:00
HJfod
474d85d6fe Merge branch 'main' into settings
Some checks are pending
Build Binaries / Build Windows (push) Waiting to run
Build Binaries / Build macOS (push) Waiting to run
Build Binaries / Build Android (64-bit) (push) Waiting to run
Build Binaries / Build Android (32-bit) (push) Waiting to run
Build Binaries / Publish (push) Blocked by required conditions
2024-09-07 23:50:19 +03:00
HJfod
8e38551ea4 add settings searching :3 2024-09-07 23:50:01 +03:00
HJfod
ab9654a596 disable the search clear button if there is no search 2024-09-07 23:49:53 +03:00
HJfod
81d5dc0cae reworks on setting nodes; Custom setting types are now tested to work!
Some checks are pending
Build Binaries / Build Windows (push) Waiting to run
Build Binaries / Build macOS (push) Waiting to run
Build Binaries / Build Android (64-bit) (push) Waiting to run
Build Binaries / Build Android (32-bit) (push) Waiting to run
Build Binaries / Publish (push) Blocked by required conditions
2024-09-07 11:36:07 +03:00
Chloe
adfc942fa0
add user agent to downloads
Some checks failed
Build Binaries / Build Windows (push) Has been cancelled
Build Binaries / Build macOS (push) Has been cancelled
Build Binaries / Build Android (64-bit) (push) Has been cancelled
Build Binaries / Build Android (32-bit) (push) Has been cancelled
Build Binaries / Publish (push) Has been cancelled
2024-09-05 10:51:43 -07:00
Justin
bff34729a7
allow dashes in developer name search (#1023)
Some checks are pending
Build Binaries / Build Windows (push) Waiting to run
Build Binaries / Build macOS (push) Waiting to run
Build Binaries / Build Android (64-bit) (push) Waiting to run
Build Binaries / Build Android (32-bit) (push) Waiting to run
Build Binaries / Publish (push) Blocked by required conditions
* Update FiltersPopup.cpp

* remove space
2024-09-05 04:05:08 -07:00
HJfod
fdcdfbd30c bump version & update changelog
Some checks failed
Build Binaries / Build Windows (push) Has been cancelled
Build Binaries / Build macOS (push) Has been cancelled
Build Binaries / Build Android (64-bit) (push) Has been cancelled
Build Binaries / Build Android (32-bit) (push) Has been cancelled
Check CHANGELOG.md / Check CHANGELOG.md (push) Has been cancelled
Build Binaries / Publish (push) Has been cancelled
2024-09-05 12:35:12 +03:00
HJfod
63fa437386 fix android build 2024-09-05 12:08:09 +03:00
HJfod
741bc93a3b make sure resetting also marks settings as committed
Some checks are pending
Build Binaries / Build Windows (push) Waiting to run
Build Binaries / Build macOS (push) Waiting to run
Build Binaries / Build Android (64-bit) (push) Waiting to run
Build Binaries / Build Android (32-bit) (push) Waiting to run
Build Binaries / Publish (push) Blocked by required conditions
2024-09-04 22:18:23 +03:00
HJfod
ddf27910fb Merge branch 'main' into settings 2024-09-04 22:16:07 +03:00
camila314
c38f588dc7 add disregard
Some checks are pending
Build Binaries / Build Windows (push) Waiting to run
Build Binaries / Build macOS (push) Waiting to run
Build Binaries / Build Android (64-bit) (push) Waiting to run
Build Binaries / Build Android (32-bit) (push) Waiting to run
Build Binaries / Publish (push) Blocked by required conditions
2024-09-04 12:02:31 -05:00
altalk23
d95a43be0b fix scroll layer when anchor point is not ignored 2024-09-02 23:23:13 +03:00
HJfod
792e61e2f5 Merge branch 'main' into settings 2024-08-31 23:07:48 +03:00
HJfod
6b8dd4a1ae add restart and config dir buttons to settings popup 2024-08-31 23:07:29 +03:00
HJfod
8a826065a1 add restart required because of settings to moditem and modpopup 2024-08-31 22:00:01 +03:00
HJfod
6eb079735f setting events & restart stuff 2024-08-31 21:36:53 +03:00
HJfod
659c168a14 add generic function helpers 2024-08-31 21:35:41 +03:00
SMJS
d0eb881ebc
Fixed a bug where only 1 word wrap variant can exist (#1058)
* Fixed a bug where only 1 word wrap variant can exist

* Made the delimiters a string view
2024-08-31 12:27:38 +02:00
Cvolton
444a8c198b
add disable/enabledrawarea to ccdrawnode 2024-08-29 23:04:01 +02:00
HJfod
db9e2ccb48 fully implement enable-if!!!! 2024-08-28 22:38:07 +03:00
HJfod
4fb42754cb add restart required label 2024-08-24 23:39:10 +03:00
HJfod
dd17301761 color settings 2024-08-24 20:05:34 +03:00
HJfod
a2f74431c1 no real changes because they didn't work 2024-08-24 20:05:28 +03:00
HJfod
62b6241e37 fix dialog opening stuff 2024-08-24 12:40:32 +03:00
HJfod
56f878ccb3 folder settings & allow picking which dialog to use 2024-08-24 12:13:58 +03:00
HJfod
1a82d12b7b add Task::cancelled 2024-08-24 11:31:53 +03:00
HJfod
971e3fb254 make file picker dialog cancellation not return an error but just cancel the task 2024-08-24 11:26:28 +03:00
HJfod
766b71dfbd path settings done 2024-08-24 00:33:38 +03:00
HJfod
3f3b52104f add file sprite 2024-08-23 23:35:33 +03:00
HJfod
35d16eb44e improve jsonvalidation type errors 2024-08-23 23:35:29 +03:00
HJfod
908ac44a0b add default value option to JsonExpectedValue::get 2024-08-23 22:56:17 +03:00
HJfod
4ec449ed41 deprecate old settings functions 2024-08-23 22:56:00 +03:00
HJfod
36853b785c fix crash due to not checking if setting is loaded 2024-08-23 22:55:43 +03:00
HJfod
8ce5700aad fix android & mac builds 2024-08-23 12:38:15 +03:00
HJfod
dc6637e130 string setting nodes + move number setting nodes to a shared class + legacy custom setting nodes proven to work 2024-08-23 12:36:49 +03:00
HJfod
85e7b5e3ab make AxisLayout size hint more reasonable 2024-08-23 11:32:26 +03:00
HJfod
6ed6b32669 int and float setting nodes 2024-08-22 14:22:57 +03:00
HJfod
5263483b0a bool setting nodes are so back now 2024-08-21 23:35:31 +03:00
HJfod
40a28eec7b make custom settings be based on custom setting types 2024-08-21 21:41:44 +03:00
HJfod
a5f56cb7cb a bit of docs on modsettingsmanager 2024-08-20 13:18:59 +03:00
HJfod
71eb4a2041 fix target gd version not working if it's set to * 2024-08-20 12:57:04 +03:00
HJfod
07001bf36f fix warnings 2024-08-20 12:56:46 +03:00
HJfod
0d318ceda6 fix typeinfo_pointer_cast usage 2024-08-20 12:56:32 +03:00
HJfod
28cc6fdbd3 move typeinfo_pointer_cast to a cross-platform header 2024-08-20 12:50:20 +03:00
HJfod
f061dd4bf2 make setting constructors private 2024-08-20 12:50:04 +03:00
HJfod
1032d9afa8 no longer crashes on startup :3 2024-08-20 00:31:41 +03:00
HJfod
90ed885d89 Merge branch 'main' into settings 2024-08-19 19:19:48 +03:00
HJfod
f37c903160 new settings should work now 2024-08-19 19:19:29 +03:00
Cvolton
cd5a66c1d1 add Notification::Cancel 2024-08-15 15:43:45 +02:00
HJfod
ff8de4eec6
Merge pull request #1036 from Prevter/lightning
cocos2d::CCLightning
2024-08-13 21:26:25 +03:00
HJfod
05a4daf794 Merge branch 'main' into settings 2024-08-13 13:42:37 +03:00
HJfod
1b5ae86f7b fix s_idCounter missing definition 2024-08-13 13:42:24 +03:00
HJfod
c6bbf4b3a1 once again main is broken 2024-08-13 13:41:49 +03:00
HJfod
78c69199e0 Merge branch 'main' into settings 2024-08-13 13:38:11 +03:00
HJfod
1f2aa2ced7 how did i not notice- 2024-08-13 13:37:41 +03:00
HJfod
89d1a5140f new settings stuff that i need to commit because main broke 2024-08-13 13:34:33 +03:00
HJfod
00e191accb
Merge pull request #1040 from SMJSGaming/main
Added IDs to web request to prevent incompatibilities between web mods
2024-08-13 11:35:49 +03:00
SMJSGaming
58402e9b7b Made the ID system thread safe 2024-08-13 10:11:54 +02:00
SMJSGaming
a5bbf6a40c Added IDs to web request to prevent incompatibilities between web mods 2024-08-13 09:05:59 +02:00
Oleksandr Nemesh
3ea6001ca4
fix members 2024-08-10 18:58:32 +03:00
Oleksandr Nemesh
bcff1652b8
Merge branch 'geode-sdk:main' into lightning 2024-08-10 13:37:18 +03:00
Oleksandr Nemesh
fca774adbf
cleanup the header 2024-08-10 13:37:08 +03:00
dankmeme01
e4054d46fc fix missing GEODE_DLL in ccarray funcs 2024-08-07 19:18:36 +02:00
TheSillyDoggo
677bd762de
Change SwelvyBG sprites to be 2048x512 (#1029)
Since these textures use GL_REPEAT, the resolution should be powers of two otherwise it might not work on some devices (such as iOS)
Source: https://registry.khronos.org/OpenGL-Refpages/es2.0/xhtml/glTexParameter.xml
2024-08-05 11:29:32 -03:00
Cvolton
c11462af1d add arg name for fullPathForFilename 2024-08-05 14:18:36 +02:00
Chloe
81f8573cc5
stl fix for member tests 2024-08-05 02:26:38 -07:00
dankmeme01
f63bd44ad2 add custom constructor for ccfileutilsandroid 2024-08-05 09:46:51 +02:00
dankmeme01
63b82f9fb2 bump FMOD headers to 2.02.23 2024-08-04 20:24:05 +02:00
Cvolton
b595d98cd7 fix missing includes 2024-08-04 19:40:49 +02:00
Oleksandr Nemesh
bf6879113f fix buttons glitches 2024-08-02 02:45:39 +03:00
Oleksandr Nemesh
677e7debd5 add restart button 2024-08-02 02:45:28 +03:00
dankmeme01
59a0ade533 actually fix it 2024-08-01 14:14:50 +02:00
dankmeme01
d729a12bf3 fix order of buttons in CCMenuItemExt::createToggler 2024-08-01 14:05:36 +02:00
altalk23
fe730ed78b use virtual getChildren for getChildByID 2024-08-01 12:31:16 +03:00
dankmeme01
bae22b4e34 add new gd::string constructor 2024-07-30 17:19:33 +02:00
HJfod
a533b5f51a actually technically that last one didn't match og behaviour even 2024-07-29 22:06:14 +03:00
HJfod
8de28d1e2a support old <c hex> syntax too for backwards compatability 2024-07-29 22:05:37 +03:00
HJfod
fabe7d37de Merge branch 'main' of https://github.com/geode-sdk/geode into main 2024-07-29 20:59:11 +03:00
HJfod
749fdf1ad3 add TextInput::focus and unfocus 2024-07-29 20:58:58 +03:00
Chloe
22bcbe1b5e
remove usages of cc3x 2024-07-29 06:18:17 -07:00
Chloe
b6250cd278
fix mac build 2024-07-29 05:59:09 -07:00
HJfod
d95b879b4d update changelog 2024-07-29 15:58:02 +03:00
HJfod
96e2f5b63a update theme button name and id 2024-07-29 15:17:25 +03:00
HJfod
69f2934768 silence a warning 2024-07-29 15:15:08 +03:00
HJfod
4b4bc0eb9b don't cancel subtasks on task destructor 2024-07-29 15:15:00 +03:00
HJfod
2a3c35f584 allow modifying Geode UI via events 2024-07-29 15:14:49 +03:00
HJfod
c323faee27 make openInfoPopup return a Task<bool> 2024-07-29 13:10:42 +03:00
HJfod
c4fe40b037 teehee totally forgot GEODE_DLL on this one 2024-07-29 12:51:12 +03:00
HJfod
028bbf9a8b add support for hex colors + 2.2 color tags + fix mod links 2024-07-29 12:50:56 +03:00
HJfod
6080fdbfde deprecate cc3x 2024-07-29 12:50:37 +03:00
HJfod
5c840127fa expose LoadingSpinner for mods to use 2024-07-29 12:50:22 +03:00
MarioMastr
0ef7d6e075
add custom_constructor to ccglprogram (#1009) 2024-07-29 00:19:00 +03:00
SMJSGaming
caeef8f4a4 Changed the operator overloads of CCPoint to be more inline with other engines 2024-07-28 16:16:41 +02:00
SMJSGaming
72586f780d Added remove methods to the web API 2024-07-27 19:53:07 +02:00
Chloe
dceb91e181
he can go back now :D 2024-07-25 17:11:37 -07:00
Chloe
d13b1dc269
actually no i forgot one thing 😭 2024-07-25 07:14:01 -07:00
Chloe
057bb7a44d
undo everything part 2 2024-07-25 07:13:26 -07:00
Chloe
509c5e7e93
add objectdecoderdelegate for objectdecoder 2024-07-25 06:58:44 -07:00
Chloe
4266a82a56
update minizip-ng to latest commit
this fixes an issue in which some compilers may complain about gz_intmax not being defined - this is intentional to match rob's version of zlib on windows
2024-07-25 05:43:38 -07:00
altalk23
006ede8f34 replace all c number parsing with numFromString 2024-07-25 15:17:35 +03:00
matcool
2cd1a9ee26 use C locale instead of en_us.utf8
TODO: replace these with numFromString instead :P
2024-07-24 19:21:35 -03:00
Cvolton
4272b8b549 fix missing include in terminate header 2024-07-24 19:41:52 +02:00
Cvolton
49c8d386a9 fix objectdecoder inheritance 2024-07-24 15:48:33 +02:00
Cvolton
95f9eeb187
add objectdecoder (#1012) 2024-07-24 14:00:54 +02:00
Oleksandr Nemesh
94dc60a7f2
fix whitespace 2024-07-24 12:34:55 +03:00
dankmeme01
fc544f9144 fix ccparticlesystem virtuals 2024-07-21 20:25:01 +02:00
matcool
61e000daa0 check hash for downloaded mods 2024-07-20 18:16:06 -03:00
matcool
1e6d6fbcb6 these arent used anymore 2024-07-20 17:12:28 -03:00
matcool
dfdb7107dd fix build 2024-07-20 17:04:35 -03:00
matcool
4f321973ac implement custom window for showing crashlog instead of messagebox
very cool :-)
2024-07-20 16:28:03 -03:00
Chloe
2b35e0e833
remove useless fs hash block
ndk r27 implements this, so it won't build
2024-07-18 18:45:20 -07:00
Oleksandr Nemesh
e46353908d
fix ccColor 2024-07-11 14:50:09 +03:00
Oleksandr Nemesh
0ee2b5beb2
add include 2024-07-11 14:46:55 +03:00
Oleksandr Nemesh
360827e766
add cclightning 2024-07-11 14:45:03 +03:00
Cvolton
ba7b0fa818 remove low limit for mod logo scale 2024-07-10 14:24:25 +02:00
dankmeme01
e26fe954a6 update netlibs (fix crashes on macos wine and old wine/proton) 2024-07-07 15:00:03 +02:00
matcool
1f8f76a0e6 cleanup code for new image args syntax 2024-07-06 21:02:02 -03:00