yaz-moved-to-github.git
14 years agoyaz-client: handle HTTP redirects
Adam Dickmeiss [Fri, 19 Mar 2010 14:50:41 +0000 (15:50 +0100)]
yaz-client: handle HTTP redirects

14 years agoMARC line reader: allow control fields of size 1
Adam Dickmeiss [Fri, 19 Mar 2010 12:33:07 +0000 (13:33 +0100)]
MARC line reader: allow control fields of size 1

14 years agoDo not URI encode SRU database
Adam Dickmeiss [Fri, 19 Mar 2010 12:30:15 +0000 (13:30 +0100)]
Do not URI encode SRU database

This reverts SRU URI handling back to YAZ 3.0.50 behavior.

14 years agotmarcxml tests files part of dist
Adam Dickmeiss [Tue, 16 Mar 2010 09:15:57 +0000 (10:15 +0100)]
tmarcxml tests files part of dist

14 years agoVarious clean ups of tmarcxml
Adam Dickmeiss [Mon, 15 Mar 2010 21:49:35 +0000 (22:49 +0100)]
Various clean ups of tmarcxml

14 years agoReindent
Adam Dickmeiss [Mon, 15 Mar 2010 21:49:22 +0000 (22:49 +0100)]
Reindent

14 years agoReindent - including tabs -> spaces.
Adam Dickmeiss [Mon, 15 Mar 2010 18:51:56 +0000 (19:51 +0100)]
Reindent - including tabs -> spaces.

14 years agoMerge branch 'turbomarc'
Dennis Schafroth [Mon, 15 Mar 2010 14:11:46 +0000 (15:11 +0100)]
Merge branch 'turbomarc'

14 years agoAdd yaz_mutex_set_name to debug a MUTEX
Adam Dickmeiss [Fri, 12 Mar 2010 13:44:49 +0000 (14:44 +0100)]
Add yaz_mutex_set_name to debug a MUTEX

When yaz_mutex_set_name is used, each lock/unlock operation will be
yaz_log'ged. Remove YAZ_GNU_THREADS portions, since they are no
not in use. The yaz_mutex_destroy now calls pthread_mutex_destroy
if YAZ_POSIX_THREADS is on.

14 years agoResult of binmarc -> xml -> binmarc (utf-8)
Dennis Schafroth [Thu, 11 Mar 2010 15:48:11 +0000 (16:48 +0100)]
Result of binmarc -> xml -> binmarc (utf-8)

14 years agoUpdated with last fixes on code attribute
Dennis Schafroth [Thu, 11 Mar 2010 15:45:22 +0000 (16:45 +0100)]
Updated with last fixes on code attribute

14 years agoFixed: double writting of code value
Dennis Schafroth [Thu, 11 Mar 2010 15:36:14 +0000 (16:36 +0100)]
Fixed: double writting of code value

14 years agoUpdated to new format for non-valid characters in element names
Dennis Schafroth [Thu, 11 Mar 2010 14:35:15 +0000 (15:35 +0100)]
Updated to new format for non-valid characters in element names

14 years agoAdded echo statement, but commented out
Dennis Schafroth [Thu, 11 Mar 2010 14:33:19 +0000 (15:33 +0100)]
Added echo statement, but commented out

14 years agoRe-implemented the element name encoding as Adams suggestion: <e tag="value"> when...
Dennis Schafroth [Thu, 11 Mar 2010 14:30:04 +0000 (15:30 +0100)]
Re-implemented the element name encoding as Adams suggestion: <e tag="value"> when the values is not suited for element name

14 years agoRe-implemented the element name encoding as Adams suggestion: <e tag="value"> when...
Dennis Schafroth [Thu, 11 Mar 2010 14:29:21 +0000 (15:29 +0100)]
Re-implemented the element name encoding as Adams suggestion: <e tag="value"> when the values is suited for element name

14 years agoFound a new place to add turbo marcxml element name "r".
Dennis Schafroth [Thu, 11 Mar 2010 12:11:53 +0000 (13:11 +0100)]
Found a new place to add turbo marcxml element name "r".

14 years agoResult of converting (using libxml2) marc to xml back to marc
Dennis Schafroth [Thu, 11 Mar 2010 11:41:37 +0000 (12:41 +0100)]
Result of converting (using libxml2) marc to xml back to marc

14 years agoAdded turbo marcxml record and a test for it
Dennis Schafroth [Thu, 11 Mar 2010 11:33:04 +0000 (12:33 +0100)]
Added turbo marcxml record and a test for it

