100 Commits

Author SHA1 Message Date
Mario Zechner
335308a7ef [c][cpp][flutter][ios] Port of 64ed135e4939d9672f1ab48bdcec645ee50c37ef 2025-09-29 16:16:39 +02:00
Mario Zechner
c6495719ca [c][cpp][flutter][ios] Make attachment in Skin.setAttachment optional 2025-09-23 17:07:03 +02:00
Mario Zechner
d62b2682bb [c][ios][flutter] More documentation related codegen 2025-09-15 15:44:13 +02:00
Mario Zechner
59c1593aec [dart] Codegen now inserts proper C++ up/down casts in locations where an abstract type is returned. 2025-09-10 23:13:14 +02:00
Mario Zechner
e487f6ce1d [flutter] Update WASM binaries, always compile WASM binaries 2025-08-29 16:26:16 +02:00
Mario Zechner
998fd7d17e [c][ios][flutter] Add render object getter setter to TextureRegion and AtlasRegion 2025-08-29 15:59:50 +02:00
Mario Zechner
76a830c86c [c] Remove track entry and animation state clear listener functions 2025-08-29 15:27:40 +02:00
Mario Zechner
51410a526e [c] Direct setListener on track entry and animation state 2025-08-29 15:10:56 +02:00
Mario Zechner
d253820cf4 generate-all-bindings.sh -> generate-bindings.sh 2025-08-27 12:48:01 +02:00
Mario Zechner
ea5db08692 [flutter] More clean-up. 2025-07-31 00:50:22 +02:00
Mario Zechner
c9d7e687a9 [flutter] clean-up of ffi related code 2025-07-31 00:18:34 +02:00
Mario Zechner
d059ac01fd [flutter] Switch to wasm_ffi 2025-07-30 23:41:36 +02:00
Mario Zechner
790caa8316 [flutter] Merge web_ffi_fork sources into spine-flutter, fix web build. 2025-07-30 19:04:49 +02:00
Mario Zechner
1570962903 [flutter] Fix Flame examples, AppDelegate warning on macOS, debug logging in AnimationStateEventManager 2025-07-30 09:57:57 +02:00
Mario Zechner
4225214caf [flutter] macOS/iOS builds, fixed examples wrt new API 2025-07-30 09:44:13 +02:00
Mario Zechner
f1353f2c6d [flutter] SkeletonDrawable.update() needs to update skeleton and world transform 2025-07-30 00:50:11 +02:00
Mario Zechner
4eddd24787 [flutter] AnimationStateEventsManager for idiomatic animation state listeners, Flutter versions of Atlas, SkeletonDrawable, RenderCommand for convenience. 2025-07-30 00:44:12 +02:00
Mario Zechner
0e5de94529 [flutter] handle implicit enum values in codegen, extension for animation state listeners + test 2025-07-29 22:52:06 +02:00
Mario Zechner
001f4d384f [flutter] Skin.getEntries() extension 2025-07-29 22:19:04 +02:00
Mario Zechner
58f5d24758 [flutter] Clean-up of extensions, docs for codegen 2025-07-29 21:39:14 +02:00
Mario Zechner
24e4f39d45 [flutter] Regenerated bindings 2025-07-26 00:24:10 +02:00
Mario Zechner
66a9860c94 Update Flutter generated bindings
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-25 23:44:53 +02:00
Mario Zechner
03757139cd [flutter] codegen now uses nullability info from spine-c ir-generator to make return and parameter types optional if necessary. 2025-07-25 22:50:54 +02:00
Mario Zechner
861eac1c1b [c] References for non-nullable arguments and return types, pointers for nullable args and return types 2025-07-25 20:21:39 +02:00
Mario Zechner
0267eaf60e [flutter] spine_flutter.dart -> Flutter specific stuff, spine_dart.dart -> Dart only stuff, clean separation for headless-test.dart 2025-07-25 02:43:24 +02:00
Mario Zechner
f85b3c1f19 [flutter] spine_flutter.dart -> spine_dart.dart, api.dart in generated pulling in all modules 2025-07-25 02:22:48 +02:00
Mario Zechner
6ad01acc6a [flutter] Use new loading infra from spine-c 2025-07-25 02:19:53 +02:00
Mario Zechner
9c8119718b [dart] types are not Finalizable, invoke formatters/format-dart.sh, build test spine_flutter shared lib 2025-07-25 01:13:29 +02:00
Mario Zechner
d91dc74cb4 [dart] Formatting 2025-07-25 00:41:03 +02:00
Mario Zechner
4a7bf7c12d [flutter] Working dart-writer plus headless smoke test 2025-07-25 00:32:34 +02:00
Mario Zechner
33dd153c2b [dart] Fix remaining dart-writer issues, apply dart fix at the end of generation to clean up superfluos imports in generated files. 2025-07-24 11:45:49 +02:00
Mario Zechner
4d19a6ac81 [dart] Fix spine_flutter.dart generation 2025-07-24 01:15:40 +02:00
Mario Zechner
5c33aed9d6 [flutter] Wrapper and binding generator complete. 2025-07-24 00:53:47 +02:00
Mario Zechner
81b445302a [formatters] Dart formatting pass 2025-07-16 03:20:14 +02:00
Mario Zechner
781619aff6 [dart] Formatter 2025-07-16 01:41:21 +02:00
Nathan Sweet
9b596c3856 Merge branch '4.2' into 4.3-beta
# Conflicts:
#	spine-unity/Assets/Spine/package.json
2025-05-21 10:29:28 -04:00
Mario Zechner
e24b1a25d8 [flutter] Updated WASM binary 2025-05-16 11:10:17 +02:00
Nathan Sweet
dafafca942 Merge branch '4.2' into 4.3-beta-sliders
# Conflicts:
#	spine-ts/package.json
2025-04-23 11:59:55 -04:00
Davide Tantillo
cb28aeeedc [flutter] Port of commit f1e0f0f: Fixed animation not being mixed out in some cases. 2025-04-09 16:02:08 +02:00
Mario Zechner
092e82d7ae [flutter] Closes #2809, update web_ffi 2025-04-09 15:10:19 +02:00
Mario Zechner
8e35cb8b6b [flutter] Update to emscripten 4.0.6, fix build script 2025-04-09 12:52:22 +02:00
Luke Ingram
ec395f00e1
[all] Updates documentation. (#2805)
- All links to forum posts have been updated.
- All links to Spine documentation have been updated to be accurate. This includes the Editor docs and specific Runtimes docs.
- Removes the doc link to the out-of-date spine-cocos2d-objc runtime and replaces it with spine-sdl.
- Links to external frameworks and tools have been corrected.
2025-04-08 04:53:39 +02:00
Nathan Sweet
f08d58dc98 License header update. 2025-04-05 13:42:13 -04:00
Mario Zechner
8d12efd9ef [flutter] Release 4.2.33 2024-11-20 12:04:07 +01:00
Anthony Taormina
96d72165f1
Update deprecating hash method in raw_image_provider.dart (#2690) 2024-11-20 11:57:13 +01:00
Mario Zechner
c85000b5f8 [ue] Add ResetPhysicsConstraints() to SpineSkeletonComponent and SpineWidget, closes #2615 2024-08-31 09:19:27 +02:00
Mario Zechner
eb2802e366 [ue] Fix shadowed variables on Clang/GCC. 2024-08-07 14:09:31 +02:00
Mario Zechner
50f3490046 [flutter] Release 4.2.30 2024-07-02 14:08:19 +02:00
Mario Zechner
be0e364388 [flutter] Dart analyzer fixes. 2024-06-19 14:20:44 +02:00
Denis Andrašec
0d5c3e3b18
Spine iOS (#2504)
* Add `spine-iOS` SPM package & example app (#1)

* Basic Mesh Rendering (#2)

* Spine C++ Swift Wrapper (#3)

* Load `Atlas` & `SkeletonData` (#4)

Load & dispose `Atlas` & `SkeletonData` from bundled files.

* Generate Swift classes from `spine-cpp-lite.h` (#5)

* Draw `SkeletonData` render commands (#6)

- Use `SkeletonData` render commands in the renderer
- Simple loop for animation support

* Add `BoundsProvider` (#7)

- Implement & support `BoundsProvider` classes
- Introduce alignment and content mode
- Update c to swift script to return optional for find prefixed methods

* Support `SpineController` & `Event` callbacks (#8)

- Support SpineController callbacks
- Support Event callbacks
- Apply tint color in renderer

* Support `DressUp` sample (#9)

- Add `DressUp` sample
- Move SpineViewController to SpineUIView
- Implement SpineUIView export to image

* Remove unused file

* Add `Physics` sample (#10)

- Add `Physics` sample
- Fix offsets in `IKFollowing` sample
- Fix `SpineView` background color

* Add `DebugRendering` sample (#11)

- Add `DebugRendering` sample
- Make `SpineUIView` transparent

* Move remaining files to SPM package (#12)

- Move remaining files to SPM package
- Rename `SpineWrapper` to `SpineCppLite`

* Load assets from different sources (#13)

- Load from bundle, file, http & drawable
- Apply correct blend mode & pma in renderer

* Add `Obj-C` + `UIKit` sample (#14)

- Add `Obj-C` + `UIKit` sample
- Update `Spine` to be usable in Obj-C code base

* Support CocoaPods (#15)

* Metal Best Practices (#16)

- Tripple Buffering
- Buffer Bindings
- Shared Objects

* Annotate functions that should return optional (#17)

* Add option to disable drawing when out of viewport (#18)

- Add option to disable drawing when out of viewport
- Move update clock to controller so multiple views can share it

* Add docs for public Spine classes/methods (#19)

* Fix various regressions (#20)

- Fix retain `SpineController` retain cycle
- Fix issue wehre images were not rendered
2024-06-18 10:02:25 +02:00