Commit graph

275 commits

Author SHA1 Message Date
HJfod
286bdb2bc6 standardization
- remove m_ prefix from structs
 - make IPC event members public
 - make IPC event reply as json
2022-12-09 21:29:21 +02:00
HJfod
b3b5370c4b remove advanced settings as early load is handled through mod.json now 2022-12-09 21:00:31 +02:00
HJfod
3b1a11e11f index work
- installing mods works again
 - add EventListener::setFilter
 - fix loader panicking if some mods failed to load
2022-12-09 15:13:08 +02:00
HJfod
92c22d25e4 rename UpdateError to UpdateFailed 2022-12-09 12:53:49 +02:00
HJfod
7397193e57 index is looking good
- mod dependencies reworked to be much less bad and actually good now
 - mod dependencies finally check the version
 - support for dynamic versions for dependencies (<=vX.X.X, ==vX.X.X, >=vX.X.X)
 - index is now ready for implementing mod installation, then we're done with this massive sausage package
2022-12-09 00:28:05 +02:00
HJfod
28b413d636 make VersionInfo constexpr 2022-12-08 22:04:02 +02:00
HJfod
17a13f22cc add update indicator back to MenuLayer 2022-12-08 21:31:10 +02:00
HJfod
84bdeb7beb index work!!
- add tag support for index
 - rename CategoryNode to TagNode
 - add them back to the UI + fix spacing issues related to them
 - deleted ModListView, now using a generic ListView with the mod cells added as children to it
2022-12-08 21:15:06 +02:00
HJfod
311eb2e356 work
- fix file::listFiles
 - temporarily make loader mod min version very low to work with index
 - index now properly updates
2022-12-08 13:35:02 +02:00
HJfod
9da9493816 fix Unzip::intoDir not deleting the zip after 2022-12-08 13:08:45 +02:00
HJfod
037602ecea more work on index
- fix index not being a static instance
 - fix small stuff related mods list UI including index updating and error messages
 - fix Unzip directories not being created relatively properly
2022-12-08 13:06:11 +02:00
HJfod
82c3179885 Merge branch 'main' of https://github.com/geode-sdk/geode into main 2022-12-08 11:53:49 +02:00
camila314
282797b0ea Merge branch 'main' of https://github.com/geode-sdk/geode into main 2022-12-07 13:39:09 -06:00
camila314
6331c37ac6 what did i do 2022-12-07 13:39:07 -06:00
HJfod
e0d7dbf15b index is now download correctly + that is reported in the UI 2022-12-07 21:21:50 +02:00
HJfod
996acf15aa Merge branch 'main' of https://github.com/geode-sdk/geode into main 2022-12-07 12:37:10 +02:00
HJfod
b4b9986fa5 tryna fix crash due to events 2022-12-07 12:35:50 +02:00
HJfod
956ad1d6d5 many changes for updating Index
- events now follow a public const member pattern instead of getters
 - more file utils
 - ModInfoLayer split into LocalModInfoPopup and IndexItemInfoPopup to reduce uses of ugly variant
 - same with ModCell
 - lots of restructuring related to UI anyway
 - Index also got tons of redesigning
 - much more i've forgotten
 - this commit compiles, surprisingly enough, but it's not usable as installing mods through index was removed
 - remove duplicate LevelSearchLayer ids
2022-12-06 21:22:03 +02:00
HJfod
08934132d8 Merge branch 'main' of https://github.com/geode-sdk/geode into main 2022-12-04 18:41:14 +02:00
altalk23
20a2dc9f07 fix events and cleanup 2022-12-04 19:39:40 +03:00
altalk23
c116b47a61 Merge branch 'altalk' of https://github.com/altalk23/geode into altalk 2022-12-03 17:28:09 +03:00
alk
780aaf33f8
remove getFieldIndex from Intermediate 2022-12-03 16:59:55 +03:00
alk
cf4f058945
Move getFieldIndexForClass to source 2022-12-03 16:51:46 +03:00
altalk23
e8fcb57c9f some formatting 2022-12-03 15:24:31 +03:00
altalk23
a776b167a9 merge geode-sdk/main 2022-12-03 14:49:52 +03:00
altalk23
67d26ac6a7 fully fix result impl 2022-12-03 14:35:28 +03:00
camila314
9b34e2fe72 header fix 2022-12-02 13:00:26 -06:00
camila314
3d393362e0 cleanup structure by a lot 2022-12-02 12:14:08 -06:00
altalk23
9838f51f07 Merge branch 'altalk' of https://github.com/altalk23/geode into altalk 2022-12-02 18:41:08 +03:00
altalk23
0803f83355 completely replace result impl - TODO: fix unzip 2022-12-02 18:40:51 +03:00
HJfod
a11c526066 fix file::createDirectory + fix Notification warning 2022-12-01 22:44:44 +02:00
HJfod
a8cc48f35a Merge branch 'main' of https://github.com/geode-sdk/geode into main 2022-12-01 22:43:11 +02:00
HJfod
66d12395e1 work on new index
- add PlatformID::from string
2022-12-01 22:42:49 +02:00
HJfod
3656e4e6de
Merge pull request #91 from cgytrus/main
Fix wrong usage of create_directory/create_directories API
2022-12-01 20:36:33 +00:00
camila314
cc84d821d9 macos std vector fix 2022-12-01 13:53:17 -06:00
ConfiG
33ccfdfd35
fix wrong usage of create_directory(ies) api 2022-12-01 17:11:44 +03:00
camila314
74a8449533 file utils fix 2022-11-30 12:35:45 -06:00
camila314
655154518a windows fix v2 2022-11-30 11:35:17 -06:00
HJfod
f9b6595073 actually add Dirs files 2022-11-30 19:19:37 +02:00
HJfod
f73d1042a3 move directories away from loader into new dirs namespace 2022-11-30 19:19:00 +02:00
camila314
25d4f2e5c0 windows fix 2022-11-30 11:05:14 -06:00
camila314
3ec28e7420 Merge branch 'main' of https://github.com/geode-sdk/geode into main 2022-11-30 10:52:19 -06:00
camila314
130e3fb834 ipc is good now 2022-11-30 10:51:38 -06:00
HJfod
8126175eaa remove geodeRoot 2022-11-30 18:37:15 +02:00
HJfod
1807f19b51 fix build
- no warning on m_icon = icon in Notification
 - fix mac InternalLoader.cpp using Loader::get()->getLogs instead of log::Logs::list()
2022-11-30 17:46:00 +02:00
HJfod
72613e8e84 why was Mod including zlib 2022-11-30 17:15:40 +02:00
HJfod
368da1009d fix mac build 2022-11-30 17:14:50 +02:00
HJfod
2c78b8e620 cleanup
- add CCArray::firstObject and CCArray::removeFirstObject
 - add minizip zip headers and sources (going to add file::Zip class soon)
 - redesign Notifications to be simpler
 - rework Result to not have dual implementations
 - Result::expect now has one default named argument for formatting the error in
2022-11-30 17:07:05 +02:00
HJfod
f18353c2af cleanup
- rewrote Loader to have a public loading API
 - moved logging away from Loader
 - moved texture path handling away from Loader into CCFileUtils, added new functions there for that
 - bumped version to v0.7.0
 - moved ModInfo to its own header
 - added early loading support through mod.json instead of loader stuff
 - wrote a custom Unzip implementation (essentially same as ZipUtils except with a much more simple and clean API)
 - renamed `src/load` to `src/loader`
 - other stuff i prolly forgor
2022-11-30 00:48:06 +02:00
HJfod
64e06141df rename version.cpp and fetch.cpp to match headers 2022-11-28 21:09:30 +02:00