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

chore: Allow unknown_lints in both WASM modules

71f7f28fb02bde142d590d9af513e1794553a133 authored over 2 years ago
chore: Add a note to cargo config about RUSTFLAGS in the web build

135833e4000168efe291bca926f718eedc0069bb authored over 2 years ago
ci: Run cargo in locked mode

Per https://doc.rust-lang.org/cargo/commands/cargo-test.html#manifest-options,
`cargo --locked` ...

4021cb54a4dea1956dd59018656fc0ea35997060 authored over 2 years ago
canvas: Remove some unused dependencies

They're now unused thanks to #6975.
Also remove the `crate-type` field from `Cargo.toml`. I'm no...

f3af11db9c0ce1b0017e3f47bb36cf0140b165fd authored over 2 years ago
chore: Allow unknown_lints in web build

The web build script in `core\package.json` sets the `RUSTFLAGS`
env var, which overrides any se...

62d62d9667f259488079f999e38cb82621fe156c authored over 2 years ago
build(deps): bump syn from 1.0.94 to 1.0.95

Bumps [syn](https://github.com/dtolnay/syn) from 1.0.94 to 1.0.95.
- [Release notes](https://git...

4dc9fd7adfbba48cdaef824ad623444063e3fea7 authored over 2 years ago
canvas: Remove `BitmapDataStorage::ImageElement`

Remove the `ImageElement` data path for storing bitmaps, as the
asynciness of this is difficult ...

2f99d039cc645feeadb094a995e4b182c195d72d authored over 2 years ago
canvas: Remove SVG rendering path

Remove `CanvasDrawCommand::DrawImage` and all associated machinery
that generates an SVG.

d0aa7b4df270a3d85d15c970df2533bb374c48f8 authored over 2 years ago
canvas: Use canvas drawing commands for gradients

Most gradients are "simply transformed" and can be rendered
directly using canvas commands. But ...

ce044409e40b318a7e821e3bc650921dcf99b19d authored over 2 years ago
avm2: Make dispatch list initialization lazy, so that it can run before constructors if necessary.

Due to various quirks of how timeline-initiated symbols interact with AVM2, it is possible for u...

1809ca611b6460a764c328b7d0ffc7a390b5ff33 authored over 2 years ago
build(deps): bump isahc from 1.7.1 to 1.7.2

Bumps [isahc](https://github.com/sagebind/isahc) from 1.7.1 to 1.7.2.
- [Release notes](https://...

ede81be4279e0af289ebc5057ebcdb12d5f99a38 authored over 2 years ago
build(deps): bump syn from 1.0.92 to 1.0.94

Bumps [syn](https://github.com/dtolnay/syn) from 1.0.92 to 1.0.94.
- [Release notes](https://git...

fc4cd1195966a1d76020acde165878fc06b7cb9d authored over 2 years ago
build(deps): bump rayon from 1.5.2 to 1.5.3

Bumps [rayon](https://github.com/rayon-rs/rayon) from 1.5.2 to 1.5.3.
- [Release notes](https://...

786e5b5bb7386edfd663ea300fe74edb7da614b1 authored over 2 years ago
build(deps): bump clap from 3.1.17 to 3.1.18

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

27da91b7a0aa4862b4587c8f14df6efdcc28f900 authored over 2 years ago
avm1: Pass ExecutionReason to `Object::call_method`

Internal function calls such as `toString` and event handlers
always used the base clip from the...

d1b65d9092c782bd29d41202d7565587893b3e45 authored over 2 years ago
avm1: Fix scope of function calls in SWFv5 vs. SWFv6+

Fix various scope behavior when executing a function:

* For function calls in SWFv6+, function...

4904b2cc97fc5c58311d64b2dbe7c6747ce96fc3 authored over 2 years ago
tests: Add test for SWF5 function scope

eb38b2fb00c7e590ed2ffdfe6f223461df10bcf8 authored over 2 years ago
avm2: Don't consider declared return type for unchecked functions check

Testing under Flash shows that methods can be considered 'unchecked'
(allowing them to be called...

a453aa73afbd8d8ab509bd7cbd2366a024ca8649 authored over 2 years ago
avm1: Allow new `unused_macro_rules` lint on `declare_properties`

This was recently added in https://github.com/rust-lang/rust/pull/96150
Some of the `__version`...

8ff720dd9d8fc3c0ab86189250664b583edfc50c authored over 2 years ago
webgl: Use clamp(x, 0.0, 1.0) instead of saturate(x)

The latter seems to not exist

c40c0d7ef955e862292dd6786f03f285acc24824 authored over 2 years ago
wgpu: Clamp alpha in shaders (fix #6954)

121c2577b467ab5d5031b7afd9c2df2df198f2dd authored over 2 years ago
webgl: Clamp alpha in shaders (fix #6954)

edad1569fbb235527ed3241b51e28fa323eca637 authored over 2 years ago
swf: Introduce `Color::WHITE`

And use it where possible, to improve code readablity.

cab49ae6e1761e2decddc7b50a24518881352b8b authored over 2 years ago
swf: Introduce `Color::BLACK`

And use it where possible, to improve code readablity.

0b0f8a1a7a9c78a9b2371a178b3ecbee89e8a9a0 authored over 2 years ago
avm2: Implement `TextField.background` getter/setter

There's already a `has_background` field on the underlying object
data, so we can just map this ...

938d80146c7c33c4851b64cf819920e8f8a4076b authored over 2 years ago
Define `String.fromCharCode` as both a public and AS3 method

This is relied on by SteamBirds
(https://www.kongregate.com/games/weasello/steambirds)

e39cfa8027a4d8b9a28b63a28e7761746a221969 authored over 2 years ago
swf: Mark some `SwfStr` functions as const

84b865018d79f006640692f1f4c9d3b8c1faca04 authored over 2 years ago
web: Fix some warnings

Fix warnings caused by desktop-only code.

f550abd18d3b188fbec78a0b0f2a6647c8c8b529 authored over 2 years ago
avm1: `_root`, `_parent`, `_global` are magic properties (fix #768)

Remove `_root`, `_parent` and `_global` from `MovieClip.prototype`.
Instead, these are "magic" p...

268368601432b8b7546a48fbcbaabc6a04111cfa authored over 2 years ago
tests: Add test for #768

a940a0d3577c6846ef6f91a703879dfd145d414d authored over 2 years ago
core: Add WStr::eq_with_case

9d5e4612785f704356e92a09ecc15eb56ebec743 authored over 2 years ago
avm1: Improve `StageObject::get_local_stored`

* Avoid an extraneous check to `ScriptObject::has_own_property`.
* Avoid magic property branch...

35d2f69396c09a90c7aeeb600a34f19dd05db246 authored over 2 years ago
avm1: Remove `toString` from display objects

`MovieClip` and others do not have a `toString`; instead, stage
objects are special cased to ret...

a97ae380086bff721a080dbac96ae355a5861e59 authored over 2 years ago
avm1: Remove `avm1::globals::display_object` module

This module is now mostly empty, so move the items up to `globals`.
`getDepth` was the only shar...

6547fcdf99ec987e7d65ba207e4f0641a20da99d authored over 2 years ago
web: Prefer using `Element` over `HTMLElement`

`Element` is a slightly more general type, which is more common than
`HTMLElement`, and it satis...

4f05d1852dd6c8e654aead0dcff7fefbc07264c9 authored over 2 years ago
swf: Return concrete data types in `Reader` methods

Where possible, return the specific data type instead of the generic
`Tag` type. Most reader met...

781d091d4204a2fdf749e246b764c5f576761306 authored over 2 years ago
build(deps): bump jpeg-decoder from 0.2.5 to 0.2.6

Bumps [jpeg-decoder](https://github.com/image-rs/jpeg-decoder) from 0.2.5 to 0.2.6.
- [Release n...

7352aca3bc70191f41115b012b1bfcf85ae5b615 authored over 2 years ago
build(deps): bump clap from 3.1.15 to 3.1.17

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

a853b897ca009eea15b131375cacc234c6045bdd authored over 2 years ago
build(deps): bump serde_json from 1.0.80 to 1.0.81

Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.80 to 1.0.81.
- [Release notes](ht...

5c43dba766b245e2640723897c4a202c6c166dc5 authored over 2 years ago
build(deps): bump num-traits from 0.2.14 to 0.2.15

Bumps [num-traits](https://github.com/rust-num/num-traits) from 0.2.14 to 0.2.15.
- [Release not...

46328d5582287c12da02df17e495a806dda83dae authored over 2 years ago
build(deps): bump log from 0.4.16 to 0.4.17

Bumps [log](https://github.com/rust-lang/log) from 0.4.16 to 0.4.17.
- [Release notes](https://g...

a2043d94e17aa1216defd7f5b628d2f1904258e6 authored over 2 years ago
demo: Fix styling on mobile devices

254a4a91755585252a8fc3a2bd36f756efbbd713 authored over 2 years ago
core: Remove `url_from_relative_path`

The remaining caller was `SwfMovie::from_path`, which is now changed
to be simpler, and a little...

bce4075c69359ec1b5ab1fcb9f0d68ae02081123 authored over 2 years ago
docs: Correct issue number in code comment

f39537f984bc2a0fb4e5c6d8739416b843f1f414 authored over 2 years ago
avm1: Tiny cleanup in `Activation::set_target`

Use `Option::filter`.

b46134dc43b588a949fc8a4882215e41d0cbdb75 authored over 2 years ago
avm1: Grab SWF version from executing clip

Remove the `swf_version` parameter from `Activation` constructors,
because this was incorrectly ...

f20f53f5559a820bdd064054a47a130e7b6a33e0 authored over 2 years ago
tests: Add tests for ASSetPropFlags version gating

cc8a88a57038ad17280c8894abe754a131d143ff authored over 2 years ago
avm1: Implement property version checking

Check SWF version of AVM1 properties and return undefined if they
are gated to a later version.

4fa4c6ca84dc33c2a18537e86e6e1531bf180833 authored over 2 years ago
avm1: Use u16 for Property::attributes

e6cadf7de48edbd735c3ebb47584160e65aa7dfe authored over 2 years ago
avm1: Add version to MovieClip properties

1e9c464d9487fb556a5ed0cb892f84543a3a309e authored over 2 years ago
tests: Expand and cleanup `xml_namespaces`

Merge the `xml_node_namespaceuri` and `xml_node_weirdnamespace` tests
into `xml_namespaces`, cle...

bcd35d6ad7de7a67e21e1fbaee1724a3308d16cb authored over 2 years ago
xml: Remove `XmlAttributesObject`

Use a bare `ScriptObject` instead. This matches Flash's behavior in
many aspects:
* Attribute va...

401f423ffa4355a36199a3d2a5524e47e435be06 authored over 2 years ago
core: Clamp color values in DefineBitsJPEG3 (fix #6893)

The colors in a DefineBitsJPEG3 tag should be premultiplied alpha,
but in some SWFs they are inc...

5730c8db9411960428465189271e4e498299137b authored over 2 years ago
core: Remove `NavigatorBackend::resolve_relative_url`

The resolved URL only used by `NavigatorBackend::fetch`. So simply
inline `NavigatorBackend::res...

87ce0f56b7a6e8c8aec533ded3716fddc2b319a3 authored over 2 years ago
core: Introduce struct `Response`

Currently it's a trivial wrapper around `Vec<u8>`, but more fields
will be added in the future (...

2517d8de4ba66664bd578465ccfa05bd2dfc5707 authored over 2 years ago
core: Introduce and use `Response::url`

ea665d91f2812f0c718501a2c55e695105e7a998 authored over 2 years ago
ci: Don't test web build on Windows

For unknown reasons, tests on the Windows web build continue to be
flaky on GitHub CI. Disable t...

85e98cc1ccecb647f7f6ad65d07bb70adf363e40 authored over 2 years ago
core: Add comment about rewind behavior of is_visible

aa66c31d6c8fa781f9631e3049ffaa85f4d6f927 authored over 2 years ago
core: Stub DisplayObject::blend_mode

f8698d1cc94661859ee26d051a753896186499da authored over 2 years ago
core: DisplayObject name can only be set on initial placement

32252b2ed40a3cfe4ee65ce3aa1798f197331b17 authored over 2 years ago
core: DisplayObject clip depth can only be set on initial placement

8bf0114fdfaa1ef02785492faa49c959b2fdb3bc authored over 2 years ago
core: Cleanup PlaceObject comments

82ed6fcba76b3cbf11d2663d002458ba22a6ed00 authored over 2 years ago
core: Clip events can only be set on initial placement

0833bd0d18f4c7a1e0a0c21a6089c7447ccfed55 authored over 2 years ago
swf: Implement Default for BlendMode

402e072707fe2957d15dcfc18620b726035bdab7 authored over 2 years ago
core: Stub DisplayObject::background_color

b46c07830e430d0d112bb8b91c489f16f01bb295 authored over 2 years ago
core: Stub DisplayObject:is_bitmap_cached

2cebd47ad23185373dc39c562624d4458a380492 authored over 2 years ago
demo: Style the local file selector and sample file select

f94a76a248c138446bd0a703632161361aa9d9b0 authored over 2 years ago
demo: Add an area to say the file name

57659a1f4432d3a4609d23bc2d74349e4e7c3748 authored over 2 years ago
web: Enforce ESLint's `eqeqeq` rule

4ae5e89ea79915f44925c9554f759ea462ab0b48 authored over 2 years ago
chore: Appease clippy

f6153ff7c13d7356109be98681e2c30b2f2bff05 authored over 2 years ago
avm1: Remove a stale TODO

Forgotten in #6785.

d1d6b56615ef701794c2b642ffb8a5b986f874e8 authored over 2 years ago
tests: Uncomment `array_sort` tests

They pass now.

bb0b56cff6025bbbfe7f6f768fbfbffb08d1053e authored over 2 years ago
avm1: Correct and cleanup `Array.sort` and `Array.sortOn`

* Mimic Flash's quicksort algorithm, rather than using Rust's
`sort_unstable_by`.
* Rename `flag...

beee6cb0679c386019912a43625718a72bb0f984 authored over 2 years ago
build(deps): bump serde_json from 1.0.79 to 1.0.80

Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.79 to 1.0.80.
- [Release notes](ht...

6375927d72da0d01a4bb8f4c2ddcc3e9be244326 authored over 2 years ago
build(deps): bump jpeg-decoder from 0.2.4 to 0.2.5

Bumps [jpeg-decoder](https://github.com/image-rs/jpeg-decoder) from 0.2.4 to 0.2.5.
- [Release n...

fcc199b0e5234b9a80691ec7b117e23c925a903f authored over 2 years ago
build(deps): bump syn from 1.0.91 to 1.0.92

Bumps [syn](https://github.com/dtolnay/syn) from 1.0.91 to 1.0.92.
- [Release notes](https://git...

e68f88d37e89f5cbae705180d656da69e611531d authored over 2 years ago
build(deps): bump thiserror from 1.0.30 to 1.0.31

Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.30 to 1.0.31.
- [Release notes]...

c7ca4e099f5411070bd71689fd6c159dbe055403 authored over 2 years ago
build(deps): bump image from 0.24.1 to 0.24.2

Bumps [image](https://github.com/image-rs/image) from 0.24.1 to 0.24.2.
- [Release notes](https:...

c1bcc98668443f31219113b14e06caa06cebb89b authored over 2 years ago
build(deps): bump clap from 3.1.12 to 3.1.15

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

7ab8c340fa53dbb091f167e84526b0eba0e6a82d authored over 2 years ago
build(deps): bump isahc from 1.7.0 to 1.7.1

Bumps [isahc](https://github.com/sagebind/isahc) from 1.7.0 to 1.7.1.
- [Release notes](https://...

7c230f0bc98f8883f8514d67f9ac7f4e18e1bff7 authored over 2 years ago
build(deps): bump serde from 1.0.136 to 1.0.137

Bumps [serde](https://github.com/serde-rs/serde) from 1.0.136 to 1.0.137.
- [Release notes](http...

86e3f6c82aa360f962b90551b383e2b7ab79a488 authored over 2 years ago
build(deps): bump webbrowser from 0.7.0 to 0.7.1

Bumps [webbrowser](https://github.com/amodm/webbrowser-rs) from 0.7.0 to 0.7.1.
- [Release notes...

4f1dec79e394b2668f9ef72e392daa66d9feee03 authored over 2 years ago
build(deps-dev): bump mocha from 9.2.1 to 10.0.0 in /web

Bumps [mocha](https://github.com/mochajs/mocha) from 9.2.1 to 10.0.0.
- [Release notes](https://...

6c5a35d1bc00be28b7cbf309f808b682d959943e authored over 2 years ago
build(deps): bump async from 2.6.3 to 2.6.4 in /web

Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4.
- [Release notes](https://gi...

03618554fd275a0fcca2b2b0171c068602effe80 authored over 2 years ago
build(deps-dev): bump @wdio/spec-reporter from 7.19.1 to 7.19.5 in /web

Bumps [@wdio/spec-reporter](https://github.com/webdriverio/webdriverio) from 7.19.1 to 7.19.5.
-...

eec37d45106f8fd46388c43afc4f37f6b0b8b930 authored over 2 years ago
build(deps-dev): bump prettier from 2.5.1 to 2.6.2 in /web

Bumps [prettier](https://github.com/prettier/prettier) from 2.5.1 to 2.6.2.
- [Release notes](ht...

407715b2cb30a4191b4d9c3d7341e89ae5cbd60b authored over 2 years ago
build(deps-dev): bump ts-loader from 9.2.6 to 9.3.0 in /web

Bumps [ts-loader](https://github.com/TypeStrong/ts-loader) from 9.2.6 to 9.3.0.
- [Release notes...

e4088a28d7d2741bb28b7f11eb818967f0034143 authored over 2 years ago
build(deps): bump ejs from 3.1.6 to 3.1.7 in /web

Bumps [ejs](https://github.com/mde/ejs) from 3.1.6 to 3.1.7.
- [Release notes](https://github.co...

75a9313864bfed25c01720663c85acc8682baaf4 authored over 2 years ago
build(deps-dev): bump @wdio/local-runner from 7.19.3 to 7.19.5 in /web

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

0d85a7e40f95799fa33c58966c2d09aedd4055b3 authored over 2 years ago
build(deps-dev): bump @types/mocha from 9.1.0 to 9.1.1 in /web

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

f389b08c5a05bf99064a6f8d132551daf379a7df authored over 2 years ago
build(deps-dev): bump css-loader from 6.5.1 to 6.7.1 in /web

Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 6.5.1 to 6.7.1.
- [Releas...

53b828df23763165cbd765675deb548b5bf35458 authored over 2 years ago
build(deps-dev): bump sign-addon from 3.11.0 to 4.0.1 in /web

Bumps [sign-addon](https://github.com/mozilla/sign-addon) from 3.11.0 to 4.0.1.
- [Release notes...

9c13cc7595185c7705b34b624814b0449427773f authored over 2 years ago
build(deps-dev): bump eslint-plugin-jsdoc from 37.6.1 to 39.2.9 in /web

Bumps [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc) from 37.6.1 to 39.2.9....

1e5c6709dff9c3afdd6fde0c79cc1951e40d66c8 authored over 2 years ago
build(deps-dev): bump @wdio/mocha-framework in /web

Bumps [@wdio/mocha-framework](https://github.com/webdriverio/webdriverio) from 7.16.14 to 7.19.5...

fca595f9a5fbac165de528ff1ccea6b5506d4ffe authored over 2 years ago
web: Don't use inline CSS attributes

27c9637ed84ff2c0a318a7b9d4508a196695bc43 authored over 2 years ago
avm1: Implement LocalConnection.domain()

b2f309fc35b870662909ee4eb6bf295f4dffca1d authored over 2 years ago
chore: `.filter_map(..).next()` -> `.find_map(..)`

Per the rust-analyzer diagnostic: https://rust-analyzer.github.io/manual.html#replace-filter-map...

babf49aaf9a9105cc79fa2e10889d277c9899441 authored over 2 years ago
core: Use `Arc::new_cyclic` in player initialization

Co-authored-by: relrelb <[email protected]>

Change `UpdateContext::player` to not be an `O...

3e15ca4cad1e62ce3ce167f6d09e9ab1fe8a0396 authored over 2 years ago
core: Add various settings to PlayerBuilder

f48182ef3d760a6d4c9121a2c3e4c7372511366c authored over 2 years ago
core: Add MemoryStorageBackend::new

2453626dec52aba488fb088a3498e723c6d408e2 authored over 2 years ago