aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAge
...
| * | | 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)
* | | docs(changelog): Fix lag #536Kunal Mohan2021-05-28
| | |
* | | docs(changelog): update compatibility fixAram Drevekenin2021-05-28
| | |
* | | 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
* | | Merge pull request #536 from kxt/525-pty-backpressureKunal Mohan2021-05-28
|\ \ \ | | | | | | | | Add back pressure to pty
| * | | fix(tests): Add SLEEP to top_and_quit testKunal Mohan2021-05-28
| | | |
| * | | 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.
* | | | chore(version): bump development versionAram Drevekenin2021-05-28
| | | |
* | | | chore(release): v0.12.1Aram Drevekenin2021-05-28
| | | |
* | | | chore(version): change to patch versionAram Drevekenin2021-05-28
| | | |
* | | | style(clippy): minor fixAram Drevekenin2021-05-28
| | | |
* | | | hotfix: remove termbg call so stdin won't get stuckAram Drevekenin2021-05-28
|/ / /
* | | 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.
* | | chore(version): bump development versionAram Drevekenin2021-05-27
| | |
* | | chore(release): v0.12.0Aram Drevekenin2021-05-27
| | |
* | | chore(cargo): lock workspace versionsAram Drevekenin2021-05-27
| | |
* | | Move `config` assets to `zellij-utils` cratea-kenji2021-05-27
| | | | | | | | | | | | | | | | | | * The assets macro seems to not be able to read across create boundaries. Now the assets are included in the crate they are used in.
* | | hotfix(publish): Move install module and asset_map to main zellij package. ↵Kunal Mohan2021-05-27
| | | | | | | | | | | | publish should hopefully work now.
* | | chore(build): update makefileAram Drevekenin2021-05-27
| | |
* | | docs(changelog): wide character supportAram Drevekenin2021-05-26
| | |
* | | fix(compatibility): support wide characters (#535)Aram Drevekenin2021-05-26
| |/ |/| | | | | | | | | | | * fix(compatibility): support wide characters * style(fmt): rustfmt * style(fmt): make clippy happy
* | Docs(changelog): Detachable sessions #531Kunal Mohan2021-05-25
| |
* | Merge pull request #531 from zellij-org/detach-sessionsKunal Mohan2021-05-25
|\ \ | | | | | | Feature: Detachable/Persistent sessions
| * | check for residual socket files and clean themKunal Mohan2021-05-25
| | |
| * | remove shortened_text mode from status-barKunal Mohan2021-05-25
| | |
| * | CHange keybind for Session mode and add comments for clarityKunal Mohan2021-05-25
| | |
| * | rename list_sessions file to sessionsKunal Mohan2021-05-22
| | |
| * | Allow user to specify session nameKunal Mohan2021-05-22
| | |
| * | check if session exists before attachingKunal Mohan2021-05-22
| | |
| * | join router threads on exitKunal Mohan2021-05-22
| | |
| * | fix regression and testsKunal Mohan2021-05-22
| | |
| * | Add ability to attach to sessionsKunal Mohan2021-05-22
| | |
| * | add keybinds for session mode and detachKunal 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
| | |
| * | Mark current session in the output of list-sessionsKunal Mohan2021-05-22
| | |
| * | Implement the minimal list-sessions commandKunal Mohan2021-05-22
| | |
| * | add attach and list sessions subcommand to CliArgsKunal Mohan2021-05-22
| | |
* | | hotfix(build): Fix cargo make installKunal Mohan2021-05-24
| | |
* | | docs(changelog): pty fixAram Drevekenin2021-05-24
| | |
* | | 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.
* | | Allow passing arguments to test and build commandsKunal Mohan2021-05-22
|/ /
* | Merge pull request #530 from a-kenji/action-doca-kenji2021-05-22
|\ \ | | | | | | Add documentation to actions struct
| * | Add documentation to actions structa-kenji2021-05-22
|/ / | | | | | | * Add warning for renaming the actions
* | Merge pull request #529 from a-kenji/config-flags-doca-kenji2021-05-22
|\ \ | | | | | | Change Description of Config Flags
| * | Change Description of Config Flagsa-kenji2021-05-22
|/ / | | | | | | | | * Make distinction clearer between certain flags
* | Merge pull request #524 from a-kenji/update-docsa-kenji2021-05-19
|\ \ | | | | | | chore(docs): Fix references
| * | chore(docs): Fix referencesa-kenji2021-05-19
| | | | | | | | | | | | * `xrdb` is not included currently
* | | Merge pull request #522 from zellij-org/re-export-dependenciesKunal Mohan2021-05-19
|\ \ \ | | | | | | | | Re-export common dependencies from zellij-utils
| * | | upgrade termbg and remove build-dependenciesKunal Mohan2021-05-19
| | | |