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
1d6504a45a
ci: Fix releasing demo
2023-11-26 15:26:21 +01:00
Aaron Hill
24aa9b8fe4
avm2: Copy data for async loadCompressedTextureFromByteArray
...
The caller might modify the ByteArray immediately after the call,
so we need to copy the ByteArray.
2023-11-25 19:11:54 -08:00
TÖRÖK Attila
941f87ca8e
core/audio: Remove the now unused clip_frame parameter of start_stream
2023-11-26 03:51:28 +01:00
TÖRÖK Attila
8ce95d76fe
core/audio: Remove the now unused stream_handle parameter of start_stream
2023-11-26 03:51:28 +01:00
TÖRÖK Attila
23960883f8
core/audio: Remove the now dummy is_loading_complete
2023-11-26 03:51:28 +01:00
TÖRÖK Attila
ca8de7b791
core/avm2: Add sampledataevent to globals
2023-11-26 03:51:28 +01:00
Aaron Hill
993d8d9f9b
core: Add PlayerRuntime::{FlashPlayer, AIR} for Adobe AIR support
...
We've now had two different bug reports involving Adobe AIR
SWFs, so I'm going to go ahead and start adding a framework
for AIR support.
This commit just adds a command-line option
`--player-runtime <flash-player|air>` (defaulting to `flash-player`),
and passes it along to the `Player`. The actual value is currently
unused - in a follow-up PR, I'm going to implement namespace versioning
for AIR.
2023-11-25 19:05:51 -05:00
Lord-McSweeney
d3b9d8a451
dekstop: Support `quit` and `fullscreen` fscommands
2023-11-25 15:49:02 -08:00
Crowdin Bot
66c6c176f0
chore: Update translations from Crowdin
2023-11-25 22:45:02 +01:00
Aaron Hill
e0998642f6
core: Divide by 255 in blend_over calculation
...
This prevents the value from being changed when blending a
source pixel of 0x0 over a destination pixel (with alpha).
2023-11-25 22:29:30 +01:00
Lord-McSweeney
f41059a60a
avm2: Version-gate `JSON` to SWFv13 and above
2023-11-25 13:15:42 -08: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
Aaron Hill
f12f457f5d
avm2: Fix handling of public indices with nested iteration
...
This more closely aligns our code with the corresponding avmplus code.
A user-supplied index of '0' is special-cased, and we correctly
resume iteration when a public index mismatch is detected.
2023-11-25 21:34:48 +01:00
Tom Schuster
a2021cd3e2
avm2: Remove dead init_display_object fn
2023-11-25 11:38:08 -05: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
Lord-McSweeney
d3489ef1f3
avm2: Implement URLLoader for VARIABLES data format
2023-11-23 19:40:28 +01:00
sleepycatcoding
7be2eae4b8
avm2: Implement QName enumeration
2023-11-23 19:25:08 +01:00
Tom Schuster
48102a20a2
desktop: Add window.location.href spoofing to the fake ExternalInterface
2023-11-23 19:12:34 +01:00
Aaron Hill
c920ceba51
avm2: Set RUNNING_CONSTRUCT_FRAME flag inside DisplayObject ctor
...
This ensures that this flag is set regardless of whether the
object is constructed by the timeline or from ActionScript
(it was previously only set when constructed by the timeline).
2023-11-23 10:36:37 -05:00
Robin Allen
253b1df928
Add failing test for bug involving constructor call order
2023-11-23 10:36:37 -05:00
Tom Schuster
a113d96fdd
desktop: Include file path in IO error message
2023-11-22 23:59:46 -05: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
Olle Jonsson
16567cfa97
README.md: Avoid _ showing between links
...
Also, link to the Web Test GitHub Actions workflow page for that specific link.
2023-11-21 19:56:14 +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
Robin Allen
cad162121b
core: Fix MorphShape inaccuracy on complex paths ( #14089 )
...
* core: Fix MorphShape inaccuracy on complex paths
It's inaccurate to interpolate the moveTo/lineTo deltas individually
because on complex paths they're often small integers, which won't
interpolate smoothly.
Instead, interpolate absolute positions.
2023-11-21 12:41:45 +00:00
MrCheeze
d23d16cb11
avm2: Report ProgressEvent when a sound is loaded ( close #8932 )
2023-11-20 16:14:03 -08:00
Robin Allen
1ce772befa
core: fix lerp_twips sometimes being off-by-one due to FP error
2023-11-20 13:21:32 +01:00