322 Commits

Author SHA1 Message Date
taigacon
9fedf6877a Fix a bug caused a crash on VS2013 or later when in Debug mode if there is any Unicode chars such as Chinese in Atlas file. (#788) 2016-12-02 15:06:50 +01:00
badlogic
873ed16a53 [c] Added callback recursion issue to test suite 2016-11-29 18:45:36 +01:00
badlogic
6fe1e8fa68 [c] Fixed rotation timeline handling in AnimationState. Fixed main.cpp missing a break 2016-11-29 13:27:15 +01:00
badlogic
0d444eb5de [c] Ported latest AnimationState changes 2016-11-28 16:44:16 +01:00
badlogic
4e0fdc022b [c] Another sigseg fix in AnimationState 2016-11-28 16:27:48 +01:00
badlogic
387b0afb80 [c] Added spine-c-tests (thanks @jpoag), fixed up CMake build 2016-11-28 16:00:46 +01:00
badlogic
f63e1625ab [c] Need to dispose mixingFrom explicitely in spAnimationState_disposeTracks, instead of disposeTrack. A mixingFrom entry may be smoked as part of disposing its parent before an event for the mixing from entry is processed in the event queue. 2016-11-28 15:08:17 +01:00
badlogic
900001098b [c] Fixed leak in AnimationState, wasn't disposing mixing from entries when entire state is disposed. Confirmed that disposing of mixing froms is done properly if anim state is allowed to update until the mixing from is done. 2016-11-25 16:02:49 +01:00
badlogic
98e49a7e11 [c] Fixed more leaks. 2016-11-24 16:48:32 +01:00
badlogic
f44cbaa044 [c] Added spAnimationState_disposeStatics to appease memory leak detectors. 2016-11-24 15:29:45 +01:00
badlogic
76137540ba [c] Another memcpy error 2016-11-24 15:08:53 +01:00
badlogic
7fc9d1a26a [c] fixed bug in spAnimationState_addPropertyID, didn't keep track of #properties. Closes #774 2016-11-24 15:01:23 +01:00
badlogic
a0f0e2ee1f [c] Fixed memory leak in spTrackEntry_dispose, closes #770 2016-11-24 13:41:25 +01:00
badlogic
a0484cc63d [c] Fixed memcpy bugs, closes #771 2016-11-24 13:36:50 +01:00
badlogic
a73c5084b5 [c] Ported AnimationState changes 2016-11-24 12:38:03 +01:00
badlogic
56c6780fa8 [c] Closes #768, fallthrough in event queue passed wrong event type 2016-11-23 11:31:03 +01:00
badlogic
04e4d1f40d [c] Fixed memory leak in AnimationState.c 2016-11-22 14:18:11 +01:00
badlogic
37b6fe3c11 [c] Fixed bug in AttachmentTimeline, wrong order of trinary operator expressions 2016-11-22 13:52:19 +01:00
NathanSweet
d52d2e72ee Updated READMEs, supported version is 3.5.xx. 2016-11-15 23:29:27 +01:00
NathanSweet
36000e3c55 Updated to v3.5 (merge dev branch).
# Conflicts:
#	spine-c/src/spine/AnimationState.c
2016-11-15 23:10:23 +01:00
Alireza Ashayer
87499ee545 Allocated more memory for events to prevent heap corruption when using events with large string data (#749) 2016-11-10 16:20:25 +01:00
badlogic
69889d8a07 [c] Fixes compilation in VS201x 2016-10-19 12:00:59 +02:00
NathanSweet
0df3eea08b Added some missing license header comments. 2016-10-16 00:19:26 +02:00
NathanSweet
c0fdc454a2 Fixed inconsistent newlines.
License header was followed by \n\n and files ended with \n. Changed to \r\n.
2016-10-15 23:45:16 +02:00
NathanSweet
7a18f0818c Every space in its place! (tm)
(whitespace clean up)
2016-10-15 23:15:41 +02:00
NathanSweet
f63561085a List explicit Spine editor version that is supported. 2016-10-13 22:55:04 +02:00
badlogic
ef50131431 [runtimes] Updated all LICENSE files and README.mds 2016-10-13 15:21:05 +02:00
badlogic
5aa27771c3 [runtimes] Updated ALL sources to use latest Spine Runtimes License v2.5. Manually checked all the things... 2016-10-13 15:12:05 +02:00
badlogic
1ecd627afa [runtimes] Closes #719, fixed sortPathConstraintAttachment 2016-10-13 12:03:23 +02:00
badlogic
721de143d2 [c] Closes #695, count parameter to indexOf when matching texture filters was off by one 2016-09-26 12:16:18 +02:00
badlogic
5d3d681d6f [c] Closes #698, closes #704. Don't set locale on Android, use _strdup instead of strdup on WIN32 2016-09-26 11:55:14 +02:00
Pavel Platto
90c2088497 [c] binary skeleton leaks (#701)
* [c] Fix internal linked meshes leakage.

* [c] Fix leak of attachmentName in spSkeletonBinary_readAttachment.

* [c] Fix the leak of animation names.
2016-09-23 12:55:56 +02:00
badlogic
3ada70e2aa Merge branch 'master' of https://github.com/esotericsoftware/spine-runtimes 2016-09-13 11:26:31 +02:00
badlogic
3456073765 [c] Closes #698, locale reset was still wrong. Thanks @FrankStain. 2016-09-13 11:26:24 +02:00
badlogic
e3cdea94a0 [c] Closes #696, leak in spine-c binary loader 2016-09-11 13:12:26 +02:00
badlogic
763cc18816 [c] Call configure attachment on mesh attachments in binary loader. Thanks @boruis 2016-09-05 15:17:45 +02:00
badlogic
684f6dcf3e [c] Closes #690, resetting old locale should work now 2016-09-05 14:49:10 +02:00
badlogic
65a6d37f5a [c] Closes #686, reading weighted path vertices set the wrong vertexCount on the path attachment 2016-09-05 14:43:17 +02:00
mogemimi
84ab430dee [c] Fix variable shadowing warning (#684) 2016-08-25 10:14:20 +02:00
badlogic
fe97a774ea [c] Updated README.md to reflect that we now support binary loading. Thanks @Hinidu 2016-08-24 10:43:21 +02:00
Pavel Platto
278dfba922 [c] Implement binary skeleton loader. (#680)
* [c] Implement binary skeleton loader.

* [sfml] Use skeleton binary loader in example.

* [c] Remove spAnimation_createWithTimelines.
2016-08-24 10:42:08 +02:00
NathanSweet
94dcbf4125 [c] Reverted vertexCount sanity. badlogic was right, it's more complex than it seems! See #669 2016-08-10 19:48:52 +02:00
NathanSweet
942cf272fa [c] Sanity for vertexCount. 2016-08-10 18:13:38 +02:00
badlogic
11941cfe0b [c] Proper fix for #666, VertexAttachment#verticesCount means #vertices for box and path attachment, but means something else for mesh attachments. 2016-08-10 11:15:48 +02:00
badlogic
5784a46512 [c] Vertex count is more complicated than thought, reverted last commit 2016-08-10 11:09:29 +02:00
badlogic
8fbe0ccd07 [c] Closes #666 (number of the beast), vertex count for non-weighted meshes was incorrect 2016-08-10 11:07:47 +02:00
mogemimi
281576a84b [spine-c] Prevent variable shadowing warnings 2016-08-01 01:30:27 +09:00
mogemimi
e76b7e4684 [spine-c] Fix redefinition of macro MIN and MAX 2016-07-29 07:05:14 +09:00
Borislav Stanimirov
a1c6e8f476 [spine-c] Fixed uninitialized value
* First space of path constraint spaces remained uninitialized
* This led to various visual bugs with path constraints
2016-07-19 19:56:16 +03:00
Borislav Stanimirov
0bb60cfb52 [spine-c] Fixed calculation of number of path constraint timelines.
* The json structure is that the path constraint timelines are added per path constraint
* Instead of the number of timelines what was calculated was the number of path constraints for which we have timelines
* If there were more timelines than path constraints, this led to memory corruption (writing past the buffer)
2016-07-19 12:49:16 +03:00