2005-12-16  Todd Helfter <thelfter@gmail.com>

	* generic/oratclInt.h Increase default value of ORA_LOBP_SIZE

2005-12-16  Todd Helfter <thelfter@gmail.com>

	* generic/oratcl.c Allow for the direct reading of LOBS using SQL select.
	maximum value of lobpsize (oraconfig) increased.  Original idea and sample
	code contributed by Peter Schindler with Synchronicity Inc. <pschindler@synchronicity.com>
 

2005-11-18  Todd Helfter <thelfter@gmail.com>

	* generic/oratcl.c Recognize a new environment variable ORACLE_LIBRARY.
	On platforms where libclntsh has to be loaded (WIN32 uses OCI.DLL),
	allow for an environment variable to specify where to find the file at
	load time.  Default behavior is to load this library:
	ORACLE_HOME/lib/libcltntsh.SHLIB_SUFFIX

	now if ORACLE_LIBRARY environment variable is set.  The contents of that 	variable will be passed to the dlopen() function call.

	Example 1: For 10gR2 instant client on solaris.
		Bash:  export ORACLE_LIBRARY=/path/to/libclntsh.so.10.1
		Csh:   setenv ORACLE_LIBRARY /path/to/libclntsh.so.10.1

	Example 2: For 32 bit tcl on 64 bit solaris with 64 bit oracle.
		Bash:  export ORACLE_LIBRARY=$ORACLE_HOME/lib32/libclntsh.so
		Csh:   setenv ORACLE_LIBRARY $ORACLE_HOME/lib32/libclntsh.so


2005-06-21  Todd Helfter <thelfter@gmail.com>

	* generic/oralob.c Add a missing Tcl_DecrRefCount() to the error condition.
	Fixes BugID 1221820
	Thanks to Markus Elfring <elfring@users.sourceforge.net> for the patch.

2005-05-25  Todd Helfter <thelfter@gmail.com>

	* generic/oratcl.c increase the amount of memory allocated for columns of
	type SQLT_RID and SQLT_RDD from 23 bytes to 140 bytes.

2005-05-15  Todd Helfter <thelfter@gmail.com>

	* generic/oralong.c Add a missing Tcl_DecrRefCount() to the error condition.
	Fixes BugID 1221820
	Thanks to Markus Elfring <elfring@users.sourceforge.net> for the patch.

2005-04-22  Todd Helfter <thelfter@gmail.com>

	* generic/oralob.c  Handle return codes from Tcl_SetVar2(),
	replace calls to Tcl_Eval with Tcl_EvalObjEx() 

	* generic/oralong.c  Handle return codes from Tcl_SetVar2(),
	replace calls to Tcl_Eval with Tcl_EvalObjEx() 

	Thanks to Markus Elfring <elfring@users.sourceforge.net> for the patch.

2005-03-23  Todd Helfter <thelfter@gmail.com>

        * generic/oratcl.c  Fix path generation to work with Tcl 8.3

2005-03-22  Todd Helfter <thelfter@gmail.com>

	* generic/oratcl.c: Handle ORA-28002 'warning password is about
	to expire.  Allow login, but place message in oramsg buffer.


2005-03-18  Jeff Hobbs  <jeffh@ActiveState.com>

	* Makefile.in (AR): use @AR@
	* configure, configure.in, tclconfig/tcl.m4: TEA 3.2 update

Feb 14 2005

        Relocate a Tcl_DecrRefCount() call to after the call to DLOPEN.
        Thanks to Miguel Bagnon (miguel@bagnon.com) for the patch.

2005-01-28  Jeff Hobbs  <jeffh@ActiveState.com>

	* generic/oratcl.c: include dl.h on hpux

	* Makefile.in (pkgIndex.tcl): generate pkgIndex.tcl by hand
	instead of with pkg_mkIndex.  This ensures correct creation even
	when the oracle client libraries are not on the build machine.

Oratcl change history

Version 4.4,  Beta

	Add support for information returned by the dlerror() system call.
	HPUX still needs to be supported.
        Thanks to Miguel Bagnon (miguel@bagnon.com) for the patch.

Version 4.3,  Nov, 2004

Jan 06 2005
	
	If configured with --enable-threads, the -DTCL_THREADS macro is defined.
	If TCL_THREADS is defined, call OCIEnvInit with multiple modes:
		OCI_OBJECT | OCI_THREADED

Jan 06 2005

	Streamlined and improved error handling and memory cleanup in Oratcl_Commit.
	Streamlined and improved error handling and memory cleanup in Oratcl_Rollback.

Jan 05 2005

	Streamlined and improved error handling and memory cleanup in Oratcl_Logon.
	Logon function pays more attention to return codes from OCI layer.
	Logon function returns Oracle error code and message.

	I.E.

	% oralogon log/bad_pass@good_db
	ORA-01017: invalid username/password; logon denied
	% oralogon log/good_pass@bad_db
	ORA-12154: TNS:could not resolve service name


Dec 17 2004

	Add code to obtain additional symbols in the oracle library:
		OCIDescriptorAlloc
		OCIDescriptorFree
		OCILobRead
		OCILobGetLength
	These library functions are not yet used but will be needed to read CLOB and BLOB
	columns directly with SQL.

Nov 29 2004

	**  Incorporate patches provided by Christian Traber (christian@traber-net.de)
	These patches add a new TAF failover functionality to Oratcl..
	"Its a new option (-failovercallback <procanme>) for the oralogon 
	command. The given procedure is called from OCI on TAF failover.
	I use it to reexecute "alter session" statements after the automatic 
	reconnect in case of failover to another RAC node."

Nov 29 2004
	add .cvsignore file in root directory
	Renamed oraconst.h to oradefs.h
	Fix oratypes.h to work in windows and unix.
	Update COPYRIGHT info in each file
	Remove the RTLD_NODELETE flag from dlopen()

Nov 22 2004
	Improvements to the autoconf scripts provide more introspection.

Nov 20 2004

     	* Dynamic loading of oracle share library now builds a path containing these 
	elements: env(ORACLE_HOME) lib libclntsh.so for unix.	
     	* Oratcl_Init() returns an error if env(ORACLE_HOME) is not defined for unix.
	* Removed all code supporting Oracle 8.0, I can not find a way to detect the 
	  Oracle version from the client library contents: API/symbols.

	**** Notice of potential incompatability ***
	slave interpreters need to have the env(ORACLE_HOME) set before
	Oratcl can be loaded.  See oratcl/tests/safe.test for an example.

Nov 14 2004
     Converted to TEA build system.
	* test directory moved to tests 
	* comfig directory removed
	* tclconfig directory added
	* configure & configure.in replaced
    
Nov 14 2004
     Converted to dynamic loading oracle share library.
	* hard coded to load 'oci.dll' for windows.
	* hard coded to load /opt/oracle/product/9.2.0/lib/libclntsh.so for unix.
