Commit graph

2633 commits

Author SHA1 Message Date
mat
145adb2e1f
add much requested ccdrawnode::drawRect overload 2024-09-15 23:12:12 -03:00
HJfod
c3e7f235e0 add missing null check 2024-09-15 23:59:49 +03:00
HJfod
84122dc08d so it turns out we doin 3.7.0 already 2024-09-15 22:12:47 +03:00
HJfod
8f88913815 make ModSettingsManager manage savedata fully
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
Check CHANGELOG.md / Check CHANGELOG.md (push) Waiting to run
2024-09-15 12:19:54 +03:00
HJfod
f0b6a7074a fix legacy custom settings not being loaded 2024-09-15 11:15:24 +03:00
HJfod
2999fb242a fix custom setting values not being loaded 2024-09-15 11:15:24 +03:00
Chloe
f9a6333c94
possibly mac native binaries 2024-09-14 20:23:16 -07:00
Chloe
b148c3957a
INSERT_TUTORIAL_HERE
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-14 15:19:16 -07:00
altalk23
358590b951 add persistent folder button
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-14 12:41:23 +03:00
altalk23
68ab4750ac add persistent dir 2024-09-14 12:29:53 +03:00
SMJS
b3d54747bf
Fixed the touch priority of the settings buttons (#1079)
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
* Fixed the touch priority of the settings buttons

* Added a touch priority overwrite for the apply button
2024-09-13 20:47:08 +02:00
altalk23
1281c7663a move make preferred to parse as well 2024-09-13 20:11:45 +03:00
altalk23
43adb35311 move data loaded 2024-09-13 20:08:16 +03:00
dankmeme01
8615bbd52f fix datasaved being called too late 2024-09-13 18:58:19 +02:00
altalk23
4ad9c848c0 fix filesystem path from json 2024-09-13 19:33:17 +03:00
altalk23
a42b81ae5e forgot some constexpr functions 2024-09-13 14:42:45 +03:00
altalk23
d7693ad130 fix constexpr functions 2024-09-13 14:28:08 +03:00
dankmeme01
aadd0e4923 remove 2 redundant casts cuz like why
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
Check CHANGELOG.md / Check CHANGELOG.md (push) Waiting to run
2024-09-12 18:02:30 +02:00
altalk23
db8a6c8903 make cocos geometry constexpr 2024-09-12 13:53:48 +03:00
altalk23
91150911d4 manual confirm downloading if newly downloaded mods also have incompatibility
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-12 11:11:54 +03:00
dankmeme01
dc170d7a17 temp workaround to fix crashes on wine
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 15:21:42 +02:00
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