|
2006-03-10
| ||
| 22:33 | • Closed ticket [1174395fff]: inconsistent "procbody" objType plus 8... artifact: 0968f0dca5 user: dgp | |
|
2005-04-01
| ||
| 15:05 | • Ticket [1174395fff]: 4 changes artifact: 7afdf38938 user: dkf | |
| 15:03 | • Ticket [1174395fff]: 4 changes artifact: cfc1c9a803 user: dkf | |
| 15:01 | • Ticket [1174395fff]: 4 changes artifact: 76bc5e389d user: dkf | |
| 03:28 | • Ticket [1174395fff]: 4 changes artifact: e3fee7ccf8 user: dgp | |
| 03:23 | • Ticket [1174395fff]: 4 changes artifact: 28315a1985 user: dgp | |
|
2005-03-31
| ||
| 20:20 | • New ticket [1174395fff]. artifact: aa3723a3f6 user: dgp | |
inconsistent "procbody" objType
Closed / Wont Fix1174395fffffffffffffffffffffffffffffffffCreated 22 years agoUpdated 21 years ago
Descriptionplain2005-03-31 20:20:48
This objType should not be registered, since it lacks a setFromAnyProc .
dgpplain2005-04-01 03:23:01
Logged In: YES user_id=80530 Ditto for the "levelReference" type. Check on the possibility of making things file static as well.
dgpplain2005-04-01 03:28:26
Logged In: YES user_id=80530 DItto for the various "*VarName" objTypes that panic in their setFromAnyProc's.
dkfplain2005-04-01 15:01:59
Logged In: YES
user_id=79902
Direct calling of the contents of the setFromAnyProc field
should not be supported anyway. Use Tcl_ConvertToType()
which guards against such things.
Also note that there are other potential uses of getting
access to an object type (e.g. the screen distance
management code in Tk wants to know whether it should call
Tcl_Get{Int,Double}FromObj or whether it should parse an
object itself and set it to its own type; forcing everything
to be handled as a screen distance type instance would cause
unacceptable levels of shimmering, but the setFromAnyProc is
not required in this use-case.) so registration despite the
NULL field is still potentially relevant.
dkfplain2005-04-01 15:03:41
Logged In: YES user_id=79902 However this is resolved, bear in mind 1174391 as well (same issue in different maintenance area)
dkfplain2005-04-01 15:05:20
Logged In: YES user_id=79902 Also note that it ought to be possible to omit setFromAnyProcs when the implementation of them just Tcl_Panic()s. Setting the field to NULL instructs Tcl_ConvertToType() to do the same thing.
dgpplain2006-03-10 22:33:51
Logged In: YES user_id=80530 The "procbody" registration must be kept to support tclcompiler.
Log in (anonymous is fine) to add a comment.