metaproxy-moved-to-github.git
18 years agoImagined config for yp2.
Adam Dickmeiss [Thu, 20 Oct 2005 07:16:47 +0000 (07:16 +0000)]
Imagined config for yp2.

18 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()

18 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

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

18 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

18 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.

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

18 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".

18 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.

18 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

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

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

18 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'.

18 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.

18 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.

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

18 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.

18 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

18 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

18 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

18 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.

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

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

18 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++.

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

18 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

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

18 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.

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

18 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.

18 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

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

18 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

18 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.

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

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

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

18 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).

18 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.

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

18 years agoInclude config.hpp in all .cpp files
Adam Dickmeiss [Sat, 8 Oct 2005 23:29:32 +0000 (23:29 +0000)]
Include config.hpp in all .cpp files

18 years agoboost date_time test case added, check for date_time lib and header added
Marc Cromme [Sat, 8 Oct 2005 19:42:45 +0000 (19:42 +0000)]
boost date_time test case added, check for date_time lib and header added

18 years agotest for boost time added. missing configure test for headers yet ...
Marc Cromme [Sat, 8 Oct 2005 17:28:28 +0000 (17:28 +0000)]
test for boost time added. missing  configure test for headers yet ...
needed for throtteling filter which is next move

18 years agoadded multithreaded session test using 10 threads and 100 id updates each
Marc Cromme [Sat, 8 Oct 2005 16:32:01 +0000 (16:32 +0000)]
added multithreaded session test using 10 threads and 100 id updates each

18 years agoCheck for automake version in buildconf.sh - not in configure.
Adam Dickmeiss [Sat, 8 Oct 2005 09:48:32 +0000 (09:48 +0000)]
Check for automake version in buildconf.sh - not in configure.
We don't want distribution tars to check (they don't need automake
at all).

18 years agoCheck for boost test framework
Adam Dickmeiss [Sat, 8 Oct 2005 09:37:28 +0000 (09:37 +0000)]
Check for boost test framework

18 years agoadded doxygen make target
Marc Cromme [Fri, 7 Oct 2005 22:46:16 +0000 (22:46 +0000)]
added doxygen make target
unit tests ported to boost test framework

18 years agoUse foreign automake layout
Adam Dickmeiss [Fri, 7 Oct 2005 22:27:45 +0000 (22:27 +0000)]
Use foreign automake layout

18 years agoadded test for boost unit test header
Marc Cromme [Fri, 7 Oct 2005 22:15:47 +0000 (22:15 +0000)]
added test for boost unit test header

18 years agochecking for STL headers
Marc Cromme [Fri, 7 Oct 2005 22:05:14 +0000 (22:05 +0000)]
checking for STL headers

18 years agoadded check for automake version, which must be version 1.9 or newer, otherwise the...
Marc Cromme [Fri, 7 Oct 2005 21:38:23 +0000 (21:38 +0000)]
added check for automake version, which must be version 1.9 or newer, otherwise the make dist rules fail.
added doxygen rule
added maintainer clean rule

18 years agoAdd code to test join of single threads or groups
Adam Dickmeiss [Fri, 7 Oct 2005 13:56:02 +0000 (13:56 +0000)]
Add code to test join of single threads or groups

18 years agoPlaying with boost threads and unit test
Adam Dickmeiss [Fri, 7 Oct 2005 12:57:20 +0000 (12:57 +0000)]
Playing with boost threads and unit test

18 years agoUse boost unit test for test filter 1 case.
Adam Dickmeiss [Fri, 7 Oct 2005 11:42:04 +0000 (11:42 +0000)]
Use boost unit test for test filter 1 case.

18 years agoFail if libboost_thread does not exist
Adam Dickmeiss [Fri, 7 Oct 2005 11:41:44 +0000 (11:41 +0000)]
Fail if libboost_thread does not exist

18 years agoremoved superflous file
Marc Cromme [Fri, 7 Oct 2005 10:04:14 +0000 (10:04 +0000)]
removed superflous file

18 years agochanges includes in test programs to use splitted header
Marc Cromme [Fri, 7 Oct 2005 10:03:07 +0000 (10:03 +0000)]
changes includes in test programs to use splitted header

18 years agodesign.h split up into filter.hpp package.hpp router.hpp session.hpp
Marc Cromme [Fri, 7 Oct 2005 09:54:13 +0000 (09:54 +0000)]
design.h split up into filter.hpp package.hpp router.hpp session.hpp

18 years agofixed build system except make d ist which still fails
Marc Cromme [Fri, 7 Oct 2005 09:40:25 +0000 (09:40 +0000)]
fixed build system except make d ist which still fails

18 years agochanged build system to use C++ compiler, temp config files moved to config dir,...
Marc Cromme [Fri, 7 Oct 2005 09:21:41 +0000 (09:21 +0000)]
changed build system to use C++ compiler, temp config files moved to config dir, configure.ac used now, src/config.hpp added by autoheader

18 years agothread safe session class added using boost::mutex
Marc Cromme [Thu, 6 Oct 2005 21:41:12 +0000 (21:41 +0000)]
thread safe session class added using boost::mutex
boost thread test added
build environment broken, needs to be fixed

18 years agoRename Msg_Thread to ThreadPoolSocketObserver. Rename IMsg_Thread
Adam Dickmeiss [Thu, 6 Oct 2005 19:33:58 +0000 (19:33 +0000)]
Rename Msg_Thread to ThreadPoolSocketObserver. Rename IMsg_Thread
to IThreadPoolMsg. Implement it in terms of std::deque instead of
linked list.

18 years agoRouter stores filters in a sequence. For now packages just point
Adam Dickmeiss [Thu, 6 Oct 2005 12:55:20 +0000 (12:55 +0000)]
Router stores filters in a sequence. For now packages just point
the filters that is currently handling. That might be improved by
an interator. Changed the move function to return a Package reference.
Added two check programs.

18 years agoname function added to filters
Marc Cromme [Thu, 6 Oct 2005 11:15:23 +0000 (11:15 +0000)]
name function added to filters

18 years agodoxyfile uses dot graph tool
Marc Cromme [Thu, 6 Oct 2005 10:04:36 +0000 (10:04 +0000)]
doxyfile uses dot graph tool

18 years agobuild system added
Marc Cromme [Thu, 6 Oct 2005 09:53:11 +0000 (09:53 +0000)]
build system added

18 years agoInitial revision
Marc Cromme [Thu, 6 Oct 2005 09:37:25 +0000 (09:37 +0000)]
Initial revision