yaz-moved-to-github.git
9 years agoDo not return value in a void func
Adam Dickmeiss [Sun, 11 Apr 2010 09:49:36 +0000 (11:49 +0200)]
Do not return value in a void func

9 years agoProperly encode JSON strings
Adam Dickmeiss [Fri, 9 Apr 2010 12:05:02 +0000 (14:05 +0200)]
Properly encode JSON strings

9 years agoyaz-json-parse displays leading text until error
Adam Dickmeiss [Fri, 9 Apr 2010 11:40:31 +0000 (13:40 +0200)]
yaz-json-parse displays leading text until error

9 years agoAdd json_parser_get_position and json_parse2
Adam Dickmeiss [Fri, 9 Apr 2010 11:39:27 +0000 (13:39 +0200)]
Add json_parser_get_position and json_parse2

9 years agoSpell fix
Adam Dickmeiss [Fri, 9 Apr 2010 10:26:16 +0000 (12:26 +0200)]
Spell fix

9 years agoThe IDMETA file as used by our pbuilder scripts
Adam Dickmeiss [Fri, 9 Apr 2010 10:22:32 +0000 (12:22 +0200)]
The IDMETA file as used by our pbuilder scripts

9 years agoVerson 4.0.3 v4.0.3
Adam Dickmeiss [Fri, 9 Apr 2010 09:33:28 +0000 (11:33 +0200)]
Verson 4.0.3

9 years agoUpdate WIN32 makefile for renamed tests
Adam Dickmeiss [Fri, 9 Apr 2010 09:32:35 +0000 (11:32 +0200)]
Update WIN32 makefile for renamed tests

9 years agoUse srand rather than less portable srandom
Adam Dickmeiss [Fri, 9 Apr 2010 09:31:16 +0000 (11:31 +0200)]
Use srand rather than less portable srandom

9 years agoInclude windows.h(WIN32)
Adam Dickmeiss [Fri, 9 Apr 2010 09:27:43 +0000 (11:27 +0200)]
Include windows.h(WIN32)

9 years agoztest delay: select(Unix) or Sleep(Win32)
Adam Dickmeiss [Fri, 9 Apr 2010 09:25:47 +0000 (11:25 +0200)]
ztest delay: select(Unix) or Sleep(Win32)

9 years agoDocument using TurboMARC from ZOOM C
Adam Dickmeiss [Fri, 9 Apr 2010 09:10:42 +0000 (11:10 +0200)]
Document using TurboMARC from ZOOM C

9 years agoyaz-client: show uses last position if omitted
Adam Dickmeiss [Fri, 9 Apr 2010 08:47:04 +0000 (10:47 +0200)]
yaz-client: show uses last position if omitted

The show command has always used last position if omitted - except
that this was messed up in YAZ 4.0.2.

9 years agoZOOM C: handle HTTP redirect for SRU GET
Adam Dickmeiss [Thu, 8 Apr 2010 12:37:49 +0000 (14:37 +0200)]
ZOOM C: handle HTTP redirect for SRU GET

9 years agoUpdate TurboMARC namespace
Adam Dickmeiss [Wed, 7 Apr 2010 13:50:27 +0000 (15:50 +0200)]
Update TurboMARC namespace

TurboMARC namespace is now: http://www.indexdata.com/turbomarc

9 years agoUpdate TurboMARC definition and document it
Adam Dickmeiss [Wed, 7 Apr 2010 13:43:44 +0000 (15:43 +0200)]
Update TurboMARC definition and document it

Document TurboMARC in the tools chapter of the YAZ manual. Update
definition format mode to YAZ_MARC_TURBOMARC. The string as used in
yaz-marcdump and other tools is called "turbomarc". Rename function
yaz_marc_write_turbo_xml to yaz_marc_write_turbomarc.

9 years agoMake ZOOM_connection_exec_task public
Adam Dickmeiss [Wed, 7 Apr 2010 11:37:26 +0000 (13:37 +0200)]
Make ZOOM_connection_exec_task public

This function, unlike ZOOM_connection_process and ZOOM_event_nonblock,
do not process any events.

