Sybtcl change history


Version 1.0,  June 1992

     First general release - it lives!

--------------------------------------------------------------------------------

Version 1.1,  August 1992

     Added better handling for text and image datatypes.  Two new
     commands, sybwritetext and sybreadtext allow text/image columns
     to be read from/written to files.  Also added "maxtext" index into
     sybmsg to allow a larger amount (user defined) of text/image 
     to be returned via sybnext.

     Updated "wisql" sample program to use Tk 2.2 text widget, returned
     text columns are inserted into results listbox with breaks at 
     newlines, view names of rules, triggers, views in addtition to
     tables and procs.  Examine the text of rules, triggers, views, procs.
     Report count of rows returned.

     Added two more samples showing sybwritetext, sybreadtext commands.

     Updated man page for new features.

--------------------------------------------------------------------------------

Version 1.2,  October 1992

     Changed where dbsetopt is called to set DBTEXTSIZE.  Version 1.2
     fixes a bug introduced in version 1.1 that sometimes causes the server to
     abort a query with a 703 error (back-to-back execution of the exact
     same SQL code would alternate success and failure.)
     Accumulate server message numbers (msgno) the same way msgtext is 
     accumulated.

     Updated "wisql" - showFields now shows all characters of a column name
     (up to 30). Sybmsg(msgno) added to error messages.  Changed message 
     window to Message class.  Added arrow key bindings (right,left) to
     SQL Text window and Entry classes.  Added Shift-Return and Control-Return
     binding to SQL Text window to invoke "Execute".
     Added a menu button to the signon window to select a server from the
     interfaces file.

     Updated "pubs_pix" to set a large sybmsg(maxtext) value when 
     retrieving images.

     Updated man page for sybmsg(maxtext) and (sybmsgno).

--------------------------------------------------------------------------------

Version 1.3,  May 1993

     Fix sybtcl.c - error handler is passed a NULL pointer for oserrstr
     when the error is not related to oserr.  This seemed to be a
     problem on every machine except the one I developed on, where a
     vaild pointer to a nil string was passed.  This fixes segmentation
     faults that usually appear with a bad connect id or password.
     Also, two others - replace strncpy() with strcpy() in Tcl_SybSql, where
     no length was specified (or needed); in parse_columns(), if a 
     "nullvalue" was specified it never was copied - wrong buffer.

     Wisql changed to support Tk 3.0+ by changing the toplevel widget
     pathnames to lower case.  Change #! exec line to wishx to reflect
     Extended Tcl's new binary name.  Also find user "sybase" home
     directory in "ypcat passwd" or /etc/passwd if SYBASE environment
     variable is not set.
     Change the "Execute" menu button to "Cancel" while the SQL is
     exec'ed to cancel long running queries.

     Change other samples to exec /usr/local/bin/wishx.

     
--------------------------------------------------------------------------------

Version 2.0, October 1993

     Support for Tcl 7.0 - a few minor changes to the existing code.
     Added ?appname? argument on sybconnect from Jan Hendrik.
     Changed sizing of buffer in getting server messages.
     Changed malloc/free to ckalloc/ckfree if using TCL_MEM_DEBUG

     Wisql now called wisqlite & changed to Tk 3.3 new pack syntax.
     De Clarke's UCO Wisql included.

     New - Makefile and appinit sed script.

--------------------------------------------------------------------------------

