metaproxy-moved-to-github.git
18 years agoReformat
Adam Dickmeiss [Fri, 2 Dec 2005 11:05:08 +0000 (11:05 +0000)]
Reformat

18 years agoTwo phase test for libboost-test-dev
Adam Dickmeiss [Fri, 2 Dec 2005 11:04:56 +0000 (11:04 +0000)]
Two phase test for libboost-test-dev

18 years agoAdd filter_session_shared and package objs
Adam Dickmeiss [Wed, 23 Nov 2005 14:48:44 +0000 (14:48 +0000)]
Add filter_session_shared and package objs

19 years agoStarted work on shared session filter.
Adam Dickmeiss [Mon, 14 Nov 2005 23:35:22 +0000 (23:35 +0000)]
Started work on shared session filter.

19 years agoFactor implementation of Package to .cpp.
Adam Dickmeiss [Fri, 11 Nov 2005 15:00:25 +0000 (15:00 +0000)]
Factor implementation of Package to .cpp.

19 years agoSeparate imp+rep from public interfaces for some clases, Routers,
Adam Dickmeiss [Thu, 10 Nov 2005 23:10:42 +0000 (23:10 +0000)]
Separate imp+rep from public interfaces for some clases, Routers,
Filters, .. Still need to do session+package properly.

19 years agoAdded test_pipe in list or programs. Currently all programs link with
Adam Dickmeiss [Tue, 8 Nov 2005 08:56:39 +0000 (08:56 +0000)]
Added test_pipe in list or programs. Currently all programs link with
the DLL OBJS, not the import lib. That must be fixex, but it would be
nice if we could get around the dll-export mess (YAZ_EXPORT in YAZ) by
a Compiler option.

19 years agoCall WSAStartup. Use port in test_pipe test
Adam Dickmeiss [Tue, 8 Nov 2005 08:55:41 +0000 (08:55 +0000)]
Call WSAStartup. Use port in test_pipe test

19 years agoInclude sys/socket.h when available
Adam Dickmeiss [Mon, 7 Nov 2005 22:46:42 +0000 (22:46 +0000)]
Include sys/socket.h when available

19 years agoUpdated to use pipe/test_pipe
Adam Dickmeiss [Mon, 7 Nov 2005 22:43:48 +0000 (22:43 +0000)]
Updated to use pipe/test_pipe

19 years agoPort Pipe class to windows.
Adam Dickmeiss [Mon, 7 Nov 2005 22:43:17 +0000 (22:43 +0000)]
Port Pipe class to windows.

19 years agoAdded include of string
Adam Dickmeiss [Mon, 7 Nov 2005 22:04:15 +0000 (22:04 +0000)]
Added include of string

19 years agoCalls to pipe(2) replaced with usage of Pipe class. Now passes
Adam Dickmeiss [Mon, 7 Nov 2005 21:57:10 +0000 (21:57 +0000)]
Calls to pipe(2) replaced with usage of Pipe class. Now passes
all tests on Unix.

19 years agoAdded header check for sys/select.h and sys/socket.h
Adam Dickmeiss [Mon, 7 Nov 2005 21:52:32 +0000 (21:52 +0000)]
Added header check for sys/select.h and sys/socket.h

19 years agoFirst work on Pipe class
Adam Dickmeiss [Mon, 7 Nov 2005 12:32:01 +0000 (12:32 +0000)]
First work on Pipe class

19 years agoMake a few internal classes part of yp2 ns
Adam Dickmeiss [Mon, 7 Nov 2005 12:31:43 +0000 (12:31 +0000)]
Make a few internal classes part of yp2 ns

19 years agoMove includes to implementation file
Adam Dickmeiss [Mon, 7 Nov 2005 12:31:05 +0000 (12:31 +0000)]
Move includes to implementation file

19 years agoPimpl the ThreadPoolSocketObserver class so we can make code depending
Adam Dickmeiss [Fri, 4 Nov 2005 11:06:52 +0000 (11:06 +0000)]
Pimpl the ThreadPoolSocketObserver class so we can make code depending
on OS/config.

19 years agoCheck for unix/windows headers
Adam Dickmeiss [Fri, 4 Nov 2005 10:27:51 +0000 (10:27 +0000)]
Check for unix/windows headers

19 years agoAdded makefile for MS VS. Compiles OK for Visual Studio 2003 / 7.1.
Adam Dickmeiss [Thu, 3 Nov 2005 14:45:15 +0000 (14:45 +0000)]
Added makefile for MS VS. Compiles OK for Visual Studio 2003 / 7.1.
We still need to properly port the thread_pool_observer object _ due
to the use of UNIX pipes.

