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

Update winit dependency to 0.29 #10702

Merged
merged 66 commits into from
Dec 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
aaa3368
update winit, fail compilation :+1:
Vrixyz Jun 1, 2023
a93bf05
compiling ; but using physical key rather than virtual key
Vrixyz Jun 3, 2023
54483f9
added logical key from winit ; removed ScanCode ; removed copy from I…
Vrixyz Jun 4, 2023
ae25abc
Merge branch 'main' into update-winit
Vrixyz Jun 9, 2023
ce707df
add a temporary comment to know the tested commit from winit main
Vrixyz Jun 9, 2023
dff33c3
add nativekeycode ; fex fixes
Vrixyz Jun 9, 2023
4dcd03f
local clippy CI fixes
Vrixyz Jun 9, 2023
f60d6d5
use SmolStr rather than String ; cleanup comments
Vrixyz Jun 9, 2023
3472d29
trying to fix linux compile blindly
Vrixyz Jun 9, 2023
70dd9dd
add a dependency to CI examples
Vrixyz Jun 9, 2023
e650442
remove link to winit KeyCode
Vrixyz Jun 9, 2023
f5b01e3
KeyCode doc format
Vrixyz Jun 9, 2023
fbbd20f
replace instant for web-time (wip)
Vrixyz Jun 12, 2023
4b00316
fix transiant dependency to instant through fastrand
Vrixyz Jun 13, 2023
928a3a3
remove instant where applicable ; still present in dependencies throu…
Vrixyz Jun 13, 2023
ef3ffcb
Merge branch 'main' of github.com:Vrixyz/bevy into update-winit
Vrixyz Jun 14, 2023
2a0e5a6
Merge branch 'main' of github.com:bevyengine/bevy into update-winit
Vrixyz Jun 16, 2023
45ece61
fix compilation ; keycode name + winit new mouse buttons
Vrixyz Jun 16, 2023
ed5d07c
Merge branch 'main' of github.com:bevyengine/bevy into update-winit
Vrixyz Jun 22, 2023
301a80d
Merge remote-tracking branch 'upstream/main' into update-winit
Vrixyz Jun 27, 2023
c16c1c5
Merge branch 'main' of github.com:bevyengine/bevy into update-winit
Vrixyz Jul 20, 2023
995fce1
added winit commit sha tested
Vrixyz Jul 20, 2023
a4d5bd3
fix winit api
Vrixyz Jul 20, 2023
b156a24
Merge branch 'main' into update-winit
Vrixyz Aug 24, 2023
4f08176
fix conflict I didn't see
Vrixyz Aug 24, 2023
e35ce43
Merge branch 'main' into update-winit
Vrixyz Aug 31, 2023
e3aa65c
more correct run_ondemand winit api use
Vrixyz Aug 31, 2023
62a672e
fix resolution / window physical size
Vrixyz Aug 31, 2023
3fee55b
removed run_return from winit settings
Vrixyz Sep 1, 2023
8f57dd5
added boring comments to keyboard keys
Vrixyz Sep 1, 2023
db3cdd3
Merge branch 'main' into update-winit
Vrixyz Sep 8, 2023
329202a
Merge branch 'main' into update-winit
Vrixyz Sep 22, 2023
0375231
fix warnings
Vrixyz Sep 27, 2023
5a6f509
compiling with winit 0.29 ; crash on pause
Vrixyz Oct 22, 2023
0594c28
Merge branch 'main' of github.com:bevyengine/bevy into update-winit
Vrixyz Oct 22, 2023
9c44f83
fix namedKey to their types
Vrixyz Oct 24, 2023
9b0ea09
Merge branch 'main' of github.com:bevyengine/bevy into update-winit
Vrixyz Oct 24, 2023
9d038e7
fix docs
Vrixyz Oct 25, 2023
a68a824
Merge branch 'main' into update-winit
Vrixyz Oct 28, 2023
dac9182
Merge branch 'main' of github.com:bevyengine/bevy into update-winit
Vrixyz Oct 28, 2023
0aa4856
Merge branch 'main' into update-winit
Vrixyz Nov 8, 2023
bebfde0
update accesskit to newly released crate version
Vrixyz Nov 8, 2023
66541a0
fix process event api usage
Vrixyz Nov 8, 2023
c5de847
feedbacks from @devil-ira
Vrixyz Nov 8, 2023
1318e23
Merge branch 'main' into update-winit
Vrixyz Nov 22, 2023
9c7a452
reduced PR scope: removed winit's Key and its impacts
Vrixyz Nov 22, 2023
f38f395
Removed clone constraint to Input
Vrixyz Nov 22, 2023
fbfbc6f
add licence for keyboard and cursor
Vrixyz Nov 22, 2023
a379fd1
fix warnings + examples
Vrixyz Nov 22, 2023
acfcc22
use recommended api for ReceivedCharacter
Vrixyz Nov 23, 2023
34597b5
cleanup some unneeded modifications
Vrixyz Nov 23, 2023
8bc2115
nicopap feedbacks
Vrixyz Nov 23, 2023
6a6c4f1
more expect + better wording
Vrixyz Nov 23, 2023
6c53874
comment on rwh_05 feature.
Vrixyz Nov 23, 2023
a62ac02
fix wrong key for enter
Vrixyz Nov 23, 2023
0703e1d
better doc comment for KeyCode (taken from winit)
Vrixyz Nov 24, 2023
95dcb01
fix docs for instant
Vrixyz Nov 24, 2023
4710796
Merge branch 'main' into update-winit_no_logical_key
Vrixyz Nov 26, 2023
049de75
Merge branch 'main' into update-winit_no_logical_key
Vrixyz Dec 5, 2023
285903e
fix wasm crash on wasm example
Vrixyz Dec 8, 2023
2c318f1
Merge branch 'main' into update-winit_no_logical_key
Vrixyz Dec 8, 2023
4e3dc81
fix conflict
Vrixyz Dec 8, 2023
f2a470c
Merge branch 'main' into update-winit_no_logical_key
Vrixyz Dec 14, 2023
00bd493
update accesskit_winit version and use raw-window-handle 0.5
Vrixyz Dec 15, 2023
e46aaaa
Merge branch 'main' into update-winit_no_logical_key
Vrixyz Dec 20, 2023
a0ee418
fix android build
Vrixyz Dec 20, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions crates/bevy_app/src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ impl App {
///
/// # `run()` might not return
///
/// Calls to [`App::run()`] might never return.
/// Calls to [`App::run()`] will never return on iOS and Web.
///
/// In simple and *headless* applications, one can expect that execution will
/// proceed, normally, after calling [`run()`](App::run()) but this is not the case for
Expand All @@ -289,10 +289,7 @@ impl App {
/// window is closed and that event loop terminates – behavior of processes that
/// do not is often platform dependent or undocumented.
///
/// By default, *Bevy* uses the `winit` crate for window creation. See
/// [`WinitSettings::return_from_run`](https://docs.rs/bevy/latest/bevy/winit/struct.WinitSettings.html#structfield.return_from_run)
/// for further discussion of this topic and for a mechanism to require that [`App::run()`]
/// *does* return – albeit one that carries its own caveats and disclaimers.
/// By default, *Bevy* uses the `winit` crate for window creation.
///
/// # Panics
///
Expand Down
4 changes: 2 additions & 2 deletions crates/bevy_asset/src/io/android.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ impl AssetReader for AndroidAssetReader {
let mut opened_asset = asset_manager
.open(&CString::new(path.to_str().unwrap()).unwrap())
.ok_or(AssetReaderError::NotFound(path.to_path_buf()))?;
let bytes = opened_asset.get_buffer()?;
let bytes = opened_asset.buffer()?;
let reader: Box<Reader> = Box::new(VecReader::new(bytes.to_vec()));
Ok(reader)
})
Expand All @@ -48,7 +48,7 @@ impl AssetReader for AndroidAssetReader {
let mut opened_asset = asset_manager
.open(&CString::new(meta_path.to_str().unwrap()).unwrap())
.ok_or(AssetReaderError::NotFound(meta_path))?;
let bytes = opened_asset.get_buffer()?;
let bytes = opened_asset.buffer()?;
let reader: Box<Reader> = Box::new(VecReader::new(bytes.to_vec()));
Ok(reader)
})
Expand Down
Loading
Loading