Commit graph

15 commits

Author SHA1 Message Date
0b3626b36c esvapi: expose CurlException 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
8b392c5bab use @safe everywhere
with a little bit of evil @trusted magic...
2024-06-26 13:47:48 +12:00
de9e18f06e update copyright year to 2024 2024-06-26 13:47:48 +12:00
c5c9930a55 Fix weird indentation bug
...by setting the default indentation character to a space.
2024-06-26 13:47:48 +12:00
97c9c427ff Add @safe and final where possible, remove unnecessary documentation and fix incorrect indentation 2024-06-26 13:47:48 +12:00
472261e15a Document everything and fix out-of-bounds memory error 2024-06-26 13:47:48 +12:00
12d5d9dcea Add search functionality and make other improvements 2024-06-26 13:47:48 +12:00
ca36b7fb90 OpenBSD code style 2024-06-26 13:47:48 +12:00
6efe117545 Switch to configure and make based build
Also removed excessive use of std.regex in esvapi.d and
made it actually compile -_-
2024-06-26 13:47:48 +12:00
06a4dc286d Refactor most of the code
- Replace panic()-based error handling in main() with
   Exception-based error handling
 - Put hardcoded defaults in config.di
 - Make general optimisations and readability improvements
   for a lot of the code
 - Change some of the ESVApi's interface
2024-06-26 13:47:48 +12:00
1b11097ba0 Reorder method attributes and add pure attribute to some methods 2024-06-26 13:47:48 +12:00
8564fd3003 Heavily refactor esvapi.d (add ESVMode enum, ...) and apply changes to main.d 2024-06-26 13:47:48 +12:00
45890a6051 esv.d -> esvapi.d 2024-06-26 13:47:48 +12:00
5dc2a12f1e Refactor config parsing code in main.d, rename esv.d -> esvapi.d, rename class EsvAPI to ESVApi, makefile changes 2024-06-26 13:47:48 +12:00
Renamed from esv.d (Browse further)