19 years agoLet configure create Jamfile
Adam Dickmeiss [Mon, 31 Oct 2005 22:47:11 +0000 (22:47 +0000)]
Let configure create Jamfile

19 years agoAdded Jamfile for project which makes example programs + yp2 lib
Adam Dickmeiss [Mon, 31 Oct 2005 22:44:55 +0000 (22:44 +0000)]
Added Jamfile for project which makes example programs + yp2 lib

19 years agoxml configuration dom parsing finished, still missing connection to filter factory...
Marc Cromme [Mon, 31 Oct 2005 11:59:08 +0000 (11:59 +0000)]
xml configuration dom parsing finished, still missing connection to filter factory and filter lists

19 years agostd::string type() function taken out of all filter classes again
Marc Cromme [Mon, 31 Oct 2005 09:40:18 +0000 (09:40 +0000)]
std::string type() function taken out of all filter classes again

19 years agoAdded methods create_{close,initResponse} for odr class.
Adam Dickmeiss [Sun, 30 Oct 2005 18:51:20 +0000 (18:51 +0000)]
Added methods create_{close,initResponse} for odr class.

19 years agoImplemented yp2::odr which is a noncopyable wrapper for YAZ' ODR.
Adam Dickmeiss [Sun, 30 Oct 2005 17:13:36 +0000 (17:13 +0000)]
Implemented yp2::odr which is a noncopyable wrapper for YAZ' ODR.

19 years agoProperly lock Z39.50 sessions
Adam Dickmeiss [Sun, 30 Oct 2005 16:39:18 +0000 (16:39 +0000)]
Properly lock Z39.50 sessions

19 years agomaking filter factory non-copyable
Marc Cromme [Sat, 29 Oct 2005 22:51:11 +0000 (22:51 +0000)]
making filter factory non-copyable

19 years agofilter factory in working shape, see example in test_filer_factory.cpp
Marc Cromme [Sat, 29 Oct 2005 22:23:36 +0000 (22:23 +0000)]
filter factory in working shape, see example in test_filer_factory.cpp
added member function const std::string type() const to all filters in both hpp and test code

19 years agofirst functional filter factory implementation plus test case added
Marc Cromme [Sat, 29 Oct 2005 17:58:14 +0000 (17:58 +0000)]
first functional filter factory implementation plus test case added

19 years agoUsing boost::scoped_ptr for pimpl/rep for some filters
Adam Dickmeiss [Sat, 29 Oct 2005 15:54:29 +0000 (15:54 +0000)]
Using boost::scoped_ptr for pimpl/rep for some filters

19 years agohacking filter factory, need to go to meeting and stop here, does not work yet
Marc Cromme [Fri, 28 Oct 2005 10:35:30 +0000 (10:35 +0000)]
hacking filter factory, need to go to meeting and stop here, does not work yet

19 years agoadded namespace check
Marc Cromme [Thu, 27 Oct 2005 11:36:21 +0000 (11:36 +0000)]
added namespace check

19 years agoxml config file is now parsed using libxml2 dom tools, xmlreader functions thrown out
Marc Cromme [Wed, 26 Oct 2005 21:30:54 +0000 (21:30 +0000)]
xml config file is now parsed using libxml2 dom tools, xmlreader functions thrown out

19 years agoExperiments with session map template.
Adam Dickmeiss [Wed, 26 Oct 2005 18:53:49 +0000 (18:53 +0000)]
Experiments with session map template.

19 years agoMore tests/examples to ignore
Adam Dickmeiss [Wed, 26 Oct 2005 18:53:16 +0000 (18:53 +0000)]
More tests/examples to ignore

19 years agostarted on RouterFleXML class, still shaky and rudimentary
Marc Cromme [Wed, 26 Oct 2005 14:12:00 +0000 (14:12 +0000)]
started on RouterFleXML class, still shaky and rudimentary

19 years agochanged call to RouterChain.append instead of RouterChain.rule
Marc Cromme [Wed, 26 Oct 2005 10:55:26 +0000 (10:55 +0000)]
changed call to RouterChain.append instead of RouterChain.rule

19 years agomoved RouterChain class out of router.hpp file into own router_chain.hpp class
Marc Cromme [Wed, 26 Oct 2005 10:21:03 +0000 (10:21 +0000)]
moved RouterChain class out of router.hpp file into own router_chain.hpp class

19 years agoadditional xml parsing
Marc Cromme [Wed, 26 Oct 2005 10:20:15 +0000 (10:20 +0000)]
additional xml parsing

