Commit Graph

246 Commits

Author SHA1 Message Date
tastytea 21cd476be0
Bump version of german translation.
continuous-integration/drone/push Build is passing Details
2021-06-02 09:12:43 +02:00
tastytea cfa850b020
Fix lowest tested nlohmann_json version. 2021-06-01 22:56:50 +02:00
tastytea de2001a442
Fix nlohmann_json error with old versions.
continuous-integration/drone/push Build is passing Details
Old versions of nlohmann_json do not have support for std::string_view,
std::filesystem::::path(?) and std::pair(?).
2021-06-01 22:35:52 +02:00
tastytea ba2161fa47
Fix explanation for --json in man page.
continuous-integration/drone/push Build is failing Details
2021-06-01 20:23:54 +02:00
tastytea 5d6fdc599f
Version bump 0.5.0.
continuous-integration/drone/push Build was killed Details
2021-06-01 20:18:41 +02:00
tastytea d56cf4de56
Update german translation. 2021-06-01 20:18:18 +02:00
tastytea 6a4511099f
Do not add empty matches to matches_all. 2021-06-01 20:15:05 +02:00
tastytea 21989aabfe
Fix JSON output.
Bug: #3
2021-06-01 20:14:36 +02:00
tastytea f1cb16f6d0
Add JSON output.
Closes: #3
2021-06-01 19:17:44 +02:00
tastytea 7b4b9edfe5
Rename file names in search::matches to make it more clear. 2021-06-01 19:15:00 +02:00
tastytea ffec9578e6
Add note for Debians weird package naming. 2021-06-01 18:51:49 +02:00
tastytea 3166c7a823
Update credits. 2021-06-01 18:49:34 +02:00
tastytea 88e4e78db8
Add nlohmann_json dependency. 2021-06-01 18:47:12 +02:00
tastytea b0b6c00a90
Log application exit.
continuous-integration/drone/push Build is passing Details
2021-06-01 18:22:15 +02:00
tastytea a7fae314b3
Log some progress info to log file.
continuous-integration/drone/push Build is passing Details
2021-06-01 17:17:00 +02:00
tastytea 6278779029
Don't mask previous failures. 2021-06-01 17:06:25 +02:00
tastytea 40e39dc0e7
Umm… nothing to see here… 😄
continuous-integration/drone/push Build is passing Details
2021-06-01 16:47:47 +02:00
tastytea 1dd6235260
Mention --debug in bug reporting guideline. 2021-06-01 15:52:07 +02:00
tastytea 892d757aa4
Add --debug to manpage. 2021-06-01 15:36:18 +02:00
tastytea 07915bdf87
Add lots of debug output. 2021-06-01 15:32:10 +02:00
tastytea 017059cb5b
Make options::options printable (for use in debug output). 2021-06-01 15:25:39 +02:00
tastytea a8db304bf1
Add DEBUGLOG macro.
Adds the severity and prepends the function name.
2021-06-01 15:24:19 +02:00
tastytea 580f08b823
Output info messages to stderr with --debug. 2021-06-01 13:52:41 +02:00
tastytea 28c0a5a797
Add --debug switch and enable debugging if it is on. 2021-06-01 13:41:54 +02:00
tastytea b12f88003b
Fix text logging and debug logging. 2021-06-01 13:41:20 +02:00
tastytea 17b6017fe0
Rename init_debug() → enable_debug(), add documentation. 2021-06-01 13:36:34 +02:00
tastytea 12a1c47259
Make log_path a variable again.
We don't need log_dir() twice afterall.
2021-06-01 11:09:40 +02:00
tastytea a8f2b7dfb6
Add equipment for debug logs. 2021-06-01 11:02:06 +02:00
tastytea c35434e745
Simplify LOG macro.
continuous-integration/drone/push Build is passing Details
We only have one logger, no need to specify it every time.
2021-05-31 22:43:30 +02:00
tastytea 5250b2974d
Update german translation. 2021-05-31 22:32:15 +02:00
tastytea 4c1bae86ba
Add fatal errors.
Errors are fatal if the program has to stop immediately.
2021-05-31 22:29:35 +02:00
tastytea 1fee4f5afd
Fix file error reporting.
Not sure why exceptions don't have that info… 🤷
2021-05-31 22:22:04 +02:00
tastytea 80e2e9d05d
Re-add -DBOOST_LOG_DYN_LINK
continuous-integration/drone/push Build is passing Details
It seems we still need it. The combination of Boost 1.65.1 and CMake 3.12
does not work otherwise. Not sure whose fault it is.
2021-05-31 21:20:41 +02:00
tastytea c30a8b40be
Older Boost version need log_setup in addition to log.
continuous-integration/drone/push Build is failing Details
1.75.0 works without it, 1.74.0 not.
Removed -DBOOST_LOG_DYN_LINK again.
2021-05-31 20:57:36 +02:00
tastytea 1d02c3bd6d
Add workaround for old CMake←→Boost combinations.
continuous-integration/drone/push Build is failing Details
2021-05-31 20:15:54 +02:00
tastytea f184a19832
Add log file location to man page. 2021-05-31 19:45:01 +02:00
tastytea 1d70b16596
Add libboost-log-dev dependency to CI and readme.
continuous-integration/drone/push Build is failing Details
2021-05-31 19:42:14 +02:00
tastytea 77d013c12a
Change config file path.
continuous-integration/drone/push Build was killed Details
Existing old config file is copied over.
2021-05-31 19:37:11 +02:00
tastytea b966be3021
Log suppressed errors to log file. 2021-05-31 19:27:36 +02:00
tastytea 7a68ec6191
Add note about the log file to bug report info. 2021-05-31 19:27:13 +02:00
tastytea 18f8600174
Change log file directory. 2021-05-31 19:26:19 +02:00
tastytea 11572d5b29
Use logger for warnings end errors. 2021-05-31 19:12:07 +02:00
tastytea ac5b31f2d5
Add logger. 2021-05-31 18:50:41 +02:00
tastytea cf583c6d7f
Don't compile sources twice.
Not sure why it would compile them twice if they are set to PUBLIC, but okay. 🤷
2021-05-31 17:24:08 +02:00
tastytea 78ada56226
Make input files required.
It will be difficult to parse EPUB files from stdin and the usefulness is
questionable.
2021-05-31 15:31:41 +02:00
tastytea 11a8989370
CMake: Make GLOB work with new files (most of the time).
continuous-integration/drone/push Build is passing Details
Caveats: <https://cmake.org/cmake/help/latest/command/file.html#filesystem>
2021-05-31 11:06:29 +02:00
tastytea ea2fbc8dd7
Update build instructions. 2021-05-31 10:57:42 +02:00
tastytea 76ed0c9dbf
Un-escape named and numbered entities in documents before searching.
continuous-integration/drone/push Build is passing Details
2021-05-30 23:32:35 +02:00
tastytea 8a9be5d45b
Add helpers::unescape_html() &amp; tests. 2021-05-30 23:32:30 +02:00
tastytea 7f31d897cf
Add/move tests for helpers. 2021-05-30 22:25:37 +02:00