Skip to content
Tcl Source Code Artifact [2b79b56f8e]
Login

Artifact [2b79b56f8e]

Artifact 2b79b56f8e34f6eb2c4eead2f442c935a8409eaf:

Ticket change [2b79b56f8e] - Ticket [2431338fffffffff|2431338fff] <i>TIP 338 changes break TkAqua build</i> status still Open with 4 other changes by dgp on 2008-12-16 02:36:43.
D 2008-12-16T02:36:43
J icomment \nThe\smotivation\sto\snot\sput\sthe\sroutines\nin\spublic\sstubs\swas:\n\n1)\sNot\sdoing\sso\sreduced\sthe\sneed\sto\n\s\s\sget\sthread\ssafety\sright.\n2)\sNo\sdoing\sso\soffered\sa\schance\sto\n\s\s\sdiscover\snon-embedders\smaking\scalls,\n\s\s\sand\seither\scorrect\sthat,\sor\slearn\n\s\s\sabout\sunmet\sinterface\sneeds.\n\nAs\sit\sturns\sout,\sI\stook\scare\sof\s1)\sanyway.\nThe\sroutines\sare\sthread\ssafe,\sso\sthere's\nnot\stechnical\sreason\sthey\scan't\sbe\sput\sinto\npublic\sstubs\sanymore.\s\sNow\sit's\smore\sa\smatter\nof\sintent.\s\sWe\sintend\sfor\sembedders\sto\suse\nthese\sroutines.\s\sPublic\sstubs\smakes\sthem\navailable\sto\sextenders,\swho\swe\sthink\scan\nonly\sbe\sdisappointed\swith\sthem.\n\nLooking\sbriefly\sat\sthe\stroubles\ssuffered\nby\sAqua\sTk,\sit\sappears\sthey\scome\sfrom\sputting\nsome\scode\sinto\sTk\sthat\sought\sto\sbe\sin\nwish.\s\sIn\sparticular,\sthe\s[console]\smachinery\nis\spart\sof\swish,\snot\spart\sof\sTk,\sso\sI\swould\nexpect\scode\sthat\sexamines\swhether\sor\snot\nto\senable\sit\swould\salso\sbe\spart\sof\swish.\n\nThe\sother\susage\sI\ssee\sis\sto\spull\sstartup\nscript\sselection\sout\sof\sa\s"CFBundle"\salong\nwith\sa\splatform-specific\scall\sto\sa\sprivate\nroutine\swithin\sTk_MainEx()\sto\smake\sthat\spossible.\nI\sthink\swith\sthe\snew\spublic\sfacility,\sthe\sway\nto\saccomplish\sthe\ssame\sthing\sis\sto\shave\sthe\ncaller\sof\sTk_Main()\smake\sthat\ssame\sprivate\ncall\sbefore\scalling\sTk_Main(),\sand\slink\nthat\scode\sto\slibtcl\sinstead\sof\slibtclstub.\nSo,\sit\salso\shas\sthe\ssame\s"put\sit\sin\swish,\snot\sTk"\nflavor\sof\ssolution.\n\nIf\sthat's\soff\sthe\strack,\sas\sI\ssay,\sthe\stech\nhurdles\sto\sexposing\sthe\sroutines\sin\spublic\nstubs\sare\sgone,\sso\swe\scan\sgo\sthat\sway\stoo\nif\seither\srequired,\sor\sdeemed\sa\smore\sdesirable\npath\sin\sterms\sof\sdisruption.\n\n
J login dgp
J mimetype text/plain
J username dgp
K 2431338fffffffffffffffffffffffffffffffff
U dgp
Z 2fdcb4a2508829d5b5ec2be15f64dbaa