aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAge
...
* Do not advertise 24 bit color support unchecked (#1900)raphCode2022-11-08
| | | | | | | | | | | | | | * Fix bat syntax colors when using mosh Original reason for this line according to Aram: I set this variable as part of the Sixel support to get notcurses to work properly. I tried communicating with the notcurses maintainers about a workaround for this, but to no avail. * Changelog * Improve changelog message * Remove empty function
* errors: Remove `log::error` in server (#1881)har7an2022-11-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * server/wasm_vm: Replace `log::error!` with better error logging by means of `non_fatal`. This preserves the original error and allows adding context information on top. Also makes error formatting more uniform across the application. * server/tab: Replace `log::error!` with better error logging by means of `non_fatal`. This preserves the original error and allows adding context information on top. Also makes error formatting more uniform across the application. * server/route: Replace `log::error!` and propagate the error to the caller instead. * server/pty: Replace `log::error!` with better error logging by means of `non_fatal`. This preserves the original error and allows adding context information on top. Also makes error formatting more uniform across the application. Also add per-instruction error context to make it clear what we tried to accomplish when an error occured. * server/panes/tiled_panes: Merge dependencies and sort them into a better order. * server/panes/tiled_panes: Replace `log::error!` with better error logging by means of `non_fatal`. This preserves the original error and allows adding context information on top. Also makes error formatting more uniform across the application. * server/os_input_output: Merge depndencies and sort them into a better order. * server/logging_pipe: Replace `log::error!` with better error logging by means of `non_fatal`. This preserves the original error and allows adding context information on top. Also makes error formatting more uniform across the application. * server/os_io: Remove uses of `log::error` * changelog: Add PR #1881 * server/os_io: Gracefully handle failing resize for terminals IDs that don't exist, instead of propagating the error to the user. * server/lib: Remove leftover log message * server/pty: Log error cause rather than providing a hard-coded error reason which is plain wrong in this context. * server/screen: Remove calls to `log::error!` and change `get_active_tab(_mut)?` to return a `Result` instead of an `Option`. This already makes many places in the code obsolete where previously "failed to get active tab..." was logged manually. Rather than logging, use the `anyhow::Error`s we have, along with all their context information, and log these instead.
* docs(changelog): various no-frame bugsAram Drevekenin2022-11-05
|
* fix(panes): moving and toggling embed/float with frames (#1909)Aram Drevekenin2022-11-05
| | | | | * fix(ui): frame broken or missing when embedding/floating without pane frames * fix(panes): offset properly without pane frames
* docs(changelog): focus in/out eventAram Drevekenin2022-11-04
|
* feat(terminals): send focus in/out events to terminal panes (#1908)Aram Drevekenin2022-11-04
| | | | | | | * feat(terminals): send focus in/out events to terminal panes * style(fmt): rustfmt * style(fmt): rustfmt
* docs(changelog): cli action tty fixAram Drevekenin2022-11-03
|
* fix(cli-actions): do not query termios for the cli client (#1905)Aram Drevekenin2022-11-03
|
* docs(changelog): zellij edit fixAram Drevekenin2022-11-03
|
* fix(edit): treat cwd properly (#1904)Aram Drevekenin2022-11-03
|
* docs(changelog): bold/dim reset fixAram Drevekenin2022-11-02
|
* fix(terminal): Reset dim SGR independently from bold (#1803)Pedro Fedricci2022-11-02
|
* docs(changelog): clear floating panes indicationAram Drevekenin2022-11-02
|
* fix(ui): clear floating panes indication when closing a command pane (#1897)Aram Drevekenin2022-11-02
|
* docs(changelog): backslash config convert fixAram Drevekenin2022-11-02
|
* fix(converter): YAML => KDL conversion with backslash hotkey. (#1879)noyez2022-11-02
| | | | | | | | | | | | * Fixing YAML => KDL conversion with backslash hotkey. Previously if the hotkey of backslash was used the yaml => kdl conversion would create a KDL statement like so: `bind "\" {...}`. That is incorrect kdl syntax since the backslash escapes the following quote character. A way to get proper KDL is `bind r"\" {...}`. This commit changes if the old HotKey is a backslash a properly creates KDL syntax to address the backslash character. * rustfmt
* docs(changelog): terminating char in searchAram Drevekenin2022-11-02
|
* fix(search): allow terminating char to clear search term (#1853)哇呜哇呜呀咦耶2022-11-02
| | | | | * allow terminating char to clear search term * format code
* docs(changelog): remove space from shared_exceptJae-Heon Ji2022-11-02
|
* fix(keybinds): remove space key from shared_except (#1884)Jae-Heon Ji2022-11-02
| | | | | * fix(keybinds): remove space key from shared_except * chore: update snapshots
* errors: Don't unwrap in `server::os_input_output` (#1895)har7an2022-11-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * server/os_io: Redefine `ServerOsApi` result types to use `anyhow::Result` instead. This mostly makes the need of custom `SpawnTerminalError` obsolete (tbd in subsequent commits) and unifies error handling across the application. * utils/errors: Implement new `ZellijError` type to replace any previously defined, isolated custom error types throughout the application. Currently implements all error variants found in `SpawnTerminalError`. In the long term, this will allow zellij to fall back to a single error type for all application-specific errors, instead of having different error types per module. * server/unit/screen: Impl new `ServerOsApi` with updated `Result`-types. * server/tab/unit: Impl new `ServerOsApi` with updated `Result`-types. * server/os_io: Impl new `ServerOsApi` with updated `Result`-types. * utils/ipc: Return `anyhow::Error` in `send` rather than a `&'static str`, which isn't compatible with `anyhow::Context`. * server/tab: Handle `Result` in `resize_pty!` which is returned due to the changed return types in `ServerOsApi`. * server/tab: Handle new `Result`s originating in the change to the `ServerOsApi` trait definition. * server/screen: Handle new `Result`s originating in the change to the `ServerOsApi` trait definition. * server/panes/tiled: Handle new `Result`s originating in the change to the `ServerOsApi` trait definition. * server/panes/floating: Handle new `Result`s originating in the change to the `ServerOsApi` trait definition. * server/lib: Unwrap on new `Result`s originating in the change to the `ServerOsApi` trait definition. The functions here don't return a `Result` yet, this is better left to a follow-up PR. * server: Remove `SpawnTerminalError` and make use of the new `ZellijError` instead. Make use of `anyhow`s downcast capabilities to restore the underlying original errors where necessary, as was done previously. This gives us the flexibility to attach context information to all errors while still allowing us to handle specific errors in greater detail. * server/pty: Fix vars broken in rebase * server/os_io: Remove last `SpawnTerminalError` * changelog: Add PR #1895
* build(deps): bump cachix/install-nix-action from 17 to 18 (#1890)dependabot[bot]2022-11-01
| | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* flake.lock: Update (#1889)a-kenji2022-11-01
| | | Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* build(deps): bump cachix/cachix-action from 10 to 12 (#1891)dependabot[bot]2022-11-01
| | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* docs(changelog): suspended command panesAram Drevekenin2022-11-01
|
* feat(command-panes): allow to start suspended (#1887)Aram Drevekenin2022-11-01
| | | | | | | * feat(command-panes): allow panes to start suspended * style(fmt): remove unused code * style(fmt): rustfmt
* docs(changelog): status bar fixAram Drevekenin2022-10-31
|
* fix(status-bar): display controls line of status-bar plugin if pane size=1 ↵Mathieu Santostefano2022-10-31
| | | | (#1875)
* docs(changelog): mouse mode runtime toggleThomas Linford2022-10-31
|
* feat(mouse): allow toggling mouse mode at runtime (#1883)Thomas Linford2022-10-31
|
* docs(changelog): setup --clean panic fixThomas Linford2022-10-31
|
* fix: resolve setup --clean panic (#1882)Thomas Linford2022-10-31
| | | | | | | Do not use Config::default() default() has empty plugins config and that does not work with the default layout. Use Config::try_from() instead, since it already handles the clean flag. Also, do not check the clean flag twice, it is already handled in Config::try_from.
* errors: Don't unwrap in `zellij_server::output` (#1878)har7an2022-10-30
| | | | | | | | | | | | | * server/output: Don't unwrap and return `Result` types where appropriate instead. * server: Handle new `Result`s from `output` * server/tab/unit: Unwrap new `Result`s * changelog: Add PR #1878 Don't unwrap in `zellij_server::output`.
* errors: Don't unwrap in `server::terminal_bytes` (#1876)har7an2022-10-28
| | | | | | | | | * server/terminal_bytes: Don't unwrap and return `Result`s instead, where appropriate. * changelog: Add PR #1876 Don't unwrap in `zellij_server::terminal_bytes`.
* docs(changelog): update docs theme example dirJae-Heon Ji2022-10-29
|
* docs(example): update README.md (#1877)Jae-Heon Ji2022-10-29
|
* changelog: Add PR #1872har7an2022-10-28
| | | Remove calls to `unwrap` in `zellij_server::pty_writer`
* errors: Don't unwrap in `server::pty_writer` (#1872)har7an2022-10-28
| | | | | | | | * server/pty_writer: Don't unwrap and handle occuring errors instead. Replace calls to `log::error` with `non_fatal` instead. * server/pty_writer: Apply rustfmt
* changelog: Add PR #1870har7an2022-10-28
| | | Remove calls to `unwrap` in `zellij_server::ui::*`
* improve error handling in ui module (#1870)哇呜哇呜呀咦耶2022-10-28
| | | | | * improve error handling in ui module * resolve problems in the review
* docs(changelog): support multiple themesJae-Heon Ji2022-10-28
|
* feat: support multiple themes in one file (#1855)Jae-Heon Ji2022-10-28
| | | | | * feat: support multiple themes in a one file * chore: update example of multiple themes to gruvbox
* docs(changelog): add everforest themesThomas Linford2022-10-28
|
* fix(themes): fix error in everforest themes (#1874)Thomas Linford2022-10-28
|
* Add everforest theme in theme examples (#1873)Nrishinghananda Roy2022-10-28
|
* docs(changelog): close on exitAram Drevekenin2022-10-28
|
* feat(command-panes): optionally allow panes to be closed on exit (#1869)Aram Drevekenin2022-10-28
| | | | | | | * feat(cli): allow option to close command pane on exit * feat(layouts): allow option to close command panes on exit * style(fmt): rustfmt
* changelog: Add PR #1840har7an2022-10-26
| | | improve error handling in `zellij_server::pty`
* improve error handling in pty (#1840)哇呜哇呜呀咦耶2022-10-26
| | | | | | | | | * improve error handling in pty * improve error handling in pty * format code * attach context to remaining result
* chore(version): bump development versionAram Drevekenin2022-10-25
|