Commit graph

229 commits

Author SHA1 Message Date
f548432d8e Stop warning messages appearing on shutdown.
Until I learn to use asyncio properly this hack will do.
I may keep it anyway if there are no ill effects.
2016-11-11 00:07:05 +01:00
d3078a77c7 Added color to test-all. 2016-11-10 17:58:40 +01:00
175fac735c All worker processes are killed on shutdown. 2016-11-10 17:49:01 +01:00
7d46254edb Coding style. 2016-11-10 01:54:08 +01:00
49ab630c15 test-all script reports success or failure. 2016-11-10 01:40:52 +01:00
c2aca79428 Ensured tests can be run from any directory. 2016-11-10 01:14:14 +01:00
065d62d2fc Fixed some tests that only worked for me. 2016-11-10 01:01:25 +01:00
864587da5c Changed bugs. 2016-11-10 00:49:01 +01:00
1f24b3be18 Some bugs have been fixed. 2016-11-10 00:36:14 +01:00
4d6632cd21 Removed the last use of sudo in the tests. 2016-11-10 00:30:46 +01:00
d4e375b1fb Decided to use setpriority to set the niceness.
Apparently ionice is set automatically when nice is set.
2016-11-10 00:13:04 +01:00
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