Commit graph

2223 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
6822d1d9f2
Center Image inside available bounds when possible 2022-02-16 18:19:37 +07:00
Héctor Ramón Jiménez
0aff444941
Rename Image::fit to content_fit
... just for consistency!
2022-02-16 18:19:37 +07:00
Héctor Ramón Jiménez
8b5c9dfa71
Make documentation of Image::fit consistent 2022-02-16 18:19:37 +07:00
Héctor Ramón Jiménez
395eacfc10
Use a new clipping layer only when necessary in Image::draw 2022-02-16 18:19:36 +07:00
Héctor Ramón Jiménez
c6486978de
Rename image module to content_fit in iced_core
Since we are just exposing the `ContentFit` type and not the module `image` at all.
2022-02-16 18:19:36 +07:00
Emi Simpson
ca1fcdaf14
Add support for ContentFit for Image 2022-02-16 18:19:33 +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
554e0a090e
Add index.html to counter example 2022-02-09 17:50:12 +07:00
Héctor Ramón
313aff5734
Merge pull request #1217 from SynergyBest/master
Fix links
2022-02-08 01:32:40 +07:00
ImgBotApp
c70929bf2c
[ImgBot] Optimize images
*Total -- 967.49kb -> 703.99kb (27.24%)

/docs/images/radio.png -- 5.29kb -> 1.58kb (70.18%)
/docs/images/text_input.png -- 3.18kb -> 1.27kb (60.17%)
/docs/images/checkbox.png -- 5.56kb -> 2.22kb (60.17%)
/examples/color_palette/screenshot.png -- 102.74kb -> 43.75kb (57.42%)
/examples/tour/images/ferris.png -- 32.29kb -> 15.91kb (50.73%)
/docs/graphs/ecosystem.png -- 124.13kb -> 67.44kb (45.67%)
/docs/graphs/iced.png -- 97.75kb -> 53.27kb (45.5%)
/docs/graphs/native.png -- 57.90kb -> 33.67kb (41.85%)
/docs/images/text.png -- 4.95kb -> 2.99kb (39.61%)
/docs/graphs/foundations.png -- 18.19kb -> 11.19kb (38.46%)
/examples/scrollable/screenshot.png -- 144.78kb -> 102.53kb (29.18%)
/examples/svg/resources/tiger.svg -- 67.02kb -> 64.50kb (3.76%)
/docs/logo.svg -- 1.37kb -> 1.35kb (1.57%)
/docs/images/todos_desktop.jpg -- 302.36kb -> 302.33kb (0.01%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2022-02-07 23:13:29 +07:00
Theo Robinson
4830a17d65
Fix links
Change dead links to updated ones.
Change/Convert all file links to relative links so they are branch
agnostic.
2022-02-07 23:13:25 +07:00
Héctor Ramón
880671e104
Merge pull request #1231 from TannerRogalsky/allow-the-creation-of-unconnected-clipboard
Allow the creation of a clipboard without a window.
2022-02-07 22:53:10 +07:00
Tanner Rogalsky
2e8fb09568 Allow the creation of a clipboard without a window. 2022-02-05 06:55:22 -05:00
Héctor Ramón
c15701581e
Merge pull request #1225 from tarkah/feat/canvas-line-dash
Add line dash API
2022-02-04 14:44:08 +07:00
Héctor Ramón Jiménez
bace264bfe
Access lyon_algorithms indirectly through lyon 2022-02-03 17:19:48 +07:00
Héctor Ramón Jiménez
f56c8a7361
Ask for a slice of segments instead of ownership in LineDash 2022-02-03 17:18:05 +07:00
Héctor Ramón Jiménez
74a64d88e1
Differentiate between question and discussion in issue templates 2022-02-02 15:15:28 +07:00
Héctor Ramón Jiménez
0ce2deff5a
Make titles of issue templates more relatable 2022-02-02 15:04:56 +07:00
Héctor Ramón Jiménez
e068e9cc82
Remove codebase from bug report template
... since a bug report may not necessarily indicate an issue in the
codebase.
2022-02-02 14:52:04 +07:00
Héctor Ramón Jiménez
61543e4c04
Improve description of Discussion contact link 2022-02-02 14:50:47 +07:00
Héctor Ramón Jiménez
b10ad95645
Improve titles of issue templates 2022-02-02 14:47:35 +07:00
Héctor Ramón Jiménez
f99f85f447
Add config.yml to .github/ISSUE_TEMPLATE 2022-02-02 14:45:38 +07:00
Héctor Ramón Jiménez
89812cb9a9
Fix capitalization of title in bug report template 2022-02-02 14:37:57 +07:00
Héctor Ramón Jiménez
375ca7f504
Fix duplicate label field in bug report template 2022-02-02 14:37:23 +07:00
Héctor Ramón Jiménez
bf00b98972
Remove newlines from bug report template 2022-02-02 14:36:54 +07:00
Héctor Ramón Jiménez
dc0ffbfc13
Fix missing closing backtick in bug report template 2022-02-02 14:35:24 +07:00
Héctor Ramón Jiménez
1c6d4f3196
Add issue template for bug reports 2022-02-02 14:34:27 +07:00
Héctor Ramón Jiménez
d95889aca9
Fix default backend in iced_futures
Fixes #1228.
2022-02-01 11:40:58 +07:00
Héctor Ramón Jiménez
12060f823f
Point iced_web links to the new standalone repository 2022-01-31 21:21:44 +07:00
Héctor Ramón Jiménez
1a737b8e20
Replace Zulip links with Discord 2022-01-31 21:18:39 +07:00
Héctor Ramón Jiménez
db40c9649e
Remove iced_web from document worfklow 2022-01-31 17:03:38 +07:00
Héctor Ramón
e4ef29ef20
Merge pull request #1096 from pacmancoder/feat/wgpu-webgl
Experimental WebGL wgpu backend support
2022-01-31 17:01:19 +07:00
Héctor Ramón Jiménez
6f604ab399
Allow Application::run to return on native platforms 2022-01-31 16:39:46 +07:00
Héctor Ramón Jiménez
2f57051283
Add index.html for todos and tour example
You can use `trunk serve` to easily compile them!
2022-01-29 16:08:16 +07:00
Héctor Ramón Jiménez
90afd1db8d
Use MaybeSend in perform and map for Command 2022-01-28 21:51:13 +07:00
Héctor Ramón Jiménez
e730d97f61
Implement time module for wasm-bindgen backend in iced_futures 2022-01-28 21:37:17 +07:00
Héctor Ramón Jiménez
167be45a7d
Split iced_futures into different backend implementations 2022-01-28 21:37:17 +07:00
Héctor Ramón Jiménez
5dab5a327e
Introduce MaybeSend trait in iced_futures
It allows to clean up all the `trait_aliases` modules!
2022-01-28 21:37:17 +07:00
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