Commit graph

469 commits

Author SHA1 Message Date
5fcdd0ea50 Remove code formatters.
- Maybe these should be returned if the output is a diff with the
  current file.
- bcpp, uncrustify, gofmt, clang_format.
2019-05-17 11:10:45 +10:00
a7bec363af Fix shebangs not being used in python tests. 2019-05-14 13:49:20 +10:00
c7b63d148c Update the placeholder under the cursor first. 2019-05-03 19:26:12 +10:00
aec31c199e Coding style. 2019-04-30 21:33:17 +10:00
9c9a0b5e5f Simplify the scan for nearby placeholders.
- Now just sweep upwards and downwards from current position.
- The spiral was not efficient for large numbers of files.
2019-04-30 12:24:45 +10:00
742dcad34a Fixed the cursor falling off the bottom of the summary list. 2019-02-04 13:54:17 +10:00
be3fec26a3 Update copyrights. 2019-02-04 11:48:47 +10:00
350f0496fc Remove splint from readme. 2019-01-25 12:05:36 +10:00
6f11326fda tools: Dropped splint since its unmaintained and doesn't compile. 2019-01-25 12:03:31 +10:00
b60a8bddae Coding style.
- Move some python tools into tools.toml.
2019-01-21 14:06:42 +10:00
85a5840cff tools: Not detecting the type of python files. Assuming python3.
- Also now not using any tools that depend on python2.
- Simplifies installation.
- Personally not using python2.
- Eris is not used widely enough to justify supporting python2 files.
- The way of determining whether a source file was python2 or python3 was
  not very good.
2019-01-21 11:46:51 +10:00
7d412ec8f1 Changes for Ubuntu 18.10. 2018-12-27 14:47:39 +10:00
ed14e0a8df Eris is a python package. 2018-10-01 13:32:59 +10:00
5b1c6429f2 Fixed project title in the usage. 2018-10-01 09:39:45 +10:00
c3b369897b tools: Let tool's urls be unspecified.
- Iff the url is found in ubuntu's package description.
2018-09-27 19:52:25 +10:00
884046e4c8 tools: Add isoinfo for iso image files. 2018-09-27 19:27:35 +10:00
dc89090137 tools: Replace Imagemagick's identify with mediainfo.
- Mediainfo's output is more readable.
- One less dependency.
- Dropped ppm.
2018-09-27 14:02:46 +10:00
2213a55650 Improved the project title. 2018-09-25 10:41:55 +10:00
8e5cc0eac9 Rename the project to Eris. 2018-09-17 23:59:38 +10:00
a060c7f3ae tools: Change more tools to using pip for dependencies. 2018-09-14 21:06:13 +10:00
6ab508a251 tools: Remove pil_half.
- Now assuming the terminal shows partial block characters properly.
- Also added 'tif' as an image extension.
2018-09-14 21:03:42 +10:00
8ae0f203f2 Move to python3.7
- Now getting python packages using pip instead of the ubuntu versions.
- System wide installations now aren't supported.
2018-09-02 16:00:44 +10:00
bf8d35f2f3 Fixed too many auto-saves occuring after restart.
- Now the 'All results are up to date' message and auto-save only
  occurs the moment that the last pending result is calculated.
2018-08-17 22:59:16 +10:00
2c402a683a Reduce interface stutters when the nearest placeholder is far away.
- Achieved by making the placeholder generator asynchronous.
2018-08-16 22:18:21 +10:00
48fc34c632 Also auto-saving when all the results are up-to-date. 2018-08-15 23:03:43 +10:00
080f587c10 Fixed the unsaved results counter. 2018-08-14 19:04:06 +10:00
f9645c12bd Auto-save after every 100 results are calculated.
- Saving is still done on shutdown regardless.
- If the program is not shutdown cleanly at most 100 results will
  be lost and need to be recalculated.
2018-08-14 16:17:37 +10:00
4157e5b04c Coding style.
- Used __getstate__ to make classes picklable.
2018-08-14 09:54:36 +10:00
f881156c4a The closest pending result was not being run. 2018-07-31 16:48:36 +10:00
66922f578f Make use of pyinotify's asyncio support. 2018-07-30 23:40:49 +10:00
60edd80007 Fixed the selection changing when syncing the filesystem. 2018-07-30 23:28:04 +10:00
484ae2afd3 Order the entries in the summary without syncing the filesystem.
- This speeds up reordering significantly.
- This probably became possible when moving from threads to
  asyncio.
2018-07-29 22:57:06 +10:00
b41c86afac tools: Fix screen corruption from TextWidgets containing line breaks. 2018-07-24 22:08:29 +10:00
9b47e07cf6 tools: Add missing executable check for md5sum. 2018-07-23 22:16:45 +10:00
fda0c0068b Fix bug that froze vigil while editing a file. 2018-07-23 21:56:12 +10:00
a29b7682c6 Add xdg-open command to the help. 2018-07-22 23:22:34 +10:00
549f9ad5c8 Add a command to open files with xdg-open.
- Vigil isn't a file manager but it is handy to let the highlighted
  file be opened since its already selected by the user.
2018-07-22 22:08:00 +10:00
ac7ca5a46a tools: Calculate md5sum more efficiently for large files. 2018-07-22 22:01:43 +10:00
cf8563d7c2 Coding style. 2018-07-21 21:52:02 +10:00
dd0b763dab Change the default background of scrollbars.
- Also hacked the cursor row highlighting to not highlight the
  scrollbar. Highlighting the widget inside the view widget is
  much more difficult.
2018-07-20 18:04:56 +10:00
07ffb403f5 Made scrollbars more accurate.
- Used unicode characters to have fractional lengthed bars.
- Don't allow specifing a scrollbar character anymore. You
  can give the bar's color and background color.
2018-07-17 08:58:29 +10:00
3a62a2a0d7 tools: Always show problems with problem status.
- Some tools are strict and produce many issues. Previously
  their problems were ignored, and given normal status.
- Which tools produce too many issues is not obvious, better
  to be consistent and show problems for all.
2018-07-05 21:46:06 +10:00
d40e0a8b59 Coding style.
- Started to add docstrings.
2018-07-05 14:22:40 +10:00
75678399c8 Changed the default window orientation to portrait.
- Portrait shows more files in the summary view.
- Most file's contents can still be viewed in half screen width.
2018-06-18 11:21:53 +10:00
64f1cd3ff8 A black cursor stands out better than white. 2018-06-18 11:19:21 +10:00
fedc10692f Highlight the progress bar differently. 2018-06-16 18:39:28 +10:00
6a0bacc805 Tweaked status colours.
- The normal and okay statuses were too similar.
2018-06-16 15:25:41 +10:00
4c58d377e2 Changed colors to NCS style.
- See https://en.wikipedia.org/wiki/Natural_Color_System.
2018-06-16 15:15:21 +10:00
7d6d9d88eb Made the cursor always white.
- With the dimmer status colors a white cursor always stands out.
- Also made yellow a little darker to help.
2018-06-16 14:56:20 +10:00
f7abd189c3 Highlight the cursor line differently.
- Now brightening the entire line instead of just brightening the
  background.
2018-06-16 11:04:17 +10:00