Commit graph

733 commits

Author SHA1 Message Date
a74633e087 Coding Style.
- Move terminal.py from termstr package to fill3 package.
- Terminal was no longer used by termstr.
- Terminal could be in its own package in future.
2021-11-03 14:26:07 +10:00
f44afb5b5d Coding Style.
- Turn fill3 module into a package.
2021-11-03 14:22:52 +10:00
c2b7a8ce64 Coding Style.
- Allow 'import termstr' instead of 'import termstr.termstr'.
2021-11-03 14:13:04 +10:00
5341d91592 Coding style.
- termstr no longer depends on terminal.
  - Moved some code from terminal to termstr.
2021-11-03 01:26:06 +10:00
d540636fd5 Create an install script. 2021-10-31 22:49:13 +10:00
c181ab9de9 Coding style.
- Remove all dead code from tests.
2021-10-31 22:22:52 +10:00
4174f10526 Drop install-dependencies script.
- Do a standard install with pip.
- Run install-tools afterwards.
- util-linux was needed for what?
2021-10-31 21:41:32 +10:00
170597d6d2 Coding style.
- Removed dead code.
2021-10-31 17:52:41 +10:00
04e35c6274 Pin python dependencies to the latest versions. 2021-10-31 16:23:02 +10:00
ba1d6b62bb Coding style.
- Use a standard requirements.txt file for python dependencies.
2021-10-31 16:12:57 +10:00
2335dec922 Coding style.
- Break out termstr, fill3, sorted_collection and lscolors into
  seperate packages and modules.
2021-10-31 02:21:09 +10:00
8746f578da release: Bring version number up to date. 2021-10-24 01:52:53 +10:00
7415b2af7d Add missing golden file. 2021-10-19 17:48:41 +10:00
ca52101b4f Added a releases file that matches the github page. 2021-10-18 20:14:28 +10:00
95349470c3 release: appimage: Needed cc1 afterall. 2021-10-18 19:07:55 +10:00
1085385f39 release: appimage: Make an appimage from 21.10.
- appimagetool 12 -> 13.
- Pare down gcc.
- Appimage needs pexpect.
2021-10-18 18:51:24 +10:00
e6cf2cfcc9 release: docker: Bring Dockerfile up to date. 2021-10-18 11:38:12 +10:00
d83bea2ba8 release: Move eris to ubuntu 21.10.
- Update readme.
- php7 -> php8.
- Fix python-coverage.
- Also need python decorator module.
- Replaced Mcrt1 with rotatingtree since Mcrt1 started raising
  a new warning.
2021-10-18 01:40:39 +10:00
42bf4d2582 Rename 'xdg-open' action to 'open'.
- Debian is renaming xdg-open to open.
- Rename 'orient' to 'turn'.
2021-09-23 23:17:04 +10:00
e76d0bd03d release: Drop flatpak releases.
- Too much effort required to maintain the manifest file.
- Still have appimage and docker, which are both much easier to
  keep working.
2021-09-15 22:13:55 +10:00
a963dd7377 Make running status color stand out.
- Lime stands out better than blue on a green background.
2021-08-11 14:25:37 +10:00
4ca4d3a2ba Make wide-characters display correctly in other terminals.
- Was only working kitty. Now tested working in xterm,
  gnome-terminal and alacritty.
- Use the standard zero width space not some other
  character with zero width.
2021-08-06 00:46:02 +10:00
c91beda9b4 Display wide characters correctly.
- Made termstr's length match the on-screen width.
  - Achieved by adding a zero width character after each wide
    character.
  - This fixes ljust and rjust, so that there is correct padding,
    otherwise Portal appearances aren't the correct width.
- When getting a sub-string containing half a wide character,
  the half character is a space.
- Some wide characters are still broken. e.g. country flags
2021-07-25 23:07:12 +10:00
c4fb3fdfe3 tools: Stop initial blank lines being stripped. 2021-07-25 01:51:40 +10:00
4197cebd1b Combine normal and okay statuses.
- Changed all normal results to ok.
- Normal results were intended for tools that produced info and
  weren't expected to have problem results.
  - Ultimately not worth distinguishing from tools that sometimes
    show problems.
- One less color status makes the summary table simpler.
- Also changed the not-applicable status color to the lighter grey
  that normal used to have.
