# config

name: css
value:
  /* General settings for the entire page */
  html {
      min-height: 100%;
  }
  body {
      margin: 0ex 1ex;
      padding: 0px;
      background-color: #e1e1e1;
      color: #333;
      font-family: Verdana, sans-serif;
      background: -webkit-gradient(linear, left top, left bottom, from(#fafafa), to(#cbccc8));
      background: -moz-linear-gradient(top,  #fafafa,  #cbccc8);
      background: -linear-gradient(top,  #fafafa,  #cbccc8);
      font-size: 0.8em;
  }

  h1, h2, h3, h4 {
      font-family: Georgia, serif;
      font-weight:normal;
      margin: 0 0 0.5em 0;
  }

  h1, h2, h3, h4 {
      margin-top: 1.2em;
  }

  h3 {
      font-weight:bold;
  }

  div.content>h1 {
      margin-top: 0;
  }

  li {
      margin-bottom: 0.5em;
      margin-right: 20px;
  }
  /* The project logo in the upper left-hand corner of each page */
  div.logo {
      display:none;
  }

  /* Widths */
  div.header, div.mainmenu, div.submenu, div.content, div.footer {
      max-width: 900px;
      margin: auto;
      padding: 3px 20px 3px 20px;
      clear: both;
  }

  /* The page title at the top of each page */
  div.title {
      font-size: 2em;
      float:left;
      font-weight: bold;
      margin: 10px 0 10px -20px;
      vertical-align: bottom;
      text-align: left;
      width: 80%;
      font-family: Georgia, serif;
      font-weight:normal;
  }

  div.title a {
      text-decoration:none;
      color: #333;
  }

  /* The login status message in the top right-hand corner */
  div.status {
      text-align: right;
      vertical-align: bottom;
      color: #333;
      margin-right: -20px;
  }

  /* The main menu bar that appears at the top of the page beneath
   ** the header */
  div.mainmenu {
      text-align: center;
      color: white;
      -moz-border-top-right-radius: 5px;
      -moz-border-top-left-radius: 5px;
      -webkit-border-top-right-radius: 5px;
      -webkit-border-top-left-radius: 5px;
      -border-top-right-radius: 5px;
      -border-top-left-radius: 5px;
      border-top-left-radius: 5px;
      border-top-right-radius: 5px;
      min-height: 2em;
      padding-top: 10px;
      background-color: #446979;
      background: -webkit-gradient(linear,left bottom,left top, color-stop(0.02, rgb(51,81,94)),  color-stop(0.76, rgb(85,129,149)));
      background: -moz-linear-gradient(center bottom,rgb(51,81,94) 2%, rgb(85,129,149) 76%);
      -webkit-box-shadow: 0px 3px 4px #333333;
      -moz-box-shadow: 0px 3px 4px #333333;
      box-shadow: 0px 3px 4px #333333;
  }

  /* The submenu bar that *sometimes* appears below the main menu */
  div.submenu {
      padding-top:10px;
      padding-bottom:0;
      text-align: right;
      color: #000;
      background-color: #fff;
      height: 1.5em;
      vertical-align:middle;
      -webkit-box-shadow: 0px 3px 4px #999;
      -moz-box-shadow: 0px 3px 4px #999;
      box-shadow: 0px 3px 4px #999;
  }
  div.mainmenu a, div.mainmenu a:visited {
      padding: 3px 10px 3px 10px;
      color: white;
      text-decoration: none;
  }
  div.submenu a, div.submenu a:visited a.button,
  div.sectionmenu>a.button:link, div.sectinmenu>a.button:visited {
      padding: 2px 8px;
      color: #000;
      font-family: Arial;
      text-decoration: none;
      margin:auto;
      -webkit-border-radius: 5px;
      -moz-border-radius: 5px;
      border-radius: 5px;
      background: -webkit-gradient(linear,left bottom, left top, color-stop(0, rgb(184,184,184)), color-stop(0.75, rgb(214,214,214)));
      background: -moz-linear-gradient(center bottom, rgb(184,184,184) 0%, rgb(214,214,214) 75%);
      background-color: #e0e0e0 ;
      text-shadow: 0px -1px 0px #eee;
      filter: dropshadow(color=#eeeeee, offx=0, offy=-1);
      border: 1px solid #000;
  }

  div.mainmenu a:hover {
      color: #000;
      background-color: white;
  }

  div.submenu a:hover, div.sectionmenu>a.button:hover {
      background: -webkit-gradient(linear,left bottom, left top, color-stop(0, rgb(214,214,214)), color-stop(0.75, rgb(184,184,184)));
      background: -moz-linear-gradient(center bottom, rgb(214,214,214) 0%, rgb(184,184,184) 75%);
      background-color: #c0c0c0 ;
  }

  /* All page content from the bottom of the menu or submenu down to
   ** the footer */
  div.content {
      background-color: #fff;
      -webkit-box-shadow: 0px 3px 4px #999;
      -moz-box-shadow: 0px 3px 4px #999;
      box-shadow: 0px 3px 4px #999;
      -moz-border-bottom-right-radius: 5px;
      -moz-border-bottom-left-radius: 5px;
      -webkit-border-bottom-right-radius: 5px;
      -webkit-border-bottom-left-radius: 5px;
      border-bottom-right-radius: 5px;
      border-bottom-left-radius: 5px;
      padding-bottom: 1em;
      min-height:40%;
  }


  /* Some pages have section dividers */
  div.section {
      margin-bottom: 0.5em;
      margin-top: 1em;
      margin-right: auto;

      padding: 1px 1px 1px 1px;
      font-size: 1.2em;
      font-weight: bold;

      text-align: center;
      color: white;

      -webkit-border-radius: 5px;
      -moz-border-radius: 5px;
      border-radius: 5px;

      background-color: #446979;
      background: -webkit-gradient(linear,left bottom,left top, color-stop(0.02, rgb(51,81,94)),  color-stop(0.76, rgb(85,129,149)));
      background: -moz-linear-gradient(center bottom,rgb(51,81,94) 2%, rgb(85,129,149) 76%);

      -webkit-box-shadow: 0px 3px 4px #333333;
      -moz-box-shadow: 0px 3px 4px #333333;
      box-shadow: 0px 3px 4px #333333;
  }

  /* The "Date" that occurs on the left hand side of timelines */
  div.divider {
      font-size: 1.2em; 
      font-family: Georgia, serif;
      font-weight: bold;
      margin-top: 1em;
      white-space: nowrap;
  }

  /* The footer at the very bottom of the page */
  div.footer {
      font-size: 0.9em;
      text-align: right;
      margin-bottom: 1em;
      color: #666;
  }

  /* Hyperlink colors in the footer */
  div.footer a { color: white; }
  div.footer a:link { color: white; }
  div.footer a:visited { color: white; }
  div.footer a:hover { background-color: white; color: #558195; }

  /* <verbatim> blocks */
  pre.verbatim, blockquote pre {
      font-family: Dejavu Sans Mono, Monaco, Lucida Console, monospace;
      background-color: #f3f3f3;
      padding: 0.5em;
      white-space: pre-wrap;
  }

  blockquote pre {
      border: 1px #000 dashed;
  }

  /* The label/value pairs on (for example) the ci page */
  table.label-value th {
      vertical-align: top;
      text-align: right;
      padding: 0.2ex 2ex;
  }


  table.report {
      border-collapse:collapse;
      border: 1px solid #999;
      margin: 1em 0 1em 0;
  }

  table.report tr th {
      padding: 3px 5px;
      text-transform : capitalize;
  }

  table.report tr td {
      padding: 3px 5px;
  }

  textarea {
      font-size: 1em;
  }

  /* Side-by-side diff */
  table.sbsdiff {
    background-color: white;
    font-family: Dejavu Sans Mono, Monaco, Lucida Console, monospace;
    font-size: 6pt;
    border-collapse:collapse;
    width: 98%;
    border: 1px #000 dashed;
    margin-left: auto;
    margin-right: auto;
  }

  table.sbsdiff th.diffhdr {
    border-bottom: dotted;
    border-width: 1px;
  }

  table.sbsdiff tr td {
    padding-left: 3px;
    padding-right: 3px;
    margin: 0px;
    vertical-align: top;
    white-space: pre-wrap;
  }

  table.sbsdiff tr td.lineno {
    text-align: right;
    /* border-bottom: 1px solid rgb(220, 220, 220); */
  }

  table.sbsdiff tr td.srcline {
    /* max-width: 400px; */
    /* Note: May partially hide long lines without whitespaces */
    /* overflow: hidden; */
    /* border-bottom: 1px solid rgb(220, 220, 220); */
  }

  table.sbsdiff tr td.meta {
    background-color: rgb(170, 160, 255);
    padding-top: 0.25em;
    padding-bottom: 0.25em;
    text-align: center;
    -moz-border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -webkit-border-radius: 5px;
    -border-radius: 5px;
    -border-radius: 5px;
    border-radius: 5px;
    border-radius: 5px;
  }

  table.sbsdiff tr td.added {
    background-color: rgb(180, 250, 180);
    /* border-bottom: 1px solid rgb(160, 230, 160); */
  }

  table.sbsdiff tr td.removed {
    background-color: rgb(250, 130, 130);
    /* border-bottom: 1px solid rgb(230, 110, 110); */
  }

  table.sbsdiff tr td.changed {
    background-color: rgb(210, 210, 200);
    /* border-bottom: 1px solid rgb(190, 190, 180); */
  }


name: header
value:
  <html>
  <head>
  <title>$<project_name>: $<title></title>
  <link rel="alternate" type="application/rss+xml" title="RSS Feed"
        href="$home/timeline.rss" />
  <link rel="stylesheet" href="$home/style.css?default" type="text/css"
        media="screen" />
  </head>
  <body>
  <div class="header">
    <div class="logo">
      <img src="$home/logo" alt="logo" />
    </div>
    <div class="title"><small>$<project_name></small><br />
      <th1> if {"$project_name" ne "$title"} { puts $title } else { puts "Home" } </th1>
    </div>
    <div class="status"><th1>
       if {[info exists login]} {
         puts "Logged in as $login"
       } else {
         puts "Not logged in"
       }
    </th1></div>
  </div>
  <div class="mainmenu"><th1>
  html "<a href='$home$index_page'>Home</a> "
  if {[anycap jor]} {
    html "<a href='$home/timeline'>Timeline</a> "
  }
  if {[hascap oh]} {
    html "<a href='$home/dir?ci=tip'>Files</a> "
  }
  if {[hascap o]} {
    html "<a href='$home/brlist'>Branches</a> "
    html "<a href='$home/taglist'>Tags</a> "
  }
  if {[hascap r]} {
    html "<a href='$home/reportlist'>Tickets</a> "
  }
  if {[hascap j]} {
    html "<a href='$home/wiki'>Wiki</a> "
  }
  if {[hascap s]} {
    html "<a href='$home/setup'>Admin</a> "
  } elseif {[hascap a]} {
    html "<a href='$home/setup_ulist'>Users</a> "
  }
  if {[info exists login]} {
    html "<a href='$home/login'>Logout</a> "
  } else {
    html "<a href='$home/login'>Login</a> "
  }
  </th1></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: surles
comment:
  bug fix: 1) If the -initialdir option was "." the result would be "././foo.tcl" instead of an absolute path, like the Windows interface.   2) There is a traceVar on the data(selectPath) where the script was assumes the window exists.


type: ci
user: surles
comment:
  Changed the font used for testing to Courier from Helvetica.  With the new measuring system, kerning exists when helvetica is used.


type: ci
user: surles
comment:
  Bug Fix:  It was assumed that kerning did not exist when the code was written.
  This behavior has since been changed.  Added new API calls to get the font
  measurment for chars (kerning or not)


type: ci
user: suresh
comment:
  Added an additional env. var. ("tk_pkgLibrary") that is searched prior to all
    other locations for the "tk.tcl" file.  This facilitates application packaging.


type: ci
user: escoffon
comment:
  - added support for configuration of debug/nodebug in configure script.
  - also added a atring to append to generated libraries when built with
  symbols.


type: ci
user: escoffon
comment:
  Added changes to support builds of different configurations in parallel:
  - the NODEBUG flag controls Debug/Release builds
  - different values of NODEBUG create temp files in either Debug or
  Release subdirectories.
  - Debug DLLs and executables follow the Windows convention of a 'd' at
  the end of the name (e.g. tcl80d.dll)
  - put the DLLs, LIBs, and EXEs in the Debug/Release subdirs rather than
  in win.


type: ci
user: escoffon
comment:
  added the ability to specify the name prefix for the generated binaries
  instead of fixing it at "tcl".


type: ci
user: escoffon
comment:
  Merged changes between child workspace "/home/escoffon/ws/tk8.0" and
   parent workspace "/export/home/ws/tk8.0".


type: ci
user: escoffon
comment:
  Added support for specifying warning flags for the compiler, with checks
  for gcc and appropriate defaults.


type: ci
user: escoffon
comment:
  leave -Wconversion out, the X libs generate so many of these warnings
  that they obscure everything else.


type: ci
user: rjohnson
comment:
  Merged changes between child workspace "/home/rjohnson/ws/tk8.0" and
   parent workspace "/export/home/ws/tk8.0".


type: ci
user: welch
comment:
  Merged changes between child workspace "/home/welch/ws/tk8.0.3" and
   parent workspace "/export/home/ws/tk8.0".


type: ci
user: escoffon
comment:
  added support for export/import of DLL symbols. If BUILD_tk is defined,
  EXPORT is mapped to DLLEXPORT, otherwise it is DLLIMPORT.


type: ci
user: welch
comment:
  Merged changes between child workspace "/home/welch/ws/tk8.0.3" and
   parent workspace "/net/pop/export/home/ws/tk8.0".


type: ci
user: escoffon
comment:
  added the STATIC_BUILD macro for objects that are linked into executables
  instead of being placed in the dll


type: ci
user: stanton
comment:
  fixed bug in menus where bgerrors were not generated during menu callbacks
  fixed memory leak in menu code
  fixed Alt-key handling


type: ci
user: stanton
comment:
  Merged changes between child workspace "/home/stanton/ws/tk8.0" and
   parent workspace "/net/pop/export/home/ws/tk8.0".


type: ci
user: stanton
comment:
  <Insert> binding in entries was masking the virtual event <<Paste>> binding to Shift-Insert on Windows.


type: ci
user: stanton
comment:
  Local grabs did not exclude menus or the caption bar
  wm frame would crash if the window had not been mapped yet


type: ci
user: rjohnson
comment:
  Removed old/unused function declarations
  removed unused file on Mac implementation
  made bell cmd an obj cmd - improved it's test suite


type: ci
user: escoffon
comment:
  Fixed a bug that caused the Tk DLL to be linked against msvcrt.lib for
  both debug and nodebug builds.


type: ci
user: rjohnson
comment:
  Fixed bug in options for text items in canvas widget.  unlike all other
  items they didn't support a null (transparant fill color)


type: ci
user: rjohnson
comment:
  Add parens around expression in if statement.  The code would not
  compile correctly under some compilers.  Also it was not in the
  Tcl style conventions.


type: ci
user: jingham
comment:
  Make the Macintosh Menu's adopt the current Theme Appearance if the Appearance extension (version 1.0.1 or later) is installed


type: ci
user: hershey
comment:
  - updated filebox test to work regardless of current working dir.
  - updated imgPhoto to check for teapot.ppm before running the tests.
    exits gracefully if file cannot be found.
  - lint in "all" file


type: ci
user: hershey
comment:
  added "cleanupbg" call before return, needed because tests return early
  if tktest is not the interp.


type: ci
user: stanton
comment:
  * mac/tkMacAppInit.c:
  * generic/tkTest.c:
  * generic/tkAppInit.c:
  * win/winMain.c: Changed some EXTERN declarations to extern
  since they are not defining exported interfaces.  This avoids
  generating useless declspec() attributes and makes the windows
  makefile simpler.


type: ci
user: stanton
comment:
  * generic/tkGrid.c: Fixed bug in "grid forget" that failed to cancel
    pending idle handlers, resulting in a crash in a few odd cases.


type: ci
user: stanton
comment:
  * win/tkWinFont.c (Tk_MeasureChars): Added a workaround for a bug
  in GetTextExtentExPoint on Win NT 4.0/Japanese. [Bug: 1006]


type: ci
user: stanton
comment:
  * generic/tkFocus.c (SetFocus): Changed to focus window is always
  set if -force is specified.  This fixes the problem on Windows
  where Tk does not activate the window if it already has focus.


type: ci
user: stanton
comment:
  * generic/tkConsole.c: Fixed so errors in console eval are
  reported properly.  Eliminated duplicate result messages. [Bug: 973]


type: ci
user: stanton
comment:
  * generic/tkCanvLine.c: Changed to treat zero width lines like
  they have width 1 for purposes of selection. [Bug: 925]


type: ci
user: stanton
comment:
  * generic/tkImgBmap.c (ImgBmapConfigureInstance): If an image
  mask changed but ended up with the same XID, the GC failed to be
  updated and so the new mask was not used. [Bug: 970]


type: ci
user: stanton
comment:
  * win/makefile.vc: First stab at install target.  Fixed quoting so
  paths with spaces work.

  * win/makefile.vc:
  * win/makefile.bc: Udpated version numbers


type: ci
user: stanton
comment:
  * unix/configure.in: TK_LD_SEARCH_FLAGS was set incorrectly if
  SHLIB_LD_LIBS='${LIBS}', and shared linking is performed through
  the C compiler. Systems affected are Linux, MP-RAS and NEXTSTEP,
  but also with gcc on many more systems. [Bug: 908]


type: ci
user: stanton
comment:
  * library/prolog.ps: Changed string that determines font height to
  include European character with an umlaut.


type: ci
user: stanton
comment:
  * library/menu.tcl (tkMenuFind): Changed so keyboard shortcuts
  will only be found in the current toplevel.  Previously, they
  might be found in menus attached to other toplevels that might not
  even be mapped. [Bug: 924]


type: ci
user: stanton
comment:
  * generic/tkImgPhoto.c: Changed so color tables are freed
  immediately instead of being delayed.  This ensures that color
  tables are properly disposed at process exit.


type: ci
user: stanton
comment:
  * win/tkWinWm.c: Changed so windows that aren't resizable don't
  have resize handles and the zoom box is disabled.


type: ci
user: stanton
comment:
  * win/tkWinInt.h:
  * win/tkWinPointer.c: Changed to cancel the mouse timer when a
  user initiated move/resize loop begins.


type: ci
user: stanton
comment:
  * win/tkWinPointer.c: Changed to cancel the mouse timer when a
  user initiated move/resize loop begins.


type: ci
user: redman
comment:
  Merge changes in 8.1 into 8.0.6, specifically we should be exporting
  XCreateBitmapFromData() from the Xlib code.


type: ci
user: redman
comment:
  Rename TkConsoleCreate_() to Tk_InitConsoleChannels() and make the
  function public.  Add an interp argument and init the Tcl stubs.
  Rename TkConsoleInit() to Tk_CreateConsoleWindow()
  Remove TkConsoleCreate() (no underbar)


type: ci
user: stanton
comment:
  Fixed bug in Windows clipboard code when dealing with selections that don't contain locale information.


type: ci
user: stanton
comment:
  * generic/tkStubLib.c:
  * generic/tkStubInit.c:
  * generic/tkIntXlibDecls.h:
  * generic/tkIntPlatDecls.h:
  * generic/tkIntDecls.h:
  * generic/tkInt.decls:
  * generic/tkConsole.c: Various changes to try to get the Mac
  builds working.


type: ci
user: jingham
comment:
  Changes needed to get Tk8.1 to compile with stubs on the Mac
  Also copied over some changes from Tk8.0.5 to support themed menus.


type: ci
user: stanton
comment:
  * generic/tkIntXlibDecls.h:
  * xlib/X11/Xlib.h: Added Mac specific defines to help with
  compilation.

  * generic/tkFont.c: lint


type: ci
user: stanton
comment:
  * unix/tkUnixSelect.c:
  * tests/unixSelect.test:
  * generic/tkSelect.c: Fixed selection code to handle Unicode data
  in COMPOUND_TEXT and STRING selections. [Bug: 1791]


type: ci
user: stanton
comment:
  * unix/tkUnixSelect.c: Improved I18N selection support.
  COMPOUND_TEXT is converted to/from iso2022, and STRING is
  converted to/from iso8859-1.  There are still a few loose ends to
  tie up before this is completely done.


type: ci
user: jingham
comment:
  Have to call Tcl_FindExecutable BEFORE creating the first interpreter.  Need to do this in main, since Tk_Main surreptitiously creates the interpreter now.


type: ci
user: wart
comment:
  Updated aclocal.m4 to reflect recent changes in tcl.m4

  Changed type of strncmp() parameter from int to size_t in tkConsole.c to
  remove compiler warnings about bad types.


type: ci
user: jingham
comment:
  Fix a bug in the region calculation for popup menus which would cause the popup to get posted in the wrong place if the menu was going to stick off the bottom of the screen.


type: ci
user: wart
comment:
  Cast third argument of Tcl_DStringAppend to (int) value in case the
  strlen() function returned a different type.


type: ci
user: stanton
comment:
  * tests/unixSelect.test: Fixed broken test.

  * win/makefile.vc: Added special case target to ensure that
  tkStubLib.obj is built with -DSTATIC_BUILD.

  * win/tkWinX.c (TkWinChildProc): Changed to pass
  WM_WINDOWPOSCHANGED through to DefWindowProc to make OpenGL
  sub-windows happy.  This allows Windows to generate the WM_SIZE
  and WM_MOVE messages.


type: ci
user: redman
comment:
  * unix/Makefile.in:
  * win/Makefile.in:  Copy the prolog.ps from the generic directory
  	for install-libraries.
  * unix/aclocal.m4: Check for Alpha/Linux to set the IEEE flag to
  	the compiler to be -mieee.  Patch from Don Porter.


type: ci
user: redman
comment:
  * Changed version to 8.2b2

  * win/tkWinPort.h: Block out include of sys/stat.h in order to
  build extensions with MetroWerks compiler for Win32. [Bug: 2385]

  * unix/Makefile.in: Need to make install-sh executable before
  calling (with chmod +x).  [Bug: 2413]

  * library/menu.tcl: Applied patch from Jeff Hobbs to fix typo.
  [Bug: 2425]


type: ci
user: hobbs
comment:
  1999-07-30  Jeff Hobbs  <hobbs@scriptics.com>

  	* tkInt.decls: Added stub entry for XFillRectangle [Bug: 2446]


type: ci
user: wart
comment:
  Added eval to EXESUFFIX value to resolve ${DBGX} immediately.
  The debug wish executable was missing the 'd' in its name.


type: ci
user: redman
comment:
  * win/Makefile.in: Corrected building threaded tktest.exe on
  Windows.  Needed to link in .obj files from Tcl, needs to change
  later so that code is in Tk and doesn't require a Tcl build.


type: ci
user: redman
comment:
  * generic/tkConsole.c: Allow tcl to open CON and NUL, even for std
  channels.  Checking for bad/unusable std channels was moved to Tk
  since its only purpose was to check whether to use the Tk Console
  Window for the std channels.  [Bug: 2393 2392 2209 2458]


type: ci
user: redman
comment:
  * win/makefile.vc: Corrected building threaded tktest.exe on
  Windows.  Needed to link in .obj files from Tcl, needs to change
  later so that code is in Tk and doesn't require a Tcl build.
  Also added runtest target.


type: ci
user: hobbs
comment:
  1999-08-09  Jeff Hobbs  <hobbs@scriptics.com>

  	* doc/options.n: clarified that -troughcolor doesn't work on Windows
  	* doc/wm.n: fixed wm positionfrom docs [Bug: 2284]


type: ci
user: hobbs
comment:
  1999-08-01  Jeff Hobbs  <hobbs@scriptics.com>

  	* mac/tkMacPort.h: wrapped panic in #ifndef panic to avoid
  	compiler errors when used with stubs-#defines, from Vince Darley.
  	[Bug: 2389]


type: ci
user: jingham
comment:
  New Function: TkpDrawHighlightBorder.  Use this in place of Tk_DrawFocusHighlight.  The latter did not work on the Mac, since you need to know both foreground & background color when you draw the active focus ring.


type: ci
user: hobbs
comment:
  1999-08-09  Jeff Hobbs  <hobbs@scriptics.com>

  	* library/button.tcl: cleaned up programming (config -> configure)
  	and fixed Windows relief bug [Bug: 664]
  	* library/entry.tcl: changed Entry C/C/P to not use global data
  	(now uses tkPriv(data)) [Bug: 1475]
  	* library/listbox.tcl: fixed extended mode script error [Bug: 866]
  	* doc/options.n: clarified that -troughcolor doesn't work on Windows
  	* doc/wm.n: fixed wm positionfrom docs [Bug: 2284]


type: ci
user: hobbs
comment:
  1999-08-09  Jeff Hobbs  <hobbs@scriptics.com>

  	* library/button.tcl: cleaned up programming (config -> configure)
  	and fixed Windows relief bug [Bug: 664]
  	* library/entry.tcl: changed Entry C/C/P to not use global data
  	(now uses tkPriv(data)) [Bug: 1475]
  	* library/listbox.tcl: fixed extended mode script error [Bug: 866]


type: ci
user: hobbs
comment:
  1999-08-10  Jeff Hobbs  <hobbs@scriptics.com>

  	* win/tkWinWm.c: changed "wm deiconify" on Windows to raise and
  	force the focus on the deiconified window (behavioral change from
  	8.1 to comply better with Windows style) [Bug: 1609]
  	* doc/wm.n: clarified behavior of "wm deiconify".


type: ci
user: hobbs
comment:
  1999-08-10  Jeff Hobbs  <hobbs@scriptics.com>

  	* win/tkWinWm.c: changed "wm deiconify" on Windows to raise and
  	force the focus on the deiconified window (behavioral change from
  	8.1 to comply better with Windows style) [Bug: 1609]
  	* doc/wm.n: clarified behavior of "wm deiconify".
  	* generic/tkInt.decls: added TkSetFocusWin
  	* generic/tkFocus.c: changed static SetFocus to TkSetFocusWin


type: ci
user: hobbs
comment:
  1999-08-10  Jeff Hobbs  <hobbs@scriptics.com>

  	* library/clrpick.tcl:
  	* library/console.tcl:
  	* library/tk.tcl: fixed code where abbreviations where used
  	in calling widget methods (confuses iWidgets) [Bug: 2422]


type: ci
user: jingham
comment:
  Remove the #ifdef MAC_TCL from TkDrawInsetFocusHighlight, this knowledge is now properly in a "p" function, TkpDrawHighlightBorder.


type: ci
user: hobbs
comment:
  1999-08-10  Jeff Hobbs  <hobbs@scriptics.com>

  	* win/tkWinWm.c: changed "wm deiconify" on Windows to raise and
  	force the focus on the deiconified window (behavioral change from
  	8.1 to comply better with Windows style) [Bug: 1609]


type: ci
user: hobbs
comment:
  1999-08-10  Jeff Hobbs  <hobbs@scriptics.com>

  	* generic/tkInt.decls: added TkSetFocusWin
  	* generic/tkFocus.c: changed static SetFocus to TkSetFocusWin


type: ci
user: jingham
comment:
  Fix a bug where the background of the menu can be wrong on Appearances that use pixmaps for the background of the menu.


type: ci
user: hobbs
comment:
  1999-09-01  Jeff Hobbs  <hobbs@scriptics.com>

  	* win/tkWinDraw.c:
  	* unix/tkUnixDraw.c: fixed header style for TkpDrawHighlightBorder
  	* generic/tkCanvas.c: fixed GC error (bg <> fg) in tkCanvas.c
  	(from code added to support TkpDrawHighlightBorder) [Bug: 2676]
  	* unix/aclocal.m4: added -bnoentry to the AIX-* flags
  	* generic/tkCursor.c: fixed equality error in GetCursorFromObj
  	[Bug: 2562]


type: ci
user: hobbs
comment:
  1999-09-01  Jeff Hobbs  <hobbs@scriptics.com>

  	* library/msgbox.tcl: changed the behavior of tk_messageBox on
  	Unix to be more Windows like in handling of <Return> and the
  	default button
  	* library/button.tcl:
  	* library/clrpick.tcl:
  	* library/comdlg.tcl:
  	* library/console.tcl:
  	* library/dialog.tcl:
  	* library/entry.tcl:
  	* library/focus.tcl:
  	* library/listbox.tcl:
  	* library/menu.tcl:
  	* library/msgbox.tcl:
  	* library/palette.tcl:
  	* library/safetk.tcl:
  	* library/scale.tcl:
  	* library/scrlbar.tcl:
  	* library/tearoff.tcl:
  	* library/text.tcl:
  	* library/tk.tcl:
  	* library/tkfbox.tcl:
  	* library/xmfbox.tcl: updated commands to use [string] ops
  	instead of expr equality operators


type: ci
user: wart
comment:
  "make doc" now copies the Tcl file "man.macros" locally.  This should allow
  users to use the man pages from inside the Tk source tree (without having to
  install).  It also fixes some problems that TclX was having when building
  its help pages.


type: ci
user: hobbs
comment:
  1999-09-01  Jeff Hobbs  <hobbs@scriptics.com>

  	* win/tkWinDraw.c:
  	* unix/tkUnixDraw.c: fixed header style for TkpDrawHighlightBorder
  	* generic/tkCanvas.c: fixed GC error (bg <> fg) in tkCanvas.c
  	(from code added to support TkpDrawHighlightBorder) [Bug: 2676]
  	* unix/aclocal.m4: added -bnoentry to the AIX-* flags
  	* generic/tkCursor.c: fixed equality error in GetCursorFromObj
  	[Bug: 2562]
  	* library/msgbox.tcl: changed the behavior of tk_messageBox on
  	Unix to be more Windows like in handling of <Return> and the
  	default button
  	* library/button.tcl:
  	* library/clrpick.tcl:
  	* library/comdlg.tcl:
  	* library/console.tcl:
  	* library/dialog.tcl:
  	* library/entry.tcl:
  	* library/focus.tcl:
  	* library/listbox.tcl:
  	* library/menu.tcl:
  	* library/msgbox.tcl:
  	* library/palette.tcl:
  	* library/safetk.tcl:
  	* library/scale.tcl:
  	* library/scrlbar.tcl:
  	* library/tearoff.tcl:
  	* library/text.tcl:
  	* library/tk.tcl:
  	* library/tkfbox.tcl:
  	* library/xmfbox.tcl: updated commands to use [string] ops
  	instead of expr equality operators


type: ci
user: wart
comment:
  Made sure that the tkConfig.sh file is always installed.

  configure now substitutes XINCLUDES in tkConfig.sh.  Needed for
  Tk extensions like Itk.


type: ci
user: hobbs
comment:
  1999-09-16  Jeff Hobbs  <hobbs@scriptics.com>

  	* generic/tkFont.c: fixed processing of font options and error
  	returned [Bug: 2075]

  	* win/tkWinWm.c: fixed bug in 'wm deiconify' that raised the
  	wrong toplevel, and changed it to not set focus on overridden
  	toplevels

  1999-09-15  Jeff Hobbs  <hobbs@scriptics.com>

  	* unix/aclocal.m4: added fix for FreeBSD-[1-2] recognition [Bug: 2070]
  	and fix to AIX-* to get ldAix right [Bug: 2624], fixed AIX
  	version check (readjust from 8-21 fix) and several other config
  	fixes for AIX
  	* mac/tkMacMenubutton.c:
  	* unix/tkUnixMenubu.c: fixed permanently stippled menubutton image
  	* win/tkWinButton.c: fixed possible pointer smash [Bug: 2733]

  1999-09-14  Jeff Hobbs  <hobbs@scriptics.com>

  	* win/tkWinMenu.c: fix for stack overrun in GetTextFace [Bug: 909]


type: ci
user: hobbs
comment:
  	* win/tkWinDraw.c:
  	* unix/tkUnixDraw.c: fixed header style for TkpDrawHighlightBorder
  	* generic/tkCanvas.c: fixed GC error (bg <> fg) in tkCanvas.c
  	(from code added to support TkpDrawHighlightBorder) [Bug: 2676]
  	* unix/aclocal.m4: added -bnoentry to the AIX-* flags


type: ci
user: hobbs
comment:
  1999-09-24  Jeff Hobbs  <hobbs@scriptics.com>

  	* */README:
  	* win/makefile.vc:
  	* */configure.in:
  	* generic/tk.h:
  	* library/tk.tcl: up'd to 8.3a1

  	* unix/Makefile.in: changed 'mkdir' to 'mkdir -p'

  	* library/dialog.tcl: changed {Times 18} to {Times 12} for
  	dialog font.


type: ci
user: hobbs
comment:
  1999-09-14  Jeff Hobbs  <hobbs@scriptics.com>

  	* win/tkWinMenu.c: fix for stack overrun in GetTextFace [Bug: 909]


type: ci
user: hobbs
comment:
  	* doc/CrtImgType.3:
  	* doc/CrtPhImgFmt.3:
  	* doc/FindPhoto.3:
  	* doc/photo.n: new docs for Img patch mods


type: ci
user: hobbs
comment:
  	* generic/tk.h:
  	* generic/tkCmds.c:
  	* generic/tkImage.c:
  	* generic/tkImgBmap.c:
  	* generic/tkImgGIF.c:
  	* generic/tkImgPPM.c:
  	* generic/tkImgPhoto.c:
  	* generic/tkInt.h:
  	* generic/tkTest.c:
  	* generic/tkWindow.c:
  	* tests/imgPhoto.test: added Img patch (Nijtmans) with docs,
  	headers #def'd with USE_OLD_IMAGE.  Upgrades image stuff to
  	Tcl_Obj API, adds alpha channel (images are now 32 bpp)


type: ci
user: hobbs
comment:
  	* library/scrlbar.tcl: changed tkScrollButtonUp to check for
  	existence of tkPriv(relief) in order to avoid spurious release
  	events


type: ci
user: hobbs
comment:
  	* generic/tkGrid.c: changed Tcl_Alloc to ckalloc

  	* generic/tkEntry.c: fixed C expr error in destroy of entry
  	that could lead to 'malformed bucket chain' error


type: ci
user: wart
comment:
  Added "wm geometry" calls in some tests that were waiting for the user to
  place a window manually.  The Tk test suite can now run on twm with no user
  intervention.


type: ci
user: hobbs
comment:
  	* tests/imgPhoto.test: added Img patch (Nijtmans) with docs,
  	headers #def'd with USE_OLD_IMAGE.  Upgrades image stuff to
  	Tcl_Obj API, adds alpha channel (images are now 32 bpp)


type: ci
user: hobbs
comment:
  	* library/entry.tcl: change tkEntrySeeInsert to avoid the use
  	of a while loop that could eat CPU tremendously.  Behavior of
  	moving the cursor at the right edge changes slightly (previously
  	it tried to keep the cursor at the right edge, now it moves the
  	cursor to a "central right" location - better IMHO).


type: ci
user: hobbs
comment:
  	* win/tkWinKey.c: fixed XKeysymToKeycode to handle mapping of
  	symbolic keysyms (Left, Home, ...) with event generate


type: ci
user: ericm
comment:
  * tests/listbox.test: Fixed tests to comply with new objectified
  error messages.  No -listvar specific tests yet.

  * win/tkWinDefault.h:
  * unix/tkUnixDefault.h:
  * mac/tkMacDefault.h: Added default value for -listvar option.


type: ci
user: wart
comment:
  Added $(TCLTESTARGS) to the test target so that users can set additional
  test harness arguments on the make command line:

  % make test TCLTESTARGS="-verbose pbs"


type: ci
user: hobbs
comment:
  	* win/winMain.c: corrected winMain to not do a DebugBreak when
  	returning an error message from the top level


type: ci
user: hobbs
comment:
  	* generic/tkColor.c:
  	* generic/tkColor.h: fixed Tk_NameOfColor to work correctly,
  	with minor change to TkColor struct.

  	* generic/tkConsole.c: added static declaration to
  	ConsoleDeleteProc function (proto already had it)


type: ci
user: ericm
comment:
  * generic/tkWindow.c: Changed "listbox" mapping from old-school to
  new-school objectified command.

  * generic/tkListbox.c: Objectified listbox; added support for
  -listvar option.  Converted internal structure to use a Tcl list
  object to store the data.

  * generic/tkInt.h: Changed reference to Tk_ListboxCmd to
  Tk_ListboxObjCmd.


type: ci
user: hobbs
comment:
  	* generic/tk.h:
  	* generic/tkConfig.c: added support for TK_OPTION_DONT_SET_DEFAULT
  	as equiv for TK_CONFIG_DONT_SET_DEFAULT
  	* generic/tkListbox.c: added TK_OPTION_DONT_SET_DEFAULT to the
  	item specs


type: ci
user: ericm
comment:
  * tests/listbox.test: Added tests for ListboxUpdateHScrollbar.

  * generic/tkListbox.c: Changed some old static buffers to base
  size on TCL_DOUBLLE_SPACE instead of (completely) hardcoding the size.


type: ci
user: ericm
comment:
  * tests/listbox.test: New tests for -listvar functionality, and an
  odd extra case that wasn't covered before.

  * generic/tkListbox.c: Tests exposed some bugs, now fixed.


type: ci
user: ericm
comment:
  * tests/listbox.test: Updated tests for new error messages.

  * generic/tkListbox.c: Improved error messages for bad -listvar's.


type: ci
user: ericm
comment:
  * tests/listbox.test: Added tests for bad -listvar's.

  * generic/tkListbox.c: Added handlers for bad -listvar's (ie, bad
  lists)


type: ci
user: ericm
comment:
  * tests/listbox.test: Added tests for itemcget and itemconfigure.

  * doc/listbox.n: Added documentation for -listvar option and for
  itemconfigure and itemcget commands.

  * generic/tkListbox.c: Added support for itemconfigure/itemcget
  listbox subcommands (addresses rfe #936)


type: ci
user: hobbs
comment:
  	* library/clrpick.tcl:
  	* library/msgbox.tcl:
  	* library/tk.tcl:
  	* library/tkfbox.tcl:
  	* library/xmfbox.tcl: fixed dialogs to center over -parent,
  	added utility functions ::tk::PlaceWindow, ::tk::SetFocusGrab,
  	::tk::RestoreFocusGrab to tk.tcl to help


type: ci
user: hobbs
comment:
  	* win/tkWinInt.h: removed TkFontAttributes typedef (was
  	redundant with tkFont.h).
  	* win/tkWinPort.h: put #ifndef __GNUC__ around redefinition
  	of str[n]casecmp, as cygwin uses the originals.
  	* win/tkWinX.c: changed GetCurrentTime to GetTickCount (the
  	former is deprecated).  [Bug: 2053]


type: ci
user: ericm
comment:
  * tests/listbox.test: Added a test to check that the topIndex is
  update when items are removed from the listvar variable.

  * generic/tkListbox.c: Added a check the updates the topIndex when
  items are removed from the listvar variable.


type: ci
user: redman
comment:
  	* generic/tkMain.c :
  	* unix/tkAppInit.c:
  	* win/winMain.c: Added added hooks into the main() code for
  	supporting TclPro and other "big" shells more easily without
  	requiring a copy of the main() code.


type: ci
user: hobbs
comment:
  	* generic/tkListbox.c: fixed 'get' of listbox to return a string
  	when only one item is requested.


type: ci
user: hobbs
comment:
  	* library/msgbox.tcl: added color icons for tk_messageBox on Unix
  	and Mac when tk_strictMotif isn't set. (Hipp)
  	* library/tk.tcl: added window bounds checking to ::tk::PlaceWindow


type: ci
user: hobbs
comment:
  	* generic/tkInt.h:
  	* generic/tkWindow.c:
  	* generic/tkCmds.c: converted Tk_DestroyCmd, Tk_LowerCmd and
  	Tk_RaiseCmd to their ObjCmd equivalent.


type: ci
user: hobbs
comment:
  	* unix/aclocal.m4: added warning when configuring with
  	--enable-threads that Tk may have problems


type: ci
user: hobbs
comment:
  	* mac/tkMacFont.c:
  	* mac/tkMacMenu.c:
  	* mac/tkMacWindowMgr.c: fixed greyed out menu items, handling of
  	... elipsis, font mapping problem, and enabled generated menu
  	posting [Bug: 3705]


type: ci
user: hobbs
comment:
  	* library/comdlg.tcl: removed tclVerifyInteger and tclSortNoCase,
  	they weren't used, and were not actually correct


type: ci
user: hobbs
comment:
  	* doc/canvas.n: added docs for items added by dash patch (-*dash*,
  	-state, -active*, -disabled*, -offset, essentially rewrote the
  	man patch for completely updated 8.3 canvas widget.
  	* doc/entry.n: added docs for entry widget validation
  	* doc/event.n: added docs for -warp
  	* doc/text.n: doc'ed new -state value 'hidden'
  	* doc/GetDash.3: (new file) man page explaining Tk_GetDash


type: ci
user: redman
comment:
        * generic/tkMain.c: need to include tclInt.h for new hook
         functions that are internal-use-only.


type: ci
user: hobbs
comment:
  	* generic/tkStubInit.c:
  	* generic/tkDecls.h:
  	* generic/tkIntXlibDecls.h:
  	* generic/tkInt.decls: added XSetDashes and XWarpPointer
  	* generic/tk.decls: added Tk_CreateSmoothMethod, and reserved
  	two spots
  	* generic/tk.h: added Tk_SmoothMethod struct,
  	state item to canvas record, #defines for item state,
  	support for using old char*-based canvas item C creation
  	procedures with -DUSE_OLD_CANVAS,
  	Tk_Dash, Tk_TSOffset (-offsets) & Tk_Outline structs and #defs,
  	decls for dash, outline and postscript routines
  	* generic/tkBind.c: added support for Quadruple clicks, and added
  	the -warp option to 'event' with pointer warping routines
  	* xlib/xgc.c:
  	* generic/tkRectOval.c:
  	* generic/tkCanvArc.c:
  	* generic/tkCanvBmap.c:
  	* generic/tkCanvImg.c:
  	* generic/tkCanvLine.c:
  	* generic/tkCanvPoly.c:
  	* generic/tkCanvPs.c:
  	* generic/tkCanvText.c:
  	* generic/tkCanvUtil.c:
  	* generic/tkCanvWind.c:
  	* generic/tkCanvas.c:
  	* generic/tkCanvas.h: Canvas and items received overhaul to with
  	the addition of the dash patch (Nijtmans, et al)  This includes
  	objectification of the 'canvas' command, as well as support for
  	(where appropriate) dashes in items, extended stipple support,
  	state for all items, and postscript generation of images and
  	windows.  See the new canvas man page for related docs.
  	* generic/tkEntry.c: added entry widget validation, see entry.n
  	* generic/tkEvent.c: on simulated events, ButtonPress should
  	be matched with ButtonRelease to be correct
  	* generic/tkFont.c: corrected possible null reference
  	* generic/tkFrame.c: made frame a Tcl_Obj based command
  	* generic/tkGet.c: added TkGetDoublePixels
  	* generic/tkImage.c: bug fixes from Img patch and new
  	Tk_PostscriptImage and Tk_SetTSOrigin functions
  	* generic/tkImgBmap.c: new ImgBmapPostscript function
  	* generic/tkImgPhoto.c: new Tk_CreatePhotoOption, Tk_DitherPhoto
  	* generic/tkInt.h: declarations for some new functions
  	* generic/tkMessage.c: reworked relief drawing
  	* generic/tkOldConfig.c: added TK_CONFIG_OBJS so old style
  	ConfigureWidget calls can pass in Tcl_Obj arrays
  	* generic/tkScrollbar.c:
  	* generic/tkScrollbar.h: made -orient use an option table
  	* generic/tkText.c:
  	* generic/tkText.h: made -wrap and -state use option tables
  	* generic/tkTextBTree.c:
  	* generic/tkTextDisp.c:
  	* generic/tkTextImage.c:
  	* generic/tkTextMark.c:
  	* generic/tkTextTag.c:
  	* generic/tkTextWind.c: added support for -elide and -state hidden
  	* generic/tkTrig.c: changed TkMakeBezierCurve to support returning
  	the upper limit of points needed for spline
  	* generic/tkUtil.c: new option table parsing routines
  	* generic/tkWindow.c: init'ing of warp stuff, mouseButtonState


type: ci
user: hobbs
comment:
  	* tests/bind.test:
  	* tests/canvImg.test:
  	* tests/canvPsArc.tcl:
  	* tests/canvPsImg.tcl: (new file)
  	* tests/canvRect.test:
  	* tests/canvText.test:
  	* tests/canvas.test:
  	* tests/defs.tcl:
  	* tests/entry.test:
  	* tests/event.test:
  	* tests/font.test:
  	* tests/frame.test:
  	* tests/imgPhoto.test:
  	* tests/safe.test:
  	* tests/scale.test:
  	* tests/scrollbar.test:
  	* tests/select.test:
  	* tests/text.test:
  	* tests/textDisp.test:
  	* tests/textTag.test:
  	* tests/unixFont.test:
  	* tests/unixWm.test:
  	* tests/visual_bb.test:
  	* tests/winClipboard.test: tests for the dash patch changes


type: ci
user: hobbs
comment:
  	* mac/tkMacDraw.c: mac still needs pointer warping routine
  	* mac/tkMacXStubs.c:
  	* win/tkWinDraw.c:
  	* win/tkWinPointer.c: added support for pointer warping and
  	platform specific support for dash patch items


type: ci
user: hobbs
comment:
  	* doc/GetCursor.3:
  	* win/tkWinCursor.c: added support for Windows cursors to
  	TkGetCursorByName (.ani, .cur) using -cursor @<filename>
  	(Ascher) [Bug: 1350]
  	* doc/listbox.n: added doc for <<ListboxSelect>> [Bug: 3500]

  	* doc/getOpenFile.n: removed note that -initialfile didn't work
  	for tk_getOpenFile


type: ci
user: hobbs
comment:
  	* win/tkWinDraw.c:
  	* win/tkWinPointer.c: added support for pointer warping and
  	platform specific support for dash patch items


type: ci
user: hobbs
comment:
  	* generic/tkCmds.c:
  	* generic/tkEvent.c:
  	* generic/tkWindow.c:
  	* generic/tkInt.h: add 'tk useinputmethods ?-display win? ?bool?'
  	call to provide support for disabling/enabling the use of XIM on
  	X.  This was previously all done at compile time, and always on.
  	Now it

  	* generic/tkCanvUtil.c: fixed bug in Tk_CanvasPsOutline that freed
  	mem it shouldn't.

  	* generic/tkFont.c: added "bitstream cyberbit" (popular Windows
  	CJK font) to list of font fallbacks. (kenny) [Bug: 2407]


type: ci
user: wart
comment:
  Added a couple of extra update calls to prevent some window managers from
  forcing users to manually place toplevels.


type: ci
user: hobbs
comment:
  	* win/tkWinCursor.c: added support for Windows cursors to
  	TkGetCursorByName (.ani, .cur) using -cursor @<filename>
  	(Ascher) [Bug: 1350]

  	* win/tkWinWm.c: fixed 'wm deiconify' to update position of the
  	toplevel if event is waiting before mapping. (Mao) [Bug: 3687]
  	This removes the need for 'update idle' before 'wm deiconify' on
  	Windows.


type: ci
user: hobbs
comment:
  	* generic/tk.h:
  	* README: updated for patch level 8.3b1

  	* generic/tkScale.c:
  	* generic/tkScale.h: fixed possible core when freeing options
  	(cursor) associated with scale widget [Bug: 3897]

  	* generic/tk3d.c: added extra calculations to ensure that thin
  	frames get refreshed too [Bug: 3596]

  	* generic/tkCanvText.c:
  	* generic/tkEntry.c:
  	* generic/tkFont.c:
  	* generic/tkImgPPM.c: removed extranneous vars that were set but
  	never used.


type: ci
user: hobbs
comment:
  	* mac/tkMacMenu.c: finished bug 3075 by changing the char values of
  	what was checked (verified correctness on Mac).


type: ci
user: hobbs
comment:
  	* library/tkfbox.tcl: updated tk_get*File to better match the
  	Windows file box it emulates, give proper support to -initialfile,
  	and fixes lack of global tkPriv call.  [Bug: 3735 3882]


type: ci
user: hobbs
comment:
  	* unix/tkUnixKey.c:
  	* generic/tkCmds.c:
  	* generic/tkEvent.c:
  	* generic/tkWindow.c:
  	* generic/tkInt.h: add 'tk useinputmethods ?-display win? ?bool?'
  	call to provide support for disabling/enabling the use of XIM on
  	X.  This was previously all done at compile time, and always on.


type: ci
user: hobbs
comment:
  	* unix/configure.in:
  	* README: updated for patch level 8.3b1

  	* unix/tkUnixWm.c: fixed panic in Tk_CoordsToWindow to print error
  	and continue instead (for Tix) [Bug: 716 et al]

  	* unix/tkUnixMenu.c:
  	* unix/tkUnixFont.c:
  	* generic/tkImgPPM.c: removed extranneous vars that were set but
  	never used.

  	* unix/aclocal.m4: removed -O flag for AIX when using the IBM
  	compiler (several versions have a bug that crops up in the text
  	widget). [Bug: 2316]

  	* unix/Makefile.in: removed extra slash in SCRIPT_INSTALL_DIR
  	[Bug: 3896]


type: ci
user: hobbs
comment:
  	* doc/MeasureChar.3: fixed docs for Tk_MeasureChars to reflect code
  	* doc/listbox.n: fixed formatting problem


type: ci
user: hobbs
comment:
  	* scale.test:
  	* generic/tkScale.c:
  	* generic/tkScale.h: fixed possible core when freeing options
  	(cursor) associated with scale widget [Bug: 3897]


type: ci
user: hobbs
comment:
  	* library/listbox.tcl: added extra checks for existence of
  	tkPriv(listboxSelection) before it was used. [Bug: 3892]


type: ci
user: hobbs
comment:
  	* doc/text.n:
  	* generic/tkText.c:
  	* generic/tkText.h:
  	* generic/tkTextBTree.c:
  	* generic/tkTextDisp.c:
  	* generic/tkTextTag.c: removed the -state option for text tags,
  	and reoriented it around -elide, as -state disabled was never
  	implemented, and -state hidden is better as -elide.


type: ci
user: hobbs
comment:
  	* generic/tkScale.c:
  	* generic/tkScale.h:
  	* mac/tkMacScale.c:
  	* unix/tkUnixScale.c: fixed potential segv from patch in 3897


type: ci
user: hobbs
comment:
  	* library/entry.tcl:
  	* library/focus.tcl:
  	* library/listbox.tcl:
  	* library/scale.tcl:
  	* library/scrlbar.tcl:
  	* library/tearoff.tcl:
  	* library/text.tcl:
  	* library/tkfbox.tcl:
  	* library/xmfbox.tcl: fixed unprotected arg parsing through eval/after
  	[Bug: 3943]


type: ci
user: hobbs
comment:
  	* doc/wm.n:
  	* tests/winWm.test:
  	* tests/unixWm.test:
  	* mac/tkMacWm.c:
  	* unix/tkUnixWm.c: fixed possible X error being raised [Bug: 3377]
  	* win/tkWinWm.c: wm deiconify in zoom state [Bug: 2077],
  	fixed possible flashing of unmapped toplevel in deiconify [Bug: 3338]
  	and fixed mapping of transient window [Bug: 572]
  	Also, for all wm's, extended 'wm state' command to allow setting
  	of the state, and added official support of 'zoomed' state on Win.


type: ci
user: hobbs
comment:
  	* generic/tkCanvas.c: fixed mem leak with TagSearchExprInit
  	[Bug: 3977]

  	* generic/tkStubInit.c:
  	* generic/tkDecls.h: remove non-existent
  	Tk_(Get|Create)CanvasVisitor prototypes

  	* generic/tkText.c:
  	* generic/tkEntry.c: fixed cursor to not blink when widget was
  	disabled [Bug: 1807]

  	* generic/tkRectOval.c: added note about change to bloat for
  	RectOval bounds calculation for WIN32 only


type: ci
user: hobbs
comment:
  	* unix/Makefile.in: added unix/aclocal.m4 to distribution [Bug: 3938]
  	* unix/aclocal.m4: changed NetBSD SHLIB_CFLAGS from -fpic to -fPIC


type: ci
user: hobbs
comment:
  	* unix/aclocal.m4: strtod bug on Tru64 [Bug: 3378]

  	* unix/Makefile.in: added tests to prevent unnecessary chmod +x
  	in source dirs while installing [Bug: 3367]

  	* unix/configure.in: properly sub'ed in TK_SHARED_BUILD [Bug: 3385]

  	* tests/winWm.test:
  	* tests/unixWm.test:
  	* mac/tkMacWm.c:
  	* unix/tkUnixWm.c: fixed possible X error being raised [Bug: 3377]
  	* win/tkWinWm.c: wm deiconify in zoom state [Bug: 2077],
  	fixed possible flashing of unmapped toplevel in deiconify [Bug: 3338]
  	and fixed mapping of transient window [Bug: 572]
  	Also, for all wm's, extended 'wm state' command to allow setting
  	of the state, and added official support of 'zoomed' state on Win.


type: ci
user: hobbs
comment:
  	* win/tkWinScrlbr.c: added check for valid hwnd in ModalLoopProc
  	to avoid crash when building statically


type: ci
user: hobbs
comment:
  	* unix/tkUnixWm.c: fixed possible X error being raised [Bug: 3377]
  	* win/tkWinWm.c: wm deiconify in zoom state [Bug: 2077],
  	fixed possible flashing of unmapped toplevel in deiconify [Bug: 3338]
  	and fixed mapping of transient window [Bug: 572]
  	Also, for all wm's, extended 'wm state' command to allow setting
  	of the state, and added official support of 'zoomed' state on Win.


type: ci
user: hobbs
comment:
  	* tests/winWm.test:
  	* tests/unixWm.test:
  	* mac/tkMacWm.c:
  	* unix/tkUnixWm.c: fixed possible X error being raised [Bug: 3377]
  	* win/tkWinWm.c: wm deiconify in zoom state [Bug: 2077],
  	fixed possible flashing of unmapped toplevel in deiconify [Bug: 3338]
  	and fixed mapping of transient window [Bug: 572]
  	Also, for all wm's, extended 'wm state' command to allow setting
  	of the state, and added official support of 'zoomed' state on Win.


type: ci
user: hobbs
comment:
  	* library/dialog.tcl: improved handling of $default arg to allow
  	for name of given button, as well as bounds checking


type: ci
user: hobbs
comment:
  	* unix/configure.in:
  	* win/configure.in: updated to patchlevel 8.3b2
  	* win/tkWinWm.c: added visibility event handler to make sure
  	that transient window wrappers would be updated when the master
  	was initially mapped.


type: ci
user: hobbs
comment:
  	* doc/event.n:
  	* generic/tkBind.c: prevented core with event -warp on Windows
  	when window wasn't mapped [Bug: 4004] and added docs stating
  	the requirement for mapped windows.


type: ci
user: ericm
comment:
  * tests/grid.test: Added a test for the consecutive ^ and multiple
  widget case (bug #1386).

  * generic/tkGrid.c: Fixed interpretation of consecutive ^
  characters in grid command.  Previously, ^ ^ was interpreted as
  meaning that there must be a 2-column widget above to extend,
  neglecting the case where there was actually 2 1-column widgets
  above.  Now, ^ ^ is interpreted as a possible width; the gridder
  will consume as many ^'s as there are columns in the widget, and
  leave the rest for the extension of other widgets.  (bug #1386).


type: ci
user: hobbs
comment:
  	* changes: updated changes file to reflect 8.3b2 mods
  	* README:
  	* generic/tk.h:
  	* unix/configure.in:
  	* win/configure.in: updated to patchlevel 8.3b2


type: ci
user: hobbs
comment:
  	* generic/tkInt.h: moved new TkDisplay useInputMethods structure
  	element to end to not disturb position of previous elements in
  	the structure (as compared to Tk <=8.2).

  	* generic/tkCanvLine.c (LineCoords): fixed segfault when too few
  	coords were passed to a line with certain options set (it should
  	always have thrown an error anyway). [Bug: 4042]

  	* tests/text.test:
  	* generic/tkText.c: fixed missing " in error case and missing
  	'dump' in subcommand listing [Bug: 4036]

  	* generic/tkListbox.c: adjusted use of basic string concatenation
  	in (non-K&R behavior) [Bug: 4027]
  	Swapped bg/fg class for -select(bg|fg) for listbox and their
  	items [Bug: 4039]


type: ci
user: ericm
comment:
  * library/tk.tcl: Created a virtual event <<PrevWindow>> for
  reverse tab traversals, with one default binding <Shift-Tab>, and
  OS specific bindings for Linux, HP-UX, and IRIX. (bug #3163)


type: ci
user: ericm
comment:
  * library/tkfbox.tcl: Fixed bug relating to incorrect parent
  values for error message boxes displayed by the file dialog (bug
  #3616).


type: ci
user: hobbs
comment:
  	* doc/WindowId.3: added docs for Tk_IsContainer and Tk_IsEmbedded

  	* doc/text.n: clarified mark gravity definition and usage of
  	``word'' in binding definitions.  [Bug: 2004 2277 1388]


type: ci
user: ericm
comment:
  * doc/getOpenFile.n:
  * doc/chooseDirectory.n: Man page/cross links for
  tk_chooseDirectory (bug #1786).

  * library/tk.tcl:
  * library/tclIndex: Added hooks for tk_chooseDirectory. (bug #1786)

  * library/choosedir.tcl: tk_chooseDirectory implementation for
  Unix/Mac (bug #1786).


type: ci
user: hobbs
comment:
  	* tests/text.test:
  	* generic/tkText.c: fixed missing " in error case and missing
  	'dump' in subcommand listing [Bug: 4036]


type: ci
user: hobbs
comment:
  	* library/text.tcl: fixed double-click selection behavior where
  	there were embedded windows/widgets in the same line. [Bug: 3989]


type: ci
user: hobbs
comment:
  	* win/tkWinWm.c (TkWmProtocolEventProc): cached atom name as the
  	window could get destroyed during eval [Bug: 2513]


type: ci
user: hobbs
comment:
  removed deletehandler for transient master so that they will
  always trigger children when made visible


type: ci
user: ericm
comment:
  * tests/text.test:
  * generic/tkText.c: Fixed bug relating to regexp searching for
  empty lines; previously, the starting line was ignored. (bug #1643).


type: ci
user: hobbs
comment:
  	* generic/tkRectOval.c (ConfigureRectOval):
  	* generic/tkCanvLine.c (ConfigureLine):
  	* generic/tkCanvPoly.c (ConfigurePoly):
  	* generic/tkCanvArc.c (Configure/DisplayArc): fixed handling for
  	negative dash values [Bug: 4104]

  	* generic/tkScale.c (TkRoundToResolution): fixed incorrect
  	assumption that (N+1)*delta = N*delta + delta with floating point
  	math [Bug: 3689, 4099]
  	(DestroyScale) Fixed check for cancelling TkpDisplayScale (was
  	REDRAW_ALL, is now REDRAW_PENDING)


type: ci
user: ericm
comment:
  * generic/tkImgPhoto.c: Added some comments regarding slow
  processing of transparent images.

  * generic/tkImgGIF.c: Improved GIF decoder for ~60% speed
  increase.  Added some comments on how to further improve the
  implementation, time permitting.

  * doc/photo.n: Added a description of what the -data string can
  contain (base64 or binary data).


type: ci
user: ericm
comment:
  * generic/tkImgPhoto.c: Fixed bug with use of binary data for
  "-data" option to "image create" command.


type: ci
user: hobbs
comment:
  	* win/Makefile.in (install-*): reduced verbosity of install

  	* win/tkWinPixmap.c (XGetGeometry): added support for windows in
  	XGetGeometry [Bug: 4069]

  	* win/tkWinFont.c (GetScreenFont): fixed possible mem overrun with
  	long font names [Bug: 4108]

  	* win/tkWinDialog.c: added EnableWindow calls to dialogs to
  	correct for possible loss of control in parent Tk toplevel
  	[Bug: 1212 et al]


type: ci
user: hobbs
comment:
  	* doc/text.n: clarified docs on what happens during a search with
  	-count when images/windows are embedded


type: ci
user: ericm
comment:
  * tests/text.test:
  * generic/tkText.c (DumpLine/DumpSegment): Changed DumpSegment to
  take a TkTextIndex instead of two integer offsets, so that it
  could use TkTextPrintIndex to format the offsets into an index,
  which makes it UTF smart (bug #2582).


type: ci
user: hobbs
comment:
  	* unix/aclocal.m4: added *BSD ELF recognition for
  	SHARED_LIB_SUFFIX determination (from Tcl's tcl.m4)


type: ci
user: hobbs
comment:
  	* README:
  	* unix/configure.in:
  	* win/configure.in:
  	* generic/tk.h (TK_RELEASE_SERIAL): Moved to 8.3.0 patchlevel

  	* library/tk.tcl: wrapped check for tcl_platform(os) around info
  	exists because it won't in safe interpreters

  	* win/tkWinFont.c: corrected symbol font use to only work on 8-bit
  	characters [Bug: 2406]

  	* unix/aclocal.m4: changed all -fpic to -fPIC


type: ci
user: ericm
comment:
  * library/tk.tcl:
  * library/tclIndex:
  * library/choosedir.tcl: Moved choosedir functions into the
  ::tk::dialog::chooseDir namespace instead of a toplevel
  ::tkChooseDirectory namespace.  Additional cleanup on the
  chooseDir dialog.


type: ci
user: hobbs
comment:
  	* win/tkWinFont.c: corrected symbol font use to only work on 8-bit
  	characters [Bug: 2406]

  	* README:
  	* unix/configure.in:
  	* win/configure.in:
  	* generic/tk.h (TK_RELEASE_SERIAL): Moved to 8.3.0 patchlevel


type: ci
user: ericm
comment:
  * library/tkfbox.tcl: Applied patch from bug #4117,
  tk_getOpenFile/getSaveFile doesn't do the right thing when user
  types a directory name in the entry and a default extension is
  specified.


type: ci
user: hobbs
comment:
  	* unix/tkUnixScale.c (TkpDestroyScale): changed ckfree to
  	Tcl_EventuallyFree to behave with Tcl_Preserve in TkpDisplayScale
  	(prevents possible segfault).


type: ci
user: ericm
comment:
  * tests/canvText.test: test for fix for bug #2525.

  * generic/tkFont.c (Tk_ComputeTextLayout): Was erroneously setting
  the width of newline-only text display chunks to some arbitrary
  huge number, instead of 0; this was interfering with things like
  the canvas find enclosed feature. (bug #2525).


type: ci
user: hobbs
comment:
  	* generic/tkDecls.h:
  	* generic/tk.decls:
  	* generic/tk.h: moved new public functions created in dash patch
  	to the stubs interface [Bug: 4062]

  	* generic/tk.h:
  	* doc/CrtImgType.3:
  	* doc/CrtPhImgFmt.3:
  	* generic/tk.h:
  	* generic/tkImgGIF.c:
  	* generic/tkImgPhoto.c:
  	* generic/tkStubImg.c (new file):
  	* generic/tkTest.c:
  	* unix/Makefile.in:
  	* win/Makefile.in:
  	* win/makefile.vc: improved support for moving from the old style
  	image C API to the new obj'ified one with new Tk_InitImageArgs
  	command and stub'ing of image code.  See docs for how to make the
  	transition. [Bug: 4060]


type: ci
user: hobbs
comment:
  	* unix/aclocal.m4: changed all -fpic to -fPIC

  	* README:
  	* unix/configure.in:
  	* win/configure.in:
  	* generic/tk.h (TK_RELEASE_SERIAL): Moved to 8.3.0 patchlevel


type: ci
user: hobbs
comment:
  	* library/tk.tcl: wrapped check for tcl_platform(os) around info
  	exists because it won't in safe interpreters


type: ci
user: hobbs
comment:
  	* generic/tk.decls:
  	* generic/tkBind.c:
  	* generic/tkInt.decls:
  	* generic/tkIntDecls.h:
  	* generic/tkStubInit.c:
  	* mac/tkMacKeyboard.c:
  	* unix/tkUnixKey.c:
  	* win/tkWinKey.c: Fix for keyboard handling of "dead" keys and
  	caps lock from Peter Spjuth.
  	Split functions into platform specific files:
  	Static functions GetKeySym(), SetKeycodeAndState() and InitKeymapInfo()
  	from tkBind.c moved into platform files tkWinKey.c tkUnixKey.c and
  	tkMacKeyboard.c.  GetKeySym() and SetKeycodeAndState() renamed to
  	Tkp* and made public (as private functions) in tkInt.decls.

  	Step 2, fixes in tkWinKey.c
  	New static function: KeycodeToKeysym(), based on XKeycodeToKeysym()
  	but with different arguments, and a lot of improvements.
  	TkpGetString() changed to use KeycodeToKeysym() + other fixes.
  	TkpGetKeySym() changed to use KeycodeToKeysym() + other fixes.
  	InitKeymapInfo() changed to use KeycodeToKeysym().
  	TkpSetKeycodeAndState() rewritten, mostly by copying code from
  	XKeysymToKeycode().
  	XKeycodeToKeysym() rewritten. Preferably it should be removed.

  	EXPLANATION: The main problem is ToAscii() which has a lot of side
  	effects, and also that XKeycodeToKeysym() is not provided enough
  	input to do a proper job.  The changes' main goal is to avoid
  	calling ToAscii() if not necessary, and to provide it with as
  	correct information as possible when called.  Also some attempts
  	to clean up what ToAscii() did are done.  See the code for details.

  	BUGS FIXED: Typing shifted (and AltGr) dead keys did not work.
  	Keyboard lock lamps did not work on Win98.
  	Events regarding AltGr-keys behaved badly.
  	Example: On a Swedish keyboard, $ is typed with AltGr-4.
  	That keyboard event would get the keysym '4' not 'dollar'.
  	Also, doing [event generete . <Key-dollar>] would send keysym '4'.
  	Translation to ascii in TkpGetString did not handle return and
  	tab correctly. I.e. [event generate . <Key-Return>] gave wrong %A


type: ci
user: jingham
comment:
  Stop hiding the buffer window used for off-screen drawing from the window list.  This doesn't really buy us much, and crashes the newest Appearance manager.


type: ci
user: jingham
comment:
  Switch to using .h prefix files, add pre-built headers for TkTest, and add prefix file for tkImgPPM.c, so we can define USE_OLD_IMAGE.


type: ci
user: hobbs
comment:
  	* generic/tkImgGIF.c (FileReadGIF): added cast for trashBuffer

  	* generic/tkIntXlibDecls.h:
  	* generic/tkInt.decls: declared some Xlib emulation calls for
  	the Mac

  	* generic/tkFrame.c (TkInstallFrameMenu): added extra panic to
  	inform user of bad call when framePtr is NULL [Bug: 2530]

  	* generic/tkMenu.c (DestroyMenuInstance): Placed checks around
  	menu name objects before trying to incr the ref.  [Bug: 3402]

  	* generic/tkTest.c: removed USE_OLD_IMAGE def for Mac


type: ci
user: jingham
comment:
  Stubs for the Apearance manager routines for use with the 68K version of MacTk.  This allows me not to conditionalize their use in the real code.


type: ci
user: hobbs
comment:
  	* unix/tkUnixWm.c (Tk_CoordsToWindow): qualified delete of error
  	handler as the goto label is reached from above and below.

  	* unix/configure.in:
  	* unix/aclocal.m4: cleaned up macros to coincide with tcl.m4,
  	added -export-dynamic to LDFLAGS for FreeBSD-3+ [Bug: 2998]

  	* unix/README:
  	* unix/Makefile.in (dist): removed porting.notes and porting.old
  	from distribution and CVS.  The information was very outdated.  Now
  	refer to http://dev.scriptics.com/services/support/platforms.html


type: ci
user: hobbs
comment:
  	* generic/tkImgGIF.c (FileReadGIF): added cast for trashBuffer

  	* generic/tkIntXlibDecls.h:
  	* generic/tkInt.decls: declared some Xlib emulation calls for
  	the Mac

  	* generic/tkFrame.c (TkInstallFrameMenu): added extra panic to
  	inform user of bad call when framePtr is NULL [Bug: 2530]

  	* generic/tkMenu.c (DestroyMenuInstance): Placed checks around
  	menu name objects before trying to incr the ref.  [Bug: 3402]

  	* generic/tkTest.c: removed USE_OLD_IMAGE def for Mac

  	* library/listbox.tcl:
  	* library/text.tcl: added support for <4> and <5> for mousewheel
  	style scrolling on Unix for mice that map to these buttons.

  	* tests/scrollbar.test: fixed check of testmetrics command to
  	allow unix tests to run (testmetrics is mac/pc only)

  	* unix/tkUnixWm.c (Tk_CoordsToWindow): qualified delete of error
  	handler as the goto label is reached from above and below.

  	* unix/configure.in:
  	* unix/aclocal.m4: cleaned up macros to coincide with tcl.m4,
  	added -export-dynamic to LDFLAGS for FreeBSD-3+ [Bug: 2998]

  	* unix/README:
  	* unix/Makefile.in (dist): removed porting.notes and porting.old
  	from distribution and CVS.  The information was very outdated.  Now
  	refer to http://dev.scriptics.com/services/support/platforms.html

  	* xlib/xgc.c: #def'd out XDrawSegments for the Mac, and added
  	some extra include info for the Mac


type: ci
user: jingham
comment:
  Add support for Appearance Manager 1.2 Floating windows, and the new window classes in unsupported1


type: ci
user: hobbs
comment:
  	* tests/scrollbar.test: fixed check of testmetrics command to
  	allow unix tests to run (testmetrics is mac/pc only)


type: ci
user: hobbs
comment:
  	* library/listbox.tcl:
  	* library/text.tcl: added support for <4> and <5> for mousewheel
  	style scrolling on Unix for mice that map to these buttons.


type: ci
user: hobbs
comment:
  	* xlib/xgc.c: #def'd out XDrawSegments for the Mac, and added
  	some extra include info for the Mac


type: ci
user: hobbs
comment:
  	* win/tkWinWm.c (RaiseWinWhenIdle): Checked for the possibility
  	that the window could be destroyed (can occur with
  	wm deiconify .toplevel; destroy .toplevel).


type: ci
user: hobbs
comment:
  	* tests/config.test: extra test to check object cleanup when
  	destroying the widget
  	* tests/entry.test: added test suite for entry validation


type: ci
user: ericm
comment:
  * generic/tkImgGIF.c: Applied "spirit of" the patch in 1605 (the
  submitted patch was more complicated than necessary and did not
  extend to writing GIF's, only reading), to allow reading/writing
  of GIF files on EBCDIC and other non-ASCII based systems.


type: ci
user: ericm
comment:
  * unix/tk.spec: RPM specification for producing a binary Tk RPM for Linux.

  * unix/Makefile.in: Added rpm target to generate Tk binary RPM.


type: ci
user: ericm
comment:
  * tests/clrpick.test:
  * library/clrpick.tcl: Added code to make color chooser dialog
  inherit screen setting from parent (bug #2334)


type: ci
user: hobbs
comment:
  	* tests/color.test:
  	* xlib/xcolors.c (XParseColor FindColor):
  	* win/tkWinColor.c (XAllocColor): Fixed bit fiddling for colors to
  	return "correct" values for color mapping. [Bug: 4282]


type: ci
user: hobbs
comment:
  	* doc/CrtItemType.3: fixed docs for Tk_CreateItemType to reflect
  	changes made in 8.3.0 (but old style would still work as well).
  	[Bug: 4252]
  	* doc/entry.n: improved docs discussing caveats and gotchas when
  	mixing textvar with widget validation


type: ci
user: hobbs
comment:
  	* generic/tkListbox.c (DestroyListbox): fixed crash in
  	DestroyListbox due to null tkwin.  [Bug: 4207]

  	* tests/entry.test: added test suite for entry validation
  	* doc/entry.n: improved docs discussing caveats and gotchas when
  	mixing textvar with widget validation
  	* generic/tkEntry.c (EntryValidateChange): improved handling of
  	validation with relation to -textvariable.  Previously, it would
  	turn off whenever the textvar was set.  Now it will it will turn
  	off only when the textvar is set and validation returns 0.  Added
  	%V (type of validation occuring) to %-subs to help work with
  	trickier validation.


type: ci
user: ericm
comment:
  * generic/tkOldConfig.c: Added check for NULL tkwin value in
  Tk_ConfigureWidget [Bug: 4079]

  * generic/tkWindow.c: Added check for NULL tkwin value in
  Tk_NameToWindow [Bug: 4079]


type: ci
user: hobbs
comment:
  	* win/tkWinInt.h: change extern to EXTERN for TkWinChildProc
  	declaration with extra #defs. [Bug: 4240]
  	* tests/color.test:
  	* xlib/xcolors.c (XParseColor FindColor):
  	* win/tkWinColor.c (XAllocColor): Fixed bit fiddling for colors to
  	return "correct" values for color mapping. [Bug: 4282]


type: ci
user: hobbs
comment:
  	* unix/Makefile.in (SCRIPT_INSTALL_DIR): removed extraneous '/'
  	* unix/aclocal.m4: corrected TCL_NEEDS_EXP_FILE to be 1 for AIX


type: ci
user: ericm
comment:
  * tests/filebox.test:
  * tests/choosedir.test: Updated tests.

  * library/xmfbox.tcl: Updated to stash data array in
  ::tk::dialog::file namespace instead of in global namespace.

  * library/tkfbox.tcl: Extended some functions to support creation
  of a choosedir dialog, to allow greater code reuse between the two
  dialogs.  Moved tkFDialog* functions into a namespace
  (::tk::dialog::file).  Because these are private Tk functions (and
  should thus not be used directly by users), this should not impact
  anybody (the tk_getOpenFile and tk_getSaveFile commands still
  exist at the global scope).

  * library/tk.tcl:
  * library/tclIndex: Updated function names for tkFDialog*
  functions and choosedir functions.

  * library/choosedir.tcl: New and improved implementation of
  tk_chooseDirectory dialog.  Based on tk_getOpenFile dialog.

  * library/listbox.tcl: (tkListboxCancel) Added a check for empty
  string value for tkPriv(listboxPrev).  Without this check, it's
  possible to get a stack trace under certain conditions. [Bug: 4373].


type: ci
user: ericm
comment:
  * library/menu.tcl: Added a check in tkMenuFirstEntry that changes
  menu behavior to only auto-post an immediate child cascade if we
  are currently on a menubar menu.  This prevents massive
  auto-cascading in cases where the first entry of the cascade is
  itself a cascade, and the first entry of that cascade is a
  cascade, and the first entry of that cascade is a cascade
  ... [Bug: 676].


type: ci
user: hobbs
comment:
  	* tests/entry.test:
  	* generic/tkEntry.c (EntrySetValue): malloc the value when
  	validating because validation could cause the pointer to become
  	invalid.  Also fixed configure to not trigger focus-based
  	validation.  Improved use of Tcl_WrongNumArgs. [Bug: 4320]


type: ci
user: ericm
comment:
  * library/tkfbox.tcl: Moved an overlooked tkFDialog* function in
  ::tk::dialog::file namespace.

  * tests/unixWm.test: Added tests for memory leak conditions in
  tkUnixWm.c.

  * tests/canvas.test: Added test for bad configuration options on
  empty and non-empty canvas.

  * generic/tkCanvas.c: Removed bad code in CANV_CONFIGURE block of
  CanvasWidgetCmd; this was causing non-empty canvases to improperly
  handle bad configuration options [Bug: 4456].


type: ci
user: ericm
comment:
  * tests/choosedir.test: Marked test 3.1 and 3.2 as bad until the
  issue with those tests on IRIX can be determined.


type: ci
user: ericm
comment:
  * library/menu.tcl: Applied patch from [Bug: 4155]; protects
  against grabs on non-viewable windows.


type: ci
user: ericm
comment:
  * tests/choosedir.test: Modified test 3.1 (-mustexist works) to be
  more careful about cleaning up its potentially troublesome after
  events.


type: ci
user: sven
comment:
  * win/tkWinDialog.c: Changed the behavior for the
  tk_chooseDirectory dialog under Windows. Instead of trying to
  return the currently selected listbox entry (which didn't work in
  case the user selected the initial directory anyway), we now
  return the value shown in the entry. This seems to be in
  accordance with the expected behavior for this dialog.


type: ci
user: hobbs
comment:
  	* generic/tkEntry.c: set TK_OPTION_NULL_OK bit on -invcmd option
  	and removed #ifdef ENTRY_VALIDATE expressions


type: ci
user: ericm
comment:
  * tests/xmfbox.test: Updated tests.

  * generic/tkWindow.c:
  * generic/tkInt.h: Updated Tcl_OptionCmd -> Tcl_OptionObjCmd

  * generic/tkOption.c: Tcl_Obj'ectified the "option" command.


type: ci
user: hobbs
comment:
  	* win/tkWinDialog.c: added unicode-aware open/save file dialogs

  	* win/tkWinFont.c (TkpFontPkgInit): move private ref to platformId
  	to TkWinGetPlatformId

  	* win/tkWinMenu.c (SetDefaults): moved private use of versionInfo
  	to TkWinGetPlatformId and removed all code for
  	(versionInfo.dwMajorVersion < 4) (== Win32s)

  	* win/tkWinX.c:
  	* win/tkWin32Dll.c: moved TkWinGetPlatformId to tkWinX.c
  	* win/tkWinInit.c: added TkWinXInit to TkpInit to ensure that its
  	called for static Windows shells. [Bug: 3647]

  	* win/tkWinInt.h:
  	* win/tkWinX.c:
  	* win/tkWinDraw.c (SetUpGraphicsPort):
  	* win/tkWinScrlbr.c (UpdateScrollbar): removed use of tkpIsWin32s

  	* win/tkWinInt.h (TkWinDCState struct): added bkmode value
  	* win/tkWinDraw.c (TkWinGetDrawableDC, et al): added support for
  	properly transparent dashed lines on Windows. [Bug: 4617]


type: ci
user: hobbs
comment:
  	* doc/DrawFocHlt.3: doc name correction

  	* generic/tkEntry.c: set TK_OPTION_NULL_OK bit on -invcmd option
  	and removed #ifdef ENTRY_VALIDATE expressions

  	* library/menu.tcl (tkMenuInvoke): corrected naming of tearoffs
  	[Bug: 4506]

  	* library/tkfbox.tcl (tkIconList_Goto): caused browsecmd to be
  	called in tkIconList_Select.  This causes the entry to be set
  	properly when using the type-in-name-in-listbox bindings.

  	* win/tkWinDialog.c: added unicode-aware open/save file dialogs

  	* win/tkWinFont.c (TkpFontPkgInit): move private ref to platformId
  	to TkWinGetPlatformId

  	* win/tkWinMenu.c (SetDefaults): moved private use of versionInfo
  	to TkWinGetPlatformId and removed all code for
  	(versionInfo.dwMajorVersion < 4) (== Win32s)

  	* win/tkWinX.c:
  	* win/tkWin32Dll.c: moved TkWinGetPlatformId to tkWinX.c
  	* win/tkWinInit.c: added TkWinXInit to TkpInit to ensure that its
  	called for static Windows shells. [Bug: 3647]

  	* win/tkWinInt.h:
  	* win/tkWinX.c:
  	* win/tkWinDraw.c (SetUpGraphicsPort):
  	* win/tkWinScrlbr.c (UpdateScrollbar): removed use of tkpIsWin32s

  	* win/tkWinInt.h (TkWinDCState struct): added bkmode value
  	* win/tkWinDraw.c (TkWinGetDrawableDC, et al): added support for
  	properly transparent dashed lines on Windows. [Bug: 4617]


type: ci
user: ericm
comment:
  * generic/tkImgGIF.c: Fixed some ANSI specific bits to avoid
  compile problems with non-ANSI compilers (ie, replace const with
  CONST, etc).  [Bug: 4223].


type: ci
user: ericm
comment:
  * unix/configure.in: Applied patch from [Bug: 4237]; ensures that
  srcdir is fully qualified.

  * unix/Makefile.in: Applied patch from [Bug: 4237]; if tcltest was
  not compiled, make test/tktest failed.  Now it has a rule to build
  tcltest if it has not been built.


type: ci
user: hobbs
comment:
  	* win/makefile.vc (TKTEST_OBJS):
  	* win/Makefile.in (TKTEST_OBJS): moved tkWinTest.c from normal
  	objs to TKTEST_OBJS where it belonged.


type: ci
user: hobbs
comment:
  	* library/menu.tcl (tkMenuInvoke): corrected naming of tearoffs
  	[Bug: 4506]

  	* library/tkfbox.tcl (tkIconList_Goto): caused browsecmd to be
  	called in tkIconList_Select.  This causes the entry to be set
  	properly when using the type-in-name-in-listbox bindings.


type: ci
user: ericm
comment:
  * tests/event.test: Added test for [event generate $widget
  <Alt-z>] [Bug: 4611].

  * tests/choosedir.test: Changed "namespace import ::tcltest" to
  "namespace import -force ::tcltest".

  * win/tkWinKey.c:
  * unix/tkUnixKey.c:
  * mac/tkMacKeyboard.c: Changed InitKeymapInfo to
  TkpInitKeymapInfo. [Bug: 4611].

  * generic/tkStubInit.c:
  * generic/tkIntDecls.h: Re-gen'd from tkInt.decls.

  * generic/tkInt.decls: Added TkpInitKeymapInfo to list of function
  decls.

  * generic/tkBind.c (HandleEventGenerate): Added code to initialize
  keymap info if necessary, and to correctly set modifier bits in
  XEvent structure create to handle [event generate] calls.
  Previously, the alt/meta bits were not set correctly, so [event
  generate $widget <Alt-z>] would always fail. [Bug: 4611]


type: ci
user: hobbs
comment:
  	* library/clrpick.tcl (tkColorDialog_Config): error now thrown
  	when -initialcolor "" specified. [Bug: 4198]


type: ci
user: hobbs
comment:
  	* generic/tkTest.c: fixed incorrect platform inclusion for
  	TkplatformtestInit (it would never get called).


type: ci
user: hobbs
comment:
  	* generic/tkTest.c: fixed incorrect platform inclusion for
  	TkplatformtestInit (it would never get called).

  	* unix/Makefile.in (MAN_INSTALL_DIR): patch to accept --mandir
  	correctly [Bug: 4085]

  	* library/clrpick.tcl (tkColorDialog_Config): error now thrown
  	when -initialcolor "" specified. [Bug: 4198]


type: ci
user: hobbs
comment:
  	* win/tkWinFont.c (GetScreenFont): corrected adjustment against
  	LC_FACESIZE limitation for NT.  [Bug: 4931]


type: ci
user: hobbs
comment:
  	* generic/tkGrid.c (InitMasterData): fixed uninit'd data in
  	GridMaster struct [Bug: 4387]

  	* library/safetk.tcl (disallowTk): made disallowTk work in the
  	simple case.

  	* library/comdlg.tcl (tkFocusGroup_In): fixed key navigation
  	problems in dialogs under CDE [Bug: 2960]

  	* tests/winDialog.test: removed knownBug constraint from 5.16

  	* win/tkWinFont.c (GetScreenFont): corrected adjustment against
  	LC_FACESIZE limitation for NT [Bug: 4931]

  	* win/makefile.vc (TKTEST_OBJS):
  	* win/Makefile.in (TKTEST_OBJS): moved tkWinTest.c from normal
  	objs to TKTEST_OBJS where it belonged.


type: ci
user: hobbs
comment:
  	* test/winClipboard.test:
  	* win/tkWinInt.h:
  	* win/tkWinClipboard.c (UpdateClipboard):
  	* win/tkWinX.c (GenerateXEvent): added updatingClipboard tsd and
  	TkWinUpdatingClipboard accessor function to allow us to flag
  	ourselves when we are the ones updating the clipboard.  This
  	corrected inability to create our own clipboard types within a Tk
  	application.  [Bug: 2338 4318]
  	* win/tkWinTest.c (TestclipboardCmd): improved TestclipboardCmd
  	with better error handling and obj'ification


type: ci
user: hobbs
comment:
  	* library/safetk.tcl (disallowTk): made disallowTk work in the
  	simple case.

  	* library/comdlg.tcl (tkFocusGroup_In): fixed key navigation
  	problems in dialogs under CDE [Bug: 2960]


type: ci
user: ericm
comment:
  * win/tkWinKey.c: Added smarts to check whether the left or right
  Control, Shift, or Alt key was pressed.  [Bug: 870].

  * win/tkWin3d.c:
  * unix/tkUnix3d.c: Tweaked threshhold for using different highlight
  computation.


type: ci
user: ericm
comment:
  * library/bgerror.tcl: Moved check for withdrawn state after check
  for tkerror; this was causing problems when tkerror was used.


type: ci
user: ericm
comment:
  * library/bgerror.tcl: Added check for withdrawn state of . and
  unsetting of transient bit for .bgerrorDialog if . is not
  viewable; this protects against the application hanging on systems
  like Windows, where transient windows are withdrawn with their
  parents. [Bug: 4370].


type: ci
user: hobbs
comment:
  	* library/scale.tcl (tkScaleActivate): reduced number of scale
  	redisplays by checking current value of state before setting it
  	again.  [Bug: 4191]


type: ci
user: ericm
comment:
  * win/tkWinMenu.c: Corrected code that created separator items on
  menus; originally, it requested that the system be responsible for
  drawing those items, so it would ignore configuration items like
  the widget background.  Now, we draw the separators ourselves (as
  we do with every other kind of menu item already). [Bug: 1166].


type: ci
user: ericm
comment:
  * win/tkWin3d.c:
  * unix/tkUnix3d.c: Applied patch from [RFE: 2501]: adds more
  sophisticated smarts to TkpGetShadows, so that the highlight of a
  very bright color is actually distinguishable from the color, and
  the shadow of a very dark color is similarly distinguishable from
  the color.


type: ci
user: ericm
comment:
  * generic/tkCanvas.c: Applied patch from [Bug: 4202]; adds a check
  for NULL tkwin in Tk_CanvasEventuallyRedraw.


type: ci
user: ericm
comment:
  * generic/ks_names.h: Added Scroll_Lock and Sys_Req definitions.

  * win/tkWinKey.c: Changed implementation of KeycodeToKeysym,
  et. al., to use a keycode table for lookups; this will result in
  faster keycode -> keysym translations for non-ASCII keys like
  Control, Alt, etc.


type: ci
user: hobbs
comment:
  	* generic/tkCanvas.c (CanvasEventProc:2451): corrected cast

  	* generic/tkEntry.c (Tk_EntryObjCmd): adjusted finishing error
  	cases and changed TK_CONFIG_NULL_OK to TK_OPTION_NULL_OK

  	* tests/scale.test:
  	* generic/tkScale.c:
  	* generic/tkScale.h:
  	* unix/tkUnixScale.c:
  	* mac/tkMacScale.c: moved (PixelToValue|ValueToPixel|SetScaleValue)
  	to tkScale.c.  Caused an associated variable to be immediately set
  	[Bug: 4833]


type: ci
user: hobbs
comment:
  	* generic/tkCanvas.c (CanvasEventProc:2451): corrected cast

  	* generic/tkEntry.c (Tk_EntryObjCmd): adjusted finishing error
  	cases and changed TK_CONFIG_NULL_OK to TK_OPTION_NULL_OK

  	* tests/scale.test:
  	* generic/tkScale.c:
  	* generic/tkScale.h:
  	* unix/tkUnixScale.c:
  	* mac/tkMacScale.c: moved (PixelToValue|ValueToPixel|SetScaleValue)
  	to tkScale.c.  Caused an associated variable to be immediately set
  	[Bug: 4833]

  	* library/scale.tcl (tkScaleActivate): reduced number of scale
  	redisplays by checking current value of state before setting it
  	again.  [Bug: 4191]

  	* tests/winDialog.test: tk_chooseDirectory seems to get a noop
  	from GetOpenFileName in the static build, hanging some tests.
  	The tests were fixed to timeout (noop cause unknown).

  	* unix/aclocal.m4 (SC_ENABLE_THREADS): enhanced the detection of
  	pthread_mutex_init [Bug: 4359] and (SC_CONFIG_CFLAGS) added
  	--enable-64bit-vis switch for Sparc VIS compilation [Bug: 4995]


type: ci
user: hobbs
comment:
  	* unix/tkUnixScale.c:
  	* mac/tkMacScale.c: moved (PixelToValue|ValueToPixel|SetScaleValue)
  	to tkScale.c.  Caused an associated variable to be immediately set
  	[Bug: 4833]

  	* unix/aclocal.m4 (SC_ENABLE_THREADS): enhanced the detection of
  	pthread_mutex_init [Bug: 4359] and (SC_CONFIG_CFLAGS) added
  	--enable-64bit-vis switch for Sparc VIS compilation [Bug: 4995]


type: ci
user: hobbs
comment:
  	* tests/winDialog.test: tk_chooseDirectory seems to get a noop
  	from GetOpenFileName in the static build, hanging some tests.
  	The tests were fixed to timeout (noop cause unknown).

  	* tests/scale.test: correct 17.1 WRT bug 4833


type: ci
user: hobbs
comment:
  	* mac/tkMacScale.c: moved (PixelToValue|ValueToPixel|SetScaleValue)
  	to tkScale.c.  Caused an associated variable to be immediately set
  	[Bug: 4833]


type: ci
user: ericm
comment:
  * generic/tkGrid.c: Fixed bogus logic in [grid propagate] that
  caused [grid propagate . 0] to act as a toggle instead of an
  absolute set. [Bug: 2286].


type: ci
user: hobbs
comment:
  	* win/tkWinWm.c (WmProc): added check in WM_MOUSEACTIVATE so we
  	correctly activate native menus when clicking in when we didn't
  	have focus [Bug: 2272]


type: ci
user: ericm
comment:
  * win/tkWinKey.c: Added check for ASCII delete character in
  KeycodeToKeysym, to fix [Bug: 5090].  See comment in code for more
  information.


type: ci
user: ericm
comment:
  * win/tkWinDialog.c: Added checks for visibility of parent window
  before creating MessageBox and ChooseColor dialogs; this prevents
  the application from locking when the parent is withdrawn and the
  message box is created.  In these cases, the window will be
  created without a parent.

  * unix/mkLinks: Added WinViewable.3.

  * tests/msgbox.test: Added tests for patch from [Bug: 4997].

  * library/msgbox.tcl:
  * library/dialog.tcl: Applied patch from [Bug: 4997]; detaches
  dialog window from parent if parent is not viewable.

  * library/bgerror.tcl: Removed workaround from [Bug: 4370]; this
  is superceeded by patches to dialog.tcl.

  * generic/tkCmds.c: Changed WinfoObjCmd to use Tk_IsViewable
  function to determine visibility of windows instead of inlining
  the code.

  * generic/tkStubInit.c:
  * generic/tkDecls.h:
  * generic/tk.decls: Added Tk_IsViewable declaration.


type: ci
user: hobbs
comment:
  	* win/tkWinColor.c (FindSystemColor): correct calculation of
  	colors when shifting value. [Bug: 4919]


type: ci
user: ericm
comment:
  * win/tkWinPointer.c: Changed Mod2Mask in TkWinGetModifierState to
  ALT_MASK, to fix some event problems [Bugs: 1160, 5088].

  * win/tkWinX.c: Changed Mod2Mask in GetState to ALT_MASK, to fix
  some event problems [Bugs: 1160, 5088].

  * generic/tkInt.h: Moved definition of ALT_MASK and META_MASK here
  so that it would be accessible from other modules than tkBind.c.

  * generic/tkBind.c: Added code in BindEvent to check for ALT_MASK
  and META_MASK in the event state field, as this field may not be
  set up with the correct display modifier mask bits if the XEvent
  structure was created by [event generate] or by the Windows X
  emulation. [Bugs: 1160, 5088].


type: ci
user: ericm
comment:
  * library/text.tcl: Tweaked double-/triple-click selection;
  previously, anchor and insert marks were placed in unexpected
  locations following a double or triple click.  Now they are placed
  logically.  Also tweaked the extension of selection via
  shift-double-clicks so that it no longer selects the contiguous
  whitespace on the side of the selection opposite the
  double-click. [RFE: 4253].


type: ci
user: ericm
comment:
  * doc/menu.n: Added note regarding rendering of
  checkbuttons/radiobuttons in menubars on different platforms --
  some systems do not draw indicators for check/radiobuttons in
  menubars.

  * library/menu.tcl: Corrected behavior of
  checkbuttons/commands/radiobuttons in menubars [Bug: 630].


type: ci
user: hobbs
comment:
  	* README:
  	* generic/tk.h:
  	* unix/configure.in:
  	* unix/tk.spec:
  	* win/configure.in: bumped to version 8.3.1

  	* library/msgbox.tcl (tkMessageBox): changed to use grid in some
  	places, realign icon to anchor nw.

  	* mac/tkMacScale.c: reverted tkMacScale.c to 1.5 equivalent (it
  	was accidentally bumped forward).


type: ci
user: redman
comment:
  	* win/tk.rc:
  	* win/wish.rc:
  	* win/wish.ico:  Modified copyright dates in Windows resource
  	files.  Updated the icon for wish.exe.


type: ci
user: ericm
comment:
  * doc/WinViewable.3:
  * unix/mkLinks: Removed docs for Tk_IsViewable.

  * win/tkWinDialog.c: Removed calls to Tk_IsViewable.

  * generic/tkUtil.c:
  * generic/tkStubInit.c:
  * generic/tkDecls.h:
  * generic/tkCmds.c:
  * generic/tk.decls: Removed Tk_IsViewable function (it was not
  actually needed).


type: ci
user: ericm
comment:
  * generic/tkRectOval.c (ConfigureRectOval): Added checks for valid
  outline settings before creating of outline GC; this means that it
  is really possible now to have an oval or rectangle with no
  outline.  [Bug: 5029].


type: ci
user: jingham
comment:
  2000-04-22  Jim Ingham  <jingham@cygnus.com>

          * mac/tkMacDialog.c (Tk_MacGetOpenFile): Add empty bodies for the 
          "-initialfile" and "-defaultextension" options.
          
          * mac/tkMacDialog.c (NavServicesGetFile): Only cons the result up into
          a list if multiple is true.
          
          * mac/tkMacMenus.c (SourceDialog): Use the "tk_getOpenFile" instead of hand-coding 
          the dialog with StandardGetFile.  This way we get the Navigation dialogs for
          free.
          
          * doc/getOpenFile.n: Document the -multiple and -message flags which are only
          implemented on the Mac.  Also note that the -title works on the Mac with
          Nav Services installed.


type: ci
user: hobbs
comment:
  	* library/choosedir.tcl (::tk::dialog::file::chooseDir::Config):
  	* library/tkfbox.tcl (::tk::dialog::file::Config): removed the
  	extraneous glob on -initialdir after file isdir already returned 1
  	and moved cd trick into this case as the else already uses [pwd].
  	[Bug: 5181]

  	* win/winMain.c: moved extern call out of WinMain func


type: ci
user: hobbs
comment:
  	* mac/tkMacWm.c (Tk_WmCmd): initialized gotToplevel in
  	colormapwindows case (bug found by Reasoning, Inc's automated code
  	testing).


type: ci
user: hobbs
comment:
  	* win/aclocal.m4: made SC_PROG_TCLSH search specifically for
  	tclsh*.exe type files to find an executable.

  	* win/Makefile.in: fixed up cleanup, winhelp, cat32 targets


type: ci
user: hobbs
comment:
  	* generic/tkImage.c (Tk_PostscriptImage): added check to create
  	necessary prolog for photos
  	* generic/tkCanvPs.c: added Tk_PostscriptPhoto that outputs PS for
  	photo images
  	* generic/tkImgPhoto.c: new func ImgPhotoPostscript and added that
  	in as ps proc in tkPhotoImageType.
  	* generic/tkStubInit.c:
  	* generic/tkDecls.h:
  	* generic/tk.decls: added Tk_PostscriptPhoto


type: ci
user: ericm
comment:
  * generic/tkMain.c: Fixed function header comment for Tk_MainEx.

  * unix/mkLinks:
  * doc/GetScroll.3: Added information about Tk_GetScrollInfoObj
  [Bug: 1866].


type: ci
user: hobbs
comment:
  	* README:
  	* mac/README:
  	* unix/README:
  	* unix/tk.spec:
  	* win/README: Updating URLs to reference dev.scriptics.com


type: ci
user: ericm
comment:
  * doc/keysyms.n: Man page enumerating keysyms [RFE: 1645].

  * doc/colors.n: Man page enumerating valid color names [RFE: 1645].

  * doc/cursors.n: Man page enumerating valid cursor values [RFE: 1645].

  * library/msgbox.tcl: Corrected Unix tk_messageBox implementation
  to make the first button the default when no default is specified
  [Bug: 2218].

  * doc/messageBox.n: Updated documentation with regards to
  selection of default button when none is specified (now it will
  use the first button as the default in that case) [Bug: 2218].


type: ci
user: hobbs
comment:
  	* README:
  	* generic/tk.h:
  	* library/tk.tcl:
  	* mac/README:
  	* unix/README:
  	* unix/configure.in:
  	* unix/tk.spec:
  	* win/README:
  	* win/aclocal.m4:
  	* win/configure.in:
  	* win/makefile.vc: updated patchlevel to 8.4a1


type: ci
user: ericm
comment:
  * doc/Tk_Init.3: Added Tk_SafeInit information [Bug: 1884].

  * doc/keysyms.n: Man page enumerating keysyms [RFE: 1645].


type: ci
user: ericm
comment:
  	* doc/button.n: Added documentation for link relief.

  	* tests/button.test: Added tests for link relief for buttons.

  	* generic/tk.h (TK_CONFIG_LINK_OK): Added definition of
  	TK_RELIEF_LINK, TK_OPTION_LINK_OK and TK_CONFIG_LINK_OK. [RFE: 4348]

  	* generic/tk3d.c: Added support for link relief. [RFE: 4348]

  	* mac/tkMacButton.c (TkpDisplayButton):
  	* unix/tkUnixButton.c (TkpDisplayButton): Added support for link
  	relief. [RFE: 4348]

  	* generic/tkOldConfig.c (Tk_ConfigureWidget):
  	* generic/tkConfig.c (DoObjConfig): Added understanding of link
  	relief, which is allowed only for widgets that have
  	TK_OPTION_LINK_OK or TK_CONFIG_LINK_OK set for the "-relief"
  	option. [RFE: 4348]

  	* generic/tkButton.c: Added TK_OPTION_LINK_OK to "-relief" option
  	for buttons. [RFE: 4348]

  	* win/tkWinWm.c (EX_TRANSIENT_STYLE): Removed WS_EX_TOOLWINDOW
  	style bit, so that transient windows have full-size titlebars
  	(like the tk_getOpenFile dialog).

  	* win/tkWinMenu.c (GetMenuSeparatorGeometry): Tweaked height
  	requested for separator bars to be (linespace - (2*descent))
  	instead of just (linespace); this makes the separator occupy a
  	more correct amount of vertical space. [Bug: 5303].


type: ci
user: hobbs
comment:
  	* tests/menu.test:
  	* generic/tk3d.c:
  	* generic/tkColor.c:
  	* generic/tkCursor.c: corrected handling of 3DBorder, Cursor and
  	Color objects on multiple screens. [Bug: 5454]


type: ci
user: ericm
comment:
  * unix/tkUnixButton.c (TkpDisplayButton, TkpComputeButtonGeometry):
  * mac/tkMacButton.c (TkpDisplayButton, TkpComputeButtonGeometry):
  * win/tkWinButton.c (TkpDisplayButton, TkpComputeButtonGeometry):
  Added code for drawing compound buttons.

  * tests/button.test: Added configuration tests for -repeatdelay,
  -repeatinterval, -compound.

  * library/button.tcl: Added support for -repeatedelay,
  -repeatinterval options.

  * generic/tkOldConfig.c: Changed handling of link relief so that
  proper error messages are used.

  * generic/tkButton.h: Added -compound, -repeatdelay,
  -repeatinterval options.

  * generic/tkButton.c: Added event watchers for enter/leave events,
  for link relief support.

  * generic/tk3d.c: Changed handling of link relief so that proper
  error messages are used.

  * generic/tk.h: Changed values of
  TK_OPTION_LINK_OK/TK_CONFIG_LINK_OK for link relief support.


type: ci
user: hobbs
comment:
  	* tests/focus.test (focusSetupAlt): removed wm withdraw from proc
  	as it would cause a hang for tkwait visibility


type: ci
user: ericm
comment:
  * library/entry.tcl: Adjusted Button-1 binding to set focus to the
  entry when it is readonly or normal.

  * doc/entry.n: Added documentation for readonly state,
  -disabledforeground, -disabledbackground.

  * tests/entry.test: Added tests for readonly state.

  * generic/tkEntry.c: Added support for "readonly" state, and
  redefined "disabled" state.  A disabled entry will display its
  text in a dimmed color and possibly with a different background,
  and will be completely unusable (no selection, no editing).  A
  readonly entry will look like a normal entry, but it will not be
  editable; selection is still allowed. [RFE: 4239].  To support the
  new disabled state properly, "-disabledforeground" and
  "-disabledbackground" options were added.
  *** THIS IS A BACKWARDS INCOMPATIBLE BEHAVIOR CHANGE ***

  * win/tkWinDefault.h:
  * mac/tkMacDefault.h:
  * unix/tkUnixDefault.h: Added DEF_ENTRY_DISABLED_FG,
  DEF_ENTRY_DISABLED_BG_COLOR, DEF_ENTRY_DISABLED_BG_MONO.


type: ci
user: hobbs
comment:
  	* win/tkWinWm.c (RaiseWinWhenIdle): added TK_DONT_DESTROY_WINDOW
  	to flag check to prevent timing related core dump. [Bug: 5438]


type: ci
user: hobbs
comment:
  	* win/tkWinTest.c (TestclipboardObjCmd): ensured CloseClipboard
  	would always get called for each OpenClipboard.


type: ci
user: hobbs
comment:
  	* win/tkWinFont.c (LoadFontRanges): improved support for all chars
  	in 0-255 range for bitmap ANSI fonts.  May be improved to handle
  	bitmap non-ANSI fonts in the future. [Bug: 2172]


type: ci
user: ericm
comment:
  * doc/image.n: Added documentation for [image inuse] command.

  * tests/image.test: Added tests for [image inuse] command.

  * generic/tkImage.c (Tk_ImageObjCmd): Added [image inuse] command,
  which provides a means for programmers to determine if a given
  image is in use by any widgets. [RFE: 3327].


type: ci
user: ericm
comment:
  * doc/SetOptions.3: Added information about TK_OPTION_NULL_OK with
  TK_OPTION_RELIEF.

  * win/tkWinButton.c: Removed bits about TK_RELIEF_LINK.

  * tests/button.test: Added tests for -overrelief; removed tests
  for -relief link.

  * mac/tkMacButton.c: Removed bits about TK_RELIEF_LINK.

  * generic/tkOldConfig.c: Removed bits about TK_RELIEF_LINK.

  * generic/tkConfig.c: Removed bits about TK_RELIEF_LINK; added
  support for TK_OPTION_NULL_OK for TK_OPTION_RELIEF.

  * library/button.tcl: Added binding support for -overrelief.

  * generic/tk3d.c (Tk_GetRelief): Added branch for TK_RELIEF_NULL.

  * generic/tkButton.c: Added -overrelief option; removed
  Enter/Leave EventProc masks and handlers.

  * generic/tk.h: Added TK_RELIEF_NULL definition, removed
  TK_RELIEF_LINK.

  * mac/tkMacDefault.h (DEF_BUTTON_OVER_RELIEF):
  * win/tkWinDefault.h (DEF_BUTTON_OVER_RELIEF):
  * unix/tkUnixDefault.h (DEF_BUTTON_OVER_RELIEF): Added default
  value for the -overrelief option.


type: ci
user: ericm
comment:
  * doc/clipboard.n: Added documentation for "clipboard get".

  * generic/tkClipboard.c (Tk_ClipboardCmd): Added "clipboard get"
  subcommand [RFE: 4628].

  * tests/clipboard.test: Updated to use "clipboard get" instead of
  "selection get -s CLIPBOARD".


type: ci
user: ericm
comment:
  * mac/tkMacDefault.h (DEF_ENTRY_READONLY_BG_COLOR,
  DEF_ENTRY_READONLY_BG_COLOR):
  * win/tkWinDefault.h (DEF_ENTRY_READONLY_BG_COLOR,
  DEF_ENTRY_READONLY_BG_COLOR):
  * unix/tkUnixDefault.h (DEF_ENTRY_READONLY_BG_COLOR,
  DEF_ENTRY_READONLY_BG_COLOR): Added default values for entry
  -readonlybackground option.

  * generic/tkEntry.c: Added -readonlybackground option, cleaned up
  excessive use of graphics contexts.

  * tests/entry.test: Added configuration test for
  -readonlybackground option.

  * doc/entry.n: Added documentation for -readonlybackground option.


type: ci
user: ericm
comment:
  * win/tkWinMenu.c (ReconfigureWindowsMenu): Added code to add the
  MF_SEPARATOR bit for SEPARATOR_ENTRY menu items.  This causes
  separator entries on the system menu to be drawn correctly [Bug: 5451].


type: ci
user: hobbs
comment:
  	* win/tkWinWm.c (Tk_WmCmd): changed wm deiconify from using idle
  	callback to calling restack and focus code immediately.


type: ci
user: hobbs
comment:
  	* doc/bind.n:
  	* doc/canvas.n:
  	* doc/entry.n:
  	* doc/listbox.n:
  	* doc/photo.n: doc fix-ups [Bug: 5396]


type: ci
user: ericm
comment:
  * doc/radiobutton.n: Added documentation for -overrelief option.

  * doc/checkbutton.n: Added documentation for -overrelief option.

  * doc/label.n: Added documentation for -state option.

  * generic/tkButton.c: Added -overrelief option for checkbuttons,
  and radiobuttons.

  * library/button.tcl (tkButtonDown, macintosh version): Added
  protection against querying the -repeatdelay option from a widget
  that doesn't support it (ie, checkbuttons, radiobuttons, etc).
  Other platforms use a different binding script for checkbuttons
  and radiobuttons, so they don't have this issue.
  (tkCheckRadioEnter, windows version):  Added code to handle
  -overrelief for check/radiobuttons on windows.


type: ci
user: hobbs
comment:
  	* doc/bell.n:
  	* tests/bell.test:
  	* generic/tkCmds.c (Tk_BellObjCmd): added -nice option to
  	optionally avoid resetting screen saver [Bug: 4279]


type: ci
user: hobbs
comment:
  	* doc/spinbox.n: (new file) docs for spinbox widget
  	* generic/tkInt.h: added Tk_SpinboxObjCmd declaration
  	* generic/tkEntry.c: added 'spinbox' widget - an extension of the
  	entry widget type.
  	* generic/tkWindow.c: added 'spinbox' to core Tk commands
  	* library/spinbox.tcl: (new file) binding and helper procs for spinbox
  	* library/tk.tcl: added spinbox.tcl to list of files to source
  	* tests/entry.test: updated changed error messages
  	* tests/spinbox.test: (new file) test suite for spinbox


type: ci
user: hobbs
comment:
  	* canvas.test: added test for 5783.
  	* generic/tkCanvPoly.c (DisplayPolygon): added checks for the
  	polygon fillGC not being empty to prevent segfault. [Bug: 5783]


type: ci
user: ericm
comment:
  * generic/tkOption.c (Tk_GetOption): Extended Tk_GetOption to
  support a new syntax for option names in option tables.  If the
  option name has an embedded ".", it indicates that the name field
  contains both an option name and an overriding widget class, in
  the form "class.option".  The lookup for the option value will be
  performed as though the widget class is that specified, rather
  than the actual widget class.
  (SetupStacks): Replaced several lines of array element copying
  with a for loop for conciseness.


type: ci
user: hobbs
comment:
  	* generic/tkPlace.c (Tk_PlaceCmd): reworked place master/slave
  	table init'n to prevent seg fault when using place on multiple
  	displays.


type: ci
user: hobbs
comment:
  	* generic/tk.h: added typdef for Tk_ClientMessageProc
  	* generic/tkStubInit.c:
  	* generic/tkDecls.h:
  	* generic/tk.decls: Added Tk_CreateClientMessageHandler and
  	Tk_DeleteClientMessageHandler declarations.
  	* generic/tkEvent.c (Tk_HandleEvent): Added
  	Tk_CreateClientMessageHandler and Tk_DeleteClientMessageHandler to
  	allow adding event handlers that invoke for ClientMessage events.
  	This is necessary to support unix dnd protocols.


type: ci
user: ericm
comment:
  * generic/tkImgGIF.c: Changed defines for GIF87a/GIF89a to be
  static char arrays with integer initialization, to address EBCIDIC
  vs. ASCII encoding issues and to handle compilers that don't deal
  with "\xAB" syntax for specifying hex values in strings.


type: ci
user: ericm
comment:
  * library/bgerror.tcl: Improved bgerror based on work by Donal
  K. Fellows; no longer dependant on tk_dialog; features a
  Windows-esque "Details" button, and a customizable extra function
  button that allows the user to (for example) save the stack trace
  to a file.


type: ci
user: ericm
comment:
  * win/tcl.m4:
  * win/configure.in:
  * win/Makefile.in: Applied patch from [RFE: 5844], to extend
  support for mingw compile environment on Windows.


type: ci
user: ericm
comment:
  * doc/getOpenFile.n: Updated with information about -multiple.

  * library/choosedir.tcl: Tweaked to handle modified tkIconList API's.

  * library/tkfbox.tcl: Preliminary implementation of multiple
  selection; based on patch from [RFE: 604].  Some of the tkIconList
  functions changed to support this and to make the dialog faster.

  * library/xmfbox.tcl: Added support for multiple selection, from
  patch in [RFE: 4999].


type: ci
user: ericm
comment:
  * library/msgs/de.msg: German message catalog.

  * library/msgs/en.msg: English message catalog.

  * library/msgs/es.msg: Spanish message catalog.

  * library/msgs/fr.msg: French message catalog.

  * unix/Makefile.in:
  * unix/configure.in:
  * library/tk.tcl:
  * library/clrpick.tcl:
  * library/choosedir.tcl:
  * library/console.tcl:
  * library/msgbox.tcl:
  * library/tkfbox.tcl:
  * library/xmfbox.tcl:
  * library/bgerror.tcl: Applied patches from Laurent Duperval to
  provide localization of Tk dialogs. [RFE: 2671].


type: ci
user: ericm
comment:
  Added @LIBS@ to definition for LIBS variable, so that user32.lib and
  advapi32.lib are included in the link line for the wish binary.


type: ci
user: ericm
comment:
  * library/bgerror.tcl: Added auto-truncation for long error
  messages (more than 30 characters wide, or more than 4 lines
  long), so that the dialog remains a manageable size. [RFE: 5782]


type: ci
user: ericm
comment:
  * doc/keysyms.n:
  * doc/colors.n: Added extra .CE/.CS pairs to break up the large
  text block, so that the generated Windows help file could
  accomodate the manual entry. [Bug: 5862]


type: ci
user: ericm
comment:
  * generic/tkMenu.c (DeleteMenuCloneEntries): Applied fix from
  [Bug: 5275], which corrected a segfault-causing indexing problem
  when deleting entries from torn-off menus.


type: ci
user: mo
comment:
  	* generic/tkFileFilter.c (AddClause): Cast to match function prototype.
  	* win/stubs.c (_XInitImageFuncPtrs): Add return value for function.
  	* win/tkWinButton.c (buttonStyles, ButtonBindProc, ComputeStyle):
  	Remove unused declarations.
  	* win/tkWinColor.c (GetColorByName, GetColorByValue): Remove unused
  	function declarations.
  	* win/tkWinDialog.c (TrySetDirectory): Remove unused function declaration.
  	* win/tkWinEmbed.c (TkWinEmbeddedEventProc): Cast to match function prototype.
  	* win/tkWinMenu.c (winMenuMutex, MenuExitProc): Remove unused declaration.
  	* win/tkWinWindow.c (StackWindow): Remove unused declaration.
  	* win/tkWinWm.c (ConfigureEvent): Remove unused declaration.
  	* win/tkWinX.c (winXMutex): Remove unused declaration.
  	* xlib/ximage.c (XCreateBitmapFromData): Cast to match function prototype.


type: ci
user: ericm
comment:
  * tests/filebox.test: Adjusted tests to accomodate -multiple.

  * library/xmfbox.tcl: Adjusted arguments list construction such
  that -multiple is not presented as an option for tk_getSaveFile.

  * library/tk.tcl: Added test for safe interpreter status before
  attempting to load message catalogs (which is impossible in a
  standard safe interpreter).  This means that SafeTk will not have
  localized dialogs, unless a means is found for loading the message
  catalog files.


type: ci
user: ericm
comment:
  * tests/imgPhoto.test: Added test for GIF writing code [Bug: 5823].

  * generic/tkImgGIF.c: Applied patch from Jan Nijtmans to fix a
  problem with the GIF writing code [Bug:	5823].


type: ci
user: ericm
comment:
  * unix/configure.in (MAKE_LIB): Corrected definition of MAKE_LIB
  for shared builds, with patch from Mike Hopkirk.


type: ci
user: ericm
comment:
  Applied patch from Nijtmans/Howlett to intialize nextPtr field of TkCursor
  structure when it is created, to prevent possible core dumps.


type: ci
user: mo
comment:
  	* unix/aclocal.m4: Use tcl.m4.
  	* unix/configure.in: Properly quote
  	LOCALES variable. Properly quote
  	argument to m4 macro.
  	* unix/tcl.m4: Add updated file from tcl.
  	* win/tcl.m4: Updated file from tcl.


type: ci
user: davidg
comment:
  Just added comments about a Win2K OS bug with GetStdHandle(STD_OUTPUT_HANDLE).
  No change was made to the code.


type: ci
user: ericm
comment:
  * generic/tkStubImg.c (Tk_InitImageArgs): Applied patch from [Bug:
  5990], from Anselm Lingnau, which correctly sets the value of
  useNewImage to 0 when the new image system is not to be used,
  instead of leaving it at -1, which causes the check to be
  performed more times than is really necessary.


type: ci
user: ericm
comment:
  * unix/tkUnixDraw.c (TkScrollWindow): Replaced a use of a trinary
  operator with an if/else, to avoid build problems on some
  platforms [Bug: 5819].


type: ci
user: jenglish
comment:
  CanvPsY.3, ConfigWidg.3, CrtImgType.3, CrtItemType.3,
  FontId.3, GetFont.3, canvas.n, font.n, options.n, text.n:
  Documentation fix: Replaced references to XFontStruct *
  and Tk_FontStruct with Tk_Font.


type: ci
user: ericm
comment:
  * library/text.tcl: Enhanced <Tab> binding to behave like normal
  <Tab> bindings when the text widget is disabled (ie, it advances
  focus to the next widget).


type: ci
user: ericm
comment:
  * generic/tkText.c (TextSearchCmd): Added a test for a NULL
  segment pointer when doing backwards searches for "" on an empty
  text widget. [Bug: 6007].


type: ci
user: ericm
comment:
  * mac/tkMacDefault.h:
  * unix/tkUnixDefault.h: Added default values for listbox
  disabledforeground and state.

  * win/tkWinDefault.h: Changed default listbox background color to
  white and listbox selection borderwidth to 0, in keeping with the
  "Microsoft Windows User Experience"; added default values for
  listbox disabledforeground and listbox state.

  * doc/listbox.n: Added documentation for -state option.

  * generic/tkListbox.c: Added support for -state to listbox. [RFE:
  6052].

  * tests/listbox.test: Tests for listbox disabled state.


type: ci
user: ericm
comment:
  * tests/text.test: Added tests for searching when text is elided.

  * generic/tkText.c (TextSearchCmd): Text search was not returning
  the correct index when the search covered (but did not search)
  elided characters; corrected this by adjusting the match index by
  the number of elided characters preceeding the start of the match,
  just as is done with embedded windows, etc. [Bug: 5470].


type: ci
user: mo
comment:
  	* win/configure.in: Add TK_STUB_LIB_FLAG and
  	TK_BUILD_STUB_LIB_SPEC. These are needed to
  	build a stub enabled extension.


type: ci
user: ericm
comment:
  * tests/text.test: Added tests for -regexp -nocase searches with
  backslash character classes.

  * generic/tkText.c (TextSearchCmd): Text search did not work
  properly when -regexp and -nocase were used, in combination with
  backslash character classes represented by capital letters (ie,
  \W, \M); altered implementation of -regexp -nocase searches to use
  new regexp interfaces to fix this problem.  [Bug: 5988].


type: ci
user: ericm
comment:
  * generic/tkInt.h: Removed prototype for Tk_ClipboardCmd, added
  prototype for Tk_ClipboardObjCmd.

  * generic/tkWindow.c: Updated function pointers for clipboard
  command to use Tcl_Obj version.

  * tests/clipboard.test: Updated tests to expect standard error
  messages.

  * generic/tkClipboard.c (Tk_ClipboardObjCmd): Obj'ified
  Tk_ClipboardCmd -> Tk_ClipboardObjCmd.


type: ci
user: mo
comment:
  	* win/configure.in: TCL_STUB_LIB_FLAG and
  	TK_STUB_LIB_FLAG should not include ${TCL_DBGX}
  	in win/tkConfig.sh, fix that.


type: ci
user: ericm
comment:
  * generic/tkGrid.c (Tk_GridCmd): Split [grid] subcommands into
  separate functions instead of inlining them all in Tk_GridCmd.


type: ci
user: ericm
comment:
  * unix/tkUnixButton.c (TkpDisplayButton): Added bits to change
  the indicator color when radio-/check-buttons are disabled.  This
  reduces the visual incongruity when a group of these controls are
  disabled together.


type: ci
user: ericm
comment:
  * win/tkWinMenu.c (ReconfigureWindowsMenu): Added MF_GRAYED bit
  for disabled menu entries, to ensure that those which are drawn by
  the system are shown grayed (such as entries on menubars) [Bug: 4372].


type: ci
user: ericm
comment:
  * doc/label.n: Added -disabledforeground to list of options [Bug: 6053].
  * generic/tkListbox.c: Changed resource class for disabledforeground
  to "DisabledForeground".


type: ci
user: ericm
comment:
  * tests/bind.test: Tweaked expected error messages for [bindtags]
  to comply with updated error messages.

  * generic/tkMenu.c (CloneMenu): Replaced calls to Tk_BindtagsCmd
  with equivalent calls to Tk_BindtagsObjCmd.

  * generic/tkInt.h: Replace Tk_BindtagsCmd prototype with
  Tk_BindtagsObjCmd prototype.

  * generic/tkWindow.c: Updated "bindtags" command entry to use
  Tcl_Obj'ified command.

  * generic/tkCmds.c (Tk_BindtagsObjCmd): Tcl_Obj'ified [bindtags]
  command.


type: ci
user: ericm
comment:
  * generic/tkInt.h: Replaced prototype for Tk_MessageCmd with
  prototype for Tk_MessageObjCmd.

  * generic/tkWindow.c: Marked message command as using the new
  MessageObjCmd instead of the old MessageCmd.

  * tests/message.test: Added tests for the message widget.

  * generic/tkMessage.c: Obj'ified the message widget.

  * generic/tkInt.h: Removed prototype for Tk_ClipboardCmd, added
  prototype for Tk_ClipboardObjCmd.

  * generic/tkWindow.c: Updated function pointers for clipboard
  command to use Tcl_Obj version.


type: ci
user: ericm
comment:
  * generic/tkWindow.c: Updated "grab" command entry to use
  Tcl_Obj'ified command.

  * generic/tkInt.h: Replaced Tk_GrabCmd prototype with
  Tk_GrabObjCmd prototype.

  * tests/grab.test: Initial suite of tests for [grab] command.

  * generic/tkGrab.c (Tk_GrabObjCmd): Tcl_Obj'ified [grab] command.

  * generic/tkCmds.c: Fixed casting problem in Tk_BindtagsObjCmd.


type: ci
user: ericm
comment:
  * generic/tkCmds.c (Tk_TkwaitObjCmd): Tcl_Obj'ified [tkwait] command.

  * generic/tkWindow.c: Updated "tkwait" command entry to use
  Tcl_Obj'ified command.

  * generic/tkInt.h: Replace Tk_TkwaitCmd prototype with
  Tk_TkwaitObjCmd prototype.


type: ci
user: ericm
comment:
  * generic/tkWindow.c: Updated [selection] command entry to use
  new Tcl_Obj interface.

  * generic/tkInt.h: Replaced Tk_SelectionCmd prototype with
  Tk_SelectionObjCmd prototype.

  * tests/select.test: Updated test suite to recognize standardized
  error messages.

  * generic/tkSelect.c (Tk_SelectionObjCmd): Tcl_Obj'ified
  [selection] command.


type: ci
user: ericm
comment:
  * generic/tkInt.h: Removed Tk_AfterCmd function prototype; the
  function does not exist (since 7.4p3).

  * generic/tk.h: Removed Tk_AfterCmd => Tcl_AfterCmd #define;
  nothing in the core uses it, and Tcl_AfterCmd doesn't exist
  anymore anyway.


type: ci
user: ericm
comment:
  * generic/tkInt.h: Replace Tk_BindCmd prototype with
  Tk_BindObjCmd prototype.

  * generic/tkWindow.c: Updated "bind" command entry to use
  Tcl_Obj'ified command.

  * generic/tkCmds.c (Tk_BindObjCmd): Tcl_Obj'ified [bind] command.


type: ci
user: ericm
comment:
  * tests/place.test: Extended test suite to test error returns from
  [place].

  * generic/tkInt.h: Replaced Tk_PlaceCmd prototype with
  Tk_PlaceObjCmd prototype.

  * generic/tkWindow.c: Updated [place] command entry to use new
  Tcl_Obj interface.

  * generic/tkPlace.c (Tk_PlaceObjCmd): Tcl_Obj'ified [place] command.


type: ci
user: hobbs
comment:
  	* library/safetk.tcl: rationalized the setting of tk_library when
  	initialized Tk in a safe interpreter.


type: ci
user: ericm
comment:
  * doc/SetOptions.3: Updated documentation to reflect support for
  TK_OPTION_NULL_OK for TK_OPTION_DOUBLE and TK_OPTION_PIXELS.

  * generic/tkConfig.c: Added for TK_OPTION_NULL_OK support for
  TK_OPTION_DOUBLE and TK_OPTION_PIXELS.

  * doc/place.n: Updated, reformatted manual entry.

  * tests/place.test: Added many tests.

  * generic/tkPlace.c (Tk_PlaceObjCmd): Updated to use Tk
  widget-option management facilities to manage place options (-x,
  -y, etc.), which simplifies the placer code.  Added support for
  [place configure pathName] and [place configure pathName -option],
  similar to the behavior of the configure subcommand supported by
  widgets.


type: ci
user: ericm
comment:
  * doc/toplevel.n:
  * doc/spinbox.n:
  * doc/scrollbar.n:
  * doc/scale.n:
  * doc/menubutton.n:
  * doc/menu.n:
  * doc/listbox.n:
  * doc/entry.n:
  * doc/frame.n:
  * doc/message.n:
  * doc/checkbutton.n:
  * doc/radiobutton.n:
  * doc/button.n:
  * doc/label.n:
  * doc/canvas.n:
  * doc/text.n: Fixed Standard Options section to make best use of
  new tab settings in man.macros.


type: ci
user: ericm
comment:
  * generic/tkImgPhoto.c (ImgPhotoGet): Removed redundant call to
  DitherInstance; this call was formerly being made from
  ImgPhotoGet->ImgPhotoConfigureInstance->DitherInstance, and
  ImgPhotoGet->DitherInstance.  The second call was removed.


type: ci
user: hobbs
comment:
  	* generic/tkButton.c (ButtonTextVarProc): changed order of
  	incr/decr of new value object, in case they are equal.


type: ci
user: ericm
comment:
  * win/makefile.vc (install-libraries):
  * win/Makefile.in (install-libraries):
  * unix/Makefile.in (install-libraries): Added tkPlatDecls.h to
  list of header files to install.

  * generic/tk.h: Added #include "tkPlatDecls.h", which declares the
  platform specific component of the public Tk stubs API's.


type: ci
user: hobbs
comment:
  	* README:
  	* generic/tk.h:
  	* unix/configure.in:
  	* unix/tk.spec:
  	* win/configure.in: updated to patchlevel 8.4a2


type: ci
user: ericm
comment:
  * win/tkWinMenu.c (DrawWindowsSystemBitmap): Use scratchDC
  for determining the source's logical coordinates.  Patch from
  [Bug: 6134 (Markus Oberhumer)].

  * win/tkWinMenu.c (SetDefaults): Compute the indicatorDimensions[]
  under Windows NT/2000 in the same way as under Windows 95/98.
  Patch from [Bug: 6134 (Markus Oberhumer)].

  * win/tkWinFont.c (GetScreenFont): Added a memset() to
  pacify memory checkers.  Patch from [Bug: 6134 (Markus Oberhumer)].


type: ci
user: ericm
comment:
  * library/tkfbox.tcl (::tk::dialog::file::Update): Corrected
  handling of multi-pattern filters (eg, "* *.*"), which was broken
  by the getOpenFile performance patches applied earlier.


type: ci
user: ericm
comment:
  * doc/HWNDToWindow.3:
  * doc/GetHWND.3: Changed synopsis to indicate the tkPlatDecls.h
  should be included, not tk.h.

  * generic/tkPlatDecls.h: Removed #include <windows.h> for Windows,
  a better solution for now is to update the docs and have extension
  authors #include <tkPlatDecls.h>.

  * generic/tk.h: Removed '#include "tkPlatDecls.h"', as the
  incorrect inclusion order between windows.h/tkPlatDecls.h causes
  build conflicts on Windows.

  * generic/tkPlatDecls.h: Added #include <windows.h> for Windows,
  so that HWND, etc., are defined properly.


type: ci
user: ericm
comment:
  * generic/tk.h: Added declaration of Tk_ObjCustomOption structure,
  used for TK_OPTION_CUSTOM, and typedef's of the functions
  Tk_CustomOptionSetProc, Tk_CustomOptionGetProc,
  Tk_CustomOptionRestoreProc, and Tk_CustomOptionFreeProc, used for
  TK_OPTION_CUSTOM.

  * doc/SetOptions.3: Added documentation of TK_OPTION_CUSTOM, and
  section "CUSTOM OPTION TYPES" explaining how to create and use
  custom options.

  * tests/config.test: Added tests for custom option type.

  * generic/tkTest.c: Added test support for TK_OPTION_CUSTOM to
  TestobjconfigObjCmd.  Added CustomOption* functions to implement a
  test custom option.

  * generic/tkConfig.c: Added new option type TK_OPTION_CUSTOM,
  which allows the definition of custom option types by creating
  parsing, printing, freeing, and restoring procedures for a custom
  option.  This is needed by the text and canvas widgets if they are
  to be fully objectified.


type: ci
user: ericm
comment:
  * generic/tkPlatDecls.h: Added #include <windows.h> for Windows,
  so that HWND, etc., are defined properly.


type: ci
user: hobbs
comment:
  	* win/Makefile.in: commented use of TESTFLAGS
  	* unix/Makefile.in: added TESTFLAGS to test and testlang targets to
  	conform with Windows makefile and TEA style.


type: ci
user: ericm
comment:
  * doc/SetOptions.3: Added note that restoreProc and freeProc may
  be NULL.

  * generic/tkConfig.c (Tk_RestoreSavedOptions): For custom options,
  added test that the restoreProc is not NULL, to allow for custom
  options that don't care about supporting Tk_RestoreSavedOptions.


type: ci
user: ericm
comment:
  * generic/tkTest.c: Fixed tests to use updated API.

  * doc/SetOptions.3:
  * generic/tk.h:
  * generic/tkConfig.c: Changed interface for Tk_CustomOptionSetProc
  and Tk_CustomOptionGetProc; these now take a pointer to the start
  of the widget record, and an integer offset to the slot for the
  option value, instead of just a pointer to the slot.  This allows
  more sophisticated options to do interesting things based on other
  data in the widget record.


type: ci
user: ericm
comment:
  * generic/tkCmds.c (Tk_WinfoObjCmd): Added check for
  TK_ANONYMOUS_WINDOW flag in the [winfo children] subcommand; if
  set, the window will not be printed in the list of children.

  * doc/CrtWindow.3: Added entry for Tk_CreateAnonymousWindow.

  * generic/tkWindow.c
  (Tk_CreateAnonymousWindow): New API for creating anonymous
  windows.  These windows are manipulable from C, but not from Tcl,
  because they have no pathname associated with them.  They are used
  initially by widgets that do rubber-band resizing (panedwindow,
  multi-column listbox, etc.), and may be useful for other widgets
  as well (dropbox, combobox).
  (Tk_DestroyWindow): Added check for TK_ANONYMOUS_WINDOW flag when
  determining whether to generate a DestroyNotify event.

  * generic/tkStubInit.c:
  * generic/tkDecls.h: Regen'd from tk.decls.

  * generic/tk.decls: Added Tk_CreateAnonymousWindow declaration.

  * generic/tk.h: Added TK_ANONYMOUS_WINDOW flag for Tk_Window's.


type: ci
user: drh
comment:
  Fix bitmaps so that the same bitmap will not be used
  on two difference screens of the same display.  Without
  this fix you get a BadMatch error from the X-server when
  you try to use a bitmap on two screens at once.


type: ci
user: drh
comment:
  When a dialog box (ex: tk_messageBox) pops up while
  another application is holding the grab, the "grab" command fails and
  the dialog box is inoperative.  "catch" the "grab" to prevent this.


type: ci
user: ericm
comment:
  * generic/tkButton.c (ConfigureButton): Added tests for -compound
  option, so that when there is a textvariable and an image, and
  -compound is not none, the button will display both the
  textvariable and the image.


type: ci
user: ericm
comment:
  * doc/MaintGeom.3: Noted that Tk_MaintainGeometry handles direct
  descendants properly.

  * generic/tkGeometry.c (Tk_MaintainGeometry): Added a check for
  the case in which the slave window is a direct descendant of the
  master window.  In this case, we need not set up the additional
  infrastructure normally provide by Tk_MaintainGeometry, because we
  can rely on the parent/child relationship to handle it for us
  implicitly.  In this case, Tk_MaintainGeometry just calls directly
  to Tk_MoveResizeWindow.  This allows geometry managers to simply
  always use Tk_MaintainGeometry to maintain geometry for slaves,
  and avoid doing the direct descendant check themselves.
  (Tk_UnmaintainGeometry): Added a matching check for the direct
  descendant case; in this case, Tk_UnmaintainGeometry simply
  returns immediately.


type: ci
user: hobbs
comment:
  	* tests/tk.test:
  	* doc/tk.n: updated to reflect default on status of useinputmethods.
  	* library/tk.tcl: tk useinputmethods is set to 1 by default.  This
  	enables Kanji and dead-char input by default.  Intro'd in
  	1999-12-16 with default off to avoid some problems with older X
  	servers that would slow down widget creation over time.


type: ci
user: ericm
comment:
  * win/tkWinDialog.c (GetFileNameW, GetFileNameA,
  Tk_ChooseColorObjCmd, Tk_ChooseDirectoryObjCmd): Added error
  checking for the return value from the common dialog functions, so
  that the commands will not silently fail if the common dialog
  returns an error. [Bug: 6369].


type: ci
user: ericm
comment:
  * generic/tkConfig.c (Tk_InitOptions): Added
  Tcl_IncrRefCount/Tcl_DecrRefCount calls on valuePtr, to prevent
  memory leaks when the value object comes from the option
  database.  [Bug: 6275].


type: ci
user: hobbs
comment:
  	* win/Makefile.in (cat32.${OBJEXT}): add win/ subdirectory to
  	cat32 target to correctly find the source file.


type: ci
user: ericm
comment:
  * library/tkfbox.tcl (OkCmd): Applied patch from [Bug: 6365],
  which adds safety for directory names containing spaces or which
  are non-lists.


type: ci
user: davidg
comment:
  2000-10-30  David Gravereaux  <davygrvy@ajubasolutions.com>

  	* win/configure.in:
  	* win/Makefile.in:
  	* win/makefile.vc:
  	* win/rc/tk.rc:
  	* win/rc/tk_base.rc (new):
  	* win/rc/wish.rc: Added logic to derive filenames better in the resource
  	scripts based on compile options along with better support for building
  	a static wish shell with cursor resources.


type: ci
user: ericm
comment:
  * win/tkWinDraw.c (RenderObject): Applied patch from [Bug: 6368],
  which corrects rendering of 1-pixel wide stippled lines on Windows.

  * generic/tkCanvLine.c (DisplayLine): Applied patch from
  [Bug: 6368], corrects bugs relating to use of active- and
  disabledwidth values for displaying lines (disabledwidth was never
  used, and activewidth/disablewidths would only possibly be used
  when greater than default width, rather than when simply not equal
  to default width).


type: ci
user: hobbs
comment:
  	* win/tkWinButton.c:
  	* win/tkWinDialog.c:
  	* win/tkWinScrlbr.c:
  	* win/tkWinWm.c: fixed up code for Win64 support.  This mostly
  	remains in _WIN64 #ifdef's, until updated compilers are standard.


type: ci
user: ericm
comment:
  * win/tkWinDialog.c: Added branch for 0 return from
  CommDlgExtendedError() switches; this was formerly treated as an
  error, but it actually is not, since it just means the user hit
  cancel or closed the dialog.  (GetFileNameW): Added better smarts
  such that -multiple is not considered a valid option for
  tk_getSaveFile.


type: ci
user: hobbs
comment:
  	* win/tkWinDialog.c (GetFileNameW, GetFileNameA,
  	Tk_ChooseDirectoryObjCmd): created work-around for change in
  	NT5.0/98 that caused no initialdir setting to open the browser up
  	in the user's documents dir.


type: ci
user: ericm
comment:
  * tests/winDialog.test: Corrected expected results for bad option
  tests (5.2, 5.5) to include -multiple option.

  * win/tkWinDialog.c:
  Removed CommDlgExtendedError() checks for color and choosedir
  dialogs, and removed all except the explicit invalid filename
  checks for the file dialogs.


type: ci
user: hobbs
comment:
  	* unix/configure:
  	* win/configure: checked in configure scripts so people doing
  	CVS checkouts aren't required to have autoconf.  Changes to
  	configure.in in the future will require the corresponding
  	configure script to also be re-autoconf'ed and checked in.


type: ci
user: ericm
comment:
  	Overall change:  Implemented TIP 5, which exports
  	TkClassProcs/TkSetClassProcs as Tk_ClassProcs/Tk_SetClassProcs,
  	adding a size field to Tk_ClassProcs to allow for future
  	expansion, and renaming the geometryProc to worldChangedProc,
  	which is more in keeping with the actual use of the callback.

  	See ChangeLog for details.


type: ci
user: hobbs
comment:
  	* generic/tkWindow.c (Initialize): added call to Tcl_SetMainLoop.
  	This only has effect when tclsh is run (not wish), and then Tk is
  	loaded in interactively.


type: ci
user: dkf
comment:
  Fixed bug #120819 by prohibiting images from starting with a period;
  I'm still not quite sure what exactly was going wrong in the bug, but
  I suspect the problem might have actually been due to the deletion of
  all images while in the midst of creating an image.  The restriction
  is pretty light when it comes to existing code, since it previously
  caused a core dump due to an image typePtr field being set to random
  garbage, an indication of over-eager use of free()...


type: ci
user: dkf
comment:
  A better fix for #120819 (all it needed was some Tcl_Preserve()s)
  which also requires no documentation changes - the behaviour is now
  what you would predict from existing docs (as opposed to a crash!)


type: ci
user: andreas_kupries
comment:
  2001-01-02  Andreas Kupries  <a.kupries@westend.com>

  	* win/tkWinWm.c:
  	* doc/wm.n: Applied patch #102833 (TIP #8).


type: ci
user: hobbs
comment:
  	* generic/tkObj.c (SetMMFromAny): Added ability to recognize
  	double type object to speed up canvas coord calculations.
  	[Patch #102471]


type: ci
user: mdejong
comment:
  	* library/entry.tcl (tkEntryMouseSelect):
  	* library/text.tcl (tkTextSelectTo): When
  	the mouse is dragged with the button down,
  	move the insertion cursor to the current
  	mouse position.
  	* tests/event.test: Add a series of tests
  	for event generation. Add tests for selection,
  	check the position of the insertion cursor.


type: ci
user: ericm
comment:
  * doc/photo.n: [Bug 132213] Added clarification on interpretation
  of ranges for "photoName data -from" subcommand.


type: ci
user: hobbs
comment:
  	* library/bgerror.tcl (bgerror): allow focus into details window
  	for Windows C&P to work. [Bug #220929]


type: ci
user: hobbs
comment:
  	* unix/configure:
  	* unix/tcl.m4: corrected IRIX-5.x config to not use -n32.
   	(english) [Patch 403626]


type: ci
user: hobbs
comment:
  	* win/tkWinWm.c (UpdateWrapper): ensured that the passed in winPtr
  	had an existent window to operate on. [Bug #409172]


type: ci
user: hobbs
comment:
  	* win/tkWinDialog.c (GetFileNameA): added support for -multiple to
  	ascii-based tk_getOpenFile (Win9*). (haneef) [Patch #403047]
  	(GetFileNameW): increased number of files that could be returned
  	by tk_getOpenFile -multiple. [Patch #412042]


type: ci
user: hobbs
comment:
  	* doc/canvas.n: Noted ability to specify coords as a list in the
  	docs. (techentin) [Patch #403660]


type: ci
user: hobbs
comment:
  	* library/tkfbox.tcl: fixed selecting directories and single files
  	with spaces using tk_getOpenFile -multiple 1. [Bug #411640]


type: ci
user: hobbs
comment:
  	* library/tk.tcl: put a catch around adding <hpBackTab> to the
  	<<PrevWindow>> virtual event as it doesn't seem to work on all HP
  	systems. [Bug #411669]


type: ci
user: hobbs
comment:
  	* win/makefile.vc:
  	* win/configure:
  	* win/tcl.m4: added imm32.lib to LIBS_GUI for Tk IME support.
  	* win/tkWinInt.h:
  	* win/tkWinKey.c:
  	* win/tkWinX.c: added support for changing IME on the fly in
  	Windows (2000).  (lam) [Patch #402993]


type: ci
user: hobbs
comment:
  	* tests/bind.test (bind-22.18):
  	* generic/tkBind.c (NameToWindow): handled the error case where a
  	valid-looking but invalid identifier could be passed in certain
  	event generate options causing a crash. [Bug #411307]


type: ci
user: hobbs
comment:
  	* tests/canvas.test: added test case to check obj conversion
  	* generic/tkObj.c (UpdateStringOfMM, SetMMFromAny): better
  	obj-aware screen distances.  (pgbaum, hobbs) [Patch #403327]


type: ci
user: hobbs
comment:
  	* generic/tk.h:
  	* unix/configure.in (TK_PATCH_LEVEL):
  	* unix/configure:
  	* unix/tk.spec:
  	* win/configure.in (TK_PATCH_LEVEL):
  	* win/configure: updated patchlevel to 8.4a3


type: ci
user: hobbs
comment:
  	* generic/tkImage.c (Tk_ImageObjCmd, EventuallyDeleteImage):
  	added casts to allow compiling on Windows with debbuging.


type: ci
user: hobbs
comment:
  	* tests/entry.test: added tests entry-20.*, delete during widget
  	activity
  	* generic/tkEntry.c (DestroyEntry, EntryEventProc): fixed the
  	entry widget to survive deletion while processing scrollbar
  	updates and validation.


type: ci
user: hobbs
comment:
  	* tests/safe.test: added note about correcting failures in
  	safe.test.
  	* library/tk.tcl: moved package require msgcat inside if case to
  	not be used in safe interps.


type: ci
user: hobbs
comment:
  	* tests/canvas.test: test of canvas delete during event
  	* generic/tkCanvas.c (DestroyCanvas, CanvasEventProc): fixed the
  	canvas to survive deletion during event processing. [Bug #228024]


type: ci
user: hobbs
comment:
  	* generic/tkImgPhoto.c (ImgPhotoCmd): corrected the src and dest
  	values for $imageName put when -format and -to are used.
  	[Bug #232741]


type: ci
user: hobbs
comment:
  	* win/tkWinMenu.c (TkWinHandleMenuEvent): corrected reseting of
  	service mode to only occur when it was set. [Bug #220948]


type: ci
user: hobbs
comment:
  	* generic/tkMenu.c (TkInvokeMenu): checked for menu deletion
  	before calling associated menu entry command.  [Bug #220821]


type: ci
user: hobbs
comment:
  	* tests/listbox.test: added test listbox-27.1, delete during
  	scrollbar update
  	* generic/tkListbox.c (DestroyListbox, ListboxEventProc):
  	corrected listbox to make proper use of Tcl_EventuallyFree and
  	protect against unusual listbox deletion.


type: ci
user: mdejong
comment:
  	* unix/configure: Regen.
  	* unix/tcl.m4: Update from Tcl.
  	* win/configure: Regen.
  	* win/tcl.m4: Update from Tcl.


type: ci
user: hobbs
comment:
  	* tests/winDialog.test: string totitle'd some results that
  	expected [pwd] to return a capital drive letter.


type: ci
user: hobbs
comment:
  	* tests/cursor.test: changed tests to use 'heart' cursor because
  	'arrow' on windows has a pre-skewed use count.


type: ci
user: mdejong
comment:
  	* unix/configure: Regen.
  	* unix/configure.in: Use $@ in MAKE_LIB and MAKE_STUB_LIB
  	commands instead of using a delayed subst variable. Replace
  	instances of STUB_LIB_FILE with TK_STUB_LIB_FILE.


type: ci
user: mdejong
comment:
  	* unix/Makefile.in: Use TCL_STUB_LIB_FILE instead of STUB_LIB_FILE.
  	* unix/configure: Regen.
  	* unix/configure.in: Don't subst STUB_LIB_FILE, use TCL_STUB_LIB_FILE
  	instead.


type: ci
user: hobbs
comment:
  	* win/tkWinX.c: moved the initialization of tkPlatformId from
  	TkWinXInit to TkWinGetPlatformId because static builds could call
  	it before it was initialized. [Bug #427278]


type: ci
user: hobbs
comment:
  	* doc/TkInitStubs.3:
  	* generic/tk.h:
  	* generic/tkStubLib.c: CONST'ified Tk_InitStubs to match CONST
  	changes to Tcl_PkgRequireEx.


type: ci
user: mdejong
comment:
  	* win/configure: Regen.
  	* win/configure.in: Handle the --prefix option correctly
  	it should default to /usr/local like the unix version.


type: ci
user: pspjuth
comment:
  Upgraded frame to use the newer TK_OPTION
  style when processing configuration options. Some cleanup of
  bad comments and bad code. [part of patch #420861]


type: ci
user: hobbs
comment:
  	* unix/tkUnixFont.c: Corrected support for iso10646 (X11 Unicode)
  	fonts on Unix. This adds a ucs-2be (UCS-2 Big Endian) encoding in
  	Tk on Unix that is used for those fonts (X11 requires
  	big-endianness). (welch) [Patch #406411; Bug #220890 #220899]
  	This differs from the 8.3.3 patch by not adding ucs-2be in the
  	preferred encodingList (seems works fine without).
  	Added alias for jisx0201* fonts to jis0201 encoding. [Bug #414033]


type: ci
user: hobbs
comment:
  	* doc/selection.n:
  	* doc/clipboard.n: added SEE ALSOs to cross-reference selection
  	and clipboard, with extra note for clipboard command in selection
  	docs.  [Patch #422256]


type: ci
user: mdejong
comment:
  	* unix/Makefile.in: Set CFLAGS to @CFLAGS@ and @CFLAGS_DEFAULT@.
  	Set LDFLAGS to @LDFLAGS@ and @LDFLAGS_DEFAULT@. Add LDFLAGS_DEBUG
  	and LDFLAGS_OPTIMIZE to match the way CFLAGS_DEFAULT works. Use
  	new LDFLAGS variable in the Makefile instead of @LDFLAGS@.
  	* unix/configure: Regen.
  	* unix/configure.in: Don't set CFLAGS to CFLAGS_DEFAULT, instead
  	subst CFLAGS_DEFAULT into the Makefile. Add AC_SUBST for CFLAGS_DEBUG,
  	CFLAGS_OPTIMIZE, LDFLAGS_DEFAULT, LDFLAGS_DEBUG, and LDFLAGS_OPTIMIZE.
  	Remove unused LD_FLAGS subst.
  	* unix/tcl.m4: Update from Tcl.
  	* win/Makefile.in: Set CFLAGS to @CFLAGS@ and @CFLAGS_DEFAULT@.
  	Set LDFLAGS to @LDFLAGS@ and @LDFLAGS_DEFAULT@.
  	* win/configure: Regen.
  	* win/configure.in: Don't set CFLAGS or LDFLAGS, instead subst
  	CFLAGS_DEFAULT and LDFLAGS_DEFAULT into the Makefile.
  	* win/tcl.m4: Update from Tcl.


type: ci
user: mdejong
comment:
  	* unix/configure: Regen.
  	* unix/configure.in: Set CFLAGS to "" if the user
  	did not set CFLAGS in the env. This keeps AC_PROG_CC
  	from adding "-g -O2" to the CFLAGS by default.
  	* win/configure: Regen.
  	* win/configure.in: Ditto.


type: ci
user: ericm
comment:
  * doc/colors.n: Corrected bogus documentation with respect to
  several shades of blue, all of which were listed as RGB 0 0 0.
  [Bug #432104].


type: ci
user: mdejong
comment:
  	* unix/Makefile.in:
  	* win/Makefile.in: Add `make shell` target. This target
  	will set the proper env vars before invoking wish
  	from the build directory.


type: ci
user: mdejong
comment:
  	* win/configure: Regen.
  	* win/tcl.m4 (SC_CONFIG_CFLAGS): Link to the
  	imm32 library when building with mingw gcc.
  	* win/tkWinX.c: Include the imm.h header
  	to fix compiling with mingw gcc.


type: ci
user: mdejong
comment:
  	* win/configure: Regen.
  	* win/configure.in: Add resource compiler fix from
  	8.3.3 to fix compiling with mingw.


type: ci
user: mdejong
comment:
  	* win/configure: Regen.
  	* win/configure.in: Use RC_DEFINE flag from tcl.m4.
  	* win/tcl.m4: Update from Tcl.


type: ci
user: hobbs
comment:
  	* library/console.tcl:
  	* library/entry.tcl:
  	* library/spinbox.tcl:
  	* library/text.tcl:
  	* library/tk.tcl: added private ::tk::GetSelection command to
  	handle requesting selection.  This is to support requesting
  	UTF8_STRING before generic STRING on Unix.  Changed Text, Spinbox,
  	Entry and Console to use this command.

  	* tests/select.test:
  	* generic/tkSelect.c (Tk_CreateSelHandler, Tk_DeleteSelHandler):
  	on Unix, a UTF8_STRING handler will be created when the user
  	requests a STRING handler (in addition to the STRING handler).
  	This provides implicit support for the new UTF8_STRING selection
  	target.
  	* unix/tkUnixSelect.c (TkSelEventProc, ConvertSelection): Added
  	support for UTF8_STRING target. [RFE #418653, Patch #433283]

  	* generic/tkInt.h: added utf8Atom to TkDisplay structure.


type: ci
user: mdejong
comment:
  	* win/configure:
  	* win/configure.in: Revert cross compiling change
  	accidently added during last checkin.


type: ci
user: mdejong
comment:
  	* unix/configure: Regen.
  	* unix/configure.in: Fix last checkin by removing
  	export since that only works in bash.
  	* win/configure: Regen.
  	* win/configure.in: Ditto.


type: ci
user: hobbs
comment:
  	* generic/tkCanvArc.c:
  	* generic/tkCanvBmap.c:
  	* generic/tkCanvLine.c:
  	* generic/tkCanvPoly.c:
  	* generic/tkCanvText.c:
  	* generic/tkCanvWind.c:
  	* generic/tkRectOval.c: corrected argument handling in
  	Create<Item> functions that could lead to ABRs or FMRs and
  	corrected names of argc/argv to objc/objv.


type: ci
user: hobbs
comment:
  	* tests/listbox.test: changed 'darkblue' to 'white' in a test
  	because it isn't a portable color name.


type: ci
user: hobbs
comment:
  	* generic/tkEntry.c (DestroyEntry): used Tcl_EventuallyFree
  	instead of ckfree for entryPtr to prevent FMRs. [Bug #413904]


type: ci
user: mdejong
comment:
  	* win/Makefile.in: Don't use VPSEP, instead just use :
  	in the VPATH.
  	* win/configure: Regen.
  	* win/configure.in: Don't subst VPSEP.


type: ci
user: hobbs
comment:
  	* generic/tkWindow.c (Tk_DestroyWindow): changed to use
  	Tcl_EventuallyFree instead of ckfree so that widgets that have
  	references to a tkwin can use them.


type: ci
user: hobbs
comment:
  	* tests/canvas.test:
  	* generic/tkCanvPoly.c (PolygonToArea): Added patch that respects
  	the polygon difference of including points in the polygon even
  	when fill is empty.  [Bug #226357]


type: ci
user: hobbs
comment:
  	* generic/tkEntry.c: corrected missing Tcl_Release that caused
  	font not freed complaints when trying valid cleanup calls.
  	* generic/tkListbox.c: made use of Tcl_Preserve/Tcl_Release to
  	prevent FMR errors in Display functions.


type: ci
user: hobbs
comment:
  	* unix/tkUnixScale.c (TkpDisplayScale): corrected FMR when scale
  	was deleted while calling its command.


type: ci
user: mdejong
comment:
  	* win/Makefile.in: Subst DEPARG directly instead
  	of relying on a variable. This will make Cygwin
  	build faster since an extra exec will be avoided.
  	* win/configure: Regen.
  	* win/configure.in: Subst DEPARG.
  	* win/tcl.m4: Update from Tcl.


type: ci
user: mdejong
comment:
  	* win/Makefile.in: Remove PATHTYPE variable.
  	* win/configure: Regen.
  	* win/configure.in: Don't subst PATHTYPE.
  	* win/tcl.m4: Update from Tcl.


type: ci
user: mdejong
comment:
  	* unix/Makefile.in: Add AR and STLIB_LD variables.
  	* unix/configure:
  	* unix/configure.in: Use STLIB_LD when defining MAKE_LIB
  	and MAKE_STUB_LIB. Subst STLIB_LD, RANLIB, and AR.
  	* unix/tcl.m4: Update from Tcl.
  	* win/configure: Regen.
  	* win/tcl.m4: Update from Tcl.


type: ci
user: dgp
comment:
  	Merged changes from feature branch dgp-privates-into-namespace,
  	implementing TIP 44.  All Tk commands and variables matching
  	tk[A-Z]* are now in the ::tk namespace.


type: ci
user: hobbs
comment:
  	* win/configure: regenerated
  	* win/tcl.m4: fixed DLLSUFFIX definition to always be ${DBGX}.dll.
  	This is necessary for TEA compliant builds that build shared
  	against a static-built Tk.
  	* win/Makefile.in ($(WISH)): added $(TK_STUB_LIB_FILE) to build
  	target, otherwise it wouldn't get generated in a static build.


type: ci
user: drh
comment:
  The new tk_chooseDirectory dialog box implementation was sometimes giving
  an error like this: can't read "data(list)": no such element in array.
  The problem is a race condition. This patch should fix the problem.


type: ci
user: drh
comment:
  The code for generating postscript of a bitmap image was apparently never
  completed.  The beginnings of the code was there but it generated
  diagnostic messages rather than proper postscript.  This change fixes
  the problem.


type: ci
user: dgp
comment:
  	* TIP 44 changes specific to the Mac and
  	Windows platforms that were overlooked before: tkOpenDocument,
  	tkConsoleExit, tkConsoleOutput, unsupported1 out of namespace :: .
  	Thanks to Vince Darley for prompting another look.


type: ci
user: dgp
comment:
  	*Bumped up patchlevel to 8.4a4 to distinguish
          CVS snapshots from the 8.4a3 release.  This does not necessarily
          mean there will be an 8.4a4 release.  [Bug 448938].


type: ci
user: hobbs
comment:
  2001-08-06  Jeff Hobbs  <jeffh@ActiveState.com>

  	8.4a3 RELEASE

  	* changes:
  	* README: updated for 8.4a3 release


type: ci
user: hobbs
comment:
  	* unix/configure: regenerated
  	* unix/tcl.m4: added GNU (HURD) configuration target. (brinkmann)
  	[Patch: #442974]


type: ci
user: hobbs
comment:
  	* unix/Makefile.in (dist): added {unix,win}/tcl.m4 and
  	library/msgs/*.msg to dist target.  [Bug: #448802]


type: ci
user: dkf
comment:
  Converted [glob [file join]] to [glob -directory] (Bug #223313)
  Also cleaned up a few space/tab issues in the ChangeLog which make a
  difference if you're using a highlighting editor like emacs...


type: ci
user: dgp
comment:
  	* Labelled the TIP 44 changes as "POTENTIAL INCOMPATIBILITY".
          Although technically internal changes are not incompatible, they'll
          be perceived as such by those who get bitten, and this will help
          them find the cause of their trouble.


type: ci
user: drh
comment:
  The selection highlighting of text objects in the canvas widget
  was failing to include the last character of the selection.  The
  "selection get" mechanism returned the right answer (so all the tests
  were passing) but the widget did not display correctly.  This
  delta fixes the problem.


type: ci
user: dgp
comment:
  	*  Corrected TIP 44 typo
          that broke binding.  Thanks to "Michal" for the fix.
          [Bug 455468]


type: ci
user: hobbs
comment:
  	* tests/unixFont.test (unixFont-2.[234]): fixed to be more
  	sensitive on systems that have more installed fonts.


type: ci
user: hobbs
comment:
  	* library/dialog.tcl (tk_dialog): changed dialog to show bar on
  	Windows as well and added some y padding between the buttons and
  	the bar. [Patch #442835] (harrismh)


type: ci
user: hobbs
comment:
  	* tests/dialog.test (HitReturn): fixed failing dialog-2.1 test
  	because it wasn't always getting focus properly.


type: ci
user: hobbs
comment:
  	* tests/config.test: added config-14.1 to test namespace import
  	evaluation of widgets.
  	* generic/tkButton.c (ButtonCreate):
  	* generic/tkFrame.c (CreateFrame):
  	* generic/tkMenubutton.c (Tk_MenubuttonObjCmd):
  	* generic/tkPlace.c (Tk_PlaceObjCmd):
  	* generic/tkScale.c (Tk_ScaleObjCmd):
  	* generic/tkMessage.c (Tk_MessageObjCmd):
  	* generic/tkEntry.c (Tk_EntryObjCmd, Tk_SpinboxObjCmd):
  	* generic/tkSquare.c (SquareObjCmd): redid the handling of
  	optionTables in widgets to allow them to be imported into other
  	namespaces. [Bug #456632]


type: ci
user: hobbs
comment:
  	* unix/tkUnixWm.c (TkWmRestackToplevel): reworked how
  	ConfigureNotify requests were handled in relation to the parent to
  	avoid the problem with potential 'raise' delays on some wms.
  	[Bug #220260] (baker) wms that were affected should notice the
  	difference in tests unixWm-51.* not failing that failed before.


type: ci
user: hobbs
comment:
  	* win/tkWinDialog.c (ChooseDirectoryHookProc): work-around for MS
  	bug that caused crashing in tk_chooseDirectory on Win95.
  	[Bug #224936] (baker)


type: ci
user: hobbs
comment:
  	* tests/unixSend.test: removed test file completely identical to
  	send.test.  Removed platform specific named file in case somebody
  	gets send working on Win/Mac in the future.


type: ci
user: andreas_kupries
comment:
  	* generic/tkImgGIF.c:
  	* generic/tkImgPPM.c:
  	* generic/tkImgPhoto.c:
  	* generic/tkMenu.c: Applied patch [461578], provided by Vincent
  	  Darley. This fixes several memory leaks in the image code. They
  	  happen if there are errors during the initialization of the
  	  channel the image is supposed to be read from.


type: ci
user: mdejong
comment:
  	* win/Makefile.in: Fix Windows Makefile so that
  	tcltest will automatically be compiled if the
  	user tries to build tktest.


type: ci
user: mdejong
comment:
  	* win/mkd.bat:
  	* win/rmd.bat:
  	Apply binary property (cvs admin -kb) to files and convert
  	to CRLF linefeed format to fix the VC++ build. [Tcl Bug #219409]


type: ci
user: hobbs
comment:
  	* unix/configure: regen'ed
  	* unix/tcl.m4: added --enable-64bit support for HP-11 with the
  	64-bit kernel.


type: ci
user: drh
comment:
  Fix a problem in the Unix tk_getOpenFile dialog box.  An error dialog box used
  to appear when you would point the file browser box at an empty directory and
  click on the canvas.


type: ci
user: dgp
comment:
  	* Corrected type definition of
          argument passed to Tcl_GetStringFromObj() from size_t to int.
          Incorrect type broke [pack] and [grid] on systems where
          sizeof(size_t) != sizeof(int).  [Bugs 462375, 462342, 462338]


type: ci
user: hobbs
comment:
  	* tests/scrollbar.test (scrollbar-6.27): marked knownBug because
  	it is skewed by bad dimensions returned by Windows.


type: ci
user: hobbs
comment:
  	* unix/tkUnixPort.h:
  	* mac/tkMacPort.h: add (int*) cast to TkpScanWindowId.
  	These may need to be changed to Window* (ulong).


type: ci
user: dgp
comment:
  	* Corrected definition of
          TkpScanWindowId to handle situation where types Window and int
          do not have the same number of bits.  CONST-ified too.


type: ci
user: hobbs
comment:
  	* generic/tkWindow.c (Tk_CreateAnonymousWindow):
  	* generic/tkEntry.c (GetSpinboxElement): fixed unreachable returns.


type: ci
user: dgp
comment:
  	Update to handle change in
          return type of Tcl_DStringAppend() from (char *) to (CONST char *).
          [TIP 27]


type: ci
user: hobbs
comment:
  	* unix/configure:
  	* unix/configure.in:
  	* win/configure:
  	* win/configure.in:
  	* win/tkConfig.sh.in: reworked to be a little cleaner in
  	comparison to each other, and to AC_SUBST even empty vars for
  	win/tkConfig.sh


type: ci
user: hobbs
comment:
  	* generic/tkWindow.c (OpenIM): Added simple XIM patch to enable
  	basic XIM input on Unix. [Patch #412727] (fabian)


type: ci
user: hobbs
comment:
  	* library/console.tcl: removed transpose ability until the console
  	can get a proper rewrite of tag handling.


type: ci
user: mdejong
comment:
  	* unix/Makefile.in:
  	Avoid adding libc to the LIBS and WISH_LIBS
  	variables since it is not needed when linking with CC.
  	If required when linking with LD it should be done
  	on a case by case basis in tcl.m4.


type: ci
user: mdejong
comment:
  	* unix/Makefile.in:
  	* win/Makefile.in: Add "make gdb" target. This target
  	can run wish inside either gdb or insight.


type: ci
user: hobbs
comment:
  	* win/tkWinX.c (TkWinXInit): added InitCommonControlsEx call.
  	* win/rc/tk.rc:
  	* win/rc/wish.rc:
  	* win/rc/wish.exe.manifest: added resources that specify using v6
  	of the MS Common Controls library when available (WinXP+).  This
  	enables use of the themeable widgets (like scrollbars) to be used
  	in Tk. [Patch #478933]


type: ci
user: davygrvy
comment:
  	* win/mkd.bat:
  	* win/rmd.bat:  Removed -kb CVS attribute and added changes
  	from Llyod Lim for better stability.  [Patch #456761]

  	* win/rules.vc(new):
  	* win/buildall.vc.bat(new):
  	* win/makefile.vc:  large rewrite following Tcl's makefile.vc as
  	a guide and Patch #456761.  Appears BugFree(tm).


type: ci
user: hobbs
comment:
  	* library/menu.tcl: corrected menu traversal code on Unix to
  	better handle entering cascades.  [Patch #481219]


type: ci
user: das
comment:
  	**  upport to 8.4 of mac code changes for 8.3.3 & various new
  	**  changes for 8.4, some already backported to 8.3.4 (patch #435660)

  	see ChangeLog for details


type: ci
user: hobbs
comment:
  	* win/tkWinButton.c (TkpComputeButtonGeometry): corrected the
  	default size of Windows buttons to conform to the Windows style.
  	This changes the default size of buttons on Windows.
  	[Patch #463234] (nelson)
  		**** POTENTIAL VISUAL INCOMPATABILITY ****


type: ci
user: mdejong
comment:
  	* unix/Makefile.in: Add comments to better describe
  	TCL_EXE and when it should be available. Add
  	rule that prints message about running `make genstubs`
  	when tkStubInit.c is out of date.
  	* win/Makefile.in: Add TCL_TOOL_DIR and TCL_EXE
  	variables to better match the Tcl Makefile. Add
  	genstubs rule so tkSTubInit.c can be regenerated.


type: ci
user: hobbs
comment:
  	(DestroyText): plugged mem leak when not clearing stack (callewaert)
  	(TextGetText): more efficient string size calculation (darley)


type: ci
user: hobbs
comment:
  	* generic/tkText.c (TextGetText): reworked to use DString for
  	improved speed. (callewaert, darley)


type: ci
user: mdejong
comment:
  	* win/configure: Regen.
  	* win/configure.in: Don't AC_SUBST CFLAGS_DEBUG, CFLAGS_OPTIMIZE,
  	or CFLAGS_WARNING since it is now done in SC_CONFIG_CFLAGS.
  	* win/tcl.m4 (SC_CONFIG_CFLAGS): AC_SUBST DL_LIBS, CFLAGS_DEBUG,
  	CFLAGS_OPTIMIZE, and CFLAGS_WARNING.


type: ci
user: mdejong
comment:
  	Add TK patch 481148 to implement TIP 74, the
  	wm stackorder command.

  	* doc/winfo.n: Update documentation for the winfo
  	children command to indicate that top-level windows
  	are not returned in stacking order.
  	* doc/wm.n: Add documentation for wm stackorder.
  	* generic/tkInt.decls (TkWmStackorderToplevel):
  	Add decl for new function.
  	* generic/tkIntDecls.h: Regen.
  	* generic/tkStubInit.c: Regen.
  	* tests/unixWm.test: Add stackorder command to test
  	for wm command usage message.
  	* tests/wm.test: Add new set of tests for generic
  	window manager methods.
  	* unix/tkUnixWm.c (Tk_WmCmd,
  	TkWmStackorderToplevelWrapperMap,
  	TkWmStackorderToplevel): Add unix implementation of
  	new wm stackorder command.
  	* win/tkWinWm.c (Tk_WmCmd,
  	TkWmStackorderToplevelEnumProc,
  	TkWmStackorderToplevelWrapperMap,
  	TkWmStackorderToplevel): Add windows implementation
  	of new wm stackorder command.


type: ci
user: drh
comment:
  When a menu is torn off, a new "clone" menu is created which is an exact
  copy of the original.  The copy even includes the tearoff bar, though the
  tearoff bar is not displayed.  But even though it wasn't displayed, the
  tearoff bar on the tearoff menu could be visited using keyboard traversal.
  This change makes it so that the (invisible) tearoff bar of tearoff menus
  is no longer visited on keyboard traversal.


type: ci
user: drh
comment:
  Change the behavior of menus on windows to be more consistent with native
  windows menus.  Disabled menu entries show their active background color
  on mouseover and keyboard traversal.


type: ci
user: hobbs
comment:
  	* generic/tkText.c:
  	* generic/tkText.h: changed TkTextEditType enums to be prefaced
  	with TK_EDIT_ to prevent name collision.


type: ci
user: mdejong
comment:
  	* unix/configure: Regen.
  	* unix/configure.in: Move EXP file changes over from
  	Tcl configure script to fix AIX build with gcc. [Bug 220955]


type: ci
user: dkf
comment:
  Added code to guess the correct default extension from whatever value
  was selected in the filetypes option menu.  Adapted from code by Chris
  Nelson submitted in Patch #492220.


type: ci
user: hobbs
comment:
  	* library/entry.tcl:
  	* library/spinbox.tcl:
  	* library/text.tcl: added extra checks against bug #220269 and
  	made spinbox reuse more of the entry procedure code.


type: ci
user: hobbs
comment:
  	* generic/tkButton.c (ButtonTextVarProc): guard against being
  	called while the *button/label is being deleted. [Bug #490051]


type: ci
user: hobbs
comment:
  	* win/tkWinInt.h:
  	* win/tkWinX.c: added TkWinProcs that represent a function table
  	to switch between unicode and ansi procs on Windows.  This is
  	analogous to the TclWinProcs.  Using Tcl_WinUtfToTChar, we can
  	easily take advantage of using unicode functions where available
  	without having to switch on the platform id each time.


type: ci
user: das
comment:
  	* mac/mac/tkMacInit.c:
  	* mac/mac/tkMacResource.r: synced up tkInit features to unix/win:
  	use existing tkInit proc if defined. Added spinbox.tcl resource.
  	Used TclGetEnv() instead of Tcl_GetVar2(interp, env)
  	* mac/tkMacApplication.r:
  	* mac/tkMacLibrary.r: minor version resources cleanup


type: ci
user: dgp
comment:
  	* generic/tkBind.c (TkBindFree):
          * generic/tkGrid.c (ResolveConstraints,CheckSlotData,DestroyGrid):
          * generic/tkSelect.c (Tk_DeleteSelHandler,TkSelDeadWindow): Replaced
          Tcl_Free calls with ckfree so that memory debugging is fully supported.


type: ci
user: hobbs
comment:
  	* win/configure: regen'ed
  	* win/tcl.m4: added shell32.lib to link libs, as these are
  	necessary for new directory chooser (when enabled).


type: ci
user: hobbs
comment:
  	* library/text.tcl (tk::TextButton1): made text receive focus even
  	in disabled state for Windows to show selection and allow
  	mouse-wheel scrolling.


type: ci
user: hobbs
comment:
  	* win/tkWinInit.c (TkpDisplayWarning): Use MessageBoxW in case the
  	error displayed has unicode chars. [Bug #485986]


type: ci
user: mdejong
comment:
  	Use ${libdir} instead of ${exec_prefix}/lib. [Tcl bug 489370]

  	* unix/configure: Regen.
  	* unix/configure.in: Define and use libdir.
  	* win/configure: Regen.
  	* win/configure.in: Define libdir.


type: ci
user: hobbs
comment:
  	* win/tkWinDialog.c (Tk_MessageBoxObjCmd): use MessageBoxW for
  	proper display of unicode errors.
  	Added patch which uses new OLE based directory chooser.  This
  	still has some issues, so is disabled by default. [Patch #468139]
  	(ColorDlgHookProc) Corrected ability to use unicode chars in
  	tk_chooseColor -title.


type: ci
user: hobbs
comment:
  	* test/winButton.test:
  	* win/tkWinButton.c: added updated patch #463234 which returns the
  	default sizing behavior (not so native), but enables native L&F
  	with negative sizing (-11 for example).


type: ci
user: hobbs
comment:
  	* win/tkWinWm.c (InitWindowClass): corrected init routines to
  	allow unicode in window titles on Windows (for Win2K/XP).
  	(TkWmStackorderToplevel): Corrected casts to enable debug compile


type: ci
user: drh
comment:
  Fix the following bug: If you select an entry on a cascade menu (on Win32)
  then the next time the parent menu is posted, the cascade entry appears active.
  Also, if you traverse to a disabled menu entry using keystrokes and press
  ENTER on the disabled entry, then that entry appears active the next time
  the menu is posted.  The same patch fixes both problems.


type: ci
user: mdejong
comment:
  	Enable use of Tcl stubs when building Tk as
  	a shared library. This should fix the build
  	under AIX. [Bugs 220858, 220955, 220921]

  	* unix/Makefile.in: Add TCL_STUB_LIB_SPEC and
  	TCL_STUB_LIB_FLAG variables.
  	* unix/configure: Regen.
  	* unix/configure.in: Pass TCL_STUB_LIB_SPEC into
  	Makefile and use it when linking the tk shared library.
  	Define USE_TCL_STUBS when building shared. Subst
  	TCL_STUB_LIB_SPEC and TCL_STUB_LIB_FLAG.


type: ci
user: mdejong
comment:
  	* unix/Makefile.in: Burn Tcl and Tk build
  	directories into tktest executable to avoid crashes
  	caused by ld loading a previously installed version
  	of the tcl or tk shared libraries. Remove setting
  	of LD_LIBRARY_PATH, LIBPATH, and SHLIB_PATH
  	before running tktest since it should no
  	longer be required.


type: ci
user: dgp
comment:
  	* Updated callers of Tcl_Utf* and Tcl_Regexp* APIs to reflect TIP 27
  	API changes (see Tcl Patch 471509). [Patch 471513]


type: ci
user: dgp
comment:
  	* Updated Tk's console to CONSTified channel driver interface.
  	[Tcl Patch 503565, Tk Patch 503983]


type: ci
user: dgp
comment:
  	* Updated Tk's console to CONSTified channel driver interface.
  	  [Tcl Patch 503565, Tk Patch 503983]


type: ci
user: dgp
comment:
  	* Updates to handle change in type of tablePtr
          argument of Tcl_GetIndexFromObj(Struct) from (char **) to
          (CONST char **).  [TIP 27] [Patch 504705]


type: ci
user: dgp
comment:
  	* Updated callers of Tcl_SplitList and Tcl_Merge.
  	* Updated callers of Tcl_GetStringResult.
  	  Rewrote PrintScrollFractions to ScrollFractions to stop scribbling
  	  directly on interp->result.
  	* Updated callers of Tcl_GetVar, Tcl_GetVar2
  	* Updated callers of Tcl_SplitPath, Tcl_JoinPath, and
  	  Tcl_TranslateFileName.


type: ci
user: hobbs
comment:
  	* generic/tkListbox.c (ChangeListboxOffset): improved tracking
  	when scrolling on x axis with entry/text.  [Bug #225025] (voskuil)


type: ci
user: das
comment:
  	* mac/tkMacDialog.c:
  	* mac/tkMacSend.c: TIP 27 CONSTification broke the mac
  	build in a few places.


type: ci
user: mdejong
comment:
  	* unix/Makefile.in: Remove commented out vars.
  	* unix/configure: Regen.
  	* unix/configure.in: Don't subst vars that are already
  	taken care of in SC_LOAD_TCLCONFIG.
  	* unix/tcl.m4: Update from Tcl.
  	* win/configure: Regen.
  	* win/tcl.m4: Update from Tcl.


type: ci
user: mdejong
comment:
  	* tests/wm.test: Rewrite stackorder tests that
  	deal with toplevels that have the overrideredirect
  	flag set. [Tk bug 492259]


type: ci
user: dgp
comment:
  	* The POTENTIAL INCOMPATIBILITY in the changing
          interface of Tk_ParseArgv can now be removed by the -DUSE_NON_CONST
          compiler flag.


type: ci
user: das
comment:
  	* generic/tkFileFilter.c:
  	* mac/tkMacInit.c:
  	* mac/tkMacKeyboard.c:
  	* mac/tkMacMenus.c: TIP 27 CONSTification induced changes


type: ci
user: dkf
comment:
  Final part of TIP#14 support (photo image transparency access); the C API
  stuff has been in there for ages for some reason...


type: ci
user: andreas_kupries
comment:
  	* win/tkWinInit.c (TkpGetAppName): TIP 27 fixup. The code now does
  	  not write into the CONST path returned by "argv0" and
  	  Tcl_SplitPath anymore.


type: ci
user: mdejong
comment:
  	* unix/configure.in: Don't set TCL_LIB_SPEC and
  	TCL_STUB_LIB_SPEC variables since this breaks
  	the AIX build. This was used in the past to
  	support linking with Tcl from the build dir
  	or the install dir, but it is no longer needed.


type: ci
user: dgp
comment:
  	* modified some callers of Tcl routines that
          were restored to return (char *) pointing into Tcl_DStrings.


type: ci
user: hobbs
comment:
  	* unix/configure: regen'd
  	* unix/tcl.m4:
  	* unix/configure.in: added macros and calls to SC_TCL_EARLY_FLAGS
  	and SC_TCL_64BIT_FLAGS, part of TIP #72.


type: ci
user: hobbs
comment:
  	* generic/tkCmds.c (Tk_TkObjCmd): don't use 'bool' as an arg as it
  	conflicts with the C99 spec. [Bug #511956] (ingham)


type: ci
user: mdejong
comment:
  	* tests/event.test (_text_ind_to_x_y, _get_selection): Fix
  	incorrect use of results from bbox invocation so that
  	y center point for a give index is calculated correctly.
  	Add new method to return the selection and use it in
  	test cases. Always lappend to the result list to avoid
  	case where initial result includes a space.


type: ci
user: mdejong
comment:
          * library/entry.tcl:
          * library/text.tcl: Adjust <Double-1> and <Triple-1> bindings
          so that no anchor point is set and the insertion cursor is
          set to the last character in the selection. [Bug 220943]
          * tests/event.test: Add test cases for double click and
          drag as well as triple click and drag in the text and
          entry widgets.


type: ci
user: mdejong
comment:
  	* library/entry.tcl:
  	* library/text.tcl: Adjust <Double-1> and <Triple-1> bindings
  	so that no anchor point is set and the insertion cursor is
  	set to the last character in the selection. [Bug 220943]
  	* tests/event.test: Add test cases for double click and
  	drag as well as triple click and drag in the text and
  	entry widgets.


type: ci
user: hobbs
comment:
  	* generic/tkOption.c (ReadOptionFile): fixed Tcl_Seek casting to
  	remove warnings (we expect no option files with be > 2GB).


type: ci
user: hobbs
comment:
  	* library/panedwindow.tcl (ReleaseSash): changed to not pass x and
  	y args at all (they aren't used).


type: ci
user: hobbs
comment:
  	* library/scale.tcl: mirror B2 bindings to B3 on Windows to better
  	accomodate two button mice. [Patch #493145]


type: ci
user: hobbs
comment:
  	* generic/tkPanedWindow.c (PanedWindowWidgetObjCmd): fixed returns
  	that should have been breaks instead.  Corrected .pw configure
  	handling for insufficient args.  [Patch #521436] (boudaillier)


type: ci
user: hobbs
comment:
  	Added proc comments.  Made configuring sash cursor more efficient.
  	Added Cursor timer that restores the default cursor when pointer
  	is no longer over the sash.  This is necessary because Leave
  	events won't be seen when moving into a paned child.


type: ci
user: dkf
comment:
  Improvements to filebox tests (including two fixes due to changed behaviour dating from 2001-12-14)


type: ci
user: hobbs
comment:
  	* generic/tkText.c (ConfigureText): reenable the blinking cursor
  	on state change where necessary. [Bug #503772]


type: ci
user: hobbs
comment:
  	* tests/listbox.test:
  	* generic/tkListbox.c: corrected error handling when setting to an
  	invalid listvar value. [Bug #503613]


type: ci
user: dgp
comment:
  Updated changes file to reflect no 8.3.5 release before 8.4a4.
  Still need to add the changes of the last few days.


type: ci
user: hobbs
comment:
  	* generic/tkWindow.c (Tk_MainWindow, Tk_GetNumMainWindows):
  	protect against being called before Tcl stubs are init'ed.
  	[Bug #220916] (porter)


type: ci
user: dgp
comment:
          * library/console.tcl (ConsoleBind): Corrected console <<Paste>>
          binding on Unix platforms.


type: ci
user: davygrvy
comment:
  Added win/rules.vc and included the use of eolFix to make sure they
  have the correct <EOL> for the dist target.  eolFix is in tcl's tools/ dir,
  and $(TOOL_DIR) correctly refers there.


type: ci
user: dgp
comment:
  	* Updates to handle change in type of part2 argument of
  	Tcl_VarTraceProc typedef. [TIP 27] [Patch 532644].


type: ci
user: mdejong
comment:
  	* win/tkWinX.c: Define _WIN32_IE as 0x0300
  	before including commctrl.h so that we can
  	access the InitCommonControlsEx API when
  	building Tk with mingw.


type: ci
user: davygrvy
comment:
  	* win/.cvsignore (new):
  	* win/lamp.bmp (new):
  	* win/makefile.vc:
  	* win/nmakehlp.c (new):
  	* win/rules.vc:  Brought the makefile up-to-date with Tcl's one.
  	This now has support for Win9x issues and the winhelp target now
  	exists.  Color scheme can be changed.  I'm just imparting a first
  	suggestion using orange :)  I'll have to think about the install
  	portion of the helpfile as I'll need to do some tricks to insert
  	tk's contents file into Tcl's using some special winhlp32.exe
  	switches.  [Bug 533862 527941]


type: ci
user: hobbs
comment:
  	* generic/tkStubInit.c:
  	* generic/tkDecls.h:
  	* generic/tk.decls: added Tk_SetCaretPos declaration.  This command
  	allows users to indicate the cursor position and is used by XIM
  	(Unix) or IME (Windows) to place the caret box correctly.  It is
  	also part of correct Accessibility style on Windows to make the
  	magnifier jump to the focus point.


type: ci
user: andreas_kupries
comment:
  	* unix/tkUnixFont.c: Added inclusion of <arpa/inet.h>. This fixes
  	  a GCC/HPUX problem with missing a "htons". See also
  	  "tclUnixPort.h" for equivalent code.


type: ci
user: hobbs
comment:
  	* unix/tkUnixEvent.c:
  	* generic/tkWindow.c: moved OpenIM over to tkUnixEvent.c.
  	Removed setting inputContext to null in Tk_MakeWindowExist as it
  	was redundant.


type: ci
user: davygrvy
comment:
  	* win/makefile.vc:  Tk helpfile is now installing itself into Tcl's
  	contents file as part of the install target and rebuilding the
  	contents table as desired.  [Bug 527941]


type: ci
user: hobbs
comment:
  	* win/tkWinButton.c (TkpDisplayButton):
  	* generic/tkTextMark.c (TkTextInsertDisplayProc):
  	* generic/tkCanvText.c (DisplayCanvText):
  	* generic/tkEntry.c (DisplayEntry): added Tk_SetCaretPos calls.


type: ci
user: hobbs
comment:
  	* generic/tkInt.h: added TK_XIM_SPOT #define (default 1).
  	Added XFontSet attribute to TkDisplay when TK_XIM_SPOT is true.
  	* generic/tkEvent.c (Tk_HandleEvent): made sure inputContexts are
  	not getting created on DestroyNotify events (for dead windows).
  	Added over-the-spot support if TK_XIM_SPOT is defined (default).
  	The is the nicer XIM behavior, but uses a bit more memory.


type: ci
user: hobbs
comment:
  	* win/tkWinX.c: added Tk_SetCaretPos code to position IME windows
  	correctly when WM_IME_STARTCOMPOSITION is received.


type: ci
user: mdejong
comment:
  	* doc/wm.n:
  	* mac/tkMacWm.c:
  	* tests/wm.test:
  	* unix/tkUnixWm.c:
  	* win/tkWinWm.c: Update wm stackorder usage message
  	to make it clear that either 1 or 3 arguments are
  	required. [Bug 540013]


type: ci
user: hobbs
comment:
  	* win/Makefile.in: changed gdb and shell targets to properly build
  	all binaries before running (otherwise an error often occured).


type: ci
user: das
comment:
  2002-04-08  Daniel Steffen  <das@users.sourceforge.net>

  	* mac/tkMacProjects.sea.hqx: added tkPanedWindow.c to projects
  	* mac/tkMacAppInit.c: fixes to MSL stdin/stdout hookup to the
  	TkConsole when using shared MSL libraries; fix for crashing
  	bug on exit: writing to stdin/sterr when console has already
  	been destroyed. (both fixes need support in MSL, see
  	'CW Pro6 changes' in tcl/mac/tcltkMacBuildSupport.sea.hqx)
  	* mac/tkMacDialog.c: fixes to Navigation Services Dialog filter.
  	* mac/tkMacDraw.c: add panic for overwide TkImages that would
  	crash Tk on mac otherwise.


type: ci
user: hobbs
comment:
  	* win/configure:
  	* win/tcl.m4: Enabled COFF as well as CV style debug info with
  	--enable-symbols to allow Dr. Watson users to see function info.
  	More info on debugging levels can be obtained at:
  	http://msdn.microsoft.com/library/en-us/dnvc60/html/gendepdebug.asp


type: ci
user: hobbs
comment:
  	* generic/tkPanedWindow.c (DestroyPanedWindow, ConfigureSlaves):
  	fix mem leaks in not freeing slave info


type: ci
user: hobbs
comment:
  	* generic/tkImgPhoto.c: Added PhotoFormatThreadExitProc to clean
  	up on thread exit. (Tk_PhotoPutBlock) slight code updates


type: ci
user: hobbs
comment:
  	* win/tkWinX.c (Tk_SetCaretPos): remove WM_IME_STARTCOMPOSITION
  	and place the IME position within Tk_SetCaretPos.  Cache results in
  	Tk_SetCaretPos to reduce unnecessary repositioning.  Also call
  	DestroyCaret if we receive WM_KILLFOCUS.
  	(TkpOpenDisplay): ZeroMemory the initial display structures.
  	(TkWinGetUnicodeEncoding): Added so that Windows only needs to
  	cache this value one, and then free it in TkWinXCleanup.
  	(HandleIMEComposition): add support for Win98 and ATOK13
  	IME. (yamamoto)


type: ci
user: hobbs
comment:
  	* win/tkWinInt.h: declaration for TkWinGetUnicodeEncoding
  	* win/tkWinDialog.c (GetFileNameW): use TkWinGetUnicodeEncoding
  	* win/tkWinInit.c (TkpDisplayWarning): use TkWinGetUnicodeEncoding
  	* win/tkWinFont.c: use TkWinGetUnicodeEncoding instead of static
  	unicodeEncoding.


type: ci
user: hobbs
comment:
  	* generic/tkInt.h:
  	* unix/tkUnixXId.c (TkFreeXId): frees XID resources.
  	Made idCleanupScheduled a Tcl_TimerToken (was int) in TkDisplay
  	structure to allow us to delete the timer scheduled for it.


type: ci
user: hobbs
comment:
  	* generic/tkOption.c (OptionThreadExitProc): freed tsd option
  	stacks on thread exit.
  	(Tk_GetOption): free mem used to get Tk_Uid


type: ci
user: hobbs
comment:
  	* unix/tkUnixWm.c (TkWmStackorderToplevel): ensure children
  	structure is freed.
  	(ConfigureEvent, ComputeReparentGeometry): Add extra wm tracing info
  	(TkWmRestackToplevel): initialize changes to 0 to prevent UMR.
  	Use WaitForConfigureNotify on all windows.  This part still
  	requires fixing as it is the root of the 2 second raise delay on
  	some window managers (those that use extra wrapper windows of
  	their own).


type: ci
user: dkf
comment:
  Fix for Bug 223739 to get rid of floating point equality test.

  Sorry for delaying this fix for months; I hadn't noticed that it had been reviewed!


type: ci
user: hobbs
comment:
  	* generic/tkStubInit.c:
  	* generic/tkIntPlatDecls.h:
  	* generic/tkIntDecls.h:
  	* generic/tkInt.decls: added TkFocusFree, TkClipCleanup and
  	TkGCCleanup generic private procs, and TkWmCleanup, TkSendCleanup
  	and TkFreeXId unix private procs.


type: ci
user: hobbs
comment:
  	* library/button.tcl (ButtonLeave): corrected the 3
  	implementations of ButtonLeave to check for Priv(relief) existing
  	before trying to use it. [Patch #541849]


type: ci
user: hobbs
comment:
  	* generic/tkWindow.c (TkCloseDisplay): Added to centralize where a
  	display was closed.  This handles freeing memory associated with a
  	display and closing it.
  	(DeleteWindowsExitProc): actually close displays.  This would also
  	ideally be done in Tk_DestroyWindow when the last window on the
  	display has been closed, but that still has unresolved order of
  	cleanup problems.
  	(Tk_DestroyWindow): added TkFocusFree call.


type: ci
user: bagnonm
comment:
  new feature request, 539309  make dependence on msgcat "soft"
  msgcat procedures as used in tk defined in case the package
  is not available.


type: ci
user: hobbs
comment:
  	* generic/tkTextDisp.c (DisplayLineBackground):
  	* unix/tkUnix3d.c (Tk_3DHorizontalBevel):
  	* unix/tkUnixFont.c (Tk_DrawChars): applied fixes to not overrun
  	the X window 16-bit size limit. [Patch #541999] (bonfield)


type: ci
user: das
comment:
  	* mac/tkMacTclCode.r:
  	* mac/tkMacResource.r: added check of
  	TCLTK_NO_LIBRARY_TEXT_RESOURCES #define to allow disabling the
  	inclusion of the tk library code in the resource fork of Tk
  	executables and shared libraries.
  	Moved tk library code inclusion to separate file like in tcl.
  	Added 'panedwindow' resource.


type: ci
user: das
comment:
  	* mac/tkMacInit.c:
  	* library/console.tcl:
  	* library/tk.tcl: fix tk.tcl not sourcing library files
  	that define bindings at startup on mac. (independent of
  	tk library files being in resources or on auto_path)


type: ci
user: hobbs
comment:
  	* unix/configure:
  	* unix/tcl.m4: change HP-11 SHLIB_LD_LIBS from "" to ${LIBS} so
  	that the .sl knows its dependent libs.


type: ci
user: mdejong
comment:
  	* unix/configure: Regen.
  	* unix/configure.in: Invoke SC_ENABLE_SHARED before
  	calling SC_CONFIG_CFLAGS so that the SHARED_BUILD
  	variable can be checked inside SC_CONFIG_CFLAGS.
  	* unix/tcl.m4: Update from Tcl.


type: ci
user: davygrvy
comment:
  Problem with TCLDIR macro not accepting forward slash path seperators
  resolved.  Added the same logic to INSTALLDIR, too. [Bug #553208]


type: ci
user: dgp
comment:
  	* Cleaned up namespace usage of the bgerror
          dialog.  Completes soft dependence on msgcat.  [FR 539309]


type: ci
user: mdejong
comment:
  	* mac/tkMacWm.c (Tk_WmCmd):
  	* tests/unixWm.test: Move wm transient checks over
  	to wm.test so they will be run on all systems.
  	* tests/wm.test: Add tests to check for error when
  	an iconwindow is passed to the wm transient command.
  	* unix/tkUnixWm.c (Tk_WmCmd):
  	* win/tkWinWm.c (Tk_WmCmd): Raise an error if one
  	of the windows passed to the wm transient command
  	is an iconwindow for another toplevel.


type: ci
user: dgp
comment:
  	* A little namespace cleanup on Daniel Steffen's
          latest revisions to avoid defining new global commands.


type: ci
user: das
comment:
  	* mac/tkMacInit.c:
  	* mac/tkMacTclCode.r: include msgcat package in resources
  	as bgerror depends on it. Restores ability of mac static
  	build to run standalone (except for encoding file issues).


type: ci
user: mdejong
comment:
  	* tests/embed.test: Added cross platform embed tests.
  	Check that window passed to -use has the -container
  	option set.
  	* tests/wm.test: Remove useless catch call. Deiconify
  	. just in case, stackorder tests will not pass unless
  	it is in the normal state. Add -container flag to
  	embedded stackorder test.
  	* unix/tkUnixEmbed.c (TkpUseWindow):
  	* win/tkWinEmbed.c (TkpUseWindow): Lookup Tk window
  	based on the id passed in as the value for -use.
  	Generate an error if the Tk window did not have
  	the -container option set.


type: ci
user: mdejong
comment:
  	* mac/tkMacWm.c (TkWmStackorderToplevelWrapperMap):
  	* tests/wm.test: Add embedded Window test case for
  	the stackorder command.
  	* unix/tkUnixWm.c (TkWmStackorderToplevelWrapperMap):
  	* win/tkWinWm.c (TkWmStackorderToplevelWrapperMap):
  	Ignore embedded windows during wm stackorder command.


type: ci
user: mdejong
comment:
  	* generic/tkInt.decls: Add unix decl for TkpWmSetState.
  	* generic/tkIntPlatDecls.h: Regen.
  	* generic/tkStubInit.c: Regen.
  	* tests/wm.test: Test state changes between iconic,
  	normal, and withdrawn both before and after initial
  	mapping.
  	* unix/tkUnixWm.c (Tk_WmCmd, TkpWmSetState): Move
  	state change code into TkpWmSetState to more closely
  	match the Win32 implementation. No functional changes.


type: ci
user: pspjuth
comment:
  When creating a radiobutton with -value "" it was not drawn properly
  if the -variable was created by the radiobutton. [Bug #548765]


type: ci
user: a_kovalenko
comment:
  * unix/tkUnixFont.c (Tk_DrawChars): Don't assume that
  one char is always one byte, and that required
  subfont for the last character in any string is
  the same as for the previous character
  [Bug #559435] [Patch #559437]


type: ci
user: a_kovalenko
comment:
  Added "magic ampersand" approach for translated strings in standard dialogs.
  All translations were modified to work with "magic ampersand".
  Russian translations added.


type: ci
user: mdejong
comment:
  	* unix/tkUnixWm.c (WmInfo, TkWmCleanup, TkWmNewWindow,
  	TkWmMapWindow, TkWmDeadWindow, Tk_WmCmd): Replace
  	WmInfo's master and masterWindowName members with
  	a masterPtr member. This implementation is much
  	simpler and mirrors the Win32 implementation. This
  	change makes it easy to check the flags of the
  	master window. No user visible changes.


type: ci
user: mdejong
comment:
  	* changes: Document [wm transient .t .t] error.
  	* tests/wm.test: Check that setting a window
  	as a transient of itself raises an error. Check
  	that passing a non-toplevel window to the wm
  	transient command uses the enclosing toplevel.
  	* unix/tkUnixWm.c (Tk_WmCmd): Raise an error
  	if the user tries to make a toplevel a
  	transient of itself.
  	* win/tkWinWm.c (Tk_WmCmd): Raise an error
  	if the user tries to make a toplevel a
  	transient of itself. Test for other error
  	before checking for the transient self error.


type: ci
user: mdejong
comment:
  	* changes: Add note about new transient behavior.
  	* tests/unixWm.test: Check that the WM_TRANSIENT_FOR
  	property for a transient window is being cleared
  	when the master is destroyed.
  	* tests/wm.test: Source defs.tcl instead of using
  	tcltest to match the rest of Tk's test files.
  	Add new tests that ensure that a transient's state
  	mirrors the state of the master.
  	* unix/tkUnixWm.c (WmInfo, TkWmNewWindow, TkWmMapWindow,
  	TkWmDeadWindow, Tk_WmCmd, WmWaitMapProc): Add numTransients
  	member to WmInfo structure. Keep state of master and
  	transient in sync using a callback that tracks MapNotify
  	and UnmapNotify events. When the master is mapped, map
  	the transient. When the master is unmapped or iconified,
  	withdraw the transient.
  	* win/tkWinWm.c (TkWmMapWindow, TkpWmSetState,
  	TkWmDeadWindow, Tk_WmCmd, WmWaitVisibilityOrMapProc):
  	Keep state of master and transient in sync using a
  	callback that tracks MapNotify and UnmapNotify events.
  	Move masterPtr check from TkpWmSetState into TkWmMapWindow
  	to deal with WM_NEVER_MAPPED transients. Cleanup
  	numTransients and the callback in TkWmDeadWindow.
  	Cleanup numTransients and the callback only after
  	deleting a master in wm transient command to avoid
  	deleting the callback when an error is raised.
  	Add support for MapNotify and UnmapNotify events
  	to the master callback.


type: ci
user: mdejong
comment:
  	* library/bgerror.tcl (tk::dialog::error::bgerror):
  	Don't set the bgerror dialog as a transient of
  	itself since this operation is ill defined.


type: ci
user: dkf
comment:
  Cursor name parsing was quite broken compared with Unix; cursor names are
  supposed to be first-and-foremost a list...


type: ci
user: mdejong
comment:
  	* library/choosedir.tcl (tk::dialog::file::chooseDir):
  	* library/clrpick.tcl (tk::dialog::color):
  	* library/dialog.tcl (tk_dialog):
  	* library/msgbox.tcl (tk::MessageBox):
  	* library/tkfbox.tcl (tk::dialog::file):
  	* library/xmfbox.tcl (tk::MotifFDialog_Create):
  	Only make the dialog window a transient if
  	the master is visible. This check already
  	appeared in some of the dialogs. This patch
  	just copies the check into those that were
  	lacking.


type: ci
user: davygrvy
comment:
  Fixed a win98 issue where the /exclude option for xcopy is unsupported.
  Reported by Roy Terry <royterry@earthlink.net>.


type: ci
user: mdejong
comment:
  	* library/choosedir.tcl (tk::dialog::file::chooseDir):
  	* library/clrpick.tcl (tk::dialog::file::chooseDir):
  	* library/msgbox.tcl (tk::MessageBox):
  	* library/tkfbox.tcl (tk::dialog::file):
  	* library/xmfbox.tcl (tk::MotifFDialog): Remove the
  	transient property on dialogs after they have been
  	dismissed to insulate them from further state changes
  	in the master. This keeps a withdrawn dialog from
  	being mapped when the master is deiconified. [Tk patch 568278]


type: ci
user: dgp
comment:
          * tests/cursor.test:  corrected error after cursor-2.2.
          * tests/defs.tcl: Added enhancements to Tk's fake version of
          tcltest required by recent cursor.test changes.


type: ci
user: hobbs
comment:
  	* win/tkWinCursor.c (TkGetCursorByName): reverted fix from
  	2002-06-06 because it broke the ability to use built-in cursors
  	like left_ptr.


type: ci
user: mdejong
comment:
  	* changes: Clearly label wm transient changes as
  	a POTENTIAL INCOMPATIBILITY.
  	* doc/wm.n: Remove "some window managers will" text
  	and explicitly state what behavior a transient
  	window will display. Also mention that it is an
  	error to make a window a transient of itself.


type: ci
user: mdejong
comment:
  	* tests/unixWm.test:
  	* tests/wm.test: Move wm minsize and wm maxsize
  	usage tests into the cross platform wm tests.


type: ci
user: jenglish
comment:
  TIP #47 "Modifying Tk to Allow Writing X Window managers"
  (patch from Neil McKay).
  * Add CirculateRequest, Create, MapRequest, ResizeRequest,
    and ConfigureRequest event types;
  * Split TK_TOPLEVEL flag into TK_TOPLEVEL, TK_HAS_WRAPPER,
    TK_WIN_MANAGED, and TK_TOP_HIERARCHY.


type: ci
user: andreas_kupries
comment:
  	* unix/tkAppInit.c: Removed now unneeded and erroneous reference
  	  to 'matherr'. See Tcl ChangeLog entry 2002-05-31 Don Porter.


type: ci
user: davygrvy
comment:
  The test for compiler optimizations was in error.  Thanks goes to Roy Terry
  <royterry@earthlink.net> for his assistence with this.


type: ci
user: hobbs
comment:
  	* generic/tk.decls:     added TIP #84 implementation that adds a
  	* generic/tkDecls.h:    Tk_CollapseMotionEvents API which controls
  	* generic/tkEvent.c:    Tk's collapsing of incoming motion events
  	* generic/tkInt.h:      on its windows.  The default remains to do
  	* generic/tkStubInit.c: collapsing.  Added a flags parameter to the
  	* generic/tkWindow.c:   internal display structure to support this
  	* doc/QWinEvent.3:      and be used in the future for other bits.


type: ci
user: mdejong
comment:
  	* generic/tkBind.c (ExpandPercents): Cast argument to
  	Tk_GetAtomName in order to avoid compiler warning.


type: ci
user: hobbs
comment:
  	* generic/tkInt.h:
  	* generic/tkCmds.c (Tk_WmObjCmd):
  	* unix/tkUnixWm.c (Tk_WmCmd):
  	* win/tkWinWm.c (Tk_WmCmd): changed wmTracing from being an int to
  	just a bit in the flags variable (TK_DISPLAY_WM_TRACING)


type: ci
user: hobbs
comment:
  	* generic/tkBind.c (HandleEventGenerate):
  	* generic/tkInt.h: changed warpInProgress boolean from int to a
  	bit in the flags variable (TK_DISPLAY_IN_WARP)


type: ci
user: hobbs
comment:
  	* generic/tkEvent.c (Tk_HandleEvent):
  	* unix/tkUnixEvent.c (OpenIM):
  	* unix/tkUnixKey.c (TkpGetString):
  	* generic/tkInt.h: added TK_USE_XIM_SPOT flag bit for TkDisplay
  	and used this to allow a runtime check to see if over-the-spot XIM
  	is possible.  If not it will try and fallback to the old-style
  	input context, which handles things like dead keys input.


type: ci
user: drh
comment:
  Initial implementation of TIP #82: added the -offrelief option to
  checkbutton and radiobutton to allow those widgets to have a
  MS-Office look and feel.


type: ci
user: hobbs
comment:
  	* generic/tkCmds.c (Tk_TkObjCmd):
  	* unix/tkUnixKey.c (TkpGetString):
  	* generic/tkEvent.c (Tk_HandleEvent):
  	* generic/tkInt.h: changed useInputMethods boolean from int to a
  	bit in the flags variable (TK_DISPLAY_USE_IM)


type: ci
user: hobbs
comment:
  	* generic/tkCmds.c (Tk_TkObjCmd):
  	* generic/tkInt.h (struct TkCaret):
  	* mac/tkMacXStubs.c (Tk_SetCaretPos):
  	* unix/tkUnixKey.c (TkpGetString, Tk_SetCaretPos):
  	* win/tkWinX.c (Tk_SetCaretPos):
  	* tests/tk.test:        Added 'tk caret' implementation of TIP#96
  	* doc/SetCaret.3 (new): which adds a TkCaret structure element to
  	* doc/tk.n:             TkDisplay for maintaining state.


type: ci
user: mdejong
comment:
  	* generic/tkWindow.c (Tk_DestroyWindow): Set the pathName
  	component of a window to NULL after its memory has been
  	deallocated to avoid a possible illegal memory access
  	as a result of a call to Tk_PathName() on a Tk_Window
  	structure of a window that has already been destroyed.
  	[Tk bug 521946]


type: ci
user: mdejong
comment:
  	* generic/tkOption.c (Tk_GetOption): Allocate
  	memory with ckalloc not malloc. This keeps
  	Tk from erroring out when built with
  	TCL_MEM_DEBUG.


type: ci
user: davygrvy
comment:
  	Trims to support the removal of RESOURCE_INCLUDED from rc
  	scripts from Tcl's accepted FR #565088.

  	* generic/tk.h: Changed RESOURCE_INCLUDED to be RC_INVOKED
  	as the RC tool defines this already by default.

  	* win/rc/tk.rc:
  	* win/rc/wish.rc: removed the #define RESOURCE_INCLUDED lines.


type: ci
user: hobbs
comment:
  	* unix/tkUnixSend.c (TkSendCleanup): special cleanup of
  	inputContext to avoid bug in XCloseIM. (dejong)


type: ci
user: hobbs
comment:
  	* unix/Makefile.in (dist): correct installation of
  	wish.exe.manifest to DISTDIR target directory.


type: ci
user: mdejong
comment:
  	* generic/tkBind.c (TkBindDeadWindow):
  	Handle case where Tk_DestroyWindow is invoked
  	on clipboard and send windows.
  	* generic/tkClipboard.c (TkClipCleanup):
  	Invoke Tk_DestroyWindow to cleanup the
  	dispPtr->clipWindow. Call Tcl_Preserve
  	and Tcl_Release on the window to avoid an
  	invalid memory ref on shutdown.
  	* generic/tkEvent.c (Tk_HandleEvent):
  	Panic if XCreateIC is invoked twice for
  	the same window. This should never happen,
  	the check were just added to make sure it
  	does not since this could lead to crashes
  	in XCloseIM.
  	* generic/tkFocus.c (TkFocusDeadWindow):
  	Handle case where Tk_DestroyWindow is invoked
  	on clipboard and send windows.
  	* generic/tkOption.c (TkOptionDeadWindow): Ditto.
  	* generic/tkWindow.c (TkCloseDisplay): Move
  	deletion of dispPtr->winTable after TkpCloseDisplay
  	call since Tk_DestroyWindow uses it and could
  	be called by TkpCloseDisplay for clipboard/send windows.
  	Also invoke ckfree for the dispPtr instead of
  	doing it in TkpCloseDisplay.
  	(Tk_DestroyWindow): Check for a null winPtr->mainPtr
  	before doing certain cleanup tasks so the we can
  	invoke Tk_DestroyWindow on clipboard and send windows.
  	We need to do this so that XDestroyIC will get invoked
  	for the input contexts of each window.
  	* mac/tkMacXStubs.c (TkpCloseDisplay): Don't free
  	the displayPtr since this is now done in TkCloseDisplay.
  	* unix/tkUnixEvent.c (TkpCloseDisplay, OpenIM): Remove
  	conditional compilation around calls to XCloseIM
  	since I am confident that the crashes related to
  	input contexts has been fixed. Don't free
  	the displayPtr since this is now done in TkCloseDisplay.
  	* unix/tkUnixSend.c (TkSendCleanup): Invoke the
  	Tk_DestroyWindow method to cleanup the special
  	send window. This will call XDestroyIC and thereby
  	avoid a crash in XCloseIM. The send window needs
  	to be Tcl_Preserve and Tcl_Release to avoid an
  	invalid memory ref on shutdown.
  	* win/tkWinX.c (TkpCloseDisplay): Don't free
  	the displayPtr since this is now done in TkCloseDisplay.


type: ci
user: mdejong
comment:
  	* generic/tkImage.c (Tk_ImageObjCmd, DeleteImage): Call
  	Tcl_Preserve and Tcl_Release for the masterPtr->winPtr
  	window to avoid accessing memory that had already
  	been deallocated in DeleteImage.


type: ci
user: hobbs
comment:
  	* doc/listbox.n:
  	* generic/tkListbox.c (DisplayListbox):
  	* mac/tkMacDefault.h:   TIP #94 implementation adding -activestyle
  	* tests/listbox.test:   option to the listbox.  This adds the ability
  	* unix/tkUnixDefault.h: to have listboxes look native on Windows, and
  	* win/tkWinDefault.h:   "nicer" elsewhere using the 'dotbox' style.


type: ci
user: hobbs
comment:
  	* doc/text.n:          TIP #104 implementation which generalizes the
  	* generic/tkText.c:    undo/redo stack to not be tied solely to the
  	* generic/tkText.h:    text widget.  The APIs are still private.
  	* generic/tkUndo.c:    This also adds a stack limiting ability and
  	* generic/tkUndo.h:    a -maxundo option to the text widget (in
  	* library/text.tcl:    addition to the options from TIP #26) should
  	* mac/tkMacDefault.h:  users want to limit the undo/redo stack
  	* tests/text.test:     (should not be necessary in most cases).
  	* unix/Makefile.in:    [Patch #554763] (callewart)
  	* unix/tkUnixDefault.h:
  	* win/Makefile.in:
  	* win/makefile.vc:
  	* win/tkWinDefault.h:


type: ci
user: mdejong
comment:
  	* generic/tkClipboard.c (TkClipCleanup): Add code
  	to set dispPtr->clipWindow to NULL, this was
  	accidently removed by last commit. Fixes
  	a crash while running the tests under win32.


type: ci
user: hobbs
comment:
  	* tests/panedwindow.test:
  	* generic/tkPanedWindow.c: ensure that sash index is lower bounds
  	checked. [Bug #548727]


type: ci
user: dgp
comment:
  	* Removed unnecessary dependence of tktest executable on the tcltest
  	executable on Unix.  If there are similar dependencies on other
  	platforms, they can probably be removed as well.  [Bug 572134].


type: ci
user: mdejong
comment:
  	* tests/wm.test: Add tests to make sure a withdrawn
  	transient does not get remapped by state changes
  	in the master.
  	* unix/tkUnixWm.c (Tk_WmCmd, WmWaitMapProc):
  	* win/tkWinWm.c (Tk_WmCmd, WmWaitVisibilityOrMapProc):
  	Add a WM_TRANSIENT_WITHDRAWN flag that gets set by the
  	withdraw, deiconify, or state wm subcommands. Check
  	this flag before mapping a transient when processing
  	a MapNotify event. [Tk bug 570764]


type: ci
user: hobbs
comment:
  	* win/tkWinEmbed.c (EmbedWindowDeleted): added a check for a null
  	containerPtr.  The core of this bug is likely elsewhere. [Bug #476176]


type: ci
user: hobbs
comment:
  	* doc/wm.n:                   TIP #95 Windows implementation and
  	* mac/tkMacWm.c (Tk_WmCmd):   docs with mac and unix stubs.
  	* unix/tkUnixWm.c (Tk_WmCmd):
  	* win/tkWinWm.c (Tk_WmCmd):
  	* tests/unixWm.test:
  	* tests/winWm.test: more wm attr tests will be needed.


type: ci
user: hobbs
comment:
  	* doc/text.n:                             TIP #93 implementation that
  	* generic/tkText.c (TextWidgetCmd):       enhances the text get and
  	* generic/tkTextIndex.c (TkTextGetIndex): delete methods to accept
  	* tests/text.test:                        multiple range pairs.
  	This handles the delete case in an atomic, fixed-index fashion.


type: ci
user: mdejong
comment:
  	* tests/winWm.test: Verify that both an unmapped
  	and already mapped toplevel are raised and receive
  	the focus when deiconified.
  	* tests/wm.test: Add wm deiconify tests. Check that
  	a toplevel that has never been mapped is not mapped
  	by the deiconify command since it should be done
  	at idle by MapFrame.
  	* win/tkWinWm.c (Tk_WmCmd): Check the WM_NEVER_MAPPED
  	flag while processing the wm deiconify command.
  	The WM_UPDATE_PENDING flag should never be set when
  	WM_NEVER_MAPPED is set, but double check so that
  	the implementation is more explicit and matches
  	the comment just above.
  	Return without invoking TkWmRestackToplevel or
  	TkSetFocusWin on a toplevel that has never been
  	mapped. This fixes a bug where a toplevel is mapped
  	with the wrong size and is then resized by the
  	idle call to MapFrame. [Tk bug 233150]


type: ci
user: hobbs
comment:
  	* generic/tkFont.c (TkFontPkgFree): changed panic on freeing fonts
  	to an assert, and wrapped panic in #ifdef PURIFY. [Bug #568701]


type: ci
user: hobbs
comment:
  	* library/menu.tcl: corrected menus from being posted offscreen
  	on Windows. [Bug #464451] (darley)


type: ci
user: hobbs
comment:
  	* library/console.tcl: corrected the defaultPrompt substitution
  	[Bug #553207] and made Tab a default expansion key (like Escape).


type: ci
user: hobbs
comment:
  	* generic/tkGrid.c (GridReqProc): check that gridPtr is not NULL
  	(may be when embedded). [Bug #548791] (halliday)


type: ci
user: mdejong
comment:
  	* tests/wm.test: Remove invalid minsize test. Add update
  	calls to wm transient tests so that idle handlers get
  	run. This is needed to get the tests to pass under Win32.
  	* unix/tkUnixWm.c (WmWaitMapProc): Move the special
  	transient withdrawn check into the if body to
  	make it easier to set a breakpoint on this test
  	inside a debugger. No functional changes.
  	* win/tkWinWm.c (WmWaitVisibilityOrMapProc): Ditto.


type: ci
user: hobbs
comment:
  	* win/tkWinWm.c (UpdateGeometryInfo): remove the check for a null
  	wrapper introduced in r1.41 on 2002-06-15 because it prevented
  	geometry setting from taking effect if the window was not on the
  	screen.  Another check may go in it's place as IsIconic and
  	IsZoomed should not be passed NULL.


type: ci
user: rmax
comment:
  	* unix/tcl.m4:       New macro SC_CONFIG_MANPAGES.
  	* unix/configure.in: Added support for symlinks and compression
  	* unix/Makefile.in:  when installing the manpages. [Patch 518052]
  	                     Default is still hardlinks and no compression.

  	* unix/mkLinks:      generated
  	* unix/configure:

  	* unix/README:       Added documentation for the new features.


type: ci
user: rmax
comment:
  	* unix/configure:                  Replaced ${exec_prefix}/lib
  	* unix/tcl.m4 (SC_PATH_TCLCONFIG): by ${libdir}.


type: ci
user: dgp
comment:
  	* Expanded install-binaries target to create and install a
  	pkgIndex.tcl file to enable Tk as a loadable package [Patch 521356]


type: ci
user: dgp
comment:
          * generic/tkTest.c:     Removed unused dependence on TclThread_Init()
          * tests/defs.tcl:       and [testthread].  [Bug 578165, Tcl Bug 531413]


type: ci
user: davygrvy
comment:
  * generic/tkStyle.c: <eol> of the committing cvs client didn't
  match the <eol> of the file itself.  Windows users where getting
  \r\r\n.  Problem fixed.


type: ci
user: andreas_kupries
comment:
  	* win/Makefile.in (install-binaries): Fix of troubled Makefile
  	  quoting introduced by [Patch 521356] causing the installed to
  	  fail.


type: ci
user: hobbs
comment:
  	* win/tkWinDialog.c (Tk_ChooseDirectoryObjCmd): initialize
  	utfTitle to NULL, add a few more notes about limitations of
  	possible new Tk_ChooseDirectoryObjCmd function.


type: ci
user: dkf
comment:
  tests/visual_vv.test:	Removed some dependence on [exec]ed utilities

  generic/tkImgPhoto.c:	Allowed photo image buffer allocation to fail more
  tests/imgPhoto.test:	gracefully in some cicumstances.  The remaining ones
  			require API changes before they can fail nicely.


type: ci
user: dgp
comment:
          * Bumped HEAD to version 8.4b2 in order to distinguish it from
  	  the 8.4b1 release.  Also extended LOCALES to cover all message
            catalogs.


type: ci
user: dgp
comment:
          * Fixes for [Bug 581627].
          * generic/tkTest.c:             Test commands not supported on non-Unix
            platforms should not be defined there in the first place.
          * tests/constraints.tcl:        Fixed "secureserver" constraint.
          * tests/unixWm.test:            Some tests needed "unix" constraint.
          * win/tkWinWm.c:                Typo in error message.


type: ci
user: dgp
comment:
          * tests/focustTcl.test: Conversion bug: Corrected backwards logic.
          * tests/imgPhoto.test:  Conversion bug: overwrote unix/README.


type: ci
user: mdejong
comment:
  	* unix/Makefile.in:
  	* win/Makefile.in: Add a more descriptive warning
  	in the event `make genstubs` needs to be rerun.


type: ci
user: dgp
comment:
          * tests/event.test:     Fixes to enable testing of only userInteraction
          * tests/visual_bb.test: tests.


type: ci
user: drh
comment:
  Fix a bug in the Postscript encoding vector generator that was causing
  postscript generation to fail under Win2K.


type: ci
user: mdejong
comment:
  	* unix/configure:
  	* unix/configure.in:
  	* win/configure:
  	* win/configure.in: Add AC_PREREQ(2.13) in an attempt
  	to make it more clear that the configure scripts
  	must be generated with autoconf version 2.13.
  	[Tcl Bug 583573]


type: ci
user: mdejong
comment:
  	* generic/tkFont.c (TkFontPkgFree): Call panic instead
  	of assert since assert is not used in the rest of Tk.
  	[Tk bug 579651]


type: ci
user: rmax
comment:
  	* library/unsupported.tcl: Extended ExposePrivateVariable, and
  	ExposePrivateCommand to accept patterns as well.


type: ci
user: mdejong
comment:
  	* library/choosedir.tcl (tk::dialog::file::chooseDir):
  	* library/clrpick.tcl (tk::dialog::file::chooseDir):
  	* library/msgbox.tcl (tk::MessageBox):
  	* library/tkfbox.tcl (tk::dialog::file):
  	* library/xmfbox.tcl (tk::MotifFDialog):
  	Revert [Tk patch 568278]. The transient window workaround
  	is no longer needed since the fix for [Tk bug 570764]
  	solved the problem for withdrawn transients.


type: ci
user: hobbs
comment:
  	* library/spinbox.tcl (MouseSelect): when not in the entry, just
  	return instead of invoking - ButtonUp handles invoking already.
  	[Bug #499168]


type: ci
user: hobbs
comment:
  	* generic/tkEntry.c (DisplayEntry): correct cursor position before
  	calling Tk_SetCaretPos. (yamamoto)


type: ci
user: hobbs
comment:
  	* generic/tkText.c (TextEditUndo): set isDirtyIncrement to -1 when
  	reverting to note proper "dirtiness". [Bug #580362] (callewaert)


type: ci
user: hobbs
comment:
  	* tests/canvas.test: added canvas-14.[1-6]
  	* generic/tkCanvas.c (CanvasWidgetCmd): corrected handling of
  	'scan' subcommand args.  Also removed early return cases to goto
  	done instead where the canvasPtr would be Tcl_Release'd.  This may
  	solve other problems with unreleased canvasPtr's. [Bug #581560]


type: ci
user: hobbs
comment:
  	* win/tkWinButton.c (TkpDisplayButton): corrected display of focus
  	ring around the actual text when the button is a compound button.
  	[Bug #583691]


type: ci
user: hobbs
comment:
  	* library/tk.tcl (RestoreFocusGrab): handle the case where the
  	FocusGrab info is not set. [Bug #553283]


type: ci
user: mdejong
comment:
  	* unix/Makefile.in: Add MAJOR_VERSION, MINOR_VERSION,
  	PATCH_LEVEL, INSTALL_LIBRARY, STUB_LIB_FILE, and LIB_FILE
  	to support changes in tcl.m4 related to library builds.
  	Use MAKE_LIB macro to avoid dealing with RANLIB issues.
  	Rename TK_CC_SEARCH_FLAGS to CC_SEARCH_FLAGS and
  	rename TK_LD_SEARCH_FLAGS to LD_SEARCH_FLAGS.
  	Use new INSTALL_LIB and INSTALL_STUB_LIB substs to
  	deal with ranlib issues when install libraries.
  	* unix/configure: Regen.
  	* unix/configure.in: Remove AC_PROG_RANLIB since
  	this is done by tcl.m4 now. Define CC_SEARCH_FLAGS
  	instead of TK_CC_SEARCH_FLAGS and so on.
  	Use MAKE_LIB and MAKE_STUB_LIB from tcl.m4.
  	Remove AC_SUBST calls that are no done in tcl.m4.
  	* unix/tcl.m4: Update from Tcl.
  	* unix/tkConfig.sh.in: Subst CC_SEARCH_FLAGS and
  	LD_SEARCH_FLAGS.


type: ci
user: hobbs
comment:
  	* tests/spinbox.test: added spinbox-22.[1-3]
  	* generic/tkEntry.c (ConfigureEntry): made the textvariable value
  	take precedence over changed -from/-to values, unless it must be
  	constrained.  [Bug #559078]


type: ci
user: dgp
comment:
  Applied companion patch for Tcl Patch 585105,
  updating Tk to use Tcl 8.4's fully CONST-ified
  interface, and fully CONSTifying Tk at the
  same time.

  This patch includes purging Tk of its last
  direct access to interp->result.  [Bug 589853]

  The substantial changes include copying
  event sequence strings into Tcl_DStrings
  in tkBind.c, and copying [text] indices into
  Tcl_DStrings because parsing them involved
  overwriting them.  If this causes performance
  trouble, that can be resolved by further
  converting them to Tcl_Obj's.

  The #defines USE_NON_CONST and USE_COMPAT_CONST
  have the same effect for Tk as they do for Tcl.
  (They actually change tcl.h)


type: ci
user: dkf
comment:
  Postpone paned-window layout arrangement on geometry event until idle,
  as is done in other window managers, to fix problems with size
  calculations when the children don't already know their sizes anyway.
  Now the layout of the vertical pane demo works better (overall initial
  window width is right!)


type: ci
user: mdejong
comment:
  	* unix/configure: Regen.
  	* unix/configure.in: Remove code that was setting
  	CC_SEARCH_FLAGS and LD_SEARCH_FLAGS to try to
  	account for cc vs ld linking. Tcl now handles this.
  	* unix/tcl.m4: Update from Tcl.


type: ci
user: hobbs
comment:
  	* win/tkWinDialog.c: enabled use of the updated native Windows
  	directory browser (tk_chooseDirectory).  This does require
  	shell32.dll v4.71 or greater. [Patch #468139]


type: ci
user: hobbs
comment:
  	* win/configure:
  	* win/tcl.m4: added shell32 to libs for updated native Windows
  	tk_chooseDirectory dialog.


type: ci
user: dkf
comment:
  Made panedwindow tests all work again; I'm fairly sure the current behaviour is still not right, but it is definitely better than it was when I first started tinkering with the panedwindow in that now it at least picks a sensible size in one dimension when working with widgets whose size is not known immediately.


type: ci
user: dgp
comment:
          * tests/defs.tcl: removed file.  No longer needed now that Tk is
          using the tcltest package to do its testing.


type: ci
user: dgp
comment:
          * win/tkWinFont.c:      Additional changes to fix CONST warnings on
          * win/tkWinWM.c:        Windows due to latest patch.  Tks Vince Darley.


type: ci
user: hobbs
comment:
  	* generic/tkPanedWindow.c (Tk_PanedWindowObjCmd):
  	* library/panedwindow.tcl: changed class from PanedWindow to
  	Panedwindow to not conflict with existing bwidgets, but also to be
  	more regular with other names used in the core.


type: ci
user: hobbs
comment:
  	* win/tkWinMenu.c (TkpSetWindowMenuBar): fixed logic bug in when
  	to idle call ReconfigureWindowsMenu.


type: ci
user: hobbs
comment:
  	* tests/panedwindow.test: added -text foobar to some test buttons
  	to enable correct testing of panedwindow across platforms.
  	[Bug #582370]


type: ci
user: hobbs
comment:
  	* generic/tkButton.c (TkButtonWorldChanged): added GCFont handling
  	to the disabledGc of buttons when compound != none.  The drawing
  	appears to be incorrect across platforms still.  [Bug #477740]


type: ci
user: hobbs
comment:
  	* generic/tkCanvUtil.c (TkSmoothParseProc): recognize the built-in
  	bezier method by name. [Bug #578654]
  	* doc/canvas.n: update to note that -smooth really doesn't take
  	or return just booleans.


type: ci
user: dgp
comment:
          * tests/unixWm.test:  Corrected packaging of unixWm-50.3 so that
          [setupbg] and [cleanupbg] always balance, no matter what tests
          are skipped.


type: ci
user: mdejong
comment:
  	* unix/tkUnixWm.c (WmTransientCmd): Apply fix for
  	wm transient assertion error that was applied
  	to tkWinWm.c for Tk Bug #592201.


type: ci
user: mdejong
comment:
  	* tests/wm.test: Add deleteWindows at start of
  	new transient tests so they do not fail if the
  	toplevels already exist.
  	* unix/tkUnixWm.c: Revert patch for Tk Bug #592201
  	which incorrectly removed numTransients member.


type: ci
user: dgp
comment:
          * README:               Bumped version number to 8.4b3 to distinguish
          * generic/tk.h:         HEAD from the 8.4b2 release.
          * unix/configure.in:
          * win/configure.in:
          * unix/tk.spec:

          * unix/configure:       autoconf
          * win/configure:

          * generic/tk.h: Added compile-time check that the tcl.h header file
          #included by Tk 8.4 is one from Tcl 8.4.  This is needed to be sure
          that new #defines like CONST84 are available. [Bug 597432].


type: ci
user: hobbs
comment:
  	* library/button.tcl: change the bindings to use Priv($w,relief)
  	instead of just Priv(relief).  This ensures that neighboring
  	buttons don't confuse (over)relief settings.


type: ci
user: drh
comment:
  Fix for bug #582457: make radio and checkbuttons work like Windows when
  -relief is sunken, -offrelief is flat, and -overrelief is raised.


type: ci
user: hobbs
comment:
  	* unix/Makefile.in (install-binaries): simplified pkgIndex.tcl
  	file created on installation.
  	* win/Makefile.in (install-binaries): corrected and simplified
  	creation of pkgIndex.tcl file on installation.


type: ci
user: das
comment:
  	*** macosx-8-4-branch merged into the mainline [tcl patch #602770] ***

  	* generic/tk.decls:
  	* generic/tkInt.decls: added new "aqua" specific entries to the
  	stubs tables. Changed all "unix" entries to "x11" to allow us to
  	distinguish and build both "aqua" on MacOSX and "x11" on MacOSX.

  	* generic/tk.h: added a #ifnded RESOURCE_INCLUDED so that tk.h can
  	be passed to the resource compiler.

  	* generic/tkCmds.c (Tk_TkObjCmd): added [tk windowingsystem]
  	subcommand: returns "x11" when running on X11, "win32" on Windows,
  	"classic" on MacOS9 and "aqua" on MacOSX Aqua (i.e. Carbon)

  	* generic/tkFont.c (TkFontGetFirstTextLayout): new private function
  	returning the first chunk of a Tk_TextLayout, i.e. until the first
  	font change on the first line (or the whole first line if there is
  	no such font change).

  	* generic/tkMain.c: made Tcl_ThreadDataKey static

  	* library/demos/puzzle.tcl: fixed button metrics for aqua

  	* tests/cursor.test: check for presence of arrow cursor instead of
  	heart cursor

  	* xlib/xcolors.c: changed xColors static initialization to more
  	standard C

  	* macosx/Wish.pbproj/jingham.pbxuser (new):
  	* macosx/Wish.pbproj/project.pbxproj (new): project for Apple's
  	ProjectBuilder IDE.

  	* macosx/Makefile (new): simple makefile for building the project
  	from the command line via the ProjectBuilder tool 'pbxbuild'.

  	* macosx/tkMacOSXAppInit.c (new): macosx specific AppInit looking
  	for a AppMain.tcl file in its bundled Resources/Scripts folder. If
  	present, argv[1] is set to that file and the Scripts folder is
  	added to the auto_path. This allows tk apps to embed scripts within
  	their bundle directory structure.

  	* macosx/tkMacOSXInit.c (new): macosx adapted version of
  	tkUnixInit.c: we initialize & cache the Carbon native encoding
  	(e.g. 'macRoman') and try to find the tk script library files
  	inside Tk packaged as a framework.

  	* macosx/tkMacOSXNotify.c (new): new macosx specific merged
  	Carbon/select-based notifier.

  	* macosx/tkMacOSXEvent.c (new):
  	* macosx/tkMacOSXEvent.h (new):
  	* macosx/tkMacOSXKeyEvent.c (new):
  	* macosx/tkMacOSXMouseEvent.c (new):
  	* macosx/tkMacOSXWindowEvent.c (new): new macosx specific event
  	handling functionality.

  	* macosx/tkMacOSX.h (new):
  	* macosx/tkMacOSXBitmap.c (new):
  	* macosx/tkMacOSXButton.c (new):
  	* macosx/tkMacOSXClipboard.c (new):
  	* macosx/tkMacOSXColor.c (new):
  	* macosx/tkMacOSXConfig.c (new):
  	* macosx/tkMacOSXCursor.c (new):
  	* macosx/tkMacOSXDefault.h (new):
  	* macosx/tkMacOSXDialog.c (new):
  	* macosx/tkMacOSXDraw.c (new):
  	* macosx/tkMacOSXEmbed.c (new):
  	* macosx/tkMacOSXFont.c (new):
  	* macosx/tkMacOSXHLEvents.c (new):
  	* macosx/tkMacOSXInt.h (new):
  	* macosx/tkMacOSXKeyboard.c (new):
  	* macosx/tkMacOSXMenu.c (new):
  	* macosx/tkMacOSXMenubutton.c (new):
  	* macosx/tkMacOSXMenus.c (new):
  	* macosx/tkMacOSXPort.h (new):
  	* macosx/tkMacOSXRegion.c (new):
  	* macosx/tkMacOSXScale.c (new):
  	* macosx/tkMacOSXScrlbr.c (new):
  	* macosx/tkMacOSXSubwindows.c (new):
  	* macosx/tkMacOSXTest.c (new):
  	* macosx/tkMacOSXUtil.c (new):
  	* macosx/tkMacOSXUtil.h (new):
  	* macosx/tkMacOSXWm.c (new):
  	* macosx/tkMacOSXWm.h (new):
  	* macosx/tkMacOSXXStubs.c (new): macosx ports of classic mac Tk
  	implementation in tk/mac.

  	* macosx/tkMacOSXSend.c (new): only send to local interp
  	implemented currently.

  	* macosx/tkMacOSXDebug.h (new):
  	* macosx/tkMacOSXDebug.c (new): new macosx specific functions for
  	debugging MacOS events, regions, etc.

  	* macosx/tkAboutDlg.r (new):
  	* macosx/tkMacOSXApplication.r (new):
  	* macosx/tkMacOSXCursors.r (new):
  	* macosx/tkMacOSXLibrary.r (new):
  	* macosx/tkMacOSXMenu.r (new):
  	* macosx/tkMacOSXResource.r (new):
  	* macosx/tkMacOSXXCursors.r (new):
  	* macosx/tclets.r (new): sources for Rez resource compiler.

  	* macosx/Wish.icns (new): Wish application icon.

  	* generic/tk.h:
  	* generic/default.h:
  	* generic/tkBind.c:
  	* generic/tkCmds.c:
  	* generic/tkGrab.c:
  	* generic/tkPointer.c:
  	* generic/tkPort.h:
  	* generic/tkSelect.c:
  	* generic/tkStubLib.c:
  	* generic/tkTest.c:
  	* generic/tkText.c:
  	* generic/tkWindow.c:
  	* unix/tkUnix3d.c:
  	* xlib/xgc.c:
  	* xlib/X11/X.h:
  	* xlib/X11/Xlib.h:
  	* xlib/X11/Xutil.h: added #includes and #ifdefs for macosx

  	* library/bgerror.tcl:
  	* library/button.tcl:
  	* library/console.tcl:
  	* library/dialog.tcl:
  	* library/entry.tcl:
  	* library/listbox.tcl:
  	* library/menu.tcl:
  	* library/msgbox.tcl:
  	* library/scrlbar.tcl:
  	* library/spinbox.tcl:
  	* library/text.tcl:
  	* library/tk.tcl:
  	* library/demos/menu.tcl:
  	* library/demos/menubu.tcl:
  	* library/demos/widget: check [tk windowingsystem] instead of
  	and/or in addition to $tcl_platform(platform).

  	* generic/tkInt.h:
  	* mac/tkMacBitmap.c:
  	* mac/tkMacWm.c: added missing CONSTification

  	* generic/tkIntDecls.h:
  	* generic/tkIntPlatDecls.h:
  	* generic/tkIntXlibDecls.h:
  	* generic/tkPlatDecls.h:
  	* generic/tkStubInit.c: regen


type: ci
user: dgp
comment:
          * win/Makefile.in:      Removed dependence on the (parts of) the
          * win/winMain.c:        tcltest executable on Windows.  It was not
          used, and the dependency complicated the Makefile.  [Bug 592638].


type: ci
user: das
comment:
  	* unix/tcl.m4: update from Tcl

  	* unix/Makefile.in: import of TK_SHLIB_LD_EXTRAS for Tk library
  	specific linker settings. Added use of new LD_LIBRARY_PATH_VAR.

  	* unix/configure: regen


type: ci
user: hobbs
comment:
  	* library/button.tcl (::tk::ButtonLeave): correctly restore state
  	of button to normal for unix bindings. [Bug #597920]


type: ci
user: hobbs
comment:
  	* generic/tkCmds.c:
  	* generic/tkWindow.c: made 'tk' available in safe interpreters,
  	but only the caret and windowingsystem subcommands may be called.
  	* tests/safe.test (safe-1.2): noted that tk is now available in
  	safe interps, but not the appname/scaling subcommands.


type: ci
user: hobbs
comment:
  	* tests/wm.test:
  	* unix/tkUnixWm.c: remove possible 2-second delay in 'raise'.
  	[Patch #601518] (english) TIP #107


type: ci
user: uid38172
comment:
  	* library/xmfbox.tcl (::tk::MotifFDialog_ActivateSEnt): corrected
  	msgcat code with XPG specifier. [Patch #606719] (miller)


type: ci
user: hobbs
comment:
  	* tests/cursor.test: reverted 2002-08-31 change for OS X to use
  	'heart' cursor because 'arrow' on windows has a pre-skewed use
  	count. [Bug #602667]


type: ci
user: hobbs
comment:
  	* tests/button.test: added button-14.1
  	* win/tkWinButton.c (TkpComputeButtonGeometry): correct Win button
  	sizing to be equal for one-line buttons with -height of 0 or 1, as
  	well as -height 0 buttons with empty text and no image, which
  	should be the same as single-line text buttons. [Bug #565485]


type: ci
user: hobbs
comment:
  	* library/tk.tcl: use command instead of control on Aqua bindings.
  	Force dialogs to appear below fixed native Mac menubar.
  	* macosx/tkMacOSXKeyEvent.c:
  	* macosx/tkMacOSXKeyboard.c: Keypress/release events for pure
  	modifier keys were not being passed to Tk.
  	Deadkey presses were inserting null characters into text windows.
  	Now they do nothing. (Still not ideal, but better than before!)
  	* macosx/tkMacOSXMenu.c: Allow more than 200 menus to exist -
  	increased to 2000.
  	* macosx/tkMacOSXMouseEvent.c: Bad interactions between floating
  	windows and ordinary ones.  Ensure that local<->global coordinate
  	transformations are wrt to the correct window.
  	* macosx/tkMacOSXWm.c: Better error msg for 'wm attributes'.
  	Remove crash in 'wm transient'.
  	Add 'noActivates' and 'noUpdates' flags to unsupported command.
  	[Patch #606658] (darley)


type: ci
user: hobbs
comment:
  	* library/button.tcl: further restrict buttons to not resetting
  	the "original" relief if it has changed in the interim.  This
  	prevents code that simulated overrelief buttons from not working
  	in 8.4.  [Bug #604270]


type: ci
user: andreas_kupries
comment:
  	* win/Makefile.in (install-libraries): Added code section to
  	  install the message catalogs. Copied same section from
  	  unix/Makefile.in and adapted it to the slightly different
  	  environment.


type: ci
user: das
comment:
  	* macosx/Wish.pbproj/project.pbxproj: added overlooked missing
  	TK_PATCH_LEVEL version bump to 8.4.0.


type: ci
user: das
comment:
  	* unix/Makefile.in: added DYLIB_INSTALL_DIR variable for Darwin
  	and set it to default value ${LIB_RUNTIME_DIR}
  	* unix/tcl.m4 (Darwin): use DYLIB_INSTALL_DIR instead of
  	LIB_RUNTIME_DIR in the -install_name argument to ld.
  	* unix/configure: regen.

  	* macosx/Wish.pbproj/project.pbxproj:
  	* macosx/Makefile: added support for building Tcl as an embedded
  	framework, i.e. using an dyld install_name containing
  	@executable_path/../Frameworks via the new DYLIB_INSTALL_DIR
  	unix/Makefile variable.


type: ci
user: das
comment:
  	* generic/tk.h:
  	* mac/tkMacApplication.r:
  	* mac/tkMacLibrary.r:
  	* mac/tkMacResource.r:
  	* macosx/tkAboutDlg.r:
  	* macosx/tkMacOSXApplication.r:
  	* macosx/tkMacOSXLibrary.r:
  	* macosx/tkMacOSXResource.r: unified use of the two equivalent
  	resource compiler header inclusion defines RC_INVOKED and
  	RESOURCE_INCLUDED, now use RC_INVOKED throughout.

  	* macosx/tkMacOSXAppInit.c: improved detection of Wish startup
  	by the finder (by checking if stdin is /dev/null), in which
  	case we want to bring up the Tk console window.

  	* macosx/tkMacOSXHLEvents.c: added 'rapp' apple event handler.


type: ci
user: das
comment:
  	* macosx/Wish.pbproj/project.pbxproj: reference & install
  	tk/generic/prolog.ps instead of tk/library/prolog.ps.


type: ci
user: das
comment:
  	* macosx/Wish.pbproj/project.pbxproj: added backwards
  	compatibility for Mac OS X 10.1 ProjectBuilder 2.0.


type: ci
user: das
comment:
  	* macosx/Makefile: preserve environment value of INSTALL_ROOT.
  	When embedding only use deployment build. Force relink before
  	embedded build to ensure new linker flags are picked up.

  	* macosx/buildTkConfig.tcl (new):
  	* macosx/Wish.pbproj/project.pbxproj: synthesize tkConfig.sh
  	based on tclConfig.sh in Tcl.framework and tkConfig.sh.in.
  	Add symbolic links to debug lib, stub libs and tkConfig.sh
  	in framework toplevel. Made tkIntXlibDecls.h a public header
  	since Headers/X11/Xlib.h includes it. Install wish8.4 script
  	that runs "Wish Shell.app" and corresponding wish link.
  	Use tcl headers from built Tcl.framework instead of from tcl
  	source directory.

          * macosx/tkMacOSXPort.h: added missing standard unix includes
          and defines, similarly to tkUnixPort.h.
          * macosx/tkMacOSXNotify.c: removed dependency on internal tcl
          header "tclPort.h"

  	* unix/Makefile.in:
  	* unix/install-sh: copied support for 'install-strip' target
  	over from tcl/unix/{Makefile.in,install-sh}


type: ci
user: andreas_kupries
comment:
          * generic/tk.h: Moved RC_INVOKED down so that tcl.h is still
            included when running the resource compiler. <tcl.h> excludes
            the unnecessary parts on its own. This reenables the Windows
            build. It failed because the non-inclusion of tcl.h caused the
            resource compiler to miss some vital macro definitions
            (TCL_FINAL_RELEASE, STRINGIFY, ...).


type: ci
user: wolfsuit
comment:
  2002-09-22  Jim Ingham <jingham@apple.com>

          * macosx/tkMacOSXScrlbr.c (UpdateControlValue): HiliteControl
          doesn't give the proper "nothing to scroll" look on Mac OS X.
          You have to set the min value greater than the max value to
          get this.


type: ci
user: mdejong
comment:
  	* unix/configure: Regen.
  	* unix/tcl.m4: Update from Tcl.
  	* unix/tkUnixEvent.c (TkpCloseDisplay): Use PEEK_XCLOSEIM
  	to examine the input context queue before invoking
  	XCloseIM. Generate an assert if there is an input
  	context that has not been freed.
  	[Patch 570902]


type: ci
user: dgp
comment:
          * README:               Bumped to version 8.4.1 to avoid confusion
          * generic/tk.h:         of CVS snapshots with release 8.4.0.
          * unix/README:
          * unix/configure.in:
          * unix/tk.spec
          * win/configure.in:

          * unix/configure:       autoconf
          * win/configure:


type: ci
user: hobbs
comment:
  2002-09-18  Mumit Khan  <khan@nanotech.wisc.edu>

  	Added basic Cygwin support.

  	* win/tcl.m4 (SC_PATH_TCLCONFIG): Support one-tree build.
  	(SC_PATH_TKCONFIG): Likewise.
  	(SC_PROG_TCLSH): Likewise.
  	(SC_CONFIG_CFLAGS): Assume real Cygwin port and remove -mno-cygwin
  	flags.  Add -mwin32 to extra_cflags and extra_ldflags.
  	Remove ``-e _WinMain@16'' from LDFLAGS_WINDOW.
  	* win/configure: Regenerate.

  	* win/tkWinPort.h (tchar.h): Do not include on Cygwin.
  	(_T): Define for Cygwin.
  	* win/winMain.c (main): Conditionally define.


type: ci
user: hobbs
comment:
  	* unix/Makefile.in: add macosx subdir to dist target.
  	Do not generate .Z, only .gz and .zip in alldist target.


type: ci
user: hobbs
comment:
  	* tests/entry.test: added entry-20.7
  	* generic/tkEntry.c (EntryTextVarProc): check if the entry if
  	being deleted before handling an associated textvariable.
  	[Bug #607390 #617446]


type: ci
user: hobbs
comment:
  	* tests/winButton.test: add option clear to top to prevent option
  	leakage from other tests causing problems. [Bug #582382]


type: ci
user: dkf
comment:
  	* doc/bind.n: Doc-fix to mention that %A substitutes UNICODE
  	characters rather than ASCII ones.  Tk's done this ever since 8.1
  	in any case; after all, it is the right thing to do.


type: ci
user: dkf
comment:
  Incremental transfers of UTF8_STRING selections should now work; Tk will now
  tag them with the right size and only transfer complete UTF8 characters.
  Previously, things only worked when the transfer could only happen in one go,
  and even then not always. [Bug 614650, reported by Reinhard Max]


type: ci
user: hobbs
comment:
  	* tests/panedwindow.test: added panedwindow-28.[12]
  	* generic/tkPanedWindow.c (PanedWindowCmdDeletedProc):
  	(Tk_PanedWindowObjCmd): when destroying the panedwindow, destroy
  	the proxy before the parent to avoid dependency conflicts.
  	[Bug #616589]


type: ci
user: das
comment:
  	* generic/tkInt.decls(tkIntXlib): added XQueryTree declaration for
  	mac & aqua, since it's now called from ParentXId via Tk_HandleEvent.
  	* generic/tkIntXlibDecls.h:
  	* generic/tkStubInit.c: regen.
  	* mac/tkMacXStubs.c: added XQueryTree stub

  	* mac/tkMacEmbed.c (TkpUseWindow): check that container window
  	has -container option set (sync with other platforms).

  	* mac/tkMacBitmap.c:
  	* mac/tkMacFont.c:
  	* mac/tkMacSend.c:
  	* mac/tkMacTest.c:
  	* mac/tkMacWm.c: CONSTification.

  	* mac/tkMacProjects.sea.hqx: added tkStyle.c and tkUndo.c to
  	tk library projects.


type: ci
user: wolfsuit
comment:
  2002-10-02  Jim Ingham  <jingham@apple.com>

          * macosx/tkMacOSXScrlbr.c (TkpDisplayScrollbar): Put the Tk scrollbar
          pointer into the control reference data for the Mac scrollbar, so we
          can get it out again in the ScrollbarActionProc.


type: ci
user: hobbs
comment:
  	* generic/tkText.c (TextBlinkProc): don't blink the cursor unless
  	it is visible. [Bug #616791] [Patch #614474] (bonfield)


type: ci
user: hobbs
comment:
  	* generic/tkPanedWindow.c (Tk_PanedWindowObjCmd): leave the
  	DestroyPanedWindow proc to free the pwPtr, add a Preserve
  	reference to the pwPtr->tkwin.
  	(DestroyPanedWindow): Release the pwPtr->tkwin.


type: ci
user: hobbs
comment:
  	* generic/tkFocus.c (TkFocusFilterEvent): Ignore event if we are
  	focusing into a dead window. [Bug #588831] (griffin)


type: ci
user: hobbs
comment:
  	* unix/README: doc'ed --enable-symbols options.
  	* unix/Makefile.in: comment docs
  	* unix/configure: regen
  	* unix/tcl.m4: replaced SC_ENABLE_MEMDEBUG with a more intelligent
  	SC_ENABLE_SYMBOLS that takes yes|no|mem|all as options now.


type: ci
user: dkf
comment:
  	* generic/tkImgPhoto.c (ImgPhotoSetSize): Only error-out if we
  	fail to allocate a non-empty buffer; getting a NULL when we
  	allocate an empty buffer is no problem since nothing will look at
  	the value anyway. [Bug 619544]
  	Also tidied up file to take into account the fact that we're using
  	32 bits per pixel in the master to accommodate the alpha channel
  	as well as RGB.


type: ci
user: hobbs
comment:
  	* library/tk.tcl: simplified the adding of extra <ISO_Left_Tab>
  	and <hpBackTab> events to <<PrevWindow>>.


type: ci
user: dgp
comment:
  	* generic/tk.h:  Added reminder comment to edit
          macosx/Wish.pbproj/project.pbxproj when version number changes.


type: ci
user: das
comment:
  	* macosx/Makefile: don't remove tclsh after building embedded.

  	* macosx/Wish.pbproj/project.pbxproj: bumped version to 8.4.1;
  	added missing library/mkpsenc.tcl to framework.


type: ci
user: hobbs
comment:
  	* tests/canvPs.test: tests for canvas embedded window ps generation
  	* generic/tkCanvWind.c (CanvasPsWindow): removed dead code loop.
  	* generic/tkCanvas.h: moved TkColormapData struct to tkCanvPs.c
  	* generic/tkCanvPs.c (TkImageGetColor): corrected bogus use of
  	TkColormapData on Windows.  Non-separated data may need correction
  	as well.
  	* win/tkWinImage.c (XGetImage, XGetImageZPixmap): added support
  	for generating ps for embedded windows on canvases.


type: ci
user: das
comment:
  	* macosx/Wish.pbproj/project.pbxproj: added TEXT document
  	type to plist so that files can be dragged onto Wish Shell.

  	* macosx/tkMacOSXInt.h:
  	* macosx/tkMacOSXInit.c:
  	* macosx/tkMacOSXFont.c: added private proc
  	TkMacOSXUseAntialiasedText() to enable/disable quickdraw
  	text antialiasing where available, default is enabled.
  	Added a linked boolean ::tk::mac::antialiasedtext with
  	write trace to allow control of antialiasing from tcl.


type: ci
user: hobbs
comment:
  	* generic/tkCanvPs.c (TkImageGetColor): corrected bogus use of
  	TkColormapData on Windows (Windows now requires RGB pixel data
  	from image).
  	* win/tkWinImage.c (XGetImage, XGetImageZPixmap): added support
  	for generating ps for embedded widgets on canvases on Windows,
  	tested for 8, 16, 24 and 32-bit depths (XGetImageZPixmap not used).


type: ci
user: hobbs
comment:
  	* tests/imgPhoto.test:
  	* generic/tkImgPhoto.c (ImgPhotoConfigureMaster): fix arg handling
  	for missing -format or -data options. [Bug #624974]


type: ci
user: das
comment:
  	* macosx/README: revised according to Jim's suggestions
  	* macosx/tkMacOSXAppInit.c: use standard PATH_MAX from <limits.h>


type: ci
user: hobbs
comment:
  	* tests/text.test:                    properly return the number of
  	* unix/tkUnixFont.c (ControlUtfProc): bytes consumed. [Bug #624732]


type: ci
user: das
comment:
  	* macosx/README: info specific to building and running
  	TclTk on Mac OS X, answers to tcl-mac list FAQs.
  	* macosx/Makefile: permission fix after embedded install.
  	* macosx/Wish.pbproj/project.pbxproj: after install, fix
  	permissions of uninstalled products.


type: ci
user: davygrvy
comment:
  	* win/winMain.c (Tcl_AppInit): Calls Registry_Init() and
  	Dde_Init() when STATIC_BUILD and TCL_USE_STATIC_PACKAGES macros
  	are set.

  	* win/makefile.vc:  linkexten option now sets the
  	TCL_USE_STATIC_PACKAGES	macro which also adds the registry and
  	dde static lib files to the link of the shell. [Patch 479697]

  	* win/rules.vc: Matches the one from Tcl.

  	* win/buildall.vc.bat: More useful commentary.


type: ci
user: hobbs
comment:
  	* win/configure: Regen.
  	* win/tcl.m4 (SC_CONFIG_CFLAGS): Check for bug in Cygwin version
  	of windres and work around that case by passing a POSIX path
  	instead of a Windows native path. One can't always pass a POSIX
  	path because the mingw native toolchain accepts only Windows
  	native paths. (dejong)


type: ci
user: das
comment:
  	* macosx/Wish.pbproj/project.pbxproj: added Wish linker flag
  	-headerpad_max_install_names to allow use of 'install_name_tool'.
  	fixed tkConfig.sh generation and redo_prebinding in the case where
  	Tk is not installed alongside Tcl.


type: ci
user: mdejong
comment:
  	* generic/tkWindow.c (Tk_DestroyWindow,
  	DeleteWindowsExitProc): Add TkHalfdeadWindow
  	type and halfdeadWindowList to keep track
  	of windows that were only partially deallocated
  	before a call to exit. Finnish cleaning up
  	these windows in DeleteWindowsExitProc.
  	Keep track of cleanup status in Tk_DestroyWindow
  	so that a window with a Destroy binding which
  	calls exit will get fully destroyed.
  	* tests/window.test: Add Tk_DestroyWindow tests
  	for an assortment of half dead window cases.
  	[Bug 630533]


type: ci
user: das
comment:
  	* macosx/Wish.pbproj/project.pbxproj: fix to 'wish' script
  	to allow it to work when not installed into '/'.


type: ci
user: mdejong
comment:
  	* unix/configure: Regen.
  	* unix/tcl.m4: Update from Tcl.
  	* win/configure: Regen.
  	* win/configure.in: Check that AR, RANLIB, and RC
  	are found on the path when building with gcc.


type: ci
user: hobbs
comment:
  	* tests/textDisp.test:
  	* generic/tkTextDisp.c (TkTextSeeCmd): handle see for unmapped
  	text displays. [Bug #641778]


type: ci
user: das
comment:
  	* macosx/Wish.pbproj/project.pbxproj: fixed erroneous
  	removal of libtkstub before Wish was built.


type: ci
user: mdejong
comment:
  	* tests/unixWm.test: Add short delay to test unixWm-51.7
  	to account for raise/lower changes in TIP 107. This allows
  	the test case to pass under Window Maker on Linux.


type: ci
user: pspjuth
comment:
  place info did not return all settings,
  and didn't make sure the result was a proper list.
  Put '-in' first in result to be more consistent with how
  grid/pack info behaves. [Bug #635025][Bug #532022]


type: ci
user: hobbs
comment:
  	* win/tkWinX.c (TkWinXInit):      Move cleanup into an exit handler
  	* win/tkWin32Dll.c (DllMain):     to ensure that it will be called
  	* win/tkWinWm.c (TkWinWmCleanup): without having to unload the dll.
  	Also reset the static int initialized on cleanup to allow reinit.


type: ci
user: wolfsuit
comment:
  2002-11-19  Jim Ingham <jingham@apple.com>

          * macosx/tkMacOSXScrlbr.c (TkpDisplayScrollbar): If the
          scrollbar width is set to 12 or less (but 12 is what you
          should use) use the small metric scrollbar.

          (UpdateControlValues): Fix thinko in setting off AUTO_ADJUST for
          the place geometry manager.


type: ci
user: hobbs
comment:
  	* generic/tkInt.decls: add TkWinSetHINSTANCE decl
  	* generic/tkIntPlatDecls.h: regen
  	* generic/tkStubInit.c: regen
  	* win/tkWinInit.c (TkpInit):  While init and cleanup aren't correct
  	* win/tkWinX.c (TkWinXInit):  in DllMain, we had to specify the
  	* win/tkWin32Dll.c (DllMain): true HINSTANCE or the resources of a
  	dynamic Tk weren't being loaded correctly.  Created a new function
  	TkWinSetHINSTANCE for this purpose.


type: ci
user: mdejong
comment:
  	* tests/event.test (_keypress, _text_ind_to_x_y):
  	Force focus to widget in _keypress method to
  	avoid problems with window managers that
  	use focus follows mouse. [Bug 526209]


type: ci
user: mdejong
comment:
  	* tests/wm.test: Add wm-transient-6.3 to
  	check that a transient remains withdrawn
  	when it is first withdrawn and then turned
  	into a transient.
  	* unix/tkUnixWm.c:
  	* win/tkWinWm.c: Replace WM_TRANSIENT_WITHDRAWN
  	with WM_WITHDRAWN and set this flag whenever
  	a window is explicitly withdrawn. This fixes
  	the test case added above. [Bug 644356]


type: ci
user: jenglish
comment:
  WaitForEvent(): process Map and Unmap events
  as well as Configure events during WaitFor{Configure|Map}Notify.
  Fixes [Bug 578569] (WaitForMapNotify could process Map and Unmap
  events out of order, making Tk think a window was unmapped when
  it really wasn't).


type: ci
user: hobbs
comment:
  	* generic/tkEntry.c (ConfigureEntry): keep a flag to indicate when
  	a var is traced to prevent double-traces caused by configuring the
  	widget in traces with validation on. (dejong)


type: ci
user: dgp
comment:
          * generic/tkMain.c (Tk_Main):  Call on Tcl*StartupScript*() routines
          to store the startup script, if any.  [Bug 616245].


type: ci
user: jenglish
comment:
  * generic/tkSelect.c (Tk_CreateSelHandler):
  Fix for #666346 "Selection handling crashes under KDE 3.0"
  * tests/unixSelect.test (unixSelect-1.20): Added test case.


type: ci
user: drh
comment:
  Implement Cohen-Sutherland polygon clipping for long lines in the canvas widget
  so that coordinates do not overflow the 16-bit limit imposed by X11 and Win32.
  Bug #663981.


type: ci
user: hobbs
comment:
  	* generic/tkFrame.c (CreateFrame): throw a Tcl error instead of a
  	panic when we cannot get a main window and appname is NULL.  This
  	can indicate that a user tried to create a frame/toplevel while Tk
  	was dying. [Bug #661792]


type: ci
user: dkf
comment:
  	* generic/tkImage.c (Tk_ImageObjCmd): Added check to make sure
  	that you're not creating an image named the same as .'s command,
  	which refixes 220891, even when the name of the command has been
  	changed with 'rename'.  The error message is better too.
  	* generic/tkFrame.c (TkToplevelWindowForCommand): Added way of
  	mapping from command names to tkwins-for-toplevels.
  	* tests/image.test (image-1.10,image-1.11): Updated to match new
  	error message and added test for the rename case.
  	* generic/tclInt.decls: Made TkToplevelWindowForCommand exported
  	privately.


type: ci
user: mdejong
comment:
  	* win/Makefile.in: Add TCL_DEFS to AC_FLAGS
  	so that compiler flags defined by Tcl get
  	passed to the compiler. Add empty rule
  	for cat.c so that Tk compiles under msys.
  	* win/configure: Regen.
  	* win/tcl.m4: Update from Tcl, this pulls
  	in a subst of TCL_DEFS, it also defines
  	USE_THREAD_ALLOC when threads are used
  	and it updates the SC_ENABLE_SYMBOLS
  	and SC_PROG_TCLSH macros to match the
  	ones used in Tcl.


type: ci
user: mdejong
comment:
  	* win/tkWinDialog.c (Tk_ChooseDirectoryObjCmd,
  	ChooseDirectoryValidateProc, Tk_MessageBoxObjCmd):
  	Remove unused tsdPtr variable. Use TEXT macro
  	instead of _T macro since _T does not work
  	under Cygwin. Declare flags as UINT to avoid
  	compiler warning when compiling with mingw.


type: ci
user: drh
comment:
  Increase the size of the clipping box for lines in bug #663981 so that
  Tk extensions that attempt to print a canvas in a windows GDI printer
  will still work.


type: ci
user: hobbs
comment:
  	* doc/loadTk.n: note that ::safe::loadTk has a prereq on
  	::safe::interpCreate or ::safe::interpInit. [Bug #669159]


type: ci
user: hobbs
comment:
  	* generic/tkImage.c (DeleteImage): delete the image's entry in the
  	image table correctly when there are no more instances.  This
  	reopens bug 220891. [Bug #669759]


type: ci
user: hobbs
comment:
  	* generic/tkCanvArc.c (CreateArc):       Rework canvas create item
  	* generic/tkCanvBmap.c (CreateBitmap):   type coords handling to be
  	* generic/tkCanvImg.c (CreateImage):     consistent across types
  	* generic/tkCanvPoly.c (CreatePolygon):  and not pass empty coords
  	* generic/tkCanvLine.c (CreateLine):     to item creation procs.
  	* generic/tkCanvText.c (CreateText):
  	* generic/tkCanvWind.c (CreateWinItem):
  	* generic/tkCanvas.c (CanvasWidgetCmd CANV_CREATE):
  	* generic/tkRectOval.c (CreateRectOval):
  	* tests/canvRect.test:
  	* tests/canvText.test:
  	* tests/canvas.test:


type: ci
user: jenglish
comment:
  Moved 'deletionEpoch' field from TkDisplay to TkMainInfo.
  Reworked windowObj type.
  Fixes Tk Bug #671330 "segfault when e.g. deiconifying destroyed window"


type: ci
user: drh
comment:
  Fix the entry widget's KeyPress binding so that text is entered from
  left to right, not right to left, even if the mouse button is being
  held down.  [Bug #673687].


type: ci
user: kennykb
comment:
  Added language to describe the handling of the end-of-file character
  \u001a in a script file.  [Bug 685505]


type: ci
user: hobbs
comment:
  	* README:             Bumped to 8.4.2.
  	* generic/tk.h:
  	* macosx/Wish.pbproj/project.pbxproj:
  	* unix/configure:
  	* unix/configure.in:
  	* unix/tcl.m4:
  	* unix/tk.spec:
  	* win/configure:
  	* win/configure.in:


type: ci
user: wolfsuit
comment:
  2003-02-10  Jim Ingham <jingham@apple.com>

          * macosx/tkMacOSXCursor.c (TkMacOSXInstallCursor): Set all theme
          cursors using SetThemeCursor or SetAnimatedThemeCursors.
          (TkGetCursorByName): Use the theme cursors for arrow, ibeam, etc.
          Allow animatedCursor{NUM} form for an animated cursor with count.
          (TkpSetCursor): Don't reset the cursor if there is no change.
          * macosx/tkMacOSXMouseEvent.c (GeneratePollingEvents): Don't
          directly call TkMacOSXInstallCursor, it gets called by the call
          to Tk_UpdatePointer immediately above.


type: ci
user: wolfsuit
comment:
  2003-02-10  Jim Ingham <jingham@apple.com>

          * macosx/tkMacOSXCursor.c (TkMacOSXInstallCursor): Set all theme
          cursors using SetThemeCursor or SetAnimatedThemeCursors.
          (TkGetCursorByName): Use the theme cursors for arrow, ibeam, etc.


type: ci
user: hobbs
comment:
  2003-02-05  Fred Fish  <fnf@intrinsity.com>

  	* macosx/tkMacOSXWm.c (Tk_SetGrid): Fix precedence problem with
  	* mac/tkMacWm.c (Tk_SetGrid):       '==' and '|'.


type: ci
user: hobbs
comment:
  	* win/tkWinInit.c (TkpDisplayWarning): truncate MessageBox string
  	to 1024 chars to prevent possible oversized window errors.  May be
  	necessary in other MB uses (ie Tcl_AppInit). [Tcl Bug #608559]


type: ci
user: dkf
comment:
  	* generic/tkImgGIF.c (FileReadGIF): Ensure that the trashBuffer is
  	always deallocated on function exit to stop a potential memory leak.


type: ci
user: mdejong
comment:
  	* generic/tkEvent.c (Tk_HandleEvent): Fixup button
  	press state saving code, it was incorrectly converting
  	normal motion events into button press and motion
  	events in some cases.
  	* generic/tkInt.h: Add mouseButtonWindow member
  	to the TkDisplay structure.
  	* tests/event.test: Add test case for faulty
  	button motion logic.


type: ci
user: das
comment:
  	* macosx/Wish.pbproj/project.pbxproj:
  	* macosx/Makefile: reworked embedded build to no longer require
  	relinking but to use install_name_tool instead to change the
  	install_names for embedded frameworks.


type: ci
user: hobbs
comment:
  	* library/tk.tcl (::tk::TabToWindow): auto-highlight spinboxes as
  	well as entries when tabbing in. [Patch #683813] (bron)


type: ci
user: hobbs
comment:
  	* library/xmfbox.tcl (::tk::MotifFDialog_ActivateSEnt): correct
  	sub on embedded newlines. [Patch #688572] (bonfield)


type: ci
user: wolfsuit
comment:
  This submission contains a slightly reworked & cleaned up version of
  two parts of the patches in Patch Tracker #622582 -
  new-evthdlng.2003-02-12.diff and basic-keyboard.2003-02-10.diff.  The
  second part puts translation of MacOS X keycodes to characters on a
  better footing. The first part relaxs Tk's policy of consuming all
  events unless it can see they go to windows it didn't create.  This
  change gets the little traffic lights working, and should make things
  like QuickTimeTcl easier to implement.


type: ci
user: pspjuth
comment:
  Fixed calculation of the last slave's
  size when increasing the size of the panedwindow. [Bug #689099]


type: ci
user: mdejong
comment:
  	* doc/entry.n:
  	* doc/text.n: Update double and triple click
  	docs to match implementation changes made on
  	2002-02-14.


type: ci
user: das
comment:
  	* library/console.tcl: (aqua & macintosh) added missing <Cmd-q>
  	binding for corresponding Quit menu item shortcut.

  	* macosx/README: updated instructions for embedded build,
  	added various improvements by Russell Owen.

  	* unix/tcl.m4: update from Tcl.
  	* unix/configure: regen.


type: ci
user: wolfsuit
comment:
  2003-02-19  Jim Ingham <jingham@apple.com>

          * tkMacOSXMouseEvents.c (GeneratePollingEvents): In the case
          where there was a capture window, we were sending the events to
          the capture window.  But the capture window (return value or
          TkMacOSXGetCapture) is always a toplevel.  So this is wrong in
          the case that the Event's toplevel IS the capture window - in
          which case the event should go to the subwindow most closely
          containing the event.

  Fixes bug #688188


type: ci
user: dkf
comment:
  Removed pointless static variable ZeroDataBlock from tkImgGIF.c [Bug #664788]
  It served no useful purpose whatsoever...


type: ci
user: dkf
comment:
  Removed potentially fatal FMR in Unix font handling.  No test because any
  test would be very platform- and build-specific.  [Bugs #618872 and #689357]


type: ci
user: hobbs
comment:
  	* win/tkWinScrlbr.c (UpdateScrollbar): use SIF_DISABLENOSCROLL to
  	"disable" scrollbar when on Windows when there is nothing to
  	scroll.  This is Windows style, and fixes [Bug #624116].


type: ci
user: hobbs
comment:
  	* tests/panedwindow.test:
  	* generic/tkPanedWindow.c (ValidSashIndex): corrected to note that
  	2 panes must exist before any one sash does. [tcllib Bug #689258]


type: ci
user: hobbs
comment:
  	* generic/tkEntry.c (SpinboxWidgetObjCmd, EntryWidgetObjCmd):
  	* tests/entry.test:   return 1 if selection is present even if
  	* tests/spinbox.test: entry/spinbox is disabled, as selection get
  	will still return the selection (although selection still ignore
  	modify requests when entry/spinbox is disabled). [Bug #637828]


type: ci
user: dkf
comment:
  	* library/comdlg.tcl (FDGetFileTypes): Set an upper limit on how
  	long a file type item description string can get due to appending
  	of types. [Bug #617392]


type: ci
user: hobbs
comment:
  	* unix/tkUnixFont.c (CreateClosestFont, CanUseFallback): use the
  	first best font match in user font path. [Bug #647497] (dal zotto)


type: ci
user: wolfsuit
comment:
  2003-02-24  Benjamin Riefenstahl  <Benjamin.Riefenstahl@epost.de>

          * tkMacOSXDialog.c (NavServicesGetFile): Fix bug with
          kNavCtlSetSelection - control data should be a pointer
          not a handle.


type: ci
user: dkf
comment:
  	* library/clrpick.tcl (color::BuildDialog):
  	* library/msgbox.tcl (MessageBox): Yet more places that did
  	complex and fragile width calculations instead of using grid,
  	though with these it is the -uniform option that saves the day.


type: ci
user: das
comment:
  	* macosx/tkMacOSXHLEvents.c: fixed conversion of apple event
  	parameters to posix style path names.
  	[Bug #621672] (steffen, Benjamin Riefenstahl)

  	* macosx/tkMacOSXDialog.c:
  	* macosx/tkMacOSXWm.c:
  	* macosx/Wish.pbproj/project.pbxproj:
  	* macosx/tkMacOSXUtil.c (removed):
  	* macosx/tkMacOSXUtil.h (removed): removed all references to
  	tkMacOSXUtil.{c,h}, made obsolete by the patch above. [Bug #621672]


type: ci
user: hobbs
comment:
  	* generic/tkListbox.c (ListboxSelectionSubCmd):
  	* tests/listbox.test: Allow 'selection includes' to respond when
  	disabled (but only 'includes'). [Bug #632514]


type: ci
user: hobbs
comment:
  	* unix/tkUnixButton.c (TkpDisplayButton): Correct visual display
  	of disabled check/radiobutton to be more distinctive on unix.
  	* tests/unixButton.test: [Bug #669595] (hintermayer)


type: ci
user: hobbs
comment:
  	* doc/panedwindow.n: clarified the need to use 'update idle' when
  	adding unmapped windows.  Needs further examination. [Bug #605105]


type: ci
user: hobbs
comment:
  	* win/tkWinInt.h:
  	* win/tkWinDraw.c:
  	* win/tkWinFont.c (Tk_DrawChars): add support for simple XOR text
  	drawing on Windows. [Patch #685388] (martin)


type: ci
user: dgp
comment:
          * README:                               Bumped version number of
          * generic/tk.h:                         Tk to 8.5a0.
          * library/tk.tcl:
          * mac/README:
          * macosx/Wish.pbproj/project.pbxproj:
          * unix/README:
          * unix/configure.in:
          * unix/tk.spec:
          * win/README:
          * win/configure.in:
          * win/makefile.vc:
          * win/tcl.m4:

          * unix/configure:      autoconf
          * win/configure:


type: ci
user: hobbs
comment:
  	* generic/tkMenu.c (TkMenuCleanup): make sure to reset static
  	menusInitialized on finalize. [Bug #548729]


type: ci
user: das
comment:
  	* macosx/tkMacOSXHLEvents.c: fixed conversion of apple event
  	parameters to posix style path names.
  	[Bug #621672] (steffen, Benjamin Riefenstahl)


type: ci
user: dkf
comment:
  TIP#116 implementation.  Docs still to come, tests will never be done because
  they could never be done portably as they'd inevitably depend on the total
  amount of memory available to the process...  :^(


type: ci
user: dkf
comment:
  Make all %-expansions generate ?? when their event doesn't have the right
  underlying field to prevent a crash on Windows. [Bug #612110]


type: ci
user: mdejong
comment:
  	* generic/tkGrid.c (GridStructureProc, ConfigureSlaves):
  	Check for a NULL masterPtr and slavePtr in the
  	GridStructureProc code to ensure that a Gridder
  	created before some error condition is ignored
  	when it comes to geometry calculations. This
  	approach closely matches the pack implementation.
  	Keep track of a -in argument to a grid command
  	in order to detect the case of an already
  	gridded widget that wants to change some options.
  	The previous implementation could make repeated
  	and unnecessary calls to Tk_ManageGeometry.
  	Replace use of "parent" with "master" in comments
  	throughout the file.
  	* generic/tkPack.c (PackStructureProc): Check for
  	a NULL masterPtr before other checks so that a
  	slave created under certain error conditions
  	is cleaned up properly.
  	Replace use of "parent" with "master" in comments
  	throughout the file.
  	* generic/tkPlace.c (CreateSlave, ConfigureSlave,
  	SlaveStructureProc):
  	Don't call Tk_ManageGeometry in CreateSlave since
  	this was causing incorrect results in some error
  	cases. Rework the ConfigureSlave method so that
  	slave setup is done in one place. The call to
  	Tk_ManageGeometry was added to the one place
  	where a slave is setup. When a slave is configured
  	but the master is not changed, simply goto the
  	scheduleLayout label. Check for a NULL master
  	in SlaveStructureProc for the sake of readability.
  	* tests/grid.test:
  	* tests/pack.test:
  	* tests/place.test: Add test to check that a
  	winfo manager call does not return incorrect
  	results after an error condition is hit.
  	[Patch 693063]


type: ci
user: wolfsuit
comment:
  2003-03-11  Jim Ingham  <jingham@apple.com>

          * macosx/tkMacOSXMenu.c (EventuallyInvokeMenu): New function,
          used to invoke menu commands at idle time.
          (TkMacOSXDispatchMenuEvent): Don't immediately dispatch menu
          commands, wait till the idle loop to do so.  This is more like
          what is done on Windows, and avoids the crash from destroying
          a menu in it's command.

          * macosx/tkMacOSXHLEvents.c (ReallyKillMe): Don't force the shell
          to exit.  According to the OS X HI guidelines, it should be
          possible to cancel an attempt to quit, and if we force the kill,
          here, it would not be possible to implement this.


type: ci
user: wolfsuit
comment:
  Fix a bug with MacOS X Tk's handling of the help menu.  The code expected the
  MacOS 9 behavior, which was to insert a separator item after the system help
  menus, but this doesn't happen on X...


type: ci
user: mdejong
comment:
  	Require autoconf 2.57 or newer, see TIP 34
  	for a detailed explanation of why this is good.
  	This will no doubt break the build on some
  	platforms, let the flaming begin.

  	* unix/configure: Regen with autoconf 2.57.
  	* unix/configure.in: Require autoconf 2.57.
  	* unix/tcl.m4: Update from Tcl.
  	* win/configure: Regen with autoconf 2.57.
  	* win/configure.in: Require autoconf 2.57.
  	* win/tcl.m4: Update from Tcl.


type: ci
user: mdejong
comment:
  	* doc/wm.n (minimize, maximize): Remove claim
  	that the resizable command keeps scripts from
  	changing the size of windows since it is
  	not true. The resizable command only applies
  	to user sizing via user interaction.
  	* tests/unixWm.test: Replace broken tests with
  	the nonPortable constraint with new tests for
  	maxsize and minsize options. These tests
  	verify that setting the minsize and maxsize
  	will resize the window if needed, and that
  	the wm hints will be updated with the new sizes.
  	* tests/wm.test: Add an exhaustive set of tests
  	for the wm maxsize and wm minsize commands.
  	These tests verify that setting the minsize
  	and maxsize will resize the window if needed.
  	These tests have only been run under Win98
  	and Window Maker under Linux, so further tweaking
  	may be needed for other systems.
  	* unix/tkUnixWm.c (UpdateGeometryInfo, UpdateSizeHints):
  	Fixup comments and initialization for the minWidth,
  	minHeight, maxWidth, maxHeight, width, and height
   	members of the WmInfo struct. Check to ensure
  	that a new toplevel window size is not larger
  	than the maxsize or smaller than the minsize
  	when updating the geometry at idle time.
  	Pass new width and height values to the
  	UpdateSizeHints method so that it can properly
  	set the window min and max sizes for a window
  	that cannot be resized by the user. This fixes
  	a bug where the window resizes back to the original
  	size when the user clicks on the window border.
  	* win/tkWinWm.c (UpdateGeometryInfo):
  	Fixup comments and initialization for the minWidth,
  	minHeight, maxWidth, maxHeight, width, and height
   	members of the WmInfo struct. Check to ensure
  	that a new toplevel window size is not larger
  	than the maxsize or smaller than the minsize
  	when updating the geometry at idle time.
  	[Patch 568861]


type: ci
user: mdejong
comment:
  	* tests/unixWm.test: Add the testwrapper
  	constraint to tests that depend on the
  	testwrapper command. These tests should
  	not be run under Windows for example.


type: ci
user: das
comment:
  	* macosx/Wish.pbproj/project.pbxproj:
  	* macosx/Makefile:
  	* macosx/README: added support for giving 'make' the location
  	of Tcl.framework and tclsh to build and link against.

  	* macosx/tkMacOSXXStubs.c: fixed crash in [winfo server].


type: ci
user: das
comment:
  	* macosx/tkMacOSXApplication.r (removed):
  	* macosx/tkMacOSXLibrary.r (removed):
  	* macosx/tkMacOSXResource.r (removed):
  	* macosx/Wish.pbproj/project.pbxproj:
  	* macosx/tkAboutDlg.r: updated copyrights, cleaned up about box,
  	removed obsolete unused resource files.

  	* macosx/buildTkConfig.tcl: TK_DEFS space fix.


type: ci
user: dgp
comment:
          * tests/unixWm.test:  Constrained all tests older than revision 1.21
          to run only on Unix.  Alternative approach did not match maintainer
          habits.
          * tests/spinbox.test (spinbox-17.4): Avoid long failure message.


type: ci
user: dgp
comment:
          * tests/all.tcl:                Made better use of a common
          * tests/constraints.tcl:        -loadfile to hold definitions
          * tests/*.test:                 common to all test files.


type: ci
user: mdejong
comment:
  	* win/tkConfig.sh.in: Add TK_DLL_FILE entry
  	to mirror the TCL_DLL_FILE entry in tclConfig.sh.
  	[Patch 694271]


type: ci
user: mdejong
comment:
  	* win/configure: Regen.
  	* win/configure.in: Don't run the AC_CYGWIN
  	macro since it uses AC_CANONICAL_HOST under
  	autoconf 2.5X. Just check to see if __CYGWIN__
  	is defined by the compiler and set the
  	ac_cv_cygwin variable based on that.
  	[Tcl Bug 705912]


type: ci
user: dgp
comment:
          * tests/unixWm.test (unixWm-41.2): Corrected typo in 2003-03-13
          commit.  Thanks Larry Virden.  [Bug 705567]


type: ci
user: mdejong
comment:
  	* unix/Makefile.in: Subst TCL_LIBS instead of
  	DL_LIBS and MATH_LIBS.
  	* unix/configure: Regen.
  	* unix/configure.in: Remove SC_ENABLE_THREADS
  	invocation. Thread support in an extension
  	should be automatic when Tcl is compiled
  	with thread support. Add AC_DEFINE calls
  	to set TCL_THREADS, _REENTRANT, and
  	_THREAD_SAFE since this was done in
  	SC_ENABLE_THREADS. Remove socket and math
  	lib checks since these are already done in
  	the Tcl configure script.
  	* unix/tcl.m4: Update from Tcl to get
  	TCL_LIBS fix. This fixes bug 597847
  	which was caused by improper linking.
  	* unix/tkConfig.sh.in: Subst TCL_LIBS
  	instead of MATH_LIBS and DL_LIBS.
  	[Bug 597847]


type: ci
user: kennykb
comment:
  Corrected several problems that prevented OPTS=symbols from building
  properly. [Patch 707792] Thanks to Joe Mistachkin for the fixes.


type: ci
user: hobbs
comment:
  	* win/configure: regen
  	* win/configure.in (SHELL): force it to /bin/sh as autoconf 2.5x
  	uses /bin/bash, which can fail to find exes in the path (ie: lib).


type: ci
user: mdejong
comment:
  	* win/configure: Regen.
  	* win/configure.in: Set stub lib flag based
  	on new LIBFLAGSUFFIX variable.
  	* win/tcl.m4: Update from Tcl to get new
  	LIBFLAGSUFFIX variable.


type: ci
user: mdejong
comment:
  	* win/configure: Regen.
  	* win/configure.in: Don't set TCL_DLL_FILE,
  	TCL_LIB_FILE, TCL_STUB_LIB_FILE, TCL_STUB_LIB_FLAG,
  	and TCL_BUILD_STUB_LIB_SPEC. These variables are
  	already set in tclConfig.sh. Don't subst vars
  	that are either not used, or already covered by
  	a subst in SC_LOAD_TCLCONFIG.
  	[Bug 691908]


type: ci
user: hobbs
comment:
  	* generic/tkButton.h:                         Rewrote the handling
  	* generic/tkButton.c (TkButtonWorldChanged):  of compound *buttons
  	* mac/tkMacButton.c (TkpDisplayButton):       to correctly display
  	* macosx/tkMacOSXButton.c (TkpDisplayButton): mixture of disabledfg,
  	* unix/tkUnixButton.c (TkpDisplayButton):     selectcolor, indicator,
  	* win/tkWinButton.c (TkpDisplayButton):       etc.  *buttons will
  	now only stipple the image, unless no disabledfg is given, in which
  	case it will stipple the whole button.


type: ci
user: mdejong
comment:
  	* generic/tkBind.c (TkpGetBindingXEvent): Add helper method
  	that can be used to query the XEvent* for the currently
  	executing binding.
  	* generic/tkInt.h: Declare TkpGetBindingXEvent.
  	* win/tkWinMenu.c (MenuKeyBindProc, TkWinMenuKeyObjCmd,
  	TkpInitializeMenuBindings): Rename MenuKeyBindProc to
  	TkWinMenuKeyObjCmd and convert it into a Tcl command
  	named tk::tkWinMenuKey. Bind keyboard accelerator
  	actions to this Tcl command instead of using a native
  	C binding. This makes it possible to extend the
  	existing binding with Tcl code and makes the Windows
  	version work just like the unix version.


type: ci
user: hobbs
comment:
  	* generic/tkCanvBmap.c: s/CreateBitmap/TkcCreateBitmap as Windows
  	has a CreateBitmap function already.


type: ci
user: hobbs
comment:
  	* generic/tkCursor.c: s/GetCursor/TkcGetCursor as Windows has a
  	GetCursor func already, which causes compiler warnings.


type: ci
user: mdejong
comment:
  	* win/tkWinMenu.c (TkpInitializeMenuBindings):
  	Rename the private menu helper cmd from
  	tk::tkWinMenuKey to tk::WinMenuKey.
  	[Bug 721514]


type: ci
user: hobbs
comment:
  	* generic/tkCanvPoly.c (PolygonToPostscript):
  	* tests/canvPs.test: correct crash when generating postscript for
  	a single-line polygon (point) with no color. [Bug #734498] (wilm)


type: ci
bgcolor: #60c060
user: hobbs
comment:
  	* unix/tkUnixButton.c (TkpDisplayButton): Use the normalTextGc when
  	* win/tkWinButton.c (TkpDisplayButton):   displaying disabled text
  	that have images, as they get a gray50 stipple as well and the
  	disabledGc is not set up correctly for font drawing. [Bug #477740]


type: ci
user: hobbs
comment:
  	* library/bgerror.tcl: make bgerror dialog topmost on Windows to
  	prevent it being covered by other windows.


type: ci
user: dkf
comment:
  Stop deleted images from showing up in the various [image *] operations.
  Can't delete early though as that removes the link with widgets and image names.


type: ci
user: das
comment:
  	* macosx/tkMacOSXInit.c (TkpInit): use new versioned bundle
  	resource API to get tk runtime library for TK_VERSION. [Bug 736774]


type: ci
user: hobbs
comment:
  	* unix/tkUnixFont.c: use gb2312-raw as the alias for gb2312*
  	charset fonts.  gb2312.enc was made to be euc-cn for Tcl because
  	that is what is most often meant, but X really wants the original
  	(-raw) gb2312 encoding. [Bug 557030]


type: ci
user: das
comment:
  	* macosx/Wish.pbproj/project.pbxproj: changed tkConfig.sh location
  	in versioned framework subdirectories to be identical to location
  	in framework toplevel; fixed stub library symbolic links to be
  	tk version specific.


type: ci
user: mdejong
comment:
  	* unix/mkLinks: Set the var S to "" at the top
  	of the file to avoid error when user has set S
  	to something.
  	[Tk Bug #739833]


type: ci
user: jenglish
comment:
  Changes from Keith Packard's version:
  + Added copyright notice
  + Fix infinite loop in Tk_MeasureChars when TK_WHOLE_WORDS is specified
  + Fix for crash in TkpGetNativeFont when XftXlfdParse() fails
  + TkpGetFontFromAttributes: use XftPatternCreate() and
    XftPatternAddString(... XFT_FAMILY ...) instead of XftPatternBuild()
    to initialise pattern; fixes crash when faPtr->family == NULL
  + Workaround for Tcl bug where malformed UTF-8 text can get passed
    to Tk_MeasureChars / Tk_DrawChars.
  + TkpGetFontFromAttributes: don't request 0-pixel fonts
  + TkpGetNativeFont: don't use FcNameParse, since that tends to
    always succeed, causing the usual Tk font parsing to be skipped.


type: ci
user: jenglish
comment:
  * unix/tkUnixRFont.c (InitFont): Fill in TkFontAttributes from
  pattern returned from GetFont (actual font) instead of the
  query pattern (requested font).


type: ci
user: jenglish
comment:
  Fix for [Bug#751553] "Xft: [font configure] does not update in-use fonts".
  Fixed TkpGetSubFonts() to return information about all subfonts,
  not just the first one.


type: ci
user: mdejong
comment:
  	* unix/tkUnixEvent.c (TkpCloseDisplay): Don't
  	test for XCloseIM bug when the XFree86 version
  	is newer than 4.0 since the layout of the
  	XIM structure has changed. The check is not
  	needed for newer XFree86 releases since
  	the bug we are checking for was fixed in
  	the 4.2.99.2 release. [Bug 755530]


type: ci
user: dkf
comment:
  Fixed [Bug 749353] by making the removal of masters from the global image table
  aggressive when the interp is being deleted, and making the deletion code always
  check to see whether it should actually be deleting an entry or not.
  No tests as it comes under the heading of crash-on-bug, and the bug is not easy
  to excite (it requires a full script and interpreter deletion with lots of
  events about.)


type: ci
user: wolfsuit
comment:
  Prime the systemButtonText from the theme brush.  This is really only the first
  stage of actually using the theme brushes to track active colors, but it gets
  the labelframe color working at least.


type: ci
user: hobbs
comment:
  	* generic/tkTextDisp.c (DisplayText): correct use of textPtr data
  	with respect to Tcl_Release time. [Bug #767009]


type: ci
user: das
comment:
  	* macosx/Makefile: Changes for new tcl buildsystem.

  	* macosx/Wish.pbproj/jingham.pbxuser:
  	* macosx/Wish.pbproj/project.pbxproj:
  	Changes for new tcl buildsystem.
  	Changed build to include tk specific html help in Tk.framework
  	instead of Tcl.framework.
  	Set default SYMROOT in target options to simplify setting up PB
  	(manually setting common build folder for tcl & tk no longer needed).

  	* macosx/README: Updated info for changes to buildsystem,
  	html help location and PB setup.


type: ci
user: hobbs
comment:
  	* generic/tkPanedWindow.c (ArrangePanes): Ensure that the last pane
  	* tests/panedwindow.test: shrinks instead of being clipped when
  	resized below the reqsize. [Bug 748277] (spjuth)


type: ci
user: dkf
comment:
  Rearranged code in ImgPhotoCmd to not use confusing fallthroughs in switches.
  [Bug 771988]
  Also TAB Police in Changelog...


type: ci
user: hobbs
comment:
  	* library/panedwindow.tcl: use widget-specific Priv slots for
  	pwAfterId and panecursor items to correctly handle cursor changes
  	with adjacant panedwindows.


type: ci
user: patthoyts
comment:
  	* library/panedwindow.tcl: Apply patch from bug #778893 to make
  	the panedwindow -opaqueresize option work as per the docs.


type: ci
user: patthoyts
comment:
  * win/tkWinCursor.c (TkGetCursorByName): Fix bug 420510 to provide
  consistency between unix and windows -cursor option.


type: ci
user: hobbs
comment:
  	* win/tkWinDialog.c: doubled the TK_MULTI_MAX_PATH value to ~10K.
  	This is a short-term solution until the -multiple option is
  	extended.  [Bug 641261]


type: ci
user: hobbs
comment:
  	* generic/tkEvent.c (Tk_HandleEvent): correct XCreateIC call for
  	TK_XIM_SPOT usage. [Bug 742660] (takahashi)


type: ci
user: patthoyts
comment:
  	* win/tkWinCursor.c: Applied misplaced Tcl RFE 700799 to provide
  	the windows hand cursor where available.


type: ci
user: hobbs
comment:
  	* unix/tkUnixFont.c (Tk_DrawChars): do not make XGetGeometry call
  	that prevents overwidth lines as it requires a roundtrip call to
  	the X server for every string drawn.  Hard-code max width to 32768
  	until a beter solution to get max width is made.


type: ci
user: patthoyts
comment:
  	* library/tk.tcl: Apply fix for bug #778840 for window placement
  	when using multiple desktops on windows.


type: ci
user: patthoyts
comment:
  * win/tkWinCursor.c: Fix for bug #776646 for a native hand2 and
  fleur (move) cursor under win.
  * tests/cursor.test: Check that documented cursors are available.


type: ci
user: das
comment:
  	* macosx/buildTkConfig.tcl: fix to TK_BUILD_* ref generation
  	broken by changes to tcl buildsystem.


type: ci
user: jenglish
comment:
  * doc/bind.n: Added more information on event types and details
  [FRQ #523593 "bind(n) manpage needs more detail"]


type: ci
user: patthoyts
comment:
  	* win/tkWinDialog.c: Applied patch from bug #611615 which fixes a
  	problem with double clicks in file dialogs falling through to the
  	window underneath in win32.


type: ci
user: patthoyts
comment:
  	* library/scale.tcl: Fix for bug #787065 for Button-2 press.
  	* tests/scale.test: Added test for this bug.


type: ci
user: hobbs
comment:
  	* library/demos/widget:      Redo code view dialog, use named fonts,
  	* library/demos/arrow.tcl:   add basic see/dismiss routine with
  	* library/demos/bind.tcl:    images for better look & feel
  	* library/demos/bitmap.tcl:
  	* library/demos/button.tcl:
  	* library/demos/check.tcl:
  	* library/demos/clrpick.tcl:
  	* library/demos/colors.tcl:
  	* library/demos/cscroll.tcl:
  	* library/demos/ctext.tcl:
  	* library/demos/entry1.tcl:
  	* library/demos/entry2.tcl:
  	* library/demos/entry3.tcl:
  	* library/demos/filebox.tcl:
  	* library/demos/floor.tcl:
  	* library/demos/form.tcl:
  	* library/demos/hscale.tcl:
  	* library/demos/icon.tcl:
  	* library/demos/image1.tcl:
  	* library/demos/image2.tcl:
  	* library/demos/items.tcl:
  	* library/demos/label.tcl:
  	* library/demos/labelframe.tcl:
  	* library/demos/menu.tcl:
  	* library/demos/menubu.tcl:
  	* library/demos/paned1.tcl:
  	* library/demos/paned2.tcl:
  	* library/demos/plot.tcl:
  	* library/demos/puzzle.tcl:
  	* library/demos/radio.tcl:
  	* library/demos/ruler.tcl:
  	* library/demos/sayings.tcl:
  	* library/demos/search.tcl:
  	* library/demos/spin.tcl:
  	* library/demos/states.tcl:
  	* library/demos/style.tcl:
  	* library/demos/text.tcl:
  	* library/demos/twind.tcl:
  	* library/demos/unicodeout.tcl:
  	* library/demos/vscale.tcl:


type: ci
user: jenglish
comment:
  * generic/tkPanedWindow.c(PanedWindowWorldChanged):
  Set window background from the -background resource.
  Fixes [BUG #791500 "PanedWindow refresh glitches on X"]


type: ci
user: patthoyts
comment:
  	* win/tkWin3d.c: Applied Tk patch 791273 from Jeremy Collins which
  	improves the 3d lines for sunken widgets under windows.


type: ci
user: davygrvy
comment:
  Don't do a string compare on the $(DBGX) variable, use the $(DEBUG)
  boolean directly.  Also, don't try to regen the stubs table if $(TCLSH) doesn't
  exist.


type: ci
user: dgp
comment:
          * doc/wish.1:                   Implementation of TIPs 137/151.
          * generic/tkMain.c (Tk_MainEx): Added recognition of the -encoding
          * tests/main.test:              command line option by Tk_MainEx()
          and thus by wish, and any other program built on Tk_MainEx().
          [Patch 800139].
          This is a ***POTENTIAL INCOMPATIBILITY*** only for those C programs
          that embed Tcl and Tk, build on Tk_MainEx(), and make use of
          Tk_MainEx's former ability to pass a leading "-encoding" option to
          interactive shell operations.


type: ci
user: das
comment:
  	* library/demos/widget: don't create iconwindow on aqua, but add
  	about menu like on classic.
  	* macosx/Makefile: pass MAKEOVERRIDES to pxbuild.
  	* macosx/tkMacOSXButton.c: added -compound support for bevel buttons.


type: ci
user: dgp
comment:
          * generic/tkImage.c:    Stopped [image create] from generating an
          * tests/image.test:     image command name that would overwrite an
          existing command name.  Thanks to Michael Schlenker.  [Bug 808039].


type: ci
user: das
comment:
  	* unix/configure:
  	* unix/configure.in:
  	* unix/tkConfig.sh.in: added TK_INCLUDE_SPEC to allow extensions to
  	find installed Tk headers, parallel to TCL_INCLUDE_SPEC. [Bug 777203]


type: ci
user: patthoyts
comment:
  	* win/makefile.vc:    Implementation of TIP #150, "Provide
  	* win/tkWinSend.c:    'send' command for Windows"
  	* win/tkWinSendCom.h:
  	* win/tkWinSendCom.c:


type: ci
user: cc_benny
comment:
  * macosx/tkMacOSXWm.c (TkWmStackorderToplevelWrapperMap): Add
  GetWindowFromPort() [Bug #812415]; make function static.


type: ci
user: das
comment:
  	* macosx/Wish.pbproj/project.pbxproj:
  	* macosx/Makefile: fixed redo prebinding bug when DESTDIR="".
  	Added support for all applicable customizable makefile variables
  	from tcl/macosx/Makefile.

  	* macosx/README:
  	* macosx/Wish.pbproj/project.pbxproj: ensure that the versioned
  	wishX.X script works correctly when Tk.framework with multiple
  	versions is present by referring to a copy of 'Wish Shell.app'
  	located in Tk.framework/Versions/X.X/Resources.


type: ci
user: hobbs
comment:
  	* win/configure:
  	* win/tcl.m4: removed incorrect checks for existence of
  	optimization.  TCL_CFG_OPTIMIZED is now defined whenever the user
  	does not build with --enable-symbols.


type: ci
user: wolfsuit
comment:
  Add an implementation of XSync that flushes the window buffers.  This fixes 814810.
  Also use tk text drawing for checkbutton & radiobutton labels.


type: ci
user: patthoyts
comment:
  	* win/tcl.m4:         Add TIP #150 items to the TEA makefiles.
  	* win/configure:
  	* win/Makefile.in:

  	* win/tkWinSend.c:    Clean up some warnings from gcc -Wall.
  	* win/tkWinSendCom.c:


type: ci
user: dgp
comment:
          * unix/configure.in:    Added check that version of Tcl header found
          by configure matches that of the Tk we wish to build.  As long as
          the Tk sources insist on lockstep releases, Tk's configuration should
          verify that's what we have.  [Bug 749088]

          * unix/configure:       autoconf (2.57)


type: ci
user: patthoyts
comment:
  	* library/console.tcl: Avoid including the console in the list
  	of interpreters exposed by [winfo interps].


type: ci
user: dgp
comment:
          * unix/tcl.m4 (SC_PATH_TCLCONFIG):      Corrected search path so
          that alpha and beta releases of Tcl are not favored. [Bug 608698]

          * unix/configure:       autoconf (2.57)


type: ci
user: dgp
comment:
          *unix/configure.in:     Reconfigured to use $TCL_PREFIX as the
          default value of --prefix, and also added warning when a TK_PREFIX
          value different from TCL_PREFIX is selected, since [package require Tk]
          fails in that configuration. [Bugs 428627,765642]

          * unix/configure:       autoconf (2.57)


type: ci
user: hobbs
comment:
  	* mac/tkMacButton.c (TkpDisplayButton):
  	* macosx/tkMacOSXButton.c (TkpDisplayButton):
  	* unix/tkUnixButton.c (TkpDisplayButton): correct imageYOffset for
  	buttons with just images.


type: ci
user: dgp
comment:
          * doc/ConfigWidg.3:     Removed reference to Tk_Offset from the
          NAME section to resolve mkLinks conflict with SetOptions.3 [Bug 404197]
          * unix/mkLinks:         make mklinks


type: ci
user: jenglish
comment:
  * library/text.tcl, doc/text.n:  Text widget binding for
  Control-v is now Mac-only, since it conflicts with standard
  <<Paste>> binding on other platforms.  [Bug #605277]


type: ci
user: hobbs
comment:
          * generic/tkInt.h:      move TkGetOptionSpec to stubs intDecls
          * generic/tkIntDecls.h:
          * generic/tkInt.decls:
          * generic/tkStubInit.c:
          * tkDecls.h:            updated with latest genstubs
          * tkIntPlatDecls.h:
          * tkIntXlibDecls.h:
          * tkPlatDecls.h:


type: ci
user: hobbs
comment:
  	* tests/listbox.test (13.3): correct result size
  	(4.7): correct test for possible window drift [Bug #701931] (dgp)


type: ci
user: dkf
comment:
  	* library/tkfbox.tcl (IconList_Create,IconList_Add): Added option
  	munging to allow some control of foreground colours on Unix in the
  	same way that you can influence the background.  [Bug 795717]


type: ci
user: jenglish
comment:
  Delete WM_TRANSIENT_FOR property instead of setting it to None
  when making a window nontransient [Bug #632816 "cannot remove transient"]


type: ci
user: jenglish
comment:
  changed macro argument names to match function argument names
  ('dest' and 'src' were swapped, which was confusing) [GPS]


type: ci
user: wolfsuit
comment:
  2003-10-23  Jim Ingham  <jingham@apple.com>

          * macosx/tkMacOSXDialog.c (NavServicesGetFile): Minor cleanups.
          (OpenFileFilterProc): Handle FSRef's as well as FSSpec's in the input
          file.  Also convert the FSSpec filename to an C-string before passing
          to MatchOneFile.  [bug 517600]
          (MatchOneFile): Require the input filename to be a C-string, not a
          pascal string.


type: ci
user: hobbs
comment:
          * unix/tkUnixFont.c (GetFontAttributes): place extra check for NULL
          family against bad X servers.


type: ci
user: hobbs
comment:
          * win/tkWinImage.c (XGetImageZPixmap): add separate 16bpp
          XGetImage code to correctly handle 16bpp requests.  This appears
          to never have worked correctly.


type: ci
user: hobbs
comment:
          * tests/focusTcl.test (setup1): expand frame size to allow for
          correct visibility of windows that use larger default fonts.


type: ci
user: hobbs
comment:
          * generic/tkImgPhoto.c (ImgPhotoBlendComplexAlpha): add alpha
          blending for images with partial transparency.  Only operates for
          15bpp+ display. [Bug 809157]


type: ci
user: hobbs
comment:
          * generic/tkImgPhoto.c (ImgPhotoBlendComplexAlpha): OS X uses
          32bpp images internally always, so make use of the assumption.


type: ci
user: hobbs
comment:
          * win/configure:
          * win/configure.in: define TK_LIB_FLAG, TK_LIB_SPEC,
          TK_BUILD_LIB_SPEC, TK_STUB_LIB_SPEC, TK_STUB_LIB_PATH, and
          TK_BUILD_STUB_LIB_PATH for tkConfig.sh [Bug #826614]


type: ci
user: hobbs
comment:
          * library/tkfbox.tcl (::tk::dialog::file::Update): optimize the
          dir/files list separation by using the -tails, -directory and
          -type option of 'glob'.  Also passes the glob the -filetypes
          filters instead of calling string match over each file.
          [Patch #833819]


type: ci
user: hobbs
comment:
          * unix/Makefile.in (SHLIB_LD_FLAGS): include in Makefile as it is
          used in MAKE_LIB sometimes (ie: AIX-64) [Bug #829686] (jimix)


type: ci
user: hobbs
comment:
  	* unix/configure:
  	* unix/configure.in: use xft-config instead of pkg-config to
  	determine xft info.
  	* unix/tcl.m4: improve AIX --enable-64bit handling
  	remove -D__NO_STRING_INLINES -D__NO_MATH_INLINES from
  	CFLAGS_OPTIMIZE on Linux.  Make default opt -O2 (was -O).


type: ci
user: hobbs
comment:
          * macosx/tkMacOSXClipboard.c (TkSuspendClipboard, TkSelGetSelection):
          add unicode clipboard support. [Patch #840107] (senn)


type: ci
user: hobbs
comment:
          * win/tkWinDraw.c (XFillRectangles): correctly handle the
          XGCValues.function parameter when filling rectangles.
          [Bug #820278] [Patch #820282]


type: ci
user: hobbs
comment:
          * generic/tkListbox.c (ListboxDeleteSubCmd, ListboxListVarProc):
          free itemconfig data when removing it from table. [Bug #836483]


type: ci
user: hobbs
comment:
          * generic/tkButton.c (ConfigureButton): abort option processing if
          the button was deleted. [Bug #824479]


type: ci
user: hobbs
comment:
          * generic/tkMenuDraw.c (TkPostSubmenu): add {} around menu name in
          case it has spaces when calling Tcl_VarEval.  This is a hack until
          this is rewritten for proper Tcl_Obj handling. [Bug #723856]


type: ci
user: hobbs
comment:
          (::tk::dialog::file::ActivateEnt): allow typing filename into
          entry when tk_getOpenFile -multiple 1 is specified. [Bug #788069]


type: ci
user: dkf
comment:
  Fixes to prevent infinite event sequences in 'make test' on slow connections
  Also a bit of whitespace/style police work.  [Bug 837300]


type: ci
user: hobbs
comment:
  	* generic/tkMenubutton.h: fixed compound menubutton handling like
  	* generic/tkMenubutton.c: *button corrections of 2003-04-25.
  	* mac/tkMacMenubutton.c (TkpDisplayMenuButton):
  	* unix/tkUnixMenubu.c (TkpDisplayMenuButton):


type: ci
user: dgp
comment:
          * tests/constraints.tcl:When running the test suite in a process
          * tests/image.test:     where Tk has been [load]ed, there's no
          * tests/select.test:    guarantee that child processes created by
          * tests/unixWm.test:    [exec [interpreter]] will have Tk in them.
          * tests/window.test:    Made modifications to force a [load] of Tk
                                  in those situations.


type: ci
user: dgp
comment:
          * win/makefile.vc:      Restored consistency of pkgIndex.tcl file
          with that generated by Makefile.

  	Let's discuss whether there's really need for a change, and if so,
  	let's make it consistently in all Makefiles.


type: ci
user: a_kovalenko
comment:
  Corrected targetWinPtr check, now if winPtr==0 and targetWinPtr!=0 then
  the event is not ignored any more


type: ci
user: wolfsuit
comment:
  2003-11-18  Jim Ingham  <jingham@apple.com>

          * macosx/tkMacOSXScrlbr.c: Reworking Vince's fix to [Bug 842952].  This
          version is clearer, and works helps keep the mouse better pinned to the
          scrollbar.  I also removed the glitch where the scrollbar would jump get
          its middle over the mouse when you first moved it.


type: ci
user: davygrvy
comment:
  (TkWinXInit): Don't restric InitCommonControlsEx.  It's valid on all platforms
  given IE 3.0+ is installed.  As tkWinX.c does set #define _WIN32_IE 0x0300,
  I guess we can accept IE3 as the lowest denominator and use version 4.71
  features of Comctl32.dll


type: ci
user: hobbs
comment:
  	* unix/configure:
  	* unix/tcl.m4: updated OpenBSD build configuration based on
  	[Patch #775246] (cassoff)


type: ci
user: cc_benny
comment:
  * Comments: Add and clarify some points, correct spellings.
  * Whitespace: Remove tabs, re-indent, re-wrap comments.
  * keyArray: Reorder keys in logical groups.
  * vituralkeyArray: Rename virtualkeyArray.
  * Prototypes, function headers: Use ISO-C consistently.


type: ci
user: cc_benny
comment:
  * (Tk_MeasureChars): Initialize size.cx in case of errors.
    Initialize lastsize (fixes bug with wrong *lenghtPtr results
    in case no chars fit at all).


type: ci
user: davygrvy
comment:
  Reverted to 1.15 for two reasons.  1) problem is best addressed in Tcl's
  DllMain() and 2) needs a MinGW custom assembly  implimentation as
  it doesn't understand SEH syntax.


type: ci
user: davygrvy
comment:
  (TkWinEmbeddedEventProc) : for loop dereferences containerPtr but can't
  get to the if (containerPtr == NULL) test due to the unhandled read
  memory exception for when it really is NULL.


type: ci
user: cc_benny
comment:
  * (Tk_MeasureChars): Fix bugs shown by the test suite
    [#861777].  Clarify comment on TK_AT_LEAST_ONE.


type: ci
user: davygrvy
comment:
  	* generic/tkEvent.c:  Added three new functions: TkCreateExitHandler,
  	* generic/tkInt.h:    TkDeleteExitHandler, and TkFinalize.  This adds
  	* generic/tkMenu.c:   an insertion point so Tk's exit handlers can be
  	* generic/tkWindow.c: called on their own from tk85.dll's DllMain
  	* mac/tkMacButton.c:  for DLL_PROCESS_DETACH.  These are private to
  	* unix/tkUnixEvent.c: the binary and not exported.  It is possible
  	* win/tkWin32Dll.c:   the Windows OS can unload Tk _prior_ to Tcl
  	* win/tkWinEmbed.c:   under some conditions such as ExitProcess().
  	* win/tkWinMenu.c:    This avoids a dangling pointer problem when Tcl
  	* win/tkWinX.c:	      does Tcl_Finalize after Tk has been unloaded.
  	* win/winMain.c:      DllMain's DLL_PROCESS_DETACH now protected with
  			      SEH as DeleteWindowsExitProc is causing an
  			      exception of its own under some teardown
  			      conditions.  AT&T assembly syntax has not been
  			      added for MinGW yet.  [Tcl Patch 858493]


type: ci
user: cc_benny
comment:
  * LATIN1_MAX and MAC_KEYCODE_MAX: Add and use for better
    maintainability.
  * General comment on keyArray: Add.
  * (XKeycodeToKeysym): Replace garbled comment.  Use symbols
    instead of magic constants.
  * (TkpGetKeySym): Reorder computations to make this more
    logical.


type: ci
user: cc_benny
comment:
  * (TkpInitKeymapInfo): Remove dead code.  The code depended on
    the result of XGetModifierMapping, but that will always
    return an empty list.
  * ALT_MASK, OPTION_MASK: Symbols for understanding the code
    better.
  * (TkpSetKeycodeAndState): Hardcode Mode_switch == Option.
  * (TkpGetKeySym): Ditto.
  * (TkpGetKeySym): Comment lockUsage conditions, Mac OS X uses
    LU_CAPS always.
  * (XKeycodeToKeysym): Handle option key in parameter index
    (only used by TkpGetKeySym).
  * (TkpGetKeySym): Use Tcl_UniCharIsUpper, highlight problems
    with Latin1 limitation.


type: ci
user: cc_benny
comment:
  * latin1Table, (InitLatin1Table): Add.
  * (XKeysymToMacKeycode): Add.
  * (XKeysymToKeycode): Use XKeysymToMacKeycode.
  * (TkpSetKeycodeAndState): Ditto.
  * (TkpSetKeycodeAndState): Adapt modifier flags handling.
  * (TkpInitKeymapInfo): Update a comment.


type: ci
user: cc_benny
comment:
  * (InitLatin1Table): Rename initialized to latin1_initialized
    to avoid confusion.  Actually set lastKeyLayoutID.  Use
    keycode<<16 for XKeycodeToKeysym.
  * (XKeycodeToKeysym): Remove variables c and virtualKey,
    simplify code, don't special handle keycode == 0 (-> 'a').
  * (XKeysymToMacKeycode): Add handling for function keys.  Use
    ASCII control codes instead of keysyms.
  * (TkpSetKeycodeAndState): Ditto.


type: ci
user: davygrvy
comment:
  	* win/tkWinMenu.c (ReconfigureWindowsMenu) : Only redraw the
  	menubar when a menubar exists.  Although the invalid handle
  	doesn't cause an exception, it was discovered with NuMega's
  	BoundsChecker.


type: ci
user: davygrvy
comment:
  (ReconfigureWindowsMenu) : Only redraw the menubar when a menubar
  exists.  Although the invalid handle doesn't cause an exception, it was
  discovered with NuMega's BoundsChecker and flagged as a problem.


type: ci
user: davygrvy
comment:
  	* win/tkWinWm.c (UpdateGeometryInfo) : wmPtr->wrapper might
  	be NULL.  No exception is thrown, but it isn't correct to ignore.
  	discovered with NuMega's BoundsChecker.


type: ci
user: patthoyts
comment:
  	* win/tkWinSend.c: Removed some misleading comments (bug #846134)
  	and disabled the send package until bug #858822 is resolved.


type: ci
user: patthoyts
comment:
  	* win/rc/wish.exe.manifest: It seems that Windows XP insists on a
  	strict format for the version value. 8.5.a0 or 8.5.0 results in an
  	unloadable executable -- must be 4 numbers.


type: ci
user: mdejong
comment:
  	* win/tkWin32Dll.c (DllMain): Add HAVE_NO_SEH
  	blocks in place of __try and __except statements
  	to support gcc builds. This is needed after
  	David's changes on 2003-12-21. [Tcl patch 858493]


type: ci
user: davygrvy
comment:
  Uses new features of nmakehlp to get the version strings from header files
  without the use of hardcoded values.


type: ci
user: davygrvy
comment:
  	* win/rc/tk.rc:
  	* win/rc/tk_base.rc:
  	* win/rc/wish.rc:
  	* win/makefile.vc:  Refreshed how the resource files are built.
  	Should be a bit easier for people linking with a static Tk library.


type: ci
user: mdejong
comment:
  	* win/tkWinMenu.c (DrawMenuEntryAccelerator,
  	DrawMenuEntryArrow): Move the unused menu
  	arrow drawing code in DrawMenuEntryAccelerator
  	into a new function named DrawMenuEntryArrow.
  	This makes no functional change but it will
  	make it easier to fix things in the future.


type: ci
user: mdejong
comment:
  	* win/tkWinMenu.c (DrawMenuEntryAccelerator,
  	DrawMenuEntryLabel): When drawing the label
  	text and accelerator text for a disabled
  	menu entry be sure to draw a 3D highlight.
  	The only exception to this is when a
  	disabled menu entry is highlighted, in that
  	case do not draw a 3D hightlight.


type: ci
user: mdejong
comment:
  	* win/tkWinMenu.c (DrawWindowsSystemBitmap):
  	Fix a strange Win32 bug where the logical
  	coordinates returned by a call to DPtoLP
  	are wrong the first time a menu is posted.
  	This bug manifested itself by drawing the
  	bitmap in the wrong place in a menu.
  	The fix was to pass the newly created DC
  	instead of the DC from the window.


type: ci
user: mdejong
comment:
  	* win/tkWinMenu.c (ReconfigureWindowsMenu,
  	TkWinHandleMenuEvent, DrawMenuEntryArrow):
  	Fix drawing of a disabled cascade menu
  	arrow. Tk was displaying a disabled cascade
  	menu arrow in black instead of gray. This
  	was caused by a bug in the Win32 code for
  	user drawn menu items. The fix is to avoid
  	telling Windows that the menu item is a
  	cascade type and then draw the gray arrow
  	bitmap on our own.
  	[Patch 865842]


type: ci
user: das
comment:
          * macosx/Wish.pbproj/project.pbxproj: added missing private headers
          to installed Tk.framework, so that tkInt.h can be included
          sucessfully from Tk.framework/PrivateHeaders.
  	* generic/tkPort.h: corrected include of tkMacOSXPort.h


type: ci
user: davygrvy
comment:
  	* generic/tk3d.c:	All uses of 'panic' (the macro) changed
  	* generic/tkBind.c:	to 'Tcl_Panic' (the function).  The #define
  	* generic/tkBitmap.c:	of panic in tcl.h clearly states it is
  	* generic/tkCanvArc.c:	deprecated in the comments.
  	* generic/tkCanvBmap.c: [Tcl Patch 865264]
  	* generic/tkCanvImg.c:
  	* generic/tkCanvLine.c:
  	* generic/tkCanvPoly.c:
  	* generic/tkCanvText.c:
  	* generic/tkCanvWind.c:
  	* generic/tkColor.c:
  	* generic/tkConfig.c:
  	* generic/tkCursor.c:
  	* generic/tkError.c:
  	* generic/tkEvent.c:
  	* generic/tkFocus.c:
  	* generic/tkFont.c:
  	* generic/tkFrame.c:
  	* generic/tkGC.c:
  	* generic/tkGrid.c:
  	* generic/tkImgBmap.c:
  	* generic/tkImgPhoto.c:
  	* generic/tkImgUtil.c:
  	* generic/tkMenu.c:
  	* generic/tkObj.c:
  	* generic/tkPack.c:
  	* generic/tkPlace.c:
  	* generic/tkRectOval.c:
  	* generic/tkSelect.c:
  	* generic/tkText.c:
  	* generic/tkTextBTree.c:
  	* generic/tkTextDisp.c:
  	* generic/tkTextImage.c:
  	* generic/tkTextIndex.c:
  	* generic/tkTextMark.c:
  	* generic/tkTextWind.c:
  	* generic/tkVisual.c:
  	* generic/tkWindow.c:
  	* mac/tkMacAppInit.c:
  	* mac/tkMacAppearanceStubs.c:
  	* mac/tkMacButton.c:
  	* mac/tkMacDraw.c:
  	* mac/tkMacEmbed.c:
  	* mac/tkMacFont.c:
  	* mac/tkMacInit.c:
  	* mac/tkMacMenus.c:
  	* mac/tkMacPort.h:
  	* mac/tkMacSubwindows.c:
  	* mac/tkMacWm.c:
  	* mac/tkMacXStubs.c:
  	* macosx/tkMacOSXEmbed.c:
  	* macosx/tkMacOSXFont.c:
  	* macosx/tkMacOSXMenus.c:
  	* macosx/tkMacOSXNotify.c:
  	* macosx/tkMacOSXPort.h:
  	* macosx/tkMacOSXSubwindows.c:
  	* macosx/tkMacOSXWm.c:
  	* macosx/tkMacOSXXStubs.c:
  	* unix/tkUnix3d.c:
  	* unix/tkUnixColor.c:
  	* unix/tkUnixEmbed.c:
  	* unix/tkUnixEvent.c:
  	* unix/tkUnixFocus.c:
  	* unix/tkUnixFont.c:
  	* unix/tkUnixSelect.c:
  	* unix/tkUnixSend.c:
  	* unix/tkUnixWm.c:
  	* win/tkWin3d.c:
  	* win/tkWinButton.c:
  	* win/tkWinColor.c:
  	* win/tkWinDialog.c:
  	* win/tkWinDraw.c:
  	* win/tkWinEmbed.c:
  	* win/tkWinFont.c:
  	* win/tkWinPixmap.c:
  	* win/tkWinPointer.c:
  	* win/tkWinScrlbr.c:
  	* win/tkWinWm.c:
  	* win/tkWinX.c:


type: ci
user: pspjuth
comment:
  Implementation of TIP#146,
  "Add Overall Anchoring to the Grid Geometry Manager",
  adding [grid anchor] subcommand.


type: ci
user: das
comment:
          * generic/tkTextIndex.c: added '#include <tclInt.h>' since the
          code uses the TclUtfToUniChar macro from that file. [Bug 874745]

          * macosx/Wish.pbproj/project.pbxproj: removed erroneous reference
          to mkpsenc.tcl in bundle resources phase (mkpsenc.tcl is already
          part of the copy files phase to Resources/Scripts).

          * macosx/Makefile: added support for 'xcodebuild' on Mac OS X 10.3.


type: ci
user: davygrvy
comment:
  	* win/rules.vc:  Sync'd to Tcl, respects the CHECKS=nodep
  	commandline macro and was used to verify the Tcl_Panic change above.


type: ci
user: davygrvy
comment:
  * win/tkWinSendCom.c:  Placed the requirement for the special COM
  libraries into the object file itself with #paragma comment (lib, ...)
  when built with VC++.  This will simplify linking for users of the
  static library.  uuid.lib is required for VC5.2, but is implicit
  with VC6.

  * win/makefile.vc:  Removed 'ole32.lib oleaut32.lib uuid.lib' from
  $(baselibs).


type: ci
user: pspjuth
comment:
  The dialogs were affected by the TIP#146 implementation.
  Added grid anchor commands to restore original behaviour.


type: ci
user: cc_benny
comment:
  * (TkpSetKeycodeAndState): Add setting of xkey.trans_chars.
    Now event.test works except event-double-click-drag-1.1.


type: ci
user: davygrvy
comment:
  * win/makefile.vc:
  * win/rules.vc:
  * win/rc/tk.rc:
  * win/rc/wish.rc:  Now supports the 'unchecked' option when building.


type: ci
user: davygrvy
comment:
  * win/winMain.c: Removed our custom setargv() in favor of
  the exported __argc and __argv exported by the c-runtime.


type: ci
user: hobbs
comment:
  	* doc/menubutton.n:
  	* library/menu.tcl (::tk::MbPost): make menubuttons that post
  	above or below reverse direction when not enough space is available.


type: ci
user: wolfsuit
comment:
  Fix a bug in tk_getOpenFile - files with no types are rejected when they would
  pass in Mac OS Classic.
  Add the tkMacOSXCarbonEvents.c - just a skeleton right now.
  A bunch of formatting nits fixed.


type: ci
user: hobbs
comment:
  	* win/tkWinDialog.c (ChooseDirectoryValidateProc): create a pidl
  	for -initialdir if we have a UNC path because BFFM_SETSELECTION
  	doesn't support UNC paths in strings.


type: ci
user: hobbs
comment:
  	* doc/checkbutton.n: TIP#110 implementation
  	* doc/radiobutton.n: Tristate Checkbutton and Radiobuttons
  	* generic/tkButton.c:
  	* generic/tkButton.h:
  	* library/demos/check.tcl:
  	* library/demos/radio.tcl:
  	* macosx/tkMacOSXButton.c:
  	* macosx/tkMacOSXDefault.h:
  	* tests/button.test:
  	* unix/tkUnixButton.c:
  	* unix/tkUnixDefault.h:
  	* win/tkWinButton.c:
  	* win/tkWinDefault.h:


type: ci
user: das
comment:
  	* macosx/tkMacOSXDraw.c:
  	* macosx/tkMacOSXXStubs.c:
  	* xlib/ximage.c: fixed MacOSX XGetImage/XPutImage and related
  	functions to deal properly with XImages copied from screen.
  	* generic/tkCanvPs.c (TkImageGetColor): MacOSX fix.
  	[Bug 809157]


type: ci
user: dkf
comment:
  Thought about the doc-fix a bit more and decided to remove the typedef
  line instead; you'd never type it to use a Tk_Uid, after all...


type: ci
user: dgp
comment:
          * tests/imgPhoto.test (imgPhoto-16.1):  Corrected incorrect
          variable name [Bug 899010].


type: ci
user: hobbs
comment:
  	* generic/tkBind.c (HandleEventGenerate): only modify root[xy]
  	with [xy] when they haven't been otherwise set.


type: ci
user: das
comment:
  	* macosx/Makefile: ensure that xcodebuild will use the
  	Wish.pbproj project even if a .xcode project is also present.


type: ci
user: das
comment:
  	* macosx/tkMacOSXMouseEvent.c: fixed modifiers for MouseWheel events.

  	* macosx/Wish.pbproj/project.pbxproj:
  	* macosx/tkAboutDlg.r: changed year in copyright strings to 2004.


type: ci
user: cc_benny
comment:
  * macosx/tkMacOSXKeyboard.c (TkpInitKeymapInfo): Don't make
    <Alt> and <Meta> synonyms for <Command> and <Option> for
    now. (already on 2004-02-17)


type: ci
user: dgp
comment:
          * unix/tcl.m4 (SC_CONFIG_CFLAGS):       Allow 64-bit enabling on
          IRIX64-6.5* systems.  [Bug 218561]
          * unix/configure:       autoconf-2.57


type: ci
user: hobbs
comment:
  	* unix/Makefile.in (dist): don't require win/lamp.bmp copy in dist
  	target (it's already handled by win/rc/*.bmp copy)


type: ci
user: mdejong
comment:
  	* win/tkWin32Dll.c: Add variables needed when
  	compiling with mem debug under Mingw. This
  	fixes the checking from 2003-12-25.


type: ci
user: hobbs
comment:
  	* unix/tkUnixButton.c (TkpDrawCheckIndicator): correct crash
  	condition for new radio/checkbuttons when colors are exhausted.
  	[Bug 915330] (griffin)


type: ci
user: hobbs
comment:
  	* unix/configure, unix/tcl.m4: add -Wno-strict-aliasing for GCC to
  	suppress useless type puning warnings.


type: ci
user: dgp
comment:
          * README:               Bump version to 8.5a2.
          * generic/tk.h:
          * macosx/Wish.pbproj/project.pbxproj:
          * unix/configure.in:
          * unix/tk.spec:
          * win/configure.in:

          * unix/configure:       autoconf-2.57
          * win/configure:


type: ci
user: wolfsuit
comment:
  XMoveWindow and XMoveResizeWindow need to propagate ConfigureNotify events
  to the children of the moved or resized window.


type: ci
user: dgp
comment:
          * generic/tkImgPhoto.c: Removed outdated #include's of the tclMath.h
          * generic/tkScale.c:    header file.  All tk*Port.h files have long
          had a #include <math.h>, and other parts of Tk routinely make use
          of libm-supplied math routines.


type: ci
user: dkf
comment:
  Allow old-style image formats to create string representations of photos,
  and allow the production of PPM format data in a string. [Bug 923555]


type: ci
user: jenglish
comment:
  Fix for bug #915350  "Tk sets min, max size in WM_HINTS when it shouldn't"
  and #922336 "Tk apps have no maximize window button under KDE-3.2.1"


type: ci
user: dgp
comment:
          * unix/tcl.m4:  Replaced -Wno-strict-alias with more portable
                          -fno-strict-alias alternative.
  	* unix/configure:       autoconf-2.57


type: ci
user: das
comment:
  	* generic/tkPort.h:
  	* unix/Makefile.in:
  	* win/Makefile.in: followup on tcl header reform [FR 922727]:
  	removed use of relative #include paths in tkPort.h to allow
  	installation of private headers outside of tk source tree; added
  	tcl plaform source dir to compiler header search path.


type: ci
user: hobbs
comment:
  	* library/panedwindow.tcl (MarkSash): call DragSash to stop sash
  	jump when B1 is pressed and released without moving. [Bug #932155]


type: ci
user: cc_benny
comment:
  Fix several problems with Icelandic (and Faroese) keyboards
  reported by J�r�me Gagnon-Voyer <gagnonje5000<at>mac<dot>com>
  on tcl-mac on 2004-03-22.

  (KLSInit): Add.
  (GetKCHREncoding): Add.
  (GetKeyboardLayout): Add calls to Keyboard Layout Services, if
  present.  Rework classic handling.  Use GetKCHREncoding().
  Add parameter encodingPtr.


type: ci
user: cc_benny
comment:
  2004-04-21  Benjamin Riefenstahl  <Benjamin.Riefenstahl@epost.de>

  	Mac OS X: Fix several problems with Icelandic (and Faroese) keyboards
  	reported by J�r�me Gagnon-Voyer <gagnonje5000<at>mac<dot>com> on
  	tcl-mac on 2004-03-22.

  	* macosx/tkMacOSXKeyEvent.c (KLSInit): Add.
  	(GetKeyboardLayout): Add calls to Keyboard Layout Services, if
  	present.  Rework classic handling.  Use GetKCHREncoding().  Add
  	parameter encodingPtr.
  	(GetKCHREncoding): Add.


type: ci
user: hobbs
comment:
  	* library/bgerror.tcl (bgerror): rework to only set -topmost bit
  	on Windows if necessary.  Also use existing ::tk functions for
  	placing dialog and managing focus/grab.


type: ci
user: hobbs
comment:
  	* win/tkWinX.c:                fix drawing of unicode chars in menu
  	* win/tkWinInt.h (TkWinProcs): titles. [Bug #904371] (riefenstahl)
  	* win/tkWinMenu.c (ReconfigureWindowsMenu):


type: ci
user: das
comment:
  	* generic/tkPort.h:
  	* unix/Makefile.in:
  	* win/makefile.bc:
  	* win/Makefile.in: followup on tcl header reform [FR 922727]:
  	removed use of relative #include paths in tkPort.h to allow
  	installation of private headers outside of tk source tree; added
  	tcl plaform source dir to compiler header search path.


type: ci
bgcolor: #60c060
user: hobbs
comment:
  	* tests/panedwindow.test: panedwindow-25.1
  	* generic/tkPanedWindow.c (Unlink): clean up -before/-after refs
  	to a slave when removing it. [Bug #928413] (griffin)


type: ci
user: hobbs
comment:
  	* generic/tkImgPhoto.c (ImgPhotoConfigureMaster): force -data into
  	ByteArray and -format into String to correctly handle them if they
  	have been shimmered or created as some other object type.


type: ci
user: hobbs
comment:
  	* generic/tkClipboard.c:   Move TkClipCleanup from tkClipboard.c
  	* macosx/tkMacOSXXStubs.c: to being implemented in a platform
  	* unix/tkUnixEvent.c:      specific manner.  The cleanup order was
  	* win/tkWinX.c:            bad at least on Windows, where we
  	reset/cleared display info that was still needed for the clipboard
  	to render. [Bug #939389, #822002, #732662]


type: ci
user: hobbs
comment:
  	* unix/tkUnixButton.c (TkpDrawCheckIndicator): allow radiobuttons
  	to be drawn when disabledforeground and/or selectcolor are NULL.
  	[Bug #826850] (griffin)


type: ci
user: hobbs
comment:
  	* win/tkWinMenu.c, unix/tkUnixMenu.c (DrawMenuEntryLabel): place
  	images of compound menu entries in indicator space if not a radio
  	of checkbutton. [Bug #756952] (eserte)


type: ci
user: hobbs
comment:
  	* win/tkWinFont.c (FindSubFontForChar): corrections to dkf patch
  	to handle subFontPtrPtr in EnumFontFamilies callback.


type: ci
user: dgp
comment:
          * tests/filebox.test:   A few typo corrections in dkf's recent
          * tests/frame.test:     style upgrade for the test suite.
          * tests/select.test:
          * tests/visual.test:


type: ci
bgcolor: #60c060
user: mdejong
comment:
  	* generic/tkCanvText.c (DisplayCanvText): Fix text
  	rendering problem with canvas text items that
  	have a selected region. The previous implementation
  	would render the whole line and then redraw the
  	selected text if it was a different color. This caused
  	problems when the selected text foreground differs
  	from the normal text foreground, the anti-aliasing
  	alpha pixels for the two text strings would blend
  	together resulting in strange looking text. The
  	fix is to draw the normal text and the selected text
  	separately. This problem has only been observed
  	under Windows, with anti-aliased text. [Patch 968725]


type: ci
user: a_kovalenko
comment:
  * win/tkWinWm.c (UpdateWrapper): Let overrideredirect'ed window's
  wrapper be the child of desktop window, thus making it to behave more
  similarly to X11 Override Redirect. Esp. useful for combobox-like
  megawidgets.


type: ci
user: dkf
comment:
  Adjust #defs so they are flexible enough to be used in all places.
  Also removed a shadowing variable.


type: ci
user: a_kovalenko
comment:
  win/tkWinButton.c: Add a 3D highlight to disabled *buttons and
  labels, the same way as it's now done for disabled menu entries.


type: ci
user: hobbs
comment:
  	* generic/tkCmds.c (Tk_WinfoObjCmd): refetch interp result obj for
  	'winfo id' as it can change when making the window exist.


type: ci
user: georgeps
comment:
  tkEvent.c was refactored to be cleaner and fix two bugs.  Two bugs were found and fixed.  Button mask 4 and 5 synchronizing with the TkDisplay and ClientMessage handlers conflicting with the GenericHandler list.


type: ci
user: jenglish
comment:
  Set _NET_WM_NAME and _NET_WM_ICON_NAME (freedesktop.org)
  in addition to WM_NAME and WM_ICON_NAME (ICCCM).  This allows
  the full Unicode character set to be used in window manager strings
  (but only for newer WMs that support the EWMH spec).
  [Tk Bug #959973]


type: ci
user: hobbs
comment:
  	* unix/Makefile.in, unix/tcl.m4:     move (C|LD)FLAGS after their
  	* unix/configure.in, unix/configure: _DEFAULT to allow for env
  	setting to override m4 switches.
  	Consolidate header checks to limit redundancy in configure.
  	(CFLAGS_WARNING): Remove -Wconversion
  	(SC_ENABLE_THREADS): Set m4 to force threaded build when built
  	against a threaded Tcl core.
  	Reorder configure.in for better 64-bit build configuration,
  	replacing EXTRA_CFLAGS with CFLAGS.  [Bug #874058]


type: ci
user: das
comment:
  	* macosx/Makefile: added support to tk framework build to
  	optionally install tk manpages in addition to html help,
  	similarly to tcl/macosx/Makefile.

  	* macosx/Wish.pbproj/project.pbxproj: fixes for building with
  	non-default SYMROOT/OBJROOT/SRCROOT, added support for using a
  	Tcl.framework in DYLIB_INSTALL_PATH != /Library/Frameworks,
  	added optional support for building html help without tcl sources
  	present by giving explicit location of tcltk-man2html script.

  	* macosx/tkMacOSXMenu.c: fixed #include case sensitivity bug.


type: ci
user: georgeps
comment:
  The usage of the TK_XIM_SPOT definition was causing a build failure with some systems.  I changed the function prototype and the CreateXIMSpot block to work correctly.


type: ci
user: dgp
comment:
          * library/tkfbox.tcl: Corrected coding errors in most recent change.
          Use [bind $w], not [$w configure] to modify bindings.


type: ci
user: wolfsuit
comment:
  2004-07-14  Jim Ingham  <jingham@apple.com>

          * macosx/tkMacOSXCursor.c (TkpSetCursor): The code to not
          reset the cursor more often than necessary was getting fooled
          when the current cursor was nulled out when the current cursor
          gets freed.  So in the case where the input cursor was NULL, we
          have to just always set it. [Bug #894550]


type: ci
user: das
comment:
  	* unix/configure:
  	* unix/tcl.m4 (SC_CONFIG_CFLAGS): Darwin: instead of setting PLAT_OBJS
  	to explict object files in tcl.m4, refer to MAC_OSX_OBJS makefile var.


type: ci
user: das
comment:
  	* unix/Makefile.in:
  	* win/Makefile.in: added 'install-private-headers' makefile target
  	to allow optionally installing private tk headers. [Tcl FR 922727]


type: ci
user: mdejong
comment:
  	* tests/canvText.test:
  	* win/tkWinFont.c (Tk_MeasureChars): Fix for text
  	wrapping problem that appeared using canvas text
  	under Win32. A long wrapping string that had
  	leading spaces was being incorrectly wrapped.
  	This change makes the Win32 implementation behave
  	the same as the Unix implementation. [Patch 1006286]


type: ci
user: hobbs
comment:
  	* library/tkfbox.tcl (::tk::dialog::file::Update): use -directory
  	[pwd] (instead of .) to get around some VFS edge case bugs.
  	Correct args passes to tk_messageBox when failing to cd.
  	Add -force back to namespace import of msgcat.


type: ci
user: das
comment:
  	* generic/tkImgGIF.c (FileReadGIF): fix crash reported by Reinhard Max:
  	in case of premature end of image data, return error instead of
  	passing nil buffer to Tk_PhotoPutBlock().


type: ci
user: dkf
comment:
  Doc patches [1010083] and [1010607] from Mikhail Kolesnitschenko.
  Also some general fixes to menu.n and text.n


type: ci
user: jenglish
comment:
  Cast argument 7 of XChangeProperty to 'const unsigned char *'
  (from 'const char *') to satisfy Solaris 8 Forte C compiler
  [Bug #1012325]


type: ci
user: dgp
comment:
          * tests/safe.test (safe-1.3):  Made test less sensitve to the
          full set of existing aliases in an interp, so the it only tests
          whether the tested ones are present.

          * unix/Makefile.in:     Copied LD_LIBRARY_PATH machinery from
          `make shell` target to other similar targets so that just built
          libraries are tested, rather than previous installations.


type: ci
user: hobbs
comment:
  	* win/tkWinDialog.c (Tk_MessageBoxObjCmd): Inherit the icon from
  	* win/tkWinInt.h:                          the -parent window for
  	* win/tkWinWm.c (TkWinGetIcon):            the MessageBox.


type: ci
user: dgp
comment:
          * macosx/tkMacOSXWm.c:  Made use of Tcl_WrongNumArgs in a few
          * win/tkWinMenu.c:      appropriate spots.


type: ci
user: hobbs
comment:
  	* library/tkfbox.tcl (::tk::dialog::file::Create): use label
  	instead of button for "File of type", as it properly handles
  	-state disabled now.


type: ci
user: hobbs
comment:
  	* win/tkWinWm.c (ReadIconFromFile): when using SHGetFileInfo to
  	retrieve icon, get regular icon as well for correct Alt-Tab icon.


type: ci
user: hobbs
comment:
  	* generic/tkMenu.c (MenuWorldChanged): ensure that we recompute
  	the menu geometry on WorldChanged to handle font size
  	changes. [Bug 607649]


type: ci
user: hobbs
comment:
  	* win/tkWinWm.c (ActivateWindow): SetFocus to grab window when
  	clicking outside the grab window hierarchy. [Bug 220908]


type: ci
user: hobbs
comment:
  	(UpdateWrapper): update to 2004-06-12 Kovalenko to account for
  	whether the override window has a transient parent, and apply
  	WS_POPUP in the correct case.  The makes splash screens pop up as
  	well as making dropdowns not grab focus away from the parent.


type: ci
bgcolor: #60c060
user: hobbs
comment:
  	(UpdateWrapper): update to Kovalenko to account for whether the
  	override window has a transient parent, and apply WS_POPUP in the
  	correct case.  The makes splash screens pop up as well as making
  	dropdowns not grab focus away from the parent.


type: ci
user: hobbs
comment:
  	* win/tkWinWm.c (ReadIconFromFile): fix mem alloc to get the right
  	size for both icons ('?:' order of precedence mistake).


type: ci
user: mdejong
comment:
  	* win/tkWinWm.c (WmIconwindowCmd): Replace bogus
  	call to XWithdrawWindow with proper code. This
  	avoids a "couldn't send withdraw message to window manager"
  	error when the iconwindow is already mapped.
  	The wm iconwindow command does not seem to do much
  	under Win32, but at least this avoids an error message.


type: ci
bgcolor: #60c060
user: hobbs
comment:
  	* win/tkWinWm.c (UpdateWrapper): Ensure that we maintain Z order
  	* tests/winWm.test:              and focus of preexisting window
  	when replacing the wrapper window.
  	* win/tkWinWm.c (WmIconwindowCmd): Replace bogus call to
  	XWithdrawWindow with proper code. (mdejong)


type: ci
user: hobbs
comment:
  	* win/tkWinWm.c (UpdateWrapper): Ensure that we maintain Z order
  	* tests/winWm.test:              and focus of preexisting window
  	when replacing the wrapper window.


type: ci
user: hobbs
comment:
  	* doc/wm.n:
  	* tests/winWm.test: Add 'wm attributes -alpha' to control toplevel
  	* win/tkWinInt.h:   alpha transparency on Win2K/XP+.
  	* win/tkWinWm.c:    TIP #222 [Patch 892194]


type: ci
user: mdejong
comment:
  	* generic/tkInt.decls: Add decl for TkWinGetPlatformTheme.
  	It is only defined under Win32.
  	* generic/tkIntPlatDecls.h: Regen.
  	* generic/tkStubInit.c: Regen.
  	* win/tkWinInt.h: Define TK_THEME_WIN_CLASSIC and
  	TK_THEME_WIN_XP.
  	* win/tkWinMenu.c (DrawMenuEntryAccelerator, DrawMenuEntryLabel):
  	Draw a disabled 3D text highlight for the accelerator only
  	with the Win95/98 look. Same goes for the menu entry text.
  	* win/tkWinX.c (TkWinGetPlatformId, TkWinGetPlatformTheme):
  	Automatically detect the Windows theme in use and return
  	either TK_THEME_WIN_CLASSIC or TK_THEME_WIN_XP when the
  	TkWinGetPlatformTheme function is invoked.
  	[Patch 866194]


type: ci
user: hobbs
comment:
  	(UpdateWrapper): don't adjust Z order of TOPMOST window.
  	(WmAttributesCmd): don't call UpdateWrapper for -disabled or
  	-toolwindow attr changes.


type: ci
user: hobbs
comment:
  	* win/tkWinWm.c (UpdateWrapper, WmAttributesCmd): handle attribute
  	settings prior to window mapping and resort to more forceful
  	wrapper update again for -toolwindow (to remove it from taskbar).


type: ci
bgcolor: #60c060
user: mdejong
comment:
  	* win/tkWinWm.c: Rework WS_EX_LAYERED and LWA_ALPHA
  	defines so that compiling with mingw works again.


type: ci
user: hobbs
comment:
  	* win/tkWinInt.h (TkWinDisplayChanged): added decl
  	* win/tkWinX.c (TkWinDisplayChanged, TkpOpenDisplay): Correctly
  	* win/tkWinWm.c (InvalidateSubTreeDepth, WmProc):     handle color
  	and screen resolution changes.  Tested for 16/24/32 bpp changes on
  	XP.  May need more fixes for 8bpp switch, use of special
  	colormaps, or other special palette handling cases.  [Bug 223689]


type: ci
user: patthoyts
comment:
  * win/tkWinX.c: Added declaration for advapi32 now that this file
  uses the Reg* functions (req'd for nmake build system).


type: ci
user: hobbs
comment:
  	* doc/wm.n (iconphoto):           added support for Tk photo
  	* generic/tkInt.h (TkDisplay):    images as titlebar icons. TIP #159
  	* win/tkWinWm.c (WmIconphotoCmd): wm iconphoto ?-default? image1 ...
  	* macosx/tkMacOSXWm.c (WmIconphotoCmd): Implemented for Win/Unix,
  	* unix/tkUnixWm.c (WmIconphotoCmd):     stubbed out for OS X.
  	* tests/wm.test, tests/unixWm.test, tests/winWm.test: [Bug 815751]


type: ci
user: dkf
comment:
  Add -hide and -stretch options to panedwindow widgets. (TIPs 177 and 179)
  Thanks to Brian Griffin for developing these! [Patch 983886]


type: ci
user: dkf
comment:
  Attempt to fix [Bug 919066] by allowing the code that creates the region
  much more knowledge of the platform functions available to it.


type: ci
user: hobbs
comment:
  	* win/tkWinWm.c (UpdateWrapper): pass SWP_NOOWNERZORDER to
  	SetWindowPos when maintaining win Z order, to prevent parent
  	from flashing (adjusting Z order).


type: ci
user: davygrvy
comment:
  * win/tkWinX.c:		     Signature for tkWinXCleanup needed to be
  * generic/tkInt.decls:       changed so it matches the Tcl_ExitProc
  * generic/tkIntPlatDecls.h:  typedef to avoid a bad-style cast.

  * win/makefile.vc: Force TCL_LIBRARY envar when calling tclsh


type: ci
user: patthoyts
comment:
  * win/tkWinRegion.c (TkpBuildRegionFromAlphaData): Fixed syntax error
  * generic/tkImgPhoto.c (Tk_PhotoPutBlock): Removed unreferences vars.


type: ci
user: mdejong
comment:
  	* tests/wm.test: Add Win32 test cases for attributes
  	subcommand.
  	* win/tkWinWm.c (WmAttributesCmd): Fixup broken
  	option processing logic for attributes subcommand.


type: ci
user: pspjuth
comment:
  Made handling of ^ a bit more consistent in
  corner cases.  This makes ^ work without any widgets in the same
  command. [Bug 962589]


type: ci
user: mdejong
comment:
  	* win/tkWin32Dll.c (DllMain, _except_dllmain_detach_handler):
  	Rework pushing of exception handler function pointer
  	so that compiling with gcc -O3 works. Remove empty
  	function call to avoid compiler warning. Mark the
  	DllMain function as noinline to avoid compiler
  	error from duplicated asm labels in generated code.


type: ci
user: patthoyts
comment:
  * unix/tkUnixScale.c (DisplayHorizontalValue): Fix for #220927 by
  Michael Schlenker to keep the labels within the window.


type: ci
user: dgp
comment:
          * tests/button.test: Update expected results to account for more
          verbose errorinfo from errors in variable traces [Tcl Bug 572164]


type: ci
user: dgp
comment:
          * dialog.test (dialog-1.1):     Update expected result to changes
          in the error messages produced by procs.


type: ci
user: das
comment:
  	* generic/tkMain.c:
  	* macosx/tkMacOSXAppInit.c (removed):
  	* macosx/Wish.pbproj/project.pbxproj:
  	* macosx/tkMacOSXInit.c:
  	* macosx/tkMacOSXInt.h: changes to make TkAqua dynamically loadable,
  	enabling [package require Tk] from tclsh. Startup code from
  	tkMacOSXAppInit.c moved into tkMacOSXInit.c, added code that
  	notifies the window server that an unbundled executable is a full
  	GUI application after loading Tk. [Patch 1035348]

  	* doc/wm.n: documented [wm attributes] on Mac OS X. [Bug 606665]
  	* macosx/tkMacOSXWm.c: implemented TIP 222 [wm attributes -alpha] on
  	Mac OS X. [Patch 892194]
  	WmIconbitmapCmd: adopted FSRef changes from [wm atttrs -titlepath].

  	* macosx/tkMacOSXSubwindows.c: synced spacing/formatting with
  	core-8-4-branch.

  	* generic/tkRectOval.c:
  	* macosx/README:
  	* macosx/tkMacOSXDefault.h:
  	* macosx/tkMacOSXDraw.c:
  	* macosx/tkMacOSXInit.c:
  	* macosx/tkMacOSXInt.h:
  	* macosx/tkMacOSXMenu.c:
  	* macosx/tkMacOSXWm.c: forward port from core-8-4-branch of Jim's
  	and my changes for CG drawing and [wm attributes] (corresponds to
  	8.4 changes dating from 09-18, 07-27, 07-24).

  	* macosx/tkMacOSXMouseEvent.c: endianness fixes.

  	* macosx/Wish.pbproj/project.pbxproj: corrected path to html help
  	inside framework.

  	* macosx/Makefile: prevent parallel make from building several
  	targets at the same time.


type: ci
user: hobbs
comment:
  	* generic/tkCmds.c (Tk_TkObjCmd): use correct screen data when
  	-displayof arg is passed to [tk scaling]. [Bug 800178]


type: ci
user: das
comment:
  	* doc/SetOptions.3:
  	* doc/text.n: fixed *roff errors uncovered by running 'make html'.

          * macosx/tkMacOSXFont.c (Tk_MeasureChars,Tk_DrawChars,etc): Make
          sure that the lastSubFontPtr remains valid even when the subfont
          array is reallocated. [Bug 618872]


type: ci
user: rmax
comment:
  * generic/tkEvent.c (InvokeInputMethods): Call XSetICFocus
  whenever the window receives focus. This fixes bug #905830 but
  avoids #1000051.


type: ci
user: das
comment:
  	* macosx/Wish.pbproj/project.pbxproj:
  	* macosx/buildTkConfig.tcl: fixes for tclConfig.h changes.

  	* macosx/Wish.pbproj/project.pbxproj: fixed references to renamed
  	bitmap files.

  	* macosx/Wish.xcode/project.pbxproj (new):
  	* macosx/Wish.xcode/default.pbxuser (new):
  	* macosx/Wish-Info.plist (new):
  	* macosx/Tk-Info.plist (new): added new Xcode 1.5 project using
  	native targets, made possible by tclConfig.h changes.

  	* generic/tk.h: added version number change comments for new files.


type: ci
user: hobbs
comment:
  	* generic/tkPanedWindow.c (Tk_PanedWindowObjCmd): set save_under X
  	attr to prevent expose events when moving sash. [Bug 1036963]


type: ci
user: rmax
comment:
  2004-11-18  Reinhard Max  <max@suse.de>
          * unix/tcl.m4 (SC_CONFIG_MANPAGES): Applied an improved version of
          * unix/configure.in:                patch #996085, that introduces
          * unix/Makefile.in:                 --enable-man-suffix.

          * unix/installManPage:              added
          * unix/mkLinks:                     removed


type: ci
user: dgp
comment:
          * library/msgs/it.msg:  Updated Italian message catalog.
          Thanks to Roberto Ugoccioni [Bug 1063675].


type: ci
user: hobbs
comment:
  	* library/console.tcl (::tk::console::ExpandVariable): correct
  	array keyname expansion. [Bug 1004508] (bold)


type: ci
user: das
comment:
  	* macosx/Wish.pbproj/project.pbxproj: reverted earlier changes for
  	tclConfig.h changes to tcl, since those have been reverted for now.


type: ci
user: hobbs
comment:
  	* generic/tkCanvWind.c (ConfigureWinItem): unmap windows
  	immediately when state hidden is requested. [Bug 982248]


type: ci
user: hobbs
comment:
  	* generic/tkCanvImg.c (ImageToPostscript): don't try ps generation
  	of canvas image item without image specified. [Bug 1032300]


type: ci
user: hobbs
comment:
  	* unix/tkUnixButton.c (TkpDisplayButton): constrain coords to
  	Tk_RedrawImage to display only portion that is valid.
  	* generic/tkImgPhoto.c (ImgPhotoDisplay): add X error suppression
  	around XGetImage to prevent app abort. [Bug 979239]


type: ci
user: das
comment:
          * macosx/Wish.pbproj/project.pbxproj: reverted earlier changes for
          tclConfig.h changes to tcl, since those have been reverted for now.


type: ci
user: jenglish
comment:
  Tk_DrawChars: Check for short integer overflow in x,y coordinates
  [Fixes: #942320 "Tk, Xft, text and long lines"]


type: ci
user: dgp
comment:
          * tests/canvPs.test:    Cleaned up the matching of [makeFile] and
          * tests/choosedir.test: [removeFile] commands as indicated by the
          * tests/filebox.test:   results of a -debug 1 run of the test suite.
          * tests/imgPPM.test:    Tk test suite is now -debug 1 clean.  This
          * tests/imgPhoto.test:  completes fixing [1078648].
          * tests/listbox.test:
          * tests/main.test:


type: ci
user: dkf
comment:
  Speed up use of Tk_PhotoPutBlock by allowing it to skip the complex-alpha check
  in degenerate (and common) cases. [Bug 1081966]


type: ci
user: chengyemao
comment:
  Make the container draw its background to avoid an unpainted toplevel when the embedded window is NULL


type: ci
user: chengyemao
comment:
  featrue implementation of Tk container and embedded including TK_MOVEWINDOW, TK_ICONIFY, TK_DEICONIFY, TK_WITHDRAW; replaced TK_TITLE with TK_GETFRAMEWID for setting container's title across process boundary; bug fix in wm overrideredirect for TK_EMBEDDED window


type: ci
user: chengyemao
comment:
  implemented overrideredirect for an embedded; corrected incorrect frame upper left x and y of an embedded toplevel


type: ci
user: chengyemao
comment:
  Modified for separating an embedded menu's window handler from a normal popup menu window's handler; improved an embedded menu display in Windows/XP


type: ci
user: hobbs
comment:
  	* win/tcl.m4, win/configure: update MSVC CFLAGS_OPT to -O2, remove
  	-Gs (included in -O2) and -GD (outdated).  Use "link -lib" instead
  	of "lib" binary and remove -YX for MSVC7 portability.  Add
  	-fomit-frame-pointer for gcc OPT compiles. [Bug 1092952, 1091967]


type: ci
user: hobbs
comment:
  	* win/tkWinWm.c (TkWinWmCleanup): clean up layered window class.
  	This caused crash in reinit of Tk (as seen in plugin).


type: ci
user: chengyemao
comment:
  Removed unnecsssary panic from TkpUseWindow and forced redraw container after the embedded detached


type: ci
user: chengyemao
comment:
  Changed to make platform implementation ready for a toplevel -use option; completed a full toplevel -use option configuration for Windows


type: ci
user: chengyemao
comment:
  Bug fix in ReconfigureWindowsMenu.  The bug caused a wrong geometry of a toplevel when created with a menu (bug# 1098625)


type: ci
user: dgp
comment:
          * unix/tcl.m4:          Sync'ed to Tcl's copy.
          * unix/configure:       autoconf-2.57


type: ci
user: chengyemao
comment:
  Added TK_INFO message for use in an embedded window attachment protocol; modified TkpUseWindow to allow to attach to a legacy container with a warning; modified some return values of messages from an embedded window to differentiate a case of unprocessed


type: ci
user: das
comment:
  	* macosx/tkMacOSXInit.c (TkpInit): set tcl_interactive to 1 to show
  	console at startup instead of directly calling [console show].

  	* unix/tcl.m4 (Darwin): fixed bug with static build linking to
  	dynamic library in /usr/lib etc instead of linking to static library
  	earlier in search path. [Tcl Bug 956908]
  	Removed obsolete references to Rhapsody.
  	* unix/configure: autoconf-2.57


type: ci
user: chengyemao
comment:
  Simplified TkpUseWindow; got rid of unnecessary code for saving an embedded window info in a container struct; stopped using a destruction event handler for an embedded window since it has nothing to do


type: ci
user: chengyemao
comment:
  Fixed a bug by adding code the check menu index in selection.  This bug caused an access violation in an embedded menu testing when the mouse clicked the last pull-down menu entry


type: ci
user: dkf
comment:
  Ensure that the canvas's static data is either protected by a mutex or
  in a thread-local variable. [Bug 1114977]


type: ci
user: hobbs
comment:
  	* unix/Makefile.in: remove SHLIB_LD_FLAGS (only for AIX, inlined
  	* unix/tcl.m4:      into SHLIB_LD).  Combine AIX-* and AIX-5
  	* unix/configure:   branches in SC_CONFIG_CFLAGS.
  	Correct gcc builds for AIX-4+ and HP-UX-11.  autoconf-2.59 gen'd.


type: ci
user: hobbs
comment:
  	* win/tkWinWm.c (TkWinGetIcon): fix toplevel retrieval for
  	determining icon ref (potential crash). [Bug 1105738]


type: ci
user: hobbs
comment:
  	* generic/tkCanvBmap.c (ConfigureBitmap, ComputeBitmapBbox): Fixed
  	possible crash with disabled bmap and bbox handling [Bug 1119460]
  	(BitmapToPostscript): made aware of various bitmap types


type: ci
user: hobbs
comment:
  	* library/panedwindow.tcl (::tk::panedwindow::Cursor): check
  	window existence on delayed call. [Bug 949792]


type: ci
user: mdejong
comment:
  	* doc/wm.n: Add documentation for -fullscreen attribute.
  	* tests/winWm.test: Add -fullscreen to wm attribute
  	usage message.
  	* tests/wm.test: Add -fullscreen to wm attribute
  	usage message. Add -fullscreen attribute test cases
  	for Windows.
  	* win/tkWinWm.c (WmInfo, UpdateWrapper, TkpWmSetFullScreen,
  	WmAttributesCmd, UpdateGeometryInfo):
  	Implement TIP 223 [wm attributes -fullscreen].


type: ci
user: das
comment:
  	* macosx/tkMacOSX.h: fixed incorrect inclusion of internal header.
  	* macosx/tkMacOSXNotify.c: corrected included headers.


type: ci
user: das
comment:
  	* macosx/tkMacOSXDialog.c (Tk_GetSaveFileObjCmd, NavServicesGetFile):
  	fixed encoding problems with -initialfile & -filetypes and
  	corrected potential buffer overrun with -initialdir/-initialfile.
  	[Bug 1146057]


type: ci
user: wolfsuit
comment:
  Add a hack to work around some issues with remote debugging with Xcode.  Xcode requires
  that stdin & stdout be closed or you won't be able to interrupt the running program.  So
  I added a check for XCNOSTDIN environment variable in the startup, and I force them
  closed if it is set.  With that, remote debugging works pretty well.


type: ci
user: dkf
comment:
  Use Tcl_Set/GetAssocData to remove use of fragile Tcl_GetCommandInfo
  from TkConsolePrint. [Bug 1016385]


type: ci
user: dkf
comment:
  Correct the InvokeClientMessageHandlers logic. [Bug 1162356]
  Also many style fixups to approach the Engineering Manual.


type: ci
user: wolfsuit
comment:
  Get the Entry and Spinbox widgets to draw with the native look & feel on
  Mac OS X.
  Also contains some more work on tkMacOSXScale.c, but this doesn't work all
  the way yet, so it's not currently built.


type: ci
user: wolfsuit
comment:
  2005-03-14  Jim Ingham  <jingham@apple.com>

          * macosx/tkMacOSXScrlbr.c (ThumbActionProc): No need to use
          "update idletasks" here, TclServiceIdle will do as well and it
          is simpler.

          These changes implement a change on the Mac OS X side.  When we
          unmap a window we mark all its children as unmapped (not following
          toplevels.  But we preserve whether they had been mapped before,
          and when the parent is remapped, we remap the children as well.
          [Bug 940117]
          * macosx/tkMacOSXInt.h: Added TK_MAPPED_IN_PARENT
          * macosx/tkMacOSXSubwindows.c (FixMappingFlags): New function.
          (XMapWindow): Call FixMappingFlags.
          (XUnMapWindow): Ditto.

          * tkMacOSXSubWindows.c (XMoveResizeWindow): Update the xOff & yOff
          data in the Macdrawable even if the native window hasn't been
          created yet.  [Bug 700305]
          (XMoveWindow): Ditto.
          (XResizeWindow): Ditto.


type: ci
user: hobbs
comment:
  	* win/tcl.m4, win/configure: do not require cygpath in macros to
  	allow msys alone as an alternative.


type: ci
user: wolfsuit
comment:
  2005-03-23  Jim Ingham  <jingham@apple.com>

          This is cleanup thanks to Neil Madden <nem@cs.nott.ac.uk>.

          * macosx/tkMacOSXWm.c (TkMacOSXWinStyle) New function.
          (TkUnsupported1ObjCmd): New function, replaces the un-objectified
          version of the command.
          * generic/tkInt.h: Swap TkUnsupported1Cmd for TkUnsupported1ObjCmd.
          * generic/tkWindow.c (): Ditto.

          This adds a "-notify" flag to "wm attributes" that will bounce the
          dock icon on Mac OS X.  This is from Revar Desmera <revarbat@gmail.com>

          * macosx/tkMacOSXWm.c (WmAttrGetNotifyStatus, WmAttrSetNotifyStatus):
          New functions.
          (WmAttributesCmd): Add the -notify.
          * doc/wm.n: Document -notify.


type: ci
user: dgp
comment:
          * library/comdlg.tcl:  Added Macintosh file type validation to
          [::tk::FDGetFileTypes].  [Bug 1083878]  (Thanks, Vince Darley)


type: ci
user: pspjuth
comment:
  Fixed bug in geometry calculations for
  widgets that span multiple columns/row.
  Bug was introduced in 8.5a1 when fixing 792387. [Bug 1175092]


type: ci
user: das
comment:
  	* unix/tcl.m4 (Darwin): added -single_module linker flag to
  	TCL_SHLIB_LD_EXTRAS and TK_SHLIB_LD_EXTRAS.
  	* unix/configure: autoconf-2.59


type: ci
user: hobbs
comment:
  	* library/tkfbox.tcl (::tk::dialog::file::): fix typeMenuLab ref.
  	Add undoc'd ::tk::dialog::file::showHiddenBtn var (default 0) that
  	will add a "Show Hidden" checkbutton to tk_get*File and
  	tk_chooseDirectory if set to true.
  	* library/choosedir.tcl (::tk::dialog::file::chooseDir::): fix
  	cancelBtn ref, add hiddenBtn ref for "Show Hidden" button.


type: ci
user: mdejong
comment:
  	* macosx/tkMacOSXWm.c (TkWmStackorderToplevelWrapperMap, TkWmStackorderToplevel):
  	* unix/tkUnixWm.c (TkWmStackorderToplevelWrapperMap, TkWmStackorderToplevel):
  	* win/tkWinWm.c (TkWmStackorderToplevelWrapperMap, TkWmStackorderToplevel):
  	Fix panic in wm stackorder when a toplevel is created on another
  	diplay. The code now ignores toplevels that have a display
  	that does not match the display of the parent window.
  	[Bug 1152809]


type: ci
user: das
comment:
  	* macosx/README: updated requirements for OS & developer tool
  	versions + other small fixes/cleanup.


type: ci
user: das
comment:
  	* macosx/tkMacOSXEntry.c (ComputeIncDecParameters): manually define
  	constants present only in 10.3 headers so that we can build on 10.2.


type: ci
user: jenglish
comment:
  Tk_MeasureChars: Use Tcl_UtfToUnichar() for lax UTF-8 parsing
  instead of strict parsing with FcUtf8ToUcs4() [fix/workaround for #1185640]


type: ci
user: hobbs
comment:
  	* unix/tkUnixFont.c (FontMapLoadPage): reorder char[] decls to
  	avoid possible segv.  Minimal fix for [Bug 1122671]


type: ci
user: dgp
comment:
          * generic/tkTextDisp.c (GetXView):      Improved numerical precision
          of calculation of [.t xview] return values.
          * tests/textDisp.test:  Match greater precisions of [.t xview] and
          [.t yview] values in tests.


type: ci
user: das
comment:
  	* macosx/tkMacOSXNotify.c: sync with tclUnixNotfy.c changes since
  	2004-06-22, added compile time check for threaded tcl core, removed
  	unthreaded code paths as they are never used anyway, fixed
  	TkMacOSXAlertNotifier() implementation.

  	* unix/Makefile.in: added TCL_STUB_LIB_FILE, needed for unexporting of
  	symbols from libtclstub to avoid duplicate symbol warnings.

  	* unix/tcl.m4 (Darwin): added configure checks for recently added linker
  	flags -single_module and -search_paths_first to allow building with
  	older tools (and on Mac OS X 10.1), use -single_module in SHLIB_LD and
  	not just T{CL,K}_SHLIB_LD_EXTRAS, added unexporting from Tk of symbols
  	from libtclstub to avoid duplicate symbol warnings, added PLAT_SRCS
  	definition for Mac OS X, defined MODULE_SCOPE to __private_extern__.
  	(SC_MISSING_POSIX_HEADERS): added caching of dirent.h check.

  	* unix/configure: autoconf-2.59


type: ci
user: hobbs
comment:
  	* unix/configure: regen
  	* unix/configure.in: add AC_C_BIGENDIAN check and pkg-config xft
  	checks to extend xft search.
  	* unix/tcl.m4: correct Solaris 10 (5.10) check and add support for
  	x86_64 Solaris cc builds.


type: ci
user: das
comment:
  	* macosx/tkMacOSXInit.c:
  	* macosx/tkMacOSXNotify.c: introduction of new tcl notifier based on
  	CFRunLoop allows replacement of the custom TkAqua notifier by a
  	standard tcl event source. Removes requirement of threaded tcl core
  	for TkAqua, allows to stub-link TkAqua against Tcl by removing use of
  	the unstubbed TclInitNotifier & TclFinalizeNotifier. [Tcl Patch 1202052]

  	* macosx/Wish.xcode/project.pbxproj:
  	* macosx/Wish.pbproj/project.pbxproj: stub-link TkAqua: build with
  	USE_TCL_STUBS and link against libtclstub instead of Tcl.framework,
  	unexport libtclstub symbols from Tk to avoid duplicate symbol warnings
  	when linking with both Tcl and Tk, fixes for gcc4.0 warnings.

  	* macosx/Wish.xcode/project.pbxproj: sync with Wish.pbproj changes
  	since 2004-11-19.
  	NOTE: to use this project, need to uncomment the tclConfig.h settings
  	at the top of tcl/unix/configure.in, autoconf and rebuild tcl !

  	* macosx/tkMacOSXBitmap.c:
  	* macosx/tkMacOSXButton.c:
  	* macosx/tkMacOSXDialog.c:
  	* macosx/tkMacOSXFont.c:
  	* macosx/tkMacOSXHLEvents.c:
  	* macosx/tkMacOSXInit.c:
  	* macosx/tkMacOSXKeyboard.c:
  	* macosx/tkMacOSXMenu.c:
  	* macosx/tkMacOSXMenubutton.c:
  	* macosx/tkMacOSXWm.c:
  	* macosx/tkMacOSXXStubs.c: fixed gcc 4.0 warnings.

  	* unix/tcl.m4: sync with tcl
  	* unix/configure: autoconf-2.59


type: ci
user: dgp
comment:
  More improvements to test robustness; problems exposed by changes to
  precision of doubles (TIP 132).


type: ci
user: das
comment:
  	* macosx/Makefile:
  	* macosx/README:
  	* macosx/Tk-Info.plist.in (new file):
  	* macosx/Wish-Info.plist.in (new file):
  	* unix/Makefile.in:
  	* unix/configure.in:
  	* unix/tcl.m4:
  	* unix/tkUnixInit.c:  moved all Darwin framework and TkAqua build
  	support from macosx/Wish.pbproj and macosx/Makefile into the standard
  	unix configure/make buildsystem, the project and macosx/Makefile are
  	no longer required to build Tk.framework and/or TkAqua. TkAqua is now
  	enabled by the --enable-aqua configure option, and static and
  	non-framework builds of TkAqua are now available via the standard
  	configure switches. Tk/X11 can also be built as a framework. The
  	macosx/Makefile now wraps the unix buildsystem and no longer uses the
  	projects, embedded builds are still only available via this Makefile,
  	but for other builds it is not longer required (but its current
  	functionality is still available for backwards compatibility). The
  	projects currently do not call through to the Makefile to build
  	(unlike Tcl.pbproj) so project builds may differ from makefile builds.
  	Due to issues with spaces in pathnames, 'Wish Shell.app' has been
  	renamed to 'Wish.app', the macosx/Makefile installs backwards
  	compatibility symlinks for the old name.
  	* macosx/tkMacOSXInit.c (TkpInit): added support for Tk resource file
  	in non-framework and static builds: the resource file is copied into a
  	__tk_rsrc MachO segment of the library or executable at link time and
  	extracted into a temporary location at initialization.
  	* unix/configure: autoconf-2.59
  	* unix/tkConfig.h.in (new file): autoheader-2.59


type: ci
user: wolfsuit
comment:
          Fixes from Michael Kirkham:

          * macosx/tkMacOSXMenu.c (TkpConfigureMenuEntry): Thinko in clearing
          the ENTRY_ACCEL_MASK before re-parsing it. [Tk Bug 1012852]

          * macosx/tkMacOSXScrlbr.c (UpdateControlValues): Don't set the
          control value BEFORE setting the min and max or the control manager
          will reset it for you. [Tk Bug 1202181]

          * macosx/tkMacOSXXStubs.c (TkMacOSXXGetPixel, TkMacOSXXPutPixel):
          Restore the port to what it was before putting we were called.
          [Tk Bug 1202223]


type: ci
user: das
comment:
  	* macosx/Wish.pbproj/project.pbxproj:
  	* macosx/Tk-Info.plist:
  	* macosx/Wish-Info.plist:
  	* macosx/tkAboutDlg.r: updated copyright years to 2005.


type: ci
user: das
comment:
  	* macosx/tkMacOSXInit.c (TkpInit): fixed resource file extraction
  	from __tk_rsrc section to work with non-prebound .dylib and .bundle.

  	* macosx/Makefile: corrected EMBEDDED_BUILD check, use separate tcl
  	and tk version vars to properly support tk/x11 framework version
  	overriding, rewrite tkConfig.sh when overriding tk version, corrected
  	Wish.app symlink in tk build dir.

  	* unix/configure.in: corrected framework finalization to softlink
  	stub library to Versions/8.x subdir instead of Versions/Current.
  	* unix/configure: autoconf-2.59


type: ci
user: hobbs
comment:
  	* unix/Makefile.in (install-libraries): protect possible empty
  	list in for with list= trick for older shells.


type: ci
user: das
comment:
  	* generic/tkDecls.h:
  	* generic/tkIntPlatDecls.h:
  	* generic/tkPlatDecls.h:
  	* generic/tkStubInit.c: ran missing 'make genstubs' for TIP245 changes
  	to tk.decls

  	* macosx/tkMacOSXXStubs.c (Tk_ResetUserInactiveTime): use symbolic
  	constant argument in call to UpdateSystemActivity();

  	* macosx/Wish.pbproj/project.pbxproj:
  	* macosx/Wish.xcode/project.pbxproj:
  	* unix/configure.in: added/corrected linking to IOKit.framework for
  	TIP245.

  	* unix/configure.in: skip X11 configure checks when building tk_aqua.
  	* unix/configure: autoconf-2.59


type: ci
user: das
comment:
  	* unix/configure.in: added description of HAVE_XSS for autoheader.
  	* unix/configure: autoconf-2.59
  	* unix/tkConfig.h.in: autoheader-2.59

  	* macosx/Wish.pbproj/project.pbxproj:
  	* macosx/Wish.xcode/project.pbxproj: added missing FRAMEWORK defines
  	introduced with configure/make based build.


type: ci
user: hobbs
comment:
  	* generic/tkPanedWindow.c, tests/panedwindow.test: batch of fixes
  	to panedwindow from Daniel South.  Improved auto-size to fit
  	internal windows, fixed sash placement at edge of pane, fixed
  	calculation of stretch amount for internal windows.
  	[Bug 1124198 1161543 1054117 1010941 795869 690169 1192323]


type: ci
user: hobbs
comment:
  	* win/tkWinInt.h: added private decls of Tk_GetEmbeddedMenuHWND,
  	Tk_GetMenuHWND, TkWinCleanupContainerList, and TkpWmGetState to
  	that are used across source files.


type: ci
user: hobbs
comment:
  	* library/console.tcl (::tk::ConsoleInit): print out first prompt
  	and swallow the extra "% " that comes once from Tcl on Windows.


type: ci
user: hobbs
comment:
  	* generic/tkMenu.c (MenuCmd): create event handler earlier to
  	ensure proper destruction of menu through DestroyNotify.
  	[Bug 1159367]


type: ci
user: rmax
comment:
  * unix/tkUnix.c (Tk_GetUserInactiveTime): Improvements to get it
  working on Solaris, and panic if we run out of memory.
  * unix/configure.in: Rework the searching for Xss, to make it work
  on Solaris and provide more useful output. Use AC_HELP_STRING
  where appropriate.
  * unix/tcl.m4: synced from Tcl.
  * unix/configure: regenerated with autoconf 2.59.


type: ci
user: rmax
comment:
  Some versions of X seem to crash if XScreenSaverQueryVersion() isn't
  called before calling XScreenSaverQueryInfo().


type: ci
user: rmax
comment:
  * doc/Inactive.3 (new file): C level API documentationn for
  TIP#245 (Tk_GetUserInactiveTime, Tk_ResetUserInactiveTime).
  * tests/tk.test: Added tests for the TIP#245 implementation.


type: ci
user: dkf
comment:
  Get rid of statics; replaced with stack-allocated structures which are automatically
   thread-safe. Also squelched a buffer overrun in binary string data handling...


type: ci
user: wolfsuit
comment:
  2005-06-02  Jim Ingham  <jingham@apple.com>

          Another patch from M. Kirkham.

          * macosx/tkMacOSXScrlbr.c (ThumbActionProc, ScrollBarBindProc):
          Record the first mouse down point, and compute differences from
          that, rather than getting the mouse down each time through the
          loop.  The old method would get fooled if you moved the mouse less
          than a text line height in the text widget.
          [Bug 1083728]


type: ci
user: das
comment:
  	* macosx/Makefile: for X11 build, add -X11 suffix to unversioned wish
  	symbolic link.

  	* unix/tcl.m4 (Darwin): add -headerpad_max_install_names to LDFLAGS to
  	ensure we can always relocate binaries with install_name_tool.

  	* unix/configure: autoconf-2.59


type: ci
user: das
comment:
  	* macosx/tkMacOSXDefault.h: change ENTRY_BORDER defaults to from 5 to 2
  	to make default entry widgets in TkAqua look like in other aqua apps
  	(and have same border dimensions as other platforms). [Bug 1176610]


type: ci
user: mdejong
comment:
  	* win/tkWinX.c: Define _WIN32_WINNT with NT SP 3 data
  	to fix compiler error because SendInput was not defined.
  	The new msys_mingw7 release is now needed to compile
  	the HEAD with mingw gcc.
  	[Bug 1210712]


type: ci
user: hobbs
comment:
  	* macosx/tkMacOSXMouseEvent.c (TkMacOSXProcessMouseEvent):
  	corrected if expression error (use of = instead of ==)


type: ci
user: das
comment:
  	* macosx/tkMacOSXCarbonEvents.c (AppEventHandlerProc): handle carbon
  	events sent directly to application event target via the general
  	TkMacOSXProcessEvent() in the same way as events posted to the event
  	loop. Moved existing app event handlers to tkMacOSXWindowEvent.c.
  	(TkMacOSXInitCarbonEvents): register our application event handler for
  	kEventWindowExpanded events to deal with uncollapsing from the dock.

  	* macosx/tkMacOSXEvent.h: made TkMacOSXProcessEvent() non-static, added
  	* macosx/tkMacOSXEvent.c: new interp field to TkMacOSXEvent struct for
  	                          use by app event handler.

  	* macosx/tkMacOSXMouseEvent.c (TkMacOSXProcessMouseEvent): retrieve
  	current window, partCode, modifiers and local cursor position from
  	carbon mouse event if possible. Use new static GenerateButtonEvent()
  	taking a MouseEventData struct instead of TkGenerateButtonEvent() to
  	avoid recomputing already known values. Move process activation on
  	MouseDown into BringWindowForward() to allow clicking on window titlebar
  	widgets without activating process. Move code dealing with clicks in
  	window titelbar into separate function HandleWindowTitlebarMouseDown()
  	to avoid code duplication. Avoid repeated calls to TkMacOSXGetXWindow()
  	by storing result in MouseEventData struct.
  	(TkMacOSXButtonKeyState, XQueryPointer): try to get button and modifier
  	state from currently processed carbon event (to avoid unnecessary IPC
  	with the window server), otherwise use modern carbon API to get this
  	info instead of Button() and GetKeys(); only retrieve info caller asks
  	for (via non-NULL ptr passed to XQueryPointer).
  	(ButtonModifiers2State): new static function converting carbon button
  	and modifier state into tk state, allows detection of more than 3 mouse
  	buttons (tk supports up to 5) and of NumLock and Fn modifier keys
  	(NumLock is mapped to Mod3 and Fn to Mod4).

  	* macosx/tkMacOSXWindowEvent.c (TkMacOSXProcessApplicationEvent): handle
  	kEventWindowExpanded event to deal with window uncollapsing from the
  	dock by generating tk Map event, handle kEventAppHidden and
  	kEventAppShown events (moved here from tkMacOSXCarbonEvents.c).

  	* macosx/tkMacOSXSubwindows.c (XUnmapWindow): only hide window when
  	it is not iconified to avoid window flashing on collapse.

  	* macosx/tkMacOSXWm.c: replaced Tk_DoWhenIdle() by Tcl_DoWhenIdle().
  	(TkMacOSXZoomToplevel): remove call to TrackBox(), now done in
  	HandleWindowTitlebarMouseDown() in tkMacOSXMouseEvent.c.
  	(TkpWmSetState): avoid window flashing on collapse by unmapping after
  	calling CollapseWindow(); only uncollapse window if it is collapsed.

  	* generic/tkInt.decls: changed TkMacOSXZoomToplevel() signature.
  	* generic/tkIntPlatDecls.h:

  	* macosx/tkMacOSXKeyEvent.c (TkMacOSXProcessKeyboardEvent): only call
  	GetMenuItemCommandID() on KeyDown or KeyRepeat events.

  	* macosx/tkMacOSXMenu.c (ReconfigureMacintoshMenu): remove call to
  	obsolete AppendResMenu() API.

  	* macosx/tkMacOSXKeyEvent.c: replaced all direct uses of expensive
  	* macosx/tkMacOSXMenu.c:     GetMouse() and TkMacOSXButtonKeyState()
  	* macosx/tkMacOSXMenus.c:    APIs by calls to XQueryPointer()
  	* macosx/tkMacOSXMouseEvent.c:
  	* macosx/tkMacOSXScale.c:
  	* macosx/tkMacOSXScrlbr.c:
  	* macosx/tkMacOSXWm.c:

  	* macosx/tkMacOSXDialog.c:   replaced use of FrontNonFloatingWindow()
  	* macosx/tkMacOSXKeyEvent.c: by ActiveNonFloatingWindow() as
  	* macosx/tkMacOSXMenu.c:     recommended by Carbon docs.
  	* macosx/tkMacOSXMenus.c:
  	* macosx/tkMacOSXSubwindows.c:
  	* macosx/tkMacOSXWm.c:

  	* macosx/tkMacOSXDialog.c: fixed warnings
  	* macosx/tkMacOSXTest.c:

  	* macosx/tkMacOSXCarbonEvents.c: added CVS Id line to file header.
  	* macosx/tkMacOSXDebug.c:
  	* macosx/tkMacOSXDebug.h:
  	* macosx/tkMacOSXEntry.c:
  	* macosx/tkMacOSXEvent.h:
  	* macosx/tkMacOSXKeyEvent.c:
  	* macosx/tkMacOSXMouseEvent.c:
  	* macosx/tkMacOSXWindowEvent.c:
  	* macosx/tkMacOSXWm.h:

  	* macosx/tkMacOSXInt.h: declare macosx internal procs as MODULE_SCOPE.
  	* macosx/tkMacOSXCarbonEvents.c:
  	* macosx/tkMacOSXDraw.c:
  	* macosx/tkMacOSXFont.c:
  	* macosx/tkMacOSXHLEvents.c:
  	* macosx/tkMacOSXInit.c:
  	* macosx/tkMacOSXWindowEvent.c

  	* library/bgerror.tcl: sync with core-8-4-branch changes of 2005-07-28.
  	* macosx/tkMacOSXDraw.c:
  	* macosx/tkMacOSXWm.c:
  	* macosx/tkMacOSXMouseEvent.c:

  	* generic/tkFrame.c:   sync with core-8-4-branch changes of 2005-07-27.
  	* generic/tkIntDecls.h:
  	* generic/tkStubInit.c:
  	* generic/tkFrame.c:
  	* win/tkWinDraw.c:
  	* unix/tkUnixDraw.c:
  	* macosx/tkMacOSXDraw.c:
  	* macosx/tkMacOSXInt.h:
  	* macosx/tkMacOSXWm.c:
  	* macosx/tkMacOSXSubwindows.c:

  	* macosx/tkMacOSXButton.c: sync with core-8-4-branch.
  	* macosx/tkMacOSXEntry.c:
  	* macosx/tkMacOSXScale.c:

  	* library/demos/menu.tcl: removed errant '}'.


type: ci
user: dkf
comment:
  Getting more systematic about style
  Also start removing _ANSI_ARGS_; the core's required ANSI C for a while now
  Also fix [Bug 1252702]; size_t doesn't mix with Tcl_GetStringFromObj


type: ci
user: dkf
comment:
  Fix for [749908] that localizes the changes within a single file and also
  allows third-party code to work.


type: ci
user: mdejong
comment:
  	* unix/Makefile.in: Subst BUILD_TCLSH and TCL_EXE.
  	* unix/configure: Regen.
  	* unix/configure.in: Update minimum autoconf version
  	to 2.59. Invoke SC_PROG_TCLSH and SC_BUILD_TCLSH.
  	* unix/tcl.m4 (SC_PROG_TCLSH, SC_BUILD_TCLSH):
  	* win/Makefile.in: Subst BUILD_TCLSH and TCL_EXE.
  	* win/configure: Regen.
  	* win/configure.in: Update minimum autoconf version
  	to 2.59. Invoke SC_BUILD_TCLSH.
  	* win/tcl.m4 (SC_PROG_TCLSH, SC_BUILD_TCLSH):
  	Split confused search for tclsh on PATH and
  	build and install locations into two macros.
  	SC_PROG_TCLSH searches just the PATH.
  	SC_BUILD_TCLSH determines the name of the tclsh
  	executable in the Tcl build directory.
  	[Tcl bug 1160114]
  	[Tcl patch 1244153]


type: ci
user: das
comment:
  	* macosx/tkMacOSXMouseEvent.c (TkMacOSXProcessMouseEvent): check if
  	process is in front on MouseDown, otherwise request process activation
  	from BringWindowForward() via new isFrontProcess param.

  	* macosx/tkMacOSXCarbonEvents.c (TkMacOSXInitCarbonEvents): register our
  	event handler on the dispatcher target for all carbon events of interest
  	to TkAqua; this replaces event processing directly from the event queue
  	and thus allows to capture events that are syntesized by Carbon and sent
  	directly to the dispatcher and not to the event queue.

  	* macosx/tkMacOSXEvent.c: remove TkMacOSXCountAndProcessMacEvents(),
  	rename ReceiveAndProcessEvent() to TkMacOSXReceiveAndProcessEvent().
  	(TkMacOSXReceiveAndProcessEvent): remove tk event processing before
  	sending events to the dispatcher, all events of interest are now
  	processed in our dispatcher target event handler.

  	* macosx/tkMacOSXNotify.c (CarbonEventsCheckProc): dispatch events
  	directly via TkMacOSXReceiveAndProcessEvent(), but dispatch no more than
  	four carbon events at one time to avoid starving other event sources.

  	* macosx/tkMacOSXEvent.c: formatting cleanup, move XSync() to XStubs,
  	* macosx/tkMacOSXEvent.h: removed obsolete kEventClassWish handling.
  	* macosx/tkMacOSXXStubs.c

  	* macosx/tkMacOSXEvent.h: declare macosx internal procs as MODULE_SCOPE.
  	* macosx/tkMacOSXEvent.c:
  	* macosx/tkMacOSXKeyEvent.c:
  	* macosx/tkMacOSXMouseEvent.c:
  	* macosx/tkMacOSXWindowEvent.c:

  	* macosx/tkMacOSXButton.c: conditionalize all debug message printing to
  	* macosx/tkMacOSXCursor.c: stderr via TK_MAC_DEBUG define.
  	* macosx/tkMacOSXDebug.c:
  	* macosx/tkMacOSXDebug.h:
  	* macosx/tkMacOSXDialog.c:
  	* macosx/tkMacOSXEvent.c:
  	* macosx/tkMacOSXInit.c:
  	* macosx/tkMacOSXKeyEvent.c:
  	* macosx/tkMacOSXMenu.c:
  	* macosx/tkMacOSXMenubutton.c:
  	* macosx/tkMacOSXScale.c:
  	* macosx/tkMacOSXWindowEvent.c:
  	* macosx/tkMacOSXWm.c:

  	* unix/configure.in: define TK_MAC_DEBUG on aqua when symbols enabled.
  	* unix/configure: autoconf-2.59
  	* unix/tkConfig.h.in: autoheader-2.59

  	* library/listbox.tcl: synced aqua MouseWheel bindings with
  	* library/scrlbar.tcl: core-8-4-branch.
  	* library/text.tcl:

  	* xlib/xcolors.c: fixed warning


type: ci
user: hobbs
comment:
  	* macosx/tkMacOSXDialog.c: make dialogs ignore -initialfile "" and
  	-initialdir "" instead of error.


type: ci
user: mdejong
comment:
  	* win/tkWin32Dll.c (DllMain): Replace old asm SEH
  	approach with Kenny's new SEH implementation.
  	[Tcl bug 1235544]


type: ci
user: das
comment:
  	* unix/Makefile.in (html): reverted/amended changes of 2005-08-23
  	that broke TkAqua 'make install'; added BUILD_HTML_FLAGS
  	optional var like in tcl/unix/Makefile.in.


type: ci
user: dgp
comment:
          * win/winMain.c (WishPanic):    Replaced TCL_VARARGS* macros with
          direct use of stdarg.h conventions.


type: ci
user: dgp
comment:
          * unix/tkUnixPort.h:    Disabled inclusion of the private Tcl header
          * win/tkWinPort.h:      file tclInt.h.  Tk ought to have a tiny and
          shrinking number of calls of private Tcl routines.  Each Tk source
          file doing this should follow the convention in the macosx port and
          have its own #include "tclInt.h".

          * generic/tkEvent.c:    Disabled calls to private Tcl routine
          TclInExit().  See comment in TkCreateExitHandler() for full rationale.


type: ci
user: hobbs
comment:
  	* macosx/tkMacOSXInt.h: add MODULE_SCOPE definition check for
  	extension writers that access private headers on OS X and don't
  	define it in configure.


type: ci
user: dkf
comment:
  Arrange the test suite so that it only accesses images in the same directory.
  This enables packaging of the test suite as a starkit.


type: ci
user: hobbs
comment:
  	* win/tkWinDialog.c (ChooseDirectoryValidateProc): reset stored
  	path to "" if it doesn't exist and -mustexist is true. [Bug 1309218]
  	Remove old-style dir chooser (no longer used).


type: ci
user: patthoyts
comment:
  	* win/tkWinSend.c:    Avoid using tcl internal headers and fix to
  	* win/tkWinSendCom.h: correctly link on all types of build (was
  	* win/tkWinSendCom.c: broken in static,msvcrt builds).


type: ci
user: hobbs
comment:
  	* generic/tkMenu.c (TkSetWindowMenuBar): do not call TkMenuInit if
  	the winPtr indicates TK_ALREADY_DEAD.  This prevents reinit that
  	creates a Tk exit handler after all exit handlers should be
  	called.  [Bug 749908, 1322294]


type: ci
user: hobbs
comment:
  	* generic/tkConfig.c (Tk_DeleteOptionTable, Tk_CreateOptionTable):
  	properly alloc/delete one more option. [Bug 1319720] (melbardis)


type: ci
user: hobbs
comment:
  	* macosx/tkMacOSXInt.h: Move MODULE_SCOPE defn to tkInt.h and add
  	* generic/tkInt.h:      WORDS_BIGENDIAN checks that will work with
  	OS X universal binary compiles. (steffen)


type: ci
user: dgp
comment:
          * generic/tkMain.c:     Rewrote code that sets the ::argv value
          to be sure conversion from the system encoding is complete before
          any processing sensitive to list-special characters is done.
          [Bug 1328926].


type: ci
user: hobbs
comment:
  	* library/menu.tcl (::tk::MenuUnpost): remove leftover ] from
  	string equal mods of 2005-07-25. (sowadsky)


type: ci
user: dkf
comment:
  Fix [Bug 1353414] by doing the list generation using standard Tcl utilities.
  Also simplifies the code quite a bit (at the expense of an OUT parameter
  instead of a return value).


type: ci
user: dkf
comment:
  Lots of ANSIfying of function decls.
  Also a few spots where code has been cleaned up more completely.


type: ci
user: das
comment:
  	* unix/tcl.m4 (Darwin): add 64bit support, check for Tiger copyfile(),
  	add CFLAGS to SHLIB_LD to support passing -isysroot in env(CFLAGS) to
  	configure (flag can't be present twice, so can't be in both CFLAGS and
  	LDFLAGS during configure), don't use -prebind when deploying on 10.4,
  	define TCL_IO_TRACK_OS_FOR_DRIVER_WITH_BAD_BLOCKING (rdar://3171542).
  	(SC_ENABLE_LANGINFO, SC_TIME_HANDLER): add/fix caching, fix obsolete
  	autoconf macros. Sync with tcl/unix/tcl.m4.

  	* unix/configure.in: fix obsolete autoconf macros, sync gratuitous
  	formatting/ordering differences with tcl/unix/configure.in.

  	* unix/Makefile.in: add CFLAGS to wish/tktest link to make executable
  	linking the same as during configure (needed to avoid loosing any linker
  	relevant flags in CFLAGS, in particular flags that can't be in LDFLAGS).
  	Avoid concurrent linking of wish and compiling of tkTestInit.o during
  	parallel make, fix dependencies and flags for building tkMacOSXInit.o
  	(checkstubs, checkexports): dependency and Darwin fixes
  	(dist): add new macosx files.

  	* macosx/tkMacOSXEvent.c (TkMacOSXProcessEvent):
  	* macosx/tkMacOSXEvent.h:
  	* macosx/tkMacOSXMouseEvent.c (TkMacOSXProcessMouseEvent):
  	* macosx/tkMacOSXCarbonEvents.c: install standard application event
  	handler, add & call functions to start and stop carbon even timer that
  	runs the tcl event loop periodically during a nested carbon event loop
  	in the toolbox (e.g. during menutracking) to ensure tcl timers etc
  	continue to fire, register app event handler for menu tracking and HI
  	command carbon events, move menu event handling to new handlers for
  	those carbon events, no longer register for/handle appleevent carbon
  	event (now dealt with by standard application event handler), event
  	debugging code dynamically acquires carbon event debugging functions to
  	allow use on Tiger where they are no longer exported from HIToolbox.

  	* macosx/tkMacOSXFont.c (TkMacOSXUseAntialiasedText):
  	* macosx/tkMacOSXKeyEvent.c (GetKeyboardLayout):
  	* macosx/tkMacOSXCarbonEvents.c (TkMacOSXInitCarbonEvents):
  	* macosx/tkMacOSXInit.c:
  	* macosx/tkMacOSXInt.h: abstract common code to dynamically acquire
  	address of a named symbol (from a loaded dynamic library) into new
  	function TkMacOSXGetNamedSymbol() and macro TkMacOSXInitNamedSymbol.

  	* macosx/tkMacOSXMenu.c (TkpNewMenu):
  	* macosx/tkMacOSXMenubutton.c (MenuButtonInitControl):
  	* macosx/tkMacOSXMenus.c (TkMacOSXHandleMenuSelect): switch to  modern
  	utf8 aware menu manager API, remove obsolete code, add error handling.

  	* macosx/tkMacOSXMouseEvent.c: define OSX 10.3 or later only constants
  	if necessary to allow compilation on OSX 10.2

  	* macosx/tkMacOSXWm.c (UpdateSizeHints): remove code that is never
  	executed.

  	* xlib/xgc.c (XCreateGC): sync with core-8-4-branch change.

  	* generic/tk.h: add/correct location of version numbers in macosx files.

  	* generic/tkInt.h: clarify fat compile comment.

  	* macosx/Wish.pbproj/default.pbxuser (new file):
  	* macosx/Wish.pbproj/jingham.pbxuser:
  	* macosx/Wish.pbproj/project.pbxproj:
  	* macosx/Wish.xcode/default.pbxuser:
  	* macosx/Wish.xcode/project.pbxproj:
  	* macosx/Wish.xcodeproj/default.pbxuser (new file):
  	* macosx/Wish.xcodeproj/project.pbxproj (new file): new/updated projects
  	for Xcode 2.2 on 10.4, Xcode 1.5 on 10.3 & ProjectBuilder on 10.2, with
  	native tktest targets and support for universal (fat) compiles.

  	* macosx/Tk-Info.plist (removed):
  	* macosx/Wish-Info.plist (removed):
  	* macosx/buildTkConfig.tcl (removed): remove obsolete build files.

  	* macosx/README: clarification/cleanup, document new Xcode projects and
  	universal (fat) builds via CFLAGS (i.e. ppc and i386 at the same time).

  	* unix/Makefile.in:
  	* unix/aclocal.m4:
  	* unix/configure.in:
  	* macosx/configure.ac (new file): add support for inclusion of
  	unix/configure.in by macosx/configure.ac, allows generation of a config
  	headers enabled configure script in macosx (required by Xcode projects).

  	* macosx/GNUmakefile: rename from Makefile to avoid overwriting by
  	configure run in tk/macosx, add support for reusing configure cache,
  	build target fixes.

  	* generic/tk3d.h:
  	* generic/tkButton.h:
  	* generic/tkCanvas.c:
  	* generic/tkCanvas.h:
  	* generic/tkColor.h:
  	* generic/tkEntry.h:
  	* generic/tkFileFilter.h:
  	* generic/tkFont.c:
  	* generic/tkFont.h:
  	* generic/tkImage.c:
  	* generic/tkImgPhoto.c:
  	* generic/tkInt.h:
  	* generic/tkMenu.c:
  	* generic/tkMenu.h:
  	* generic/tkMenubutton.h:
  	* generic/tkScale.h:
  	* generic/tkScrollbar.h:
  	* generic/tkSelect.h:
  	* generic/tkStubInit.c:
  	* generic/tkStubLib.c:
  	* generic/tkText.h:
  	* generic/tkUndo.h:
  	* macosx/tkMacOSXButton.c:
  	* macosx/tkMacOSXDebug.c:
  	* macosx/tkMacOSXDebug.h:
  	* macosx/tkMacOSXDialog.c:
  	* macosx/tkMacOSXDraw.c:
  	* macosx/tkMacOSXEntry.c:
  	* macosx/tkMacOSXFont.c:
  	* macosx/tkMacOSXInt.h:
  	* macosx/tkMacOSXMenu.c:
  	* macosx/tkMacOSXMenubutton.c:
  	* macosx/tkMacOSXMouseEvent.c:
  	* macosx/tkMacOSXSend.c:
  	* macosx/tkMacOSXSubwindows.c:
  	* macosx/tkMacOSXWindowEvent.c:
  	* macosx/tkMacOSXWm.c:
  	* macosx/tkMacOSXXStubs.c:
  	* unix/tkUnixButton.c:
  	* unix/tkUnixMenu.c:
  	* xlib/xgc.c: ensure externally visible symbols not contained in stubs
  	table are declared as MODULE_SCOPE (or as static if not used outside of
  	own source file), #ifdef out a few Xlib and aqua functions that are
  	never called. These changes allow 'make checkstubs' to complete without
  	error on Darwin with gcc 4.

  	* macosx/tkMacOSXTest.c:
  	* macosx/tkMacOSXPort.h:
  	* win/tkWinTest.c:
  	* generic/tkInt.decls: add functions needed by tktest to internal stubs
  	table, correct signature of TkMacOSXHandleMenuSelect, add XSync to aqua
  	Xlib stubs.

  	* unix/tkUnixSend.c:
  	* generic/tkText.c:
  	* generic/tkTest.c: #ifdef unix only declarations.
  	(TestmetricsCmd): unify win and mac implementation.
  	(TestsendCmd): move to tkUnixSend.c to avoid access to global var.
  	(TesttextCmd): move to tkText.c to avoid having to put all the internal
  	text functions it uses into the stubs table.

  	* generic/tkTextDisp.c:
  	* macosx/tkMacOSXInit.c:
  	* macosx/tkMacOSXKeyEvent.c:
  	* macosx/tkMacOSXWindowEvent.c:
  	* macosx/tkMacOSXXStubs.c: fix gcc 4 warnings.

  	* macosx/tkMacOSXNotify.c:
  	* macosx/tkMacOSXScrlbr.c: sync with core-8-4-branch.

  	* generic/tkIntDecls.h:
  	* generic/tkIntPlatDecls.h:
  	* generic/tkIntXlibDecls.h:
  	* generic/tkStubInit.c:
  	* unix/configure:
  	* unix/tkConfig.h.in: regen.


type: ci
user: hobbs
comment:
  	* library/console.tcl (::tk::ConsoleInit): improve work-around to
  	avoid '% ' from tclMain.c [Bug 1252259]


type: ci
user: das
comment:
  	* macosx/tkMacOSXMenu.c:
  	* macosx/tkMacOSXMenubutton.c: define OSX 10.3 or later only constants
  	if necessary to allow compilation on OSX 10.2


type: ci
user: das
comment:
  Darwin: disable ppc64 for fat builds since neither Aqua nor X11 is
  available for 64 bit at present.


type: ci
user: das
comment:
  	* unix/tcl.m4 (Darwin): fixed error when MACOSX_DEPLOYMENT_TARGET unset.
  	* unix/configure: regen.


type: ci
user: das
comment:
  	* macosx/tkMacOSXMenu.c:
  	* macosx/tkMacOSXMenus.c:
  	* macosx/tkMacOSXMenubutton.c: define OSX 10.3 or later only constants
  	if necessary to allow compilation on OSX 10.2


type: ci
user: hobbs
comment:
  	* macosx/tkMacOSXXStubs.c (TkpOpenDisplay, TkMacOSXDisplayChanged):
  	* macosx/tkMacOSXWindowEvent.c (TkMacOSXProcessApplicationEvent):
  	* macosx/tkMacOSXCarbonEvents.c (TkMacOSXInitCarbonEvents):
  	* macosx/tkMacOSXEvent.h: Trap kEventAppAvailableWindowBoundsChanged
  	* macosx/tkMacOSXInt.h:   event to watch for change in display size
  	and adjust internal state appropriately.


type: ci
user: hobbs
comment:
  	* win/Makefile.in:
  	Add tkWinTest.obj to tk84.dll to handle some needed test functions
  	being defined in stubs (TkplatformtestInit).


type: ci
user: hobbs
comment:
  	* win/tkWinWm.c (WmAttributesCmd): set (no)topmost window aspect
  	before rewrapping.  [Bug 1086049]


type: ci
user: das
comment:
          * macosx/tkMacOSXDraw.c:   remove inclusion of tclInt.h and use of tcl
          * macosx/tkMacOSXFont.c:   internals wherever possible in tk/macosx, the
          * macosx/tkMacOSXInit.c:   only remaining tcl internals in TkAqua are
          * macosx/tkMacOSXNotify.c: TclServiceIdle() in tkMacOSXScrlbr.c and
          * macosx/tkMacOSXScrlbr.c: Tcl_Get/SetStartupScript() in tkMacOSXInit.c
  	                           [Bug 1336531].


type: ci
user: rmax
comment:
  * unix/tkUnixEvent.c (OpenIM): Added a workaround to allow at
  least ASCII and the Compose key when typing into text and entry
  widgets on a system that uses SCIM. This has to be taken out again
  once the SCIM problems have been fixed.


type: ci
user: dkf
comment:
  Doc change to discourage the use of TK_CONFIG_OPTION_SPECIFIED which was not
  thread-safe and is now no-longer used.


type: ci
user: hobbs
comment:
  	* win/tcl.m4:       Add build support for Windows-x64 builds.
  	* win/configure:    --enable-64bit now accepts =amd64|ia64 for
  	* win/Makefile.in:  Windows 64-bit build variants (default: amd64)
  	* win/makefile.vc:  [Bug 1369597]
  	* win/configure.in: Add CE build support (some C code fixes needed)
  	* win/wish.exe.manifest.in (new):     manifest must map in MACHINE
  	* win/rc/wish.exe.manifest (removed): and VERSION to be correct.


type: ci
user: das
comment:
  	* generic/tkInt.decls:   move all platform test sources from tk lib into
  	* generic/tkTest.c:      tktest directly, removes requirement to export
  	* macosx/tkMacOSXTest.c: TkplatformtestInit from internal stubs table.
  	* unix/Makefile.in:
  	* win/Makefile.in:
  	* win/makefile.vc:
  	* win/tkWinTest.c:

  	* generic/tkIntPlatDecls.h:
  	* generic/tkStubInit.c: regen.


type: ci
user: hobbs
comment:
  	* generic/tkTextTag.c (TkTextTagCmd): use correct arraySize for
  	peered text widgets in [$text tag names]. [Bug 1375069 1374935]


type: ci
user: hobbs
comment:
  	* unix/tcl.m4, unix/configure: Fix sh quoting error reported in
  	bash-3.1+ [Bug 1377619] (schafer)


type: ci
user: das
comment:
  	* macosx/Wish.xcode/project.pbxproj:
  	* macosx/Wish.xcodeproj/project.pbxproj: add new tclTomMath* files.


type: ci
user: mdejong
comment:
  	* win/tkWinWm.c (WinSetIcon): Don't check result
  	of SetClassLong() or SetClassLongPtr() since
  	it was generating an incorrect error and
  	the MSDN docs indicate that the result need
  	not be checked.


type: ci
user: mdejong
comment:
  	* win/configure: Regen.
  	* win/tcl.m4 (SC_CONFIG_CFLAGS): Define MACHINE
  	for gcc builds. The lack of a definition of this
  	variable in the manifest file was causing a
  	runtime error in wish built with gcc.


type: ci
user: das
comment:
  	* macosx/tkMacOSXDebug.c: add TkMacOSXGetNamedDebugSymbol() function
  	* macosx/tkMacOSXDebug.h: that finds unexported symbols in loaded
  	libraries by manually walking their symbol table; only to be used for
  	debugging purposes, may break unexpectedly in the future. Needed to get
  	access to private_extern internal debugging functions in HIToolbox.

  	* macosx/tkMacOSXCarbonEvents.c: fix debug event tracing on Tiger.
  	* macosx/tkMacOSXMenu.c: add debug menu printing during reconfigure.
  	* macosx/tkMacOSXInit.c: conditionalize 64bit-unsafe dyld code.
  	* macosx/GNUmakefile: add 'wish8.x' symlink to SYMROOT.

  	* macosx/Wish.xcode/project.pbxproj:     fix copy to tktest resource
  	* macosx/Wish.xcodeproj/project.pbxproj: fork when zerolinked.

  	* macosx/Wish.xcode/default.pbxuser:     add widget demo as argument to
  	* macosx/Wish.xcodeproj/default.pbxuser: executables (on by default).

  	* unix/configure:    add caching, use AC_CACHE_CHECK instead of
  	* unix/configure.in: AC_CACHE_VAL where possible, consistent message
  	* unix/tcl.m4:       quoting, sync relevant tclconfig/tcl.m4 changes and
  	gratuitous formatting differences, fix SC_CONFIG_MANPAGES with default
  	argument, Darwin improvements to SC_LOAD_*CONFIG.


type: ci
bgcolor: #60c060
user: das
comment:
  	* library/demos/cscroll.tcl: add MouseWheel bindings for aqua.

  	* macosx/tkMacOSXCarbonEvents.c (TkMacOSXInitCarbonEvents):
  	* macosx/tkMacOSXMouseEvent.c (TkMacOSXProcessMouseEvent,
  	GenerateMouseWheelEvent): add support for kEventMouseScroll events
  	(smooth mouse wheel scrolling from mighty mouse or scrolling trackpad)
  	by handling kEventMouseWheelMoved on application target as well as on
  	dispatcher, in order to pick up synthesized MouseWheel events from
  	HIObject handler (c.f. QA1453); add support for horizontal scrolling
  	events by generating MouseWheel XEvent with Shift modifier.


type: ci
user: a_kovalenko
comment:
  generic/tkUndo.c (TkUndoSetDepth): Don't free
  TkUndoSubAtoms for separator entries that are deleted:
  there is some unpredictable garbage instead of subatoms.
  Free both 'apply' and 'revert' action chains for
  non-separator entries.


type: ci
user: dgp
comment:
          * library/bgerror.tcl:  Updates to use Tcl 8.4 features. [Patch 1237759]        * library/choosedir.tcl:
          * library/comdlg.tcl:
          * library/console.tcl:
          * library/dialog.tcl:
          * library/focus.tcl:
          * library/msgbox.tcl:
          * library/palette.tcl:
          * library/tk.tcl:
          * library/tkfbox.tcl:
          * library/xmfbox.tcl:


type: ci
user: das
comment:
  	* generic/tk.decls:             fix signature of TkMacOSXInvalClipRgns
  	* generic/tkPlatDecls.h:        to use Tk_Window instead of internal
  	* macosx/tkMacOSXSubwindows.c:  type TkWindow (which led to any include
  	* macosx/tkMacOSXWindowEvent.c: of public header tkMacOSX.h requiring
  	* macosx/tkMacOSXWm.c:          prior include of tkInt.h).

  	* generic/tk.h:          move TkAqua specific REDO_KEYSYM_LOOKUP define
  	* macosx/tkMacOSXPort.h: out of tk.h into platform header.


type: ci
user: das
comment:
  	* unix/configure:    minor fix to Darwin specific code removing
  	* unix/configure.in: 64bit flags from CFLAGS for Tk build.


type: ci
user: jenglish
comment:
   XIM fixes [See #905830, patch tk84-xim-fixes.patch].
  + Revert 2005-12-05 patch disabling XIM when SCIM in use;
  + Make sure all X events get passed to XFilterEvent,
  including those without a corresponding Tk window.


type: ci
user: jenglish
comment:
  Set SHLIB_LD_FLAGS='${LIBS}' on NetBSD, as per the other *BSD variants
  [Bug 1334613].  Regenerated configure script.


type: ci
user: dkf
comment:
  Finish i18n of bgerror [Bug 1409264]. No l10n of that specific message though; that
   can wait for someone who really wants to use non-English to submit patches.


type: ci
user: dgp
comment:
          * generic/tkCmds.c:             Purged remaining references to
          * macosx/tkMacOSXPort.h:        errno, and errno.h.  Standardized
          * macosx/tkMacOSXWm.c:          the logic for using header files from
          * macosx/tkMacOSXWm.h:          the compat directory.  Thanks Joe
          * unix/tkUnixPort.h:            English for the patch. [Patch 1445404]


type: ci
user: hobbs
comment:
  	* macosx/tkMacOSXDraw.c (TkPutImage): fix endian issue on OS X x86
  	displaying images.  Bitmap images still have a black/white
  	reversal issue, appears to be a general OS X issue (as seen in
  	frogger demo).


type: ci
user: dkf
comment:
  Fix pixmap creation ordering issue [Bug 480862]
  Stupid issue was fixed for the mask pixmap, but not the data pixmap!


type: ci
user: dgp
comment:
          * unix/Makefile.in:     Update `make dist` to copy the image files
          needed by the test suite into the source distro.  This was overlooked
          in the 2005-10-12 commit.


type: ci
user: dgp
comment:
          * generic/tkConsole.c:  Substantial rewrite of [console] support.
          * generic/tkInt.h:      Included Obj-ification of the [console] and
          [consoleinterp] commands, and reworking of all the supporting data
          structures for cleaner sharing and lifetime management especially
          in multi-threaded configurations.


type: ci
user: dgp
comment:
          * tests/scrollbar.test: Corrected several broken calls to [testmetrics]
          that were crashing the test suite.


type: ci
user: dgp
comment:
          * tests/constraints.tcl:        Added notAqua constraint to canvPs-3.1
          * tests/canvPs.test:            to stop test suite crash on Mac OSX.
                                          [Bug 1088807]


type: ci
user: dkf
comment:
  Squelch [Bug 1409140] by special-case-ing the single-pixel put case.
  Also take better advantage of C's casting rules w.r.t. void* and other pointers


type: ci
user: patthoyts
comment:
  bug #1451587: avoid using abbreviated sub-commands in
  core scripts as this can cause problems with mega-widget
  libraries like snit.


type: ci
user: das
comment:
  	* generic/tkFont.c:             implementation of ATSUI text rendering
  	* generic/tkInt.h:              in TkAqua provided by Benjamin
  	* generic/tkTextDisp.c:         Riefenstahl. [Patch 638966]
  	* library/demos/unicodeout.tcl:
  	* macosx/tkMacOSXFont.h (new file):
  	* macosx/tkMacOSXFont.c:
  	* tests/font.test:
  	* unix/tkUnixFont.c:
  	* win/tkWinFont.c:

  	* generic/tkFont.c:             moved MODULE_SCOPE declarations of
  	* generic/tkFont.h:             font helper procs into header files.
  	* macosx/tkMacOSXButton.c:
  	* macosx/tkMacOSXFont.h:
  	* macosx/tkMacOSXMenubutton.c:

  	* macosx/Wish.xcode/project.pbxproj:     add new tkMacOSXFont.h file,
  	* macosx/Wish.xcodeproj/project.pbxproj: turn off dead code stripping
  	as it interferes with -sectcreate (rdar://4486223).

  	* macosx/Wish.xcode/default.pbxuser:     add TCLLIBPATH=/Library/Tcl
  	* macosx/Wish.xcodeproj/default.pbxuser: env var setting to tktest.

  	* unix/configure.in: fix detection of symbols build when enabling
  	TkAqua debug code; filter nm output of libtclstub better to avoid
  	error on intel macs [Bug 1415789].
  	* unix/configure: autoconf-2.59


type: ci
user: das
comment:
  	* generic/tkTextDisp.c:   moved #ifdef MAC_OSX_TK code added by
  	* macosx/tkMacOSXColor.c: Patch #638966 into platform specific
  	* macosx/tkMacOSXInt.h:   files.

  	* macosx/tkMacOSX.h:             cleaned up & rationalized order of
  	* macosx/tkMacOSXBitmap.c:       #includes of tk and carbon headers.
  	* macosx/tkMacOSXButton.c:
  	* macosx/tkMacOSXCarbonEvents.c:
  	* macosx/tkMacOSXClipboard.c:
  	* macosx/tkMacOSXColor.c:
  	* macosx/tkMacOSXConfig.c:
  	* macosx/tkMacOSXCursor.c:
  	* macosx/tkMacOSXDialog.c:
  	* macosx/tkMacOSXDraw.c:
  	* macosx/tkMacOSXEmbed.c:
  	* macosx/tkMacOSXEntry.c:
  	* macosx/tkMacOSXEvent.c:
  	* macosx/tkMacOSXEvent.h:
  	* macosx/tkMacOSXFont.h:
  	* macosx/tkMacOSXHLEvents.c:
  	* macosx/tkMacOSXInit.c:
  	* macosx/tkMacOSXInt.h:
  	* macosx/tkMacOSXKeyEvent.c:
  	* macosx/tkMacOSXKeyboard.c:
  	* macosx/tkMacOSXMenu.c:
  	* macosx/tkMacOSXMenubutton.c:
  	* macosx/tkMacOSXMenus.c:
  	* macosx/tkMacOSXMouseEvent.c:
  	* macosx/tkMacOSXRegion.c:
  	* macosx/tkMacOSXScale.c:
  	* macosx/tkMacOSXScrlbr.c:
  	* macosx/tkMacOSXSend.c:
  	* macosx/tkMacOSXSubwindows.c:
  	* macosx/tkMacOSXWindowEvent.c:
  	* macosx/tkMacOSXWm.c:
  	* macosx/tkMacOSXWm.h:
  	* macosx/tkMacOSXXStubs.c:


type: ci
user: dgp
comment:
          * generic/tkConsole.c:  Added exit handler to clean up the interp
          where the console window lives.


type: ci
user: dgp
comment:
          * generic/tkConsole.c:  Added exit handler to clean up the interp
          where the console window lives.  Also added code to handle
          multiple calls to Tk_CreateConsoleWindow so that the console
          channels connect to the last console window opened, in compatibility
          with the previous implementation.


type: ci
user: rmax
comment:
  * unix/tk.spec: Cleaned up and completed the spec file.
  		An RPM can now be built from the tk source
  		distribution with "rpmbuild -tb <tarball>".


type: ci
user: dgp
comment:
  	* tests/textDisp.test:  Updated expected error messages to match the
          standardized formats established on 2005-11-17.  [Bug 1370296]


type: ci
user: rmax
comment:
  * unix/tkUnixRFont.c (TkpMeasureCharsInContext): Copied over from
  tkUnixFont.c to fix compiling with --enable-xft .


type: ci
user: das
comment:
  	* macosx/tkMacOSXDraw.c:   sync whitespace & minor changes
  	* macosx/tkMacOSXEvent.h:  with core-8-4-branch.
  	* macosx/tkMacOSXFont.h:
  	* macosx/tkMacOSXMenu.c:
  	* macosx/tkMacOSXNotify.c:


type: ci
user: das
comment:
  	* macosx/tkMacOSXDraw.c (TkMacOSXSetUpCGContext):
  	* macosx/tkMacOSXFont.c (TkMacOSXQuarzStartDraw, TkMacOSXQuarzEndDraw):
  	performance improvements, sync similar code, formatting & whitespace.


type: ci
user: cc_benny
comment:
  	* generic/tkTextDisp.c (MeasureChars): Fix calculations of start and
  	end of string.  [Bugs 1325998, 1456157]


type: ci
user: das
comment:
  	* macosx/Wish.xcode/default.pbxuser:     add '-singleproc 1' cli arg to
  	* macosx/Wish.xcodeproj/default.pbxuser: tcltest to ease test debugging.

  	* macosx/Wish.xcode/project.pbxproj:     removed $prefix/share from
  	* macosx/Wish.xcodeproj/project.pbxproj: TCL_PACKAGE_PATH as per change
  	to tcl/unix/configure.in of 2006-03-13.


type: ci
user: dgp
comment:
          * unix/tkUnixDefault.h: Changed "Black" to "#000000" and "White" to
          "#ffffff" to work around the (broken?) X servers that do not accept
          those color names.  [Bug 917433]


type: ci
user: hobbs
comment:
  	* generic/tkMenu.c (TkSetWindowMenuBar): remove extra TkMenuInit
  	call that caused finalization panic. [Bug 1456851]
  	* win/tkWinMenu.c (FreeID, TkpNewMenu, MenuExitHandler)
  	(MenuThreadExitHandler, TkpMenuInit, TkpMenuThreadInit): rework
  	Windows menu init/finalization to better respect per-process and
  	per-thread boundaries. [Bug 1456851]
  	(TkWinMenuKeyObjCmd): Do not error when unknown window is passed
  	in. [Bug 1236306]


type: ci
user: hobbs
comment:
  	* generic/tkOption.c (TkOptionDeadWindow): handle
  	OptionThreadExitProc being called before DeleteWindowsExitProc.


type: ci
user: das
comment:
  	* macosx/tkMacOSXWm.c (WmAttributesCmd, WmIconbitmapCmd): fix errors
  	in setting/removing window proxy icons via [wm attributes -titlepath]
  	and [wm iconbitmap], use HIWindow API on Tiger or later. [Bug 1455241]

  	* unix/tcl.m4: remove TCL_IO_TRACK_OS_FOR_DRIVER_WITH_BAD_BLOCKING
  	define on Darwin. [Tcl Bug 1457515]
  	* unix/configure: autoconf-2.59
  	* unix/tkConfig.h.in: autoheader-2.59


type: ci
user: hobbs
comment:
  	* win/tkWinWm.c (WmProc): pass WM_QUERYENDSESSION message to Tk as
  	WM_SAVE_YOURSELF wm protocol callback.


type: ci
user: hobbs
comment:
  	* tests/grid.test: fix segfault on empty or "all" index list
  	* generic/tkGrid.c (GridRowColumnConfigureCommand): [Bug 1422430]


type: ci
user: das
comment:
  	* macosx/tkMacOSXInt.h:         Implemented 'zoomed' window state
  	* macosx/tkMacOSXWindowEvent.c: handling for TkAqua, via titlebar
  	* macosx/tkMacOSXWm.c:          widget clicks as well as [wm state].
  	* doc/wm.n:                     [Bug 1073456]


type: ci
user: hobbs
comment:
  	* generic/tkWindow.c (Initialize): remove impotent use of
  	DeleteWindowsExitProc as a global exit handler.


type: ci
user: das
comment:
  	* macosx/tkMacOSXHLEvents.c:    call ::tk::mac::* procs for all
  	* macosx/tkMacOSXWindowEvent.c: registered appleevents [FR 1105284],
  	implement print applevent handling, style/whitespace cleanup.


type: ci
user: das
comment:
  	* macosx/tkMacOSXMouseEvent.c (TkMacOSXProcessMouseEvent): fix return
  	values, implement window dragging & growing in background (with Command
  	key down) and by fronting clicks, use correct button & modifier state
  	API when application is in background (also in TkMacOSXButtonKeyState).

  	* macosx/tkMacOSXWm.c (TkMacOSXGrowToplevel): ensure QD port is set
  	correctly before using API relying on it.


type: ci
user: das
comment:
  	* macosx/tkMacOSXWm.c (WmResizableCmd): propagate window attribute
  	changes to Carbon window manager. [FR 1467004]


type: ci
user: das
comment:
  	* macosx/tkMacOSXWm.c (TkSetWMName, TkMacOSXMakeRealWindowExist):
  	allow empty name for toplevels, remove bogus initial window name.
  	[Bug 1450800]


type: ci
user: cc_benny
comment:
  * (MeasureStringWidth): Use implementation based on
    ATSUGetGlyphBounds (TK_MAC_USE_GETGLYPHBOUNDS), so we can
    use kATSUseFractionalOrigins.  This in turn corrects bug
    #1461650.
  * (TK_MAC_DEBUG_FONTS): Fix use this throughout: Don't use
    TK_MAC_DEBUG; avoid empty "if" blocks in non-debug mode.
  * (InitFont): Use "." and "W" instead of "i" and "w" to
    determine the "-fixed" attribute.  This prevents "Apple
    Chancery" from being classified as fixed.
  * (InitFontFamilies): Only get the font families once.


type: ci
user: cc_benny
comment:
  2006-04-10  Benjamin Riefenstahl  <b.riefenstahl@turtle-trading.net>

  	* macosx/tkMacOSXFont.c (MeasureStringWidth): Use implementation
  	based on ATSUGetGlyphBounds (TK_MAC_USE_GETGLYPHBOUNDS), so we can
  	use kATSUseFractionalOrigins.  This in turn corrects bug #1461650.
  	* (InitFont): Use "." and "W" instead of "i" and "w" to determine the
  	"-fixed" attribute.  This prevents "Apple Chancery" from being
  	classified as fixed.
  	* (InitFontFamilies): Only get the font families once.


type: ci
user: dgp
comment:
          * unix/Makefile.in:     Updated `make dist` target to be sure the
          message catalogs for the widget demo get packaged into the source
          code distribution.  [Bug 1466509]


type: ci
user: das
comment:
  	* macosx/tkMacOSXFont.c: remove #ifdef'd text measuring codepaths now
  	* macosx/tkMacOSXInit.c: known to be incorrect, cleanup obsolete text
  	* macosx/README:         antialiasing control code, document ATSUI
  	                         text antialiasing changes.


type: ci
user: das
comment:
  	* changes: added latest aqua bug fixes.

  	* macosx/tkMacOSXCarbonEvents.c: handle kEventCommandUpdateStatus
  	* macosx/tkMacOSXEvent.c:        carbon event to dynamically enable
  	the 'Preferences' app menu item when proc [::tk::mac::ShowPreferences]
  	is defined. [Bug 700316]

  	* macosx/tkMacOSXHLEvents.c:    call ::tk::mac::* procs for all
  	* macosx/tkMacOSXWindowEvent.c: registered appleevents [FR 1105284],
  	implement print applevent handling, style/whitespace cleanup.

  	* macosx/tkMacOSXDraw.c (TkMacOSXInitCGDrawing): prevent multiple init.

  	* macosx/tkMacOSXFont.c: remove #ifdef'd text measuring codepaths now
  	* macosx/tkMacOSXInit.c: known to be incorrect, cleanup obsolete text
  	* macosx/README:         antialiasing control code, document ATSUI
  	                         text antialiasing changes.


type: ci
user: das
comment:
  	* macosx/tkMacOSXCarbonEvents.c: handle kEventCommandUpdateStatus
  	* macosx/tkMacOSXEvent.c:        carbon event to dynamically enable
  	the 'Preferences' app menu item when proc [::tk::mac::ShowPreferences]
  	is defined. [Bug 700316]


type: ci
user: das
comment:
  	* macosx/tkMacOSXDialog.c (Tk_MessageBoxObjCmd): added standard Escape
  	key binding for msgbox cancel buttons [Patch 1193614], whitespace.


type: ci
user: pspjuth
comment:
  	* generic/tkWindow.c (Tk_NameToWindow): Allow NULL interp to
  	Tk_NameToWindow. This fixes TkGetWindowFromObj which promises to
  	handle NULL but didn't.

  	* generic/tkGrid.c: Fixed handling of out of bounds row or column.
  	* tests/grid.test:  [Bug 1432666]


type: ci
user: das
comment:
  	* macosx/tkMacOSXWm.c (TkWmMapWindow, InitialWindowBounds): fix use of
  	potentially stale window position in initial configure event on first
  	map of a window. [Bug 1476443]
  	(TkMacOSXWindowOffset): use modern GetWindowStructureWidths API.

  	* macosx/tkMacOSXInt.h:
  	* macosx/tkMacOSXMouseEvent.c (TkGenerateButtonEventForXPointer): new
  	internal function to generate button events for current pointer
  	directly, without requiring prior call to XQueryPointer().

  	* macosx/tkMacOSXMouseEvent.c (XQueryPointer): implement return of
  	window-local pointer position.

  	* macosx/tkMacOSXInt.h:      use improvements above to avoid calls to
  	* macosx/tkMacOSXKeyEvent.c: GlobalToLocal() when the current port might
  	* macosx/tkMacOSXMenu.c:     not be set correctly. May fix [Bug 1243318]
  	* macosx/tkMacOSXMenus.c:
  	* macosx/tkMacOSXScale.c:
  	* macosx/tkMacOSXScrlbr.c:

  	* tkAboutDlg.r: update copyright.

  	* macosx/tkMacOSXDebug.h: sync #includes with core-8-4-branch.
  	* macosx/tkMacOSXEvent.h:
  	* macosx/tkMacOSXFont.h:


type: ci
user: dgp
comment:
          * README:               Bump version number to 8.5a4
          * generic/tk.h:
          * unix/configure.in:
          * unix/tk.spec:
          * win/configure.in:

          * unix/configure:       autoconf-2.59
          * win/configure:


type: ci
user: das
comment:
  	* generic/tkCanvWind.c (DisplayWinItem, WinItemRequestProc): ensure
  	canvas window items are unmapped when canvas is unmapped. [Bug 940117]

  	* macosx/tkMacOSXSubwindows.c (TkMacOSXUpdateClipRgn): empty clip region
  	of unmapped windows to prevent any drawing into them or into their
  	children from becoming visible. [Bug 940117]

  	* macosx/tkMacOSXInt.h:         revert Jim's attempt of 2005-03-14 to
  	* macosx/tkMacOSXSubwindows.c:  fix Bug 940117 as it disables Map/Unmap
  	event propagation to children.  [Bug 1480105]

  	* macosx/tkMacOSXDraw.c (TkPutImage): handle tkPictureIsOpen flag, fixes
  	incorrect positioning of images with complex alpha on native buttons;
  	actual alpha blending is still broken in this situation. [Bug 1155596]

  	* macosx/tkMacOSXEvent.c (TkMacOSXProcessCommandEvent):
  	* macosx/tkMacOSXMenus.c (TkMacOSXInitMenus): workaround carbon bug with
  	key shortcut for 'Preferences' app menu item. [Bug 1481503]

  	* macosx/tkMacOSXKeyEvent.c (TkMacOSXProcessKeyboardEvent): only check
  	for HICommand menu item shortcuts in the application menu.

  	* macosx/tkMacOSXInt.h:       initialize keyboard layout setup in
  	* macosx/tkMacOSXInit.c:      TkpInit() rather than during handling of
  	* macosx/tkMacOSXKeyEvent.c:  first key down event.

  	* macosx/tkMacOSXDraw.c:        add optional debug code to flash clip
  	* macosx/tkMacOSXSubwindows.c:  regions during update or draw.


type: ci
user: hobbs
comment:
  	* generic/tkImgPhoto.c (Tk_PhotoPutBlock, Tk_PhotoPutZoomedBlock):
  	Fix opt added 2006-03 that caused slowdown for some common cases.
  	[Bug 1409140]


type: ci
user: das
comment:
  	* macosx/tkMacOSXWindowEvent.c (TkMacOSXGenerateFocusEvent): don't send
  	focus events to windows of class help or to overrideredirect windows.
  	[Bug 1472624]

  	* macosx/tkMacOSXWm.c: set overrideredirect windows to not become
  	activated by the window manager and to not receive OS activate events
  	(should make them behave more like on other platforms); use modern
  	window class API for overrideredirect and transient windows; set the
  	default class of overrideredirect windows to 'simple' rather than
  	'plain' (i.e. no window frame); add missing Panther and Tiger window
  	attributes to [::tk::unsupported::MacWindowStyle].


type: ci
user: hobbs
comment:
  	* generic/tkBind.c (Tk_BindEvent, TkCopyAndGlobalEval): use
  	Tcl_EvalEx instead of Tcl_GlobalEval.


type: ci
user: hobbs
comment:
  	* tests/entry.test (entry-22.1):
  	* tests/listbox.test (listbox-6.15):
  	* generic/tkListbox.c (ListboxInsertSubCmd, ListboxDeleteSubCmd):
  	Ignore Tcl_SetVar2Ex failure of listVarName, similar to entry
  	widget handling. [Bug 1424513]


type: ci
user: hobbs
comment:
  	* win/tkWinMenu.c (TkWinMenuKeyObjCmd): get eventPtr after we know
  	the window is still alive. [AS bug 45987] [Bug 1236306]


type: ci
user: hobbs
comment:
  	* generic/tkMenu.c (DeleteMenuCloneEntries): Modify entry index
  	changes to work around VC6 optimization bug. [Bug 1224330]


type: ci
user: hobbs
comment:
  	* generic/tkMessage.c (MessageWidgetObjCmd): Correct msgPtr
  	preserve/release pairing. [Bug 1485750] (afredd)


type: ci
user: dgp
comment:
          * generic/tkMain.c:     Added Tcl_Preserve() call on the master
          interp as crash protection against any Tcl_DeleteInterp() call
          that might happen.


type: ci
user: hobbs
comment:
  	* macosx/tkMacOSXButton.c (TkMacOSXDrawControl): correct redraw
  	for direct transition from disabled to active state. [Bug 706446]


type: ci
bgcolor: #60c060
user: dgp
comment:
          * generic/tkConsole.c:  Added Tcl_RegisterChannel() calls to bump
          the refcount of channels passed to Tcl_SetStdChannel().  This prevents
          early free-ing of the channels that leads to crashes.  [Bug 912571].


type: ci
user: hobbs
comment:
  	* win/tkWinEmbed.c (TkpGetOtherWindow):   [Bug 1212056] do not panic
  	* unix/tkUnixEmbed.c (TkpGetOtherWindow): if no window is found -
  	* unix/tkUnixWm.c (Tk_CoordsToWindow, UpdateGeometryInfo): handle it
  	in the caller


type: ci
user: das
comment:
  	* generic/tkImgGIF.c (ReadImage):
  	* macosx/tkMacOSXCursor.c (TkMacOSXCursor):
  	* macosx/tkMacOSXDebug.c (TkMacOSXGetNamedDebugSymbol):
  	* macosx/tkMacOSXInit.c (Map):
  	* xlib/xgc.c (XCreateGC): fix signed-with-unsigned comparison and other
  	warnings from gcc4 -Wextra.


type: ci
user: hobbs
comment:
  	* library/bgerror.tcl (::tk::dialog::error::bgerror): remove a
  	couple of unnecessary hardcoded options


type: ci
user: dgp
comment:
          * generic/tkScale.c:    Revised variable writing logic to account
          for [scale]'s design that it deals with its value as a formatted
          string, and not as a double.    [Bug 891141].


type: ci
user: das
comment:
  	* macosx/tkMacOSXSubwindows.c (TkMacOSXInvalidateWindow): ensure invalid
  	clip regions are recreated via TkMacOSXUpdateClipRgn() before they are
  	used; correct call order of TkMacOSXInvalidateWindow() and
  	TkMacOSXInvalClipRgns() throughout. [Bug 1501922]

  	* macosx/tkMacOSXDraw.c (TkPutImage): implement drawing of very wide
  	images in slices of less than 4096 pixels to workaround CopyBits
  	limitation. [Bug 950121]


type: ci
user: das
comment:
  	* macosx/tkMacOSXWm.c (WmAttributesCmd, WmIconbitmapCmd): add support
  	* unix/tkUnixSend.c (Tk_GetUserInactiveTime):             for weakly
  	importing symbols not available on OSX 10.2 or 10.3, enables binaires
  	built on later OSX versions to run on earlier ones.
  	* macosx/Wish.xcodeproj/project.pbxproj: enable weak-linking; turn on
  	                                         extra warnings.
  	* macosx/README: document how to enable weak-linking; cleanup.
  	* unix/configure.in: add check on Darwin-X11 for ld support of -weak-l
  	* unix/tcl.m4:       flag and weak-link libXss if possible as it is not
  	available before OSX 10.4; enforce requirement of OSX 10.2 for TkAqua;
  	move Darwin specific checks & defines that are only relevant to the tcl
  	build out of tcl.m4; restrict framework option to Darwin; cleanup
  	quoting and help messages.
  	* unix/configure: autoconf-2.59
  	* unix/tkConfig.h.in: autoheader-2.59

  	* macosx/GNUmakefile: enable xft for TkX11 build.
  	* macosx/tkMacOSXFont.c (TkMacOSXQuarzStartDraw, TkMacOSXQuarzEndDraw):
  	verify validity of context returned from QDBeginCGContext() before use.
  	* macosx/tkMacOSXKeyEvent.c: ifdef out diagnostic messages to stderr.

  	* macosx/tkMacOSXEvent.h:      standardize MAC_OS_X_VERSION_MAX_ALLOWED
  	* macosx/tkMacOSXMenu.c:       checks per QA1316, ensure define can be
  	* macosx/tkMacOSXMenubutton.c: overriden on command line (from default
  	* macosx/tkMacOSXMenus.c:      of current OS version).
  	* macosx/tkMacOSXMouseEvent.c:
  	* macosx/tkMacOSXWm.c:

  	* macosx/tkMacOSXFont.c (TkpMeasureCharsInContext): fix
  	signed-with-unsigned comparison and other warnings from gcc4 -Wextra.


type: ci
user: andreas_kupries
comment:
  	* generic/tkWindow.c (Initialize): Modify change of 2006-05-25
  	  (jeffh). Release mutex a bit earlier, to prevent lock when OS X
  	  creates its console windows (recursively enters Tk_Init). Patch
  	  by JeffH.


type: ci
user: das
comment:
  	* generic/tkBind.c (TkBindInit): for REDO_KEYSYM_LOOKUP, change
  	keysym-to-string mapping hash to use first name in ks_names.h instead of
  	last (if there are multiple possibilities), e.g. "F11" instead of "L1".

  	* macosx/tkMacOSXKeyboard.c (TkpGetKeySym): correct keysyms for pure
  	modifier key presses [Bugs 700311, 1525905]; correct keysym for Enter
  	key; add keysyms for new NumLock and Fn modifiers (added 2005-08-09).


type: ci
user: das
comment:
  	* macosx/tkMacOSXWm.c (TkWmMapWindow): fix incorrect values of wmInfo
  	parentWidth/Height for toplevels by recalculating them once the window
  	is mapped (i.e. once the window&structure sizes are known). [Bug 1358663]
  	(ParseGeometry): sync with ParseGeometry in tkUnixWm.c/tkWinWm.c.


type: ci
user: das
comment:
  	* unix/tcl.m4 (Darwin): add support for --enable-64bit on x86_64, for
  	universal builds including x86_64, for 64-bit CoreFoundation on Leopard
  	and for use of -mmacosx-version-min instead of MACOSX_DEPLOYMENT_TARGET.
  	* unix/configure.in (Darwin): remove 64-bit arch flags from CFLAGS for
  	combined 32-bit and 64-bit universal builds, as neither TkAqua nor TkX11
  	can be built for 64-bit at present.
  	* unix/configure: autoconf-2.59
  	* unix/tkConfig.h.in: autoheader-2.59

  	* macosx/Wish.xcodeproj/project.pbxproj: switch native release targets
  	to use DWARF with dSYM, Xcode 3.0 changes.
  	* macosx/README: updates for x86_64 and Xcode 2.3.

  	* macosx/tkMacOSXInit.c (TkpInit): when available, use public
  	TransformProcessType() API instead of CPSEnableForegroundOperation() SPI
  	to notify the window server that we are a GUI application.

  	* macosx/tkMacOSXWm.c (WmAttrGetTitlePath): use HIWindow API on >=Tiger.

  	* macosx/tkMacOSXMouseEvent.c (GenerateToolbarButtonEvent):
  	* macosx/tkMacOSXMenus.c (GenerateEditEvent):
  	* macosx/tkMacOSXMenu.c (MenuSelectEvent): bzero XVirtualEvent structure
  	before use to ensure all fields are initialized. [Bug 1542205]


type: ci
user: das
comment:
  	* macosx/tkMacOSXCarbonEvents.c (CarbonTimerProc): avoid starving main
  	event loop: limit the number of tcl events processed per invocation.
  	Fixes bug reported on tcl-mac by Kevan Hashemi.


type: ci
user: das
comment:
  	* macosx/tkMacOSXKeyEvent.c (TkMacOSXProcessKeyboardEvent): handle key
  	shortcut for kHICommandQuit in the same way as other application menu
  	item key shortcuts. [Bug 1516950]


type: ci
user: hobbs
comment:
  	* generic/tkEntry.c:   move hard-coded ALWAYS_SHOW_SELECTION
  	* generic/tkInt.h:     control of entry/text selection display
  	* generic/tkText.c:    based on focus to the Tcl level,
  	* generic/tkWindow.c:  controlled by ::tk::AlwaysShowSelection
  	* library/tk.tcl:      (boolean, private).  [Bug 1553691]
  	* macosx/tkMacOSXDefault.h:
  	* unix/tkUnixDefault.h:
  	* unix/tkUnixPort.h:
  	* win/tkWinDefault.h:


type: ci
user: das
comment:
  	* macosx/tkMacOSXColor.c (TkSetMacColor, TkpGetColor): use AppearanceMgr
  	* macosx/tkMacOSXDefault.h: to retrieve platform std colors for text
  	* macosx/tkMacOSXPort.h:    selections, add "systemHighlightSecondary"
  	color name for standard color of inactive selections, use this color as
  	default for text widget -inactiveselectbackground to implement platform
  	standard look for inactive text selections.

  	* library/text.tcl (aqua): remove focus bindings to set selection color.

  	* generic/tkTextBTree.c (TkTextIsElided): on TkAqua, don't show inactive
  	* generic/tkTextDisp.c (GetStyle):        text selection when text
  	                                          widget is in disabled state.

  	* generic/tkEntry.c (DisplayEntry): change default TkAqua selection
  	* macosx/tkMacOSXDefault.h:         relief to "flat" (platform std).

  	* generic/tkText.c (CreateWidget): fix bug leading to default text
  	selection relief string DEF_TEXT_SELECT_RELIEF being ignored.

  	* macosx/tkMacOSXMouseEvent.c (TkMacOSXProcessMouseEvent): allow mouse
  	event delivery to background windows with kWindowNoActivatesAttribute
  	(e.g. overrideredirect windows), as these never come to the foreground
  	they would not receive any mouse events otherwise. [Bug 1472624]

  	* macosx/tkMacOSXWindowEvent.c (TkMacOSXGenerateFocusEvent): do not
  	send focus events to any windows with kWindowNoActivatesAttribute.

  	* macosx/tkMacOSXXStubs.c (XQueryColor, XQueryColors): implement basic
  	XColor computation from pixel values, enough to make tkImg's window.c
  	happy, fixes img::window failures reported on tcl-mac.

  	* macosx/tkMacOSXMenu.c (DrawMenuEntryLabel): fix leak. [Bug 1554672]

  	* macosx/GNUmakefile: workaround bug in 'cp -pRH' on Darwin 6 and
  	earlier, fixes 'make embedded' failure reported on tcl-mac; fix error
  	from 'make deploy' with same build tree as previous 'make embedded'.

  	* macosx/Wish.xcodeproj/project.pbxproj: add new tclUnixCompat.c file.

  	* macosx/tkMacOSXEntry.c (TkpDrawEntryBorderAndFocus): fix typo.

  	* unix/tcl.m4: sync with tcl/unix/tcl.m4.
  	* unix/configure: autoconf-2.59


type: ci
user: hobbs
comment:
  	* win/tkWinKey.c: Add WM_UNICHAR window message support (used by
  	* win/tkWinX.c:   virtual keyboard apps). [Bug 1518677] (petasis)


type: ci
user: das
comment:
  	* macosx/tkMacOSXScrlbr.c (UpdateControlValues): set native scrollbar
  	control bounds only once all size adjustments have been computed.
  	Fixes issue with grow icon obscuring scrollbar reported on tcl-mac.


type: ci
user: das
comment:
  	* macosx/tkMacOSXWm.c (TkMacOSXMakeRealWindowExist): revert part of
  	2006-05-16 change that had set overrideredirect windows to not become
  	activated by the window manager, as this prevented interaction with
  	native widgets in such windows [Bug 1472624]; apply changes to carbon
  	window attributes even if native window has already been created.

  	* macosx/tkMacOSXKeyEvent.c (TkMacOSXProcessKeyboardEvent): fix app
  	* macosx/tkMacOSXMenu.c (DrawMenuBarWhenIdle): menu item key shortcuts
  	* macosx/tkMacOSXInt.h: when custom ".apple" menu is installed.

  	* library/demos/widget: on TkAqua, don't install file menu with single
  	quit menu item, as the application menu already has a quit item.

  	* macosx/tkMacOSXColor.c: fix building on Mac OS X 10.2.


type: ci
user: andreas_kupries
comment:
  	* generic/tkConsole.c: TIP #268 update regarding registered package
  	* generic/tkMain.c:    version, now using full patchlevel instead of
  	* generic/tkWindow.c:  major.minor
  	* library/tk.tcl:
  	* unix/configure:
  	* unix/Makefile.in:
  	* unix/tcl.m4:
  	* win/configure:
  	* win/Makefile.in:
  	* win/makefile.vc:
  	* win/rules.vc:
  	* win/tcl.m4:


type: ci
user: hobbs
comment:
  	* win/tkWinMenu.c (TkpPostMenu): disable menu animation in menus
  	with images to avoid clipping bug.  [Bug 1329198]


type: ci
user: das
comment:
  	* changes: updates for 8.5a5 release.

  	* macosx/tkMacOSXDraw.c: fix numerous issues in CG and QD drawing procs
  	so that they now match X11 drawing much more closely [Bug 1558051];
  	use Tiger ellipse drawing API when available; fix comments & whitespace.

  	* macosx/tkMacOSXInit.c: set default linewidth limit for CG
  	antialiasing to 0 as thin horizontal/vertical lines look good now.

  	* generic/tkCanvLine.c (ConfigureLine):     on TkAqua, pass outline
  	* generic/tkCanvPoly.c (ConfigurePolygon):  linewidth in gc even for
  	* generic/tkRectOval.c (ConfigureRectOval): fills (as it controls AA).


type: ci
user: hobbs
comment:
  	* unix/tkUnixFont.c (Ucs2beToUtfProc, UtfToUcs2beProc):
  	(TkpFontPkgInit, encodingAliases): Correct alignment issues in
  	encoding conversion.  Call ucs-2be "unicode" on big-endian
  	systems. [Bug 1122671]


type: ci
user: andreas_kupries
comment:
  	* unix/Makefile.in (install-binaries): Added a second guard to the
  	* win/Makefile.in: package index file to prevent older versions of
  	* win/makefile.vc: Tcl from seeing version numbers which may
  	  contain a/b information, and then balking on them. This could
  	  otherwise happen when Tcl/Tk 8.4 and 8.5 are installed in the
  	  same directory, seeing each other. [SF Tk Bug 1566418].


type: ci
user: patthoyts
comment:
  generic/tkText.c: Applied suggested patch from #1536735
  tests/text.test:  Update test for above patch.
  tests/textWind.test:  Corrected test to catch all messages
  tests/safe.test: Silence spurious win32 failure awaiting TIP150
  tests/winDialog.test: Updated test for file name length check.
  test/winWm.test: Corrected test expectation for menu wrapping.


type: ci
user: andreas_kupries
comment:
  	* doc/WindowId.3: Pat's commit on 2006-10-08 broke the .SH NAME
  	  information across several lines, breaking the cross-linking of
  	  manpages during installation for this one. Put everything back
  	  on a single line, unbreaking it.


type: ci
user: patthoyts
comment:
  generic/tkImgBmap.c: Fixed line endings.
  win/makefile.vc:  Patched up build system to manage
  win/rules.vc:     AMD64 with MSVC8
  win/nmakehlp.c:   Ensure operation without Platform SDK.


type: ci
user: dgp
comment:
          * README:               Bump version number to 8.5a6
          * generic/tk.h:
          * unix/configure.in:
          * unix/tk.spec:
          * win/configure.in:

          * unix/configure:       autoconf-2.59
          * win/configure:


type: ci
user: hobbs
comment:
  	* generic/tkTextDisp.c (SizeOfTab): fix -tabstyle wordprocessor
  	tab alignment to correct tab edge case. [Bug 1578858]


type: ci
user: hobbs
comment:
  	* doc/ttk_Geometry.3, doc/ttk_Theme.3, doc/ttk_button.n:
  	* doc/ttk_checkbutton.n, doc/ttk_combobox.n, doc/ttk_dialog.n:
  	* doc/ttk_entry.n, doc/ttk_frame.n, doc/ttk_image.n:
  	* doc/ttk_intro.n, doc/ttk_label.n, doc/ttk_labelframe.n:
  	* doc/ttk_menubutton.n, doc/ttk_notebook.n, doc/ttk_panedwindow.n:
  	* doc/ttk_progressbar.n, doc/ttk_radiobutton.n, doc/ttk_scrollbar.n:
  	* doc/ttk_separator.n, doc/ttk_sizegrip.n, doc/ttk_style.n:
  	* doc/ttk_treeview.n, doc/ttk_widget.n,:
  	* generic/ttk/ttk.decls, generic/ttk/ttkBlink.c:
  	* generic/ttk/ttkButton.c, generic/ttk/ttkCache.c:
  	* generic/ttk/ttkClamTheme.c, generic/ttk/ttkClassicTheme.c:
  	* generic/ttk/ttkDecls.h, generic/ttk/ttkDefaultTheme.c:
  	* generic/ttk/ttkElements.c, generic/ttk/ttkEntry.c:
  	* generic/ttk/ttkFrame.c, generic/ttk/ttkImage.c:
  	* generic/ttk/ttkInit.c, generic/ttk/ttkLabel.c:
  	* generic/ttk/ttkLayout.c, generic/ttk/ttkManager.c:
  	* generic/ttk/ttkManager.h, generic/ttk/ttkNotebook.c:
  	* generic/ttk/ttkPanedwindow.c, generic/ttk/ttkProgress.c:
  	* generic/ttk/ttkScale.c, generic/ttk/ttkScroll.c:
  	* generic/ttk/ttkScrollbar.c, generic/ttk/ttkSeparator.c:
  	* generic/ttk/ttkSquare.c, generic/ttk/ttkState.c:
  	* generic/ttk/ttkStubInit.c, generic/ttk/ttkStubLib.c:
  	* generic/ttk/ttkTagSet.c, generic/ttk/ttkTheme.c:
  	* generic/ttk/ttkTheme.h, generic/ttk/ttkThemeInt.h:
  	* generic/ttk/ttkTrace.c, generic/ttk/ttkTrack.c:
  	* generic/ttk/ttkTreeview.c, generic/ttk/ttkWidget.c:
  	* generic/ttk/ttkWidget.h:
  	* library/demos/ttk_demo.tcl, library/demos/ttk_iconlib.tcl:
  	* library/demos/ttk_repeater.tcl:
  	* library/ttk/altTheme.tcl, library/ttk/aquaTheme.tcl:
  	* library/ttk/button.tcl, library/ttk/clamTheme.tcl:
  	* library/ttk/classicTheme.tcl, library/ttk/combobox.tcl:
  	* library/ttk/cursors.tcl, library/ttk/defaults.tcl:
  	* library/ttk/dialog.tcl, library/ttk/entry.tcl:
  	* library/ttk/fonts.tcl, library/ttk/icons.tcl:
  	* library/ttk/keynav.tcl, library/ttk/menubutton.tcl:
  	* library/ttk/notebook.tcl, library/ttk/panedwindow.tcl:
  	* library/ttk/progress.tcl, library/ttk/scale.tcl:
  	* library/ttk/scrollbar.tcl, library/ttk/sizegrip.tcl:
  	* library/ttk/treeview.tcl, library/ttk/ttk.tcl:
  	* library/ttk/utils.tcl, library/ttk/winTheme.tcl:
  	* library/ttk/xpTheme.tcl:
  	* macosx/ttkMacOSXTheme.c:
  	* tests/ttk/all.tcl, tests/ttk/bwidget.test, tests/ttk/combobox.test:
  	* tests/ttk/entry.test, tests/ttk/image.test:
  	* tests/ttk/labelframe.test, tests/ttk/layout.test:
  	* tests/ttk/misc.test, tests/ttk/notebook.test:
  	* tests/ttk/panedwindow.test, tests/ttk/progressbar.test:
  	* tests/ttk/scrollbar.test, tests/ttk/treetags.test:
  	* tests/ttk/treeview.test, tests/ttk/ttk.test, tests/ttk/validate.test:
  	* win/ttkWinMonitor.c, win/ttkWinTheme.c, win/ttkWinXPTheme.c:
  	First import of Ttk themed Tk widgets as branched from tile 0.7.8

  	* generic/tkInt.h, generic/tkWindow.c: add Ttk_Init call, copy
  	tk classic widgets to ::tk namespace.
  	* library/tk.tcl: add source of ttk/ttk.tcl, define $::ttk::library.
  	* unix/Makefile.in, win/Makefile.in: add Ttk build bits
  	* win/configure, win/configure.in: check for uxtheme.h (XP theme).


type: ci
user: dgp
comment:
          * README:               Bump version number to 8.5a6
          * generic/tk.h:
          * library/tk.tcl:
          * unix/configure.in:
          * unix/tk.spec:
          * win/configure.in:

          * unix/configure:       autoconf-2.59
          * win/configure:


type: ci
user: das
comment:
  	* macosx/tkMacOSXDebug.c: add TkMacOSX prefix to leftover macosx-private
  	* macosx/tkMacOSXDebug.h: global symbols without Tk prefix; ifdef out
  	* macosx/tkMacOSXEmbed.c: currently unused debug procs.
  	* macosx/tkMacOSXEvent.c:
  	* macosx/tkMacOSXInt.h:
  	* macosx/tkMacOSXCarbonEvents.c:
  	* macosx/tkMacOSXSubwindows.c:
  	* macosx/tkMacOSXWm.c:


type: ci
user: das
comment:
  	* macosx/Wish.xcodeproj/project.pbxproj: add new Ttk files.

  	* macosx/ttkMacOSXTheme.c: standardize header #includes.

  	* unix/Makefile (checkstubs, checkexports): check ttk.decls, allow
  	export of Ttk prefixed symbols.

  	* generic/ttk/tkDefaultTheme.c: fix warnings.


type: ci
user: das
comment:
  	* generic/ttk/ttkBlink.c, generic/ttk/ttkButton.c:
  	* generic/ttk/ttkClamTheme.c, generic/ttk/ttkClassicTheme.c:
  	* generic/ttk/ttkDecls.h, generic/ttk/ttkDefaultTheme.c:
  	* generic/ttk/ttkElements.c, generic/ttk/ttkEntry.c:
  	* generic/ttk/ttkFrame.c, generic/ttk/ttkImage.c:
  	* generic/ttk/ttkInit.c, generic/ttk/ttkLabel.c:
  	* generic/ttk/ttkLayout.c, generic/ttk/ttkManager.h:
  	* generic/ttk/ttkNotebook.c, generic/ttk/ttkPanedwindow.c:
  	* generic/ttk/ttkProgress.c, generic/ttk/ttkScale.c:
  	* generic/ttk/ttkScroll.c, generic/ttk/ttkScrollbar.c:
  	* generic/ttk/ttkSeparator.c, generic/ttk/ttkSquare.c:
  	* generic/ttk/ttkStubInit.c, generic/ttk/ttkStubLib.c:
  	* generic/ttk/ttkTheme.c, generic/ttk/ttkTheme.h:
  	* generic/ttk/ttkThemeInt.h, generic/ttk/ttkTrack.c:
  	* generic/ttk/ttkTreeview.c, generic/ttk/ttkWidget.c:
  	* generic/ttk/ttkWidget.h, macosx/ttkMacOSXTheme.c:
  	* win/ttkWinMonitor.c, win/ttkWinTheme.c, win/ttkWinXPTheme.c: ensure
  	all global Ttk symbols have Ttk or ttk prefix; declare all externally
  	visible Ttk symbols not contained in stubs table as MODULE_SCOPE (or as
  	static when possible); so that 'make check{exports,stubs}' once again
  	complete without errors.


type: ci
user: patthoyts
comment:
  We do not want to require tkInt in all the ttk files so added the
  definition of MODULE_SCOPE to ttkTheme.h Ensure everyone gets to see
  the definition from someplace.


type: ci
user: das
comment:
  	* macosx/Wish.xcodeproj/project.pbxproj: check autoconf/autoheader exit
  	status and stop build if they fail.


type: ci
user: das
comment:
  	* macosx/tkMacOSXWindowEvent.c (GenerateUpdateEvent): fix handling of
  	Carbon Update events: the QuickDraw window update region was being
  	ignored and all child TkWindows were sent an Expose XEvent even when
  	they did not need to be redrawn. [Patch 1589226]


type: ci
user: jenglish
comment:
  Miscellaneous minor changes to re-sync Ttk codebase with Tile CVS:
  fix comments damaged by overzealous search-and-destroy;
  removed obsolete [style default] synonym for [ttk::style configure];
  removed other dead code.


type: ci
user: jenglish
comment:
  Reworked cleanup procedure -- "self-cancelling" idle call is not robust,
  call Tcl_CancelIdleCall() in TtkFreeScrollHandle instead.
  [fixes #1588251]


type: ci
user: das
comment:
  	* macosx/Wish.xcodeproj/project.pbxproj: remove tclParseExpr.c and
  	bwidget.test.

  	* unix/tcl.m4 (Darwin): suppress linker arch warnings when building
  	universal for both 32 & 64 bit and no 64bit CoreFoundation is
  	available; sync with tcl tcl.m4 change.
  	* unix/configure: autoconf-2.59
  	* unix/tkConfig.h.in: autoheader-2.59


type: ci
user: jenglish
comment:
  Fix off-by-one bug in tree indicator size computation [#1596021,
  patch from Tim Baker].  Increased default size from 7 to 9 pixels.


type: ci
user: jenglish
comment:
  * library/ttk/altTheme.tcl, library/ttk/clamTheme.tcl,
  library/ttk/defaults.tcl, library/ttk/winTheme.tcl,
  library/ttk/xpTheme.tcl: explicitly specify -anchor w on TMenubutton
  * tests/ttk/entry.test: Fixed font dependency; test entry-3.2
  should work on all platforms now.
  * library/classicTheme.tcl: Don't define or use TkClassicDefaultFont.
  * generic/ttk/ttkTreeview.c, generic/ttk/ttkPanedwindow.c:
  Handle missing layouts.


type: ci
user: hobbs
comment:
  	* win/tkWinMenu.c (TkWinHandleMenuEvent, DrawMenuUnderline):
  	handle unichar underlining correctly and safely. [Bug 1599877]


type: ci
user: das
comment:
  removed tcl/tools/genWinImage.tcl tcl/win/README.binary and tk/win/rc/wish.exe.manifest
  corrected link order of ttk files


type: ci
user: jenglish
comment:
  Add support for alternate/indeterminate checkbutton state.
  Fix various spacing parameters [#1596020, patch from Tim Baker].
  Remove unused uxtheme hooks.


type: ci
user: jenglish
comment:
  * generic/ttk/ttkWidget.c, generic/ttk/ttkPaned.c Fix for #1603506
  * library/ttk/button.tcl, library/ttk/combobox.tcl,
  library/ttk/utils.tcl: Rename ttk::CopyBindings to ttk::copyBindings
  * generic/ttk/ttkTreeview.c, doc/ttk_treeview.n:
  -displaycolumns {} now means "no columns" instead of "all columns".
  Use -displaycolumns #all for "all columns" [Fixes #1547622].


type: ci
user: hobbs
comment:
  	* macosx/tkMacOSXInit.c (TkpInit): only set tcl_interactive 1 if
  	it isn't already defined.  Allows embedders to set it to 0 to
  	prevent the console appearing on OS X. [Bug 1487701]


type: ci
user: hobbs
comment:
  	* unix/tkUnixMenu.c (DrawMenuUnderline): bound Tcl_UtfAtIndex usage
  	* tests/menu.test (menu-36.1): [Bug 1599877]


type: ci
user: das
comment:
  	* tcl.m4 (Linux): --enable-64bit support. [Patch 1597389], [Bug 1230558]
  	* configure: autoconf-2.59


type: ci
user: das
comment:
  	* macosx/tkMacOSXDialog.c (Tk_MessageBoxObjCmd): fix inability to use
  	buttons with standard Escape key binding as -default button (reported
  	on tcl-mac by Hans-Christoph Steiner).


type: ci
user: jenglish
comment:
  Merged duplicate functionality between image element factory,
  image element, and -image option processing.  Image element
  factory now takes an imageSpec argument instead of a separate
  image name and -map option.


type: ci
user: hobbs
comment:
  	* generic/tkListbox.c (ConfigureListboxItem): ListboxWorldChanged
  	not needed - just call EventuallyRedrawRange. [Bug 1608046] (rezic)


type: ci
user: hobbs
comment:
  	* unix/Makefile.in (install-doc): intentionally skip ttk_dialog.n
  	installation (not for public consumption)

  	* doc/scrollbar.n, doc/button.n, doc/checkbutton.n:
  	* doc/entry.n, doc/frame.n, doc/label.n, doc/labelframe.n:
  	* doc/menu.n, doc/menubutton.n, doc/panedwindow.n:
  	* doc/radiobutton.n, doc/scrollbar.n, doc/ttk_*: revamp ttk docs
  	to use consist nroff format (not 100% consistent with classic
  	widget docs).  Add more man page cross-linking "SEE ALSO".


type: ci
user: dkf
comment:
  Support the _NET_WM_PING protocol from EWMH. There's no reason to do
  anything other than what is implemented, so no need for additional script
  control over it.


type: ci
user: mdejong
comment:
  	* win/tkWinButton.c (InitBoxes): Call Tcl_Panic()
  	if loading of bitmap resources fails. This change
  	generates an error if Tk is unable to find button
  	widget resources instead of silently failing and
  	then drawing widgets incorrectly.
  	win/rc/tk_base.rc: If the user defines BASE_NO_TK_ICON
  	then compile the base resources file without a
  	"tk" icon. This change makes it easier to replace the
  	default tk icon with a custom icon.
  	[Patch 1614362]


type: ci
user: jenglish
comment:
  Global reduction: use per-file *_Init() routines to reduce
  the number of globally-visible initialization records.


type: ci
user: hobbs
comment:
  	* generic/ttk/ttkInit.c:
  	* generic/ttk/ttkTreeview.c: make treeview exist by default
  	* generic/ttk/ttkPanedwindow.c: s/TtkPaned_Init/TtkPanedwindow_Init/


type: ci
user: mdejong
comment:
  	* doc/cursors.n: Mention "none" in supported
  	cursor list. Fix comment that incorrectly
  	claims that the Win32 "no" cursor hides
  	the cursor.
  	* tests/cursor.test: Test "none" cursor.
  	* unix/tkUnixCursor.c (CreateCursorFromTableOrFile,
  	TkGetCursorByName): Define a table of Tk cursors
  	that is searched in addition to the X cursor
  	table. A Tk cursor is loaded from a data string
  	and works with the same options as the built
  	in X cursors. This code makes it possible to
  	use "none" as a cursor name under Unix.
  	* win/rc/cursor9a.cur: Added none Win32 cursor.
  	* win/rc/tk_base.rc: Define a built-in Win32
  	cursor named "none".
  	[Patch 1615427]


type: ci
user: jenglish
comment:
  Big batch of ttk::treeview improvements:
      Added column '-stretch' and '-minwidth' options.
      Improved column drag and resize behavior.
      Added horizontal scrolling [#1518650].
      Row height and child indent specifiable on Treeview style.
      Decreased default row height, no default -padding.
      Use correct heading height [#1163349].
      Apply tag settings to tree item as well as to data columns
      [NOTE: 'tag configure' still buggy].
      Fix off-by-one condition when moving nodes forward [#1618142]
      Prevent overscroll ([#1173434])
      Treeview style settings specified separately in each theme.
      Added disclosure triangle element in aqua theme.


type: ci
user: das
comment:
  	* unix/tcl.m4 (Darwin): --enable-64bit: verify linking with 64bit -arch
  	flag succeeds before enabling 64bit build.
  	* unix/configure: autoconf-2.59


type: ci
user: mdejong
comment:
  	* tests/wm.test: Update wm attributes output
  	so that tests pass after addition of
  	-transparentcolor for Win32.


type: ci
user: jenglish
comment:
  Revert addition of contravariant 'const' qualifiers,
  to keep in sync with Tile codebase (which must remain
  compatible with Tk 8.4).


type: ci
user: jenglish
comment:
  Revert previous change to keep in sync with Tile codebase.
  The minor warnings from GCC fixed in the previous revision
  were false positives due to improper use of "-Wconversion".

  Still compiles cleanly with "gcc -Wall -Werror" (gcc 3.3.5).


type: ci
user: jenglish
comment:
  * win/tcl.m4(CFLAGS_WARNING): Remove "-Wconversion".
  This was removed from unix/tcl.m4 2004-07-16 but not from here.
  * win/configure: Regenerated.


type: ci
user: das
comment:
  	* macosx/Wish.xcodeproj/project.pbxproj: remove libtommath defines.

  	* unix/tcl.m4: ensure CPPFLAGS env var is used when set. [Bug 1586861]
  	(Darwin): add -isysroot and -mmacosx-version-min flags to CPPFLAGS when
  	present in CFLAGS to avoid discrepancies between what headers configure
  	sees during preprocessing tests and compiling tests.

  	* unix/configure: autoconf-2.59


type: ci
user: das
comment:
  	* macosx/Wish.xcodeproj/project.pbxproj:   extract build settings that
  	* macosx/Wish.xcodeproj/default.pbxuser:   were common to multiple
  	* macosx/Wish-Common.xcconfig (new file):  configurations into external
  	* macosx/Wish-Debug.xcconfig (new file):   xcconfig files; add extra
  	* macosx/Wish-Release.xcconfig (new file): configurations for building
  	with SDKs; convert legacy jam-based 'Tk' target to native target with
  	single script phase; correct syntax of build setting references to use
  	$() throughout; remove unused tcltest sources from 'tktest' target.

  	* macosx/README: document new Wish.xcodeproj configurations; other
  	minor updates/corrections.

  	* generic/tk.h: update location of version numbers in macosx files.

  	* macosx/Wish.xcode/project.pbxproj: restore 'tktest' target to working
  	* macosx/Wish.xcode/default.pbxuser: order by replicating applicable
  	changes to Wish.xcodeproj since 2006-07-20.


