Evgeniy A. Dushistov
8f16ceae59
refactoring: apply clang-format rules
2017-08-09 07:46:27 +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
af6362f5df
Merge pull request #23 from sleep-walker/master
...
fix FSF address in LICENSE
2017-07-27 00:30:30 +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
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
b2ced870ab
fix potential undefined behaviour
...
fix #19
2017-07-04 22:33:14 +03:00
Evgeniy A. Dushistov
1667de0650
cleanups for specify "dictionary order by"
2017-04-22 21:23:00 +03:00
Cong Gu
2d95bd0b12
specify dictionary order by -u switches or ~/.sdcv_ordering
2016-09-25 01:13:43 -05:00
Evgeniy A. Dushistov
aa0c5ff051
add clang-format and apply to sdcv.cpp
2016-06-02 14:52:58 +03:00
Evgeniy Dushistov
8298a578b0
check fread calls
2013-07-07 23:29:09 +00:00
Evgeniy Dushistov
a1f5ebeee2
remove typedef to simplify code
2013-07-07 15:24:28 +00:00
Evgeniy Dushistov
f5c62baeb9
support of usage colors in sdcv output
2013-07-07 14:43:53 +00:00
Evgeniy Dushistov
7ddc3e2ea9
- update russiang translation and po template
...
- remove not used file
2013-07-07 13:11:54 +00:00
Evgeniy Dushistov
edfee97db3
sdcv.cpp: use c++11 where possible
2013-07-06 22:37:42 +00:00
Evgeniy Dushistov
5f43a6dae6
- remove generated files *.gmo
...
- remove not used Makefile.am
- fix work with translated messages
- make package and make install fixes
2013-07-06 20:04:22 +00:00
Evgeniy Dushistov
dd9304951f
remove autotools stuff, now sdcv uses cmake
2013-07-06 18:36:42 +00:00
Evgeniy Dushistov
0d7afe20af
may be fix for: 'libintl_setlocale' is not a member of 'std'
...
get from here:
https://trac.macports.org/browser/trunk/dports/textproc/sdcv/files/patch-setlocale.diff?rev=85010
2013-07-06 13:00:22 +00:00
Evgeniy Dushistov
502e845105
Import Volkov Peter ( volkov_peter )'s patch:
...
sdcv uses g_get_home_dir function to find home directory. That function uses passwd entry and this in turn breaks expectations of users and automatic tests inside sandbox where access behind some directory is not allowed (and thus tests are not allowed to write into /root/.stardict/dic...) The patch in attachment fixes this basically by using code from gnome manual:
http://library.gnome.org/devel/glib/stable/glib-Miscellaneous-Utility-Functions.html#g-get-home-dir
const char *homedir = g_getenv ("HOME");
if (!homedir)
homedir = g_get_home_dir ();
2010-08-01 21:00:33 +00:00
Evgeniy Dushistov
c7c8dab8db
get rid of getopt, because of it cause problem on mac os x.
2007-09-30 18:10:19 +00:00
Evgeniy Dushistov
3f241bb6bb
0.4.2 release
2007-08-14 18:18:20 +00:00