OriginalBugID: 6016 RFE
Version: 8.4a1
SubmitDate: '2000-07-17'
LastModified:
Severity: SER
Status: UnAssn
Submitter: techsupp
OS: All
Name:
Don Porter
CVS:
2000-07-16 state of CVS repository
Comments:
Please note that this patch does not move
any of Tk's *public* commands into ::tk as
I've been advocating recently in comp.lang.tcl.
It moves only private commands and variables,
which should be harmless to those who've
resisted the temptation to directly access
Tk's privates.
I expect to submit another patch offering
a compatibility interface to support those
who have their code broken by this patch
because they relied on undocumented private
interfaces. Stay tuned.
DesiredBehavior:
In addition to the commands and variables which
comprise Tk's public interface, Tk defines many
other commands and variables intended for its
own private use only. It is a legacy from
Tk 4 that many of these private commands and
variables are defined in the global namespace.
I request that Tk's privates be placed in
the ::tk namespace or its child namespaces.
I include a patch which I think does the job,
but this is a big task, so it would be good
to have others check my work -- especially
on other platforms.
On my Linux/x86 box, the Tk test suite shows
no failed tests both before and after this
patch is applied.
Patch:
The patch is too large (584kB) to inflict on
the web form / newsgroup. Instead, download
it from:
http://math.nist.gov/~DPorter/tcltk/patches/tk84a1private.txt
PatchFiles:
File: tkvars.n Status: Locally Modified
File: tkBind.c Status: Locally Modified
File: tkMenu.c Status: Locally Modified
File: tkTextDisp.c Status: Locally Modified
File: bgerror.tcl Status: Locally Modified
File: button.tcl Status: Locally Modified
File: choosedir.tcl Status: Locally Modified
File: clrpick.tcl Status: Locally Modified
File: comdlg.tcl Status: Locally Modified
File: console.tcl Status: Locally Modified
File: dialog.tcl Status: Locally Modified
File: entry.tcl Status: Locally Modified
File: focus.tcl Status: Locally Modified
File: listbox.tcl Status: Locally Modified
File: menu.tcl Status: Locally Modified
File: msgbox.tcl Status: Locally Modified
File: optMenu.tcl Status: Locally Modified
File: palette.tcl Status: Locally Modified
File: scale.tcl Status: Locally Modified
File: scrlbar.tcl Status: Locally Modified
File: spinbox.tcl Status: Locally Modified
File: tclIndex Status: Locally Modified
File: tearoff.tcl Status: Locally Modified
File: text.tcl Status: Locally Modified
File: tk.tcl Status: Locally Modified
File: tkfbox.tcl Status: Locally Modified
File: xmfbox.tcl Status: Locally Modified
File: tkMacMenu.c Status: Locally Modified
File: all.tcl Status: Locally Modified
File: clrpick.test Status: Locally Modified
File: filebox.test Status: Locally Modified
File: macMenu.test Status: Locally Modified
File: menu.test Status: Locally Modified
File: menuDraw.test Status: Locally Modified
File: msgbox.test Status: Locally Modified
File: text.test Status: Locally Modified
File: textDisp.test Status: Locally Modified
File: unixMenu.test Status: Locally Modified
File: winMenu.test Status: Locally Modified
File: xmfbox.test Status: Locally Modified
File: tkUnixDialog.c Status: Locally Modified
Don Porter
None
None
Public
|
Date: 2008-12-07 03:48 ALYy3u <a href="http://jtzoakwqsamh.com/">jtzoakwqsamh</a>, |
|
Date: 2001-08-15 19:39 Logged In: YES |
|
Date: 2001-08-01 16:25 Logged In: YES |
|
Date: 2001-07-30 19:15 Logged In: YES |
|
Date: 2001-07-19 16:26 Logged In: YES |
|
Date: 2001-07-18 17:25 Logged In: YES |
|
Date: 2001-07-17 01:15 Logged In: YES |
|
Date: 2001-03-01 00:30 Logged In: YES |
|
Date: 2000-11-20 20:47 Note also the following additional patch that |
|
Date: 2000-11-19 13:05 We should do this; it may be a whopper change, but since it should only |
| Filename | Description | Download |
|---|---|---|
| tkpriv.patch.gz | TIP 44 implementation (gzipped) | Download |
| Field | Old Value | Date | By |
|---|---|---|---|
| close_date | 2001-08-01 16:25 | 2001-08-15 19:39 | dgp |
| close_date | - | 2001-08-01 16:25 | dgp |
| resolution_id | None | 2001-08-01 16:25 | dgp |
| status_id | Open | 2001-08-01 16:25 | dgp |
| File Added | 8605: tkpriv.patch.gz | 2001-07-19 16:30 | dgp |
| category_id | 01. Bindings | 2001-07-18 17:25 | dgp |
| category_id | 28. Utility Functions | 2001-06-19 22:22 | dgp |
| assigned_to | nobody | 2001-06-19 21:45 | hobbs |
| category_id | None | 2001-06-19 21:45 | hobbs |
| assigned_to | dgp | 2001-06-19 21:16 | hobbs |
| artifact_group_id | obsolete: 8.4a1 | 2001-06-19 21:16 | hobbs |
| category_id | 01. Bindings | 2001-06-19 21:16 | hobbs |
| category_id | 21. [panedwindow] | 2001-03-28 13:24 | dkf |
| assigned_to | nobody | 2001-02-26 23:29 | dgp |
| category_id | 99. Other | 2000-11-19 13:08 | dkf |
Copyright © 2010 Geeknet, Inc. All rights reserved. Terms of Use