Commit Graph

1350 Commits

Author SHA1 Message Date
a-kenji
6f1c103e02 Add option to specify default-shell
* Adds an option to specify a default shell
  either by specifying `default_shell: [PATH]`
  in the config, or running zellij with
  `zellij options --default-shell [PATH]`
2021-07-01 20:02:08 +02:00
a-kenji
71f980a01d
Merge pull request #593 from a-kenji/modularize-spawn-terminal
Modularize spawn_terminal_function
2021-06-30 19:56:39 +02:00
a-kenji
8086765e50 fixup! Fix merged tests 2021-06-30 19:45:15 +02:00
a-kenji
242e41d67f Merge branch 'main' of https://github.com/zellij-org/zellij into modularize-spawn-terminal 2021-06-30 18:59:55 +02:00
a-kenji
f9e01c04e1 Modularize spawn_terminal_function
* Breaks the spawn_terminal_function up
  in order to prepare for more functionality.
2021-06-30 11:46:43 +02:00
a-kenji
1b70b6958c
Merge pull request #591 from a-kenji/update-dependencies
Add new dependencies to `CONTRIBUTING.md`
2021-06-30 11:37:16 +02:00
Aram Drevekenin
ed4fd2a8e7
chore(tests): move all integration tests to be either unit or e2e tests - 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
2021-06-30 11:27:35 +02:00
Paweł Palenica
0c570a52f5 feat: Add logger to Zellij
We add log4rs create for logging across Zellij. Additionally, we capture
`stderr` output from plugins and log it the same log file as other
Zellij logs.
2021-06-29 23:46:00 -07:00
a-kenji
da415657df Add new dependencies to CONTRIBUTING.md 2021-06-29 23:19:23 +02:00
a-kenji
974edc2c98
Merge pull request #590 from a-kenji/clippy-fixes
chore(clippy): needless_borrow
2021-06-29 23:16:49 +02:00
a-kenji
b3b9175081 chore(clippy): needless_borrow 2021-06-29 23:02:51 +02:00
Aram Drevekenin
3313634fe9
Add e2e tests (#582)
* 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
2021-06-21 10:45:18 +02:00
Kunal Mohan
07ad2f54ea docs(changelog): Autodetach #581 2021-06-19 11:35:44 +05:30
Kunal Mohan
c046ab1ecc
Merge pull request #581 from dantepippi/autodetach
Detach session when forced close detected (handling SIGTERM and other signals)
2021-06-19 11:15:26 +05:30
Dante Pippi
e7fc0e3ff9 Sending the action Action::Detach to the server 2021-06-18 12:26:29 -03:00
Dante Pippi
18adbcc1b1 Detach session on a forced close (handlign SIGTERM and other signals) 2021-06-17 21:21:39 -03:00
a-kenji
a71b966941
Merge pull request #580 from a-kenji/makefile-layout-fix
Fix missing `layout-dir` in makefile
2021-06-17 17:41:19 +02:00
a-kenji
dc8487cb4f Fix missing layout-dir in makefile
The `layout-dir` got removed, but the
make action depended on the `dir`.
2021-06-17 16:45:04 +02:00
a-kenji
5c69ce9aad docs(changelog): layout dir from data to config 2021-06-16 19:03:07 +02:00
a-kenji
08ed30e832
Merge pull request #577 from a-kenji/default-layouts
Change `layout` directory from `data` to `config`
2021-06-16 19:00:52 +02:00
a-kenji
a9088264eb Change layout directory from data to config
* default layouts won't be installed by anymore,
  instead they will be directly loaded

* `layout-dir` is now a subdirectory of the
  `config-dir` by default, instead of the `data-dir`

  POSSIBLE BREAKING CHANGE:
  In case of having custom layouts in the previous
  `layout-dir` one can switch either the layouts to
  the new dir, or set the `layout-dir` to be the current
  `layout-dir`

* it is possible to change the location of the `layout-dir`:
  - `zellij options --layout-dir [LAYOUR_DIR]`
  - `layout_dir: [LAYOUT_DIR]`
2021-06-16 17:09:05 +02:00
a-kenji
8e097c258a docs(changelog): improve layout errors 2021-06-15 11:22:14 +02:00
a-kenji
64d639b243
Merge pull request #576 from a-kenji/layout-error
Move `layout.rs` from `server` to `utils`
2021-06-15 11:20:46 +02:00
a-kenji
4743b7e7ab Merge branch 'main' of https://github.com/zellij-org/zellij into layout-error 2021-06-14 22:05:25 +02:00
a-kenji
cafcca0c57 Move layout.rs from server to utils
* give feedback on most errors in the layout-file
2021-06-14 21:55:17 +02:00
Matthias
7f67e6d97f
docs(contributing): add the invite link to the discord server (#570) 2021-06-10 09:23:26 +02:00
Aram Drevekenin
056f20ff1f style(comments): remove leftovers 2021-06-04 18:57:26 +02:00
Brooks J Rady
dc44a00699 chore(release): bump development version 2021-06-04 10:28:03 +01:00
Brooks J Rady
0681163f8d chore(release): v0.13.0 2021-06-04 10:13:14 +01:00
Brooks J Rady
65574eea5d fix(build): better tested publishing flow 2021-06-03 21:58:02 +01:00
Brooks J Rady
d6a8daba84 fix(build): allow crates.io to update between crate uploads 2021-06-03 20:43:20 +01:00
Brooks Rady
c65987a285
feat(ui): laying the groundwork for a new resize algorithm 2021-06-03 13:15:56 +01:00
Brooks J Rady
a9ce13c1d2 feat(ui): added feature for an experimental resize
The `parametric_resize_beta` feature has been added that enables the new
resize system. This change also introduces some background tweaks that
start laying the groundwork for future resize work without breaking
functionality.
2021-06-03 13:05:52 +01:00
Aram Drevekenin
24165b6178
docs(changelog): performance fix 2021-06-03 14:04:36 +02:00
Aram Drevekenin
0bab7c1245
fix(performance): output buffer (#567)
* work

* work

* fix(performance): output buffer

* style(import): remove extraneous

* style(fmt): make rustfmt happy

* fix(performance): minor adjustments to padding and truncating

* style(fmt): make rustfmt happy

* style(clippy): make clippy happy
2021-06-03 14:03:05 +02:00
Brooks J Rady
5164bd99b7 Fixed a build warning and renamed a struct field 2021-06-03 12:38:23 +01:00
Brooks J Rady
949971cc62 Merge branch 'main' into resize-overhaul 2021-06-03 12:26:45 +01:00
a-kenji
4b7fe3ca7b
Merge pull request #565 from a-kenji/plugin-asset-update
Update plugin assets
2021-06-02 15:45:28 +02:00
a-kenji
197bbafdcc Update plugin assets 2021-06-02 15:36:26 +02:00
a-kenji
e1860cae4e
Merge pull request #564 from a-kenji/update-assets
Update Plugin Assets
2021-06-02 12:56:07 +02:00
a-kenji
a1d84b9fbf Update Plugin Assets 2021-06-02 10:29:43 +02:00
Brooks J Rady
98c29832e1 Merge branch 'main' into resize-overhaul 2021-06-01 18:05:32 +01:00
a-kenji
d7f12ea58c docs(changelog): add disable-status-bar layout 2021-06-01 10:41:10 +02:00
a-kenji
c690da915b
Merge pull request #555 from a-kenji/plugin-layouts
Add layout to disable the status-bar
2021-06-01 10:40:25 +02:00
a-kenji
903017fd8e docs(changelog): Don't rename unnamed tabs: 554 2021-06-01 10:24:32 +02:00
a-kenji
26f499bbbb
Merge pull request #554 from AdaShoelace/main
Don't rename 'unnamed' tabs upon deletion of other tabs
2021-06-01 10:23:02 +02:00
AdaShoelace
a2efc6fcac Merge branch 'main' of github.com:zellij-org/zellij 2021-06-01 09:41:33 +02:00
AdaShoelace
b9677589a0 Omit '(unnamed)' from tab name 2021-06-01 09:41:16 +02:00
a-kenji
c787cea9e0 docs(changelog): Fix config options 2021-06-01 09:39:18 +02:00
a-kenji
2301037c54
Merge pull request #556 from a-kenji/options-fix
Fix options in config file
2021-06-01 09:36:26 +02:00