Commit graph

295 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
4808fcbd7e Bump versions 🎉 2020-04-15 08:58:14 +02:00
Héctor Ramón
ce65097834
Merge pull request #290 from AlisCode/aliscode/288/remove-unnecessary-static
Remove unnecessary 'static lifetimes on `Renderer` traits
2020-04-13 04:49:10 +02:00
Héctor Ramón Jiménez
5e47238489 Rename leftover TextInputWidget to Marker 2020-04-13 04:38:35 +02:00
Olivier Pinon
41f6a325e9 #288 Renamed XXXWidget to Marker 2020-04-12 01:20:40 +02:00
Olivier Pinon
f7d7ab1ba9 Remove unnecessary 'static lifetime on Renderer 2020-04-12 00:57:44 +02:00
Héctor Ramón Jiménez
f652e84187 Make cursor unavailable on leave in iced_winit
For now, we just set the cursor position to some negative coordinates.
This is a temporary hack until we are able to encode cursor
availability. Layers and/or multi-window support will make this
apparent.
2020-04-12 00:38:18 +02:00
Héctor Ramón
703beae05e
Merge pull request #268 from FabianLars/ctrl-del
implement ctrl + del on text-input
2020-04-07 04:39:16 +02:00
FabianLars
6ca97788b2 implement ctrl + del on text-input 2020-04-06 15:22:52 +02:00
Dmitry Kashitsyn
1a9bfd9e73
Radiobutton label is now impl Into<String> 2020-04-05 12:43:18 +07:00
Dmitry Kashitsyn
15f5b93a0d
Checkbox label is now impl Into<String> 2020-04-05 11:48:44 +07: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
4a498ed0e3 Fix window::Renderer link in iced_winit docs 2020-04-02 03:58:47 +02:00
Héctor Ramón Jiménez
2ef1b4317a Remove subcrates CHANGELOG
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.
2020-04-02 03:44:14 +02:00
Héctor Ramón Jiménez
703f7657e1 Add example to pane_grid module documentation 2020-04-02 03:44:14 +02:00
Héctor Ramón Jiménez
c114be034a Fix typo in text_input::Renderer::draw docs 2020-04-02 03:44:14 +02:00
Héctor Ramón Jiménez
1b0cb0d13a Add example to iced_native::UserInterface 2020-04-02 03:44:14 +02:00
Héctor Ramón Jiménez
1f85e1167c Add examples to iced_native::Widget 2020-04-02 03:44:14 +02:00
Héctor Ramón Jiménez
4c44517556 Fix minor documentation issues 2020-04-02 03:44:14 +02:00
Héctor Ramón
3bf938f65f
Merge pull request #249 from michael-swan/master
Add Ctrl+Backspace text field behaviour
2020-03-31 17:56:19 +02:00
Héctor Ramón Jiménez
990b4aa0b7 Merge branch 'master' into feature/container-padding 2020-03-31 17:11:58 +02:00
Michael Swan
4ca54836a8 Add Ctrl+Backspace text field behaviour 2020-03-30 22:37:28 -05:00
Héctor Ramón Jiménez
749a9588d7 Implement padding support for Container 2020-03-31 01:21:51 +02:00
Héctor Ramón Jiménez
f4776a46bb Genericize From implementation for image::Handle 2020-03-31 00:51:59 +02:00
Héctor Ramón Jiménez
ae009158cc Implement svg::Handle::from_memory
Useful if you already have your SVG data in memory.
2020-03-31 00:39:18 +02:00
Héctor Ramón Jiménez
d07304fb85 Hash type ids in Widget::hash_layout impls 2020-03-30 17:28:55 +02:00
Théo Gaillard
0539cd1b85
refactor: remove not mandatory static lifetime 2020-03-30 06:39:10 +08:00
Kai Mast
cbe9298a0b Clippy 2020-03-28 15:25:55 -07:00
Héctor Ramón
4d3afe2f0c
Merge pull request #236 from hecrj/improvement/svg-handle-from
Genericize `From` implementation for `svg::Handle`
2020-03-26 19:33:12 +01:00
Héctor Ramón Jiménez
893841bfbd Genericize From implementation for svg::Handle 2020-03-26 16:38:29 +01:00
Héctor Ramón Jiménez
338fff35ac Make subscription::Recipe cross-platform
By removing the `Send` requirement when targetting Wasm
2020-03-26 14:55:02 +01:00
Héctor Ramón Jiménez
bc10ca501b Remove unnecessary borrows in Editor 2020-03-25 14:07:32 +01:00
Héctor Ramón Jiménez
cb32326fe6 Fix edge cases when inserting text in Editor 2020-03-25 14:03:15 +01:00
Héctor Ramón Jiménez
30f02345a8 Implement Renderer::find_cursor_position 2020-03-25 13:57:02 +01:00
Héctor Ramón Jiménez
d6914d79a1 Rename is_pressed to is_dragging in text_input 2020-03-24 21:48:54 +01:00
Héctor Ramón Jiménez
5e6970b615 Improve docs of text_input::State::cursor 2020-03-24 21:47:43 +01:00
Héctor Ramón Jiménez
6791c0b208 Remove commented code in text_input 2020-03-24 21:46:20 +01:00
Héctor Ramón Jiménez
857d65c1ce Write documentation for text_input::Cursor 2020-03-24 21:43:28 +01:00
Héctor Ramón Jiménez
735d9f049c Fix edge case in Editor::backspace 2020-03-24 20:57:03 +01:00
Héctor Ramón Jiménez
6c47a40730 Create text_input::Editor to hold editing logic 2020-03-24 20:51:22 +01:00
Héctor Ramón Jiménez
28382a47d3 Move Value to its own module 2020-03-24 20:36:33 +01:00
Héctor Ramón Jiménez
6b89dd7db9 Improve text_input::cursor API 2020-03-24 20:23:31 +01:00
Héctor Ramón Jiménez
763f64b653 Avoid panic in Click::is_consecutive 2020-03-24 19:14:27 +01:00
Héctor Ramón Jiménez
e77fa175aa Merge branch 'master' into feature/text-selection 2020-03-24 19:08:21 +01:00
Héctor Ramón Jiménez
7cb1452d29 Convert mouse::State into mouse::Click 2020-03-24 19:03:17 +01:00
Mark Friedenbach
e5d264caf0 Remove excess whitespace from end of line to comply with cargo fmt. 2020-03-20 15:51:05 -07:00
Héctor Ramón Jiménez
fb744a338c Fix links in pane_grid documentation 2020-03-20 11:56:39 +01:00
Héctor Ramón Jiménez
cfc2b55e05 Rename Internal::idle_pane to active_pane 2020-03-20 11:54:42 +01:00
Héctor Ramón Jiménez
33f33ed4e3 Check cursor is in-bounds before resizing panes 2020-03-20 11:53:08 +01:00
Héctor Ramón Jiménez
420275793e Fix minor documentation issues in pane_grid 2020-03-19 09:43:36 +01:00
Héctor Ramón Jiménez
bd74c4e577 Write documentation for pane_grid 2020-03-19 09:30:54 +01:00