250 lines
8.7 KiB
Plaintext
250 lines
8.7 KiB
Plaintext
What is new in Mentry 2.8?
|
|
--------------------------
|
|
|
|
1. This Mentry release is compatible with both the new Wcb version 3.0
|
|
(or higher) and the older Wcb versions 2.7 - 2.9. (Earlier Mentry
|
|
releases don't work with Wcb versions having the major number 3).
|
|
|
|
1. New bindings for the <Prior> and <Next> events in mentry widgets for
|
|
date and time.
|
|
|
|
3. New bindings for the <Up>, <Down>, <Prior>, and <Next> events in
|
|
mentry widgets for IP addresses (thanks to Jean Romier for his
|
|
valuable contribution).
|
|
|
|
What was new in Mentry 2.7?
|
|
---------------------------
|
|
|
|
1. New bindings for the <Up> and <Down> events in mentry widgets for
|
|
date and time.
|
|
|
|
2. Corrected three typos in the handling of the <End>, <Control-Left>,
|
|
and <Control-Right> events, introduced in the previous Mentry
|
|
release.
|
|
|
|
3. Worked around a bug in the "clock format ... -format %p" command
|
|
introduced in Tcl 8.4, causing an erronous behavior of the
|
|
"putClockVal" command in non-default locales on UNIX for "Time"
|
|
mentries with AM/PM indicator.
|
|
|
|
4. Improved the error handling related to the option database in the
|
|
general mega-widget utility module "mwutil.tcl".
|
|
|
|
5. Improvements in the demo scripts.
|
|
|
|
6. Many improvements in the documentation, including a new Quick
|
|
Reference section.
|
|
|
|
What was new in Mentry 2.6?
|
|
---------------------------
|
|
|
|
This release contains no new commands or subcommands; the improvements
|
|
are mostly of internal nature:
|
|
|
|
1. Rewritten the bindings-related stuff by introducing own binding tags
|
|
for the children of mentry widgets. This method is more Tk-like and
|
|
has the additional advantage that it supports arbitrary widget names
|
|
(in earlier releases, mentry widgets couldn't have '%' characters in
|
|
their names).
|
|
|
|
2. When creating a mentry widget, the "-colormap" frame configuration
|
|
option is no longer used, because it is bogus in some Tk versions on
|
|
the Macintosh (and it isn't needed anyway).
|
|
|
|
3. Included the same version of the general mega-widget utility module
|
|
"mwutil.tcl" as in Tablelist release 3.3.
|
|
|
|
What was new in Mentry 2.5?
|
|
---------------------------
|
|
|
|
1. Applied a patch proposed (in a slightly different form) by Mats
|
|
Bengtsson that works around a bug in the "info script" command on
|
|
the Macintosh.
|
|
|
|
2. Improved and simplified the focus control (thanks to Juri Shimon and
|
|
Gopal Reddy for their bug reports).
|
|
|
|
3. The invocations of "info exists" for array elements are no longer
|
|
replaced with a call to a helper procedure (introduced in Mentry 2.0
|
|
because of a bug in some earlier Tcl versions).
|
|
|
|
4. Improved the Mentry Programmer's Guide.
|
|
|
|
What was new in Mentry 2.4?
|
|
---------------------------
|
|
|
|
1. The "isempty" subcommand now has an optional "index" argument.
|
|
|
|
2. New "isfull" subcommand (with an optional "index" argument).
|
|
|
|
3. Simplified the demo scripts "phonenumber.tcl" and "ethernetaddr.tcl"
|
|
by using the two subcommands mentioned above.
|
|
|
|
4. Further minor improvements in the demo scripts and documentation.
|
|
|
|
What was new in Mentry 2.3?
|
|
---------------------------
|
|
|
|
1. Reverted the implementation of the focus control to the one
|
|
contained in the pre-2.2 Mentry releases, because its simplified
|
|
version from the last release failed to work as expected if a
|
|
mentry was the only widget taking the focus during keyboard
|
|
traversal.
|
|
|
|
2. Improved the performance of the Tcl command associated with a mentry
|
|
widget.
|
|
|
|
3. Included the same version of the general mega-widget utility module
|
|
"mwutil.tcl" as in recent Tablelist releases.
|
|
|
|
4. Further minor improvements in the code.
|
|
|
|
5. The distribution file "mentry2_3.zip" for Windows now includes the
|
|
"mentry2.3" directory, hence it is no longer necessary to create
|
|
this folder before unpacking the distribution file.
|
|
|
|
What was new in Mentry 2.2?
|
|
---------------------------
|
|
|
|
1. Improved the handling of the case that all entry children of a
|
|
mentry widget are disabled.
|
|
|
|
2. Made the focus control more straight-forward.
|
|
|
|
3. Extended the "How to use it?" section of the tutorial "mentry.html".
|
|
|
|
What was new in Mentry 2.1?
|
|
---------------------------
|
|
|
|
1. Improved the error handling in the "attrib" and "configure"
|
|
subcommands.
|
|
|
|
2. The demo script "ethernetaddr.tcl" now uses the callback
|
|
"wcb::checkStrForRegExp" (introduced in Wcb 2.6) instead of the
|
|
local procedure "checkStrForHex".
|
|
|
|
3. Further minor improvements in the code.
|
|
|
|
What was new in Mentry 2.0?
|
|
---------------------------
|
|
|
|
1. When typing a character contained in the label following the current
|
|
entry, the focus is no longer set to the next enabled entry child if
|
|
the current entry is empty (thanks to Leslie Brooks for this
|
|
suggestion).
|
|
|
|
2. When setting the focus to a mentry widget (e.g., with the standard
|
|
keys Tab and Shift-Tab during keyboard traversal), its first enabled
|
|
entry child now not only receives the focus (like in earlier
|
|
releases), but in addition its contents is selected and the
|
|
insertion cursor is moved to its end.
|
|
|
|
3. New "clear" subcommand to erase the contents of one or more entry
|
|
children of a mentry widget (this was kindly proposed by Leslie
|
|
Brooks).
|
|
|
|
4. Fixed a bug related to the initialization of the values of the
|
|
configuration options when creating a mentry widget.
|
|
|
|
5. Whereever possible, eliminated the invocations of "info exists" for
|
|
array elements. This works around a bug in Tcl versions 8.2 and
|
|
8.3.0 - 8.3.2 (fixed in 8.3.3 and 8.4a2), which causes excessive
|
|
memory use when calling "info exists" on a non-existent array
|
|
element.
|
|
|
|
6. The help variables used in the initialization of the "mentry"
|
|
namespace are now declared with the "variable" keyword, in order to
|
|
avoid any conflicts with global variables (thanks to Leslie Brooks
|
|
for his bug report).
|
|
|
|
7. Improved the parsing of configuration and command options.
|
|
|
|
What was new in Mentry 1.5?
|
|
---------------------------
|
|
|
|
1. The "-textvariable" configuration option and the "getarray"
|
|
subcommand now raise an error if the argument is not an array.
|
|
|
|
2. Replaced "[focus]" with "[focus -displayof $win]", so that the code
|
|
will work properly in applications using multiple displays.
|
|
|
|
3. Renamed "mentryBindingTag" to "Mentry".
|
|
|
|
4. Improvements in the documentation.
|
|
|
|
What was new in Mentry 1.4?
|
|
---------------------------
|
|
|
|
1. The "put" subcommand now returns the value 0 if the attempted change
|
|
gets canceled in any of the entry children by some before-delete or
|
|
before-insert callback, and 1 otherwise.
|
|
|
|
2. For Tk versions 8.4 or higher the "mentry::mentry" command now
|
|
supports the "-disabledbackground", "-disabledforeground", and
|
|
"-readonlybackground" configuration options, as well as the value
|
|
"readonly" for the "-state" configuration option.
|
|
|
|
3. Improved the error-handling and the geometry management in the
|
|
implementation of the "-body" configuration option.
|
|
|
|
4. Moved several procedures from the file "mentryWidget.tcl" into the
|
|
new general mega-widget utility module "mwutil.tcl".
|
|
|
|
5. Minor improvements in the demo scripts.
|
|
|
|
What was new in Mentry 1.3?
|
|
---------------------------
|
|
|
|
1. Changed the implementation of the "-takefocus" configuration option,
|
|
in order to work around a bug in the Tk library file "focus.tcl",
|
|
introduced in Tk 8.3.1.
|
|
|
|
2. The "put" subcommand now restores the original contents of all
|
|
affected entry children of the mentry widget if the change gets
|
|
canceled in any of the entries by some before-delete or before-
|
|
insert callback. (Thanks to Aryeh Koenigsberg for his suggestion.)
|
|
|
|
3. Fixed a small bug in the "attrib" subcommand.
|
|
|
|
4. Minor improvements in the code.
|
|
|
|
What was new in Mentry 1.2?
|
|
---------------------------
|
|
|
|
1. Improved the behavior of mentry widgets during keyboard traversal
|
|
with the standard keys: Shift-Tab now moves the focus out of the
|
|
current mentry instead of setting it to the first enabled entry
|
|
child of the widget, as it was the case in earlier releases.
|
|
|
|
2. The "mentry::mentry" command now supports the "-takefocus"
|
|
configuration option.
|
|
|
|
3. For Tk versions 8.3 or higher the "mentry::mentry" command now
|
|
supports the "-invalidcommand", "-validate", and "-validatecommand"
|
|
configuration options.
|
|
|
|
What was new in Mentry 1.1?
|
|
---------------------------
|
|
|
|
1. The tutorial and the mentry widget reference page now contain
|
|
hyperlinks to the Wcb command reference, which has been included in
|
|
the documentation.
|
|
|
|
2. Minor improvements in the code and documentation.
|
|
|
|
What was new in Mentry 1.0?
|
|
---------------------------
|
|
|
|
1. As promised in Version 0.9, the Mentry package now includes a
|
|
tutorial and reference pages in HTML format.
|
|
|
|
2. The Tcl command corresponding to a mentry widget now has a new
|
|
subcommand named "entrylimit".
|
|
|
|
3. The package no longer makes use of any undocumented, private Tk
|
|
library routines.
|
|
|
|
4. A new demo script "phonenumber.tcl" is provided and discussed in the
|
|
tutorial.
|
|
|