Commit Graph

2368 Commits

Author SHA1 Message Date
Imbris
95bfff1934
fix(errors): add file path context to all IO errors in ConfigError (#2412) 2023-04-28 16:53:46 +02:00
Aram Drevekenin
0e379fe15a
docs(changelog): support env vars and shell expansions in cwd 2023-04-28 16:46:20 +02:00
Ran Shaham
b640270804
feat(layout): Support environment variables in cwd (#2288) (#2291)
* feat(layout): Support environment variables in cwd (#2288)

* add `shellexpand` as dependency
* expand environment variable in kdl parser's `parse_cwd()`

* Fix and enhance environment variable expansion.

* Return a proper `ConfigError` on failures.
* Replace raw cwd parsing with `parse_cwd()`.
* Add tests that verify correct expansions.

* Perform env var expansion in more contexts.

* feat(layout): Rewrite env var tests as snapshots.

* Update layout env var expansion test snapshot.
2023-04-28 16:45:08 +02:00
Aram Drevekenin
b2ec105c76
docs(changelog): update and render plugins async 2023-04-28 15:28:14 +02:00
Aram Drevekenin
1289643f89
feat(plugins): update and render plugins asynchronously (#2410)
* working-ish minus a few race conditions

* relax atomicity

* various refactoringz

* remove commented out code

* clarify some stuffs

* refactor(plugins): move PluginMap and friends to a different file

* refactor(plugins): move zellij_exports and friends to a different file

* style(fmt): rustfmt

* fix(e2e): adjust tests for flakiness async loading
2023-04-28 15:26:39 +02:00
Jae-Heon Ji
a29c653385
docs(changelog): provide default themes 2023-04-27 00:27:06 +09:00
Jae-Heon Ji
ff36798c9e
feat: provide default themes (#2307)
* refactor: move themes to zellij-assets

* feat: add theme to the binary

* chore: move new theme from example to assets
2023-04-27 00:26:07 +09:00
Jae-Heon Ji
0a8bbd7f23
docs(changelog): fix typo 2023-04-26 23:30:55 +09:00
Jae-Heon Ji
40f46e8ed8
docs(changelog): add nightfox themes 2023-04-26 23:29:29 +09:00
EdenEast
76805cb529
feat(themes): add nightfox themes (#2384) 2023-04-26 23:26:08 +09:00
Jae-Heon Ji
7371bf58a7
docs(changelog): update architecture docs 2023-04-21 09:51:54 +09:00
Kangaxx-0
55c855ef55
Update architecture doc (#2371)
* Update architecture doc

* fix comments
2023-04-21 09:50:21 +09:00
Aram Drevekenin
d385c73e04
docs(changelog): reload plugins at runtime 2023-04-19 10:10:50 +02:00
Aram Drevekenin
caaee30179
feat(plugins): reload plugin at runtime (#2372)
* fix(plugins): proper error when wasm file does not exist

* reload working

* race condition handling

* refactor(plugins): start plugin

* refactor(plugins): plugin-loader

* refactor(plugins): load/reload plugin

* refactor(plugins): apply cached events

* fix(plugins): gittery loading

* chore(plugins): rename reload-plugin to start-or-reload-plugin

* chore(styling): small cleanups

* style(fmt): rustfmt

* style(fmt): cleanups

* style(fmt): cleanups

* test(e2e): update snapshots

* test(e2e): update snapshots

* chore(repo): comment plugin optimization because it doubles the CI time
2023-04-19 10:09:39 +02:00
Aram Drevekenin
26fcf84702
docs(changelog): default cwd 2023-04-18 16:36:32 +02:00
Kangaxx-0
4c87b1e6bd
feat: support default cwd (#2290)
* init commit

* add default config to kdl file

* change the field from `default_cwd` to `override_cwd`

* change back to default_cwd

* fix test

* default cwd works without `default_shell`
2023-04-18 16:35:51 +02:00
Aram Drevekenin
cecd7b2b7f
docs(changelog): tab sync exclude 2023-04-18 16:34:35 +02:00
Theo Salzmann
525928b18a
feat: Add layout configuration to exclude panes from tab sync (#2314) 2023-04-18 16:33:20 +02:00
Jae-Heon Ji
c7bd2ce922
docs(changelog): hide session on compact-bar 2023-04-16 23:37:53 +09:00
Pedro Fedricci
c604780a21
fix(plugin): respect hide session option on compact-bar (#2368) 2023-04-16 23:36:34 +09:00
Aram Drevekenin
03c507bc64 chore(version): bump development version 2023-04-13 11:16:47 +02:00
Aram Drevekenin
b1b515fb55 chore(release): v0.36.0 2023-04-13 10:35:04 +02:00
Aram Drevekenin
de9eeb2f42
docs(changelog): memory leak fix 2023-04-13 10:03:49 +02:00
Thomas Linford
7e207f4c0c
fix: do not hold on to router thread handle until server exit (#2328)
* do not hold on to thread handle until server exit

* fix tests
2023-04-13 10:02:07 +02:00
Aram Drevekenin
b40f5ef2ca
chore(assets): adjust logo (#2358)
* chore(assets): adjust logo

* chore(assets): adjust logo height
2023-04-12 15:04:01 +02:00
Thomas Linford
00af395bb7
docs(changelog): socket sticky bit fix 2023-04-05 17:39:02 +02:00
Thomas Linford
778d57c3c3
fix(server): set sticky bit on socket files (#2141) 2023-04-05 17:36:47 +02:00
Aram Drevekenin
3973873252
docs(changelog): strider fix 2023-04-04 18:40:21 +02:00
Aram Drevekenin
f5a13c7440
fix(plugins): prevent Strider from opening double-panes when editing files (#2346)
* fix(plugins): make sure to include client_id when writing input

* style(fmt): rustfmt

* fix(plugins): do not remove client plugins on detach
2023-04-04 18:39:34 +02:00
Aram Drevekenin
9d4e60e323
docs(changelog): stack pane focus bug in layout 2023-04-03 18:55:28 +02:00
Aram Drevekenin
809e3d8d21
fix(layout): pane focus in stack (#2344) 2023-04-03 18:54:37 +02:00
Aram Drevekenin
df8db1d2e7
docs(changelog): expanded panes in stack 2023-04-03 18:05:16 +02:00
Aram Drevekenin
3a428effed
feat(panes): allow defining an expanded stacked pane (#2343)
* feat(panes): allow defining an expanded stacked pane

* style(fmt): rustfmt
2023-04-03 18:04:06 +02:00
Aram Drevekenin
63d6711a8d
docs(changelog): tab focus race in layouts 2023-03-31 17:51:14 +02:00
Aram Drevekenin
88da3be23a
fix(layouts): focus tab race (#2340) 2023-03-31 17:50:21 +02:00
Aram Drevekenin
04c6af182e
docs(changelog): scrollback editor spaces fix 2023-03-31 16:24:15 +02:00
Aram Drevekenin
cc3c276586
fix(scrollback-editor): properly invoke editor when command includes spaces (#2339)
* fix(scrollback-editor): properly invoke editor when command includes spaces

* style(fmt): srsly clippy?
2023-03-31 16:23:24 +02:00
Aram Drevekenin
dc03fb0318
docs(changelog): swap layout truncating fix 2023-03-30 18:06:12 +02:00
Aram Drevekenin
30374d4ede
fix(layouts): nested attribute truncating (#2337) 2023-03-30 18:04:47 +02:00
Aram Drevekenin
55a2f4915e
docs(changelog): default swap layouts for new tab with layout 2023-03-30 16:55:17 +02:00
Aram Drevekenin
d121c780bf
fix(layouts): do not default to default swap layouts when opening a new tab without swap layouts (#2336) 2023-03-30 16:53:46 +02:00
Jae-Heon Ji
220f6684b0
docs(changelog): add option hide_session_name 2023-03-30 20:36:03 +09:00
Marcel Baur
6ea5c3666f
Add option to hide session name in tab-bar (deriving from #2172) (#2301)
* feat(tab-bar): add option to hide prefix (#2172)

* feat(tab-bar): only hide session_name

* fix(snapshots): update snapshots with new config-var naming

---------

Co-authored-by: Marcel Baur <marcel@baur.gg>
2023-03-30 20:33:39 +09:00
Andy Kipp
7f1dde5520
Add 'launch in xonsh' in README (#2323)
Updated the quick launch commands to include xonsh.
2023-03-30 11:14:51 +02:00
Aram Drevekenin
55c0a15a7d
docs(changelog): clear scrollback (cli) action 2023-03-29 23:06:07 +02:00
Oleks Gnatovskyi
bdb39b19a6
feat(terminal): cli and bindable action to clear all buffers for a specific pane (#2239)
* fix typo

* Add clear screen action

* add proper test

* added bindable action; remove pointless default impl

* add default binding

* use imsnif's variant

* remove commented example config

* remove log line

---------

Co-authored-by: Aram Drevekenin <aram@poor.dev>
2023-03-29 23:04:57 +02:00
Aram Drevekenin
638f2ad4ff
docs(readme): fix roadmap link 2023-03-29 23:02:42 +02:00
Aram Drevekenin
36b49c822f
docs(readme): update roadmap image (#2333) 2023-03-29 23:00:46 +02:00
Aram Drevekenin
341f9eb8c8
feat(plugins): async plugin loading (#2327)
* work

* refactor(plugins): break down start plugin async function

* work

* loading messages

* nice ui

* floating panes and error handling

* cleanups and conflicting plugin/direction

* find exact pane when relayouting

* fix plugin pane titles

* kill loading tasks on exit

* refactor: move stuff around

* style(fmt): rustfmt

* various fixes and refactors
2023-03-27 19:19:34 +02:00
Aram Drevekenin
7b609b053f
docs(changelog): load plugins async 2023-03-27 18:49:33 +02:00