aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.rs (follow)
Commit message (Collapse)AuthorAge
...
| * feat(completions): Add shell completions files (#128)Henil Dedania2021-01-07
| | | | | | | | | | | | | | * Add shell completions and output files to `assets/completions` * Rename files and struct name * Update tests to take into account new changes
* | Finished plugin system! (Added file opening)Brooks J Rady2021-01-07
| |
* | Fix the plugin splitting bugsBrooks J Rady2021-01-07
| |
* | Make it possible to cleanly close pluginsBrooks J Rady2021-01-07
| |
* | Working input response!Brooks J Rady2021-01-07
| |
* | Add LTO and use a termion fork with serde supportBrooks J Rady2021-01-07
| |
* | Loop through input keysBrooks J Rady2021-01-07
| |
* | Parse bytes into keys with TermionBrooks J Rady2021-01-07
| |
* | Get clipped, foolBrooks J Rady2021-01-06
| |
* | A module rename to please clippyBrooks J Rady2021-01-06
| |
* | Warnings purged and some FIXME's addressedBrooks J Rady2021-01-06
| |
* | The RawFd has been slain...Brooks J Rady2021-01-06
| |
* | Also borkenBrooks J Rady2021-01-06
| |
* | Update messageBrooks J Rady2021-01-05
| |
* | Very borkenBrooks J Rady2021-01-05
| |
* | Keeping track of multiple pluginsBrooks J Rady2021-01-05
|/
* Merge thingsBrooks J Rady2020-12-30
|\
| * fix(plugins): fully Working WebAssembly Loading! (#125)Brooks Rady2020-12-30
| | | | | | | | | | * Fully Working WebAssembly Loading! * Move some wasm code to it's own module
| * fix(infra): make panes BTreeMap value Pane trait in preparation for the ↵Doron Tsur2020-12-30
| | | | | | | | status bar (#124)
* | It's now possible to load WASM files from layouts!Brooks J Rady2020-12-29
| |
* | Move some wasm code to it's own moduleBrooks J Rady2020-12-29
| |
* | Fully Working WebAssembly Loading!Brooks J Rady2020-12-29
|/
* feature(infrastructure): tabs (#89)Denis Maximov2020-12-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * wip: tabs, just outlining stuff, for now it is a mess * wip: tabs, just outlining stuff, for now it is a mess * wip: formatting * wip: some moving around * wip: not sure why those things are not imported * wip: cleaning up a bit * wip: doesn't render when new tab is created? * wip: doesnt re-render when a new tab is spawned for now * wip: tabs now are a BTreeMap and we can switch between them in both directions * wip: I think that should also be here * wip: cleanup * Spawn a new terminal simultaneously with a new tab * Ensure proper Opening and Closing of tabs * cleanup * more cleanup * tests(snapshots): add 'loading' snapshot to each scenario * fix(tests): update snapshots * Add tests for tabs implementation * wip: added tests, moved tab related stuff to a separate file * wip: var name change, removed unused imports * chore: fromatting * wip: tests are you ok? * Remove next_tab_index field * clean close_tab() logic in screen.render() * wip: more tests added, review changes covered * chore: a programmer and a formatter walk into a bar.... * style(screen): update description comment * docs(tab): add comment description Co-authored-by: denis <denis@airheadventures.com> Co-authored-by: Kunal Mohan <kunalmohan99@gmail.com> Co-authored-by: Aram Drevekenin <aram@poor.dev> Co-authored-by: Kunal Mohan <44079328+kunalmohan@users.noreply.github.com>
* feat(infrastructure): introduce ErrorContext for tracking errors across ↵Kunal Mohan2020-12-09
| | | | | | | | | | | | | | | | | | | | | | | threads (#83) * Implement ErrorContext for tracking errors across threads * reorder Instruction and ErrorContext * Add ContextType, AppContext, ScreenContext, PtyContext * Use ArrayVec in ErrorContext * increase MAX_THREAD_CALL_STACK to 6 * Custom implement Debug for ErrorContext ad ContextType and color output * Use os_input instead of println!() * Use array instead of ArrayVec and some cleanup * Introduce SenderWithContext * Keep arrayvec at v0.5.1
* feat(rect): directional move focus #55 (#78)Denis Maximov2020-12-04
| | | | | | | | | | | | | | | * feat: directional move focus #55 * wip: refactored match into if let * wip: basic tests * feat: move to most overlapping pane tests * fix: formatting * wip: Moved the definitions to the Rect trait * formatting
* feat(infra): add custom panic hook. Print backtrace and thread, error info ↵Kunal Mohan2020-12-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | on panic. (#75) * Add custom panic hook. Print backtrace and thread, error info on panic. * use sync_channel and SyncSender * nit fixes and cleanup * disable custom panic hook while running tests * make separate errors.rs file and address other review comments * improve panic message * debug: does increasing time between snapshots make tests pass? (this is temporary) * fix(tests): suspend before sending quit command * fix(tests): add missing use * style(format): commas are important apparently * fix(tests): can we get away with reducing the QUIT suspense time? * fix(tests): can we get away with 50? Co-authored-by: Aram Drevekenin <aram@poor.dev>
* fix(threads): a race condition, build-times, and warnings (#79)Brooks Rady2020-12-02
| | | | | | | | | * Fix a race condition, build-times, and warnings * Yeah, yeah... I know * style(code): add comment to explain race condition Co-authored-by: Aram Drevekenin <aram@poor.dev>
* fic(compatibility): htop scrolling issues (#77)Aram Drevekenin2020-11-30
| | | | | | | | | * fix(compatibility): scrolling inside scroll region with 'M' esc dispatch * style(format): make rustfmt happy * fix(tests): send proper data * fix(logs): do not crash if log file doesn't exist
* chore(infra): added clippy check. (#65)Roee Shapira2020-11-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added clippy check. * Changed step name. * Used the suggested ci config. * Some more clippy fixes. * Some more clippy fixes. * More clippy fixes. * Removed allow annotations. * Minor lint edit. * More clippy fixes. * Ran cargo fmt. * More clippy fixes. * More clippy fixes. * More clippy fixes. * More clippy fixes. * More clippy fixes. * More clippy fixes. * Code review edits. * Code review edits. * Code review edits. * CI update. * CI update. * CI update. * Added clippy warn so wip won't fail ci. * Cargo fmt.
* Got roasted by cargo fmtBrooks J Rady2020-11-25
|
* Don't crash (always?)Brooks J Rady2020-11-25
|
* Don't crash (sometimes)Brooks J Rady2020-11-25
|
* Well, it compiles...Brooks J Rady2020-11-25
|
* hotfix(logging): atomically create tmp foldersAram Drevekenin2020-11-25
|
* fix(compatibility): various htop issues (#66)Aram Drevekenin2020-11-23
| | | | | | | | | | | * fix(compatibility): various htop issues * style(format): make rustfmt happy * fix(logging): do not delete log dir on startup * fix(tests): update htop with command toggle * chore(ci): reduce test concurrency to 1
* fix(layout): total layout percent 100 validation (#57)Roee Shapira2020-11-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix for issue #52 * Added missing fixtures. * Added missing validation. * Moved layout creation and validation to the Layout struct. * Ran cargo fmt. * Added creation of tmp folder if needed. * Code review edit. * Code review edit. * Fancied code up. * PR request change. * PR code review. * Merge from upstream/main. * Merge from upstream/main.
* refactor(structure): Change structure of `/tmp` directory (#62)Henil2020-11-21
| | | Co-authored-by: Aram Drevekenin <aram@poor.dev>
* feat(ux): add a command mode (#42)Kyle Sutherland-Cash2020-11-21
| | | | | | | | | | | | | | | | | | | | | * Move the input loop into a separate module * Proof of concept implementation of command mode * Update readme to reflect command mode * Have Esc exit command mode * Update tests to use command mode and make it transient by default * Some merge fixes * fix(tests): add missing COMMAND_TOGGLE and fix false positive test * style(format): make rustfmt happy * Update readme to describe command mode Co-authored-by: Aram Drevekenin <aram@poor.dev>
* fix(atomicity): block commands before executing others (#59)Aram Drevekenin2020-11-19
|
* refactor(data-structures): #51 change winsize to positionandsize (#56)Denis Maximov2020-11-19
|
* fix(compatibility): some fixes for htop (#53)Roee Shapira2020-11-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Moved all log to file functions to one module. * Moved logging to file function to utils module. * Housekeeping. * Housekeeping. * Started investigation into htop CSIs. * Used better function for scrolling. * Minor cleanup. * Cleanup and start of scroll region rotation. * Implemented scroll region rotation. * Improved performace. * New SCI found. * Typo. * Typo. * Removed logging function. * Added scroll rotation functions. * Typo. * Moved all logging function to one module. * Attempt at making htop work. * Reverted unneeded changes. * Improved log file name creation. * Ran rust fmt. * PR review edits. * PR review edits. * Used mark_for_rerender function. * Removed _ prefix from logging functions.
* feat(ux): initial layout engine (#50)Aram Drevekenin2020-11-15
| | | | | | | * prototype * refactor(layout): move stuff around * style(format): make rustfmt happy
* feat: add rustfmt, update action workflow to check for formatting (#45)Denis Maximov2020-11-14
|
* HOTFIX: do not get os input unless we're starting the appAram Drevekenin2020-11-14
|
* fix(ux): properly echo characters and do not mess up exit (#44)Aram Drevekenin2020-11-14
|
* feat(development): add --debug flag (#41)Denis Maximov2020-11-13
| | | | | * wip: #39 create a -d --debug flag * fix: switch join with concat
* fix(ui): exit app when last pane is closed (#40)Aram Drevekenin2020-11-11
|
* fix(compatibility): do not interpret esc as scroll-up (#29)Aram Drevekenin2020-11-08
|
* fix(compatibility): better stdin reading to fix various issues (#28)Aram Drevekenin2020-11-07
|
* fix(scroll): support show/hide cursor and fix vim scrolling behaviour (#27)Aram Drevekenin2020-11-06
|