9 Commits

Author SHA1 Message Date
bodymovin
6362192a61 data bind artboards rcp file (#10214) c542b9b7ac
* make file ref counted

* migrate File to refcnt

* add bindable artboard class to keep file reference

* feat(unity): support rcp file and BindableArtboard class (#10228)

* refactor(apple): use updated file bindable artboard apis (#10229)

* update command queue to support bindable artboards

* use bindable artboards on command queue

* self manage view model instances in js runtime

* change remaining viewModelInstanceRuntimes to rcp

* refactor(apple): update view model instances to use rcp (#10298)

* refactor(unity): support rcp ViewModelInstanceRuntime (#10309)

* rebase fix

* deprecate getArtboard in favor of getBindableArtboard

* fix merge

* remove unused lambda capture

* fix rive binding

* feat(Android): RCP File, VMI, and add bindable artboards (#10456)

* refactor: C++ refactors

- Import from long (incorrect) -> jlong
- Header clang-tidy fix
- Use reinterpret_cast instead of C-style cast
- Break out some variables instead of long one liners
- Use auto
- Remove unused env and thisObj

# Conflicts:
#	packages/runtime_android/kotlin/src/main/cpp/src/helpers/general.cpp

* docs: Improve documentation on the File class

* feat: Support bindable artboard type and RCP VMIs

# Conflicts:
#	packages/runtime_android/kotlin/src/androidTest/java/app/rive/runtime/kotlin/core/RiveDataBindingTest.kt

* feat: Support RCP files

* refactor: Change from +1/-1 ref to just release

* fix: Moved to the more appropriate null pointer for GetStringUTFChars

* replace unref with release

Co-authored-by: Adam <67035612+damzobridge@users.noreply.github.com>
Co-authored-by: David Skuza <david@rive.app>
Co-authored-by: Erik <erik@rive.app>
Co-authored-by: hernan <hernan@rive.app>
2025-09-30 00:01:40 +00:00
luigi-rosso
08f276b192 feature: making rive::File rcp (#10439) 213f07ec13
* feature: making rive::File rcp

* fixes

* fix: recorder

Co-authored-by: Luigi Rosso <luigi-rosso@users.noreply.github.com>
2025-08-22 15:58:24 +00:00
csmartdalton
163f1beef3 Drop the ColumnLimit to 80 for clang-format
This gives better support for smaller screens and side-by-side windows.

Also standardize the formatting check on GitHub on version 17.

Diffs=
e52e9fff29 Drop the ColumnLimit to 80 for clang-format (#8320)

Co-authored-by: Chris Dalton <99840794+csmartdalton@users.noreply.github.com>
2024-10-11 19:22:48 +00:00
luigi-rosso
3255a2aeb2 Lua formatter
Format all our lua scripts with Stylua

https://www.notion.so/rive-app/Formatters-be8845abbca34e39b5d4c212b2437b3f?pvs=4

Diffs=
858215cc4 Lua formatter (#6525)

Co-authored-by: Luigi Rosso <luigi-rosso@users.noreply.github.com>
2024-01-26 23:51:01 +00:00
csmartdalton
9c3168ef9d clang-format updates
- Put braces on their own line
- Turn off single-line case labels

Diffs=
32e79999a clang-format updates
2022-10-03 20:23:45 +00:00
mikerreed
b6b0f89c08 Update Span to not need toSpan helper
Use std::data() and std::size() to extract those attributes from the incoming type (for our purposes, a std::vector).

Diffs=
82de255b9 Update Span to not need toSpan helper
2022-08-24 10:29:54 +00:00
mikerreed
1d3c347586 Move noop subclasses into utils
We had the idea of a "noop" factory or renderer in a few places. Centralize these in "utils".

Involved moving the specialized noorenderpath into its test file.

Diffs=
ec44ae50d Move noop subclasses into utils
2022-07-25 19:43:14 +00:00
csmartdalton
4d41d33e3b clang-format the universe
find . -name '*.c' -o -name '*.cpp' -o -name '*.cc'-o \
       -name '*.h' -o -name '*.hpp' \
  | xargs clang-format --style=file -i

Diffs=
c885b0ffd clang-format the universe
2022-07-08 17:01:01 +00:00
Mike Reed
a9629940b2 Add rivinfo tool 2022-05-14 12:13:03 -04:00