Evgeniy Dushistov
a4f441aa32
rename lib module to more specific name stardict_lib
2013-07-07 19:45:37 +00:00
Evgeniy Dushistov
c3d733b1fc
use glib wrappers where possible for safe memory freeing
2013-07-07 17:07:02 +00:00
Evgeniy Dushistov
9034e792b6
code cleanups + use where possible get_uint32 instead of not safe cast
2013-07-07 17:05:55 +00:00
Evgeniy Dushistov
fae4b432e1
- not requeire exact version number for stardict ifo file
...
- ignore utf-8 BOM during magic string check
2013-07-07 17:04:51 +00:00
Evgeniy Dushistov
1a8b24dced
rename distance header
2013-07-07 15:25:58 +00:00
Evgeniy Dushistov
a1f5ebeee2
remove typedef to simplify code
2013-07-07 15:24:28 +00:00
Evgeniy Dushistov
f9c34e438e
bump version number
2013-07-07 14:53:05 +00:00
Evgeniy Dushistov
9de626f364
update NEWS file according to 0.5 release
2013-07-07 14:52:04 +00:00
Evgeniy Dushistov
8520ed5bc4
update documentation and translation for --colorize option
2013-07-07 14:50:20 +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
24f1688809
lib: c++11
2013-07-06 23:04:28 +00:00
Evgeniy Dushistov
482feda09e
distance: c++11 plus remove not used code
2013-07-06 22:56:20 +00:00
Evgeniy Dushistov
4d027dccd4
use nullptr and other c++11 features for mapfile.hpp
2013-07-06 22:48:54 +00:00
Evgeniy Dushistov
89ef5574f2
to reduce code size of binary move file to ordinary function
...
instead of template
2013-07-06 22:47:17 +00:00
Evgeniy Dushistov
3812fad586
c++11 for readline + libwrapper
2013-07-06 22:44:11 +00:00
Evgeniy Dushistov
7274a61efa
utils: c++11
2013-07-06 22:38:56 +00:00
Evgeniy Dushistov
edfee97db3
sdcv.cpp: use c++11 where possible
2013-07-06 22:37:42 +00:00
Evgeniy Dushistov
0bd3912672
use c++11 and modern compilator abilities
2013-07-06 22:33:20 +00:00
Evgeniy Dushistov
64c80594c0
fix build for previous commit, also enable c++11 by default
2013-07-06 20:36:42 +00:00
Evgeniy Dushistov
5be0d2d80b
update documentation
2013-07-06 20:25:08 +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
94111e953c
allow to build with helps of cmake
2013-07-06 17:50:15 +00:00
Evgeniy Dushistov
06e3f25ea4
fix build plus warning if we have no readline
2013-07-06 17:49:23 +00:00
Evgeniy Dushistov
1386e5d160
update zh_TW translation, thanks to Wei-Lun Chao
2013-07-06 15:21:27 +00:00
Evgeniy Dushistov
c22fcd3910
- Обновление шаблона для перевода
...
- поместил fr.po в правильное место
- подготовка к версии 0.5
2013-07-06 14:21:18 +00:00
Evgeniy Dushistov
d2327e2a0f
Import patch from Roman Imankulov:
...
"sdcv" does not set up `rl_readline_name' variable which can be extremely useful for the writing the .inputrc file. Additionally sdcv does not use readline in the "Your choice [-1 to abort]" dialog. This patch fix both these issues, readline_name is set up to "sdcv".
This trick allows me to add into the .inputrc
$if sdcv
"\e\e": "-1\n"
$endif
and type double-escape in the "Your choice" dialog instead of pretty annoying "-1".
2013-07-06 13:40:11 +00:00
Evgeniy Dushistov
0aa0a8aea7
Base on Michal Čihař patch from sf.net and stardict fix for similar bug
2013-07-06 13:18:26 +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
ab22f8eb41
replace array with variable size with vector,
...
this should help clang compiler to compile our source code
2013-07-06 12:52:48 +00:00
Evgeniy Dushistov
2a5da7969f
fix warnings about size_t %d -> %zu (C99)
2013-07-06 10:18:21 +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
33f1d57092
Import Michal Čihař ( nijel ) patch: UK man page wrongly formatted
2010-08-01 20:45:47 +00:00
Evgeniy Dushistov
9121ccf20e
Import Michal Čihař ( nijel ) patch:
...
Tescases fail with POSIX /bin/sh, attached patch fixes it
2010-08-01 20:42:04 +00:00
Evgeniy Dushistov
65a1db1732
Add Czech translation, thanks to Michal Čihař <michal@cihar.com>
2010-08-01 20:32:49 +00:00
Evgeniy Dushistov
dcedb73934
Slovak translation update, thanks to Ivan Masár <helix84@centrum.sk>
2010-08-01 20:26:56 +00:00
Evgeniy Dushistov
684a8cef34
fix typo, thanks to
...
Michal Čihař ( nijel )
2010-08-01 20:21:27 +00:00
Evgeniy Dushistov
4f2f1b9776
French translation, thanks to Vincent Petry <PVince81@yahoo.fr>
2010-08-01 20:10:53 +00:00
Evgeniy Dushistov
91fbbea366
fix fgec not defined build error
2010-08-01 19:32:28 +00:00
Evgeniy Dushistov
ed81937443
fix build without mmap
2010-01-26 17:25:22 +00:00
Evgeniy Dushistov
3da4808990
fix build with gcc 4.3
2008-10-11 16:22:08 +00:00
Evgeniy Dushistov
4c152c01fb
change nick to surname
2008-10-11 16:04:35 +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
db87b6a7c2
fix build on amd64: guint32 and size_t may be different type, so usage of std::min is incorrect
2007-09-30 16:27:08 +00:00
Evgeniy Dushistov
98ec160803
remove autotools crap(files produced by autotools) from repository
2007-09-30 16:20:31 +00:00
Evgeniy Dushistov
e34edfcf24
sdcv should be able to handle pango markup type records
...
correctly
2007-08-14 18:35:42 +00:00
Evgeniy Dushistov
bcb8266d28
temporary files
2007-08-14 18:29:30 +00:00
Evgeniy Dushistov
3f241bb6bb
0.4.2 release
2007-08-14 18:18:20 +00:00