aboutsummaryrefslogtreecommitdiffstats
path: root/zellij-server/src (follow)
Commit message (Collapse)AuthorAge
...
| | * feat(ui): added feature for an experimental resizeBrooks J Rady2021-06-03
| | | | | | | | | | | | | | | | | | | | | 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.
| | * Fixed a build warning and renamed a struct fieldBrooks J Rady2021-06-03
| | |
| | * Merge branch 'main' into resize-overhaulBrooks J Rady2021-06-01
| | |\
| | * | Getting back to where we started... (Buggy Resizing)Brooks J Rady2021-05-29
| | | |
| * | | fix(performance): output buffer (#567)Aram Drevekenin2021-06-03
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
| * | Omit '(unnamed)' from tab nameAdaShoelace2021-06-01
| | |
| * | Initial names outside return structAdaShoelace2021-05-31
| | |
| * | Set tab name on creation instead of on renderAdaShoelace2021-05-31
| | |
* | | Move `layout.rs` from `server` to `utils`a-kenji2021-06-14
|/ / | | | | | | * give feedback on most errors in the layout-file
* | Merge branch 'main' of https://github.com/zellij-org/zellij into theme-configa-kenji2021-05-30
|\|
| * Add default_mode to attacha-kenji2021-05-29
| | | | | | | | | | * Attaching a new session now also respects the default_mode setting of the client
| * Merge pull request #513 from a-kenji/default-mode-368a-kenji2021-05-29
| |\ | | | | | | Default mode 368
| | * Merge branch 'main' of https://github.com/zellij-org/zellij into ↵a-kenji2021-05-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | default-mode-368 * If starting in the locked mode after the merge, the locked mode seems to need 2 actions to go to the normal mode - after that everything works as expected. - This is not intended.
| * | Fix cargo fmt diff.Thomas Zander2021-05-29
| | |
| * | Fix build on platforms with TIOCGWINSZ / ioctl() integer type mismatch.Thomas Zander2021-05-29
| | |
* | | Add color theme configa-kenji2021-05-30
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add option `theme` that allows for setting of a theme, the default is `default` * under `themes` the themes can be described as follows: either: ``` themes: default: fg: [0,0,0] bg: [0,0,0] black: [0,0,0] red: [0,0,0] green: [0,0,0] yellow: [0,0,0] blue: [0,0,0] magenta: [0,0,0] cyan: [0,0,0] white: [0,0,0] orange: [0,0,0] ``` or ``` themes: default: fg: 0 bg: 0 black: 0 red: 0 green: 0 yellow: 0 blue: 0 magenta: 0 cyan: 0 white: 0 orange: 0 ``` If the key is different from default, it needs to either be specified on start with `options --theme [THEME]`, or in the configuration file under theme: [THEME]. closes #390
* | Make session-name option in attach commandKunal Mohan2021-05-29
| | | | | | | | | | If only one session is running, attach to it. Otherwise list the active sessions (if any)
* | fix(compatibility): do not crash when padding before wide char (#540)Aram Drevekenin2021-05-28
| | | | | | | | | | * fix(compatibility): do not crash when padding before wide char * style(clippy): make less clear because clippy
* | fix: use bounded queue between pty and screenKOVACS Tamas2021-05-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pty reads a command's output and feeds it to Screen using an unbounded queue. However, if the command produces output faster than what `Screen` can render, `Pty` still pushes it on the queue, causing it to grow indefinitely, resulting in high memory usage and latency. This patch fixes this by using a bounded queue between Pty and Screen, so if Screen can't keep up with Pty, the queue will fill up, exerting back pressure on Pty, making it read the command's output only as fast as Screen renders it. The unbounded queue is kept between Screen and producers other than Pty to avoid a deadlock such as this scenario: * pty thread filling up screen queue as soon as screen thread pops something from it * wasm thread is processing a Render instruction, blocking on the screen queue * screen thread is trying to render a plugin pane. It attempts to send a Render insturction to the blocked wasm thread running the plugin. This patch also adds a generous amount of sleeps to the integration tests as having backpressure changes the timing of how instructions are processed. Fixes #525.
* | refactors for #525 (#534)kxt2021-05-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * refactor(fakes): clean up add_terminal_input * refactor(fakes): append whole buf to output_buffer in FakeStdoutWriter::write * refactor(fakes): append whole buf to output_buffer in FakeInputOutput::write_to_tty_stdin * fix(fakes): allow partial reads in read_from_tty_stdout This patch fixes two bugs in read_from_tty_stdout: * if there was a partial read (ie. `bytes.read_position` is not 0 but less than `bytes.content.len()`), subsequent calls to would fill `buf` starting at index `bytes.read_position` instead of 0, leaving range 0..`bytes.read_position` untouched. * if `buf` was smaller than `bytes.content.len()`, a panic would occur. * refactor(channels): use crossbeam instead of mpsc This patch replaces mpsc with crossbeam channels because crossbeam supports selecting on multiple channels which will be necessary in a subsequent patch. * refactor(threadbus): allow multiple receivers in Bus This patch changes Bus to use multiple receivers. Method `recv` returns data from all of them. This will be used in a subsequent patch for receiving from bounded and unbounded queues at the same time. * refactor(channels): remove SenderType enum This enum has only one variant, so the entire enum can be replaced with the innards of said variant. * refactor(channels): remove Send+Sync trait implementations The implementation of these traits is not necessary, as SenderWithContext is automatically Send and Sync for every T and ErrorContext that's Send and Sync.
* | hotfix(publish): Move install module and asset_map to main zellij package. ↵Kunal Mohan2021-05-27
| | | | | | | | publish should hopefully work now.
* | fix(compatibility): support wide characters (#535)Aram Drevekenin2021-05-26
|/ | | | | | | * fix(compatibility): support wide characters * style(fmt): rustfmt * style(fmt): make clippy happy
* Merge pull request #531 from zellij-org/detach-sessionsKunal Mohan2021-05-25
|\ | | | | Feature: Detachable/Persistent sessions
| * remove shortened_text mode from status-barKunal Mohan2021-05-25
| |
| * CHange keybind for Session mode and add comments for clarityKunal Mohan2021-05-25
| |
| * join router threads on exitKunal Mohan2021-05-22
| |
| * fix regression and testsKunal Mohan2021-05-22
| |
| * Add ability to attach to sessionsKunal Mohan2021-05-22
| |
| * Use Action enum for Quit and detach instead of separate messages under ↵Kunal Mohan2021-05-22
| | | | | | | | ClientToServerMsg
| * Add ability to detach a sessionKunal Mohan2021-05-22
| |
* | fix(pty): use async io to avoid polling (#523)kxt2021-05-24
|/ | | | This patch fixes #509 by using async read instead of polling a non-blocking fd. This reduces CPU usage when the ptys are idle.
* Merge pull request #522 from zellij-org/re-export-dependenciesKunal Mohan2021-05-19
|\ | | | | Re-export common dependencies from zellij-utils
| * Re-export common dependencies from zellij-utilsKunal Mohan2021-05-19
| |
* | refactor(IO): random fixes (#521)kxt2021-05-18
| | | | | | | | | | | | | | | | | | | | | | | | * refactor(os_input_output): use Pid for child process * fix(debug): change debug_to_file to write &[u8] This patch changes debug_to_file to write entire slices in one call, to avoid the overhead of opening and closing files for each byte written. * refactor(ServerOsApi): remove unnecessary muts from methods Co-authored-by: KOVACS Tamas <ktamas@fastmail.fm>
* | Merge branch 'main' of https://github.com/zellij-org/zellij into layout-path-506a-kenji2021-05-18
|/
* Osc implementation (#517)Aram Drevekenin2021-05-17
| | | | | | | | | | | | | * fix(compatibility): implement most osc methods * style(fmt): rustfmt * style(fmt): remove cargo warnings * style(fmt): make clippy happy * style(fmt): fix formatting after my clippy fixes broke it again ;P * fix(grid): fix tests
* hotfix(server): Maintain working directory while daemonizationKunal Mohan2021-05-17
|
* fmt and clippyKunal Mohan2021-05-16
|
* Big refactor: separate crates for client, server and utilitiesKunal Mohan2021-05-16