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
renovate[bot]
3f9f19b7ac
fix(deps): update rust dependencies
2024-03-14 16:45:29 +01:00
Colin Kinloch
f472bbc701
desktop: Use egui-winit clipboard
...
The `egui-winit` clipboard implementation provides a nice interface to
`smithay-clipboard` which correctly implements the core wayland
selection protocol. It uses `arboard` as a fallback for other platforms.
2024-03-13 23:30:15 +01:00
renovate[bot]
8d193f8944
fix(deps): update rust crate winit to 0.29.15
2024-03-13 23:07:24 +01:00
Crowdin Bot
a60d781fb4
chore: Update translations from Crowdin
2024-03-13 22:44:32 +01:00
Crowdin Bot
1a66916c6c
chore: Update translations from Crowdin
2024-03-13 08:06:34 +01:00
Colin Kinloch
787b6f5dfb
desktop: Make clipboard support optional
...
On wayland ruffle only supports `wlr-data-control-unstable-v1` which is
not intended to be supported by all compositors.
2024-03-12 20:32:23 +01:00
TÖRÖK Attila
aa834e6530
desktop: Turn off default features of `image`
2024-03-12 00:24:59 +01:00
Nathan Adams
eaab481dcc
desktop: Default RUST_LOG to warn,ruffle=info,avm_trace=info
2024-03-11 21:28:25 +01:00
Nathan Adams
a5fe7e1c81
desktop: Add log filename pattern (e.g. with timestamp) to preferences
2024-03-11 21:28:25 +01:00
Nathan Adams
6585ffdd28
desktop: Log to ruffle.log in addition to stdout
2024-03-11 21:28:25 +01:00
Daniel Williams
4927baf290
desktop: URL-decode the window title ( fix #15454 )
2024-03-11 16:54:56 +00:00
Crowdin Bot
60d7b14c59
chore: Update translations from Crowdin
2024-03-08 22:19:45 +01:00
Nathan Adams
6971a1aa5e
desktop: Persist volume to disk
2024-03-07 20:38:06 +01:00
Nathan Adams
e18055d351
desktop: Don't translate opengl, metal etc
2024-03-07 20:38:06 +01:00
Crowdin Bot
6fc7a1beaf
chore: Update translations from Crowdin
2024-03-07 11:39:50 +01:00
renovate[bot]
a916369f21
fix(deps): update rust dependencies
2024-03-06 21:58:40 +01:00
renovate[bot]
7201efdec1
fix(deps): update rust crate winit to 0.29.14
2024-03-06 16:55:52 +01:00
Kamil Jarosz
3d04971ae4
desktop: Make WinitAsyncExecutor thread-safe and prevent deadlocks
...
Not thread-safe WinitAsyncExecutor was wrapped with a Mutex, making
any access to the instance exclusive. It was problematic, because
when a task was awoken from within another task, it resulted in
a deadlock, because the mutex was not reentrant.
This patch makes WinitAsyncExecutor thread-safe and changes how tasks
are locked. Specifically, instead of locking all tasks, only
the currently executed task is being locked. This allows waking any
other task from within it.
2024-03-05 23:14:08 +01:00
Crowdin Bot
de8f63ec88
chore: Update translations from Crowdin
2024-03-05 22:56:34 +01:00
Tom Schuster
587fdff1ac
chore: Update `cpal` to `0.15.3`
...
This reduces the number of duplicate `nix` versions by one.
2024-03-05 14:24:29 +01:00
Nathan Adams
571f60abff
desktop: Document preferences a little
2024-03-05 00:02:27 +01:00
Nathan Adams
c713f56ac0
desktop: Allow changing the audio output device
2024-03-05 00:02:27 +01:00
Nathan Adams
09dfa6427e
desktop: Allow changing the language in Preferences
2024-03-05 00:02:27 +01:00
Nathan Adams
baa0c5c7cd
desktop: Use custom (de)serialization for preferences, not serde
2024-03-05 00:02:27 +01:00
Nathan Adams
ed56c70b55
desktop: Only show possibly-available backends for the current system
2024-03-05 00:02:27 +01:00
Nathan Adams
d62963c2d4
desktop: Rename config.rs to preferences.rs
2024-03-05 00:02:27 +01:00
Nathan Adams
8b589a9620
desktop: If the preferred graphics backend is unavailable, pick another one and warn
2024-03-05 00:02:27 +01:00
Nathan Adams
b9c6db1cb9
desktop: Add preferences dialog, allow setting of graphics backend/power
2024-03-05 00:02:27 +01:00
Nathan Adams
8df7efb662
desktop: Load graphics preferences from disk
2024-03-05 00:02:27 +01:00
Nathan Adams
acd01e2eb0
desktop: Add GlobalPreferences struct, prep for storing preferences to disk
2024-03-05 00:02:27 +01:00
Nathan Adams
6136d14179
desktop: Add --save-directory
2024-03-05 00:02:27 +01:00
Nathan Adams
145275af86
desktop: Remove backwards compatibility code from 3 years ago
2024-03-05 00:02:27 +01:00
renovate[bot]
fae1c458ec
fix(deps): update rust dependencies
2024-03-04 22:18:19 +01:00
TÖRÖK Attila
755fa6cded
chore: Switch `fluent-templates` back from `master` to `v0.9.0`
2024-03-04 11:05:08 +01:00
TÖRÖK Attila
9e8c406cd9
desktop: Introduce a `TaskKey` type for the slotmap in `executor.rs`
2024-03-03 21:18:39 +01:00
TÖRÖK Attila
5b920b8447
chore: Deduplicate the `fluent-templates` dependency
2024-03-02 19:54:00 +01:00
TÖRÖK Attila
55773f0205
chore: Replace `generational-arena` with `slotmap`
2024-03-02 19:42:11 +01:00
renovate[bot]
90bf13ebd2
fix(deps): update rust crate winit to 0.29.13
2024-03-02 19:17:37 +01:00
Kamil Jarosz
a0f2941a2e
desktop: Update winit to 0.29.12
...
This fixes critical crashes on X11
2024-03-01 12:10:37 +01:00
Crowdin Bot
4e87d34068
chore: Update translations from Crowdin
2024-03-01 11:15:11 +01:00
Tom Schuster
a03355458f
desktop: Add gamepad support using gilrs
2024-02-28 21:21:09 +01:00
Kamil Jarosz
9bc6700531
desktop: Get rid of busy waiting in connect_socket
...
This patch makes connect_socket await on recv
instead of spin and wake the CPU each 10 milliseconds.
2024-02-28 19:42:54 +01:00
Kamil Jarosz
f5d52272ca
desktop: Flush pending data before socket closes
...
This patch makes sure that any pending data is sent before
the socket closes. Without this fix Ruffle ignored the data sent
right before calling socket.close.
2024-02-28 19:42:54 +01:00
Kamil Jarosz
f6907a5c73
desktop: Add tests for connect_socket
...
Add tests for ExternalNavigatorBackend::connect_socket.
2024-02-28 19:42:54 +01:00
Kamil Jarosz
2535b926a7
desktop: Add WinitFutureSpawner
...
This improves testability, decouples ExternalNavigatorBackend
from the event loop, and improves readability.
Instead of passing a channel to send the future to and an event loop
to poll, a WinitFutureSpawner is created which performs the
action of spawning a future and polling the event loop.
2024-02-28 19:42:54 +01:00
Kamil Jarosz
cc8b0aa5dd
core: Use async channels in NavigatorBackend
...
This has several advantages:
1. it allows using async variants of send and recv,
2. it adds consistency as until now Receiver was async,
and Sender was not.
2024-02-28 19:42:54 +01:00