-
Notifications
You must be signed in to change notification settings - Fork 926
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
Release 0.20.0 Alpha 1 #913
Conversation
I've rebased #909 if we want to get that in as well. I assume we're fine with the Android and Emscripten backends not compiling for this release? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉 🎉 🎉
@aleksijuvani Thanks! We should get that PR in, too. I'm fine with Android not compiling, since waiting for it to get done without anyone on board that can actually do it is a recipe for waiting forever. As far as Emscripten goes... well, I'm not actually sure what we're going to end up doing with the Emscripten backend. We've got a couple people working on |
Right, I figured that was the case! Regarding Android, technically, I think anyone could do it, seeing as how the Android simulator is freely available for download. It's just that it's hard to justify putting in the effort for a platform that the person doing the work isn't personally invested in. |
And pretty relieving as well! Glad to see we finally reached this point. 🎉 |
From my POV, you can just merge this. It's not as if you were instantly making a release, but preparing for it. (IMO, immediately after a release, Cargo.toml version and CHANGELOG header should reflect an upcoming version instead of the last released one anyway.) (Edit: Yay, I can approve stuff! :) ) |
@felixrabe The CI is set up to automatically release when the version gets incremented on |
@Osspial The two issues you linked in the original post are now resolved though, are there other things you want to finish before releasing the alpha? |
@vberger Nope, stuff looks good! I'll pull together a post for this and release this/announce the marking push at some point later today. |
@zegentzy is Glutin ready for this release? |
It's short an iOS backend. Beyond that, I guess it's releaseable, although I didn't get in nearly the amount of things I wanted done, due to exams hoovering up my time. EDIT: I say go for it. I don't think anyone's planing on writing an iOS backend for glutin, so I don't think waiting around will earn us anything. |
First draft of release post, if anyone would like to feedback it. That combines the contributor marketing push with some new stuff detailing the major changes we've made and why. There are still placeholder links in there that I'd like to fix, but I'm holding off on doing those until I've made all the things to link to. |
This drafts looks pretty awesome ! 👍 I personally have no changes to suggest. |
Alright, stuff is pretty much ready! Took longer than I expected, but hell, what doesn't? I'll hold off on posting this until tomorrow morning so we can catch the reddit/hackernews visibility wave, but we should get the alpha onto crates.io sometime later tonight so we can be sure that everything is working as we'd like. WRT the issue list here: it's probably best to just tag those issues and link to our issue page, with the appropriate filters. That'll be more accurate than maintaining a separate list of issues we need help on. |
On it. |
I'm using GitHub's pinned issues feature to highlight important issues related to this release. If anyone thinks other issues are more important than what's been pinned, please raise your concerns here. |
And done! |
@zegentzy Thanks! One thing - why do we want a |
"This issue looks relatively still up to date to us, and should be ready-ish for solving." The name I'm sure it's quickly going to fall out of sync, but oh well. |
This might be a good time to run |
@zegentzy if that's the case, I think I'd rather just remove the tag. I'm not sure it conveys enough information to be useful, and it's unclear when to apply it - the meanings you've applied to it seem to be already covered by other tags. @aloucks That's a pretty good idea! I'll go ahead and pull that together. |
Nice! One thing -- you might consider re-formatting using rustfmt with only stable options. I accidentally ran |
If I remember correctly, I used to use rustfmt with |
@aloucks @aleksijuvani I'd be fine with switching to stable That being said, if we're sticking with stable with nightly: let event_loop = EventLoop::new();
let window = WindowBuilder::new().build(&event_loop).unwrap();
window.set_title("A fantastic window!");
let mut cursor_idx = 0;
event_loop.run(move |event, _, control_flow| {
match event {
Event::WindowEvent {
event:
WindowEvent::KeyboardInput {
input:
KeyboardInput {
state: ElementState::Pressed,
..
},
..
},
..
} => {
println!("Setting cursor to \"{:?}\"", CURSORS[cursor_idx]);
window.set_cursor_icon(CURSORS[cursor_idx]);
if cursor_idx < CURSORS.len() - 1 {
cursor_idx += 1;
} else {
cursor_idx = 0;
}
},
Event::WindowEvent {
event: WindowEvent::CloseRequested,
..
} => {
*control_flow = ControlFlow::Exit;
return;
},
_ => (),
}
}); with stable: let event_loop = EventLoop::new();
let window = WindowBuilder::new().build(&event_loop).unwrap();
window.set_title("A fantastic window!");
let mut cursor_idx = 0;
event_loop.run(move |event, _, control_flow| match event {
Event::WindowEvent {
event:
WindowEvent::KeyboardInput {
input:
KeyboardInput {
state: ElementState::Pressed,
..
},
..
},
..
} => {
println!("Setting cursor to \"{:?}\"", CURSORS[cursor_idx]);
window.set_cursor_icon(CURSORS[cursor_idx]);
if cursor_idx < CURSORS.len() - 1 {
cursor_idx += 1;
} else {
cursor_idx = 0;
}
}
Event::WindowEvent {
event: WindowEvent::CloseRequested,
..
} => {
*control_flow = ControlFlow::Exit;
return;
}
_ => (),
}); EDIT: aaaand, we can't ignore folders on stable. :| |
I had a hard time spotting the difference even when I put those two examples in side-by-side windows :) I personally don't think the stable option here is more difficult to read. I actually prefer the the slight vertical and horizontal compression. The increased indentation of the unstable option pushes things further and further rightward. I would leave rustfmt turned on for everything and use Another option that I'd recommend is to set |
I can't tell the difference between the two at a quick glance either. The stable option looks fine to me. As for the line width, I personally use |
Agreed |
The merge trouble for any whitespace-only change like this is easily contained:
|
Eh, I suppose that's just me being overly picky. I'd be fine with killing the non-stable options for now. I'd still like to enable |
As per #830 (comment). I want to get #911 merged and #891 resolved before this, but... yeah. We've still got a long way for Winit to go, but we've made it this far, and I can only see progress speeding up from here. I cannot express enough thanks to the people that have helped get it here, from those writing the code, to the people testing stuff out, the people contributing their thoughts in the issues, and everyone in-between.
It's kinda surreal to be able to do this.
🎉
Closes #825, closes #276, closes #794, closes #728, closes #413, closes #219, closes #459.