Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | factor new Application with file arg to function | Skyler Hawthorne | 2022-06-19 |
| | |||
* | 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 |
| | |||
* | 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 |
| | |||
* | 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 |