pazpar2-moved-to-github.git
17 years agoAvoid declarations after statements.
Adam Dickmeiss [Fri, 12 Jan 2007 23:37:15 +0000 (23:37 +0000)]
Avoid declarations after statements.

17 years agoRemove -Wdeclaration-after-statement because it requires newer gcc
Adam Dickmeiss [Fri, 12 Jan 2007 23:34:15 +0000 (23:34 +0000)]
Remove -Wdeclaration-after-statement because it requires newer gcc

17 years agoAvoid declarations after statements
Adam Dickmeiss [Fri, 12 Jan 2007 23:32:33 +0000 (23:32 +0000)]
Avoid declarations after statements

17 years agoMake more room for YAZ version string
Adam Dickmeiss [Fri, 12 Jan 2007 23:24:05 +0000 (23:24 +0000)]
Make more room for YAZ version string

17 years agoinfo command returns Pazpar2 version + YAZ version (compiled and version
Adam Dickmeiss [Fri, 12 Jan 2007 23:07:54 +0000 (23:07 +0000)]
info command returns Pazpar2 version + YAZ version (compiled and version
in use). info command does not require a session ID anymore.

17 years agoUpdate example
Adam Dickmeiss [Fri, 12 Jan 2007 22:50:15 +0000 (22:50 +0000)]
Update example

17 years agoIncreased page size to 20, made showing facets default.
Sebastian Hammer [Fri, 12 Jan 2007 20:11:51 +0000 (20:11 +0000)]
Increased page size to 20, made showing facets default.
Made this change for the demo, but I think it works better
overall. Feel free to change.

17 years agoFixes for jade processing and PDF output. jade seem more strict than
Adam Dickmeiss [Fri, 12 Jan 2007 15:31:30 +0000 (15:31 +0000)]
Fixes for jade processing and PDF output. jade seem more strict than
xsltproc.

17 years agoSync with PROTOCOL 1.12
Adam Dickmeiss [Fri, 12 Jan 2007 15:21:04 +0000 (15:21 +0000)]
Sync with PROTOCOL 1.12

17 years agoMoved to doc/pazpar2_protocol.*
Sebastian Hammer [Fri, 12 Jan 2007 15:19:42 +0000 (15:19 +0000)]
Moved to doc/pazpar2_protocol.*

17 years ago*** empty log message ***
Sebastian Hammer [Fri, 12 Jan 2007 15:08:44 +0000 (15:08 +0000)]
*** empty log message ***

17 years agoCopied and reformatted PROTOCOL material to pazpar2_protoxol.xml which
Adam Dickmeiss [Fri, 12 Jan 2007 14:54:58 +0000 (14:54 +0000)]
Copied and reformatted PROTOCOL material to pazpar2_protoxol.xml which
becomes pazpar2_protocol(7). Added pazpar2_conf.xml.. Description of
config might be moved to pazpar2.xml instead.

17 years agoIgnore local pazpar2.cfg
Sebastian Hammer [Thu, 11 Jan 2007 17:16:46 +0000 (17:16 +0000)]
Ignore local pazpar2.cfg

17 years agoRead HTTP listener and proxy address from config file (-h and -p still override).
Sebastian Hammer [Thu, 11 Jan 2007 17:14:06 +0000 (17:14 +0000)]
Read HTTP listener and proxy address from config file (-h and -p still override).
Moved pazpar2.cfg to pazpar2.cfg.dist to facilitate local setups
Only -s is still required.

17 years agoRight styling of selected item in pager. rather.stable.2007.01.11
Anders S. Mortensen [Thu, 11 Jan 2007 13:31:31 +0000 (13:31 +0000)]
Right styling of selected item in pager.

17 years agoRemoving the href="#" attribute in the facet toggles to avoid session confusion.
Anders S. Mortensen [Thu, 11 Jan 2007 13:03:51 +0000 (13:03 +0000)]
Removing the href="#" attribute in the facet toggles to avoid session confusion.

17 years agoQuery refinement works again.
Anders S. Mortensen [Thu, 11 Jan 2007 12:47:19 +0000 (12:47 +0000)]
Query refinement works again.

17 years agoNo difference between visited and unvisited links.
Anders S. Mortensen [Thu, 11 Jan 2007 12:27:10 +0000 (12:27 +0000)]
No difference between visited and unvisited links.

17 years agoRegister onclick handlers to pager anchors as anonymous functions.
Anders S. Mortensen [Thu, 11 Jan 2007 11:14:16 +0000 (11:14 +0000)]
Register onclick handlers to pager anchors as anonymous functions.

17 years agoPager looks a little bit nicer in IE.
Anders S. Mortensen [Thu, 11 Jan 2007 10:18:38 +0000 (10:18 +0000)]
Pager looks a little bit nicer in IE.

17 years agoAdded non-caching headers (should be placed in config file I guess).
Anders S. Mortensen [Thu, 11 Jan 2007 10:03:01 +0000 (10:03 +0000)]
Added non-caching headers (should be placed in config file I guess).

17 years agoRemoving some warnings.
Anders S. Mortensen [Wed, 10 Jan 2007 14:11:44 +0000 (14:11 +0000)]
Removing some warnings.

17 years agoReset record update timer when clicking on new page.
Anders S. Mortensen [Wed, 10 Jan 2007 13:39:41 +0000 (13:39 +0000)]
Reset record update timer when clicking on new page.

17 years agoRemoving all write reference to innerHTML.
Anders S. Mortensen [Wed, 10 Jan 2007 13:28:09 +0000 (13:28 +0000)]
Removing all write reference to innerHTML.

17 years agoMore responsive record view.
Anders S. Mortensen [Wed, 10 Jan 2007 12:20:51 +0000 (12:20 +0000)]
More responsive record view.

17 years agosimplifying.
Anders S. Mortensen [Wed, 10 Jan 2007 12:15:46 +0000 (12:15 +0000)]
simplifying.

17 years agoRemoving forced line heights.
Anders S. Mortensen [Wed, 10 Jan 2007 12:09:24 +0000 (12:09 +0000)]
Removing forced line heights.

17 years agoInclude netinet/in.h for IP resolve types. Makes pazpar2 run happily
Adam Dickmeiss [Wed, 10 Jan 2007 11:56:10 +0000 (11:56 +0000)]
Include netinet/in.h for IP resolve types. Makes pazpar2 run happily
on FreeBSD.

17 years agoUpdating.
Anders S. Mortensen [Wed, 10 Jan 2007 11:42:17 +0000 (11:42 +0000)]
Updating.

17 years agoUsing appendChild instead of innerHTML to append things dynamically.
Anders S. Mortensen [Wed, 10 Jan 2007 11:41:34 +0000 (11:41 +0000)]
Using appendChild instead of innerHTML to append things dynamically.

17 years agoFixed setting if IP address (ipport) that turned out negative on Solaris.
Adam Dickmeiss [Wed, 10 Jan 2007 10:48:27 +0000 (10:48 +0000)]
Fixed setting if IP address (ipport) that turned out negative on Solaris.
pazpar2 seems to work fine with Solaris 10 and Sun's C compiler.

17 years agoAvoid warning about integer overflow on Sun C compiler
Adam Dickmeiss [Wed, 10 Jan 2007 10:17:50 +0000 (10:17 +0000)]
Avoid warning about integer overflow on Sun C compiler

17 years agoUse strrchr rather than rindex (obsolete)
Adam Dickmeiss [Wed, 10 Jan 2007 10:15:23 +0000 (10:15 +0000)]
Use strrchr rather than rindex (obsolete)

17 years agosignal returns SIG_ERR on error
Adam Dickmeiss [Wed, 10 Jan 2007 10:15:04 +0000 (10:15 +0000)]
signal returns SIG_ERR on error

17 years agoUse memset rather than bzero (obsolete, and sometimes unavailable).
Adam Dickmeiss [Wed, 10 Jan 2007 10:04:23 +0000 (10:04 +0000)]
Use memset rather than bzero (obsolete, and sometimes unavailable).

17 years agoAvoid empty struct becuase some compilers dont like it.
Adam Dickmeiss [Wed, 10 Jan 2007 10:03:56 +0000 (10:03 +0000)]
Avoid empty struct becuase some compilers dont like it.

17 years agoImproved pager. before.append.child
Anders S. Mortensen [Wed, 10 Jan 2007 09:50:57 +0000 (09:50 +0000)]
Improved pager.

17 years agoAdded Docbook stuff for doc. Moved pazpar2-man.xml to doc/pazpar2.xml.
Adam Dickmeiss [Wed, 10 Jan 2007 09:44:20 +0000 (09:44 +0000)]
Added Docbook stuff for doc. Moved pazpar2-man.xml to doc/pazpar2.xml.
Started skeleton User guide and reference (book.xml).

17 years agoAvoid declarations after statements
Adam Dickmeiss [Wed, 10 Jan 2007 09:35:57 +0000 (09:35 +0000)]
Avoid declarations after statements

17 years agoSimplifying.
Anders S. Mortensen [Wed, 10 Jan 2007 09:19:05 +0000 (09:19 +0000)]
Simplifying.

17 years agoNew title node.
Anders S. Mortensen [Wed, 10 Jan 2007 08:14:11 +0000 (08:14 +0000)]
New title node.

17 years agoBeginning of a manpage -- structure stolen from yaz-marcdump manpage.
Sebastian Hammer [Wed, 10 Jan 2007 05:46:43 +0000 (05:46 +0000)]
Beginning of a manpage -- structure stolen from yaz-marcdump manpage.
Perhaps Adam can help with Makefiles and such for this?

17 years agoChanged example in readme -- port 80 is default
Sebastian Hammer [Wed, 10 Jan 2007 05:30:59 +0000 (05:30 +0000)]
Changed example in readme -- port 80 is default

17 years agoAdded recid to full record view
Sebastian Hammer [Tue, 9 Jan 2007 22:27:10 +0000 (22:27 +0000)]
Added recid to full record view

17 years agoAdded a full record view (not implemented in the test UI yet)
Sebastian Hammer [Tue, 9 Jan 2007 22:06:49 +0000 (22:06 +0000)]
Added a full record view (not implemented in the test UI yet)

17 years agoAdded date support (md-date in show command).
Sebastian Hammer [Tue, 9 Jan 2007 18:06:28 +0000 (18:06 +0000)]
Added date support (md-date in show command).

17 years agoAdded LOC-only target file for character set testing
Sebastian Hammer [Mon, 8 Jan 2007 22:08:35 +0000 (22:08 +0000)]
Added LOC-only target file for character set testing

17 years agoWhitespace
Sebastian Hammer [Mon, 8 Jan 2007 22:08:06 +0000 (22:08 +0000)]
Whitespace

17 years agoRemoved diagnostic output
Sebastian Hammer [Mon, 8 Jan 2007 19:41:56 +0000 (19:41 +0000)]
Removed diagnostic output

17 years agoFixed bug related to ranking, introduced by 'metadata' update.
Sebastian Hammer [Mon, 8 Jan 2007 19:39:12 +0000 (19:39 +0000)]
Fixed bug related to ranking, introduced by 'metadata' update.
Also introduced 'rank' attribute to service/metadata element. Specifies
a 'boost' factor to apply a given element. Default=1, 0=don't use this field
for ranking.

17 years agoMetadata elements dynamically created from XSLT normalization output.
Sebastian Hammer [Mon, 8 Jan 2007 18:32:35 +0000 (18:32 +0000)]
Metadata elements dynamically created from XSLT normalization output.
Configure file controls merging and termlist extraction. Merge criteria
supported: all-fields, longest (strlen), unique. Configure also
controls which fields are included in overview format (full view not
yet implemented).
Protocol change: Metadata field names now prefixed by 'md-' in the
webservice protocol (i.e. md-title). Implemented in test1 prototype.
Todo: Date range normalization/merge, sortkey extraction, full record view.

17 years agoDecent pager.
Anders S. Mortensen [Mon, 8 Jan 2007 14:51:35 +0000 (14:51 +0000)]
Decent pager.

17 years agoAutomaked pazpar2. Bug #799. Preprocessor defines are put in cconfig.h and
Adam Dickmeiss [Mon, 8 Jan 2007 12:43:41 +0000 (12:43 +0000)]
Automaked pazpar2. Bug #799. Preprocessor defines are put in cconfig.h and
included in every C source. cconfig.h is the "configure" defines. The usualy
filename convention is config.h but that is already defined. For now all
contents of www and test is copied verbatim to the tar-dist. The contents is
not installed during 'make install'. That should be done, but since the
configuration is still in progress we don't bother yet. Similarly with
www: part of tar-dist but not yet installed. The only application
installed at this installed is pazpar2 - in PREFIX/bin.

17 years agoRecord display works.
Anders S. Mortensen [Mon, 8 Jan 2007 11:13:07 +0000 (11:13 +0000)]
Record display works.

17 years agoMoved short-term TODO to Bugzilla
Sebastian Hammer [Sat, 6 Jan 2007 05:52:33 +0000 (05:52 +0000)]
Moved short-term TODO to Bugzilla

17 years agoNull pointer dereference in several cmd_ functions arose when session had
Sebastian Hammer [Sat, 6 Jan 2007 05:32:23 +0000 (05:32 +0000)]
Null pointer dereference in several cmd_ functions arose when session had
expired (introduced when status element was added). Bug # 790

17 years agoRemoved command.c (telnet-style interface)
Sebastian Hammer [Sat, 6 Jan 2007 04:54:58 +0000 (04:54 +0000)]
Removed command.c (telnet-style interface)
Beginning of structures to configure metadata handling (incomplete)

17 years agoAdded check to prevent retrieval of more than global_parameters.toget recs
Sebastian Hammer [Sat, 6 Jan 2007 03:02:47 +0000 (03:02 +0000)]
Added check to prevent retrieval of more than global_parameters.toget recs

17 years agoAdded yaz
Sebastian Hammer [Sat, 6 Jan 2007 01:36:33 +0000 (01:36 +0000)]
Added yaz

17 years agoMinor
Sebastian Hammer [Sat, 6 Jan 2007 01:35:43 +0000 (01:35 +0000)]
Minor

17 years agoFixed bug #794: Excessive memory when searching the LoC only.
Adam Dickmeiss [Fri, 5 Jan 2007 20:33:05 +0000 (20:33 +0000)]
Fixed bug #794: Excessive memory when searching the LoC only.
The bug was due to a buffer overrun in reclist_insert. Basically
the size could exceed that of flatlist_size. Reason is that
for LoC (or other target) we get 15 records at a time. 7*15 =
105 > 100 (expected_maxrecs). The buffer overrun made relevance_newrec
allocate very large nmem block. After that the tried would eventually
make a bad ptr reference. reclist_insert now returns 0 if there
is not enough room for a new record. Function ingest_record sees that
and does not process the record further. This bug was not relatd to
UTF-8 problems.

17 years agoRecord presentation.
Anders S. Mortensen [Fri, 5 Jan 2007 14:56:05 +0000 (14:56 +0000)]
Record presentation.

17 years agoBetter compliance with IE.
Anders S. Mortensen [Fri, 5 Jan 2007 13:53:33 +0000 (13:53 +0000)]
Better compliance with IE.

17 years agoPresent facets in the right style.
Anders S. Mortensen [Fri, 5 Jan 2007 13:45:35 +0000 (13:45 +0000)]
Present facets in the right style.

17 years agoUpdating facet lists more often.
Anders S. Mortensen [Fri, 5 Jan 2007 13:33:47 +0000 (13:33 +0000)]
Updating facet lists more often.

17 years agoFacets gets updated.
Anders S. Mortensen [Fri, 5 Jan 2007 13:31:10 +0000 (13:31 +0000)]
Facets gets updated.

17 years agoAdded facet toggle function.
Anders S. Mortensen [Fri, 5 Jan 2007 11:30:13 +0000 (11:30 +0000)]
Added facet toggle function.

17 years agoWe have a working version.
Anders S. Mortensen [Fri, 5 Jan 2007 10:05:19 +0000 (10:05 +0000)]
We have a working version.

17 years agoAdded status bar.
Anders S. Mortensen [Fri, 5 Jan 2007 09:46:30 +0000 (09:46 +0000)]
Added status bar.

17 years agoTypo.
Anders S. Mortensen [Fri, 5 Jan 2007 08:09:25 +0000 (08:09 +0000)]
Typo.

17 years agoImplemented selectable subject/author facet in simple client
Sebastian Hammer [Fri, 5 Jan 2007 02:12:51 +0000 (02:12 +0000)]
Implemented selectable subject/author facet in simple client

17 years agoMinor noodling
Sebastian Hammer [Thu, 4 Jan 2007 22:04:25 +0000 (22:04 +0000)]
Minor noodling

17 years agoNext-previous links used different page size than retrieval. Introduced setting variable.
Sebastian Hammer [Thu, 4 Jan 2007 22:03:56 +0000 (22:03 +0000)]
Next-previous links used different page size than retrieval. Introduced setting variable.

17 years agoChanged indent on XML example
Sebastian Hammer [Thu, 4 Jan 2007 21:33:27 +0000 (21:33 +0000)]
Changed indent on XML example

17 years agoIgnoring Makefile
Sebastian Hammer [Thu, 4 Jan 2007 21:09:50 +0000 (21:09 +0000)]
Ignoring Makefile

17 years agoMoved Makefile
Sebastian Hammer [Thu, 4 Jan 2007 21:08:26 +0000 (21:08 +0000)]
Moved Makefile

17 years agoEditing comments only.
Sebastian Hammer [Thu, 4 Jan 2007 20:33:51 +0000 (20:33 +0000)]
Editing comments only.

17 years agoUpdated.
Sebastian Hammer [Thu, 4 Jan 2007 20:18:16 +0000 (20:18 +0000)]
Updated.

17 years agoAdded 'virtual' facet named 'xtargets' to termlist command, which returns
Sebastian Hammer [Thu, 4 Jan 2007 20:00:58 +0000 (20:00 +0000)]
Added 'virtual' facet named 'xtargets' to termlist command, which returns
information about targets with the most hitcounts. Description in PROTOCOL

17 years ago*** empty log message ***
Sebastian Hammer [Thu, 4 Jan 2007 19:04:34 +0000 (19:04 +0000)]
*** empty log message ***

17 years agodiv structure more appropriate for ajax programming.
Anders S. Mortensen [Thu, 4 Jan 2007 14:39:42 +0000 (14:39 +0000)]
div structure more appropriate for ajax programming.

17 years agoDefault message on front-page.
Anders S. Mortensen [Thu, 4 Jan 2007 14:39:06 +0000 (14:39 +0000)]
Default message on front-page.

17 years agoGetting ready to implement to the demo.
Anders S. Mortensen [Thu, 4 Jan 2007 14:11:55 +0000 (14:11 +0000)]
Getting ready to implement to the demo.

17 years agoFixed NULL-ptr reference that occurred when type or value node becomes
Adam Dickmeiss [Thu, 4 Jan 2007 07:38:36 +0000 (07:38 +0000)]
Fixed NULL-ptr reference that occurred when type or value node becomes
NULL in ingest_record. For NULL values omit call to add_facet and
relevance_countwords.

17 years agoAdded code to do timings for show + ingest of records. Enable by
Adam Dickmeiss [Thu, 4 Jan 2007 07:27:29 +0000 (07:27 +0000)]
Added code to do timings for show + ingest of records. Enable by
setting USE_TIMING=1 in pazpar2.c. Requires YAZ 2.1.45 or later.

17 years agoForgot to release normalized xml record. Whoops.
Sebastian Hammer [Thu, 4 Jan 2007 03:16:14 +0000 (03:16 +0000)]
Forgot to release normalized xml record. Whoops.

17 years agoAdded session ping to Anders's demo client.
Sebastian Hammer [Thu, 4 Jan 2007 03:06:40 +0000 (03:06 +0000)]
Added session ping to Anders's demo client.

17 years agoImplemented 'activeclients' result element for cmd_stat. Put check in test1 client for
Sebastian Hammer [Thu, 4 Jan 2007 02:53:37 +0000 (02:53 +0000)]
Implemented 'activeclients' result element for cmd_stat. Put check in test1 client for
show, stat, and termlist handlers, so browser now produces no unnecessary HTML traffic.

17 years agoAdded 'activeclients' element to response from show and termlist command
Sebastian Hammer [Thu, 4 Jan 2007 02:35:42 +0000 (02:35 +0000)]
Added 'activeclients' element to response from show and termlist command
so browsers can stop repeating requests when all activity has ended.

17 years agoFixed bug that led to temporary busy-loops on write-select on some connections.
Sebastian Hammer [Wed, 3 Jan 2007 16:59:32 +0000 (16:59 +0000)]
Fixed bug that led to temporary busy-loops on write-select on some connections.
Thanks to Adam for the patch.

17 years agoRemoved local tweak to Makefile.. maybe we should have a Makefile.cvs, so people
Sebastian Hammer [Wed, 3 Jan 2007 14:31:55 +0000 (14:31 +0000)]
Removed local tweak to Makefile.. maybe we should have a Makefile.cvs, so people
can do their own tweaks.

17 years agoUpdate example
Adam Dickmeiss [Wed, 3 Jan 2007 13:17:50 +0000 (13:17 +0000)]
Update example

17 years agoAdded XSLT support. Configuration file (e.g. etc/pazpar2.cfg) must now be specified
Sebastian Hammer [Wed, 3 Jan 2007 06:23:44 +0000 (06:23 +0000)]
Added XSLT support. Configuration file (e.g. etc/pazpar2.cfg) must now be specified
by option -f before targets are loaded with -s (this is temporary). Listener portno
and proxy is still controlled from command line for now! Incoming records are
normalized to intermediate format with XSLT. Added support for multiple facets --
generated dynamically from the XSLT normalization step. marc21.xsl is for MARC.

17 years agoI Love examples
Adam Dickmeiss [Tue, 2 Jan 2007 15:12:04 +0000 (15:12 +0000)]
I Love examples

17 years agoMaking test more realistic.
Anders S. Mortensen [Tue, 2 Jan 2007 14:11:02 +0000 (14:11 +0000)]
Making test more realistic.

17 years agoAdding stress testing script.
Anders S. Mortensen [Tue, 2 Jan 2007 13:30:52 +0000 (13:30 +0000)]
Adding stress testing script.

17 years agoBack-button now works with paging too.
Anders S. Mortensen [Tue, 2 Jan 2007 11:02:50 +0000 (11:02 +0000)]
Back-button now works with paging too.

17 years agoDon't forget the -x command line switch.
Anders S. Mortensen [Tue, 2 Jan 2007 09:30:28 +0000 (09:30 +0000)]
Don't forget the -x command line switch.

17 years agoRenaming XSL file
Sebastian Hammer [Sun, 31 Dec 2006 04:51:17 +0000 (04:51 +0000)]
Renaming XSL file

17 years agoUpdating.
Anders S. Mortensen [Fri, 29 Dec 2006 11:33:56 +0000 (11:33 +0000)]
Updating.