Commit graph

4918 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
5e6c9eeb7e
Add iced widget helper to display the iced logo ☄️ 2024-07-11 04:33:19 +02:00
Héctor Ramón
70f44a6e26
Merge pull request #2496 from iced-rs/abortable-tasks
Abortable `Task`
2024-07-10 15:42:38 +02:00
Héctor Ramón Jiménez
47f9554a82
Introduce Task::abortable 🎉 2024-07-10 14:44:54 +02:00
Héctor Ramón Jiménez
8efe161e3d
Move docs of future and stream in Task 2024-07-10 14:24:52 +02:00
Héctor Ramón Jiménez
e86920be5b
Remove load method from application and daemon
If you need to run a `Task` during boot, use
`run_with` instead!
2024-07-09 00:28:40 +02:00
Héctor Ramón Jiménez
3d99da805d
Implement Default for combo_box::State 2024-07-09 00:27:59 +02:00
Héctor Ramón
acf6daff46
Merge pull request #2321 from PgBiel/select-all
Add "Select All" functionality on Ctrl+A to TextEditor
2024-07-08 01:25:41 +02:00
PgBiel
76f5bc2cce
add SelectAll to TextEditor 2024-07-08 01:16:31 +02:00
Héctor Ramón Jiménez
23d9497e7f
Allow future in stream::channel to return 2024-07-08 01:13:22 +02:00
Héctor Ramón
978327f9e7
Merge pull request #2493 from iced-rs/hide-subscription-internals
Hide `Subscription` internals
2024-07-05 02:34:39 +02:00
Héctor Ramón Jiménez
c9e0ed7ca4
Expose from_recipe and into_recipes in advanced::subscription 2024-07-05 02:22:56 +02:00
Héctor Ramón Jiménez
0cf096273a
Fix wasm_bindgen backend in iced_futures 2024-07-05 02:19:17 +02:00
Héctor Ramón Jiménez
8bc49cd886
Hide Subscription internals
.. and introduce `stream::channel` helper
2024-07-05 02:16:45 +02:00
Héctor Ramón
e50aa03edc
Merge pull request #2492 from iced-rs/hide-internal-task-constructors
Hide internal `Task` constructors
2024-07-05 01:24:10 +02:00
Héctor Ramón Jiménez
88611d7653
Hide internal Task constructors 2024-07-05 01:13:28 +02:00
Héctor Ramón Jiménez
2b19471d1c
Simplify subscription::channel example 2024-07-02 19:01:40 +02:00
Héctor Ramón
4687bf7f14
Merge pull request #2485 from vladh/add-quad-border-doc
doc: clarify Quad border alignment
2024-06-30 22:57:14 +02:00
Héctor Ramón
f31d1a4dbc
Merge pull request #2487 from vladh/fix-reconcile-typo
doc: fix "Reconciles" typo
2024-06-30 22:56:44 +02:00
Vlad-Stefan Harbuz
10ef48c98a doc: fix "Reconciles" typo 2024-06-30 20:46:04 +01:00
Vlad-Stefan Harbuz
be59ec0ffc doc: clarify Quad border alignment 2024-06-29 21:39:23 +01:00
Héctor Ramón Jiménez
2ac80f8e9c
Fix window::open_events subscribing to closed events
Fixes #2481.
2024-06-28 23:24:29 +02:00
Héctor Ramón Jiménez
b9eb86199a
Remove unnecessary Send bound in runtime::Action
This may fix compilation errors in older versions of Rust.
2024-06-21 21:30:23 +02:00
Héctor Ramón
7344a31010
Merge pull request #2475 from vladh/impl-copy-fill-stroke
Implement Copy on Fill and Stroke
2024-06-21 18:44:03 +02:00
Héctor Ramón Jiménez
e8b1e5a112
Fix fonts not being loaded at startup 2024-06-21 15:38:51 +02:00
Vlad-Stefan Harbuz
a7224a7827 Implement Copy on Fill and Stroke 2024-06-21 11:58:35 +01:00
Héctor Ramón Jiménez
50dd2a6cc0
Fix application sometimes exiting at startup 2024-06-20 22:28:28 +02:00
Héctor Ramón Jiménez
cbeda38f0d
Inline documentation for application and daemon functions 2024-06-20 18:50:03 +02:00
Héctor Ramón
a26493ed2b
Merge pull request #2470 from ryankopf/master
feat: Add methods for window settings in Application
2024-06-20 18:44:13 +02:00
Héctor Ramón Jiménez
0785b334e7
Add window method to Application 2024-06-20 18:35:10 +02:00
ryankopf
3334cf670b feat: Add methods for window settings in Application
This commit adds new methods to the `Application` struct for setting various window settings such as resizable, decorations, position, and level. These methods allow for more customization and control over the appearance and behavior of the application window.
2024-06-20 00:40:37 -05:00
Héctor Ramón
714d450315
Merge pull request #2469 from iced-rs/unify-shell-runtimes
`Daemon` API and Shell Runtime Unification
2024-06-20 01:23:01 +02:00
Héctor Ramón Jiménez
c5f4bebeda
Remove window::Id::MAIN constant 2024-06-20 01:13:42 +02:00
Héctor Ramón Jiménez
92e08c8f07
Add get_latest and get_oldest tasks in window 2024-06-20 01:13:09 +02:00
Héctor Ramón Jiménez
bdd30f7ab8
Introduce and_then methods for fallible Tasks 2024-06-20 01:11:21 +02:00
Héctor Ramón Jiménez
65c8e08b44
Fix initialization race conditions in WebAssembly
WebGL is still broken, but oh well... Time to move on.
2024-06-19 19:07:07 +02:00
Héctor Ramón Jiménez
5f25943449
Fix WebAssembly compilation
Rendering seems to still not work, however.
2024-06-19 17:39:17 +02:00
Héctor Ramón Jiménez
341c9a3c12
Introduce daemon API and unify shell runtimes 2024-06-19 01:53:40 +02:00
SolidStateDj
19db068bbb
Implement std::fmt::Display for iced::Radians (#2446)
* Implement `std::fmt::Display` for Radians

* Add ` rad` to the end of all displayed strings.

Co-authored-by: Héctor Ramón <hector0193@gmail.com>

---------

Co-authored-by: Héctor Ramón <hector0193@gmail.com>
2024-06-18 17:02:15 +00:00
Héctor Ramón
368b15f708
Merge pull request #2330 from Gigas002/viewer_content_fit
Implement content_fit for viewer widget
2024-06-18 00:37:24 +02:00
Héctor Ramón Jiménez
6c1027af8d
Fix text_editor always capturing scroll events 2024-06-17 03:37:00 +02:00
Héctor Ramón Jiménez
e9141e7abf
Rename Step to Screen in tour example 2024-06-16 23:18:45 +02:00
Héctor Ramón Jiménez
e0b4ddf7b7
Flatten state in tour example 2024-06-16 23:15:12 +02:00
Héctor Ramón
964ae95827
Merge pull request #2460 from Andrew-Schwartz/master
Add FromIterator for Row and Column
2024-06-16 22:54:46 +02:00
Héctor Ramón Jiménez
64426b7298
Fix BUG_REPORT formatting 2024-06-16 22:04:05 +02:00
Héctor Ramón Jiménez
681765110b
Make crazy users acknowledge they are crazy when filing bug reports in bad faith 2024-06-16 22:02:56 +02:00
Héctor Ramón
d8d58635e1
Merge pull request #2465 from henrispriet/henrispriet-wayland-deps
Fix DEPENDENCIES.md for wayland
2024-06-16 20:37:41 +02:00
Héctor Ramón
95d4adb55e
Merge pull request #2463 from iced-rs/task-api
`Task` API
2024-06-16 20:24:41 +02:00
Héctor Ramón Jiménez
b5c5a016c4
Rename window::closings to window::close_events 2024-06-16 20:15:55 +02:00
henrispriet
a892135206
actually wayland.dev isn't needed 2024-06-16 10:42:21 +00:00
henrispriet
b8321b8b2b
Fix DEPENDENCIES.md for wayland 2024-06-16 10:36:48 +00:00