Commit graph

60 commits

Author SHA1 Message Date
195165d826 tools: Enable color for bandit.
- Also timeout can now be specified in tools.toml.
- Not truncating the timestamp from bandit anymore,
  so dropping its golden file.
2019-07-21 22:30:29 +10:00
d1867f61ab tools: Enable color from gcc. 2019-07-21 22:29:46 +10:00
cfa591976c tools: Enable color in pylint. 2019-07-21 21:14:08 +10:00
812e6b4d83 tools: Enable color for rakudo. 2019-07-20 14:41:00 +10:00
975737d71d tools: Enable color in shellcheck. 2019-07-20 14:22:10 +10:00
9b5ad3332e Coding style.
- Tools should return a status and a text string,
  not a status and a fill3 widget.
2019-07-18 23:58:01 +10:00
6d6e4442ae Fix missed broken test.
- The golden file should have been changed with the others in
  commit: f6cb615c97
2019-07-17 22:38:07 +10:00
b0768a0467 Exempt WebAssembly tools, since not yet in Ubuntu. 2019-07-10 11:38:55 +10:00
f6cb615c97 tools: Added color to git_log output.
- Added a simple parser for termcodes to termstr.
- Added missing 'italic' conversion in termstr.
- Simplified termcode for 'normal'.
2019-07-09 12:00:39 +10:00
d62010a1e0 tools: Remove hashes from metadata.
- Hashes aren't strictly metadata.
- Which types of hashes are popular?
- Hashes are expensive to calculate.
2019-06-03 22:11:15 +10:00
be489b0628 tools: Remove missed code formatter. 2019-05-31 14:29:35 +10:00
ad2061835a Remove perltidy temporarily for flatpak build. 2019-05-20 15:23:03 +10:00
5fcdd0ea50 Remove code formatters.
- Maybe these should be returned if the output is a diff with the
  current file.
- bcpp, uncrustify, gofmt, clang_format.
2019-05-17 11:10:45 +10:00
be3fec26a3 Update copyrights. 2019-02-04 11:48:47 +10:00
6f11326fda tools: Dropped splint since its unmaintained and doesn't compile. 2019-01-25 12:03:31 +10:00
85a5840cff tools: Not detecting the type of python files. Assuming python3.
- Also now not using any tools that depend on python2.
- Simplifies installation.
- Personally not using python2.
- Eris is not used widely enough to justify supporting python2 files.
- The way of determining whether a source file was python2 or python3 was
  not very good.
2019-01-21 11:46:51 +10:00
7d412ec8f1 Changes for Ubuntu 18.10. 2018-12-27 14:47:39 +10:00
5b1c6429f2 Fixed project title in the usage. 2018-10-01 09:39:45 +10:00
8e5cc0eac9 Rename the project to Eris. 2018-09-17 23:59:38 +10:00
6ab508a251 tools: Remove pil_half.
- Now assuming the terminal shows partial block characters properly.
- Also added 'tif' as an image extension.
2018-09-14 21:03:42 +10:00
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
b41c86afac tools: Fix screen corruption from TextWidgets containing line breaks. 2018-07-24 22:08:29 +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
07ffb403f5 Made scrollbars more accurate.
- Used unicode characters to have fractional lengthed bars.
- Don't allow specifing a scrollbar character anymore. You
  can give the bar's color and background color.
2018-07-17 08:58:29 +10:00
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
fedc10692f Highlight the progress bar differently. 2018-06-16 18:39:28 +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
3609b31b29 tools: Fixed broken test.
- This was missed when changing from unzip to zipinfo.
2018-06-04 09:27:43 +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
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
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
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
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
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
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
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