Commit graph

62 commits

Author SHA1 Message Date
3a62a2a0d7 tools: Always show problems with problem status.
- Some tools are strict and produce many issues. Previously
  their problems were ignored, and given normal status.
- Which tools produce too many issues is not obvious, better
  to be consistent and show problems for all.
2018-07-05 21:46:06 +10:00
6a0bacc805 Tweaked status colours.
- The normal and okay statuses were too similar.
2018-06-16 15:25:41 +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
69e900fdd1 Tweaked the new status colours. 2018-06-16 10:25:43 +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
ea992a3b2d tools: Made pil images larger.
- Terminals often let you shrink the font size quickly to make
  the whole image visible.
2018-06-04 08:07:43 +10:00
3bc142bec6 Coding style.
- Moved the git tools into tools.toml.
2018-06-04 07:55:37 +10:00
c62cc22505 tools: Made git_log more useful. 2018-06-04 07:48:29 +10:00
17b71a6ae7 Coding style. 2018-06-02 11:15:15 +10:00
367385157d tools: Fixed a broken dependency for pydocstyle. 2018-05-31 14:46:49 +10:00
a320992b87 Fixed a broken url link. 2018-05-31 14:44:47 +10:00
402cdf3994 tools: Added pydocstyle for python files. 2018-05-31 14:34:10 +10:00
9b9d58ca01 Coding style. 2018-05-25 11:41:17 +10:00
ecf382e6de Let a timeout be passed to _run_command. 2018-05-25 10:59:22 +10:00
02844de562 Fixed timeout statuses not appearing.
- Also tidied up _do_command and _run_command.
2018-05-25 10:53:06 +10:00
f414cc4a96 tools: Moved TOOLS_FOR_EXTENSIONS into tools.toml
- Now a tool can be added/removed by editing one file.
2018-05-18 13:04:08 +10:00
915eac35ba tools: Changed to toml instead of yaml.
- toml is simpler than yaml and popular enough.
2018-05-17 16:16:21 +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
08c2b1f04c tools: Executables attribute is redundant in the yaml file. 2018-04-20 18:24:48 +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
c2bd5ecaad tools: Add godoc tool for golang files. 2018-04-07 17:37:32 +10:00
8c870367df tools: Added go_vet tool for go files. 2018-04-07 13:43:27 +10:00
404c2f7775 tools: Add gofmt tool for golang files. 2018-04-06 20:56:40 +10:00
0d204d2a8f tools: Missed this when specifying tools in the yaml file. 2018-04-06 20:56:39 +10:00
44abbfe53d Coding style.
- Missed this when switching to subprocess.run.
2018-04-06 11:57:07 +10:00
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
2454af45a2 Made it work on Ubuntu 18.04. 2018-03-16 11:31:20 +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
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
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
f583b66437 Coding style. 2017-07-23 20:50:17 +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
110225ab7f [tools] Disabled pydisasm because its causing hangs. 2017-07-14 11:16:54 +01:00
5572cdc9d6 [tools] Replaced disassemble_pyc by pydisasm.
- pydisasm handles many types of bytecode.
2017-07-11 14:09:07 +01:00