14 years agoChanged the add_datafield_turbo_xml to match indicators as attributes
Dennis Schafroth [Thu, 11 Mar 2010 11:32:07 +0000 (12:32 +0100)]
Changed the add_datafield_turbo_xml to match indicators as attributes

14 years agoFixed: reading indicators as attributes, no longer sub elements. Added XML format...
Dennis Schafroth [Thu, 11 Mar 2010 11:30:42 +0000 (12:30 +0100)]
Fixed: reading indicators as attributes, no longer sub elements. Added XML format detections (xml, turbo marc) based on record/r element.

14 years agoMerge branch 'master' into turbomarc
Dennis Schafroth [Thu, 11 Mar 2010 08:47:26 +0000 (09:47 +0100)]
Merge branch 'master' into turbomarc

14 years agoAdded new non-libxml2 tmarc. fixed naming so it matches non-libxml2/libxml2
Dennis Schafroth [Wed, 10 Mar 2010 21:38:17 +0000 (22:38 +0100)]
Added new non-libxml2 tmarc. fixed naming so it matches non-libxml2/libxml2

14 years agoResult of libxml2 turbo marc conversion
Dennis Schafroth [Wed, 10 Mar 2010 21:33:40 +0000 (22:33 +0100)]
Result of libxml2 turbo marc conversion

14 years agoNow non-libxml2 in tmarc*.xml
Dennis Schafroth [Wed, 10 Mar 2010 21:31:47 +0000 (22:31 +0100)]
Now non-libxml2 in tmarc*.xml

14 years agoFixed: element_name_encode log statetment log statement messed up.
Dennis Schafroth [Wed, 10 Mar 2010 21:21:56 +0000 (22:21 +0100)]
Fixed: element_name_encode log statetment log statement messed up.

