Commit graph

890 commits

Author SHA1 Message Date
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
10a4908204 Tweaked Readme.
- "File types" is clearer than "Extensions".
2020-10-17 12:14:16 +10:00
445f3ad745 tools: Remove golden file tests for perldoc.
- perldoc output is dependant on the terminal.
  - Don't need golden files for everything.
2020-10-15 13:22:39 +10:00
1e45001878 Exit cleanly when worker processes are missing. 2020-10-15 13:15:41 +10:00
f1902a4d1b Cope with worker processes being terminated. 2020-10-15 12:57:37 +10:00
0cdb5c3a37 More robust parsing of ascii term codes. 2020-10-15 12:17:02 +10:00
79dee3f1b9 tools: Better color scheme for python-coverage. 2020-10-13 19:53:05 +10:00
b3dbcddcf6 tools: Show error message when python-coverage sees old .coverage. 2020-10-12 23:13:07 +10:00
bea859f54f Fix broken tests. 2020-10-12 22:45:34 +10:00
7058967134 Update golden file of perldoc output. 2020-10-12 22:29:37 +10:00
ad6a093b92 Parse pytest color output correctly. 2020-10-12 22:26:29 +10:00
b5f712165b Eris runs on ubuntu 20.10. 2020-10-06 05:11:49 +10:00
331adf7d4a release: Update readme file with new versions. 2020-09-24 23:13:41 +10:00
c9f2651444 release: flatpak: Bring manifest up to date.
- Freedesktop version 18.08 -> 20.08.
- Pip changed output.
- New perl version.
- New rakudo version.
- Eris also needs sortedcontainers and markupsafe modules.
- New nodejs version needs python2.7 as a build dependency,
  now that freedesktop moved from python2 to python3.
- Disable p7zip since not building.
- wabt is now packaged in ubuntu. ubuntu source not building
  easily in flatpak so continuing to use git source.
- Can use pip pdfminer.six to install pdf2txt.py.
2020-09-24 18:00:26 +10:00
ba6c09fa32 docker: Bring Dockerfile up to date. 2020-09-15 14:30:44 +10:00
afa6870484 release: Update appimage and docker scripts for new release. 2020-09-15 12:52:26 +10:00
7c3db5dc87 Coding style.
- Include 'Hello World' example of how to use fill3.
2020-08-30 00:03:19 +10:00
b40f1bb0d7 tools: Depend on newer versions of Ruby and Php. 2020-08-27 06:15:27 +00:00
dae4f4cb93 Optimize summary load time.
- Not trying to update appearance for every entry loaded.
- e.g. 35 secs -> 10 secs.
2020-05-23 13:55:14 +10:00