Commit Graph

906 Commits

Author SHA1 Message Date
Aram Drevekenin
837cb8d15a
fix(compatibility): pass vttest 8 (#461)
* fix(compatibility): pass vttest 8

* style(comment): remove unused

* style(grid): sometimes it's just easier to do what clippy wants...
2021-05-05 17:09:24 +02:00
NKGoc
b504a5379e auto install mandown if it's not there (tested with Manjaro repositories) 2021-05-05 14:16:53 +02:00
NKGoc
67a0a8dc3b Merge branch 'main' of https://github.com/Adhalianna/zellij 2021-05-05 13:21:17 +02:00
NKGoc
0003f8268f new tasks to install mandown and generate manpage 2021-05-05 13:20:26 +02:00
NKGoc
b70d73a581 new tasks to install mandown and generate manpage 2021-05-05 13:16:58 +02:00
NKGoc
6d826dcae0 Removing generated manpage 2021-05-05 12:58:20 +02:00
NKGoc
24b4ae831c wrapped lines in CONTRIBUTING.md 2021-05-05 12:07:47 +02:00
NKGoc
7962b44d80 Merge branch 'main' of https://github.com/Adhalianna/zellij 2021-05-05 12:05:11 +02:00
NKGoc
0ab7a51d04 simplifications 2021-05-05 12:05:05 +02:00
NKGoc
3f300bf834 simplifications 2021-05-05 11:48:47 +02:00
Brooks J Rady
6e5600efc8 chore(plugin): shuffle helper library names and versions 2021-05-04 23:31:30 +01:00
NKGoc
ba99c379cc typo fix 2021-05-04 21:06:48 +02:00
NKGoc
4ebf0c8c44 remove description added when making sense out of cargo make 2021-05-04 20:53:23 +02:00
NKGoc
00d064e349 add manpage to zellij 2021-05-04 20:50:27 +02:00
Aram Drevekenin
847444cd0b
docs(changelog): fix release date 2021-05-04 17:25:54 +02:00
Kunal Mohan
c1dd2c588e Fix after rebase 2021-05-04 20:48:28 +05:30
Kunal Mohan
585b225290 Use ZELLIJ_SOCKET_DIR env variable and make user specific tmp dir 2021-05-04 20:48:18 +05:30
Kunal Mohan
a05a12dbec Add version to socket path to avoid problems after version update 2021-05-04 20:48:17 +05:30
Kunal Mohan
d33106431d Fix after rebase 2021-05-04 20:48:17 +05:30
Kunal Mohan
ea552d71e4 Introduce IpcReceiverWIthContext and move ipc stuff to common/ipc.rs
Fall back to /tmp/zellij-{uid} directory if runtime_dir is not available.
Use serialize_into() to avoid Vec allocation.
And some cleanup
2021-05-04 20:48:17 +05:30
Kunal Mohan
c6f93ba0d2 use better names for senders, receivers and threads 2021-05-04 20:48:17 +05:30
Kunal Mohan
913697b144 Place socket file in runtime directory or cache directory and use names crate for socket file name 2021-05-04 20:48:17 +05:30
Kunal Mohan
93956bdcca use bincode::deserialize_from() to prevent data loss. 2021-05-04 20:48:17 +05:30
Kunal Mohan
da9b6fd607 use BufRead and BufWrite with sockets 2021-05-04 20:48:17 +05:30
Kunal Mohan
3f70c585c2 nit fixes 2021-05-04 20:48:16 +05:30
Kunal Mohan
1eb732773a use Uuid to generate unique server socket names 2021-05-04 20:48:16 +05:30
Kunal Mohan
9110e444b8 remove Split, OpenFile and MoveFocus from CliArgs 2021-05-04 20:48:16 +05:30
Kunal Mohan
42079f8d04 Refactor CommandIsExecuting to have a single variant 2021-05-04 20:48:16 +05:30
Kunal Mohan
b7aa3fc21a Use interprocess crate for IPC 2021-05-04 20:48:16 +05:30
Kunal Mohan
9fc1f0038e Refactor ServerInstruction enum to use Action enum 2021-05-04 20:48:16 +05:30
Kunal Mohan
27393dfcf3 Share SessionMetadata between the server_router and the ipc_server thread 2021-05-04 20:48:15 +05:30
Kunal Mohan
246899a1dd Remove ErrorContext from IpcSender and nit fixes 2021-05-04 20:48:15 +05:30
Kunal Mohan
fedb588330 Fix after rebase 2021-05-04 20:48:15 +05:30
Kunal Mohan
30d0ec2a40 fix terminal window resize tests by restricting lifetime of locks 2021-05-04 20:48:15 +05:30
Kunal Mohan
2a648187fc Fix after rebase 2021-05-04 20:48:15 +05:30
Kunal Mohan
223ee743e1 Move screen and plugins to client side.
Remove AppInstruction enum
spawn pty thread, screen thread and plugin thread on demand
2021-05-04 20:48:15 +05:30
denis
ee14d5f5dd wip: helper functions for ServerInstruction 2021-05-04 20:48:14 +05:30
Kunal Mohan
ea732166e3 client side threads should send messages directly to server and router threads should do the actual routing 2021-05-04 20:48:14 +05:30
Kunal Mohan
4f088e8185 split start into start_server and start_client 2021-05-04 20:48:14 +05:30
Kunal Mohan
2059d2c6aa Fix after rebase 2021-05-04 20:48:14 +05:30
Kunal Mohan
813547483f Rename notify_server to connect_to_server 2021-05-04 20:47:52 +05:30
Kunal Mohan
e30ec5745e Add router thread on server side as well 2021-05-04 20:47:52 +05:30
Kunal Mohan
90982c3e47 Some documentation an ClientOsApi stuff 2021-05-04 20:47:52 +05:30
Kunal Mohan
fe8fb79da0 a probable fix for tests 2021-05-04 20:47:52 +05:30
Kunal Mohan
af445394c0 minor fix while opening new tab 2021-05-04 20:47:52 +05:30
Kunal Mohan
bbcea31988 Synchronize update tabs actions using command_is_executing 2021-05-04 20:47:52 +05:30
Kunal Mohan
965cc71918 Hide IpcChannel entirely behind OsApi 2021-05-04 20:47:52 +05:30
Kunal Mohan
660434be06 documentation and nit fix 2021-05-04 20:47:52 +05:30
Kunal Mohan
bc2345c413 Hide server-side Ipc channels creation behind OsApis and some documentation fixes 2021-05-04 20:47:52 +05:30
Kunal Mohan
3ef2715827 increase snapshot time 2021-05-04 20:47:51 +05:30