Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use data urls instead of blob URLs | 2021-04-10 | 2 | -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 dropped | 2021-03-21 | 1 | -36/+21 | |
| | | | | It now causes a memory leak, though. :/ | ||||
* | Add `Blob` to web-sys features | 2021-03-21 | 1 | -0/+1 | |
| | | | | rust-analyzer lied to me | ||||
* | feat(web): Support in-memory image data | 2021-03-21 | 2 | -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. | ||||
* | Overwrite `overlay` method in Widget implementation for Button (#764) | 2021-03-14 | 1 | -0/+8 | |
| | | | | | | | * Overwrite `overlay` method in Widget implementation for Button * Overwrite `overlay` method in Widget implementation for Button (cargo fmt) * Fix button overlay | ||||
* | Merge pull request #773 from hecrj/feature/clipboard-access-in-update | 2021-03-12 | 21 | -58/+170 | |
|\ | | | | | Clipboard access in `Application::update` | ||||
| * | Implement stub `Clipboard` in `iced_web` | 2021-03-11 | 3 | -4/+38 | |
| | | | | | | | | | | We need to figure out browser permissions and use of unstable `web-sys` APIs | ||||
| * | Expose `read` and `write` methods in `iced_winit::Clipboard` directly | 2021-03-11 | 1 | -4/+14 | |
| | | |||||
| * | Add `clipboard` argument to `Application::update` | 2021-03-11 | 18 | -50/+118 | |
|/ | |||||
* | Merge pull request #770 from hecrj/feature/clipboard-write | 2021-03-10 | 32 | -129/+227 | |
|\ | | | | | Write clipboard support and `TextInput` copy and cut behavior | ||||
| * | Implement copy and cut behavior for `TextInput` | 2021-03-10 | 1 | -0/+40 | |
| | | |||||
| * | Make `Clipboard` argument in `Widget` trait mutable | 2021-03-10 | 31 | -129/+175 | |
| | | |||||
| * | Introduce `write` method to `Clipboard` trait | 2021-03-10 | 2 | -0/+10 | |
| | | |||||
| * | Update `window_clipboard` to `0.2` | 2021-03-10 | 6 | -9/+11 | |
| | | |||||
* | | Merge pull request #771 from hecrj/fix/tooltip-layering | 2021-03-10 | 6 | -45/+89 | |
|\ \ | |/ |/| | Reposition `Tooltip` inside `viewport` bounds | ||||
| * | Reposition `Tooltip` inside `viewport` bounds | 2021-02-27 | 1 | -37/+60 | |
| | | | | | | | | ... only when out of bounds. | ||||
| * | Fix `viewport` argument in `PaneGrid` draw calls | 2021-02-27 | 5 | -8/+29 | |
| | | |||||
* | | Call `hash_layout` for `controls` in `pane_grid::TitleBar` | 2021-03-09 | 1 | -0/+4 | |
| | | |||||
* | | Merge pull request #760 from TriedAngle/master | 2021-03-05 | 2 | -6/+4 | |
|\ \ | |/ |/| | Update: rand in solar_system example | ||||
| * | Update: rand | 2021-03-03 | 2 | -6/+4 | |
|/ | |||||
* | Merge pull request #465 from yusdacra/tooltip-widget | 2021-02-24 | 15 | -16/+577 | |
|\ | | | | | Tooltip widget | ||||
| * | Hide `Text` as an implementation detail of `Tooltip` | 2021-02-24 | 2 | -11/+25 | |
| | | |||||
| * | Generate new layers only for clip primitives in `Layer::generate` | 2021-02-23 | 1 | -12/+28 | |
| | | |||||
| * | Add `style` and `padding` to `Tooltip` | 2021-02-23 | 3 | -31/+115 | |
| | | |||||
| * | Export `Tooltip` in `iced_glow` | 2021-02-23 | 2 | -0/+9 | |
| | | |||||
| * | Introduce `Tooltip::gap` to control spacing | 2021-02-23 | 3 | -6/+21 | |
| | | |||||
| * | Remove `viewport` from `Overlay::draw` for now | 2021-02-23 | 4 | -10/+2 | |
| | | |||||
| * | Change `Tooltip` to support `Text` only for now | 2021-02-23 | 15 | -303/+172 | |
| | | |||||
| * | feat(native): add Tooltip widget | 2021-02-15 | 23 | -18/+580 | |
| | | |||||
* | | Log event subscription error as a warning | 2021-02-23 | 1 | -1/+1 | |
| | | |||||
* | | Merge pull request #739 from hecrj/fix/beta-warnings | 2021-02-16 | 7 | -2/+10 | |
|\ \ | |/ |/| | Fix warnings in the `beta` toolchain | ||||
| * | Use string literal as panic message in `iced_glow` | 2021-02-16 | 1 | -2/+2 | |
| | | |||||
| * | Allow dead code explicitly in `iced_web` | 2021-02-16 | 6 | -0/+8 | |
|/ | |||||
* | Merge pull request #392 from unrelentingtech/image-debloat | 2021-02-13 | 6 | -23/+37 | |
|\ | | | | | Add image format options to reduce code bloat | ||||
| * | Fix `image` feature name in `glow` and `iced` | 2021-02-13 | 2 | -2/+2 | |
| | | |||||
| * | Add image format options to reduce code bloat, fixes #376 | 2021-02-13 | 8 | -25/+39 | |
|/ | |||||
* | Improve download_progress example (#283) | 2021-02-12 | 4 | -81/+168 | |
| | | | | | | | | | | | | | | | | | | | | | * 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> | ||||
* | Touch support for `PaneGrid` and `PickList` (#650) | 2021-02-12 | 4 | -70/+92 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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> | ||||
* | Merge pull request #725 from PolyMeilex/wgpu-7.0 | 2021-02-06 | 8 | -225/+261 | |
|\ | | | | | Update to wgpu 0.7 | ||||
| * | Enable filtering in `wgpu::image` | 2021-02-06 | 1 | -2/+2 | |
| | | |||||
| * | List `color_blend` first in `wgpu::quad` | 2021-02-06 | 1 | -4/+4 | |
| | | |||||
| * | Remove unnecessary line break in `triangle::msaa` | 2021-02-06 | 1 | -1/+0 | |
| | | |||||
| * | Use lowercase in `wgpu` labels for consistency | 2021-02-06 | 4 | -5/+5 | |
| | | |||||
| * | Use the latest release of `wgpu_glyph` | 2021-02-06 | 1 | -2/+2 | |
| | | |||||
| * | Change `PowerPreference` from `default()` to `LowPower` | 2021-02-03 | 1 | -1/+1 | |
| | | | | | | There is no reason to hide the fact that this is always in `LowPower` mode | ||||
| * | [wgpu 0.7] Update integration example | 2021-02-03 | 2 | -24/+24 | |
| | | |||||
| * | Fix TextureViewDimension for image | 2021-02-03 | 1 | -1/+1 | |
| | | | | | | wgpu validation helped to find this long standing type error | ||||
| * | Fix ScissorRect | 2021-02-03 | 1 | -1/+2 | |
| | | | | | | - Breaks `TODO: Address anti-aliasing adjustments properly` | ||||
| * | [wgpu 0.7] triangle/msaa disable filtering | 2021-02-03 | 1 | -2/+2 | |
| | | |||||
| * | [wgpu 0.7] Update image.rs | 2021-02-03 | 1 | -55/+66 | |
| | |