Commit graph

114 commits

Author SHA1 Message Date
663cb91cd3 esv, esvsearch: reorder variables 2024-08-08 17:56:09 +12:00
00b9c836b3 builds: add unit testing 2024-08-08 17:56:09 +12:00
9e350aea93 builds/nixos.yml: replace archlinux build 2024-08-08 17:56:09 +12:00
49bbd5f439 builds: make -Cesv -> make -C esv 2024-08-08 17:56:09 +12:00
85b71a6092 configure: allow enabling unit tests 2024-08-08 17:56:09 +12:00
76eb783a04 configure: accept a full path to the D compiler 2024-08-08 17:56:09 +12:00
76e39e9dc8 configure: mkdir $directory 2024-08-08 17:56:09 +12:00
6436166441 esvapi: add unittest for verseValid() 2024-08-08 17:56:09 +12:00
cb29cc8e8a util: add unittest for parseBook() 2024-08-08 17:56:09 +12:00
ddab4da4fb configure: pregenerate interface files
Implements: https://todo.sr.ht/~jeremy/esv/8
2024-08-08 17:56:09 +12:00
fc529a3e23 configure: sort utility functions alphabetically 2024-08-08 17:56:09 +12:00
8fc5c8f8d3 configure: show dependency indicators 2024-08-08 17:56:09 +12:00
d020aabbb4 configure: correct D compiler name capitalisation 2024-08-08 17:56:09 +12:00
9bd36f056f esv.el: remove
Moved to my elisp repository:
  d92c10581a
2024-08-08 17:56:09 +12:00
e1cf13c8d7 esv: substitute hyphens in books with -a
Fixes: https://todo.sr.ht/~jeremy/esv/7
2024-08-08 17:56:09 +12:00
aba8532be4 esv.1: document hyphens in book names 2024-08-08 17:56:09 +12:00
f353279458 esvapi: refactor
18 insertions, 68 deletions! (🚀)

Fixes: https://todo.sr.ht/~jeremy/esv/6
2024-08-08 17:56:09 +12:00
a2be024c45 esvapi: fix compile error on LDC 1.33.0 2024-08-08 17:56:09 +12:00
7eb179255f builds/openbsd.yml: move to 7.4
OpenBSD 7.5 broke the dmd and ldc packages. They're back working in
-current as of now.
2024-08-08 17:56:09 +12:00
91dc7cd07e esvapi: style fixes 2024-08-08 17:56:09 +12:00
df6abbf50c esvsearch.1: init man page 2024-08-08 17:56:09 +12:00
ec8be68b49 esvsearch: split esv search code into separate program
Requires rewiring the build system to accommodate for two executables.

Fixes: https://todo.sr.ht/~jeremy/esv/4
2024-08-08 17:56:09 +12:00
de71043ef1 esv.1: rename argument for -c
In the synopsis it is named config.
2024-08-08 17:56:09 +12:00
692d413bfa esv: improve configuration path code 2024-08-08 17:56:09 +12:00
3507d9ca24 esv: initialise cFlag to null
Before this change a user could pass an empty string as the argument
to -C and it would go undetected.
2024-08-08 17:56:09 +12:00
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