Tk Source Code

Changes On Branch core-8-2-b3-branch
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Changes In Branch core-8-2-b3-branch Excluding Merge-Ins

This is equivalent to a diff from 34dd58bb to 9a26313a

1999-08-11
20:50
Include the unix/aclocal.m4 file with the distribution. Closed-Leaf check-in: 9a26313a user: redman tags: core-8-2-b3-branch
1999-08-10
23:16
Change version numbers to 8.2.0 check-in: 732af4c7 user: redman tags: trunk
18:49
Change version numbers to 8.2b3, update ChangeLog and changes files. check-in: 0244740f user: redman tags: core-8-2-b3-branch
16:58
1999-08-10 Jeff Hobbs <[email protected]>
* 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]
check-in: 34dd58bb user: hobbs tags: trunk
16:58
1999-08-10 Jeff Hobbs <[email protected]>
* generic/tkInt.decls: added TkSetFocusWin * generic/tkFocus.c: changed static SetFocus to TkSetFocusWin
check-in: ed3c4d67 user: hobbs tags: trunk

Changes to ChangeLog.








1
2
3
4
5
6
7







1999-08-10  Jeff Hobbs  <[email protected]>

	* 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
>
>
>
>
>
>
>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
1999-08-10  Scott Redman  <[email protected]>

	* README:
	* generic/tk.h:
	* unix/configure.in:
	* win/configure.in: Changed version numbers to 8.2b3.

1999-08-10  Jeff Hobbs  <[email protected]>

	* 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

Changes to README.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
README:  Tk

	Tk is maintained, enhanced, and distributed freely as a
	service to the Tcl community by Scriptics Corporation.
	http://www.scriptics.com/

