10263 Commits

Author SHA1 Message Date
Mario Zechner
440125252a [formatters] Try fixing Clang version in GH workflow 2025-07-16 03:09:36 +02:00
Mario Zechner
2c6f3a2944 [formatters] More GH workflow fixes 2025-07-16 02:38:54 +02:00
Mario Zechner
413fffc925 [formatters] Fix Dart version 2025-07-16 02:35:11 +02:00
Mario Zechner
a7a5531899 [libgdx] Eclipse formatter instead of Spotless/Gradle 2025-07-16 02:19:09 +02:00
Mario Zechner
ca45046ae3 [formatters] Use pushd/popd so formatters can be called from any directory 2025-07-16 01:51:21 +02:00
Mario Zechner
9ffe3579d7 [formatters] New GH workflow 2025-07-16 01:43:19 +02:00
Mario Zechner
781619aff6 [dart] Formatter 2025-07-16 01:41:21 +02:00
Mario Zechner
9fcc5a8b8c [haxe] Formatting 2025-07-16 01:35:13 +02:00
Mario Zechner
ab64434ae7 [csharp] More formatting changes 2025-07-16 01:28:04 +02:00
Mario Zechner
e69bc5562c [csharp] spine-csharp.csproj is a .NET Standard 2.0 project now, fixed format-csharp.sh 2025-07-16 01:21:03 +02:00
Mario Zechner
46e38c0356 [ts] Use correct typescript-formatter package 2025-07-16 00:02:29 +02:00
Mario Zechner
8972ba5dc8 [ts] Fix AtlasLoader/SkeletonLoader naming in pixi runtimes. 2025-07-15 23:57:41 +02:00
Mario Zechner
8eb9ba957b [ts] Update main dependencies, add formatting script, add Biome for linting, temporary commit 2025-07-15 23:56:33 +02:00
Mario Zechner
b544dd99ed [formatters] C/C++ formatting 2025-07-15 22:56:12 +02:00
Mario Zechner
587124b66b More ignores 2025-07-15 22:26:50 +02:00
Mario Zechner
61752a1d5f [formatters] Move lang specific formatters into their own Bash script. 2025-07-15 22:22:00 +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
fc238bc9b7 More ignores. 2025-07-15 22:00:57 +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
Harald Csaszar
a687a6c05c [csharp] Port of commit 9272327: Fixed bone disable inherit scale/reflection. Closes #2888. 2025-07-15 18:59:22 +02:00
Nathan Sweet
0adcacaf13 [libgdx] Added gdx-backend-headless to spine-libgdx-tests. 2025-07-15 12:47:32 -04:00
Harald Csaszar
dae00a2b1b [csharp] Port of commit a012479: Still compute RegionAttachment offsets when the region is null. Closes #2887. 2025-07-15 18:46:51 +02:00
Mario Zechner
4d45abbcf3 [tests] Fix up output paths, lsp-cli invocation 2025-07-15 16:22:45 +02:00
Mario Zechner
0c74907da2 [tests] Improve snapshot testing infrastructure
- test.sh which given a language builds the headless test executable and runs the test with the given inputs
- generate-serializers.sh to (re-)generate all language specific serializers
- Improved README.md
- Removed headless-test-runner.ts, now fully expressed in more concise test.sh
2025-07-15 15:13:45 +02:00
Mario Zechner
366b965135 Remove erroneously commited files 2025-07-15 14:39:23 +02:00
Mario Zechner
e2212b722f [libgdx] Fat jar task to generate testing jar 2025-07-15 14:32:44 +02:00
Mario Zechner
acbcfeb44d [cpp] Still compute RegionAttachment offsets when the region is null, see #2887
- Includes a massive refactor of the TextureRegion/AtlasRegion hierarchy to be in line with Java implementation
- Exact line by line port of RegionAttachment#updateRegion and MeshAttachment#updateRegion using new region implementations
2025-07-15 14:22:19 +02:00
Mario Zechner
15addc9db5 [c] Update .gitignore 2025-07-15 12:09:52 +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
557465ed01 [cpp] Rename RegionAttachment::_vertexOffset -> ::_offset 2025-07-15 11:25:05 +02:00
Mario Zechner
d3c0e7ad66 [cpp] Fixed bone disable inherit scale/reflection, see #2888 2025-07-15 11:09:49 +02:00
Mario Zechner
ed58364b51 [libgdx] Clean-up headless test 2025-07-15 10:35:51 +02:00
Davide Tantillo
eacb922140 [haxe] 4.3 porting (a012479f, 92723279). 2025-07-15 09:56:46 +02:00
Davide Tantillo
e280924dc5 [ts] 4.3 porting (a012479f, 92723279). 2025-07-15 09:50:55 +02:00
Nathan Sweet
9272327990 [libgdx] Fixed bone disable inherit scale/reflection. 2025-07-15 00:23:55 -04:00
Nathan Sweet
50bc71f642 [libgdx] Skeleton Viewer: Don't reset camera position when reloading. 2025-07-14 23:44:50 -04:00
Nathan Sweet
a012479fc4 [libgdx] Still compute RegionAttachment offsets when the region is null.
This lets computeWorldVertices work even when there is no region, which can be useful.
2025-07-14 23:44:21 -04: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
6e17f74874 [tests] New todo workflow 2025-07-14 20:20:24 +02:00
Mario Zechner
eaff42c840 [cpp] Fix primitive type array reading in SkeletonJson/SkeletonBinary 2025-07-13 04:43:05 +02:00
Mario Zechner
bd5b032619 [tests] ir-based serializer generator for C++ 2025-07-13 04:23:57 +02:00
Mario Zechner
4bf777a658 [tests] serializer ir generator, ir-based java serializer generator 2025-07-13 03:31:20 +02:00
Mario Zechner
102b030db3 [tests] More improvements to serializer generator. 2025-07-13 02:52:50 +02:00
Mario Zechner
429ed9dd3b [tests] Complete C++ SkeletonSerializer auto-generation from Java
- Implement comprehensive C++ serializer generator (tests/generate-cpp-serializer.ts)
- Direct transformation of Java SkeletonSerializer to C++ header-only implementation
- Handle all C++-specific API differences:
  * Field access patterns (obj.field → obj->field, private fields → obj->_field)
  * Null check removal for reference-returning methods (getBones, getEdges)
  * Nested array null check elimination (getVertices, getDrawOrders)
  * Enum serialization via switch statements replacing .name() calls
  * Custom function replacement system for C++-specific implementations
- Add specialized C++ implementations:
  * writeColor: handle public Color fields (r,g,b,a without underscore)
  * writeSkin: iterate AttachmentMap::Entries and call writeSkinEntry
  * writeSkinEntry: handle AttachmentMap::Entry instead of Java SkinEntry
- Auto-generate both pointer and reference versions of all write methods
- Create JsonWriter.h as header-only port of Java JsonWriter
- Update HeadlessTest.cpp to use generated SkeletonSerializer
- Add comprehensive type analysis and enum mapping from analysis-result.json
- Implement exclusion system for filtering unwanted types/methods
- Fix Java generator nested array null checks that were incorrectly hardcoded

Generated C++ serializer produces identical JSON output to Java reference implementation.
2025-07-13 02:06:44 +02:00
Mario Zechner
3183c0b383 [tests] Auto-generation of Java SkeletonSerializer 2025-07-12 02:24:14 +02:00
Mario Zechner
73a17e88c9 [tests] DebugPrinter -> HeadlessTest 2025-07-11 14:16:24 +02:00
Mario Zechner
99f9aca731 [ts] VS Code debug-printer launch config. 2025-07-11 13:51:58 +02:00