Commit Graph

1094 Commits

Author SHA1 Message Date
Crowdin Bot bfd43297be chore: Update translations from Crowdin 2024-08-24 00:52:55 +02:00
sleepycatcoding c047358ab5 desktop: Change fullscreen fscommand to use event loop events
Previously the fullscreen state was set on the window directly causing a desync with the rest of the player code.
2024-08-23 21:17:25 +02:00
Kamil Jarosz 9f8b89168c chore: Move rfd dependency to workspace
This makes sure there's only one version of rfd
used and fixes Flatpak compilation issues.
2024-08-22 12:22:12 +02:00
sleepycatcoding d8b4ec0404 desktop: Make F11 toggle fullscreen instead of just entering
This allows you to leave fullscreen the same you enter it.
2024-08-21 15:08:33 +02:00
sleepycatcoding eb3dec3d5d desktop: Make shortcuts work in fullscreen and no-gui mode 2024-08-21 15:08:33 +02:00
Kamil Jarosz 56f092be2e desktop: Add "Exit Full Screen" option to context menu
This option allows the user to exit full screen
without knowing the Esc shortcut.
2024-08-21 14:31:56 +02:00
Crowdin Bot 2889a715ad chore: Update translations from Crowdin 2024-08-20 23:41:06 +02:00
Kamil Jarosz 4ef26ac9ba desktop: Use F11 as fullscreen shortcut
This patch removes Alt+Enter as the shortcut and replaces it with F11,
additionally the shortcut hint is added to the menu.
2024-08-20 20:12:51 +02:00
Kamil Jarosz 63b373d739 desktop: Make file pickers asynchronous
This patch fixes the problem of Ruffle not responding
when picking a file.
2024-08-20 15:30:50 +02:00
Kamil Jarosz 4918596f71 desktop: Remove Windows workaround for picking files
See https://github.com/rust-windowing/winit/issues/2291#issuecomment-2277033786
2024-08-20 15:30:50 +02:00
Kamil Jarosz 8755dd95cc desktop: Use Arc+Mutex for PathOrUrlField.value
This allows modifying it asynchronously.
2024-08-20 15:30:50 +02:00
Kamil Jarosz d487d3f1aa desktop: Rename PathOrUrlField::value() to result() 2024-08-20 15:30:50 +02:00
Kamil Jarosz 87bf7b5b19 desktop: Set main window as parent of file pickers
This patch makes sure that all file pickers are children of Ruffle.
This way, file pickers will hover over the main window and will have
to be dismissed before the user may interact with it.
2024-08-20 13:47:22 +02:00
dependabot[bot] 5b3c9722d5 build(deps): bump the cargo-minor group with 9 updates
Bumps the cargo-minor group with 9 updates:

| Package | From | To |
| --- | --- | --- |
| [clap](https://github.com/clap-rs/clap) | `4.5.15` | `4.5.16` |
| [bytemuck](https://github.com/Lokathor/bytemuck) | `1.16.3` | `1.17.0` |
| [serde](https://github.com/serde-rs/serde) | `1.0.207` | `1.0.208` |
| [tokio](https://github.com/tokio-rs/tokio) | `1.39.2` | `1.39.3` |
| [indexmap](https://github.com/indexmap-rs/indexmap) | `2.3.0` | `2.4.0` |
| [serde_json](https://github.com/serde-rs/json) | `1.0.124` | `1.0.125` |
| [fluent-templates](https://github.com/XAMPPRocky/fluent-templates) | `0.9.4` | `0.10.1` |
| [syn](https://github.com/dtolnay/syn) | `2.0.74` | `2.0.75` |
| [reqwest](https://github.com/seanmonstar/reqwest) | `0.12.5` | `0.12.6` |


Updates `clap` from 4.5.15 to 4.5.16
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.15...clap_complete-v4.5.16)

Updates `bytemuck` from 1.16.3 to 1.17.0
- [Changelog](https://github.com/Lokathor/bytemuck/blob/main/changelog.md)
- [Commits](https://github.com/Lokathor/bytemuck/compare/v1.16.3...v1.17.0)

Updates `serde` from 1.0.207 to 1.0.208
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.207...v1.0.208)

Updates `tokio` from 1.39.2 to 1.39.3
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.39.2...tokio-1.39.3)

Updates `indexmap` from 2.3.0 to 2.4.0
- [Changelog](https://github.com/indexmap-rs/indexmap/blob/master/RELEASES.md)
- [Commits](https://github.com/indexmap-rs/indexmap/compare/2.3.0...2.4.0)

Updates `serde_json` from 1.0.124 to 1.0.125
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.124...1.0.125)

Updates `fluent-templates` from 0.9.4 to 0.10.1
- [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.4...fluent-templates-v0.10.1)

Updates `syn` from 2.0.74 to 2.0.75
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](https://github.com/dtolnay/syn/compare/2.0.74...2.0.75)

Updates `reqwest` from 0.12.5 to 0.12.6
- [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.5...v0.12.6)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo-minor
- dependency-name: bytemuck
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cargo-minor
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo-minor
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo-minor
- dependency-name: indexmap
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cargo-minor
- dependency-name: serde_json
  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-minor
  dependency-group: cargo-minor
- dependency-name: syn
  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-08-20 00:58:16 +02:00
Crowdin Bot e1c05da618 chore: Update translations from Crowdin 2024-08-18 00:27:46 +02:00
Crowdin Bot d885697d9b chore: Update translations from Crowdin 2024-08-16 23:30:18 +02:00
Crowdin Bot dda4b57109 chore: Update translations from Crowdin 2024-08-15 23:52:34 +02:00
Crowdin Bot fea16a0893 chore: Update translations from Crowdin 2024-08-12 23:32:47 +02:00
TÖRÖK Attila 9239cb8a5d chore: A couple typo fixes in comments here and there 2024-08-12 21:36:51 +02:00
dependabot[bot] f51dcf8d55 build(deps): bump the cargo-minor group with 8 updates
Bumps the cargo-minor group with 8 updates:

| Package | From | To |
| --- | --- | --- |
| [clap](https://github.com/clap-rs/clap) | `4.5.13` | `4.5.15` |
| [serde](https://github.com/serde-rs/serde) | `1.0.204` | `1.0.206` |
| [linkme](https://github.com/dtolnay/linkme) | `0.3.27` | `0.3.28` |
| [serde_json](https://github.com/serde-rs/json) | `1.0.122` | `1.0.124` |
| [syn](https://github.com/dtolnay/syn) | `2.0.72` | `2.0.74` |
| [fontdb](https://github.com/RazrFalcon/fontdb) | `0.20.0` | `0.21.0` |
| [async-io](https://github.com/smol-rs/async-io) | `2.3.3` | `2.3.4` |
| [tempfile](https://github.com/Stebalien/tempfile) | `3.11.0` | `3.12.0` |


Updates `clap` from 4.5.13 to 4.5.15
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.13...v4.5.15)

Updates `serde` from 1.0.204 to 1.0.206
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.204...v1.0.206)

Updates `linkme` from 0.3.27 to 0.3.28
- [Release notes](https://github.com/dtolnay/linkme/releases)
- [Commits](https://github.com/dtolnay/linkme/compare/0.3.27...0.3.28)

Updates `serde_json` from 1.0.122 to 1.0.124
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.122...v1.0.124)

Updates `syn` from 2.0.72 to 2.0.74
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](https://github.com/dtolnay/syn/compare/2.0.72...2.0.74)

Updates `fontdb` from 0.20.0 to 0.21.0
- [Changelog](https://github.com/RazrFalcon/fontdb/blob/master/CHANGELOG.md)
- [Commits](https://github.com/RazrFalcon/fontdb/compare/v0.20.0...v0.21.0)

Updates `async-io` from 2.3.3 to 2.3.4
- [Release notes](https://github.com/smol-rs/async-io/releases)
- [Changelog](https://github.com/smol-rs/async-io/blob/master/CHANGELOG.md)
- [Commits](https://github.com/smol-rs/async-io/compare/v2.3.3...v2.3.4)

Updates `tempfile` from 3.11.0 to 3.12.0
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Stebalien/tempfile/commits)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo-minor
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo-minor
- dependency-name: linkme
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo-minor
- dependency-name: serde_json
  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: fontdb
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cargo-minor
- dependency-name: async-io
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo-minor
- dependency-name: tempfile
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cargo-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-12 16:45:39 +02:00
Crowdin Bot e8a4f2f21f chore: Update translations from Crowdin 2024-08-12 04:03:33 +02:00
Moulins 47030b4f5b core: remove UpdateContext's unused lifetime and reborrow method 2024-08-10 22:53:27 +02:00
Crowdin Bot a475845022 chore: Update translations from Crowdin 2024-08-10 02:08:16 +02:00
Crowdin Bot b9054c4f45 chore: Update translations from Crowdin 2024-08-09 00:01:46 +02:00
Tom Schuster c94004271b desktop: Enable LZMA feature by default 2024-08-07 20:08:42 +02:00
Nathan Adams 3357904d1e desktop: Change mime type of bundle + change text of ruffle feature description 2024-08-06 22:46:23 +02:00
Nathan Adams 579afd728e desktop: Make desktop shortcut optional 2024-08-06 22:46:23 +02:00
Nathan Adams 5df2636dee desktop: Add wix config and build msi as part of release 2024-08-06 22:46:23 +02:00
Nathan Adams dc3a3a9228 desktop: Fix version info embedding inside exe 2024-08-06 22:46:23 +02:00
Nathan Adams 32c7c22b50 desktop: Use a better ico that has an actual 256x256 icon, rather than a badly upscaled 64x64 one 2024-08-06 22:46:23 +02:00
TÖRÖK Attila 124310986f render,desktop: Switch to `wgpu` `v22.1.0` and latest `egui` without `winit` 0.30
I opted to enable dithering in egui, because why not.
2024-08-06 15:00:38 +02:00
TÖRÖK Attila 799b536766 render: Remove the `render_trace` feature
Since wgpu has (temporarily) removed its `trace` feature.
https://github.com/gfx-rs/wgpu/pull/5975
https://github.com/gfx-rs/wgpu/issues/5974
https://github.com/gfx-rs/wgpu/pull/5897
2024-08-06 15:00:38 +02:00
Crowdin Bot c7ecaf9ae4 chore: Update translations from Crowdin 2024-08-05 23:56:21 +02:00
Crowdin Bot 3b482b176e chore: Update translations from Crowdin 2024-08-05 13:37:33 +02:00
Kamil Jarosz 4d85307c47 desktop: Update screenshot URLs to point to a commit 2024-08-03 18:58:44 +02:00
Kamil Jarosz efe754cdcc desktop: Update screenshots 2024-08-03 18:00:57 +02:00
Kamil Jarosz 7ea0502d5c desktop: Update metadata 2024-08-03 18:00:57 +02:00
doomsdayrs 8f29f03923 Add freedesktop compliant appstream & metainfo 2024-08-03 18:00:57 +02:00
Kamil Jarosz 8b2ca7b9af desktop: Fix colors in app icon
This patch ensures that official Ruffle colors are used in the icon.
2024-08-03 10:49:41 +02:00
Kamil Jarosz cdc9f10ff2 desktop: Rename logo.svg to icon.svg 2024-08-03 10:49:41 +02:00
Kamil Jarosz c54b1b5b4a desktop: Add View menu 2024-07-30 23:42:39 +02:00
Kamil Jarosz d9d644122b desktop: Add tooltips for scale modes 2024-07-30 23:42:39 +02:00
Kamil Jarosz fae55cd702 desktop: Update translations for scale modes 2024-07-30 23:42:39 +02:00
Kamil Jarosz 0c1c16671b desktop: Add theme option to preferences 2024-07-30 19:09:51 +02:00
Kamil Jarosz 4ad371da95 desktop: Add watcher for ThemePreference change 2024-07-30 19:09:51 +02:00
Kamil Jarosz 52067658f8 desktop: Add ThemePreference to preferences 2024-07-30 19:09:51 +02:00
Kamil Jarosz 54cc5fe107 desktop: Add ThemePreference enum
ThemePreference represents the user's preference over Ruffle's theme.
2024-07-30 19:09:51 +02:00
Kamil Jarosz 23c27420bd desktop: Remove RuffleEvent::ThemeChanged
This event is no longer needed as theme is now changed synchronously.
2024-07-30 19:09:51 +02:00
Kamil Jarosz 9163de61b8 desktop: Add ThemeController
ThemeController is responsible for managing Ruffle's theme.
It takes into account the user preference, integrates with D-Bus and
handles platform-specific differences.
2024-07-30 19:09:51 +02:00
Kamil Jarosz 21d7746aec desktop: Use Arc for Window
This allows sending Windows between threads.
2024-07-30 19:09:51 +02:00