Kamil Jarosz
bb79e8ad5d
web: Close sockets properly
...
This patch ensures that sockets are closed properly.
Without it, when the application-end of the socket was closed,
the other end was left intact, and the socket was not closed.
2024-03-01 23:16:10 +01:00
renovate[bot]
6e84b05b66
fix(deps): update rust dependencies
2024-03-01 22:46:32 +01:00
Daniel Jacobs
9a7a92fd9e
web: Don't panic on browsers without ReadableStreamDefaultController
2024-03-01 13:26:38 -05:00
Crowdin Bot
4e87d34068
chore: Update translations from Crowdin
2024-03-01 11:15:11 +01:00
renovate[bot]
85e2e366f9
chore(deps): update node.js dependencies
2024-03-01 11:03:05 +01:00
Kamil Jarosz
cc8b0aa5dd
core: Use async channels in NavigatorBackend
...
This has several advantages:
1. it allows using async variants of send and recv,
2. it adds consistency as until now Receiver was async,
and Sender was not.
2024-02-28 19:42:54 +01:00
Crowdin Bot
832f35e203
chore: Update translations from Crowdin
2024-02-27 22:51:33 +01:00
renovate[bot]
9cdb2f31cc
fix(deps): update rust dependencies
2024-02-26 08:14:26 +01:00
Nathan Adams
ea77019eab
web: Include wasm file in docker builds as Mozilla say this is okay, and it solves our reproducibility issues
2024-02-22 02:30:00 +01:00
dependabot[bot]
35630c3a2e
build(deps-dev): bump ip from 1.1.8 to 1.1.9 in /web
...
Bumps [ip](https://github.com/indutny/node-ip ) from 1.1.8 to 1.1.9.
- [Commits](https://github.com/indutny/node-ip/compare/v1.1.8...v1.1.9 )
---
updated-dependencies:
- dependency-name: ip
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-02-21 00:42:08 +01:00
Crowdin Bot
00f1ce66ea
chore: Update translations from Crowdin
2024-02-21 00:26:15 +01:00
Nathan Adams
30a0864329
web: Don't generate random name of wasm files in extension
2024-02-19 20:47:33 +01:00
renovate[bot]
6b89737093
fix(deps): update rust dependencies
2024-02-19 11:32:22 +01:00
renovate[bot]
c234c72897
chore(deps): update node.js dependencies
2024-02-19 08:31:37 +01:00
Nathan Adams
4ed608851e
web: Fix version seal path
2024-02-16 11:59:40 +01:00
renovate[bot]
637b277481
web: chore: Bump wasm-bindgen to 0.2.91
2024-02-16 09:48:30 +01:00
TÖRÖK Attila
555fcfa9c4
web,ci: Recommend and test with Node.js 20 LTS and 21 stable
2024-02-12 15:56:32 -05:00
renovate[bot]
a73b48961c
chore(deps): update node.js dependencies
2024-02-07 19:24:57 +01:00
Nathan Adams
aaba552413
web: Remove npm version requirement; it was only needed to be 7 and the bot just kept updating it. We're long past 7 now.
2024-02-04 23:12:57 +01:00
TÖRÖK Attila
efe8777a00
chore: Fix formatting according to the updated linter
2024-02-04 22:48:50 +01:00
renovate[bot]
7ea3ebe3f2
chore(deps): update node.js dependencies
2024-02-04 22:48:50 +01:00
Kamil Jarosz
50b5f29c0a
text: Make enter add a new line in multiline fields
2024-02-03 13:40:07 +01:00
Tom Schuster
28dc164d18
web: Explicit instruction how to use sudo for docker building
2024-02-02 19:57:38 +01:00
Kamil Jarosz
0657d2daa2
text: Add advanced horizontal text control codes
2024-02-01 20:18:29 +01:00
renovate[bot]
3737725a21
fix(deps): update rust dependencies
2024-01-30 09:23:15 +01:00
Aaron Hill
5b685d411f
chore: Fix nightly Clippy lints
2024-01-28 16:03:29 -05:00
Tom Schuster
941e60aef5
web: Temporary disable display_file_save_dialog to prevent panics
2024-01-27 00:41:14 +01:00
Crowdin Bot
4769a45999
chore: Update translations from Crowdin
2024-01-26 22:54:04 +01:00
Daniel Jacobs
119a093c27
web: Add allowFullscreen embed/object option (part of #4258 )
2024-01-26 10:06:29 +00:00
David Wendt
9f70fab5b5
web: Use single-threaded shared ownership for body stream
2024-01-25 23:24:09 -07:00
David Wendt
006c3af4b8
core: Add backend method for getting the expected length of a response.
2024-01-25 23:24:09 -07:00
David Wendt
91dd9563bb
core: Add method to read downloads in chunks instead of all-at-once.
2024-01-25 23:24:09 -07:00
David Wendt
06eb2e1ee8
core: `Request` is now a trait. Body download is deferred to a second async method.
2024-01-25 23:24:09 -07:00
Crowdin Bot
e6ea51005d
chore: Update translations from Crowdin
2024-01-25 22:26:19 +01:00
Crowdin Bot
917c1c08f7
chore: Update translations from Crowdin
2024-01-25 00:49:31 +01:00
Daniel Jacobs
dd158c6193
web: Remove swfUrl from RufflePlayer for files loaded by data
2024-01-24 12:11:44 -05:00
Crowdin Bot
a916f6e7a2
chore: Update translations from Crowdin
2024-01-23 23:01:01 +01:00
Crowdin Bot
430463ecd3
chore: Update translations from Crowdin
2024-01-23 12:38:25 +01:00
Crowdin Bot
a1131cd70f
chore: Update translations from Crowdin
2024-01-21 22:15:55 +01:00
Nathan Adams
c63f51f823
web: Enable webgpu
2024-01-21 19:36:08 +01:00
Tom Schuster
06c7e015e2
web: Support DefineFont4 in fontSources
2024-01-21 08:02:45 +01:00
Crowdin Bot
f90adeebe2
chore: Update translations from Crowdin
2024-01-21 02:28:29 +01:00
Oleksandr Kalko
22e5f16a21
Update vite to 5.0.12 in `package.json`
...
Renovate PR to update `vite` to 5.0.12 (https://github.com/ruffle-rs/ruffle/pull/14851 ) updated only `package-lock.json`, but not `package.json`
This causes `vite` inside `package-lock.json` to roll back to 5.0.10 after `npm install`. This PR fixes that :)
2024-01-20 18:01:26 +01:00
renovate[bot]
a107d97e46
chore(deps): update dependency vite to v5.0.12 [security]
2024-01-19 23:28:41 +01:00
Crowdin Bot
1775e3e41f
chore: Update translations from Crowdin
2024-01-19 23:21:02 +01:00
Crowdin Bot
5f123c3c01
chore: Update translations from Crowdin
2024-01-19 00:24:06 +01:00
TÖRÖK Attila
d153290fd6
nits: Fix a whole bunch of typos all over the place
2024-01-17 23:59:19 +01:00
Daniel Jacobs
8f2292c2c7
core: Add error for loading invalid SWF files and display as appropriate
2024-01-17 17:38:47 -05:00
Daniel Jacobs
5765177ba7
web: Properly panic when loading invalid SWF files ( fix #14665 )
2024-01-17 17:38:47 -05:00
Aaron Hill
6c420fa5d5
avm2: Run most of Loader.loadBytes immediately
...
This requires moving `set_root_movie` into `UpdateContext`.
Now, we preload the entire movieclip immediately - Flash Player
does this regardless of the size of the SWF.
The 'Loader::load_complete' is delayed to the end of the frame
(which is when the root class is constructed for the loaded clip).
2024-01-17 00:53:08 +01:00
Toad06
c847309217
extension: Close `popup.html` when clicking "Open SWF Player" in Firefox
2024-01-16 23:44:10 +01:00
renovate[bot]
3c115238fd
fix(deps): update rust dependencies
2024-01-16 01:13:38 +01:00
Crowdin Bot
3f17d1c778
chore: Update translations from Crowdin
2024-01-16 00:48:30 +01:00
TÖRÖK Attila
dccd48dca8
chore: Update wasm-bindgen version references to 0.2.90
2024-01-16 00:28:44 +01:00
renovate[bot]
e0a22b56ce
fix(deps): update wasm-bindgen
2024-01-15 17:24:02 -05:00
nosamu
d1fff8a8ff
web: Add special case for base="."
2024-01-12 10:39:07 +01:00
Nathan Adams
6b7bca1fd6
web: Support F13..F24 keys
2024-01-11 22:40:37 +01:00
dependabot[bot]
46f95a9522
build(deps): bump follow-redirects from 1.15.2 to 1.15.4 in /web
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.15.2 to 1.15.4.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.2...v1.15.4 )
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-11 01:12:54 +01:00
Nathan Adams
d89e4536b3
core: Support Japanese font defaults
2024-01-10 23:15:26 +01:00
nosamu
4db454e933
web: Fix download link
2024-01-09 18:06:50 +01:00
Crowdin Bot
6e1e26e0e8
chore: Update translations from Crowdin
2024-01-08 23:28:34 +01:00
nosamu
d97314d315
extension: Bail if postMessage event has no data
...
Fixes #14486
2024-01-08 18:30:44 +01:00
renovate[bot]
a328deab11
fix(deps): update rust dependencies
2024-01-08 02:59:04 +01:00
Crowdin Bot
1325181a59
chore: Update translations from Crowdin
2024-01-06 09:30:28 +01:00
TÖRÖK Attila
217585daa8
chore: Delegate `[lints]` in `Cargo.toml` of all packages to the workspace
2024-01-05 11:28:19 +01:00
renovate[bot]
098aa228d1
chore(deps): update dependency typedoc to ^0.25.5
2024-01-01 04:11:41 +01:00
renovate[bot]
1c4db4d315
chore(deps): update node.js dependencies
2024-01-01 02:12:37 +01:00
Daniel Jacobs
51254e16d1
web: Use unwrap_or_default for the PlayerRuntime instead or map_err
2023-12-30 17:58:36 -05:00
Daniel Jacobs
27849b5cdc
web: Add playerRuntime option to config for air or flashPlayer
2023-12-30 17:58:36 -05:00
renovate[bot]
216a8f3b14
fix(deps): update rust dependencies
2023-12-25 10:09:07 +01:00
Crowdin Bot
9523022cdd
chore: Update translations from Crowdin
2023-12-23 13:26:37 +01:00
Tom Schuster
e3d8a279ad
core: load_device_font register function must be &mut
2023-12-22 13:47:48 +01:00
Crowdin Bot
ba6ba842d7
chore: Update translations from Crowdin
2023-12-18 23:28:34 +01:00
Tom Schuster
8071a14d4d
web/extension: Correct the version used for the Firefox extension
2023-12-16 18:16:52 +01:00
TÖRÖK Attila
f8260e1d3f
web: Simplify the TS_NODE_COMPILER_OPTIONS value for mocha in core test
2023-12-15 20:21:12 +01:00
Crowdin Bot
9a02ca76ff
chore: Update translations from Crowdin
2023-12-12 19:08:09 +01:00
renovate[bot]
3a033f0f28
fix(deps): update rust dependencies
2023-12-11 15:51:12 +01:00
TÖRÖK Attila
1008a9559a
web/extension: Lower minimum Firefox version on Android to 120
2023-12-09 18:49:18 +01:00
renovate[bot]
e9c83f45ac
chore(deps): update node.js dependencies
2023-12-08 13:45:16 +01:00
renovate[bot]
41ddb316a2
chore(deps): update node.js dependencies
2023-12-06 01:58:50 +01:00
dependabot[bot]
253e1c65d8
build(deps-dev): bump vite from 5.0.2 to 5.0.5 in /web
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 5.0.2 to 5.0.5.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v5.0.5/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-12-06 01:42:02 +01:00
TÖRÖK Attila
aa6dc22124
web/extension: Raise minimum Firefox version on Android to 121
2023-12-05 00:10:45 +01:00
renovate[bot]
a0c33382bf
fix(deps): update wasm-bindgen
2023-12-04 12:08:22 +01:00
Crowdin Bot
d1bf2378cf
chore: Update translations from Crowdin
2023-12-03 22:14:39 +01:00
Crowdin Bot
9477856079
chore: Update translations from Crowdin
2023-12-02 23:25:09 +01:00
TÖRÖK Attila
5009285e69
web: Fix build error in the Firefox extension builder Dockerfile
2023-12-02 00:08:17 +01:00
Daniel Jacobs
13efea13ee
web: Don't let video modal overflow RufflePlayer
2023-12-01 09:32:04 -05:00
TÖRÖK Attila
884f46241c
web: Mark the Firefox extension as compatible with Android upon AMO submission
...
The minimum version is from: https://github.com/ruffle-rs/ruffle/wiki#web
2023-11-30 00:21:51 +01:00
TÖRÖK Attila
1635e27337
docs: Link to the new Chrome Web Store from README.md
2023-11-30 00:16:20 +01:00
TÖRÖK Attila
ca25f82900
chore: Bump wasm-bindgen to 0.2.89 (0.2.88 got yanked)
2023-11-28 21:43:41 -05:00
nosamu
c197629d24
demo: Fix `npm run demo`
2023-11-28 16:27:57 -08:00
Daniel Jacobs
9e146c0f49
web: Use CustomEvent instead of Event for load events so MooTools works
2023-11-28 13:28:06 -05:00
Daniel Jacobs
4805a07301
demo: Wrap flex items onto mutliple lines at small screen sizes
2023-11-27 11:05:02 -05:00
renovate[bot]
6da223a875
fix(deps): update rust dependencies
2023-11-27 09:44:47 +01:00
Nathan Adams
23e7a653d8
web: Configure demo to use ./ as asset path
2023-11-26 15:26:21 +01:00
Nathan Adams
54caef3b09
web: Fix fonts in demo
2023-11-25 22:00:34 +01:00
Nathan Adams
63b1c92521
web: Refactor sample selection
2023-11-25 22:00:34 +01:00
Nathan Adams
798ca3bceb
web: Add options to demo to enable url loading and sample loading
2023-11-25 22:00:34 +01:00
Nathan Adams
6f1cc89c47
web: Rewrite demo in react
2023-11-25 22:00:34 +01:00
Nathan Adams
fe99e6350b
web: Don't require webpack, and export MovieMetadata type
2023-11-25 22:00:34 +01:00
MrCheeze
5920a6426e
core: Allow Regular/Bold/Italic device fonts to be registered separately
2023-11-24 17:08:35 +01:00
Tom Schuster
96059a8e25
avm2: Implement flash.system.Security pageDomain
2023-11-23 19:55:32 +01:00
Crowdin Bot
d1784dc7c8
chore: Update translations from Crowdin
2023-11-23 00:38:05 +01:00
Daniel Jacobs
30aabc748c
demo: Use toggle instead of checking current class
2023-11-22 18:05:38 -05:00
Daniel Jacobs
ffca5adbf7
demo: Fix positioning of info box so it appears next to ruffle-player
2023-11-22 18:05:38 -05:00
Daniel Jacobs
a313e51c32
web: Disallow range notation in media queries to fix older Safari
2023-11-22 20:30:35 +01:00
Daniel Jacobs
438274e930
demo: Fix styles that don't work on Safari
2023-11-22 20:30:35 +01:00
Nathan Adams
5177bd496a
web: Hide demo logo when the screen is too small
2023-11-21 19:39:01 +01:00
Nathan Adams
81efa01991
web: Enable clicking on demo file label
2023-11-21 19:39:01 +01:00
Nathan Adams
1b39bdcd0b
web: Use 'x as y' instead of '<y>x'
2023-11-21 19:39:01 +01:00
Nathan Adams
549f017794
web: Rename demo 'main' to 'playerContainer'
2023-11-21 19:39:01 +01:00
Nathan Adams
c0ab99f6ee
web: Add option to hide the url input (forced on right now)
2023-11-21 19:39:01 +01:00
Nathan Adams
151b209f5d
web: Disable overlay when debugging demo
2023-11-21 19:39:01 +01:00
Nathan Adams
20bd980189
web: Copy extension player restyling to demo
2023-11-21 19:39:01 +01:00
Nathan Adams
cf9d99f3fb
web: Convert demo to typescript
2023-11-21 19:39:01 +01:00
Nathan Adams
5c6b544a11
web: Disallow const enums
2023-11-21 19:39:01 +01:00
Nathan Adams
770b671bc5
web: PublicAPI.negotiate's prevRuffle argument is optional
2023-11-21 19:39:01 +01:00
renovate[bot]
7757d060ff
fix(deps): update rust dependencies to v2
2023-11-20 09:03:08 +01:00
renovate[bot]
2a83274c7f
fix(deps): update rust dependencies
2023-11-19 21:09:42 -05:00
Daniel Jacobs
ffdb248872
demo/extension: Expand iPad check to work for iPadOS 13+
2023-11-15 08:04:23 -05:00
Crowdin Bot
b196c8d1bc
chore: Update translations from Crowdin
2023-11-13 16:53:02 -05:00
Nathan Adams
54fae4fd5b
web: Fix enter key's keyCode, + test
2023-11-13 21:08:38 +01:00
Nathan Adams
0f579ced38
web: Add getTraceOutput util
2023-11-13 21:08:38 +01:00
Nathan Adams
88d5177653
web: Await the player loading in jsApiBefore
2023-11-13 21:08:38 +01:00
Nathan Adams
7c5c4576cc
web: Actually respect the swf url in jsApiBefore
2023-11-13 21:08:38 +01:00
renovate[bot]
32c65e6460
fix(deps): update rust dependencies
2023-11-13 09:10:26 +01:00
Crowdin Bot
949b294bdf
chore: Update translations from Crowdin
2023-11-10 22:30:29 +01:00
renovate[bot]
d98a2750a0
chore(deps): update dependency chromedriver to v119 [security]
2023-11-10 00:14:34 +01:00
Nathan Adams
94009e4b1a
web: Add credentialAllowList config option
2023-11-09 13:04:12 +01:00
Kornelius Rohrschneider
514611451f
web: Set default Polyfill allowScriptAccess value to samedomain
...
The default allowScriptAccess value for polyfilled elements has been set
to samedomain. This means that it's true if the SWF file has the same
domain as the player website and false otherwise.
To do this, a new isPolyfillElement parameter is given to the
RufflePlayer::load method.
2023-11-08 17:09:54 +01:00
Kornelius Rohrschneider
1b2baf3364
web: Fix Ruffle extension player not using the configuration for files
...
The Ruffle extension player has previously not used the extension
configuration settings when loading local SWF files.
This has been fixed.
2023-11-08 17:09:54 +01:00
Kornelius Rohrschneider
8c8367a09c
web: Fix Ruffle configuration not working properly for Polyfill elements
...
Previously, the Ruffle configuration options weren't working properly
for polyfilled elements.
A polyfilled element can have specific configuration options which
overwrite the more general Ruffle configuration settings.
But the code handling those specific configuration options has
previously set some of them to default values if they haven't been
provided, therefore overwriting the more general configuration settings.
This has been fixed. A getPolyfillOptions function has been created and
returns a URLLoadOptions object, containing only the options that have
been set for the respective element. Helper functions have been adapted
to not return any default values anymore.
getPolyfillOptions is now used in all places where polyfilled options
need to be retrieved (therefore reducing duplicated code).
Documentation has been added to clarify that these options must not
contain any default values, since those would overwrite other
configuration settings with a lower priority.
The extension and demo code has been changed to clarify that no default
values are contained in the element configuration options.
The RuffleEmbed::attributeChangedCallback method has previously loaded
an SWF file only with the parameters and base options. This has been
fixed as well since it now also uses getPolyfillOptions.
When using RuffleObject::connectedCallback to load an SWF file, setting
an element config option to "" hasn't worked for most config options
before either. This has been fixed as well by using the new
getPolyfillOptions function.
The default WindowMode value of the default Ruffle web config has been
set to Window (as it is in the desktop version and according to the
documentation). It has previously been set to Opaque (which causes the
same functionality).
2023-11-08 17:09:54 +01:00
Crowdin Bot
1c4380f633
chore: Update translations from Crowdin
2023-11-07 12:40:56 +01:00
renovate[bot]
acadb2b2d3
fix(deps): update wasm-bindgen
2023-11-07 12:18:50 +01:00
Wumbo
4403848a4b
web: Extension UI improvements ( #13473 )
...
* web: Improve styling of extension pop-up menu
* web: Improve styling of extension settings page
* web: Improve styling of extension player
* web: Make styling more consistent across browsers
* web: Run eslint, fix some problems
* web: Move version text near top of pop-up menu, add to settings menu
* web: Improve logo hover bounds in pop-up and settings
* web: Improve styling of extension status indicator
* web: Update extension pop-up text strings
* web: Misc. sizing/padding changes to extension UI
* web: chore: Add a stylelint exception for #backgroundColor in player.css
Because it's not kebab-case, to match the keys of the metadata object in JS.
---------
Co-authored-by: TÖRÖK Attila <torokati44@gmail.com>
2023-11-03 23:07:25 +01:00
CUB3D
b0d88645bc
avm1: Implement FileReference
2023-11-03 19:32:24 +01:00
renovate[bot]
9b3df944ad
chore(deps): update node.js dependencies
2023-11-01 11:18:48 +01:00
renovate[bot]
1377a5b07b
fix(deps): update rust dependencies
2023-11-01 00:45:43 +01:00
Nathan Adams
5682e0101d
web: Add defaultFonts config option for specifying the default _sans etc
2023-10-30 15:15:57 +01:00
Nathan Adams
857f65d077
web: Add fontSources config option for loading extra device fonts than our defaults
2023-10-30 15:15:57 +01:00
TÖRÖK Attila
7cec9ed969
chore: Add `--locked` to all `cargo build` invocations
2023-10-28 14:07:39 +02:00
TÖRÖK Attila
0c0b86c008
core,web: Replace `instant` with `web-time`
2023-10-28 03:01:45 +02:00
TÖRÖK Attila
ac93947c22
web: Clean up nonsensical feature setup of the ruffle_core dependency
2023-10-28 02:34:07 +02:00
renovate[bot]
997ad1643a
chore(deps): update node.js dependencies
2023-10-27 23:40:04 +02:00
Daniel Jacobs
2eeee80646
web: Switch click and pointer events to act on element and not window
2023-10-27 15:55:16 -04:00
TÖRÖK Attila
c5b9239d08
nit: Fix tool name in error message of extension build
...
This is a fixup for https://github.com/ruffle-rs/ruffle/pull/13733 .
I always confuse these things, and notice these minor mistakes an hour after merging. _Gosh hecking darn it!_
2023-10-27 20:06:39 +02:00
TÖRÖK Attila
e770200dc6
web: Make the error message about a missing version seal more verbose
2023-10-27 15:58:15 +02:00
TÖRÖK Attila
4109047c20
web: Tidy up the Dockerfile for building the browser extension. Details:
...
- Add clang to the dependencies
- Migrate Node.js installation to their new recommended method
- Add some comments for each logical step
- Remove a redundant comment
- Remove some unnecessary semicolons
2023-10-27 15:58:15 +02:00
Crowdin Bot
fd6568aa80
chore: Update translations from Crowdin
2023-10-27 00:49:17 +02:00
Daniel Jacobs
180d275f13
web: Check navigator.clipboard exists before using it
2023-10-26 13:01:55 -04:00