Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | fix(command): write-quit: do not quit if write fails | Skyler Hawthorne | 2022-06-19 |
| | | | | | | | | | During write-quit, if the file fails to be written for any reason, helix will still quit without saving the changes. This fixes this behavior by introducing fallibility to the asynchronous job queues. This will also benefit all contexts which may depend on these job queues. Fixes #1575 | ||
* | add test for write-quit happy path | Skyler Hawthorne | 2022-06-19 |
| | |||
* | rename test helpers | Skyler Hawthorne | 2022-06-19 |
| | |||
* | consolidate idle timer logic, make conditional | Skyler Hawthorne | 2022-06-19 |
| | |||
* | ignore failing write path tests until fixes are merged | Skyler Hawthorne | 2022-06-19 |
| | |||
* | rename top level module to satisfy cargo fmt | Skyler Hawthorne | 2022-06-19 |
| | |||
* | use a read only file to ensure write failure | Skyler Hawthorne | 2022-06-19 |
| | |||
* | use system's appropriate line ending | Skyler Hawthorne | 2022-06-19 |
| | |||
* | don't read from stdin for integration tests | Skyler Hawthorne | 2022-06-19 |
| | |||
* | use env var for integration test log level | Skyler Hawthorne | 2022-06-19 |
| | |||
* | use test terminal backend for integration tests | Skyler Hawthorne | 2022-06-19 |
| | |||
* | Add more context; Editor::open doesn't need to own path | Skyler Hawthorne | 2022-06-19 |
| | |||
* | use Results in integration tests for more error context | Skyler Hawthorne | 2022-06-19 |
| | |||
* | use idle timer instead of fixed timeout | Skyler Hawthorne | 2022-06-19 |
| | |||
* | tests for buffer-close | Skyler Hawthorne | 2022-06-19 |
| | |||
* | tests for serialized writes | Skyler Hawthorne | 2022-06-19 |
| | |||
* | use main application event loop | Skyler Hawthorne | 2022-06-19 |
| | | | | Use the Application's main event loop to allow LSP, file writes, etc | ||
* | add test for ensuring the initial cursor on a newly opened file | Skyler Hawthorne | 2022-06-19 |
| | |||
* | reorganize tests into groups | Skyler Hawthorne | 2022-06-19 |
| | |||
* | refactor helpers, use new test helpers | Skyler Hawthorne | 2022-06-19 |
| | |||
* | Fix initial selection of Document in new view | Skyler Hawthorne | 2022-06-19 |
| | | | | | | | | | | | When a new View of a Document is created, a default cursor of 0, 0 is created, and it does not get normalized to a single width cursor until at least one movement of the cursor happens. This appears to have no practical negative effect that I could find, but it makes tests difficult to work with, since the initial selection is not what you expect it to be. This changes the initial selection of a new View to be the width of the first grapheme in the text. | ||
* | improve test harness | Skyler Hawthorne | 2022-06-19 |
| | | | | | | | * Use new macro syntax for encoding sequences of keys * Make convenience helpers for common test pattern * Use indoc for inline indented raw strings * Add feature flag for integration testing to disable rendering | ||
* | Integration testing harness | Blaž Hrastnik | 2022-06-19 |
| | |||
* | Simplify handle_terminal_events signature | Blaž Hrastnik | 2022-06-19 |
| | |||
* | move config parsing back into main | Skyler Hawthorne | 2022-06-19 |
| | |||
* | views -> buffers in write-all (#2788) | Gygaxis Vainhardt | 2022-06-16 |
| | |||
* | Update auto-pairs and idle-timeout when the config is reloaded (#2736) | Bjorn Ove Hay Andersen | 2022-06-15 |
| | |||
* | Improve markdown list rendering (#2687) | Frojdholm | 2022-06-15 |
| | | | | | | | * Cleanup old commented code * Implement line breaks in markdown rendering * Implement markdown nested, numbered and multiparagraph lists | ||
* | Better handling of symlinks (#2718) | Roland Kovacs | 2022-06-15 |
| | | | | | | | | | | - Add file-picker.follow-symlinks configuration option (default is true), this also controls if filename and directory completers follow symlinks. - Update FilePicker to set editor error if opening a file fails, instead of panicing. Fix #1548 Fix #2246 | ||
* | Add a check to prevent re-selecting same range (#2760) | Ryang Sohn | 2022-06-14 |
| | |||
* | Add docstring for language_server!() macro (#2750) | Gokul Soumya | 2022-06-12 |
| | |||
* | Do not add extra line breaks in markdown lists (#2689) | Frojdholm | 2022-06-08 |
| | |||
* | Refactor push_jump so we're not needlessly fetching doc twice | Blaž Hrastnik | 2022-06-06 |
| | |||
* | prompt: If submitting empty prompt, use default (last used) | Blaž Hrastnik | 2022-06-06 |
| | |||
* | Add shell insert commands to typable and config (#2589) | Termina94 | 2022-06-05 |
| | | | | | | | * Add shell insert commands to typable and config * generate docs Co-authored-by: Dean Revell <revell@gmail.com> | ||
* | Fix crash due to cycles when replaying macros (#2647) | gavynriebau | 2022-06-05 |
| | | | | | | | | In certain circumstances it was possible to get into an infinite loop when replaying macros such as when different macros attempt to replay each other. This commit adds changes to track which macros are currently being replayed and prevent getting into infinite loops. | ||
* | ensure :quit and :quit! take no arguments (#2654) | Michael Davis | 2022-06-05 |
| | |||
* | Avoid modifying jumplist until jumping to ref (#2670) | yzwduck | 2022-06-05 |
| | | | | | | When a goto command is cancelled, the jumplist should remain unchanged. This commit delays saving the current selection to the jumplist until jumping to a reference. | ||
* | append `set_line_ending` to document history (#2649) | Kirawi | 2022-06-02 |
| | |||
* | fix: lsp: be more defensive about URI conversions | Blaž Hrastnik | 2022-06-02 |
| | |||
* | fix: lsp: be more defensive about URI conversions | Blaž Hrastnik | 2022-06-02 |
| | |||
* | Improve Readability (#2639) | Ryan Russell | 2022-06-01 |
| | |||
* | Fix unwrap error when undo after `shell_append_output` (#2625) | Andrey Tkachenko | 2022-05-31 |
| | |||
* | Update to ropey 1.5 | Blaž Hrastnik | 2022-05-30 |
| | |||
* | Bump dependencies, allow retain_mut for now | Blaž Hrastnik | 2022-05-29 |
| | |||
* | build(deps): bump once_cell from 1.10.0 to 1.12.0 | dependabot[bot] | 2022-05-25 |
| | | | | | | | | | | | | | | | Bumps [once_cell](https://github.com/matklad/once_cell) from 1.10.0 to 1.12.0. - [Release notes](https://github.com/matklad/once_cell/releases) - [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md) - [Commits](https://github.com/matklad/once_cell/compare/v1.10.0...v1.12.0) --- updated-dependencies: - dependency-name: once_cell dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> | ||
* | Add shrink equivalent of extend_to_line_bounds (#2450) | Daniel S Poulin | 2022-05-22 |
| | | | | | | | | | | | * Add shrink equivalent of extend_to_line_bounds * Add a check for being past rope end in end position calc * Include the EOL character in calculations * Bind to `A-x` for now * Document new keybind | ||
* | Add theme key for picker separator (#2523) | kyrime | 2022-05-22 |
| | | | Co-authored-by: ky <> | ||
* | Fix panic when reloading a shrunk file (#2506) | Leoi Hung Kin | 2022-05-22 |
| | | | | | | | * fix panic when reloading a shrunk file * linting * use scrolloff | ||
* | Implement view swapping | Roland Kovacs | 2022-05-21 |
| | | | | | | | * add Tree::swap_split_in_direction() * add swap_view_{left,down,up,right} commands, bound to H,J,K,L respectively in the Window menu(s) * add test for view swapping |