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
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