Commit graph

92 commits

Author SHA1 Message Date
Asriel Camora ec4d68f9b5 Refactor some code 2023-06-04 13:14:57 -07:00
Asriel Camora 948428fb04 Replace once_cell w/ nightly LazyLock/LazyCell and stablilized OnceCell 2023-06-04 12:41:19 -07:00
Asriel Camora 951a45547c
Fix css styling bugs in Sweet
- ExpanderRow has a teeny bit of extra padding (which is then added on to with the internal ActionRow)
- ComboRow dropdown has a background color that doesn't change when its parent row is hovered over
2023-05-22 01:36:55 -07:00
Asriel Camora 04a314a29a
Don't re-add the same account 2023-05-22 01:35:14 -07:00
Asriel Camora de03a26510
Refactor epic config 2023-05-22 01:34:31 -07:00
Asriel Camora b6614abaa8
Refactor account widget 2023-05-22 01:33:24 -07:00
Asriel Camora c100d5fbf0
Add devel class to window in debug mode 2023-05-22 01:32:13 -07:00
Asriel Camora 98aa1d1fa4
Fix main.css registration
Adwaita didn't see the resources, so it didn't load them
2023-05-22 01:31:54 -07:00
Asriel Camora ba39cf02e8
Add account widget
Still a bit more work to do with trying to get selection working. You can also add the same account twice right now.
2023-05-21 23:29:01 -07:00
Asriel Camora c1e08bf2ce
Add Encrypted<T> test, fixed recursive deserialization bug 2023-05-21 13:14:21 -07:00
Asriel Camora 79007ffeb6
Implement authentication for epic, figure out async foolery (somewhat) 2023-05-20 18:43:32 -07:00
Asriel Camora 8617ed0655
Add user data config 2023-05-20 18:42:26 -07:00
Asriel Camora ded180fe9d
Add fortnite android client, make error impl Debug 2023-05-20 18:41:56 -07:00
Asriel Camora 03077561e5
Core plugin system changes 2023-05-20 18:41:23 -07:00
Asriel Camora d4a74fb6c7
Change from SystemTime to DateTime<Utc>
Serde deserialization actually didn't work this whole time..
2023-05-20 18:39:55 -07:00
Asriel Camora fd56e7f5bf
Remove async_trait crate, rely on nightly feature
The feature.. already enabled, so async_trait was kind of redundant anyway?
2023-05-20 18:38:42 -07:00
Asriel Camora 4395880294
Create dispatcher based off of Glib::Dispatcher/EGL3 DataDispatcher 2023-05-20 18:34:55 -07:00
Asriel Camora c4a2161f37
Don't throw when creating a new empty storage file 2023-05-20 18:34:02 -07:00
Asriel Camora 164a543365
Add client storage accessors 2023-05-20 18:33:40 -07:00
Asriel Camora f70b52c5eb
Add dpapi encrypted wrapper for serde 2023-05-20 18:32:30 -07:00
Asriel Camora 9ba19612da
Change storage to be dynamic and not generic 2023-05-20 17:53:43 -07:00
Asriel Camora acca0c1d79
Remove unnecessary registry value 2023-05-15 22:46:40 -07:00
Asriel Camora 07ec52f845
Move all Gio.Application logic to dedicated subclassed object 2023-05-15 22:17:03 -07:00
Asriel Camora 1afce90d0d
Implement plugin-specific protocol schema handling 2023-05-15 22:16:05 -07:00
Asriel Camora d55eb83766
Fix clippy warnings 2023-05-15 22:15:09 -07:00
Asriel Camora 3fe3a1b0ec
Fix register_protocol utility 2023-05-15 22:13:33 -07:00
Asriel Camora 3a8e466387
Add subclassed_gobject macro for non-widget objects 2023-05-15 22:12:52 -07:00
Asriel Camora 847b9fb982
Update blueprint syntax to 0.8.0 2023-05-15 22:12:08 -07:00
Asriel Camora 67713be367
Add register_protocol utility 2023-05-14 15:05:43 -07:00
Asriel Camora d1dc8c8a5e
Fix compile errors 2023-05-13 23:34:36 -07:00
Asriel Camora 0d1df338c4 Change plugins to be statically linked 2023-05-13 19:52:25 -07:00
Asriel Camora 84b06b3c0b Remove signal holder util
Remnant from EGL3's modular system. All callbacks and signals are either deliberate without lifetime issues or through templates.
2023-05-06 11:27:11 -07:00
Asriel Camora 1b03a1da87 Add storage data loading/storing
Rudimentary, but will get the job done
2023-05-06 11:26:13 -07:00
Asriel Camora afc16a2606 Fix epic settings 2023-05-06 11:25:34 -07:00
Asriel Camora f58988cad5 Merge plugins and core, remove dynamic loading
Oh well, but it's not like it's that necessary anyway. It's probably way better this way.
2023-05-06 11:25:17 -07:00
Asriel Camora 892469088d Allow plugins to use gtk widgets
Doesn't compile... rust can't share gtk's state between libraries since it compiles everything statically no matter what
https://users.rust-lang.org/t/building-package-dependencies-as-dynamic-libraries/44870
2023-05-05 11:22:22 -07:00
Asriel Camora ec2332f31c Big UI layout changes, switch everything to libadwaita 2023-05-04 11:13:38 -07:00
Asriel Camora 301caf28f0 Move model ownership to window, add settings with plugins
This took so much effort to architect this correctly. Everything's great, but I'd like to somehow (1) get rid of the GtkOverlays, hopefully to ease the overhead, though it doesn't matter much since the widgets are reused due to the nature of ListView and (2) I hate all the weird inner types I have to make an manage, especially with the app window. Hopefully I can get rid of it without putting everything in oncecells and refcells.
2023-05-02 04:44:09 -07:00
Asriel Camora 345b5c189a Adding settings tree view
Time to learn how this stuff works.. Sadly the treelistview isn't buildable like the list :(
2023-04-30 14:24:45 -07:00
Asriel Camora cff6cc2d18 Macroize other widgets
Now it looks at least a little less boilerplate-y
2023-04-30 14:23:56 -07:00
Asriel Camora 82d80b51b8 small tweak 2023-04-30 04:11:17 -07:00
Asriel Camora 44a22eb502 Macroize the rest of the item model
looks pretty :)
2023-04-30 04:06:01 -07:00
Asriel Camora 66fab31e1d Macro-ize model data 2023-04-30 02:30:20 -07:00
Asriel Camora 992afeb110 Remove modules, move to composite templates and widgets 2023-04-30 01:16:42 -07:00
Asriel Camora a87f227973 Messing around with plugins and gtk and icons and stuff 2023-04-29 17:42:31 -07:00
Asriel Camora d3ee28c542 Implement all authed client methods 2023-04-29 09:58:26 -07:00
Asriel Camora ef87d3a61e Fix json struct visibility 2023-04-29 07:32:36 -07:00
Asriel Camora f998c765a1 Add json parsing of all EGL3's json structs 2023-04-29 07:31:55 -07:00
Asriel Camora da3d4bc58b Start work on transferring structs from EGL3 2023-04-28 02:38:57 -07:00
Asriel Camora c391d4fb2e Split client files, added barebones authed client 2023-04-28 02:25:30 -07:00