785 Commits

Author SHA1 Message Date
Mario Zechner
0e0a12b4a5 [c] Always assume we have a pointer for the concrete class. 2025-09-10 21:38:35 +02:00
badlogic
b64da9b637 [cpp] Introduce base classes for constraints without SP_API, from which concrete clsases derrive
MSVC issue. SP_API can't be used on classes with methods inherited from templated classes like ConstraintGeneric::getData(). we need an intermediate class that gets the method instantiation, and derrive from that instead.
2025-09-10 15:01:29 +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
ff8f5f7b6b [c] Direct setListener on track entry and animation state 2025-08-29 15:10:23 +02:00
Mario Zechner
b9743fde46 Update README.mds 2025-08-28 18:18:36 +02:00
Mario Zechner
927e2e8f3f [sdl] Updated to latest spine-cpp/spine-c 2025-08-27 12:42:27 +02:00
Mario Zechner
ecbd700af4 Restructure spine-ios modules: SpineC, SpineSwift, SpineiOS
- Created clean module separation:
  - SpineC: C/C++ compilation only (working)
  - SpineSwift: Generated Swift bindings + platform-agnostic API
  - SpineiOS: iOS-specific UI components only
- Updated Package.swift with proper target structure
- Moved generated Swift files to SpineSwift/Generated
- Removed redundant SpineModule
- Created test with skeleton_drawable_test.swift ported from Dart
- Test successfully runs using SpineC module directly
- Note: SpineSwift has Objective-C selector conflicts to be fixed
2025-08-11 19:07:29 +02:00
Mario Zechner
106c39d0af [workflows] Add diff artifact to dart format check for debugging 2025-07-31 21:32:13 +02:00
Mario Zechner
a2c752d855 [cpp][c] Fix warnings on Clang 2025-07-31 00:50:41 +02:00
Mario Zechner
eaa4d5dd54 [c] extension methods for bounds, worldToLocal etc. SPINE_OPAQUE_TYPE is now fully opaque. 2025-07-30 13:22:59 +02:00
Mario Zechner
f9fefee0c8 [cpp] Docker build for GCC testing, minor GCC fixes 2025-07-30 12:10:02 +02:00
Mario Zechner
83f5bd0e0a [cpp] pEvents -> events, extensions for BonePose and Skeleton returning spine_vector. 2025-07-30 09:42:11 +02:00
Mario Zechner
09969f5649 [c] spine_skeleton_get_bounds extension returning spine_bounds struct 2025-07-30 00:43:01 +02:00
Mario Zechner
31652b4022 [c] Expose TrackEntry::getAnimationState in C bindings. 2025-07-29 23:16:17 +02:00
Mario Zechner
71eb86c15e [c] spine_animation_state_events_* extension functions. 2025-07-29 22:51:34 +02:00
Mario Zechner
fd939f4401 [c][cpp] SpineExtension::strdup convenience method, better spine_skin_entries api in spine-c extensions 2025-07-29 22:18:42 +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
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
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
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
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
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
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
0d92c5d21e [c] Fix main module check 2025-07-24 01:15:09 +02:00
Mario Zechner
003e5a4d78 [c] Fix handling of PropertyId arrays 2025-07-24 00:37:13 +02:00
Mario Zechner
b2f22c6970 [c] BonePose RTTI 2025-07-22 10:39:51 +02:00
Mario Zechner
b25ae0e80d [c] Update Rust README.md 2025-07-21 03:08:45 +02:00
Mario Zechner
aa6b33b626 [c] bindgen based bindings for Rust 2025-07-21 03:05:47 +02:00
Mario Zechner
715abbc171 [c] Force cc to not link to stdc++ 2025-07-21 02:57:33 +02:00
Mario Zechner
d93407cfe7 [c] Rust FFI + no-cpprt POC 2025-07-21 02:49:46 +02:00
Mario Zechner
6090b2da22 [spine-c] Make destructors excludable (needed for spine_atlas_dispose which is overwritten in extensions.cpp) 2025-07-21 01:01:42 +02:00
Mario Zechner
d409ff23ff Fix format-xx.sh files wrt logging, add proper Swift formatting configuration. 2025-07-20 21:31:07 +02:00
Mario Zechner
0dd86dfdc1 Consistent logging in all Bash scripts via formatters/logging/logging.sh 2025-07-20 20:45:54 +02:00
Mario Zechner
c79031cc75 Remove npx install prompts and rely on auto-download
- Use npx -y for tsx to avoid install prompts
- Remove tsx from devDependencies since we use npx
- Remove npm install checks from format-ts.sh
2025-07-16 05:05:33 +02:00
Mario Zechner
b544dd99ed [formatters] C/C++ formatting 2025-07-15 22:56:12 +02:00
Mario Zechner
2c83fe0252 [c] More robust enum extraction, assign self to local vars for easier debugging. 2025-07-15 22:17:48 +02:00
Mario Zechner
d5947d45a1 [c] Improved build.sh
- release builds
- --help flag
2025-07-15 21:34:22 +02:00
Mario Zechner
8503ae00d3 [c] Fix formatting generated by codgen. 2025-07-15 21:31:32 +02:00
Mario Zechner
9de99309f4 [c][cpp] Improved README.md 2025-07-15 11:49:15 +02:00