RCS: @(#) $Id: README,v 1.18 1999/07/22 21:51:24 redman Exp $

1. Introduction
---------------

This directory contains the sources and documentation for Tk, an X11
toolkit implemented with the Tcl scripting language.  The information
here corresponds to release 8.2b2, which is the first beta for Tk 8.2.

For details on features, incompatibilities, and potential problems with
this release, see the Tcl/Tk 8.2 Web page at

	http://www.scriptics.com/software/8.2.html

or refer to the "changes" file in this directory, which contains a






|






|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
README:  Tk

	Tk is maintained, enhanced, and distributed freely as a
	service to the Tcl community by Scriptics Corporation.
	http://www.scriptics.com/

RCS: @(#) $Id: README,v 1.18.2.1 1999/08/10 18:49:19 redman Exp $

1. Introduction
---------------

This directory contains the sources and documentation for Tk, an X11
toolkit implemented with the Tcl scripting language.  The information
here corresponds to release 8.2b3, which is the first beta for Tk 8.2.

For details on features, incompatibilities, and potential problems with
this release, see the Tcl/Tk 8.2 Web page at

	http://www.scriptics.com/software/8.2.html

or refer to the "changes" file in this directory, which contains a

Changes to changes.

1
2
3
4
5
6
7
8
9
10
11
12
This file summarizes all changes made to Tk since version 1.0 was
released on March 13, 1991.  Changes that aren't backward compatible
are marked specially.

RCS: @(#) $Id: changes,v 1.36 1999/08/04 21:32:32 redman Exp $

3/16/91 (bug fix) Modified tkWindow.c to remove Tk's Tcl commands from
the interpreter when the main window is deleted (otherwise there will
be dangling pointers to the non-existent window).

3/16/91 (bug fix) Modified tkColor.c not to free black or white colors:
some X servers get upset at this.




|







1
2
3
4
5
6
7
8
9
10
11
12
This file summarizes all changes made to Tk since version 1.0 was
released on March 13, 1991.  Changes that aren't backward compatible
are marked specially.

RCS: @(#) $Id: changes,v 1.36.2.1 1999/08/10 18:49:20 redman Exp $

3/16/91 (bug fix) Modified tkWindow.c to remove Tk's Tcl commands from
the interpreter when the main window is deleted (otherwise there will
be dangling pointers to the non-existent window).

3/16/91 (bug fix) Modified tkColor.c not to free black or white colors:
some X servers get upset at this.
4659
4660
4661
4662
4663
4664
4665
























Njitmans.  [Bug: 2446] (hobbs)

8/1/99  (bug fix) Wrapped #define of panic() inside #ifndef blocks to
avoid compiler errors on Macintosh.  Patch from Vince Darley.  
[Bug: 2389] (hobbs)

--------------- Released 8.2b2, August 5, 1999 ----------------------































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
Njitmans.  [Bug: 2446] (hobbs)

8/1/99  (bug fix) Wrapped #define of panic() inside #ifndef blocks to
avoid compiler errors on Macintosh.  Patch from Vince Darley.  
[Bug: 2389] (hobbs)

--------------- Released 8.2b2, August 5, 1999 ----------------------

8/9/99 (bug fix) Cleand up button.tcl and fixed Windows relief
bug. [Bug: 664] (hobbs)

8/9/99 (bug fix) Changed Entry C/C/P to not use global data. 
[Bug: 1475] (hobbs)

8/9/99 (bug fix) Fixed extended mosde script error in listbox. 
[Bug: 866] (hobbs)

8/9/99 (doc change) Clarified that -troughcolor doesn't work on
Windows. (hobbs)

8/9/99 (doc change) Fixed wm positionfrom docs. [Bug: 2284] (hobbs)

8/10/99 (bug fix) 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] (hobbs)

8/10/99 (bug fix) Fixed code where abbreviations were used in calling
widget methods (confused iWidgets).  [Bug: 2422] (hobbs)

--------------- Released 8.2b3, August 11, 1999 ----------------------

Changes to generic/tk.h.

8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
 * Copyright (c) 1994 The Australian National University.
 * Copyright (c) 1994-1998 Sun Microsystems, Inc.
 * Copyright (c) 1998-1999 Scriptics Corporation.
 *
 * See the file "license.terms" for information on usage and redistribution
 * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
 *
 * RCS: @(#) $Id: tk.h,v 1.29 1999/07/22 21:51:25 redman Exp $
 */

#ifndef _TK
#define _TK

/*
 * For C++ compilers, use extern "C"







|







8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
 * Copyright (c) 1994 The Australian National University.
 * Copyright (c) 1994-1998 Sun Microsystems, Inc.
 * Copyright (c) 1998-1999 Scriptics Corporation.
 *
 * See the file "license.terms" for information on usage and redistribution
 * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
 *
 * RCS: @(#) $Id: tk.h,v 1.29.2.1 1999/08/10 18:49:24 redman Exp $
 */

#ifndef _TK
#define _TK

/*
 * For C++ compilers, use extern "C"
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
 * You may also need to update some of these files when the numbers change
 * for the version of Tcl that this release of Tk is compiled against.
 */

#define TK_MAJOR_VERSION   8
#define TK_MINOR_VERSION   2
#define TK_RELEASE_LEVEL   TCL_BETA_RELEASE
#define TK_RELEASE_SERIAL  2

#define TK_VERSION "8.2"
#define TK_PATCH_LEVEL "8.2b2"

/*
 * The following definitions set up the proper options for Macintosh
 * compilers.  We use this method because there is no autoconf equivalent.
 */

#ifdef MAC_TCL







|


|







42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
 * You may also need to update some of these files when the numbers change
 * for the version of Tcl that this release of Tk is compiled against.
 */

#define TK_MAJOR_VERSION   8
#define TK_MINOR_VERSION   2
#define TK_RELEASE_LEVEL   TCL_BETA_RELEASE
#define TK_RELEASE_SERIAL  3

#define TK_VERSION "8.2"
#define TK_PATCH_LEVEL "8.2b3"

/*
 * The following definitions set up the proper options for Macintosh
 * compilers.  We use this method because there is no autoconf equivalent.
 */

#ifdef MAC_TCL

Changes to unix/Makefile.in.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#
# This file is a Makefile for Tk.  If it has the name "Makefile.in"
# then it is a template for a Makefile;  to generate the actual Makefile,
# run "./configure", which is a configuration script generated by the
# "autoconf" program (constructs like "@foo@" will get replaced in the
# actual Makefile.
#
# RCS: @(#) $Id: Makefile.in,v 1.29 1999/08/04 23:42:15 wart Exp $

# Current Tk version;  used in various names.

TCLVERSION = @TCL_VERSION@
VERSION = @TK_VERSION@

#----------------------------------------------------------------







|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#
# This file is a Makefile for Tk.  If it has the name "Makefile.in"
# then it is a template for a Makefile;  to generate the actual Makefile,
# run "./configure", which is a configuration script generated by the
# "autoconf" program (constructs like "@foo@" will get replaced in the
# actual Makefile.
#
# RCS: @(#) $Id: Makefile.in,v 1.29.2.1 1999/08/11 20:50:47 redman Exp $

# Current Tk version;  used in various names.

TCLVERSION = @TCL_VERSION@
VERSION = @TK_VERSION@

#----------------------------------------------------------------
919
920
921
922
923
924
925

926
927
928
929
930
931
932
	rm -rf $(DISTDIR)
	mkdir $(DISTDIR)
	mkdir $(DISTDIR)/unix
	cp -p $(UNIX_DIR)/*.c $(UNIX_DIR)/*.h $(DISTDIR)/unix
	cp $(TOP_DIR)/license.terms $(UNIX_DIR)/Makefile.in $(DISTDIR)/unix
	chmod 664 $(DISTDIR)/unix/Makefile.in
	cp $(UNIX_DIR)/configure $(UNIX_DIR)/configure.in \

		$(UNIX_DIR)/tkConfig.sh.in $(TCLDIR)/unix/install-sh \
		$(UNIX_DIR)/porting.notes $(UNIX_DIR)/porting.old \
		$(UNIX_DIR)/README $(DISTDIR)/unix
	chmod 775 $(DISTDIR)/unix/configure $(DISTDIR)/unix/configure.in
	chmod +x $(DISTDIR)/unix/install-sh
	tclsh $(TCLDIR)/unix/mkLinks.tcl $(TOP_DIR)/doc/*.[13n] \
		> $(DISTDIR)/unix/mkLinks







>







919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
	rm -rf $(DISTDIR)
	mkdir $(DISTDIR)
	mkdir $(DISTDIR)/unix
	cp -p $(UNIX_DIR)/*.c $(UNIX_DIR)/*.h $(DISTDIR)/unix
	cp $(TOP_DIR)/license.terms $(UNIX_DIR)/Makefile.in $(DISTDIR)/unix
	chmod 664 $(DISTDIR)/unix/Makefile.in
	cp $(UNIX_DIR)/configure $(UNIX_DIR)/configure.in \
		$(UNIX_DIR)/aclocal.m4 \
		$(UNIX_DIR)/tkConfig.sh.in $(TCLDIR)/unix/install-sh \
		$(UNIX_DIR)/porting.notes $(UNIX_DIR)/porting.old \
		$(UNIX_DIR)/README $(DISTDIR)/unix
	chmod 775 $(DISTDIR)/unix/configure $(DISTDIR)/unix/configure.in
	chmod +x $(DISTDIR)/unix/install-sh
	tclsh $(TCLDIR)/unix/mkLinks.tcl $(TOP_DIR)/doc/*.[13n] \
		> $(DISTDIR)/unix/mkLinks

Changes to unix/configure.in.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#! /bin/bash -norc
dnl	This file is an input file used by the GNU "autoconf" program to
dnl	generate the file "configure", which is run during Tk installation
dnl	to configure the system for the local environment.
AC_INIT(../generic/tk.h)
# RCS: @(#) $Id: configure.in,v 1.40 1999/08/04 01:00:37 redman Exp $

TK_VERSION=8.2
TK_MAJOR_VERSION=8
TK_MINOR_VERSION=2
TK_PATCH_LEVEL="b2"
VERSION=${TK_VERSION}

if test "${prefix}" = "NONE"; then
    prefix=/usr/local
fi
if test "${exec_prefix}" = "NONE"; then
    exec_prefix=$prefix





|




|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#! /bin/bash -norc
dnl	This file is an input file used by the GNU "autoconf" program to
dnl	generate the file "configure", which is run during Tk installation
dnl	to configure the system for the local environment.
AC_INIT(../generic/tk.h)
# RCS: @(#) $Id: configure.in,v 1.40.2.1 1999/08/10 18:49:26 redman Exp $

TK_VERSION=8.2
TK_MAJOR_VERSION=8
TK_MINOR_VERSION=2
TK_PATCH_LEVEL="b3"
VERSION=${TK_VERSION}

if test "${prefix}" = "NONE"; then
    prefix=/usr/local
fi
if test "${exec_prefix}" = "NONE"; then
    exec_prefix=$prefix

Changes to win/configure.in.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# This file is an input file used by the GNU "autoconf" program to
# generate the file "configure", which is run during Tk installation
# to configure the system for the local environment.
#
# RCS: @(#) $Id: configure.in,v 1.7 1999/08/04 01:00:44 redman Exp $

AC_INIT(../generic/tk.h)

TK_VERSION=8.2
TK_MAJOR_VERSION=8
TK_MINOR_VERSION=2
TK_PATCH_LEVEL=b2
VER=$TK_MAJOR_VERSION$TK_MINOR_VERSION

#--------------------------------------------------------------------
# Check whether --enable-gcc or --disable-gcc was given.  Do this 
# before AC_PROG_CC and AC_CYGWIN are called so the compiler can 
# be fully tested by built-in autoconf tools.
#--------------------------------------------------------------------




|






|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# This file is an input file used by the GNU "autoconf" program to
# generate the file "configure", which is run during Tk installation
# to configure the system for the local environment.
#
# RCS: @(#) $Id: configure.in,v 1.7.2.1 1999/08/10 18:49:30 redman Exp $

AC_INIT(../generic/tk.h)

TK_VERSION=8.2
TK_MAJOR_VERSION=8
TK_MINOR_VERSION=2
TK_PATCH_LEVEL=b3
VER=$TK_MAJOR_VERSION$TK_MINOR_VERSION

#--------------------------------------------------------------------
# Check whether --enable-gcc or --disable-gcc was given.  Do this 
# before AC_PROG_CC and AC_CYGWIN are called so the compiler can 
# be fully tested by built-in autoconf tools.
#--------------------------------------------------------------------