aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/integration/compatibility.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
* Merge branch 'main' of https://github.com/zellij-org/zellij into layout-errora-kenji2021-06-14
|\
| * Fixed a build warning and renamed a struct fieldBrooks J Rady2021-06-03
| |
* | Move `layout.rs` from `server` to `utils`a-kenji2021-06-14
|/ | | | * give feedback on most errors in the layout-file
* fix(tests): Add SLEEP to top_and_quit testKunal Mohan2021-05-28
|
* Big refactor: separate crates for client, server and utilitiesKunal Mohan2021-05-16
|
* Do not pass config_options while spawning server processKunal Mohan2021-05-15
|
* fix testingKunal Mohan2021-05-15
|
* Fix Simplified Uia-kenji2021-05-12
| | | | | Propagate the config now, in all the places, as opposed to fallback to a default.
* Fix after rebaseKunal Mohan2021-05-04
|
* Fix after rebaseKunal Mohan2021-05-04
|
* fix testsKunal Mohan2021-05-04
|
* Load config before start()Yutaka Kamei2021-05-02
| | | | | | | | | | | | | | | | | | | | | Previously, a config file was loaded within `start()`, and if the config file is invalid, Zellij was supposed to show a user what's wrong with it. However, since `start()` starts setting up its terminal with an alternative screen buffer, neither standard output nor standard error could display such an error. This change intends to address this issue by making Zellij load a config file before `start()`. In addition, the patch also includes some refactorings: * Redefine `from_cli_config` with `TryFrom`, which was introduced in Rust 1.34 * Remove conditional declaration `cfg(not(test))` because `start()` now receive a `Config` as the third argument * Introduce [`tempfile`](https://crates.io/crates/tempfile) in order to run tests with actual files * Typo?: "Deserialisation" -> "Deserialization"
* fix(ui): draw ui properly on terminal start (#323)Aram Drevekenin2021-04-22
| | | | | * fix(ui): draw ui properly on terminal start * 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
* fix(compatibility): do not forward tabs to the terminal (#190)Aram Drevekenin2021-02-18
| | | | | * fix(compatibility): do not forward tabs to the terminal * style(fmt): rustfmt
* fix(compatibility): get top not to break everything when exiting (#188)Aram Drevekenin2021-02-17
|
* feat(input): new keybindings and persistent mode as default (#181)categorille2021-02-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * added some comments in the input module * InputHandler now has InputState instead of separate InputMode and permanent bool * keybinds are now associated with a Vec<Action> instead of a single Action * removing "persistent" modes alltogether to reimplement the feature, help bar broken * locked command mode by default, fixes #161, help bar still broken * status bar fixed, still a few improvements/bugs to go * better shortcut help bar contents * fixed last bits and i think we are good * modified tests according to new controls, not working * Revert "modified tests according to new controls, not working" This reverts commit f2d9421ff0169feb83dbd9b246e59b9244cafc16. * basic.rs tests now pass, not the rest * close_pane.rs tests pass, but very slowly? * compatibility.rs tests pass, very slowly as well * {layout, {move_focus_*}}.rs all working mildly slowly * {resize_*}.rs should all work but very slowly and funky, see PR comments * {tabs,toggle_fullscreen}.rs pass. Test performance issue yet to be fixed * tests now work, with a hack :| ready for merge * rustfmt + deleted references to InputState and mode persistency
* Update references in `src/`henil2021-02-10
|
* 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>
* Merge in changes from main and fix a clippy lintBrooks J Rady2021-01-07
|\
| * 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
* | Merge branch 'main' into wasm-launchableBrooks J Rady2021-01-06
|\|
| * wip: added a testdenis2021-01-06
| |
* | A module rename to please clippyBrooks J Rady2021-01-06
|/
* fix(compatibility): git log and git diff with scrollup (#118)Aram Drevekenin2020-12-21
| | | | | * fix(compatibility): git log and git diff with scrollup * style(formatting): make rustfmt happy
* fix(compatibility): fish multiline paste (#112)Aram Drevekenin2020-12-18
| | | | | | | * fix(compatibility): fix fish multiline paste * fix(tests): adjust snapshots of test to tabs * style(formatting): make rustfmt happy
* fix(compatibility): fix bash linewrap (#109)Aram Drevekenin2020-12-17
|
* fix(compatibility): fix neovim change mode (#108)Aram Drevekenin2020-12-17
|
* fix(compatibility): handle tab characters properly (#99)Aram Drevekenin2020-12-15
| | | | | * fix(compatibility): handle tab characters properly * style(formatting): make rustfmt happy
* fix(compatibility): fix vim overwrite message and buffer clearing on exit (#98)Aram Drevekenin2020-12-14
| | | | | * fix(compatibility): fix vim overwrite message and buffer clearing on exit * style(formatting): make rustfmt happy
* fix(compatibility): htop horizontal scrolling (#81)Aram Drevekenin2020-12-04
| | | | | * fix(compatibility): htop horizontal scrolling * style(format): make rustfmt happy
* 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
* 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
* 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
* 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
|
* feat(screen): allow specifying max panes on screen (#20)Aram Drevekenin2020-11-03
|
* feat(compatibility): vim working!Aram Drevekenin2020-10-05
|
* test(compatibility): bandwhich + various fish thingsAram Drevekenin2020-09-29