19 years agoFix bug in virt_db introduced in previous commit regarding result
Adam Dickmeiss [Tue, 25 Oct 2005 23:04:06 +0000 (23:04 +0000)]
Fix bug in virt_db introduced in previous commit regarding result
set creation. Also changed diagnostic when database map does not exist.

19 years agoFor filter_virt_db return proper diagnostics if backend closes connection
Adam Dickmeiss [Tue, 25 Oct 2005 22:44:39 +0000 (22:44 +0000)]
For filter_virt_db return proper diagnostics if backend closes connection

19 years agoAdded test for filter backend_test.
Adam Dickmeiss [Tue, 25 Oct 2005 21:32:28 +0000 (21:32 +0000)]
Added test for filter backend_test.

19 years agoExperimented with template for session management in filter
Adam Dickmeiss [Tue, 25 Oct 2005 21:32:01 +0000 (21:32 +0000)]
Experimented with template for session management in filter
backend_test_cpp. Removed p2.cpp.

19 years agoLog filter has alternative constructor with custom msg
Adam Dickmeiss [Tue, 25 Oct 2005 16:01:36 +0000 (16:01 +0000)]
Log filter has alternative constructor with custom msg

19 years agoMore diagnostics for close
Adam Dickmeiss [Tue, 25 Oct 2005 16:01:14 +0000 (16:01 +0000)]
More diagnostics for close

19 years agoUse fix present handling to use backend session ID
Adam Dickmeiss [Tue, 25 Oct 2005 16:00:58 +0000 (16:00 +0000)]
Use fix present handling to use backend session ID

19 years agoUse virt_db filter in ex_filter_frontend_net program
Adam Dickmeiss [Tue, 25 Oct 2005 15:19:58 +0000 (15:19 +0000)]
Use virt_db filter in ex_filter_frontend_net program

19 years agoHandle Z39.50 Options better
Adam Dickmeiss [Tue, 25 Oct 2005 15:19:39 +0000 (15:19 +0000)]
Handle Z39.50 Options better

19 years agobuildconf -d configure with static
Adam Dickmeiss [Tue, 25 Oct 2005 15:17:47 +0000 (15:17 +0000)]
buildconf -d configure with static

19 years agoparsing xml file
Marc Cromme [Tue, 25 Oct 2005 13:42:44 +0000 (13:42 +0000)]
parsing xml file

19 years agoMore functional virt_db filter. Removed p2_* source
Adam Dickmeiss [Tue, 25 Oct 2005 11:48:30 +0000 (11:48 +0000)]
More functional virt_db filter. Removed p2_* source

19 years agoadded first attempt to read xml config files
Marc Cromme [Tue, 25 Oct 2005 09:06:44 +0000 (09:06 +0000)]
added first attempt to read xml config files

19 years agoMore work on Virt_db filter
Adam Dickmeiss [Mon, 24 Oct 2005 21:01:53 +0000 (21:01 +0000)]
More work on Virt_db filter

19 years agoBegan work on virtual database filter
Adam Dickmeiss [Mon, 24 Oct 2005 14:33:30 +0000 (14:33 +0000)]
Began work on virtual database filter

19 years agorudimentary config calls added in experimental binary
Marc Cromme [Mon, 24 Oct 2005 13:31:36 +0000 (13:31 +0000)]
rudimentary config calls added in experimental binary

19 years agoMore testing: check that configure gets called through base interface.
Adam Dickmeiss [Mon, 24 Oct 2005 10:16:33 +0000 (10:16 +0000)]
More testing: check that configure gets called through base interface.

19 years agoMethod configure takes const xmlNode pointer. Added testfilter2_2 which
Adam Dickmeiss [Mon, 24 Oct 2005 09:53:06 +0000 (09:53 +0000)]
Method configure takes const xmlNode pointer. Added testfilter2_2 which
tests this facility.

19 years agoFurther refinements
Adam Dickmeiss [Thu, 20 Oct 2005 12:53:49 +0000 (12:53 +0000)]
Further refinements

19 years agoComment out two std::cout stmts
Adam Dickmeiss [Thu, 20 Oct 2005 08:05:52 +0000 (08:05 +0000)]
Comment out two std::cout stmts

19 years agoImagined config for yp2.
Adam Dickmeiss [Thu, 20 Oct 2005 07:16:47 +0000 (07:16 +0000)]
Imagined config for yp2.

