10588 Commits

Author SHA1 Message Date
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
88d6ccade2 Add debug workflow to investigate formatting differences 2025-07-25 23:40:03 +02:00
Mario Zechner
619c076da2 Add spine-c bindings check automation
- Add generate-all-bindings.sh script with logging support
- Add GitHub Action to check if spine-c bindings are up-to-date
- Update spine-flutter/generate-bindings.sh to use logging.sh
- Action only runs on branches >= 4.3 (including beta versions)

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-25 23:31:07 +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
7534416489 [c] Fix nullability evaluation for return and parameter types. type contains * and no &? nullable 2025-07-25 22:50:11 +02:00
Mario Zechner
a0bcb01a2a [cpp] Fix inconsistens getters/setters wrt nullability 2025-07-25 22:20:02 +02:00
Mario Zechner
65b138411c [c] Add check to codegen for setter/getter pairs with inconsistens nullability (one nullable, the other not) 2025-07-25 22:16:13 +02:00
Mario Zechner
92022e9c76 [glfw] Fix compilation errors due to nullability 2025-07-25 22:05:10 +02:00
Mario Zechner
85aab233ee [c] Constructor nullability. 2025-07-25 22:02:43 +02:00
Mario Zechner
854b6f9a2a [cpp] Constructor nullability. 2025-07-25 22:00:52 +02:00
Mario Zechner
364d3ff5c7 [c] Add constructors to null-analysis.ts 2025-07-25 21:54:45 +02:00
Mario Zechner
e1ac3fc8e2 Add last-nullable.md as backup of current nullable analysis
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-25 20:58:15 +02:00
Mario Zechner
4ccce0436c Formatting 2025-07-25 20:49:41 +02:00
Mario Zechner
4e875bc17f [c] ir-generator now evalutes nullability in spine-cpp based on pointer (nullable) or reference (non-nullable) 2025-07-25 20:49:26 +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
3d244f308e [tests] Compare state files as well 2025-07-25 17:12:51 +02:00
Mario Zechner
71949ec2a0 [test] cpp serializer generator needs to emit writeXXX(const <Type> &value) for type switching methods like writeVertexAttachments 2025-07-25 16:11:21 +02:00
Mario Zechner
c22644fb36 [c] Improved null-analysis.ts, handle exclusions, resolve XXXGeneric to XXX in Java. 2025-07-25 14:59:47 +02:00
Mario Zechner
736f5148f1 [c] null-analysis tool. 2025-07-25 14:03:09 +02:00
Mario Zechner
3e622605b3 [c] Ignore nullable.md 2025-07-25 13:21:00 +02:00
Davide Tantillo
c10bc05088 [haxe] Port of commit 25bd863: Reverse IK bend positive logic (#2895).
Requires 4.3.39-beta+.
2025-07-25 09:14:55 +02:00
Davide Tantillo
3bec86e5bd [ts] Port of commit 25bd863: Reverse IK bend positive logic (#2895).
Requires 4.3.39-beta+.
2025-07-25 09:13:30 +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
5f7daaf61b [flutter] FIx headless test imports 2025-07-25 02:24:54 +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
da70193a36 [c] Refactor atlas loading, fix up API consumers 2025-07-25 02:12:14 +02:00
Mario Zechner
ce12249682 [cpp] Use stl unordered_map if STL is available in Debug.h (faster) 2025-07-25 01:20: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
dbac857351 [c] Codegen can generate raw json (--export-json), builds super/sub and inheritance maps for OOP languages like Swift/Dart 2025-07-24 22:27:19 +02:00
Mario Zechner
31e0566b7d [cpp] Remove CurveTimeline2, replace with BoneTimeline2. 2025-07-24 22:25:23 +02:00
Mario Zechner
3f1339eb4e [tests] Fix format script 2025-07-24 20:00:25 +02:00
Harald Csaszar
ad1f910338 [unity] Port of commit 25bd863: Reverse IK bend positive logic.[..]Requires 4.3.39-beta+. 2025-07-24 19:21:56 +02:00
Mario Zechner
a018a3d7e9 [cpp] Fix _boneIndex initialization in constructors 2025-07-24 14:40:36 +02:00
Mario Zechner
d25c75d86b [cpp] BoneTimeline is pure now 2025-07-24 14:25:49 +02:00
Mario Zechner
af05f0681d [cpp] Refactored type hierarchy to be single inheritance, multiple interfaces 2025-07-24 14:16:19 +02:00
Mario Zechner
04f0aca8b8 [glfw] Better CMake presets, debugger cwd setting for VS Code 2025-07-24 12:48:56 +02:00
Mario Zechner
60cc9f0e20 [cpp] Make Constraint and Posed pure 2025-07-24 12:48:34 +02:00
Mario Zechner
8b135f18bb [c] Codegen can export JSON (--export-json) and returns super and sub type info for each C type 2025-07-24 12:23:47 +02:00
Mario Zechner
94e5e74e8a [cpp] AtlasRegion::getName returns const String & instead of String. 2025-07-24 12:23:16 +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
0d92c5d21e [c] Fix main module check 2025-07-24 01:15:09 +02:00
Mario Zechner
5c33aed9d6 [flutter] Wrapper and binding generator complete. 2025-07-24 00:53:47 +02:00
Mario Zechner
003e5a4d78 [c] Fix handling of PropertyId arrays 2025-07-24 00:37:13 +02:00
Davide Tantillo
0566f2aee5 [ts] Formatting. 2025-07-22 17:07:08 +02:00
Davide Tantillo
9697fb2891 [ts][canvaskit] Use Uint32Array for colors to avoid canvaskit to allocate one each vertices creation.
# Conflicts:
#	spine-ts/spine-canvaskit/example/headless.js
#	spine-ts/spine-canvaskit/src/index.ts
2025-07-22 16:23:20 +02:00
Davide Tantillo
5826c4b1cf [ts][canvaskit] Properly fix vertices info misalignment that led to crash when clipping (0b426772).
# Conflicts:
#	spine-ts/spine-canvaskit/src/index.ts
2025-07-22 16:11:27 +02:00