pazpar2-moved-to-github.git
14 years agoIndex Data green, Bug 3403
Wolfram Schneider [Mon, 26 Apr 2010 09:31:26 +0000 (09:31 +0000)]
Index Data green, Bug 3403

14 years agoremove stale $Id$ tag
Wolfram Schneider [Sat, 24 Apr 2010 10:12:04 +0000 (12:12 +0200)]
remove stale $Id$ tag

14 years agoupgrade copyright to 2010, bug #3404
Wolfram Schneider [Sat, 24 Apr 2010 10:10:10 +0000 (12:10 +0200)]
upgrade copyright to 2010, bug #3404

14 years agoFixed speling of Index Data
Sebastian Hammer [Sat, 24 Apr 2010 04:11:19 +0000 (04:11 +0000)]
Fixed speling of Index Data

14 years agoRead co->client only when co is locked
Adam Dickmeiss [Fri, 23 Apr 2010 13:33:31 +0000 (15:33 +0200)]
Read co->client only when co is locked

14 years agoAvoid client_set_state on destroyed client
Adam Dickmeiss [Fri, 23 Apr 2010 11:54:21 +0000 (13:54 +0200)]
Avoid client_set_state on destroyed client

Call client_set_state before connection_destroy because
connection_destroy might remove client (reference count 0).

14 years agoconf_get_fname takes conf_config as arg
Adam Dickmeiss [Fri, 23 Apr 2010 11:34:42 +0000 (13:34 +0200)]
conf_get_fname takes conf_config as arg

conf_get_fname takes conf_config rather than conf_service as argument.
This function is used by the normalize_record system.

14 years agoCall relevance_destroy before nmem_reset
Adam Dickmeiss [Fri, 23 Apr 2010 11:33:58 +0000 (13:33 +0200)]
Call relevance_destroy before nmem_reset

This to a void that relevance_destroy refers to NMEM released
memory.

14 years agoDeclare conf_service
Adam Dickmeiss [Fri, 23 Apr 2010 11:21:42 +0000 (13:21 +0200)]
Declare conf_service

14 years agoRemove pazpar2_sleep (for client lock test)
Adam Dickmeiss [Thu, 22 Apr 2010 11:45:53 +0000 (13:45 +0200)]
Remove pazpar2_sleep (for client lock test)

14 years agoRename connection local to co (from new)
Adam Dickmeiss [Thu, 22 Apr 2010 08:54:44 +0000 (10:54 +0200)]
Rename connection local to co (from new)

14 years agoRemove two unused struct decls
Adam Dickmeiss [Thu, 22 Apr 2010 08:52:00 +0000 (10:52 +0200)]
Remove two unused struct decls

14 years agoinclude of yaz/proto.h not necessary
Adam Dickmeiss [Thu, 22 Apr 2010 08:49:03 +0000 (10:49 +0200)]
include of yaz/proto.h not necessary

14 years agoconnection_release private
Adam Dickmeiss [Thu, 22 Apr 2010 08:47:50 +0000 (10:47 +0200)]
connection_release private

14 years agoRemove unused function connection_get_url
Adam Dickmeiss [Thu, 22 Apr 2010 08:46:44 +0000 (10:46 +0200)]
Remove unused function connection_get_url

14 years agohttp_session_destroy: dont wait for active clients
Adam Dickmeiss [Thu, 22 Apr 2010 08:44:09 +0000 (10:44 +0200)]
http_session_destroy: dont wait for active clients

Because we have introduced client locking, each client owned by
a session will be notified that the session is gone.

14 years agoIntroduce client_locking
Adam Dickmeiss [Thu, 22 Apr 2010 08:42:53 +0000 (10:42 +0200)]
Introduce client_locking

14 years agoRename session mutex to session_mutex
Adam Dickmeiss [Wed, 21 Apr 2010 13:17:33 +0000 (15:17 +0200)]
Rename session mutex to session_mutex

14 years agoClient list for session to separate client_list
Adam Dickmeiss [Tue, 20 Apr 2010 12:24:28 +0000 (14:24 +0200)]
Client list for session to separate client_list

14 years agoNo lock on host->mutex for non-timeout events
Adam Dickmeiss [Tue, 20 Apr 2010 11:10:58 +0000 (13:10 +0200)]
No lock on host->mutex for non-timeout events

In connection_handler.

14 years agoRemove client_fatal. connection_destroy is static
Adam Dickmeiss [Tue, 20 Apr 2010 11:10:22 +0000 (13:10 +0200)]
Remove client_fatal. connection_destroy is static

