Skip to content

Commit d8d2bf2

Browse files
HayesGordonHayesGordon
andcommitted
chore(rive_flutter): release 0.14.0-dev.6 (#10364) afc58acd82
* chore(rive_native): remove unneeded files for pub publish * chore(rive_flutter): release 014.0-dev.6 Nnnnn add datatypes to viewmodel instances (#10357) 3b0e14f50f * feature: add data types to instance runtime values * fix: validate type when returned from cache Fix race condition in Metal background shader compiler (#10355) 92de3f0a1a * Fix race condition in Metal background shader compiler Setting an atomic variable outside of a std::condition_variable's corresponding mutex and then notifying the condition_variable has a subtle race condition, and the ordering of operations looks like this: Thread A: acquire mutex Thread A: check m_shouldQuit // it's false Thread B: m_shouldQuit = true Thread B: m_workAddedCondition.notify_all() // nothing is currently waiting on it so this does nothing Thread A: m_workAddedCondition.wait() // now it's waiting, having just missed the above notification Now thread A will wait forever because no more notifies to the condition_variable are coming and, in the case of this code, the call to m_compilerThread.join() will also wait forever (since the thread will never quit), so shutting down the renderer will never finish. Instead, m_shouldQuit should only be set to true while in the mutex (because the check of its value and the subsequent .wait call also happen within the mutex, so this prevents them interleaving). This change fixes this. * Minor formatting adjustment to make the github workflow tests re-run feat(RiveRenderer): Gamma Space Conversion (#10361) a61202f1c4 * Added conversion from gamma to linear space for situations where we can't control what our render target format is * comment update Guard against percent margins on top level artboards (#10356) aef45767df We need to prevent percent margin from being set on Artboards because percent margin relies on the layout parent's dimensions. Since an Artboard has no parent, it results in an error within Yoga and a crash. Feature: scripted data inputs (#10339) 8693175cee * chore: reworking inputs and properties * chore: syncing rive_native fixes * feature: adding script input parameters * feature: adding listeners * chore: missed files * feature: add/remove listeners * chore: updating to latest luau * chore: fix tests & colliding names * fix: missing import * chore: fix warnings * feature: guard against change during iteration * chore: fix boolean warning * fix: handle error reports from builtin types make more constraint values bindable (#10351) 9674376769 feature: add support for custom enum properties (#10345) 21b8ce84f4 * feature: add enum custom property support fix: Work around a bug in the Mali T720 compiler (#10340) 59aa55b5d0 fix: treat artboard as layout for hit testing inheritance (#10341) 583274d7b9 * fix: treat artboard as layout for hit testing inheritance feature: add support for firing triggers on state transitions (#10329) cc34f96631 * feature: add support for fiiring triggers on state transitions add support to data bind solos by index and name (#10337) 64f828c9a2 Support for Triggers in Custom property groups (#10322) 9af6af0361 Adds support for Triggers in Custom Property Groups. This will allow triggers to be keyframed, which can also be bound to ViewModel triggers. Currently an event has to be fired on the timeline in order to fire a ViewModel trigger via a listener. Update unit test build/run scripts to use build_rive.sh (#10320) 4bd8c63b93 * Update unit test scripts to use build_rive.sh The unit test test.bat and test.sh were doing their own ad-hoc building instead of using build_rive. This updates test.sh to call build_rive.sh for the build. This script could probably be pared down further but I did not want to break any of the existing command line arguments that people are probably using. Additionally, test.bat did not have up-to-date build flags in it, so now it does a similar Windows development environment setup to build_rive.bat and then calls directly into test.sh, so it won't get out of sync with the main script anymore. * Additional test.sh changes - There was a block of code that I could have removed but didn't (made redundant by the call to build_rive) - Add build_rive's parent directory to the path before calling it (will fix the test failing on Linux) - Removed the `sh` before build_rive.sh as it does not need to be shell invoked. * The pr_unit_tests.yaml execution for Mac needed to do a clean furing the asan build because it had already done a build without asan before, the change to build_rive means that we now catch the premake parameter change (adding asan), and so clean needs to happen for that build to be correct. * For now, move the build_rive.sh call into the two branches that previously had the build calls (linux, for instance, does not build, which seems incorrect given the github workflow is trying to run it. * Adding a note to test.sh to describe why the build_rive script is called in the way it is (vs. the obvious way) * Additional unit test script fixes (unifying windows build further, and some warnings) - Add the ability to specify a toolset on the command line (i.e. "--toolset=msc") that will get passed along to build_rive (thus making the 'clang' toolset in the windows build only a default) - Update the unit_test_windows and unit_test_windows_msvc entries in the github unit test workflows to call test.bat now (which required combining the build/run steps, but this matches all the other configurations) - Also added some additional parameter validation, mainly warnings on ignored/unsupported parameters Co-authored-by: Gordon <pggordonhayes@gmail.com>
1 parent df68439 commit d8d2bf2

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

.rive_head

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4c4a564f0fe52d61d5316cddaf25538f02871435
1+
afc58acd821fa31283d3ce8424be3d1c6b52ec41

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
1-
## Upcoming
1+
## 0.14.0-dev.6
2+
3+
Bumps to `rive_native: 0.0.9`
4+
5+
- Updates the Rive C++ runtime and renderer for the latest features, bug fixes, and performance improvements.
26

37
### Fixes
48

59
- Add missing `pointerExit` event logic.
10+
- Fixed [507](https://github.com/rive-app/rive-flutter/issues/507) - Tests fail on Linux and Windows as native libs are not discoverable.
11+
- Fixed incorrect key forwarding to child widgets.
612

713
## 0.14.0-dev.5
814

pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: rive
2-
version: 0.14.0-dev.5
2+
version: 0.14.0-dev.6
33
homepage: https://rive.app
44
description: Rive Flutter Runtime. This package provides runtime functionality for Rive graphics built with the Rive editor available at https://rive.app
55
repository: https://github.com/rive-app/rive-flutter
@@ -19,7 +19,7 @@ dependencies:
1919
sdk: flutter
2020
flutter_web_plugins:
2121
sdk: flutter
22-
rive_native: 0.0.8
22+
rive_native: 0.0.9
2323

2424
dev_dependencies:
2525
flutter_test:

0 commit comments

Comments
 (0)