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

winit 1.13.1 upgrade #698

Merged
merged 3 commits into from May 8, 2018

Conversation

Projects
None yet
6 participants
@illis
Contributor

illis commented May 8, 2018

Fixes #655 (have tested on my Arch Linux machine).

According to the winit changelog ios needs to be handled slightly differently (I haven't tested this).

Note from Xaeroxe:
Fixes #515


This change is Reviewable

@jojolepro

Thanks!

@Rhuagh

Rhuagh approved these changes May 8, 2018

@Xaeroxe

Xaeroxe approved these changes May 8, 2018

Thanks!

bors r+

bors bot added a commit that referenced this pull request May 8, 2018

Merge #698
698: winit 1.13.1 upgrade r=Xaeroxe a=illis

Fixes #655 (have tested on my Arch Linux machine). 

According to the [winit changelog](https://github.com/tomaka/winit/blob/master/CHANGELOG.md) ios needs to be handled slightly differently (I haven't tested this).

Note from Xaeroxe:
Fixes #515

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/amethyst/amethyst/698)
<!-- Reviewable:end -->


Co-authored-by: p <parimal@beyond8labs.com>
@bors

This comment has been minimized.

Show comment
Hide comment

@bors bors bot merged commit 1739042 into amethyst:develop May 8, 2018

3 checks passed

bors Build succeeded
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@francesca64

This comment has been minimized.

Show comment
Hide comment
@francesca64

francesca64 May 8, 2018

According to the winit changelog ios needs to be handled slightly differently

On Windows, macOS, X11, and Wayland, you get sent CloseRequested and can choose how to deal with it, and then you get Destroyed when you either A) drop the window, or B) the OS/WM destroys your window unexpectedly (...and we're not yet aware of any non-contrived cases where that would happen). On iOS, CloseRequested is never emitted, and your window may be Destroyed by the OS to free up memory when in the background. The important part of the semantics of the Destroyed event is that it's no longer safe to render to that window, and that's universal across platforms (except for on Android and Emscripten, since those backends didn't implement Closed to begin with, so they weren't touched by the API change).

...these are all things that I should really document.

Also, just a disclaimer: the iOS, Android, and Emscripten backends are basically dead. They're so dead that nobody even reports bugs for them.

According to the winit changelog ios needs to be handled slightly differently

On Windows, macOS, X11, and Wayland, you get sent CloseRequested and can choose how to deal with it, and then you get Destroyed when you either A) drop the window, or B) the OS/WM destroys your window unexpectedly (...and we're not yet aware of any non-contrived cases where that would happen). On iOS, CloseRequested is never emitted, and your window may be Destroyed by the OS to free up memory when in the background. The important part of the semantics of the Destroyed event is that it's no longer safe to render to that window, and that's universal across platforms (except for on Android and Emscripten, since those backends didn't implement Closed to begin with, so they weren't touched by the API change).

...these are all things that I should really document.

Also, just a disclaimer: the iOS, Android, and Emscripten backends are basically dead. They're so dead that nobody even reports bugs for them.

@torkleyy

This comment has been minimized.

Show comment
Hide comment
@torkleyy

torkleyy May 9, 2018

Member

Also, just a disclaimer: the iOS, Android, and Emscripten backends are basically dead. They're so dead that nobody even reports bugs for them.

:( That sounds bad.

Member

torkleyy commented May 9, 2018

Also, just a disclaimer: the iOS, Android, and Emscripten backends are basically dead. They're so dead that nobody even reports bugs for them.

:( That sounds bad.

@Xaeroxe

This comment has been minimized.

Show comment
Hide comment
@Xaeroxe

Xaeroxe May 9, 2018

Member

@francesca64 well you might be getting bug reports for them soon, and likely PRs to fix them too. Some Amethyst contributors are steering directly into that territory.

Member

Xaeroxe commented May 9, 2018

@francesca64 well you might be getting bug reports for them soon, and likely PRs to fix them too. Some Amethyst contributors are steering directly into that territory.

@francesca64

This comment has been minimized.

Show comment
Hide comment
@francesca64

francesca64 May 9, 2018

@Xaeroxe awesome! I'll do my best to review anything that comes my way.

@Xaeroxe awesome! I'll do my best to review anything that comes my way.

mnivoliez pushed a commit to mnivoliez/amethyst that referenced this pull request May 12, 2018

mnivoliez
Squashed commit of the following:
commit 008fa48
Author: mnivoliez <mathieu.nivoliez@laposte.net>
Date:   Sat May 12 17:20:24 2018 +0200

    Fix typo

commit 6cd96b7
Author: mnivoliez <mathieu.nivoliez@laposte.net>
Date:   Sat May 12 15:15:31 2018 +0200

    Better documentation and correct some errors in documentation

commit a597dea
Author: mnivoliez <mathieu.nivoliez@laposte.net>
Date:   Sat May 12 15:02:28 2018 +0200

    forgot to change component name everywhere.... (name is more consistent now)

commit e6a68ff
Merge: 476190d 108486f
Author: mnivoliez <mathieu.nivoliez@laposte.net>
Date:   Sat May 12 14:54:46 2018 +0200

    Merge branch 'develop' into feature/#593-add-arc-ball-camera

commit 476190d
Author: mnivoliez <mathieu.nivoliez@laposte.net>
Date:   Sat May 12 14:43:35 2018 +0200

    Add better documentation.

commit 108486f
Merge: 1d0dea9 7d8ad99
Author: bors[bot] <bors[bot]@users.noreply.github.com>
Date:   Thu May 10 20:23:38 2018 +0000

    Merge #702

    702: Use derivative default better r=Rhuagh,torkleyy a=Xaeroxe

    The redundancy of these bounds in the docs was bothering me.

    <!-- Reviewable:start -->
    ---
    This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/amethyst/amethyst/702)
    <!-- Reviewable:end -->

    Co-authored-by: Jacob Kiesel <kieseljake@gmail.com>

commit 1d0dea9
Merge: ca2edbe e3239a0
Author: bors[bot] <bors[bot]@users.noreply.github.com>
Date:   Thu May 10 19:42:29 2018 +0000

    Merge #701

    701: fix: Update shrev and affected dependencies after rewrite r=torkleyy,Xaeroxe,jojolepro a=Rhuagh

    <!-- Reviewable:start -->
    This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/amethyst/amethyst/701)
    <!-- Reviewable:end -->

    Co-authored-by: Simon Rönnberg <seamonr@gmail.com>

commit d58bc59
Merge: 4b73414 ca2edbe
Author: mnivoliez <mathieu.nivoliez@laposte.net>
Date:   Thu May 10 12:47:16 2018 +0200

    Merge branch 'develop' into feature/#593-add-arc-ball-camera

commit 4b73414
Author: mnivoliez <mathieu.nivoliez@laposte.net>
Date:   Thu May 10 12:39:35 2018 +0200

    The example now works fine.

commit e3239a0
Author: Simon Rönnberg <seamonr@gmail.com>
Date:   Wed May 9 14:24:04 2018 +0200

    feat: Reexport shrev from the core crate

commit 0d4ed1a
Author: Simon Rönnberg <seamonr@gmail.com>
Date:   Mon May 7 22:24:41 2018 +0200

    fix: Update shrev and affected dependencies after rewrite

commit 302be0a
Merge: ad6c587 c9fcb1f
Author: mnivoliez <mathieu.nivoliez@laposte.net>
Date:   Thu May 10 12:00:32 2018 +0200

    Merge branch 'feature/#593-add-arc-ball-camera' of github.com:mnivoliez/amethyst into feature/#593-add-arc-ball-camera

commit 7d8ad99
Author: Jacob Kiesel <kieseljake@gmail.com>
Date:   Wed May 9 16:56:15 2018 -0600

    Use derivative default better

commit ad6c587
Author: mnivoliez <mathieu.nivoliez@laposte.net>
Date:   Thu May 10 00:27:43 2018 +0200

    Get the switch back. Tomorrow I shall look into the quaternion and
    determination of new position based on it.

commit c9fcb1f
Author: mnivoliez <mathieu.nivoliez@laposte.net>
Date:   Thu May 10 00:27:43 2018 +0200

    Add stuff.

commit f962b13
Author: mnivoliez <mathieu.nivoliez@laposte.net>
Date:   Wed May 9 23:56:55 2018 +0200

    Add missing systems, still no result, the scene stay still, or at least
    seems to.

commit f7f3438
Author: mnivoliez <mathieu.nivoliez@laposte.net>
Date:   Wed May 9 23:36:41 2018 +0200

    Add the example but I may not fully understand how the systems works
    since it seem not to move.

commit ca2edbe
Merge: 2f16546 a1bfe6d
Author: bors[bot] <bors[bot]@users.noreply.github.com>
Date:   Wed May 9 15:43:52 2018 +0000

    Merge #699

    699: Add raw mouse events and format r=Xaeroxe a=Xaeroxe

    Note to reviewers: The only part with any meaningful changes is the amethyst_input files.  Everything else is formatting.

    <!-- Reviewable:start -->
    This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/amethyst/amethyst/699)
    <!-- Reviewable:end -->

    Co-authored-by: Jacob Kiesel <kieseljake@gmail.com>

