Commit Graph

160 Commits

Author SHA1 Message Date
tastytea b2e70a6faa
Mark everything [[nodiscard]], fix some comments. 2021-05-24 13:00:03 +02:00
tastytea 643c4b0c42
Remove GNUInstallDirs from translations-recipe. 2021-05-24 09:42:16 +02:00
tastytea 60cd1dec62
Typo in readme.
continuous-integration/drone/push Build was killed Details
2021-05-24 09:17:58 +02:00
tastytea e221d3add7
Do not change .po files.
continuous-integration/drone/push Build is passing Details
I think it updated the .po files from the .pot file? It rearranged stuff and the
Poedit re-rearranged stuff and so on…
2021-05-24 09:06:28 +02:00
tastytea 10b9f6dc5d
Update german translation. 2021-05-24 08:23:58 +02:00
tastytea 9c769f664d
Clarify documentation: NUM → NUMBER. 2021-05-24 08:23:52 +02:00
tastytea 44ffeb07ec
Add calls to search::search() to main().
All that's missing now is the actual search functionality. 😊
2021-05-24 08:15:04 +02:00
tastytea 3222019c69
Add default value (0) to --context. 2021-05-24 08:14:29 +02:00
tastytea 1f82d9927a
Add skeleton for search::search().
- Type for matches
- Type for options.
2021-05-24 07:52:36 +02:00
tastytea 78230b26e6
Add a bit of usage information to man page.
The described stuff is not working yet.
2021-05-24 07:51:37 +02:00
tastytea f388dd0511
Add --raw and --context switches. 2021-05-24 07:50:50 +02:00
tastytea c2ca311ac9
Update german translation. 2021-05-24 06:04:11 +02:00
tastytea 5ac7f92f1d
Add hint to man page. 2021-05-24 06:03:32 +02:00
tastytea 3ad4e49e3d
Don't dump zip files to stdout. 2021-05-24 05:46:12 +02:00
tastytea 2ab4705475
Make --regexp required, show help if it is not given. 2021-05-24 05:45:42 +02:00
tastytea 4b2fbecf93
Print all options at start.
continuous-integration/drone/push Build is passing Details
2021-05-23 16:52:32 +02:00
tastytea f96f07caa7
Update man page.
- Add --basic-regexp and --grep
- Expand description
- Document configuration file syntax
2021-05-23 16:52:27 +02:00
tastytea 03e07dfc3e
Rework option parsing a bit.
- Add --basic-regexp
- Add --grep
- Remove --input-file
- Make it possible to have multiple --regexp
2021-05-23 16:23:07 +02:00
tastytea a86baf750f
Specify minimum versions of dependencies where known. 2021-05-23 09:30:33 +02:00
tastytea f7bfc6a513
Install locales in CI.
continuous-integration/drone/push Build is passing Details
2021-05-23 09:19:51 +02:00
tastytea cb1cba4306
Add asciidoc to CI.
continuous-integration/drone/push Build is failing Details
2021-05-23 09:05:52 +02:00
tastytea 7b4a15f139
Update german translation.
continuous-integration/drone/push Build is failing Details
2021-05-23 09:02:23 +02:00
tastytea e773d4b78a
Implement zip::read_file() – Read file in archive; add test.
Also added zip::open_file() and zip::close_file() to deduplicate code.
2021-05-23 08:56:58 +02:00
tastytea 6334b7051f
Newline before printing error messages. 2021-05-23 08:55:15 +02:00
tastytea 281c0d47d2
Add basic man page.
continuous-integration/drone/push Build is failing Details
2021-05-23 06:36:33 +02:00
tastytea 28c6c80def
Set C locale, treat EPUB file names as UTF-8.
EPUB file names MUST be UTF-8. ASCII is a subset of UTF-8.
2021-05-23 06:32:56 +02:00
tastytea 6c040fa951
Add first test.
continuous-integration/drone/push Build is failing Details
- Compile everything in src/ except main.cpp into a static library
- Link the static library into tests
- Add test for zip::list()
2021-05-21 09:27:31 +02:00
tastytea 8c8a19b86b
Cosmetic changes. 2021-05-21 07:10:46 +02:00
tastytea a941bcced3
Initialize the variables where they're needed. 2021-05-21 07:05:44 +02:00
tastytea 354583bcbd
Add short descriptions. 2021-05-21 06:54:01 +02:00
tastytea 71a2937664
Update german translation.
continuous-integration/drone/push Build is passing Details
2021-05-21 04:13:38 +02:00
tastytea 7ecb634473
Return failure on zip error. 2021-05-21 04:12:58 +02:00
tastytea 1229e295ef
Set locale for std::cerr. 2021-05-21 04:10:11 +02:00
tastytea 1a80f770ff
Fix error messages. 2021-05-21 04:04:17 +02:00
tastytea a3eeb41f99
Update credits.
continuous-integration/drone/push Build is passing Details
2021-05-21 03:51:42 +02:00
tastytea 42d785d4c8
Fix drone recipe.
continuous-integration/drone/push Build is passing Details
- Add libfmt.
- Install specific boost packages.
2021-05-21 03:31:51 +02:00
tastytea 4e8c6e7489
Add exception for zip processing.
continuous-integration/drone/push Build is failing Details
- New dependency: libfmt.
- Translate error messages.
2021-05-21 03:25:42 +02:00
tastytea 2709be1620
Add .clang-tify and .clang-format. 2021-05-21 03:24:28 +02:00
tastytea 222f802015
Basic zip file support.
continuous-integration/drone/push Build is passing Details
Dumping the TOC works.
2021-05-21 01:56:37 +02:00
tastytea 031e2f0db6
Use sub-namespaces for functionality-groups. 2021-05-21 01:50:13 +02:00
tastytea 10e84a7707
Translate Error messages in main(). 2021-05-21 01:48:55 +02:00
tastytea 7007d5e89a
Add single letter options. 2021-05-20 11:51:08 +02:00
tastytea 231ec20cd5
Rename input → input-file. 2021-05-20 11:43:35 +02:00
tastytea c08668555a
Update german translation. 2021-05-20 11:33:39 +02:00
tastytea 9a136b87a9
Add --regexp and --input, add both as positional options. 2021-05-20 11:33:33 +02:00
tastytea dd7a62ceb8
Update catch versions in readme. 2021-05-20 10:43:51 +02:00
tastytea bfb59da98d
std::filesystem compatibility for older GCC.
continuous-integration/drone/push Build is passing Details
The header was in experimental a while ago and the implementation was a
separate library.
2021-05-20 10:37:45 +02:00
tastytea cf8fb95777
Switch to fs::path where appropriate.
continuous-integration/drone/push Build is failing Details
2021-05-20 10:20:42 +02:00
tastytea f57555fb3a
Fix documentation of get_config_path(). 2021-05-20 10:03:09 +02:00
tastytea 541a63dd73
Add boost to dependencies in readme. 2021-05-20 09:59:15 +02:00