Commit graph

918 commits

Author SHA1 Message Date
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
75606d5d20 Fix cache clearing message appearing incorrectly. 2021-05-05 22:29:54 +10:00
e1c8a58b9a Fix switching to alternate buffer in alacritty. 2021-04-27 21:38:37 +10:00
b1efb0ff28 Fix cursor keys not working in some terminals. 2021-04-27 15:22:31 +10:00
ce8ac8f6e1 Coding style.
- Use constants instead of strings for mouse actions.
2021-04-13 20:54:55 +10:00
7cfcc56250 Coding style.
- Slightly optimize add_entry by having sorted_collection.insert
  return where the insert was.
2021-04-13 19:48:06 +10:00
65e136941b Fixed workers to always run after summary loaded.
- Provided there is work to do.
2021-04-13 18:38:42 +10:00
7da50f5a29 Fix slow loading of large summaries.
- e.g 40 secs -> 0.5 secs
- The whole summary was being scanned for every entry added.
  quadratic -> linear.
2021-04-13 15:09:19 +10:00
e84d7ac958 Switch to a different implementation of a sorted list.
- Raymond Hettingers version is simpler and faster when loading
  large summaries. e.g. 38 secs instead of 48 secs previously.
2021-04-13 00:01:31 +10:00
787c304d06 Files don't need individual license headers.
- All files are licensed by the LICENSE file at root.
- Updated the license to 2021.
- Have kept the license in LS_COLORS since its 3rd party.
2021-04-12 02:25:49 +10:00
aa6a90b221 Update license date.
- Just testing new github authentication.
2021-04-12 01:23:23 +10:00
f994d773d8 Coding style.
- The fill3.context can create the screen update task.
2021-04-12 00:14:22 +10:00
09d6dffce6 Coding style.
- Tidy up task properly. Was getting a warning on shutdown.
2021-04-11 22:19:36 +10:00
14eef08897 Simplify key maps.
- Atm there is only one key for every action.
2021-04-11 18:42:58 +10:00
3c3f06326b Fix broken keys in help page. 2021-04-11 18:27:32 +10:00
a50f66554a Coding style.
- Divide input onto on_keyboard_input and on_mouse_input methods.
- Also let on_mouse_input see the original term code in case
  terminal.decode_mouse_input() is not enough.
2021-04-11 17:48:21 +10:00