Commit graph

932 commits

Author SHA1 Message Date
Chris Cochrun
a9ba09866d update todo, possibly change to sqlx instead of diesel
Diesel seems to add a lot of work to compile time, and ORMs are good,
but can become troublesome. We'll see if it's actually worth the
switch later though.
2023-09-08 14:57:48 -05:00
Chris Cochrun
743e345c0e updates to Nix Flake 2023-09-08 14:57:05 -05:00
Chris Cochrun
5d2f993d7e added the loading function. 2023-09-08 14:56:54 -05:00
Chris Cochrun
8619902644 using the C++ proxy function to get item from Rust Model
QMAP_QSTRING_QVARIANT doesn't automatically convert to a QVariantMap
in QML. So we have to run it through C++ to make things work right.
2023-09-08 14:55:48 -05:00
Chris Cochrun
31aec1ca47 fixing slide model to look for correct type
In Rust you can't use type as a property name in a struct. This means
we have to use ty.
2023-09-08 14:54:51 -05:00
Chris Cochrun
ec6119eb57 fixing settings to point to the correct config file 2023-09-08 14:54:31 -05:00
Chris Cochrun
e5a7360f0b added a way to get the item through C++ from the rust model 2023-09-08 14:54:00 -05:00
Chris Cochrun
bc3024434e adding some loading mechanics 2023-08-25 12:07:40 -05:00
Chris Cochrun
bfa3f7280c changing name everywhere to lumina 2023-08-25 12:07:28 -05:00
Chris Cochrun
a70acbdeea changing title to Lumina 2023-08-13 15:07:03 -05:00
Chris Cochrun
d61da6f09f some initial setup to get the service_item_model.rs working 2023-08-12 14:07:13 -05:00
Chris Cochrun
2df4c646a7 adding small details to plan 2023-08-11 07:35:58 -05:00
Chris Cochrun
559f479a90 updates to TODO.org
There is a lot to be done so I've recorded some thoughts in here and I
still need to do some testing on the DB creation to make sure it's
fully finished
2023-08-11 07:30:11 -05:00
Chris Cochrun
ffb4da1432 fixing html visibility in live mode 2023-08-07 07:33:41 -05:00
Chris Cochrun
e80f0216ae tweaks to allow better html presentations 2023-08-07 07:21:18 -05:00
Chris Cochrun
50a8b618ad update to guix.scm 2023-08-06 13:10:24 -05:00
Chris Cochrun
d16550b980 making htmlVisible work in PresWindow 2023-08-06 13:10:24 -05:00
Chris Cochrun
61439d65b3 Migrations work
This code actually enables migrations by running migrations on
initialization before any other code runs.
2023-08-05 14:52:56 -05:00
Chris Cochrun
f7f81e0bda fixing initial migration 2023-08-05 14:52:41 -05:00
Chris Cochrun
cae6cabaa2 updating cargo.lock and adding diesel_migrations 2023-08-05 14:52:07 -05:00
Chris Cochrun
9d7d24168d adding a better picture of diesel migrations 2023-08-04 14:44:26 -05:00
Chris Cochrun
2ccc98a954 adding sonnet to dependencies 2023-07-11 22:31:00 -05:00
Chris Cochrun
3f00cf7abd removing things and moving back to nix 2023-07-08 21:45:01 -05:00
Chris Cochrun
434f3f1776 IDK! 2023-07-05 09:33:12 -05:00
Chris Cochrun
9832e0df3d maybe add rust-cxx-qt? 2023-07-03 16:32:54 -05:00
Chris Cochrun
70b3774c84 switching back build.rs 2023-07-03 09:20:49 -05:00
Chris Cochrun
db761d0399 Using Guix as a shell system
Needed to package corrosion and still need to figure out how to tell
the cargo build script to find where QtQML includes are in the guix shell
2023-06-30 10:16:34 -05:00
Chris Cochrun
1b57171b1d a way of doing guix.scm 2023-06-29 10:40:35 -05:00
Chris Cochrun
c1591f5211 adding a guix.scm 2023-06-28 21:14:20 -05:00
Chris Cochrun
56b9cca532 refactor 2023-06-28 16:11:19 -05:00
Chris Cochrun
13a3c6b8eb updating .gitignore 2023-06-28 16:11:19 -05:00
Chris Cochrun
541cda9d11 changing name in shell.nix 2023-06-28 16:11:19 -05:00
Chris Cochrun
592ebb5309 Add detailed todos for next steps 2023-06-28 16:07:30 -05:00
Chris Cochrun
1f6c0992d5 ensure kcoreaddons and sonnet are installed for devs without them 2023-06-26 07:33:58 -05:00
Chris Cochrun
4ebe3a6933 Add the potential rename 2023-06-19 13:57:20 -05:00
Chris Cochrun
f404759862 making service_item_model build 2023-06-17 06:36:16 -05:00
Chris Cochrun
c605a13e81 cleaning up unneeded things in CMAKELISTS 2023-06-16 20:48:53 -05:00
Chris Cochrun
e86f2f3f66 start building service_item_model.rs 2023-05-20 06:44:25 -05:00
Chris Cochrun
9b097b1fb9 todo 2023-05-19 16:24:13 -05:00
Chris Cochrun
ea74fda363 🐛 need to get video start and end times working
This is waiting till service_item_model.rs is the model actually used
for ServiceList. Right now we are still using C++ so once that
switches, we can add it in service_item_model.

This way we don't add anymore C++ code that we are likely to throw away.
2023-05-19 16:01:08 -05:00
Chris Cochrun
485a7ac223 🐛 forgot to use default if unwrap fails 2023-05-19 16:00:52 -05:00
Chris Cochrun
9befc9780d tweaks to SlideEditor...
This badly needs a better name
2023-05-19 15:39:12 -05:00
Chris Cochrun
4aafe6e86f tweaks to SongEditor 2023-05-19 15:39:03 -05:00
Chris Cochrun
a9722e37a0 removing cruft 2023-05-19 15:38:49 -05:00
Chris Cochrun
76bb6fb19b using rust slidemodel 2023-05-19 15:38:40 -05:00
Chris Cochrun
577a315c79 updating todo 2023-05-19 14:46:12 -05:00
Chris Cochrun
b74e85bfe6 🎉 FINALLY! Extra window in any wayland compositor
This required switching from a QML Window to a QQuickView in C++. I
want to try to eventually subclass that in Rust, but for now it works.

I'll have to still tinker with this to find out how to specifically
set the screen in certain environments, but for now the user will need
to move the window on their own.
2023-05-19 13:01:15 -05:00
Chris Cochrun
bbc5bf3d7c 🐛 QVariantMap still seems to not work... 2023-05-19 09:54:07 -05:00
Chris Cochrun
a0692aeadf planned: add presentation_window.rs
I'm going to try to subclass QQuickWindow or View in order to control
the PresentationWindow from rust and just call the appropriate
functions from QML.
2023-05-19 09:53:08 -05:00
Chris Cochrun
6da388c529 switching to cxx-qt 0.5.3 2023-05-19 09:20:42 -05:00