Adam Dickmeiss [Wed, 10 Jan 2007 09:35:57 +0000 (09:35 +0000)]
Avoid declarations after statements
Anders S. Mortensen [Wed, 10 Jan 2007 09:19:05 +0000 (09:19 +0000)]
Simplifying.
Anders S. Mortensen [Wed, 10 Jan 2007 08:14:11 +0000 (08:14 +0000)]
New title node.
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?
Sebastian Hammer [Wed, 10 Jan 2007 05:30:59 +0000 (05:30 +0000)]
Changed example in readme -- port 80 is default
Sebastian Hammer [Tue, 9 Jan 2007 22:27:10 +0000 (22:27 +0000)]
Added recid to full record view
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)
Sebastian Hammer [Tue, 9 Jan 2007 18:06:28 +0000 (18:06 +0000)]
Added date support (md-date in show command).
Sebastian Hammer [Mon, 8 Jan 2007 22:08:35 +0000 (22:08 +0000)]
Added LOC-only target file for character set testing
Sebastian Hammer [Mon, 8 Jan 2007 22:08:06 +0000 (22:08 +0000)]
Whitespace
Sebastian Hammer [Mon, 8 Jan 2007 19:41:56 +0000 (19:41 +0000)]
Removed diagnostic output
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.
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.
Anders S. Mortensen [Mon, 8 Jan 2007 14:51:35 +0000 (14:51 +0000)]
Decent pager.
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.
Anders S. Mortensen [Mon, 8 Jan 2007 11:13:07 +0000 (11:13 +0000)]
Record display works.
Sebastian Hammer [Sat, 6 Jan 2007 05:52:33 +0000 (05:52 +0000)]
Moved short-term TODO to Bugzilla
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
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)
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
Sebastian Hammer [Sat, 6 Jan 2007 01:36:33 +0000 (01:36 +0000)]
Added yaz
Sebastian Hammer [Sat, 6 Jan 2007 01:35:43 +0000 (01:35 +0000)]
Minor
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.
Anders S. Mortensen [Fri, 5 Jan 2007 14:56:05 +0000 (14:56 +0000)]
Record presentation.
Anders S. Mortensen [Fri, 5 Jan 2007 13:53:33 +0000 (13:53 +0000)]
Better compliance with IE.
Anders S. Mortensen [Fri, 5 Jan 2007 13:45:35 +0000 (13:45 +0000)]
Present facets in the right style.
Anders S. Mortensen [Fri, 5 Jan 2007 13:33:47 +0000 (13:33 +0000)]
Updating facet lists more often.
Anders S. Mortensen [Fri, 5 Jan 2007 13:31:10 +0000 (13:31 +0000)]
Facets gets updated.
Anders S. Mortensen [Fri, 5 Jan 2007 11:30:13 +0000 (11:30 +0000)]
Added facet toggle function.
Anders S. Mortensen [Fri, 5 Jan 2007 10:05:19 +0000 (10:05 +0000)]
We have a working version.
Anders S. Mortensen [Fri, 5 Jan 2007 09:46:30 +0000 (09:46 +0000)]
Added status bar.
Anders S. Mortensen [Fri, 5 Jan 2007 08:09:25 +0000 (08:09 +0000)]
Typo.
Sebastian Hammer [Fri, 5 Jan 2007 02:12:51 +0000 (02:12 +0000)]
Implemented selectable subject/author facet in simple client
Sebastian Hammer [Thu, 4 Jan 2007 22:04:25 +0000 (22:04 +0000)]
Minor noodling
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.
Sebastian Hammer [Thu, 4 Jan 2007 21:33:27 +0000 (21:33 +0000)]
Changed indent on XML example
Sebastian Hammer [Thu, 4 Jan 2007 21:09:50 +0000 (21:09 +0000)]
Ignoring Makefile
Sebastian Hammer [Thu, 4 Jan 2007 21:08:26 +0000 (21:08 +0000)]
Moved Makefile
Sebastian Hammer [Thu, 4 Jan 2007 20:33:51 +0000 (20:33 +0000)]
Editing comments only.
Sebastian Hammer [Thu, 4 Jan 2007 20:18:16 +0000 (20:18 +0000)]
Updated.
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
Sebastian Hammer [Thu, 4 Jan 2007 19:04:34 +0000 (19:04 +0000)]
*** empty log message ***
Anders S. Mortensen [Thu, 4 Jan 2007 14:39:42 +0000 (14:39 +0000)]
div structure more appropriate for ajax programming.
Anders S. Mortensen [Thu, 4 Jan 2007 14:39:06 +0000 (14:39 +0000)]
Default message on front-page.
Anders S. Mortensen [Thu, 4 Jan 2007 14:11:55 +0000 (14:11 +0000)]
Getting ready to implement to the demo.
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.
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.
Sebastian Hammer [Thu, 4 Jan 2007 03:16:14 +0000 (03:16 +0000)]
Forgot to release normalized xml record. Whoops.
Sebastian Hammer [Thu, 4 Jan 2007 03:06:40 +0000 (03:06 +0000)]
Added session ping to Anders's demo client.
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.
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.
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.
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.
Adam Dickmeiss [Wed, 3 Jan 2007 13:17:50 +0000 (13:17 +0000)]
Update example
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.
Adam Dickmeiss [Tue, 2 Jan 2007 15:12:04 +0000 (15:12 +0000)]
I Love examples
Anders S. Mortensen [Tue, 2 Jan 2007 14:11:02 +0000 (14:11 +0000)]
Making test more realistic.
Anders S. Mortensen [Tue, 2 Jan 2007 13:30:52 +0000 (13:30 +0000)]
Adding stress testing script.
Anders S. Mortensen [Tue, 2 Jan 2007 11:02:50 +0000 (11:02 +0000)]
Back-button now works with paging too.
Anders S. Mortensen [Tue, 2 Jan 2007 09:30:28 +0000 (09:30 +0000)]
Don't forget the -x command line switch.
Sebastian Hammer [Sun, 31 Dec 2006 04:51:17 +0000 (04:51 +0000)]
Renaming XSL file
Anders S. Mortensen [Fri, 29 Dec 2006 11:33:56 +0000 (11:33 +0000)]
Updating.
Anders S. Mortensen [Fri, 29 Dec 2006 10:29:46 +0000 (10:29 +0000)]
Introducing a general initialization function.
Anders S. Mortensen [Fri, 29 Dec 2006 10:22:09 +0000 (10:22 +0000)]
Moving javascript into a separate container.
Anders S. Mortensen [Fri, 29 Dec 2006 10:18:38 +0000 (10:18 +0000)]
Unescaping session before comparing.
Sebastian Hammer [Fri, 29 Dec 2006 05:10:02 +0000 (05:10 +0000)]
Resolving conflict
Anders S. Mortensen [Thu, 28 Dec 2006 13:44:37 +0000 (13:44 +0000)]
Only split on first occurrence of = in pseudo url.
Anders S. Mortensen [Thu, 28 Dec 2006 13:12:37 +0000 (13:12 +0000)]
Back button works in firefox.
Anders S. Mortensen [Thu, 28 Dec 2006 11:02:48 +0000 (11:02 +0000)]
Added rudimentary back-button functionality.
Anders S. Mortensen [Thu, 28 Dec 2006 10:00:34 +0000 (10:00 +0000)]
Fixing what appears to be a typo in this stylesheet.
Sebastian Hammer [Wed, 27 Dec 2006 21:11:10 +0000 (21:11 +0000)]
Basic configuration functionality in place (not yet used)
Sebastian Hammer [Wed, 27 Dec 2006 02:14:27 +0000 (02:14 +0000)]
Added empty source files for config system
Sebastian Hammer [Sun, 24 Dec 2006 22:09:40 +0000 (22:09 +0000)]
Added 'termlist' to config file. Notes.
Sebastian Hammer [Fri, 22 Dec 2006 17:47:12 +0000 (17:47 +0000)]
Thoughts on profiles and XSLT
Sebastian Hammer [Fri, 22 Dec 2006 17:35:13 +0000 (17:35 +0000)]
Still just dummy
Sebastian Hammer [Fri, 22 Dec 2006 04:52:56 +0000 (04:52 +0000)]
This is just a dummy config file -- a place to sketch out what the config
file format should look like
Sebastian Hammer [Fri, 22 Dec 2006 04:43:11 +0000 (04:43 +0000)]
Added load of global stylesheet (temporary measure only)
Sebastian Hammer [Fri, 22 Dec 2006 04:34:29 +0000 (04:34 +0000)]
Relocated default.bib
Sebastian Hammer [Fri, 22 Dec 2006 04:34:06 +0000 (04:34 +0000)]
Reduced lines displayed in demo
Sebastian Hammer [Thu, 21 Dec 2006 04:27:48 +0000 (04:27 +0000)]
Minor
Sebastian Hammer [Thu, 21 Dec 2006 04:27:17 +0000 (04:27 +0000)]
Diagnotic tuning
Sebastian Hammer [Thu, 21 Dec 2006 04:26:39 +0000 (04:26 +0000)]
Minor wording change
Sebastian Hammer [Thu, 21 Dec 2006 04:20:22 +0000 (04:20 +0000)]
Session keepalive (ping)
Sebastian Hammer [Thu, 21 Dec 2006 04:16:25 +0000 (04:16 +0000)]
More detailed logging of HTTP requests
Adam Dickmeiss [Wed, 20 Dec 2006 23:31:24 +0000 (23:31 +0000)]
Fixed problem with detection of end-of-stream for HTTP socket. Problem
was that if errno happened to be EAGAIN and read returned 0, then
errno was invalid (or has value of previous failed Unix call). Only
if read returns -1, it's appropriate to check errno.
Adam Dickmeiss [Wed, 20 Dec 2006 23:28:37 +0000 (23:28 +0000)]
Fix leaks which occurs for DNS failures
Adam Dickmeiss [Wed, 20 Dec 2006 22:19:35 +0000 (22:19 +0000)]
Reduce size of database struct. Pass temp NMEM memory to show.
Adam Dickmeiss [Wed, 20 Dec 2006 22:18:33 +0000 (22:18 +0000)]
release idfvec memory
Adam Dickmeiss [Wed, 20 Dec 2006 20:56:27 +0000 (20:56 +0000)]
Ignore pazpar2 binary.
Sebastian Hammer [Wed, 20 Dec 2006 20:48:50 +0000 (20:48 +0000)]
garbage
Sebastian Hammer [Wed, 20 Dec 2006 20:48:07 +0000 (20:48 +0000)]
Reorganizing source tree
Sebastian Hammer [Wed, 20 Dec 2006 20:47:16 +0000 (20:47 +0000)]
Reorganized source tree
Sebastian Hammer [Wed, 20 Dec 2006 20:36:58 +0000 (20:36 +0000)]
Experimental version.. Trying to move state information into URL parameters
to facilitate browser navigation and bookmarking. Not really functional yet, but
Can start a session and a search.. issues remain, however.
Sebastian Hammer [Wed, 20 Dec 2006 20:25:50 +0000 (20:25 +0000)]
Removing old pz files
Adam Dickmeiss [Wed, 20 Dec 2006 19:13:25 +0000 (19:13 +0000)]
Ignore pazpar2 binary
Sebastian Hammer [Tue, 19 Dec 2006 16:46:26 +0000 (16:46 +0000)]
Description of new -h option.
Sebastian Hammer [Tue, 19 Dec 2006 04:49:34 +0000 (04:49 +0000)]
Added [host:]port syntax to -h to bind HTTP listener to specific local IP
Sebastian Hammer [Mon, 18 Dec 2006 16:29:57 +0000 (16:29 +0000)]
Destroy orphan connections on I/O. We could perhaps do better, to preserve
these connections, but then more state information must be moved to the
connection level. Think about this.
Sebastian Hammer [Mon, 18 Dec 2006 15:23:00 +0000 (15:23 +0000)]
Synching
Anders S. Mortensen [Mon, 18 Dec 2006 14:37:21 +0000 (14:37 +0000)]
Undeclared constant LOG_DEBUG, should be YLOG_DEBUG.