diff options
author | dgp <dgp@users.sourceforge.net> | 2005-05-18 15:43:21 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2005-05-18 15:43:21 (GMT) |
commit | f063018fe11304895ff9ac81830ac933c831ca5f (patch) | |
tree | 678c51cb9c004400d22c5f60e2a86515ab70ec8a /ChangeLog | |
parent | 51a0c200366a96df5068e05042f8a70c7243423f (diff) | |
download | tcl-f063018fe11304895ff9ac81830ac933c831ca5f.zip tcl-f063018fe11304895ff9ac81830ac933c831ca5f.tar.gz tcl-f063018fe11304895ff9ac81830ac933c831ca5f.tar.bz2 |
* generic/tclInt.h: Revision to the "boolean" Tcl_ObjType, so
* generic/tclObj.c: that only string values like "yes" and "false"
* tests/obj.test: are kept as the "boolean" Tcl_ObjType. The
string values "0" and "1" are kept as "int" Tcl_ObjType, which also
produce quick calls to Tcl_GetBooleanFromObj(). Since this internal
change means a Tcl_ConvertToType to a "boolean" Tcl_ObjType might
not produce a Tcl_Obj of type "boolean", the registration of the
"boolean" type is also removed.
***POTENTIAL INCOMPATIBILITY***
For callers of Tcl_GetObjType on the type name "boolean".
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -1,3 +1,16 @@ +2005-05-18 Don Porter <dgp@users.sourceforge.net> + + * generic/tclInt.h: Revision to the "boolean" Tcl_ObjType, so + * generic/tclObj.c: that only string values like "yes" and "false" + * tests/obj.test: are kept as the "boolean" Tcl_ObjType. The + string values "0" and "1" are kept as "int" Tcl_ObjType, which also + produce quick calls to Tcl_GetBooleanFromObj(). Since this internal + change means a Tcl_ConvertToType to a "boolean" Tcl_ObjType might + not produce a Tcl_Obj of type "boolean", the registration of the + "boolean" type is also removed. + ***POTENTIAL INCOMPATIBILITY*** + For callers of Tcl_GetObjType on the type name "boolean". + 2005-05-17 Don Porter <dgp@users.sourceforge.net> * generic/tclObj.c (TclInitObjSubsystem): Removed the @@ -9,6 +22,8 @@ Tcl_ConvertToType(). None of the types above can support a Tcl_ConvertToType() call; they panic. Better not to offer something than to lead users into a panic. + ***POTENTIAL INCOMPATIBILITY*** + For callers of Tcl_GetObjType on the type names listed above. 2005-05-15 Kevin Kenny <kennykb@users.sourceforge.net> |