yaz-moved-to-github.git
12 years agoVersino 4.2.39 v4.2.39
Adam Dickmeiss [Fri, 28 Sep 2012 11:31:38 +0000 (13:31 +0200)]
Versino 4.2.39

12 years agoTest new function ccl_qual_fitem2
Adam Dickmeiss [Thu, 27 Sep 2012 13:11:49 +0000 (15:11 +0200)]
Test new function ccl_qual_fitem2

12 years agoImplement ccl_qual_fitem2
Adam Dickmeiss [Thu, 27 Sep 2012 13:11:07 +0000 (15:11 +0200)]
Implement ccl_qual_fitem2

Like ccl_qual_fitem but with diagnostic string returned.

12 years agoMARC: Extra/missing indicator handled for MARCXML
Adam Dickmeiss [Thu, 20 Sep 2012 12:15:32 +0000 (14:15 +0200)]
MARC: Extra/missing indicator handled for MARCXML

The indicator length is given in header and is the same for the
whole record. If attributes ind1, ind2 are missing, then content
character defaults to blank.  Extra indicator attributes (beyond)
indicator length are treated as an error.

12 years agoReformat: delete trailing whitespace
Adam Dickmeiss [Wed, 19 Sep 2012 13:33:09 +0000 (15:33 +0200)]
Reformat: delete trailing whitespace

12 years agoVersion 4.2.38 v4.2.38
Adam Dickmeiss [Mon, 17 Sep 2012 08:46:13 +0000 (10:46 +0200)]
Version 4.2.38

12 years agoDocument s=ag
Adam Dickmeiss [Mon, 17 Sep 2012 08:43:09 +0000 (10:43 +0200)]
Document s=ag

12 years agoMARC: skip non-ASCII characters always for leader
Adam Dickmeiss [Fri, 14 Sep 2012 09:27:28 +0000 (11:27 +0200)]
MARC: skip non-ASCII characters always for leader

The standard explicitly disallows those. So even if output is
non-XML we modify them.

12 years agoSkip bad UTF-8 chars in MARC leaders
Adam Dickmeiss [Wed, 12 Sep 2012 12:44:47 +0000 (14:44 +0200)]
Skip bad UTF-8 chars in MARC leaders

But only when outputting XML.

12 years agoSimplify construct
Adam Dickmeiss [Wed, 12 Sep 2012 12:25:01 +0000 (14:25 +0200)]
Simplify construct

12 years agoCCL: fix uninit local var (attset)
Adam Dickmeiss [Mon, 10 Sep 2012 11:22:11 +0000 (13:22 +0200)]
CCL: fix uninit local var (attset)

12 years agoCCL: s=ag automatically adds s=pw
Adam Dickmeiss [Mon, 10 Sep 2012 10:55:22 +0000 (12:55 +0200)]
CCL: s=ag automatically adds s=pw

Apply structure=word/phrase for ag. It really makes no sense to not
apply them.

12 years agoCCL: add tests for CCL s=ag
Adam Dickmeiss [Mon, 10 Sep 2012 10:47:54 +0000 (12:47 +0200)]
CCL: add tests for CCL s=ag

12 years agoCCL: implement s=ag special
Adam Dickmeiss [Mon, 10 Sep 2012 10:45:23 +0000 (12:45 +0200)]
CCL: implement s=ag special

It's like s=al except that terms wo whitespace are combined in one
leaf node.

12 years agoCCL: refactor search_term_x into two functions
Adam Dickmeiss [Wed, 5 Sep 2012 14:12:47 +0000 (16:12 +0200)]
CCL: refactor search_term_x into two functions

12 years agoVersion 4.2.37 v4.2.37
Adam Dickmeiss [Tue, 4 Sep 2012 10:51:13 +0000 (12:51 +0200)]
Version 4.2.37

12 years agoAdd pretty printing to yaz-json-parse
Adam Dickmeiss [Tue, 4 Sep 2012 10:18:24 +0000 (12:18 +0200)]
Add pretty printing to yaz-json-parse

Define new public function json_write_wrbuf_pretty.

12 years agoyaz-client: increase default max message to 64 MB
Adam Dickmeiss [Tue, 4 Sep 2012 08:08:14 +0000 (10:08 +0200)]
yaz-client: increase default max message to 64 MB

12 years agoZOOM: increase default max message to 64 MB
Adam Dickmeiss [Mon, 3 Sep 2012 13:12:33 +0000 (15:12 +0200)]
ZOOM: increase default max message to 64 MB

12 years agoGFS: increase default max message to 64 MB
Adam Dickmeiss [Mon, 3 Sep 2012 13:11:30 +0000 (15:11 +0200)]
GFS: increase default max message to 64 MB

12 years agotcpip comstack: increase max recv to 128 MB
Adam Dickmeiss [Mon, 3 Sep 2012 13:10:59 +0000 (15:10 +0200)]
tcpip comstack: increase max recv to 128 MB

12 years agoVersino 4.2.36 v4.2.36
Adam Dickmeiss [Wed, 22 Aug 2012 08:10:27 +0000 (10:10 +0200)]
Versino 4.2.36

12 years agoUpdate NEWS
Adam Dickmeiss [Wed, 22 Aug 2012 08:05:59 +0000 (10:05 +0200)]
Update NEWS

12 years agoyaz_poll: Allow num_fds == 0
Adam Dickmeiss [Tue, 21 Aug 2012 13:05:52 +0000 (15:05 +0200)]
yaz_poll: Allow num_fds == 0

