Commit Graph

9056 Commits

Author SHA1 Message Date
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
Mike Welsh 1726d24098 tests: Add tests for calling undefined AVM2 function 2023-03-24 18:21:32 -07:00
Mike Welsh e1b24712cf avm2: Throw AVM error on calling undefined function 2023-03-24 18:21:32 -07: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
Nathan Adams eb44cc5395 render: Made ShapeHandle an Arc of an internal, droppable mesh 2023-03-23 01:44:27 -07:00
Nathan Adams cc8ac4fde1 render: Remove RenderBackend::replace_shape 2023-03-23 01:44:27 -07:00
Toad06 4161050db5 tests: `XML.getBytesLoaded` and `XML.getBytesTotal` in avm1` 2023-03-22 17:51:42 -07:00
Toad06 ab71370cb7 avm1: Minimal implementation of `XML.getBytesTotal` and `XML.getBytesLoaded` 2023-03-22 17:51:42 -07:00
Mike Welsh 44c9e3073c tests: Test full TypeError message in removeChild test 2023-03-22 17:13:36 -07:00
Mike Welsh 123f9e088c avm2: Fix null parameter error message 2023-03-22 17:13:36 -07:00
nosamu f97827ef9c web: Display config parse errors 2023-03-22 16:51:55 -07:00
EmperorBale b2c79f9ea2 avm2: Make `resolve_parameters` throw an AVM error 2023-03-22 16:35:48 -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
Adrian Wielgosik d77cf83e07 avm2: Fix si8/si16 opcodes 2023-03-22 22:55:43 +01:00
EmperorBale fe54fb15f7 avm2: Show AS3 stack traces when logging level is `INFO` 2023-03-22 14:29:42 -07:00
EmperorBale a63ee977fa avm2: Reduce size of `CallNode` from 56 bytes to 24 2023-03-22 14:29:42 -07:00
Mike Welsh 1d12fc6169 render: Fix types depending on `tessellator` feature 2023-03-22 20:30:39 +01:00
Marty_SVK de44c5494e avm2: Stub Mouse.registerCursor and Mouse.unregisterCursor 2023-03-22 20:15:53 +01:00
Lord-McSweeney 98c19cc199 avm2: Stub NetConnection.close 2023-03-21 23:47:03 -07:00
yoganlava 2dee8338c8 avm2: Fix double borrow when setting local XMLList property 2023-03-21 19:21:18 -07:00
renovate[bot] d7c842a139 chore(deps): lock file maintenance rust dependencies 2023-03-21 14:27:27 +01:00
Nathan Adams edbdf224ae avm2: Skip BOM when reading utf8 from ByteArrays 2023-03-21 12:20:43 +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] 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
Nathan Adams bd6c3536e1 core: Fix add with overflow in BitmapData::copy_channel 2023-03-20 05:52:27 +01:00
Nathan Adams a9ed47407d core: Replaced all BitmapData::get_pixel_raw().unwrap() with get_pixel32_raw() 2023-03-20 05:52:27 +01:00
Nathan Adams 860a34d6e6 core: Use get_pixel32_raw in BitmapData::color_transform 2023-03-20 05:52:27 +01:00
Nathan Adams 885a7a22ca core: Made BitmapData::get_pixel32 take u32 and use raw access 2023-03-20 05:52:27 +01:00
Nathan Adams dc1380ef8b core: Made BitmapData::hit_test_point use get_pixel32_raw 2023-03-20 05:52:27 +01:00
Nathan Adams 50238f2600 core: Made BitmapData::get_pixel take u32 and use raw access 2023-03-20 05:52:27 +01:00
Nathan Adams 4bd1a5b9f8 core: Remove BitmapData::set_transparency, it can only be set at creation 2023-03-20 05:52:27 +01:00
Nathan Adams 483afc4f9a core: Made BitmapData::set_pixel32 use set_pixel32_raw 2023-03-20 05:52:27 +01:00