Héctor Ramón
dcd362813a
Merge pull request #788 from Liamolucko/web-in-memory-image
...
feat(web): Support in-memory image data
2021-09-01 13:41:59 +07:00
Liam Murphy
11f29bca86
Use data urls instead of blob URLs
...
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.
2021-04-10 17:18:04 +10:00
Héctor Ramón Jiménez
0864e63bde
Bump versions 🎉
2021-03-31 20:07:17 +02:00
Liam Murphy
e9d122b1aa
Add Blob to web-sys features
...
rust-analyzer lied to me
2021-03-21 14:40:39 +11:00
Liam Murphy
1d85b6e887
feat(web): Support in-memory image data
...
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.
2021-03-21 14:36:06 +11:00
Héctor Ramón Jiménez
f78108a514
Bump versions 🎉
2020-11-26 16:47:41 +01:00
Héctor Ramón Jiménez
d873c37e31
Update dodrio dependency in iced_web
2020-07-01 07:19:51 +02:00
Héctor Ramón Jiménez
6b4a4655c1
Make Slider value generic in iced_web
2020-06-13 14:59:09 +02:00
Héctor Ramón Jiménez
4808fcbd7e
Bump versions 🎉
2020-04-15 08:58:14 +02:00
Héctor Ramón Jiménez
d0cca658a1
Bump all versions 🎉
2020-04-02 17:40:20 +02:00
Héctor Ramón Jiménez
57aed1d5c6
Implement TextInput::on_submit support in iced_web
2020-02-06 03:06:06 +01:00
Héctor Ramón Jiménez
9a06e481b7
Add Handle and Data to image in iced_web
2020-02-05 04:13:55 +01:00
Héctor Ramón Jiménez
28fd9feb40
Support styling for Button in iced_web
2020-02-05 01:04:46 +01:00
Héctor Ramón Jiménez
90690702e1
Add Application::Executor associated type
2020-01-20 04:47:36 +01:00
Héctor Ramón Jiménez
b5b17ed4d8
Create iced_futures and wire everything up
2020-01-19 10:17:44 +01:00
Héctor Ramón Jiménez
9ca65c9f18
Fix missing Subscription type in iced_web
2019-12-18 23:57:02 +01:00
Héctor Ramón Jiménez
862859142b
Add CHANGELOG to subcrates
2019-11-25 14:55:14 +01:00
Héctor Ramón Jiménez
9f3abe9202
Spawn Command futures in iced_web
2019-11-24 11:26:28 +01:00
Héctor Ramón Jiménez
d0f79d2779
Make tour work with iced_web again 🎉
...
- Implements `TextInput`, `Scrollable`, and `Container`
- Adds basic style generation
2019-11-23 20:23:38 +01:00
Héctor Ramón Jiménez
c7ef9d0da7
Connect iced_web with iced properly
2019-10-23 02:33:07 +02:00
Héctor Ramón Jiménez
b9e0f74948
Create iced_core and iced_native
2019-09-20 19:15:31 +02:00
Héctor Ramón Jiménez
dd093c79d7
Use futures-preview instead of futures
2019-09-16 18:04:23 +02:00
Héctor Ramón Jiménez
655978f480
Draft nodes for missing widgets
2019-09-15 18:53:13 +02:00
Héctor Ramón Jiménez
27ac85a9d9
Draft web runtime and widgets
2019-09-14 20:54:50 +02:00
Héctor Ramón Jiménez
a97401aed2
Rethink workspace structure
2019-09-14 19:16:06 +02:00