9 years agoyaz-ztest: complete database delay arguments
Adam Dickmeiss [Tue, 30 Mar 2010 13:45:15 +0000 (15:45 +0200)]
yaz-ztest: complete database delay arguments

Fixed and random delays for yaz-ztest may be given as database options.
Documented in code and man page for yaz-ztest.

9 years agoyaz-ztest: Work on database options
Adam Dickmeiss [Tue, 30 Mar 2010 10:51:08 +0000 (12:51 +0200)]
yaz-ztest: Work on database options

Database parameters - URL style - ?n1=v2&n2=v2 .. are being
parsed in ztest now. This will eventually allow us to specify
delays for searching and other things that will make a fake search
or retrieval to similate real systems.

9 years agoMUTEX log: precede delay value with blank
Adam Dickmeiss [Wed, 24 Mar 2010 10:24:37 +0000 (11:24 +0100)]
MUTEX log: precede delay value with blank

Was preceded with a =-sign before.. Easier to awk/grep with a blank.

9 years agoyaz_mutex_enter logs waiting time for lock
Adam Dickmeiss [Tue, 23 Mar 2010 14:39:58 +0000 (15:39 +0100)]
yaz_mutex_enter logs waiting time for lock

9 years agoMARC test: Skip write using Libxml2 if unsupported
Adam Dickmeiss [Tue, 23 Mar 2010 12:04:38 +0000 (13:04 +0100)]
MARC test: Skip write using Libxml2 if unsupported

9 years agoyaz-marcdump: exit(4) if write using Libxml2's bad
Adam Dickmeiss [Tue, 23 Mar 2010 12:03:26 +0000 (13:03 +0100)]
yaz-marcdump: exit(4) if write using Libxml2's bad

9 years agoDocumentation for mutex util
Adam Dickmeiss [Tue, 23 Mar 2010 10:28:38 +0000 (11:28 +0100)]
Documentation for mutex util

9 years agoAdd one call to yaz_mutex_destroy in test
Adam Dickmeiss [Tue, 23 Mar 2010 10:28:16 +0000 (11:28 +0100)]
Add one call to yaz_mutex_destroy in test

9 years agoAdd mutex test
Adam Dickmeiss [Tue, 23 Mar 2010 10:12:48 +0000 (11:12 +0100)]
Add mutex test

9 years agoExtend yaz_mutex_set_naem with log level
Adam Dickmeiss [Tue, 23 Mar 2010 10:12:06 +0000 (11:12 +0100)]
Extend yaz_mutex_set_naem with log level

9 years agoMinor adjustments and reformat of dummy MARC
Adam Dickmeiss [Mon, 22 Mar 2010 14:39:37 +0000 (15:39 +0100)]
Minor adjustments and reformat of dummy MARC

9 years agoReformat
Adam Dickmeiss [Mon, 22 Mar 2010 14:39:31 +0000 (15:39 +0100)]
Reformat

9 years agoyaz-ztest: use built-in array for MARC always
Adam Dickmeiss [Mon, 22 Mar 2010 14:31:19 +0000 (15:31 +0100)]
yaz-ztest: use built-in array for MARC always

yaz-ztest no longer attempts to read dummy-records file.

9 years agoZOOM: More informative surrogate diagnostic
Adam Dickmeiss [Mon, 22 Mar 2010 14:28:09 +0000 (15:28 +0100)]
ZOOM: More informative surrogate diagnostic

9 years agoDo not mess with databaseName for HTTP redirect
Adam Dickmeiss [Mon, 22 Mar 2010 11:57:00 +0000 (12:57 +0100)]
Do not mess with databaseName for HTTP redirect

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

9 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

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

9 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

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

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

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

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

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

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

9 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

9 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

9 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

9 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

9 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

9 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

9 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".

9 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

9 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

9 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

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

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

9 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

9 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

9 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

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

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

9 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

9 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

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

9 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

9 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

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

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

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

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

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

9 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

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

9 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

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

9 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

9 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

9 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

9 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>

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

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

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

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

9 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

9 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

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

9 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

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

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

9 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

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

9 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

9 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

9 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

9 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

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

9 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

9 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

9 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

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

10 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

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