Mario Zechner
bd8cb36cec
Force LF line endings for source code files
2025-07-16 01:05:19 +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
Mario Zechner
6dffb3ea90
[libgdx] Fix VS Code launch config for debug-printer
2025-07-11 13:46:37 +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
Davide Tantillo
21b9efc8c7
[ts][pixi-v7][pixi-v8] Allow asset loaders to be explicitly requested. Close #2876 , #2744 .
...
This allows to easily load assets from base64 or blob.
2025-07-11 11:46:26 +02:00
Davide Tantillo
40685bb6c6
[ts][webcomponents] Avoid recreating texture when image is passed through cache.
2025-07-11 11:37:39 +02:00
Davide Tantillo
2e5a099ef4
[ts][webcomponents] Sharable cache for AssetManager.
2025-07-11 11:37:35 +02:00
Davide Tantillo
85de53624e
[ts][webcomponents] Avoid useless UWT, if skeleton scale does not change.
2025-07-11 11:37:26 +02:00
Mario Zechner
9ee4d6c40e
[libgdx] Add DebugPrinter program, add runDebugPrinter task to build.gradle
2025-07-11 11:03:04 +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