Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/ruffle-rs/ruffle

A Flash Player emulator written in Rust
https://github.com/ruffle-rs/ruffle

core: Remove unused parameter of `MovieClip::show_frame`

d2a463b08fae9b34f3b34dfc6eabfb9b9302332b authored over 2 years ago by relrelb <[email protected]>
swf: Remove `tag_length` parameter of `read_define_button_cxform`

It was not needed since `Reader` accounts for it internally.

9ec313789175ef0bebfe05eb7275f5d5dc1662b0 authored over 2 years ago by relrelb <[email protected]>
core: Avoid some allocations on JPEG tags

Read a slice instead of allocating a new `Vec`.

3da3567365bd9ae9213ce3a52daaeabf7ed82c67 authored over 2 years ago by relrelb <[email protected]>
swf: Remove `length` parameter of `read_frame_label`

Use `unwrap_or_default()` to optionally read a byte.
Also remove unused `context` parameter of `...

16a1b7b832f5771c1c038fec73b0c2e92c50ae75 authored over 2 years ago by relrelb <[email protected]>
avm2: `ExternalValue::from_avm2` is infallible

ce5bf557f5a840e8e48a35909f0ee1a0d95e01ac authored over 2 years ago by relrelb <[email protected]>
avm2: `Activation::is_of_type` is infallible

cc166439d8f0bafa5ad96e0bcf97f3ac99faa1ea authored over 2 years ago by relrelb <[email protected]>
chore: Appease clippy

Resolve 2 instances of `only_used_in_recursion`.

c2e78ffeadb27f7ee5c166ae4c71047ecac964ba authored over 2 years ago by relrelb <[email protected]>
render: Remove `gc-arena` dependency

It was only used to make structs `#[derive(gc_arena::Collect)]`, and
generally it doesn't make m...

0d6462cfab6de1cf927e14ba307fbfb15c2c7f9a authored over 2 years ago by relrelb <[email protected]>
extension: Migrate to TypeScript 4.8

Per https://devblogs.microsoft.com/typescript/announcing-typescript-4-8/#unconstrained-generics-...

