Commit graph

164 commits

Author SHA1 Message Date
19b2ecb6ca Coding style.
- Using new async and await keywords.
2017-09-02 11:53:42 +01:00
9a7e936055 Only installing on Ubuntu.
- Its too much work to maintain dependencies across distros.
- Will need to use appimages, snaps or flatpaks for the other distributions.
2017-09-01 21:53:02 +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
f583b66437 Coding style. 2017-07-23 20:50:17 +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
93d1fdb87a appimage: Used test_distributions to fix the AppImage. 2017-07-23 18:21:18 +01:00
0b6fbec3da Show the generic tools in the README. 2017-07-19 09:40:54 +01:00
cbdbac0219 [tools] Removed clang tools.
- They were doubling the size of the AppImage.
- The gcc tools do very similar syntax checking.
2017-07-17 10:50:18 +01:00
d90d711703 Can build AppImages more successfully.
- The meta/Recipes script doesn't run the post-install of debian
  packages, so some weren't installed correctly.
- This scheme lets vigil install into a container as usual.
- The files in the AppDir are calculated as the difference between
  the files in the initial debootstrapped container, and the
  container after the installation.
2017-07-16 12:14:14 +01:00
110225ab7f [tools] Disabled pydisasm because its causing hangs. 2017-07-14 11:16:54 +01:00
e7d0d9ce42 Open editors at the same scroll position as in the Contents tool. 2017-07-11 16:20:05 +01:00
5572cdc9d6 [tools] Replaced disassemble_pyc by pydisasm.
- pydisasm handles many types of bytecode.
2017-07-11 14:09:07 +01:00
75c7db0f17 [tools] Fixed failure in syntax highlighting.
- If the theme doesn't know a token type use a default style as a
  best effort.
2017-07-11 10:59:27 +01:00
775691f12c [tools] Bandit seems to have changed a little. 2017-07-10 13:41:15 +01:00
c4e5d7c390 [tools] Removed git_diff.
- Removed because the diff became out of date when the changes
  were commited.
2017-07-10 11:26:23 +01:00
dec0f5ed29 [tools] Fixed git_blame not handling binary files. 2017-07-09 08:58:18 +01:00
820b89e676 [tools] Added executables test for git tools. 2017-07-09 00:30:10 +01:00
cf12390dd6 [tools] Tweak git-blame's output. 2017-07-08 21:29:56 +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
519437ea3b [tools] Added git_diff and git_blame. 2017-07-07 23:38:37 +01:00
2b11c6e88d Coding style.
- Got the sense of this the wrong way round.
  This might be clearer.
2017-07-06 20:46:22 +01:00
40fa5575dd Coding style.
- Is actually a small bug which hadn't shown up yet.
2017-07-04 14:54:04 +01:00
d61b1504a6 AppImages aren't working correctly afterall. 2017-07-04 14:49:46 +01:00
50dac0aa58 Can create an AppImage with make-appimage. 2017-06-30 12:47:50 +01:00
09bfe79e65 Coding style.
- golden.py is used by the tests, not vigil.
2017-06-28 11:12:13 +01:00
0080db66d4 Used test-distributions to fix the installation.
- Correctly using our urwid.
- LS_COLORS needed to be in the package.
- Didn't need to use pip3.
2017-06-28 09:07:40 +01:00
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