commit 2add465
Merge: 04699e9 e03052c
Author: mnivoliez <mathieu.nivoliez@laposte.net>
Date:   Wed May 9 00:34:55 2018 +0200

    Merge branch 'feature/#593-add-arc-ball-camera' of github.com:mnivoliez/amethyst into feature/#593-add-arc-ball-camera

commit 04699e9
Author: mnivoliez <mathieu.nivoliez@laposte.net>
Date:   Wed May 9 00:23:43 2018 +0200

    Change the system to just correct distance between cam and target. The
    free rotation will take care of the rest. Thanks to @jojolepro for the
    heads up.

commit e03052c
Author: mnivoliez <mathieu.nivoliez@laposte.net>
Date:   Wed May 9 00:23:43 2018 +0200

    Change the system to just correct distance between cam and target. The
    free rotation will take care of the rest. Thanks to @jojolepro for the
    heads up.

commit a1bfe6d
Author: Jacob Kiesel <kieseljake@gmail.com>
Date:   Tue May 8 13:42:02 2018 -0600

    Improve wording on docs

commit b3ff7f7
Merge: d76fd92 542e9ec
Author: mnivoliez <mathieu.nivoliez@laposte.net>
Date:   Tue May 8 21:18:19 2018 +0200

    Merge branch 'feature/#593-add-arc-ball-camera' of github.com:mnivoliez/amethyst into feature/#593-add-arc-ball-camera

