Crowdin Bot
942842c47a
chore: Update translations from Crowdin
2023-06-14 12:13:18 +02:00
Crowdin Bot
834297f110
chore: Update translations from Crowdin
2023-06-12 12:28:05 +02:00
Moulins
da6e2a96bf
desktop: properly populate base and proxy URL fields from option struct
...
Fixes #11461
2023-06-11 12:46:13 -05:00
Crowdin Bot
e8925832a1
chore: Update translations from Crowdin
2023-06-10 10:09:19 +02:00
AllinolCP
44ff49aa53
core: Fix status code implementation for AVM1 and implement HTTPStatusEvent.HTTP_STATUS for avm2 ( #11360 )
2023-06-10 03:06:26 +00:00
renovate[bot]
a621472336
chore(deps): lock file maintenance rust dependencies
2023-06-09 20:17:25 +03:00
doomsdayrs
16210cbcf6
desktop: Add reverse engineered logo svg
...
There was no source file for the various logos.
I used the icon file provided by @nosamu and used existing pngs to recreate the style of the logo.
2023-06-09 18:21:56 +02:00
Nathan Adams
6ec01f3ecb
desktop: Add dummy External Interface option
2023-06-09 13:03:46 +02:00
Aaron Hill
66f3198f50
desktop/web: Increase stack size on Windows and wasm
...
This works around a stack overflow with Bloonts Tower Defense 5,
where we have over 400 stack frames at once due to deep
`construct_frame` recursion in `goto` execution.
2023-06-08 22:17:27 -05:00
Crowdin Bot
650f872b19
chore: Update translations from Crowdin
2023-06-09 01:51:23 +02:00
Moulins
fcd9935a81
desktop: Add `File > Reload` menu command
...
Also remove redundant `has_movie` parameter in `RuffleGui::update`
2023-06-09 00:42:03 +02:00
Moulins
c1a3caefea
desktop: point `Open Advanced`'s file dialog to the current file's directory
2023-06-09 00:42:03 +02:00
Moulins
d7a056df8e
desktop: keep options in-sync when using `Open` or drag-and-dropping a file
2023-06-09 00:42:03 +02:00
Moulins
ac69926b5e
desktop: add `Ctrl+Shift+O` shortcut for `Open Advanced`
2023-06-09 00:42:03 +02:00
Moulins
08fe4a4c94
desktop: Add button to clear all movie params. in `Open Advanced`
2023-06-09 00:42:03 +02:00
Moulins
5e1716d7e8
desktop: remember `Open Advanced` options across movie loads
...
Makes opening the same movie repeatedly less tedious.
Note that `Open` still ignore this and will use the default options
provided on the command-line.
2023-06-09 00:42:03 +02:00
Crowdin Bot
93f5869005
chore: Update translations from Crowdin
2023-06-08 00:57:49 +02:00
Crowdin Bot
808deaa378
chore: Update translations from Crowdin
2023-06-05 09:00:51 +02:00
renovate[bot]
f1fe998869
chore(deps): lock file maintenance rust dependencies
2023-06-04 22:53:18 -05:00
Crowdin Bot
9767ffca96
chore: Update translations from Crowdin
2023-06-03 15:58:24 +02:00
Nathan Adams
16ce9aa437
core: Add debug rects to debugger
2023-06-03 09:11:06 +02:00
Nathan Adams
e12e2a2e54
core: Initial Debug UI
2023-06-03 09:11:06 +02:00
Adrian Wielgosik
c8fc810fa6
desktop: rewrite AS3 warning popup in egui
2023-05-31 23:21:30 +02:00
Adrian Wielgosik
5d3544ddc7
desktop: Simple hack to stop ignoring egui redraws
2023-05-30 23:55:31 +02:00
Crowdin Bot
6dc3743f4b
chore: Update translations from Crowdin
2023-05-30 23:21:28 +02:00
tinaun
ff518b9deb
use light menus on light theme & detect changes
2023-05-30 23:07:09 +02:00
Adrian Wielgosik
8d6c08df4d
Desktop: Stop busy looping when idling
2023-05-29 22:51:40 +02:00
Nathan Adams
d99415c644
desktop: Don't use winit workaround for File->Open, to avoid unresponsive ruffle in that case alone
2023-05-29 22:12:56 +02:00
Nathan Adams
59d917b15a
desktop: Default open the Advanced Open dialog
2023-05-29 22:12:56 +02:00
Nathan Adams
0c10e2a7b7
desktop: Add advanced open dialog
2023-05-29 22:12:56 +02:00
Nathan Adams
9e9ee361c4
desktop: Pass PlayerOptions when loading swfs, defaulting to the CLI args
2023-05-29 22:12:56 +02:00
Nathan Adams
a86aff07a6
desktop: Use new PlayerOptions struct for player building, not CLI args directly
2023-05-29 22:12:56 +02:00
Nathan Adams
558fea2a7c
desktop: Add PlayerController:handle_event that also checks for player pause status
2023-05-29 21:23:00 +02:00
Nathan Adams
101277a32b
desktop: Add suspend/resume buttons
2023-05-29 21:23:00 +02:00
renovate[bot]
847dece735
chore(deps): lock file maintenance rust dependencies
2023-05-28 23:54:33 -05:00
Aaron Hill
14c6d1d959
avm2: Implement URLRequest.requestHeaders
...
These are directly set on the underlying navigator's HTTP
request type, and get printed out in our test navigator backend.
No validation of the header names is performed - on web, this will be
enforced by the browser.
2023-05-28 12:07:37 -05:00
Crowdin Bot
e98230c988
chore: Update translations from Crowdin
2023-05-27 00:34:44 +02:00
TÖRÖK Attila
6d76e9669c
nit: Github -> GitHub
2023-05-25 10:40:47 +02:00
Nathan Adams
defe4d8308
desktop: Support dropping swfs onto the player
2023-05-24 23:50:48 +02:00
Nathan Adams
3e35e7887a
desktop: Add a few comments about Player related structs
2023-05-24 23:50:48 +02:00
Nathan Adams
ce714b92b6
desktop: When git info is unknown, don't show it
2023-05-24 23:50:48 +02:00
Nathan Adams
cd54dc3bc7
desktop: Fix crash on minimize
2023-05-24 23:50:48 +02:00
Nathan Adams
8acd3e653a
desktop: Use scale factor to determine menu height
2023-05-24 23:50:48 +02:00
Nathan Adams
d8bfb003c5
desktop: Switch to egui 0.22.0
2023-05-24 23:50:48 +02:00
Nathan Adams
67370b0ced
desktop: Revert attempts to fix x11 crash and stop relying on inner_size
2023-05-24 23:50:48 +02:00
Nathan Adams
cb87dfed7f
desktop: Move backend code into a backends mod
2023-05-24 23:50:48 +02:00
Nathan Adams
12e2758464
desktop: Localise texts
2023-05-24 23:50:48 +02:00
Nathan Adams
4600dc5c78
desktop: Forcefully update egui screen_rect to attempt to solve x11 crash
2023-05-24 23:50:48 +02:00
Nathan Adams
2ab2faa24d
desktop: Don't recreate surface on resize events, but when drawing and the size is different
2023-05-24 23:50:48 +02:00
Nathan Adams
5c22bcddc6
desktop: Add more links to help menu
2023-05-24 23:50:48 +02:00
Nathan Adams
1dbfa19b04
desktop: Configure the surface immediately
2023-05-24 23:50:48 +02:00
Nathan Adams
d11df54291
desktop: Hide menu in fullscreen
2023-05-24 23:50:48 +02:00
Nathan Adams
ee59bd006b
desktop: Add close movie menu item
2023-05-24 23:50:48 +02:00
Nathan Adams
3005158311
desktop: Always show the menu bar
2023-05-24 23:50:48 +02:00
Nathan Adams
7d7edec08c
desktop: Add much more info to About dialog
2023-05-24 23:50:48 +02:00
Nathan Adams
01e33d82c9
desktop: Use vergen to get version info
2023-05-24 23:50:48 +02:00
Nathan Adams
f6d0fcf822
desktop: Don't allow resizing of about and open-url dialogs
2023-05-24 23:50:48 +02:00
Nathan Adams
e97d32dbc7
desktop: Recreate Player for each movie, and don't start with a Player unless a movie has been specified
2023-05-24 23:50:48 +02:00
Nathan Adams
df51531de6
desktop: Move Player creation into PlayerController::new
2023-05-24 23:50:48 +02:00
Nathan Adams
6257c1218f
desktop: Make PlayerController.get() return an Option, and handle that
2023-05-24 23:50:48 +02:00
Nathan Adams
2de0b5e7e0
desktop: Wrap Player in a new PlayerController
2023-05-24 23:50:48 +02:00
Nathan Adams
419330ecd5
desktop: Import utils nicer in app.rs
2023-05-24 23:50:48 +02:00
Nathan Adams
73b8f80f57
desktop: Move parse_url and pick_file to util.rs
2023-05-24 23:50:48 +02:00
Nathan Adams
34b1c671a8
desktop: Move --timedemo stuff to time_demo.rs
2023-05-24 23:50:48 +02:00
Nathan Adams
91db9b1f55
desktop: Moved winit_to_ruffle_text_control, winit_to_ruffle_key_code, winit_key_to_char and get_screen_size to util.rs
2023-05-24 23:50:48 +02:00
Nathan Adams
d69ffd3a46
desktop: Moved App struct to app.rs
2023-05-24 23:50:48 +02:00
Nathan Adams
ff5377a8a9
desktop: Moved trace_path and parameters to Opt
2023-05-24 23:50:48 +02:00
Nathan Adams
f54685d656
desktop: Move Opt into cli.rs
2023-05-24 23:50:48 +02:00
Nathan Adams
998302aa77
desktop: Made movie optional when rendering
2023-05-24 23:50:48 +02:00
Nathan Adams
a3d3230baf
desktop: Turn MovieView into a custom render target
2023-05-24 23:50:48 +02:00
Nathan Adams
67fed1159c
desktop: Refactor gui controller into its own file
2023-05-24 23:50:48 +02:00
Nathan Adams
9e17acdb2a
desktop: Refactor movie blitting into its own file
2023-05-24 23:50:48 +02:00
Nathan Adams
b9322ba93a
desktop: Render game separately to UI, blit both onto surface
2023-05-24 23:50:48 +02:00
Mike Welsh
5bf43f9025
desktop: Add Open URL option
2023-05-24 23:50:48 +02:00
Mike Welsh
e5a874065e
desktop: Switch to loaded state immediately when no SWF running
2023-05-24 23:50:48 +02:00
Mike Welsh
cac83320e4
desktop: Check if egui requests a redraw
2023-05-24 23:50:48 +02:00
Mike Welsh
83c3970003
desktop: Add About screen
2023-05-24 23:50:48 +02:00
Mike Welsh
3e150360a2
desktop: Don't show file dialog on startup
2023-05-24 23:50:48 +02:00
Mike Welsh
5efcb90293
desktop: Show menubar by holding Esc
2023-05-24 23:50:48 +02:00
Mike Welsh
cb8b8d264c
desktop: Implement Open menu option
2023-05-24 23:50:48 +02:00
Mike Welsh
3f878cc869
desktop: Take ownership of `EventLoop` on `App::run`
...
Change `App::event_loop` to an `Option` that will be taken on
`App::run` so that `App::run` can continue to call methods on
`self` later.
This is a little awkward, and better might be to remove `App::new`
and make `App:run` return `Result<!, Error>,` but `!` types are
experimental.
2023-05-24 23:50:48 +02:00
Mike Welsh
c00b4bf55c
desktop: Initial GUI work
2023-05-24 23:50:48 +02:00
Mike Welsh
ef1125f456
desktop: Add egui crates
2023-05-24 23:50:48 +02:00
nosamu
91330d4a9f
desktop: Fire both KeyDown and TextControl events
...
Fixup for #11059 , which broke left/right arrows on desktop
2023-05-22 21:24:35 +02:00
renovate[bot]
5d2477fe98
chore(deps): lock file maintenance rust dependencies
2023-05-22 19:12:08 +03:00
nosamu
7dfc36c6fc
web: Support pasting from clipboard
2023-05-21 15:26:42 +02:00
nosamu
ee956927b7
core: Fix TextField.maxChars handling and address other reviews
2023-05-21 15:26:42 +02:00
nosamu
4e579b7e68
core: Move left/right arrow handling to `text_control_input`
2023-05-21 15:26:42 +02:00
nosamu
0dbb4c46e4
core: Move `Delete` and `Backspace` handling to `text_control_input()`
...
Co-authored-by: jmckiern <jmckiern@tcd.ie>
2023-05-21 15:26:42 +02:00
nosamu
fab72ac01c
core: Implement handling of text control input
...
Co-authored-by: jmckiern <jmckiern@tcd.ie>
2023-05-21 15:26:42 +02:00
jmckiern
67d74047a9
core: Add clipboard_content getter
2023-05-21 15:26:42 +02:00
Rasmus M
d15d64e86e
desktop: Add volume option to CLI
2023-05-09 06:29:46 +00:00
Nathan Adams
9c2e77c88f
desktop: Use system preferred language
2023-05-09 00:06:49 +02:00
Nathan Adams
229c301e18
core: Add i18n module using Fluent
2023-05-09 00:06:49 +02:00
Kornelius Rohrschneider
fe56f8d212
core: Implement suggested changes in PR to documentation & code
...
- Documentation has been added, improved and clarified.
- The code of a string concatenation has been improved.
2023-05-02 17:13:42 +02:00
Kornelius Rohrschneider
27738a492e
web: Implement suggested changes in PR to navigate_to_url handling
...
The suggested changes to the navigate_to_url handling in the feedback to
the pull request have been implemented.
Therefore, this commit consists of multiple smaller changes:
1. The allow_javascript_calls variable has been removed (as a CLI
argument and in the navigator). Javascript calls are now always denied
on desktop. This is because setting the argument was useless; no
javascript was executed in any case, at most, just a browser tab opened.
Therefore, it makes no sense to include this option.
2. The NavigateWebsiteHandlingMode default value has been provisionally
changed from Confirm to Allow. In the future (after a GUI toolkit has
been added), the default confirmation windows should include a "Save
this preference" checkbox.
3. The NetworkingRestrictionMode enum has been renamed to
NetworkingAccessMode since the previous naming was counter-intuitive.
4. The NavigateWebsiteHandlingMode enum (and variables related to it)
have been renamed to OpenURLMode to simplify the name.
5. The documentation has been improved.
2023-05-02 17:13:42 +02:00
Kornelius Rohrschneider
44ef22f646
core: Add navigate_to_url call configuration options
...
New configuration options (changing the navigate_to_url call handling)
have been added. The default behaviour has been changed as well.
A NavigateWebsiteHandlingMode enum has been added to Ruffle (in Rust and
Typescript). It contains the values "Allow", "Confirm" and "Deny" and
describes how navigate_to_url website calls should be handled. Allow
means that all website calls are allowed, Confirm means that a
confirmation window opens with each website call and Deny means that all
website calls are denied.
A respective navigate_website_handling_mode variable has been added to
the desktop CLI and to the JS config. The default value is "Confirm" in
each. The variable is given to the navigator (ExternalNavigatorBackend
or WebNavigatorBackend, depending on the platform) and is saved in it.
On each navigate_to_url website call, the respective navigator is now
checking navigate_website_handling_mode and acts correspondingly (allows
it, opens a confirmation window or denies it).
This changes the default behaviour of Ruffle from allowing all website
calls to opening a confirmation window with each website call.
On Safari, the confirm window can cause the background music to stop,
but this seems to be an issue with Safari.
Closes #838 .
Additionally, an allow_javascript_calls variable (which defaults to
false) has been added to the desktop CLI. The variable is given to the
desktop navigator and is saved in it.
If a navigate_to_url javascript call is executed on desktop, the
navigator is now checking allow_javascript_calls and acts
correspondingly (allows it or denies it).
This changes the default behaviour of Ruffle on desktop to not allowing
javascript calls.
Closes #9316 .
2023-05-02 17:13:42 +02:00
Toad06
45795c9d24
desktop/web: Add a mouse enter event
2023-04-25 18:01:49 +02:00
relrelb
ff7c458739
core: Accept borrowed strings in `NavigatorBackend::navigate_to_url`
...
This avoids some unnecessary clones.
2023-04-24 22:06:47 +03:00
nosamu
3cde3482f4
core: Add frame rate config option
2023-04-24 14:01:37 +02:00
renovate[bot]
3b3c08a354
chore(deps): lock file maintenance rust dependencies
2023-04-24 01:22:07 +02:00
nosamu
6e8929e6d0
desktop: Handle relative URLs in navigate_to_url
...
Fixes #10773
2023-04-22 13:57:27 +02:00
nosamu
8a15eb3c38
desktop: Fix loading relative URLs when movie URL ends in empty path segment
2023-04-05 11:42:43 -07:00
nosamu
460f0811b7
desktop: Add base URL option
2023-04-05 11:25:49 -07:00
nosamu
da41f4a966
desktop: Add max execution duration option
2023-04-05 11:25:49 -07:00
renovate[bot]
cd3ad90d61
chore(deps): lock file maintenance rust dependencies
2023-04-02 22:00:49 -07:00
renovate[bot]
4eaf1b21e7
chore(deps): update rust crate embed-resource to v2
...
Co-authored-by: Mike Welsh <mwelsh@gmail.com>
2023-04-02 21:02:33 -07:00
renovate[bot]
5052e942b5
chore(deps): lock file maintenance rust dependencies
2023-03-28 09:31:15 +03:00
renovate[bot]
7c280fc171
fix(deps): update rust dependencies
...
`syn` breaking changes:
* `Method` renamed to `Fn`
* `extra-traits` feature necessary for `Debug` impls
2023-03-20 06:35:08 +01:00
renovate[bot]
f6f646a756
chore(deps): lock file maintenance rust dependencies
2023-03-19 19:45:30 -07:00
Nathan Adams
1bb8515d85
chore: Update avm2 compatibility warning to be less severe
2023-03-15 15:30:25 -07:00
Aaron Hill
66aad3ebc5
core: Use a separate matrix for stage alignment and HiDPI scaling
...
The stage alignment settings viewport_scale_factor should *not* be
applied to `Stage.transform.matrix`, which is only ever changed
as a result of explicit modification from ActionScript. Instead,
alignment and scaling are performed a separate step, which is
transparent to ActionScript.
I've implemented this through a new `viewport_matrix` field,
which is used during stage rendering and mouse coordinate
transformation.
This makes Stage3D instances properly scale - previously, they
would render unscaled. The linux standalone Flash Player doesn't
seem to use HiDPI mode, so I didn't realize that this was a bug
until now.
In the process of implementing this, I discovered and fixed a bug
with how we handle changing the viewport size under winit.
Calling `self.window.set_inner_size` does not immediately take
effect (at least on X11) - calling `self.window.inner_size()`
will report the old size until the next resize event.
Since build our Stage matrices from `self.window.inner_size()`
(and start running the SWF) immediately after `RuffleEvent::OnMetadata`,
we would run a few SWF frames with an incorrect viewport size. This
is visible to SWFs that have the scale mode set to "noScale", and
could break SWFs that expect the initial viewport size to be
the movie size. I've fixed this by delaying SWF execution until
we get a Resize event (if `self.window.inner_size()` does not
immediately report the size we set).
2023-03-13 02:02:40 -05:00
renovate[bot]
130144a76d
fix(deps): update rust dependencies
2023-03-05 20:43:46 -06:00
Aaron Hill
830d5198f2
desktop: Actually use 'quality' flag
...
This was being completely ignored
2023-03-04 18:45:25 -06:00
Aria Aghaei
352ed20d34
desktop: Handle errors before detaching from console on Windows CLI ( #9781 )
...
Co-authored-by: relrelb <relrelbachar@gmail.com>
2023-03-04 12:33:26 +00:00
Nathan Adams
ef42a391f5
core: Add default_compatibility_rules as a feature, and document when we add rules
2023-03-01 21:25:19 +01:00
Daniel Jacobs
584cb4c1cf
web/ui: Open the virtual keyboard when clicking an editable EditText
2023-03-01 08:15:58 +02:00
relrelb
b3fd1a47c6
core: Require `SwfMovie::url`
2023-02-28 19:05:20 +02:00
relrelb
b3d45bc7b0
desktop: Avoid deprecated `KeyboardInput::modifiers`
...
As suggested, use `WindowEvent::ModifiersChanged` instead.
2023-02-27 13:02:58 +02:00
renovate[bot]
71e24eedba
fix(deps): update rust dependencies
2023-02-27 11:48:53 +02:00
Aria Aghaei
44149614c7
desktop: min and max window size for ruffle ( #9608 )
...
Co-authored-by: Swag Gaming <memail@cock.li>
Co-authored-by: Aria Aghaei <ariaaghaei@gmail.com>
Co-authored-by: relrelb <relrelbachar@gmail.com>
2023-02-24 11:04:44 +00:00
nosamu
70bf0a816a
core: Add options to set and force stage scale mode
2023-02-22 12:13:20 +02:00
nosamu
15435c6bea
desktop: Support `file` URLs
2023-02-16 19:46:16 +02:00
renovate[bot]
43628fdef5
fix(deps): update rust crate winit to 0.28.1
2023-02-16 18:11:12 +02:00
nosamu
e68cb433b2
desktop: Support flashvars passed via URL parameters
2023-02-14 23:05:22 +01:00
renovate[bot]
a27bd66b58
fix(deps): update rust dependency patches
2023-02-13 04:59:31 +01:00
Aaron Hill
c597f9f996
core: Fix Clippy lints on nightly
2023-02-13 03:38:54 +01:00
nosamu
1a65a0942c
desktop: Add --letterbox option
2023-02-09 23:43:25 -08:00
Nathan Adams
68761608fc
desktop: Add --quality option
2023-02-06 16:08:04 +01:00
Nathan Adams
6e224a7ba0
desktop: Don't record memory stacks by default
2023-02-05 18:02:19 +01:00
nosamu
12c67d5068
desktop: Improve --help messages
2023-02-03 21:17:56 +01:00
renovate[bot]
caaf6d5c87
fix(deps): update rust dependencies
2023-01-31 09:39:42 -06:00
Aaron Hill
e91f586523
desktop: Bump cpal to 0.15.0
...
`build_output_stream` now takes in a `timeout` parameter - I've
passed in `None` to keep the current behavior.
cpal addded lots of new `SampleFormat` enum values. For now, I'm
just returning an error if we encounter any of them - a quick test
showed that desktop audio is still working on my Linux machine.
2023-01-31 16:15:16 +01:00
p0008874
9bdc02e3a7
Update main.rs
2023-01-28 12:43:21 -07:00
p0008874
520248bc1d
Add detail on dont_warn_on_unsupported_content
2023-01-28 12:43:21 -07:00
renovate[bot]
175d131986
fix(deps): update rust crate webbrowser to 0.8.6
2023-01-27 01:00:30 +01:00
CUB3D
f559fe0077
desktop: Add key code for Numpad Enter
2023-01-24 22:12:32 -06:00
CUB3D
92d1e81a16
desktop: Add keycodes for Tab, Return and Backspace
2023-01-24 22:12:32 -06:00
renovate[bot]
8b6eef1715
fix(deps): update rust dependencies
2023-01-24 20:10:40 -06:00
Nathan Adams
f83c573734
desktop: Make crash headings ### instead of #
2023-01-19 00:50:56 +01:00
Nathan Adams
e02b19ba86
desktop: Reorder extra info in crash report
2023-01-19 00:50:56 +01:00
Nathan Adams
a986cc05fe
desktop: Clippy lint
2023-01-19 00:50:56 +01:00
Nathan Adams
e27fdda3dc
desktop: Add version info to crash report
2023-01-19 00:50:56 +01:00
Nathan Adams
2189d19324
desktop: Also include avm2 stacktrace in panic report
2023-01-19 00:50:56 +01:00
Nathan Adams
3c8f5b41cc
chore: Added platform dropdown to crash report template
2023-01-19 00:50:56 +01:00
Nathan Adams
ea37d0a3ad
desktop: Implement crash report dialog when a panic happens
2023-01-19 00:50:56 +01:00
nosamu
c16705ceee
desktop: Add `.spl` to file dialog filter
2023-01-16 18:05:36 +01:00
Nathan Adams
047bfc5700
desktop: Don't allow -p for --player_version as it conflicts with --power
2023-01-10 22:24:48 +01:00
CUB3D
7254d3c110
chore: Fmt
2023-01-10 13:13:30 +01:00
CUB3D
8db909a7d4
desktop: Allow specifying player version
2023-01-10 13:13:30 +01:00
Nathan Adams
1f7a5f44f9
desktop: Disallow unwrap() and unwrap_err() in desktop crate
2023-01-10 11:10:46 +01:00
Nathan Adams
817f51c18e
desktop: Removed unwraps in build.rs
2023-01-10 11:10:46 +01:00
Nathan Adams
fbe1630a4b
desktop: Removed unwraps in ui backend
2023-01-10 11:10:46 +01:00
Nathan Adams
f812030f70
desktop: Removed unwrap and replaced with ? in storage backend
2023-01-10 11:10:46 +01:00
Nathan Adams
ee17d05a84
desktop: Removed unwrap in navigator
2023-01-10 11:10:46 +01:00
Nathan Adams
e20eb77035
desktop: movie_url is always Some, simplify code
2023-01-10 11:10:46 +01:00
Nathan Adams
48d8cb54f4
desktop: Replaced most unwraps with expects or ? in main.rs
2023-01-10 11:10:46 +01:00
Nathan Adams
4d85b6a75b
wgpu: Hook up wgpu renderer, and wgpu's profiling, to tracy
2023-01-08 20:02:26 +01:00
Nathan Adams
f606735720
desktop: Add tracy feature
2023-01-08 20:02:26 +01:00
Nathan Adams
b27a1045a1
desktop: Switch from env_logger to tracing-subscriber
2023-01-06 04:25:22 +01:00
Nathan Adams
ab6012c42c
desktop: Switch from log to tracing
2023-01-06 04:25:22 +01:00
dependabot[bot]
8fc4e8431c
build(deps): bump webbrowser from 0.8.2 to 0.8.4
...
Bumps [webbrowser](https://github.com/amodm/webbrowser-rs ) from 0.8.2 to 0.8.4.
- [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.2...v0.8.4 )
---
updated-dependencies:
- dependency-name: webbrowser
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-03 12:09:08 +02:00
dependabot[bot]
664c67ea27
build(deps): bump clap from 4.0.29 to 4.0.32
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.0.29 to 4.0.32.
- [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/v4.0.29...v4.0.32 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-26 22:04:33 +01:00
Mike Welsh
c30eb38741
audio: Rename symphonia feature to mp3
2022-12-17 22:48:42 -08:00
Mike Welsh
696c9062d3
chore: Inherit cargo metadata from workspace
...
Use workspace inheritance added in Rust 1.64 to de-duplicate
various settings across all packages.
2022-12-16 15:53:59 -08:00
dependabot[bot]
823965aeb4
build(deps): bump cpal from 0.14.1 to 0.14.2
...
Bumps [cpal](https://github.com/rustaudio/cpal ) from 0.14.1 to 0.14.2.
- [Release notes](https://github.com/rustaudio/cpal/releases )
- [Changelog](https://github.com/RustAudio/cpal/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rustaudio/cpal/commits )
---
updated-dependencies:
- dependency-name: cpal
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-06 00:18:23 +01:00
adasiko
04b12e9eae
Update Info.plist
...
Missing symbol "? 🤨
2022-12-04 13:54:54 +01:00
Marco Grassi
6873cda76e
move away from unmaintained clipboard crate and use arboard crate
2022-11-26 14:04:59 -05:00
Marco Grassi
ad81b3bf14
upgrade lock and toml dependencies
2022-11-26 14:04:59 -05:00
dependabot[bot]
ccb1fa1b1b
build(deps): bump clap from 4.0.24 to 4.0.26
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.0.24 to 4.0.26.
- [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/v4.0.24...v4.0.26 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-21 18:07:28 -07:00
dependabot[bot]
b3debc96af
build(deps): bump clap from 4.0.22 to 4.0.24
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.0.22 to 4.0.24.
- [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/v4.0.22...v4.0.24 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-15 09:33:20 +02:00
dependabot[bot]
98aa6014de
build(deps): bump webbrowser from 0.8.1 to 0.8.2
...
Bumps [webbrowser](https://github.com/amodm/webbrowser-rs ) from 0.8.1 to 0.8.2.
- [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.1...v0.8.2 )
---
updated-dependencies:
- dependency-name: webbrowser
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-15 09:02:49 +02:00
TÖRÖK Attila
2b4d8d9c6e
core,desktop: Add and implement AudioBackend::get_sample_history()
2022-11-10 19:11:29 -05:00
dependabot[bot]
9303304e3b
build(deps): bump clap from 4.0.18 to 4.0.22
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.0.18 to 4.0.22.
- [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/v4.0.18...v4.0.22 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-08 00:25:12 +02:00
relrelb
89f3445d62
swf: Introduce and use `Rectangle::width()` and `Rectangle::height()`
2022-11-01 09:49:04 +02:00
dependabot[bot]
da02dc453d
build(deps): bump winit from 0.27.4 to 0.27.5
...
Bumps [winit](https://github.com/rust-windowing/winit ) from 0.27.4 to 0.27.5.
- [Release notes](https://github.com/rust-windowing/winit/releases )
- [Changelog](https://github.com/rust-windowing/winit/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-windowing/winit/compare/v0.27.4...v0.27.5 )
---
updated-dependencies:
- dependency-name: winit
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-01 00:40:32 +02:00
Aaron Hill
68471723b3
core: Fix clippy format string lint
2022-10-27 08:49:39 +03:00
cyraid
f51e4dd67f
desktop: Fix #8315 by setting the base_url from the movie_url so requests later can use relative url's. ( #8358 )
...
Co-authored-by: Dennis Fehr <dennis.james.fehr@gmail.com>
2022-10-25 13:26:19 +03:00
dependabot[bot]
a569f60124
build(deps): bump cpal from 0.14.0 to 0.14.1
...
Bumps [cpal](https://github.com/rustaudio/cpal ) from 0.14.0 to 0.14.1.
- [Release notes](https://github.com/rustaudio/cpal/releases )
- [Changelog](https://github.com/RustAudio/cpal/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rustaudio/cpal/commits )
---
updated-dependencies:
- dependency-name: cpal
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-25 11:31:07 +03:00
dependabot[bot]
c9f5524748
build(deps): bump clap from 4.0.15 to 4.0.18
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.0.15 to 4.0.18.
- [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/v4.0.15...v4.0.18 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-25 09:00:26 +03:00
Aaron Hill
9dd0914bda
core: Add root movie URL spoofing (desktop only).
...
The desktop player now takes a `--spoof-url` argument, which overrides
the movie URL provided to ActionScript. This does not affect non-root
movies loaded through `Loader`.
2022-10-22 15:24:14 -05:00
David Wendt
058a7a8b66
desktop: Allow specifying the load behavior for desktop
2022-10-18 16:47:49 -06:00
relrelb
178bf4fe24
chore: Extract Cargo `edition` to `[workspace.package]`
...
This is possible since Rust 1.64.0: https://blog.rust-lang.org/2022/09/22/Rust-1.64.0.html#cargo-improvements-workspace-inheritance-and-multi-target-builds
2022-10-14 22:13:29 +03:00
relrelb
47a22070a4
desktop: Avoid deprecated `winit::EventLoop::with_user_event()`
...
Use `EventLoopBuilder::with_user_event().build()` instead, as suggested
by the deprecation warning.
2022-10-11 10:59:19 +03:00
dependabot[bot]
7817301cc4
build(deps): bump winit from 0.26.1 to 0.27.4
...
Bumps [winit](https://github.com/rust-windowing/winit ) from 0.26.1 to 0.27.4.
- [Release notes](https://github.com/rust-windowing/winit/releases )
- [Changelog](https://github.com/rust-windowing/winit/blob/v0.27.4/CHANGELOG.md )
- [Commits](https://github.com/rust-windowing/winit/compare/v0.26.1...v0.27.4 )
---
updated-dependencies:
- dependency-name: winit
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-11 10:59:19 +03:00
dependabot[bot]
76f18cbc37
build(deps): bump clap from 4.0.9 to 4.0.12
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.0.9 to 4.0.12.
- [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/v4.0.9...v4.0.12 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-11 00:32:53 +03:00
relrelb
a9dedf759a
chore: Fix `clap` update
...
As described in https://github.com/clap-rs/clap/blob/master/CHANGELOG.md#400---2022-09-28 .
2022-10-05 21:33:34 +03:00
dependabot[bot]
32a370f803
build(deps): bump clap from 3.2.20 to 4.0.9
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.2.20 to 4.0.9.
- [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/v3.2.20...v4.0.9 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-05 21:33:34 +03:00
dependabot[bot]
cf26158030
build(deps): bump url from 2.2.2 to 2.3.1
...
Bumps [url](https://github.com/servo/rust-url ) from 2.2.2 to 2.3.1.
- [Release notes](https://github.com/servo/rust-url/releases )
- [Commits](https://github.com/servo/rust-url/compare/v2.2.2...v2.3.1 )
---
updated-dependencies:
- dependency-name: url
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-09-13 09:42:27 +03:00
dependabot[bot]
bff0855435
build(deps): bump webbrowser from 0.7.1 to 0.8.0
...
Bumps [webbrowser](https://github.com/amodm/webbrowser-rs ) from 0.7.1 to 0.8.0.
- [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.7.1...v0.8.0 )
---
updated-dependencies:
- dependency-name: webbrowser
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-09-13 00:10:04 +03:00
Aaron Hill
474fd7fa8f
desktop: Always mark task as ready on wake
...
We were incorrectly skipping the call to `task.set_ready`
if `self.waiting_for_poll` was set. The `waiting_for_poll` flag
should only be used to avoid redundant messages being sent into
the event loop.
This was causing us to ignore wakeups if more than one wakup
arrived in between calls to `poll_all`.
2022-09-11 15:48:17 -05:00
Nathan Adams
c7f420dde5
wgpu: Moved WgpuRenderBackend into backend.rs
2022-09-11 09:07:53 +02:00
Mike Welsh
70c7174bfe
audio: Switch to symphonia by default
...
Deprecate minimp3 for MP3 decoding and switch to symphonia on
desktop by default. Eventually the minimp3 feature will be removed.
2022-09-05 17:54:07 -07:00
dependabot[bot]
aacc3c231a
build(deps): bump clap from 3.2.18 to 3.2.20
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.2.18 to 3.2.20.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/v3.2.20/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.18...v3.2.20 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-09-05 14:47:03 -07:00
=
2b3249c9a4
core: Made core no longer depend on software video decoders
2022-09-04 17:46:58 -07:00
=
f0013bdec8
video: Moved individual decoders to software video backend
2022-09-04 17:46:58 -07:00
dependabot[bot]
4831640471
build(deps): bump cpal from 0.13.5 to 0.14.0
...
Bumps [cpal](https://github.com/rustaudio/cpal ) from 0.13.5 to 0.14.0.
- [Release notes](https://github.com/rustaudio/cpal/releases )
- [Changelog](https://github.com/RustAudio/cpal/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rustaudio/cpal/commits )
---
updated-dependencies:
- dependency-name: cpal
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-08-29 15:15:14 -07:00
dependabot[bot]
33cc87ce27
build(deps): bump clap from 3.2.17 to 3.2.18
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.2.17 to 3.2.18.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/v3.2.18/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.17...v3.2.18 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-08-30 00:19:02 +03:00
=
f180183ec5
core: Add audio feature, made dasp optional
2022-08-28 21:10:05 -07:00
=
c6c22cebc9
core: Make nellymoser optional, enable on desktop and web
2022-08-28 21:10:05 -07:00
=
f5245d72da
core: Make core not use minimp3 by default - only desktop uses it
2022-08-28 21:10:05 -07:00
EmperorBale
f8289b47d8
avm2: Implement call stack & stack traces ( #7564 )
...
* avm2: Implement call stack
* avm2: Class traits should have a special prefix
* avm2: Stack tracebacks should also contain error message
* avm2: Move method naming to Executable
* avm2: Handle getter and setter methods in tracebacks
* chore: Formatting
* chore: Add comments
* avm2: Make full_name write to a string, instead of creating a new one
* core: Make GcArena publicly accessible
* core: Add Deref impl for Either type
* desktop: Add AVM2 call stack to panic message
* avm2: Prefix native methods with a `/`
* chore: Appease clippy
* avm2: Check if method actually contains bytecode instead of unwrapping
* web: Add AVM2 stack trace to panic message
* chore: Formatting
* chore: Clippy
* avm2: Fix stack traces for free standing functions
* core: Remove global data from context
* core: Rename GcGlobalData to GcCallstack
* core: Introduce StaticCallstack, make GcArena private again
Co-authored-by: Adrian Wielgosik <4729533+adrian17@users.noreply.github.com>
2022-08-28 18:30:20 +02:00
=
b7dcd26c38
core: Use Cow<str> for FullscreenError in UI backend, as it can't ever be anything else
2022-08-25 23:43:21 +02:00
=
726217c6c2
desktop: Use anyhow to replace generic errors with more meaningful ones
2022-08-25 23:43:21 +02:00
=
30e7d23cc0
desktop: Use anyhow errors for desktop audio errors
2022-08-25 23:43:21 +02:00
=
5b5ee7d448
core: Made audio backend use actual real error enums, and not box<error>
2022-08-25 23:43:21 +02:00
Aaron Hill
98c7f443ce
core: Only store viewport dimensions in `RenderBackend`
...
Previously, the viewport height and width were stored in
both `Stage` and the `RenderBackend`. Any changes to the viewport
dimensions (e.g. due to window resizing) needed to be updated in both
places to keep our handling of the viewport consistent.
This PR adds a new `ViewportDimensions` type, which holds the
width, height, and scale factor. It is stored inside the
`RenderBackend` impl, and is retrieved using the newly added
method `RenderBackend.get_viewport_dimensions`. After a `Player`
has been constructed, any code that needes access to the viewport
dimensions will ultimate go through this method.
Unfortunately, `Stage` needs to use the viewport dimensions
in `build_matrices`. Therefore, any code modifying the viewport
dimensions should go through `player.set_viewport_dimensions`,
which ensures that the stage matrices are rebuilt after the render
backend is updated.
2022-08-22 13:44:30 -07:00
dependabot[bot]
7ffe92a36a
build(deps): bump clap from 3.2.16 to 3.2.17
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.2.16 to 3.2.17.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/v3.2.17/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.16...v3.2.17 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-08-16 00:30:12 +03:00
relrelb
e42a6b62e6
core: Require `target` in `NavigatorBackend::navigate_to_url`
...
Make the `target` parameter just a `String` instead of an `Option<String>`.
`None` is not needed as it's totally equivalent to an empty string.
2022-08-06 11:20:03 +03:00
dependabot[bot]
dcf6243c47
build(deps): bump rfd from 0.9.1 to 0.10.0
...
Bumps [rfd](https://github.com/PolyMeilex/rfd ) from 0.9.1 to 0.10.0.
- [Release notes](https://github.com/PolyMeilex/rfd/releases )
- [Changelog](https://github.com/PolyMeilex/rfd/blob/master/CHANGELOG.md )
- [Commits](https://github.com/PolyMeilex/rfd/compare/0.9.1...0.10.0 )
---
updated-dependencies:
- dependency-name: rfd
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-08-02 23:52:23 +03:00
dependabot[bot]
d0535f4cb8
build(deps): bump clap from 3.2.15 to 3.2.16
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.2.15 to 3.2.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/v3.2.15...v3.2.16 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-08-02 23:06:07 +03:00
dependabot[bot]
df07f610e7
build(deps): bump clap from 3.2.14 to 3.2.15
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.2.14 to 3.2.15.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/v3.2.15/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.14...v3.2.15 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-07-25 23:35:39 +03:00
relrelb
afd24cad12
desktop: Tiny cleanup
2022-07-09 11:06:39 +03:00
relrelb
f643048c1c
core: Introduce `Request`
...
Which holds both a URL and what was `RequestOptions` formerly.
2022-07-09 09:43:42 +03:00
dependabot[bot]
06d9a96b4a
build(deps): bump clap from 3.2.1 to 3.2.2
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.2.1 to 3.2.2.
- [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-v3.2.1...v3.2.2 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-06-21 09:54:39 +03:00
dependabot[bot]
c37432fb30
build(deps): bump rfd from 0.8.4 to 0.9.1
...
Bumps [rfd](https://github.com/PolyMeilex/rfd ) from 0.8.4 to 0.9.1.
- [Release notes](https://github.com/PolyMeilex/rfd/releases )
- [Changelog](https://github.com/PolyMeilex/rfd/blob/master/CHANGELOG.md )
- [Commits](https://github.com/PolyMeilex/rfd/compare/0.8.4...0.9.1 )
---
updated-dependencies:
- dependency-name: rfd
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-06-21 08:53:52 +03:00
relrelb
4978158638
chore: Resolve `clap` deprecation warnings
...
As suggested in https://github.com/clap-rs/clap/blob/master/CHANGELOG.md#320---2022-06-13 .
2022-06-17 07:58:21 +03:00
dependabot[bot]
a3f5fda85d
build(deps): bump clap from 3.1.18 to 3.2.1
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.1.18 to 3.2.1.
- [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/v3.1.18...clap_complete-v3.2.1 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-06-17 07:58:21 +03:00
relrelb
102fc46ca2
desktop: Fetch root movie asynchronously
...
Use `Player::fetch_root_movie` for loading the root movie, as an
early preparation for chunked loading.
2022-06-06 21:02:09 +03:00
relrelb
0097a75703
desktop: Organize UI event loop
...
Run (almost) all event handlers regardless of whether a movie is loaded
or not. This will be useful for rendering a blank screen before a
movie has been loaded.
2022-06-06 21:02:09 +03:00
dependabot[bot]
4a9acae5fb
build(deps): bump rfd from 0.8.2 to 0.8.4
...
Bumps [rfd](https://github.com/PolyMeilex/rfd ) from 0.8.2 to 0.8.4.
- [Release notes](https://github.com/PolyMeilex/rfd/releases )
- [Changelog](https://github.com/PolyMeilex/rfd/blob/master/CHANGELOG.md )
- [Commits](https://github.com/PolyMeilex/rfd/compare/0.8.2...0.8.4 )
---
updated-dependencies:
- dependency-name: rfd
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-06-06 20:25:35 +03:00
Robert Setter
6114f14fe0
Updating the verbiage for the AS3 warnings to try and reduce the number of support questions about it. ( #7106 )
...
* Updating AS3 warning verbiage.
* Updating AS3 verbiage
* Increase root font size
* Refining font size.
* correcting font size in .message
2022-05-29 15:08:46 +03:00
Mike Welsh
32bf7e1412
chore: Appease clippy
2022-05-22 02:34:18 -07:00
bbb651
cf820b4f95
desktop: Add fullscreen command line option
2022-05-20 19:51:22 -07:00
dependabot[bot]
ede81be427
build(deps): bump isahc from 1.7.1 to 1.7.2
...
Bumps [isahc](https://github.com/sagebind/isahc ) from 1.7.1 to 1.7.2.
- [Release notes](https://github.com/sagebind/isahc/releases )
- [Commits](https://github.com/sagebind/isahc/compare/1.7.1...1.7.2 )
---
updated-dependencies:
- dependency-name: isahc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-05-16 13:55:00 -07:00
dependabot[bot]
27da91b7a0
build(deps): bump clap from 3.1.17 to 3.1.18
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.1.17 to 3.1.18.
- [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/v3.1.17...v3.1.18 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-05-16 13:54:02 -07:00
dependabot[bot]
a853b897ca
build(deps): bump clap from 3.1.15 to 3.1.17
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.1.15 to 3.1.17.
- [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/v3.1.15...v3.1.17 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-05-09 13:45:19 -07:00
relrelb
87ce0f56b7
core: Remove `NavigatorBackend::resolve_relative_url`
...
The resolved URL only used by `NavigatorBackend::fetch`. So simply
inline `NavigatorBackend::resolve_relative_url` into `NavigatorBackend::fetch`,
per implementation.
2022-05-07 09:06:53 -07:00
relrelb
ea665d91f2
core: Introduce and use `Response::url`
2022-05-07 09:06:53 -07:00
relrelb
2517d8de4b
core: Introduce struct `Response`
...
Currently it's a trivial wrapper around `Vec<u8>`, but more fields
will be added in the future (e.g. response URL, HTTP status code).
2022-05-07 09:06:53 -07:00
dependabot[bot]
7ab8c340fa
build(deps): bump clap from 3.1.12 to 3.1.15
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.1.12 to 3.1.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/v3.1.12...v3.1.15 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-05-02 14:47:37 -07:00
dependabot[bot]
7c230f0bc9
build(deps): bump isahc from 1.7.0 to 1.7.1
...
Bumps [isahc](https://github.com/sagebind/isahc ) from 1.7.0 to 1.7.1.
- [Release notes](https://github.com/sagebind/isahc/releases )
- [Commits](https://github.com/sagebind/isahc/compare/1.7.0...1.7.1 )
---
updated-dependencies:
- dependency-name: isahc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-05-02 13:41:45 -07:00
dependabot[bot]
4f1dec79e3
build(deps): bump webbrowser from 0.7.0 to 0.7.1
...
Bumps [webbrowser](https://github.com/amodm/webbrowser-rs ) from 0.7.0 to 0.7.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.7.0...v0.7.1 )
---
updated-dependencies:
- dependency-name: webbrowser
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-05-02 13:41:15 -07:00
Mike Welsh
1eb06908c8
core: Make PlayerBuilder::build infallible
2022-04-29 09:14:32 -07:00
Mike Welsh
f48182ef3d
core: Add various settings to PlayerBuilder
2022-04-29 09:14:32 -07:00
Mike Welsh
e1e2b1008a
core: Add PlayerBuilder
2022-04-29 09:14:32 -07:00
relrelb
86da42459c
desktop: Use `Arc::new_cyclic`
...
It became stable on Rust 1.60.0.
2022-04-29 09:11:58 -07:00
dependabot[bot]
aed5c85edb
build(deps): bump webbrowser from 0.6.0 to 0.7.0
...
Bumps [webbrowser](https://github.com/amodm/webbrowser-rs ) from 0.6.0 to 0.7.0.
- [Release notes](https://github.com/amodm/webbrowser-rs/releases )
- [Changelog](https://github.com/amodm/webbrowser-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/amodm/webbrowser-rs/compare/v0.6.0...v0.7.0 )
---
updated-dependencies:
- dependency-name: webbrowser
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-04-25 13:41:42 -07:00
dependabot[bot]
1aafd5c62b
build(deps): bump clap from 3.1.9 to 3.1.12
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.1.9 to 3.1.12.
- [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/v3.1.9...v3.1.12 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-04-25 13:41:09 -07:00
dependabot[bot]
c1b74f1b01
build(deps): bump rfd from 0.8.1 to 0.8.2
...
Bumps [rfd](https://github.com/PolyMeilex/rfd ) from 0.8.1 to 0.8.2.
- [Release notes](https://github.com/PolyMeilex/rfd/releases )
- [Changelog](https://github.com/PolyMeilex/rfd/blob/master/CHANGELOG.md )
- [Commits](https://github.com/PolyMeilex/rfd/compare/0.8.1...0.8.2 )
---
updated-dependencies:
- dependency-name: rfd
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-04-18 15:25:31 -07:00
dependabot[bot]
e6576df298
build(deps): bump clap from 3.1.8 to 3.1.9
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.1.8 to 3.1.9.
- [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/v3.1.8...v3.1.9 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-04-18 14:59:23 -07:00
relrelb
66492441f1
desktop: De-duplicate file reading code
...
Unify the sandboxed and non-sandboxed cases.
2022-04-08 16:51:59 -07:00
relrelb
7497fb7008
core: Change `Player::set_root_movie` to accept a `SwfMovie`
...
Move the `Arc::new` to within the function.
2022-04-08 15:16:25 -07:00
dependabot[bot]
359e687ec9
build(deps): bump clap from 3.1.6 to 3.1.8
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.1.6 to 3.1.8.
- [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/v3.1.6...v3.1.8 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-04-04 14:25:14 -07:00
David Wendt
28f302be0e
desktop: Enable outgoing network requests on macOS app sandbox
2022-03-30 11:37:25 -07:00
David Wendt
c664f0b9ba
desktop: Add a `sandbox` feature that opens a native file picker to request access to movie subresources.
...
We notify the user with a message box first to explain why we need them to pick a file.
2022-03-30 11:37:25 -07:00
David Wendt
b1a234247c
build: Enable app sandbox on macOS.
2022-03-30 11:37:25 -07:00
David Wendt
c877bfe886
build: Add a workflow for signing the app bundle with a set of entitlements
2022-03-28 16:30:58 -06:00
Mike Welsh
ac765bd187
chore: Update copyright
...
I (Michael R. Welsh) assign to Ruffle LLC all rights, title, and
interest to copyrights of my personal contributions to Ruffle,
effective March 26, 2022.
2022-03-26 18:13:14 -07:00
relrelb
665f045b1f
desktop: Disable `env_logger`'s `regex` feature
...
This feature allows `RUST_LOG` to include a regex filter. While
it's nice to have, it's not worth over 440KB added to the release
binary. `grep` / `findstr` are great and even better alternatives.
2022-03-19 17:25:19 -07:00
relrelb
ad944800be
core: Perfer `Loader`'s `FetchError`
...
`NetworkError` and `NetworkUnavailable` were rarely used, and they
were very similar to `FetchError`.
2022-03-17 20:31:59 -07:00
David Wendt
e5b6e8c8b7
Specify Ruffle's accent color on macOS.
2022-03-17 17:15:14 -06:00
David Wendt
4e0253ebf0
Package the nightly builds as a MacOS app bundle.
2022-03-17 17:15:14 -06:00
relrelb
8a17d88c77
core: Remove `NavigatorBackend::time_since_launch`
...
`core` already depends on the `instant` crate which abstracts
`std::instant::Instant` and polyfills it on Web. Use it to replace
`NavigatorBackend::time_since_launch` in order to make `NavigatorBackend`
a little smaller and more simple.
2022-03-17 00:08:44 +02:00
relrelb
031126a1b8
core: Remove `LocaleBackend`
...
Previously there were 3 implementations of `LocaleBackend`:
`DesktopLocaleBackend`, `WebLocaleBackend` and `NullLocaleBackend`.
While `DesktopLocaleBackend`, `WebLocaleBackend` were identical,
`NullLocaleBackend` always returned a fixed date/time for tests
determinism.
Unify them in a single file, and use `cfg!(test)` and a new dedicated
`deterministic` feature to decide whether to mock date/time or not.
This should not cause any behavioral changes.
2022-03-16 19:57:53 +02:00
relrelb
5da7149aaf
desktop: Access `App` fields directly
...
I think older Rust versions couldn't handle this, but I may be wrong.
Anyway, now it works and is more straight-forward.
2022-03-16 18:49:59 +02:00
dependabot[bot]
969b450589
build(deps): bump isahc from 1.6.0 to 1.7.0
...
Bumps [isahc](https://github.com/sagebind/isahc ) from 1.6.0 to 1.7.0.
- [Release notes](https://github.com/sagebind/isahc/releases )
- [Commits](https://github.com/sagebind/isahc/compare/1.6.0...1.7.0 )
---
updated-dependencies:
- dependency-name: isahc
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-14 22:26:32 +02:00
relrelb
32f5cd22a4
desktop: Split `movie` and `movie_url`
...
This makes the code a little more readble.
2022-03-14 21:59:16 +02:00
relrelb
83287e4d48
desktop: Store only `bool` instead of `SwfMovie`
...
Because it was only used as such.
2022-03-14 21:59:16 +02:00
relrelb
a3f858c510
desktop: Turn `load_from_file_dialog` into `pick_file`
...
This deduplicates some code (the calls to `parse_url` and `load_movie`),
plus makes the path choosing flow more linear.
2022-03-14 21:59:16 +02:00
relrelb
d22186c088
desktop: Extract `parse_url` from `load_movie_from_path`
...
And change `load_movie_from_path` to `load_movie`.
2022-03-14 21:59:16 +02:00
relrelb
8ad8122b68
desktop: Change return type of `App::run` to `!`
...
The never type is already stable for function return types.
2022-03-14 21:59:16 +02:00
relrelb
7a591b885c
desktop: Remove `loop` from `App::run`
...
`winit::event_loop::EventLoop::run` never returns, so there's no
point calling it over and over again.
2022-03-14 21:59:16 +02:00
dependabot[bot]
448b11cc92
build(deps): bump rfd from 0.8.0 to 0.8.1
...
Bumps [rfd](https://github.com/PolyMeilex/rfd ) from 0.8.0 to 0.8.1.
- [Release notes](https://github.com/PolyMeilex/rfd/releases )
- [Changelog](https://github.com/PolyMeilex/rfd/blob/master/CHANGELOG.md )
- [Commits](https://github.com/PolyMeilex/rfd/compare/0.8.0...0.8.1 )
---
updated-dependencies:
- dependency-name: rfd
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-07 23:59:13 +02:00
dependabot[bot]
56ef543f16
build(deps): bump clap from 3.1.3 to 3.1.6
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.1.3 to 3.1.6.
- [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/v3.1.3...v3.1.6 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-07 23:58:51 +02:00
dependabot[bot]
3252da19a4
build(deps): bump rfd from 0.7.0 to 0.8.0
...
Bumps [rfd](https://github.com/PolyMeilex/rfd ) from 0.7.0 to 0.8.0.
- [Release notes](https://github.com/PolyMeilex/rfd/releases )
- [Changelog](https://github.com/PolyMeilex/rfd/blob/master/CHANGELOG.md )
- [Commits](https://github.com/PolyMeilex/rfd/compare/0.7.0...0.8.0 )
---
updated-dependencies:
- dependency-name: rfd
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-02-28 22:47:45 +02:00
dependabot[bot]
9657bde02c
build(deps): bump clap from 3.1.2 to 3.1.3
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.1.2 to 3.1.3.
- [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/v3.1.2...v3.1.3 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-02-28 22:31:25 +02:00
Chris Midgley
453b0f1fe3
desktop: swap out tinyfiledialogs for rfd
2022-02-23 22:45:26 +02:00
dependabot[bot]
ff3aadd134
build(deps): bump clap from 3.0.14 to 3.1.1
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.0.14 to 3.1.1.
- [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/v3.0.14...v3.1.1 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-02-21 23:36:57 +02:00
dependabot[bot]
6bb49e6420
build(deps): bump webbrowser from 0.5.5 to 0.6.0
...
Bumps [webbrowser](https://github.com/amodm/webbrowser-rs ) from 0.5.5 to 0.6.0.
- [Release notes](https://github.com/amodm/webbrowser-rs/releases )
- [Changelog](https://github.com/amodm/webbrowser-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/amodm/webbrowser-rs/compare/v0.5.5...v0.6.0 )
---
updated-dependencies:
- dependency-name: webbrowser
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-02-21 22:55:39 +02:00
dependabot[bot]
c154b24393
build(deps): bump clap from 3.0.6 to 3.0.14
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.0.6 to 3.0.14.
- [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-v3.0.6...v3.0.14 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-02-13 18:10:29 +02:00
dependabot[bot]
33d4af9de6
build(deps): bump cpal from 0.13.4 to 0.13.5
...
Bumps [cpal](https://github.com/rustaudio/cpal ) from 0.13.4 to 0.13.5.
- [Release notes](https://github.com/rustaudio/cpal/releases )
- [Changelog](https://github.com/RustAudio/cpal/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rustaudio/cpal/commits )
---
updated-dependencies:
- dependency-name: cpal
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-02-13 16:14:00 +02:00
Adrian Wielgosik
22e900cb5f
build: require 'derive' feature for clap
2022-02-13 14:25:23 +01:00
Mike Welsh
d5986a7294
desktop: Don't swallow Escape key ( fix #6135 )
2022-01-25 00:22:28 -08:00
dependabot[bot]
50d6b48946
build(deps): bump clap from 3.0.1 to 3.0.6
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.0.1 to 3.0.6.
- [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-v3.0.1...v3.0.6 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-01-11 00:32:55 -08:00
dependabot[bot]
426bb56fb9
build(deps): bump clap from 3.0.1 to 3.0.5
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.0.1 to 3.0.5.
- [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-v3.0.1...v3.0.5 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-01-10 22:05:12 -08:00
dependabot[bot]
e5497e3351
build(deps): bump winit from 0.26.0 to 0.26.1
...
Bumps [winit](https://github.com/rust-windowing/winit ) from 0.26.0 to 0.26.1.
- [Release notes](https://github.com/rust-windowing/winit/releases )
- [Changelog](https://github.com/rust-windowing/winit/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-windowing/winit/compare/v0.26.0...v0.26.1 )
---
updated-dependencies:
- dependency-name: winit
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-01-10 22:04:28 -08:00
dependabot[bot]
807b22eabd
build(deps): bump tinyfiledialogs from 3.8.3 to 3.9.0
...
Bumps [tinyfiledialogs](https://github.com/jdm/tinyfiledialogs-rs ) from 3.8.3 to 3.9.0.
- [Release notes](https://github.com/jdm/tinyfiledialogs-rs/releases )
- [Commits](https://github.com/jdm/tinyfiledialogs-rs/commits/v3.9.0 )
---
updated-dependencies:
- dependency-name: tinyfiledialogs
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-01-10 22:04:10 -08:00
relrelb
82b4c6ef27
core: Support mouse buttons in `KeyCode`
...
Add `MouseLeft`, `MouseRight` and `MouseMiddle` to `KeyCode` for
AVM1's `Key.isDown()` function.
2022-01-10 01:18:49 -08:00
relrelb
6396c21bc0
core: Rename `PlayerEvent::MouseLeft` to `MouseLeave`
...
So it's not consfusing with `KeyCode::MouseLeft`.
2022-01-10 01:18:49 -08:00
dependabot[bot]
86d2e1ddba
build(deps): bump clap from 3.0.0-rc.8 to 3.0.1
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.0.0-rc.8 to 3.0.1.
- [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_generate-v3.0.0-rc.8...clap_complete-v3.0.1 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-01-03 22:50:45 +02:00
dependabot[bot]
dc8ba4ee59
build(deps): bump clap from 3.0.0-rc.7 to 3.0.0-rc.8
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.0.0-rc.7 to 3.0.0-rc.8.
- [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_generate-v3.0.0-rc.7...clap_generate-v3.0.0-rc.8 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-12-27 22:32:31 +02:00
dependabot[bot]
e369ca7a42
build(deps): bump clap from 3.0.0-rc.5 to 3.0.0-rc.7
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.0.0-rc.5 to 3.0.0-rc.7.
- [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_generate-v3.0.0-rc.5...clap_generate-v3.0.0-rc.7 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-12-21 08:35:30 +02:00
relrelb
07c5330456
core: Introduce `InputManager`
...
`InputManager` encapsulates the common logic that previously the
`UiBackend`s used to implement.
2021-12-15 14:20:30 -08:00
dependabot[bot]
678d4375bf
build(deps): bump clap from 3.0.0-beta.5 to 3.0.0-rc.4
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.0.0-beta.5 to 3.0.0-rc.4.
- [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/v3.0.0-beta.5...clap_generate-v3.0.0-rc.4 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-12-15 13:42:50 -08:00
TÖRÖK Attila
95665bdc47
video: Extract software decoders (or glue) into their own modules, add screenvideo feature
2021-12-14 19:41:17 -07:00
TÖRÖK Attila
4b587edf7f
chore: Bump winit to 0.26.0, run `cargo update` to resolve conflicts
2021-12-04 20:20:22 +02:00
relrelb
0e3168f99e
desktop: Small event-related cleanups
...
* Use `match state` for `MouseInput` events.
* Remove `ReceivedCharacter` handling from `DesktopUiBackend::handle_event`.
2021-11-25 07:35:33 +02:00
relrelb
cbce91365c
desktop: Track `keys_down` by `KeyCode`
...
This makes `DesktopUiBackend::is_key_down` a simple one-line check.
Also unify the handling code of `ElementState::Pressed` and `ElementState::Released`,
which had a lot of common code.
2021-11-25 07:35:33 +02:00
dependabot[bot]
60c2a14363
build(deps): bump isahc from 1.5.1 to 1.6.0
...
Bumps [isahc](https://github.com/sagebind/isahc ) from 1.5.1 to 1.6.0.
- [Release notes](https://github.com/sagebind/isahc/releases )
- [Commits](https://github.com/sagebind/isahc/compare/1.5.1...1.6.0 )
---
updated-dependencies:
- dependency-name: isahc
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-11-15 23:27:05 +02:00
Tal Hayon
7ed38850fd
core: implement displayState for Stage in avm1/2
2021-11-11 16:20:05 -07:00
Mike Welsh
f18c47ebf2
desktop: Fix app not running on Windows ( fix #5534 )
...
Rust 1.56 introduced a bad interaction between env_logger and
`#[windows_subsytem]` that caused Ruffle to panic immediately on run.
See:
https://github.com/rust-lang/rust/issues/88576
Disabling the atty and termcolor features of env_logger avoids
the problem. Can re-enable when the above issue is fixed on Rust
stable.
Fixes #5534 .
2021-10-24 12:03:21 -07:00
Adrian Wielgosik
8cc00f32bb
chore: Stop using traits available in prelude
2021-10-21 10:24:05 -07:00
Adrian Wielgosik
bc82a4f705
build: Bump Rust edition to 2021
2021-10-21 10:24:05 -07:00
dependabot[bot]
40aeffb91d
build(deps): bump clap from 3.0.0-beta.4 to 3.0.0-beta.5
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.0.0-beta.4 to 3.0.0-beta.5.
- [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/commits )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-10-18 14:50:19 -07:00
dependabot[bot]
584323cd15
build(deps): bump isahc from 1.5.0 to 1.5.1
...
Bumps [isahc](https://github.com/sagebind/isahc ) from 1.5.0 to 1.5.1.
- [Release notes](https://github.com/sagebind/isahc/releases )
- [Commits](https://github.com/sagebind/isahc/compare/1.5.0...1.5.1 )
---
updated-dependencies:
- dependency-name: isahc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-10-18 14:01:38 -07:00
Chris Midgley
b0e3698c44
desktop: correct error when passing an invalid absolute windows filepath
2021-10-09 11:26:45 -07:00
TÖRÖK Attila
3869950578
video/vp6: Add VP6[A] video decoding support
...
Gated behind the "vp6" feature, enabled by default.
Utilizing a heavily stripped-down version of the NihAV project,
retaining only the VP6 decoder, relicensed under MIT.
Including VP6WithAlpha decoding, proper FrameDependency reporting,
and cropping the unwanted encoded pixels on the right/bottom manually.
2021-10-04 22:33:06 -07:00
dependabot[bot]
e03e8ee4f3
build(deps): bump dirs from 3.0.2 to 4.0.0
...
Bumps [dirs](https://github.com/soc/dirs-rs ) from 3.0.2 to 4.0.0.
- [Release notes](https://github.com/soc/dirs-rs/releases )
- [Commits](https://github.com/soc/dirs-rs/commits )
---
updated-dependencies:
- dependency-name: dirs
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-09-21 00:07:52 +03:00
relrelb
3aeffce365
desktop: Refactor clap settings
...
* Fix #5252 by passing `multiple_occurrences = true`.
* Remove `case_insensitive = true`.
* Reformat comments a bit.
2021-09-08 16:04:09 -07:00
Mike Welsh
94d02fa653
core: Add AudioMixer to core
...
Pull out the audio mixing code from desktop and add it to core.
This will allow other backends to use it (such as the web audio
backend) to get consistent audio across all platforms.
2021-09-07 16:48:34 -07:00
Tal Hayon
4625ca0e0b
web: fix base param
2021-09-07 16:45:35 -07:00
David Wendt
116fb1f323
avm2: Impl `Sound.play`
...
This does not (yet) implement the third `SoundTransform` parameter on `play`.
2021-09-03 16:47:02 -06:00
David Wendt
3b6eea2a1d
core: Report sound duration as `f64` and round down in AS1
2021-09-03 16:47:02 -06:00
David Wendt
89b411593f
avm2: Impl `Sound.bytesTotal`
2021-09-03 16:47:02 -06:00
relrelb
fff739d5c9
desktop: Cleanup `CpalAudioBackend`
2021-09-03 22:48:35 +03:00
relrelb
66e2a2166e
desktop: Revert cpal initialization on a separate thread
...
It was initialized on a separate thread since 6178dd9ef1
,
as a workaround for Windows.
But now thanks to https://github.com/RustAudio/cpal/pull/597 , this
is no longer needed, and cpal can be initialized on the same thread
as before.
2021-09-03 22:48:35 +03:00
dependabot[bot]
9a9bb3f781
chore: Bump isahc from 1.4.0 to 1.5.0
...
Bumps [isahc](https://github.com/sagebind/isahc ) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/sagebind/isahc/releases )
- [Commits](https://github.com/sagebind/isahc/compare/1.4.0...1.5.0 )
---
updated-dependencies:
- dependency-name: isahc
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-08-23 23:46:32 +03:00
Mike Welsh
1f951b6b9f
core: Add h263 feature
2021-08-21 14:13:55 -06:00
David Wendt
dae087017c
desktop: Add video backend to timedemo
2021-08-21 14:13:55 -06:00
EmperorBale
792a0d6502
desktop: Fix clap settings
2021-08-20 21:41:44 -06:00
dependabot[bot]
cb2f1b6488
chore: Bump clap from 3.0.0-beta.2 to 3.0.0-beta.4
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.0.0-beta.2 to 3.0.0-beta.4.
- [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/v3.0.0-beta.2...v3.0.0-beta.4 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-08-18 09:13:25 +03:00
dependabot[bot]
26a1ffc0c9
chore: Bump cpal from 0.13.3 to 0.13.4
...
Bumps [cpal](https://github.com/rustaudio/cpal ) from 0.13.3 to 0.13.4.
- [Release notes](https://github.com/rustaudio/cpal/releases )
- [Changelog](https://github.com/RustAudio/cpal/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rustaudio/cpal/commits )
---
updated-dependencies:
- dependency-name: cpal
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-08-10 08:26:38 +03:00
Adrian Wielgosik
b940e7f00f
Extension: Sidestep CORS issues by offering to load the SWF in a tab
2021-08-02 21:28:16 +02:00
dependabot[bot]
ca2d17ade6
chore: Bump env_logger from 0.8.4 to 0.9.0
...
Bumps [env_logger](https://github.com/env-logger-rs/env_logger ) from 0.8.4 to 0.9.0.
- [Release notes](https://github.com/env-logger-rs/env_logger/releases )
- [Changelog](https://github.com/env-logger-rs/env_logger/blob/main/CHANGELOG.md )
- [Commits](https://github.com/env-logger-rs/env_logger/compare/v0.8.4...v0.9.0 )
---
updated-dependencies:
- dependency-name: env_logger
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-07-19 23:49:40 +03:00
Adrian Wielgosik
35d543b610
desktop: Add a flag to disable AS3 warning popup
2021-07-06 17:03:45 +02:00
relrelb
0fd1c05fd5
chore: Use into() in more places
2021-06-22 11:49:41 -07:00
dependabot[bot]
cf4a1136c5
chore: Bump env_logger from 0.8.3 to 0.8.4
...
Bumps [env_logger](https://github.com/env-logger-rs/env_logger ) from 0.8.3 to 0.8.4.
- [Release notes](https://github.com/env-logger-rs/env_logger/releases )
- [Changelog](https://github.com/env-logger-rs/env_logger/blob/main/CHANGELOG.md )
- [Commits](https://github.com/env-logger-rs/env_logger/compare/v0.8.3...v0.8.4 )
---
updated-dependencies:
- dependency-name: env_logger
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-06-14 00:47:57 -07:00
relrelb
f82faf9603
chore: Appease clippy
2021-06-05 10:16:00 -07:00
Mike Welsh
d3512ca3a1
chore: Bump tinyfiledialogs to 3.8.3
2021-05-31 12:31:00 -07:00
Mike Welsh
3ddb97d2f6
core: Add SwfMovie::frame_rate and num_frames
2021-05-23 23:02:38 -07:00
Mike Welsh
077c7f045e
core: Add SwfMovie::stage_size
...
Change `SwfMovie::width` and `height` to return `Twips`.
2021-05-23 23:02:38 -07:00
Mike Welsh
e1439f4105
swf: Add HeaderExt struct providing additional info
...
When reading an SWF, search for FileAttributes and
SetBackgroundColor and return this along with the header data
because it's useful (in particular, the AS3 flag).
2021-05-23 23:02:38 -07:00
dependabot[bot]
9c837c4b85
chore: Bump winit from 0.24.0 to 0.25.0
...
Bumps [winit](https://github.com/rust-windowing/winit ) from 0.24.0 to 0.25.0.
- [Release notes](https://github.com/rust-windowing/winit/releases )
- [Changelog](https://github.com/rust-windowing/winit/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-windowing/winit/compare/v0.24.0...v0.25.0 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-05-17 10:27:54 -07:00
dependabot[bot]
1082d2fea7
chore: Bump isahc from 1.3.1 to 1.4.0
...
Bumps [isahc](https://github.com/sagebind/isahc ) from 1.3.1 to 1.4.0.
- [Release notes](https://github.com/sagebind/isahc/releases )
- [Commits](https://github.com/sagebind/isahc/compare/1.3.1...1.4.0 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-05-17 10:09:45 -07:00
relrelb
7acf0349c3
desktop: Refactor main.rs
2021-05-11 18:58:08 -07:00
Mike Welsh
6051ee4cb1
core: Disallow .. in shared object paths ( fix #3961 )
...
Toss out any shared objects that contain ".." in the name
to avoid accessing files outside of the Ruffle data directory.
The DiskStorageBackend also will fail any requests with a ".."
component as an extra precaution.
Fixes #3961 .
2021-05-09 23:20:32 -07:00
Mike Welsh
339f0e2862
desktop: Append .sol extension to SharedObject files
...
Also, prefix the shared object name with # if it contains a
slash, (e.g. `#mygame/foo`). This matches Flash's directory
structure and makes it easier to transfer saved data to Ruffle.
2021-05-09 23:20:32 -07:00
CUB3D
cd1cde1708
avm1: Implement de/serialization of shared objects into Flash Player Lso format
2021-05-09 23:20:32 -07:00
Mike Welsh
ba7fd1b2b9
chore: Appease clippy, bump url
...
Bump url and avoid `Url::into_string` deprecation warnings.
Fix `single_char_pattern` clippy lints.
2021-05-07 20:51:26 -07:00
Mike Welsh
e35933aeee
desktop: Fix window size calculation
...
Change width/height CLI paramters to `f64`, and also clamp window
size to minimum of 1x1 to prevent panics from invalid window
dimensions.
2021-05-06 17:56:35 -07:00
Nicolas F
423fcf5019
desktop: add parameters to specify window size
...
This adds two optional parameters, --width and --height, which
allow the user to specify a desired physical window width and
height to be used. If only one of the two parameters is present,
the other will be deduced from it and the movie's aspect ratio.
If neither are present, the window's size is set to the movie's
logical size, in accordance with the behaviour before this change.
2021-05-06 15:58:41 -07:00
Moulins
272841729e
core: Replace SwfMovie's PropertyMap by a list of key-value pairs
...
PropertyMap is an AVM1-only concept, and shouldn't be used on cross-VM
types.
2021-05-03 13:47:14 -07:00
David Wendt
0c6584ca03
core: Store the viewport's scale factor on the stage
2021-04-26 01:15:42 -07:00
relrelb
79bcee07f5
audio: Properly round sound duration
...
Previously it was always rounded down. Change it to the nearest
integer.
2021-04-17 09:11:50 -07:00
dependabot-preview[bot]
6f1b0a23ee
build(deps): bump isahc from 1.3.0 to 1.3.1
...
Bumps [isahc](https://github.com/sagebind/isahc ) from 1.3.0 to 1.3.1.
- [Release notes](https://github.com/sagebind/isahc/releases )
- [Commits](https://github.com/sagebind/isahc/compare/1.3.0...1.3.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-16 23:35:56 -07:00
relrelb
76cc81a2d0
desktop: Cleanup Cargo.toml
...
Remove some unused dependencies, and the redundant version specifier
of dasp.
2021-04-09 13:58:28 -07:00
dependabot-preview[bot]
afe225bbe7
build(deps): bump cpal from 0.13.2 to 0.13.3
...
Bumps [cpal](https://github.com/rustaudio/cpal ) from 0.13.2 to 0.13.3.
- [Release notes](https://github.com/rustaudio/cpal/releases )
- [Changelog](https://github.com/RustAudio/cpal/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rustaudio/cpal/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-08 11:42:01 -07:00
dependabot-preview[bot]
b01fb106ab
build(deps): bump isahc from 1.2.0 to 1.3.0
...
Bumps [isahc](https://github.com/sagebind/isahc ) from 1.2.0 to 1.3.0.
- [Release notes](https://github.com/sagebind/isahc/releases )
- [Commits](https://github.com/sagebind/isahc/compare/1.2.0...1.3.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-08 11:34:53 -07:00
EmperorBale
1020aa84d6
chore: Simplify response.status() formatting
2021-04-06 16:01:34 -06:00
EmperorBale
e36ad2874b
chore: Make error message more helpful
2021-04-06 16:01:34 -06:00
EmperorBale
51e2ebf492
web/desktop: Check the HTTP status of requests
2021-04-06 16:01:34 -06:00
David Wendt
de1b0d4d0c
core: Add support for an explicit loader URL (though nothing sets it yet) and expose it in `LoaderInfo`.
2021-04-05 16:18:37 -06:00
dependabot-preview[bot]
3da60a2e04
build(deps): bump isahc from 1.1.0 to 1.2.0
...
Bumps [isahc](https://github.com/sagebind/isahc ) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/sagebind/isahc/releases )
- [Commits](https://github.com/sagebind/isahc/compare/1.1.0...1.2.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-23 13:23:12 -07:00
dependabot-preview[bot]
9a0ecded03
build(deps): bump cpal from 0.13.1 to 0.13.2
...
Bumps [cpal](https://github.com/rustaudio/cpal ) from 0.13.1 to 0.13.2.
- [Release notes](https://github.com/rustaudio/cpal/releases )
- [Changelog](https://github.com/RustAudio/cpal/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rustaudio/cpal/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-17 12:06:23 -07:00
dependabot-preview[bot]
98abaf4ca2
build(deps): bump image from 0.23.13 to 0.23.14
...
Bumps [image](https://github.com/image-rs/image ) from 0.23.13 to 0.23.14.
- [Release notes](https://github.com/image-rs/image/releases )
- [Changelog](https://github.com/image-rs/image/blob/master/CHANGES.md )
- [Commits](https://github.com/image-rs/image/compare/v0.23.13...v0.23.14 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-02 16:22:31 -08:00
Tempy111
00e1f36984
core: Add missing support for Tab keycode
2021-02-27 16:44:39 -08:00
Mike Welsh
3099914374
chore: Appease clippy
2021-02-27 16:10:46 -08:00
dependabot-preview[bot]
75fca8f6b6
build(deps): bump url from 2.2.0 to 2.2.1
...
Bumps [url](https://github.com/servo/rust-url ) from 2.2.0 to 2.2.1.
- [Release notes](https://github.com/servo/rust-url/releases )
- [Commits](https://github.com/servo/rust-url/compare/v2.2.0...v2.2.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-18 14:22:06 -08:00
David Wendt
b78baeb41d
core: Add software video backend, separate from the null backend, to store software decoders.
2021-02-16 19:03:48 -08:00
David Wendt
80bceeacab
core: Add `VideoBackend` to host video decoders
2021-02-16 19:03:48 -08:00
relrelb
bb89391f3a
chore: Avoid deprecated constants
...
The Rust documentation considers numeric constants prefixed with std::
as deprecated.
For example: https://doc.rust-lang.org/std/u16/constant.MAX.html .
2021-02-12 06:36:17 -08:00
Mike Welsh
e5fb1f09e7
chore: Appease clippy
...
* #[derive(Collect)] should be before #[collect]
* Replace redunant `&buf[..]` with `buf`
* Changes most cases of UPPERCase to UpperCase
* Allow upper_case_acronym on most SWF types, as they are from
SWF spec/more annoying to change.
2021-02-12 06:32:42 -08:00
dependabot-preview[bot]
b3fdd50bd0
build(deps): bump env_logger from 0.8.2 to 0.8.3
...
Bumps [env_logger](https://github.com/env-logger-rs/env_logger ) from 0.8.2 to 0.8.3.
- [Release notes](https://github.com/env-logger-rs/env_logger/releases )
- [Changelog](https://github.com/env-logger-rs/env_logger/blob/master/CHANGELOG.md )
- [Commits](https://github.com/env-logger-rs/env_logger/compare/v0.8.2...v0.8.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-11 11:38:29 -08:00
Mike Welsh
16bd7fade6
web: Use case-insensitive check for detecting javascript scheme
2021-02-08 03:41:16 -08:00
crumblingstatue
5f25fe8807
desktop: Don't unwrap url to file path conversion
...
It might not succeed.
This unwrap crashes the newgrounds Meat Boy flash on desktop.
Instead, use unwrap_or_default with an empty path. This will cause
the read to fail, but it's better than crashing the whole program.
2021-02-04 15:08:56 -08:00
dependabot-preview[bot]
a6132a504b
build(deps): bump image from 0.23.12 to 0.23.13
...
Bumps [image](https://github.com/image-rs/image ) from 0.23.12 to 0.23.13.
- [Release notes](https://github.com/image-rs/image/releases )
- [Changelog](https://github.com/image-rs/image/blob/master/CHANGES.md )
- [Commits](https://github.com/image-rs/image/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-04 11:21:41 -08:00
relrelb
074731e1a4
audio: Add Nellymoser support
2021-02-02 00:41:01 -08:00
Mads Marquart
1990e51639
avm2: Add UiBackend::display_unsupported_message
...
To allow displaying rich content when unsupported ActionScript 3 content is encountered.
2021-01-31 23:04:20 -08:00
relrelb
7431cd9b10
core: Merge InputBackend into UiBackend
2021-01-30 16:36:45 -08:00
relrelb
fdda75eeec
desktop: Improve ruffle_desktop.rc
2021-01-30 16:32:28 -08:00
dependabot-preview[bot]
c98c8c5ced
build(deps): bump lyon from 0.17.4 to 0.17.5
...
Bumps [lyon](https://github.com/nical/lyon ) from 0.17.4 to 0.17.5.
- [Release notes](https://github.com/nical/lyon/releases )
- [Changelog](https://github.com/nical/lyon/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nical/lyon/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-30 16:28:18 -08:00
dependabot-preview[bot]
07fbacc4fb
build(deps): bump isahc from 1.0.3 to 1.1.0
...
Bumps [isahc](https://github.com/sagebind/isahc ) from 1.0.3 to 1.1.0.
- [Release notes](https://github.com/sagebind/isahc/releases )
- [Commits](https://github.com/sagebind/isahc/compare/1.0.3...1.1.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-30 16:26:21 -08:00
dependabot-preview[bot]
6f14490f84
build(deps): bump jpeg-decoder from 0.1.21 to 0.1.22
...
Bumps [jpeg-decoder](https://github.com/image-rs/jpeg-decoder ) from 0.1.21 to 0.1.22.
- [Release notes](https://github.com/image-rs/jpeg-decoder/releases )
- [Changelog](https://github.com/image-rs/jpeg-decoder/blob/master/CHANGELOG.md )
- [Commits](https://github.com/image-rs/jpeg-decoder/compare/v0.1.21...v0.1.22 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-29 11:42:19 -08:00
Mads Marquart
6772f96469
desktop: Use slice unpacking instead of unsafe get_unchecked
2021-01-28 14:39:35 -08:00
Mike Welsh
5e0527c599
desktop: Fix sound envelopes to use proper positions
...
The points in an SWF sound envelope are always in 44.1KHz. The
desktop audio backend would end up using this points in the sound's
sample rate, often causing the envelope to be delayed.
Now the envelope is applied after resampling, and the positions
are scaled based on the output sample rate.
2021-01-27 16:16:30 -08:00
Mike Welsh
a4699a3ca5
audio: Sound transforms apply to stream sounds
...
This unifies the code path for event sounds and stream sounds.
Both `AudioBackend::start_stream` and `start_sound` return a
`SoundHandle`. `stop_stream` is removed (`stop_sound` can be
used for both cases).
Also removes references to `CharacterId` from the `AudioBackend`
(instead, an increasing ID is returned to identiy streams while
loading).
2021-01-27 15:25:04 -08:00
Mike Welsh
95ce2abf17
audio: Remove AudioBackend::stop_sounds_with_handle/is_sound_playing_with_handle
2021-01-27 15:25:04 -08:00
Mike Welsh
da2dd3b36c
core: Implement sound transforms and Sound.setPan
2021-01-27 15:25:04 -08:00
Mike Welsh
34f60b127a
core: Add AudioManager to handle actively playing sounds
...
Add an AudioManager struct to handle this list of actively playing
sounds. This will maintain information for each sound instance,
such as the owning display object, AVM1 object, etc.
This will allow us to implement the awkward AVM1 Sound API in a
fairly backend-agnostic way.
2021-01-27 15:25:04 -08:00
Mads Marquart
4c3783b6ff
desktop: Also use flashvars parameters when running local files
2021-01-26 16:27:20 -08:00
Mads Marquart
ad137a2377
desktop: Change Windows Subsystem to not launch unnecessary console
...
Basically just copied from what alacritty is doing:
530de00049/alacritty/src/main.rs
There are two functional changes:
- When launching normally, you no longer see a console window quickly flashing
- When launching via. console, the program is detached (but still logs to the console)
2021-01-25 01:31:14 -08:00
Mads Marquart
5d887861da
desktop: Fix windows cross compilation of assets
2021-01-24 18:11:48 -08:00
dependabot-preview[bot]
239ccb3511
build(deps): bump jpeg-decoder from 0.1.20 to 0.1.21
...
Bumps [jpeg-decoder](https://github.com/image-rs/jpeg-decoder ) from 0.1.20 to 0.1.21.
- [Release notes](https://github.com/image-rs/jpeg-decoder/releases )
- [Changelog](https://github.com/image-rs/jpeg-decoder/blob/master/CHANGELOG.md )
- [Commits](https://github.com/image-rs/jpeg-decoder/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-24 11:52:39 -08:00
dependabot-preview[bot]
ef428d95a7
build(deps): bump lyon from 0.17.3 to 0.17.4
...
Bumps [lyon](https://github.com/nical/lyon ) from 0.17.3 to 0.17.4.
- [Release notes](https://github.com/nical/lyon/releases )
- [Changelog](https://github.com/nical/lyon/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nical/lyon/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-23 19:08:26 -08:00
Mike Welsh
da1e2801a2
chore: Appease clippy
2021-01-18 21:23:50 -08:00
dependabot-preview[bot]
e4d7e73ef1
build(deps): bump lyon from 0.17.1 to 0.17.3
...
Bumps [lyon](https://github.com/nical/lyon ) from 0.17.1 to 0.17.3.
- [Release notes](https://github.com/nical/lyon/releases )
- [Changelog](https://github.com/nical/lyon/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nical/lyon/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-14 03:04:25 -08:00
Toad06
7480e836ec
web: Changes from review
2021-01-11 13:16:00 -08:00
dependabot-preview[bot]
7c1b5c4e68
build(deps): bump isahc from 1.0.2 to 1.0.3
...
Bumps [isahc](https://github.com/sagebind/isahc ) from 1.0.2 to 1.0.3.
- [Release notes](https://github.com/sagebind/isahc/releases )
- [Commits](https://github.com/sagebind/isahc/compare/1.0.2...1.0.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-10 17:18:55 -08:00
MrCheeze
c2470d39fc
desktop: Increase window maximum size to 32767x32767
...
By default, winit limits the window size to the screen resolution.
Since some flashes are larger than this, increase the limit to an
arbitrarily-chosen larger constant.
2021-01-10 15:11:34 -08:00
MrCheeze
054db37ba0
desktop: Fix rendering when window is has unexpected size ( close #1631 )
...
Winit's WindowBuilder will sometimes create a window whose size is
smaller than requested. Therefore, instead of assuming the actual
window size is requested size * scaling, just check what the true
size is. (window.inner_size() also takes scaling into account.)
This fixes at least one issue where rendering would fail on Windows
with the Vulkan backend due to the incorrect size being used.
2021-01-10 15:11:34 -08:00
relrelb
55f348f014
desktop: Prevent entering/exiting fullscreen repeatedly
2021-01-08 11:59:08 -08:00
relrelb
b2867aa3b9
desktop: Add fullscreen exit keyboard shortcut
...
Flash Player also exits fullscreen when escape is pressed.
2021-01-08 11:59:08 -08:00
relrelb
030ff398ef
desktop: Handle fullscreen keyboard shortcut in its own case
2021-01-08 11:59:08 -08:00
Mike Welsh
cb9bdcdfdb
desktop: Hook up DesktopUiBackend::is_fullscreen
2021-01-07 12:49:36 -08:00
relrelb
6270156c74
desktop: Change fullscreen shortcut to Alt+Enter
...
And also remove the Escape shortcut because it might interfere with
games.
2021-01-07 12:49:36 -08:00
relrelb
abe608fd4d
desktop: Add fullscreen keyboard shortcut
2021-01-07 12:49:36 -08:00
Mike Welsh
01aca9f861
web: Remove upgrade_to_https param from Ruffle::new
...
Grab it from the `config` directly instead of using an extra param.
2021-01-07 11:46:07 -08:00
Mike Welsh
e9da6a13f0
core: Add letterbox setting
...
Player::set_letterbox can be used to control the letterbox behavior.
* Letterbox::Off => no letterbox (flash behavior)
* Letterbox::Fullscreen => letterbox only in fullscreen (web default)
* Letterbox::On => always letterbox (desktop default)
2021-01-07 11:46:07 -08:00
relrelb
9a8edda8a6
chore: Update lyon to 0.17.1
2021-01-04 18:08:14 -08:00
dependabot-preview[bot]
54367aafa0
build(deps): bump isahc from 0.9.14 to 1.0.2
...
Bumps [isahc](https://github.com/sagebind/isahc ) from 0.9.14 to 1.0.2.
- [Release notes](https://github.com/sagebind/isahc/releases )
- [Commits](https://github.com/sagebind/isahc/compare/0.9.14...1.0.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-03 00:26:19 -08:00
Mike Welsh
94cb6e1680
desktop: Avoid panic on fetching invalid URLs
2020-12-31 16:36:02 -08:00
Mike Welsh
6aafb46b49
desktop: Don't render while minimized
...
On desktop, don't render while the window is minimized.
In the wgpu backend, don't panic if swap chain fails to grab a
texture. Instead recreate the swap chain and bail on the current
frame.
Fixes panic when minimizing with the wgpu vulkan backend (#2065 ).
2020-12-28 16:00:13 -08:00
Mike Welsh
8222d3095b
desktop: Add --timedemo benchmark
...
Add --timedemo for benchmarking, which will run the given SWF as
quickly as possible for 5000 frames or the end of the root
timeline, whichever comes first. The total duration will be output
upon completion.
2020-12-26 23:59:12 -08:00
Sam Morrow
38bdb8b39a
web/desktop: Add basic dialog handling ( closes #1978 )
2020-12-23 19:08:18 -08:00
Mike Welsh
367404ddd8
core: SharedObjects are bucketed by domain
...
Key SharedObjects on the domain and path where the SWF is hosted,
and implement the localPath and secure parameters.
Fix #855 .
2020-12-22 14:18:06 -08:00
Sam Morrow
c4d7b24629
web: Fix cors issues with http (close ruffle-rs#1486)
2020-12-14 05:51:28 -08:00
dependabot-preview[bot]
f394e4d9ec
build(deps): bump winit from 0.23.0 to 0.24.0
...
Bumps [winit](https://github.com/rust-windowing/winit ) from 0.23.0 to 0.24.0.
- [Release notes](https://github.com/rust-windowing/winit/releases )
- [Changelog](https://github.com/rust-windowing/winit/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-windowing/winit/compare/v0.23.0...v0.24.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-10 13:24:55 -08:00
dependabot-preview[bot]
70e7894a14
build(deps): bump isahc from 0.9.13 to 0.9.14
...
Bumps [isahc](https://github.com/sagebind/isahc ) from 0.9.13 to 0.9.14.
- [Release notes](https://github.com/sagebind/isahc/releases )
- [Commits](https://github.com/sagebind/isahc/compare/0.9.13...0.9.14 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-08 23:53:57 -08:00
Sam Morrow
d5e597052e
desktop: Add file dialogs to Ruffle if no FILE argv V2 ( close #1774 )
...
Introduce file dialogs if no FILE argv is passed.
Use altered version of due to https://github.com/jdm/tinyfiledialogs-rs/issues/19
2020-12-04 13:04:43 -08:00
Mike Welsh
b7d28e5e7e
chore: Remove unnecessary debug output
2020-11-29 02:33:09 -08:00
Mike Welsh
dafe7e5027
avm1: Implement Key.getAscii
2020-11-29 02:31:10 -08:00
Nathan Adams
eca4ba0313
desktop: Potentially fixed panic when windows can't make a path absolute
2020-11-26 14:04:18 -08:00
dependabot-preview[bot]
93c401286c
build(deps): bump image from 0.23.11 to 0.23.12
...
Bumps [image](https://github.com/image-rs/image ) from 0.23.11 to 0.23.12.
- [Release notes](https://github.com/image-rs/image/releases )
- [Changelog](https://github.com/image-rs/image/blob/master/CHANGES.md )
- [Commits](https://github.com/image-rs/image/compare/v0.23.11...v0.23.12 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-18 16:29:07 -08:00
dependabot-preview[bot]
633bddfd72
build(deps): bump env_logger from 0.8.1 to 0.8.2
...
Bumps [env_logger](https://github.com/env-logger-rs/env_logger ) from 0.8.1 to 0.8.2.
- [Release notes](https://github.com/env-logger-rs/env_logger/releases )
- [Changelog](https://github.com/env-logger-rs/env_logger/blob/master/CHANGELOG.md )
- [Commits](https://github.com/env-logger-rs/env_logger/compare/v0.8.1...v0.8.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-18 16:26:21 -08:00
dependabot-preview[bot]
90d1ae53b7
build(deps): bump isahc from 0.9.12 to 0.9.13
...
Bumps [isahc](https://github.com/sagebind/isahc ) from 0.9.12 to 0.9.13.
- [Release notes](https://github.com/sagebind/isahc/releases )
- [Commits](https://github.com/sagebind/isahc/compare/0.9.12...0.9.13 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-14 23:33:37 -08:00
dependabot-preview[bot]
1bb10035a9
build(deps): bump isahc from 0.9.11 to 0.9.12
...
Bumps [isahc](https://github.com/sagebind/isahc ) from 0.9.11 to 0.9.12.
- [Release notes](https://github.com/sagebind/isahc/releases )
- [Commits](https://github.com/sagebind/isahc/compare/0.9.11...0.9.12 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-10 19:49:07 -08:00
dependabot-preview[bot]
9aacb15392
build(deps): bump cpal from 0.13.0 to 0.13.1
...
Bumps [cpal](https://github.com/rustaudio/cpal ) from 0.13.0 to 0.13.1.
- [Release notes](https://github.com/rustaudio/cpal/releases )
- [Changelog](https://github.com/RustAudio/cpal/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rustaudio/cpal/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-08 13:32:26 -08:00
dependabot-preview[bot]
fcf665fbe9
build(deps): bump url from 2.1.1 to 2.2.0
...
Bumps [url](https://github.com/servo/rust-url ) from 2.1.1 to 2.2.0.
- [Release notes](https://github.com/servo/rust-url/releases )
- [Commits](https://github.com/servo/rust-url/compare/v2.1.1...v2.2.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-06 00:45:35 -08:00
dependabot-preview[bot]
2d87c02f68
build(deps): bump cpal from 0.12.1 to 0.13.0
...
Bumps [cpal](https://github.com/rustaudio/cpal ) from 0.12.1 to 0.13.0.
- [Release notes](https://github.com/rustaudio/cpal/releases )
- [Changelog](https://github.com/RustAudio/cpal/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rustaudio/cpal/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-03 12:08:50 -08:00
dependabot-preview[bot]
33ef20494a
build(deps): bump isahc from 0.9.10 to 0.9.11
...
Bumps [isahc](https://github.com/sagebind/isahc ) from 0.9.10 to 0.9.11.
- [Release notes](https://github.com/sagebind/isahc/releases )
- [Commits](https://github.com/sagebind/isahc/compare/0.9.10...0.9.11 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-02 19:12:05 -08:00
Mike Welsh
2939339330
desktop: Workaround bug in generational-arena
2020-10-25 20:41:20 -07:00
dependabot-preview[bot]
37ead31b2a
build(deps): bump image from 0.23.10 to 0.23.11
...
Bumps [image](https://github.com/image-rs/image ) from 0.23.10 to 0.23.11.
- [Release notes](https://github.com/image-rs/image/releases )
- [Changelog](https://github.com/image-rs/image/blob/master/CHANGES.md )
- [Commits](https://github.com/image-rs/image/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-25 17:57:11 -07:00
Colin Berry
5a93c7ffa0
desktop: Follow Redirects
2020-10-20 23:31:23 -07:00
Colin Berry
67d9b91448
desktop: Make Proxy behave during initial load
2020-10-20 23:31:23 -07:00
Colin Berry
c51a31fde8
desktop: Support URL paths and Proxy options
2020-10-20 23:31:23 -07:00
Mike Welsh
8ee09ffc0c
desktop: Switch task to ready state on wake
2020-10-20 23:18:42 -07:00
dependabot-preview[bot]
8ba5dbfa49
build(deps): bump env_logger from 0.7.1 to 0.8.1
...
Bumps [env_logger](https://github.com/env-logger-rs/env_logger ) from 0.7.1 to 0.8.1.
- [Release notes](https://github.com/env-logger-rs/env_logger/releases )
- [Changelog](https://github.com/env-logger-rs/env_logger/blob/master/CHANGELOG.md )
- [Commits](https://github.com/env-logger-rs/env_logger/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-17 02:33:11 -07:00
Nathan Adams
3f46567fc1
render: Remove PowerPreference::Default as it's no longer in wgpu
2020-10-14 13:59:25 -07:00
Nathan Adams
a2593b0d52
desktop: Expose wgpu tracing through a `render_trace` feature and `--trace-path` argument
2020-10-14 13:59:25 -07:00
Nathan Adams
5862e7ba6b
desktop: Add -Pkey=value for adding flashvars/properties
2020-10-12 15:28:16 -07:00
Nathan Adams
536352a0d3
render: Move wgpu options out from desktop and into wgpu render crate
2020-10-10 13:43:18 -07:00
Mike Welsh
b41ea6e2fc
chore: Switch from sample to dasp crate
...
sample renamed into dasp. Switch to this crate and also use the
latest git revision, which fixed some compiler errors on nightly.
Also remove unnecessary sample dependency in exporter Cargo.toml.
2020-10-07 23:19:41 -07:00
Mike Welsh
a81f050e14
chore: Bump to winit 0.23
2020-10-04 13:04:27 -07:00
Sean-Thomas
5701312527
desktop: Implement play/pause for CPAL backend
...
- removed default implementations for `play()` and `pause()` methods for AudioBackend trait
- Implemented `play()` and `pause()` methods for CPAL audio backend
- Implemented empty block for `play()` and `pause()` methods for NULL audio backend
2020-09-29 11:05:23 -07:00
dependabot-preview[bot]
b6f05ecf41
build(deps): bump lyon from 0.16.0 to 0.16.2
...
Bumps [lyon](https://github.com/nical/lyon ) from 0.16.0 to 0.16.2.
- [Release notes](https://github.com/nical/lyon/releases )
- [Changelog](https://github.com/nical/lyon/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nical/lyon/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-29 05:25:14 -07:00
dependabot-preview[bot]
a8876ada34
build(deps): bump image from 0.23.9 to 0.23.10
...
Bumps [image](https://github.com/image-rs/image ) from 0.23.9 to 0.23.10.
- [Release notes](https://github.com/image-rs/image/releases )
- [Changelog](https://github.com/image-rs/image/blob/master/CHANGES.md )
- [Commits](https://github.com/image-rs/image/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-29 04:50:53 -07:00
Mike Welsh
ead845ff33
chore: Appease clippy
2020-09-26 18:19:37 -07:00
Mike Welsh
a59f211ae8
chore: Bump clap to 3.0-beta.2
2020-09-21 18:56:46 -07:00
Nathan Adams
de009c7673
core: Add Log backend, for capturing trace output specific to a movie
2020-09-13 13:51:39 -07:00
Nathan Adams
0b5713557b
desktop: Implement LocaleBackend for desktop
2020-09-02 17:12:31 -07:00
Nathan Adams
86eb6f2e50
avm1: Implement Date - #249
2020-09-02 17:12:31 -07:00
dependabot-preview[bot]
97968ab0a0
build(deps): bump image from 0.23.8 to 0.23.9
...
Bumps [image](https://github.com/image-rs/image ) from 0.23.8 to 0.23.9.
- [Release notes](https://github.com/image-rs/image/releases )
- [Changelog](https://github.com/image-rs/image/blob/master/CHANGES.md )
- [Commits](https://github.com/image-rs/image/compare/v0.23.8...v0.23.9 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-02 12:08:51 -07:00
Nathan Adams
932cb750ba
desktop: Add help documentation to command line arguments
2020-09-02 12:06:25 -07:00
Nathan Adams
7273c85034
desktop: Add --power (or -p) option for choosing a graphics power preference (high for dedicated gpu, low for integrated, default for situational best)
2020-09-02 12:06:25 -07:00
Nathan Adams
3e09767c7a
desktop: Add --graphics (or -g) option for choosing a graphics backend (vulkan/metal/dx12/dx11 right now)
2020-09-02 12:06:25 -07:00
Nathan Adams
cb2461920b
core: HTTP request values need to preserve order
2020-08-28 11:53:32 -07:00
Mike Welsh
3d17efd941
desktop: Wire up mouse wheel events
2020-08-23 13:38:59 -07:00
Mike Welsh
227ad0dc0a
desktop: Fix #1025 , invalid audio stream config on ALSA
...
When using ALSA, cpal was returning bogus sample rates from
`Device::supported_output_configs`, causing the audio stream to
fail to initialize.
Use `Device::default_output_config` instead.
2020-08-21 13:39:42 -07:00
Mike Welsh
88b3d35e27
chore: Fix ambiguous call in audio
...
Nightly was complaining because `array.map` may be added in future
Rust versions.
2020-08-14 14:25:02 -07:00
Mike Welsh
1a267cfa85
core: Add git revision to version info
2020-08-14 14:12:08 -07:00
Mike Welsh
e49332c43c
desktop: Switch to clap 3.0.0-beta1
...
Prepare for next major release of clap.
Dump structopt, which has been merged into clap.
2020-08-14 14:12:08 -07:00
Mike Welsh
94771a49c6
desktop: Rollback to winit 0.22.1 ( fix #757 and #980 )
2020-08-06 15:11:07 -07:00
dependabot-preview[bot]
d05a8af32b
build(deps): bump lyon from 0.15.9 to 0.16.0
...
Bumps [lyon](https://github.com/nical/lyon ) from 0.15.9 to 0.16.0.
- [Release notes](https://github.com/nical/lyon/releases )
- [Changelog](https://github.com/nical/lyon/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nical/lyon/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-03 11:32:00 -07:00
dependabot-preview[bot]
e8214f2305
build(deps): bump image from 0.23.7 to 0.23.8
...
Bumps [image](https://github.com/image-rs/image ) from 0.23.7 to 0.23.8.
- [Release notes](https://github.com/image-rs/image/releases )
- [Changelog](https://github.com/image-rs/image/blob/master/CHANGES.md )
- [Commits](https://github.com/image-rs/image/compare/v0.23.7...v0.23.8 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-27 05:01:54 -07:00
David Wendt
c926da8888
Refactor URL relativization into two utility methods that backends can provide base URLs and paths to.
2020-07-23 23:02:54 -04:00
David Wendt
7433bfe28f
Add a `NavigatorBackend` method to resolve relative URLs.
2020-07-23 23:02:53 -04:00
David Wendt
f56d16a68d
Separate player creation from root movie setup, and allow users of Ruffle to load in movies synchronously or asynchronously.
...
During the small period of time when a player is created but has no root movie, a temporary empty movie is installed with an assumed stage size and framerate of 550x400@12fps. This is Flash default for new projects, so it seemed appropriate. User ActionScript cannot see these values, and I'm not even sure JavaScript can, either.
2020-07-23 23:02:51 -04:00
dependabot-preview[bot]
34770be5e7
build(deps): bump cpal from 0.12.0 to 0.12.1
...
Bumps [cpal](https://github.com/rustaudio/cpal ) from 0.12.0 to 0.12.1.
- [Release notes](https://github.com/rustaudio/cpal/releases )
- [Changelog](https://github.com/RustAudio/cpal/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rustaudio/cpal/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-22 17:02:38 -07:00
Mike Welsh
ef67f828fb
desktop: Revert to console app on Win32
...
Remove #![windows_subsystem = "windows"], which launched us as a
GUI app on win32. However, this had the side effect of hiding
output to stdout/stderr when launched from the command-line.
Since Ruffle is primarily a CLI interface as of yet, let's revert
back to a console win32 app so that we can display output. Instead,
we can hide the console if we detect we were not launched from the
command line.
2020-07-20 23:11:44 -07:00