Skip to content

Add support for generating dummy DeviceIDs and WindowIDs - #738

Merged
Osspial merged 5 commits into
rust-windowing:masterfrom
Xaeroxe:dummy
Dec 21, 2018
Merged

Osspial merged 5 commits into
rust-windowing:masterfrom
Xaeroxe:dummy

Conversation

@Xaeroxe

@Xaeroxe Xaeroxe commented Dec 14, 2018 •

Copy link
Copy Markdown
Contributor

Fixes #330

  • Tested on all platforms changed
    • Windows
    • Android
    • Emscripten
    • iOS
    • Linux
    • OSX
  • Added an entry to CHANGELOG.md if knowledge of this change could be valuable to users
  • Updated documentation to reflect any user-facing changes, including notes of platform-specific behavior
  • Created an example program if it would help users understand this functionality

@Xaeroxe

Xaeroxe commented Dec 14, 2018

Copy link
Copy Markdown
Contributor Author

@Osspial Osspial left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR! I've brought up some issues, but besides those I'm down for merging this.

Comment thread src/lib.rs Resolved
Comment thread src/lib.rs Resolved
Comment thread src/lib.rs Resolved
@Xaeroxe

Xaeroxe commented Dec 15, 2018

Copy link
Copy Markdown
Contributor Author

@Osspial comments resolved, thank you!

@Xaeroxe

Xaeroxe commented Dec 15, 2018

Copy link
Copy Markdown
Contributor Author

Is it worth providing the guarantee that the return value of the dummy function will always at minimum be equal to future return values of the dummy function?

@Xaeroxe

Xaeroxe commented Dec 17, 2018

Copy link
Copy Markdown
Contributor Author

which is to say dummy() is deterministic, and the return value is always guaranteed to be equal to itself.

@Osspial

Osspial commented Dec 17, 2018

Copy link
Copy Markdown
Contributor

@Xaeroxe Yes, I think that makes sense.

@Xaeroxe

Xaeroxe commented Dec 18, 2018

Copy link
Copy Markdown
Contributor Author

@Osspial what are the next steps on getting this merged?

@francesca64 francesca64 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR! Looks good to me.

Comment thread CHANGELOG.md Resolved
@Osspial
Osspial merged commit 9ae75c0 into rust-windowing:master Dec 21, 2018
@Xaeroxe
Xaeroxe deleted the dummy branch December 21, 2018 16:54
@Xaeroxe

Xaeroxe commented Dec 21, 2018

Copy link
Copy Markdown
Contributor Author

Thank you for your reviews and for merging this!

I'm eager to get started writing some unit tests in Amethyst using this new functionality. When are we planning on releasing the next version of winit to crates.io?

@francesca64

Copy link
Copy Markdown
Member

That will optimistically happen before the end of the month.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants