Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | document should save even if formatter fails | Skyler Hawthorne | 2022-10-19 |
| | |||
* | fix write scratch buffer to file | Skyler Hawthorne | 2022-10-19 |
| | |||
* | fix buffer-close | Skyler Hawthorne | 2022-10-19 |
| | |||
* | fix(write): do not set new path on document until write succeeds | Skyler Hawthorne | 2022-10-19 |
| | | | | | | If a document is written with a new path, currently, in the event that the write fails, the document still gets its path changed. This fixes it so that the path is not updated unless the write succeeds. | ||
* | chore(write): serialize write operations within a Document | Skyler Hawthorne | 2022-10-19 |
| | | | | | | | | | | | | | | | The way that document writes are handled are by submitting them to the async job pool, which are all executed opportunistically out of order. It was discovered that this can lead to write inconsistencies when there are multiple writes to the same file in quick succession. This seeks to fix this problem by removing document writes from the general pool of jobs and into its own specialized event. Now when a user submits a write with one of the write commands, a request is simply queued up in a new mpsc channel that each Document makes to handle its own writes. This way, if multiple writes are submitted on the same document, they are executed in order, while still allowing concurrent writes for different documents. | ||
* | replace phrase in tests | Skyler Hawthorne | 2022-06-19 |
| | |||
* | factor new Application with file arg to function | Skyler Hawthorne | 2022-06-19 |
| | |||
* | add test for write-quit happy path | 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 |