summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
| | |
| * | Rename `surf` variable to `surface`Libravatar Héctor Ramón Jiménez2021-08-251-1/+1
| | |
| * | Remove `SwapChain` associated type from `Compositor`Libravatar Héctor Ramón Jiménez2021-08-203-24/+16
| | |
| * | Update wgpu_glyphLibravatar Poly2021-08-191-1/+1
| | |
| * | wgpu: Update to 0.10Libravatar Poly2021-08-1914-89/+100
| | |
* | | Update `winit` and `glutin` dependenciesLibravatar Héctor Ramón Jiménez2021-08-192-2/+2
|/ /
* | Update `winit` and `glutin` dependenciesLibravatar Héctor Ramón Jiménez2021-08-163-8/+8
| |
* | Merge pull request #617 from sztomi/integration_glLibravatar Héctor Ramón2021-08-1415-9/+432
|\ \ | | | | | | Add integration_gl example
| * | Sort example list in `Cargo.toml`Libravatar Héctor Ramón Jiménez2021-08-131-3/+3
| | |
| * | Update `README` in `examples` directoryLibravatar Héctor Ramón Jiménez2021-08-132-3/+4
| | |
| * | Fix `panic!` warnings in `integration_opengl` exampleLibravatar Héctor Ramón Jiménez2021-08-132-2/+8
| | |
| * | Fix formatting of `integration_opengl` exampleLibravatar Héctor Ramón Jiménez2021-08-131-3/+9
| | |
| * | Rename `integration` examplesLibravatar Héctor Ramón Jiménez2021-08-1313-7/+9
| | |
| * | Add integration_gl exampleLibravatar Tamás Szelei2021-08-137-2/+410
|/ /
* | Merge pull request #994 from BillyDM/masterLibravatar Héctor Ramón2021-08-131-2/+2
|\ \ | | | | | | tweak default rule style
| * | tweak default rule styleLibravatar Billy Messenger2021-08-121-2/+2
|/ /
* | Merge pull request #654 from atbentley/hide-titlebar-macosLibravatar Héctor Ramón2021-08-124-8/+37
|\ \ | | | | | | Hide titlebar on macos
| * | Fix minor formatting nitpicksLibravatar Héctor Ramón Jiménez2021-08-121-0/+3
| | |