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
Nathan Adams
2e487b0661
core: Made BitmapData::set_pixel use set_pixel32_raw
2023-03-20 05:52:27 +01:00
Nathan Adams
ec0434a2bb
core: Optimized BitmapData::copy_channel
2023-03-20 05:52:27 +01:00
Nathan Adams
48cebdbbc0
core: Make BitmapData::fill_rect use set_pixel32_raw
2023-03-20 05:52:27 +01:00
Nathan Adams
69721c06a8
core: Make BitmapData::set_pixel32_raw inline
2023-03-20 05:52:27 +01:00
Nathan Adams
aa17ef695c
core: Remove set_cpu_dirty from BitmapData::set_pixel32_raw
2023-03-20 05:52:27 +01:00
David Wendt
479411b05f
chore: For some reason, the reproducible source archive upload is failing, so switch to an actually maintained workflow for now
2023-03-19 21:07:20 -07:00
renovate[bot]
f6f646a756
chore(deps): lock file maintenance rust dependencies
2023-03-19 19:45:30 -07:00
Toad06
911982eb7d
tests: Test MovieClip methods for loaded images
2023-03-20 01:36:04 +01:00
Toad06
e2415be734
core: Store correct data for loaded images
2023-03-20 01:36:04 +01:00
Huw Pritchard
645ff76bcd
avm2: Add 11 AS3 classes ( #10003 )
2023-03-20 00:19:31 +00:00
AllinolCP
b69af5d70a
tests: add tests for XML.parent()
2023-03-19 16:06:01 -07:00
AllinolCP
19b38da394
avm2: implement XML.parent()
2023-03-19 16:06:01 -07:00
Nathan Adams
078672782c
wgpu: Skip Alpha/Erase blends with no parent Layer
2023-03-19 14:59:48 -07:00
Mike Welsh
3f7ea0b07f
avm2: Implement `updateAfterEvent`
...
Implement `updateAfterEvent` for `MouseEvent`, `TimerEvent` and
`TouchEvent`.
2023-03-19 14:39:17 -07:00
David Wendt
1a266bafeb
web: Fix extension source code upload (again)
2023-03-19 14:08:28 -07:00
Dejan Varmedja
fca4bfde25
avm2: Add AVM2 keyboard constants ( close #10248 )
2023-03-19 12:16:31 +01:00
Mike Welsh
e76154009c
tests: Add image tests for BitmapData.colorTransform
2023-03-19 09:59:13 +01:00
Mike Welsh
2d6d8ea0f4
core: Fix BitmapData.colorTransform
...
* Pixels with 0 alpha are not affected by color transforms.
* Color channels should be clamped to the 0-255 range.
* A color transform with only an alpha multiplier of >1 has no
effect.
2023-03-19 09:59:13 +01:00
Lord-McSweeney
c48dfb4a72
Fix ordering of flash.xml classes.
2023-03-19 09:44:17 +01:00
Lord-McSweeney
acc05f377f
avm2: Add XMLDocument to globals
2023-03-19 09:44:17 +01:00
Lord-McSweeney
8ce16901ee
avm2: Stub flash.xml.XMLDocument
2023-03-19 09:44:17 +01:00
Lord-McSweeney
6b2dcad7f3
avm2: Implement flash.xml.XMLNode
2023-03-19 09:44:17 +01:00
Lord-McSweeney
16c2317455
avm2: Implement flash.xml.XMLNodeType
2023-03-19 09:44:17 +01:00
Nathan Adams
b5cf5bc707
avm2: Fix comment for dispatch_event
2023-03-19 09:15:42 +01:00