Commit graph

411 commits

Author SHA1 Message Date
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
37a9c9ee97 Merge branch 'main' of https://github.com/geode-sdk/geode into altalk 2022-12-03 17:42:04 +03:00
alk
b21cb64fdf
Update Result.hpp 2022-12-03 17:41:51 +03:00
altalk23
c116b47a61 Merge branch 'altalk' of https://github.com/altalk23/geode into altalk 2022-12-03 17:28:09 +03:00
alk
7cc5fb1405
Move getFieldIndex outside class 2022-12-03 17:00:39 +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
alk
eadb1b14bd
Move getFieldIndexForClass outside of header 2022-12-03 16:49:48 +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
0096f5745e stl fix yet again 2022-12-02 14:17:57 -06: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
camila314
5e9d8bbac8 git is messing with me 2022-11-30 09:43:44 -06:00
camila314
9927affcd8 Merge branch 'main' of https://github.com/geode-sdk/geode into main 2022-11-30 09:22:44 -06:00
camila314
716e745b5f can we not to GDString please (kept for windows for now) 2022-11-30 09:22:41 -06: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
c113e97844 Merge branch 'main' of https://github.com/geode-sdk/geode into main 2022-11-30 13:15:03 +02:00
alk
298593ada8
remove the bandaid 2022-11-30 14:13:20 +03:00
alk
ed4f4e4bf7
Update addresser.hpp with a bandaid 2022-11-30 14:12:23 +03: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
alk
59327a6b61
Update stdcall.hpp 2022-11-28 23:24:59 +03:00
alk
079daafd55
Merge branch 'geode-sdk:main' into altalk 2022-11-28 23:22:49 +03:00
altalk23
78c072ee5b add stdcall to meta 2022-11-28 23:22:21 +03:00
HJfod
64e06141df rename version.cpp and fetch.cpp to match headers 2022-11-28 21:09:30 +02:00
HJfod
c0065b1cd8 Merge branch 'main' into layout 2022-11-28 21:08:40 +02:00
HJfod
b222879681 fix macos build 2022-11-28 21:08:21 +02:00
HJfod
634fe303b2 fix mac build 2022-11-28 20:49:21 +02:00
alk
57d38bfb8b
set CURLOPT_SSL_VERIFYHOST to 0 in fetch 2022-11-28 21:46:18 +03:00
HJfod
a1d096c670 fix launcher on mac 2022-11-28 20:30:41 +02:00
HJfod
72af8b95e6 GGCP
- remove datastore
 - remove binary parsing in mod.json
 - try to fix mac build again
2022-11-28 20:17:58 +02:00
HJfod
02efe58724 more GGCP
- move Core sources to platform folder
 - make sure source files on Mac include DefaultInclude
 - make sure sources are added in cmake
2022-11-28 20:03:30 +02:00
HJfod
d4610df914 more platform cleanup
- remove loader/platform due to being utterly redundant
 - fix CMakeLists on mac
2022-11-28 19:48:55 +02:00
HJfod
72bbffa79d Great Geode cleanup project
- move all platform sources to one central folder under src/platform/name
 - don't add obj-c sources on windows or platform files from other platforms on all platforms
2022-11-28 19:45:23 +02:00
HJfod
23de63001b attempt fixing mac build 2022-11-28 19:27:56 +02:00
HJfod
516393ae99 merge utils to be in fewer better-named files 2022-11-28 19:09:39 +02:00
HJfod
dd65a36f2c Merge branch 'main' into layout 2022-11-28 18:33:38 +02:00
HJfod
09ae7ec942 Great Geode cleanup project
- fix filesystem and fmt paths
 - replace uses of CCString::createWithFormat with fmt::format
