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
175fac735c
All worker processes are killed on shutdown.
2016-11-10 17:49:01 +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
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
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
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
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
2b351efe20
Make the cursor easier to see.
2016-10-24 22:06:27 +02:00
edee5e6b58
Log the exception if the worker fails.
2016-10-21 23:20:06 +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
9d143a4dd9
Coding style (linting).
2016-10-16 12:32:01 +02:00
4af3658825
Showing different help on the help page and the command-line.
2016-09-30 21:28:05 +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
d684f0b42b
Change the cursor to use a common character
2016-09-30 12:59:54 +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
b2e087a9db
Fixed missing results.
2016-03-02 22:35:28 +00:00
ec0c98abb3
Coding style.
2016-02-24 09:27:37 +00:00
ef4de749fe
Make the sandbox option positive: --no-sandbox -> --sandbox.
2016-02-20 23:52:35 +00:00
11a7062333
Ensure that the update thread is stopped even after an error.
2016-02-19 22:37:11 +00:00
1626a8251b
The help text was too wide.
2016-02-19 22:37:11 +00:00
a03a47977f
Coding style.
2016-02-19 22:37:11 +00:00
1c21b5e625
Coding style.
...
Removed _is_filename_excluded because _is_path_excluded is the same.
2016-02-18 23:30:48 +00:00
033dcf5e9a
Coding style.
...
Moved urwid_screen from terminal.py to vigil.py, because it didn't really belong in
terminal.py.
2016-02-18 23:23:20 +00:00
fbf02da50f
In the usage theres normally commas between short and long options.
2016-02-18 23:01:00 +00:00
a3c0a69076
Coding style.
...
Linting.
2016-02-18 23:01:00 +00:00
a60216cae0
Fixed names missed in a previous renaming.
2016-02-18 20:01:38 +00:00
4919a1ed2a
Coding style.
...
More consistent leading underscores.
2016-02-15 14:11:08 +00:00
736dd3a701
Coding style.
...
Finish moving _CACHE_PATH to tools.
2016-02-14 00:32:44 +00:00
5c75832efb
Better wording.
2016-02-13 22:19:28 +00:00
2373e78cbd
Coding style.
...
Moved the Result class into tools, which simplifies worker.py and makes the
circular import problem go away.
2016-02-13 18:48:53 +00:00
d2fea070c4
Coding style.
2016-02-13 16:42:39 +00:00
31ebc4875a
Don't show the 'filesystem changed' log message if no changes actually happened.
2016-02-12 19:50:33 +00:00
c2ab99cc83
Show the 'filesystem changed' log message during startup.
2016-02-12 19:29:25 +00:00
dd6dd161cf
Always getting sudo at the start, to avoid password prompts later.
2016-02-12 12:16:21 +00:00
e8411269ca
Coding style.
...
Make tools.Status into an enumeration.
2016-02-09 09:38:58 +00:00
2d370ea9a0
Improved the help text slightly.
2016-02-07 20:35:49 +00:00
c00d5bea36
Using the statistics module wasn't worth it, because of the time needed for import.
2016-02-07 13:03:21 +00:00
603dc78d03
Improved the appearance of the simple cursor.
2016-02-06 21:29:55 +00:00