summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2023-08-12Add Modified Line exec command featureTim Oram
This adds an optional feature, where a exec command is injected with the provided script after every modified line.
2023-08-11Refactor TodoFile to use an options structTim Oram
The TodoFile struct was using discrete options in the new function, but this is not sustainable as new options are added. This adds a new TodoFileOptions struct, that contains the TodoFile options.
2023-08-11Add original values to LineTim Oram
This adds to the Line struct, the original action, content, and option. This includes a refactor in how Line's are constructed, and a rename of the line parse function from new to parse.
2023-08-07Bump git2 from 0.15.0 to 0.17.2Tim Oram
2023-08-07Address nightly lintsTim Oram
2023-08-07Bump bitflags from 1.3.2 to 2.3.3Tim Oram
2023-08-07Fix action_line macro selected assertionTim Oram
The action_line macro was not correctly asserting that unselected lines were not selected. This updates the assertion to check selection on unselected line, fixes some error output formatting around selected lines, and fixes the few tests that were not using the correct selected action line.
2023-08-06Remove default styled option in render testsTim Oram
This makes the addition of rendering styles in render based tests optional. By default styles are now omitted and must be explicitly enabled in the render options. To achieve this, existing tests have been updated to either remove unneeded styling assertions, or to enable style rendering.
2023-08-06Add action_line macro to core crate testsTim Oram
Using the newly added assert_rendered_output changes for dynamic assertions, create a new action_line macro for matching lines that contain todo line actions. Also refactor the existing tests to take advantage of some of the new dynamic matchers, and body only matching.
2023-08-06Refactor assert_rendered_output internalsTim Oram
Previously assert_rendered_output used String building to generate matching lines. While this works, it makes adding more dynamic pattern matching impossible. This updates those Strings into a set of LinePattern matchers, that can match dynamically, based on the type, instead of String comparisons. As well, previously, assert_rendered_output matched against the entire rendered output, including an often repeated header. This also provides a new mode for the macro, that will only render and match against the view body. This should allow assertions to be simplified in cases where the header values are not important.
2023-08-01Bump thiserror from 1.0.43 to 1.0.44dependabot[bot]
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.43 to 1.0.44. - [Release notes](https://github.com/dtolnay/thiserror/releases) - [Commits](https://github.com/dtolnay/thiserror/compare/1.0.43...1.0.44) --- updated-dependencies: - dependency-name: thiserror dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2023-08-01Add Operation::Load to HistoryTim Oram
Add to the todo_file History a load operation tracker, that will acts as a sentinel value for the start of the undo history queue. This will enable hooking into the start of the history queue. In order to expose the additional information, the Operation is now returned from the History undo/redo methods.
2023-08-01Add SOURCE_DATE_EPOCH to buildBernhard M. Wiedemann
Add an optional SOURCE_DATE_EPOCH environment variable, to make the builds reproducible. Co-authored-by: Tim Oram <dev@mitmaro.ca> Co-authored-by: Bernhard M. Wiedemann <bwiedemann@suse.de>
2023-07-25Bump tempfile from 3.6.0 to 3.7.0dependabot[bot]
Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.6.0 to 3.7.0. - [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md) - [Commits](https://github.com/Stebalien/tempfile/compare/v3.6.0...v3.7.0) --- updated-dependencies: - dependency-name: tempfile dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2023-07-24Remove proc-macro2 dependencyTim Oram
A direct dependency on proc-macro2 was added to address a compile issue, now that the project compiles successfully without the direct dependency, it has been removed.
2023-07-22Fix and clean workflowsTim Oram
This change updates, addresses some minor issues with the master-coverage, release and pull-request workflows; and completely rewrites the release-latest workflow. This includes adding new release targets for the latest release, and using a more reliable process for uploading the build artifacts to GitHub releases.
2023-07-22Use claims over claimTim Oram
2023-07-21Enable tty support on macOSTim Oram
Crossterm has added tty pipe support behind a feature flag. This enables that feature flag on macOS to allow for pipes to work again. This technically creates a small performance drop on macOS, but since this application is generally not IO bounded, this should be okay.
2023-07-20Make clear that visual mode is for selectionmims-github
For non-vim users, it may be not obvious, that visual mode is used for selection of lines.
2023-07-19A couple cleanup tasks from the 2.3.0 releaseTim Oram
This change includes: - Fix the date on the change log - Add development docs notice to the readme - Fix an ordering issue in the publish script
2023-07-19Add missing crate to release script2.3.0Tim Oram
2023-07-19Bump crates version to 2.3.0Tim Oram
2023-07-19Update changelog for 2.3.0 releaseTim Oram
2023-07-18Fix sharing of ThreadStatusTim Oram
Application was creating two instances of Runtime, the first instance was only being used to create a ThreadStatus that was passed to Process. The second instance was the real Runtime, that would handle all the thread management and status tracking. The problem, was that Process had an incorrect copy of ThreadStatus, so the status checks Process performed were not completing. This resulted in things like the External Editor functionality stalling, when it was waiting for thread status updated. This change creates a single instance of the ThreadStatus that is shared across the Process and Runtime.
2023-07-18Remove unneeded mut in ModuleTest::read_eventTim Oram
2023-07-17Normalize Shift modifier for character keycodesTim Oram
Depending on the platform, reporting of the SHIFT modifier is not always supported. This results in cases where keybindings that usually use the SHIFT modifier (such as the ? character) not working as expected. This change updates the keybindings, to remove and ignore any SHIFT modifiers for any character keybinding, as well as convert the character to the uppercase variant. To reflect this change, the event handler has been changed to remove the SHIFT modifier for all characters, instead of the old behavior of removing the SHIFT modifier only for uppercase ASCII characters.
2023-07-17Normalize event handling across terminalsTim Oram
Depending on the operating system and terminal, how events were reports would change. On Windows, for example, would report events for key press and release, while some Linux terminals would only report key press. This change enables the Kitty keyboard protocol, to provide enhanced reporting on systems/terminals that support the protocol. As part of the extended event reporting, multiple event types have been filtered out at the event read level. This includes things like key release, mouse move, paste, and focus events. These events are not used in the application, and filtering them at the read level, they do not need to be ignored at use. There is also a small performance boost, since these events are never queued.
2023-07-17Bump chrono from 0.4.23 to 0.4.26dependabot[bot]
Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.23 to 0.4.26. - [Release notes](https://github.com/chronotope/chrono/releases) - [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md) - [Commits](https://github.com/chronotope/chrono/compare/v0.4.23...v0.4.26) --- updated-dependencies: - dependency-name: chrono dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2023-07-17Bump pretty_assertions from 1.3.0 to 1.4.0dependabot[bot]
Bumps [pretty_assertions](https://github.com/rust-pretty-assertions/rust-pretty-assertions) from 1.3.0 to 1.4.0. - [Release notes](https://github.com/rust-pretty-assertions/rust-pretty-assertions/releases) - [Changelog](https://github.com/rust-pretty-assertions/rust-pretty-assertions/blob/main/CHANGELOG.md) - [Commits](https://github.com/rust-pretty-assertions/rust-pretty-assertions/compare/v1.3.0...v1.4.0) --- updated-dependencies: - dependency-name: pretty_assertions dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2023-07-17Bump rstest from 0.16.0 to 0.18.1dependabot[bot]
Bumps [rstest](https://github.com/la10736/rstest) from 0.16.0 to 0.18.1. - [Release notes](https://github.com/la10736/rstest/releases) - [Changelog](https://github.com/la10736/rstest/blob/master/CHANGELOG.md) - [Commits](https://github.com/la10736/rstest/compare/0.16.0...v0.18.1) --- updated-dependencies: - dependency-name: rstest dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2023-07-17Bump thiserror from 1.0.38 to 1.0.43dependabot[bot]
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.38 to 1.0.43. - [Release notes](https://github.com/dtolnay/thiserror/releases) - [Commits](https://github.com/dtolnay/thiserror/compare/1.0.38...1.0.43) --- updated-dependencies: - dependency-name: thiserror dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2023-07-17Bump anyhow from 1.0.71 to 1.0.72dependabot[bot]
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.71 to 1.0.72. - [Release notes](https://github.com/dtolnay/anyhow/releases) - [Commits](https://github.com/dtolnay/anyhow/compare/1.0.71...1.0.72) --- updated-dependencies: - dependency-name: anyhow dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2023-07-17Bump proc-macro2 from 1.0.64 to 1.0.66dependabot[bot]
Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2) from 1.0.64 to 1.0.66. - [Release notes](https://github.com/dtolnay/proc-macro2/releases) - [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.64...1.0.66) --- updated-dependencies: - dependency-name: proc-macro2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2023-07-17Bump uuid from 1.4.0 to 1.4.1dependabot[bot]
Bumps [uuid](https://github.com/uuid-rs/uuid) from 1.4.0 to 1.4.1. - [Release notes](https://github.com/uuid-rs/uuid/releases) - [Commits](https://github.com/uuid-rs/uuid/compare/1.4.0...1.4.1) --- updated-dependencies: - dependency-name: uuid dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2023-07-15Update release workflow with latest debian/ubuntuTim Oram
Also address a few issues with the release workflow that would have resulted in failures.
2023-07-15Bump crossterm from 0.25.0 to 0.26.1dependabot[bot]
Bumps [crossterm](https://github.com/crossterm-rs/crossterm) from 0.25.0 to 0.26.1. - [Release notes](https://github.com/crossterm-rs/crossterm/releases) - [Changelog](https://github.com/crossterm-rs/crossterm/blob/master/CHANGELOG.md) - [Commits](https://github.com/crossterm-rs/crossterm/compare/0.25...0.26.1) --- updated-dependencies: - dependency-name: crossterm dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2023-07-15Bump libgit2-sys from 0.14.0+1.5.0 to 0.14.2+1.5.1dependabot[bot]
Bumps [libgit2-sys](https://github.com/rust-lang/git2-rs) from 0.14.0+1.5.0 to 0.14.2+1.5.1. - [Release notes](https://github.com/rust-lang/git2-rs/releases) - [Commits](https://github.com/rust-lang/git2-rs/compare/0.14.0...libgit2-sys-0.14.2) --- updated-dependencies: - dependency-name: libgit2-sys dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
2023-07-15Bump bumpalo from 3.10.0 to 3.13.0dependabot[bot]
Bumps [bumpalo](https://github.com/fitzgen/bumpalo) from 3.10.0 to 3.13.0. - [Changelog](https://github.com/fitzgen/bumpalo/blob/main/CHANGELOG.md) - [Commits](https://github.com/fitzgen/bumpalo/compare/3.10.0...3.13.0) --- updated-dependencies: - dependency-name: bumpalo dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
2023-07-15Bump serial_test from 0.10.0 to 2.0.0dependabot[bot]
Bumps [serial_test](https://github.com/palfrey/serial_test) from 0.10.0 to 2.0.0. - [Release notes](https://github.com/palfrey/serial_test/releases) - [Commits](https://github.com/palfrey/serial_test/compare/v0.10.0...v2.0.0) --- updated-dependencies: - dependency-name: serial_test dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
2023-07-15Bump tempfile from 3.3.0 to 3.6.0dependabot[bot]
Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.3.0 to 3.6.0. - [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md) - [Commits](https://github.com/Stebalien/tempfile/compare/v3.3.0...v3.6.0) --- updated-dependencies: - dependency-name: tempfile dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2023-07-15Bump anyhow from 1.0.68 to 1.0.71dependabot[bot]
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.68 to 1.0.71. - [Release notes](https://github.com/dtolnay/anyhow/releases) - [Commits](https://github.com/dtolnay/anyhow/compare/1.0.68...1.0.71) --- updated-dependencies: - dependency-name: anyhow dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2023-07-15Bump crossbeam-channel from 0.5.6 to 0.5.8dependabot[bot]
Bumps [crossbeam-channel](https://github.com/crossbeam-rs/crossbeam) from 0.5.6 to 0.5.8. - [Release notes](https://github.com/crossbeam-rs/crossbeam/releases) - [Changelog](https://github.com/crossbeam-rs/crossbeam/blob/master/CHANGELOG.md) - [Commits](https://github.com/crossbeam-rs/crossbeam/compare/crossbeam-channel-0.5.6...crossbeam-channel-0.5.8) --- updated-dependencies: - dependency-name: crossbeam-channel dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2023-07-15Bump unicode-segmentation from 1.10.0 to 1.10.1dependabot[bot]
Bumps [unicode-segmentation](https://github.com/unicode-rs/unicode-segmentation) from 1.10.0 to 1.10.1. - [Release notes](https://github.com/unicode-rs/unicode-segmentation/releases) - [Commits](https://github.com/unicode-rs/unicode-segmentation/compare/v1.10.0...v1.10.1) --- updated-dependencies: - dependency-name: unicode-segmentation dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2023-07-15Bump uuid from 1.2.2 to 1.4.0dependabot[bot]
Bumps [uuid](https://github.com/uuid-rs/uuid) from 1.2.2 to 1.4.0. - [Release notes](https://github.com/uuid-rs/uuid/releases) - [Commits](https://github.com/uuid-rs/uuid/compare/1.2.2...1.4.0) --- updated-dependencies: - dependency-name: uuid dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2023-07-15Fix coverage in GitHub actionsTim Oram
2023-07-15Updating linting and rustfmt configs to latestTim Oram
2022-12-31Integrate search thread and handlingTim Oram
2022-12-31Refactor Application thread ownershipTim Oram
Change how the application manages the ownership of threads, to reduce the amount of initialization the handles during running.
2022-12-21Add search thread and Searchable traitTim Oram
This is the start of allowing for searches to be run in a separate thread, using a reusable interface.
2022-12-20Add spin indicator componentTim Oram