Commit graph

1622 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
ec20763aef Use string literal as panic message in iced_glow 2021-02-16 00:04:36 +01:00
Héctor Ramón Jiménez
9ba9558429 Allow dead code explicitly in iced_web 2021-02-16 00:03:20 +01:00
Héctor Ramón
4de164dcc7
Merge pull request #392 from unrelentingtech/image-debloat
Add image format options to reduce code bloat
2021-02-13 16:18:40 +01:00
Héctor Ramón Jiménez
e1b1227f0c Fix image feature name in glow and iced 2021-02-13 16:05:51 +01:00
Greg V
8f126c212b Add image format options to reduce code bloat, fixes #376 2021-02-13 15:53:24 +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
anunge
9e453843b2
Touch support for PaneGrid and PickList (#650)
* touch events properly parsed and converted to logical size, button working

* scrolling with a nice touch

* fixed application state level touch cursor. panel_grid is touchable now.

* format glicthes fixes

* format glitches

* tight format

* fixed pane grid

* fixing with upstream

* Remove unused `touch` module from `iced_core`

* Remove unused `crate::text` import in `iced_native`

* Remove redundant match branch in `iced_winit`

* Keep removed line break in `UserInterface::update`

* Compute `text_size` only when bounds contains cursor in `overlay::menu`

Co-authored-by: Héctor Ramón Jiménez <hector0193@gmail.com>
2021-02-12 20:52:20 +01:00
Héctor Ramón
2f10a1f2a2
Merge pull request #725 from PolyMeilex/wgpu-7.0
Update to wgpu 0.7
2021-02-06 16:18:19 +01:00
Héctor Ramón Jiménez
74b9ea520f Enable filtering in wgpu::image 2021-02-06 16:04:43 +01:00
Héctor Ramón Jiménez
7eefad34fc List color_blend first in wgpu::quad 2021-02-06 15:55:03 +01:00
Héctor Ramón Jiménez
15c4901aba Remove unnecessary line break in triangle::msaa 2021-02-06 15:39:12 +01:00
Héctor Ramón Jiménez
ffdf87fbe2 Use lowercase in wgpu labels for consistency 2021-02-06 15:39:06 +01:00
Héctor Ramón Jiménez
5fc4210270 Use the latest release of wgpu_glyph 2021-02-06 15:27:27 +01:00
Poly
b0d1be69d6 Change PowerPreference from default() to LowPower
There is no reason to hide the fact that this is always in `LowPower` mode
2021-02-03 23:50:03 +01:00
Poly
09a5348740 [wgpu 0.7] Update integration example 2021-02-03 22:38:45 +01:00
Poly
1fb60c5dcb Fix TextureViewDimension for image
wgpu validation helped to find this long standing type error
2021-02-03 22:26:53 +01:00
Poly
bd6b8304bd Fix ScissorRect
- Breaks `TODO: Address anti-aliasing adjustments properly`
2021-02-03 21:51:11 +01:00
Poly
c5d6ddc126 [wgpu 0.7] triangle/msaa disable filtering 2021-02-03 21:13:51 +01:00
Poly
4a6db30d47 [wgpu 0.7] Update image.rs 2021-02-03 20:24:48 +01:00
Poly
e2595ac0aa [wgpu 0.7] Update triangle.rs 2021-02-03 20:06:07 +01:00
Poly
5f935c34fd [wgpu 0.7] Update triangle/msaa.rs
Notes:
- not sure if `filtering sampler` should be used, so for now it is not used
.
2021-02-03 20:05:37 +01:00
Poly
98d108d2b7 [wgpu 0.7] Update window/compositor.rs
Notes:
- wgpu::PowerPreference::Default no longer exists, maybe there is another way to replicate its behavior.
2021-02-03 19:32:30 +01:00
Poly
2d76c7165c [wgpu 0.7] Update quad.rs 2021-02-03 19:21:02 +01:00
Poly
4a727dfb8b The beginning of wgpu 0.7 update
hecrj/iced#723
2021-02-03 19:20:23 +01:00
Héctor Ramón
12c0c18d66
Merge pull request #720 from taiki-e/style-clone
impl Clone and Copy for all Style types in iced_style
2021-01-29 19:56:33 +01:00
Héctor Ramón
c7898a101c
Merge pull request #719 from taiki-e/error-send-sync
Make iced::Error Send + Sync
2021-01-29 19:55:25 +01:00
Taiki Endo
2969558afd impl Clone and Copy for all Style types in iced_style 2021-01-29 14:08:14 +09: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
d1c4239ac7 Disable default features of qrcode for iced_graphics 2021-01-21 05:07:41 +01:00
Héctor Ramón Jiménez
9da0a3de54 Use smol::Timer::interval for time::Every 2021-01-15 21:07:37 +01:00
Héctor Ramón Jiménez
803cc88483 Fix consistency in CHANGELOG 2021-01-15 19:05:20 +01:00
Héctor Ramón
2056304e39
Merge pull request #699 from JayceFayne/smol
Add `smol` async runtime support
2021-01-15 19:04:23 +01:00
Héctor Ramón Jiménez
fd2c96c8e3 Fix time::Every implementation for smol runtime 2021-01-15 18:52:12 +01:00
Héctor Ramón Jiménez
bcc54b0831 Add latest release (0.2.0) to CHANGELOG 2021-01-15 18:37:20 +01:00
Héctor Ramón Jiménez
a42a0844c2 Keep old behavior for Executor feature flags 2021-01-15 18:31:30 +01:00
Héctor Ramón Jiménez
984583b0cc Merge pull request #701 from cossonfork/focus_event 2021-01-15 18:23:50 +01:00
Héctor Ramón Jiménez
45dc02e9bd Split window::Event::Focused into two variants 2021-01-15 18:21:44 +01:00
cossonleo
0b140488b4 add focus event 2021-01-15 22:40:16 +08:00
Héctor Ramón Jiménez
0646280d67 Fix Widget::width implementation for PickList 2021-01-15 14:26:23 +01:00
Héctor Ramón
049999b982
Merge pull request #700 from TannerRogalsky/fix_viewport_getter
Fix `physical_width` getter incorrectly returning the height
2021-01-15 02:02:26 +01:00
Tanner Rogalsky
766bb7f5cc Fix physical_width getter incorrectly returning the height 2021-01-14 10:38:12 -05:00
Jayce Fayne
c542224f4b Update CHANGELOG.md 2021-01-14 12:28:06 +01:00
Jayce Fayne
b2415eee61 Add smol async runtime 2021-01-14 12:28:02 +01:00
Héctor Ramón
92d647d1a6
Merge pull request #694 from hecrj/fix/image-viewer-event-capturing
Capture relevant events in `image::Viewer`
2021-01-12 20:06:32 +01:00
Héctor Ramón Jiménez
c7f6b2a5c7 Capture relevant events in image::Viewer 2021-01-11 19:31:34 +01:00
Héctor Ramón Jiménez
e7344d03b4 Use BTreeMap for splits and regions in pane_grid
This preserves ordering between calls to update and draw logic.
2021-01-07 21:07:44 +01:00
Héctor Ramón Jiménez
31522e30aa Remove unnecessary SaveError variant in todos example 2021-01-04 23:38:07 +01:00
Héctor Ramón
80a490ebb9
Merge pull request #672 from yusdacra/tokio-1.0
Update tokio to v1.0
2021-01-04 23:33:09 +01:00
Héctor Ramón Jiménez
09ea73bd2a Use Instant::into_std in futures::time 2021-01-04 23:20:40 +01:00