2007-05-29 Aleksey Cheusov limit_childs * NEWS, daemon.c, defs.h, dictd.8.in, dictd.c, dictd.h, servparse.y, servscan.l: ADDED: new keyword 'limit_queries' for limiting a number of queries that client may send to the server. It defaults to 2000. minor fixes in NEWS * dictfmt.c: better checking for required argument * NEWS: note about 1.10.9 release * dictfmt.1.in: minor fixes * dict.1.in: new words about -f * dict.1.in: minor fix * daemon.c, defs.h, dictd.8.in, dictd.c, dictd.h, servparse.y, servscan.l: ADDED: 'limit_time' option to 'global' dictd.conf section See dictd.8 for the more information. minor clean-ups: dict_daemon and dict_inetd function use global variable client_delay 2007-05-28 Aleksey Cheusov symbol at the end of line... * test/dictd_defstrat_2_res.expected.txt, test/dictd_test.in, test/input.defstrat_2.txt, test/testdb.defstrat_2.conf: another tiny test for default_strategy * test/dictd_defstrat_1_res.expected.txt, test/dictd_test.in, test/input.defstrat_1.txt, test/testdb.defstrat_1.conf: test for dictd/dictfmt --default-strategy * test/dictd_limits_1_res.expected.txt, test/dictd_test.in, test/input.limits_1.txt, test/testdb.limits_1.conf: small test for limi_matches * dictfmt.c, dictunformat.in: 00-database-dictfmt-X.Y.Z headword is generated instead of 00-database-dictfmt 2007-05-23 Aleksey Cheusov --test-file --ftest --test-strategy --test-db --test-match --test-nooutput --test-idle --test-show-info All these options were created for testing and debugging. Actually -i and newly created --stdin2stdout is anough (and better) for this. * dictd.8.in: minor improvement 2007-05-22 Aleksey Cheusov -D, -S, -I, -H, -i and similar also support -f (formatted output) 2007-05-13 Aleksey Cheusov 1.0 * Makefile.in, configure.in: libmaa: 0.990 -> 1.0; dict: 1.10.7 -> 1.10.8 2006-12-12 Aleksey Cheusov $(INSTALL)/$(INSTALL_DATA) 2006-12-10 Aleksey Cheusov gsub() 2006-11-25 Aleksey Cheusov 1.990 * NEWS: additions to 1.10.6 release * configure.in: removed: code that does not work with BSD 'which' 1.10.5 ---> 1.10.6 * dictd.c: removed: unnecessary code 2006-06-23 Aleksey Cheusov $(MAKE) * NEWS, configure.in: version --> 1.10.5 2006-05-19 Aleksey Cheusov 1.10.3 Another example config file has been moved to examples/ * NEWS: Notes about 1.10.3 release * libmaa/config.guess, libmaa/config.sub: updated * config.guess, config.sub: updated 2005-12-06 Aleksey Cheusov 2005-11-30 Aleksey Cheusov dict.1.in dictd.8 ---> dictd.8.in ... in order to make absolute paths in man pages dependant on ./configure options * NEWS, dictd.8: minor fixes 2005-11-21 Aleksey Cheusov mkdir -p * example.conf: fixed: missing space 2005-11-19 Aleksey Cheusov `index' * test/dictd_test: fix for Solaris-9: $PWD ===> `pwd` 2005-11-13 Aleksey Cheusov 1) 2005-10-15 Aleksey Cheusov 1.10.2 * dictd.8: added: short description for a list of special headwords in .index file * NEWS: updates for 1.10.2 * dictfmt.1: added: documentation for --utf8 option * NEWS: updated for 1.10.2 2005-09-05 Aleksey Cheusov PRINTF (DBG_SEARCH, (...)) * dictfmt.c: fixed: 'dictfmt --allchars' run 'sort' utility with no C locale, while dictd requires this type of sorting. Affected versions: all dictfmt version providing --allchars option. It is strongly recommended to recreate dictionary which was built with --allchars option. 2005-08-13 Aleksey Cheusov -k 1,1 Affected versions of dictfmt: 1.6.1 - 1.10.1 2005-07-20 Aleksey Cheusov 1.10.1 2005-06-08 Aleksey Cheusov 6 * dict.1: fixed: typo. Thanks to A Costa for reporting the bug report. 2005-04-14 Aleksey Cheusov 1.10.0 * example.conf: added: section containing global option * example_mime.conf: added: Yet another example demonstrating `database_mime' keyword * configure.in, dictP.h: fixed: compilation bugs on OpenBSD-3.4 which doesn't provide CODESET macro in * NEWS: nothing * dict.1, dictfmt.1: Documentation update 2005-04-09 Aleksey Cheusov 1.9.15 2004-12-13 Aleksey Cheusov ). lots of `const' modifier in daemon.c added: --test-show-info option to `dictd' * daemon.c, data.c, dictd.c, index.c, plugin.c: DICT_EXACT --> DICT_STRAT_EXACT, etc. * dictfmt.1, dictfmt.c: added: --default-strategy option. Sets the default search strategy for the database. It will be used instead of strategy '.'. Special entry 00-database-default-strategy is created for this purpose. This option may be useful, for example, for dictionaries containing mainly phrases but the single words. In any case, use this option if you are absolutely sure what you are doing. dictfmt.1 update * strategy.c, strategy.h: added: functions `get_strategy', `lookup_strategy_ex' DICT_EXACT --> DICT_STRAT_EXACT, DICT_PREFIX --> DICT_STRAT_PREFIX etc. adde: new define DICT_STRAT_DOT for strategy `.' * libmaa/log.c: `log_syslog (NULL)' closes syslog `log_file (NULL, NULL)' closes file for logging `log_stream (NULL, NULL)' closes FILE* stream for logging * libmaa/maa.h: debugging information switched on using -d option of dictd is logged to syslog/file/FILE_stream, but printf'ed to stdout. 2004-10-08 Aleksey Cheusov awk -f 2004-10-06 Aleksey Cheusov 0.99 * Makefile.in, configure.in: version ==> 1.9.14 * NEWS: updated to 1.9.14 * NEWS: fixed a typo 2004-05-30 Aleksey Cheusov reverse * example_plugin_dbi.conf, NEWS, configure.in: version ==> 1.9.13 another sample strategy for DBI plugin NEWS file update * dictd.c, dictdplugin_dbi.c: code clean-ups * plugin.c: log plugin failure to stderr 2004-03-23 Aleksey Cheusov - SQL query for implementing SEARCHSTRATEGY (MATCH command). SEARCHSTRATEGY is not limited to the "standard" strategies. See the file example_plugin_dbi.conf for sample of how this plugin can be configured. SQL queries should return 1-column result by using SELECT command. %q sequence inside SQL query is expanded to user's query. %% is expanded to single % sign. This plugin obviously gives a simplest way to implement editable dictionaries, not by DICT protocol, but, for example, with a help of WEB interface. Hack! To resolv DBI driver's symbols, dictd is currently linked with libdbi. Later, this will be fixed. 2004-03-19 Aleksey Cheusov 1.9.11 libmaa version ==> 0.97 NEWS update * dictfmt.c: added: --license|--version options some tricks about indentation * dictd.c, dictzip.c, dict.c: changed --license|--help|--version message 2003-12-05 Bob Hilliard sets a preprocessor for configuration files See dictd.8 and example_complex.conf. 2003-10-13 Aleksey Cheusov P) added: 'word' strategy to Judy-based plugin * dictdplugin_judy.c: added: 'lev' strategy to Judy-based plugin * index.c: fixed: 'Substitutions' section inside 'dict_search_levenshtein' function produces a lot of equal words * dictdplugin_judy.c: added: 'substring' strategy to Judy-based plugin * dictdplugin_judy.c: added: 're' and 'regexp' strategies to Judy-based plugin * str.c, str.h, Makefile.in, dictd.c, dictdplugin_judy.c, dictfmt.c, index.c: code clean-ups. Common string-related functions have been moved to str.c * dictdplugin_judy.c: added: suffix, prefix and soundex strategies to Judy-based plugin * index.c: fixed: 'suffix' strategy doesn't ignore characters other than alphanumeric and spaces. Affected versions: 1.9.1-1.9.10 * libmaa/maa.h, libmaa/text.c: txt_soundex2 - reenterable version of txt_soundex * defs.h, plugin.c: one dictdb_free call for one call of dictdb_search 2003-08-07 Aleksey Cheusov 1.9.10 LIBMAA version --> 0.96 2003-07-21 Aleksey Cheusov 1.9.9 * Makefile.in: better cygwin support * libmaa/config.h.in, config.h.in: *** empty log message *** * configure.in, Makefile.in: better cygwin support * dictd.c: fixed: warning message produced by gcc under cygwin * daemon.c: file descriptors are explicitly initialized 2003-04-10 Aleksey Cheusov 1.9.7 2003-03-04 Aleksey Cheusov escape sequences. \ (multilined strings) may be useful for specifying plugin data or an information about database. * index.c: critical fix: dictd may crash on BMH search (substring, suffix and word strategies) because it accesses memory outside mmap'ed region. Affected versions: 1.4.9-1.9.5 (All?) * ChangeLog: ChangeLog is up-to-date * configure.in: version == 1.9.6 * index.c: critical fix: dictd may crash on BMH search (substring, suffix and word strategies) because it accesses memory outside mmap'ed region. 2003-02-28 Aleksey Cheusov 1.9.5 * dictd.c: fixed: if the 'name' keyword is used in database section, and it doesn't begin with '@', dictd may crash on SIGHUP. Affected versions: 1.9.1-1.9.4. * data.c, dictd.8, dictd.c, index.c, daemon.c: The only required keyword for the virtual database is database_list. The '@' symbol in 'name' and 'info' keywords is treated especially. * dictd.c: plugin specified in the config file also uses default plugin directory * daemon.c: 'info' keyword understand prefix '@' too * dictd.c, index.c: fixed: short name is initialized before plugin initializing * dictd.h, index.c: code cleanups fixed: bug in passing database names to the plugin * configure.in: fixed: ./configure --with-nec-socks5 * daemon.c, dictd.8, dictd.c, dictd.h, dictdplugin.h, index.c, servparse.y, servscan.l: added: ability to specify plugin in the configuration file documentation update added: additional sanity checks * daemon.c: dict_search_databases function has been simplified * servscan.l, dictd.8, dictd.c, dictd.h, servparse.y, daemon.c: added: ability to specify virtual dictionary in the configuration file. 'database_virtual', 'database_list' keywords are added. documentation update added: 'info' keyword for specifying information about the database in the config file. @ prefix is supported. added: additional sanity checks * dictd.h, servparse.y, daemon.c, dictd.c: explicit flag is used for database_exit but the NULL indexFilename 2003-02-21 Aleksey Cheusov 1.9.4 * dictd.8: fixed: misprint in the documentation 2003-02-10 Aleksey Cheusov AC_CHECK_FUNCS * dictfmt_virtual.1, index.c, dictd.h, dictd.c, config.h.in: added: 'dictfmt' adds 00-database-8bit entry to the 8-bit dictionaries. 'dictd' uses this entry (and 00-database-utf8) and fails if "C" locale is specified and 8-bit or utf-8 dictionaries are encountered. Using "C" locale for 8-bit and utf-8 dictionaries is one of the most common error made by dictd users. * dictfmt_virtual: nothing serious * dictfmt.c, dictunformat: 'dictfmt' fails if --locale="C" (the default) is specified and 8-bit head word is encountered. 2003-02-07 Aleksey Cheusov 1.9.0 2002-12-05 Aleksey Cheusov --default-strategy added: --disable-strategy option for 'dictd' 2002-10-16 Aleksey Cheusov