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