- Made the success status non-configurable since ok status is the
  only sensible status at the moment.
2021-07-20 01:59:46 +10:00
e6380bb1d7 Coding style.
- Don't waste memory by storing sub-strings.
2021-07-11 16:41:06 +10:00
071096821c tools: Add git diff.
- This is worth it afterall.
- Eris will get out of sync when the diffs are commited,
  but this is also true of git-blame and git-log.
- The user can refresh the old results with shift-r.
2021-07-11 16:25:25 +10:00
c5efd3a74b Coding style.
- Re-implement termstr.splitlines.
  - Simpler and uses less memory.
2021-06-14 02:08:33 +10:00
2db439961d Stop cursor losing the current column when scrolling with mouse. 2021-06-10 02:00:02 +10:00
8a8f139084 Fix glitch when scrolling the listing with mouse.
- Stopped the scroll position going negative.
2021-06-10 01:55:42 +10:00
1d3e44f7ad Can also quit with the escape key.
- Also removed unnecessary color from the help docs.
2021-06-06 00:20:42 +10:00
0170d24abb tools: Remove golint.
- golint has been deprecated.
2021-06-06 00:20:42 +10:00
2bc735dff4 tools: Distingush empty or failed runs of godoc.
- godoc doesn't always have good results.
2021-06-06 00:20:42 +10:00
7ef9cf02d1 release: Keep golden file up to date.
- The mime type of python scripts changed.
2021-05-19 02:14:10 +10:00
4b5f8c3a75 release: Force re-install for pip tool dependencies.
- pdf2txt.py needed a re-install to update to the new version.
2021-05-19 02:14:10 +10:00
51687598b1 release: Eris works on ubuntu 21.04.
- Update ubuntu version in README.
2021-05-19 02:14:10 +10:00
3e7d306273 release: Use ubuntu golang for godoc and go vet.
- The github versions weren't installing anymore.
2021-05-19 02:14:10 +10:00
5d553a6542 release: Move to python3.9 2021-05-19 02:14:10 +10:00
2b0fd6b724 Make the placeholder dots darker.
- Makes the white cursor stand out.
2021-05-19 02:14:10 +10:00
573353896c Coding style.
- Consistent import style.
- Preferring not to use 'from' imports.
2021-05-19 02:14:10 +10:00
4eb2334e41 Coding style.
- Remove similar partition functions.
- Change 40% to 38.198%.  Now the summary and listing panes widths
  are in the golden ratio!
2021-05-19 02:14:10 +10:00
77ce5c68b0 Make the summary pane narrower and listing pane wider.
- In portrait mode.
- In the average project there was a bit of wasted space.
  Python files (with lots of statuses) in a subdirectory had
  space left over. They can still be seen with the summary
  pane narrowed.
- Puts emphasis on viewing the listing over the summary pane.
- Contents were often a little too wide for the listing pane
  and now fit.
2021-05-19 02:14:10 +10:00
f32a97cbbf Coding style.
- Tidy up gut tool.
2021-05-08 08:12:46 +10:00
2da603c5bf Coding style.
- Incorporate gut into tools.
- Remove gut tests which were only useful for developing the old
  implementation.
2021-05-07 21:07:45 +10:00
d471934946 tools: Make python_gut more correct.
- Using the ast module to correctly determine the line numbers
  of the function bodies.
- Should have done it this way in the beginning, but didn't know
  about ast module tracking line numbers.
- No more heuristics.
- Copes with different size indentations.
2021-05-07 19:58:41 +10:00
c8638c1bbe Coding style.
- Remove unused tool, 'identify'.
2021-05-06 06:42:08 +10:00
7ffcd6c46c tools: Make git_log status not-applicable for files with no log. 2021-05-06 05:12:25 +10:00
50b95aa10f tools: Fix cppcheck not showing problem status.
- cppcheck was always returning ok status.
2021-05-06 04:03:05 +10:00
fa54f38e40 tools: Add timeout for pandoc.
- Saw pandoc hang.
2021-05-06 04:03:05 +10:00
beb98889ca Handle difficult filenames.
- Involving unix filenames and unicode surrogates...
- Seen in instagram's cinder repo.
2021-05-06 04:02:19 +10:00