aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAge
* Add a plugin callback for global keypressesBrooks J Rady2021-01-10
|
* Add support for layouts with parts of a fixed or unspecified sizeBrooks J Rady2021-01-10
|
* feat(infra): initial plugin systemBrooks Rady2021-01-08
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Added the ability to load and keep track of several plugins at once - Removed `wasm-wip` feature flag, enabling plugins in all builds - `split_space` now returns a tuple with the `part_position_and_size` (as before) plus a cloned version of the part, so plugins and terminals can be distinguished by its users - Added a `Draw` instruction for rendering plugins when asked to by Mosaic - Added a new `PluginPane`, implementing `Pane` for plugins! - Replaced RawFd as a pane-identifier with the `PaneId` enum in most places - `change_size` -> `change_pos_and_size`, with the functionality updated to fit the new name - `buffer_as_vte_output` -> `render` - `pid()` on the `Pane` trait now returns a `PaneId` - Changed lots of functions in `tab.rs` to be more pane oriented, renaming some to remove the `terminal` and switching to `PaneId`s - splitting functions in `tab.rs` now correctly update the positions of returned fragments - Used `PaneId`'s as a replacement for `PaneKind` in the tab `BTreeMap` - Removed `get_rows` and `get_columns` from the `Pane` trait - Layouts can now create plugin panes! - Changed lots of the `active_terminal` stuff in `tab.rs` to work with all panes - Changed the `Tab` `render` function, so that common requirements are moved there and out of the `Pane::render()` methods - Added a `shared.rs` to `utils` with a couple of useful functions - We can now accept input and pass it to plugins via serialised JSON - Trigger a screen render after handling input meant for a plugin - Allow plugins to be properly closed - Allow plugin panes to be split (opening a new terminal) - Allow plugin API functions to send messages on the PTY bus - Added the API functionality needed for a plugin to open a file in a new pane - No more compiler warnings! - Fixed 53 clippy lints!
| * Don't forget to tell split terminals that they have a new size!Brooks J Rady2021-01-08
| |
| * Change the layout to only one pluginBrooks J Rady2021-01-07
| |
| * Merge in changes from main and fix a clippy lintBrooks J Rady2021-01-07
| |\ | |/ |/|
* | chore(cleanup): Clean up project root (#135)Henil Dedania2021-01-07
|\ \ | | | | | | * Clean up the root of the project
| * | clean up root of projecthenil2021-01-07
|/ /
* | feat(completions): Add shell completions files (#128)Henil Dedania2021-01-07
| | | | | | | | | | | | | | * Add shell completions and output files to `assets/completions` * Rename files and struct name * Update tests to take into account new changes
| * Finished plugin system! (Added file opening)Brooks J Rady2021-01-07
| |
| * Fix the plugin splitting bugsBrooks J Rady2021-01-07
| |
| * Make it possible to cleanly close pluginsBrooks J Rady2021-01-07
| |
| * Get rid of BuiltIn Pane (for now) + style tweakBrooks J Rady2021-01-07
| |
| * Working input response!Brooks J Rady2021-01-07
| |
| * Add LTO and use a termion fork with serde supportBrooks J Rady2021-01-07
| |
| * Massively optimise the strider WASM fileBrooks J Rady2021-01-07
| |
| * Merge branch 'wasm-launchable' into wasm-inputBrooks J Rady2021-01-07
| |\
| | * Might as well use the From traitBrooks J Rady2021-01-07
| | |
| | * Fix a positioning bugBrooks J Rady2021-01-07
| | |
| * | Loop through input keysBrooks J Rady2021-01-07
| | |
| * | Parse bytes into keys with TermionBrooks J Rady2021-01-07
| |/
| * Merge branch 'main' into wasm-launchableBrooks J Rady2021-01-06
| |\ | |/ |/|
* | Merge pull request #131 from mosaic-org/mosaic#130Denis Maximov2021-01-06
|\ \ | | | | | | fix: fixes #130 by adding overflowing_sub
| * | wip: added a testdenis2021-01-06
| | |
| * | chore: fmtdenis2021-01-05
| | |
| * | fix: fixes #130 by adding overflowing_subdenis2021-01-05
| | |
| | * Add a FIXME for a clippy lintBrooks J Rady2021-01-06
| | |
| | * Get clipped, foolBrooks J Rady2021-01-06
| | |
| | * A module rename to please clippyBrooks J Rady2021-01-06
| | |
| | * Warnings purged and some FIXME's addressedBrooks J Rady2021-01-06
| | |
| | * Fix early quit with pluginsBrooks J Rady2021-01-06
| | |
| | * The RawFd has been slain...Brooks J Rady2021-01-06
| | |
| | * Functional drawing of plugins to the screenBrooks J Rady2021-01-06
| | |
| | * Very nearly workingBrooks J Rady2021-01-06
| | |
| | * Also borkenBrooks J Rady2021-01-06
| | |
| | * fix(render): properly render plugin borders and contentAram Drevekenin2021-01-06
| | |
| | * Acutually pass combined position and sizeBrooks J Rady2021-01-06
| | |
| | * Update messageBrooks J Rady2021-01-05
| | |
| | * Very borkenBrooks J Rady2021-01-05
| | |
| | * Merge branch 'main' into wasm-launchableBrooks J Rady2021-01-05
| | |\ | |_|/ |/| |
* | | fix(style): Deduplicate a massive chunk of codeBrooks J Rady2021-01-05
|/ /
| * Keeping track of multiple pluginsBrooks J Rady2021-01-05
|/
* Merge pull request #126 from mosaic-org/wasm-launchableBrooks Rady2020-12-30
|\ | | | | Load WASM from Layouts (Includes PR #125)
| * Merge thingsBrooks J Rady2020-12-30
| |\ | |/ |/|
* | fix(plugins): fully Working WebAssembly Loading! (#125)Brooks Rady2020-12-30
| | | | | | | | | | * Fully Working WebAssembly Loading! * Move some wasm code to it's own module
* | fix(infra): make panes BTreeMap value Pane trait in preparation for the ↵Doron Tsur2020-12-30
| | | | | | | | status bar (#124)
| * It's now possible to load WASM files from layouts!Brooks J Rady2020-12-29
| |
| * Move some wasm code to it's own moduleBrooks J Rady2020-12-29
| |
| * Fully Working WebAssembly Loading!Brooks J Rady2020-12-29
|/
* Update GOVERNANCE.mdKunal Mohan2020-12-27
| | | Add `Kunal Mohan` to org members.