Commit graph

664 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
67408311f4
Use actual floats for logical coordinates 2023-11-30 23:40:33 +01:00
Héctor Ramón Jiménez
9f29aec128
Move Event and Control types after multi_window::run 2023-11-30 00:01:32 +01:00
Héctor Ramón Jiménez
d34bc4e4a2
Refactor event loop <-> instance communication in multi_window 2023-11-29 23:55:17 +01:00
Héctor Ramón Jiménez
ac12d2d099
Remove unnecessary unsafe Send marker in iced_winit 2023-11-29 22:50:35 +01:00
Héctor Ramón Jiménez
6740c2c5d6
Fix broken intra-doc links 2023-11-29 22:46:47 +01:00
Héctor Ramón Jiménez
7def3ee38a
Fix clippy lints 2023-11-29 22:37:54 +01:00
Héctor Ramón Jiménez
9b34b2ac19
Run cargo fmt 2023-11-29 22:33:41 +01:00
Héctor Ramón Jiménez
6dca076c8b
Use workspace dependency for raw-window-handle 2023-11-29 22:32:41 +01:00
Héctor Ramón Jiménez
e09b4e24dd
Merge branch 'master' into feat/multi-window-support 2023-11-29 22:28:31 +01:00
Héctor Ramón Jiménez
3b7d479534
Implement Command::run for executing a Stream to completion 2023-11-29 00:12:48 +01:00
Héctor Ramón
751ea77c29
Merge pull request #2124 from iced-rs/disable-maximize-button
Disable maximize window button if `Settings::resizable` is `false`
2023-10-27 17:38:14 +02:00
Héctor Ramón Jiménez
c07315b84e
Disable maximize window button if Settings::resizable is false 2023-10-27 06:01:04 +02:00
Héctor Ramón Jiménez
6582387579
Merge branch 'master' into text-editor 2023-10-27 03:58:45 +02:00
Héctor Ramón Jiménez
f137d71e8f
Centralize clippy lints in .cargo/config.toml 2023-09-20 16:40:03 +02:00
Héctor Ramón Jiménez
b277625546
Revert "Chore: Apply clippy map transformations"
This reverts commit c997aad85d.
2023-09-20 16:26:43 +02:00
Héctor Ramón Jiménez
1e4bade53a
Fix clippy::redundant-closure-for-method-calls 2023-09-20 05:07:34 +02:00
Héctor Ramón Jiménez
42ed90bc6f
Fix clippy::default_trait_access 2023-09-20 04:51:08 +02:00
Héctor Ramón Jiménez
34f07b6027
Fix clippy::semicolon_if_nothing_returned 2023-09-20 04:11:52 +02:00
Héctor Ramón
582da10ae2
Merge pull request #2090 from nyurik/mapping
Chore: Apply clippy map transformations
2023-09-19 13:22:21 +02:00
Yuri Astrakhan
c997aad85d Chore: Apply clippy map transformations
Convert `.map().unwrap_or()` to `.map_or()` and similar transformations.
2023-09-19 01:46:46 -04:00
Yuri Astrakhan
3d6b9637c3 Chore: Inline format args for ease of reading
A minor cleanup to inline all simple cases of format arguments. Makes the format strings just a bit easier to read.
2023-09-19 01:32:56 -04:00
Héctor Ramón Jiménez
e7326f0af6
Flesh out the editor example a bit more 2023-09-18 19:07:41 +02:00
Héctor Ramón Jiménez
f60884f6f8
Deny broken_intradoc_links and verify documentation in CI 2023-09-09 20:58:45 +02:00
Matthias Vogelgesang
89d9f1d7d2 Fix majority of unresolved documentation links 2023-09-09 18:59:17 +02:00
Héctor Ramón Jiménez
f468e25d0c
Use workspace dependencies and package inheritance
We are also taking this as a chance to synchronize
the versions of all the crates! Because of this, we
will skip the `0.11` version.
2023-09-04 13:08:17 +02:00
Héctor Ramón Jiménez
126aef88e7
Bump versions 🎉 2023-07-28 19:48:39 +02:00
Cory Forsstrom
94e991a785
Add app id setting for linux 2023-07-26 20:14:52 +02:00
Bingus
83c7870c56
Moved exit_on_close_request to window settings. This now controls whether each INDIVIDUAL window should close on CloseRequested events. 2023-07-24 14:32:59 -07:00
Bingus
d53ccc857d
refactored window storage;
new helper window events (Destroyed, Created);
clippy + fmt;
2023-07-21 13:53:38 -07:00
Bingus
633f405f3f
Merge remote-tracking branch 'origin/master' into feat/multi-window-support
# Conflicts:
#	Cargo.toml
#	core/src/window/icon.rs
#	core/src/window/id.rs
#	core/src/window/position.rs
#	core/src/window/settings.rs
#	examples/integration/src/main.rs
#	examples/integration_opengl/src/main.rs
#	glutin/src/application.rs
#	native/src/subscription.rs
#	native/src/window.rs
#	runtime/src/window/action.rs
#	src/lib.rs
#	src/window.rs
#	winit/Cargo.toml
#	winit/src/application.rs
#	winit/src/icon.rs
#	winit/src/settings.rs
#	winit/src/window.rs
2023-07-12 12:23:18 -07:00
Héctor Ramón
7f805bc5dd
Merge pull request #1927 from thunderstorm010/master
Add command to retrieve window size
2023-07-06 07:00:15 +02:00
Héctor Ramón Jiménez
cc32bd4de0
Use Size in both Resize and FetchSize window actions 2023-07-06 06:41:28 +02:00
Héctor Ramón
f6966268bb
Merge pull request #1845 from bungoboingo/feat/offscreen-rendering
Feat: Offscreen Rendering & Screenshots
2023-06-27 20:37:19 +02:00
Héctor Ramón Jiménez
5ae726e02c
Move Screenshot inside window module 2023-06-27 19:41:03 +02:00
Cory Forsstrom
a047588ae8
Update winit 2023-06-23 08:21:30 -07:00
Yiğit Özdemir
b394c84b37
Add FetchSize command - apply the changes discussed at #water-cooler 2023-06-22 18:28:32 +03:00
Yiğit Özdemir
21a71b753d
Add command to retrieve window size 2023-06-21 19:43:20 +03:00
Héctor Ramón Jiménez
aba98e4965
Extend cursor availability to the shell level 2023-06-08 20:35:40 +02:00
Bingus
233196eb14
Added offscreen rendering support for wgpu & tiny-skia exposed with the window::screenshot command. 2023-06-06 15:37:30 +02:00
Héctor Ramón
c61a4cc21c
Merge pull request #1738 from nicoburns/update-winit-0.28
Update to winit 0.28
2023-05-25 23:37:14 +02:00
Héctor Ramón Jiménez
70fd296ccc
Remove unnecessary newline 2023-05-25 23:20:26 +02:00
Héctor Ramón Jiménez
f0788b9f37
Replace change_always_on_top action with change_level 2023-05-25 23:18:50 +02:00
Héctor Ramón Jiménez
a7fa7e4005
Introduce window::Level enum
... and add `level` field to `window::Settings`
2023-05-25 23:14:07 +02:00
Héctor Ramón Jiménez
b924e86630
Update window_clipboard dependency 2023-05-25 23:05:24 +02:00
Héctor Ramón Jiménez
60d17d68d6
Update winit dependency 2023-05-25 23:04:29 +02:00
Héctor Ramón
e31582e59e
Merge pull request #1797 from bbb651/master
Make mouse::Button::Other take u16 instead of u8
2023-05-23 02:52:14 +02:00
bbb651
5802c95797
Make mouse::Button::Other take u16 instead of u8
On wayland keys correspond to <input-event-codes.h>,
and they are past the limit of u8, causing the
back and forward buttons to be 20 and 19 which definitely isn't right
(they should all be around 0x110..=0x117).
2023-05-23 02:35:38 +02:00
Nico Burns
ece04c1a8d Bump winit rev 2023-05-11 21:41:18 +01:00
Nico Burns
096bcd8988 Allow unsafe code 2023-05-11 19:41:55 +01:00
Nico Burns
e82ce8d93c Add unsafe block 2023-05-11 19:27:27 +01:00