19 years agoadded test case for yp2::filter::Log, added time stamping inside log filter, added...
Marc Cromme [Wed, 19 Oct 2005 22:45:59 +0000 (22:45 +0000)]
added test case for yp2::filter::Log, added time stamping inside log filter, added mutex protection of Ostream during logging before and after call to process(), but unlocked during call to process()

19 years agotaken extra namespace Log:: out of constructor declaration
Marc Cromme [Wed, 19 Oct 2005 21:44:01 +0000 (21:44 +0000)]
taken extra namespace Log:: out of constructor declaration

19 years agoRelease Z39.50 sessions properly.
Adam Dickmeiss [Sun, 16 Oct 2005 21:55:36 +0000 (21:55 +0000)]
Release Z39.50 sessions properly.

19 years agoDo not require net access in test test_filter_z3950_client_4
Adam Dickmeiss [Sun, 16 Oct 2005 16:09:58 +0000 (16:09 +0000)]
Do not require net access in test test_filter_z3950_client_4

19 years agoAdded Z3950 Client Filter, AKA Z39.50 backend.
Adam Dickmeiss [Sun, 16 Oct 2005 16:05:44 +0000 (16:05 +0000)]
Added Z3950 Client Filter, AKA Z39.50 backend.

19 years agoAdded operator == for Session
Adam Dickmeiss [Sun, 16 Oct 2005 16:05:18 +0000 (16:05 +0000)]
Added operator == for Session

19 years agoSame header and footer for all files. Header includes copyright +
Adam Dickmeiss [Sat, 15 Oct 2005 14:09:09 +0000 (14:09 +0000)]
Same header and footer for all files. Header includes copyright +
CVS Id. Footer has Emacs local variables with c-file-style set to
"stroustrup".

19 years agoUse namespace yp2::filter for filters .. Rename filters from
Adam Dickmeiss [Sat, 15 Oct 2005 13:13:58 +0000 (13:13 +0000)]
Use namespace yp2::filter for filters .. Rename filters from
yp2::FilterSomething we use yp2::filter:Something. The base filter
class is called yp2::filter::Base.

19 years agoIgnore program ex_filter_frontend_net
Adam Dickmeiss [Sat, 15 Oct 2005 11:05:53 +0000 (11:05 +0000)]
Ignore program ex_filter_frontend_net

19 years agoImplemented FilterLog filter
Adam Dickmeiss [Sat, 15 Oct 2005 11:02:08 +0000 (11:02 +0000)]
Implemented FilterLog filter

19 years agoRemove p2 from cvsignore
Adam Dickmeiss [Fri, 14 Oct 2005 20:18:33 +0000 (20:18 +0000)]
Remove p2 from cvsignore

19 years agoFilterFrontendNet allows listening on multiple ports.
Adam Dickmeiss [Fri, 14 Oct 2005 16:44:55 +0000 (16:44 +0000)]
FilterFrontendNet allows listening on multiple ports.
Program ex_filter_frontend_net allows ports to be specified as
options -- as either '--port==port=val' or just 'val'.

19 years agoUse boost::program_options in ex_filter_frontend_net program.
Adam Dickmeiss [Fri, 14 Oct 2005 13:22:57 +0000 (13:22 +0000)]
Use boost::program_options in ex_filter_frontend_net program.

19 years agoAdded autoconf check for libboost-program-options-dev.
Adam Dickmeiss [Fri, 14 Oct 2005 13:22:31 +0000 (13:22 +0000)]
Added autoconf check for libboost-program-options-dev.
Use two lines rather than one if boost lib is missing.

19 years agoRemove dead code
Adam Dickmeiss [Fri, 14 Oct 2005 13:18:53 +0000 (13:18 +0000)]
Remove dead code

19 years agoExtended filter in ex_filter_frontend_net program to return a
Adam Dickmeiss [Fri, 14 Oct 2005 12:45:18 +0000 (12:45 +0000)]
Extended filter in ex_filter_frontend_net program to return a
HTTP response if a HTTP request is received.

19 years agoAdded default constructor for Package class
Adam Dickmeiss [Fri, 14 Oct 2005 11:19:14 +0000 (11:19 +0000)]
Added default constructor for Package class

19 years agoAdded ex_filter_frontend_net noinst program
Adam Dickmeiss [Fri, 14 Oct 2005 11:18:59 +0000 (11:18 +0000)]
Added ex_filter_frontend_net noinst program

19 years agoMoving ThreadPoolSocketObserver and IThreadPoolMsg to yp2 namespace
Adam Dickmeiss [Fri, 14 Oct 2005 10:27:18 +0000 (10:27 +0000)]
Moving ThreadPoolSocketObserver and IThreadPoolMsg to yp2 namespace

