Commit graph

89 commits

Author SHA1 Message Date
8f699c3212 esv: rename -C flag to -c
The capital C flag is often associated with changing directories. The tar
and make programs use it this way.
2024-08-08 17:56:09 +12:00
f540160ff3 esv: remove invalid path checks
They're catering to too much of an edge case. It can just be checked with
std.file.exists() later on.
2024-08-08 17:56:09 +12:00
bf3eb2953a esv: strip trailing whitespace from header 2024-08-08 17:56:09 +12:00
7a9866a4e2 util: split getopt error handling into utility function 2024-08-08 17:56:09 +12:00
d8e267d5ba esv: split utility functions into separate module 2024-08-08 17:56:09 +12:00
1ed36260f3 esv: remove bad use of UFCS 2024-08-08 17:56:09 +12:00
1ba023122a esv: revise comments 2024-08-08 17:56:09 +12:00
36c520e00f README.md: revise content 2024-08-08 17:56:09 +12:00
6096e01e01 esv: rename mpegPlayer to player 2024-08-08 17:56:09 +12:00
59c92c8db7 esv: refactor compile time configuration 2024-08-08 17:56:09 +12:00
77c2c4825a esvapi: fetch all pages of search results
Fixes: https://todo.sr.ht/~jeremy/esv/1
2024-08-08 17:56:09 +12:00
cdabb25f74 esvapi: add empty line 2024-08-08 17:56:09 +12:00
08187f8ef7 README.md: add sourcehut builds badge 2024-08-08 17:56:09 +12:00
29dd1304f6 esvapi: add empty lines between methods 2024-08-08 17:56:09 +12:00
3391c982b4 esv.1: revise examples 2024-08-08 17:56:09 +12:00
4bcda73b7d esv.1: update bug reporting section 2024-08-08 17:56:09 +12:00
ceaa193210 esv.1: update author address 2024-08-08 17:56:09 +12:00
4c4ed78952 makefile: fix man page installation 2024-08-08 17:56:09 +12:00
387c397a5a README.md: fix broken link 2024-08-08 17:56:09 +12:00
81127066a0 README.md: update 2024-08-08 17:56:09 +12:00
98b3a385ad esv.conf.5: revise and update
This manual has been neglected and hasn't been touched since the initial
source code release. Ouch!
2024-08-08 17:56:09 +12:00
b5399bc8fa esv.1: document passage line length detection 2024-08-08 17:56:09 +12:00
982273b9d7 esv: detect passage line length based on terminal width
Implements: https://todo.sr.ht/~jeremy/esv/2
2024-08-08 17:56:09 +12:00
d68b83b722 esv: preserve compatibility with the newest initial 2024-08-08 17:56:09 +12:00
d5cacb0401 initial: re-vendor @ c00e0fa
c00e0fa avoid converting objects twice
baafe10 fix doc comment
2024-08-08 17:55:46 +12:00
6bd5af01f8 esv: trim configuration file 2024-06-26 13:47:48 +12:00
82ce0f86d7 esv.1: bump Mdocdate 2024-06-26 13:47:48 +12:00
a3a575e8c5 esv, esvapi: include 2023 in copyright year range 2024-06-26 13:47:48 +12:00
ed6813f2ef esv.1: add documentation for underscores in book names 2024-06-26 13:47:48 +12:00
47b09314f7 esv.1: use semantic newlines
See the section "Use semantic newlines" of man-pages(7)
for some reasoning on this.
2024-06-26 13:47:48 +12:00
82a9eb84f0 esvapi: fix documentation for getPassage() 2024-06-26 13:47:48 +12:00
00e6e3d05d esv.el: add a package for integrating into Emacs 2024-06-26 13:47:48 +12:00
b662605f08 editorconfig: add .el settings 2024-06-26 13:47:48 +12:00
a1d6a3e84c esv.1: add unmatched .El 2024-06-26 13:47:48 +12:00
0c0a5cab70 esv: handle thrown CurlExceptions 2024-06-26 13:47:48 +12:00
0b3626b36c esvapi: expose CurlException 2024-06-26 13:47:48 +12:00
e713ff9ddf makefile: fix man page installation 2024-06-26 13:47:48 +12:00
11543da52f esv: handle absence of search results with -s
previously this would throw an unhandled ESVException.
2024-06-26 13:47:48 +12:00
de08bf5c70 esv.1: revise manual
Reword much of the manual, add the -s option, and add AUTHORS and BUGS
sections among other small changes.
2024-06-26 13:47:48 +12:00
024e612dab move to sourcehut 2024-06-26 13:47:48 +12:00
f1b79c2a7c refactor configure script
Generate a makefile config instead of a makefile with predefined
constants. This makes the build a bit more easier to modify. Also
improve the makefile and apply some suggestions from shellcheck. :)
2024-06-26 13:47:48 +12:00
4bb8d391fd initialise sourcehut CI
esv is now built and briefly tested on Arch Linux and OpenBSD.
2024-06-26 13:47:48 +12:00
5a9103bfa8 mark development version 2024-06-26 13:47:48 +12:00
467573c99a reword version 2024-06-26 13:47:48 +12:00
0752c9db7c style fixes
o  fix doc comment style: use /++ rather than /**
    just to make it a bit more clear
 o  remove trailing whitespace
 o  remove unnecessary whitespace
 o  use => style for @property functions
 o  more fixes
2024-06-26 13:47:48 +12:00
8881e20178 update readme 2024-06-26 13:47:48 +12:00
49e2606a2e improve error message system
Move away from the exception-based system where we throw an Exception
to stop the program (which is caught by main) and use a new die
function that accesses args[0], prints an error and stops the program.
Users should not notice a difference, I think this system is more
lightweight and requires less code.
2024-06-26 13:47:48 +12:00
87826cba0d add nix flake 2024-06-26 13:47:48 +12:00
566ec45337 fix install target of makefile 2024-06-26 13:47:48 +12:00
8b392c5bab use @safe everywhere
with a little bit of evil @trusted magic...
2024-06-26 13:47:48 +12:00