Commit Graph

702 Commits

Author SHA1 Message Date
Kunal Mohan
fd1debaa79 Fix after rebase 2021-05-04 20:47:51 +05:30
Kunal Mohan
be060e9a13 Introduce ServerContext 2021-05-04 20:47:51 +05:30
Kunal Mohan
2ab18244f7 fix tests 2021-05-04 20:47:51 +05:30
Kunal Mohan
0d814ebcde Divide OsApi into ClientOsApi and ServerOsApi and move calls to os thread 2021-05-04 20:47:51 +05:30
denis
70d8be0741 wip: remove the commands that are called only on the client 2021-05-04 20:47:50 +05:30
denis
daddac65aa wip: here goes the os_thread and OsContext 2021-05-04 20:47:50 +05:30
Kunal Mohan
d8986351ed fix testing for pseudo client-server model 2021-05-04 20:47:50 +05:30
denis
627e6b3672 wip: working on osapi message variants 2021-05-04 20:47:50 +05:30
Kunal Mohan
ef1c902be6 Introduce DoneCLosingPane message to ensure atomicity in state change 2021-05-04 20:47:50 +05:30
Kunal Mohan
2111f95f33 remove command_is_executing from pty_thread 2021-05-04 20:47:49 +05:30
Kunal Mohan
5ece7f44cc Use IPC for Server to client as well
Add router thread
2021-05-04 20:47:49 +05:30
Kunal Mohan
831a02b9c0 ensure proper shutdown 2021-05-04 20:47:49 +05:30
Kunal Mohan
77682d9ab5 Use ipmpsc crate for IPC 2021-05-04 20:47:49 +05:30
Kunal Mohan
1ee86f9a77 Introduce serlializable ClientInstruction and Rename ApiCommand 2021-05-04 20:47:49 +05:30
Kunal Mohan
858e48c6aa do not hang on exit 2021-05-04 20:47:49 +05:30
Kunal Mohan
c0e87df14c remove logs 2021-05-04 20:47:49 +05:30
Kunal Mohan
75b07cc6c8 Undo some changes 2021-05-04 20:47:49 +05:30
Kunal Mohan
aef52b0690 Use interprocess crate, BufReader and BufWriter 2021-05-04 20:47:49 +05:30
Kunal Mohan
2943dc7b3b Got things working! But we are loosing data in transmission :( PS: There are debug logs in there 2021-05-04 20:47:49 +05:30
Kunal Mohan
d1a17ef356 undo some changes 2021-05-04 20:47:49 +05:30
Kunal Mohan
d80a5f2ced remove logs 2021-05-04 20:47:49 +05:30
Kunal Mohan
6fc1a5bf92 another try 2021-05-04 20:47:49 +05:30
Kunal Mohan
50a6c08b1b remove debug log file 2021-05-04 20:47:49 +05:30
Kunal Mohan
7beb246250 try fixes 2021-05-04 20:47:48 +05:30
Kunal Mohan
685e2eef0c Introduce IpcSenderWithContext 2021-05-04 20:47:48 +05:30
Kunal Mohan
715e5f9785 remove debug logs 2021-05-04 20:47:48 +05:30
Kunal Mohan
588cdaa008 isolate pty thread 2021-05-04 20:47:48 +05:30
Aram Drevekenin
03f8e7220c docs(changelog): update change 2021-05-04 16:11:42 +02:00
Aram Drevekenin
1f88b342e2
fix(colors): stabilize colors (#453)
* fix(colors): stabilize colors

* style(fmt): rustfmt
2021-05-04 16:06:55 +02:00
Kyle Sutherland-Cash
f2f20f676f
chore: simplify boundary combination function 2021-05-04 01:12:20 -07:00
Aram Drevekenin
845211c1ee
Terminal compatibility: Pass vttest 2 and 3 (#447)
* fix(compatibility): pass vttest 2+3

* style(fmt): rustfmt

* style(comment): remove unused

* docs(changelog): update change
2021-05-03 19:11:31 +02:00
a-kenji
2792a9009b
Merge pull request #437 from a-kenji/xrdb-loading-fix
Make Xrdb Loading More Forgiving
2021-05-03 18:26:45 +02:00
a-kenji
f97c3ae3a1 Make Xrdb Loading More Forgiving
Attempt at fixing  #434.

The `hex_to_rgb` function propagates the Option now.
If it is None, it tries to load the default Palette now.
2021-05-03 18:10:02 +02:00
a-kenji
570ee31888
Merge pull request #441 from a-kenji/fix-default-keybinds
Fixes Default Keybinds in Resize Mode #440
2021-05-03 14:44:02 +02:00
a-kenji
118e5a10cb Fixes Default Keybinds in Resize Mode #440
Closes #440

Changes arrow keybinds from switching focus
to resizing.

Add arrow parity keybinds to scroll and tab modes.
2021-05-03 12:26:30 +02:00
a-kenji
bf6386f495
Merge pull request #436 from a-kenji/fix-default-config-test
Enables the Default Config Test
2021-05-02 19:26:17 +02:00
a-kenji
3f3d10e636 Enables the Default Config Test
The split of test/no_test happens now in
find_config_dir, it always returns Null in tests.
That way differing configurations in tests shouldn't
make the test fail anymore.
2021-05-02 18:58:18 +02:00
a-kenji
ecd3efc3e1 docs(changelog): Add theme support through xrdb #239 2021-05-02 18:27:04 +02:00
a-kenji
d6a49f683b
Merge pull request #433 from a-kenji/disable-default-config-test
Disable Default Config Test
2021-05-02 16:29:37 +02:00
a-kenji
6d62c86ae5
Merge pull request #432 from a-kenji/update-dependencies
docs(contributing): Update Dependencies
2021-05-02 16:23:15 +02:00
a-kenji
c193a0571c Disable Default Config Test
For now, it fails if there is a local config, differing
from the default config.
2021-05-02 16:20:05 +02:00
a-kenji
d0d83b048d docs(contributing): Update Dependencies 2021-05-02 16:14:27 +02:00
a-kenji
882de91191
Merge pull request #431 from a-kenji/rename-install
Rename install -> setup
2021-05-02 16:11:26 +02:00
a-kenji
993a6fdf0a Rename install -> setup
* Renaming of the install module to convey the intent more,
move functions that install to a submodule install of setup.
2021-05-02 15:59:02 +02:00
Kyle Sutherland-Cash
c29b1181ee Simplify the boundary logic a little 2021-05-02 04:09:43 -07:00
Denis Maximov
98d9eacd22
Merge pull request #239 from zellij-org/x-colors
X colors
2021-05-02 13:53:36 +03:00
denis
ce1f81bcec chore: remove unused dependency from zellij-tile 2021-05-02 13:04:12 +03:00
denis
56cf446275 chore: added zellij-tile-extra, moved macros from zellij-tile 2021-05-02 12:57:48 +03:00
denis
d48cc81536 fix: don't have new on ColoredElements anymore, removed default for palette in zellij-tile 2021-05-02 12:25:49 +03:00
denis
452940fb65 Merge branch 'main' into x-colors 2021-05-02 11:59:20 +03:00