Commit Graph

90 Commits

Author SHA1 Message Date
b557656649 Merge commit '6c33fb4dcebd5464d89ca3fb98bdf23847d81fbf' as 'dist/termcolor' 2021-05-25 10:43:32 +02:00
6c33fb4dce Squashed 'dist/termcolor/' content from commit 9a832a1
git-subtree-dir: dist/termcolor
git-subtree-split: 9a832a1756c67074331f257f3896656318440ba2
2021-05-25 10:43:32 +02:00
ce015954ea
Only initialize search::options once. 2021-05-25 10:02:34 +02:00
af58d6e35a
Make file paths in pot-file relative to project directory.
All checks were successful
continuous-integration/drone/push Build is passing
2021-05-25 08:39:13 +02:00
15a6436597
Update german translation. 2021-05-25 08:35:25 +02:00
01464bef50
Bump version to 0.1.3, fix typos.
All checks were successful
continuous-integration/drone/push Build is passing
2021-05-25 08:13:50 +02:00
4644c2afd4
Support CMake 3.12.
All checks were successful
continuous-integration/drone/push Build is passing
Ubuntu 20.04 has 3.16, so requiring 3.17 is a bit mean.
2021-05-25 07:38:07 +02:00
8dfafae025
Add download info for releases to readme. 2021-05-25 07:22:34 +02:00
be229d25d6
Don't demand required options if --help or --version is requested.
All checks were successful
continuous-integration/drone/push Build is passing
Bump version to 0.1.2.
2021-05-25 07:15:04 +02:00
28b1d5ec16
Don't make pot-file generation optional.
It is needed for compiling translations. Not really, but the CMake module thinks
so.
2021-05-25 07:03:09 +02:00
6d48f667fd
Fix typo in man page.
All checks were successful
continuous-integration/drone/push Build is passing
2021-05-24 21:49:27 +02:00
80d2e5b86b
Version bump 0.1.1.
All checks were successful
continuous-integration/drone/push Build is passing
2021-05-24 21:39:41 +02:00
72e2482028
Add test for search helpers.
- search::cleanup_text()
- search::headline()
- search::page
2021-05-24 21:38:44 +02:00
36f27ad744
Add tests for search::search(). 2021-05-24 21:38:39 +02:00
e1d29c5893
Don't replace stuff in search::cleanup_text() if nothing matched. 2021-05-24 20:02:27 +02:00
09090a1c13
Fix bugs in search::context().
- Don't add context if words == 0
- Handle beginning / end of text correctly.
2021-05-24 19:57:15 +02:00
1f25daed26
Add basic error handling to search. 2021-05-24 19:10:00 +02:00
21dccbbb12
Update german translation. 2021-05-24 19:09:50 +02:00
0f7940146f
Version bump 0.1.0.
All checks were successful
continuous-integration/drone/push Build is passing
2021-05-24 18:58:07 +02:00
6ee550c171
Update man page. 2021-05-24 18:57:04 +02:00
c790c4952c
Extract page numbers. 2021-05-24 18:56:43 +02:00
bb4a4c719f
Wrap headlines in <H> and </H> during cleanup. 2021-05-24 18:08:40 +02:00
8ab7d0f655
Extract headlines. 2021-05-24 17:27:30 +02:00
8b21f4a8b9
Don't output empty fields. 2021-05-24 16:37:43 +02:00
972ce1d0fe
Don't strip headlines. 2021-05-24 16:37:30 +02:00
bb1a43ca92
Move cleanup_text(), document functions. 2021-05-24 16:23:07 +02:00
30478f6feb
Add libboost-regex-dev to CI recipe.
All checks were successful
continuous-integration/drone/push Build is passing
2021-05-24 16:02:54 +02:00
84e2b387e5
Clean up text before searching. 2021-05-24 16:01:41 +02:00
1979956f03
Add basic search functionality and context output. 2021-05-24 15:35:49 +02:00
4e01032c6f
Put regex type and --grep in search::options. 2021-05-24 13:13:15 +02:00
b2e70a6faa
Mark everything [[nodiscard]], fix some comments. 2021-05-24 13:00:03 +02:00
643c4b0c42
Remove GNUInstallDirs from translations-recipe. 2021-05-24 09:42:16 +02:00
60cd1dec62
Typo in readme.
Some checks reported errors
continuous-integration/drone/push Build was killed
2021-05-24 09:17:58 +02:00
e221d3add7
Do not change .po files.
All checks were successful
continuous-integration/drone/push Build is passing
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
10b9f6dc5d
Update german translation. 2021-05-24 08:23:58 +02:00
9c769f664d
Clarify documentation: NUM → NUMBER. 2021-05-24 08:23:52 +02:00
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
3222019c69
Add default value (0) to --context. 2021-05-24 08:14:29 +02:00
1f82d9927a
Add skeleton for search::search().
- Type for matches
- Type for options.
2021-05-24 07:52:36 +02:00
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
f388dd0511
Add --raw and --context switches. 2021-05-24 07:50:50 +02:00
c2ca311ac9
Update german translation. 2021-05-24 06:04:11 +02:00
5ac7f92f1d
Add hint to man page. 2021-05-24 06:03:32 +02:00
3ad4e49e3d
Don't dump zip files to stdout. 2021-05-24 05:46:12 +02:00
2ab4705475
Make --regexp required, show help if it is not given. 2021-05-24 05:45:42 +02:00
4b2fbecf93
Print all options at start.
All checks were successful
continuous-integration/drone/push Build is passing
2021-05-23 16:52:32 +02:00
f96f07caa7
Update man page.
- Add --basic-regexp and --grep
- Expand description
- Document configuration file syntax
2021-05-23 16:52:27 +02:00
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
a86baf750f
Specify minimum versions of dependencies where known. 2021-05-23 09:30:33 +02:00
f7bfc6a513
Install locales in CI.
All checks were successful
continuous-integration/drone/push Build is passing
2021-05-23 09:19:51 +02:00