696514862ddc8d958573aa8506940b11ca4cd03b authored over 2 years ago by relrelb <[email protected]>
build(deps-dev): bump typescript from 4.7.3 to 4.8.2 in /web

Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.7.3 to 4.8.2.
- [Release note...

43e4e8fb616a35d16c9bf72ee39a2ccd001cea8c authored over 2 years ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
build(deps-dev): bump eslint from 8.21.0 to 8.23.0 in /web

Bumps [eslint](https://github.com/eslint/eslint) from 8.21.0 to 8.23.0.
- [Release notes](https:...

667b24a7c898bfa3d459d602f87905edad512827 authored over 2 years ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
build(deps-dev): bump @wdio/cli from 7.20.1 to 7.24.0 in /web

Bumps [@wdio/cli](https://github.com/webdriverio/webdriverio) from 7.20.1 to 7.24.0.
- [Release ...

5c27c76cbaea425f944f9a55d4be41367377dbc8 authored over 2 years ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
build(deps-dev): bump @types/chrome from 0.0.188 to 0.0.196 in /web

Bumps [@types/chrome](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chrome)...

596263b4d6fbf2d92a61ee52070c37035f25c99e authored over 2 years ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
build(deps-dev): bump @wdio/static-server-service in /web

Bumps [@wdio/static-server-service](https://github.com/webdriverio/webdriverio) from 7.20.7 to 7...

31d4a5ff884630e9d5fdd9f718e3ca166830fdb6 authored over 2 years ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
build(deps-dev): bump webpack-dev-server from 4.9.3 to 4.10.1 in /web

Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server) from 4.9.3 to 4.10.1.
...

599b1ad35e08b04163d357e22f743eab91ee41ac authored over 2 years ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
build(deps-dev): bump @wdio/local-runner from 7.19.5 to 7.24.0 in /web

Bumps [@wdio/local-runner](https://github.com/webdriverio/webdriverio) from 7.19.5 to 7.24.0.
- ...

a6c27bcefbc2a1dce4a4a37bc1830d91e32d6345 authored over 2 years ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
build(deps-dev): bump @typescript-eslint/parser in /web

Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HE...

dd96e30666e64433068c5a3238bbabc1f70f6017 authored over 2 years ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
build(deps-dev): bump stylelint-config-standard in /web

Bumps [stylelint-config-standard](https://github.com/stylelint/stylelint-config-standard) from 2...

b9df9cf04faeeabe25307c6d0af89c9b4a0bbeb0 authored over 2 years ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
web: Don't show loading bar when wasm Content-Length does not exist

d9da45d0f263f7163af55ab978e06d367fce3d2f authored over 2 years ago by Daniel Jacobs <[email protected]>
avm2: Improve Debug impl for EventObject

cc9e283191ea70931d51cef82a272822520ff957 authored over 2 years ago by Aaron Hill <[email protected]>
ci: Cache Cargo output on Github Actions

Co-authored-by: Mike Welsh <[email protected]>

3417dceca2bb708be27b83343ea843ab4edefd30 authored over 2 years ago by Aaron Hill <[email protected]>
avm2: Implement DisplayObject.localToGlobal and DisplayObject.globalToLocal

While writing tests for these methods, I discovered and fixed some
issues with how 'scrollRect' ...

1a7c5339a7bddd1222c74a1719a1906cee29a016 authored over 2 years ago by Aaron Hill <[email protected]>
core: Simplify `DisplayObjectContainer::highest_depth`

The `less_than` parameter remained just `Depth::MAX` since #7199,
which makes it useless. As suc...

36450619109b6ed510991b311f4888c0784eba8e authored over 2 years ago by relrelb <[email protected]>
avm2: Skip over holes during array enumeration

This brings us closer to matching the Flash Player
enumeration behavior. Unfortunately, the prec...

e9697439dec7cc488cd5c9dfe2d0ee160e40bffd authored over 2 years ago by Aaron Hill <[email protected]>
build(deps): bump cpal from 0.13.5 to 0.14.0

Bumps [cpal](https://github.com/rustaudio/cpal) from 0.13.5 to 0.14.0.
- [Release notes](https:/...

483164047154b02ee04e6183123f50c23d0cf614 authored over 2 years ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
build(deps): bump clap from 3.2.17 to 3.2.18

Bumps [clap](https://github.com/clap-rs/clap) from 3.2.17 to 3.2.18.
- [Release notes](https://g...

33cc87ce2751dc50f2c9e3c2271e18c899a9e027 authored over 2 years ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
build(deps): bump futures from 0.3.23 to 0.3.24

Bumps [futures](https://github.com/rust-lang/futures-rs) from 0.3.23 to 0.3.24.
- [Release notes...

802de0e7d12c99f286570e73df09a5f7b7aaae7c authored over 2 years ago by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
web: Correct IANA Flash MIME type

c5c619abbd02b9b9396fa1967b264f136f70a68b authored over 2 years ago by nosamu <[email protected]>
web: Move MIME type check to its own function

c83ae114b214eab67aee4140582720cad33f78c1 authored over 2 years ago by nosamu <[email protected]>
extension: Check more thoroughly for SWF filenames and MIME types

4dc446825bdf12b87de86be6c15f4496769f49da authored over 2 years ago by nosamu <[email protected]>
avm1: Function calls in SWF4 bump the version to 5

c4e64c5e26adf0440e8bb58c0c6bfde092a56b99 authored over 2 years ago by Toad06 <[email protected]>
avm2: Add flash.utils.[set|clear][Timeout|Interval](...)

e86efd5c63be5cdbce6a8842621b3e5a2cf8f635 authored over 2 years ago by TÖRÖK Attila <[email protected]>
avm1: Implement `MovieClip.scrollRect`

The core functionality and AVM2 bindings were implemented in #7739.

5c29da67072b66805de68e68698d2e796fed3136 authored over 2 years ago by relrelb <[email protected]>
core: Make core not use minimp3 by default - only desktop uses it

f5245d72da6e82427f7cc5c299022e0eed50938d authored over 2 years ago by = <[email protected]>
core: Make nellymoser optional, enable on desktop and web

c6c22cebc9b433c8a8664d8bdcfff3d6249b7bfe authored over 2 years ago by = <[email protected]>
core: Add audio feature, made dasp optional

f180183ec5fc3f4b61207b60fc41552a43a8faf1 authored over 2 years ago by = <[email protected]>
web: Don't add debug info to context menu in insecure context

It won't work anyway, since the Clipboard API doesn't work in insecure contexts.

29bdd138d5c3e312cf6bdb8a4c99c920901893f6 authored over 2 years ago by Daniel Jacobs <[email protected]>
avm1: Move frame lifecycle logic to `Avm1::run_frame`

This allows better encapsulation of AVM1.

0b7d8ea007b6f252cadad67bd9877bb06580002f authored over 2 years ago by relrelb <[email protected]>
avm1: Simplify frame execution logic

Handle removed clips inline in `Avm1::run_frame`, such that
`DisplayObject::prev_avm1_clip` is n...

de6163569e21a97a3cc9e30d2c73218c357b0e51 authored over 2 years ago by relrelb <[email protected]>
avm1: Remove `DisplayObject::prev_avm1_clip`

It is no longer needed.

81f803d77e9699b9d11e234a75f74aa389eca3f2 authored over 2 years ago by relrelb <[email protected]>
core: Do not run sounds on no-op goto.

When we run a 'goto' where the initial and target frame are the same,
we need to skip triggering...

397de91a2a709969e16439c5902408d1cab0028f authored over 2 years ago by Aaron Hill <[email protected]>
core: When reporting errors in the AVM2 constructor from MovieClip, also report the name of the class being constructed.

e3535538352212e3effbfa3517c86cc812f28c88 authored over 2 years ago by David Wendt <[email protected]>
avm2: The failsafe for self-referencing class properties should allow the use of `null` and `undefined`.

4b9ee55b568aaa464bd1dd523d681f93f8752ad6 authored over 2 years ago by David Wendt <[email protected]>
tests: Add a test for class singleton properties.

4de46562ca8fd5d75c8f26449aa235a651e0c435 authored over 2 years ago by David Wendt <[email protected]>
avm2: Don't error when executing 'null as SomeType'

We previously used 'coerce_to_object', which produced
an error with `Value::Null`. Instead, we c...

ae8e5b2f33d9e817b2a492ba2e4cb4daf224858f authored over 2 years ago by Aaron Hill <[email protected]>
avm2: Fire KeyboardEvent.KEY_UP and KeyboardEvent.KEY_DOWN

The 'charCode' and 'keyCode' properties are now implemented
on `KeyboardEvent`

The input inject...

c531994b1c6dd1625f021c91e337d018f32e8566 authored over 2 years ago by Aaron Hill <[email protected]>
avm2: Make 'set_local_property_is_enumerable` infallible

We always returned `Ok(())`

1296121dc5fdd5dcb5a0691e0c16553b715b787a authored over 2 years ago by Aaron Hill <[email protected]>
avm2: Delete enumerant when property is deleted

e3e0488ed45d4ad298113ea0d5f34a7cb8364963 authored over 2 years ago by Aaron Hill <[email protected]>
avm2: Implement call stack & stack traces (#7564)

* avm2: Implement call stack

* avm2: Class traits should have a special prefix

* avm2: Sta...

f8289b47d84faf1f3c42bbf45a79d0c9cbbfb248 authored over 2 years ago by EmperorBale <[email protected]>
avm2: Implement `String.toLowerCase` and `String.toUpperCase`

These are implemented in the same way as in AVM1. Testing
in Flash Player shows that the behavio...

6a01fa93c554fa2660528506cc999bec4c557810 authored over 2 years ago by Aaron Hill <[email protected]>
avm2: Declare 'Array.concat' as a public method

Previously, it was only declared in the AS3 namespace. However,
some SWFs look it up as a public...

576c35a76875a4b507db2535c7697ff87f7ab960 authored over 2 years ago by Aaron Hill <[email protected]>
web: Disallow imports not used as values

Configure [`importsNotUsedAsValues`](https://www.typescriptlang.org/tsconfig#importsNotUsedAsVal...

e3831d2228cc60c0b35ca562e626dc1ce5da2639 authored over 2 years ago by relrelb <[email protected]>
web: Add debug info context menu item

c008cc4dea87aade184466fce5b44f613cda94d9 authored over 2 years ago by Daniel Jacobs <[email protected]>
avm2: Port toplevel constants to ActionScript

Declare `NaN`, `Infinity` and `undefined` in ActionScript, similarly
to how `avmplus` does in it...

2f106da04cf0b5ef25aacf3433b536f9a5b4f75e authored over 2 years ago by relrelb <[email protected]>
avm1: Enumerate should push Undefined if the target isn't an object

046514eeb9d918893bae1364be06bb1457b7642a authored over 2 years ago by Callum Thomson <[email protected]>
Use round-to-even for scrollRect

5fb95e696153a36f4e580d3726f980b4f874f88f authored over 2 years ago by Aaron Hill <[email protected]>
Fix bounds computation

249648674cd92c04a0310ed617c572cfce0d77d3 authored over 2 years ago by Aaron Hill <[email protected]>
avm2: Implement DisplayObject.scrollRect

This property causes a DisplayObject to be both translated
and cropped.

fa0c843a4d946188ca9667a41e9823e9e73e3ed6 authored over 2 years ago by Aaron Hill <[email protected]>
core: Make `Player::load_device_font` infallible

It is always called with the same known data, which should parse
successfully.

72d8c152b9818a1de8848e5e8967aef2ded73c65 authored over 2 years ago by relrelb <[email protected]>
swf: Simplify `DoAbc` tag handling

Extract `swf::Reader::read_do_abc()` which, as the name suggests,
reads a `DoAbc` tag, and use i...

ad91992cb5c6c34d6074f5af55762cfc0342e580 authored over 2 years ago by relrelb <[email protected]>
avm2: Rename `Avm2::load_abc` to `Avm2::do_abc`

This aligns with the name of `DoAbc` tags.

ad84c2bbcb98bc9d9801de8e49d59287ed70c4e4 authored over 2 years ago by relrelb <[email protected]>
core: Add better error message when java could not be found

18bd7879e52930a0799ee7f331bfc359ab5746d0 authored over 2 years ago by EmperorBale <[email protected]>
Miscellaneous stubs

This gets Solarmax to the main level select screen
(once BitmapData.draw support is added)

c4157fd0ceee16c9e2d3b1f2503df275895c1bf0 authored over 2 years ago by Aaron Hill <[email protected]>
core: Replace `Vec` of queued tags with a more restrictive enum that enforces our queueing invariants

074f2ff76fea242f3cc40cc223bb07f681e2c2c0 authored over 2 years ago by David Wendt <[email protected]>
tests: `as3_movieclip_displayevents_xyzframeplay` tests should also list what children are on the timeline

ee1f39bba7f61b296ffab38a1e2d119951638a8b authored over 2 years ago by David Wendt <[email protected]>
tests: Oops, forgot to recompile the exitframe play test.

b3793f9b4caadcafe8830b56b5c31653d8c7e97b authored over 2 years ago by David Wendt <[email protected]>
tests: Add tests for playing and pausing a movie clip in `enterFrame`, `frameConstructed`, and `exitFrame`

10955c3a03602634e3722957cde7cc9a59c5feff authored over 2 years ago by David Wendt <[email protected]>
tests: Fix the test output for `as3_movieclip_displayevents_dblhandler`.

The test output for this test is sensitive to where we cut off each frame, because it doesn't st...

795dafa46a9933a8c8b6ac9fd95bbf05deb3c5f8 authored over 2 years ago by David Wendt <[email protected]>
tests: `as3_movieclip_displayevents_timeline` now explicitly winds a clip back and forth to better demonstrate a bug I ran into with frame numbering

1a4b9773256749f4fe85472ba4e55cc7e32493da authored over 2 years ago by David Wendt <[email protected]>
tests: Log `this.currentFrame` on every event watcher we can.

0c18e8e99a18758bb18285dc377d9fd6fec8b827 authored over 2 years ago by David Wendt <[email protected]>
tests: Add a test for the order of events surrounding `gotoAndStop`

72f878bb9d6ce3b7fcdf049693cbcc2cdb19d3a7 authored over 2 years ago by David Wendt <[email protected]>
tests: `as3_movieclip_displayevents_looping` should have a `RemoveObject` in it

f1d203311fbdf18d58a74ab328123f8a88ad365f authored over 2 years ago by David Wendt <[email protected]>
tests: `as3_movieclip_displayevents_timeline` should log events on the root movie clip too

c10417ddb861b32acd6bfa839f3578fd42da6086 authored over 2 years ago by David Wendt <[email protected]>
tests: Extend the goto tests with more non-looping jumps

27d509f169161112d80d779446ec363c89eadd6b authored over 2 years ago by David Wendt <[email protected]>
tests: Add tests for symbol instantiation in `enterFrame`, `exitFrame`, and `frameConstructed`

81eb5ed8ac409e2ca09f051294cfec38ffdf9414 authored over 2 years ago by David Wendt <[email protected]>
tests: Add timeline and stage manipulation tests at user event time.

f16b76866a1e77daa01dbf03924c0097ca5c29ba authored over 2 years ago by David Wendt <[email protected]>
tests: Ignore the `as3_simplebutton_constr_childevents` test as it is broken by fixes I moved to another PR

c3add3db93b5c380b2832abd0bcbe3ad1ebc8a2d authored over 2 years ago by David Wendt <[email protected]>
tests: Add a goto-and-stop test that inspects the children after the goto.

6569edda88194fcd8687b6979d0570ca34ae641e authored over 2 years ago by David Wendt <[email protected]>
tests: Add tests for gotos interacting with frame scripts.

beb0545b114558c66da3ea3d309a6a9680999e48 authored over 2 years ago by David Wendt <[email protected]>
core: `enter_frame` should be an event that all display objects get and can respond to

318b018da80224b377cca0560bda6a46a5cbb8a6 authored over 2 years ago by David Wendt <[email protected]>
core: In AVM2, movie clips process `RemoveObject` before any other frame actions are done.

1f0b8bdda4721b5ea4b023371ea8a6093def888a authored over 2 years ago by David Wendt <[email protected]>
core: Frame actions should start with `enterFrame`; not `exitFrame`.

ee2454e09f5532224e0c203d1846a60c54362e4f authored over 2 years ago by David Wendt <[email protected]>
core: Track what part of the frame processing loop we're in

ae530b5d6b73b3634be080ea1ff9d5406a233691 authored over 2 years ago by David Wendt <[email protected]>
core: Add a new frame phase to represent non-frame work such as input event handlers.

f0ef8adb42b3c314f9e9b1f6b552412cdbbd47e4 authored over 2 years ago by David Wendt <[email protected]>
core: `Player` should start in the `Idle` phase

0400d4dee46ed8696816325c34ba821b3655397c authored over 2 years ago by David Wendt <[email protected]>
core: Centralize all the various calls to `enter_frame`/`construct_frame` into a single method, `catchup_display_object_to_frame`.

The rationale for the catch-up logic is as follows:

* We must always enter-frame and construct...

963144e59c12b2efd71f95556022d254748a9fc5 authored over 2 years ago by David Wendt <[email protected]>
core: No-op gotos should be treated as rewinding.

2929681a9330de67e6cf369bbee569c0324429e3 authored over 2 years ago by David Wendt <[email protected]>
tests: Add a second, more thorough `clickgoto2` test

38f28ce80cd48dafd3b046ae92887922e300921e authored over 2 years ago by David Wendt <[email protected]>
core: Movie clips run all their tags at `enter_frame`, and place/remove actions are queued until later.

This prevents repeated place/remove actions at the same depth from resulting in repeated event d...

1eef8a47c97cfd85f2bf744e4e4b7bf24a5ee30f authored over 2 years ago by David Wendt <[email protected]>
core: Remove AVM2 compatibility hacks surrounding place frame.

They are no longer needed, frame advance happens at enterframe time.

51401ae6602cc2d52ff0ad7d9b2c3103c4f854ef authored over 2 years ago by David Wendt <[email protected]>
core: `frameConstructed` during a goto fires after the goto commands have fully completed.

cb86340fb15d5290c184585a31f4f65762655ff6 authored over 2 years ago by David Wendt <[email protected]>
tests: Add tests for AS3 gotos during `enterFrame`, `frameConstructed`, and/or `exitFrame`

4d3788bfe173b7e6e6ec56b5e58245aabdc3c827 authored over 2 years ago by David Wendt <[email protected]>
core: Explicit gotos must run even if they are no-ops.

cdfc6f5eae6ba684747c8d95e0de7689d4937c25 authored over 2 years ago by David Wendt <[email protected]>
core: Queue new object placement at loop time on the tag queue.

66c24ff18808da816b02316bd903c1fa115ddf07 authored over 2 years ago by David Wendt <[email protected]>
core: Fast-forward removals as the result of a goto happen before the frame number advances.

8feb3fc7b0ef57498de54be6343b5a4127be5cab authored over 2 years ago by David Wendt <[email protected]>
core: Child removals appear to resolve in reverse render order.

d691543c4ced7e44401255d0ef9e399c1d0ccdf4 authored over 2 years ago by David Wendt <[email protected]>
core: In AVM2, run removals before frame advance.

We still retain the queue system as events are fired at removal time, and those events can trigg...

7a09bbfaabe22565a1d128b3b45f5d0b7f1e1628 authored over 2 years ago by David Wendt <[email protected]>
docs: Add comments documenting subtle points of AS3 loop & tag queueing behavior

2c93da9a70a65b2c84ca953d00d95f923fc60493 authored over 2 years ago by David Wendt <[email protected]>
core: Allow queueing both a remove and a place tag at the same depth, in that order only.

9bff6406d152d7e9fbc041c208bb301845716ecd authored over 2 years ago by David Wendt <[email protected]>
core: Gotos *always* queue the target frame's scripts on the target clip, even if we already executed that script beforehand.

ac2b82f26e3735afdf9222c78c3d9c66b035b819 authored over 2 years ago by David Wendt <[email protected]>