# config

name: adunit
value:
  <div style="width: 640px; margin: 12px auto;">
    <img style="float: left; width: 32px; height: 32px; padding-right:
  10px;"
  src="http://www.tcl.tk/community/tcl2014/images/tclca_logo2tinyC.gif">
    <a href="http://www.tcl.tk/community/tcl2014/">Tcl 2014 Conference,
  Portland/OR, US, Nov 10-14</a><br>
    Send your abstracts to <a
  href="mailto:tclconference@googlegroups.com">
  tclconference@googlegroups.com</a>
  by Sep 8.
  </div>


# reportfmt

title: All Tickets
cols:
  #ffffff Key:
  #f2dcdc Active
  #e8e8e8 Review
  #cfe8bd Fixed
  #bde5d6 Tested
  #cacae5 Deferred
  #c8c8c8 Closed

sqlcode:
  SELECT
    CASE WHEN status IN ('Open','Verified') THEN '#f2dcdc'
         WHEN status='Review' THEN '#e8e8e8'
         WHEN status='Fixed' THEN '#cfe8bd'
         WHEN status='Tested' THEN '#bde5d6'
         WHEN status='Deferred' THEN '#cacae5'
         ELSE '#c8c8c8' END AS 'bgcolor',
    substr(tkt_uuid,1,10) AS '#',
    datetime(tkt_mtime) AS 'mtime',
    type,
    status,
    subsystem,
    title
  FROM ticket


# event

type: ci
user: welch
comment:
  Moved ChannelHandler to the main channel instead of using Tls_GetParent
  and registering the handler with the dummy, or stacked channel.
  Eliminated call to Tcl_NotifyChannel from the WatchProc


type: ci
user: stanton
comment:
  * tlsIO.c: Restore the previous version.  Fixed the CloseProc so
  it unregisters the channel handler on the superceded channel
  instead of the upper channel. Also removed the call to
  Tcl_NotifyChannel in the ChannelHandler because this will result
  in an infinite loop if data is ever buffered in the BIO
  structure. [Bug: 5623]


type: ci
user: awb
comment:
  More test fixes.
  Tests marked "empty" will hang, presumably because of the synchronous
  nature of those tests.


type: ci
user: hobbs
comment:
  	* tlsBIO.c (BioWrite, BioRead): changed Tcl_Read/Write to
  	Tcl_ReadRaw/TclWriteRaw.

  	* tls.c: added use of Tcl_GetTopChannel after Tcl_GetChannel and
  	got return value from Tcl_StackChannel.

  	* tests/tlsIO.test: added some handshaking that shouldn't be
  	necessary, but we crash otherwise (needs more testing).

  	* tlsIO.c: added support for "corrected" stacked channels.  All
  	the above channels are in TCL_CHANNEL_VERSION_2 #ifdefs.


type: ci
user: hobbs
comment:
  	* tests/tlsIO.test: removed changes made to test suite (all tests
  	that ran before now pass correctly), and changed some accept proc
  	args to reflect that a sock is an arg, not a file.


type: ci
user: hobbs
comment:
  	* tlsIO.c: changed all the channel procs to start with Tls* for
  	better parity when comparing with Transform channel procs.
  	Rewrote TlsWatchProc, added TlsNotifyProc according to the new
  	channel design, which also leaves TlsChannelHandler unused.

  	* tlsBIO.c (BioCtrl): changed BIO_CTRL_FLUSH case to use
  	Tcl_WriteRaw instead of Tcl_Flush (to operate on correct channel
  	in the stack instead of starting at the top again).  Would
  	otherwise cause a recursive stack bomb when implicit handshaking
  	took effect.


type: ci
user: hobbs
comment:
  	* tests/tlsIO.test: enabled tests 2.10, 7.[1245] (there is no 3),
  	which now pass.  Added some comments to other failing tests.


type: ci
user: hobbs
comment:
  	* tests/tlsIO.test: corrected various tests to be correct for TLS
  	stacked channels (as opposed to the standard sockets the test
  	suite was adopted from).  Key differences are that TLS cannot
  	operate in one process without all channels being non-blocking, or
  	the handshake will block, and handshaking must be forced in some
  	cases.  Also, handshakes don't seem to complete unless the client
  	has placed at least one byte for the server to read in the channel.

  	* tests/remote.tcl: corrected the finding of tests certificates

  	* tlsIO.c (TlsCloseProc): removed deleting of timer handler as
  	that is handled by Tls_Clean.

  	* tls.tcl (tls::_accept): corrected the internal _accept to
  	trickle callback errors to the user.

  	* Makefile.in: made the install-binaries target regenerate the
  	pkgIndex.tcl correctly.  The test target probably shouldn't screw
  	it up, but this is to be on the safe side.


