alcah
021e467b37
return exit code 2 if search term not found
2020-03-17 22:15:16 +10:30
Evgeniy Dushistov
a500176661
Merge pull request #44 from nickeb96/master
...
Added $SDCV_HISTFILE to set history file
2018-05-08 03:21:18 +03:00
nickeb96
7341675088
Moved history file path code to helper function
2018-05-07 20:08:47 -04:00
nickeb96
51f808d96c
Updated man page
2018-05-07 18:02:42 -04:00
nickeb96
7719111c57
Added support for
2018-05-07 17:45:07 -04:00
Evgeniy Dushistov
51db56f7e5
Merge pull request #38 from nijel/master
...
Store integer magic in cache file
2017-11-14 18:52:06 +03:00
Michal Čihař
0f83f0aa0b
Store integer magic in cache file
...
This allows to detect different endianity of machines to avoid
loading caches created with different endianity.
Fixes #36
Signed-off-by: Michal Čihař <michal@cihar.com >
2017-11-14 16:39:57 +01:00
Evgeniy Dushistov
a7432338ee
Merge pull request #37 from nijel/test
...
Use single quotes around JSON data to reduce need for escaping
2017-11-09 18:39:34 +03:00
Michal Čihař
69fe19d269
Use single quotes around JSON data to reduce need for escaping
...
Also use unicode escape sequence for newline to avoid problems with some
shells decoding \n even when they probably should not.
2017-11-08 22:51:23 +01:00
Evgeniy Dushistov
b9a1fba5bb
Merge pull request #35 from nijel/test
...
Pass parameters individually to the test
2017-11-09 00:32:26 +03:00
Michal Čihař
ac2acfdcd2
Pass parameters individually to the test
...
This way we can properly quote path.
2017-11-08 15:38:10 +01:00
Evgeniy Dushistov
925a4bc163
Merge pull request #34 from nijel/test
...
Fix test execution on Debian
2017-11-08 16:59:34 +03:00
Michal Čihař
4b6486c58e
Fix test execution on Debian
...
The default /bin/sh is probably more picky than bash.
Fixes #33
2017-11-08 14:30:37 +01:00
Evgeniy A. Dushistov
0cd29823cf
ready for 0.5.2 release
v0.5.2
2017-08-16 10:14:23 +03:00
Evgeniy A. Dushistov
8f16ceae59
refactoring: apply clang-format rules
2017-08-09 07:46:27 +03:00
Evgeniy A. Dushistov
d0c0a0837f
fix: do not give interactive menu via pager
...
fixes #28
2017-08-09 07:41:33 +03:00
Evgeniy Dushistov
d5698bdf33
Merge pull request #26 from ecraven/no-fuzzy-option
...
Add -e for exact searches (no fuzzy matches).
2017-07-31 21:16:31 +03:00
Peter
7518be74f9
Regenerate translations in po/
...
Run xgettext -k_ src/*.cpp and merge with msgmerge.
2017-07-31 19:27:12 +02:00
Peter
59a821c8f9
Update man page, add -x, -j and -e.
...
Also fix a few typos.
2017-07-31 19:10:02 +02:00
Evgeniy A. Dushistov
c9a55c90bd
update NEWS
2017-07-29 23:32:59 +03:00
Peter
e85927e562
Add -e for exact searches (no fuzzy matches).
...
Only exact matches (or synonyms) are returned for simple searches.
2017-07-28 11:39:34 +02:00
Evgeniy Dushistov
586215fda7
Merge pull request #25 from ecraven/add-content-types
...
Add additional type identifiers h,w,k
2017-07-28 00:09:29 +03:00
Peter
835dffcaf8
Add additional type identifiers h,w,k
...
Like for xdxf, no processing is done, the raw content is shown.
2017-07-27 08:15:45 +02:00
Evgeniy Dushistov
af6362f5df
Merge pull request #23 from sleep-walker/master
...
fix FSF address in LICENSE
2017-07-27 00:30:30 +03:00
Evgeniy Dushistov
25dd4c8264
Merge pull request #22 from ecraven/json
...
Add json output, fix #6
2017-07-26 23:55:59 +03:00
Tomáš Čech
98e98d0746
fix FSF address
2017-07-26 22:39:28 +02:00
Peter
3105823e8b
Add option --json-output (-j)
...
If given -j, format the output of -l and of searches as JSON.
2017-07-26 22:07:23 +02:00
Evgeniy A. Dushistov
edf73656aa
update manpage about $(HOME)/.sdcv_ordering
...
This should close #5
2017-07-13 00:15:30 +03:00
Peter
5f0f6e036f
Add option --only-data-dir (-x)
...
Only use the dictionaries in data-dir, do not search in user and system directories
This makes testing much easier
2017-07-07 08:39:26 +02:00
Evgeniy A. Dushistov
6c01e22961
add note in NEWS about fixing #8
2017-07-07 00:20:41 +03:00
Evgeniy A. Dushistov
214fbbf91e
fix portability issue in PR #20 , plus simplify code
2017-07-07 00:19:50 +03:00
Evgeniy Dushistov
f510300f59
Merge pull request #20 from ecraven/master
...
Add support for .syn synonym files.
2017-07-06 23:57:19 +03:00
Peter
aa42132243
Add tests for synonyms
2017-07-06 19:54:36 +02:00
Peter
4b52181898
Add support for .syn synonym files.
...
Fixes #8 .
2017-07-06 19:46:15 +02:00
Evgeniy A. Dushistov
72a15b70a7
simplify parsing of integers in ifo file
2017-07-06 13:11:02 +03:00
Evgeniy A. Dushistov
4c367fc12c
fix build with clang 3.4.1 #19
2017-07-06 11:41:58 +03:00
Evgeniy A. Dushistov
b2ced870ab
fix potential undefined behaviour
...
fix #19
2017-07-04 22:33:14 +03:00
Evgeniy A. Dushistov
b4fc882f25
update NEWS for 0.5.1
2017-04-25 09:52:36 +03:00
Evgeniy A. Dushistov
82a06b8e69
msgmerge -vU ru.po sdcv.pot
v0.5.1
2017-04-22 21:44:35 +03:00
Evgeniy A. Dushistov
73d6098010
version bump
2017-04-22 21:30:07 +03:00
Evgeniy A. Dushistov
5c1357840c
Merge branch 'order_dist_list'
2017-04-22 21:25:58 +03:00
Evgeniy A. Dushistov
1667de0650
cleanups for specify "dictionary order by"
2017-04-22 21:23:00 +03:00
Evgeniy A. Dushistov
97b13e6702
remove not used code
2017-04-22 20:52:18 +03:00
Evgeniy Dushistov
d9f273b858
Merge pull request #14 from citrin/fix_pager
...
Fix using SDCV_PAGER
2017-03-07 16:07:09 -08:00
Anton Yuzhaninov
84367a5744
Fix using SDCV_PAGER
...
Stream opened with popen() should be closed with pclose() as documented
in popen(3) man.
2017-03-07 18:37:52 -05:00
Evgeniy A. Dushistov
7df514e117
fix build without readline
2017-02-17 17:38:57 +03:00
Evgeniy Dushistov
a1a614b81f
Merge pull request #13 from wordempire/patch-1
...
Update CMakeLists.txt
2017-01-24 04:48:18 +03:00
Jelle Licht
913fd0a312
Update CMakeLists.txt
...
Also add READLINE_INCLUDE_DIR when building
2017-01-24 02:36:28 +01:00
Cong Gu
2d95bd0b12
specify dictionary order by -u switches or ~/.sdcv_ordering
2016-09-25 01:13:43 -05:00
Evgeniy A. Dushistov
4921f2837a
travis: disable build with clang, because of llvm.org overloaded
2016-06-02 18:40:06 +03:00