Commit graph

457 commits

Author SHA1 Message Date
7fa19c7e74 Paring down urwid. 2016-12-03 15:17:19 +01:00
23a0fe2ab4 Started paring down urwid. 2016-12-03 13:24:41 +01:00
d8f1f211d1 Coding style. 2016-12-02 18:30:52 +01:00
4ee9f57fb6 Include urwid in the src.
Urwid is only be used for input, not display.
Now adding the minimal set of urwid modules that vigil needs.
These can be further pared down in future.

Thank you to Ian Ward.
2016-12-02 17:01:26 +01:00
cf128bc0c3 [tools] Add another extension for c++ files. 2016-12-01 13:34:00 +01:00
6f266b26ac [tools] Add another extension for c++ files. 2016-12-01 13:08:43 +01:00
6489a11d4c [tools] Let gcc work in the sandbox. 2016-11-27 23:36:55 +01:00
2b08e4d490 [tools] Added clang syntax tools. 2016-11-27 14:02:35 +01:00
8f39ecf2ce [tools] Rename c_syntax and cpp_syntax. 2016-11-27 13:45:10 +01:00
6c425d34b5 [tools] Missed these new golden files. 2016-11-22 14:31:03 +01:00
e1adec2133 [tools] Check C & C++ syntax. 2016-11-22 14:27:51 +01:00
167f0a4a1d Add more hyperlinks to tool's homepages. 2016-11-19 19:44:00 +01:00
581a7ffdf6 Add more hyperlinks to tool's homepages. 2016-11-19 17:42:47 +01:00
d2dcb4cf85 Find the tool's url in the package metadata. 2016-11-19 17:24:01 +01:00
1028f74de9 Start adding hyperlinks to the tool's homepages. 2016-11-19 16:47:05 +01:00
be71ddadde Seperate the tools with bullets. 2016-11-19 16:26:23 +01:00
eb0d06936a Try showing tools in a table. 2016-11-19 15:58:21 +01:00
e31f36a8b5 Coding style. 2016-11-19 15:52:48 +01:00
0f85dbbbbd List the tools in the README. 2016-11-19 13:50:07 +01:00
746f067772 Try again. 2016-11-15 01:56:51 +01:00
1c6a16c2fb Fixed a bug. There is a default theme. 2016-11-14 21:06:07 +01:00
24c096bd1a Fixed broken tests. 2016-11-14 19:38:13 +01:00
294d3f8c96 Added a cmdline option for the syntax highlighting style. 2016-11-14 19:32:22 +01:00
b017c4865e Coding style. 2016-11-11 23:21:10 +01:00
e1e7bf8054 Hard code the terminal codes.
May as well hard code them since only supporting gnome-terminal and
stterm atm.
Only one code differed between stterm & gnome-terminal,
"terminal.normal", and have taken the gnome-terminal version for now.
stterm seems to work fine with gnome-terminal's version.
2016-11-11 22:11:46 +01:00
dc7e576530 Not showing the statuses in the cmdline help. 2016-11-11 20:54:26 +01:00
916ca5c092 [tools] pep8 was renamed to pycodestyle. 2016-11-11 13:05:32 +01:00
9ef0c51693 Added a bug. 2016-11-11 12:29:56 +01:00
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