Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | Clamp `text::measure` to `Buffer::size` | 2023-12-01 | 1 | -1/+6 | ||
| |/ |/| | ||||||
* | | Refactor texture image filtering | 2023-11-11 | 2 | -2/+13 | ||
| | | | | | | | | | | | | - Support only `Linear` or `Nearest` - Simplify `Layer` groups - Move `FilterMethod` to `Image` and `image::Viewer` | |||||
* | | Migrate twox-hash -> xxhash_rust. Switch to Xxh3 for better performance. | 2023-11-11 | 1 | -5/+1 | ||
| | | | | | | | | xxhash-rust is more maintained, built against `::core`, so no workaround for wasm is necessary. Switch to Xxh3 for better performance, which shows when loading/hashing image buffers. | |||||
* | | Fix intra-doc broken links | 2023-10-27 | 1 | -1/+1 | ||
| | | ||||||
* | | Write documentation for the new text APIs | 2023-10-27 | 5 | -1/+59 | ||
| | | ||||||
* | | Merge branch 'master' into text-editor | 2023-10-27 | 6 | -13/+7 | ||
|\ \ | ||||||
| * | | Centralize `clippy` lints in `.cargo/config.toml` | 2023-09-20 | 1 | -6/+0 | ||
| | | | ||||||
| * | | Fix `clippy::semicolon_if_nothing_returned` | 2023-09-20 | 4 | -5/+5 | ||
| | | | ||||||
| * | | Merge pull request #2092 from nyurik/clippy | 2023-09-19 | 1 | -1/+1 | ||
| |\ \ | | | | | | | | | Chore: Apply some minor clippy fixes | |||||
| | * | | Chore: Apply some minor clippy fixes | 2023-09-19 | 1 | -1/+1 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | * Use `.elapsed()` for duration * Use direct iteration without calling `.iter()` and the like * order fields in the `Text` struct creation as declared | |||||
| * | | | Chore: Apply clippy docs keyword quoting | 2023-09-19 | 1 | -1/+1 | ||
| |/ / | | | | | | | | | | Add quotes a number of doc strings like `sRGB` | |||||
* | | | Fix gamma correction for colored glyphs in `iced_wgpu` | 2023-09-19 | 1 | -3/+9 | ||
| | | | ||||||
* | | | Implement `Scroll` action in `text::editor` | 2023-09-19 | 1 | -0/+6 | ||
| | | | ||||||
* | | | Flesh out the `editor` example a bit more | 2023-09-18 | 1 | -1/+7 | ||
| | | | ||||||
* | | | Update `version` properly when `FontSystem` changes in `text::editor` | 2023-09-18 | 1 | -0/+3 | ||
| | | | ||||||
* | | | Fix inconsistent `expect` messages in `text::editor` | 2023-09-18 | 1 | -3/+3 | ||
| | | | ||||||
* | | | Shape as needed only in `update` during `layout` | 2023-09-18 | 1 | -4/+2 | ||
| | | | ||||||
* | | | Find correct `last_visible_line` in `Editor::highlight` | 2023-09-18 | 1 | -5/+21 | ||
| | | | ||||||
* | | | Avoid adding unnecessary spans when syntax highlighting | 2023-09-17 | 1 | -11/+13 | ||
| | | | ||||||
* | | | Notify `Highlighter` of topmost line change | 2023-09-17 | 1 | -18/+40 | ||
| | | | ||||||
* | | | Use `saturating_sub` for `last_visible_line` in `text::Editor` | 2023-09-17 | 1 | -2/+3 | ||
| | | | ||||||
* | | | Implement basic syntax highlighting with `syntect` in `editor` example | 2023-09-17 | 1 | -3/+22 | ||
| | | | ||||||
* | | | Draft `Highlighter` API | 2023-09-17 | 2 | -1/+74 | ||
| | | | ||||||
* | | | Remove unnecessary `into_iter` call in `graphics::text` | 2023-09-16 | 1 | -5/+4 | ||
| | | | ||||||
* | | | Use fork of `cosmic-text` with some minor fixes | 2023-09-16 | 1 | -35/+1 | ||
| | | | ||||||
* | | | Implement `Copy` and `Paste` actions for `text::Editor` | 2023-09-16 | 1 | -0/+11 | ||
| | | | ||||||
* | | | Implement methods to query the contents of a `TextEditor` | 2023-09-16 | 1 | -0/+41 | ||
| | | | ||||||
* | | | Remove `min_bounds` field in `graphics::text::Editor` | 2023-09-14 | 1 | -17/+0 | ||
| | | | ||||||
* | | | Remove `Editor::min_bounds` and use `bounds` instead | 2023-09-14 | 1 | -4/+0 | ||
| | | | ||||||
* | | | Implement `Action::SelectLine` in `text::Editor` | 2023-09-14 | 1 | -1/+18 | ||
| | | | ||||||
* | | | Implement `Action::SelectWord` in `text::Editor` | 2023-09-14 | 1 | -1/+60 | ||
| | | | ||||||
* | | | Implement motion selection in `text::Editor` | 2023-09-14 | 1 | -1/+20 | ||
| | | | ||||||
* | | | Handle motions when a selection is present in `text::Editor` | 2023-09-14 | 1 | -23/+47 | ||
| | | | ||||||
* | | | Fix `Cursor::Caret` position on lines that wrap on whitespace | 2023-09-14 | 1 | -2/+12 | ||
| | | | ||||||
* | | | Fix scrolling offset for `Cursor::Selection` | 2023-09-14 | 1 | -43/+31 | ||
| | | | ||||||
* | | | Fix `clippy` lints | 2023-09-13 | 1 | -9/+18 | ||
| | | | ||||||
* | | | Introduce `Motion` concept in `core::text::editor` | 2023-09-13 | 1 | -24/+82 | ||
| | | | ||||||
* | | | Implement `Cursor::Selection` calculation in `Editor::cursor` | 2023-09-13 | 1 | -3/+115 | ||
| | | | ||||||
* | | | Fix subline positioning in `Editor::cursor` | 2023-09-12 | 1 | -1/+1 | ||
| | | | ||||||
* | | | Fix cursor offset with `Affinity::After` at the end of lines in `Editor::cursor` | 2023-09-12 | 1 | -1/+4 | ||
| | | | ||||||
* | | | Return `Cursor::Caret` if selection matches cursor position in `Editor::cursor` | 2023-09-12 | 1 | -5/+8 | ||
| | | | ||||||
* | | | Add `Enter` variant to `Action` in `text::Editor` | 2023-09-12 | 1 | -0/+1 | ||
| | | | ||||||
* | | | Draft `Editor` API and `TextEditor` widget | 2023-09-12 | 5 | -0/+360 | ||
| | | | ||||||
* | | | Make `FontSystem` global and simplify `Paragraph` API | 2023-09-11 | 4 | -144/+89 | ||
|/ / | ||||||
* | | Fix (more) broken intradoc links | 2023-09-10 | 2 | -4/+4 | ||
| | | | | | | | | Good thing I just set up CI earlier for this :sweat_smile: | |||||
* | | Merge branch 'master' into explicit-text-caching | 2023-09-10 | 8 | -17/+20 | ||
|\ \ | ||||||
| * | | Fix outstanding broken intradoc links | 2023-09-09 | 4 | -9/+8 | ||
| | | | ||||||
| * | | Deny `broken_intradoc_links` and verify documentation in CI | 2023-09-09 | 1 | -2/+3 | ||
| | | | ||||||
| * | | Fix majority of unresolved documentation links | 2023-09-09 | 3 | -5/+5 | ||
| | | | ||||||
* | | | Count grapheme clusters in `Paragraph::grapheme_position` | 2023-09-09 | 1 | -2/+21 | ||
| | | |