14 years agoLock connection host->mutex in connection_handler
Adam Dickmeiss [Tue, 20 Apr 2010 10:52:36 +0000 (12:52 +0200)]
Lock connection host->mutex in connection_handler

If a timeout occurs when a client exists and is non-Idle, the timeout
is ignored. This ensures that if a timeout happens after a connection
is picked up in client_prep_connection, then it is not destroyed
(soon after).

In connection_create, move code that adds connection to host list to
the end of the creation phase.

14 years agoCall client_destroy when releasing it from session
Adam Dickmeiss [Mon, 19 Apr 2010 11:52:03 +0000 (13:52 +0200)]
Call client_destroy when releasing it from session

14 years agoclient counting (for debugging)
Adam Dickmeiss [Mon, 19 Apr 2010 11:42:25 +0000 (13:42 +0200)]
client counting (for debugging)

14 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Adam Dickmeiss [Mon, 19 Apr 2010 10:59:31 +0000 (12:59 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

14 years agoLog incref/destroy, remove redundant client_incref
Adam Dickmeiss [Mon, 19 Apr 2010 10:58:33 +0000 (12:58 +0200)]
Log incref/destroy, remove redundant client_incref

14 years agoRemove redundant client_incref, client_destroy
Adam Dickmeiss [Mon, 19 Apr 2010 10:56:52 +0000 (12:56 +0200)]
Remove redundant client_incref, client_destroy

14 years agoMangle ZOOM_resultset in client_set_connection
Adam Dickmeiss [Thu, 15 Apr 2010 13:06:14 +0000 (15:06 +0200)]
Mangle ZOOM_resultset in client_set_connection

The ZOOM resultset is now reset in client_set_connection rather than
being destroyed in client_destroy.

14 years agoSimplify session_remove_clients
Adam Dickmeiss [Thu, 15 Apr 2010 13:00:47 +0000 (15:00 +0200)]
Simplify session_remove_clients

14 years agoAdd pazpar2_sleep utility
Adam Dickmeiss [Tue, 13 Apr 2010 13:32:36 +0000 (15:32 +0200)]
Add pazpar2_sleep utility

14 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Adam Dickmeiss [Mon, 12 Apr 2010 10:20:29 +0000 (12:20 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

14 years agoNew configuration file for pbuilder
Adam Dickmeiss [Mon, 12 Apr 2010 10:20:01 +0000 (12:20 +0200)]
New configuration file for pbuilder

14 years agoMerge commit 'origin/json-client'
Jakub Skoczen [Mon, 12 Apr 2010 09:54:49 +0000 (11:54 +0200)]
Merge commit 'origin/json-client'

14 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Dennis Schafroth [Mon, 12 Apr 2010 08:38:03 +0000 (10:38 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

14 years agoRenamed from tmarcxml.xsl
Dennis Schafroth [Mon, 12 Apr 2010 08:37:16 +0000 (10:37 +0200)]
Renamed from tmarcxml.xsl

14 years agoSP usage is configurable.
Jakub Skoczen [Fri, 9 Apr 2010 13:41:59 +0000 (15:41 +0200)]
SP usage is configurable.

If jsdemo is to be used in the in SP mode, append
'#useproxy' to the URL

SP mode requires no polling and supports JSON response types

14 years agoFix polling handling.
Jakub Skoczen [Fri, 9 Apr 2010 12:58:53 +0000 (14:58 +0200)]
Fix polling handling.

14 years agoFix Typo.
Jakub Skoczen [Fri, 9 Apr 2010 12:50:18 +0000 (14:50 +0200)]
Fix Typo.

14 years agoLog events on connections with no clients attach
Adam Dickmeiss [Fri, 9 Apr 2010 11:19:09 +0000 (13:19 +0200)]
Log events on connections with no clients attach

14 years agoUse new YAZ function ZOOM_connection_exec_task .
Adam Dickmeiss [Wed, 7 Apr 2010 11:40:00 +0000 (13:40 +0200)]
Use new YAZ function ZOOM_connection_exec_task .

Pazpar2 is using ZOOM_connection_exec_task instead of ZOOM_event_nonblock
to avoid that we loose any events. ZOOM_connection_exec_task will just
ensure that any outstanding tasks are initiated - such as connect,
earch, present etc.

14 years agoFunction connection_continue don't peek for events
Adam Dickmeiss [Wed, 7 Apr 2010 10:43:03 +0000 (12:43 +0200)]
Function connection_continue don't peek for events

14 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Adam Dickmeiss [Wed, 7 Apr 2010 09:04:56 +0000 (11:04 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

14 years agoEntity example
Adam Dickmeiss [Wed, 7 Apr 2010 09:04:37 +0000 (11:04 +0200)]
Entity example

14 years agoJSON support for show in pz2.js
Jakub Skoczen [Fri, 2 Apr 2010 15:14:54 +0000 (17:14 +0200)]
JSON support for show in pz2.js

14 years agoUse #text for text nodes content
Jakub Skoczen [Fri, 2 Apr 2010 08:36:54 +0000 (10:36 +0200)]
Use #text for text nodes content

14 years agoRemove iochan_setevent logic. Not in use anymore
Adam Dickmeiss [Tue, 30 Mar 2010 07:32:41 +0000 (09:32 +0200)]
Remove iochan_setevent logic. Not in use anymore

14 years agoRemove Unused iochan macros
Adam Dickmeiss [Tue, 30 Mar 2010 07:28:30 +0000 (09:28 +0200)]
Remove Unused iochan macros

14 years agoRefactor http_io to not use iochan_setevent
Adam Dickmeiss [Tue, 30 Mar 2010 07:27:56 +0000 (09:27 +0200)]
Refactor http_io to not use iochan_setevent

14 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Adam Dickmeiss [Mon, 29 Mar 2010 13:04:09 +0000 (15:04 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

14 years agoEnsure that connection is only used by one client
Adam Dickmeiss [Mon, 29 Mar 2010 13:01:33 +0000 (15:01 +0200)]
Ensure that connection is only used by one client

While the host and thereby the connection is locked, we mark the
newly assigned client Client_Working. This is to prevent that one
connection gets used by two clients.

14 years agoMerge in changes that were made for CMC.
Mike Taylor [Fri, 26 Mar 2010 17:09:57 +0000 (17:09 +0000)]
Merge in changes that were made for CMC.

* The "date" input field is now mapped to both "date" and
  "publication_date".  Previously it was only "publication_date",
  which is different from what all pazpar2's other .xsl files produce,
  with the result that a UI that uses "md-date" would not see dates
  from CF targets.  Adding "date" output as well fixed bug #3218 for
  CMC, and will also fix the (presumably as-yet unnoticed)
  date-display bugs in other Masterkey applications that use CF
  targets.  It did not remove the "publication_date" output in case we
  have other Masterkey UIs that expect to see this date.

* Add support for the CF's "location" and "callno" fields.

14 years agoLog number of event channels
Adam Dickmeiss [Thu, 25 Mar 2010 13:47:50 +0000 (14:47 +0100)]
Log number of event channels

This is done after select returns in the main event loop.

14 years agoRemove record ingest log msg
Adam Dickmeiss [Thu, 25 Mar 2010 13:47:34 +0000 (14:47 +0100)]
Remove record ingest log msg

14 years agoRemove two YLOG_DEBUG logs
Adam Dickmeiss [Thu, 25 Mar 2010 13:39:33 +0000 (14:39 +0100)]
Remove two YLOG_DEBUG logs

14 years agoChanges to 'item' data by NE and quinn
Sebastian Hammer [Thu, 25 Mar 2010 00:52:15 +0000 (01:52 +0100)]
Changes to 'item' data by NE and quinn

14 years agoChanged output AGAIN
Sebastian Hammer [Wed, 24 Mar 2010 15:36:22 +0000 (15:36 +0000)]
Changed  output AGAIN

14 years agoMerge branch 'master' of ssh://git/home/git/pub/pazpar2
Sebastian Hammer [Wed, 24 Mar 2010 15:35:12 +0000 (15:35 +0000)]
Merge branch 'master' of ssh://git/home/git/pub/pazpar2

14 years agoChaged element names on output
Sebastian Hammer [Wed, 24 Mar 2010 15:34:44 +0000 (15:34 +0000)]
Chaged element names on output

14 years agopar.sh may source a configuration for it
Adam Dickmeiss [Tue, 23 Mar 2010 14:33:47 +0000 (15:33 +0100)]
par.sh may source a configuration for it

Eg. ./par.sh par.config.adam

14 years agoSimplify http_server_destroy
Adam Dickmeiss [Tue, 23 Mar 2010 14:33:43 +0000 (15:33 +0100)]
Simplify http_server_destroy

14 years agoReformat
Adam Dickmeiss [Tue, 23 Mar 2010 11:33:40 +0000 (12:33 +0100)]
Reformat

14 years agoDebugging level "mutex" enables log mutexes
Adam Dickmeiss [Tue, 23 Mar 2010 11:31:20 +0000 (12:31 +0100)]
Debugging level "mutex" enables log mutexes

14 years agoAdded filler for empty circ values, to enable offset-based association between
Sebastian Hammer [Mon, 22 Mar 2010 20:36:22 +0000 (20:36 +0000)]
Added filler for empty circ values, to enable offset-based association between
elements of repeating circ nodes

14 years agoAdded check for null values for availability elements
Sebastian Hammer [Mon, 22 Mar 2010 20:23:04 +0000 (20:23 +0000)]
Added check for null values for availability elements

14 years agoOnly use yaz_icu_iter_t if ICU is enabled for YAZ
Adam Dickmeiss [Mon, 22 Mar 2010 19:00:31 +0000 (20:00 +0100)]
Only use yaz_icu_iter_t if ICU is enabled for YAZ

14 years agoYAZ log level "iochan" for event handling logs
Adam Dickmeiss [Mon, 22 Mar 2010 15:09:26 +0000 (16:09 +0100)]
YAZ log level "iochan" for event handling logs

14 years agoFix print of record diagnostic
Adam Dickmeiss [Mon, 22 Mar 2010 15:09:01 +0000 (16:09 +0100)]
Fix print of record diagnostic

14 years agoclient.sh: using service perf; not perf_t.
Adam Dickmeiss [Mon, 22 Mar 2010 12:52:35 +0000 (13:52 +0100)]
client.sh: using service perf; not perf_t.

14 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2
Adam Dickmeiss [Mon, 22 Mar 2010 12:26:28 +0000 (13:26 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2

14 years agoUse marc21_test.xsl rather than marc21.xsl
Adam Dickmeiss [Mon, 22 Mar 2010 10:24:53 +0000 (11:24 +0100)]
Use marc21_test.xsl rather than marc21.xsl

14 years agoFix mmap test - mergekey is made from metadata.
Adam Dickmeiss [Mon, 22 Mar 2010 10:24:13 +0000 (11:24 +0100)]
Fix mmap test - mergekey is made from metadata.

14 years agoRemoved collection tag. Removed(Outcommented) mergekey as in marc21.xsl
Dennis Schafroth [Thu, 18 Mar 2010 17:23:45 +0000 (18:23 +0100)]
Removed collection tag. Removed(Outcommented) mergekey as in marc21.xsl

14 years agoenabled easier switch of client script
Dennis Schafroth [Wed, 17 Mar 2010 12:54:55 +0000 (13:54 +0100)]
enabled easier switch of client script

14 years agoscript to generate stat data from timed client runs
Dennis Schafroth [Wed, 17 Mar 2010 12:53:48 +0000 (13:53 +0100)]
script to generate stat data from timed client runs

14 years agonew timed client script
Dennis Schafroth [Wed, 17 Mar 2010 12:52:53 +0000 (13:52 +0100)]
new timed client script

14 years agoAdded port parameter and block=1
Dennis Schafroth [Wed, 17 Mar 2010 12:52:16 +0000 (13:52 +0100)]
Added port parameter and block=1

14 years agoRemoved the unnessesary test for subfield, as indicators have moved back as attributes.
Dennis Schafroth [Mon, 15 Mar 2010 11:23:40 +0000 (12:23 +0100)]
Removed the unnessesary test for subfield, as indicators have moved back as attributes.

14 years agoFirst version of the turbo marc xml stylesheet
Dennis Schafroth [Mon, 15 Mar 2010 11:11:13 +0000 (12:11 +0100)]
First version of the turbo marc xml stylesheet

14 years agoScript that tries to keep a fixed number of clients
Dennis Schafroth [Sun, 14 Mar 2010 10:47:34 +0000 (11:47 +0100)]
Script that tries to keep a fixed number of clients

14 years agoFixed: record -> r. Removed FRBR stuff
Dennis Schafroth [Fri, 12 Mar 2010 15:01:10 +0000 (16:01 +0100)]
Fixed: record -> r. Removed FRBR stuff

14 years agoAdded log when active clients on http_session_destroy
Dennis Schafroth [Wed, 10 Mar 2010 08:27:32 +0000 (09:27 +0100)]
Added log when active clients on http_session_destroy

14 years agoAdded feature to skip execution of pazpar2. It must be running already
Dennis Schafroth [Wed, 10 Mar 2010 08:25:39 +0000 (09:25 +0100)]
Added feature to skip execution of pazpar2. It must be running already

14 years agoother marc21.xsl. New tests for turbomarcxml
Dennis Schafroth [Wed, 10 Mar 2010 08:24:30 +0000 (09:24 +0100)]
other marc21.xsl. New tests for turbomarcxml

14 years agoother marc21.xsl. New tests for turbomarcxml
Dennis Schafroth [Wed, 10 Mar 2010 08:24:26 +0000 (09:24 +0100)]
other marc21.xsl. New tests for turbomarcxml

14 years agoother marc21.xsl. New tests for turbomarcxml
Dennis Schafroth [Wed, 10 Mar 2010 08:24:17 +0000 (09:24 +0100)]
other marc21.xsl. New tests for turbomarcxml

14 years agoother marc21.xsl. New tests for turbomarcxml
Dennis Schafroth [Wed, 10 Mar 2010 08:24:13 +0000 (09:24 +0100)]
other marc21.xsl. New tests for turbomarcxml

14 years agoother marc21.xsl. New tests for turbomarcxml
Dennis Schafroth [Wed, 10 Mar 2010 08:24:02 +0000 (09:24 +0100)]
other marc21.xsl. New tests for turbomarcxml

14 years agoAdded support for turbo xml (txml)
Dennis Schafroth [Wed, 10 Mar 2010 08:22:19 +0000 (09:22 +0100)]
Added support for turbo xml (txml)

14 years agoChanging to the marc21.xsl in etc. Also changing the test_http.cfg to simulate etc...
Dennis Schafroth [Wed, 10 Mar 2010 08:18:48 +0000 (09:18 +0100)]
Changing to the marc21.xsl in etc. Also changing the test_http.cfg to simulate etc setup by adding mergekey

14 years agoupdated eclipse project files
Dennis Schafroth [Wed, 10 Mar 2010 08:12:02 +0000 (09:12 +0100)]
updated eclipse project files

14 years agoUse marc21_test.xsl rather than marc21.xsl
Adam Dickmeiss [Mon, 22 Mar 2010 10:24:53 +0000 (11:24 +0100)]
Use marc21_test.xsl rather than marc21.xsl

14 years agoFix mmap test - mergekey is made from metadata.
Adam Dickmeiss [Mon, 22 Mar 2010 10:24:13 +0000 (11:24 +0100)]
Fix mmap test - mergekey is made from metadata.

14 years agoRemoved collection tag. Removed(Outcommented) mergekey as in marc21.xsl
Dennis Schafroth [Thu, 18 Mar 2010 17:23:45 +0000 (18:23 +0100)]
Removed collection tag. Removed(Outcommented) mergekey as in marc21.xsl

14 years agoenabled easier switch of client script
Dennis Schafroth [Wed, 17 Mar 2010 12:54:55 +0000 (13:54 +0100)]
enabled easier switch of client script

14 years agoscript to generate stat data from timed client runs
Dennis Schafroth [Wed, 17 Mar 2010 12:53:48 +0000 (13:53 +0100)]
script to generate stat data from timed client runs

14 years agonew timed client script
Dennis Schafroth [Wed, 17 Mar 2010 12:52:53 +0000 (13:52 +0100)]
new timed client script

14 years agoAdded port parameter and block=1
Dennis Schafroth [Wed, 17 Mar 2010 12:52:16 +0000 (13:52 +0100)]
Added port parameter and block=1

14 years agoMerge branch 'adam_thread_work' of ssh://git.indexdata.com/home/git/pub/pazpar2 into...
Adam Dickmeiss [Mon, 15 Mar 2010 14:24:48 +0000 (15:24 +0100)]
Merge branch 'adam_thread_work' of ssh://git.indexdata.com/home/git/pub/pazpar2 into adam_thread_work

14 years agoRefactor PP2 charsets handling, use pazpar2_mutex.
Adam Dickmeiss [Mon, 15 Mar 2010 14:21:30 +0000 (15:21 +0100)]
Refactor PP2 charsets handling, use pazpar2_mutex.

pp2_relvance_tokenize split into functions pp2_relvance_tokenize
and pp2_relevance_first. This allows ICU tokenize handlers to be
reused within a thread and makes ingest_to_cluster slightly faster.

14 years agoRemove redundant decl
Adam Dickmeiss [Mon, 15 Mar 2010 14:19:10 +0000 (15:19 +0100)]
Remove redundant decl