Commit graph

42 commits

Author SHA1 Message Date
8ae0f203f2 Move to python3.7
- Now getting python packages using pip instead of the ubuntu versions.
- System wide installations now aren't supported.
2018-09-02 16:00:44 +10:00
2c402a683a Reduce interface stutters when the nearest placeholder is far away.
- Achieved by making the placeholder generator asynchronous.
2018-08-16 22:18:21 +10:00
f9645c12bd Auto-save after every 100 results are calculated.
- Saving is still done on shutdown regardless.
- If the program is not shutdown cleanly at most 100 results will
  be lost and need to be recalculated.
2018-08-14 16:17:37 +10:00
4157e5b04c Coding style.
- Used __getstate__ to make classes picklable.
2018-08-14 09:54:36 +10:00
f881156c4a The closest pending result was not being run. 2018-07-31 16:48:36 +10:00
66922f578f Make use of pyinotify's asyncio support. 2018-07-30 23:40:49 +10:00
60edd80007 Fixed the selection changing when syncing the filesystem. 2018-07-30 23:28:04 +10:00
484ae2afd3 Order the entries in the summary without syncing the filesystem.
- This speeds up reordering significantly.
- This probably became possible when moving from threads to
  asyncio.
2018-07-29 22:57:06 +10:00
fda0c0068b Fix bug that froze vigil while editing a file. 2018-07-23 21:56:12 +10:00
a29b7682c6 Add xdg-open command to the help. 2018-07-22 23:22:34 +10:00
549f9ad5c8 Add a command to open files with xdg-open.
- Vigil isn't a file manager but it is handy to let the highlighted
  file be opened since its already selected by the user.
2018-07-22 22:08:00 +10:00
dd0b763dab Change the default background of scrollbars.
- Also hacked the cursor row highlighting to not highlight the
  scrollbar. Highlighting the widget inside the view widget is
  much more difficult.
2018-07-20 18:04:56 +10:00
d40e0a8b59 Coding style.
- Started to add docstrings.
2018-07-05 14:22:40 +10:00
75678399c8 Changed the default window orientation to portrait.
- Portrait shows more files in the summary view.
- Most file's contents can still be viewed in half screen width.
2018-06-18 11:21:53 +10:00
64f1cd3ff8 A black cursor stands out better than white. 2018-06-18 11:19:21 +10:00
fedc10692f Highlight the progress bar differently. 2018-06-16 18:39:28 +10:00
4c58d377e2 Changed colors to NCS style.
- See https://en.wikipedia.org/wiki/Natural_Color_System.
2018-06-16 15:15:21 +10:00
7d6d9d88eb Made the cursor always white.
- With the dimmer status colors a white cursor always stands out.
- Also made yellow a little darker to help.
2018-06-16 14:56:20 +10:00
f7abd189c3 Highlight the cursor line differently.
- Now brightening the entire line instead of just brightening the
  background.
2018-06-16 11:04:17 +10:00
293f013236 Trying more subdued colours for the statuses.
- This will also let the cursor line stand out more.
2018-06-16 10:13:29 +10:00
10fbc33759 Made the progress bar more visible.
- The underline was too subtle sometimes, depending on the terminal type.
2018-05-17 14:37:37 +10:00
e34e896800 Coding style.
- Converted to f-strings.
2018-05-15 18:50:30 +10:00
7cfbcae685 webserver: Added a simple webserver to serve a project's reports.
- e.g. sudo -H vigil-webserver my_project
  then see http://localhost:80
2018-05-13 21:23:57 +10:00
45200a706f Revert "tools: Executables attribute is redundant in the yaml file."
This reverts commit a5a7e24d4f.
2018-04-20 18:18:48 +10:00
a5a7e24d4f tools: Executables attribute is redundant in the yaml file.
The executables is determined by the command.
2018-04-20 18:09:25 +10:00
b9f1d0e7f9 Cope with tools being removed. 2018-04-08 20:38:29 +10:00
320670bb43 Coding style.
- Using subprocess.run
2018-03-24 16:34:49 +10:00
b8732c3028 Updated copyrights. 2018-01-12 15:00:39 +10:00
257eae4e73 Coding style.
- asyncio.async -> asyncio.ensure_future
2017-10-28 08:29:27 +10:00
4935c585aa Made work on Ubuntu 17.10.
- Changed to python3.6.
- Accepted minor differences in golden files.
- php is now 7.1.
- Updated README.
- Need to test that the AppImage still works.
2017-10-27 12:39:50 +10:00
111d362942 Explicitly using python3.5.
- Async and await keywords don't work with python3.4.
2017-09-02 11:59:10 +01:00
975637edc1 Always show the status bar. 2017-08-30 18:51:19 +01:00
e63dd40320 Revert "Try clearing the cache iff the summary pickle doesn't load."
This reverts commit a04c19c760.

- This caused problems when the api of the pickled objects changed.
2017-08-28 16:23:05 +01:00
5a26b9fd13 Coding style. 2017-08-14 14:32:29 +01:00
a21d3de99c Added a command to refresh all results of the current tool. 2017-08-14 14:22:49 +01:00
a04c19c760 Try clearing the cache iff the summary pickle doesn't load. 2017-07-24 13:34:35 +01:00
20161303fc appimage: Can now get a shell inside the AppImage.
- The --self_test option is no longer needed. Instead do:
- # APPIMAGE_ENTER=1 ./vigil.appimage   # To enter the shell
- # $APPDIR/test-all
2017-07-23 18:39:24 +01:00
e7d0d9ce42 Open editors at the same scroll position as in the Contents tool. 2017-07-11 16:20:05 +01:00
8ecd50848d Fixed a bug when paging the summary. 2017-07-08 14:22:45 +01:00
547983819d Fixed a bug in scrolling. 2017-07-08 13:13:22 +01:00
50dac0aa58 Can create an AppImage with make-appimage. 2017-06-30 12:47:50 +01:00
5728e5cff3 Made vigil into a package with a setup.py file. 2017-06-27 14:03:32 +01:00
Renamed from vigil (Browse further)