type: ci
user: hobbs
comment:
  	* tls.c (ImportObjCmd): removed unnecessary use of 'bio' arg.
  	(Tls_Init): check return value of SSL_library_init.  Also lots of
  	whitespace cleanup (more like Tcl Eng style guide), but not all
  	code was cleaned up.

  	* tlsBIO.c: minor whitespace cleanup

  	* tlsIO.c: minor whitespace cleanup.
  	(TlsInputProc, TlsOutputProc): Added ERR_clear_error before calls
  	to BIO_read or BIO_write, because we could otherwise end up
  	pulling an error off the stack that didn't belong to us.  Also
  	cleanup up excessive use of gotos.


type: ci
user: hobbs
comment:
  	* tests/tlsIO.test: updated comments, fixed a pcCrash case that
  	was due to debug assertion in Windows SSL.


type: ci
user: wart
comment:
  Use INSTALL_PROGRAM instead of INSTALL_DATA when installing libraries
  on hpux so that the libraries get execute permission.


type: ci
user: hobbs
comment:
  	* tls.c (Tls_Init): changed it to require 8.3.2 when Tcl_InitStubs
  	was called because we don't want people using TLS with the
  	original stacked channel implementation.


type: ci
user: hobbs
comment:
  	* tlsInt.h:
  	* tlsIO.c:
  	* tlsBIO.c:
  	* tls.c: changed around to only working with 8.2.0+ (8.3.2+
  	preferred), with runtime checks for pre- and post-io-rewrite.


type: ci
user: hobbs
comment:
  	* tests/simpleClient.tcl:
  	* tests/simpleServer.tcl: added simple client/server test scripts
  	that use test certs and can do simple stress tests.


type: ci
user: hobbs
comment:
  	* tests/all.tcl: added catch around ::tcltest::normalizePath
  	because it doesn't exist in pre-8.3 tcltest.


type: ci
user: hobbs
comment:
  	* tlsInt.h:
  	* tls.c:
  	* tlsIO.c: corrected structure initialization to work when
  	compiling with 8.2.  Now compiles with 8.2+ and tested to work
  	with 8.2+ and dynamically adjust to the version of Tcl it was
  	loaded into.  TLS will fail the test suite with Tcl 8.2-8.3.1.


type: ci
user: hobbs
comment:
  	* tls.c (Tls_Init): corrected interpretation of version number
  	(patchlevel and release/serial were swapped).


type: ci
user: hobbs
comment:
  	* tests/ciphers.test: improved ability to change constraint
  	setting for whether user compiled against RSA or OpenSSL libs.


type: ci
user: hobbs
comment:
  	* configure.in (OPENSSL): added NO_IDEA and NO_RC5 defines by
  	default when compiling with OpenSSL.


type: ci
user: hobbs
comment:
  	* tls.c (Tls_Init): added call to RAND_seed to seed the SSL random
  	number generator.  Without this, OpenSSL 0.9.5 chokes, and in any
  	case it is a big security hole to do without it.


type: ci
user: hobbs
comment:
  	* tests/tlsIO.test (tlsIO-8.1): added a delay on the accept close
  	to make the test work with OpenSSL on Windows (doesn't affect
  	other builds).


type: ci
user: hobbs
comment:
  	* tlsIO.c (Tls_ChannelType): set typeName field of channel type to
  	"tls" (this got lost in move to dynamic version compatability
  	checking).


type: ci
user: hobbs
comment:
  	* tls.c (Tls_Init): add do/while for random number initialization
  	to work around some OSes quirks.  (Ralph.Billes@teltech.com.au)


type: ci
user: hobbs
comment:
  	* tests/certs/file.srl:
  	* tests/certs/ca.pem:
  	* tests/certs/client.key:
  	* tests/certs/client.pem:
  	* tests/certs/client.req:
  	* tests/certs/privkey.pem:
  	* tests/certs/server.key:
  	* tests/certs/server.pem:
  	* tests/certs/server.req:
  	* tests/certs/cacert.pem: replaced by new ca.pem
  	* tests/certs/skey.pem: replaced by new server.key
  	* tests/certs/ckey.pem: replaced by new client.key
  	* tests/certs/README.txt: new set of test certificates with some
  	README info on their generation.


type: ci
user: hobbs
comment:
  	* Makefile.in: removed strncasecmp from default object set.  This
  	is only needed on the Mac, and Tcl stubs provides it.


type: ci
user: hobbs
comment:
  	* configure: regen'ed.
  	* configure.in: updated to 1.5.0 for next release.
  	Changed default openssl location to /usr/local/ssl (this is where
  	openssl 0.9.6c installs by default).
  	Changed to use public Tcl headers (private not needed).


type: ci
user: hobbs
comment:
  	* tls.htm:
  	* tls.c: added support for local certificate status check, as well
  	as returning the # of bits in the session key. [Patch #505698] (rose)

  	* tls.c:
  	* tlsIO.c:
  	* tlsBIO.c: added CONSTs to satisfy Tcl 8.4 sources.  This may
  	give warnings when compiled against 8.3, but they can be ignored.


