Commit graph

918 commits

Author SHA1 Message Date
4b48c0c912 Correctly nice and ionice the worker processes.
This had stopped working.
Unfortunately it doesn't seem to help anyway.
Ideally the responsiveness of the interface is the same, regardless
of whether the workers are paused or not. Atm its much better when
they are paused.
2016-11-09 23:52:12 +01:00
ca33199456 Pause workers and their subprocesses together.
Before only the worker was paused and the current job was
running to completion.
2016-11-09 19:00:56 +01:00
60fe921881 Let vigil run without sudo.
Now using user namespaces which allow unprivileged users to create
the sandbox.
2016-11-09 01:30:40 +01:00
5a9b29bb84 Make python-gut cope with the new async keyword. 2016-11-01 23:19:25 +01:00
62fa8269dc Also using asyncio for the display thread.
When I tried this before threading was working better.
Now asyncio is doing better.

Recently, exceptions were happening occasionaly in the update
thread. I guess due to races. They should go away now.

From now on, if a coroutine takes too long the interface will hitch.
Should investigate if sync_to_filesystem is taking too long and
if it can yield.

There are no uses of threading now.
2016-10-30 12:55:19 +01:00
c99dd27dc6 Added a bug. 2016-10-30 11:05:42 +01:00
6246fa7566 Coding style. 2016-10-29 18:02:19 +02:00
2ff166cdd4 Let the focused pane be resized to the full screen. 2016-10-29 17:34:01 +02:00
b079ce61c9 Coding style. 2016-10-28 19:18:21 +02:00
86ebd259ba Added keys when navigating the summary.
Home and End jump to the beginning or end of the line
respectively.
2016-10-28 19:17:24 +02:00
a75601b13a Trying different keys for navigation.
I was having problems with the old scheme.
Now you use tab to switch focus between the summary and result
panes. The keys to navigate are the same in both places.
2016-10-28 11:57:28 +02:00
a93704f19b Disabling perl6 because of problems when running it. 2016-10-27 21:42:52 +02:00
3cf7d52a63 Use a more common terminal type. 2016-10-26 14:09:05 +02:00
cff347ae77 Fixed tests failing in gnome-terminal. 2016-10-26 13:43:02 +02:00
54166ed195 Added a bug. 2016-10-26 13:34:14 +02:00
01b8ffaf7a Can use the ubuntu packaging of bandit afterall. 2016-10-26 04:04:19 -07:00
c4fcae9268 I prefer landscape orientation now. 2016-10-26 00:27:50 +02:00
8cc5ed35bb Coding style. 2016-10-25 23:03:22 +02:00
e97bb6ffb1 Added bandit for python. 2016-10-25 22:51:50 +02:00
2b351efe20 Make the cursor easier to see. 2016-10-24 22:06:27 +02:00
bf856d87f0 Its probably better not to have overlays of tmp.
All overlays should be able to share the one /tmp anyway.
2016-10-23 16:47:13 +02:00
553bb440cd Missed these when moving to asyncio. 2016-10-22 19:44:17 +02:00
edee5e6b58 Log the exception if the worker fails. 2016-10-21 23:20:06 +02:00
e39d99b2ac Coding style. 2016-10-21 22:24:52 +02:00
29edc33337 Coding style. 2016-10-21 21:55:24 +02:00
c695479499 Coding style. 2016-10-21 17:44:32 +02:00
1b0c62341a Coding style. 2016-10-21 15:04:22 +02:00
9a07571d75 Coding style. 2016-10-18 13:03:35 +02:00
8c11b73714 Coding style.
Simplified main() a little by moving general display code into fill3.py.
2016-10-18 12:47:00 +02:00
967b16a6bf Added a bug. 2016-10-16 12:51:09 +02:00
9d143a4dd9 Coding style (linting). 2016-10-16 12:32:01 +02:00
71dc9df58c Using the new coroutine syntax from pep-492. 2016-10-16 12:10:22 +02:00
dedac08987 Added mypy for python. 2016-10-15 19:14:41 +02:00
fb9ecd9039 Vigil is tested on 16.10. 2016-10-15 12:51:26 +02:00
c6610c77b8 Changes for ubuntu 16.10. 2016-10-15 12:47:15 +02:00
99fa974b56 Remove escape codes from output to stop garbling the interface. 2016-10-03 17:19:37 +02:00
9dddc8ce8c Coding style. 2016-10-03 13:57:44 +02:00
4af3658825 Showing different help on the help page and the command-line. 2016-09-30 21:28:05 +02:00
72be7b44bf Added idea about help info. 2016-09-30 20:33:46 +02:00
506c7708ab Describe installation of vigil on older ubuntus. 2016-09-30 16:50:35 +02:00
0cb3988a73 Add the project summary to the README. 2016-09-30 16:21:29 +02:00
5e0a465e33 Improved the project description. 2016-09-30 15:53:17 +02:00
d5c094260f Only have the simple style of statuses.
The double width character wasn't common and often didn't work depending
on terminal or font.
2016-09-30 15:14:42 +02:00
6c58d305bb The golden-files shouldn't contain my username.
The tool tests wouldn't have passed anywhere else. There are still
some instances to fix.
2016-09-30 13:01:38 +02:00
d684f0b42b Change the cursor to use a common character 2016-09-30 12:59:54 +02:00
b922f29e07 Changes for ubuntu 16.04. 2016-09-27 13:30:08 +02:00
f2098da47c [TODO] pytype is like mypy 2016-06-16 18:26:57 +02:00
6455271aa0 Put a hole in the sandbox once. Not once per worker. 2016-03-14 08:02:01 +00:00
ccdd89fa28 Coding style.
Moved Runner class into worker.py and renamed it to Worker.
2016-03-10 00:36:59 +00:00
4fa5b524d4 Coding style.
Using asyncio coroutines for workers instead of threads.
2016-03-09 10:47:09 +00:00