head	1.5;
access;
symbols
	core-8-4-19:1.4
	core-8-4-18:1.4
	core-8-4-17:1.4
	core-8-4-16:1.4
	core-8-4-15:1.4
	core-8-4-14:1.4
	core-8-4-13:1.4
	core-8-4-12:1.4
	core-8-4-11:1.4
	core-8-4-10:1.4
	core-8-4-9-branch:1.4.0.6
	core-8-4-9:1.4
	core-8-4-8:1.4
	core-8-4-7:1.4
	core-8-5-a1:1.4
	core-8-4-6:1.4
	core-8-4-5:1.4
	mistachkin-dev-branch:1.4.0.4
	core-8-4-4:1.4
	core-8-4-3:1.4
	core-8-4-branch:1.4.0.2
	core-8-4-2:1.4
	core-8-4-1:1.4
	core-8-3-5:1.3.18.1
	core-8-4-0:1.4
	macosx-8-4-merge-2002-08-31-trunk:1.4
	macosx-8-4-premerge-2002-08-31-branch:1.3.24.1
	macosx-8-4-premerge-2002-08-31-trunk:1.4
	macosx-8-4-merge-2002-08-30-branch:1.3.24.1
	macosx-8-4-merge-2002-08-30-trunk:1.4
	macosx-8-4-merge-2002-08-20-branch:1.3.24.1
	macosx-8-4-merge-2002-08-20-trunk:1.4
	core-8-4-b2:1.4
	core-8-4-b1:1.4
	macosx-premerge-6-9-02:1.3.24.1
	core-8-4-a4:1.4
	core-8-3-4:1.3.18.1
	macosx-8-4-branch:1.3.0.24
	macosx-8-4-branchpoint:1.3
	core-8-4-a3:1.3
	core-8-3-3:1.3.18.1
	dgp-privates-into-namespace:1.3.0.22
	tclpro-1-5-0:1.3
	core-8-4-win-speedup:1.3.0.20
	core-8-4-a2:1.3
	tclpro-1-4-1:1.3
	tclpro-1-4-0:1.3
	core-8-3-2:1.3
	ajuba-ajuba2-2-1-base:1.3
	ajuba-ajuba2-2-0:1.3
	core-8-4-a1:1.3
	core-8-3-1-branch:1.3.0.18
	core-8-3-1:1.3
	scriptics-sc-2-0-b5:1.3
	scriptics-sc-2-0-fixed:1.3
	scriptics-sc-2-0-b2:1.3
	scriptics-sc-2-0-b1:1.3
	core-8-3-0:1.3
	core-8-3-b2:1.3
	core-8-3-b1:1.3
	scriptics-sc-1-1:1.3
	scriptics-sc-1-1-b1:1.3
	core-8-2-3:1.3
	scriptics-sc-1-1-branch:1.3.0.16
	scriptics-sc-1-1-base:1.3
	scriptics-sc-1-0:1.3
	scriptics-sc-1-0-branch:1.3.0.14
	scriptics-sc-1-0-base:1.3
	core-8-2-2:1.3
	core-8-2-1:1.3
	scriptics-bc-1-0-b1:1.3
	core-8-2-1-branch:1.3.0.12
	scriptics-tclpro-1-3-0:1.3
	core-8-2-0:1.3
	core-8-2-b3-branch:1.3.0.10
	core-8-2-b3-base:1.3
	scriptics-tclpro-1-3-b4:1.3
	core-8-2-b2:1.3
	scriptics-tclpro-1-3-b3:1.3
	core-8-2-b1:1.3
	scriptics-tclpro-1-3-b2:1.3
	merge-to-mainline-5/21/99:1.3
	scriptics-tclpro-1-3-b2-branch:1.3.0.8
	core-8-1-1:1.3
	scriptics-tclpro-1-3-b1:1.3
	core-8-1-1-base:1.3
	core-8-1-0:1.3
	merge-to-mainline-4-29-99:1.3
	merge-to-mainline-4-23-99:1.3
	core-8-1-branch-old:1.1.0.4
	core-8-0-6-branch:1.3.0.6
	core-8-0-6-base:1.3
	core-8-0-5:1.3
	core-8-1-b3:1.1.4.3
	core-8-1-b2:1.1.4.3
	dev-8-1-stubs-branch:1.1.4.3.0.2
	dev-stubs-branch:1.3.0.4
	scriptics-tclpro-1-2:1.3
	scriptics-tclpro-1-2-b2:1.3
	core-8-1-merge-2/10/99:1.3
	core-8-0-5-branch:1.3.0.2
	core-8-0-5-base:1.3
	scriptics-tclpro-1-2-b1:1.3
	scriptics-tclpro-1-2-a1:1.3
	core-8-1-b1:1.1.4.3
	core-8-0-4:1.3
	core-8-1-a2:1.1.4.1
	core-8-0-2:1.1
	core-8-0-3:1.2;
locks; strict;
comment	@# @;


