| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
| |
libsecret is now maintained again! No need for a private fork.
|
|
|
|
|
|
| |
It just makes sense, right?
Warning, untested, because I don't want to burn my tokens.
|
|
|
|
| |
It looks nicer.
|
|
|
|
|
|
|
|
| |
I wish there was a way to build against newer libadwaita but be able
to gracefully degrade. I heard it's possible in Zig, and `libadwaita`
exposes functions to query the underlying library version at runtime,
so we might be able to get away with it as long as our build-time
environment is new enough...
|
|
|
|
|
|
|
|
| |
Flake lock file updates:
• Updated input 'crane':
'github:ipetkov/crane/604637106e420ad99907cae401e13ab6b452e7d9' (2024-12-08)
→ 'github:ipetkov/crane/60d7623f1320470bf2fdb92fd2dca1e9a27b98ce' (2024-12-16)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Flake lock file updates:
• Updated input 'crane':
'github:ipetkov/crane/fa8b7445ddadc37850ed222718ca86622be01967' (2024-10-18)
→ 'github:ipetkov/crane/604637106e420ad99907cae401e13ab6b452e7d9' (2024-12-08)
• Updated input 'flake-utils':
'github:numtide/flake-utils/c1dfcf08411b08f6b8615f7d8971a2bfa81d5e8a' (2024-09-17)
→ 'github:numtide/flake-utils/11707dc2f618dd54ca8739b309ec4fc024de578b' (2024-11-13)
• Updated input 'nixpkgs':
'github:nixos/nixpkgs/4c2fcb090b1f3e5b47eaa7bd33913b574a11e0a0' (2024-10-18)
→ 'github:nixos/nixpkgs/5d67ea6b4b63378b9c13be21e2ec9d1afc921713' (2024-12-11)
|
| |
|
|
|
|
|
|
| |
I need to fix that, but that'll take a small refactor of Kittybox. I
want things to work and be liberal in what I accept, so I put in some
shortcuts.
|
|
|
|
|
|
| |
This code is untested. I guess I'll need to revisit this in about a
week, when my access token expires. Then I'll be able to see if it
correctly refreshes.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The libsecret-rs crate is unmaintained, so I'm vendoring it for
now. Bumping the glib version turned out to be enough.
The exact process I used was:
1. Cloning the repository
2. Making changes
3. `cargo build` to ensure it works
4. `cargo package --no-verify` (b/c it tries to build all crates
separately instead of the entire workspace as a whole)
5. `mkdir libsecret/sys -p`
6. `tar --strip-components 1 -C libsecret -xvf ../libsecret-rs/target/package/libsecret-0.6.0.crate`
7. `tar --strip-components 1 -C libsecret/sys -xvf ../libsecret-rs/target/package/libsecret-sys-0.6.0.crate`
Then `Cargo.toml` is modified to ensure the libsecret and its `-sys`
crate build out of my vendored sources.
In the future, if I gain maintainership of the `libsecret` crate, I
could just revert this commit to make it point back to the upstream.
|
| |
|
|
|
|
|
|
|
| |
This reverts commit 94c04a70941e3b38474e7a9dcdd16cb51e4f29e0.
`gettext-rs` crate released a semver-incompatible update, which breaks
building.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Flake lock file updates:
• Updated input 'crane':
'github:ipetkov/crane/529c1a0b1f29f0d78fa3086b8f6a134c71ef3aaf' (2024-07-24)
→ 'github:ipetkov/crane/fa8b7445ddadc37850ed222718ca86622be01967' (2024-10-18)
• Removed input 'crane/nixpkgs'
• Updated input 'flake-utils':
'github:numtide/flake-utils/b1d9ab70662946ef0850d488da1c9019f3a9752a' (2024-03-11)
→ 'github:numtide/flake-utils/c1dfcf08411b08f6b8615f7d8971a2bfa81d5e8a' (2024-09-17)
• Updated input 'nixpkgs':
'github:vikanezrimaya/nixpkgs/0e04d7d5e7c41d1ffb76f169d15eb80fe0538c3c' (2024-08-16)
→ 'github:nixos/nixpkgs/4c2fcb090b1f3e5b47eaa7bd33913b574a11e0a0' (2024-10-18)
|
| |
|
| |
|
|
|
|
|
| |
Now the API itself is responsible for querying settings. This makes
sense, as it's an internal part of the component.
|
| |
|
|
|
|
|
|
|
|
|
| |
There's no preferences dialog, so you can't really adjust the prompt
or the model it uses. The default settings work well for me. You may
want to tweak them depending on your model preferences and compute
budget. (Not many can afford to run Llama3-8B at high
quantization. Conversely, you might have a better GPU than me and wish
to run a 27B model or bigger.)
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
1. narrow_layout is indeed unused, `AdwBreakpoint` remembers initial
values and restores them on load
2. `TagPillWidgets` is not exactly dead code, I'm adding all the
widgets to it to emulate how Relm4 macros do it. Perhaps it'll be used
in the future.
3. We currently ignore the libsecret result on clearing the tokens
because dealing with libsecret errors is annoying and requires unsafe
code due to outdated dependencies.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
- glib-networking is a transient dependency for libsoup
- dconf.lib is added automatically
- the GTK3 dependency should be removed from the closure now
- dconf.lib should be added by wrapGAppsHook4
|
|
|
|
|
| |
Empty for now, but I am planning to include setting up the API
endpoints and prompts for Smart Summary, among other things.
|
|
|
|
| |
This is a hack.
|
|
|
|
|
|
| |
This is a very shitty translation, but it can be improved later. I
added it mostly as a test for translations working correctly, since I
know Russian and might as well translate the app into the language.
|
|
|
|
|
|
|
|
| |
This took a while and had me scratching my head often. But I managed
to combine the best parts of Crane and Meson together, allowing me to
have blazing fast Nix builds.
This also adds initial scaffolding for gettext and other cool things.
|
| |
|
|
|
|
| |
xtr is better at extracting translatables from Rust than xgettext is.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Yes, I'm stupid and I'm developing under a custom theme
|
| |
|
| |
|
|
|
|
|
| |
Uses the macro again, tries to store only the relevant parts in
enums (i.e. the Micropub client, which requires a token).
|
|
|
|
| |
TODO: make requested scopes parametrized
|
| |
|
|
|
|
| |
Whoops
|
|
|
|
|
|
|
|
| |
I had to commit a minor safety crime (but not an unsoundness crime) to
get libsecret's `glib::Error` to be compatible with `glib::Error` from
the newer GLib version.
This could be dropped later when libsecret updates.
|