From: Adam Dickmeiss Date: Thu, 14 Jan 2010 12:21:20 +0000 (+0100) Subject: Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2 X-Git-Tag: v1.2.4~2 X-Git-Url: http://jsfdemo.indexdata.com/?a=commitdiff_plain;h=11994049975d40a0010d0dca01156bc80171b448;hp=ba5951a80fdd0da1d28c318852b69a1178cd6bfa;p=pazpar2-moved-to-github.git Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/pazpar2 --- diff --git a/NEWS b/NEWS index b512a9b..52d6fcb 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,9 @@ +--- 1.2.4 IN PROGRESS + +Support for additional fields in cf.xsl and pazpar2.conf.dist: +publisher, available, due, location (=locallocation), callno +(=callnumber), thumburl and score. + --- 1.2.3 2009/11/24 Metadata attribute 'skiparticle' also works for ICU based diff --git a/debian/changelog b/debian/changelog index 2cea164..b1204e3 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,16 @@ +pazpar2 (1.2.3-3indexdata) unstable; urgency=low + + * Upstream: another interrim package. + + -- Mike Taylor Wed, 13 Jan 2010 15:31:12 +0000 + +pazpar2 (1.2.3-2indexdata) unstable; urgency=low + + * Upstream: interrim Debian package incorporating some of the changes + made between 1.2.3 and 1.2.4. + + -- Mike Taylor Wed, 13 Jan 2010 14:15:46 +0000 + pazpar2 (1.2.3-1indexdata) unstable; urgency=low * Upstream. diff --git a/etc/cf.xsl b/etc/cf.xsl index 9438c75..65ad69e 100644 --- a/etc/cf.xsl +++ b/etc/cf.xsl @@ -20,14 +20,20 @@ - - + + + + - - + + @@ -38,8 +44,8 @@ - - + + @@ -50,12 +56,54 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/etc/marc21.xsl b/etc/marc21.xsl index 8d8953a..71178b7 100644 --- a/etc/marc21.xsl +++ b/etc/marc21.xsl @@ -231,12 +231,22 @@ - - - - - - + + + + + + + + + + + + + + + + diff --git a/etc/pazpar2.cfg.dist b/etc/pazpar2.cfg.dist index 81bf883..68e4d47 100644 --- a/etc/pazpar2.cfg.dist +++ b/etc/pazpar2.cfg.dist @@ -7,26 +7,26 @@ - - - - - + + + + + - - - + + + - - - - + + + + @@ -50,9 +50,9 @@ + merge="range" termlist="yes"/> + merge="longest" rank="6" mergekey="required"/> @@ -64,15 +64,15 @@ - - - - - - - + + + + + + + - + @@ -92,6 +92,8 @@ + + @@ -99,6 +101,13 @@ + + + + + + + diff --git a/src/logic.c b/src/logic.c index e1e9b90..be2ec04 100644 --- a/src/logic.c +++ b/src/logic.c @@ -92,7 +92,7 @@ static void log_xml_doc(xmlDoc *doc) #endif if (lf && len) { - fwrite(result, 1, len, lf); + (void) fwrite(result, 1, len, lf); fprintf(lf, "\n"); } xmlFree(result); diff --git a/src/sel_thread.c b/src/sel_thread.c index bb52c3c..6e07068 100644 --- a/src/sel_thread.c +++ b/src/sel_thread.c @@ -101,7 +101,7 @@ static void *sel_thread_handler(void *vp) pthread_mutex_unlock(&p->mutex); /* wake up select/poll with a single byte */ - write(p->fd[1], "", 1); + (void) write(p->fd[1], "", 1); } pthread_mutex_unlock(&p->mutex); return 0; @@ -207,7 +207,7 @@ void *sel_thread_result(sel_thread_t p) p->free_queue = work_this; data = work_this->data; - read(p->fd[0], read_buf, 1); + (void) read(p->fd[0], read_buf, 1); } pthread_mutex_unlock(&p->mutex); return data;