Commit graph

99 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
4e7cbbf98a
Move Maybe* traits back to iced_futures 2024-06-14 01:57:49 +02:00
Héctor Ramón Jiménez
b328da2c71
Fix Send requirements for Wasm targets 2024-06-14 01:52:30 +02:00
Héctor Ramón Jiménez
a25b1af456
Replace Command with a new Task API with chain support 2024-06-14 01:47:39 +02:00
Héctor Ramón Jiménez
e400f972c1
Introduce window::Id to Event subscriptions
And remove `window::Id` from `Event` altogether.
2024-06-10 22:03:46 +02:00
Shan
647761ad56
Added scale_factor to Screenshot data for use when cropping to widget bounds 2024-05-24 19:46:18 -07:00
Héctor Ramón Jiménez
718fe5b7de
Pass WindowHandle by value to window::run_with_handle 2024-05-08 23:14:37 +02:00
Héctor Ramón Jiménez
f5bc336d69
Fix clippy lint in runtime:🪟:screenshot 2024-05-01 01:09:31 +02:00
Thomas Sieverding
7c084d9695
Utilize bytes::Bytes iced_runtime:🪟:Screenshot 2024-05-01 00:28:55 +02:00
Héctor Ramón Jiménez
4cd45643d7
Introduce opaque widget helper 2024-04-25 06:05:37 +02:00
Héctor Ramón Jiménez
5cd98f069d
Use built-in [lints] table in Cargo.toml 2024-04-07 12:42:12 +02:00
Héctor Ramón Jiménez
5137d655e6
Allow custom renderers in Program and Application 2024-03-22 07:09:51 +01:00
Héctor Ramón Jiménez
1f13a91361
Make iced_tiny_skia optional with a tiny-skia feature 2024-03-22 05:27:31 +01:00
Héctor Ramón Jiménez
28a27f08ed
Remove sandbox by making application more generic 🎉 2024-03-16 19:14:13 +01:00
Héctor Ramón Jiménez
d6454b5d0c
Rename fetch_location to fetch_position 2024-02-22 09:19:51 +01:00
Night_Hunter
59885e9a36
Add fetch_location command to window module 2024-02-22 09:16:05 +01:00
Héctor Ramón Jiménez
be2cad176f
Fix URL of graph image in iced_runtime docs 2024-02-15 03:33:43 +01:00
Héctor Ramón Jiménez
e9862f8913
Point doc links to 0.12 branch 2024-02-15 03:22:53 +01:00
Héctor Ramón Jiménez
f1c5186e79
Rename show_window_menu to show_system_menu 2024-02-13 04:52:13 +01:00
Ian Douglas Scott
f93a6d740a
Add show_window_menu action
Winit currently supports this only on Windows and Wayland.

This requests that a context menu is shown at the cursor position,
like the menu normally triggered by right clicking the title bar. This
is important for implementing client side decorations with Iced widgets.
2024-02-13 04:45:07 +01:00
Héctor Ramón Jiménez
508b3fe1f1
Introduce Kind in core::clipboard 2024-02-13 03:15:21 +01:00
Mattias Eriksson
4155edab8d
Add support for primary clipboard 2024-02-13 03:14:30 +01:00
Héctor Ramón Jiménez
2a544dca2f
Fix documentation of Action::RunWithHandle 2024-02-07 09:49:19 +01:00
Héctor Ramón Jiménez
f18a81451f
Rename fetch_native_handle to run_with_handle in window 2024-02-07 09:47:15 +01:00
dtzxporter
7105992228
Re-implement against latest iced master. Rename FetchNativeHandle. 2024-02-07 09:35:13 +01:00
Héctor Ramón Jiménez
ece50a1a95
Organize imports in runtime::command::action 2024-02-03 15:12:07 +01:00
Héctor Ramón Jiménez
2656906903
Rename PlateformSpecific variant in Action to Custom 2024-02-03 15:10:45 +01:00
ShootingStarDragons
6e97595d95
feat: somewhere to place extra actions by platform
I have view iced-sckt forked iced, and add the extra actions. and there
do are some extra actions, like set margin for layer-shell, set lock for
ext-session-shell. I think add an any will be of help maybe
2024-02-03 14:54:59 +01:00
brianch
701bf22af6
The memory information is returned in bytes and not kb.
Fix the documentation of the Information struct, and the example
system_information that uses it.

Co-authored-by: =?UTF-8?q?Ahmet=20Kaan=20G=C3=9CM=C3=9C=C5=9E?= <96421894+Tahinli@users.noreply.github.com>
2024-02-02 16:02:17 +01:00
Héctor Ramón Jiménez
738aa47547
Remove position from overlay::Element 2024-02-01 01:08:21 +01:00
Héctor Ramón Jiménez
7a50e9e8fb
Convert Renderer::Theme to generic Widget type 2024-01-21 17:56:01 +01:00
Calastrophe
2aa2b1712d Implemented fetch_maximized and fetch_minimized 2024-01-09 02:43:25 -06:00
Héctor Ramón Jiménez
ea42af766f
Use AtomicU64 for window::Id 2023-12-02 20:41:58 +01:00
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
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
e09b4e24dd
Merge branch 'master' into feat/multi-window-support 2023-11-29 22:28:31 +01:00
Héctor Ramón Jiménez
a761448858
Implement command::channel helper
It is analogous to `subscription::channel`.
2023-11-29 00:14:27 +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 Jiménez
a1439071d6
Remove unused position argument in overlay::Nested 2023-11-21 18:53:31 +01:00
Héctor Ramón Jiménez
25006b9c6f
Fix Overlay composition
Translations were not easily composable.
2023-11-21 14:41:22 +01:00
Ian Douglas Scott
e0233ebc3c
Fix Command<T>::perform to return a Command<T>
This seems like clearly the correct thing to do here. If the type bound
on `Command` isn't specified, it makes no difference, since the generic
is inferred in a way that works with either definition. But this is
important if `Command<T>` is aliased with a concrete type.
2023-10-18 17:34:16 -05: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
34f07b6027
Fix clippy::semicolon_if_nothing_returned 2023-09-20 04:11:52 +02:00
Héctor Ramón
e8b01eb543
Merge pull request #2092 from nyurik/clippy
Chore: Apply some minor clippy fixes
2023-09-19 13:30:51 +02:00
Yuri Astrakhan
efd0ff6ded Chore: Apply some minor clippy fixes
* Use `.elapsed()` for duration
* Use direct iteration without calling `.iter()` and the like
* order fields in the `Text` struct creation as declared
2023-09-19 01:52:25 -04:00
Yuri Astrakhan
c6554d9907 Chore: Apply clippy docs keyword quoting
Add quotes a number of doc strings like `sRGB`
2023-09-19 01:50:05 -04:00
Héctor Ramón Jiménez
b8e5693a30
Merge branch 'master' into explicit-text-caching 2023-09-10 00:34:21 +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
d1822ad811
Merge pull request #2069 from iced-rs/use-workspace-dependencies
Use workspace dependencies and package inheritance
2023-09-07 03:30:35 +02:00