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
39bda8cafb
Coding style.
...
- Use a context manager for signal_handlers.
2021-04-11 10:48:30 +10:00
cf95fa1088
Coding style.
...
- More cleaning up.
2021-04-11 02:00:10 +10:00
03db3002b4
Coding style.
...
- Tidy up.
2021-04-11 01:55:47 +10:00
09e7c04e26
There is no urwid package anymore.
2021-04-10 22:11:38 +10:00
45b810fe9a
Greatly simplify keyboard & mouse input code.
...
- Not using bundled urwid code anymore.
- Possibly not working with as many terminals now.
- Eris is working with at least xterm, alacritty and kitty.
Must check gnome-terminal.
- Dropped some alternate ctrl input keys which weren't really
necessary.
2021-04-10 21:42:23 +10:00
94810bf767
Handle codebases with too many directories.
...
- The number of directories is limited by the kernel parameter
user.max_inotify_watches.
- For codebases that exceed the limit, error out immediately,
and give the user an example sysctl command to raise the limit.
2021-01-27 00:14:46 +10:00
247d53f0aa
Fix missed change to last appearance.
2020-12-18 12:12:45 +10:00
db69560591
Fix glitched appearance when shrinking window.
...
- Patching the display sometimes wasn't enough, probably because of
lines being wrapped. Just redraw everything in this case.
2020-12-17 21:54:15 +10:00
3d4c17a1d4
Coding style.
...
- Use del to avoid making an empty list.
2020-11-25 18:15:24 +10:00
f0653d08ee
Coding style.
...
- Don't create objects and garbage unnecessarily.
2020-11-25 16:50:42 +10:00