Commit Graph

1885 Commits

Author SHA1 Message Date
Jae-Heon Ji
794662af82
docs(changelog): fix typo 2022-06-10 23:46:10 +09:00
Kian-Meng Ang
16b53aa52f
docs: fix typos (#1481) 2022-06-10 23:37:55 +09:00
a-kenji
edac2eb5a9
add(ci/makefile): run clippy on all features (#1479)
Run clippy on all exposed features, to minimize the possiblility
of breakage.
2022-06-10 12:21:01 +02:00
a-kenji
10baf303c9 add: lints to blame-ignore 2022-06-10 11:44:31 +02:00
a-kenji
9544a09786
add: fix a small lint (#1476) 2022-06-10 11:42:47 +02:00
a-kenji
5b0c2633e7
add(README): quick links to documentation (#1473) 2022-06-09 23:23:34 +02:00
a-kenji
8e51eec877
remove: obsolete nonfunctional configurations (#1474)
The nonfunctional configurations are not needed anymore,
the `tmux-overview` configuration is also not needed anymore,
since there is now a prefix mode that emulates some tmux behaviour,
which is already a good example in the default configuration.
2022-06-09 23:10:36 +02:00
a-kenji
a614d11737
ci(nix): retry nix build on spurious failure (#1472) 2022-06-09 19:58:16 +02:00
Aram Drevekenin
663797f5e3
docs(readme0: adjust installation methods 2022-06-08 15:58:53 +02:00
a-kenji
d0435ab67b chore(changelog): add default-layout option 2022-06-07 21:35:26 +02:00
a-kenji
3ee214ef35
add(option): default_layout (#1467)
* add(option): `default_layout`

Add `option` `default_layout` / `default-layout`,
that allows specifying a different layout, that should
be loaded on start.

Eg:
```
default_layout: compact
```

* add(manpage): `default_layout`
2022-06-07 21:32:04 +02:00
a-kenji
f005c843d8
remove: obsolete comment (#1465) 2022-06-07 20:18:11 +02:00
a-kenji
c7231921e2
move: test-template layout to layouts directory (#1464)
* move: `test-template` layout to `layouts` directory

* remove(layout): test-template
2022-06-07 19:59:24 +02:00
a-kenji
f11fa14f79 chore(changelog): update crossbeam 0.8.0 -> 0.8.1 2022-06-07 18:22:01 +02:00
a-kenji
0f24e684b6
chore(deps): update crossbeam (#1463)
There is a possible race condition in `0.8.0`.
2022-06-07 18:14:05 +02:00
raphCode
92c5c6cb03
Add logging to ipc receiver (#1459)
* Add logging to ipc receiver

* Add to changelog
2022-06-07 17:14:22 +02:00
Aram Drevekenin
6d15af04bd chore(version): bump development version 2022-06-07 15:38:56 +02:00
Aram Drevekenin
3c692248d8 chore(release): v0.30.0 2022-06-07 15:31:52 +02:00
Aram Drevekenin
747b4ae7db
docs(changelog): status bar tips 2022-06-07 14:29:59 +02:00
Aram Drevekenin
3be718371a
feat(ui): add status bar tips (#1462)
* feat(ui): add more tips to status bar

* fix(e2e): clear status-bar-tips cache for each test

* style(fmt): rustfmt
2022-06-07 14:28:39 +02:00
Aram Drevekenin
3e5312087b
docs(changelog): tweak simplified ui 2022-06-06 22:32:58 +02:00
Aram Drevekenin
4a8d72d7b9
feat(ui): tweak simplified UI (#1458)
* fix(ui): tweak simplified-ui tabs

* fix(ui): tweak simplified-ui status bar

* style(fmt): rustfmt
2022-06-06 22:32:14 +02:00
Thomas Linford
627bb71f37
docs(changelog): mouse selection stuck fix 2022-06-06 12:08:10 +02:00
Thomas Linford
c2453b471b
fix(mouse): selection sometimes getting stuck (#1418)
- when multiple mouse events are read from stdin,
start mouse hold repeat loop only if hold event is the last.
2022-06-06 12:06:48 +02:00
Aram Drevekenin
bded92f553
feat(ui): minor tweaks to the compact tab bar (#1457)
* feat(ui): minor tweaks to the compact tab bar

* style(fmt): rustfmt
2022-06-06 11:30:40 +02:00
Aram Drevekenin
56aa269a4b
docs(changelog): client loop fix 2022-06-06 09:31:07 +02:00
Spyros Roum
496196214a
fix(client): exit client-loop on empty message receive (#1454) 2022-06-06 09:30:26 +02:00
Aram Drevekenin
e75b8da1ff
docs(changelog): edit scrollback with default editor 2022-06-06 09:22:11 +02:00
Cosmin Popescu
e1fcf3a6db
feat(scroll): edit scrollback with default editor (#1456)
* initial commit for opening the current buffer in an editor

* fix(editor): take hidden panes into consideration when manipulating tiled grid

* when closing an edit buffer, take the geometry of the replaced buffer from the closed buffer

* if the floating panels are displayed, don't add to hidden panels the current buffer

* strategy changing - put the panels inside a suppressed_panels HashMap instead of hidden_panels

* Revert "strategy changing - put the panels inside a suppressed_panels HashMap instead of hidden_panels"

This reverts commit c52a203a20.

* remove the floating panes by moving them to the tiled_panes in hidden_panels

* feat(edit): open editor to correct line and don't crash when none is set

* formatting

* feat(edit): use suppressed panes

* style(fmt): rustfmt and logs

* style(fmt): clean up unused code

* test(editor): integration test for suppressing/closing suppressed pane

* test(e2e): editor e2e test

* style(fmt): rustfmt

* feat(edit): update ui and setup

* style(fmt): rustfmt

* feat(config): allow configuring scrollback_editor explicitly

* style(fmt): rustfmt

* chore(repo): build after merging

Co-authored-by: Aram Drevekenin <aram@poor.dev>
2022-06-06 09:20:07 +02:00
a-kenji
58cc8fb2e1
flake.lock: Update (#1455)
Flake lock file updates:

• Updated input 'flake-utils':
    'github:numtide/flake-utils/04c1b180862888302ddfb2e3ad9eaa63afc60cf8' (2022-05-17)
  → 'github:numtide/flake-utils/1ed9fb1935d260de5fe1c2f7ee0ebaae17ed2fa1' (2022-05-30)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/83658b28fe638a170a19b8933aa008b30640fbd1' (2022-05-26)
  → 'github:nixos/nixpkgs/236cc2971ac72acd90f0ae3a797f9f83098b17ec' (2022-06-03)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/0be302358da0f8ea3d3cc24a0639b6354fc45e7c' (2022-05-28)
  → 'github:oxalica/rust-overlay/e64770eac18a1983232a5bc55fa443d9f15cc489' (2022-06-04)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-06-05 10:32:41 +02:00
a-kenji
2241128c4f
fix(compact-bar): remove duplicate padding (#1451) 2022-06-03 19:58:27 +02:00
a-kenji
9f777fbacc docs(changelog): add compact-bar & compact layout 2022-06-03 11:20:06 +02:00
a-kenji
d62e6fb57e
add(plugin): compact-bar & compact layout (#1450)
* add(plugin): `compact-bar` & `compact` layout

* add(nix): `compact-bar` plugin

* add(config): `compact-bar` to the config

* add(workspace): `compact-bar` to workspace members

* add(assets): `compact-bar`

* chore(fmt): rustfmt

* add(nix): add `compact-bar`

* add: compact layout to dump command

* nix(build): fix destination of copy command

* add(makefile): add `compact-bar` to `plugin-build`

* add(layout): `compact-bar` to layout

* add: install `compact-bar` plugin

* fix(test): update input plugin test

* fix(plugin): default colors for compact-bar
2022-06-03 11:14:38 +02:00
a-kenji
ad9ba8ab24
add: more information to the manpage (#1443) 2022-05-30 23:31:23 +02:00
a-kenji
9dbec05ff9
fix: clarify help text (#1442) 2022-05-30 23:11:36 +02:00
a-kenji
1e496c5e10
flake.lock: Update (#1438)
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/48037fd90426e44e4bf03e6479e88a11453b9b66' (2022-05-18)
  → 'github:nixos/nixpkgs/83658b28fe638a170a19b8933aa008b30640fbd1' (2022-05-26)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/3bc2619665745f5e6f2efc3d0664edad4f62201b' (2022-05-21)
  → 'github:oxalica/rust-overlay/0be302358da0f8ea3d3cc24a0639b6354fc45e7c' (2022-05-28)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-05-29 12:01:18 +02:00
Aram Drevekenin
2514ae43c3
docs(changelog): layout cli arg merge 2022-05-28 12:28:12 +02:00
Spyros Roum
2f58835f07
feat(cli): merge --layout and --layout-path (#1426)
* Merge --layout and --layout-path

* Fix e2e tests

* style(comment): reword help text

Co-authored-by: Aram Drevekenin <aram@poor.dev>
2022-05-28 12:20:41 +02:00
Mathieu Santostefano
fd79b22d59
chore(assets): update Dracula Theme (#1435)
* Update Dracula Theme

Dracula theme already exists in https://github.com/dracula/zellij

* Add link to dracula theme repo
2022-05-24 17:02:34 +02:00
raphTec
8f3f6ed5fc docs(changelog): fix client process hanging / not exiting 2022-05-24 14:44:39 +02:00
raphCode
eab464b11a
Fix double panic lockup in clients panic handler (#1433)
* Fix possible lockup in the clients panic handler

When the pty the client was running in disappears, reading from stdin
causes a panic, which triggers the custom panic handler. This handler
attempts to print a backtrace to the terminal and tries to unset the raw
mode for that. Since the pty has already disappeared, the tcsetattr call
fails and causes a second panic, which locks everything up.

This commit fixes this by returning an Result from the unset_raw_mode
function, allowing the calling panic handler to handle any error
gracefully.

* Log any client panics to file

Since we are now aware of the fact that panics may happen / are handled
after the pty has disappeared, logging them to file seems useful: there
is no other other place to show them to the user.

* fix tests and improve function return type
2022-05-24 14:10:37 +02:00
Jae-Heon Ji
69ec7c7e3a
docs(changelog): checking for missing extensions 2022-05-24 13:10:48 +09:00
Jae-Heon Ji
f7c019743a
fix: add checking for missing extensions (#1432) 2022-05-24 13:09:01 +09:00
a-kenji
9d1d3dac74 docs(changelog): update names & dialoguer 2022-05-23 21:44:31 +02:00
Carmelo Sarta
3fdd4c8a19
Updated names and dialoguer crates dependencies (#1430)
* Updated names and dialoguer crates dependencies

I tried to build and run zellij with the updated dependencies and they seem to show no issues.
I need this in order to package zellij for Fedora.

* Updated cargo.lock

* fix: use suggested option for `names` crate

https://github.com/fnichol/names/blob/main/CHANGELOG.md#0120---2021-09-12

Co-authored-by: a-kenji <aks.kenji@protonmail.com>
2022-05-23 21:42:30 +02:00
a-kenji
d44aef4011 docs(changelog): strip debug symbols on release 2022-05-22 19:57:49 +02:00
a-kenji
d267730704
build: strip debug symbols (#1177)
* build: strip debug symbols

Stripping the symbols for the release build drops binary size
currently by 20% and the plugin binaries by up to 50%.

Alternative: Keep the debug symbols also on releases

* bump(rust): `1.58.0` -> `1.59.0`

* chore: bump MSRV `1.56` -> `1.59`

Needed for cargos strip-debug feature
2022-05-22 12:48:34 +02:00
Jae-Heon Ji
aff1214d1e
docs(changelog): fix strider plugins 2022-05-22 16:57:48 +09:00
Jae-Heon Ji
c5807767d2
fix(strider): update out of range index in files (#1425) 2022-05-22 16:56:29 +09:00
a-kenji
48f2285e5b
flake.lock: Update (#1427)
Flake lock file updates:

• Updated input 'flake-utils':
    'github:numtide/flake-utils/12806d31a381e7cd169a6bac35590e7b36dc5fe5' (2022-05-14)
  → 'github:numtide/flake-utils/04c1b180862888302ddfb2e3ad9eaa63afc60cf8' (2022-05-17)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/d89d7af1ba23bd8a5341d00bdd862e8e9a808f56' (2022-05-12)
  → 'github:nixos/nixpkgs/48037fd90426e44e4bf03e6479e88a11453b9b66' (2022-05-18)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/f9ddceabd2ccd2bf3d08c83832f3709c94287144' (2022-05-14)
  → 'github:oxalica/rust-overlay/3bc2619665745f5e6f2efc3d0664edad4f62201b' (2022-05-21)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-05-22 08:50:05 +02:00