yaz-moved-to-github.git
12 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

12 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

12 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

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

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

12 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

12 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

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

12 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

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

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

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

12 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

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

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

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

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

12 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

12 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

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

12 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

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

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

12 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

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

12 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

12 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

12 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

12 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

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

12 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

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

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

12 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

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

12 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

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

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

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

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

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

12 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

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

12 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

12 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

12 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

12 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

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

12 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

12 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

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

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

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

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

12 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

12 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

12 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

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

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

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

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

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

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

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

12 years agoAvoid mixed stmt/var declare
Adam Dickmeiss [Thu, 21 Jan 2010 15:11:04 +0000 (16:11 +0100)]
Avoid mixed stmt/var declare

12 years agoZOOM_record_get: pretty xml format (bug #3182)
Adam Dickmeiss [Thu, 21 Jan 2010 12:18:18 +0000 (13:18 +0100)]
ZOOM_record_get: pretty xml format (bug #3182)

ZOOM_record_get supports new parameter "format" which makes it pretty
format XML record content.

12 years agoyaz-client: ctrl-d print \n before exiting
Adam Dickmeiss [Thu, 21 Jan 2010 08:22:47 +0000 (09:22 +0100)]
yaz-client: ctrl-d print \n before exiting

Some small things just matter much.

12 years agoFix JSON parser WRT start symbol
Adam Dickmeiss [Wed, 20 Jan 2010 14:05:19 +0000 (15:05 +0100)]
Fix JSON parser WRT start symbol

The start grammar symbol (referred to as JSONText in ECMA-262) is
JSONValue, not JSONObject.

12 years agoFix ODR/NMEM proto WRT size_t in doc
Adam Dickmeiss [Wed, 20 Jan 2010 09:35:10 +0000 (10:35 +0100)]
Fix ODR/NMEM proto WRT size_t in doc

12 years agoVersion 4.0.0-2 v4.0.0
Adam Dickmeiss [Wed, 20 Jan 2010 08:53:51 +0000 (09:53 +0100)]
Version 4.0.0-2

12 years agoAdd casts for signed/unsigned ints
Adam Dickmeiss [Tue, 19 Jan 2010 21:34:30 +0000 (22:34 +0100)]
Add casts for signed/unsigned ints

12 years agoRemove p_query_scan (not in use anywhere)
Adam Dickmeiss [Tue, 19 Jan 2010 21:34:08 +0000 (22:34 +0100)]
Remove p_query_scan (not in use anywhere)

12 years agoFix print in logrpn
Adam Dickmeiss [Tue, 19 Jan 2010 20:36:47 +0000 (21:36 +0100)]
Fix print in logrpn

12 years agoDont include removed header libxml2_error.h
Adam Dickmeiss [Tue, 19 Jan 2010 18:56:54 +0000 (19:56 +0100)]
Dont include removed header libxml2_error.h

12 years agoUpdate NEWS for YAZ 4 changes
Adam Dickmeiss [Tue, 19 Jan 2010 14:28:27 +0000 (15:28 +0100)]
Update NEWS for YAZ 4 changes

12 years agoReformat
Adam Dickmeiss [Tue, 19 Jan 2010 14:23:23 +0000 (15:23 +0100)]
Reformat

12 years agoUpdate NEWS for 3.0.52
Adam Dickmeiss [Tue, 19 Jan 2010 14:13:49 +0000 (15:13 +0100)]
Update NEWS for 3.0.52

12 years agoRPN log: change some types to Odr_int
Adam Dickmeiss [Tue, 19 Jan 2010 13:38:12 +0000 (14:38 +0100)]
RPN log: change some types to Odr_int

12 years agoAdd safe cast
Adam Dickmeiss [Tue, 19 Jan 2010 13:37:47 +0000 (14:37 +0100)]
Add safe cast

12 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz
Adam Dickmeiss [Tue, 19 Jan 2010 13:16:08 +0000 (14:16 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz

12 years agoGFS: step_size, term_position, statuses type int
Adam Dickmeiss [Tue, 19 Jan 2010 13:13:13 +0000 (14:13 +0100)]
GFS: step_size, term_position, statuses type int

Members step-size, term_position from bend_scan_rr changed from
Odr_int to int. Member statuses from bend_delete_rr changed from
Odr_int to int.

12 years agoMore odr_int casts
Adam Dickmeiss [Tue, 19 Jan 2010 12:54:54 +0000 (13:54 +0100)]
More odr_int casts

12 years agoMerge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz
Adam Dickmeiss [Tue, 19 Jan 2010 12:43:29 +0000 (13:43 +0100)]
Merge branch 'master' of ssh://git.indexdata.com/home/git/pub/yaz

12 years agoControlled conversion from Odr_int to int
Adam Dickmeiss [Tue, 19 Jan 2010 12:41:40 +0000 (13:41 +0100)]
Controlled conversion from Odr_int to int

Some Odr_int values do not fit in the backend.h structure which still
uses int for some things such as start and number (record positions).
The conversion from Odr_int to int is performed by a utility
odr_int_to_int in GFS now.

12 years agoReindent
Adam Dickmeiss [Tue, 19 Jan 2010 12:39:59 +0000 (13:39 +0100)]
Reindent

12 years agoWIN32: dont mess with peer address
Adam Dickmeiss [Tue, 19 Jan 2010 12:12:39 +0000 (13:12 +0100)]
WIN32: dont mess with peer address

For some reason we never got accept on Windows to return a peer
address. This change just ensure we don't work with it
(uninitialized variable addr).

12 years agoWIN32: yaz-version.h depends on configure.ac
Adam Dickmeiss [Tue, 19 Jan 2010 11:48:05 +0000 (12:48 +0100)]
WIN32: yaz-version.h depends on configure.ac

12 years agoFix VS 9 path
Adam Dickmeiss [Tue, 19 Jan 2010 11:17:09 +0000 (12:17 +0100)]
Fix VS 9 path

12 years agoWin32: use manifests by default
Adam Dickmeiss [Tue, 19 Jan 2010 11:09:31 +0000 (12:09 +0100)]
Win32: use manifests by default

12 years agoUse VS 2008 for NSI
Adam Dickmeiss [Tue, 19 Jan 2010 11:09:12 +0000 (12:09 +0100)]
Use VS 2008 for NSI

12 years agolog.h: Doxygen-friendlier
Adam Dickmeiss [Tue, 19 Jan 2010 10:05:42 +0000 (11:05 +0100)]
log.h: Doxygen-friendlier

12 years agolog: strerror is always there
Adam Dickmeiss [Tue, 19 Jan 2010 09:47:54 +0000 (10:47 +0100)]
log: strerror is always there

12 years agoRemove LOG_-defines (obsolete for >5 years)
Adam Dickmeiss [Tue, 19 Jan 2010 09:45:44 +0000 (10:45 +0100)]
Remove LOG_-defines (obsolete for >5 years)

12 years agoDoc MARC utils. Remove yaz_display_OPAC
Adam Dickmeiss [Tue, 19 Jan 2010 09:42:31 +0000 (10:42 +0100)]
Doc MARC utils. Remove yaz_display_OPAC

12 years agoMake some zget_-func static.
Adam Dickmeiss [Tue, 19 Jan 2010 09:06:08 +0000 (10:06 +0100)]
Make some zget_-func static.

Functions such as zget_InitRequest, zget_InitResponse, ..  are now
static. They were never part of a public header - except zget_Close
used by GFS. All these are used by public function zget_APDU.

12 years agoGFS: Use zget_APDU rather than zget_Close
Adam Dickmeiss [Tue, 19 Jan 2010 08:56:16 +0000 (09:56 +0100)]
GFS: Use zget_APDU rather than zget_Close

Use zget_APDU rather than zget_Close.. Because zget_Close should
not be public and because using zget_APDU is shorter.

12 years agoRemove redundant function libxml2_error_to_yazlog
Adam Dickmeiss [Tue, 19 Jan 2010 08:45:06 +0000 (09:45 +0100)]
Remove redundant function libxml2_error_to_yazlog

Function libxml2_error_to_yazlog is redundant and not in used by
applications other than YAZ itself. yaz_log_xml_errors does the same -
and is used at least by Pazpar2.

12 years agoyaz_log_xml_errors: use log level given
Adam Dickmeiss [Tue, 19 Jan 2010 08:31:25 +0000 (09:31 +0100)]
yaz_log_xml_errors: use log level given

Fix yaz_log_xml_errors to use the log_level given.. Instead of YLOG_WARN.

12 years agoDocument . Remove if/endif section
Adam Dickmeiss [Tue, 19 Jan 2010 08:25:44 +0000 (09:25 +0100)]
Document . Remove if/endif section

12 years agoRevert "Remove obsolete Z_-definitions"
Adam Dickmeiss [Tue, 19 Jan 2010 08:21:59 +0000 (09:21 +0100)]
Revert "Remove obsolete Z_-definitions"

This reverts commit 1d2f32707c0d46f1fe11826fadbb2537fd90fac7.
We keep various definitions to preserve backwards compatibility.