aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests (follow)
Commit message (Collapse)AuthorAge
...
| * Divide OsApi into ClientOsApi and ServerOsApi and move calls to os threadKunal Mohan2021-05-04
| |
| * fix testing for pseudo client-server modelKunal Mohan2021-05-04
| |
* | fix(compatibility): pass vttest 8 (#461)Aram Drevekenin2021-05-05
|/ | | | | | | * fix(compatibility): pass vttest 8 * style(comment): remove unused * style(grid): sometimes it's just easier to do what clippy wants...
* fix(colors): stabilize colors (#453)Aram Drevekenin2021-05-04
| | | | | * fix(colors): stabilize colors * style(fmt): rustfmt
* Terminal compatibility: Pass vttest 2 and 3 (#447)Aram Drevekenin2021-05-03
| | | | | | | | | * fix(compatibility): pass vttest 2+3 * style(fmt): rustfmt * style(comment): remove unused * docs(changelog): update change
* Merge branch 'main' into x-colorsdenis2021-05-02
|\
| * 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"
* | chore: cleanup, fix: the tests finally passdenis2021-05-01
|/
* Terminal: pass vttest 1 (#408)Aram Drevekenin2021-04-29
| | | | | | | | | | | * fix(compatibility): pass vttest 1 * fix(tests): move unit tests to a separate file * style(fmt): rustfmt * fix(grid): correct comment * style(fmt): rustfmt
* Fixing snapshotsDante Pippi2021-04-22
|
* Changing tests to test the new behaviorDante Pippi2021-04-22
| | | | | | Previous behavior was to go to the largest overlap. Now it should go to the most recently used pane. Used cargo insta review to update the snapshots.
* 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(actions): allow scrolling by full pagesBrooks Rady2021-04-22
|\ | | | | PR #298
| * cargo fmtHongjie Zhai2021-04-21
| |
| * add testsHongjie Zhai2021-04-21
| |
* | fix(ui): do not open new pane on the status bar (#314)Aram Drevekenin2021-04-21
|/
* fix(terminal): persiste vte state (#269)Aram Drevekenin2021-04-14
| | | | | * fix(terminal): persist vte state * style(fmt): rustfmt
* fix(bug): remove buggy expansion boundariesBrooks J Rady2021-04-14
|
* * 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): 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
|
* Fix a thorn in my sideBrooks J Rady2021-02-16
|
* 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
* And from Goodbye messagehenil2021-02-10
|
* Update references in `src/`henil2021-02-10
|
* Fix testsBrooks J Rady2021-02-09
|
* Well, it turns out that I spent 4 hours on something impossible...Brooks J Rady2021-02-09
|
* Push the mosaic folder down a directoryBrooks J Rady2021-02-09
|
* 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>
* Min max height and width (#155)Aram Drevekenin2021-01-28
| | | | | * feat(tab): min/max pane height * style(fmt): rustfmt
* more integration tests poping up....henil2021-01-26
|
* update integration testshenil2021-01-26
|
* Merge branch 'main' into wasm-status-barBrooks J Rady2021-01-12
|\
| * refactor(terminal-pane): simplify Scroll into Grid (#137)Aram Drevekenin2021-01-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * refactor(grid): move from scroll to grid (prototype with tests passing) * refactor(grid): remove scrollbuffer * fix(terminal): do not overflow cursor y position when resizing * refactor(file-structure): move grid to different file * fix(compatibility): vim horizontal resize * fix(compatibility): various fixes for cursor movement * style(grid): remove unused imports * style(grid): remove debugging * style(fmt): rustfmt * style(fmt): rustfmt
* | Install default layouts and plugins at build-timeBrooks J Rady2021-01-11
| |
* | Added the set_selectable plugin API functionBrooks J Rady2021-01-11
| |
* | Add support for layouts with parts of a fixed or unspecified sizeBrooks J Rady2021-01-10
|/
* Change the layout to only one pluginBrooks J Rady2021-01-07
|
* 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
* | Parse bytes into keys with TermionBrooks J Rady2021-01-07
| |
* | Merge branch 'main' into wasm-launchableBrooks J Rady2021-01-06
|\|
| * wip: added a testdenis2021-01-06
| |
* | Get clipped, foolBrooks J Rady2021-01-06
| |
* | A module rename to please clippyBrooks J Rady2021-01-06
| |
* | Acutually pass combined position and sizeBrooks J Rady2021-01-06
| |