65 Commits

Author SHA1 Message Date
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
64d55dde21 Improve bash script logging with automatic indentation and script names
- Add automatic nesting detection using SHLVL and terminal detection
- Indent log output when scripts call other scripts (log_action, log_warn, log_detail)
- Add script filename to log_title for better traceability
- Update documentation with indentation examples
- Use portable approach that works across bash, zsh, and different platforms

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-22 00:20:41 +02:00
Mario Zechner
6a621f0cc1 Rename logging doc 2025-07-20 22:08:28 +02:00
Mario Zechner
1efd045a83 Final clean-up of all Bash scripts except examples/**/*.sh and spine-godot/build/*.sh 2025-07-20 22:07:17 +02:00
Mario Zechner
f2fced8bf8 Fix logging in various Bash scripts 2025-07-20 21:35:19 +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
2036aa3e76 [cpp] Fix double free crash in SkeletonBinary::readSkeletonDataFile, add terminal logging utilities and style guide, add nostdcpp 2025-07-20 20:19:07 +02:00
Mario Zechner
62aefdbea8 [formatters] README.md 2025-07-16 05:16:22 +02:00
Mario Zechner
5a98176309 Add comprehensive README for formatters directory 2025-07-16 05:13:23 +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
62b38f9da8 Fix TypeScript dependencies and optimize Eclipse formatter build
- Install npm dependencies if node_modules missing
- Only rebuild Eclipse formatter if source is newer than JAR
- Make Eclipse formatter less verbose
2025-07-16 04:58:41 +02:00
Mario Zechner
6a7707282e Suppress dotnet format warnings with --verbosity quiet 2025-07-16 04:51:13 +02:00
Mario Zechner
3b9fcaefbd Simplify format-cpp.sh to batch files for both Docker and native 2025-07-16 04:48:58 +02:00
Mario Zechner
557967fa1e Batch files for Docker clang-format to improve performance 2025-07-16 04:47:17 +02:00
Mario Zechner
d6b0ab0125 Fix Docker volume mount to include parent directories 2025-07-16 04:45:08 +02:00
Mario Zechner
072705560e Show actual clang-format errors in format-cpp.sh 2025-07-16 04:43:22 +02:00
Mario Zechner
aaaa3f8f35 Add setup script for Docker clang-format wrapper 2025-07-16 04:40:37 +02:00
Mario Zechner
b035b12272 Simplify clang-format setup and fix npm warning 2025-07-16 04:30:46 +02:00
Mario Zechner
034c2c7e4f [formatters] Make Maven build quiet. 2025-07-16 03:32:25 +02:00
Mario Zechner
440125252a [formatters] Try fixing Clang version in GH workflow 2025-07-16 03:09:36 +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
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
b544dd99ed [formatters] C/C++ formatting 2025-07-15 22:56:12 +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
922e94485c Fix formatters gradle wrapper version for jreleaser. 2025-06-12 22:04:21 +02:00
Mario Zechner
12f11cbbf9 Add spine-android to formatter 2024-07-24 20:37:00 +02:00
Mario Zechner
bf0a33876a Formatting 2024-07-02 12:32:59 +02:00
Mario Zechner
ac7f0654a6 [cpp][flutter] Added spine-lite-cpp, changed spine-flutter to use spine-lite-cpp. 2024-04-19 14:43:00 +02:00
Mario Zechner
06005bf0de [ue] rename spine-ue4 to spine-ue 2024-04-03 16:11:59 +02:00
Mario Zechner
7c73988b42 [flutter] Add formatter pass. 2022-11-23 06:29:03 +01:00
Mario Zechner
5cd5a26186 [sdl] C++ runtime complete.
Unsupported:
- premultiplied alpha
- screen blend mode
- two color tint
2022-08-01 16:50:07 +02:00
Mario Zechner
68b59271bb [godot] Backport to 4.1 2022-07-18 10:27:42 +02:00
Mario Zechner
9e7f2df8e1 Update formatter build to Gradle 7.3 2022-05-31 12:24:20 +02:00
Mario Zechner
2022713bd2 [c][cpp] Formatter pass. 2022-03-25 13:31:58 +01:00
Luke Ingram
fd617b562e [libgdx] Fixed AnimationState.trackEntry()
Some TrackEntry fields weren't reset to their default values. @NathanSweet you did a bug
2022-01-28 11:03:36 -04:00
Mario Zechner
41371b6f6e Fix Gradle build for spotless formatting. 2022-01-23 22:25:12 +01:00
Mario Zechner
d7bb172c95 Fix fomatting script, apply formatting. 2022-01-20 19:49:10 +01:00
Mario Zechner
80c702d526 [runtimes] Exclude node_modules from spotless formatting 2021-10-13 23:58:05 +02:00
Mario Zechner
39df4c7cbb [ts] Formatter pass 2021-08-27 17:24:18 +02:00
Mario Zechner
a475b8a9c3 Hard-code our clang-format version. 2021-08-18 19:53:54 +02:00
Mario Zechner
1ec5c46361 Try specifying clang-format exe path to spotless 2021-08-18 19:46:31 +02:00
Mario Zechner
5b09b12564 Hard-code the clang-format version for spotless. 2021-08-18 19:40:54 +02:00
Mario Zechner
51e7a41651 Try using pre-installed clang-format. 2021-08-18 19:38:12 +02:00