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
Marc Cromme [Fri, 30 Mar 2007 11:35:04 +0000 (11:35 +0000)]
added section on install on RPM based systems
Adam Dickmeiss [Tue, 20 Mar 2007 07:57:54 +0000 (07:57 +0000)]
WRBUF updates
Adam Dickmeiss [Tue, 20 Mar 2007 07:20:16 +0000 (07:20 +0000)]
Changed arg soap of decode_sru_request.
Adam Dickmeiss [Tue, 20 Mar 2007 07:17:40 +0000 (07:17 +0000)]
Indent
Adam Dickmeiss [Tue, 20 Mar 2007 07:05:10 +0000 (07:05 +0000)]
Fixed bug #975: HTTP HEAD Request kills SRU server.
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.
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".
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.
Adam Dickmeiss [Wed, 7 Mar 2007 22:17:51 +0000 (22:17 +0000)]
Assume running in sub directory (such as src or etc)
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.
Adam Dickmeiss [Mon, 26 Feb 2007 13:33:20 +0000 (13:33 +0000)]
Put emacs local file variables at the end. Reindent.
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.
Adam Dickmeiss [Mon, 26 Feb 2007 13:19:23 +0000 (13:19 +0000)]
Include signal.h for SIGPIPE etc
Marc Cromme [Mon, 26 Feb 2007 11:40:03 +0000 (11:40 +0000)]
updated boost autoconf checks - hopefully now running on FreeBSD also
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
Marc Cromme [Fri, 23 Feb 2007 20:37:21 +0000 (20:37 +0000)]
added BOOST_LDFLAGS
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
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 ??
Marc Cromme [Fri, 23 Feb 2007 18:58:44 +0000 (18:58 +0000)]
removed unnexessary output to std::cout
Marc Cromme [Fri, 23 Feb 2007 18:58:09 +0000 (18:58 +0000)]
updated SRU config file - no APDU logs any more
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
Adam Dickmeiss [Wed, 21 Feb 2007 14:01:27 +0000 (14:01 +0000)]
Avoid double call to write/send in test
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.
Adam Dickmeiss [Sat, 17 Feb 2007 13:26:12 +0000 (13:26 +0000)]
Rephrase a bit.
Adam Dickmeiss [Sat, 17 Feb 2007 13:24:16 +0000 (13:24 +0000)]
Describe supported configuration options.
Adam Dickmeiss [Sat, 17 Feb 2007 13:03:29 +0000 (13:03 +0000)]
Only run XSD checks for a "new" Libxml2.
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.
Adam Dickmeiss [Fri, 16 Feb 2007 09:00:42 +0000 (09:00 +0000)]
Rework check-local rule
Marc Cromme [Thu, 8 Feb 2007 09:27:32 +0000 (09:27 +0000)]
removed output to std::out
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
Marc Cromme [Tue, 6 Feb 2007 13:28:08 +0000 (13:28 +0000)]
multiple port elements
Adam Dickmeiss [Thu, 1 Feb 2007 08:00:49 +0000 (08:00 +0000)]
Reorder subdirs so that schemas are generated before etc is checked
Marc Cromme [Thu, 1 Feb 2007 07:49:20 +0000 (07:49 +0000)]
including missing file - thanks to automagic build system
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.
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.
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.
Adam Dickmeiss [Thu, 25 Jan 2007 18:49:26 +0000 (18:49 +0000)]
Bump version to 1.0.9
Adam Dickmeiss [Thu, 25 Jan 2007 18:37:32 +0000 (18:37 +0000)]
Require yaz++ 1.0.2
Adam Dickmeiss [Thu, 25 Jan 2007 18:28:51 +0000 (18:28 +0000)]
Towards 1.0.8
Adam Dickmeiss [Thu, 25 Jan 2007 18:20:09 +0000 (18:20 +0000)]
Towards 1.0.8.
Adam Dickmeiss [Thu, 25 Jan 2007 18:18:58 +0000 (18:18 +0000)]
Reformat a bit.
Adam Dickmeiss [Thu, 25 Jan 2007 16:25:33 +0000 (16:25 +0000)]
Update for new PDF rules.
Adam Dickmeiss [Thu, 25 Jan 2007 14:05:54 +0000 (14:05 +0000)]
Year 2007.
Adam Dickmeiss [Thu, 25 Jan 2007 13:57:40 +0000 (13:57 +0000)]
Use bounce filter in proper route location.
Adam Dickmeiss [Thu, 25 Jan 2007 13:55:11 +0000 (13:55 +0000)]
SRU/Z39.50 configuration uses session_shared. Illustrate the usage of routes
too.
Adam Dickmeiss [Thu, 25 Jan 2007 13:52:56 +0000 (13:52 +0000)]
Z39.50 init handler can generate SRU diagnostics.
Adam Dickmeiss [Thu, 25 Jan 2007 12:57:08 +0000 (12:57 +0000)]
Fixed un-initalized variable error_code. Occurred in case where filter
receives init response with "failure" and the init response package did
not include diagnostic(s).
Adam Dickmeiss [Thu, 25 Jan 2007 11:28:40 +0000 (11:28 +0000)]
Return diagnostic "Database does not exist" (235), when a database is selected
which is not even configured. Filter returns "Database unavailable" if
a backend session could not be initiated.
Adam Dickmeiss [Thu, 25 Jan 2007 11:25:20 +0000 (11:25 +0000)]
Element 'marc' is optional
Adam Dickmeiss [Thu, 25 Jan 2007 11:21:56 +0000 (11:21 +0000)]
For session_shared allow resultset and session to be omitted
Adam Dickmeiss [Thu, 25 Jan 2007 10:35:05 +0000 (10:35 +0000)]
Make rule for PDF generated by jade (metaproxyj.pdf)
Adam Dickmeiss [Thu, 25 Jan 2007 10:34:27 +0000 (10:34 +0000)]
Fix link
Adam Dickmeiss [Thu, 25 Jan 2007 10:28:06 +0000 (10:28 +0000)]
Configurations assume current working directory is sibling to etc/xml; such
as src, bin or etc itself.
Marc Cromme [Thu, 18 Jan 2007 12:39:41 +0000 (12:39 +0000)]
added chapter on SRU server
Marc Cromme [Thu, 18 Jan 2007 11:32:42 +0000 (11:32 +0000)]
added cql_rpn module docs
added section on XInclude
updated all module headers to be more conformant in apprearence
included common XML entities in all XMl files
Adam Dickmeiss [Thu, 18 Jan 2007 09:39:38 +0000 (09:39 +0000)]
session_shared
Marc Cromme [Thu, 18 Jan 2007 09:24:47 +0000 (09:24 +0000)]
preable updated with SRU
Cvs: ----------------------------------------------------------------------
Adam Dickmeiss [Thu, 18 Jan 2007 09:20:52 +0000 (09:20 +0000)]
For PDF documentation, use dblatex instead of pdfjadetex
Adam Dickmeiss [Thu, 18 Jan 2007 09:12:00 +0000 (09:12 +0000)]
Document session_shared
Marc Cromme [Wed, 17 Jan 2007 14:59:18 +0000 (14:59 +0000)]
fixing bug #822 SRU diagnostic missing when making CQL-to-PQF errors
factorizing dignostic code into new function bool z3950_to_srw_diagnostics_ok(...)
Marc Cromme [Tue, 16 Jan 2007 10:00:06 +0000 (10:00 +0000)]
added record conversion filter to sru server config setup
Marc Cromme [Tue, 16 Jan 2007 09:23:24 +0000 (09:23 +0000)]
updated XML RelaxNG schema with filter 'cql_rpn' section
simplified SRU server config file
Marc Cromme [Tue, 16 Jan 2007 09:04:54 +0000 (09:04 +0000)]
removed unneeded yaz log messages and yaz.h header inclusion
Marc Cromme [Tue, 16 Jan 2007 08:49:05 +0000 (08:49 +0000)]
throwing out 9 unused header files and many lines of out-commented
unused code
Marc Cromme [Mon, 15 Jan 2007 15:07:59 +0000 (15:07 +0000)]
renamed methods and restructured code to follow coding guidelines set in filter-template.cpp
added 'cql_rpn' filter to sru server config
added cql2pqf.txt text based config file
still missing documentation
still missing removing of unused, commented-out code in implementation file
Adam Dickmeiss [Fri, 12 Jan 2007 15:43:00 +0000 (15:43 +0000)]
Fix various link to reference. Added partinfo element for reference
introduction. It is needed, but only jade complains.
Adam Dickmeiss [Fri, 12 Jan 2007 10:24:25 +0000 (10:24 +0000)]
Added filter_cql_to_rpn.obj
Adam Dickmeiss [Fri, 12 Jan 2007 10:17:23 +0000 (10:17 +0000)]
Added quick comment about config
Adam Dickmeiss [Fri, 12 Jan 2007 10:16:21 +0000 (10:16 +0000)]
Implemented cql_to_rpn filter. Requires new yazpp from today's CVS.
Adam Dickmeiss [Thu, 11 Jan 2007 13:56:29 +0000 (13:56 +0000)]
Fixed problem introduced in configure.ac 1.44 regarding --with-boost
option.
Adam Dickmeiss [Thu, 11 Jan 2007 13:23:09 +0000 (13:23 +0000)]
MP version in bookinfo
Adam Dickmeiss [Thu, 11 Jan 2007 12:55:09 +0000 (12:55 +0000)]
Fix win32 compilation by removing macro 'max' if already defined
(defined later in <limits>).
Adam Dickmeiss [Thu, 11 Jan 2007 12:29:47 +0000 (12:29 +0000)]
Added for win32.
Adam Dickmeiss [Thu, 11 Jan 2007 12:29:02 +0000 (12:29 +0000)]
More fixes for win32 fnames
Marc Cromme [Mon, 8 Jan 2007 13:07:38 +0000 (13:07 +0000)]
updated XML framework to reflect move of SRU explain from zeerex_explain filter to sru_z3950 filter
Marc Cromme [Mon, 8 Jan 2007 12:27:27 +0000 (12:27 +0000)]
updates zeerex_explain and sru_z3950 filter docs to reflect the move of SRU explain functionality to the later
Marc Cromme [Mon, 8 Jan 2007 11:10:06 +0000 (11:10 +0000)]
included SRU explain functionality in sru_z3950 filter
removed unnecessary debug output statements
Marc Cromme [Mon, 8 Jan 2007 10:17:45 +0000 (10:17 +0000)]
added example explain record
Marc Cromme [Sun, 7 Jan 2007 15:55:02 +0000 (15:55 +0000)]
Added output of XML config dom tree to SRU explain. Still need to merge zeerex_explain and sru_z3950 filter into one filter.
Marc Cromme [Sun, 7 Jan 2007 15:52:50 +0000 (15:52 +0000)]
updated news entry for filters load_balance, zeerex_explain, sru_z3950, record_transform, added news entry for RNC, RNG and XML Schemas, added entry for XSLT ressources
Marc Cromme [Sun, 7 Jan 2007 15:48:26 +0000 (15:48 +0000)]
updated windows build to include the filters zeerex_explain and load_balance
Marc Cromme [Sun, 7 Jan 2007 00:41:18 +0000 (00:41 +0000)]
more work on SRU explain filters
let SRU explain packages pass through sru_z3950 filter
catch SRU explain packages in zeerex_explain filter
depreciate build_simple_explain() function
introduced build_sru_explain() function which does it all
introduced SRUServerInfo class used to determine SRU database, host and port _before_ parsing of SRU request did succeed, as one has to know which of multiple databases expain to send in case that SRU request is unparsable
still missing actual dump of XML dom explain from correct database
recognized that splitting SRU explain in zeerex_explain filter and SRU searchRetrieve in sru_z3950 filter is a bad idea, as double work is needed to parse the same explain XML dom info, but for sake of this checkin these are kept separated. planned to move SRU explain to sru_z3950 filter, and use zeerex_explain filter for z3950 packages zeerex explain operation only (maybe making mapping from explain classic to zeerex explain ??)
Marc Cromme [Fri, 5 Jan 2007 12:27:23 +0000 (12:27 +0000)]
more work on zeerez_explain filter
Marc Cromme [Fri, 5 Jan 2007 12:26:50 +0000 (12:26 +0000)]
more work on zeerex explain filter, to be continued
Marc Cromme [Fri, 5 Jan 2007 11:28:48 +0000 (11:28 +0000)]
allowing any content in zeerex_explain filter
need to write a nice zeerex explain RelaxNG syntax, but not now ..
Marc Cromme [Fri, 5 Jan 2007 10:58:30 +0000 (10:58 +0000)]
added zeerex_explain config filter section
Marc Cromme [Fri, 5 Jan 2007 10:56:17 +0000 (10:56 +0000)]
added documentation on zeerex_explain filter
Marc Cromme [Thu, 4 Jan 2007 13:22:56 +0000 (13:22 +0000)]
removed unnecessary debug output statements
Marc Cromme [Thu, 4 Jan 2007 13:22:16 +0000 (13:22 +0000)]
changed back to z38.50 client backend
Marc Cromme [Thu, 4 Jan 2007 13:03:17 +0000 (13:03 +0000)]
counting dead connections correctly
Marc Cromme [Wed, 3 Jan 2007 16:25:24 +0000 (16:25 +0000)]
counting dead backends correctly
still never decreasing count on dead backends, which means they will be
less and less accessed over time.
Marc Cromme [Wed, 3 Jan 2007 15:34:50 +0000 (15:34 +0000)]
added documentation on new filter load_balance
Marc Cromme [Wed, 3 Jan 2007 15:03:55 +0000 (15:03 +0000)]
first working version of load balancing filter
still needs testing for race conditions and wrong mutex locks
there seems to be a slight error in the counting of dead connections, needs improvement
also removing of debug output is needed
Marc Cromme [Tue, 2 Jan 2007 15:35:36 +0000 (15:35 +0000)]
added first shot on load balance filter which removes all but one vhost from Z39.50 init package based on nice load balancing algorithm.
Missing is still the gathering of workload data and the implementatin of the nice algorithm, but the framework is up and running
Marc Cromme [Sat, 30 Dec 2006 23:41:16 +0000 (23:41 +0000)]
added a sketch of some unified config stuff for yaz-frontend, zebra, metaproxy, retrievalinfo, etc .. very experimental yet ..
Marc Cromme [Fri, 29 Dec 2006 15:11:20 +0000 (15:11 +0000)]
added zeerex-explain filter part
Marc Cromme [Thu, 28 Dec 2006 14:59:43 +0000 (14:59 +0000)]
added first version of ZeeRex Explain filter for SRU explain
need much more configuration work to be done
Marc Cromme [Thu, 28 Dec 2006 13:26:06 +0000 (13:26 +0000)]
moved common SRU functionality from SRU_to_Z3950 class methods to sru_util.hpp and sru_util.cpp general functions
Marc Cromme [Thu, 28 Dec 2006 12:18:01 +0000 (12:18 +0000)]
removed debug output print statements