Adam Dickmeiss [Thu, 27 Jan 2005 09:05:09 +0000 (09:05 +0000)]
Fix printing of some non-zero terminated strings. WS updates.
Adam Dickmeiss [Thu, 27 Jan 2005 09:04:07 +0000 (09:04 +0000)]
Fix comments for some ODR members
Adam Dickmeiss [Fri, 21 Jan 2005 09:23:27 +0000 (09:23 +0000)]
Do not use acquire locks (NMEM_{ENTER,LEAVE}) in
nmem_mutex_{create,destroy}. WS updates.
Adam Dickmeiss [Wed, 19 Jan 2005 09:18:08 +0000 (09:18 +0000)]
Make scan logging prettier
Adam Dickmeiss [Wed, 19 Jan 2005 08:26:59 +0000 (08:26 +0000)]
Do not set HAVE_.. stuff for WIN32
Adam Dickmeiss [Wed, 19 Jan 2005 08:26:44 +0000 (08:26 +0000)]
Added include sys/types.h if it exist. Added include sys/stat.h on Win32
Adam Dickmeiss [Mon, 17 Jan 2005 13:09:43 +0000 (13:09 +0000)]
Added include stdlib.h
Adam Dickmeiss [Mon, 17 Jan 2005 13:08:53 +0000 (13:08 +0000)]
Added include sys/time.h
Adam Dickmeiss [Mon, 17 Jan 2005 13:03:27 +0000 (13:03 +0000)]
Added include stdlib.h
Adam Dickmeiss [Mon, 17 Jan 2005 12:53:04 +0000 (12:53 +0000)]
Fix MAC compilation
Adam Dickmeiss [Mon, 17 Jan 2005 10:29:00 +0000 (10:29 +0000)]
Fixed includes for FreeBSD
Adam Dickmeiss [Mon, 17 Jan 2005 10:19:48 +0000 (10:19 +0000)]
Do not declare several variables in non-XML mode
Adam Dickmeiss [Mon, 17 Jan 2005 10:10:00 +0000 (10:10 +0000)]
Bump version to 2.0.33
Adam Dickmeiss [Sun, 16 Jan 2005 23:20:55 +0000 (23:20 +0000)]
Define HAVE_SYS_TYPES_H in VS makefile
Adam Dickmeiss [Sun, 16 Jan 2005 22:12:39 +0000 (22:12 +0000)]
Minor include updates to make Windows happy
Adam Dickmeiss [Sun, 16 Jan 2005 22:12:02 +0000 (22:12 +0000)]
Assume sys/stat.h is available on Windows
Adam Dickmeiss [Sun, 16 Jan 2005 22:01:13 +0000 (22:01 +0000)]
Added check for various headers, since comstack.h no longer include them
Adam Dickmeiss [Sun, 16 Jan 2005 21:56:42 +0000 (21:56 +0000)]
Do not use exit
Adam Dickmeiss [Sun, 16 Jan 2005 21:56:24 +0000 (21:56 +0000)]
include stdlib.h
Adam Dickmeiss [Sun, 16 Jan 2005 21:51:49 +0000 (21:51 +0000)]
Removed away include of system headers in comstack.h. Instead
include them in the various implementation C files.
Added more headers in AC_CHECK_HEADERS.
Adam Dickmeiss [Sun, 16 Jan 2005 21:40:51 +0000 (21:40 +0000)]
WS update
Adam Dickmeiss [Sun, 16 Jan 2005 00:16:56 +0000 (00:16 +0000)]
Update for Libxml2-2.6.15, zlib-1.2.1
Adam Dickmeiss [Sat, 15 Jan 2005 19:47:08 +0000 (19:47 +0000)]
Bump year
Adam Dickmeiss [Tue, 11 Jan 2005 12:13:18 +0000 (12:13 +0000)]
Towards 2.0.32
Adam Dickmeiss [Tue, 11 Jan 2005 12:07:54 +0000 (12:07 +0000)]
Added SRW Scan support in yaz-client and Generic Frontend Server.
Adam Dickmeiss [Tue, 11 Jan 2005 12:05:32 +0000 (12:05 +0000)]
match_xsd_string returns empty string rather than NULL for empty CDATA
Adam Dickmeiss [Tue, 11 Jan 2005 10:50:06 +0000 (10:50 +0000)]
Added SRU decode of maximumTerms, responsePosition and extraRequestData
Adam Dickmeiss [Tue, 11 Jan 2005 10:48:47 +0000 (10:48 +0000)]
Fixes for value and pScanCluase in scan SRW codec
Adam Dickmeiss [Tue, 11 Jan 2005 10:44:07 +0000 (10:44 +0000)]
Check for database in ztest_scan
Adam Dickmeiss [Sun, 9 Jan 2005 21:52:48 +0000 (21:52 +0000)]
Added whereInList member to SRW Scan Term
Adam Dickmeiss [Sun, 9 Jan 2005 21:50:26 +0000 (21:50 +0000)]
Rename pqf scan parameter from x-ScanClause to x-pScanClause
Adam Dickmeiss [Sat, 8 Jan 2005 01:20:18 +0000 (01:20 +0000)]
Added support for SRW scan in yaz-client
Heikki Levanto [Fri, 7 Jan 2005 10:28:28 +0000 (10:28 +0000)]
Added a warning (always to stderr) when opening the log file fails
Adam Dickmeiss [Wed, 5 Jan 2005 10:29:42 +0000 (10:29 +0000)]
Check that assignments to NMEM memory for some basic types
Adam Dickmeiss [Wed, 5 Jan 2005 10:23:41 +0000 (10:23 +0000)]
Only use type 'long long' when available.
Mike Taylor [Tue, 4 Jan 2005 21:31:44 +0000 (21:31 +0000)]
Recognise yet ANOTHER location where docbookx.dtd may be found -- this
time, it's /usr/share/sgml/docbook/dtd/4.2 which is what my Debian
testing laptop uses. Must be a change in sarge.
Mike Taylor [Tue, 4 Jan 2005 21:29:10 +0000 (21:29 +0000)]
Ignore generated file tstlog
Mike Taylor [Tue, 4 Jan 2005 21:28:06 +0000 (21:28 +0000)]
nmem alighment.
Mike Taylor [Tue, 4 Jan 2005 21:27:54 +0000 (21:27 +0000)]
Return aligned blocks on the smallest boundaries that are suitably
aligned for all possible types on the particular architecture YAZ is
being built for.
Adam Dickmeiss [Tue, 4 Jan 2005 09:41:34 +0000 (09:41 +0000)]
Bump version to 2.0.31
Adam Dickmeiss [Tue, 4 Jan 2005 08:34:41 +0000 (08:34 +0000)]
Fix date
Adam Dickmeiss [Tue, 4 Jan 2005 01:39:22 +0000 (01:39 +0000)]
Mention most important changes
Adam Dickmeiss [Tue, 4 Jan 2005 01:25:20 +0000 (01:25 +0000)]
Align NMEM blocks to 2*sizeof(long)
Adam Dickmeiss [Mon, 3 Jan 2005 13:36:06 +0000 (13:36 +0000)]
Towards 2.0.30
Adam Dickmeiss [Mon, 3 Jan 2005 13:28:35 +0000 (13:28 +0000)]
Towards 2.0.30.
Adam Dickmeiss [Mon, 3 Jan 2005 12:34:09 +0000 (12:34 +0000)]
Towards 2.0.30
Adam Dickmeiss [Mon, 3 Jan 2005 11:56:08 +0000 (11:56 +0000)]
Fix threading
Adam Dickmeiss [Mon, 3 Jan 2005 09:18:36 +0000 (09:18 +0000)]
For daemon mode (-D), let parent wait till child has created PID file
Adam Dickmeiss [Sun, 2 Jan 2005 20:31:39 +0000 (20:31 +0000)]
Make negotiationCharsetRecords of type int
Adam Dickmeiss [Thu, 30 Dec 2004 00:25:20 +0000 (00:25 +0000)]
Cast PIDs to longs so they can be printfd
Adam Dickmeiss [Thu, 30 Dec 2004 00:21:12 +0000 (00:21 +0000)]
Avoid signed char subscript
Adam Dickmeiss [Thu, 30 Dec 2004 00:20:15 +0000 (00:20 +0000)]
Include unistd.h always
Adam Dickmeiss [Thu, 30 Dec 2004 00:11:00 +0000 (00:11 +0000)]
Avoid signed char subscript
Adam Dickmeiss [Wed, 22 Dec 2004 23:48:34 +0000 (23:48 +0000)]
Remove extra space in request log output
Adam Dickmeiss [Wed, 22 Dec 2004 23:47:11 +0000 (23:47 +0000)]
Change GFS so that it listen&accept in parent process rather than
child. This avoid the synchronization pipe, and seem to make the
GFS a little faster.
Adam Dickmeiss [Wed, 22 Dec 2004 23:45:13 +0000 (23:45 +0000)]
Added OID for charneg-4.
Adam Dickmeiss [Tue, 21 Dec 2004 20:25:39 +0000 (20:25 +0000)]
Command negcharset may take up to three args
charset records version
where records is an integer (0=false, 1=true), version is charset
negotatition version (3 or 4).
Adam Dickmeiss [Tue, 21 Dec 2004 00:34:31 +0000 (00:34 +0000)]
When receiving no records in present response don't throw
non-surrogate diagnostic "decoding failed. Instead add surrogate
diagnostic record 14: System error in presenting records.
Adam Dickmeiss [Tue, 21 Dec 2004 00:31:03 +0000 (00:31 +0000)]
Minor tweaks in logging (mostly for SRW search)
Adam Dickmeiss [Mon, 20 Dec 2004 23:38:39 +0000 (23:38 +0000)]
Prefix PRN/Type-1 queries with RPN: rather than Z:
Adam Dickmeiss [Mon, 20 Dec 2004 23:38:03 +0000 (23:38 +0000)]
Fixed bug in pack_records that caused piggyback searches to crash.
Improved logging of diagnostics a bit. seshigh now using zget_-
utilities.
Adam Dickmeiss [Mon, 20 Dec 2004 23:36:13 +0000 (23:36 +0000)]
Define YAZ_USE_NEW_LOG for YAZ itself
Adam Dickmeiss [Mon, 20 Dec 2004 23:35:42 +0000 (23:35 +0000)]
Added functions to initialize various structures for diagnostics:
zget_DefaultDiagFormat, zget_surrogateDiagRec, zget_init_diagnostics,
zget_DiagRecs, zget_DiacRec.
Heikki Levanto [Mon, 20 Dec 2004 15:52:53 +0000 (15:52 +0000)]
Added YLOG_FLUSH to the default log level, to avoid problems on
Solaris. Maybe this should be conditional on the OS, as it works
fine under Linux?
Adam Dickmeiss [Thu, 16 Dec 2004 08:59:56 +0000 (08:59 +0000)]
Include marcdisp.h so that atoi_n gets public on WIN32
Adam Dickmeiss [Thu, 16 Dec 2004 08:59:36 +0000 (08:59 +0000)]
Fix declaration (WIN32 section)
Adam Dickmeiss [Wed, 15 Dec 2004 09:10:12 +0000 (09:10 +0000)]
Get rid of tex messages
Adam Dickmeiss [Tue, 14 Dec 2004 10:52:13 +0000 (10:52 +0000)]
Include stddef.h because of size_t use in header.
Adam Dickmeiss [Mon, 13 Dec 2004 20:17:41 +0000 (20:17 +0000)]
Change wording WRT ylog.h/log.h
Adam Dickmeiss [Mon, 13 Dec 2004 20:16:50 +0000 (20:16 +0000)]
Change order but not semantics regarding old LOG_-defs.
Heikki Levanto [Mon, 13 Dec 2004 14:31:19 +0000 (14:31 +0000)]
Included xmalloc.h from log.h, if usingthe old system, as it used to be
there... If using new system, you need to include it yourself
Heikki Levanto [Mon, 13 Dec 2004 14:21:54 +0000 (14:21 +0000)]
Moved back to a single log.h, with the new #define YAZ_USE_NEW_LOG
Adam Dickmeiss [Mon, 13 Dec 2004 14:15:55 +0000 (14:15 +0000)]
Define YAZ_USE_NEW_LOG=1 if app require YAZ > 2.0.28
Heikki Levanto [Fri, 10 Dec 2004 10:42:33 +0000 (10:42 +0000)]
Deprecated yaz-util.h with a warinng in place. Re-enabled the warning in log.h
Note: All these warings can be avoided with
CFLAGS="-Wall -g -D YAZ_USE_OLD_LOG" ./configure
Adam Dickmeiss [Thu, 9 Dec 2004 09:37:00 +0000 (09:37 +0000)]
Fixed place for YAZ_END_CDECL
Adam Dickmeiss [Thu, 9 Dec 2004 09:30:00 +0000 (09:30 +0000)]
Document commands: list_all, set_auto_reconnect, negcharset,
displaycharset, register_tab, sleep, zversion, options.
Adam Dickmeiss [Thu, 9 Dec 2004 09:27:51 +0000 (09:27 +0000)]
Document .yazclientrc
Adam Dickmeiss [Thu, 9 Dec 2004 09:25:44 +0000 (09:25 +0000)]
3rd argument for charset is marccharset
Adam Dickmeiss [Thu, 9 Dec 2004 07:53:21 +0000 (07:53 +0000)]
Implemented commands negcharset and displaycharset that specifies
character set for negotiation and display respectively. Command
charset works as usual and is implemented using the two.
Adam Dickmeiss [Wed, 8 Dec 2004 09:08:01 +0000 (09:08 +0000)]
Had to remove. We will enable after has been public available for
one or two months.
Adam Dickmeiss [Wed, 8 Dec 2004 09:06:06 +0000 (09:06 +0000)]
Include old yaz/log.h so that old things still work (for some time)
Adam Dickmeiss [Thu, 2 Dec 2004 19:12:52 +0000 (19:12 +0000)]
Fix double-free in code that handles encoding errors (from backend)
Adam Dickmeiss [Thu, 2 Dec 2004 14:04:17 +0000 (14:04 +0000)]
Return values in cmd_source_ functions
ja7 [Thu, 2 Dec 2004 13:55:35 +0000 (13:55 +0000)]
Fixed bug 227 and bug 228
Heikki Levanto [Fri, 26 Nov 2004 11:06:29 +0000 (11:06 +0000)]
Added a way to get around the old log warning
Adam Dickmeiss [Fri, 26 Nov 2004 11:01:05 +0000 (11:01 +0000)]
yaz-log.7 man pages part of RedHat package yaz
Adam Dickmeiss [Fri, 26 Nov 2004 11:00:27 +0000 (11:00 +0000)]
yaz-log.7 man pages part of Debian package yaz
Heikki Levanto [Fri, 26 Nov 2004 10:58:38 +0000 (10:58 +0000)]
Reintroduced the bit "defines for those log bits that are deprecated and
not defined in the new ylog.h
Adam Dickmeiss [Thu, 25 Nov 2004 09:43:10 +0000 (09:43 +0000)]
Treat field as having subfields even if first char is blank/other
Heikki Levanto [Tue, 23 Nov 2004 14:11:03 +0000 (14:11 +0000)]
Added a man page for yaz-log (7)
Heikki Levanto [Tue, 23 Nov 2004 14:10:47 +0000 (14:10 +0000)]
Re-enabled the -v notime option, it was broken.
Adam Dickmeiss [Mon, 22 Nov 2004 10:54:23 +0000 (10:54 +0000)]
Fix new bug introduced by previous commit (../yaz* not used)
Adam Dickmeiss [Sun, 21 Nov 2004 21:56:28 +0000 (21:56 +0000)]
Update SRW/SRU diagnostic message definitions and store them in separate
source: diagsrw.c.
Adam Dickmeiss [Sun, 21 Nov 2004 21:55:31 +0000 (21:55 +0000)]
About log system changes
Adam Dickmeiss [Sun, 21 Nov 2004 21:55:15 +0000 (21:55 +0000)]
Update log chapter for new log system
Adam Dickmeiss [Fri, 19 Nov 2004 18:31:05 +0000 (18:31 +0000)]
Fixed bug #212: make distcheck uses global yaz, not a local one
Heikki Levanto [Fri, 19 Nov 2004 10:07:08 +0000 (10:07 +0000)]
Moved the #define of logf back into log.h, so that it won't be
available innewer software using ylog.h. It conflicted with a
math function
Heikki Levanto [Fri, 19 Nov 2004 09:59:31 +0000 (09:59 +0000)]
Fixed a CDECL thing that broke yaz++
Heikki Levanto [Thu, 18 Nov 2004 15:18:10 +0000 (15:18 +0000)]
Deprecated log.h and created a new ylog.h
Renamed all LOG_ #defines to matching YLOG_, and used them everywhere
Used the new dynamic log system in deveral places
Heikki Levanto [Wed, 17 Nov 2004 13:03:07 +0000 (13:03 +0000)]
Added an option to specify -word in the loglevel parsing, to clear a specific
bit: -v all,-log