Mike Welsh
7d75f9ecf8
chore: Always rebuild TypeScript
...
Pass `--force` to tsc to always force a recompile of the
TypeScript on build.
`tsc` won't rebuild files if the source hasn't changed, but we
want `build-info.js` to always be updated.
2023-03-26 09:52:37 -07:00
Daniel Jacobs
b7c20a6c60
extension: Give precedence to toggles over default options ( fixes #5825 )
...
Also fixes #5696
2023-03-25 22:57:57 -07:00
relrelb
c68a4b0099
web: Remove deprecated `indentation` Stylelint rule
...
Stylelint 15.0.0 deprecated `indentation`: https://stylelint.io/migration-guide/to-15
Prettier already enforces indentation, so it can be removed from
`.stylelintrc.yaml`.
2023-03-25 10:16:49 +03:00
relrelb
3c69bb27db
web: Enforce ESLint's `spaced-comment` rule
2023-03-25 10:03:55 +03:00
relrelb
39b53c76d6
ci: Deny warnings on Web
...
As suggested in https://github.com/ruffle-rs/ruffle/pull/6935#pullrequestreview-967181111 .
2023-03-24 19:16:32 -07:00
David Wendt
37e1bdb43a
chore: `Promise.all` needs an array
2023-03-24 20:03:11 -06:00
Daniel Jacobs
2ced2d2300
web: Don't polyfill with self-hosted Ruffle while extension is loading
2023-03-24 17:58:54 -07:00
Wumbo
f6a139235b
web: Increase spacing between Ruffle logo and options
2023-03-25 00:27:06 +03:00
Wumbo
8d56c8b7ad
web: Change Ruffle logo hover animation
2023-03-25 00:27:06 +03:00
Wumbo
07a09d3204
web: Improve styling of nightly watermark in extension menu
2023-03-25 00:27:06 +03:00
nosamu
f97827ef9c
web: Display config parse errors
2023-03-22 16:51:55 -07:00
TÖRÖK Attila
f8ea7acb14
web/audio: nit: Rename probation_time to probation_elapsed everywhere
2023-03-22 16:14:55 -07:00
renovate[bot]
d7c842a139
chore(deps): lock file maintenance rust dependencies
2023-03-21 14:27:27 +01:00
Daniel Jacobs
9832ee5845
web: Remove else from save manager, unneeded with early return
2023-03-21 08:47:16 +01:00
Daniel Jacobs
fe17ca8832
web: Don't replace save if user does not confirm needed reload
2023-03-21 08:47:16 +01:00
Daniel Jacobs
f123b5e50c
web: Don't break Ruffle when localStorage is unavailable
2023-03-21 08:47:16 +01:00
Daniel Jacobs
d2e7d8ba7a
web: Improve save manager styling
2023-03-21 08:47:16 +01:00
Daniel Jacobs
0cbfaf4a3e
Add confirmation for delete and reload content for delete conflict
2023-03-21 08:47:16 +01:00
Daniel Jacobs
92618f6894
web: Alow download sol to work on extension page by avoiding fetch
2023-03-21 08:47:16 +01:00
Daniel Jacobs
9671f7ccac
web: Close Save Manager when clicking outside of it
2023-03-21 08:47:16 +01:00
Daniel Jacobs
509d273073
web: Make all save manager functions private
2023-03-21 08:47:16 +01:00
Daniel Jacobs
ef3220e77d
web: Only accept sol files in save manager
2023-03-21 08:47:16 +01:00
Daniel Jacobs
320edd3c0f
web: Allow duplicate key replacement to reload page
2023-03-21 08:47:16 +01:00
Daniel Jacobs
10f35781fc
web: Add title text to save table keys in case of name duplicates
2023-03-21 08:47:16 +01:00
Daniel Jacobs
f71723c082
web: Only show context menu item for save manager when saves exist
2023-03-21 08:47:16 +01:00
Daniel Jacobs
94ff2891e9
web: Don't allow arbitrary upload of save files for technical reasons
2023-03-21 08:47:16 +01:00
Daniel Jacobs
54ad95beb3
web: Make save manager completely functional
2023-03-21 08:47:16 +01:00
Daniel Jacobs
824cc1689c
web: [WIP] Add Save Manager to context menu
2023-03-21 08:47:16 +01:00
renovate[bot]
f6f646a756
chore(deps): lock file maintenance rust dependencies
2023-03-19 19:45:30 -07:00
David Wendt
1a266bafeb
web: Fix extension source code upload (again)
2023-03-19 14:08:28 -07:00
MrCheeze
9e71ea9124
web: Allow ExternalInterface.call to call methods of primitive types ( close #9105 )
2023-03-19 07:18:01 +01:00
relrelb
156c76cb94
web: Simplify custom context menu separators logic
...
Instead deduplicating separators in `RufflePlayer.showContextMenu()`
using DOM attributes, do it right in `RufflePlayer.contextMenuItems()`,
using a simpler approach.
2023-03-18 02:10:08 -07:00
TÖRÖK Attila
63a1689c07
web/audio: Require quick fills for a fixed amount of time before shrinking buffers
...
Instead of a fixed number of buffer fills, which changes wildly in duration.
2023-03-16 05:28:13 +01:00
TÖRÖK Attila
6f9532e322
web/audio: Introduce a warmup period to not increase buffer size right at startup
2023-03-16 05:28:13 +01:00
Nathan Adams
1bb8515d85
chore: Update avm2 compatibility warning to be less severe
2023-03-15 15:30:25 -07:00
Daniel Jacobs
5a1b43008b
web: Remove Config object; it was never a correct type for the config
2023-03-15 11:45:00 +01:00
Oleksandr Kalko
1b3f23a750
chore: Upgrade Node.js dependencies
2023-03-12 23:36:09 +01:00
TÖRÖK Attila
3a8ee003e4
web/audio: Make buffer size adaptive
2023-03-11 22:34:54 +01:00
Oleksandr Kalko
e16ff7d677
web: Remove `stylelint-config-prettier` package
...
From package npm page:
> As of Stylelint v15 all style-related rules have been deprecated. If you are using v15 or higher and are not making use of these deprecated rules, this plugin is no longer necessary.
Stylelint was upgraded to 15.0.0 on 68078dc
commit
2023-03-11 13:34:14 +01:00
David Wendt
6fd6279344
web: Fix copy-pasted code that breaks in sign_xpi.js
2023-03-10 18:09:58 -07:00
David Wendt
f4354a638e
web: Remove the find-the-version-ID extra step and use the version number directly
...
Mozilla actually added this feature in the middle of me building out this PR. How handy!
2023-03-10 16:38:01 -07:00
David Wendt
e276b8cedb
web: Since we don't get version IDs for newly-submitted extensions, search the Mozilla API for the given version instead.
2023-03-10 16:38:01 -07:00
David Wendt
a39036102d
web: First attempt at hacking in source code upload to Mozilla's signing tool.
...
We're abusing their v4 API implementation to make v5 API requests, which might not work; hopefully the authentication scheme is the same.
Furthermore, I'm assuming that the v4 sign response gives you a version ID that is valid for v5 `/addons/addon` requests.
2023-03-10 16:38:01 -07:00
Oleksandr Kalko
aca4b03c0b
chore: Run `npm audit fix`
...
npm update causes dependency conflict
This gets rid of vulnerability warning after `npm install`
2023-03-07 18:25:55 +01:00
renovate[bot]
68078dcccc
chore(deps): update node.js dependencies
2023-03-06 21:56:57 +01:00
Nathan Adams
806c0fe052
web: Only report log events to browser timing api if new `profiling` feature is enabled
2023-03-05 10:29:17 +01:00
Nathan Adams
25db37790c
web: Also set up logging for Buffer::play()
2023-03-05 10:29:17 +01:00
Nathan Adams
b38dbadad6
web: Fixed missing logs when using `log`
2023-03-05 10:29:17 +01:00
Nathan Adams
d213bc6f7f
web: Make sure we set the log subscriber in futures
2023-03-05 10:29:17 +01:00
Daniel Jacobs
5944bae33b
web: Log a message when the preloader configuration option is false
2023-03-02 10:51:36 +02:00