type: ci
user: hobbs
comment:
  	* tls.c (Tls_Init):   added tls::misc command provided by
  	* tlsX509.c:          Wojciech Kocjan (wojciech kocjan.org)
  	* tests/keytest1.tcl: to expose more low-level SSL commands
  	* tests/keytest2.tcl:


type: ci
user: razzell
comment:
  Improvements to certificate conversion.
  Distinguished Names subject and issuer now UTF-8 per RFC 3280, RFC 2253.
  Serial numbers now hexadecimal per RFC 3280.


type: ci
user: hobbs
comment:
  	* tls.c (Tls_Init):   replaced older TEA config with newer
  	* config/* (removed):
  	* pkgIndex.tcl.in, strncasecmp.c (removed):
  	* Makefile.in, aclocal.m4, configure, configure.in:
  	* tclconfig/README.txt, tclconfig/install-sh, tclconfig/tcl.m4:


type: ci
user: patthoyts
comment:
  * Makefile.in:      Fixed to build on win32 using msys with
  * aclocal.m4:       MSVC. Also fixed the test target.
  * configure.in:
  * configure:        Regenerated.
  * tclconfig/tcl.m4: Updated to most recent version.


type: ci
user: patthoyts
comment:
  * tlsInt.h:         Added headers required with MSVC on Win32.
  * tlsX509.c:        undef min and max if defined (win32).


type: ci
user: patthoyts
comment:
  * tls.c:            Fixup to build against tcl 8.3.3. Handle
  * tlsIO.c:          8.4 constification.


type: ci
user: patthoyts
comment:
  	* win/makefile.vc:  Added the MSVC build system (from the Tcl
  	* win/rules.vc:     sampleextension).
  	* win/nmakehlp.c:
  	* win/tls.rc        Added Windows resource file.

  	* tls.tcl:          From patch #948155, added support for
  	                    alternate socket commands.
  	* tls.c:            Quieten some MSVC warnings. Prefer ckalloc
  	                    over Tcl_Alloc. (David Graveraux).


type: ci
user: patthoyts
comment:
  * win/makefile.vc: Rebase the DLL sensibly. Additional libs for static link of openssl.
  * tls.tcl: bug #1579837 - TIP 278 bug (possibly) - fixed.


type: ci
user: hobbs2
comment:
  	* Makefile.in, tclconfig/tcl.m4: update to TEA 3.6
  	* configure, configure.in:       using autoconf-2.59


type: ci
user: hobbs2
comment:
  	* tests/ciphers.test: reworked to make test output cleaner to
  	understand missing ciphers (if any)


type: ci
user: hobbs2
comment:
  	* tlsIO.c (TlsInputProc, TlsOutputProc, TlsWatchProc):
  	* tls.c (VerifyCallback): add an state flag in the verify callback
  	that prevents possibly recursion (on 'update'). [Bug 1652380]


type: ci
user: hobbs2
comment:
  	* tls.tcl (tls::initlib):     load tls.tcl first and call
  	* Makefile.in (pkgIndex.tcl): tls::initlib to load library to
  	handle cwd changes. [Bug 1888113]


type: ci
user: patthoyts
comment:
  Updated the nmake build files with MSVC9 support and fixed to run the test-suite properly.
  Corrected namespace handling in tls::initlib on Windows.
  Applied #1890223 to fix handshake on non-blocking sockets


type: ci
user: hobbs2
comment:
  	* tests/tlsIO.test (tlsIO-14.*):   Add tls::unimport for symmetry
  	* tls.htm, tls.c (UnimportObjCmd): to tls::import. [Bug 1203273]


type: ci
user: hobbs2
comment:
  	* win/makefile.vc: bump version to 1.6
  	* configure.in: use -L and -R where necessary. [Bug 1742859]


type: ci
user: hobbs2
comment:
  	* tls.tcl (tls::initlib): add support for Windows starpack
  	operation that unbundles any constituent libraries. [AS Bug 82888]


type: ci
user: hobbs2
comment:
          * configure: regen with ac-2.59
          * win/makefile.vc, configure.in: bump version to 1.6.1
          * tclconfig/tcl.m4: updated to TEA 3.8


type: ci
user: andreas_kupries
comment:
  	* tls.c: Applied Jeff's patch from
  	  http://www.mail-archive.com/aolserver@listserv.aol.com/msg12356.html


type: ci
user: andreas_kupries
comment:
  	* configure.in: Bump to version 1.6.3.
  	* win/makefile.vc:
  	* configure: regen with ac-2.59

  	* tls.c (MiscObjCmd): Fixed non-static string array used in call
  	  of Tcl_GetIndexFromObj(). Memory smash waiting to happen. Thanks
  	  to Brian Griffin for alerting us all to the problem.


