summaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
Diffstat (limited to 'README')
-rw-r--r--README181
1 files changed, 35 insertions, 146 deletions
diff --git a/README b/README
index 255f0a1..1ae19d7 100644
--- a/README
+++ b/README
@@ -1,25 +1,28 @@
The Tk Toolkit
-SCCS: @(#) README 1.47 97/11/20 12:48:16
+SCCS: @(#) README 1.51 98/02/18 18:02:32
1. Introduction
---------------
This directory and its descendants contain the sources and documentation
for Tk, an X11 toolkit implemented with the Tcl scripting language. The
-information here corresponds to Tk 8.0p2, which is the second patch update
-for Tk 8.0. This release is designed to work with Tcl 8.0p2 and may not
-work with any other version of Tcl.
-
-Tk 8.0 is a major release with significant new features such as native
-look and feel on Macintoshes and PCs, a new font mechanism, application
-embedding, and proper support for Safe-Tcl. See below for details.
-There should be no backward incompatibilities in Tk 8.0 that affect
-scripts. This patch release fixes various bugs in Tk 8.0; there are no
-feature changes relative to Tk 8.0.
-
-Note: with Tk 8.0 the Tk version number skipped from 4.2 to 8.0. The
-jump was made in order to synchronize the Tcl and Tk version numbers.
+information here constitutes the 8.1a2 release, which is the second alpha
+release for Tk 8.1. This release is still in experimental form and is
+intended for expert early adopters who are willing to help us find and
+fix problems. The release is certain to contain bugs and is not yet
+feature-complete: we will probably add new features or change some of
+the existing features before the final 8.1 release. Please let us know
+about any problems you uncover.
+
+The most important change in Tk 8.1 is that it supports the new
+internationalization features in Tcl 8.1. It also contains a new
+library for handling configuration options some of the widgets have been
+converted to use the Tcl object facilities. For details on features,
+incompatibilities, and potential problems with this release, see the
+Tcl/Tk 8.1 Web page at http://sunscript.sun.com/TclTkCore/8.1.html or
+refer to the "changes" file in this directory, which contains a
+historical record of all changes to Tk.
2. Documentation
----------------
@@ -57,7 +60,7 @@ that summarizes the new features and discusses how to deal with the
changes in Tk 4.0 that are not backwards compatible.
There is also an official home for Tcl and Tk on the Web:
- http://www.smli.com/research/tcl
+ http://sunscript.sun.com
These Web pages include release updates, reports on bug fixes and porting
issues, HTML versions of the manual pages, and pointers to many other
Tcl/Tk Web pages at other sites. Check them out!
@@ -75,9 +78,9 @@ Before trying to compile Tk you should do the following things:
available now for PCs and Macintoshes, and several flavors of
UNIX. Binary releases are much easier to install than source
releases. To find out whether a binary release is available for
- your platform, check the home page for the Sun Tcl/Tk project
- (http://www.sunlabs.com/research/tcl) and also check in the FTP
- directory from which you retrieved the base distribution.
+ your platform, check the Tcl/Tk 8.1 Web page at
+ http://sunscript.sun.com/TclTkCore/8.1.html. Also, check in the
+ FTP directory from which you retrieved the base distribution.
(b) Make sure you have the most recent patch release. Look in the
FTP directory from which you retrieved this distribution to see
@@ -85,30 +88,30 @@ Before trying to compile Tk you should do the following things:
without changing any features, so you should normally use the
latest patch release for the version of Tk that you want.
Patch releases are available in two forms. A file like
- tk8.0p1.tar.Z is a complete release for patch level 1 of Tk
- version 8.0. If there is a file with a higher patch level than
+ tk8.1p1.tar.Z is a complete release for patch level 1 of Tk
+ version 8.1. If there is a file with a higher patch level than
this release, just fetch the file with the highest patch level
and use it.
Patches are also available in the form of patch files that just
contain the changes from one patch level to another. These
- files have names like tk8.0p1.patch, tk8.0p2.patch, etc. They
+ files have names like tk8.1p1.patch, tk8.1p2.patch, etc. They
may also have .gz or .Z extensions to indicate compression. To
use one of these files, you apply it to an existing release with
the "patch" program. Patches must be applied in order:
- tk8.0p1.patch must be applied to an unpatched Tk 8.0 release
- to produce a Tk 8.0p1 release; tk8.0p2.patch can then be
- applied to Tk 8.0p1 to produce Tk 8.0p2, and so on. To apply an
- uncompressed patch file such as tk8.0p1.patch, invoke a shell
+ tk8.1p1.patch must be applied to an unpatched Tk 8.1 release
+ to produce a Tk 8.1p1 release; tk8.1p2.patch can then be
+ applied to Tk 8.1p1 to produce Tk 8.1p2, and so on. To apply an
+ uncompressed patch file such as tk8.1p1.patch, invoke a shell
command like the following from the directory containing this
file:
- patch -p < tk8.0p1.patch
+ patch -p < tk8.1p1.patch
If the patch file has a .gz extension, it was compressed with
gzip. To apply it, invoke a command like the following:
- gunzip -c tk8.0p1.patch.gz | patch -p
+ gunzip -c tk8.1p1.patch.gz | patch -p
If the patch file has a .Z extension, it was compressed with
compress. To apply it, invoke a command like the following:
- zcat tk8.0p1.patch.Z | patch -p
+ zcat tk8.1p1.patch.Z | patch -p
If you're applying a patch to a release that has already been
compiled, then before applying the patch you should cd to the
"unix" subdirectory and type "make distclean" to restore the
@@ -133,121 +136,7 @@ library/demos/widget is a script that you can use to invoke many individual
demonstrations of Tk's facilities, see the code that produced the demos,
and modify the code to try out alternatives.
-5. Summary of changes in Tk 8.0
--------------------------------
-
-Here is a list of the most important new features in Tk 8.0. The
-release also includes several smaller feature changes and bug fixes.
-See the "changes" file for a complete list of all changes.
-
- 1. Native look and feel. The widgets have been rewritten to provide
- (nearly?) native look and feel on the Macintosh and PC. Many
- widgets, including scrollbars, menus, and the button family, are
- implemented with native platform widgets. Others, such as entries
- and texts, have been modified to emulate native look and feel.
- These changes are backwards compatible except that (a) some
- configuration options are now ignored on some platforms and (b) you
- must use the new menu mechanism described below to native look and
- feel for menus.
-
- 2. There is a new interface for creating menus, where a menubar is
- implemented as a menu widget instead of a frame containing menubuttons.
- The -menu option for a toplevel is used to specify the name of the
- menubar; the menu will be displayed *outside* the toplevel using
- different mechanisms on each platform (e.g. on the Macintosh the menu
- will appear at the top of the screen). See the menu demos in the
- widget demo for examples. The old style of menu still works, but
- does not provide native look and feel. Menus have several new
- features:
- - New "-columnbreak" and "-hideMargin" options make it possible
- to create multi-column menus.
- - It is now possible to manipulate the Apple and Help menus on
- the Macintosh, and the system menu on Windows. It is also
- possible to have a right justified Help menu on Unix.
- - Menus now issue the virtual event <<MenuSelect>> whenever the
- current item changes. Applications can use this to generate
- help messages.
- - There is a new "-direction" option for menubuttons, which
- controls where the menu pops up revenues to the button.
-
- 3. The font mechanism in Tk has been completely reworked:
- - Font names need not be nasty X LFDs: more intuitive names
- like {Times 12 Bold} can also be used. See the manual entry
- font.n for details.
- - Font requests always succeed now. If the requested font is
- not available, Tk finds the closest available font and uses
- that one.
- - Tk now supports named fonts whose precise attributes can be
- changed dynamically. If a named font is changed, any widget
- using that font updates itself to reflect the change.
- - There is a new command "font" for creating named fonts and
- querying various information about fonts.
- - There are now officially supported C APIs for measuring and
- displaying text. If you use these APIs now, your code will
- automatically handle international text when internationalization
- is added to Tk in a future release. See the manual entries
- MeasureChar.3, TextLayout.3, and FontId.3.
- - The old C procedures Tk_GetFontStruct, Tk_NameOfFontStruct,
- and Tk_FreeFontStruct have been replaced with more portable
- procedures Tk_GetFont, Tk_NameOfFont, and Tk_FreeFont.
-
- 4. Application embedding. It is now possible to embedded one Tcl/Tk
- application inside another, using the -container option on frame
- widgets and the -use option for toplevel widgets or on the command
- line for wish. Embedding should be fully functional under Unix,
- but the implementation is incomplete on the Macintosh and PC.
-
- 5. Tk now works correctly with Safe-Tcl: it can be loaded into
- safe interpreters using safe::loadTk.
-
- 6. Text widgets now allow images to be embedded directly in the
- text without using embedded windows. This is more efficient and
- provides smoother scrolling.
-
- 7. Buttons have a new -default option for drawing default rings in
- a platform-specific manner.
-
- 8. There is a new "gray75" bitmap, and the "gray25" bitmap is now
- really 25% on (due to an ancient mistake, it had been only 12% on).
- The Macintosh now supports native bitmaps, including new builtin
- bitmaps "stop", "caution", and "note", plus the ability to use
- bitmaps in the application's resource fork.
-
- 9. The "destroy" command now ignores windows that don't exist
- instead of generating an error.
-
-Tk 8.0 introduces the following incompatibilities that may affect Tcl/Tk
-scripts that worked under Tk 4.2 and earlier releases:
-
- 1. Font specifications such as "Times 12" now interpret the size
- as points, whereas it used to be pixels (this was actually a bug,
- since the behavior was documented as points). To get pixels now,
- use a negative size such as "Times -12".
-
- 2. The -transient option for menus is no longer supported. You can
- achieve the same effect with the -type field.
-
- 3. In the canvas "coords" command, polygons now return only the
- points that were explicitly specified when the polygon was created
- (they used to return an extra point if the polygon wasn't originally
- closed). Internally, polygons are still closed automatically for
- purposes of display and hit detection; the extra point just isn't
- returned by the "coords" command.
-
- 4. The photo image mechanism now uses Tcl_Channels instead of FILEs,
- in order to make it portable. FILEs are no longer used anywhere
- in Tk. The procedure Tk_FindPhoto now requires an extra "interp"
- argument in order to fix a bug where images in different interpreters
- with the same name could get confused.
-
- 5. The procedures Tk_GetFontStruct, Tk_NameOfFontStruct,
- and Tk_FreeFontStruct have been removed.
-
-Note: the new compiler in Tcl 8.0 may also affect Tcl/Tk scripts; check
-the Tcl documentation for information on incompatibilities introduced by
-Tcl 8.0.
-
-6. Tcl/Tk newsgroup
+5. Tcl/Tk newsgroup
-------------------
There is a network news group "comp.lang.tcl" intended for the exchange
@@ -263,7 +152,7 @@ general interest. A bad e-mail return address may prevent you from
getting answers to your questions. You may have to reconfigure your news
reading software to ensure that it is supplying valid e-mail addresses.
-7. Mailing lists
+6. Mailing lists
----------------
A couple of Mailing List have been set up to discuss Macintosh or
@@ -271,11 +160,11 @@ Windows related Tcl issues. In order to use these Mailing Lists you
must have access to the internet. If you have access to the WWW the
home pages for these mailing lists are located at the following URLs:
- http://www.sunlabs.com/research/tcl/lists/mactcl-list.html
+ http://www.sunlabs.com/people/raymond.johnson/mactcl-list.html
-and-
- http://www.sunlabs.com/research/tcl/lists/wintcl-list.html
+ http://sunscript.sun.com/win/wintcl-list.html
The home pages contain information about the lists and an HTML archive
of all the past messages on the list. To subscribe send a message to: