Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TimelineItem::cancel() and composable Timelines #20

Merged
merged 27 commits into from Dec 2, 2014
Merged

Conversation

sansumbrella
Copy link
Owner

Streamlines cancellation of TimelineItems.
MotionGroups are a facade around a Timeline, so you can simply compose Timelines.
Keep in mind that Timelines and unique_ptrs are move-only objects.

@sansumbrella
Copy link
Owner Author

Need to update projects on Windows and confirm they still build and run before merging.

@sansumbrella
Copy link
Owner Author

Closes #19
Closes #18

Getting modified after freed crashes in samples (and probably the
benchmarks test).
Will need to try to trigger those in the main group of samples.
@sansumbrella
Copy link
Owner Author

VS is revealing some issues with the unified cancel scheme (samples sometimes crash with modification after free; might be the new cancel, hopefully isn't the timeline::finish_fn). Will try to test for them and see if they occur at all on Clang.

Fixes crash on Windows.
Previously, Output's destruction wouldn't fully disconnect Motion.

Really, this should have crashed on the Mac, too. So thanks VS for
highlighting the bug.
@sansumbrella
Copy link
Owner Author

Fixed cancel issue in 835d8d5

Exposes the consistent cancellation scheme.
sansumbrella added a commit that referenced this pull request Dec 2, 2014
TimelineItem::cancel() and composable Timelines
@sansumbrella sansumbrella merged commit 5cf6ee0 into master Dec 2, 2014
@sansumbrella sansumbrella deleted the unified_cancel branch December 2, 2014 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant