summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove unnecessary absolute module paths in `image::raster`Libravatar Héctor Ramón Jiménez2021-09-301-3/+3
|
* Introduce `Orientation` enum in `image::raster`Libravatar Héctor Ramón Jiménez2021-09-301-37/+72
|
* Honor Exif orientation in `iced_wgpu::Image`Libravatar Mateusz Czapliński2021-09-302-2/+45
|
* Merge pull request #1060 from iced-rs/update-resvgLibravatar Héctor Ramón2021-09-282-14/+28
|\ | | | | Update `resvg` to `0.18` in `iced_wgpu`
| * Update `resvg` to `0.18` in `iced_wgpu`Libravatar Héctor Ramón Jiménez2021-09-272-14/+28
|/
* Merge pull request #1044 from tarkah/feature/align-fill-variantLibravatar Héctor Ramón2021-09-2054-336/+472
|\ | | | | Add Align::Fill variant
| * Refactor alignment types into an `alignment` moduleLibravatar Héctor Ramón Jiménez2021-09-2054-376/+401
| |
| * Introduce and use `CrossAlign` enum for `Column` and `Row`Libravatar Héctor Ramón Jiménez2021-09-2033-115/+166
| |
| * Improve readability of Align::Fill branchingLibravatar Cory Forsstrom2021-09-201-34/+22
| |
| * Calc fill cross and use for all childrenLibravatar Cory Forsstrom2021-09-201-29/+55
| |
| * Add Align::Fill variantLibravatar Cory Forsstrom2021-09-204-13/+59
|/
* Merge pull request #1049 from Luni-4/no-windows-consoleLibravatar Héctor Ramón2021-09-201-0/+3
|\ | | | | CI: Run a Windows application without starting the shell too
| * CI: Run a Windows application without starting the shell tooLibravatar Luni-42021-09-171-0/+3
|/
* Merge pull request #1047 from iced-rs/revert-menusLibravatar Héctor Ramón2021-09-1521-673/+19
|\ | | | | Revert system menus support
| * Revert system menus supportLibravatar Héctor Ramón Jiménez2021-09-1521-673/+19
| | | | | | | | | | | | 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`.
* | Merge pull request #1046 from iced-rs/fix/empty-text-hit-testLibravatar Héctor Ramón2021-09-1510-62/+65
|\ \ | |/ |/| Use `Option` to encode empty text case in hit test methods
| * Use `Iterator::min_by` instead of `fold` in `hit_test`Libravatar Héctor Ramón Jiménez2021-09-152-26/+22
| |
| * Use `Option` to encode empty text case in hit test methodsLibravatar Héctor Ramón Jiménez2021-09-1510-52/+59
|/
* Merge pull request #1019 from hecrj/command-actionsLibravatar Héctor Ramón2021-09-1339-323/+556
|\ | | | | Platform-specific `Command` implementations
| * Write missing docs and `Debug` implementations for `web`Libravatar Héctor Ramón Jiménez2021-09-133-2/+22
| |
| * Write missing docs and `Debug` implementations for `native`Libravatar Héctor Ramón Jiménez2021-09-134-2/+51
| |
| * Implement `move_to` and `resize` commands for `window`Libravatar Héctor Ramón Jiménez2021-09-026-9/+50
| |
| * Hide implementation details of `Command` in `iced_futures`Libravatar Héctor Ramón Jiménez2021-09-025-82/+123
| |
| * Implement and expose `read` and `write` helpers for `clipboard`Libravatar Héctor Ramón Jiménez2021-09-024-1/+22
| |
| * Remove unnecessary `mut self` in `Command::map`Libravatar Héctor Ramón Jiménez2021-09-021-1/+1
| |
| * Remove `Clipboard` export in `iced`Libravatar Héctor Ramón Jiménez2021-09-022-2/+2
| |
| * Handle `clipboard::Action` in `iced_winit` shellLibravatar Héctor Ramón Jiménez2021-09-025-17/+57
| |
| * Make `Command` implementations platform-specificLibravatar Héctor Ramón Jiménez2021-09-0234-343/+364
| | | | | | | | | | | | | | | | | | 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!)
* | Merge pull request #1021 from akhilman/fix-glow-alpha-compositingLibravatar Héctor Ramón2021-09-041-1/+6
|\ \ | | | | | | Fix window holes behind transparent objects
| * | Fix window holes behind transparent objectsLibravatar Ildar Akhmetgaleev2021-09-021-1/+6
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | Without this change, the transparent objects composed over the opaque background creates the transparency of the entire window through which the desktop wallpaper could be seen. This problem manifested itself with glow backend and wayland compositor (gnome). This patch completely eliminates this problem. With it, the final image produced by glow backend corresponds to the image produced by the wgpu backend. Fixes #1018
* / Add Discord server link and download count to `README`Libravatar Héctor Ramón Jiménez2021-09-021-2/+3
|/
* Merge pull request #683 from hecrj/lyon-0.17Libravatar Héctor Ramón2021-09-014-51/+54
|\ | | | | Update `lyon` to `0.17` in `iced_graphics`
| * Rely on latest release of `lyon_tessellation`Libravatar Héctor Ramón Jiménez2021-09-011-2/+0
| |
| * Rely on new fast paths for basic shapes in `lyon`Libravatar Héctor Ramón Jiménez2021-08-301-0/+2
| | | | | | | | | | | | See [1] for more details. [1]: https://github.com/nical/lyon/pull/696
| * Use `FillTessellator::tessellate_rectangle` in `Frame`Libravatar Héctor Ramón Jiménez2021-08-261-10/+8
| |
| * Avoid reallocating tessellators in `Frame` methodsLibravatar Héctor Ramón Jiménez2021-08-261-27/+36
| |
| * Update `lyon` to `0.17` in `iced_graphics`Libravatar Héctor Ramón Jiménez2021-08-264-28/+24
| |
* | Merge pull request #788 from Liamolucko/web-in-memory-imageLibravatar Héctor Ramón2021-09-012-5/+21
|\ \ | | | | | | feat(web): Support in-memory image data
| * | Use data urls instead of blob URLsLibravatar Liam Murphy2021-04-102-18/+7
| | | | | | | | | | | | I didn't do this originally because I was half doing it in the first place to mess with Blob URLs, and it feels kinda wrong to be encoding it as base64 when that option is available. But not having memory leaks is more important.
| * | fix: Don't rely on image handle not being droppedLibravatar Liam Murphy2021-03-211-36/+21
| | | | | | | | | | | | It now causes a memory leak, though. :/
| * | Add `Blob` to web-sys featuresLibravatar Liam Murphy2021-03-211-0/+1
| | | | | | | | | | | | rust-analyzer lied to me
| * | feat(web): Support in-memory image dataLibravatar Liam Murphy2021-03-212-0/+41
| | | | | | | | | | | | | | | | | | I had to create two methods which basically do the same thing, `from_memory` and `from_slice`, but `from_memory` takes ownership of the bytes to be compatible with `iced_native`. Also, `Data` is incompatible, because if I stored the bytes in `Data` and created a new object URL every render, it would have caused a memory leak because bumpalo doesn't call destructors and there'd be no way to call URL.revokeObjectUrl on it. It's also more efficient this way.
* | | Update `winit` and `glutin` dependenciesLibravatar Héctor Ramón Jiménez2021-08-302-2/+2
| | | | | | | | | | | | Fixes #1005 and closes #1007.
* | | Add logo to `README` :tada:Libravatar Héctor Ramón Jiménez2021-08-272-15/+34
| |/ |/|
* | Merge pull request #670 from twitchyliquid64/text_backendLibravatar Héctor Ramón2021-08-2613-69/+335
|\ \ | | | | | | Refactor textual hit testing into a `renderer::Backend` method
| * | Rename `HitTestResult` to `Hit`Libravatar Héctor Ramón Jiménez2021-08-2614-48/+48
| | | | | | | | | | | | ... and also move it to a new `text` module in `iced_core`
| * | Implement textual hit testingLibravatar Tom2021-08-2113-75/+341
| | |
* | | Merge pull request #1000 from PolyMeilex/wgpu-0.10Libravatar Héctor Ramón2021-08-2515-120/+123
|\ \ \ | |/ / |/| | wgpu: Update to 0.10
| * | Rename `SwapChainError` to `SurfaceError` in `iced_graphics`Libravatar Héctor Ramón Jiménez2021-08-254-9/+9
| | |
| * | Add spaces around `iced_wgpu` feature list in `Cargo.toml` of `integration_wgpu`Libravatar Héctor Ramón Jiménez2021-08-251-1/+1
| | |