| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
| |
* win/Makefile.in (install-libraries):
* unix/Makefile.in (install-libraries): Added tkPlatDecls.h to
list of header files to install.
* generic/tk.h: Added #include "tkPlatDecls.h", which declares the
platform specific component of the public Tk stubs API's.
|
|
|
|
|
|
|
|
|
|
|
|
| |
for determining the source's logical coordinates. Patch from
[Bug: 6134 (Markus Oberhumer)].
* win/tkWinMenu.c (SetDefaults): Compute the indicatorDimensions[]
under Windows NT/2000 in the same way as under Windows 95/98.
Patch from [Bug: 6134 (Markus Oberhumer)].
* win/tkWinFont.c (GetScreenFont): Added a memset() to
pacify memory checkers. Patch from [Bug: 6134 (Markus Oberhumer)].
|
|
|
|
|
| |
handling of multi-pattern filters (eg, "* *.*"), which was broken
by the getOpenFile performance patches applied earlier.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* doc/spinbox.n:
* doc/scrollbar.n:
* doc/scale.n:
* doc/menubutton.n:
* doc/menu.n:
* doc/listbox.n:
* doc/entry.n:
* doc/frame.n:
* doc/message.n:
* doc/checkbutton.n:
* doc/radiobutton.n:
* doc/button.n:
* doc/label.n:
* doc/canvas.n:
* doc/text.n: Fixed Standard Options section to make best use of
new tab settings in man.macros.
|
| |
|
|
|
|
| |
it was not correct.
|
|
|
|
| |
incr/decr of new value object, in case they are equal.
|
|
|
|
|
|
| |
DitherInstance; this call was formerly being made from
ImgPhotoGet->ImgPhotoConfigureInstance->DitherInstance, and
ImgPhotoGet->DitherInstance. The second call was removed.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
TK_OPTION_NULL_OK for TK_OPTION_DOUBLE and TK_OPTION_PIXELS.
* generic/tkConfig.c: Added for TK_OPTION_NULL_OK support for
TK_OPTION_DOUBLE and TK_OPTION_PIXELS.
* doc/place.n: Updated, reformatted manual entry.
* tests/place.test: Added many tests.
* generic/tkPlace.c (Tk_PlaceObjCmd): Updated to use Tk
widget-option management facilities to manage place options (-x,
-y, etc.), which simplifies the placer code. Added support for
[place configure pathName] and [place configure pathName -option],
similar to the behavior of the configure subcommand supported by
widgets.
|
|
|
|
|
|
|
|
|
|
|
|
| |
[place].
* generic/tkInt.h: Replaced Tk_PlaceCmd prototype with
Tk_PlaceObjCmd prototype.
* generic/tkWindow.c: Updated [place] command entry to use new
Tcl_Obj interface.
* generic/tkPlace.c (Tk_PlaceObjCmd): Tcl_Obj'ified [place] command.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
new Tcl_Obj interface.
* generic/tkInt.h: Replaced Tk_SelectionCmd prototype with
Tk_SelectionObjCmd prototype.
* tests/select.test: Updated test suite to recognize standardized
error messages.
* generic/tkSelect.c (Tk_SelectionObjCmd): Tcl_Obj'ified
[selection] command.
|
|
|
|
| |
initialized Tk in a safe interpreter.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Tcl_Obj'ified command.
* generic/tkInt.h: Replaced Tk_GrabCmd prototype with
Tk_GrabObjCmd prototype.
* tests/grab.test: Initial suite of tests for [grab] command.
* generic/tkGrab.c (Tk_GrabObjCmd): Tcl_Obj'ified [grab] command.
* generic/tkCmds.c: Fixed casting problem in Tk_BindtagsObjCmd.
|
|
|
|
|
|
|
|
| |
function does not exist (since 7.4p3).
* generic/tk.h: Removed Tk_AfterCmd => Tcl_AfterCmd #define;
nothing in the core uses it, and Tcl_AfterCmd doesn't exist
anymore anyway.
|
|
|
|
|
|
|
|
|
| |
Tk_BindObjCmd prototype.
* generic/tkWindow.c: Updated "bind" command entry to use
Tcl_Obj'ified command.
* generic/tkCmds.c (Tk_BindObjCmd): Tcl_Obj'ified [bind] command.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to comply with updated error messages.
* generic/tkMenu.c (CloneMenu): Replaced calls to Tk_BindtagsCmd
with equivalent calls to Tk_BindtagsObjCmd.
* generic/tkInt.h: Replace Tk_BindtagsCmd prototype with
Tk_BindtagsObjCmd prototype.
* generic/tkWindow.c: Updated "bindtags" command entry to use
Tcl_Obj'ified command.
* generic/tkCmds.c (Tk_BindtagsObjCmd): Tcl_Obj'ified [bindtags]
command.
|
|
|
|
|
|
|
|
| |
* generic/tkWindow.c: Updated "tkwait" command entry to use
Tcl_Obj'ified command.
* generic/tkInt.h: Replace Tk_TkwaitCmd prototype with
Tk_TkwaitObjCmd prototype.
|
|
|
|
| |
separate functions instead of inlining them all in Tk_GridCmd.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
prototype for Tk_MessageObjCmd.
* generic/tkWindow.c: Marked message command as using the new
MessageObjCmd instead of the old MessageCmd.
* tests/message.test: Added tests for the message widget.
* generic/tkMessage.c: Obj'ified the message widget.
* generic/tkInt.h: Removed prototype for Tk_ClipboardCmd, added
prototype for Tk_ClipboardObjCmd.
* generic/tkWindow.c: Updated function pointers for clipboard
command to use Tcl_Obj version.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
prototype for Tk_ClipboardObjCmd.
* generic/tkWindow.c: Updated function pointers for clipboard
command to use Tcl_Obj version.
* tests/clipboard.test: Updated tests to expect standard error
messages.
* generic/tkClipboard.c (Tk_ClipboardObjCmd): Obj'ified
Tk_ClipboardCmd -> Tk_ClipboardObjCmd.
|
|
|
|
|
|
| |
the indicator color when radio-/check-buttons are disabled. This
reduces the visual incongruity when a group of these controls are
disabled together.
|
|
|
|
|
| |
for disabled menu entries, to ensure that those which are drawn by
the system are shown grayed (such as entries on menubars) [Bug: 4372].
|
|
|
|
|
| |
* generic/tkListbox.c: Changed resource class for disabledforeground
to "DisabledForeground".
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* unix/tkUnixDefault.h: Added default values for listbox
disabledforeground and state.
* win/tkWinDefault.h: Changed default listbox background color to
white and listbox selection borderwidth to 0, in keeping with the
"Microsoft Windows User Experience"; added default values for
listbox disabledforeground and listbox state.
* doc/listbox.n: Added documentation for -state option.
* generic/tkListbox.c: Added support for -state to listbox. [RFE:
6052].
* tests/listbox.test: Tests for listbox disabled state.
|
|
|
|
|
| |
TK_STUB_LIB_FLAG should not include ${TCL_DBGX}
in win/tkConfig.sh, fix that.
|
|
|
|
|
|
| |
FontId.3, GetFont.3, canvas.n, font.n, options.n, text.n:
Documentation fix: Replaced references to XFontStruct *
and Tk_FontStruct with Tk_Font.
|
|
|
|
|
|
|
|
|
|
| |
backslash character classes.
* generic/tkText.c (TextSearchCmd): Text search did not work
properly when -regexp and -nocase were used, in combination with
backslash character classes represented by capital letters (ie,
\W, \M); altered implementation of -regexp -nocase searches to use
new regexp interfaces to fix this problem. [Bug: 5988].
|
|
|
|
|
|
|
|
| |
* generic/tkText.c (TextSearchCmd): Text search was not returning
the correct index when the search covered (but did not search)
elided characters; corrected this by adjusting the match index by
the number of elided characters preceeding the start of the match,
just as is done with embedded windows, etc. [Bug: 5470].
|
|
|
|
|
| |
TK_BUILD_STUB_LIB_SPEC. These are needed to
build a stub enabled extension.
|
|
|
|
|
| |
operator with an if/else, to avoid build problems on some
platforms [Bug: 5819].
|
| |
|
|
|
|
|
| |
<Tab> bindings when the text widget is disabled (ie, it advances
focus to the next widget).
|
|
|
|
|
| |
segment pointer when doing backwards searches for "" on an empty
text widget. [Bug: 6007].
|
|
|
|
|
|
|
|
| |
* unix/configure.in: Properly quote
LOCALES variable. Properly quote
argument to m4 macro.
* unix/tcl.m4: Add updated file from tcl.
* win/tcl.m4: Updated file from tcl.
|
| |
|
| |
|
|
|
|
| |
for shared builds, with patch from Mike Hopkirk.
|
| |
|
| |
|
|
|
|
|
|
|
| |
5990], from Anselm Lingnau, which correctly sets the value of
useNewImage to 0 when the new image system is not to be used,
instead of leaving it at -1, which causes the check to be
performed more times than is really necessary.
|
|
|
|
| |
label.
|
|
|
|
| |
Brutti. [RFE: 6012].
|
| |
|
| |
|
|
|
|
| |
structure when it is created, to prevent possible core dumps.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* win/stubs.c (_XInitImageFuncPtrs): Add return value for function.
* win/tkWinButton.c (buttonStyles, ButtonBindProc, ComputeStyle):
Remove unused declarations.
* win/tkWinColor.c (GetColorByName, GetColorByValue): Remove unused
function declarations.
* win/tkWinDialog.c (TrySetDirectory): Remove unused function declaration.
* win/tkWinEmbed.c (TkWinEmbeddedEventProc): Cast to match function prototype.
* win/tkWinMenu.c (winMenuMutex, MenuExitProc): Remove unused declaration.
* win/tkWinWindow.c (StackWindow): Remove unused declaration.
* win/tkWinWm.c (ConfigureEvent): Remove unused declaration.
* win/tkWinX.c (winXMutex): Remove unused declaration.
* xlib/ximage.c (XCreateBitmapFromData): Cast to match function prototype.
|
|
|
|
|
| |
* generic/tkImgGIF.c: Applied patch from Jan Nijtmans to fix a
problem with the GIF writing code [Bug: 5823].
|