Commit graph

133 commits

Author SHA1 Message Date
5728e5cff3 Made vigil into a package with a setup.py file. 2017-06-27 14:03:32 +01:00
49f8d87659 Made tests pass within AppImages. 2017-06-26 01:26:19 +01:00
72b5f3750e Dropped the sandbox.
- It wasn't worth the complexity. It was only useful when running the
  python profile tool, which executes python scripts. But that tool
  isn't very useful when run against normal scripts. It has been
  removed too.
- The sandbox also wasn't working inside snaps, appimages,
  systemd-nspawn or chroots.
2017-06-23 23:23:32 +01:00
814dbfee5e Made touch scrolling possible. 2017-06-21 15:02:45 +01:00
3eb2f71adb Coding style. 2017-05-29 01:42:38 +01:00
1876793b34 Rearranged the layout of the summary.
Putting the statuses on the left and the paths on the right
works better when the window is narrow, because the paths were
often invisible when on the left.
2017-05-27 10:01:34 +01:00
5b08029d0b Make vigil work on other distributions. (fedora, debian, archlinux)
- Now using python3.4 on debian, and python3.5 elsewhere.
 - Added test-distributions script that checks that
   install-dependencies works on different distributions.
2017-05-17 16:46:54 +01:00
b24acbd53b Change the effect of 'home' and 'end' keys. 2017-04-24 00:02:18 +02:00
023bdd17cb Bring the help text up-to-date. 2017-04-20 23:52:59 +02:00
a9b579e7d6 Leave one cpu for the gui. 2017-04-15 22:47:18 +02:00
c25266c42b Explicitly using python3.5. 2017-02-08 13:56:56 +01:00
a12fa48c2c Updated copyright headers to 2017. 2017-02-05 18:29:09 +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
294d3f8c96 Added a cmdline option for the syntax highlighting style. 2016-11-14 19:32:22 +01:00
dc7e576530 Not showing the statuses in the cmdline help. 2016-11-11 20:54:26 +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
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