Commit Graph

114 Commits

Author SHA1 Message Date
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
Evgeniy A. Dushistov
326c456d2f travis: trying to fix 2016-06-02 18:27:22 +03:00
Evgeniy A. Dushistov
519bfeead9 travis: for some reason we have clang++-3.4, attempt to fix 2016-06-02 18:21:58 +03:00
Evgeniy A. Dushistov
106a671fce travis build also with clang 2016-06-02 18:10:03 +03:00
Evgeniy A. Dushistov
9e03053d0a readme: add link to travis 2016-06-02 17:13:30 +03:00
Evgeniy A. Dushistov
b657e810d6 fix t_utf8input on other then my machine 2016-06-02 17:09:30 +03:00
Evgeniy A. Dushistov
b8b3dc8e75 fix for t_use test 2016-06-02 15:04:23 +03:00
Evgeniy A. Dushistov
45985363cf add travis control file 2016-06-02 14:56:11 +03:00
Evgeniy A. Dushistov
0e9cc3cc3c remove travis yml 2016-06-02 14:55:46 +03:00
Evgeniy A. Dushistov
aa0c5ff051 add clang-format and apply to sdcv.cpp 2016-06-02 14:52:58 +03:00
Evgeniy A. Dushistov
b20f27d27b first step to use travis CI 2016-06-02 14:42:44 +03:00
Evgeniy A. Dushistov
6aaab5e075 add gitignore 2016-06-02 14:18:09 +03:00