12 years agozoomsh: allow shell command to be executed
Adam Dickmeiss [Tue, 21 Aug 2012 13:02:19 +0000 (15:02 +0200)]
zoomsh: allow shell command to be executed

Via the system(3) call.

12 years agoUpdate m4
Adam Dickmeiss [Tue, 21 Aug 2012 12:42:01 +0000 (14:42 +0200)]
Update m4

12 years agoyaz-client: fix bad encoding of "itemorder item"
Adam Dickmeiss [Mon, 13 Aug 2012 12:06:46 +0000 (14:06 +0200)]
yaz-client: fix bad encoding of "itemorder item"

The itemorder item <no>  - command forgot to use length of encoded
Item Request package. Error present since YAZ 3.

12 years agoyaz-ztest: fix bad usage of session handle
Adam Dickmeiss [Mon, 13 Aug 2012 10:55:12 +0000 (12:55 +0200)]
yaz-ztest: fix bad usage of session handle

Bug was introduced when result sets were saved (271a9c83).

12 years agoDecode SRU 2.0 responses
Adam Dickmeiss [Wed, 8 Aug 2012 12:53:22 +0000 (14:53 +0200)]
Decode SRU 2.0 responses

The official namespace for responses, according to
http://docs.oasis-open.org/search-ws/searchRetrieve/v1.0/cs01/schemas/sruResponse.xsd
appears to be http://docs.oasis-open.org/ns/search-ws/sruResponse .
nature.com's server, however, usee namespace
http://docs.oasis-open.org/ns/search-ws/sru-2-0-response
For this reason we are now using a glob-expr to match up the namespace.
ZOOM C and yaz-client updated.
Perhaps SRU 1.2 uses same namespace, I don't know. I can not find
a single real example showing the "real" namespace in the documentation
from OASIS. The namespace for requests is different from responses, but
this is not added to YAZ yet, when we don't encode them yet.

12 years agoSRU recordPacking: guess record packing in response
Adam Dickmeiss [Wed, 8 Aug 2012 12:44:35 +0000 (14:44 +0200)]
SRU recordPacking: guess record packing in response

rather than looking at the recordPacking element which, OF COURSE,
changed semantics in SRU 2.0.

12 years agoODR dump: truncate dump after 20k rather than 2k.
Adam Dickmeiss [Wed, 8 Aug 2012 12:42:47 +0000 (14:42 +0200)]
ODR dump: truncate dump after 20k rather than 2k.

12 years agoyaz-client: don't display bogus records from SRU servers
Adam Dickmeiss [Wed, 8 Aug 2012 07:27:38 +0000 (09:27 +0200)]
yaz-client: don't display bogus records from SRU servers

Some SRU servers return more records than given by *maximumRecords*.
Skipping those in display!

12 years agoUpdate m4
Adam Dickmeiss [Tue, 7 Aug 2012 11:35:52 +0000 (13:35 +0200)]
Update m4

12 years agoUse shared id-config.sh and fix automake check
Adam Dickmeiss [Tue, 7 Aug 2012 11:32:59 +0000 (13:32 +0200)]
Use shared id-config.sh and fix automake check

The automake version was incorrect and this is fixed by this.

12 years agorecord_render: simplify buffer return handling
Adam Dickmeiss [Mon, 6 Aug 2012 13:22:04 +0000 (15:22 +0200)]
record_render: simplify buffer return handling

and fix at least one bad memory reference, that broke the
test_embed_record sometimes.

12 years agoAllow http://user:pass@host notation for yaz_url_exec
Adam Dickmeiss [Wed, 1 Aug 2012 12:30:18 +0000 (14:30 +0200)]
Allow user:pass@host notation for yaz_url_exec

12 years agozoomsh: check for ext type parameter
Adam Dickmeiss [Mon, 30 Jul 2012 13:18:50 +0000 (15:18 +0200)]
zoomsh: check for ext type parameter

Must be given.

12 years agoDefine two locals always; to avoid GCC warning
Adam Dickmeiss [Fri, 6 Jul 2012 11:12:35 +0000 (13:12 +0200)]
Define two locals always; to avoid GCC warning

12 years agoDH compat 5
Adam Dickmeiss [Fri, 6 Jul 2012 10:53:24 +0000 (12:53 +0200)]
DH compat 5

12 years agoVersion 4.2.35 v4.2.35
Adam Dickmeiss [Tue, 26 Jun 2012 12:48:56 +0000 (14:48 +0200)]
Version 4.2.35

12 years agoUpdate NEWS
Adam Dickmeiss [Tue, 26 Jun 2012 12:47:56 +0000 (14:47 +0200)]
Update NEWS

12 years agoAdd test case for rendering of UTF-8 MARC record
Adam Dickmeiss [Thu, 21 Jun 2012 12:35:54 +0000 (14:35 +0200)]
Add test case for rendering of UTF-8 MARC record

12 years agorecord_render: simplify a bit
Adam Dickmeiss [Thu, 21 Jun 2012 12:35:08 +0000 (14:35 +0200)]
record_render: simplify a bit

12 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.

12 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

12 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

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

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

12 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 .

12 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

12 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

12 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

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

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

12 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

12 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.

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

12 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

12 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

12 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.

12 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

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

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

12 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

12 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)

12 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

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

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

12 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.

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

12 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.

12 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.

12 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

12 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.

12 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).

12 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.

12 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

12 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

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

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

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

12 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

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

12 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

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

12 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.

12 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

12 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

12 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

12 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.

12 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.

12 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

12 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

12 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

12 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

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

12 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

12 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

12 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