yaz-moved-to-github.git
11 years agorecord_render: simplify a bit
Adam Dickmeiss [Thu, 21 Jun 2012 12:35:08 +0000 (14:35 +0200)]
record_render: simplify a bit

11 years agorecord_render: fix buffer overrun
Adam Dickmeiss [Thu, 21 Jun 2012 12:33:11 +0000 (14:33 +0200)]
record_render: fix buffer overrun

This appeared as charset=.. being ignored for base64 conversions,
but could also be giving SEGVs.

11 years agorecord_render: allow ws after = in typespec
Adam Dickmeiss [Wed, 20 Jun 2012 13:36:25 +0000 (15:36 +0200)]
record_render: allow ws after = in typespec

For example, xml; charset= marc-8

11 years agoFix record_render for case where len==NULL
Adam Dickmeiss [Wed, 20 Jun 2012 13:19:03 +0000 (15:19 +0200)]
Fix record_render for case where len==NULL

In which len is unset by record_render

11 years agoTest base64 system more
Adam Dickmeiss [Wed, 20 Jun 2012 11:06:16 +0000 (13:06 +0200)]
Test base64 system more

11 years agoAllow whitespace for base64 decoding
Adam Dickmeiss [Wed, 20 Jun 2012 11:04:59 +0000 (13:04 +0200)]
Allow whitespace for base64 decoding

11 years agorender_render: Change spec for base64 record embedding
Adam Dickmeiss [Tue, 19 Jun 2012 10:33:42 +0000 (12:33 +0200)]
render_render: Change spec for base64 record embedding

Syntax is now base64=x-path .. part of record_render. For example,
to produce embedded Turbomarc that comes in marc-8 encoding (usmarc
typically), you could use: txml; charset=marc-8; base64=myxpath .

11 years agorecord_render: make it compile wo Libxml2
Adam Dickmeiss [Mon, 18 Jun 2012 13:47:01 +0000 (15:47 +0200)]
record_render: make it compile wo Libxml2

11 years agorecord_render: base64 decoding of embedded records
Adam Dickmeiss [Mon, 18 Jun 2012 13:05:26 +0000 (15:05 +0200)]
record_render: base64 decoding of embedded records

11 years agoVersion 4.2.34 v4.2.34
Adam Dickmeiss [Thu, 7 Jun 2012 13:19:32 +0000 (15:19 +0200)]
Version 4.2.34

11 years agoAdd CentOS 5
Adam Dickmeiss [Thu, 7 Jun 2012 13:18:33 +0000 (15:18 +0200)]
Add CentOS 5

11 years agoUpdate NEWS
Adam Dickmeiss [Thu, 7 Jun 2012 13:17:53 +0000 (15:17 +0200)]
Update NEWS

