summaryrefslogtreecommitdiffstats
path: root/web (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* | Merge pull request #517 from Kaiden42/embeddedLibravatar Héctor Ramón2021-08-121-0/+165
|\ \ | | | | | | iced_web: Add an option to select the element
| * | Format codeLibravatar Kaiden422020-09-091-2/+2
| | |
| * | Add trait for embedded web applicationsLibravatar Kaiden422020-09-091-0/+165
| | |
* | | Merge pull request #776 from AldoMX/masterLibravatar Héctor Ramón2021-07-221-0/+5
|\ \ \ | | | | | | | | Added `select_all` method to `TextInput`.
| * | | Add empty `select_all` implementation for `TextInput` in `iced_web`Libravatar Héctor Ramón Jiménez2021-07-221-0/+5
| | |/ | |/|
* | | Move `menu` module from `iced_native` to `iced_core`Libravatar Héctor Ramón Jiménez2021-07-121-2/+2
| | |
* | | docs: update all 0.2 github links to 0.3Libravatar Yusuf Bera Ertan2021-06-141-1/+1
| | |
* | | Update disabled example of `Button` in docsLibravatar Héctor Ramón2021-06-101-8/+14
| | |
* | | Fix failing doctestsLibravatar Jonas Matser2021-06-101-1/+7
| | |
* | | Adds doc comment for disabled buttonLibravatar Jonas Matser2021-06-101-0/+11
| | | | | | | | | | | | Makes disabled button behavior consistent in web
* | | Fix formatLibravatar Kaiden422021-06-031-20/+23
| | |
* | | Add `Toggler` widget to `iced_web`Libravatar Kaiden422021-06-033-0/+215
| | |
* | | Replace ignored doc-tests with additional documentation for `Padding`Libravatar Héctor Ramón2021-06-016-30/+0
| | |
* | | Fix unused variable warning in `iced_web::text_input`Libravatar Héctor Ramón2021-06-011-1/+1
| | |
* | | Add support for asymmetrical paddingLibravatar Ben LeFevre2021-06-018-85/+92
| | |
* | | Bump versions :tada:Libravatar Héctor Ramón Jiménez2021-03-312-5/+5
|/ /
* | Implement stub `Clipboard` in `iced_web`Libravatar Héctor Ramón Jiménez2021-03-112-2/+32
| | | | | | | | | | We need to figure out browser permissions and use of unstable `web-sys` APIs
* | Allow dead code explicitly in `iced_web`Libravatar Héctor Ramón Jiménez2021-02-166-0/+8
| |
* | Bump versions :tada:Libravatar Héctor Ramón Jiménez2020-11-262-5/+5
| |
* | Update example links to point to `0.2` branchLibravatar Héctor Ramón Jiménez2020-11-261-1/+1
| |
* | Update `README`s of subcratesLibravatar Héctor Ramón Jiménez2020-11-261-2/+0
| |
* | Update graphs in crate docsLibravatar Héctor Ramón Jiménez2020-11-261-2/+0
| |
* | Use recently stabilized intra-doc linksLibravatar Héctor Ramón Jiménez2020-11-2619-286/+12
| | | | | | | | See RFC: https://github.com/rust-lang/rfcs/blob/master/text/1946-intra-rustdoc-links.md
* | Fix broken links in API documentationLibravatar Héctor Ramón Jiménez2020-11-261-2/+0
|/
* Use `String::from_str_in` in `iced_web`Libravatar Héctor Ramón Jiménez2020-07-016-40/+67
|
* Update `dodrio` dependency in `iced_web`Libravatar Héctor Ramón Jiménez2020-07-012-13/+10
|
* Merge pull request #292 from TomPridham/feature/accessibility-webLibravatar Héctor Ramón2020-07-013-10/+79
|\ | | | | add some accessibility features to web widgets
| * Fix empty `id` and `name` attributes in `iced_web`Libravatar Héctor Ramón Jiménez2020-07-012-23/+37
| |
| * add some accessibility features to web widgetsLibravatar Tom Pridham2020-04-213-6/+61
| |
* | Update `Slider` docs in `iced_web`Libravatar Héctor Ramón Jiménez2020-06-131-1/+2
| |
* | Make `Slider` value generic in `iced_web`Libravatar Héctor Ramón Jiménez2020-06-132-21/+41
| |
* | Add `step` member to slider widgetsLibravatar Sebastian Zivota2020-06-111-2/+14
| | | | | | | | | | | | Both the native and the web slider now have a member `step` to control the least possible change of the slider's value. It defaults to 1.0 for all sliders and can be adjusted with the step method.
* | Rename `MouseCursor` to `mouse::Interaction`Libravatar Héctor Ramón Jiménez2020-04-301-1/+1
| |
* | Remove inconsistent `input` module in `iced_native`Libravatar Héctor Ramón Jiménez2020-04-301-2/+2
| |
* | Move `MouseCursor` to `iced_core`Libravatar Héctor Ramón Jiménez2020-04-291-1/+1
| |
* | Expose `Rectangle` in `iced_web`Libravatar Héctor Ramón Jiménez2020-04-281-1/+1
|/
* Bump versions :tada:Libravatar Héctor Ramón Jiménez2020-04-151-1/+1
|
* Fix `Checkbox` and `Radio` API in `iced_web`Libravatar Héctor Ramón Jiménez2020-04-142-4/+9
|
* Bump all versions :tada:Libravatar Héctor Ramón Jiménez2020-04-022-5/+8
|
* Fix a couple of links in documentationLibravatar Héctor Ramón Jiménez2020-04-021-1/+1
|
* Remove subcrates `CHANGELOG`Libravatar Héctor Ramón Jiménez2020-04-021-19/+0
| | | | | | | | | | | | At this stage, it is important to allow the library to change rapidly. Because of this, keeping a log of changes can be counter-productive. We do not want pin down design decisions by writing detailed changelogs (sunk cost fallacy). Once the library and its different parts start becoming more stable and mature, we will reintroduce changelogs accordingly. For now, we will keep a main `CHANGELOG` file just for the `iced` crate.
* Update `iced_web` build documentationLibravatar Héctor Ramón Jiménez2020-04-022-2/+4
|
* Merge pull request #246 from hecrj/feature/application-flagsLibravatar Héctor Ramón2020-03-311-14/+25
|\ | | | | Application flags
| * Call `Runtime::enter` properly in `iced_web`Libravatar Héctor Ramón Jiménez2020-03-301-3/+8
| |
| * Allow passing external state to `Application::new`Libravatar Héctor Ramón Jiménez2020-03-301-12/+18
| |