metaproxy-moved-to-github.git
14 years agoCentOS 5 RPM: init, logrotate works
Adam Dickmeiss [Wed, 8 Sep 2010 12:34:20 +0000 (08:34 -0400)]
CentOS 5 RPM: init, logrotate works

14 years agoAdd logrotate script
Adam Dickmeiss [Wed, 8 Sep 2010 12:26:36 +0000 (08:26 -0400)]
Add logrotate script

14 years agoBeginnings on CentOS 5 RPM
Adam Dickmeiss [Wed, 8 Sep 2010 11:58:52 +0000 (07:58 -0400)]
Beginnings on CentOS 5 RPM

14 years agoVersion 1.2.1, source code only release. v1.2.1
Adam Dickmeiss [Wed, 18 Aug 2010 12:31:09 +0000 (14:31 +0200)]
Version 1.2.1, source code only release.

14 years agoUpdate m4
Adam Dickmeiss [Wed, 18 Aug 2010 11:19:19 +0000 (13:19 +0200)]
Update m4

14 years agoVersion 1.2.0 v1.2.0
Adam Dickmeiss [Fri, 9 Jul 2010 07:33:03 +0000 (09:33 +0200)]
Version 1.2.0

14 years agoMajor API version 3
Adam Dickmeiss [Fri, 9 Jul 2010 07:29:26 +0000 (09:29 +0200)]
Major API version 3

14 years agoIntroduce filter method 'start'
Adam Dickmeiss [Fri, 9 Jul 2010 07:12:30 +0000 (09:12 +0200)]
Introduce filter method 'start'

Method 'start' can do initialization for a filter . It is
called after fork and is good for creating threads etc. Doing
that for method 'configure' is bad (threads are stopped when
fork occur).

14 years agoAlways log if init script fails to start or stop
Adam Dickmeiss [Thu, 8 Jul 2010 11:31:51 +0000 (13:31 +0200)]
Always log if init script fails to start or stop

This fixes bug #3309. The init.d script will log despite the
value of VERBOSE if start-stop-daemon returns exit code 2.

14 years agoFix version mentioned in NEWS
Adam Dickmeiss [Wed, 30 Jun 2010 13:25:35 +0000 (15:25 +0200)]
Fix version mentioned in NEWS

14 years agoRemove etch, jaunty, intrepid, hardy
Adam Dickmeiss [Wed, 30 Jun 2010 13:18:59 +0000 (15:18 +0200)]
Remove etch, jaunty, intrepid, hardy

14 years agoVersion 1.1.7 v1.1.7
Adam Dickmeiss [Wed, 30 Jun 2010 12:45:01 +0000 (14:45 +0200)]
Version 1.1.7

14 years agoNEWS
Adam Dickmeiss [Wed, 30 Jun 2010 12:43:45 +0000 (14:43 +0200)]
NEWS

14 years agosru_z3950: Throw diagn. if x-pquery parsing fails
Adam Dickmeiss [Wed, 30 Jun 2010 12:39:23 +0000 (14:39 +0200)]
sru_z3950: Throw diagn. if x-pquery parsing fails

14 years agomulti: init handshake always return init response
Adam Dickmeiss [Wed, 30 Jun 2010 12:30:02 +0000 (14:30 +0200)]
multi: init handshake always return init response

14 years agovirt_db: fix uninit error_code.
Adam Dickmeiss [Wed, 30 Jun 2010 12:26:23 +0000 (14:26 +0200)]
virt_db: fix uninit error_code.

The init_backend, the reference variable error_code, could be
unset in some cases. This patch fixes this. It also is more careful
not saving a backend to m_backend_list unless init result is
OK and connection is not closed.

14 years agosession_shared: init fail: close backend.
Adam Dickmeiss [Wed, 30 Jun 2010 12:23:34 +0000 (14:23 +0200)]
session_shared: init fail: close backend.

Ensure that backend session is closed if session_shared filter receives
init rejected and backend session is not closed already.

14 years agoAdd cast to avoid warning
Adam Dickmeiss [Fri, 25 Jun 2010 11:47:08 +0000 (13:47 +0200)]
Add cast to avoid warning

14 years agoZ39.50 client: fix NULL ptr reference.
Adam Dickmeiss [Thu, 24 Jun 2010 13:55:38 +0000 (15:55 +0200)]
Z39.50 client: fix NULL ptr reference.

