Manifest of check-in
[5a07f799a9]
- * 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".
by
dgp on
2005-05-18 15:43:21.
B 7ff2693241fa7879db699d629adeab83f4711017
C \s\s\s\s\s\s\s\s*\sgeneric/tclInt.h:\s\s\s\s\sRevision\sto\sthe\s"boolean"\sTcl_ObjType,\sso\n\s\s\s\s\s\s\s\s*\sgeneric/tclObj.c:\s\s\s\s\sthat\sonly\sstring\svalues\slike\s"yes"\sand\s"false"\n\s\s\s\s\s\s\s\s*\stests/obj.test:\s\s\s\s\s\s\sare\skept\sas\sthe\s"boolean"\sTcl_ObjType.\s\sThe\n\s\s\s\s\s\s\s\sstring\svalues\s"0"\sand\s"1"\sare\skept\sas\s"int"\sTcl_ObjType,\swhich\salso\n\s\s\s\s\s\s\s\sproduce\squick\scalls\sto\sTcl_GetBooleanFromObj().\s\sSince\sthis\sinternal\n\s\s\s\s\s\s\s\schange\smeans\sa\sTcl_ConvertToType\sto\sa\s"boolean"\sTcl_ObjType\smight\n\s\s\s\s\s\s\s\snot\sproduce\sa\sTcl_Obj\sof\stype\s"boolean",\sthe\sregistration\sof\sthe\n\s\s\s\s\s\s\s\s"boolean"\stype\sis\salso\sremoved.\n\s\s\s\s\s\s\s\s***POTENTIAL\sINCOMPATIBILITY***\n\s\s\s\s\s\s\s\sFor\scallers\sof\sTcl_GetObjType\son\sthe\stype\sname\s"boolean".\n
D 2005-05-18T15:43:21
F ChangeLog 663cac08731e9c88bf3eb71e359242db2d4ed5d1
F doc/load.n 3ec08f3a1e728f120635817709c9b9e5b532197b
F generic/tclBasic.c 11c78720f571ff5ebec007c9b1c696812153f21b
F generic/tclInt.h 24817ccb65a6ecc78fc809c6f3d00e75c84ad7e6
F generic/tclObj.c fe6de25810304b483d8ea9db7f7c3982a09958a1
F tests/listObj.test 1e9383b252d0830644ada17f405eee1a7a66ff53
F tests/obj.test 23fddee662697c0cd6e7bdba704ee2841a536ec8
F win/tclWin32Dll.c 71ddfbb8fc86a20cb7ab7e4db19910e6fc9d280e
P 2074e27c04c43625db916bbf816e7efa5c715f85
U dgp
Z a1a501b4afd5368b170c32e62dfe1f50