metaproxy-moved-to-github.git
16 years agoThe configure method takes test_only flag so we can avoid
Adam Dickmeiss [Wed, 20 Feb 2008 15:07:51 +0000 (15:07 +0000)]
The configure method takes test_only flag so we can avoid
doing "real" work in tests and test of configuration in general.

16 years agoMetaproxy daemon using yaz_daemon + new options.
Adam Dickmeiss [Wed, 20 Feb 2008 12:39:34 +0000 (12:39 +0000)]
Metaproxy daemon using yaz_daemon + new options.

The metaproxy daemon server is now using yaz_daemon to faciliate
change of identify, forking etc. New options are -D, -l, -p, -u, -X.
Man page metaproxy.1 updated.

16 years agoDo not depend on libboost-program-options-dev.
Adam Dickmeiss [Wed, 20 Feb 2008 10:52:06 +0000 (10:52 +0000)]
Do not depend on libboost-program-options-dev.

16 years agoUse YAZ' options
Adam Dickmeiss [Wed, 20 Feb 2008 10:51:11 +0000 (10:51 +0000)]
Use YAZ' options

16 years agohelp to stderr
Adam Dickmeiss [Wed, 20 Feb 2008 10:49:49 +0000 (10:49 +0000)]
help to stderr

16 years agoUse YAZ' options rather than Boost options.
Adam Dickmeiss [Wed, 20 Feb 2008 10:28:23 +0000 (10:28 +0000)]
Use YAZ' options rather than Boost options.

16 years agoComment on z-target
Adam Dickmeiss [Wed, 20 Feb 2008 10:17:50 +0000 (10:17 +0000)]
Comment on z-target

16 years agoDisabeling XML schema check of config files, because they fail on yaz retrievalinfo...
Marc Cromme [Thu, 14 Feb 2008 15:31:30 +0000 (15:31 +0000)]
Disabeling XML schema check of config files, because they fail on yaz retrievalinfo nodes. Works fine with RelagNG validation. Needs more investigation before automatic XML Schema tests can be added again.

16 years agoadded very simple config file /etc/metaproxy.conf in Debian package
Marc Cromme [Thu, 14 Feb 2008 14:51:22 +0000 (14:51 +0000)]
added very simple config file /etc/metaproxy.conf in Debian package

16 years agoadded a line on Debian package
Marc Cromme [Thu, 14 Feb 2008 14:28:58 +0000 (14:28 +0000)]
added a line on Debian package

16 years agofixing lintian bragging about repeated debian names in first line of description.
Marc Cromme [Thu, 14 Feb 2008 14:25:41 +0000 (14:25 +0000)]
fixing lintian bragging about repeated debian names in first line of description.

16 years agomore cvs whoes with licenses
Marc Cromme [Thu, 14 Feb 2008 14:07:08 +0000 (14:07 +0000)]
more cvs whoes with licenses

16 years agolicense issues
Marc Cromme [Thu, 14 Feb 2008 14:06:37 +0000 (14:06 +0000)]
license issues

16 years agoadded reference to GNU GLP
Marc Cromme [Thu, 14 Feb 2008 14:03:40 +0000 (14:03 +0000)]
added reference to GNU GLP

16 years agoadded debian/copyright file
Marc Cromme [Thu, 14 Feb 2008 13:46:46 +0000 (13:46 +0000)]
added debian/copyright file

16 years agochanging GNU license file in debian dir
Marc Cromme [Thu, 14 Feb 2008 13:45:35 +0000 (13:45 +0000)]
changing GNU license file in debian dir
adding shared lib dependencies

16 years agoadded first shot on debian package
Marc Cromme [Thu, 14 Feb 2008 12:42:30 +0000 (12:42 +0000)]
added first shot on debian package

16 years agoAdded SRU holdings example config.
Adam Dickmeiss [Wed, 30 Jan 2008 11:42:01 +0000 (11:42 +0000)]
Added SRU holdings example config.

