aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/utils.rs (follow)
Commit message (Collapse)AuthorAge
* chore(tests): move all integration tests to be either unit or e2e tests - ↵Aram Drevekenin2021-06-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | remove old testing infra (#589) * tests(integration): move basic integration tests to be unit tests * fix(tests): silently fail threadbus for tests * tests(unit): move compatibility tests to become unit tests for grid * tests(unit): move close_pane tests to become unit tests for grid * tests(e2e): move basic layout test to e2e * tests(unit): move move_focus tests to be unit tests * tests(unit): move resize_down tests to be unit tests * tests(unit): move resize_left tests to be unit tests * tests(unit): move resize_right tests to be unit tests * tests(unit): move resize_up tests to be unit tests * tests(infra): remove unused infra * style(fmt): make rustfmt happy * debug * debug * debug * debug * chore(test): shift volume mounting around because github actions is a special child
* Add e2e tests (#582)Aram Drevekenin2021-06-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * feature(tests): e2e tests * chore(build): github action * chore(build): fix workflow * chore(build): fix workflow * work * work * work * work * work * work * work * work * work * work * work * work * work * work * work * work * work * work * work * work * work * work * work * work * work * work * work * work * work * work * work * work * work * work * work * work * work * work * work * work * work * work * work * work * work * work * work * work * work * work * working * working * working * bring back the proper errors * make e2e flow run properly * style(fmt): make rustfmt happy * style(fmt): make rustfmt happy * run on everything just to test the workflow * bring back running behaviour on workflow
* Re-export common dependencies from zellij-utilsKunal Mohan2021-05-19
|
* Osc implementation (#517)Aram Drevekenin2021-05-17
| | | | | | | | | | | | | * fix(compatibility): implement most osc methods * style(fmt): rustfmt * style(fmt): remove cargo warnings * style(fmt): make clippy happy * style(fmt): fix formatting after my clippy fixes broke it again ;P * fix(grid): fix tests
* Big refactor: separate crates for client, server and utilitiesKunal Mohan2021-05-16
|
* fix(ui): handle pasted text properly (#494)Aram Drevekenin2021-05-12
| | | | | * fix(ui): handle pasted text properly * style(fmt): rustfmt
* New behavior for h and lDante Pippi2021-05-09
| | | | | | | | | | | | | | | New behavior for h and l, will change tabs if there are no available panes in the direction. cargo clippy Ensuring atomicity for the MoveFocusOrTab - Blocking the input thread for the action MoveFocusOrTab - Using "unreachable" macro in match arm to make it clear that the directions Up and Down should not be used with the action MoveFocusOrTab Adding tests
* add testsHongjie Zhai2021-04-21
|
* fix(terminal): persiste vte state (#269)Aram Drevekenin2021-04-14
| | | | | * fix(terminal): persist vte state * style(fmt): rustfmt
* * fix(ui): react to terminal window size changes (SIGWINCH) (#245)Aram Drevekenin2021-04-01
| | | | | | | | | * fix(ui): react to terminal window size changes (SIGWINCH) * style(fmt): rustfmt * style(format): remove some warnings * style(fmt): rustfmt
* Performance: only render panes that should be updated (#234)Aram Drevekenin2021-03-16
| | | | | * fix(performance): bring back should_render * style(fmt): rustfmt
* feat(input): new shortcuts and ui (#220)Aram Drevekenin2021-03-11
| | | | | | | * feat(statusbar): new shortcuts * feat(input): new shortcuts and ui * style(fmt): rustfmt
* Make fullscreen panes not override the status bar and strider (#209)Aram Drevekenin2021-02-24
| | | | | | | | | | | * work * feat(tab): expansion boundary * fix(layout): add expansion boundary to default layout * style(fmt): rustfmt * style(fmt): remove unnecessary comment
* fix(compatibility): get top not to break everything when exiting (#188)Aram Drevekenin2021-02-17
|
* feat(ui): new keybindings and status bar (#160)Aram Drevekenin2021-02-09
| | | | | | | | | | | * work * feat(statusbar): new design and keybindings * fix(ipc): add missing const * style(fmt): rustfmt * style(input): remove accidental comment
* refactor(input): hotkeys (#132)Kyle Sutherland-Cash2021-02-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Initial definitions and thoughts for hotkeys * Actually document InputKey properly * Add a to string function for input keys * Define keybinds and actions; restructure * Implement hash and start on defining key bindings * Derive Serialize for input keys * Store the key strings as tuples for two-way mapping * Some string to key functions * Use termion's Key definition and implement action dispatch * Fix some borrow-checker errors * Missing keybind and command mode switching * Fix incorrect handling of spawn terminal command * fix(plugins): work with new input - tests not passing * fix(infra): stabilize tests and properly close pty sessions * style(fmt): rustfmt Co-authored-by: Brooks J Rady <b.j.rady@gmail.com> Co-authored-by: Aram Drevekenin <aram@poor.dev>
* A module rename to please clippyBrooks J Rady2021-01-06
|
* Acutually pass combined position and sizeBrooks J Rady2021-01-06
|
* 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(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
* fix(input): read stdin with lock (#72)Aram Drevekenin2020-11-29
| | | | | | | * fix(input): lock stdin when reading and use its own buffer * style(format): make rustfmt happy * fix(ipc): add accidentally removed trait
* 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>
* refactor(data-structures): #51 change winsize to positionandsize (#56)Denis Maximov2020-11-19
|
* feat: add rustfmt, update action workflow to check for formatting (#45)Denis Maximov2020-11-14
|
* fix(compatibility): do not interpret esc as scroll-up (#29)Aram Drevekenin2020-11-08
|
* fix(scroll): support show/hide cursor and fix vim scrolling behaviour (#27)Aram Drevekenin2020-11-06
|
* refactor(structure): separate all the thingsAram Drevekenin2020-11-01
|
* test(compatibility): bandwhich + various fish thingsAram Drevekenin2020-09-29
|
* refactor(tests): reduce repetitionAram Drevekenin2020-09-18