Mike Welsh
c2b768c453
web: Fallback to instantiate with improper MIME type
...
Use --target web in wasm-bindgen and file-loader for WASM files,
allowing wasm-bindgen's built-in fallback from
WebAssembly.instantiateStreaming to instantiate.
file-loader spits out the WASM file directly in the output folder,
and imports will resolve to the URL, so that we can load the file
directly, avoiding webpack's built-in wasm loaders.
This allows Ruffle to function on web servers even if they serve
WASM files with the incorrect MIME type, fixing one of our biggest
support requests (#400 , #1458 ). There is some performance impact
on loading with the fallback, but this is preferable to not
working at all.
2021-01-16 15:30:11 -08:00
Toad06
9449abf873
web: Rename `settings.htm` to `settings.html`
2021-01-04 12:23:25 -08:00
Toad06
ed221c5aef
web: Rename `popup.js` to `main.js`
2021-01-04 12:23:25 -08:00
Toad06
b975ab141b
web: Update extension to camelCase
2021-01-04 12:23:25 -08:00
LaszloEr
446725e981
i18n: Fixed grammar mistakes in the German translation
2021-01-01 19:45:28 -08:00
Toad06
25d5f48d18
web: Run eslint
2020-12-17 12:48:32 -08:00
Toad06
b9aed2c7bb
web: Rename from snake_case to camelCase
2020-12-17 12:48:32 -08:00
Toad06
d6a857803a
web: Fix extension and self-hosted builds conflicting with each other
2020-12-17 12:48:32 -08:00
jmckiern
73afae8fa5
Make slider color change if slider is checked
2020-12-07 13:39:46 -08:00
notimre
491ce876aa
i18n: Add Hungarian translations
2020-12-03 16:51:45 -08:00
StevenNL2000
64d8f3a2ce
i18n: Add Dutch
2020-12-03 11:44:36 -08:00
Newbyte
71f5339827
i18n: Add Swedish
2020-12-01 11:55:57 -08:00
Zombie110year
6e8346ab56
i18n: Add Simplified Chinese translation
2020-12-01 10:10:30 -08:00
IWumboYouWumbo
af254c3bc0
web: Revamp settings page
2020-11-28 15:34:58 -08:00
Txori
a363d0e392
Create messages.json ( #1765 )
...
Here comes the French.
2020-11-28 15:28:40 -08:00
Txori
bdc18863c8
i18n: Add missing word in Spanish
...
The word "loaded" was missing in the sentence.
2020-11-28 15:28:15 -08:00
ednt
a2888037a3
i18n: Create german version of messages.json
2020-11-28 13:46:51 -08:00
dependabot-preview[bot]
48f8e6579a
build(deps-dev): bump prettier from 2.1.2 to 2.2.0 in /web
...
Bumps [prettier](https://github.com/prettier/prettier ) from 2.1.2 to 2.2.0.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/2.1.2...2.2.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-24 20:55:38 -08:00
Nathan Adams
600d267bf3
web: We no longer need git dependency in webpack builds - fixes #1517
2020-11-24 16:36:33 -08:00
Nathan Adams
eae6742475
web: Make sure extension labels itself in source API
2020-11-24 16:36:33 -08:00
sousuke0422
75ce1bf4c1
i18n: Add Japanese
...
* i18n: Add Japanese
* i18n: Fix the "message" field in ja/message.json
Co-authored-by: FUJIMOTO-Itsuki <52658442+FUJIMOTO-Itsuki@users.noreply.github.com>
Co-authored-by: FUJIMOTO-Itsuki <52658442+FUJIMOTO-Itsuki@users.noreply.github.com>
2020-11-07 17:22:47 -08:00
Pablo Rodríguez
aaa4ce5431
i18n: Improve the Spanish translation and use ellipses character
...
* replace ... with proper Unicode char "…"
* some improvements to the Spanish translation
Co-authored-by: Pablo Rodríguez <ousia@users.noreply.gitlab.com>
2020-11-07 13:11:03 -08:00
Rult
564a36c049
i18n: Add Russian
2020-11-07 13:06:29 -08:00
Nathan Adams
dab79107b2
web: Include git details into the build
2020-11-04 16:46:14 -08:00
Nathan Adams
2b3f787547
web: Fix build of extension, failing since partial update to webpack 5
2020-11-01 05:52:40 -08:00
Mike Welsh
cd96df7ee7
web: Disable automatic publicPath in webpack configs
2020-10-21 15:19:36 -07:00
Mike Welsh
990052db77
chore: Bump to webpack 5
2020-10-17 14:07:28 -07:00
Luca Weiss
d5cb396331
*: fix spelling mistakes
2020-09-19 16:17:58 -07:00
JustinCB
f8c40569be
i18n: Add Settings Saved to locales
2020-08-13 00:41:23 -07:00
JustinCB
15fcce4d06
extension: Centralize default settings
...
Use true/false for boolean settings and have get_sync_storage
return the default values if necessary.
2020-07-29 19:03:17 -07:00
JustinCB
07506891c4
extension: Remove debug spew
2020-07-29 19:03:13 -07:00
JustinCB
b0a81ac39f
extension: Move storage functions to util.js
2020-07-29 19:03:13 -07:00
JustinCB
4786de2aa5
Try to fix status flickering
2020-07-29 17:06:51 -07:00
JustinCB
012b36a623
Query tab more often to not incorrectly show reload button
2020-07-29 17:06:51 -07:00
JustinCB
9ea0b2a162
Disable reload button on Protected Pages
2020-07-29 17:06:51 -07:00
JustinCB
77331f4732
Make popup buttons taller(because some languages can have longer text)
2020-07-29 17:06:51 -07:00
JustinCB
88f95b0005
Fix spanish messages.json
2020-07-29 17:06:51 -07:00
JustinCB
e14732be45
Fix settings popup style
2020-07-29 17:06:51 -07:00
JustinCB
2987071bef
Complete internationalization
2020-07-29 17:06:51 -07:00
JustinCB
b3905a6103
Move firefox-specific setting to build_firefox.js
2020-07-29 17:06:51 -07:00
JustinCB
15476618b1
Complete settings localization, localize extension description, & add spanish translation
2020-07-29 17:06:51 -07:00
JustinCB
4ceed0e2eb
Removed spurious manifest.json in extension/build
2020-07-29 17:06:51 -07:00
JustinCB
07d46d1f87
Removed spurious logging functions
2020-07-29 17:06:51 -07:00
JustinCB
f7a1f78fb1
Attempt to make cross-browser
2020-07-29 17:06:51 -07:00
JustinCB
64c96a3151
Make Prettier happy
2020-07-29 17:06:51 -07:00
JustinCB
27fcd8e6ea
Allow opening settings page from settings popup
2020-07-29 17:06:51 -07:00
JustinCB
265aca1409
Update manifest.json
2020-07-29 17:06:51 -07:00
JustinCB
bd98856378
Finish initial settings page
2020-07-29 17:06:51 -07:00
JustinCB
fb436a31da
Make prettier happy
2020-07-29 17:06:51 -07:00
JustinCB
810c717c91
Fix optout tests
2020-07-29 17:06:51 -07:00