commit d76fd92
Author: mnivoliez <mathieu.nivoliez@laposte.net>
Date:   Tue May 8 21:07:59 2018 +0200

    Issue #593

    As a arc ball mecanism was wanted, a component indicated the target and
    a system making the calculus for it was needed.

    Tose two elements are now reality but need testing. One way to do so is
    to provide a solid exemple of the mecanism. Also, maybe some tests could
    be implemented.

commit 542e9ec
Author: mnivoliez <mathieu.nivoliez@laposte.net>
Date:   Tue May 8 21:07:59 2018 +0200

    Issue #593

    As a arc ball mecanism was wanted, a component indicated the target and
    a system making the calculus for it was needed.

    Tose two elements are now reality but need testing. One way to do so is
    to provide a solid exemple of the mecanism. Also, maybe some tests could
    be implemented.

commit 30a8915
Author: Jacob Kiesel <kieseljake@gmail.com>
Date:   Tue May 8 09:41:19 2018 -0600

    Add raw mouse events and format

commit 2f16546
Merge: cec1f82 1739042
Author: bors[bot] <bors[bot]@users.noreply.github.com>
Date:   Tue May 8 14:46:25 2018 +0000

    Merge #698

    698: winit 1.13.1 upgrade r=Xaeroxe a=illis

    Fixes #655 (have tested on my Arch Linux machine).

    According to the [winit changelog](https://github.com/tomaka/winit/blob/master/CHANGELOG.md) ios needs to be handled slightly differently (I haven't tested this).

    Note from Xaeroxe:
    Fixes amethyst#515

    <!-- Reviewable:start -->
    ---
    This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/amethyst/amethyst/698)
    <!-- Reviewable:end -->

    Co-authored-by: p <parimal@beyond8labs.com>

commit cec1f82
Merge: 9eefa6e d5b6fd8
Author: bors[bot] <bors[bot]@users.noreply.github.com>
Date:   Tue May 8 14:04:04 2018 +0000

    Merge #697

    697: Re-use vec allocation for event compression r=Rhuagh a=Xaeroxe

    If event compression was causing any noticeable  performance impact it'll be gone after merging this PR.

    <!-- Reviewable:start -->
    ---
    This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/amethyst/amethyst/697)
    <!-- Reviewable:end -->

    Co-authored-by: Jacob Kiesel <kieseljake@gmail.com>

commit 1739042
Author: p <parimal@beyond8labs.com>
Date:   Tue May 8 23:29:59 2018 +1200

    Update examples to use CloseRequested instead of Closed

commit 7768c83
Author: p <parimal@beyond8labs.com>
Date:   Tue May 8 20:06:13 2018 +1200

    Handle ios WindowEvent::Destroyed

commit 2ff58bf
Author: p <parimal@beyond8labs.com>
Date:   Tue May 8 14:16:11 2018 +1200

    Upgrade winit to v1.13.1 and glutin to v0.15

commit d5b6fd8
Author: Jacob Kiesel <kieseljake@gmail.com>
Date:   Mon May 7 10:40:07 2018 -0600

    Provide initial capacity for event vec

commit 29359dd
Author: Jacob Kiesel <kieseljake@gmail.com>
Date:   Mon May 7 09:05:57 2018 -0600

    Re-use vec allocation for event compression
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment