Héctor Ramón Jiménez
83c649b574
Move time module from iced_native to iced_core
2022-01-28 21:37:16 +07:00
Héctor Ramón Jiménez
87b3e03d18
Enable instant only for wasm32 targets
...
... and hide the dependency under a `time` module in `iced_native`
2022-01-28 21:37:16 +07:00
Héctor Ramón Jiménez
776724162a
Use WebGL2 limits for Compositor in iced_wgpu
2022-01-28 21:37:16 +07:00
Héctor Ramón Jiménez
26d95fdc4b
Append Canvas to <body> when targetting Wasm in iced_winit
2022-01-28 21:37:16 +07:00
Héctor Ramón Jiménez
825c7749ff
Replace iced_web with WebGL support in wgpu 🎉
2022-01-28 21:37:16 +07:00
Kai Mast
1e3feee3a3
Reduce diff
2022-01-28 21:37:16 +07:00
Kai Mast
f39147d382
Always use event_loop.run
2022-01-28 21:37:16 +07:00
Kai Mast
f3fb00f838
Use glow_glyp in opengl_integration example
2022-01-28 21:37:16 +07:00
Kai Mast
beebf25c5f
Re-add docs for clipboard
2022-01-28 21:37:16 +07:00
Kai Mast
908259663d
Remove wasm-specific clipboard
2022-01-28 21:37:15 +07:00
Kai Mast
9f47ac8d31
Use instant instead of std::instant
2022-01-28 21:37:15 +07:00
Vladyslav Nikonov
bdca20fc4a
Experimental wgpu WebGL backend support
...
- Added missing `draw_cache_align_4x4` call for `brush_glyph` on wasm32 target
- Added WebGL support to `integratio_wgpu` example
- Fixed test.yml CI workflow
- Removed spir-v shader in `integration_wgpu`; Fixed formatting
- Removed redundant `BoxStream` typedef
2022-01-28 21:37:14 +07:00
Héctor Ramón Jiménez
c75ed37148
Rely on GHCR instead of Docker Hub in Cross.toml
2022-01-26 21:22:54 +07:00
Héctor Ramón Jiménez
3b95450c9d
Fix audit workflow
...
... since `nix` recently released a `0.22.3`, which is safe by default.
2022-01-26 14:26:01 +07:00
Héctor Ramón
9b3cab82ef
Merge pull request #1160 from derezzedex/dev/arm-support
...
feat: add support to ARM devices (and older hardware)
2022-01-26 13:54:21 +07:00
Héctor Ramón
4aa943cbc6
Merge pull request #1213 from iced-rs/fix/phantom-overlay
...
Fix previous `overlay` affecting `cursor_position` during `draw` in `UserInterface`
2022-01-22 14:08:33 +07:00
Héctor Ramón Jiménez
876aa93788
Fix previous overlay affecting cursor_position during draw in UserInterface
2022-01-22 13:44:30 +07:00
Héctor Ramón
04efd22dba
Merge pull request #1209 from iced-rs/checkbox-radio-text-color
...
Remove ambiguous `text_color` attributes for `Checkbox` and `Radio`
2022-01-21 19:27:17 +07:00
Héctor Ramón
5a1638add8
Merge pull request #1206 from iced-rs/fix/responsive-window-resize
...
Invalidate widget tree in `Responsive` after a `window::Event::Resized`
2022-01-20 22:12:08 +07:00
Héctor Ramón Jiménez
93285d85b0
Remove ambiguous text_color attributes for Checkbox and Radio
...
Instead, always use a `StyleSheet`.
2022-01-20 18:34:15 +07:00
Héctor Ramón Jiménez
522368e8af
Build todos for Raspberry Pis in build workflow
2022-01-20 18:10:07 +07:00
Héctor Ramón Jiménez
33d52b5770
Move files in docker directory to iced-rs/docker repository
2022-01-20 17:36:45 +07:00
Héctor Ramón Jiménez
a1311bcc5e
Remove position abbreviation in Component
2022-01-20 13:50:42 +07:00
Héctor Ramón Jiménez
0e475b008f
Invalidate widget tree in Responsive after a window::Event::Resized
...
This is a pessimistic approach! Ideally, we should be able to recreate
only the contents of the `Responsive` widget in `Widget::layout`, but
given `view` is impure we have to trigger a brand new `view` call.
The persistent widget tree should make this easier.
2022-01-20 13:43:45 +07:00
cossonleo
41bd984d6b
component overlay position fix
2022-01-20 11:35:45 +08:00
Richard
424e1d3fda
Add Shader and Version
...
to simplify and constrain `program::create`
2022-01-19 22:08:41 -03:00
Héctor Ramón Jiménez
a3744ec97a
Recompute layout of Responsive contents when size changes
2022-01-20 04:09:46 +07:00
Richard
230db88fb2
Add setting to try OpenGL ES first
2022-01-19 17:40:17 -03:00
Richard
46fb27b104
Update documentation for built-in renderers
2022-01-19 17:40:17 -03:00
Richard
01f67a2c1f
Export glow in iced_glow
2022-01-19 17:40:17 -03:00
Richard
cc3cf4dfc2
Export iced_winit::conversion in iced_glutin
2022-01-19 17:40:17 -03:00
Richard
e31566d430
Improve shader version selection
2022-01-19 17:40:17 -03:00
Richard
afdf3e799a
Add env_logger to game_of_life
2022-01-19 17:40:17 -03:00
Richard
94bb03c33c
Log debugging info
2022-01-19 17:40:17 -03:00
Richard
381052c50e
Split quad::Pipeline into core and compatibility
2022-01-19 17:40:17 -03:00
Richard
3c5ab30117
Use glutin, glow and glow_glyph forks
2022-01-19 17:40:17 -03:00
Richard
f111b48d6a
Add cross compilation targets for armv7 and aarch64
2022-01-19 17:40:17 -03:00
Héctor Ramón Jiménez
79ac5bb890
Write CNAME file before publishing in document workflow
2022-01-19 22:26:13 +07:00
Héctor Ramón Jiménez
8b0f2e62db
Create worflow to publish latest docs to iced-rs/docs
2022-01-19 22:04:27 +07:00
Héctor Ramón
92a699b97d
Merge pull request #1198 from iced-rs/subscription-helpers
...
`websocket` example and helpers to create custom subscriptions
2022-01-17 21:46:17 +07:00
Héctor Ramón Jiménez
5ce8653fb5
Add worker example to docs of subscription::unfold
2022-01-17 15:48:37 +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
88f1168a0b
Update README file of websocket example
2022-01-16 19:59:59 +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
2f557731f3
Make clock example responsive
2022-01-15 11:56: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
35e4f30759
Implement subscription::worker 🎉
2022-01-14 19:55:50 +07:00
Héctor Ramón Jiménez
2a3271dc10
Implement subscription::unfold 🎉
2022-01-14 19:55:27 +07:00
Héctor Ramón Jiménez
7442d0b66f
Implement subscription::run 🎉
2022-01-14 19:43:54 +07:00
Héctor Ramón Jiménez
810b445f8d
Rewrite events and events_with with a new Runner abstraction
2022-01-14 19:43:06 +07:00