16 years agoThe x-target SRU parameter sets both vhost and database(es).
Adam Dickmeiss [Tue, 29 Jan 2008 21:25:46 +0000 (21:25 +0000)]
The x-target SRU parameter sets both vhost and database(es).

16 years agoNew feature: jilter sru_z3950 handles x-target=host .
Adam Dickmeiss [Tue, 29 Jan 2008 16:51:12 +0000 (16:51 +0000)]
New feature: jilter sru_z3950 handles x-target=host .

Filter sru_z3950 now handles x-target=host . The value (host) is
the address of a target (vhost). The vhost can be used by, for
example, z3950_client to connect to any Z39.50 server. Note that
at this stage the database is NOT set by the x-target. This must
also be done in order for this feature to be useful.

16 years agoRequire autoconf 2.60 (bug #2050)
Adam Dickmeiss [Thu, 24 Jan 2008 21:52:22 +0000 (21:52 +0000)]
Require autoconf 2.60 (bug #2050)

16 years agoFixed bug #1130: Problem with SRU server closing connection.
Adam Dickmeiss [Mon, 21 Jan 2008 16:15:00 +0000 (16:15 +0000)]
Fixed bug #1130: Problem with SRU server closing connection.

This problem is fixed by using Z_Assoc::close when the session
closes rather than just deleting and close(shutdown) the socket.
The Z_Assoc::close as of yazpp 1.1.0 should do things correctly.

16 years agoRemoved a lot of std::cout messages
Adam Dickmeiss [Mon, 21 Jan 2008 15:23:11 +0000 (15:23 +0000)]
Removed a lot of std::cout messages

16 years agoRemoved a few stdout messages
Adam Dickmeiss [Sat, 19 Jan 2008 09:02:11 +0000 (09:02 +0000)]
Removed a few stdout messages

16 years agoFilter record_transform handles OPAC record.
Adam Dickmeiss [Sun, 16 Dec 2007 22:22:49 +0000 (22:22 +0000)]
Filter record_transform handles OPAC record.

16 years agocorrected typo
Marc Cromme [Fri, 14 Dec 2007 08:09:28 +0000 (08:09 +0000)]
corrected typo

16 years agoadded explain xslt stylesheet
Marc Cromme [Fri, 14 Dec 2007 08:01:37 +0000 (08:01 +0000)]
added explain xslt stylesheet

16 years agoSort targets by order in config rather than alphabetically.
Adam Dickmeiss [Mon, 26 Nov 2007 21:45:08 +0000 (21:45 +0000)]
Sort targets by order in config rather than alphabetically.

Changed virt_db so that targets are searched in the order in which
they are listed in the config rather than by std::map (alphabetically).

16 years agoSimplify PresentJob.
Adam Dickmeiss [Mon, 26 Nov 2007 21:21:12 +0000 (21:21 +0000)]
Simplify PresentJob.

Simplify PresentJob. Get rid of member m_inside_pos and introduce
m_start. round_robin and serve_order only needs to deal with m_pos now.

16 years agoVersion 1.0.13.
Adam Dickmeiss [Sun, 18 Nov 2007 10:45:59 +0000 (10:45 +0000)]
Version 1.0.13.

16 years agoNote change about mergetype
Adam Dickmeiss [Sun, 18 Nov 2007 10:45:52 +0000 (10:45 +0000)]
Note change about mergetype

16 years agoMergetype facility for filter 'multi'.
Adam Dickmeiss [Sun, 18 Nov 2007 10:44:39 +0000 (10:44 +0000)]
Mergetype facility for filter 'multi'.

A mergetype may be given for filter 'multi' which holds one
of the values 'roundrobin' (default if omitted) or 'serveorder'.

17 years agoFixed bug #1589: tests does not compile for libboost 1.34.1.
Adam Dickmeiss [Fri, 2 Nov 2007 17:47:41 +0000 (17:47 +0000)]
Fixed bug #1589: tests does not compile for libboost 1.34.1.

We now use
#define BOOST_AUTO_TEST_MAIN
#define BOOST_TEST_DYN_LINK
#include <boost/test/auto_unit_test.hpp>
.. BOOST_AUTO_TEST_CASE( mytest) { }
.

17 years agoFixed two tests . Bug #1589.
Adam Dickmeiss [Fri, 2 Nov 2007 17:30:04 +0000 (17:30 +0000)]
Fixed two tests . Bug #1589.

17 years agoRemove blank after backslash cont
Adam Dickmeiss [Fri, 2 Nov 2007 17:25:33 +0000 (17:25 +0000)]
Remove blank after backslash cont

17 years agoVersion 1.0.12 METAPROXY.1.0.12
Adam Dickmeiss [Wed, 19 Sep 2007 10:29:01 +0000 (10:29 +0000)]
Version 1.0.12

17 years agoRemoved references to url.srw.
Adam Dickmeiss [Tue, 18 Sep 2007 19:15:53 +0000 (19:15 +0000)]
Removed references to url.srw.

17 years agoWindows installation simplified - with the use of Boost Consulting's
Adam Dickmeiss [Tue, 18 Sep 2007 18:43:17 +0000 (18:43 +0000)]
Windows installation simplified - with the use of Boost Consulting's
Boost installer.

17 years agoUpdated for The Boost Windows installer from Boost Consulting.
Adam Dickmeiss [Tue, 18 Sep 2007 18:34:28 +0000 (18:34 +0000)]
Updated for The Boost Windows installer from Boost Consulting.

17 years agoUse LDADD for extra libs rather than AM_LDFLAGS.
Adam Dickmeiss [Sun, 16 Sep 2007 22:16:48 +0000 (22:16 +0000)]
Use LDADD for extra libs rather than AM_LDFLAGS.

17 years agoFixed bug #1341: MetaProxy returning different results. Problem was that
Adam Dickmeiss [Mon, 13 Aug 2007 10:19:16 +0000 (10:19 +0000)]
Fixed bug #1341: MetaProxy returning different results. Problem was that
fix-up of record database did not normalize the database name.

17 years agoRemoved / in doc install rule to avoid double-slash (cygwin)
Adam Dickmeiss [Tue, 10 Jul 2007 09:43:06 +0000 (09:43 +0000)]
Removed / in doc install rule to avoid double-slash (cygwin)

17 years agoRemoved definition of docdir. It is set by automake already
Adam Dickmeiss [Sun, 17 Jun 2007 07:06:43 +0000 (07:06 +0000)]
Removed definition of docdir. It is set by automake already

17 years agoTowards 1.0.11 METAPROXY.1.0.11
Adam Dickmeiss [Thu, 14 Jun 2007 08:30:53 +0000 (08:30 +0000)]
Towards 1.0.11

17 years agoAppend rather than truncate for filter log files
Adam Dickmeiss [Thu, 24 May 2007 14:07:12 +0000 (14:07 +0000)]
Append rather than truncate for filter log files

17 years agoVersion 1.0.10 METAPROXY.1.0.10
Adam Dickmeiss [Wed, 23 May 2007 17:12:23 +0000 (17:12 +0000)]
Version 1.0.10

17 years agoFixed bug #1136: Access rights not enforced.
Adam Dickmeiss [Wed, 23 May 2007 14:24:10 +0000 (14:24 +0000)]
Fixed bug #1136: Access rights not enforced.

17 years agoAttributes 'access' and 'user-access' are valid categories for log
Adam Dickmeiss [Wed, 23 May 2007 06:53:00 +0000 (06:53 +0000)]
Attributes 'access' and 'user-access' are valid categories for log
filter.

17 years agoImplemented new log category 'user-access'.
Adam Dickmeiss [Tue, 22 May 2007 19:45:57 +0000 (19:45 +0000)]
Implemented new log category 'user-access'.

17 years agoExtended the access log a bit. More material is logged, such as
Adam Dickmeiss [Tue, 22 May 2007 13:03:32 +0000 (13:03 +0000)]
Extended the access log a bit. More material is logged, such as
record syntax and result set ID for search. Updated documentation
accordingly.

17 years agoUse entity idcommon rather than common
Adam Dickmeiss [Tue, 22 May 2007 11:05:45 +0000 (11:05 +0000)]
Use entity idcommon rather than common

17 years agoGPL v2.
Adam Dickmeiss [Wed, 9 May 2007 21:23:05 +0000 (21:23 +0000)]
GPL v2.

17 years agoUse proper yazpp and yaz DLLs
Adam Dickmeiss [Wed, 9 May 2007 08:23:48 +0000 (08:23 +0000)]
Use proper yazpp and yaz DLLs

17 years agoUse Odr_oid for OIDs. Requires YAZ 3.0.2
Adam Dickmeiss [Wed, 9 May 2007 07:14:28 +0000 (07:14 +0000)]
Use Odr_oid for OIDs. Requires YAZ 3.0.2

17 years agoQuoting
Adam Dickmeiss [Wed, 9 May 2007 07:12:09 +0000 (07:12 +0000)]
Quoting

17 years agoLoosen test. After sleep(1), elapsed seconds could be more than 1
Adam Dickmeiss [Fri, 20 Apr 2007 08:53:34 +0000 (08:53 +0000)]
Loosen test. After sleep(1), elapsed seconds could be more than 1
(say 2) on a loaded system!

17 years agoFix link to yaz++.
Adam Dickmeiss [Thu, 19 Apr 2007 06:55:50 +0000 (06:55 +0000)]
Fix link to yaz++.

17 years agoFixed bug #1064: Test test_thread_pool_observer hangs.
Adam Dickmeiss [Wed, 18 Apr 2007 12:06:59 +0000 (12:06 +0000)]
Fixed bug #1064: Test test_thread_pool_observer hangs.

17 years agoAnother and hopefully, last, YAZ OID DB update
Adam Dickmeiss [Mon, 16 Apr 2007 21:54:52 +0000 (21:54 +0000)]
Another and hopefully, last, YAZ OID DB update

17 years agoDepend on yaz++ 1.0.3
Adam Dickmeiss [Fri, 13 Apr 2007 09:58:25 +0000 (09:58 +0000)]
Depend on yaz++ 1.0.3

17 years agoUpdate for YAZ 3s new OID system.
Adam Dickmeiss [Fri, 13 Apr 2007 09:57:51 +0000 (09:57 +0000)]
Update for YAZ 3s new OID system.

17 years agoprotecting dereferencing of void pointer by if statement
Marc Cromme [Tue, 10 Apr 2007 11:28:51 +0000 (11:28 +0000)]
protecting dereferencing of void pointer by if statement
problem exposed by initresponse from z3950.libris.kb.se:210/libr , where
ir->implementationId was not populated

17 years agoadded section on install on RPM based systems
Marc Cromme [Fri, 30 Mar 2007 11:35:04 +0000 (11:35 +0000)]
added section on install on RPM based systems

17 years agoWRBUF updates
Adam Dickmeiss [Tue, 20 Mar 2007 07:57:54 +0000 (07:57 +0000)]
WRBUF updates

17 years agoChanged arg soap of decode_sru_request.
Adam Dickmeiss [Tue, 20 Mar 2007 07:20:16 +0000 (07:20 +0000)]
Changed arg soap of decode_sru_request.

17 years agoIndent
Adam Dickmeiss [Tue, 20 Mar 2007 07:17:40 +0000 (07:17 +0000)]
Indent

17 years agoFixed bug #975: HTTP HEAD Request kills SRU server.
Adam Dickmeiss [Tue, 20 Mar 2007 07:05:10 +0000 (07:05 +0000)]
Fixed bug #975: HTTP HEAD Request kills SRU server.

17 years agoFix for bug #948. Other problem is that frontend session was terminated
Adam Dickmeiss [Thu, 8 Mar 2007 09:43:37 +0000 (09:43 +0000)]
Fix for bug #948. Other problem is that frontend session was terminated
by SRU filter. That's not really allowed. The fix is to simply remove
calls to session().close(). This also means more efficient operation because
HTTP keep-alive is operating.

17 years agoBackend test may return dummy XML records of a given size if element set
Adam Dickmeiss [Thu, 8 Mar 2007 09:38:31 +0000 (09:38 +0000)]
Backend test may return dummy XML records of a given size if element set
"FF".

17 years agoFixed bug #948: SRU Request reliably coredumps metaproxy (possibly high
Adam Dickmeiss [Wed, 7 Mar 2007 22:50:12 +0000 (22:50 +0000)]
Fixed bug #948: SRU Request reliably coredumps metaproxy (possibly high
value for maximumRecords). Problem was due to result sets being
truncated and that exposed an array bound violation in the multi filter.

17 years agoAssume running in sub directory (such as src or etc)
Adam Dickmeiss [Wed, 7 Mar 2007 22:17:51 +0000 (22:17 +0000)]
Assume running in sub directory (such as src or etc)

17 years agoOmit check for C++ headers. Assumes these are present due to Boost
Adam Dickmeiss [Mon, 26 Feb 2007 13:33:57 +0000 (13:33 +0000)]
Omit check for C++ headers. Assumes these are present due to Boost
presumably already installed.

17 years agoPut emacs local file variables at the end. Reindent.
Adam Dickmeiss [Mon, 26 Feb 2007 13:33:20 +0000 (13:33 +0000)]
Put emacs local file variables at the end. Reindent.

17 years agoMove YAZ tests before Boost thread tests so we set some options
Adam Dickmeiss [Mon, 26 Feb 2007 13:30:59 +0000 (13:30 +0000)]
Move YAZ tests before Boost thread tests so we set some options
right WRT threading. Use AC_LANG(C) instead of AC_LANG(C++) so that
tests by default are in C mode . If not, checks such as
AC_CHECK_LIB($ax_lib, main) fails on Sun Studio C which complains
about retursive calls to main.

17 years agoInclude signal.h for SIGPIPE etc
Adam Dickmeiss [Mon, 26 Feb 2007 13:19:23 +0000 (13:19 +0000)]
Include signal.h for SIGPIPE etc

17 years agoupdated boost autoconf checks - hopefully now running on FreeBSD also
Marc Cromme [Mon, 26 Feb 2007 11:40:03 +0000 (11:40 +0000)]
updated boost autoconf checks - hopefully now running on FreeBSD also

17 years agoset requires boost C++ version from 1.33 to 1.32 such that boost installation on...
Marc Cromme [Sat, 24 Feb 2007 10:56:55 +0000 (10:56 +0000)]
set requires boost C++ version from 1.33 to 1.32 such that boost installation on test.indexdata is sufficient

17 years agoadded BOOST_LDFLAGS
Marc Cromme [Fri, 23 Feb 2007 20:37:21 +0000 (20:37 +0000)]
added BOOST_LDFLAGS

17 years agofound better way to set $LIBS with boost libs flags in a general way
Marc Cromme [Fri, 23 Feb 2007 19:53:15 +0000 (19:53 +0000)]
found better way to set $LIBS with boost libs flags in a general way

17 years agoadded missing $LIBS linking actions for boost - there must be a better way ??
Marc Cromme [Fri, 23 Feb 2007 19:17:25 +0000 (19:17 +0000)]
added missing $LIBS linking actions for boost - there must be a better way ??

17 years agoremoved unnexessary output to std::cout
Marc Cromme [Fri, 23 Feb 2007 18:58:44 +0000 (18:58 +0000)]
removed unnexessary output to std::cout

17 years agoupdated SRU config file - no APDU logs any more
Marc Cromme [Fri, 23 Feb 2007 18:58:09 +0000 (18:58 +0000)]
updated SRU config file - no APDU logs any more

17 years agoadded m4 macros for boost C++ headers and libs, hopefully making better autoconf...
Marc Cromme [Fri, 23 Feb 2007 18:55:55 +0000 (18:55 +0000)]
added m4 macros for boost C++ headers and libs, hopefully making better autoconf tests than our own homebrewn tests

17 years agoAvoid double call to write/send in test
Adam Dickmeiss [Wed, 21 Feb 2007 14:01:27 +0000 (14:01 +0000)]
Avoid double call to write/send in test

17 years agoFixed bug #895: Metaproxy fails some 2 tests on flurry. The reason
Adam Dickmeiss [Mon, 19 Feb 2007 12:51:08 +0000 (12:51 +0000)]
Fixed bug #895: Metaproxy fails some 2 tests on flurry. The reason
for tests failing was due to a an exisiting service on port 9123 which
is used temporarily for making a "pipe" for ThreadPoolSocketObserver
class implementation. The code now uses a regular pipe on Unix and
only a real socket on Windows. However, the code is updated to use
write/read on Unix in this case, since send/recv does not work on pipes.
OTOH, on Windows only send/recv are supported on sockets.

17 years agoRephrase a bit.
Adam Dickmeiss [Sat, 17 Feb 2007 13:26:12 +0000 (13:26 +0000)]
Rephrase a bit.

17 years agoDescribe supported configuration options.
Adam Dickmeiss [Sat, 17 Feb 2007 13:24:16 +0000 (13:24 +0000)]
Describe supported configuration options.

17 years agoOnly run XSD checks for a "new" Libxml2.
Adam Dickmeiss [Sat, 17 Feb 2007 13:03:29 +0000 (13:03 +0000)]
Only run XSD checks for a "new" Libxml2.

17 years agoMake chapter with table that lists facilities supported by either
Adam Dickmeiss [Sat, 17 Feb 2007 12:28:11 +0000 (12:28 +0000)]
Make chapter with table that lists facilities supported by either
YAZ Proxy or Metaproxy.

17 years agoRework check-local rule
Adam Dickmeiss [Fri, 16 Feb 2007 09:00:42 +0000 (09:00 +0000)]
Rework check-local rule

17 years agoremoved output to std::out
Marc Cromme [Thu, 8 Feb 2007 09:27:32 +0000 (09:27 +0000)]
removed output to std::out

17 years agoremoved GET parameters after '?' to assure that SRU GET get's the right database...
Marc Cromme [Thu, 8 Feb 2007 09:22:32 +0000 (09:22 +0000)]
removed GET parameters after '?' to assure that SRU GET get's the right database name.
removed dead code

17 years agomultiple port elements
Marc Cromme [Tue, 6 Feb 2007 13:28:08 +0000 (13:28 +0000)]
multiple port elements

17 years agoReorder subdirs so that schemas are generated before etc is checked
Adam Dickmeiss [Thu, 1 Feb 2007 08:00:49 +0000 (08:00 +0000)]
Reorder subdirs so that schemas are generated before etc is checked

17 years agoincluding missing file - thanks to automagic build system
Marc Cromme [Thu, 1 Feb 2007 07:49:20 +0000 (07:49 +0000)]
including missing file - thanks to automagic build system

17 years agoScale multi picture differently and with options that works with
Adam Dickmeiss [Wed, 31 Jan 2007 11:16:57 +0000 (11:16 +0000)]
Scale multi picture differently and with options that works with
older version of inkscape.

17 years agoAdded support for configurable default/force target/vhost for module Z39.50
Adam Dickmeiss [Fri, 26 Jan 2007 14:49:21 +0000 (14:49 +0000)]
Added support for configurable default/force target/vhost for module Z39.50
client module.

17 years agoCorrect schema WRT to 'marc' and 'xslt' elements. These may be mixed
Adam Dickmeiss [Fri, 26 Jan 2007 14:46:31 +0000 (14:46 +0000)]
Correct schema WRT to 'marc' and 'xslt' elements. These may be mixed
and repeated within the 'retrival' element.

17 years agoBump version to 1.0.9
Adam Dickmeiss [Thu, 25 Jan 2007 18:49:26 +0000 (18:49 +0000)]
Bump version to 1.0.9

17 years agoRequire yaz++ 1.0.2 METAPROXY.1.0.8
Adam Dickmeiss [Thu, 25 Jan 2007 18:37:32 +0000 (18:37 +0000)]
Require yaz++ 1.0.2