summaryrefslogtreecommitdiff
path: root/textproc
AgeCommit message (Collapse)AuthorFilesLines
2010-01-21sortjnemeth1-2/+2
2010-01-21Remove hash for deleted patch-aadsainty1-2/+1
2010-01-20Update to 0.37, amend LICENSE.wiz2-7/+7
0.37 2009.12.29 * Fixed accessors for source elements (Vince Veselosky) 0.36 2009.12.21 * Fixed various dependency issues RT #23538, #34481, #52519, #41058 (Tomas Doran)
2010-01-20Update to 2.37, set LICENSE.wiz2-6/+7
2009-09-14: 2.37. don't use stdout by default (tx Greg Brown) warning: may not be backwards-compatible in some odd use cases 2009-08-10: 2.36. relative url resolution (tx Kevin North)
2010-01-20Update to 1.13:wiz3-9/+20
GTK-Doc 1.13 (Dec 18 2009) ============ o 604891 : gtk-doc tarball does not build Contributors Stefan Kost GTK-Doc 1.12 (Dec 18 2009) ============ Changes o 591450 : Build related fixes o 466535 : generate documentation as pdf o 502191 : acronym support o 532395 : inline function parsing problems (e.g. in glib api docs) o 536928 : have syntax highlghted and xrefs source code samples o 562064 : index generation trouble o 562310 : glib 2.18.3: /bin/sh: line 1: gtkdoc-rebase: command not found o 562655 : doesn't produce deprecation note for signals o 565126 : linking to struct members o 565835 : Three spelling errors in gtk-doc-manual o 566911 : add support for --help and --version to remaining tools o 567132 : Take FOO_GET_INTERFACE as standard o 568702 : gtkdoc-mkhtml no longer works when symlinked o 568706 : gtkdoc-scan: use CamelCase id for interfaces o 568708 : gtkdoc-scan should try not to scan files twice o 568714 : Perl errors when syntax highlighting is not available o 568732 : missing long descriptions undetected o 568734 : configure check for gtk-doc prints that gtk-doc cannot be built o 569339 : abbreviation are not expanded at the start of text o 572396 : Fix to use shave + gtk-doc + libtool 1.x o 572612 : Mistakenly substitute -1 with G_MAXULONG in x86_64 o 572967 : use g_strerror o 574654 : --ignore-decorators does not ignore trailing stuff o 575574 : Be more friendly for files with a space in their name o 575623 : Update FSF address o 575711 : < table > element mismatch in highlighted code o 576313 : implicit declarations in testsuite ? o 577059 : Gnome-doc support can't be disabled o 577774 : Test suite run even when built with --disable-gtk-doc o 580206 : gcc warnings in < module > -scan.c o 580300 : gtkdoc-scan picks up _get_type functions it should not o 580622 : xml dir is both part of distclean and dist rules o 581237 : gtk-doc uses wrong gtkdoc-check in " make check " phase o 584952 : " uninitialized value in concatenation " gtkdoc-mkdb line 938 o 587103 : return values of function-like macros o 587196 : Typo in a string o 589426 : Python is a required dependency o 591789 : master FTBFS with automake 1.11 o 594224 : Please fix manual about inlined SECTION comments (and show warnings when invalid) o 596730 : Signed vs. unsigned comparison in gtkdoc-scangobj.in causing compile errors o 596731 : autogen.sh doesn't recognize automake-1.11 o 602026 : Warn if non-existing function gets referenced o 602518 : Doesn't support " long int " return type o 604798 : tests/fail.sh and tests/tools.sh.in use bashisms Contributors Claude Paroz Dan Williams Daniel Mustieles Daniel Nylander H. Habighorst Jannis Pohlmann Javier Jardón Jennie Petoumenou Jorge González Mario Blättermann Nicola Fontana Philip Chimento Philip Withnall Simos Xenitellis Stefan Kost Sven Herzberg
2010-01-20PKGREVISION bump for rasqal shlib major change.wiz3-6/+6
2010-01-20Update to 0.9.17. Bump API depends.wiz4-13/+11
2009-12-16 Rasqal Version 0.9.17 Released WARNING: ABI AND API CHANGED in this release. Rasqal 0.9.17 is binary incompatible with 0.9.16 or earlier. Added a new query engine that implements the SPARQL algebra better All constructors now take a rasqal_world argument Added LAQRS syntax support for SUM, AVG, MIN, MAX, COALESCE() experimental syntax Added query result formatters for CSV, TSV and ASCII tables Prefer pkg-config for configuring Many resilience and resource failure fixes by Lauri Aalto Many other bug fixes and improvements were made Fixed Issues: Issue#0000077, Issue#0000128, Issue#0000168, Issue#0000258, Issue#0000261, Issue#0000271, Issue#0000279 and Issue#0000305
2010-01-18Second try at jpeg-8 recursive PKGREVISION bump.wiz8-16/+16
2010-01-17Update p5-YAML from version 0.71 to version 0.71nb1.seb1-2/+6
Pkgsrc changes: Set PERL5_MODULE_TYPE to Module::Install::Bundled so a circular dependency on involving devel/p5-Module-Build, textproc/p5-YAML and devel/p5-Module-Install is avoided.
2010-01-17Recursive PKGREVISION bump for jpeg update to 8.wiz13-19/+26
2010-01-17Bump PKGREVISION from tokyocabinet shlib bump.obache1-2/+2
2010-01-17Update json-glib to 0.10.0.obache3-13/+13
Overview of changes for 0.10.0 ============================== * Fix generation of doubles [Cornelius Hald] * Add more units to the test suite * Add JsonNode macros for quick type checking * Guarantee insertion order when parsing and generating JSON Objects * Serialize GParamSpecObject properties * Add serialization and deserialization for GBoxed types * Add API for serializing GObjects to, and deserializing from, JsonNode * Build environment fixes * Documentation fixes * Generate correct introspection data * Make JsonSerializable in complete control of deserialization [Tristan Van Berkom]
2010-01-17Updating textproc/p5-Text-FindIndent from 0.07 to 0.08sno2-6/+6
Upstream changes: 0.08 - Handle case where hash keys and values are indented by braces pos + 1 (CHORNY) - Check if indent level is same on next line and slightly increase probability of current indent type. Should be faster too. (CHORNY) - Add option 'first_level_indent_only' to check only indent where previous line is empty. (CHORNY)
2010-01-17Updating textproc/p5-Text-CSV from 1.15 to 1.16sno2-7/+7
Upstream changes: 1.16 Tue Dec 8 19:02:58 2009 - updated the compatibility for Text::CSV_XS version 0.70 * Added quote_space attribute * Forbad \r and \n in sep_char, quote_char, and escape_char
2010-01-17Updating textproc/p5-Text-CSV_XS from 0.69 to 0.70sno2-6/+6
Upstream changes: 2009-12-02 0.70 - H.Merijn Brand <h.m.brand@xs4all.nl> * Add quote_space attribute * Forbid \r and \n in sep_char, quote_char, and escape_char
2010-01-17Updating textproc/p5-YAML from 0.70 to 0.71sno2-6/+7
pkgsrc changes: - Adding module type Upstream changes: version: 0.71 date: Sun Jan 3 12:25:00 AEST 2010 changes: - Set file encoding to UTF-8 in LoadFile/DumpFile (RT#25434) by Olivier Mengue - We shouldn't have to care about 5.8.0. Since it's causing CPAN Testers failures, bump the minimum Perl to 5.8.1
2010-01-17Updating textproc/p5-Regexp-Common from 2.122nb1 to 2010010201sno2-7/+8
pkgsrc changes: - Adding license definition Upstream changes: Version 2010010201 Sat Jan 2 17:45:53 CET 2010 + Playing the CPANTS game + Adjustments for 5.005. + Add $VERSION to all submodules (RT #53250) Version 2009123001 Wed Dec 30 03:58:27 2009 +0100 + Added Changes file, removed them from README. + Remove CVS traces. + Modernize Makefile.PL + POD tests + Work around a Darwin 9.0 on 5.8.8 issue. (RT #43786) + Fix POD issues. (RT #34886) (RT #48974) + Fail faster on some URI subpatterns (RT #52309) + Added many people to the Acknowledgements section.
2010-01-17Updating textproc/p5-PPI-HTML from 1.07nb1 to 1.08sno2-9/+10
pkgsrc changes: - Adding license definition - Adjusting module type Upstream changes: 1.08 Mon 16 Nov 2009 - Correct spelling of "PPI::Statement::Compond" so that while, for, etc. work. - Add support for given/when/default.
2010-01-16Updating textproc/p5-podlators from 2.2.1 to 2.3.0sno2-7/+8
pkgsrc changes: - Adjusting dependencies according to META.yml - Adding license definition (perl license) Upstream changes: 2009-12-28 Russ Allbery <rra@stanford.edu> * VERSION: podlators 2.3.0 released. * Do not turn off IN_NAME for any formatting code. Suppress formatting if in the NAME section to not confuse lexgrog. * Test formatting codes in the NAME section. * Allow anchor text for URLs as well. Fix the check of the anchor text to not think no text was provided when the text was "0". * Test anchor text of "0" and anchor text with URLs. * Require Pod::Simple 3.06 or later for proper handling of L<> tags with anchor text. * Remove logic to skip an S<> test for Pod::Simple versions earlier than 3.06. * Support anchor text for L<> links of type URL by rendering the anchor text and then the URL in angle brackets. * Test rendering of L<> URL links with anchor text. * When formatting item tags, use the width of the tag without formatting codes. This does not change the output of Pod::Text but provides a hook for correct formatting in subclasses. * New function strip_format. * Test proper formatting of item tags which have formatting codes applied. * New test of Pod::Text::Overstrike. * Use Test::More for testing. Remove duplicate addition of ../blib/lib to the library search path. * Update to the current version of this test from C TAP Harness 1.1, converting it to use Test::More. 2009-06-15 Russ Allbery <rra@stanford.edu> * Unlink temporary files in a loop to be sure that all versions are deleted on VMS. Thanks, John E. Malmberg. 2009-03-29 Russ Allbery <rra@stanford.edu> * Escape backslashes in the quoted text of .IX macros generated from X<> formatting code. * Add test case for X<\n>. 2009-03-05 Russ Allbery <rra@stanford.edu> * Clarify that no markup should be used in the NAME section of a manual page. 2009-02-28 Russ Allbery <rra@stanford.edu> * Avoid POSIX::strftime because POSIX requires Fcntl, which is an XS module, and hence can't build in miniperl. This allows ExtUtils::MakeMaker to build as a normal module in Perl core. Thanks, Michael G Schwern. * Test that Pod::Man's devise_date method matches the output of strftime. * Don't exit IN_NAME mode because of a C<> block. Thanks, Niko Tyni. * Return an ASCII quoted string if in the NAME section to avoid confusing lexgrog. Thanks, Niko Tyni. * Test C<> in the NAME section. 2009-01-17 Russ Allbery <rra@stanford.edu> * VERSION: podlators 2.2.2 released. * New file testing Pod::Man options for changing the .TH line of the generated man page. * Correctly handle indentation of verbatim paragraphs that contain lines with only whitespace. Thanks, Renee Baecker. * Test for this fix.
2010-01-16Updating textproc/p5-Pod-Simple from 3.11 to 3.13sno2-6/+6
Upstream changes: 2009-12-17 Release 3.13 - David E. Wheeler <david@justatheory.org> Removed deleted test file from MANIFEST. 2009-12-17 Release 3.12 - David E. Wheeler <david@justatheory.org> Removed "All rights reserved" from all files. Added acknowledgements to man.he.net and search.cpan.org for permission to link man pages and Perl module links to their sites in the output of Pod::Simple::HTML and Pod::Simple::XHTML. Add "html_h_level" option to Pod::Simple::XHTML and ::HTML to allow a =head1 to become an <h2> and so on. RJBS. Add batch_mode_page_object_init() method to Pod::Simple::XHTML. This allows it to be used by Pod::Simple::HTMLBatch. Fixed a regression in Pod::Simple::XHTML where '=begin html' blocks were incorrectly escaped rather than simply passed through unmolested. RJBS. Removed the undocumented "fullstop_space_harden" attribute, which apparently was only used by Pod::Text a very long time ago.
2010-01-16Added LICENSE.heinz4-4/+8
2010-01-16Move SUBDIR addition for recent Padre and Padre plugin imports from ↵sno1-10/+1
textproc/Makefile to editors/Makefile
2010-01-16Set or updated LICENSEheinz1-1/+2
2010-01-16Adding SUBDIR for recent Padre and Padre plugin importssno1-1/+10
2010-01-16Update to 2.0:wiz2-6/+6
New in 2.0 - Update the algorithm and data according to UAX #14-24 and LineBreak-5.2.0.txt - Rename some functions to reduce namespace pollution - Make Doxygen documentation better
2010-01-16Adjusting dependenciessno1-3/+3
2010-01-16Adding SUBDIR for recently added p5-Pod-Abstract, p5-Template-Tiny,sno1-1/+5
p5-Text-FindIndent and p5-Syntax-Highlight-Engine-Kate
2010-01-16Importing textproc/p5-Syntax-Highlight-Engine-Kate v0.06 as dependencysno3-0/+36
of upcoming import of Padre::Plugin::Kate. Syntax::Highlight::Engine::Kate is a port to perl of the syntax highlight engine of the Kate text editor. The language xml files of kate have been rewritten to perl modules using a script. These modules function as plugins to this module.
2010-01-16Importing textproc/p5-Text-FindIndent version 0.07 as dependency of Padre.sno3-0/+29
This is a module that attempts to intuit the underlying indent "policy" for a text file (most likely a source code file).
2010-01-16Importing textproc/p5-Template-Tiny 0.09 as dependency of scheduled Padresno3-0/+37
import. Template::Tiny is a reimplementation of a partial subset of the Template Toolkit, in as few lines of code as possible. It is intended for use in light-usage, low-memory, or low-cpu templating situations, where you may need to upgrade to the full feature set in the future, or if you want the familiarity of TT-style templates. It is intended to have fully-compatible template and stash usage, with a limited by similar Perl API. Unlike Template Toolkit, Template::Tiny will process templates without a compile phase (but despite this is still quicker, owing to heavy use of the Perl regular expression engine.
2010-01-16Importing textproc/p5-Pod-Abstract as dependency of upcoming Padresno3-0/+52
import. POD::Abstract provides a means to load a POD (or POD compatible) document without direct reference to it's syntax, and perform manipulations on the abstract syntax tree. This can be used to support additional features for POD, to format output, to compile into alternative formats, etc. WHY? ==== If you've ever asked yourself "What does Pod do for me?", this module is intended to answer that question. While Pod looks like a simple format, the specification calls for a number of special cases to be handled, and that makes any software that works on Pod as text more complex than it needs to be. In addition to this, Pod does not lend itself to a natural structured model. This makes it difficult to manipulate without damaging the validity of the document. Pod::Abstract solves these problems by loading the document into a structured tree, and providing consistent traversal, searching, manpulation and re-serialisation. Pod related utilities are easy to write using Pod::Abstract.
2010-01-16Update makeindexk to the version in TeX Live 2009.minskim3-35/+13
The version number remains the same, but bump PKGREIVISION as precaution.
2010-01-11Not MAKE_JOBS_SAFE.joerg1-1/+2
2010-01-09Add patch-ac to avoid conflict with getline(3) defined in IEEE Std 1003.1-2008.obache2-1/+32
PR#42595.
2010-01-08Not for 64bit platforms: pointer casts.joerg1-1/+4
2010-01-08Fix installation. Add DESTDIR support.joerg1-5/+8
2010-01-02Fix PLIST. *blush*joerg2-2/+6
2010-01-01Recognize 2010, bump version to 1.4.wiz2-5/+5
2009-12-31add files (stupidly) missed in last updateabs2-0/+29
2009-12-30Updated textproc/dict-client to 1.11.2 - also part of PR pkg/33227abs1-17/+12
2009-10-04 Aleksey Cheusov <vle@gmx.net> * NEWS, configure.in: Version -> 1.11.2 NEWS update 2009-09-21 Aleksey Cheusov <vle@gmx.net> * test/dictd_test.in: update for regression tests for some type of sort(1) commands * test/db.expect.testdb_utf8.dict, test/db.expect.testdb_utf8.index: oops, I forgot to commit it 2009-09-20 Aleksey Cheusov <vle@gmx.net> * test/db.expect.smiley_1.index, test/db.expect.smiley_2.index, test/db.expect.smiley_3.index, test/db.expect.smiley_4.index, test/db.expect.smiley_5.index, test/dictd_smiley_2_res.expected.txt, test/dictd_smiley_4_res.expected.txt, test/dictd_smiley_5_res.expected.txt: updates for regression tests (sort -k1,1) * test/dictd_test.in: fix for building from outside OBJDIR 2009-09-19 Aleksey Cheusov <vle@gmx.net> * dictfmt.c: dictfmt spawns sort command to sort the index. When there are several entries for the same headword, they get sorted BY OFFSET AND SIZE (in addition to headwords), which don't sort alphabetically. As a result, the order of identical headwords is messed up. To fix these problem -k1,3 option is replaced with -k1,1. Thanks to Goran Tal for pointing out. * test/db.expect.cyrillic_1.index, test/db.expect.dict, test/db.expect.index, test/dictd_cyrillic_1_res.expected.txt, test/dictd_defstrat_1_res.expected.txt, test/dictd_test.in, test/testdb.c5.txt, test/testdb.e.txt, test/testdb.f.txt, test/testdb.h.txt, test/testdb.j.txt, test/testdb.p.txt, TODO, dictfmt.c: dictfmt: superfluous spaces are removed not only from the beginng and the end of a headword but also inside a multiword headwords. Thank to Goran Tal for pointing out. * dictfmt.1.in: FIX: s/--index-keep-headword/--index-keep-orig/ * test/dictd_cyrillic_3_res.expected.txt, test/dictd_defstrat_1_res.expected.txt, test/dictd_defstrat_2_res.expected.txt, test/dictd_indexdata_1_res.expected.txt, test/dictd_limits_1_res.expected.txt, test/dictd_mixedcase_1_res.expected.txt, test/dictd_test.in: all test files are CR NL, just like dict protocol is * test/dictd_cyrillic_3_res.expected.txt, test/input.cyrillic_3.txt, index.c: FIX: When search is handled by dict_search_bmh() function, the first character from the first entry in the index file is missing. Usually this is some of 00-database-* entries. Thanks to Goran Tal for a bug report and patch. Add regression test for this case. * test/dictd_test.in: minor reorganization 2009-03-01 Aleksey Cheusov <vle@gmx.net> * configure.in: version -> 1.11.1 * NEWS: Notes about upcoming release 1.11.1 * INSTALL: updated for latest changes * Makefile.in: release unnecessary rule for dictd 2009-02-21 Aleksey Cheusov <vle@gmx.net> * configure.in, Makefile.in: LIBMAA variable added to Makefile, imported from ./configure 2009-01-31 Aleksey Cheusov <vle@gmx.net> * dictl.in: code clean-ups, significant simplification 2009-01-04 Aleksey Cheusov <vle@gmx.net> * dictfmt.c: FIXED: 'dictfmt -I' never worked (regrettable oversight, heh) Found and reported by Goran Tal <goran.tal@gmail.com> * daemon.c: SHOW STRAT: s/databases present/strategies present/ Found and reported by Goran Tal <goran.tal@gmail.com> 2008-12-29 Aleksey Cheusov <vle@gmx.net> * Makefile.in: fix in uninstall target * configure.in: further clean-ups * Makefile.in, configure.in, dictP.h: remove checks for presense of memcpy and memmove. I don't care about platforms that do have them. I think all they are already dead. I you know such platforms, let me know Further clean-ups in configure.in and Makefile.in * configure.in, dictP.h: Further clean-ups. Remove checks for presense of unistd.h * Makefile.in, configure.in: (Clean-ups) Remove --with-local-libmaa, build libmaa before dictd/dict/... manually. This removes lots of garbage from configure.in and Makefile.in * configure.in: Enable additional gcc warnings on all platforms unconditionally. I need them under NetBSD * Makefile.in, configure.in: "building and installing different set of things based on configure results considered harmfull"(C)me :-) Plugins support in dictd is enabled by default (if available). DBI and JUDY plugins are disabled by default. This fixes sf.net bug #2218879 * configure.in, include_regex.h.in, index.c: (Clean-ups) Ages ago, I've add to "configure" script an option --with-regex-include to make possible to build dictd with PCRE. Now, I've removed this option. If you want to build dictd with with PCRE, ask PCRE developers to install pcre/regex.h file linked to pcreposix.h. All other regexp libraries compatible with POSIX API do the same, rx/regex.h, rxspencer/regex.h etc. etc. So, this is good and well known convension. * Makefile.in: * configure.in: minor clean-ups * test/db.expect.hello_1.dict, test/db.expect.hello_2.dict, test/db.expect.hello_3.dict, test/db.expect.hello_4.dict, test/db.expect.hello_5.dict, test/db.expect.hello_5.index, test/db.expect.indexdata_1.dict, test/db.expect.mixedcase_1.dict, test/db.expect.smiley_1.dict, test/db.expect.smiley_2.dict, test/db.expect.smiley_3.dict, test/db.expect.smiley_4.dict, test/db.expect.smiley_5.dict, test/dictd_cyrillic_1_res.expected.txt, test/dictd_hello_1_res.expected.txt, test/dictd_hello_2_res.expected.txt, test/dictd_hello_3_res.expected.txt, test/dictd_hello_4_res.expected.txt, test/dictd_hello_5_res.expected.txt, test/dictd_smiley_2_res.expected.txt, test/dictd_smiley_4_res.expected.txt, test/dictd_smiley_5_res.expected.txt, test/db.expect.cyrillic_1.dict, test/db.expect.dict, dictfmt.c: fixed: sf.net bug #2197588 by Peter Volkov Now, all alphabet character from 00-database-alphabet special entry is resorted lexicographically and doesn;t depend on internal libmaa's function and sizeof(long) 2008-12-24 Aleksey Cheusov <vle@gmx.net> * dictl.in: Now dictl can use an external program for charset2charset conversion. Set DICTL_USE variable for this. I think this fixes sf.net bug #2407725 * Makefile.in: clean-ups: DICT_DIR and CONF_DIR have no / at the end (like PLUGIN_DIR) * Makefile.in: fix for sf.net bug #2218879 (/ at the end of PLUGIN_DIR) * dictd.8.in: fixed: sf.net bug #2407717 * Makefile.in: no Makefile.conf * Makefile.in: libmaa is not a part of dictd tarball * NEWS: tyop * NEWS: notes about release 1.11.0 * Makefile.in: better ChangeLog * exclude_libmaa_logs: script for postprocessing rcs2log output * configure.in: "libmaa not found" error message * libmaa/maa.h, libmaa/maaP.h, Makefile.in: no $Id$ - I dislike it * Makefile.in: removed: -ldl from building dbi plugin * clientparse.y, clientscan.l, codes.h, daemon.c, data.c, dict.1.in, dict.h, dictP.h, dictd.8.in, dictd.c, dictd.h, dictfmt.c, dictzip.1.in, dictzip.c, dictzip.h, index.c, net.c, net.h, parse.c, parse.h, servparse.y, servscan.l: 'Revised ...by ...' lines removed from sources, cvs know better when files were revised last time. my copyleft * Makefile.in: 'dist' target renamed to 'cvsdist' minor fixes in clean/distclean/cvsclean targets * configure.in: version -> 1.11.0 * daemon.c, data.c, dictP.h, dictd.c, dictdplugin_dbi.c, dictfmt.c, dictzip.c, index.c, lev.h, parse.c: fixed: gcc warnings, "unused variable" etc. 2008-11-15 Aleksey Cheusov <vle@gmx.net> * dict.c: fixed: gcc compilation warning * configure.in: Do not override CFLAGS set in environment. Never! * dictfmt_index2suffix.in: \001 -> \1 inside regexp. It seems it is better excepted by different awk/regexp_engines. (heirloom posix2001/awk and libuxre) * Makefile.in: fixes in "clean" target * test/dictd_test.in: fixed: ln -f -s ./file file This is fatal on Interix * configure.in, dictP.h: fix for Interix 3.5, socklen_t is defined in it * configure.in, dictP.h: fix for platforms having no getopt_long(3) (Solaris, HP-UX, Interix etc.) happens if --without-local-libmaa option is applied. * configure.in: checks for zlib.h iwhile configuring * configure.in: fix for previous commits * configure.in: REMOVED: --with-cflags, --with-prog, --with-gprof, --with-checker, --with-efence, --with-insure and --with-purify Use CFLAGS, LDFLAGS, CC etc. environment variables instead * configure.in: removed: home-made --with-cc. Use CC environment variable instead * configure.in: I hate $Id$, Grrr * configure.in: By default dictd is built with external libmaa library (if found). If it is not found, error message is output that suggests to apply --with-local-libmaa option. 2008-08-30 Aleksey Cheusov <vle@gmx.net> * dictfmt_index2suffix.in: GNU awk is not needed. * configure.in: previous commit reverted * configure.in: removed: $Revision: ...$ * examples/dictd_popen.conf, examples/dictd_popen.conf.in, configure.in: fixed: sf.net bug #1627458 * Makefile.in: rm ====> libtool --mode=uninstall * dictd.c: fixed: sf.net bug #1941358 2008-06-02 Aleksey Cheusov <vle@gmx.net> * Makefile.in: dictfmt_index2suffix/dictfmt_index2word are installed from ./ * configure.in, dictfmt_index2suffix, dictfmt_index2suffix.in, dictfmt_index2word, dictfmt_index2word.in, test/dictd_test.in: dictfmt_index2suffix and dictfmt_index2word are generated from *.in * test/dictd_test.in: renamings * test/dictd_test.in: cyrillic_4 regression test restored * Makefile.in: rm -> rm -f in distclean target * Makefile.in, configure.in, test/dictd_test.in: 'make test' now works fine from obj directory too cyrillic_4 test is temporarily disabled 2008-05-29 Aleksey Cheusov <vle@gmx.net> * Makefile.in: fix for dictd_test * Makefile.in: ./dictd_test -> $(srcdir)/dictd_test * examples/dictd_popen.conf, INSTALL, Makefile.in: fixes for sf.net bug #1627458 * Makefile.in: date -> touch 2008-04-06 Aleksey Cheusov <vle@gmx.net> * NEWS, configure.in: version -> 1.10.11 NEWS: Release notes * configure.in, daemon.c, dictdplugin_judy.c, dictfmt.c, index.c, iswalnum.c, iswspace.c, lev.h, plugin.c, plugins_common.c, strategy.c, strategy.h: fixed: lot of warning messages produced by icc-10 (Intel C Compiler) 2008-02-09 Aleksey Cheusov <vle@gmx.net> * dictd.c: timestamp message in log marker (log_option "timestamp") is changed to :t: from :T: because :T: begins client's full command (log_option "command") 2008-02-08 Aleksey Cheusov <vle@gmx.net> * colorit.in: bashism fixed: echo -en -> more portable printf 2008-01-31 Aleksey Cheusov <vle@gmx.net> * dict.c: ADDED: -F|--flush option for flushing stdout after each definition/match. It is useful in combination with -f 'XXX definitions found' is printed with -f (revert previous changes) * dict.c, dictzip.c: copyright * dictfmt.c: FIXED: maximum length of headwords are limited to hardcoded constant just by cutting the end of headword. Now internal arrays are realloced automatically. * INSTALL: spelling error fixed * Makefile.in: -I. before -I${srcdir} 2008-01-27 Aleksey Cheusov <vle@gmx.net> * index.c: FIXED: while processing MATCH command unicity of only first column of .index is checked, but fourth column (if present) should also be checked. 2008-01-22 Aleksey Cheusov <vle@gmx.net> * dictP.h, dictd.c: FIXED: failure on Linux if --disable-plugin option is specified. Now USE_PLUGIN macros is checks correctly. 2008-01-20 Aleksey Cheusov <vle@gmx.net> * wcrtomb.c: fixed: warning generated by NetBSD/Alpha/GCC 2008-01-19 Aleksey Cheusov <vle@gmx.net> * configure.in, Makefile.in: CXX is detected using autoconf detection of AR/RANLIB is removed, they are not used directly libtool is run with --tag=CC and --tag=CXX for compiling C and C++ code C++ compiler cpp preprocessor are now detected using autoconf presence of fileno function is detected using autoconf removed: checking for command ar, not used directly * dict.c: removed: c99/c++ style comment markers * dictfmt.c, index.c, index.h, lev.h, wcrtomb.c: removed: c99/c++ style of comment markers * strategy.c: fixed: gcc warning 2008-01-12 Aleksey Cheusov <vle@gmx.net> * Makefile.in: 'gmake install' now works fine even if dictd was configure from the external "object"(any!!!) directory. Some other autobloat-based projects can do the same. * Makefile.in: FIX: now dictd can be fully built from external "object" (any!) directory just like many other autobloat-based projects can That is, the following works fine now cd obj-dir /dir/to/dictd --with-libmaa gmake gmake install * configure.in: date ---> touch 2008-01-11 Aleksey Cheusov <vle@gmx.net> * clientscan.l, servscan.l: __FUNCTION__ -> __func__ Now dictd is fully ready to compiled with pcc, tested under NetBSD * daemon.c: fix for pcc * dictd.c: fixed: pcc warning * daemon3.c, data.c, dict.c, dictd.c, dictzip.c, index.c, lev.h, libmaa/arg.c, libmaa/base26.c, libmaa/base64.c, libmaa/bit.c, libmaa/debug.c, libmaa/flags.c, libmaa/hash.c, libmaa/list.c, libmaa/log.c, libmaa/memory.c, libmaa/pr.c, libmaa/rnd.c, libmaa/set.c, libmaa/sl.c, libmaa/source.c, libmaa/string.c, libmaa/timer.c, libmaa/xmalloc.c, net.c, parse.c, plugin.c, snprintf.c, vsnprintf.c: Not standard __FUNCTION__ macros is changed to __func__ All these changed sources can now be compiled with PCC (under NetBSD) PCC - Portable C Compiler * configure.in: inttypes.h header is checked * dictfmt.c: fixed: pcc warnings, __FUNCTION__ -> __func__ * daemon.c: fixed: pcc warning * dictP.h: a few comments added 2007-12-26 Aleksey Cheusov <vle@gmx.net> * dictdplugin_popen.cpp: fixed: missed header file, seen with gcc-4.3. thanks to Martin Michlmayr for report 2007-11-10 Aleksey Cheusov <vle@gmx.net> * Makefile.conf: no autoreconf * NEWS: notes about release 1.10.10 * configure.in: FIXED: ooooooold bug. configure script was run twice for libmaa version bumped to 1.10.10 * dictl.in: fix for NetBSD where locale -k shows nothing 2007-10-10 Aleksey Cheusov <vle@gmx.net> * Makefile.in: minor fix in "clean" target 2007-09-29 Aleksey Cheusov <vle@gmx.net> * clientparse.y, clientscan.l, colorit.in, dict.1.in, dict.c, dict.h, dictl.1.in, dictl.in: DICT, DICTL and COLORIT programs DO NOT support option --pager|-P anymore. The code supporting this is removed. '-P -' is still allowed to not break the scripts. "Pager" functionality should be easily be implemented by users. See the following shell function. mydict () { dict "$@" 2>&1 | colorit | less; } Add it to you .profile (or whatever). I appologize for breaking backward compatibilities. * Makefile.in: minor fix in *clean targets * dictfmt.c: copyright 2007-07-27 Aleksey Cheusov <vle@gmx.net> * iswalnum.c: fix for utf-8 symbols other than BMP 2007-06-18 Aleksey Cheusov <vle@gmx.net> * test/dictd_test.in: fixed: dictfmt is not found 2007-05-29 Aleksey Cheusov <vle@gmx.net> * dictfmt_index2suffix: mawk sucks * test/testdb.cyrillic_1.conf, test/testdb.cyrillic_2.conf, test/testdb.cyrillic_4.conf, test/testdb.defstrat_1.conf, test/testdb.defstrat_2.conf, test/testdb.hello_1.conf, test/testdb.hello_2.conf, test/testdb.hello_3.conf, test/testdb.hello_4.conf, test/testdb.hello_5.conf, test/testdb.indexdata_1.conf, test/testdb.limits_1.conf, test/testdb.mixedcase_1.conf, test/testdb.smiley_1.conf, test/testdb.smiley_2.conf, test/testdb.smiley_3.conf, test/testdb.smiley_4.conf, test/testdb.smiley_5.conf: no limits in most tests * dictdplugin_dbi.c, dictdplugin_judy.c: compilation fixes * NEWS, configure.in: 1.10.9 release * daemon.c, dictd.8.in: limit_queries=0 means no limit * NEWS: notes about fix with getopt_long argument * NEWS: minor fixes * NEWS: notes about "limit_childs" keyword * defs.h, dictd.8.in, dictd.c, dictd.h, servparse.y, servscan.l: option/variable/macro renamings: limit -> 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 <vle@gmx.net> * test/dictd_cyrillic_3_res.expected.txt: forgot to commit it * test/dictd_test.in, test/input.cyrillic_3.txt, test/testdb.cyrillic_2.conf, test/testdb.cyrillic_4.conf, configure.in: new self tests minor clean-ups * dictd.8.in, index.c, strategy.c, strategy.h: ADDED: Two new search strategies, 'first' and 'last'. See dictd.8 for the information. * dictd.c: I like empty lines to better separate code into sections ;-) * dictfmt_index2suffix, dictfmt_index2word: rewritten. Now they use dictfmt -i/-I for sorting fixes clean-ups * dictfmt.c: fix with -i and -I * dict.c: -f sends error messages like 'No matches...', 'No definitions...', 'Invalid strategy...' etc. to stderr, not to the pager. 2007-05-27 Aleksey Cheusov <vle@gmx.net> * test/dictd_test.in, test/testdb.cyrillic_2.conf: commented test for dictfmt_index2word * dictfmt_index2word: fixes * dictfmt.c: -i and -I options fully support 4-column input * index.c: removed: unnecessary code for --test-xxx 2007-05-24 Aleksey Cheusov <vle@gmx.net> * dictfmt_index2word: almost completely rewriten * dictfmt.1.in, dictfmt.c: -i and -I have the following format: dictfmt -i|-I [options] * dictfmt.1.in, dictfmt.c: -i and -I twins are now fully implemented and documented. See dictfmt(1) form documentation * test/dictd_test.in: clean-ups * test/dictd_test.in: nothing * test/dictd_cyrillic_1_res.expected.txt, test/dictd_defstrat_2_res.expected.txt, test/dictd_hello_1_res.expected.txt, test/dictd_hello_2_res.expected.txt, test/dictd_hello_3_res.expected.txt, test/dictd_hello_4_res.expected.txt, test/dictd_hello_5_res.expected.txt, test/dictd_smiley_2_res.expected.txt, test/dictd_smiley_4_res.expected.txt, test/dictd_smiley_5_res.expected.txt, test/dictd_test.in: fixed: <CR> 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 <vle@gmx.net> * dictd.h, index.c, servparse.y, servscan.l, defs.h, dictd.8.in, dictd.c: ADDED: new keywords in "global" section. limit_matches and limit_defintions See dictd.8 for information * dictd.8.in: removed: docs about --test-* options * index.c: code clean-ups, added: dict_add_word_to_list function * dict.c, dictd.c, dictzip.c: I don't like $ in the code * dictd.c: copyright * dictd.c: The following option are removed: -t --test <word> --test-file <file> --ftest <file> --test-strategy <strategy> --test-db <database> --test-match --test-nooutput --test-idle --test-show-info <database> 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 <vle@gmx.net> * daemon.c, dictd.8.in, dictd.c, dictd.h, servparse.y, servscan.l: ADDED: site_no_banner, site_no_uptime, site_no_dblist keyword to the configuration file ("global" options section). See dictd.8 for more information. * daemon.c, defs.h, dictd.8.in, dictd.c, dictd.h, examples/dictd4.conf, servparse.y: 'site' keyword has ben moved to 'global' ection of configuration file 'site' section is deprecated now, but is still supported, error messages is logged if it used. Documentation and examples/ are up-to-date 2007-05-19 Aleksey Cheusov <vle@gmx.net> * dict.1.in: documentation for an option -f * dict.c: -m support -f too. Matches have the following format <host><TAB><port><TAB><db><TAB><match> -D, -S, -I, -H, -i and similar also support -f (formatted output) 2007-05-13 Aleksey Cheusov <vle@gmx.net> * dict.c: new option -f partially implemented 2007-05-12 Aleksey Cheusov <vle@gmx.net> * dictunformat.in: Recently 4-column .index entries were introduced. Now dictunformat is ready for this kind of dictionaries and produces correct output. * test/dictd_test.in, dictfmt.1.in, dictfmt.c, dictunformat.in: added: dictfmt --without-ver option. See dictfmt.1 for more information * dictfmt.1.in: some docs for 00-database-mime-header entry minor fixes and changes * dictfmt.1.in: documentation for --case-sensitive option * dictfmt.1.in: documentation for --index-data-separator option * test/db.expect.indexdata_1.index, test/dictd_test.in, test/testdb.indexdata.txt: more complex test * dictfmt.c, test/db.expect.indexdata_1.dict, test/db.expect.indexdata_1.index, test/dictd_indexdata_1_res.expected.txt, test/dictd_test.in, test/input.indexdata_1.txt, test/testdb.indexdata.txt, test/testdb.indexdata_1.conf: added: tests --index-data-separator and --index-keep-orig dictfmt options and appropriate dictd search * dictfmt.c: ADDED: --dictfmt --index-data-separator option that allows to set index and data parts of the headword in .index file (first and fourth columns respectively) completely independantly. That is, the first column in .index file can now be treated as an index and an optional fourth columns - as a data, all this for MATCH protocol command. * codes.h, daemon.c, data.c, data.h, defs.h, dict.c, dict.h, dictP.h, dictd.c, dictdplugin_dbi.c, dictdplugin_judy.c, dictzip.c, heap.c, heap.h, index.c, index.h, lev.h, md5.c, net.c, net.h, parse.c, parse.h, plugin.c, plugin.h, plugins_common.c, plugins_common.h, servparse.y, servscan.l, str.c, str.h, strategy.c, strategy.h, clientparse.y, clientscan.l: removed: $Id$, I don't like it * dictfmt.c: no $Id$ * dictfmt.c: code clean-ups * dictunformat.in: 00-database-case-sensitive headword is also not output * defs.h, dictd.c, dictfmt.c, index.c, index.h, str.c, str.h, test/db.expect.mixedcase_1.dict, test/db.expect.mixedcase_1.index, test/dictd_mixedcase_1_res.expected.txt, test/dictd_test.in, test/input.mixedcase_1.txt, test/testdb.mixedcase.txt, test/testdb.mixedcase_1.conf: ADDED: support for case sensitive search. For this, database should be created using dictfmt --case-sensitive. In this case 00-database-case-sensitive headword is created which is checked by dictd 2007-05-06 Aleksey Cheusov <vle@gmx.net> * data.c, index.c, net.c: fixed: gcc4/NetBSD warning messages 2007-03-10 Aleksey Cheusov <vle@gmx.net> * Makefile.in: fix: tab should begin the first line of action, not spaces 2006-12-13 Aleksey Cheusov <vle@gmx.net> * NEWS: release notes for dictd-1.10.8 * dictd.8.in: added: info about --stdin2stdout * configure.in: br * configure.in: no messages about flex/bison and GNU archive site * test/dictd_test, test/dictd_test.in, configure.in, dictunformat, dictunformat.in: fixes for Solaris: - awk version defaults to that detected by ./configure - fix for idiotic Solaris shell * Makefile.in, configure.in: libmaa: 0.990 -> 1.0; dict: 1.10.7 -> 1.10.8 2006-12-12 Aleksey Cheusov <vle@gmx.net> * dictd.c: added fcntl.h for open(2) * dictd.c: only 012 descriptors are closed and reopened while daemon(3)-izing 2006-12-11 Aleksey Cheusov <vle@gmx.net> * Makefile.in: fixes in install/uninstall targets * dictvd: del * Makefile.in, configure.in: fixes related to libtools and building xxxxFLAGS * Makefile.in: added: -lz * Makefile.in: libtool needs .lo, not .o * configure.in: no local zlib/regex/dmalloc anymore * configure.in: only CFLAGS, CPPFLAGS and LDFLAGS... * Makefile.in, configure.in: removed: WCFLAGS SCFLAGS XTRACFLAGS WLDFLAGS XTRALDFLAGS XTRAHEADERS Use CPPFLAGS, CFLAGS and LDFLAGS only! * index.c: altcompare removed malloc_count_while_searching -= 1 * Makefile.in: -static removed from libtool arguments Makefile.in plugins are linked with LIBOBJS * Makefile.in: libtool-ization * configure.in: fixed: lex/yacc presense checking (non-portable "which /path/to/exe local_libmaa=0 by default 2006-12-09 Aleksey Cheusov <vle@gmx.net> * colorit.in: gensub(,...1) -> gsub() 2006-11-25 Aleksey Cheusov <vle@gmx.net> * index.c: fix for match nprefix/match exact/define * test/dictd_cyrillic_1_res.expected.txt, test/dictd_hello_1_res.expected.txt, test/dictd_hello_2_res.expected.txt, test/dictd_hello_3_res.expected.txt, test/dictd_hello_4_res.expected.txt, test/dictd_hello_5_res.expected.txt, test/dictd_smiley_2_res.expected.txt, test/dictd_smiley_4_res.expected.txt, test/dictd_smiley_5_res.expected.txt, test/dictd_test: to make a debug easier command itself is also logged * test/dictd_test: new temporary file * daemon.c, dictd.c, dictd.h: added: --stdin2stdout option for debugging purposes (in addition to -i) 2006-11-19 Aleksey Cheusov <vle@gmx.net> * dictd.8.in: Unknowledges section removed because neyther regex/ nor zlib/ are a part dictd distribution anymore Other minor clean-ups 2006-11-10 Aleksey Cheusov <vle@gmx.net> * test/dictd_test: better message is output in case of test failure 2006-09-19 Aleksey Cheusov <vle@gmx.net> * index.c: alcompare() function is implemented. Side effect: sf.net bug #1554437 is fixed. Side effect: for some sort of .index files MATCH command should work faster. TODO: remove malloc/free from altcompare. 2006-07-16 Aleksey Cheusov <vle@gmx.net> * NEWS, configure.in: updates for dictd-1.10.7 a few fixed typos in NEWS 2006-07-14 Aleksey Cheusov <vle@gmx.net> * dictd.c: FIXED: nmap utility of just a client that aborts connection for any reason can cause dictd server to exit with error on NetBSD and probably other OSes. This is because accept(2) returns ECONNABORTED which is treated as a uncritical error on Linux-only and as a critical error on all other OSes. Affected versions: 1.4.9-1.10.6 2006-07-13 Aleksey Cheusov <vle@gmx.net> * dictd.c: fixed: `cat /var/run/dictd.pid` != pidof (dictd). Writing pid should happen after daemon(3) 2006-07-03 Aleksey Cheusov <vle@gmx.net> * 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 <vle@gmx.net> * test/dictd_test: nothing * test/dictd_cyrillic_1_res.expected.txt, test/dictd_test: Not only 'exact' search strategy is tested now. * index.c: fixed: 'word' strategy works incorrectly on OpenBSD and probably others because of incorrect isspacepuncttab array initizlization. * test/dictd_cyrillic_1_res.expected.txt, test/dictd_test: all search strategies are tested * test/dictd_cyrillic_1_res.expected.txt, test/dictd_hello_1_res.expected.txt, test/dictd_hello_2_res.expected.txt, test/dictd_hello_3_res.expected.txt, test/dictd_hello_4_res.expected.txt, test/dictd_hello_5_res.expected.txt, test/dictd_smiley_2_res.expected.txt, test/dictd_smiley_4_res.expected.txt, test/dictd_smiley_5_res.expected.txt, test/dictd_test: minor fixes 2006-06-22 Aleksey Cheusov <vle@gmx.net> * test/db.expect.cyrillic_1.dict, test/db.expect.cyrillic_1.index, test/dictd_cyrillic_1_res.expected.txt, test/dictd_hello_1_res.expected.txt, test/dictd_hello_2_res.expected.txt, test/dictd_hello_3_res.expected.txt, test/dictd_hello_4_res.expected.txt, test/dictd_hello_5_res.expected.txt, test/dictd_smiley_2_res.expected.txt, test/dictd_smiley_4_res.expected.txt, test/dictd_smiley_5_res.expected.txt, test/dictd_test, test/testdb.cyrillic.txt, test/testdb.cyrillic_1.conf: a few new tests, fixes, improvements * test/dictd_smiley_1_res.expected.txt, test/dictd_smiley_3_res.expected.txt, test/dictd_test: removed: too big files from testing 2006-05-27 Aleksey Cheusov <vle@gmx.net> * dictd.c, dictfmt.1.in, dictfmt.c, dictunformat, index.c, libmaa/base64.c, libmaa/maa.h: added: b64_decode_buf function to libmaa library index.c:dict_word_create: minor speed-ups, avoided use of malloc() dictfmt --index-keep-orig create (if necessary) fourth column in .index file that keeps original headword which is returned by MATCH command. See dictfmt.1 for details. dictd: If opening a pid file of log file failed, error messages are printed to stderr. 2006-05-26 Aleksey Cheusov <vle@gmx.net> * Makefile.in: make --> $(MAKE) * NEWS, configure.in: version --> 1.10.5 2006-05-19 Aleksey Cheusov <vle@gmx.net> * daemon3.c: new #includes added 2006-05-13 Aleksey Cheusov <vle@gmx.net> * daemon.c: FIXED: In case database_exit directive is used in dictd.conf SHOW DB command returns incorrect number of databases available. Afected versions: 1.10.2 -- 1.10.4 2006-05-06 Aleksey Cheusov <vle@gmx.net> * configure.in, daemon3.c, dictP.h, dictd.c, net.c: When available, system-wide daemon(3) function is used for becoming a daemon. 2006-04-15 Aleksey Cheusov <vle@gmx.net> * dictd.c: In dictd-1.9.14 dictd creates log file being root and than releases root priviledges. This was bad idea because log file may have % sign and may be used as a pattern for log files. Now older behaviour is restored, i.e. log file is created after releasing root priviledges. If you want to create log file under /var/log directory, create /var/log/dictd with appropriate permissions and create log files there. I apologize for inconvenience and breaking backward compatibility. * NEWS: typo fixed 2006-04-09 Aleksey Cheusov <vle@gmx.net> * libmaa/maaP.h, dictP.h: removed obsolete code 2006-04-08 Aleksey Cheusov <vle@gmx.net> * libmaa/Makefile.in, libmaa/decl.h, libmaa/maaP.h, libmaa/memtest.c, decl.h, deps, dictP.h, dictunformat: decl.h files seem obsolete to me. They cause problrems, do not help. 2005-12-12 Aleksey Cheusov <vle@gmx.net> * NEWS: new notes * NEWS: typo fixed * NEWS, configure.in, dictd.c, net.c: FIX: pid file was created with 0666 permissions * dictd.c: minor fixes by Kirk Hilliard 2005-12-08 Aleksey Cheusov <vle@gmx.net> * NEWS: Notes about regex/ and zlib/ * configure.in, dictd.conf, examples/dictd1.conf: Version: 1.10.2 ---> 1.10.3 Another example config file has been moved to examples/ * NEWS: Notes about 1.10.3 release * config.guess, config.sub: updated 2005-12-06 Aleksey Cheusov <vle@gmx.net> * examples/dictd_complex.conf: fixes for m4 shipped with *BSD and Solaris that expands "index" to -1 even if it is used without arguments. * examples/dictd4.conf, examples/dictd_virtual.conf: minor fixes 2005-12-05 Aleksey Cheusov <vle@gmx.net> * dict.c: fixed: compilation bugs (conformance to ANSI C) * dictP.h, libmaa/maaP.h: fixed: compilation bugs because of alloca 2005-12-03 Aleksey Cheusov <vle@gmx.net> * dictd.8.in, example.conf, example.dictrc, example.site, example2.conf, example3.conf, example_complex.conf, example_mime.conf, example_plugin_dbi.conf, example_popen.conf, example_virtual.conf, examples/dictd4.conf: Example files have been moved to examples/ directory A few references to these files from dictd.8 * INSTALL, dictd.8.in, examples/dict1.conf, examples/dictd2.conf, examples/dictd3.conf, examples/dictd4.conf, examples/dictd_complex.conf, examples/dictd_mime.conf, examples/dictd_plugin_dbi.conf, examples/dictd_popen.conf, examples/dictd_site.txt, examples/dictd_virtual.conf: Example configuration files for 'dictd' and 'dict' have been moved to example/ directory * dictd.8.in: fixed: missing .RE * colorit.1.in, dict.1.in, dictd.8.in: minor changes in FILES section of man pages * Makefile.in, dictd.8.in, dictfmt_plugin, dictfmt_virtual, dictfmt_virtual.1: Files and directories in .1 and .8 are set according to ./configure options removed: dictfmt_virtual, dictfmt_plugin utilities. Configure plugin or virtual databases using dictd.conf file * colorit.1.in, configure.in, dict.1.in, dictd.8, dictd.8.in: File names (and optionally directories) in manual pages are specified according to ./configure options * dict.c: fixed (assert(3)): dict -M -S dict -M -D dict -M <query> 2005-11-30 Aleksey Cheusov <vle@gmx.net> * colorit.1, colorit.1.in, configure.in, dict.1, dict.1.in, dictfmt.1, dictfmt.1.in, dictfmt_index2suffix.1, dictfmt_index2suffix.1.in, dictfmt_index2word.1, dictfmt_index2word.1.in, dictl.1, dictl.1.in, dictunformat.1, dictunformat.1.in, dictzip.1, dictzip.1.in: renamed: dict.1 ---> 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 <vle@gmx.net> * dictd.c: noise exit after fatal error * Makefile.in: install -m 755 ====> mkdir -p * example.conf: fixed: missing space 2005-11-19 Aleksey Cheusov <vle@gmx.net> * dictd.8, index.c, index.h, strategy.c, strategy.h: ADDED: `nprefix' search strategy. See dictd.8 for more information. No plugin support yet. 2005-11-15 Aleksey Cheusov <vle@gmx.net> * test/testdb.hello_1.conf, test/testdb.hello_2.conf, test/testdb.hello_3.conf, test/testdb.hello_4.conf, test/testdb.hello_5.conf, test/testdb.smiley_1.conf, test/testdb.smiley_2.conf, test/testdb.smiley_3.conf, test/testdb.smiley_4.conf, test/testdb.smiley_5.conf: fixed: Some m4 shipped with Solaris/MacOS-/... translate index to -1 when no arguments are specified. Solution: index ===> `index' * test/dictd_test: fix for Solaris-9: $PWD ===> `pwd` 2005-11-13 Aleksey Cheusov <vle@gmx.net> * dictP.h: fixed: defining __FUNCTION__ * dictd.8: minor fix 2005-10-30 Aleksey Cheusov <vle@gmx.net> * test/dictd_smiley_2_res.expected.txt, test/dictd_smiley_3_res.expected.txt, test/dictd_smiley_4_res.expected.txt, test/dictd_smiley_5_res.expected.txt, test/dictd_hello_1_res.expected.txt, test/dictd_hello_2_res.expected.txt, test/dictd_hello_3_res.expected.txt, test/dictd_hello_4_res.expected.txt, test/dictd_hello_5_res.expected.txt, test/dictd_smiley_1_res.expected.txt, test/dictd_test, test/testdb.hello_1.conf, test/testdb.hello_2.conf, test/testdb.hello_3.conf, test/testdb.hello_4.conf, test/testdb.hello_5.conf, test/testdb.smiley_1.conf, test/testdb.smiley_2.conf, test/testdb.smiley_3.conf, test/testdb.smiley_4.conf, test/testdb.smiley_5.conf: lots of new tests for 'dictd' fixes, code clean-ups and improvements of tests for 'dictfmt' * daemon.c: fixes for inetd (daemonS_out ---> 1) 2005-10-15 Aleksey Cheusov <vle@gmx.net> * dict.c: minor fixes with pager, patches by Kirk Hilliard * dictfmt.1, dictl.1: fixed: sf.net bug #1227624, patches by micha137 * dictl.in: fixed: sf.net bug #1223489, patches by micha137 * test/dictd_test: minor fixes in printf 2005-09-22 Aleksey Cheusov <vle@gmx.net> * decl.h: fixed: compilation bug undet Solaris * configure.in, setenv.c: 'setenv' function implementation (Solaris is affected) 2005-09-06 Aleksey Cheusov <vle@gmx.net> * NEWS: updated * NEWS: release time * NEWS, configure.in, dictd.8: documentation updated version: 1.10.1 --> 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 <vle@gmx.net> * dictP.h, libmaa/maaP.h: fixed: compiler warnings on FreeBSD5 * NEWS: *** empty log message *** 2005-09-02 Aleksey Cheusov <vle@gmx.net> * dictfmt.c, str.c: fixes for FreeBSD-4 2005-08-26 Aleksey Cheusov <vle@gmx.net> * colorit.in: new command implemented: gensub 2005-08-25 Aleksey Cheusov <vle@gmx.net> * Makefile.in: fixes in 'distclean' target * test/dictd_test: minor changes * dictfmt.c, test/db.expect.smiley_1.index: FIXED: dictfmt MUST produce the same output on all platforms. - -k 1,3 is used instead of -k 1,1, so all columns are used in sorting. - LC_ALL environment variable is ALWAYS set to C for 'sort' utility, otherwise sorting order depends on locale (LANG and LC_xxx variables). 2005-08-18 Aleksey Cheusov <vle@gmx.net> * test/db.expect.hello_1.dict, test/db.expect.hello_1.index, test/db.expect.hello_2.dict, test/db.expect.hello_2.index, test/db.expect.hello_3.dict, test/db.expect.hello_3.index, test/db.expect.hello_4.dict, test/db.expect.hello_4.index, test/db.expect.hello_5.dict, test/db.expect.hello_5.index, test/dictd_test, test/testdb.hello.txt: added: new tests for dictfmt 2005-08-17 Aleksey Cheusov <vle@gmx.net> * test/db.expect.smiley_1.dict, test/db.expect.smiley_1.index, test/db.expect.smiley_2.dict, test/db.expect.smiley_2.index, test/db.expect.smiley_3.dict, test/db.expect.smiley_3.index, test/db.expect.smiley_4.index, test/db.expect.smiley_5.dict, test/db.expect.smiley_5.index, test/dictd_test, test/testdb.smiley.txt, Makefile.in: more tests fixes, code-clean-ups * test/db.expect.dict, test/db.expect.index, test/db.expect.smiley_1.dict, test/db.expect.smiley_1.index, test/db.expect.smiley_2.dict, test/db.expect.smiley_2.index, test/db.expect.smiley_3.dict, test/db.expect.smiley_3.index, test/db.expect.smiley_4.dict, test/db.expect.smiley_4.index, test/dictd_test, test/testdb.c5.txt, test/testdb.e.txt, test/testdb.f.txt, test/testdb.h.txt, test/testdb.h.txt.dict, test/testdb.h.txt.index, test/testdb.j.txt, test/testdb.p.txt, test/testdb.smiley.txt: added: files for automatic testing, and testing script itself 2005-08-15 Aleksey Cheusov <vle@gmx.net> * NEWS, dictfmt.1: minor fixes 2005-08-14 Aleksey Cheusov <vle@gmx.net> * index.c: printf(...) --> 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 <vle@gmx.net> * dictfmt.c: added: -i option 2005-07-26 Aleksey Cheusov <vle@gmx.net> * daemon.c: FIXED: 'SHOW DB' command shows the special entry '--exit--' as a normal database which cannot be used used for searching. This contradicts rfc-2229. Use 'SHOW SERVER' command to see where the default search stops. * dictfmt.c: FIXED: all these years dictfmt worked incorrectly because not only index part of .index was used in the sorting. A a result .index file could look like gawk:sample programs CXyl ON gawk:scalar constants +sR RS gawk:scanning an array BfKx k7 ! gawk Se I3e gawk:simple sed Cpm/ xZ gawk:single character fields pQy So gawk:special caveats 7nN Z2 Pay attention to the line preceded by !. It leads to the word 'gawk' was never found. Now the external utility 'sort' is run with additional options: -t <TAB> -k 1,1 Affected versions of dictfmt: 1.6.1 - 1.10.1 2005-07-20 Aleksey Cheusov <vle@gmx.net> * dictfmt.c: fixed: typo in error message 2005-07-17 Aleksey Cheusov <vle@gmx.net> * index.c: fixed: sometimes the regexp strategy may incorrectly because of optimization code and strange binary search. Thanks to Slava Kravchenko for bug report. Affected version: 1.4.9 - 1.10.1 2005-06-09 Aleksey Cheusov <vle@gmx.net> * NEWS: NEWS file update * NEWS, configure.in: news updated version --> 1.10.1 2005-06-08 Aleksey Cheusov <vle@gmx.net> * dictfmt.c: minor fix * index.c: By default 'dictd' is run in UTF-8 mode unless you ./configure it with --with-system-utf8-funcs option * dictfmt.c: added: --utf8 option. Use it to create utf-8 dictionaries. Use of '--locale ru_RU.UTF-8' is deprecated unless you ./configure dict packages with --with-system-utf8-funcs * dictP.h: MB_CUR_MAX__: 7 --> 6 * dict.1: fixed: typo. Thanks to A Costa for reporting the bug report. 2005-04-14 Aleksey Cheusov <vle@gmx.net> * dictd.8, dictd.c, dictd.h, servparse.y, servscan.l: By default dictd, when running as daemon, writes a PID to /var/run/dictd.pid file. This can be overriden by 'pid_file' keyword in dictd.conf (See dictd.8) of command line option '--pid-file' Thanks to Josef Novak for sudgestion and patch. 2005-04-13 Aleksey Cheusov <vle@gmx.net> * dictd.8: fixed: dictd.8 says that 'lev' strategy doesn't work with utf-8 dictionaries, but it does since release 1.9.13 * configure.in, dictP.h, dictd.c, dictfmt.c, index.c, lev.h, mbrlen.c, mbrtowc.c, mbstowcs.c, mbtowc.c, str.c, wcrtomb.c, wctomb.c: unless 'dictd' is configured using './configure --with-system-utf8-funcs' 'dictd' and 'dictfmt' use built-in UTF-8/UCS functions, i.e. there is no need for --locale xx_YY.UTF-8. As a result 'dictd' can be compiled and run on platforms which doesn't have UTF-8 locale.
2009-12-30Address PR pkg/33227abs15-191/+178
Updated textproc/dict-server to 1.11.2 Package appears to have been significantly cleaned up and portability patches no longer needed. Changes since dictd-1.9.15: 2009-10-04 Aleksey Cheusov <vle@gmx.net> * NEWS, configure.in: Version -> 1.11.2 NEWS update 2009-09-21 Aleksey Cheusov <vle@gmx.net> * test/dictd_test.in: update for regression tests for some type of sort(1) commands * test/db.expect.testdb_utf8.dict, test/db.expect.testdb_utf8.index: oops, I forgot to commit it 2009-09-20 Aleksey Cheusov <vle@gmx.net> * test/db.expect.smiley_1.index, test/db.expect.smiley_2.index, test/db.expect.smiley_3.index, test/db.expect.smiley_4.index, test/db.expect.smiley_5.index, test/dictd_smiley_2_res.expected.txt, test/dictd_smiley_4_res.expected.txt, test/dictd_smiley_5_res.expected.txt: updates for regression tests (sort -k1,1) * test/dictd_test.in: fix for building from outside OBJDIR 2009-09-19 Aleksey Cheusov <vle@gmx.net> * dictfmt.c: dictfmt spawns sort command to sort the index. When there are several entries for the same headword, they get sorted BY OFFSET AND SIZE (in addition to headwords), which don't sort alphabetically. As a result, the order of identical headwords is messed up. To fix these problem -k1,3 option is replaced with -k1,1. Thanks to Goran Tal for pointing out. * test/db.expect.cyrillic_1.index, test/db.expect.dict, test/db.expect.index, test/dictd_cyrillic_1_res.expected.txt, test/dictd_defstrat_1_res.expected.txt, test/dictd_test.in, test/testdb.c5.txt, test/testdb.e.txt, test/testdb.f.txt, test/testdb.h.txt, test/testdb.j.txt, test/testdb.p.txt, TODO, dictfmt.c: dictfmt: superfluous spaces are removed not only from the beginng and the end of a headword but also inside a multiword headwords. Thank to Goran Tal for pointing out. * dictfmt.1.in: FIX: s/--index-keep-headword/--index-keep-orig/ * test/dictd_cyrillic_3_res.expected.txt, test/dictd_defstrat_1_res.expected.txt, test/dictd_defstrat_2_res.expected.txt, test/dictd_indexdata_1_res.expected.txt, test/dictd_limits_1_res.expected.txt, test/dictd_mixedcase_1_res.expected.txt, test/dictd_test.in: all test files are CR NL, just like dict protocol is * test/dictd_cyrillic_3_res.expected.txt, test/input.cyrillic_3.txt, index.c: FIX: When search is handled by dict_search_bmh() function, the first character from the first entry in the index file is missing. Usually this is some of 00-database-* entries. Thanks to Goran Tal for a bug report and patch. Add regression test for this case. * test/dictd_test.in: minor reorganization 2009-03-01 Aleksey Cheusov <vle@gmx.net> * configure.in: version -> 1.11.1 * NEWS: Notes about upcoming release 1.11.1 * INSTALL: updated for latest changes * Makefile.in: release unnecessary rule for dictd 2009-02-21 Aleksey Cheusov <vle@gmx.net> * configure.in, Makefile.in: LIBMAA variable added to Makefile, imported from ./configure 2009-01-31 Aleksey Cheusov <vle@gmx.net> * dictl.in: code clean-ups, significant simplification 2009-01-04 Aleksey Cheusov <vle@gmx.net> * dictfmt.c: FIXED: 'dictfmt -I' never worked (regrettable oversight, heh) Found and reported by Goran Tal <goran.tal@gmail.com> * daemon.c: SHOW STRAT: s/databases present/strategies present/ Found and reported by Goran Tal <goran.tal@gmail.com> 2008-12-29 Aleksey Cheusov <vle@gmx.net> * Makefile.in: fix in uninstall target * configure.in: further clean-ups * Makefile.in, configure.in, dictP.h: remove checks for presense of memcpy and memmove. I don't care about platforms that do have them. I think all they are already dead. I you know such platforms, let me know Further clean-ups in configure.in and Makefile.in * configure.in, dictP.h: Further clean-ups. Remove checks for presense of unistd.h * Makefile.in, configure.in: (Clean-ups) Remove --with-local-libmaa, build libmaa before dictd/dict/... manually. This removes lots of garbage from configure.in and Makefile.in * configure.in: Enable additional gcc warnings on all platforms unconditionally. I need them under NetBSD * Makefile.in, configure.in: "building and installing different set of things based on configure results considered harmfull"(C)me :-) Plugins support in dictd is enabled by default (if available). DBI and JUDY plugins are disabled by default. This fixes sf.net bug #2218879 * configure.in, include_regex.h.in, index.c: (Clean-ups) Ages ago, I've add to "configure" script an option --with-regex-include to make possible to build dictd with PCRE. Now, I've removed this option. If you want to build dictd with with PCRE, ask PCRE developers to install pcre/regex.h file linked to pcreposix.h. All other regexp libraries compatible with POSIX API do the same, rx/regex.h, rxspencer/regex.h etc. etc. So, this is good and well known convension. * Makefile.in: * configure.in: minor clean-ups * test/db.expect.hello_1.dict, test/db.expect.hello_2.dict, test/db.expect.hello_3.dict, test/db.expect.hello_4.dict, test/db.expect.hello_5.dict, test/db.expect.hello_5.index, test/db.expect.indexdata_1.dict, test/db.expect.mixedcase_1.dict, test/db.expect.smiley_1.dict, test/db.expect.smiley_2.dict, test/db.expect.smiley_3.dict, test/db.expect.smiley_4.dict, test/db.expect.smiley_5.dict, test/dictd_cyrillic_1_res.expected.txt, test/dictd_hello_1_res.expected.txt, test/dictd_hello_2_res.expected.txt, test/dictd_hello_3_res.expected.txt, test/dictd_hello_4_res.expected.txt, test/dictd_hello_5_res.expected.txt, test/dictd_smiley_2_res.expected.txt, test/dictd_smiley_4_res.expected.txt, test/dictd_smiley_5_res.expected.txt, test/db.expect.cyrillic_1.dict, test/db.expect.dict, dictfmt.c: fixed: sf.net bug #2197588 by Peter Volkov Now, all alphabet character from 00-database-alphabet special entry is resorted lexicographically and doesn;t depend on internal libmaa's function and sizeof(long) 2008-12-24 Aleksey Cheusov <vle@gmx.net> * dictl.in: Now dictl can use an external program for charset2charset conversion. Set DICTL_USE variable for this. I think this fixes sf.net bug #2407725 * Makefile.in: clean-ups: DICT_DIR and CONF_DIR have no / at the end (like PLUGIN_DIR) * Makefile.in: fix for sf.net bug #2218879 (/ at the end of PLUGIN_DIR) * dictd.8.in: fixed: sf.net bug #2407717 * Makefile.in: no Makefile.conf * Makefile.in: libmaa is not a part of dictd tarball * NEWS: tyop * NEWS: notes about release 1.11.0 * Makefile.in: better ChangeLog * exclude_libmaa_logs: script for postprocessing rcs2log output * configure.in: "libmaa not found" error message * libmaa/maa.h, libmaa/maaP.h, Makefile.in: no $Id$ - I dislike it * Makefile.in: removed: -ldl from building dbi plugin * clientparse.y, clientscan.l, codes.h, daemon.c, data.c, dict.1.in, dict.h, dictP.h, dictd.8.in, dictd.c, dictd.h, dictfmt.c, dictzip.1.in, dictzip.c, dictzip.h, index.c, net.c, net.h, parse.c, parse.h, servparse.y, servscan.l: 'Revised ...by ...' lines removed from sources, cvs know better when files were revised last time. my copyleft * Makefile.in: 'dist' target renamed to 'cvsdist' minor fixes in clean/distclean/cvsclean targets * configure.in: version -> 1.11.0 * daemon.c, data.c, dictP.h, dictd.c, dictdplugin_dbi.c, dictfmt.c, dictzip.c, index.c, lev.h, parse.c: fixed: gcc warnings, "unused variable" etc. 2008-11-15 Aleksey Cheusov <vle@gmx.net> * dict.c: fixed: gcc compilation warning * configure.in: Do not override CFLAGS set in environment. Never! * dictfmt_index2suffix.in: \001 -> \1 inside regexp. It seems it is better excepted by different awk/regexp_engines. (heirloom posix2001/awk and libuxre) * Makefile.in: fixes in "clean" target * test/dictd_test.in: fixed: ln -f -s ./file file This is fatal on Interix * configure.in, dictP.h: fix for Interix 3.5, socklen_t is defined in it * configure.in, dictP.h: fix for platforms having no getopt_long(3) (Solaris, HP-UX, Interix etc.) happens if --without-local-libmaa option is applied. * configure.in: checks for zlib.h iwhile configuring * configure.in: fix for previous commits * configure.in: REMOVED: --with-cflags, --with-prog, --with-gprof, --with-checker, --with-efence, --with-insure and --with-purify Use CFLAGS, LDFLAGS, CC etc. environment variables instead * configure.in: removed: home-made --with-cc. Use CC environment variable instead * configure.in: I hate $Id$, Grrr * configure.in: By default dictd is built with external libmaa library (if found). If it is not found, error message is output that suggests to apply --with-local-libmaa option. 2008-08-30 Aleksey Cheusov <vle@gmx.net> * dictfmt_index2suffix.in: GNU awk is not needed. * configure.in: previous commit reverted * configure.in: removed: $Revision: ...$ * examples/dictd_popen.conf, examples/dictd_popen.conf.in, configure.in: fixed: sf.net bug #1627458 * Makefile.in: rm ====> libtool --mode=uninstall * dictd.c: fixed: sf.net bug #1941358 2008-06-02 Aleksey Cheusov <vle@gmx.net> * Makefile.in: dictfmt_index2suffix/dictfmt_index2word are installed from ./ * configure.in, dictfmt_index2suffix, dictfmt_index2suffix.in, dictfmt_index2word, dictfmt_index2word.in, test/dictd_test.in: dictfmt_index2suffix and dictfmt_index2word are generated from *.in * test/dictd_test.in: renamings * test/dictd_test.in: cyrillic_4 regression test restored * Makefile.in: rm -> rm -f in distclean target * Makefile.in, configure.in, test/dictd_test.in: 'make test' now works fine from obj directory too cyrillic_4 test is temporarily disabled 2008-05-29 Aleksey Cheusov <vle@gmx.net> * Makefile.in: fix for dictd_test * Makefile.in: ./dictd_test -> $(srcdir)/dictd_test * examples/dictd_popen.conf, INSTALL, Makefile.in: fixes for sf.net bug #1627458 * Makefile.in: date -> touch 2008-04-06 Aleksey Cheusov <vle@gmx.net> * NEWS, configure.in: version -> 1.10.11 NEWS: Release notes * configure.in, daemon.c, dictdplugin_judy.c, dictfmt.c, index.c, iswalnum.c, iswspace.c, lev.h, plugin.c, plugins_common.c, strategy.c, strategy.h: fixed: lot of warning messages produced by icc-10 (Intel C Compiler) 2008-02-09 Aleksey Cheusov <vle@gmx.net> * dictd.c: timestamp message in log marker (log_option "timestamp") is changed to :t: from :T: because :T: begins client's full command (log_option "command") 2008-02-08 Aleksey Cheusov <vle@gmx.net> * colorit.in: bashism fixed: echo -en -> more portable printf 2008-01-31 Aleksey Cheusov <vle@gmx.net> * dict.c: ADDED: -F|--flush option for flushing stdout after each definition/match. It is useful in combination with -f 'XXX definitions found' is printed with -f (revert previous changes) * dict.c, dictzip.c: copyright * dictfmt.c: FIXED: maximum length of headwords are limited to hardcoded constant just by cutting the end of headword. Now internal arrays are realloced automatically. * INSTALL: spelling error fixed * Makefile.in: -I. before -I${srcdir} 2008-01-27 Aleksey Cheusov <vle@gmx.net> * index.c: FIXED: while processing MATCH command unicity of only first column of .index is checked, but fourth column (if present) should also be checked. 2008-01-22 Aleksey Cheusov <vle@gmx.net> * dictP.h, dictd.c: FIXED: failure on Linux if --disable-plugin option is specified. Now USE_PLUGIN macros is checks correctly. 2008-01-20 Aleksey Cheusov <vle@gmx.net> * wcrtomb.c: fixed: warning generated by NetBSD/Alpha/GCC 2008-01-19 Aleksey Cheusov <vle@gmx.net> * configure.in, Makefile.in: CXX is detected using autoconf detection of AR/RANLIB is removed, they are not used directly libtool is run with --tag=CC and --tag=CXX for compiling C and C++ code C++ compiler cpp preprocessor are now detected using autoconf presence of fileno function is detected using autoconf removed: checking for command ar, not used directly * dict.c: removed: c99/c++ style comment markers * dictfmt.c, index.c, index.h, lev.h, wcrtomb.c: removed: c99/c++ style of comment markers * strategy.c: fixed: gcc warning 2008-01-12 Aleksey Cheusov <vle@gmx.net> * Makefile.in: 'gmake install' now works fine even if dictd was configure from the external "object"(any!!!) directory. Some other autobloat-based projects can do the same. * Makefile.in: FIX: now dictd can be fully built from external "object" (any!) directory just like many other autobloat-based projects can That is, the following works fine now cd obj-dir /dir/to/dictd --with-libmaa gmake gmake install * configure.in: date ---> touch 2008-01-11 Aleksey Cheusov <vle@gmx.net> * clientscan.l, servscan.l: __FUNCTION__ -> __func__ Now dictd is fully ready to compiled with pcc, tested under NetBSD * daemon.c: fix for pcc * dictd.c: fixed: pcc warning * daemon3.c, data.c, dict.c, dictd.c, dictzip.c, index.c, lev.h, libmaa/arg.c, libmaa/base26.c, libmaa/base64.c, libmaa/bit.c, libmaa/debug.c, libmaa/flags.c, libmaa/hash.c, libmaa/list.c, libmaa/log.c, libmaa/memory.c, libmaa/pr.c, libmaa/rnd.c, libmaa/set.c, libmaa/sl.c, libmaa/source.c, libmaa/string.c, libmaa/timer.c, libmaa/xmalloc.c, net.c, parse.c, plugin.c, snprintf.c, vsnprintf.c: Not standard __FUNCTION__ macros is changed to __func__ All these changed sources can now be compiled with PCC (under NetBSD) PCC - Portable C Compiler * configure.in: inttypes.h header is checked * dictfmt.c: fixed: pcc warnings, __FUNCTION__ -> __func__ * daemon.c: fixed: pcc warning * dictP.h: a few comments added 2007-12-26 Aleksey Cheusov <vle@gmx.net> * dictdplugin_popen.cpp: fixed: missed header file, seen with gcc-4.3. thanks to Martin Michlmayr for report 2007-11-10 Aleksey Cheusov <vle@gmx.net> * Makefile.conf: no autoreconf * NEWS: notes about release 1.10.10 * configure.in: FIXED: ooooooold bug. configure script was run twice for libmaa version bumped to 1.10.10 * dictl.in: fix for NetBSD where locale -k shows nothing 2007-10-10 Aleksey Cheusov <vle@gmx.net> * Makefile.in: minor fix in "clean" target 2007-09-29 Aleksey Cheusov <vle@gmx.net> * clientparse.y, clientscan.l, colorit.in, dict.1.in, dict.c, dict.h, dictl.1.in, dictl.in: DICT, DICTL and COLORIT programs DO NOT support option --pager|-P anymore. The code supporting this is removed. '-P -' is still allowed to not break the scripts. "Pager" functionality should be easily be implemented by users. See the following shell function. mydict () { dict "$@" 2>&1 | colorit | less; } Add it to you .profile (or whatever). I appologize for breaking backward compatibilities. * Makefile.in: minor fix in *clean targets * dictfmt.c: copyright 2007-07-27 Aleksey Cheusov <vle@gmx.net> * iswalnum.c: fix for utf-8 symbols other than BMP 2007-06-18 Aleksey Cheusov <vle@gmx.net> * test/dictd_test.in: fixed: dictfmt is not found 2007-05-29 Aleksey Cheusov <vle@gmx.net> * dictfmt_index2suffix: mawk sucks * test/testdb.cyrillic_1.conf, test/testdb.cyrillic_2.conf, test/testdb.cyrillic_4.conf, test/testdb.defstrat_1.conf, test/testdb.defstrat_2.conf, test/testdb.hello_1.conf, test/testdb.hello_2.conf, test/testdb.hello_3.conf, test/testdb.hello_4.conf, test/testdb.hello_5.conf, test/testdb.indexdata_1.conf, test/testdb.limits_1.conf, test/testdb.mixedcase_1.conf, test/testdb.smiley_1.conf, test/testdb.smiley_2.conf, test/testdb.smiley_3.conf, test/testdb.smiley_4.conf, test/testdb.smiley_5.conf: no limits in most tests * dictdplugin_dbi.c, dictdplugin_judy.c: compilation fixes * NEWS, configure.in: 1.10.9 release * daemon.c, dictd.8.in: limit_queries=0 means no limit * NEWS: notes about fix with getopt_long argument * NEWS: minor fixes * NEWS: notes about "limit_childs" keyword * defs.h, dictd.8.in, dictd.c, dictd.h, servparse.y, servscan.l: option/variable/macro renamings: limit -> 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 <vle@gmx.net> * test/dictd_cyrillic_3_res.expected.txt: forgot to commit it * test/dictd_test.in, test/input.cyrillic_3.txt, test/testdb.cyrillic_2.conf, test/testdb.cyrillic_4.conf, configure.in: new self tests minor clean-ups * dictd.8.in, index.c, strategy.c, strategy.h: ADDED: Two new search strategies, 'first' and 'last'. See dictd.8 for the information. * dictd.c: I like empty lines to better separate code into sections ;-) * dictfmt_index2suffix, dictfmt_index2word: rewritten. Now they use dictfmt -i/-I for sorting fixes clean-ups * dictfmt.c: fix with -i and -I * dict.c: -f sends error messages like 'No matches...', 'No definitions...', 'Invalid strategy...' etc. to stderr, not to the pager. 2007-05-27 Aleksey Cheusov <vle@gmx.net> * test/dictd_test.in, test/testdb.cyrillic_2.conf: commented test for dictfmt_index2word * dictfmt_index2word: fixes * dictfmt.c: -i and -I options fully support 4-column input * index.c: removed: unnecessary code for --test-xxx 2007-05-24 Aleksey Cheusov <vle@gmx.net> * dictfmt_index2word: almost completely rewriten * dictfmt.1.in, dictfmt.c: -i and -I have the following format: dictfmt -i|-I [options] * dictfmt.1.in, dictfmt.c: -i and -I twins are now fully implemented and documented. See dictfmt(1) form documentation * test/dictd_test.in: clean-ups * test/dictd_test.in: nothing * test/dictd_cyrillic_1_res.expected.txt, test/dictd_defstrat_2_res.expected.txt, test/dictd_hello_1_res.expected.txt, test/dictd_hello_2_res.expected.txt, test/dictd_hello_3_res.expected.txt, test/dictd_hello_4_res.expected.txt, test/dictd_hello_5_res.expected.txt, test/dictd_smiley_2_res.expected.txt, test/dictd_smiley_4_res.expected.txt, test/dictd_smiley_5_res.expected.txt, test/dictd_test.in: fixed: <CR> 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 <vle@gmx.net> * dictd.h, index.c, servparse.y, servscan.l, defs.h, dictd.8.in, dictd.c: ADDED: new keywords in "global" section. limit_matches and limit_defintions See dictd.8 for information * dictd.8.in: removed: docs about --test-* options * index.c: code clean-ups, added: dict_add_word_to_list function * dict.c, dictd.c, dictzip.c: I don't like $ in the code * dictd.c: copyright * dictd.c: The following option are removed: -t --test <word> --test-file <file> --ftest <file> --test-strategy <strategy> --test-db <database> --test-match --test-nooutput --test-idle --test-show-info <database> 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 <vle@gmx.net> * daemon.c, dictd.8.in, dictd.c, dictd.h, servparse.y, servscan.l: ADDED: site_no_banner, site_no_uptime, site_no_dblist keyword to the configuration file ("global" options section). See dictd.8 for more information. * daemon.c, defs.h, dictd.8.in, dictd.c, dictd.h, examples/dictd4.conf, servparse.y: 'site' keyword has ben moved to 'global' ection of configuration file 'site' section is deprecated now, but is still supported, error messages is logged if it used. Documentation and examples/ are up-to-date 2007-05-19 Aleksey Cheusov <vle@gmx.net> * dict.1.in: documentation for an option -f * dict.c: -m support -f too. Matches have the following format <host><TAB><port><TAB><db><TAB><match> -D, -S, -I, -H, -i and similar also support -f (formatted output) 2007-05-13 Aleksey Cheusov <vle@gmx.net> * dict.c: new option -f partially implemented 2007-05-12 Aleksey Cheusov <vle@gmx.net> * dictunformat.in: Recently 4-column .index entries were introduced. Now dictunformat is ready for this kind of dictionaries and produces correct output. * test/dictd_test.in, dictfmt.1.in, dictfmt.c, dictunformat.in: added: dictfmt --without-ver option. See dictfmt.1 for more information * dictfmt.1.in: some docs for 00-database-mime-header entry minor fixes and changes * dictfmt.1.in: documentation for --case-sensitive option * dictfmt.1.in: documentation for --index-data-separator option * test/db.expect.indexdata_1.index, test/dictd_test.in, test/testdb.indexdata.txt: more complex test * dictfmt.c, test/db.expect.indexdata_1.dict, test/db.expect.indexdata_1.index, test/dictd_indexdata_1_res.expected.txt, test/dictd_test.in, test/input.indexdata_1.txt, test/testdb.indexdata.txt, test/testdb.indexdata_1.conf: added: tests --index-data-separator and --index-keep-orig dictfmt options and appropriate dictd search * dictfmt.c: ADDED: --dictfmt --index-data-separator option that allows to set index and data parts of the headword in .index file (first and fourth columns respectively) completely independantly. That is, the first column in .index file can now be treated as an index and an optional fourth columns - as a data, all this for MATCH protocol command. * codes.h, daemon.c, data.c, data.h, defs.h, dict.c, dict.h, dictP.h, dictd.c, dictdplugin_dbi.c, dictdplugin_judy.c, dictzip.c, heap.c, heap.h, index.c, index.h, lev.h, md5.c, net.c, net.h, parse.c, parse.h, plugin.c, plugin.h, plugins_common.c, plugins_common.h, servparse.y, servscan.l, str.c, str.h, strategy.c, strategy.h, clientparse.y, clientscan.l: removed: $Id$, I don't like it * dictfmt.c: no $Id$ * dictfmt.c: code clean-ups * dictunformat.in: 00-database-case-sensitive headword is also not output * defs.h, dictd.c, dictfmt.c, index.c, index.h, str.c, str.h, test/db.expect.mixedcase_1.dict, test/db.expect.mixedcase_1.index, test/dictd_mixedcase_1_res.expected.txt, test/dictd_test.in, test/input.mixedcase_1.txt, test/testdb.mixedcase.txt, test/testdb.mixedcase_1.conf: ADDED: support for case sensitive search. For this, database should be created using dictfmt --case-sensitive. In this case 00-database-case-sensitive headword is created which is checked by dictd 2007-05-06 Aleksey Cheusov <vle@gmx.net> * data.c, index.c, net.c: fixed: gcc4/NetBSD warning messages 2007-03-10 Aleksey Cheusov <vle@gmx.net> * Makefile.in: fix: tab should begin the first line of action, not spaces 2006-12-13 Aleksey Cheusov <vle@gmx.net> * NEWS: release notes for dictd-1.10.8 * dictd.8.in: added: info about --stdin2stdout * configure.in: br * configure.in: no messages about flex/bison and GNU archive site * test/dictd_test, test/dictd_test.in, configure.in, dictunformat, dictunformat.in: fixes for Solaris: - awk version defaults to that detected by ./configure - fix for idiotic Solaris shell * Makefile.in, configure.in: libmaa: 0.990 -> 1.0; dict: 1.10.7 -> 1.10.8 2006-12-12 Aleksey Cheusov <vle@gmx.net> * dictd.c: added fcntl.h for open(2) * dictd.c: only 012 descriptors are closed and reopened while daemon(3)-izing 2006-12-11 Aleksey Cheusov <vle@gmx.net> * Makefile.in: fixes in install/uninstall targets * dictvd: del * Makefile.in, configure.in: fixes related to libtools and building xxxxFLAGS * Makefile.in: added: -lz * Makefile.in: libtool needs .lo, not .o * configure.in: no local zlib/regex/dmalloc anymore * configure.in: only CFLAGS, CPPFLAGS and LDFLAGS... * Makefile.in, configure.in: removed: WCFLAGS SCFLAGS XTRACFLAGS WLDFLAGS XTRALDFLAGS XTRAHEADERS Use CPPFLAGS, CFLAGS and LDFLAGS only! * index.c: altcompare removed malloc_count_while_searching -= 1 * Makefile.in: -static removed from libtool arguments Makefile.in plugins are linked with LIBOBJS * Makefile.in: libtool-ization * configure.in: fixed: lex/yacc presense checking (non-portable "which /path/to/exe local_libmaa=0 by default 2006-12-09 Aleksey Cheusov <vle@gmx.net> * colorit.in: gensub(,...1) -> gsub() 2006-11-25 Aleksey Cheusov <vle@gmx.net> * index.c: fix for match nprefix/match exact/define * test/dictd_cyrillic_1_res.expected.txt, test/dictd_hello_1_res.expected.txt, test/dictd_hello_2_res.expected.txt, test/dictd_hello_3_res.expected.txt, test/dictd_hello_4_res.expected.txt, test/dictd_hello_5_res.expected.txt, test/dictd_smiley_2_res.expected.txt, test/dictd_smiley_4_res.expected.txt, test/dictd_smiley_5_res.expected.txt, test/dictd_test: to make a debug easier command itself is also logged * test/dictd_test: new temporary file * daemon.c, dictd.c, dictd.h: added: --stdin2stdout option for debugging purposes (in addition to -i) 2006-11-19 Aleksey Cheusov <vle@gmx.net> * dictd.8.in: Unknowledges section removed because neyther regex/ nor zlib/ are a part dictd distribution anymore Other minor clean-ups 2006-11-10 Aleksey Cheusov <vle@gmx.net> * test/dictd_test: better message is output in case of test failure 2006-09-19 Aleksey Cheusov <vle@gmx.net> * index.c: alcompare() function is implemented. Side effect: sf.net bug #1554437 is fixed. Side effect: for some sort of .index files MATCH command should work faster. TODO: remove malloc/free from altcompare. 2006-07-16 Aleksey Cheusov <vle@gmx.net> * NEWS, configure.in: updates for dictd-1.10.7 a few fixed typos in NEWS 2006-07-14 Aleksey Cheusov <vle@gmx.net> * dictd.c: FIXED: nmap utility of just a client that aborts connection for any reason can cause dictd server to exit with error on NetBSD and probably other OSes. This is because accept(2) returns ECONNABORTED which is treated as a uncritical error on Linux-only and as a critical error on all other OSes. Affected versions: 1.4.9-1.10.6 2006-07-13 Aleksey Cheusov <vle@gmx.net> * dictd.c: fixed: `cat /var/run/dictd.pid` != pidof (dictd). Writing pid should happen after daemon(3) 2006-07-03 Aleksey Cheusov <vle@gmx.net> * 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 <vle@gmx.net> * test/dictd_test: nothing * test/dictd_cyrillic_1_res.expected.txt, test/dictd_test: Not only 'exact' search strategy is tested now. * index.c: fixed: 'word' strategy works incorrectly on OpenBSD and probably others because of incorrect isspacepuncttab array initizlization. * test/dictd_cyrillic_1_res.expected.txt, test/dictd_test: all search strategies are tested * test/dictd_cyrillic_1_res.expected.txt, test/dictd_hello_1_res.expected.txt, test/dictd_hello_2_res.expected.txt, test/dictd_hello_3_res.expected.txt, test/dictd_hello_4_res.expected.txt, test/dictd_hello_5_res.expected.txt, test/dictd_smiley_2_res.expected.txt, test/dictd_smiley_4_res.expected.txt, test/dictd_smiley_5_res.expected.txt, test/dictd_test: minor fixes 2006-06-22 Aleksey Cheusov <vle@gmx.net> * test/db.expect.cyrillic_1.dict, test/db.expect.cyrillic_1.index, test/dictd_cyrillic_1_res.expected.txt, test/dictd_hello_1_res.expected.txt, test/dictd_hello_2_res.expected.txt, test/dictd_hello_3_res.expected.txt, test/dictd_hello_4_res.expected.txt, test/dictd_hello_5_res.expected.txt, test/dictd_smiley_2_res.expected.txt, test/dictd_smiley_4_res.expected.txt, test/dictd_smiley_5_res.expected.txt, test/dictd_test, test/testdb.cyrillic.txt, test/testdb.cyrillic_1.conf: a few new tests, fixes, improvements * test/dictd_smiley_1_res.expected.txt, test/dictd_smiley_3_res.expected.txt, test/dictd_test: removed: too big files from testing 2006-05-27 Aleksey Cheusov <vle@gmx.net> * dictd.c, dictfmt.1.in, dictfmt.c, dictunformat, index.c, libmaa/base64.c, libmaa/maa.h: added: b64_decode_buf function to libmaa library index.c:dict_word_create: minor speed-ups, avoided use of malloc() dictfmt --index-keep-orig create (if necessary) fourth column in .index file that keeps original headword which is returned by MATCH command. See dictfmt.1 for details. dictd: If opening a pid file of log file failed, error messages are printed to stderr. 2006-05-26 Aleksey Cheusov <vle@gmx.net> * Makefile.in: make --> $(MAKE) * NEWS, configure.in: version --> 1.10.5 2006-05-19 Aleksey Cheusov <vle@gmx.net> * daemon3.c: new #includes added 2006-05-13 Aleksey Cheusov <vle@gmx.net> * daemon.c: FIXED: In case database_exit directive is used in dictd.conf SHOW DB command returns incorrect number of databases available. Afected versions: 1.10.2 -- 1.10.4 2006-05-06 Aleksey Cheusov <vle@gmx.net> * configure.in, daemon3.c, dictP.h, dictd.c, net.c: When available, system-wide daemon(3) function is used for becoming a daemon. 2006-04-15 Aleksey Cheusov <vle@gmx.net> * dictd.c: In dictd-1.9.14 dictd creates log file being root and than releases root priviledges. This was bad idea because log file may have % sign and may be used as a pattern for log files. Now older behaviour is restored, i.e. log file is created after releasing root priviledges. If you want to create log file under /var/log directory, create /var/log/dictd with appropriate permissions and create log files there. I apologize for inconvenience and breaking backward compatibility. * NEWS: typo fixed 2006-04-09 Aleksey Cheusov <vle@gmx.net> * libmaa/maaP.h, dictP.h: removed obsolete code 2006-04-08 Aleksey Cheusov <vle@gmx.net> * libmaa/Makefile.in, libmaa/decl.h, libmaa/maaP.h, libmaa/memtest.c, decl.h, deps, dictP.h, dictunformat: decl.h files seem obsolete to me. They cause problrems, do not help. 2005-12-12 Aleksey Cheusov <vle@gmx.net> * NEWS: new notes * NEWS: typo fixed * NEWS, configure.in, dictd.c, net.c: FIX: pid file was created with 0666 permissions * dictd.c: minor fixes by Kirk Hilliard 2005-12-08 Aleksey Cheusov <vle@gmx.net> * NEWS: Notes about regex/ and zlib/ * configure.in, dictd.conf, examples/dictd1.conf: Version: 1.10.2 ---> 1.10.3 Another example config file has been moved to examples/ * NEWS: Notes about 1.10.3 release * config.guess, config.sub: updated 2005-12-06 Aleksey Cheusov <vle@gmx.net> * examples/dictd_complex.conf: fixes for m4 shipped with *BSD and Solaris that expands "index" to -1 even if it is used without arguments. * examples/dictd4.conf, examples/dictd_virtual.conf: minor fixes 2005-12-05 Aleksey Cheusov <vle@gmx.net> * dict.c: fixed: compilation bugs (conformance to ANSI C) * dictP.h, libmaa/maaP.h: fixed: compilation bugs because of alloca 2005-12-03 Aleksey Cheusov <vle@gmx.net> * dictd.8.in, example.conf, example.dictrc, example.site, example2.conf, example3.conf, example_complex.conf, example_mime.conf, example_plugin_dbi.conf, example_popen.conf, example_virtual.conf, examples/dictd4.conf: Example files have been moved to examples/ directory A few references to these files from dictd.8 * INSTALL, dictd.8.in, examples/dict1.conf, examples/dictd2.conf, examples/dictd3.conf, examples/dictd4.conf, examples/dictd_complex.conf, examples/dictd_mime.conf, examples/dictd_plugin_dbi.conf, examples/dictd_popen.conf, examples/dictd_site.txt, examples/dictd_virtual.conf: Example configuration files for 'dictd' and 'dict' have been moved to example/ directory * dictd.8.in: fixed: missing .RE * colorit.1.in, dict.1.in, dictd.8.in: minor changes in FILES section of man pages * Makefile.in, dictd.8.in, dictfmt_plugin, dictfmt_virtual, dictfmt_virtual.1: Files and directories in .1 and .8 are set according to ./configure options removed: dictfmt_virtual, dictfmt_plugin utilities. Configure plugin or virtual databases using dictd.conf file * colorit.1.in, configure.in, dict.1.in, dictd.8, dictd.8.in: File names (and optionally directories) in manual pages are specified according to ./configure options * dict.c: fixed (assert(3)): dict -M -S dict -M -D dict -M <query> 2005-11-30 Aleksey Cheusov <vle@gmx.net> * colorit.1, colorit.1.in, configure.in, dict.1, dict.1.in, dictfmt.1, dictfmt.1.in, dictfmt_index2suffix.1, dictfmt_index2suffix.1.in, dictfmt_index2word.1, dictfmt_index2word.1.in, dictl.1, dictl.1.in, dictunformat.1, dictunformat.1.in, dictzip.1, dictzip.1.in: renamed: dict.1 ---> 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 <vle@gmx.net> * dictd.c: noise exit after fatal error * Makefile.in: install -m 755 ====> mkdir -p * example.conf: fixed: missing space 2005-11-19 Aleksey Cheusov <vle@gmx.net> * dictd.8, index.c, index.h, strategy.c, strategy.h: ADDED: `nprefix' search strategy. See dictd.8 for more information. No plugin support yet. 2005-11-15 Aleksey Cheusov <vle@gmx.net> * test/testdb.hello_1.conf, test/testdb.hello_2.conf, test/testdb.hello_3.conf, test/testdb.hello_4.conf, test/testdb.hello_5.conf, test/testdb.smiley_1.conf, test/testdb.smiley_2.conf, test/testdb.smiley_3.conf, test/testdb.smiley_4.conf, test/testdb.smiley_5.conf: fixed: Some m4 shipped with Solaris/MacOS-/... translate index to -1 when no arguments are specified. Solution: index ===> `index' * test/dictd_test: fix for Solaris-9: $PWD ===> `pwd` 2005-11-13 Aleksey Cheusov <vle@gmx.net> * dictP.h: fixed: defining __FUNCTION__ * dictd.8: minor fix 2005-10-30 Aleksey Cheusov <vle@gmx.net> * test/dictd_smiley_2_res.expected.txt, test/dictd_smiley_3_res.expected.txt, test/dictd_smiley_4_res.expected.txt, test/dictd_smiley_5_res.expected.txt, test/dictd_hello_1_res.expected.txt, test/dictd_hello_2_res.expected.txt, test/dictd_hello_3_res.expected.txt, test/dictd_hello_4_res.expected.txt, test/dictd_hello_5_res.expected.txt, test/dictd_smiley_1_res.expected.txt, test/dictd_test, test/testdb.hello_1.conf, test/testdb.hello_2.conf, test/testdb.hello_3.conf, test/testdb.hello_4.conf, test/testdb.hello_5.conf, test/testdb.smiley_1.conf, test/testdb.smiley_2.conf, test/testdb.smiley_3.conf, test/testdb.smiley_4.conf, test/testdb.smiley_5.conf: lots of new tests for 'dictd' fixes, code clean-ups and improvements of tests for 'dictfmt' * daemon.c: fixes for inetd (daemonS_out ---> 1) 2005-10-15 Aleksey Cheusov <vle@gmx.net> * dict.c: minor fixes with pager, patches by Kirk Hilliard * dictfmt.1, dictl.1: fixed: sf.net bug #1227624, patches by micha137 * dictl.in: fixed: sf.net bug #1223489, patches by micha137 * test/dictd_test: minor fixes in printf 2005-09-22 Aleksey Cheusov <vle@gmx.net> * decl.h: fixed: compilation bug undet Solaris * configure.in, setenv.c: 'setenv' function implementation (Solaris is affected) 2005-09-06 Aleksey Cheusov <vle@gmx.net> * NEWS: updated * NEWS: release time * NEWS, configure.in, dictd.8: documentation updated version: 1.10.1 --> 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 <vle@gmx.net> * dictP.h, libmaa/maaP.h: fixed: compiler warnings on FreeBSD5 * NEWS: *** empty log message *** 2005-09-02 Aleksey Cheusov <vle@gmx.net> * dictfmt.c, str.c: fixes for FreeBSD-4 2005-08-26 Aleksey Cheusov <vle@gmx.net> * colorit.in: new command implemented: gensub 2005-08-25 Aleksey Cheusov <vle@gmx.net> * Makefile.in: fixes in 'distclean' target * test/dictd_test: minor changes * dictfmt.c, test/db.expect.smiley_1.index: FIXED: dictfmt MUST produce the same output on all platforms. - -k 1,3 is used instead of -k 1,1, so all columns are used in sorting. - LC_ALL environment variable is ALWAYS set to C for 'sort' utility, otherwise sorting order depends on locale (LANG and LC_xxx variables). 2005-08-18 Aleksey Cheusov <vle@gmx.net> * test/db.expect.hello_1.dict, test/db.expect.hello_1.index, test/db.expect.hello_2.dict, test/db.expect.hello_2.index, test/db.expect.hello_3.dict, test/db.expect.hello_3.index, test/db.expect.hello_4.dict, test/db.expect.hello_4.index, test/db.expect.hello_5.dict, test/db.expect.hello_5.index, test/dictd_test, test/testdb.hello.txt: added: new tests for dictfmt 2005-08-17 Aleksey Cheusov <vle@gmx.net> * test/db.expect.smiley_1.dict, test/db.expect.smiley_1.index, test/db.expect.smiley_2.dict, test/db.expect.smiley_2.index, test/db.expect.smiley_3.dict, test/db.expect.smiley_3.index, test/db.expect.smiley_4.index, test/db.expect.smiley_5.dict, test/db.expect.smiley_5.index, test/dictd_test, test/testdb.smiley.txt, Makefile.in: more tests fixes, code-clean-ups * test/db.expect.dict, test/db.expect.index, test/db.expect.smiley_1.dict, test/db.expect.smiley_1.index, test/db.expect.smiley_2.dict, test/db.expect.smiley_2.index, test/db.expect.smiley_3.dict, test/db.expect.smiley_3.index, test/db.expect.smiley_4.dict, test/db.expect.smiley_4.index, test/dictd_test, test/testdb.c5.txt, test/testdb.e.txt, test/testdb.f.txt, test/testdb.h.txt, test/testdb.h.txt.dict, test/testdb.h.txt.index, test/testdb.j.txt, test/testdb.p.txt, test/testdb.smiley.txt: added: files for automatic testing, and testing script itself 2005-08-15 Aleksey Cheusov <vle@gmx.net> * NEWS, dictfmt.1: minor fixes 2005-08-14 Aleksey Cheusov <vle@gmx.net> * index.c: printf(...) --> 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 <vle@gmx.net> * dictfmt.c: added: -i option 2005-07-26 Aleksey Cheusov <vle@gmx.net> * daemon.c: FIXED: 'SHOW DB' command shows the special entry '--exit--' as a normal database which cannot be used used for searching. This contradicts rfc-2229. Use 'SHOW SERVER' command to see where the default search stops. * dictfmt.c: FIXED: all these years dictfmt worked incorrectly because not only index part of .index was used in the sorting. A a result .index file could look like gawk:sample programs CXyl ON gawk:scalar constants +sR RS gawk:scanning an array BfKx k7 ! gawk Se I3e gawk:simple sed Cpm/ xZ gawk:single character fields pQy So gawk:special caveats 7nN Z2 Pay attention to the line preceded by !. It leads to the word 'gawk' was never found. Now the external utility 'sort' is run with additional options: -t <TAB> -k 1,1 Affected versions of dictfmt: 1.6.1 - 1.10.1 2005-07-20 Aleksey Cheusov <vle@gmx.net> * dictfmt.c: fixed: typo in error message 2005-07-17 Aleksey Cheusov <vle@gmx.net> * index.c: fixed: sometimes the regexp strategy may incorrectly because of optimization code and strange binary search. Thanks to Slava Kravchenko for bug report. Affected version: 1.4.9 - 1.10.1 2005-06-09 Aleksey Cheusov <vle@gmx.net> * NEWS: NEWS file update * NEWS, configure.in: news updated version --> 1.10.1 2005-06-08 Aleksey Cheusov <vle@gmx.net> * dictfmt.c: minor fix * index.c: By default 'dictd' is run in UTF-8 mode unless you ./configure it with --with-system-utf8-funcs option * dictfmt.c: added: --utf8 option. Use it to create utf-8 dictionaries. Use of '--locale ru_RU.UTF-8' is deprecated unless you ./configure dict packages with --with-system-utf8-funcs * dictP.h: MB_CUR_MAX__: 7 --> 6 * dict.1: fixed: typo. Thanks to A Costa for reporting the bug report. 2005-04-14 Aleksey Cheusov <vle@gmx.net> * dictd.8, dictd.c, dictd.h, servparse.y, servscan.l: By default dictd, when running as daemon, writes a PID to /var/run/dictd.pid file. This can be overriden by 'pid_file' keyword in dictd.conf (See dictd.8) of command line option '--pid-file' Thanks to Josef Novak for sudgestion and patch. 2005-04-13 Aleksey Cheusov <vle@gmx.net> * dictd.8: fixed: dictd.8 says that 'lev' strategy doesn't work with utf-8 dictionaries, but it does since release 1.9.13 * configure.in, dictP.h, dictd.c, dictfmt.c, index.c, lev.h, mbrlen.c, mbrtowc.c, mbstowcs.c, mbtowc.c, str.c, wcrtomb.c, wctomb.c: unless 'dictd' is configured using './configure --with-system-utf8-funcs' 'dictd' and 'dictfmt' use built-in UTF-8/UCS functions, i.e. there is no need for --locale xx_YY.UTF-8. As a result 'dictd' can be compiled and run on platforms which doesn't have UTF-8 locale.
2009-12-28${PREFIX}/lib is pre-required for installation.obache1-1/+3
2009-12-23Reset PKGREVISION by implicit update to 5.2.12.taca1-2/+1
2009-12-19Introduce PKG_OPTIONS for database/tokyocabinet to select compression supportobache2-10/+16
(zlib/bzip2/lzo/lzma and enabled by default for former two). LZO and LZMA supports are exclusive, optional and should be selected by user's use-case (priority of data compression ratio, compression speed, or so on). Furthermore, Tokyocabinet uses archives/lzmalib for lzma support, but lzmalib conflicts with archivers/xz. It means if tokyocabinet is installed with lzma, failed to install xz, and result in failure of "make extract" for packages using .lzma/.xz distfiles. This issue also resolved by optionify lzma support and disabled by default. This changes also make tokyocabinet ABI changes, so bump PKGREVISION and recursive bump. OKed to commit in freeze by wiz@.
2009-12-16mdocml-1.9.14:joerg2-6/+6
- fixed proper font cascading (no double-mode in -Tascii) - added correct scoping of \f - fixed handling of \c for all input/outputs
2009-12-15Recursive bump for libltdljoerg4-7/+8
2009-12-15Update to 1.4.20:wiz2-6/+6
Turtle serializing performance improvement by Chris Cannam librdfa RDFa parser updates to fix empty datatype, xml:lang and 1-char prefixes by Manu Sporny Fix a crash when the GRDDL parser reported errors Enable large file support for 32-bit systems Several resilience improvements by Lauri Aalto Other minor portability and bug fixes Fixed reported issues: 0000306 0000307 0000310 and 0000312.
2009-12-15Update to 1.92:wiz2-6/+6
1.92 Fri Dec 11 11:47:56 CST 2009 ack is now hosted at github: http://github.com/petdance/ack [FIXES] The --pager flag would not work. Now it does. Thanks Packy Anderson. File matching for Emacs work files that match #*# was wrong. It was checking the entire path, not just the basename. This is fixed. (http://github.com/petdance/ack/issues/closed/#issue/101) Fixed URLs that pointed to old Google Code. [ENHANCEMENTS] Added Scala support. Thanks to Dan Sully. Added .phtml as an extension for PHP. Using -f or -g now return a proper error code. If files are found, ack returns 0. If none are found, ack returns 1. This is a change in the specification, but the code didn't match the specfication anyway. No man pages are created for any of the .pm files any more.
2009-12-15Update to 1.41:wiz2-6/+6
1.41 Fri 11 Dec 2009 - Fixes a performance bug reported by Apocalypse. Single line double-quoted strings longer than 32,000ish characters resulted in the regular expression engine crashing due to excessive recursion. Changed to a different regex that will most likely only crash after 32,000 ESCAPED characters. If I could use negative look-behind assertions (I can't because I need 5.004) this whole issue would be MUCH simpler to fix.
2009-12-15Update to 1.47:wiz2-6/+6
1.47 - December 8, 2009 - Made sure XML::RSS::save() can do its thing when in taint mode: - http://rt.cpan.org/Public/Bug/Display.html?id=52334