Commit Graph

1674 Commits

Author SHA1 Message Date
Thomas Linford
6bdc6f6f5d
docs(changelog): single core close pane crash fix 2022-03-25 21:00:33 +01:00
raphCode
bda37c3dd3
fix(tab): catch and report errors about tty I/O (#1051)
Quick and dirty bandaid fix to some server crashes which occur to me lately.
The underlying issue seems to be a race condition somewhere when the shell in the pane
exits and the tty file descriptor becomes invalid, but zellij wants to write/read it?

Bug trigger:
- open some panes
- exit the shells in the panes by spamming Ctrl-D

works best when the system only runs on a single CPU, run the following to disable all
cores but one:
echo 0 | sudo tee /sys/devices/system/cpu/cpu*/online

Co-authored-by: raphTec <git@raphtec.net>
2022-03-25 16:30:32 +01:00
Aram Drevekenin
05e6579508
docs(changelog): tab intermediate crash fix 2022-03-25 15:42:15 +01:00
Aram Drevekenin
b5cb5474bb
fix(screen): crash in intermediate no-tabs state (#1272)
* fix(screen): log error instead of crashing in intermediate state with no active tabs

* style(fmt): rustfmt
2022-03-25 15:41:08 +01:00
Aram Drevekenin
be02f99652
docs(changelog): alt + arrows 2022-03-25 14:29:09 +01:00
Aram Drevekenin
18ee784e2d
feat(ui): add navigation with alt + arrow keys (#1264)
* feat(ui): change from non-working alt-brackets to alt-arrows

* style(fmt): rustfmt

* fix: improve parsing of `alt` combination keys

The binding of the keys can now be specified with:

- Alt: 'c'
- Alt: Up
- Alt: Down
- Alt: Left
- Alt: Right

* chore(fmt): rustfmt

Co-authored-by: a-kenji <aks.kenji@protonmail.com>
2022-03-25 14:28:08 +01:00
Aram Drevekenin
854228046e
docs(changelog): stability fixes 2022-03-25 10:36:35 +01:00
Aram Drevekenin
bf4f90d694
fix(screen): handle various edge cases rather than crashing (#1269)
* fix(screen): handle various edge cases rather than crashing

* style(fmt): rustfmt

* fix(logging): add error logs when unable to find tab

* style(fmt): rustfmt
2022-03-25 10:35:45 +01:00
a-kenji
4ba3a70f9a fix(ci): disable enabling of flakes in action's 2022-03-25 00:08:20 +01:00
a-kenji
d072e045f3 fix(ci): scope for triggering the workflow 2022-03-25 00:06:28 +01:00
Aram Drevekenin
f2b7658e97
docs(changelog): floating pane embed fix 2022-03-24 18:57:12 +01:00
Aram Drevekenin
f5a3d8f301
fix(tab): floating panes embed/fullscreen and frame color (#1267)
* fix(tab): floating panes embed/fullscreen and frame color

* style(fmt): rustfmt
2022-03-24 18:53:54 +01:00
Aram Drevekenin
509f236023
fix(tab): do not crash when only floating panes are left (#1266) 2022-03-24 17:19:09 +01:00
Thomas Linford
c53b3235c8
docs(changelog): fix crash on tab open 2022-03-23 09:24:26 +01:00
Thomas Linford
c4d62f8f61
fix(crash): ensure ZELLIJ_TMP_DIR exists when starting plugins (#1256) 2022-03-23 09:20:46 +01:00
Aram Drevekenin
e7447fe88f
docs(changelog): termion ==> termwiz 2022-03-23 09:09:46 +01:00
Aram Drevekenin
7141779153
chore(deps): move from termion to termwiz for STDIN handling (#1249)
* fix(deps): switch from termion to termwiz for STDIN parsing

* style(fmt): clippy

* style(fmt): moar clippy

* style(fmt): rustfmt

* fix(tests): e2e mouse press

* style(fmt): rustfmt

* bring back polling

* fmt fmt fmt

* fix some e2e flakiness
2022-03-23 09:08:35 +01:00
Brooks Rady
d394617a3d
chore(docs): update changelog with rounded corners 2022-03-22 15:02:51 +00:00
Brooks Rady
9bfafde123
feat(ui): round frame corners (#1227)
* feat(ui): round frame corners

* Allow rounded_corners to be set without a palette

* Revert "Allow rounded_corners to be set without a palette"

This reverts commit 9271a4b545.

* fix(style): remove redundant code

* fix(style): clippy lints that somehow got missed

* feat(config): add ui config section
2022-03-22 14:58:16 +00:00
a-kenji
2d55a3e274
fix: cargo issue (#1253) 2022-03-21 21:16:16 +01:00
a-kenji
73740a4b3f add(ci): token to update-rust-toolchain
In order to trigger ci from the pr.
2022-03-21 12:14:21 +01:00
a-kenji
5bf8c133d5 add(ci): update token 2022-03-21 11:35:58 +01:00
a-kenji
301c546041
fix(ci): scope nix workflows (#1248) 2022-03-20 22:13:24 +01:00
a-kenji
78eeac7d80 fix(ci): use release version instead of main 2022-03-20 21:07:41 +01:00
a-kenji
f838feed85 fix(ci): semantic error 2022-03-20 15:04:36 +01:00
a-kenji
612746898a
fix: remove obsolete script (#1247) 2022-03-20 15:01:47 +01:00
a-kenji
36471830df fix(ci): add ref 2022-03-20 14:52:37 +01:00
a-kenji
d01df9cb25
add(ci): toolchain (#1245) 2022-03-20 14:50:20 +01:00
github-actions[bot]
e92190ffad
flake.lock: Update (#1243)
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/fcd48a5a0693f016a5c370460d0c2a8243b882dc' (2022-03-10)
  → 'github:nixos/nixpkgs/73ad5f9e147c0d2a2061f1d4bd91e05078dc0b58' (2022-03-14)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/c984623eb0584a2aadeca505dd85ec68a3f5a576' (2022-03-13)
  → 'github:oxalica/rust-overlay/a21c163919cd90dd67bcd03345fac5441e53cccc' (2022-03-19)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-03-20 09:16:21 +01:00
Aram Drevekenin
d6b174f596
docs(changelog): tab refactor 2022-03-18 10:33:53 +01:00
Aram Drevekenin
ab74b9974a
refactor(tab): move tiled panes to their own module (#1239)
* work

* tests passing

* simplify render state

* move more stuff to state

* moved tiled panes outside

* move files around

* style(fmt): rustfmt
2022-03-18 10:32:43 +01:00
github-actions[bot]
6092165980
Update rust-toolchain (#1236)
Co-authored-by: a-kenji <a-kenji@users.noreply.github.com>
2022-03-17 17:28:50 +01:00
a-kenji
8bb46715a9 fix(ci): update-rust-toolchain 2022-03-17 17:24:39 +01:00
a-kenji
3907e2b9f1 fix(ci) update-rust-toolchain 2022-03-17 17:21:50 +01:00
a-kenji
5db634ad51 fix(ci): update-rust-toolchain
Fix a typo
2022-03-17 17:11:32 +01:00
a-kenji
91f24114ee fix(ci) update-rust-toolchain 2022-03-17 17:08:46 +01:00
a-kenji
1612bec8ba fix(ci): update-toolchain 2022-03-17 16:56:15 +01:00
a-kenji
1b3f2236d4 fix(ci): naming 2022-03-17 16:47:14 +01:00
a-kenji
effccbfaa3
Feat/add rust toolchain (#1235)
* feature: update rust-toolchain

* add(ci): action that updates `rust-toolchain`

We purposefully keep our version a little behind the newest releases,
to give people the time to update. Now this is unambigious and we can
use all the features our current toolchain allows.
2022-03-17 16:46:01 +01:00
a-kenji
ccd9a55a9b
add(ci): install cargo-make through nix (#1233)
* add(ci): install `cargo-make` through `nix`

Should speed the e2e tests up by about 2 minutes.

Can easily reverted by `commenting/uncommenting`
the `run` part of the `Install cargo-make` step.

* check if cachix speeds the process up
2022-03-17 14:00:48 +01:00
Jae-Heon Ji
6d71d0a9f1
docs(changelog): bump nix dependency 2022-03-17 21:32:31 +09:00
Jae-Heon Ji
ec319794a5
chore: bump nix version to 0.23.1 (#1234) 2022-03-17 21:29:20 +09:00
a-kenji
adb385126c docs(changelog): use cache_dirs for plugin data 2022-03-17 11:58:43 +01:00
a-kenji
092926c5d8
fix(wasm_vm): use cache_dirs for ephemeral plugin data (#1230)
fix(wasm_vm): use `cache_dirs` for ephemeral plugin data

Use proper `cache_directories` by default, that users can be expected
to have proper write permissions for.

The directory is used for plugin hashes, and compilation data.
2022-03-17 11:57:38 +01:00
a-kenji
19b74e073a docs(changelog): fix feature asset installation 2022-03-17 11:41:23 +01:00
a-kenji
b0276dfd74
fix(feat): disable_automatic_asset_installation (#1226)
* fix(feat): `disable_automatic_asset_installation`

This fixes a regression in the feature system:
The asset installation didn't get turned off by the feature.

Add error logging to the install functions.

Properly show features in setup

disable `mkdir` in `wasm_vm` on `feature-disable-asset-installation`

Alternative:
    Is this even needed? We make sure the directory is there upon the
    normal asset installation.

fixes #1130
2022-03-17 11:40:09 +01:00
Aram Drevekenin
2e03692f5b chore(version): bump development version 2022-03-16 14:25:08 +01:00
Aram Drevekenin
9c7d13984f chore(release): v0.26.1 2022-03-16 14:03:07 +01:00
a-kenji
c2e388f339
fix: deprecated function in clap (#1225)
`CommandFactory::into_app()` is deprecated in
favor of `CommandFactory::command()`
2022-03-16 13:15:07 +01:00
a-kenji
ade3548496
chore(update): pretty-bytes 0.2 -> 0.2.2 (#1224) 2022-03-16 11:29:04 +01:00