Commit Graph

917 Commits

Author SHA1 Message Date
sleepycatcoding 9f71206fcf frontend-utils: Add TableExt trait
This moves the logic previously found in BookmarkWriter's `with_underlying_table`
into a common trait to be reused by other writers.
2024-04-04 20:01:14 +02:00
Colin Kinloch 6f568d0a2d desktop: Fix gui scale on launch on wayland 2024-04-04 17:58:58 +02:00
Nathan Adams 19c914c5a8 chore: Use workspace version for url 2024-04-04 17:29:00 +02:00
Nathan Adams d8fec1cabc chore: Use workspace version for image 2024-04-04 17:29:00 +02:00
Nathan Adams 2036d85a95 chore: Use workspace version for futures 2024-04-04 17:29:00 +02:00
Nathan Adams 6cca9bb3b7 chore: Use workspace version for clap 2024-04-04 17:29:00 +02:00
Nathan Adams 26df7d78c4 chore: Use workspace version for chrono 2024-04-04 17:29:00 +02:00
Nathan Adams 937664e737 chore: Use workspace version for bytemuck 2024-04-04 17:29:00 +02:00
Nathan Adams 8a390163d6 chore: Use workspace version for async-channel 2024-04-04 17:29:00 +02:00
Nathan Adams 8e4127aef6 chore: Use workspace version for anyhow 2024-04-04 17:29:00 +02:00
Nathan Adams f18d890bea frontend-utils: Move Bookmark from desktop 2024-04-04 11:16:50 +02:00
Nathan Adams 2b4cec664a frontend-utils: Made ParseResult return a DocumentHolder directly 2024-04-04 11:16:50 +02:00
Nathan Adams 2bd28c9c1c frontend-utils: Add a DocumentHolder<T> helper type, use it for preferences and bookmarks 2024-04-04 11:16:50 +02:00
Nathan Adams 5ed6115dcc frontend-utils: Add new package and moved custom toml parsing utilities there 2024-04-04 11:16:50 +02:00
Crowdin Bot 51d91b2c17 chore: Update translations from Crowdin 2024-04-04 00:02:09 +02:00
sleepycatcoding 92f437ec15 desktop: Add storage backend preference 2024-04-03 23:44:27 +02:00
sleepycatcoding 9cab16eb68 desktop: use location instead of url
URL might be a bit misleading when you can also use local files as bookmarks.
2024-04-03 22:20:55 +02:00
sleepycatcoding 02a27db372 desktop: add bookmark add dialog
Now you can add bookmarks while not playing anything, fields are defaulted based on the current movie (if there is one).
2024-04-03 22:20:55 +02:00
sleepycatcoding 5cb9988183 desktop: custom bookmark names
Bookmark names can now be changed by the user, defaults to the URL file.
2024-04-03 22:20:55 +02:00
sleepycatcoding 231fbb7d66 desktop: redesign bookmark UI
lets be fair, the previous one was ugly + this one allows you to actually
change the URL!
2024-04-03 22:20:55 +02:00
sleepycatcoding 077cf7c77b desktop: split PathOrUrlField into widgets module
Makes possible to reuse this element in bookmarks UI
2024-04-03 22:20:55 +02:00
sleepycatcoding e30c866484 desktop: recreate bookmark array of tables if type is incorrect 2024-04-03 22:20:55 +02:00
sleepycatcoding fb93ef9cb6 desktop: allow multiple bookmarks with the same URL 2024-04-03 22:20:55 +02:00
sleepycatcoding e1f9b5e5df desktop: add UI for bookmarks 2024-04-03 22:20:55 +02:00
sleepycatcoding 0b7b9eb0a1 desktop: add `bookmarks.toml` file for storing bookmark data
This is in a separate file to not create clutter in the main preferences.toml file.
2024-04-03 22:20:55 +02:00
sleepycatcoding f657208860 desktop: Refactor preferences system to make it easier to reuse
The goal of this refactor is to make it easier to load other TOML files similarly how preferences are loaded currently.
2024-04-03 22:20:55 +02:00
Crowdin Bot a8136c45e1 chore: Update translations from Crowdin 2024-04-03 09:19:19 +02:00
TÖRÖK Attila 9822e96b41 chore: Bump `egui` to `v0.27.2` 2024-04-03 08:01:53 +02:00
sleepycatcoding 6a74af5f6f desktop: pop keys off of `ParseContext` regardless if parse succeeded
previously the keys were not popped off on some code paths,
resulting in incorrect diagnostics later down the road.
2024-04-01 23:15:42 +02:00
sleepycatcoding fc4c2cb3a8 desktop: cleanup warning boilerplate from preferences reader
The current item path is now kept track of dynamically removing the need for a hardcoded warnings.
and the caller no longer has to call `result.add_warning` themselves (mostly).
2024-04-01 23:15:42 +02:00
Crowdin Bot 5677447576 chore: Update translations from Crowdin 2024-04-01 14:46:40 +02:00
sleepycatcoding df7d95bf43 desktop: show translated string for currently selected language 2024-03-31 20:54:18 +02:00
TÖRÖK Attila a59ec413ad chore: Update `egui` to `v0.27.1` 2024-03-29 14:46:25 +01:00
TÖRÖK Attila 5b4f808769 chore: Update `egui` to `v0.27.0` 2024-03-29 10:02:52 +01:00
Kamil Jarosz 589e7bfb31 desktop: Prevent egui from consuming the Tab key 2024-03-27 00:40:24 +01:00
renovate[bot] 9dfc6dc224 fix(deps): update rust dependencies 2024-03-26 13:56:59 +01:00
Crowdin Bot cea993b5ac chore: Update translations from Crowdin 2024-03-26 13:19:21 +01:00
sleepycatcoding d4e5e54dc0 desktop: Fix window title after closing the file
Previously the title showed the filename in the title even after the file
had been long closed.
2024-03-25 20:13:56 +01:00
Crowdin Bot 9793e3968d chore: Update translations from Crowdin 2024-03-24 22:55:51 +01:00
Nathan Adams ad34f04b7a desktop: Make sure all backends are tried in the Preferences dialog 2024-03-24 21:04:09 +01:00
Nathan Adams 38f7443605 desktop: Try each graphics backend one-by-one until we have a result 2024-03-24 21:04:09 +01:00
Adrian Wielgosik 08157a056e build: Fix redundant import warnings 2024-03-23 19:23:18 +01:00
renovate[bot] d70560cb82 fix(deps): update rust dependencies 2024-03-22 11:10:59 +01:00
Crowdin Bot 65129a08da chore: Update translations from Crowdin 2024-03-21 20:49:11 +01:00
TÖRÖK Attila d9f17dac44 chore: Bump `image` to `v0.25`, without the `dxt` feature 2024-03-19 00:14:48 +01:00
TÖRÖK Attila 7a269c054d fix(deps): update rust dependencies 2024-03-18 12:21:47 +01:00
Crowdin Bot 8345ace97e chore: Update translations from Crowdin 2024-03-18 11:49:48 +01:00
Adrian Wielgosik 27cd08deeb avm2: Provide an option to disable the optimizer 2024-03-16 22:40:15 +01:00
Crowdin Bot fc8f4ef4cf chore: Update translations from Crowdin 2024-03-15 20:30:28 +01:00
TÖRÖK Attila 3399662c76 desktop: Follow `Document` -> `DocumentMut` change in `toml_edit` 2024-03-14 16:45:29 +01:00