Commit Graph

189 Commits

Author SHA1 Message Date
Brooks J Rady
7668a19490 Fix a positioning bug 2021-01-07 10:24:29 +00:00
Brooks J Rady
b5f9066172 Merge branch 'main' into wasm-launchable 2021-01-06 20:31:29 +00:00
Brooks J Rady
c76ee391ec Add a FIXME for a clippy lint 2021-01-06 19:38:00 +00:00
Brooks J Rady
1fa23e6fa4 Get clipped, fool 2021-01-06 19:34:18 +00:00
Brooks J Rady
4a176669fa A module rename to please clippy 2021-01-06 17:46:50 +00:00
Brooks J Rady
698bcf83fc Warnings purged and some FIXME's addressed 2021-01-06 17:23:00 +00:00
Brooks J Rady
b2720169fb Fix early quit with plugins 2021-01-06 17:06:15 +00:00
Brooks J Rady
fc2205c415 The RawFd has been slain... 2021-01-06 16:41:02 +00:00
Brooks J Rady
931384d42f Functional drawing of plugins to the screen 2021-01-06 13:40:16 +00:00
Brooks J Rady
d509b0c339 Very nearly working 2021-01-06 13:34:21 +00:00
Brooks J Rady
a6ba792e89 Also borken 2021-01-06 12:53:12 +00:00
Aram Drevekenin
d8fca1d808 fix(render): properly render plugin borders and content 2021-01-06 10:10:25 +01:00
Denis Maximov
610545f54a
Merge pull request #131 from mosaic-org/mosaic#130
fix: fixes #130 by adding overflowing_sub
2021-01-06 10:30:01 +02:00
denis
cde7703ac7 wip: added a test 2021-01-06 10:08:47 +02:00
Brooks J Rady
d25df96eef Acutually pass combined position and size 2021-01-06 00:36:34 +00:00
Brooks J Rady
e19f674a21 Update message 2021-01-05 23:05:34 +00:00
Brooks J Rady
eb0f3b0285 Very borken 2021-01-05 22:41:23 +00:00
Brooks J Rady
92ef2d2360 Merge branch 'main' into wasm-launchable 2021-01-05 13:33:27 +00:00
Brooks J Rady
6f1546a5cb Keeping track of multiple plugins 2021-01-05 13:33:23 +00:00
Brooks J Rady
8dd9a6c7b2 fix(style): Deduplicate a massive chunk of code 2021-01-05 13:09:01 +00:00
denis
7c41c5f624 chore: fmt 2021-01-05 11:54:36 +02:00
denis
a1febb52bd fix: fixes #130 by adding overflowing_sub 2021-01-05 11:52:12 +02:00
Brooks Rady
c7db38d0c5
Merge pull request #126 from mosaic-org/wasm-launchable
Load WASM from Layouts (Includes PR #125)
2020-12-30 11:41:02 +00:00
Brooks J Rady
3695907097 Merge things 2020-12-30 11:25:55 +00:00
Brooks Rady
22890c53fe
fix(plugins): fully Working WebAssembly Loading! (#125)
* Fully Working WebAssembly Loading!

* Move some wasm code to it's own module
2020-12-30 09:59:32 +01:00
Doron Tsur
f196726dab
fix(infra): make panes BTreeMap value Pane trait in preparation for the status bar (#124) 2020-12-30 09:54:31 +01:00
Brooks J Rady
b0c7259266 It's now possible to load WASM files from layouts! 2020-12-29 16:28:34 +00:00
Brooks J Rady
0049b26bf8 Move some wasm code to it's own module 2020-12-29 12:49:35 +00:00
Brooks J Rady
db4d6b6eb5 Fully Working WebAssembly Loading! 2020-12-29 10:24:22 +00:00
Kunal Mohan
581e06bf8b
Update GOVERNANCE.md
Add `Kunal Mohan` to org members.
2020-12-27 13:48:25 +05:30
Denis Maximov
8f543a4dde
Update GOVERNANCE.md 2020-12-26 15:19:02 +02:00
Aram Drevekenin
4436c89230
fix(compatibility): git log and git diff with scrollup (#118)
* fix(compatibility): git log and git diff with scrollup

* style(formatting): make rustfmt happy
2020-12-21 11:52:49 +01:00
Doron Tsur
75b00b7932
refactor(tabs): lay down infrastructure for status bar (#116)
* resolves #76

* move private fun to bottom

* refactor(tabs): do not allocate when filtering panes to terminals

* style(formatting): make rustfmt happy

Co-authored-by: Aram Drevekenin <aram@poor.dev>
2020-12-19 17:36:23 +01:00
Aram Drevekenin
83a830e4ab
fix(compatibility): fish multiline paste (#112)
* fix(compatibility): fix fish multiline paste

* fix(tests): adjust snapshots of test to tabs

* style(formatting): make rustfmt happy
2020-12-18 15:59:21 +01:00
Aram Drevekenin
51607c655c
docs(readme): update usage hotkeys 2020-12-18 11:13:59 +01:00
Denis Maximov
d47904ea5b
feature(infrastructure): tabs (#89)
* wip: tabs, just outlining stuff, for now it is a mess

* wip: tabs, just outlining stuff, for now it is a mess

* wip: formatting

* wip: some moving around

* wip: not sure why those things are not imported

* wip: cleaning up a bit

* wip: doesn't render when new tab is created?

* wip: doesnt re-render when a new tab is spawned for now

* wip: tabs now are a BTreeMap and we can switch between them in both directions

* wip: I think that should also be here

* wip: cleanup

* Spawn a new terminal simultaneously with a new tab

* Ensure proper Opening and Closing of tabs

* cleanup

* more cleanup

* tests(snapshots): add 'loading' snapshot to each scenario

* fix(tests): update snapshots

* Add tests for tabs implementation

* wip: added tests, moved tab related stuff to a separate file

* wip: var name change, removed unused imports

* chore: fromatting

* wip: tests are you ok?

* Remove next_tab_index field

* clean close_tab() logic in screen.render()

* wip: more tests added, review changes covered

* chore: a programmer and a formatter walk into a bar....

* style(screen): update description comment

* docs(tab): add comment description

Co-authored-by: denis <denis@airheadventures.com>
Co-authored-by: Kunal Mohan <kunalmohan99@gmail.com>
Co-authored-by: Aram Drevekenin <aram@poor.dev>
Co-authored-by: Kunal Mohan <44079328+kunalmohan@users.noreply.github.com>
2020-12-18 11:11:25 +01:00
Aram Drevekenin
97980d618f
fix(compatibility): fix bash linewrap (#109) 2020-12-17 16:33:18 +01:00
Aram Drevekenin
f1f821c7bd
fix(compatibility): fix neovim change mode (#108) 2020-12-17 15:42:49 +01:00
Aram Drevekenin
97d2c8339e
fix(compatibility): fix neovim scrolling (#107)
* fix(compatibility): fix neovim scrolling

* style(formatting): make rustfmt happy
2020-12-17 13:00:44 +01:00
Aram Drevekenin
38d8e2238d
fix(compatibility): handle tab characters properly (#99)
* fix(compatibility): handle tab characters properly

* style(formatting): make rustfmt happy
2020-12-15 12:58:58 +01:00
Aram Drevekenin
ac9c0274f4
fix(compatibility): fix vim overwrite message and buffer clearing on exit (#98)
* fix(compatibility): fix vim overwrite message and buffer clearing on exit

* style(formatting): make rustfmt happy
2020-12-14 16:25:46 +01:00
Henil
8589addde0
fix(style): make match arms consistent (#96) 2020-12-11 18:36:15 +01:00
Henil
1defd39491
docs(spelling): teack -> track (#91) 2020-12-10 10:04:29 +01:00
Aram Drevekenin
d950bab5ab
fix(style): bring the nice match back (#92)
* It 'aint much, but it's honest work (else-if ladder -> match)

* Maybe this is nicer?

* fix(style): use nicer structure for nicer matches

* style(code): match ordering

Co-authored-by: Brooks J Rady <b.j.rady@gmail.com>
2020-12-10 10:02:37 +01:00
Aram Drevekenin
a933b8320b
fix(compatibility): support rgb color notation (#90)
* fix(compatibility): support rgb color notation

* fix(style): remove comments
2020-12-09 18:02:11 +01:00
Kunal Mohan
92d1bcff4c
feat(infrastructure): introduce ErrorContext for tracking errors across threads (#83)
* Implement ErrorContext for tracking errors across threads

* reorder Instruction and ErrorContext

* Add ContextType, AppContext, ScreenContext, PtyContext

* Use ArrayVec in ErrorContext

* increase MAX_THREAD_CALL_STACK to 6

* Custom implement Debug for ErrorContext ad ContextType and color output

* Use os_input instead of println!()

* Use array instead of ArrayVec and some cleanup

* Introduce SenderWithContext

* Keep arrayvec at v0.5.1
2020-12-09 18:01:26 +01:00
Brooks Rady
0a05e4e34a
fix(style): else-if ladder -> match (#86)
* It 'aint much, but it's honest work (else-if ladder -> match)

* Maybe this is nicer?
2020-12-09 12:26:39 +01:00
Aram Drevekenin
94d6f3dbf6
refactor(ansi-codes): treat ansi codes properly and also make things clearer (#85) 2020-12-08 16:42:26 +01:00
Aram Drevekenin
576876b475
fix(compatibility): acknowledge scroll region even if the cursor is not shown (#84) 2020-12-07 16:53:55 +01:00
Aram Drevekenin
1c1558df64
fix(compatibility): do not offset first scroll region line (#82) 2020-12-04 15:19:00 +01:00