Commit graph

51 commits

Author SHA1 Message Date
2230d78575 Added error checking for the root_path. 2016-01-29 21:10:00 +00:00
4040b5c807 Put back colors and result statuses into the command-line help. 2016-01-29 21:09:59 +00:00
fb831607e4 Added a command-line option to run without a filesystem sandbox. 2016-01-29 21:09:59 +00:00
fee10f1343 Using python3-docopt to process command-line arguments.
Lost the color and result statuses in the command-line help, but should be able to get
them back.
2016-01-29 19:07:17 +00:00
afa0617c28 Make the log file only for the current run. 2016-01-28 20:41:57 +00:00
97f58ef7ec Coding style. 2016-01-28 18:52:05 +00:00
e48bafd87b Added page up and page down to the summary view.
Also fine scrolling to the listing view to make the keys more consistent.
2016-01-28 18:49:44 +00:00
678dc89cc9 Changed main integration test to wait for both jobs to be completed before shutting down. 2016-01-28 08:43:44 +00:00
1f7fb7f6e4 Only notify once that all results are up to date.
Before, this message was repeated once for every worker.
2016-01-28 00:18:51 +00:00
8cb4d08d46 Slightly improved pause command messages. 2016-01-27 22:39:35 +00:00
73f046c44d Made arrow keys and mouse wheel work in the help page. 2016-01-27 20:15:04 +00:00
8b25e6e89a Coding style. 2016-01-27 19:25:27 +00:00
95070853ac Fixed bug that occured when pausing during early startup. 2016-01-27 17:23:12 +00:00
bc5296ad0d Fixed bug that caused some files to always be recalculated on startup. 2016-01-26 17:27:58 +00:00
20a2f2d401 Not hiding the special files in the cache.
They are still distinguished from the result files because their names don't
contain a hyphen, which all the result files have.
2016-01-26 15:15:05 +00:00
17516cd831 Fixed bug that caused vigil not to restart if the root directory was renamed. 2016-01-26 14:44:42 +00:00
9b1bfc5dd0 Also send log messages to a real log file, at .vigil/.log. 2016-01-26 10:55:18 +00:00
5d1c124d8e Don't crash when the vigil window is made very small.
This is a workaround, not being able to get very small appearances is still
there. For now the main appearance won't shrink below a width of 10
or a height of 20, but thats okay since the interface is already impractical
at that point. The minimum appearance is then cropped to fit the window.
2016-01-26 10:13:48 +00:00
d3498eb744 Coding style. 2016-01-26 08:33:52 +00:00
7fea2c1c32 The pause indictor doesn't really need to be bold. 2016-01-26 08:10:12 +00:00
dfb33ad0bc Fixed a problem that occured when restarting with paused jobs.
Everything behaved correctly, but some jobs had the running status
not the paused status.
2016-01-26 08:10:12 +00:00
f21a91b9cd Colored the pause indicator to match the status. 2016-01-25 17:10:46 +00:00
62bf3412a2 Added a status (yellow) for when a job is paused. 2016-01-25 16:40:39 +00:00
6df2531f24 Improved the help message. 2016-01-25 11:04:04 +00:00
e29e13ead9 Added the status list to the command-line help. 2016-01-25 09:55:25 +00:00
e9bc1c73c1 Added a tool 'view' that shows the contents of files without extensions.
Its currently failing with binary files.
2016-01-25 09:55:24 +00:00
40b2460038 Coding style. 2016-01-24 12:47:25 +00:00
91879f2041 Made sure large filesystem changes are handled quickly with one sync_with_filesystem. 2016-01-23 21:56:33 +00:00
74ca3426ff File renames, or moving files into or out of the directory, weren't being detected. 2016-01-23 21:09:16 +00:00
3538e5ba0d Removed the 'watching' toggle. 2016-01-23 13:11:27 +00:00
8035d62dc2 Reworded the help text. 2016-01-23 12:18:02 +00:00
125113d870 List all the key bindings in the help. 2016-01-23 10:23:27 +00:00
9da1bb3dbb Changed the pretty names of the result statuses and corrected variable names to match. 2016-01-23 09:39:45 +00:00
e9eb104d0d Show "Exiting..." log message when quitting out. 2016-01-22 00:49:40 +00:00
721cc28d03 Run all tools in a filesystem sandbox 2016-01-21 23:22:42 +00:00
5945394547 Removed live detection of changes to tools.py.
This didn't work with the long running worker processes.
It wasn't needed, just restart vigil.
2016-01-06 23:03:53 +00:00
88f3ca665d Fixed main window not resizing. 2016-01-06 14:52:28 +00:00
d7cedba890 Added a toggle so that work can be paused 2016-01-06 11:33:54 +00:00
5b894d85b0 Update copyright dates 2016-01-01 17:06:28 +00:00
85f83a1c0b coding style 2015-12-31 15:36:38 +00:00
f4be637480 coding style 2015-12-31 15:15:33 +00:00
667dd8ffa5 Run all jobs inside long lived worker processes
- There is less forking, once per worker process, instead of once per job.
- Nice and ionice are applied to the worker processes and hence all jobs run
  by them.
- This allows jobs to benefit from caches filled by previous jobs. For example
  many tools applied to a python file need to calculate if its python2 or python3.
2015-12-31 15:07:30 +00:00
f233638bdd Revert "Run all the jobs at a low priority"
This reverts commit 43e61b538b.

That change caused problems. For example, more jobs running
simultaneously than there should be.
2015-12-28 18:32:48 +00:00
43e61b538b Run all the jobs at a low priority 2015-12-28 01:16:19 +00:00
f13d427075 coding style 2015-12-26 21:31:03 +00:00
bbbe0aaeb6 This is just for me since my fan is broken 2015-12-19 09:38:12 +00:00
47378715d0 Its better to have _LOG_PATH than _CWD 2015-12-15 00:49:56 +00:00
22611b6444 Just put the error log in the current working directory. 2015-12-15 00:19:43 +00:00
ec2383a529 coding style 2015-12-15 00:11:28 +00:00
3be340dc67 coding style 2015-12-14 22:28:47 +00:00