Commit graph

81 commits

Author SHA1 Message Date
51489b35cd Make sync_from_filesystem asynchoronous to speed up startup of large projects.
- Fixed viewing projects with no files.
- Changed fill3.Column to make it work with sorted lists.
- Simplified Log class to not need fill3.Column.
- Eris results will be cleared when the tools config changes.
2020-03-28 13:37:07 +10:00
c6f790c35c Optimize change to summary when filesystem changes.
- Was checking all files on any change detected.
- Now adding, deleting or modifing individual rows in response
  to the respective filesystem event.
- html_syntax tool was being run in an infinite loop because it
  triggered the ON_CLOSE_WRITE event.
2020-03-09 14:31:01 +10:00
85013e605a Rename turn action to orient. 2019-12-21 13:01:11 +10:00
15cbe17b5c Rename order action to sort.
- So that turn action can be renamed to orient.
2019-12-21 12:56:53 +10:00
81a1901d38 Center the status bar.
- Without any indicators on the right, the bar can be centered.
2019-12-21 12:50:46 +10:00
4881baf6ef Dropped the ordering indicator.
- Couldn't justify it alone, without the pause indicator too.
- Still get some feedback from the log message when changing order.
2019-12-21 12:43:50 +10:00
048413f09b Remove pause feature.
- Wasn't being used very much.
- The background workers should only be using idle cpu, so shouldn't
  have any outward effect.
- Could also use less workers if necessary.
2019-12-21 12:23:34 +10:00
1cf2fc445c Revert "Move to python3.8.0"
This reverts commit 04fb17cb3f.
- Am seeing a bug where only one worker continues processing
  on python3.8.
- Ubuntu and freedesktop-sdk are still on 3.7.
- Not using any features of 3.8 yet.
- Also removes color from mypy.
2019-12-19 14:47:00 +10:00
4a2f99d795 Coding style.
- Linting.
2019-12-04 18:39:22 +10:00
b2e6ab2c3e Let cache compression type be controlled, including none.
- No compression is good if the filesystem is already compressed.
2019-12-04 12:18:00 +10:00
cb9b0da52a tools: Add color to mypy 2019-11-06 14:19:28 +10:00
04fb17cb3f Move to python3.8.0 2019-11-06 14:07:33 +10:00
3dfb81563c tools: Change coverage tool to work with '.coverage' file.
- Was generating coverage by running a corresponding test file
  for the current file.  Wasn't obvious where test file was.
- This shows coverage if a .coverage file exists which is newer
  than the current file.
- The .coverage file needs to be created independantly. And then
  the reports can be refreshed.
2019-09-09 12:20:56 +10:00
4947327c4b tools: Fix out of date golden file for pydoc. 2019-09-04 16:24:03 +10:00
3a9b4ce361 tools: Add color to perldoc.
- Also showing stdout and stderr in any case.
2019-09-03 21:15:06 +10:00
a0a5e013fe Fix some warnings from tests. 2019-09-02 16:38:38 +10:00
71f8461bc3 Fix truncation of border titles.
- Ellipses weren't always standing in for truncations.
2019-09-01 14:42:37 +10:00
22bffd6748 Simpler interface details.
- Consistent capitalisation.
- No unnecessary colons.
2019-08-28 20:54:56 +10:00
506a8efe0d Tmp files aren't being leaked anymore. Probably asyncio is working better. 2019-08-21 17:44:50 +10:00
031fabf4e2 Make large results display quickly by loading them in pieces. 2019-08-21 16:05:06 +10:00
ee27439a7c tools: Ignore unfinished ascii escape codes.
- Ignore if the code doesn't end in 'm'.
2019-07-21 23:00:35 +10:00
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