Kamil Jarosz
8e6e71b2f7
web: Download the file on FileReference.save
...
This patch adds support for saving files on web using FileReference.
When writing data, a download is triggered with the default file name.
Currently, there's no dialog that lets the user select save destination.
This patch also ensures that all implementations of FileDialogResult
behave the same way: desktop, web, and tests.
The methods `write` and `refresh` have been merged into one:
`write_and_refresh`, which allows the tests and web implementations
behave the same way as desktop.
2024-05-07 22:26:30 +02:00
dependabot[bot]
79137ec95e
build(deps): bump webbrowser from 0.8.15 to 1.0.1
...
Bumps [webbrowser](https://github.com/amodm/webbrowser-rs ) from 0.8.15 to 1.0.1.
- [Release notes](https://github.com/amodm/webbrowser-rs/releases )
- [Changelog](https://github.com/amodm/webbrowser-rs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/amodm/webbrowser-rs/compare/v0.8.15...v1.0.1 )
---
updated-dependencies:
- dependency-name: webbrowser
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-07 22:10:27 +02:00
Colin
12bc0b7e71
desktop: Skip waiting for resize event after resize fails
2024-05-06 09:44:35 +00:00
Crowdin Bot
60c62f70bb
chore: Update translations from Crowdin
2024-05-05 23:39:34 +02:00
Crowdin Bot
d1553a203e
chore: Update translations from Crowdin
2024-05-03 23:40:11 +02:00
Crowdin Bot
0551d8bf1f
chore: Update translations from Crowdin
2024-05-02 23:41:08 +02:00
Crowdin Bot
aa006f0e8f
chore: Update translations from Crowdin
2024-05-02 18:07:40 +02:00
Crowdin Bot
1e95c6bf66
chore: Update translations from Crowdin
2024-05-01 08:57:45 +02:00
Crowdin Bot
054d0aab29
chore: Update translations from Crowdin
2024-04-30 01:14:39 +02:00
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
dependabot[bot]
c6bfaf8fae
build(deps): bump the cargo-minor group with 4 updates
...
Bumps the cargo-minor group with 4 updates: [thiserror](https://github.com/dtolnay/thiserror ), [fluent-templates](https://github.com/XAMPPRocky/fluent-templates ), [toml_edit](https://github.com/toml-rs/toml ) and [reqwest](https://github.com/seanmonstar/reqwest ).
Updates `thiserror` from 1.0.58 to 1.0.59
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.58...1.0.59 )
Updates `fluent-templates` from 0.9.2 to 0.9.4
- [Release notes](https://github.com/XAMPPRocky/fluent-templates/releases )
- [Changelog](https://github.com/XAMPPRocky/fluent-templates/blob/master/CHANGELOG.md )
- [Commits](https://github.com/XAMPPRocky/fluent-templates/compare/fluent-templates-v0.9.2...fluent-templates-v0.9.4 )
Updates `toml_edit` from 0.22.9 to 0.22.12
- [Commits](https://github.com/toml-rs/toml/compare/v0.22.9...v0.22.12 )
Updates `reqwest` from 0.12.3 to 0.12.4
- [Release notes](https://github.com/seanmonstar/reqwest/releases )
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.12.3...v0.12.4 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo-minor
- dependency-name: fluent-templates
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo-minor
- dependency-name: toml_edit
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo-minor
- dependency-name: reqwest
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-04-22 20:33:27 +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
dependabot[bot]
d3cc9d5fa5
build(deps): bump the cargo-minor group with 11 updates
...
Bumps the cargo-minor group with 11 updates:
| Package | From | To |
| --- | --- | --- |
| [anyhow](https://github.com/dtolnay/anyhow ) | `1.0.81` | `1.0.82` |
| [async-channel](https://github.com/smol-rs/async-channel ) | `2.2.0` | `2.2.1` |
| [chrono](https://github.com/chronotope/chrono ) | `0.4.37` | `0.4.38` |
| [encoding_rs](https://github.com/hsivonen/encoding_rs ) | `0.8.33` | `0.8.34` |
| [fluent-templates](https://github.com/XAMPPRocky/fluent-templates ) | `0.9.1` | `0.9.2` |
| [either](https://github.com/rayon-rs/either ) | `1.10.0` | `1.11.0` |
| [quote](https://github.com/dtolnay/quote ) | `1.0.35` | `1.0.36` |
| [syn](https://github.com/dtolnay/syn ) | `2.0.58` | `2.0.59` |
| [proc-macro2](https://github.com/dtolnay/proc-macro2 ) | `1.0.79` | `1.0.80` |
| [webbrowser](https://github.com/amodm/webbrowser-rs ) | `0.8.14` | `0.8.15` |
| [libtest-mimic](https://github.com/LukasKalbertodt/libtest-mimic ) | `0.7.0` | `0.7.2` |
Updates `anyhow` from 1.0.81 to 1.0.82
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.81...1.0.82 )
Updates `async-channel` from 2.2.0 to 2.2.1
- [Release notes](https://github.com/smol-rs/async-channel/releases )
- [Changelog](https://github.com/smol-rs/async-channel/blob/master/CHANGELOG.md )
- [Commits](https://github.com/smol-rs/async-channel/compare/v2.2.0...v2.2.1 )
Updates `chrono` from 0.4.37 to 0.4.38
- [Release notes](https://github.com/chronotope/chrono/releases )
- [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md )
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.37...v0.4.38 )
Updates `encoding_rs` from 0.8.33 to 0.8.34
- [Commits](https://github.com/hsivonen/encoding_rs/compare/v0.8.33...v0.8.34 )
Updates `fluent-templates` from 0.9.1 to 0.9.2
- [Release notes](https://github.com/XAMPPRocky/fluent-templates/releases )
- [Changelog](https://github.com/XAMPPRocky/fluent-templates/blob/master/CHANGELOG.md )
- [Commits](https://github.com/XAMPPRocky/fluent-templates/compare/fluent-templates-v0.9.1...fluent-templates-v0.9.2 )
Updates `either` from 1.10.0 to 1.11.0
- [Commits](https://github.com/rayon-rs/either/compare/1.10.0...1.11.0 )
Updates `quote` from 1.0.35 to 1.0.36
- [Release notes](https://github.com/dtolnay/quote/releases )
- [Commits](https://github.com/dtolnay/quote/compare/1.0.35...1.0.36 )
Updates `syn` from 2.0.58 to 2.0.59
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.58...2.0.59 )
Updates `proc-macro2` from 1.0.79 to 1.0.80
- [Release notes](https://github.com/dtolnay/proc-macro2/releases )
- [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.79...1.0.80 )
Updates `webbrowser` from 0.8.14 to 0.8.15
- [Release notes](https://github.com/amodm/webbrowser-rs/releases )
- [Changelog](https://github.com/amodm/webbrowser-rs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/amodm/webbrowser-rs/compare/v0.8.14...v0.8.15 )
Updates `libtest-mimic` from 0.7.0 to 0.7.2
- [Release notes](https://github.com/LukasKalbertodt/libtest-mimic/releases )
- [Changelog](https://github.com/LukasKalbertodt/libtest-mimic/blob/master/CHANGELOG.md )
- [Commits](https://github.com/LukasKalbertodt/libtest-mimic/commits )
---
updated-dependencies:
- dependency-name: anyhow
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo-minor
- dependency-name: async-channel
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo-minor
- dependency-name: chrono
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo-minor
- dependency-name: encoding_rs
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo-minor
- dependency-name: fluent-templates
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo-minor
- dependency-name: either
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: cargo-minor
- dependency-name: quote
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo-minor
- dependency-name: syn
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo-minor
- dependency-name: proc-macro2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo-minor
- dependency-name: webbrowser
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo-minor
- dependency-name: libtest-mimic
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-04-15 23:34:51 +02:00
Nathan Adams
7079f38a9f
frontend-utils: Switch to reqwest
2024-04-15 23:07:56 +02:00
Crowdin Bot
177a5a6de7
chore: Update translations from Crowdin
2024-04-15 13:30:49 +02:00
Crowdin Bot
fd1b6f59f2
chore: Update translations from Crowdin
2024-04-14 15:01:30 +02:00
Crowdin Bot
e687d16ecb
chore: Update translations from Crowdin
2024-04-13 00:08:53 +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
dd187b0906
desktop: Removed now-unused dependencies
2024-04-11 23:14:44 +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
dependabot[bot]
ae10b76431
build(deps): bump the cargo-minor group with 6 updates
...
Bumps the cargo-minor group with 6 updates:
| Package | From | To |
| --- | --- | --- |
| [image](https://github.com/image-rs/image ) | `0.25.0` | `0.25.1` |
| [downcast-rs](https://github.com/marcianx/downcast-rs ) | `1.2.0` | `1.2.1` |
| [regress](https://github.com/ridiculousfish/regress ) | `0.9.0` | `0.9.1` |
| [syn](https://github.com/dtolnay/syn ) | `2.0.55` | `2.0.58` |
| [webbrowser](https://github.com/amodm/webbrowser-rs ) | `0.8.13` | `0.8.14` |
| [getrandom](https://github.com/rust-random/getrandom ) | `0.2.12` | `0.2.14` |
Updates `image` from 0.25.0 to 0.25.1
- [Changelog](https://github.com/image-rs/image/blob/main/CHANGES.md )
- [Commits](https://github.com/image-rs/image/compare/v0.25.0...v0.25.1 )
Updates `downcast-rs` from 1.2.0 to 1.2.1
- [Changelog](https://github.com/marcianx/downcast-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/marcianx/downcast-rs/compare/v1.2.0...v1.2.1 )
Updates `regress` from 0.9.0 to 0.9.1
- [Release notes](https://github.com/ridiculousfish/regress/releases )
- [Commits](https://github.com/ridiculousfish/regress/compare/v0.9.0...v0.9.1 )
Updates `syn` from 2.0.55 to 2.0.58
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.55...2.0.58 )
Updates `webbrowser` from 0.8.13 to 0.8.14
- [Release notes](https://github.com/amodm/webbrowser-rs/releases )
- [Changelog](https://github.com/amodm/webbrowser-rs/blob/main/CHANGELOG.md )
- [Commits](https://github.com/amodm/webbrowser-rs/compare/v0.8.13...v0.8.14 )
Updates `getrandom` from 0.2.12 to 0.2.14
- [Changelog](https://github.com/rust-random/getrandom/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-random/getrandom/compare/v0.2.12...v0.2.14 )
---
updated-dependencies:
- dependency-name: image
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo-minor
- dependency-name: downcast-rs
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo-minor
- dependency-name: regress
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo-minor
- dependency-name: syn
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo-minor
- dependency-name: webbrowser
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo-minor
- dependency-name: getrandom
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-04-08 23:44:16 +02:00
Kamil Jarosz
d110313b1d
desktop: Add support for NumLock
2024-04-08 20:14:07 +02:00
Crowdin Bot
4c8d0704db
chore: Update translations from Crowdin
2024-04-06 00:50:33 +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
Crowdin Bot
78f46b74f6
chore: Update translations from Crowdin
2024-04-04 23:58:45 +02: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