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
c0ab988842
Revert system menus support
...
The current implementation has some important issues on Windows. We will reintroduce the feature once we figure them out!
I have kept some of the changes in #945 , like the new `keyboard::Modifiers` powered by `bitflags`.
2021-09-15 15:31:40 +07:00
Héctor Ramón Jiménez
7cb6e7438f
Implement move_to and resize commands for window
2021-09-02 16:30:14 +07:00
Héctor Ramón Jiménez
7a335a0408
Implement and expose read and write helpers for clipboard
2021-09-02 15:12:55 +07:00
Héctor Ramón Jiménez
f0686eae0e
Remove Clipboard export in iced
2021-09-02 13:47:03 +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
7337ab63bc
Introduce explicit id field to Settings
...
... and use it to set the application id of the window on Unix systems, instead of relying on the title of the application.
2021-08-11 19:48:55 +07:00
Héctor Ramón
a2b1ba522a
Merge pull request #914 from yusdacra/feat/expose_draw_cache_multithread
...
feat: expose draw_cache_multithread as a feature
2021-07-22 18:39:37 +07:00
Héctor Ramón Jiménez
357a8a95c9
Introduce text_multithreading to Settings
2021-07-22 18:27:33 +07:00
Héctor Ramón
9cf5f3e1ef
Merge pull request #929 from TimUntersberger/winit-improv
...
feat: add position to window settings
2021-07-22 17:49:18 +07:00
Héctor Ramón Jiménez
72b3bf95de
Improve window::Position API
2021-07-21 18:59:24 +07:00
Héctor Ramón Jiménez
6793a7e00d
Remove DPI from docs in window::Settings::position
2021-07-21 18:15:32 +07:00
Héctor Ramón Jiménez
c8ac77e4e9
Write documentation for menu method in Application
2021-07-19 21:05:16 +07:00
Héctor Ramón Jiménez
5df2a92f28
Force Application::Message to implement Clone
...
A `Message` should represent an application event (e.g. user
interactions, command results, subscription results...). Therefore, it
should always consist of pure, cloneable data.
2021-07-13 21:15:07 +02:00
Héctor Ramón Jiménez
1428e9180a
Make Menu API a bit more functional
2021-07-12 21:38:54 +02:00
Richard
9fc5ad23ed
Initial menu implementation
2021-07-05 16:24:10 -03:00
TimUntersberger
de79a01b88
done
2021-06-25 18:03:18 +02:00
TimUntersberger
5c45d36d1a
wip
2021-06-25 17:33:40 +02:00
Yusuf Bera Ertan
83d19689c8
docs: update all 0.2 github links to 0.3
2021-06-14 21:01:37 +03:00
Kaiden42
52a185fbab
Implement Toggler widget for iced_native
2021-06-03 20:21:02 +07:00
Aaron Housh
ae484429d3
Merge branch 'hecrj:master' into upgrade-wgpu
2021-05-19 07:14:26 -07:00
Riccardo D'Ambrosio
5f1b880521
Change examples to point to 0.3 examples, not 0.2
2021-05-13 11:04:09 -04:00
Dispersia
983aa1b366
Run cargo fmt
2021-04-12 23:23:47 -07:00
Cory Forsstrom
84c0c9bc7a
use Mode::Hidden instead
2021-04-09 09:04:30 -07:00
Cory Forsstrom
cdab8f90fb
add window visibility
2021-04-08 12:58:08 -07:00
Héctor Ramón Jiménez
67db13ff7c
Add support for graceful exits in Application
...
- `Settings` now contains an `exit_on_close_request` field
- `Application` has a new `should_exit` method
2021-03-30 21:44:19 +02:00
Héctor Ramón Jiménez
883c7e71ae
Introduce internal_backend to iced_wgpu::Settings
2021-03-25 11:29:40 +01:00
Héctor Ramón Jiménez
7da3fb1b22
Implement stub Clipboard in iced_web
...
We need to figure out browser permissions and use of unstable `web-sys`
APIs
2021-03-11 03:52:41 +01:00
Héctor Ramón Jiménez
ae517b9fa0
Add clipboard argument to Application::update
2021-03-11 03:38:20 +01:00
Yusuf Bera Ertan
a19f89d3a6
feat(native): add Tooltip widget
2021-02-15 19:37:46 +03:00
Taiki Endo
14d900d835
Make iced::Error Send + Sync
2021-01-29 14:03:27 +09:00
GunpowderGuy
8d882d787e
update example description at sandbox's documentation ( #710 )
...
* Update sandbox.rs
* Update sandbox.rs
* format
Co-authored-by: Diego Rosario <diegorosario2013@gmail.com>
2021-01-22 01:36:05 +01:00
Héctor Ramón Jiménez
a42a0844c2
Keep old behavior for Executor feature flags
2021-01-15 18:31:30 +01:00
Jayce Fayne
b2415eee61
Add smol async runtime
2021-01-14 12:28:02 +01:00
Héctor Ramón Jiménez
0b73e5fbfa
Merge remote-tracking branch 'tarkah/image-pane' into image-pane
2020-12-18 10:15:30 +01:00
Héctor Ramón Jiménez
745aa49025
Update example links to point to 0.2 branch
2020-11-26 16:37:33 +01:00
Héctor Ramón Jiménez
01322f69a4
Use recently stabilized intra-doc links
...
See RFC: https://github.com/rust-lang/rfcs/blob/master/text/1946-intra-rustdoc-links.md
2020-11-26 02:05:43 +01:00
Héctor Ramón Jiménez
d612bf5678
Rename keyboard::ModifiersState to Modifiers
2020-11-26 02:05:42 +01:00
Héctor Ramón
87c9df294c
Merge pull request #595 from valbendan/master
...
upgrade tokio to latest version(v0.3)
2020-11-25 04:24:44 +01:00
Héctor Ramón Jiménez
782dd2f522
Introduce tokio_old feature
...
This feature allows users to rely on the `0.2` version of `tokio` while
the async ecosystem upgrades to the latest version.
2020-11-25 03:06:24 +01:00
Héctor Ramón Jiménez
3296be845c
Implement QRCode widget
2020-11-20 10:29:33 +01:00
dabaichi
a4ad1b297e
Update src/executor.rs
...
fix executor other than tokio
Co-authored-by: Héctor Ramón <hector0193@gmail.com>
2020-11-06 04:20:19 +00:00
valbendan
eacb2e913f
upgrade tokio to latest version(v0.3)
2020-11-05 11:36:23 +08:00
sum-elier
2b1d438ad4
Fix DimensionsMismatch error message
...
The values passed to write! were shifted 1 to the left.
Fixes #591
2020-11-01 09:21:42 -05:00
Héctor Ramón Jiménez
ae5a2502d6
Remove executor::Null from the root public API
...
Using an `Application` with `executor::Null` does not make sense, as the
whole purpose of an `Application` is to allow executing async actions.
When async actions are not needed, `Sandbox` should be used instead.
2020-10-17 08:46:16 +02:00
Tom
f2247a70dc
Fixes #539 : Allow windows to be set always_on_top
2020-09-28 21:05:15 -07:00
Héctor Ramón Jiménez
c1f79b40cf
Make Application and Sandbox return a Result
2020-09-08 00:44:59 +02:00
Héctor Ramón Jiménez
2ce5df0844
Merge branch 'feature/rule-widget' into master
2020-08-22 21:25:06 +02:00
Billy Messenger
8d68c8584e
widget Rule added
2020-08-22 21:23:27 +02:00