1.5
date	2004.03.17.18.15.45;	author das;	state dead;
branches;
next	1.4;

1.4
date	2001.11.23.02.04.25;	author das;	state Exp;
branches;
next	1.3;

1.3
date	98.11.11.17.28.50;	author jingham;	state Exp;
branches
	1.3.18.1
	1.3.20.1
	1.3.24.1;
next	1.2;

1.2
date	98.09.14.18.23.33;	author stanton;	state Exp;
branches;
next	1.1;

1.1
date	98.04.01.09.56.59;	author rjohnson;	state Exp;
branches
	1.1.4.1;
next	;

1.1.4.1
date	98.09.29.00.25.36;	author stanton;	state Exp;
branches;
next	1.1.4.2;

1.1.4.2
date	98.09.30.02.17.58;	author stanton;	state Exp;
branches;
next	1.1.4.3;

1.1.4.3
date	98.11.25.21.16.35;	author stanton;	state Exp;
branches;
next	;

1.3.18.1
date	2001.04.04.21.39.48;	author hobbs;	state Exp;
branches;
next	;

1.3.20.1
date	2002.04.02.20.57.54;	author hobbs;	state Exp;
branches;
next	;

1.3.24.1
date	2002.02.05.02.25.16;	author wolfsuit;	state Exp;
branches;
next	;


desc
@@


1.5
log
@Removed support for Mac OS Classic platform [Patch 918139]
@
text
@/*
 * MW_TkHeader.pch --
 *
 *  This file is the source for a pre-compilied header that gets used
 *  for all files in the Tk projects.  This make compilies go a bit
 *  faster.  This file is only intended to be used in the MetroWerks
 *  CodeWarrior environment.  It essentially acts as a place to set 
 *  compiler flags.  See MetroWerks documention for more details.
 *
 * Copyright (c) 1995-1997 Sun Microsystems, Inc.
 *
 * See the file "license.terms" for information on usage and redistribution
 * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
 *
 * RCS: @@(#) $Id: MW_TkHeader.pch,v 1.4 2001/11/23 02:04:25 das Exp $
 */

/*
 * To use the compilied header you need to set the "Prefix file" in
 * the "C/C++ Language" preference panel to point to the created
 * compilied header.  The name of the header depends on the
 * architecture we are compiling for (see the code below).  For
 * example, for a 68k app the prefix file should be: MW_TclHeader68K.
 */

#if __POWERPC__
#pragma precompile_target "MW_TkHeaderPPC"
#elif __CFM68K__
#pragma precompile_target "MW_TkHeaderCFM68K"
#else
#pragma precompile_target "MW_TkHeader68K"
#endif

#include "MW_TkHeaderCommon.h"
@


