Commit Graph

613 Commits

Author SHA1 Message Date
TÖRÖK Attila 76da9621c9 desktop: Add a preference to enable the OpenH264 decoder 2024-05-30 20:22:33 +02:00
Nathan Adams 381b0897c9 avm2: Implement ExternalInterface.objectID 2024-05-26 23:00:33 +02:00
sleepycatcoding 3c944e35c7 desktop/frontend-utils: Show filename or bundle name in recent list
This should lead to shorter recent entries in the GUI by only showing the filename or bundle name (depending on which was opened).

If name field is missing from `recents.toml`, which would be the case with files created by previous Ruffle versions, it falls back to the filename from the URL.
2024-05-26 00:37:35 +03:00
Marco Bartoli e1f014ea85
desktop: Add HTTP Referer and Cookie (#16424) 2024-05-24 22:07:36 +00:00
TÖRÖK Attila 331d1789da render,core,desktop: Port to `wgpu` `v0.20.0`, switch to `egui` `master` 2024-05-17 01:19:01 +03:00
sleepycatcoding ef1f6ce29b desktop: Use player options from bundle if available
These are merged with options from Open Advanced.
2024-05-16 01:14:42 +03:00
sleepycatcoding be8cbd64d6 core/render/web: Make FromStr exclusively for snake_case 2024-05-16 01:14:42 +03:00
Nathan Adams e31bba081e frontend-utils: Move player_options up from bundle 2024-05-10 19:51:37 +02:00
Nathan Adams 58a0f03bdf desktop: default_player_options -> default_launch_options 2024-05-10 19:51:37 +02:00
Nathan Adams 313ee5dd27 frontend-utils: Extracted out a PlayerOptions struct from desktop 2024-05-10 19:51:37 +02:00
Nathan Adams f748dd747d desktop: Made upgrade_to_https Option 2024-05-10 19:51:37 +02:00
Nathan Adams 1771e09e5e desktop: Made dummy_external_interface Option 2024-05-10 19:51:37 +02:00
Nathan Adams 34ec60aaa2 desktop: Made player_runtime Option and added to Open Advanced menu 2024-05-10 19:51:37 +02:00
Nathan Adams d3b3119c9d desktop: Made player_version Option 2024-05-10 19:51:37 +02:00
Nathan Adams 09e5339fab desktop: Made letterbox Option 2024-05-10 19:51:37 +02:00
Nathan Adams 446f567e87 desktop: Made load_behavior Option 2024-05-10 19:51:37 +02:00
Nathan Adams 230c895c92 desktop: Made scale and force_scale Option 2024-05-10 19:51:37 +02:00
Nathan Adams 55161f431c desktop: Made align and force_align Option 2024-05-10 19:51:37 +02:00
Nathan Adams 22a2bf56a2 desktop: Made quality Option 2024-05-10 19:51:37 +02:00
Nathan Adams 86c2015524 desktop: Made tcp_connections Option 2024-05-10 19:51:37 +02:00
Nathan Adams 9a74da2782 desktop: Made max_execution_duration Option<Duration>, where None is infinite 2024-05-10 19:51:37 +02:00
Nathan Adams 34c994a28f desktop: Made OptionalUrlField an OptionalField<UrlField> 2024-05-10 19:51:37 +02:00
Nathan Adams 9d6d945ca4 desktop: Rename PlayerOptions to LaunchOptions 2024-05-10 19:51:37 +02:00
sleepycatcoding 059abb17ce desktop: Add a way to clear recently played files 2024-05-09 11:10:44 +02:00
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
Colin 12bc0b7e71
desktop: Skip waiting for resize event after resize fails 2024-05-06 09:44:35 +00: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
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