762 Commits

Author SHA1 Message Date
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
Mario Zechner
84a541b098 [c][cpp] Use CMake presets and Ninja as the default generator 2025-07-15 11:34:11 +02:00
Mario Zechner
30d4cb9820 [c] Update codegen README.md 2025-07-14 21:23:08 +02:00
Mario Zechner
aac98324f2 [cpp][c] Clean up AtlasRegion, TextureRegion to use _ field prefixes and getters/setters instead of public fields 2025-07-14 21:13:56 +02:00
Mario Zechner
73a17e88c9 [tests] DebugPrinter -> HeadlessTest 2025-07-11 14:16:24 +02:00
Mario Zechner
d973417106 [tests] Fix locale in all debug printers, add tests/README.md, build if sources changed in compare-with-reference-impl.ts 2025-07-11 13:17:15 +02:00
Mario Zechner
4e3d2be023 [c][cpp][libgdx] Launch configs for debug-printer 2025-07-11 12:33:02 +02:00
Mario Zechner
497f4382b1 [c] Fix String reference returns in ir-generator, add debug-printer scaffold for runtime comparison tests 2025-07-11 11:01:25 +02:00
Mario Zechner
f9fad00936 [c][cpp] Fix DataInput.read() to return unsigned int, fixes SkeletonBinary parsing. Remove findXXXConstraint methods from SkeletonData. 2025-07-11 02:48:54 +02:00
Mario Zechner
9c06cef2be [c][cpp] Fix ir-generator, Update type hierarchy in C++
- ir-generator did not handle const String& parameters correctly
- Type hierarchy of Bone, Constraint was incorrect. Bone didn't extend Update, thus fetching RTTI in updateCache failed at runtime.
2025-07-11 02:17:12 +02:00
Mario Zechner
c651e74924 [c] Removed old spine-c, removed spine-cpp-lite, replaced with new spine-c 2025-07-10 19:28:37 +02:00
Nathan Sweet
7be6dac44a Merge branch '4.2' into 4.3-beta
# Conflicts:
#	spine-ts/package.json
#	spine-unity/Assets/Spine/package.json
2025-05-09 17:05:41 -04:00
Mario Zechner
c9aca368d6 [ts] Port of #2837 2025-05-07 13:17:43 +02:00
Mario Zechner
3f440bfc4a [c] Port of #2837 2025-05-07 13:11:49 +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
Luke Ingram
84d785c664 [c][cpp] Port of commit f1e0f0f (#2807)
* [c][cpp] Port of commit f1e0f0f: Fixed animation not being mixed out in some cases. #2786

* [c][cpp] Format.

---------

Co-authored-by: Davide Tantillo <iamdjj@gmail.com>
2025-04-09 16:08:23 +02:00
Luke Ingram
23233222f9
[c][cpp] Port of commit f1e0f0f (#2807)
* [c][cpp] Port of commit f1e0f0f: Fixed animation not being mixed out in some cases. #2786

* [c][cpp] Format.

---------

Co-authored-by: Davide Tantillo <iamdjj@gmail.com>
2025-04-09 15:13:39 +02:00
Mario Zechner
b491d8ba4d [cpp] Formatting 2025-04-08 13:52:01 +02:00
Jan Niklas Hasse
8bd5cf2e80
Fix warning -Wimplicit-fallthrough (#2771) 2025-04-08 11:58:03 +02:00
Byeong Gwan
4071565a9c
Update SkeletonBinary.c (#2790)
remove making extra copy of cString which cause the existing cString to be leak, and can not be disposed later,
2025-04-08 11:47:32 +02:00
Byeong Gwan
f93466522b
[c] fix wrong TwoColorAnimation parsing in Json (#2797) 2025-04-08 11:45:46 +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
c879d7a01c [c] Closes #2765, dispose skeleton data after debug output. 2025-02-26 09:31:56 +01:00