14 years agoCommented out the marc -> xml -> marc compare. Fails due to leader/09 (character...
Dennis Schafroth [Wed, 10 Mar 2010 15:36:53 +0000 (16:36 +0100)]
Commented out the marc -> xml -> marc compare. Fails due to leader/09 (character set)

14 years agoExtracted element name encoding into function. Moved indicators back as attributes...
Dennis Schafroth [Wed, 10 Mar 2010 15:34:45 +0000 (16:34 +0100)]
Extracted element name encoding into function. Moved indicators back as attributes to element

14 years agoFixed: Generating correct xml after intro of turbo xml
Dennis Schafroth [Wed, 10 Mar 2010 13:14:03 +0000 (14:14 +0100)]
Fixed: Generating correct xml after intro of turbo xml

14 years agoAble to make valid turbo marcxml not using libxml2.
Dennis Schafroth [Wed, 10 Mar 2010 12:44:16 +0000 (13:44 +0100)]
Able to make valid turbo marcxml not using libxml2.

14 years agoFix EXTRA_DIST due to rename of tests
Adam Dickmeiss [Wed, 10 Mar 2010 10:27:49 +0000 (11:27 +0100)]
Fix EXTRA_DIST due to rename of tests

14 years agoAdded support for turbo format in new function. Need testing
Dennis Schafroth [Wed, 10 Mar 2010 09:31:54 +0000 (10:31 +0100)]
Added support for turbo format in new function. Need testing

14 years agoRename C-based tests
Adam Dickmeiss [Tue, 9 Mar 2010 14:37:11 +0000 (15:37 +0100)]
Rename C-based tests

14 years agoUse PTHREAD_CFLAGS for all test sources
Adam Dickmeiss [Tue, 9 Mar 2010 14:13:48 +0000 (15:13 +0100)]
Use PTHREAD_CFLAGS for all test sources

At this stage only tst_icu_I18N use threads.

14 years agoRemoved redundant turbo_format
Dennis Schafroth [Tue, 9 Mar 2010 12:50:12 +0000 (13:50 +0100)]
Removed redundant turbo_format

14 years agoSupport for turbo marcxml
Dennis Schafroth [Tue, 9 Mar 2010 12:49:27 +0000 (13:49 +0100)]
Support for turbo marcxml

14 years agoSupport for turbo marcxml
Dennis Schafroth [Tue, 9 Mar 2010 12:49:05 +0000 (13:49 +0100)]
Support for turbo marcxml

14 years agoRemoved duplicate variable for turbo marcxml (using_turbo_format). Now works in zooms...
Dennis Schafroth [Tue, 9 Mar 2010 12:48:14 +0000 (13:48 +0100)]
Removed duplicate variable for turbo marcxml (using_turbo_format). Now works in zoomsh: show 0 1 txml

14 years agoUpdated eclipse settings
Dennis Schafroth [Tue, 9 Mar 2010 12:46:43 +0000 (13:46 +0100)]
Updated eclipse settings

14 years agoDeb 4.0.2-1indexdata v4.0.2
Adam Dickmeiss [Tue, 9 Mar 2010 08:55:41 +0000 (09:55 +0100)]
Deb 4.0.2-1indexdata

14 years agoVersion 4.0.2
Adam Dickmeiss [Tue, 9 Mar 2010 08:53:45 +0000 (09:53 +0100)]
Version 4.0.2

14 years agowrbuf_destroy allows NULL WRBUF passed to it
Adam Dickmeiss [Tue, 9 Mar 2010 08:53:07 +0000 (09:53 +0100)]
wrbuf_destroy allows NULL WRBUF passed to it

14 years agoicu_iter_get_token_number returns int
Adam Dickmeiss [Mon, 8 Mar 2010 20:04:48 +0000 (21:04 +0100)]
icu_iter_get_token_number returns int

14 years agoAdd tests for CCL qualifier aliases
Adam Dickmeiss [Mon, 8 Mar 2010 10:27:20 +0000 (11:27 +0100)]
Add tests for CCL qualifier aliases

14 years agoCCL: Allow qualifier aliases to be defined in XML
Adam Dickmeiss [Mon, 8 Mar 2010 10:24:41 +0000 (11:24 +0100)]
CCL: Allow qualifier aliases to be defined in XML

ccl_xml_config may now read CCL qualifier aliases as well, eg:
<cclmap>
  <qual name="title">
    <qual name="dc.title"/>
  </qual>
  <!-- other specs -->
</cclmap>

14 years agoCCL: fix parsing of ccl qualifiers aliases
Adam Dickmeiss [Mon, 8 Mar 2010 10:20:51 +0000 (11:20 +0100)]
CCL: fix parsing of ccl qualifiers aliases

The configuration specification for CCL qualifier aliases is now parsed
correctly.

14 years agoTest files for libxml2 output
Dennis Schafroth [Fri, 5 Mar 2010 15:11:24 +0000 (16:11 +0100)]
Test files for libxml2 output

14 years agoIgnore temporary test data
Dennis Schafroth [Fri, 5 Mar 2010 15:09:46 +0000 (16:09 +0100)]
Ignore temporary test data

14 years agoAdded turbo marc data files (generated from marc format)
Dennis Schafroth [Fri, 5 Mar 2010 15:09:19 +0000 (16:09 +0100)]
Added turbo marc data files (generated from marc format)

14 years agoUpdated to handle libxml2 and tmarcxml as well. Adding new check whether the conversi...
Dennis Schafroth [Fri, 5 Mar 2010 15:07:04 +0000 (16:07 +0100)]
Updated to handle libxml2 and tmarcxml as well. Adding new check whether the conversion is reversible

14 years agoFixed memory alloction errors. Added new function for turbo marcxml format. Handling...
Dennis Schafroth [Fri, 5 Mar 2010 15:05:24 +0000 (16:05 +0100)]
Fixed memory alloction errors. Added new function for turbo marcxml format. Handling decoding of subfield as hex number

14 years agoReverted manual changes in marcxml
Dennis Schafroth [Fri, 5 Mar 2010 12:38:44 +0000 (13:38 +0100)]
Reverted manual changes in marcxml

14 years agoAdded turbo marcxml read and write
Dennis Schafroth [Thu, 4 Mar 2010 16:10:12 +0000 (17:10 +0100)]
Added turbo marcxml read and write

14 years agoAdded turbo marcxml format
Dennis Schafroth [Thu, 4 Mar 2010 16:09:09 +0000 (17:09 +0100)]
Added turbo marcxml format

14 years agochange some indicators to one
Dennis Schafroth [Thu, 4 Mar 2010 16:08:23 +0000 (17:08 +0100)]
change some indicators to one

14 years agoAdded turbo marcxml format. Added check for output error
Dennis Schafroth [Tue, 2 Mar 2010 16:10:30 +0000 (17:10 +0100)]
Added turbo marcxml format. Added check for output error

14 years agoAdded turbo marcxml to output
Dennis Schafroth [Tue, 2 Mar 2010 16:09:18 +0000 (17:09 +0100)]
Added turbo marcxml to output

14 years agoAdded turbo marcxml format to output
Dennis Schafroth [Tue, 2 Mar 2010 16:04:00 +0000 (17:04 +0100)]
Added turbo marcxml format to output

14 years agoGFS: fix sizeof: saved by the bell
Adam Dickmeiss [Tue, 2 Mar 2010 12:44:15 +0000 (13:44 +0100)]
GFS: fix sizeof: saved by the bell

14 years agoGFS present: Deal with number of recs <= 0
Adam Dickmeiss [Tue, 2 Mar 2010 12:41:54 +0000 (13:41 +0100)]
GFS present: Deal with number of recs <= 0

14 years agoyaz-client: fail bad show args
Adam Dickmeiss [Tue, 2 Mar 2010 11:30:03 +0000 (12:30 +0100)]
yaz-client: fail bad show args

14 years agoAdd odr_strtol (strtol for Odr_int).
Adam Dickmeiss [Tue, 2 Mar 2010 11:29:46 +0000 (12:29 +0100)]
Add odr_strtol (strtol for Odr_int).

14 years agoWorking in progress: refactor the xml_write to handle two formats
Dennis Schafroth [Mon, 1 Mar 2010 15:05:31 +0000 (16:05 +0100)]
Working in progress: refactor the xml_write to handle two formats

14 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz
Adam Dickmeiss [Tue, 23 Feb 2010 11:41:32 +0000 (12:41 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz

14 years ago4.0.1-2indexdata for testing ZOOM_connection_close
Adam Dickmeiss [Tue, 23 Feb 2010 11:40:51 +0000 (12:40 +0100)]
4.0.1-2indexdata for testing ZOOM_connection_close

14 years agoAdd ZOOM_connection_close
Adam Dickmeiss [Tue, 23 Feb 2010 11:39:26 +0000 (12:39 +0100)]
Add ZOOM_connection_close

14 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz
Adam Dickmeiss [Wed, 10 Feb 2010 21:32:51 +0000 (22:32 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz

14 years agoFix url.icu entity ref
Adam Dickmeiss [Wed, 10 Feb 2010 21:32:34 +0000 (22:32 +0100)]
Fix url.icu entity ref

14 years agoyaz-client's auth command also works for SRU
Adam Dickmeiss [Wed, 10 Feb 2010 09:42:15 +0000 (10:42 +0100)]
yaz-client's auth command also works for SRU

Until now the auth command and option -u would only work for Z39.50.

14 years agoNo fixed size buffers for ZOOM shell - bug #3257
Adam Dickmeiss [Tue, 9 Feb 2010 13:51:10 +0000 (14:51 +0100)]
No fixed size buffers for ZOOM shell - bug #3257

14 years agotstodr: make it work on s390
Adam Dickmeiss [Fri, 5 Feb 2010 13:39:32 +0000 (14:39 +0100)]
tstodr: make it work on s390

Fix ODR test to make it work regardless of whether char is unsigned
or signed by default (most platform's char is signed, s390's char
is unsigned).

14 years agoBump version to 4.0.2
Adam Dickmeiss [Tue, 2 Feb 2010 15:33:19 +0000 (16:33 +0100)]
Bump version to 4.0.2

14 years agoNew icu_iter-functions
Adam Dickmeiss [Tue, 2 Feb 2010 12:54:07 +0000 (13:54 +0100)]
New icu_iter-functions

The new icu_iter-functions makes it possible to use ICU chains
from many threads.

14 years agoIntroduce icu_iter_first
Adam Dickmeiss [Tue, 2 Feb 2010 12:27:47 +0000 (13:27 +0100)]
Introduce icu_iter_first

14 years agoEnable icu_chain_step_clone
Adam Dickmeiss [Tue, 2 Feb 2010 11:26:50 +0000 (12:26 +0100)]
Enable icu_chain_step_clone

14 years agoFix icu_tokenizer_clone (ubrk_safeClone)
Adam Dickmeiss [Tue, 2 Feb 2010 11:26:20 +0000 (12:26 +0100)]
Fix icu_tokenizer_clone (ubrk_safeClone)

14 years agoICU transform: init ICU status
Adam Dickmeiss [Tue, 2 Feb 2010 11:25:12 +0000 (12:25 +0100)]
ICU transform: init ICU status

14 years agoWorking on cloning / thread safety for ICU stuff
Adam Dickmeiss [Mon, 1 Feb 2010 15:32:38 +0000 (16:32 +0100)]
Working on cloning / thread safety for ICU stuff

14 years agoICU test refactor. Hide icu_tokenizer struct.
Adam Dickmeiss [Mon, 1 Feb 2010 14:05:44 +0000 (15:05 +0100)]
ICU test refactor. Hide icu_tokenizer struct.

14 years agoUse yaz_log rather than printf for ICU test
Adam Dickmeiss [Mon, 1 Feb 2010 13:17:44 +0000 (14:17 +0100)]
Use yaz_log rather than printf for ICU test

14 years agoFix home page for YAZ in Windows Menu
Adam Dickmeiss [Tue, 26 Jan 2010 14:17:39 +0000 (15:17 +0100)]
Fix home page for YAZ in Windows Menu

14 years agoBump version to 4.0.1 v4.0.1
Adam Dickmeiss [Tue, 26 Jan 2010 13:57:51 +0000 (14:57 +0100)]
Bump version to 4.0.1

14 years agoyaz-json-parse part of Deb + RPM
Adam Dickmeiss [Tue, 26 Jan 2010 13:35:30 +0000 (14:35 +0100)]
yaz-json-parse part of Deb + RPM

14 years agoyaz-json-parse man page
Adam Dickmeiss [Tue, 26 Jan 2010 12:59:53 +0000 (13:59 +0100)]
yaz-json-parse man page

14 years agoAdd yaz-json-parse utility program
Adam Dickmeiss [Tue, 26 Jan 2010 12:39:37 +0000 (13:39 +0100)]
Add yaz-json-parse utility program

14 years agodirent wrapper. Use yaz_file_glob for XML include
Adam Dickmeiss [Tue, 26 Jan 2010 11:58:42 +0000 (12:58 +0100)]
dirent wrapper. Use yaz_file_glob for XML include

14 years agoFile globbing functional
Adam Dickmeiss [Tue, 26 Jan 2010 11:19:47 +0000 (12:19 +0100)]
File globbing functional

14 years agoStart work on file_glob .
Adam Dickmeiss [Mon, 25 Jan 2010 15:30:14 +0000 (16:30 +0100)]
Start work on file_glob .

14 years agoNot so dummy WRT result-sets
Adam Dickmeiss [Mon, 25 Jan 2010 12:46:48 +0000 (13:46 +0100)]
Not so dummy WRT result-sets

yaz-ztest now do proper result-set handling.

14 years agoFix spelling
Adam Dickmeiss [Mon, 25 Jan 2010 12:45:41 +0000 (13:45 +0100)]
Fix spelling

14 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz
Adam Dickmeiss [Mon, 25 Jan 2010 10:59:29 +0000 (11:59 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz

14 years agoAll databases with prefix db allowed
Adam Dickmeiss [Mon, 25 Jan 2010 10:59:19 +0000 (11:59 +0100)]
All databases with prefix db allowed

14 years agoAllow any range for dummy MARC
Adam Dickmeiss [Mon, 25 Jan 2010 10:59:04 +0000 (11:59 +0100)]
Allow any range for dummy MARC

14 years agoNSI: rephrase comment
Adam Dickmeiss [Mon, 25 Jan 2010 09:45:39 +0000 (10:45 +0100)]
NSI: rephrase comment

14 years agoXML Include: do not substitute root node
Adam Dickmeiss [Fri, 22 Jan 2010 22:02:46 +0000 (23:02 +0100)]
XML Include: do not substitute root node

Do not substitute root node .. The node parameter is simply xmlNode*
- not xmlNode **.

14 years agoAdd test of XML Include
Adam Dickmeiss [Fri, 22 Jan 2010 22:02:08 +0000 (23:02 +0100)]
Add test of XML Include

14 years agoOne COMSTACK test program
Adam Dickmeiss [Fri, 22 Jan 2010 21:30:22 +0000 (22:30 +0100)]
One COMSTACK test program

14 years agoHeader for Adding XML Include utility
Adam Dickmeiss [Fri, 22 Jan 2010 21:21:13 +0000 (22:21 +0100)]
Header for Adding XML Include utility

The header, xml_include.h, should have been part of previous commit.

14 years agoAdding XML Include utility (not W3C's include)
Adam Dickmeiss [Fri, 22 Jan 2010 14:38:32 +0000 (15:38 +0100)]
Adding XML Include utility (not W3C's include)

14 years agoEmbarrassing
Adam Dickmeiss [Fri, 22 Jan 2010 14:17:25 +0000 (15:17 +0100)]
Embarrassing