Overview
| Artifact ID: | cee6a497f708c582651d9f6c605511e0ee01b38a |
|---|---|
| Ticket: | 2431338fffffffffffffffffffffffffffffffff
TIP 338 changes break TkAqua build |
| User & Date: | das on 2008-12-16 03:19:01 |
Changes
- icomment:
note that this affects the purely generic code in Tk_MainEx() as well (multiple calls of Tcl_GetStartupScript), i.e. the problem is not specific to TkAqua in fact for better or for worse Tk_MainEx has had this functionality and has been in the Tk stubs table forever. Beyond backward compat concerns, I'm not a fan of moving all the code in there dealing with startup scripts out in the lean&mean (and currently very easy to understand) tkAppInit.c... even less so for the gnarly platform-specific code in TkpInit(), that code is interdependent with other internals of the Tk implementation and needs to remain in the library so that its implementation can be changed centrally, and not in a file intended to be statically compiled-in by an embedder. Moving platform/windowingsystem specific code into tkAppInit.c is also a bad idea because it would complicate the linking of wish/embedders, e.g. the link line would need to change depending on whether TkAqua or TkX11 is being linked against (which is currently not the case, unless linking statically). IMO those disadvantages far outweigh the minor impurity of having an API intended only for embedders in the stub table.
- login: "das"
- mimetype: "text/plain"
- username: "das"