11 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz
Adam Dickmeiss [Wed, 6 Jun 2012 12:07:12 +0000 (14:07 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz

11 years agoyaz-config --include: returns -Ipath
Adam Dickmeiss [Wed, 6 Jun 2012 12:06:38 +0000 (14:06 +0200)]
yaz-config --include: returns -Ipath

for YAZ header files.

11 years agoNow copied from header
Dennis Schafroth [Wed, 6 Jun 2012 11:08:56 +0000 (13:08 +0200)]
Now copied from header

11 years agoImplement missing function. already declared in API
Dennis Schafroth [Wed, 6 Jun 2012 10:07:34 +0000 (12:07 +0200)]
Implement missing function. already declared in API

11 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz
Adam Dickmeiss [Tue, 5 Jun 2012 06:16:12 +0000 (08:16 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz

11 years agoSpell fix of ZOOM_resultset_facets_names
Adam Dickmeiss [Tue, 5 Jun 2012 06:14:24 +0000 (08:14 +0200)]
Spell fix of ZOOM_resultset_facets_names

Was ZOOM_resultset_facet_names before. This changes the public API
but we have to assume nobody was using it, since it was never declared
in a public header.

11 years agoRead and convert base64-encode marc
Jakub Skoczen [Mon, 4 Jun 2012 15:03:24 +0000 (17:03 +0200)]
Read and convert base64-encode marc

11 years agoBeginnings of test_embed_record
Adam Dickmeiss [Mon, 4 Jun 2012 13:01:06 +0000 (15:01 +0200)]
Beginnings of test_embed_record

11 years agoReformat
Adam Dickmeiss [Fri, 1 Jun 2012 07:07:31 +0000 (09:07 +0200)]
Reformat

11 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz
Adam Dickmeiss [Fri, 1 Jun 2012 07:04:01 +0000 (09:04 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz

11 years agozoom: fix connect options (bad free)
Adam Dickmeiss [Fri, 1 Jun 2012 07:03:51 +0000 (09:03 +0200)]
zoom: fix connect options (bad free)

11 years agoRemove comments about recordPosition in ZOOM
Adam Dickmeiss [Wed, 30 May 2012 07:51:18 +0000 (09:51 +0200)]
Remove comments about recordPosition in ZOOM

11 years agoUpdate doc/common
Adam Dickmeiss [Wed, 30 May 2012 07:50:49 +0000 (09:50 +0200)]
Update doc/common

11 years agoUpdate doc/common
Adam Dickmeiss [Tue, 29 May 2012 12:54:14 +0000 (14:54 +0200)]
Update doc/common

11 years agoAdd links to 3d party packages
Adam Dickmeiss [Tue, 29 May 2012 12:52:50 +0000 (14:52 +0200)]
Add links to 3d party packages

Mention the newer windows platforms that are being tested.
Mention that CentOS, not RedHat is what we built for at the
moment.

11 years agoUpdate doc/common
Adam Dickmeiss [Tue, 29 May 2012 12:52:37 +0000 (14:52 +0200)]
Update doc/common

11 years agoAdd test_icu.4 results in dist
Adam Dickmeiss [Thu, 24 May 2012 11:09:39 +0000 (11:09 +0000)]
Add test_icu.4 results in dist

So that it gets tested in dist-files as well.

11 years agoicu test: don't use tokenize rule="s"
Adam Dickmeiss [Thu, 24 May 2012 11:08:18 +0000 (11:08 +0000)]
icu test: don't use tokenize rule="s"

because it differs from ICU 3.6 and ICU 4.

11 years agoUse specific characters instead of punktuation. Makes a difference
Dennis Schafroth [Tue, 22 May 2012 11:40:35 +0000 (11:40 +0000)]
Use specific characters instead of punktuation. Makes a difference

11 years agoChange APDU dump printing to avoid long leading blanks
Adam Dickmeiss [Mon, 21 May 2012 12:49:08 +0000 (14:49 +0200)]
Change APDU dump printing to avoid long leading blanks

For levels 16 or larger the level is shown and the indentation is
truncated but recursed with modula 8. This makes it still reasonable
easy to read - even for nested BER dumps.

11 years agoFix bug completeBER_n WRT too nested BER
Adam Dickmeiss [Mon, 21 May 2012 12:46:49 +0000 (14:46 +0200)]
Fix bug completeBER_n WRT too nested BER

Function completeBER_n could return 0 (incomplete package) in case
where the BER package was considered too nested (return value of -2).

11 years agodumpber: lines of level 15 are not indented furhter
Adam Dickmeiss [Mon, 21 May 2012 11:37:00 +0000 (13:37 +0200)]
dumpber: lines of level 15 are not indented furhter

Two spaces per indentation; indentation 15 or more is
indented to a fixed indentation and augmented with a lavel=<no>
indication.

11 years agozoomsh: increase max size of command+args
Adam Dickmeiss [Mon, 21 May 2012 10:54:17 +0000 (12:54 +0200)]
zoomsh: increase max size of command+args

11 years agoGFS: No limit in RPN buf size in CQL to RPN conv
Adam Dickmeiss [Mon, 21 May 2012 10:13:43 +0000 (12:13 +0200)]
GFS: No limit in RPN buf size in CQL to RPN conv

11 years agoChange after rule change
Dennis Schafroth [Thu, 10 May 2012 13:59:21 +0000 (15:59 +0200)]
Change after rule change

11 years agoRight rule
Dennis Schafroth [Thu, 10 May 2012 13:54:50 +0000 (15:54 +0200)]
Right rule

11 years agoFix date
Adam Dickmeiss [Wed, 9 May 2012 13:30:45 +0000 (15:30 +0200)]
Fix date

11 years agoVersion 4.2.33 v4.2.33
Adam Dickmeiss [Wed, 9 May 2012 11:09:00 +0000 (13:09 +0200)]
Version 4.2.33

11 years agoUpdate NEWS
Adam Dickmeiss [Wed, 9 May 2012 11:08:31 +0000 (13:08 +0200)]
Update NEWS

11 years agoYAZ_EXPORT yaz_srw_sortkeys_to_sort_spec
Adam Dickmeiss [Wed, 9 May 2012 10:57:02 +0000 (12:57 +0200)]
YAZ_EXPORT yaz_srw_sortkeys_to_sort_spec

11 years agoMore pointers in Doxygen mainpage
Adam Dickmeiss [Wed, 9 May 2012 10:41:20 +0000 (12:41 +0200)]
More pointers in Doxygen mainpage

11 years agodaemon: new scheme for graceful termination
Adam Dickmeiss [Wed, 9 May 2012 10:39:46 +0000 (12:39 +0200)]
daemon: new scheme for graceful termination

The keepalive child process calls new function, yaz_daemon_stop, which
tells parent keepalive process to terminate. This function should be
called when the child process has closed the listening socket.

11 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz
Dennis Schafroth [Mon, 7 May 2012 14:28:39 +0000 (16:28 +0200)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz

11 years agoExample of punctuals removal at sentence end
Dennis Schafroth [Mon, 7 May 2012 14:28:10 +0000 (16:28 +0200)]
Example of punctuals removal at sentence end

11 years agoExample of punctuals removal at sentence end
Dennis Schafroth [Mon, 7 May 2012 14:27:49 +0000 (16:27 +0200)]
Example of punctuals removal at sentence end

11 years agodaemon: further tweaks to keepalive handling
Adam Dickmeiss [Thu, 3 May 2012 14:38:24 +0000 (16:38 +0200)]
daemon: further tweaks to keepalive handling

SIGTERM: we wait until child terminates. This ensures that stop
script can safely assume that when moniotor process is gone, the
listening socket is closed.
SIGHUP: we send a signal to child process. Wait 2 seconds and stop
without waiting for child to terminate. Indeed it may still be running
serving remaining request. We have no way to know if the child has
really closed the listening socket within the two seconds we wait.

11 years agodaemon: exit monitor process for SIG{HUP,TERM,USR1}
Adam Dickmeiss [Tue, 1 May 2012 20:38:43 +0000 (22:38 +0200)]
daemon: exit monitor process for SIG{HUP,TERM,USR1}

It ensures that binding socket is closed in monitor process. It also
ensures that even if child process makes a failure during termination,
SIGSEGV or other, monitor process also terminates.

11 years agoBuild for Ubuntu precise, no build for maverick
Adam Dickmeiss [Tue, 1 May 2012 10:21:09 +0000 (12:21 +0200)]
Build for Ubuntu precise, no build for maverick

11 years agoFix yaz_xml_include_simple to return -1 on failure
Adam Dickmeiss [Thu, 26 Apr 2012 11:55:50 +0000 (13:55 +0200)]
Fix yaz_xml_include_simple to return -1 on failure

11 years agoyaz_url_exec: minor adjustments to log msgs
Adam Dickmeiss [Wed, 25 Apr 2012 14:06:49 +0000 (16:06 +0200)]
yaz_url_exec: minor adjustments to log msgs

11 years agoVersion 4.2.32 v4.2.32
Adam Dickmeiss [Wed, 25 Apr 2012 08:06:38 +0000 (10:06 +0200)]
Version 4.2.32

11 years agoUpdate NEWS
Adam Dickmeiss [Wed, 25 Apr 2012 08:03:48 +0000 (10:03 +0200)]
Update NEWS

11 years agoAdd some Bib-1/SRU diagnostics + mappings
Adam Dickmeiss [Wed, 25 Apr 2012 08:01:08 +0000 (10:01 +0200)]
Add some Bib-1/SRU diagnostics + mappings

Bib-1: 1073 and 1074: Proxy failure
SRU: 1074: Proxy failure

11 years agoDo not build for Debian lenny anymore
Adam Dickmeiss [Tue, 24 Apr 2012 12:28:46 +0000 (14:28 +0200)]
Do not build for Debian lenny anymore

11 years agoVersion 4.2.31 v4.2.31
Adam Dickmeiss [Mon, 23 Apr 2012 09:21:56 +0000 (11:21 +0200)]
Version 4.2.31

12 years agoYAZ daemon utility relays SIGUSR1 to child process
Adam Dickmeiss [Tue, 17 Apr 2012 14:22:04 +0000 (16:22 +0200)]
YAZ daemon utility relays SIGUSR1 to child process

12 years agoZOOM: handle trailing slash for Z39.50 urls
Adam Dickmeiss [Tue, 17 Apr 2012 13:52:03 +0000 (15:52 +0200)]
ZOOM: handle trailing slash for Z39.50 urls

Previously localhost:9999/ would result in en empty database list -
which in turn would result in encoding failure for search.

12 years agoFix reading beyond string in yaz_sort_spec
Adam Dickmeiss [Mon, 16 Apr 2012 08:32:28 +0000 (10:32 +0200)]
Fix reading beyond string in yaz_sort_spec

Spotted by Debians buildds output:
https://buildd.debian.org/fetch.cgi?pkg=yaz&arch=mips&
 ver=4.2.30-1&stamp=1334563202&file=log

12 years agoVersion 4.2.30 v4.2.30
Adam Dickmeiss [Wed, 11 Apr 2012 08:27:10 +0000 (10:27 +0200)]
Version 4.2.30

12 years agoUpdate Bib-1/SRU diagnostic map for 236, 1015
Adam Dickmeiss [Wed, 4 Apr 2012 10:54:14 +0000 (12:54 +0200)]
Update Bib-1/SRU diagnostic map for 236, 1015

12 years agoadd two new SRU diagnostics
Adam Dickmeiss [Wed, 4 Apr 2012 10:53:14 +0000 (12:53 +0200)]
add two new SRU diagnostics

236: Access to specified database denied
1015: Init/AC: Maximum number of simultaneous sessions for Userid

12 years agoDocument the very useful ZOOM-C option "apdulog".
Mike Taylor [Tue, 3 Apr 2012 09:28:11 +0000 (10:28 +0100)]
Document the very useful ZOOM-C option "apdulog".

12 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz
Adam Dickmeiss [Fri, 23 Mar 2012 13:28:17 +0000 (14:28 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz

12 years agoCQL to RPN: term may be passed through verbatim
Adam Dickmeiss [Fri, 23 Mar 2012 13:24:35 +0000 (14:24 +0100)]
CQL to RPN: term may be passed through verbatim

This is enabled with truncation.cql . The assumption being that the
term is already CQL.

12 years agoupdate packages names for FreeBSD
Wolfram Schneider [Fri, 23 Mar 2012 12:22:51 +0000 (12:22 +0000)]
update packages names for FreeBSD

12 years agoCCL: fix spell error in message
Adam Dickmeiss [Tue, 20 Mar 2012 13:24:08 +0000 (14:24 +0100)]
CCL: fix spell error in message

12 years agoVersion 4.2.29 v4.2.29
Adam Dickmeiss [Tue, 20 Mar 2012 09:36:12 +0000 (10:36 +0100)]
Version 4.2.29

12 years agoUpdate NEWS
Adam Dickmeiss [Tue, 20 Mar 2012 09:34:50 +0000 (10:34 +0100)]
Update NEWS

12 years agoyaz-marcdump man: quote in leader spec example
Adam Dickmeiss [Tue, 20 Mar 2012 09:33:19 +0000 (10:33 +0100)]
yaz-marcdump man: quote in leader spec example

12 years agorecord_conv: allow user-XSLT params
Adam Dickmeiss [Thu, 8 Mar 2012 15:56:50 +0000 (16:56 +0100)]
record_conv: allow user-XSLT params

For example:
   <xslt stylesheet="MARC21slim2DC.xsl">
      <param name="myparameter" value="myvalue"/>
      <param name="otherparameter" value="othervalue"/>
   </xslt>

12 years agorecord_conv: leader spec may be given for marc element
Adam Dickmeiss [Thu, 8 Mar 2012 09:08:38 +0000 (10:08 +0100)]
record_conv: leader spec may be given for marc element

The leader spec is given as attribute leaderspec for element marc.
For example to convert a MARC21 record from MARC-8 to UTF-8:
 <marc inputformat="marc" outputformat="marc"
  inputcharset="marc-8" outputcharset="utf-8 "leaderspec="9=a"/>

12 years agorecord_conv: fix error handling for marc charsets mis
Adam Dickmeiss [Thu, 8 Mar 2012 08:19:58 +0000 (09:19 +0100)]
record_conv: fix error handling for marc charsets mis

Fix really brain damaged error handling of marc charset check.

12 years agoCQL: fix extra terms in wrong order
Adam Dickmeiss [Wed, 7 Mar 2012 11:46:37 +0000 (12:46 +0100)]
CQL: fix extra terms in wrong order

12 years agoVersion 4.2.28 v4.2.28
Adam Dickmeiss [Tue, 6 Mar 2012 11:23:34 +0000 (12:23 +0100)]
Version 4.2.28

12 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz
Adam Dickmeiss [Tue, 6 Mar 2012 11:19:29 +0000 (12:19 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz

12 years agoUpdate NEWS
Adam Dickmeiss [Tue, 6 Mar 2012 11:19:24 +0000 (12:19 +0100)]
Update NEWS

12 years agoUpdate doc/common and m4
Adam Dickmeiss [Fri, 2 Mar 2012 21:41:04 +0000 (22:41 +0100)]
Update doc/common and m4

12 years agorecord_conv: change construct prototype
Adam Dickmeiss [Fri, 2 Mar 2012 10:28:34 +0000 (11:28 +0100)]
record_conv: change construct prototype

Removing yaz_record_conv_t from construct conversion type
handler.

12 years agorecord_conv: modify new API for conversion types
Adam Dickmeiss [Fri, 2 Mar 2012 10:17:28 +0000 (11:17 +0100)]
record_conv: modify new API for conversion types

The conversion types may be passed in new functions
yaz_record_conv_configure_t and yaz_retrieval_configure_t.
Removing yaz_record_conv_add_type .

12 years agorecord_conv: 2nd attempt compile wo Libxml2
Adam Dickmeiss [Thu, 1 Mar 2012 14:41:34 +0000 (15:41 +0100)]
record_conv: 2nd attempt compile wo Libxml2

12 years agorecord_conv: proper diagnostic for unhandled types
Adam Dickmeiss [Thu, 1 Mar 2012 14:17:00 +0000 (15:17 +0100)]
record_conv: proper diagnostic for unhandled types

Thanks to Hudson for telling me.

12 years agoMove yaz_record_conv_type to XML2-only area
Adam Dickmeiss [Thu, 1 Mar 2012 14:07:46 +0000 (15:07 +0100)]
Move yaz_record_conv_type to XML2-only area

Because it refers to xmlNode.

12 years agorecord_conv: extensible conversion
Adam Dickmeiss [Thu, 1 Mar 2012 13:52:58 +0000 (14:52 +0100)]
record_conv: extensible conversion

A new conversion type may be defined for the record_conv system,
with the new function yaz_record_conv_add_type.

12 years agoComment fix to make Doxygen happy
Adam Dickmeiss [Thu, 1 Mar 2012 13:52:20 +0000 (14:52 +0100)]
Comment fix to make Doxygen happy

12 years agoAvoid mixed stmt/var declare
Adam Dickmeiss [Wed, 29 Feb 2012 09:47:13 +0000 (10:47 +0100)]
Avoid mixed stmt/var declare

12 years agoVersion 4.2.27 v4.2.27
Adam Dickmeiss [Tue, 28 Feb 2012 19:41:25 +0000 (19:41 +0000)]
Version 4.2.27

12 years agoUpdate NEWS
Adam Dickmeiss [Tue, 28 Feb 2012 16:10:43 +0000 (17:10 +0100)]
Update NEWS

12 years agoDiagnostic map tweaks for "Database does not exist"
Adam Dickmeiss [Tue, 28 Feb 2012 15:53:19 +0000 (16:53 +0100)]
Diagnostic map tweaks for "Database does not exist"

Bib-1 114: Database unavailable and Bib-1: 235 "Database does not
exist" maps to SRU diagnostic 235 "Database does not exist".

12 years agoAdd SRU diagnostic 235: Database does not exist
Adam Dickmeiss [Tue, 28 Feb 2012 15:51:03 +0000 (16:51 +0100)]
Add SRU diagnostic 235: Database does not exist

Not part of the standard.

12 years agoReformat (no code changes)
Adam Dickmeiss [Fri, 24 Feb 2012 13:48:26 +0000 (14:48 +0100)]
Reformat (no code changes)

12 years agoretrieval: only one <backend> section allowed
Adam Dickmeiss [Fri, 24 Feb 2012 13:46:02 +0000 (14:46 +0100)]
retrieval: only one <backend> section allowed

12 years agoCCL: ccl_err_msg returns 0 ptr for invalid ccl_errno
Adam Dickmeiss [Fri, 24 Feb 2012 10:26:56 +0000 (11:26 +0100)]
CCL: ccl_err_msg returns 0 ptr for invalid ccl_errno

12 years agoCCL: add two new diagnostics for unsupported masking
Adam Dickmeiss [Fri, 24 Feb 2012 10:23:46 +0000 (11:23 +0100)]
CCL: add two new diagnostics for unsupported masking

The new diagnostics are: "Embedded truncation not supported"
and "Single charcacter mask not supported".

12 years agoVersion 4.2.26 v4.2.26
Adam Dickmeiss [Thu, 23 Feb 2012 08:14:55 +0000 (08:14 +0000)]
Version 4.2.26

12 years agoCCL: fix use of "term" field in sub queries
Adam Dickmeiss [Thu, 23 Feb 2012 08:09:48 +0000 (09:09 +0100)]
CCL: fix use of "term" field in sub queries

12 years agoUpdate doc/common
Adam Dickmeiss [Fri, 17 Feb 2012 14:30:12 +0000 (15:30 +0100)]
Update doc/common

12 years agoFix 0 ptr ref in tcpd usage (host unknown)
Adam Dickmeiss [Tue, 17 Jan 2012 13:55:54 +0000 (14:55 +0100)]
Fix 0 ptr ref in tcpd usage (host unknown)

Thanks to Donovan Artz for the patch.

12 years agoVersion 4.2.25 v4.2.25
Adam Dickmeiss [Wed, 11 Jan 2012 08:29:25 +0000 (09:29 +0100)]
Version 4.2.25