Héctor Ramón Jiménez
3f67044977
Merge branch 'master' into beacon
2025-04-05 18:20:31 +02:00
Héctor Ramón Jiménez
53ce0e3a88
Fix lints for Rust 1.86
2025-04-03 16:59:55 +02:00
Héctor Ramón Jiménez
9f1beba583
Make sipper dependency optional
2025-04-02 11:10:25 +02:00
Héctor Ramón Jiménez
fd1101bd5f
Unify Program definition in iced_program subcrate
2025-03-12 02:10:42 +01:00
Héctor Ramón Jiménez
800a73ddd7
Use new async || closure syntax 🎉
2025-02-21 02:01:42 +01:00
Héctor Ramón Jiménez
91af1c5ed6
Update all examples to Rust 2024
2025-02-21 01:37:14 +01:00
Héctor Ramón Jiménez
eab723866e
Replace with function with Function trait
2025-02-11 10:36:45 +01:00
Héctor Ramón Jiménez
0c528be2ea
Introduce with helper and use sipper in gallery example
2025-02-11 03:41:29 +01:00
Héctor Ramón Jiménez
9f21eae152
Introduce Task::map_with
2025-02-11 02:34:10 +01:00
Héctor Ramón Jiménez
05618ea9b3
Use sipper in download_progress
2025-02-11 00:56:14 +01:00
Héctor Ramón Jiménez
e2c52c9728
Implement AI gallery example 🎉
...
It displays the most popular daily images of Civitai!
2025-01-27 05:01:43 +01:00
Héctor Ramón Jiménez
6ccc828607
Use Task::run in download_progress example
2024-11-22 02:14:56 +01:00
Skygrango
0053cc03f9
Add index.html to download_progress example
2024-09-10 19:25:20 +02:00
Héctor Ramón Jiménez
1a0bcdb2f6
Fix download_progress and make it work on Wasm
...
Co-authored-by: Skygrango <skygrango@gmail.com>
2024-09-10 19:24:30 +02:00
Héctor Ramón Jiménez
76737351ea
Re-export variants of Length and alignment types
2024-07-12 18:12:34 +02:00
Héctor Ramón Jiménez
f9dd5cbb09
Introduce helper methods for alignment for all widgets
2024-07-12 15:14:43 +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
8bc49cd886
Hide Subscription internals
...
.. and introduce `stream::channel` helper
2024-07-05 02:16:45 +02:00
Héctor Ramón Jiménez
341c9a3c12
Introduce daemon API and unify shell runtimes
2024-06-19 01:53:40 +02:00
Héctor Ramón Jiménez
d8ba6b0673
Merge branch 'master' into feat/text-macro
2024-05-23 13:29:45 +02:00
Héctor Ramón Jiménez
15057a05c1
Introduce center widget helper
...
... and also make `center_x` and `center_y` set
`width` and `height` to `Length::Fill`, respectively.
This targets the most common use case when centering
things and removes a bunch of boilerplate as a result.
2024-05-03 09:11:46 +02:00
alex-ds13
9cbad0a352
Remove extra Download struct from dowload_progress example
2024-04-08 19:37:37 +01:00
Richard Custodio
bf9bbf4a3e
refactor: replace text(format!( with text macro
2024-03-18 17:08:56 -03:00
Héctor Ramón Jiménez
54f44754eb
Move Program to application module
2024-03-17 14:19:12 +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
bb71e8481e
Make sandbox helper take a title as well
2024-03-16 16:12:07 +01:00
Héctor Ramón Jiménez
c22269bff3
Introduce Program API
2024-03-16 05:33:47 +01:00
Héctor Ramón Jiménez
22226394f7
Introduce Widget::size_hint and fix further layout inconsistencies
2024-01-10 10:01:49 +01:00
Héctor Ramón Jiménez
33d780f691
Run cargo fmt
2023-09-20 05:37:20 +02:00
Héctor Ramón Jiménez
caed50b277
Fix clippy::match-wildcard-for-single-variants
2023-09-20 05:03:25 +02:00
Héctor Ramón Jiménez
6fd2c15527
Host GIFs and video examples in iced.rs
...
RIP Gfycat
2023-09-07 05:05:43 +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
4bae457c37
Merge branch 'master' into advanced-text
2023-04-17 23:41:12 +02:00
Héctor Ramón Jiménez
ae7e6b3d48
Implement subscription::channel and simplify unfold
2023-04-11 07:46:54 +02:00
Héctor Ramón Jiménez
f4cf488e0b
Remove generic Hasher and Event from subscription::Recipe
2023-03-05 04:15:10 +01:00
13r0ck
42b1bfe66d
Fix: Clippy lint 'uninlined_format_args'
2023-01-27 14:02:48 -07:00
Héctor Ramón Jiménez
ff2519b1d4
Replace stateful widgets with new iced_pure API
2022-07-27 06:49:20 +02:00
Héctor Ramón Jiménez
2065a40f64
Fix clippy lints for all crates and features
...
... and check those in CI as well!
2022-07-09 18:43:05 +02:00
Héctor Ramón Jiménez
664251f3f5
Draft first-class Theme support
...
RFC: https://github.com/iced-rs/rfcs/pull/6
2022-05-14 01:56:32 +02:00
Héctor Ramón Jiménez
6b0cbdd45a
Remove unnecessary unreachable! in download_progress example
2022-03-15 22:36:31 +07:00
Héctor Ramón Jiménez
adce9e0421
Update Rust edition to 2021 🎉
2022-02-09 17:57:44 +07:00
Héctor Ramón Jiménez
ddbbe7353b
Simplify run and unfold helpers to build a Subscription
2022-01-17 15:29:41 +07:00
Héctor Ramón Jiménez
dc50a2830a
Draft websocket example 🎉
2022-01-16 15:50:19 +07:00
Héctor Ramón Jiménez
75348c5b8c
Use subscription::run for download_progress example
2022-01-15 11:45:19 +07:00
Héctor Ramón Jiménez
5f9cf991a7
Update reqwest in examples
...
... and rely on `rustls` instead of `native-tls`
2022-01-13 19:56:16 +07:00
Héctor Ramón Jiménez
a0ad399622
Refactor alignment types into an alignment module
2021-09-20 15:14:08 +07:00
Héctor Ramón Jiménez
5fae6e59ff
Introduce and use CrossAlign enum for Column and Row
2021-09-20 15:12:43 +07:00
Héctor Ramón Jiménez
76698ff2b5
Make Command implementations platform-specific
...
This allows us to introduce a platform-specific `Action` to both `iced_native`
and `iced_web` and remove the `Clipboard` from `Application::update` to maintain
purity.
Additionally, this should let us implement further actions to let users query
and modify the shell environment (e.g. window, clipboard, and more!)
2021-09-02 13:29:34 +07:00
Héctor Ramón Jiménez
ae517b9fa0
Add clipboard argument to Application::update
2021-03-11 03:38:20 +01:00
Folyd
9f5c2eb0c4
Improve download_progress example ( #283 )
...
* Add advanced download example
* Rename to task fields and variables
* Cargo fmt advanced_download/src/download.rs
* Add progress bar for advanced download example
* Merge two download examples to single one
* Apply great review suggestions
* Change to url::Url instead of plain String
* Simplify `download_progress` example
* Update `README` of `download_progress` example
Co-authored-by: Héctor Ramón Jiménez <hector0193@gmail.com>
2021-02-12 22:00:52 +01:00