Commit graph

714 commits

Author SHA1 Message Date
04c5bf3d56 Fix bug caused by change in collections.UserList.
- Collections.UserList changed betweeen python 3.7.3 and 3.7.5,
  requiring the constructor of Entry to be a like that for a list.
- Solved by not using UserList and defining __getitem__ and __len__.
2019-11-06 11:18:18 +10:00
cde7402708 Make the highlight bar less subtle.
- It had been tuned when colors weren't working correctly.
2019-10-17 17:36:30 +10:00
ab2ede416d Coding style. 2019-09-16 22:42:49 +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
6fdbfc16c7 tools: Fix having a shared .coverage file. 2019-09-05 15:11:00 +10:00
71ee3363f2 tools: Add coverage report to pytest output. 2019-09-05 15:01:58 +10:00
4947327c4b tools: Fix out of date golden file for pydoc. 2019-09-04 16:24:03 +10:00
ab20fb46cf tools: Make pydoc quieter on error. 2019-09-04 15:48:59 +10:00
a1199a1767 tools: Add color to pydoc. 2019-09-04 15:32:23 +10:00
1925f53bf8 Coding style.
- Statuses can't be any string, anymore.
2019-09-03 22:32:07 +10:00
3a9b4ce361 tools: Add color to perldoc.
- Also showing stdout and stderr in any case.
2019-09-03 21:15:06 +10:00
23b4f8c931 tools: Fix truncated file contents. 2019-09-03 15:53:53 +10:00
03f348622e tools: Avoid loading large binary files in full. 2019-09-03 15:50:26 +10:00
a0a5e013fe Fix some warnings from tests. 2019-09-02 16:38:38 +10:00
172e9d2978 Bundle the latest version of LS_COLORS. 2019-09-01 17:22:28 +10:00
71f8461bc3 Fix truncation of border titles.
- Ellipses weren't always standing in for truncations.
2019-09-01 14:42:37 +10:00
a0892616bf Truncate listing titles on the left side.
- Better to retain the file name than the directory.
2019-09-01 14:01:19 +10:00
9f44030bb9 Fix existing capitalised key controls, R and N. 2019-08-31 22:21:30 +10:00
2fb3696c9b tools: Add pytest for python unittests. 2019-08-31 13:27:32 +10:00
408f2de098 Coding style.
- Let PagedList open func be specified outside.
2019-08-30 14:17:09 +10:00
cfb5c44554 Fix making key controls case-insensitive. 2019-08-30 14:16:23 +10:00
a0a222889a Remove out of date key controls. 2019-08-30 10:39:17 +10:00
03e68c58da Make keyboard control case-insensitive. 2019-08-30 10:35:50 +10:00
22bffd6748 Simpler interface details.
- Consistent capitalisation.
- No unnecessary colons.
2019-08-28 20:54:56 +10:00
db08b3f465 Coding style.
- Make PagedList responsible for deleting previous versions.
2019-08-27 21:44:00 +10:00
beeedc3800 Cleanup leftover pages directories. 2019-08-27 20:31:09 +10:00
13988fecf9 Add the current line number to the listing title. 2019-08-27 18:05:02 +10:00
d79814e0c3 tools: Limit size of svg images. 2019-08-27 16:46:06 +10:00
8840fd9713 Coding style.
- Removing references in elinks output.
- Allows pandoc tool to use elinks tool.
2019-08-27 16:34:00 +10:00
76df9366cb tools: Add color to pandoc output by using elinks. 2019-08-27 15:27:29 +10:00
6dfd095033 Coding style. 2019-08-25 13:23:41 +10:00
92982b80a3 Coding style. 2019-08-25 12:28:53 +10:00
7e5d965868 Coding style.
- Allow for subclasses of slice.
2019-08-23 22:53:14 +10:00
b9a3648b65 Correctly empty cache while result is refreshed. 2019-08-23 17:31:24 +10:00
b2d08b0664 Coding style.
- Use a generator to save memory.
2019-08-23 17:25:47 +10:00
506a8efe0d Tmp files aren't being leaked anymore. Probably asyncio is working better. 2019-08-21 17:44:50 +10:00
c4e5458005 Shutting down cleanly now that asyncio is not noisy. 2019-08-21 17:43:22 +10:00
3b57dff515 Stop focus changing in fullscreen. 2019-08-21 17:09:23 +10:00
031fabf4e2 Make large results display quickly by loading them in pieces. 2019-08-21 16:05:06 +10:00
c339742203 flatpak: Bring manifest file up to date.
- Worked around haskell packages sometimes missing their
  Setup.hs file.
2019-08-10 10:31:17 +10:00
bf3fd5c63b flatpak: Coding style.
- Use a script to reduce repetion in build commands.
2019-08-09 14:44:18 +10:00
7955d9654c tools: Added elinks browser for viewing html in color. 2019-07-24 14:04:04 +10:00
07a73e006c Coding style.
- pydoc expects scripts that do little when imported.
  So all python scripts really need 'if __name__ == "__main__":'
2019-07-22 12:17:01 +10:00
aea93874cc tools: Enable color for yamllint.
- Yamllint uses the 'faint' escape code.  Ignoring for now.
2019-07-21 23:59:08 +10:00
cc0b565b3a tools: Let python_syntax tool show errors.
- Wasn't worth treating python specially.
2019-07-21 23:28:19 +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
7f9e572a18 Update TODO. 2019-07-21 22:30:36 +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