6663 Commits

Author SHA1 Message Date
Harald Csaszar
dfa2513f3d [csharp][unity] Added spine-csharp .meta files to git. Required for UPM package. See #1676. 2021-09-06 17:39:58 +02:00
Nathan Sweet
ea6b595036 [libgdx] Updated JsonRollback for older Java compilers. 2021-09-02 00:00:34 -06:00
Harald Csaszar
fe26fee6e4 Merge branch '4.0' of https://github.com/EsotericSoftware/spine-runtimes into 4.0 2021-09-01 18:55:31 +02:00
Harald Csaszar
019f325c4d [unity] Increased officially compatible Unity version to 2021.1. 2021-09-01 18:54:30 +02:00
aismann
3560eb81a1
Fix 'Debug 64bit' build error on windows (VS2019) (#1946)
Error (active)	E0075	operand of '*' must be a pointer but has type "bool"
2021-09-01 14:21:41 +02:00
Harald Csaszar
6cd3e54b83 [unity] Fixed SkeletonGraphic with Multiple Canvas Renderers ignoring Mask when CustomMaterialOverride or blend modes are active. Closes #1948. 2021-08-31 17:52:20 +02:00
Harald Csaszar
d6df0725a2 [unity] Added null-check at AnimationReferenceAsset. 2021-08-31 17:03:20 +02:00
Nathan Sweet
d9b882eaef [libgdx] Added TrackEntry#isEmptyAnimation. 2021-08-30 11:36:26 -06:00
Mario Zechner
98ec2ab278 [cocos2dx] Fix Xcode project to be compatible with Xcode 12
Does not fix compilation errors in cocos2dx itself, which we can not fix on our end.
2021-08-24 16:01:34 +02:00
Harald Csaszar
f0559f35a4 [csharp] Added AnimationState event documentation lines linking to API reference page and spine-unity docs page. 2021-08-23 12:32:11 +02:00
Nathan Sweet
e0f5213b70 [libgdx] Improved AnimationState listener event documentation. 2021-08-22 00:03:24 -06:00
Nathan Sweet
db1cabfcee [libgdx] Fixed JsonRollback rgba2 -> twoColor. 2021-08-21 14:01:25 -06:00
Mario Zechner
0bf2fb6059 Revert "Formatting errors to test GH Action."
This reverts commit 1800b235458b331b87bed27ce5aee55575163fc7.
2021-08-18 21:21:09 +02:00
Mario Zechner
1800b23545 Formatting errors to test GH Action. 2021-08-18 21:15:37 +02:00
Mario Zechner
12fbdd6fc2 Remove superfluous run call. 2021-08-18 21:08:16 +02:00
Mario Zechner
111b15e645 Remove git config 2021-08-18 21:04:14 +02:00
Mario Zechner
11a801f855 When everything fails, use perl. 2021-08-18 21:02:32 +02:00
Mario Zechner
6d960d5125 Fix file extension to dos2unix. 2021-08-18 20:57:02 +02:00
Mario Zechner
4588d74428 Convert crlf to lf in *.cs files after formatting so git status doesn't report wrong changes. 2021-08-18 20:52:24 +02:00
Mario Zechner
6a93555805 Remove BOMs 2021-08-18 20:51:17 +02:00
Mario Zechner
26a9813ced Debug logs for workflow 2021-08-18 20:36:09 +02:00
Mario Zechner
b3ba3d3825 autocrlf == false 2021-08-18 20:28:52 +02:00
Mario Zechner
c89e01df18 Set autocrlf before checking out repo. 2021-08-18 20:22:17 +02:00
Mario Zechner
3395fac710 Try input autocrlf. 2021-08-18 20:17:42 +02:00
Mario Zechner
44be568028 Disable autocrlf before checking modified files. 2021-08-18 20:12:06 +02:00
Mario Zechner
a99ae8c162 Archive formatting changes 2021-08-18 20:03:27 +02:00
Mario Zechner
a475b8a9c3 Hard-code our clang-format version. 2021-08-18 19:53:54 +02:00
Mario Zechner
526d28c03b Checkout first, so we stay in the same working dir. 2021-08-18 19:50:51 +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
Mario Zechner
7bff55f740 Sudo rm/ln to replace pre-installed clang-format 2021-08-18 19:32:55 +02:00
Mario Zechner
5557df3d4e Fix clang format lookup for spotless
It checks for /usr/bin/clang-format before looking into the PATH...
2021-08-18 19:30:18 +02:00
Mario Zechner
5c06c2be2f Our Clang should come first in format check 2021-08-18 19:26:18 +02:00
Mario Zechner
63d7c3ccba Fix format check worklow
git status would show more files than we want to check.
2021-08-18 19:24:55 +02:00
Mario Zechner
f3fe1e3390 Use sudo in format checker workflow 2021-08-18 19:21:32 +02:00
Mario Zechner
d12b15ca8d [csharp] Format all source code using formatters/.editorconfig 2021-08-18 18:59:53 +02:00
Mario Zechner
2aced034d3 Merge branch 'formatting-gha' into 4.0 2021-08-18 18:55:57 +02:00
Mario Zechner
ce036f446c GitHub Action to check for formatting errors. 2021-08-18 18:55:33 +02:00
Harald Csaszar
34d5af502e [tools] Updated csharp .editorconfig formatter configuration to include a newline the the end of file. Removed commented out unused code. 2021-08-18 16:45:28 +02:00
Harald Csaszar
577f280258 [csharp] Minor cleanup: Removed empty file CustomSkin.cs, changed comments to not make formatter indent blocks in undesired way. 2021-08-18 16:42:51 +02:00
Mario Zechner
f13ad0d983 Exclude d.ts from tsfmt 2021-08-16 19:34:45 +02:00
Mario Zechner
61f63549d4 Apply tsfmt to TypeScript sources, formatting pass on .ts files. 2021-08-16 19:34:27 +02:00
Mario Zechner
287f6dfb24 Apply formatting to C# sources. 2021-08-16 19:06:08 +02:00
Harald Csaszar
f48e2ae2f8 [tools] Updated csharp formatter .editorconfig file (generated in VS 2019), no newline at catch and finally blocks. 2021-08-16 18:42:31 +02:00
Harald Csaszar
32449a3b4d [unity] SkeletonRootMotion component now offers a paramter to apply Rigidbody2D gravity. Defaults to false to keep existing behaviour. Closes #1941. 2021-08-16 18:17:19 +02:00
Harald Csaszar
b4286cd615 [tools] renamed formatter/editorconfig to .editorconfig to keep original name. 2021-08-16 16:58:32 +02:00
Harald Csaszar
20c406d153 [tools] Updated csharp formatter .editorconfig file (generated in VS 2019). 2021-08-16 16:53:41 +02:00
Mario Zechner
3f6bc07bad Move all formatter related files to formatters/ 2021-08-16 16:38:16 +02:00
Harald Csaszar
d316e30a5c [unity] Fixed missing Blend Modes example scene assets (SkeletonGraphic blend mode materials). 2021-08-13 17:53:19 +02:00