Commit graph

551 commits

Author SHA1 Message Date
af162fcecf tools: Convert more tools to be specified in the yaml file. 2018-04-05 15:41:33 +10:00
4473f15dec tools: Convert more tools to be specified in the yaml file. 2018-04-05 14:50:41 +10:00
79aef0a9d7 tools: Convert more tools to use the yaml file. 2018-04-05 13:49:47 +10:00
bb475bfb2a tools: Let some tools be specified in a yaml file. 2018-04-05 08:48:05 +10:00
320670bb43 Coding style.
- Using subprocess.run
2018-03-24 16:34:49 +10:00
5715ab8ea9 Made it work on Ubuntu 18.04. 2018-03-16 11:33:50 +10:00
2454af45a2 Made it work on Ubuntu 18.04. 2018-03-16 11:31:20 +10:00
ddd139f69f Coding style. 2018-01-12 15:02:28 +10:00
b8732c3028 Updated copyrights. 2018-01-12 15:00:39 +10:00
c6250b2803 tools: Added git_log. 2017-12-29 11:21:11 +10:00
4a02b26fb0 tools: Added shellcheck for bash, sh, dash or ksh files. 2017-12-13 19:15:26 +10:00
45a3f1ede8 tools: Added cppcheck for C/C++ files. 2017-12-13 19:03:21 +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
f3fea9e547 tools: Place dis in a better order. 2017-10-05 15:55:17 +01:00
c02fdc1bfb tools: Added dis for disassembling python code. 2017-10-05 15:52:25 +01:00
09cc7d3272 Changed pydoc's output to not show an absolute path.
- The absolute path was causing tools_test.py to fail within
  test_distributions.py.
2017-09-05 19:24:31 +01:00
111d362942 Explicitly using python3.5.
- Async and await keywords don't work with python3.4.
2017-09-02 11:59:10 +01:00
19b2ecb6ca Coding style.
- Using new async and await keywords.
2017-09-02 11:53:42 +01:00
e762ecbacb Only attempt installation on Ubuntu. 2017-09-01 22:07:22 +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
32ba6fd01c When running golden tests use diff if meld is not available. 2017-07-23 22:49:48 +01:00
f583b66437 Coding style. 2017-07-23 20:50:17 +01:00
0e68dd2e43 appimage: Pinned the version of appimagetool. 2017-07-23 19:20:40 +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
2815fb83d8 Added the special case, git_blame, to the README. 2017-07-19 10:13:24 +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
928462f8ff Coding style.
- Changed test-distributions to a python script so the build
  functions can be used in a python AppImage build script.
2017-07-15 07:24:20 +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
ed5164c761 Changed installation to use pip3.
- Now running all the tests in test-distributions.
- Vigil is only known to install into ubuntu at the moment.
2017-07-10 18:38:18 +01:00
b0ea939924 Made lscolors tests pass inside systemd-nspawn containers. 2017-07-10 14:31:01 +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
78d7c528b4 Coding style.
- Removed unnecessary mocking.
2017-07-10 11:13:52 +01:00
1b4d90a7f0 Disabled a flaky test. 2017-07-09 21:36:20 +01:00
1509b9964c Golden files should be in UTF-8 regardless of the locale. 2017-07-09 21:36:20 +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