1.4
log
@	**  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
@
text
@d15 1
a15 1
 * RCS: @@(#) $Id: MW_TkHeader.pch,v 1.3 1998/11/11 17:28:50 jingham Exp $
@


1.3
log
@Make the Macintosh Menu's adopt the current Theme Appearance if the Appearance extension (version 1.0.1 or later) is installed
@
text
@d15 1
a15 1
 * RCS: @@(#) $Id: MW_TkHeader.pch,v 1.2 1998/09/14 18:23:33 stanton Exp $
d34 1
a34 26
#include "tclMacCommonPch.h"

#ifdef TCL_DEBUG
    #define TK_TEST
#endif

/*
 * The following defines are for the Xlib.h file to force 
 * it to generate prototypes in the way we need it.  This is
 * defined here in case X.h & company are ever included before
 * tk.h.
 */

#define NeedFunctionPrototypes 1
#define NeedWidePrototypes 0

/*
 * Place any includes below that will are needed by the majority of the
 * and is OK to be in any file in the system.
 */

#include <tcl.h>
#pragma export on
#include "tk.h"
#include "tkInt.h"
#pragma export off
@


1.3.20.1
log
@sync with head
@
text
@d15 1
a15 1
 * RCS: @@(#) $Id: MW_TkHeader.pch,v 1.4 2001/11/23 02:04:25 das Exp $
d34 26
a59 1
#include "MW_TkHeaderCommon.h"
@


1.3.24.1
log
@Merge with current TOT
Added support for the wm stackorder command
Fixed crash when selecting Menu items in the Application menu that we didn't
put there.
Added first bits of the use of CG for low-level drawing.  The line-drawing works,
the rest doesn't yet.  You have to set the file static useCGDrawing to 1 and
rebuild to activate this code.
@
text
@d15 1
a15 1
 * RCS: @@(#) $Id: MW_TkHeader.pch,v 1.3 1998/11/11 17:28:50 jingham Exp $
d34 26
a59 1
#include "MW_TkHeaderCommon.h"
@


1.3.18.1
log
@	* generic/tkInt.decls: removed superfluous declarations.
	* generic/tkIntDecls.h:
	* generic/tkIntPlatDecls.h:
	* generic/tkMain.c: include unistd.h for mac.
	* generic/tkPointer.c: include tkMacInt.h for mac.
	* generic/tkStubInit.c:
	* generic/tkStubLib.c:
	* mac/MW_TkHeader.pch:
	* mac/MW_TkOldImgHeader.h:
	* mac/MW_TkTestHeader.pch:
	* mac/tclets.r:
	* mac/tkMac.h:
	* mac/tkMacAppearanceStubs.c:
	* mac/tkMacApplication.r:
	* mac/tkMacButton.c:
	* mac/tkMacDialog.c: support for -filetypes
	* mac/tkMacFont.c:
	* mac/tkMacInt.h:
	* mac/tkMacLibrary.r:
	* mac/tkMacMDEF.r:
	* mac/tkMacMenu.c:
	* mac/tkMacMenus.c:
	* mac/tkMacPort.h:
	* mac/tkMacResource.r:
	* mac/tkMacScrlbr.c: improved scrollbar code
	* mac/tkMacWindowMgr.c: added control of floating windows
	* mac/tkMacWm.c: improved use of precompiled headers, better
	support for Appearance Manager, change copyrights, resource files,
	use DLLIMPORT/DLLEXPORT, comment corrections.
@
text
@d15 1
a15 1
 * RCS: @@(#) $Id: MW_TkHeader.pch,v 1.3 1998/11/11 17:28:50 jingham Exp $
d34 26
a59 1
#include "MW_TkHeaderCommon.h"
@


1.2
log
@Replaced SCCS strings, fixed binary files
@
text
@d15 1
a15 1
 * RCS: @@(#) $Id$
d34 1
a34 6
/*
 * Macintosh Tcl must be compiled with certain compiler options to
 * ensure that it will work correctly.  The following pragmas are 
 * used to ensure that those options are set correctly.  An error
 * will occur at compile time if they are not set correctly.
 */
d36 2
a37 14
#if !__option(enumsalwaysint)
#error Tcl requires the Metrowerks setting "Enums always ints".
#endif

#if !defined(__POWERPC__)
#if !__option(far_data)
#error Tcl requires the Metrowerks setting "Far data".
#endif
#endif

#if !defined(__POWERPC__)
#if !__option(fourbyteints)
#error Tcl requires the Metrowerks setting "4 byte ints".
#endif
a39 12
#if !defined(__POWERPC__)
#if !__option(IEEEdoubles)
#error Tcl requires the Metrowerks setting "8 byte doubles".
#endif
#endif

/*
 * The define is used most everywhere to tell Tk (or any Tk
 * extensions) that we are compiling for the Macintosh platform.
 */
#define MAC_TCL

a48 41

/*
 * The following defines control the behavior of the Macintosh
 * Universial Headers.
 */

#define SystemSevenOrLater 1
#define STRICT_CONTROLS 0
#define STRICT_WINDOWS  0

/*
 * The appearance manager has not yet been shiped by Apple (10/29/97).
 * It's currently in beta testing which is why we were able to write
 * some code that depends on it.  If you have access to the appearance
 * manager you can define the symbol HAVE_APPEARANCE below to compile
 * the code that uses the new appearance manager.
 */

/* #define HAVE_APPEARANCE 1 */

/*
 * Define the following symbol if you want
 * comprehensive debugging turned on.
 */

/* #define TCL_DEBUG */

#ifdef TCL_DEBUG
#   define TCL_MEM_DEBUG
#   define TK_TEST
#   define TCL_TEST
#endif

/*
 * Apple's Universal Headers 2.0 & 3.0 change alot of names and constants.
 * We will switch to the new names as soon as we can be reasonably sure the
 * number of people with older versions of CodeWarrior, who will then not be
 * able to build Tcl/Tk, is negligible.
 */
 
#define OLDROUTINENAMES 1
@


1.1
log
@Initial revision
@
text
@d15 1
a15 1
 * SCCS:  @@(#) MW_TkHeader.pch 1.26 97/11/20 19:37:29
@


1.1.4.1
log
@initial tk8.1a2 version
@
text
@d15 1
a15 1
 * SCCS:  @@(#) MW_TkHeader.pch 1.29 98/02/18 16:23:13
d34 6
a39 1
#include "tclMacCommonDefines.h"
d41 20
a60 2
#ifdef TCL_DEBUG
#define TK_TEST
d64 6
d78 41
@


1.1.4.2
log
@Merged 8.0.3 changes into 8.1
@
text
@d15 1
a15 1
 * RCS: @@(#) $Id: MW_TkHeader.pch,v 1.2 1998/09/14 18:23:33 stanton Exp $
@


1.1.4.3
log
@* integrated tk8.0.4 changes.

* generic/tkBind.c: fixed deletion order bug where a crash would
result if a binding deleted "."
@
text
@d15 1
a15 1
 * RCS: @@(#) $Id: MW_TkHeader.pch,v 1.1.4.2 1998/09/30 02:17:58 stanton Exp $
d34 1
a34 1
#include "tclMacCommonPch.h"
d37 1
a37 1
    #define TK_TEST
@


