* chore(flutter): bump rive_native
* chore(flutter): add examples
* docs: update changelog
fix: recursively check whether an artboard is its ancestor before usi… (#10184) 53fb2577bc
* fix: recursively check whether an artboard is its ancestor before using it as the source of a nested artboard
fix(wagyu): proper init of Wagyu Render Pass Inputs (#10175) ff8fc66bc4
* proper init of Wagyu Render Pass Inputs
* fixed build issues
* clang-format
* proper black clear color
chore: update thumbnailer for new rive building set-up 9fd4961e9b
Co-authored-by: Gordon <pggordonhayes@gmail.com>
As suggested by the docs, this is the best way to support newer devices requiring 16kb page support.
https://developer.android.com/guide/practices/page-sizes#compile-r27
- [x] Looking to see that Goldens pass before merging.
Diffs=
f653f3f73f Support 16kb devices by bumping to NDK r27 (#8558)
572265df3b call syncStyleChanges on update (#8715)
e8d6e5db26 Override layoutcomponent x/y using layoutX/Y (#8714)
d3f6a49778 Nnnn data bind fixes part 3 (#8663)
baf832a6ce Instance data converters when attached to data binding objects (#8664)
0664f994df Snap verycomplexgrad gm stops to pixel boundaries (#8685)
39c62a94ef ScrollBar constraint autosize toggle (#8707)
7c3c8a3a1a Don't use GL_PIXEL_UNPACK_BUFFER (#8708)
5df5be1940 Add "no_rive_jpeg" and "no_rive_png" build options (#8702)
d7794cb556 Improve scroll time precision on web (#8705)
d0c9e98d2e Scroll fixes (#8698)
ca10c9ec63 re add clean to diff (#8697)
f00a5a6c78 do not break when component is found (#8695)
437688c18e Add yoga renames to non-v2 lua build scripts (#8693)
423301a95b Fix integer precision issues with pathID in vertex shaders (#8689)
b1c0e80625 use draw proxy for scroll bar draggables (#8692)
302606642c GL fixes for Imagination PowerVR GPUs (#8684)
e5879a1a5c Fix scrollbar thumb offset (#8691)
7414d20597 Sort by % diff pixels in diff.py when histogram is equal (#8683)
00e9ad43a7 fix sorting hittable components (#8690)
fa8f7c6755 fix crash when dividing by 0 (#8687)
cd310b1b68 Nnnn scrolling override poc part 2 (#8679)
ac7c458bc7 Small Scroll fixes (#8682)
0ff13be381 Make scroll physics core objects (#8672)
9dfd01fb3a made compatable with python 9_9 (#8678)
454bc50aaf diff.py: don't count identicals as differences (#8666)
c642488df3 added some changes to make building easier for unreal (#8667)
1647a7ad92 use actual sizes for calculating position offset (#8671)
599ab0eeb7 Reapply "Merge branch 'master' of https://github.com/rive-app/rive"
406a2ef952 Revert "Merge branch 'master' of https://github.com/rive-app/rive"
3c0cc1f329 skip object on animation reset if it is null (#8670)
1d2c9175d4 remove letter spacing subtraction (#8669)
96ec927371 fix fatal warnings compiler flag to use latest version (#8668)
Co-authored-by: Erik <erik@rive.app>
Addresses: https://github.com/rive-app/rive-flutter/issues/398
I also created a fresh plugin using the latest Flutter and copied over the differences.
How to use:
In `android/local.properties` add:
```
rive.ndk.version=25.2.9519653 # set desired version
```
If not specified in a project, it will use the default.
Rive-Android still uses the same ndk version. Should we update that as well?
Diffs=
49bf612fd feat: update build gradle to latest versions (#7475)
a134ab656 Layout joysticks runtime (#7923)
728ac6286 runtime: add tiling to n-slicing (#7934)
e1b4a53ec Revive the WebGL backend (#7948)
813db58e7 Nnnn data binding editor native runtime (#7815)
c71a37173 fix for syntax issue (#7910)
e89437ef6 windows editor: fix format check and use raster ordering disabled (#7937)
7d00d35d3 Fix viewer tess builds (#7935)
455ebad60 Update rive cpp for submodules (#7932)
75e0f9aea runtime: support files with n-slicing defined (#7920)
85b28c39a Update readme of PLS (#7931)
21ecf2775 Fix actions yaml with rive-renderer (#7930)
c33d5d81b Update rive renderer readme (#7929)
b03895fcf Update pls README (#7927)
3316d15ca Refactor pls into runtime (#7914)
b2d27b6bd mark dirty when constraint changes (#7909)
5c14a4a30 Fix Android goldens (#7902)
46a3045ae Improve Vulkan loading and organization (#7873)
160d9eefb Add webp decoder. (#7883)
e992059d6 iOS images unpremult SIMD support (#7875)
ad34dd4da add arithmetic operation and group converters (#7801)
f99c93181 editor: setting up the update callbacks for n-slicing (#7869)
85343a4e1 Fix for bug in Runtime LayoutComponent proxy (#7867)
Co-authored-by: Gordon <pggordonhayes@gmail.com>
Thanks @umberto-sonnino!
Diffs=
33fb6021a Update compileSdkVersion for flutter android example (#7647)
Co-authored-by: Philip Chung <philterdesign@gmail.com>
Updating the flutter tests to build with 3.22.2 results in an error finding MultiDex. Fix is found here: https://github.com/flutter/flutter/issues/148368
Diffs=
59df9ce73 Flutter Android example project fix (#7455)
a4439ee42 Renames for Yoga and libjpeg (#7446)
97578005c Update LayoutComponentStyle bitfields to be compatible with older C++ versions (#7436)
Co-authored-by: Philip Chung <philterdesign@gmail.com>
The goal of this PR is to improve the usability of events for the Flutter runtime and to hide unnecessary editor implementation detail. This also ensures that an event is not modifiable after it has been reported (from the runtime's perspective)
This is achieved by exposing runtime specific classes `RiveEvent`, `RiveOpenURLEvent` and `RiveGeneralEvent` (similar to the other runtimes), and mapping the current `Event` to these classes as an immutable object. It also maps the list of events to a Map called `properties`.
This PR also:
- Adds more event examples and fixes the audio example (`.stop` resulted in issues, and calling dispose, etc.)
- Adds tests for events
TODO:
- Will need to potentially change things (and expose the `delay`) when this lands: https://github.com/rive-app/rive/pull/5951
Diffs=
eae01824d feat: expose wrapper event class to runtime (#5956)
Co-authored-by: Gordon <pggordonhayes@gmail.com>
Introduces a new Core field type which does not produce stored fields. Instead it provides a callback which can be keyed and unique per type so time based events can trigger against their property keys.
This is to allow things like nested trigger inputs and triggering events from the timeline.
Draft as there's a bunch more work to do for actually invoking them from the StateMachine & LinearAnimations. In the meantime the tests can do some sanity testing.
- [x] Generate core types that do not produce stored fields.
- [x] Massage Keyframe hierarchy to allow for non stored value Keyframes (markers for trigger).
- [x] Key those core types with specialized keyframes.
- [x] Pass context (like StateMachine) to those triggers and see it all tie together.
Diffs=
6058b52ce Timeline events & Core Callback type (#5877)
Co-authored-by: Luigi Rosso <luigi-rosso@users.noreply.github.com>
Uses it in the artboard title but also updates the flutter runtime massively to support FFI & WASM C++ Rive Text. PRing to let the tests run.
Diffs=
3be5ff0d8 Text (#4372)
90245a5e1 Fix the Android debug build
0a0f3c267 Fix for missing animation in a blend state. (#4415)
440512dca Add simd::if_then_else (#4403)
ec9fb5bfc Revert "Update SIMD booleans to use bitwise logic operators"
701d8dee2 Update SIMD booleans to use bitwise logic operators
e98b93a61 Add SIMD fallbacks for missing builtins
466f68e3a Add some more core math and SIMD functions