2022-11-28 18:32:25 +02:00
alk
3ec8399ff6
Don't check Content-Type in web request 2022-11-28 19:31:36 +03:00
HJfod
6eaa6ea480 move filesystem and fmt to Geode/external 2022-11-28 18:22:59 +02:00
HJfod
05c48a8fd9 fix util.mm on Mac 2022-11-28 18:04:56 +02:00
HJfod
7d7cb237df fix postIPCReply signature on mac and ios 2022-11-28 17:48:38 +02:00
HJfod
35f2cbad9d Merge branch 'layout' of https://github.com/geode-sdk/geode into layout 2022-11-28 17:42:35 +02:00
HJfod
63749320a3 remove old Result + move everything over to new Result 2022-11-28 17:42:19 +02:00
HJfod
5b3fb508e3 delete remnants of old C api 2022-11-28 16:38:25 +02:00
HJfod
7cdb58878b Merge branch 'main' into layout 2022-11-27 23:40:46 +02:00
mat
ea2da96566 implement operator[] for gnustl vector<bool> 2022-11-27 15:31:18 -03:00
altalk23
1d808dfbfd fix internal macros 2022-11-27 03:57:05 +03:00
altalk23
e0c89e8d07 implement fix for glowing icons 2022-11-27 01:41:42 +03:00
alk
799e7374a3
Fix index not updating 2022-11-27 01:09:54 +03:00
alk
202b60edd6
Update gnustl.hpp 2022-11-25 01:30:17 +03:00
HJfod
3ba1ad12ff Merge branch 'main' into layout 2022-11-25 00:03:09 +02:00
HJfod
fd42ab0457 delete the unfinished C api 2022-11-25 00:02:48 +02:00
alk
f347741068
Update gnustl.hpp 2022-11-25 00:57:11 +03:00
HJfod
adf8295a41 Merge branch 'main' into layout 2022-11-24 23:55:50 +02:00
altalk23
29d6d11f4e implement struct returns on membercall 2022-11-25 00:41:02 +03:00
HJfod
1ac6ad4996 update ipc
- add getRuntimeInfo funcs for getting json representation of Hook, Patch, Mod and others
 - add args to list-mods
2022-11-23 16:38:08 +02:00
HJfod
b9287cebde rework IPC
- replies are now handled by returning from the listener callback
 - can now handle multiple IPC connections at once
 - make Loader::s_unloading actually thread-safe
2022-11-23 15:53:38 +02:00
HJfod
7a047e2a08 update IPC to use json 2022-11-23 00:35:08 +02:00
HJfod
182ced8e17 Merge branch 'main' into layout 2022-11-22 17:24:03 +02:00
HJfod
f5b5a64557 new events stuff
- add preliminary IPC stuff
 - preliminary IPC implementation on Windows (will evolve still)
 - more ids
 - move InternalLoader platform definitions to their own files
 - fix ranges::map not resizing the output
2022-11-22 17:21:00 +02:00
alk
4928f672f1
Update msvcstl.hpp 2022-11-22 16:56:47 +03:00
alk
322dc1b048
Update msvcstl.hpp 2022-11-22 16:49:53 +03:00
alk
af35eb7228
Update msvcstl.hpp 2022-11-22 16:47:04 +03:00
alk
4f66b8d8f7
add operator= to msvc string (#82)
* add operator= to msvc string
2022-11-22 16:46:03 +03:00
alk
9a51843727
Add msvcstl (#81)
* implement gd::string for windows

Co-authored-by: matcool <26722564+matcool@users.noreply.github.com>
2022-11-22 15:59:46 +03:00
altalk23
2034b3e62d cast the c_str pointer 2022-11-22 14:06:39 +03:00
altalk23
caac958c37 replace ccstring create implementation 2022-11-22 14:06:39 +03:00
altalk23
9b359fba56 get geode working on cross compile macos, also modifies Setting event to not use shared ptr, also disables fmt consteval 2022-11-19 21:13:47 +03:00
alk
7b9c68567a
Get geode working on macos wine 2022-11-19 15:05:10 +03:00
alk
df14e82fdf
Update main.cpp 2022-11-19 09:52:02 +03:00
alk
7c43023c7b
Merge branch 'altalk' into main 2022-11-19 09:50:31 +03:00
altalk23
1e760b0777 i dont wanna open vm aa 2022-11-19 09:44:01 +03:00
camila314
5e3ec38359 tee-hee forgot something again 2022-11-18 23:19:23 -06:00
camila314
c12fde309e oops silly me forgot something 2022-11-18 23:18:37 -06:00
camila314
4ff33d0985 fix bad impl 2022-11-18 23:15:01 -06:00