19 years agoSimplified process interface. Private sub class Worker.
Adam Dickmeiss [Fri, 14 Oct 2005 10:08:40 +0000 (10:08 +0000)]
Simplified process interface. Private sub class Worker.

19 years agoIgnore html and man
Adam Dickmeiss [Fri, 14 Oct 2005 10:06:53 +0000 (10:06 +0000)]
Ignore html and man

19 years agoClose session properly in FilterFrontendNet
Adam Dickmeiss [Thu, 13 Oct 2005 22:37:39 +0000 (22:37 +0000)]
Close session properly in FilterFrontendNet

19 years agoImplemented FilterFrontendNet which is a network server based on
Adam Dickmeiss [Thu, 13 Oct 2005 20:06:45 +0000 (20:06 +0000)]
Implemented FilterFrontendNet which is a network server based on
YAZ/YAZ++.

19 years agoAdded test_package1
Adam Dickmeiss [Thu, 13 Oct 2005 12:28:55 +0000 (12:28 +0000)]
Added test_package1

19 years agoAdd GDU in Package class. Use classes Origin and Session
Adam Dickmeiss [Thu, 13 Oct 2005 10:33:11 +0000 (10:33 +0000)]
Add GDU in Package class. Use classes Origin and Session

19 years agoTest Session class' copy constructor
Adam Dickmeiss [Thu, 13 Oct 2005 10:06:19 +0000 (10:06 +0000)]
Test Session class' copy constructor

19 years agoAdjust Session class and include close state in it.
Adam Dickmeiss [Thu, 13 Oct 2005 10:02:03 +0000 (10:02 +0000)]
Adjust Session class and include close state in it.

19 years agoInclude gduqueue.h
Adam Dickmeiss [Thu, 13 Oct 2005 10:00:02 +0000 (10:00 +0000)]
Include gduqueue.h

19 years agoMake test_thread_pool_observer a Boost test. Use Boost::thread in
Adam Dickmeiss [Wed, 12 Oct 2005 23:30:43 +0000 (23:30 +0000)]
Make test_thread_pool_observer a Boost test. Use Boost::thread in
the implementation of ThreadPoolSocketObserver.

19 years agoadded target 'showdox' which launches firefox with doxygen generated HTML
Marc Cromme [Wed, 12 Oct 2005 20:45:56 +0000 (20:45 +0000)]
added target 'showdox' which launches firefox with doxygen generated HTML

19 years agoclarified comment
Marc Cromme [Sun, 9 Oct 2005 20:58:59 +0000 (20:58 +0000)]
clarified comment

19 years agoexcluded test_*.cpp unit test files from doxygen docs to avoid multiple definitons...
Marc Cromme [Sun, 9 Oct 2005 20:58:24 +0000 (20:58 +0000)]
excluded test_*.cpp unit test files from doxygen docs to avoid multiple definitons of small test classes

19 years agosession mutex and id counter made static, now many instances of a Session object...
Marc Cromme [Sun, 9 Oct 2005 19:53:37 +0000 (19:53 +0000)]
session mutex and id counter made static, now many instances of a Session object do increment the same global static counter. This has the advantage that a worker just can create it's own static object.

19 years agoadded test on miliseconds elapsed
Marc Cromme [Sun, 9 Oct 2005 19:03:29 +0000 (19:03 +0000)]
added test on miliseconds elapsed

19 years agoIgnore dox
Adam Dickmeiss [Sun, 9 Oct 2005 00:26:53 +0000 (00:26 +0000)]
Ignore dox

19 years agoMore files to ignore
Adam Dickmeiss [Sun, 9 Oct 2005 00:25:50 +0000 (00:25 +0000)]
More files to ignore

19 years agoRequire automake 1.8 or later (rather than 1.9 or later).
Adam Dickmeiss [Sat, 8 Oct 2005 23:40:53 +0000 (23:40 +0000)]
Require automake 1.8 or later (rather than 1.9 or later).

19 years agoSpecify minimal automake version in AM_INIT_AUTOMAKE. Use
Adam Dickmeiss [Sat, 8 Oct 2005 23:40:32 +0000 (23:40 +0000)]
Specify minimal automake version in AM_INIT_AUTOMAKE. Use
AC_CONFIG_HEADERS rather than AM_CONFIG_HEADER.

19 years agoSpecify options for aclocal
Adam Dickmeiss [Sat, 8 Oct 2005 23:38:50 +0000 (23:38 +0000)]
Specify options for aclocal