The NULL ptr reference could occur if two or more new client was
checked for number of sockets . In this case host in Z39.50 Assoc
would be NULL - prior to call to method 'client'.

14 years agoVersion 1.1.6 v1.1.6
Adam Dickmeiss [Mon, 21 Jun 2010 13:02:26 +0000 (15:02 +0200)]
Version 1.1.6

14 years agoUpdate NEWS
Adam Dickmeiss [Mon, 21 Jun 2010 13:01:47 +0000 (15:01 +0200)]
Update NEWS

14 years agoUse _exit in SIGTERM handler, fixes bug #3497.
Adam Dickmeiss [Mon, 21 Jun 2010 12:57:16 +0000 (14:57 +0200)]
Use _exit in SIGTERM handler, fixes bug #3497.

14 years agoRefactor to use YAZ_SRW-diagnostic codes
Adam Dickmeiss [Mon, 21 Jun 2010 11:23:36 +0000 (13:23 +0200)]
Refactor to use YAZ_SRW-diagnostic codes

14 years agoReformat
Adam Dickmeiss [Mon, 21 Jun 2010 11:20:05 +0000 (13:20 +0200)]
Reformat

14 years agoFix SEGV in SRU filter (bug #3495).
Adam Dickmeiss [Mon, 21 Jun 2010 11:14:04 +0000 (13:14 +0200)]
Fix SEGV in SRU filter (bug #3495).

When the sru_z3950 filter received a non-surrogate diagnostic, it
produced an uninitialized SRU record list. This is fixed by this
commit by simply defaulting number of records in SRU record list to
0 (until all "good" records are received).

14 years agoRequire yazpp 1.2.3 (with no *.la files) v1.1.5
Adam Dickmeiss [Tue, 15 Jun 2010 12:52:37 +0000 (14:52 +0200)]
Require yazpp 1.2.3 (with no *.la files)

14 years agoVersion 1.1.5
Adam Dickmeiss [Tue, 15 Jun 2010 12:26:38 +0000 (14:26 +0200)]
Version 1.1.5

14 years agoFilter record_transform: remove stdout message
Adam Dickmeiss [Tue, 15 Jun 2010 12:21:31 +0000 (14:21 +0200)]
Filter record_transform: remove stdout message

14 years agoFix limit filter WRT 'retrieve limit' and refactor
Adam Dickmeiss [Tue, 15 Jun 2010 11:06:44 +0000 (13:06 +0200)]
Fix limit filter WRT 'retrieve limit' and refactor

14 years agovirt_db refactor code WRT target select
Adam Dickmeiss [Tue, 15 Jun 2010 10:55:42 +0000 (12:55 +0200)]
virt_db refactor code WRT target select

14 years agoFix bug #3487: Mix of result sets ..
Adam Dickmeiss [Tue, 15 Jun 2010 10:49:27 +0000 (12:49 +0200)]
Fix bug #3487: Mix of result sets ..

In filter virt_db, when result sets are replaced we pick an existing
backend and check for result set naming and number of result sets on
this backend.

14 years agoDetect and throw Present Out of Range diagnostic
Adam Dickmeiss [Wed, 2 Jun 2010 13:50:18 +0000 (15:50 +0200)]
Detect and throw Present Out of Range diagnostic

14 years agoOmit CGI filter on Windows
Adam Dickmeiss [Wed, 19 May 2010 14:11:19 +0000 (16:11 +0200)]
Omit CGI filter on Windows

14 years agoAdd Ubuntu lucid v1.1.4
Adam Dickmeiss [Tue, 11 May 2010 11:47:54 +0000 (13:47 +0200)]
Add Ubuntu lucid

14 years agoVersion 1.1.4 . Require yazpp 1.2.2
Adam Dickmeiss [Tue, 11 May 2010 11:44:43 +0000 (13:44 +0200)]
Version 1.1.4 . Require yazpp 1.2.2

14 years agoDo not depend on libgnutls-dev (libyaz4-dev does)
Adam Dickmeiss [Tue, 11 May 2010 12:13:08 +0000 (14:13 +0200)]
Do not depend on libgnutls-dev (libyaz4-dev does)

14 years agoMore news
Adam Dickmeiss [Tue, 11 May 2010 12:12:46 +0000 (14:12 +0200)]
More news

14 years agoLog Git SHA-1 for info (-V) and daemon start
Adam Dickmeiss [Tue, 11 May 2010 08:49:47 +0000 (10:49 +0200)]
Log Git SHA-1 for info (-V) and daemon start

14 years agoReformat
Adam Dickmeiss [Tue, 11 May 2010 08:23:17 +0000 (10:23 +0200)]
Reformat

14 years agoLog diagnostics regardless of searchStatus
Adam Dickmeiss [Tue, 11 May 2010 08:16:54 +0000 (10:16 +0200)]
Log diagnostics regardless of searchStatus

14 years agoAdd include of signal.h for kill(3)
Adam Dickmeiss [Tue, 11 May 2010 07:33:24 +0000 (09:33 +0200)]
Add include of signal.h for kill(3)

14 years agoUpdate m4 v1.1.3
Adam Dickmeiss [Wed, 21 Apr 2010 12:36:54 +0000 (14:36 +0200)]
Update m4

14 years agoAdd IDMETA
Adam Dickmeiss [Wed, 21 Apr 2010 12:36:16 +0000 (14:36 +0200)]
Add IDMETA

14 years agoVersion 1.1.3
Adam Dickmeiss [Wed, 21 Apr 2010 12:32:23 +0000 (14:32 +0200)]
Version 1.1.3

14 years agosru_z3950: multiple present requests as needed
Adam Dickmeiss [Wed, 21 Apr 2010 12:28:01 +0000 (14:28 +0200)]
sru_z3950: multiple present requests as needed

The SRU to Z39.50 filter does repeated Z39.50 present requests
to fetch all records. Needed when a Z39.50 server returns partial
results (due to message size limits).

14 years agoExtend presentResponse logging with proper status
Adam Dickmeiss [Wed, 21 Apr 2010 12:00:45 +0000 (14:00 +0200)]
Extend presentResponse logging with proper status

14 years agoDocument all frontend_net configuration
Adam Dickmeiss [Wed, 7 Apr 2010 08:34:20 +0000 (10:34 +0200)]
Document all frontend_net configuration

14 years agoUpdate schema for CGI filter configuration
Adam Dickmeiss [Fri, 19 Mar 2010 15:07:24 +0000 (16:07 +0100)]
Update schema for CGI filter configuration

14 years agoVersion 1.1.2 v1.1.2
Adam Dickmeiss [Thu, 18 Mar 2010 14:13:03 +0000 (15:13 +0100)]
Version 1.1.2

14 years agonmake: sort OBJs
Adam Dickmeiss [Thu, 18 Mar 2010 13:54:05 +0000 (14:54 +0100)]
nmake: sort OBJs

14 years agoMetaproxy program kills all children on SIGTERM
Adam Dickmeiss [Thu, 18 Mar 2010 13:43:10 +0000 (14:43 +0100)]
Metaproxy program kills all children on SIGTERM

Metaproxy now kills all child processes that are spawned by
modules (in case of fork, exec).

14 years agoFix init of member var m_connect_max
Adam Dickmeiss [Thu, 18 Mar 2010 12:26:18 +0000 (13:26 +0100)]
Fix init of member var m_connect_max

14 years agoCGI filter destructor kills active child processes
Adam Dickmeiss [Wed, 17 Mar 2010 14:06:54 +0000 (15:06 +0100)]
CGI filter destructor kills active child processes

14 years agoCapture SIGTERM in main prog and destroy filters
Adam Dickmeiss [Wed, 17 Mar 2010 13:30:58 +0000 (14:30 +0100)]
Capture SIGTERM in main prog and destroy filters

14 years agoClose files in CGI child to close bind sock
Adam Dickmeiss [Tue, 16 Mar 2010 15:14:44 +0000 (16:14 +0100)]
Close files in CGI child to close bind sock

14 years agoBeginnings of CGI filter
Adam Dickmeiss [Tue, 16 Mar 2010 12:39:35 +0000 (13:39 +0100)]
Beginnings of CGI filter

14 years agolibmetaproxy2-dev: depends on libboost-thread-dev
Adam Dickmeiss [Fri, 29 Jan 2010 13:25:26 +0000 (14:25 +0100)]
libmetaproxy2-dev: depends on libboost-thread-dev

14 years agostart-stop-daemon: stop using PID only v1.1.1
Adam Dickmeiss [Thu, 28 Jan 2010 11:34:56 +0000 (12:34 +0100)]
start-stop-daemon: stop using PID only

14 years agoVersion 1.1.1
Adam Dickmeiss [Thu, 28 Jan 2010 11:31:50 +0000 (12:31 +0100)]
Version 1.1.1

14 years agoInclude conf from filters-enabled
Adam Dickmeiss [Thu, 28 Jan 2010 11:28:26 +0000 (12:28 +0100)]
Include conf from filters-enabled

Debian package now installs /etc/metaproxy/metaproxy.xml which
includes all XML files /etc/metaproxy/filters-enabled .
The include facility uses YAZ' yaz_xml_include_simple (YAZ 4.0.1).

14 years agoUpdate gitignore for metaproxy2 pkg v1.1.0
Adam Dickmeiss [Wed, 20 Jan 2010 11:14:41 +0000 (12:14 +0100)]
Update gitignore for metaproxy2 pkg

14 years agoVersion 1.1.0
Adam Dickmeiss [Wed, 20 Jan 2010 11:10:30 +0000 (12:10 +0100)]
Version 1.1.0

14 years agoUpdate news
Adam Dickmeiss [Wed, 20 Jan 2010 11:10:02 +0000 (12:10 +0100)]
Update news

14 years agoPackage now includes modules directory
Adam Dickmeiss [Thu, 14 Jan 2010 16:10:27 +0000 (17:10 +0100)]
Package now includes modules directory

MP modules are located in /usr/lib/metaproxy/modules and is
given in config installed by Debian package metaproxy.

14 years agoUpdate headers for example
Adam Dickmeiss [Thu, 14 Jan 2010 16:09:42 +0000 (17:09 +0100)]
Update headers for example

14 years agoRemove unused class XMLError1
Adam Dickmeiss [Thu, 14 Jan 2010 15:34:18 +0000 (16:34 +0100)]
Remove unused class XMLError1

14 years agoUpdate m4
Adam Dickmeiss [Thu, 14 Jan 2010 15:14:12 +0000 (16:14 +0100)]
Update m4

14 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/metaproxy
Adam Dickmeiss [Thu, 14 Jan 2010 13:09:29 +0000 (14:09 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/metaproxy

14 years agodoc-clean: removes manref.xml
Adam Dickmeiss [Thu, 14 Jan 2010 12:15:27 +0000 (13:15 +0100)]
doc-clean: removes manref.xml

14 years agoUse yaz4 DLLs
Adam Dickmeiss [Wed, 13 Jan 2010 21:18:37 +0000 (22:18 +0100)]
Use yaz4 DLLs

14 years agoInclude win headers for send/recv
Adam Dickmeiss [Wed, 13 Jan 2010 21:18:10 +0000 (22:18 +0100)]
Include win headers for send/recv

14 years agoUse Win32 Sleep
Adam Dickmeiss [Wed, 13 Jan 2010 21:17:32 +0000 (22:17 +0100)]
Use Win32 Sleep

14 years agoMinor Deb package
Adam Dickmeiss [Wed, 13 Jan 2010 15:28:43 +0000 (16:28 +0100)]
Minor Deb package

14 years agoBump libmetaproxy to .so version 2
Adam Dickmeiss [Wed, 13 Jan 2010 15:27:33 +0000 (16:27 +0100)]
Bump libmetaproxy to .so version 2

14 years agoDepend on yaz4, yazpp4
Adam Dickmeiss [Wed, 13 Jan 2010 15:18:31 +0000 (16:18 +0100)]
Depend on yaz4, yazpp4

14 years agoNew package libmetaproxy-dev
Adam Dickmeiss [Mon, 11 Jan 2010 11:07:58 +0000 (12:07 +0100)]
New package libmetaproxy-dev

14 years agoPublic MP headers in include/metaproxy
Adam Dickmeiss [Mon, 11 Jan 2010 10:20:30 +0000 (11:20 +0100)]
Public MP headers in include/metaproxy

14 years agoBump year
Adam Dickmeiss [Mon, 4 Jan 2010 11:31:28 +0000 (12:31 +0100)]
Bump year

14 years agoVersion 1.0.23. Bump copyright year. v1.0.23
Adam Dickmeiss [Mon, 4 Jan 2010 10:08:00 +0000 (11:08 +0100)]
Version 1.0.23. Bump copyright year.

14 years agoFilter virt_db: close backend for Init rejected
Adam Dickmeiss [Fri, 1 Jan 2010 20:47:31 +0000 (21:47 +0100)]
Filter virt_db: close backend for Init rejected

Close backend filter session when Init rejected is received from it
(in which case it's not really closed yet). This will ensure we don't
run out of resources such as FDs in this case.

14 years agoDisplay std::runtime_error in test
Adam Dickmeiss [Tue, 22 Dec 2009 11:53:52 +0000 (12:53 +0100)]
Display std::runtime_error in test

14 years agoSchema: change type of @database for virt_db
Adam Dickmeiss [Tue, 22 Dec 2009 11:27:00 +0000 (12:27 +0100)]
Schema: change type of @database for virt_db

The attribute type is now xsd:string rather than xsd:NCName because
the database is really a glob-mask.

14 years agoFilter limit: fix leak
Adam Dickmeiss [Thu, 17 Dec 2009 14:12:47 +0000 (15:12 +0100)]
Filter limit: fix leak

14 years agosru_z3950 filter: Accept any database
Adam Dickmeiss [Thu, 17 Dec 2009 14:11:53 +0000 (15:11 +0100)]
sru_z3950 filter: Accept any database

14 years agoLOC config: idtest also uses marc8-records section
Adam Dickmeiss [Thu, 17 Dec 2009 14:11:12 +0000 (15:11 +0100)]
LOC config: idtest also uses marc8-records section

14 years agohttp_file: fix fread call (make fetch work again)
Adam Dickmeiss [Wed, 16 Dec 2009 14:17:15 +0000 (15:17 +0100)]
http_file: fix fread call (make fetch work again)

14 years agoAssign more threads for LOC MP
Adam Dickmeiss [Wed, 16 Dec 2009 13:51:22 +0000 (14:51 +0100)]
Assign more threads for LOC MP

14 years agoAnnotate examples a bit
Adam Dickmeiss [Wed, 16 Dec 2009 13:27:40 +0000 (14:27 +0100)]
Annotate examples a bit

14 years agoSimpler load-balance example config
Adam Dickmeiss [Wed, 16 Dec 2009 13:27:30 +0000 (14:27 +0100)]
Simpler load-balance example config

14 years agoNo need for @id on book
Adam Dickmeiss [Wed, 16 Dec 2009 13:26:58 +0000 (14:26 +0100)]
No need for @id on book

14 years agoVersion 1.0.22 v1.0.22
Adam Dickmeiss [Thu, 3 Dec 2009 11:11:50 +0000 (12:11 +0100)]
Version 1.0.22

14 years agoVersion 1.0.21
Adam Dickmeiss [Thu, 3 Dec 2009 10:28:07 +0000 (11:28 +0100)]
Version 1.0.21

14 years agoUpdate to use Odr_int
Adam Dickmeiss [Tue, 1 Dec 2009 21:03:58 +0000 (22:03 +0100)]
Update to use Odr_int

14 years agoDescribe semantics for database for virtual target
Adam Dickmeiss [Tue, 24 Nov 2009 13:31:20 +0000 (14:31 +0100)]
Describe semantics for database for virtual target

15 years agomodernize Doxygen file
Adam Dickmeiss [Thu, 19 Nov 2009 17:09:35 +0000 (18:09 +0100)]
modernize Doxygen file

15 years agoAdd include of string.h v1.0.20
Adam Dickmeiss [Thu, 19 Nov 2009 13:54:20 +0000 (14:54 +0100)]
Add include of string.h

15 years agoversion 1.0.20
Adam Dickmeiss [Thu, 19 Nov 2009 13:24:19 +0000 (14:24 +0100)]
version 1.0.20

15 years agoGlob-pattern for virt_db match (bug #3106)
Adam Dickmeiss [Thu, 19 Nov 2009 12:24:45 +0000 (13:24 +0100)]
Glob-pattern for virt_db match (bug #3106)

15 years agoadd_map_db2target uses add_map_db2targets
Adam Dickmeiss [Thu, 19 Nov 2009 11:23:37 +0000 (12:23 +0100)]
add_map_db2target uses add_map_db2targets

15 years agoUsing cout instead of printf
Adam Dickmeiss [Thu, 19 Nov 2009 11:22:14 +0000 (12:22 +0100)]
Using cout instead of printf