| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
updating Tk to use Tcl 8.4's fully CONST-ified
interface, and fully CONSTifying Tk at the
same time.
This patch includes purging Tk of its last
direct access to interp->result. [Bug 589853]
The substantial changes include copying
event sequence strings into Tcl_DStrings
in tkBind.c, and copying [text] indices into
Tcl_DStrings because parsing them involved
overwriting them. If this causes performance
trouble, that can be resolved by further
converting them to Tcl_Obj's.
The #defines USE_NON_CONST and USE_COMPAT_CONST
have the same effect for Tk as they do for Tcl.
(They actually change tcl.h)
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* mac/tkMacWm.c (Tk_WmCmd): docs with mac and unix stubs.
* unix/tkUnixWm.c (Tk_WmCmd):
* win/tkWinWm.c (Tk_WmCmd):
* tests/unixWm.test:
* tests/winWm.test: more wm attr tests will be needed.
|
|
|
|
|
|
|
| |
* generic/tkText.c (TextWidgetCmd): enhances the text get and
* generic/tkTextIndex.c (TkTextGetIndex): delete methods to accept
* tests/text.test: multiple range pairs.
This handles the delete case in an atomic, fixed-index fashion.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tkText.c: undo/redo stack to not be tied solely to the
* generic/tkText.h: text widget. The APIs are still private.
* generic/tkUndo.c: This also adds a stack limiting ability and
* generic/tkUndo.h: a -maxundo option to the text widget (in
* library/text.tcl: addition to the options from TIP #26) should
* mac/tkMacDefault.h: users want to limit the undo/redo stack
* tests/text.test: (should not be necessary in most cases).
* unix/Makefile.in: [Patch #554763] (callewart)
* unix/tkUnixDefault.h:
* win/Makefile.in:
* win/makefile.vc:
* win/tkWinDefault.h:
|
|
|
|
|
|
|
|
| |
* generic/tkListbox.c (DisplayListbox):
* mac/tkMacDefault.h: TIP #94 implementation adding -activestyle
* tests/listbox.test: option to the listbox. This adds the ability
* unix/tkUnixDefault.h: to have listboxes look native on Windows, and
* win/tkWinDefault.h: "nicer" elsewhere using the 'dotbox' style.
|
|
|
|
|
|
|
|
|
|
| |
* generic/tkInt.h (struct TkCaret):
* mac/tkMacXStubs.c (Tk_SetCaretPos):
* unix/tkUnixKey.c (TkpGetString, Tk_SetCaretPos):
* win/tkWinX.c (Tk_SetCaretPos):
* tests/tk.test: Added 'tk caret' implementation of TIP#96
* doc/SetCaret.3 (new): which adds a TkCaret structure element to
* doc/tk.n: TkDisplay for maintaining state.
|
|
|
|
|
| |
checkbutton and radiobutton to allow those widgets to have a
MS-Office look and feel.
|
|
|
|
|
|
|
|
|
| |
* generic/tkDecls.h: Tk_CollapseMotionEvents API which controls
* generic/tkEvent.c: Tk's collapsing of incoming motion events
* generic/tkInt.h: on its windows. The default remains to do
* generic/tkStubInit.c: collapsing. Added a flags parameter to the
* generic/tkWindow.c: internal display structure to support this
* doc/QWinEvent.3: and be used in the future for other bits.
|
|
|
|
|
|
|
|
| |
(patch from Neil McKay).
* Add CirculateRequest, Create, MapRequest, ResizeRequest,
and ConfigureRequest event types;
* Split TK_TOPLEVEL flag into TK_TOPLEVEL, TK_HAS_WRAPPER,
TK_WIN_MANAGED, and TK_TOP_HIERARCHY.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
a POTENTIAL INCOMPATIBILITY.
* doc/wm.n: Remove "some window managers will" text
and explicitly state what behavior a transient
window will display. Also mention that it is an
error to make a window a transient of itself.
|
| |
|
|
|
|
|
|
|
|
|
| |
* mac/tkMacWm.c:
* tests/wm.test:
* unix/tkUnixWm.c:
* win/tkWinWm.c: Update wm stackorder usage message
to make it clear that either 1 or 3 arguments are
required. [Bug 540013]
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
stuff has been in there for ages for some reason...
|
|
|
|
|
|
|
|
|
| |
* Updated callers of Tcl_GetStringResult.
Rewrote PrintScrollFractions to ScrollFractions to stop scribbling
directly on interp->result.
* Updated callers of Tcl_GetVar, Tcl_GetVar2
* Updated callers of Tcl_SplitPath, Tcl_JoinPath, and
Tcl_TranslateFileName.
|
| |
|
|
|
|
|
| |
was selected in the filetypes option menu. Adapted from code by Chris
Nelson submitted in Patch #492220.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
wm stackorder command.
* doc/winfo.n: Update documentation for the winfo
children command to indicate that top-level windows
are not returned in stacking order.
* doc/wm.n: Add documentation for wm stackorder.
* generic/tkInt.decls (TkWmStackorderToplevel):
Add decl for new function.
* generic/tkIntDecls.h: Regen.
* generic/tkStubInit.c: Regen.
* tests/unixWm.test: Add stackorder command to test
for wm command usage message.
* tests/wm.test: Add new set of tests for generic
window manager methods.
* unix/tkUnixWm.c (Tk_WmCmd,
TkWmStackorderToplevelWrapperMap,
TkWmStackorderToplevel): Add unix implementation of
new wm stackorder command.
* win/tkWinWm.c (Tk_WmCmd,
TkWmStackorderToplevelEnumProc,
TkWmStackorderToplevelWrapperMap,
TkWmStackorderToplevel): Add windows implementation
of new wm stackorder command.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
implementing TIP 44. All Tk commands and variables matching
tk[A-Z]* are now in the ::tk namespace.
|
|
|
|
|
| |
several shades of blue, all of which were listed as RGB 0 0 0.
[Bug #432104].
|
|
|
|
|
|
| |
* doc/clipboard.n: added SEE ALSOs to cross-reference selection
and clipboard, with extra note for clipboard command in selection
docs. [Patch #422256]
|
|
|
|
|
|
| |
* generic/tk.h:
* generic/tkStubLib.c: CONST'ified Tk_InitStubs to match CONST
changes to Tcl_PkgRequireEx.
|
| |
|
| |
|
| |
|
|
|
|
| |
docs. (techentin) [Patch #403660]
|
|
|
|
| |
of ranges for "photoName data -from" subcommand.
|
| |
|
|
|
|
|
| |
* win/tkWinWm.c:
* doc/wm.n: Applied patch #102833 (TIP #8).
|
| |
|
| |
|