<i>"wideInt" objType registration</i> status still Open with 4 other changes
by
.
D 2007-09-04T22:29:29
J icomment Logged\sIn:\sYES\s\nuser_id=90580\nOriginator:\sNO\n\nand\sfor\smore\scontext,\smy\semail\sexchange\swith\sJoe\sEnglish\s(prior\sto\sthe\schat\sabove):\n\nFrom:\sDaniel\sA.\sSteffen\nSubject:\sRe:\s"wideInt"\sTcl_ObjType\nDate:\sTue,\s4\sSep\s2007\s08:50:51\s+1000\nTo:\sJoe\sEnglish\nCc:\skbk\n\n\nHi\sJoe,\n\nOn\s04/09/2007,\sat\s4:09,\sJoe\sEnglish\swrote:\n\n>\sDaniel\s--\n>\s\n>\sRe:\srecent\schange\sto\sgeneric/tclObj.c,\n>\s\n>\s|\s*\sgeneric/tclObj.c\s(TclInitObjSubsystem):\srestore\sregistration\sof\sthe\n>\s|\s"wideInt"\sTcl_ObjType\sfor\scompatibility\swith\s8.4\sextensions\sthat\saccess\n>\s|\sthe\stclWideIntType\sTcl_ObjType;\sadd\ssetFromAnyProc\sfor\stclWideIntType.\n>\s\n>\s\n>\sJust\sconfirmed\swith\sKevin\sKenny\sthat\sthis\swas\sremoved\s\n>\sintentionally\sas\spart\sof\sthe\sTIP#237\simplementation\s\n>\s(generic/tclObj.c\sr1.96,\s2005/10/08;\ssee\salso\s\n>\skennykb-numerics-branch).\n\nyes,\sI\sdid\srealize\sthat\sand\slooked\sinto\sthe\sCVS\shistory\sas\swell,\sI\scommitted\sthe\nrestoration\sfully\saware\sof\sall\sthis.\sI\salso\sreread\sbriefly\swhat\sthe\sTIP\ssays\nabout\sTcl_WideInt,\sbut\sthe\sreality\sin\sthe\scode\sseemed\sto\sdiffer\ssignificantly\nwith\sthe\sstated\sdesire\sto\sfully\sremove\swide\sints\s(which\sI\schalked\sup\sto\san\nobsolete\sTIP...)\n\n>\sAlso,\sthere\sis\sgrowing\s\n>\sconsensus\sthat\sneither\sthe\score\snor\sextensions\n>\sshould\scall\sTcl_RegisterObjType()\sat\sall;\s\n>\sTcl_ConvertToType()\sis\sbroken\sas\sdesigned.\n\nI\sunderstand\sthis,\sand\sI\sam\sin\sfact\snot\susing\sTcl_ConvertToType()\swith\sthe\n"wideInt"\stype;\sas\sfar\sas\sI\sam\sconcerned\sthe\snew\sSetWideIntFromAny\scould\sbe\nreverted,\sit\swas\sjust\sadded\sfor\scompleteness\s(and\sdoes\snot\sin\sfact\sconvert\sto\sa\nwide\sint\srepresentation,\ssame\sas\sSetIntFromAny).\n\nthere\sis\sample\sprecedent\sin\s8.5\sfor\sthe\srestoration\sof\sTcl_ObjType\sregistrations\nthat\swere\sremoved\sand\saffected\sextensions:\s"boolean",\s"list"\sand\s"procbody"\sall\nhad\sthis\shappen,\sc.f.\sChangeLog.2005,\sso\sI\sdid\snot\sthink\smuch\sof\sreverting\sthe\n"wideInt'\sregistration\sremoval\swhen\sunintended\sconsequences\sshowed\sup.\n\n>\sUnless\syou\sknow\sof\sa\sspecific\sextension\sthat\srelies\son\n>\sthe\s"wideInt"\stype\sbeing\sregistered,\sit\swould\sbe\sa\sgood\n>\sidea\sto\srevert\sthis\schange.\n\nthe\sextension\sin\squestion\sis\sffidl,\swhich\sI'm\scurrently\supdating\sto\ssupport\s8.5,\nmy\scommits\syesterday\sall\shave\sto\sdo\swith\sthis...\n\nffidl\sneeds\sto\ssupport\spassing\s64bit\snumbers\sback\sand\sforth\sbetween\stcl\sprocs\nand\suser-specified\sC\scalls,\sit\suses\sthe\s"wideInt"\sTcl_ObjType\sto\scompare\sagainst\na\sgiven\sTcl_Obj's\stype\sto\savoid\sslow\sand\spotentially\slossy\sconversions.\n\nexisting\sffidl\ssources\s(and\sbinaries)\sbroke\swhen\srun\sagainst\s8.5\sbecause\sof\sthe\n"wideInt"\sregistration\sremoval\s(arguably\san\serror\sin\sffidl,\sit\sdid\snot\sexpect\nTcl_GetObjType\sto\sfail).\sI\shave\sfixed\sthat\sbug,\sbut\sthe\sneed\sto\sknow\s(cheaply)\nif\sa\sgiven\stcl\sobject\sneeds\s64bit\sstorage\sremains.\n\nCheers,\n\nDaniel\n\n\n>\sThanks,\n>\s\n>\s\n>\s--Joe\sEnglish\n\n
J login das
J mimetype text/plain
J username das
K 1787846fffffffffffffffffffffffffffffffff
U das
Z 4f620996045e27f36c28afb2b1e957ca