sleepycatcoding
7eae6ad90b
desktop: Add translatable string for recents menu entry
2024-04-29 20:46:42 +02:00
sleepycatcoding
15a0d18b16
desktop: Filter out invalid and unavailable recent entries
2024-04-29 20:46:42 +02:00
sleepycatcoding
c5dade88dd
desktop: Separate menu bar into a module
2024-04-29 20:46:42 +02:00
sleepycatcoding
c37677e27a
desktop: Move about window into dialogs
2024-04-29 20:46:42 +02:00
sleepycatcoding
e21f7c1aab
desktop: Move VolumeControls into dialogs
2024-04-29 20:46:42 +02:00
sleepycatcoding
eb9c95c660
desktop: Separate dialogs into a separate struct
2024-04-29 20:46:42 +02:00
sleepycatcoding
9db308ddf8
desktop: Make recent limit user configurable
2024-04-29 20:46:42 +02:00
sleepycatcoding
a33c18b309
desktop: Basic recents menu
2024-04-29 20:46:42 +02:00
sleepycatcoding
c95d02339e
frontend-utils: Drop 'static bound from push_key
2024-04-27 01:04:40 +02:00
sleepycatcoding
86b35145ec
frontend-utils: Unify warning format strings; add warning enum
...
This also lays the groundwork for translated warnings.
2024-04-22 14:20:50 +03:00
Nathan Adams
7079f38a9f
frontend-utils: Switch to reqwest
2024-04-15 23:07:56 +02:00
Nathan Adams
2f678bfd39
desktop: Remove --timedemo support. As far as we know, nobody's used it since it was added, and we have better ways of profiling these days.
2024-04-12 23:44:42 +02:00
Nathan Adams
f937945233
frontend-utils: Move ExternalNavigator from Desktop
2024-04-11 23:14:44 +02:00
Nathan Adams
da595b0469
desktop: Make ExternalNavigatorBackend not depend on rfd
2024-04-11 23:14:44 +02:00
Nathan Adams
a3d468a568
frontend-utils: Move PlayingContent from Desktop
2024-04-11 23:14:44 +02:00
Nathan Adams
47654444b5
desktop: Make PlayingContent not rely on rfd
2024-04-11 23:14:44 +02:00
Nathan Adams
df2a7285db
frontend-utils: Rename WinitAsyncExecutor to just AsyncExecutor
2024-04-11 23:14:44 +02:00
Nathan Adams
29e515c672
frontend-utils: Move WinitAsyncExecutor from Desktop
2024-04-11 23:14:44 +02:00
Nathan Adams
3529a2d12d
desktop: Made WinitAsyncExecutor not depend on winit
2024-04-11 23:14:44 +02:00
Nathan Adams
a188962306
frontend-utils: Move DiskStorageBackend from desktop
2024-04-11 23:14:44 +02:00
sleepycatcoding
2cd915046e
frontend-utils: Move bookmark writer from desktop
2024-04-09 18:54:11 +02:00
sleepycatcoding
54dcec7c60
frontend-utils: Move bookmark reader from desktop
2024-04-09 18:54:11 +02:00
sleepycatcoding
7c7f383595
frontend-utils: Move url_to_readable_name from desktop
2024-04-09 18:54:11 +02:00
Nathan Adams
57381f42b2
desktop: Fix opening faux-file URLs on windows
2024-04-09 00:01:59 +02:00
Nathan Adams
8597688ebb
chore: Fix weird formatting that rustfmt isn't catching
2024-04-09 00:01:59 +02:00
Nathan Adams
e5fc56429e
desktop: Add Bookmark dialog should use the opened url, not a movies internal url
2024-04-09 00:01:59 +02:00
Nathan Adams
bf7a88d63f
frontend-utils: Support .ruf files
2024-04-09 00:01:59 +02:00
Nathan Adams
4632a14376
desktop: Allow opening folder based bundles
2024-04-09 00:01:59 +02:00
Nathan Adams
906837c6a1
frontend-utils: Rename ParseResult to ParseDetails
2024-04-09 00:01:59 +02:00
Kamil Jarosz
d110313b1d
desktop: Add support for NumLock
2024-04-08 20:14:07 +02:00
sleepycatcoding
f0106cec30
desktop: fix unused import warning
...
this import should have been in tests module, not in the main file.
2024-04-05 01:16:11 +03:00
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
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
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
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