81 Commits

Author SHA1 Message Date
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
Mario Zechner
5c0cf0af45 [flutter] Port: Added TrackEntry#isNextReady() #2547, fix ffigen 2024-06-11 15:17:17 +02:00
Mario Zechner
c0efb545bd [flutter] Fixes #2546, fix drawing before controller initialized drawable 2024-06-11 14:07:50 +02:00
Mario Zechner
e1d7310511 [flutter] Skeleton.getBounds() takes clipping into consideration (see #2515) 2024-05-21 12:42:10 +02:00
Mario Zechner
5017bbf2aa [flutter] Closes #2525, fix build to include spine-cpp-lite. 2024-05-14 11:27:14 +02:00
Mario Zechner
b41e9377bb [flutter] Release 4.2.24 2024-04-30 12:37:16 +02:00
Mario Zechner
0e00ce4f07 [flutter] Closes #2438, support static linking of native libraries. 2024-04-30 12:30:13 +02:00
Mario Zechner
ac7f0654a6 [cpp][flutter] Added spine-lite-cpp, changed spine-flutter to use spine-lite-cpp. 2024-04-19 14:43:00 +02:00
Mario Zechner
072c2c0965 Update README.mds, preprare spine-flutter for publication 2024-04-16 15:33:55 +02:00
Mario Zechner
b7ee102dda [flutter] Add physics example. 2024-04-09 12:05:57 +02:00
Mario Zechner
3b4e6eff65 [flutter] Ported 4.2 changes in native code. PhysicsConstraint(Data) missing on Flutter side. 2024-04-04 17:30:25 +02:00
Mario Zechner
f1052e2906 Merge branch '4.1' into 4.2-beta
# Conflicts:
#	spine-flutter/CHANGELOG.md
#	spine-flutter/example/pubspec.lock
#	spine-flutter/pubspec.yaml
#	spine-unity/Assets/Spine/package.json
2024-03-19 16:28:30 +01:00
Mario Zechner
bd781912da [flutter] Fixes #2479, use default FilterQuality.none 2024-03-19 16:03:30 +01:00
Harald Csaszar
651611b573 Merge branch '4.1' into 4.2-beta 2024-03-07 16:06:59 +01:00
Hán Trung Kiên
8e200efdbb
flutter: fix memory cleanup is slow due to not destroying shaders (#2470) 2024-03-06 03:43:09 +01:00
Harald Csaszar
540319e1d4 Merge branch '4.1' into 4.2-beta 2024-01-24 17:18:11 +01:00
Kaisei
2c6d10bef8
Fix skeleton.getY() and skeleton.getScaleY() (#2454) 2024-01-22 15:14:26 +01:00
Mario Zechner
bdf6d6293d Merge branch '4.1' into 4.2-beta
# Conflicts:
#	spine-flutter/CHANGELOG.md
#	spine-flutter/pubspec.yaml
2024-01-03 06:23:20 +01:00
Mario Zechner
5279da1f80 [flutter] Fix multiply blend mode
See https://esotericsoftware.com/forum/d/25369-spine-flutter-slot%E6%B7%B7%E5%90%88%E6%A8%A1%E5%BC%8F%E5%90%8Ealpha%E4%B8%A2%E5%A4%B1/2
2024-01-03 06:19:30 +01:00
Mario Zechner
a6f52313c7 Merge branch '4.1' into 4.2-beta
# Conflicts:
#	spine-flutter/CHANGELOG.md
#	spine-flutter/pubspec.yaml
2023-12-11 14:26:22 +01:00