| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
default size of Windows buttons to conform to the Windows style.
This changes the default size of buttons on Windows.
[Patch #463234] (nelson)
**** POTENTIAL VISUAL INCOMPATABILITY ****
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Only -padx/y supports asymmetry. [Bug #462348]
|
| |
|
|
|
|
| |
properly on Windows.
|
|
|
|
| |
it is skewed by bad dimensions returned by Windows.
|
| |
|
|
|
|
| |
the TK_ALT_DISPLAY case
|
|
|
|
|
| |
send.test. Removed platform specific named file in case somebody
gets send working on Win/Mac in the future.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
evaluation of widgets.
* generic/tkButton.c (ButtonCreate):
* generic/tkFrame.c (CreateFrame):
* generic/tkMenubutton.c (Tk_MenubuttonObjCmd):
* generic/tkPlace.c (Tk_PlaceObjCmd):
* generic/tkScale.c (Tk_ScaleObjCmd):
* generic/tkMessage.c (Tk_MessageObjCmd):
* generic/tkEntry.c (Tk_EntryObjCmd, Tk_SpinboxObjCmd):
* generic/tkSquare.c (SquareObjCmd): redid the handling of
optionTables in widgets to allow them to be imported into other
namespaces. [Bug #456632]
|
| |
|
|
|
|
| |
because it wasn't always getting focus properly.
|
|
|
|
| |
sensitive on systems that have more installed fonts.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
implementing TIP 44. All Tk commands and variables matching
tk[A-Z]* are now in the ::tk namespace.
|
|
|
|
|
|
| |
* generic/tkCanvPoly.c (PolygonToArea): Added patch that respects
the polygon difference of including points in the polygon even
when fill is empty. [Bug #226357]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* library/entry.tcl:
* library/spinbox.tcl:
* library/text.tcl:
* library/tk.tcl: added private ::tk::GetSelection command to
handle requesting selection. This is to support requesting
UTF8_STRING before generic STRING on Unix. Changed Text, Spinbox,
Entry and Console to use this command.
* tests/select.test:
* generic/tkSelect.c (Tk_CreateSelHandler, Tk_DeleteSelHandler):
on Unix, a UTF8_STRING handler will be created when the user
requests a STRING handler (in addition to the STRING handler).
This provides implicit support for the new UTF8_STRING selection
target.
* unix/tkUnixSelect.c (TkSelEventProc, ConvertSelection): Added
support for UTF8_STRING target. [RFE #418653, Patch #433283]
* generic/tkInt.h: added utf8Atom to TkDisplay structure.
|
|
|
|
| |
because it isn't a portable color name.
|
|
|
|
|
| |
style when processing configuration options. Some cleanup of
bad comments and bad code. [part of patch #420861]
|
| |
|
|
|
|
| |
tests fail.
|
|
|
|
| |
expected [pwd] to return a capital drive letter.
|
|
|
|
| |
'arrow' on windows has a pre-skewed use count.
|
|
|
|
|
|
|
| |
scrollbar update
* generic/tkListbox.c (DestroyListbox, ListboxEventProc):
corrected listbox to make proper use of Tcl_EventuallyFree and
protect against unusual listbox deletion.
|
|
|
|
|
|
|
| |
activity
* generic/tkEntry.c (DestroyEntry, EntryEventProc): fixed the
entry widget to survive deletion while processing scrollbar
updates and validation.
|
|
|
|
|
| |
* generic/tkCanvas.c (DestroyCanvas, CanvasEventProc): fixed the
canvas to survive deletion during event processing. [Bug #228024]
|
|
|
|
|
|
| |
safe.test.
* library/tk.tcl: moved package require msgcat inside if case to
not be used in safe interps.
|
|
|
|
|
|
| |
* generic/tkBind.c (NameToWindow): handled the error case where a
valid-looking but invalid identifier could be passed in certain
event generate options causing a crash. [Bug #411307]
|
|
|
|
|
| |
* generic/tkObj.c (UpdateStringOfMM, SetMMFromAny): better
obj-aware screen distances. (pgbaum, hobbs) [Patch #403327]
|
|
|
|
|
|
|
|
|
|
| |
* library/text.tcl (tkTextSelectTo): When
the mouse is dragged with the button down,
move the insertion cursor to the current
mouse position.
* tests/event.test: Add a series of tests
for event generation. Add tests for selection,
check the position of the insertion cursor.
|
|
|
|
| |
[Bug 220940, Patch 411952]
|
| |
|
|
|
|
|
| |
which also requires no documentation changes - the behaviour is now
what you would predict from existing docs (as opposed to a crash!)
|
|
|
|
|
|
|
|
|
| |
I'm still not quite sure what exactly was going wrong in the bug, but
I suspect the problem might have actually been due to the deletion of
all images while in the midst of creating an image. The restriction
is pretty light when it comes to existing code, since it previously
caused a core dump due to an image typePtr field being set to random
garbage, an indication of over-eager use of free()...
|
| |
|
|
|
|
| |
reliably assume what 'red' maps to.
|
|
|
|
|
|
|
|
| |
* doc/tk.n: updated to reflect default on status of useinputmethods.
* library/tk.tcl: tk useinputmethods is set to 1 by default. This
enables Kanji and dead-char input by default. Intro'd in
1999-12-16 with default off to avoid some problems with older X
servers that would slow down widget creation over time.
|
|
|
|
|
|
| |
on two difference screens of the same display. Without
this fix you get a BadMatch error from the X-server when
you try to use a bitmap on two screens at once.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
used for TK_OPTION_CUSTOM, and typedef's of the functions
Tk_CustomOptionSetProc, Tk_CustomOptionGetProc,
Tk_CustomOptionRestoreProc, and Tk_CustomOptionFreeProc, used for
TK_OPTION_CUSTOM.
* doc/SetOptions.3: Added documentation of TK_OPTION_CUSTOM, and
section "CUSTOM OPTION TYPES" explaining how to create and use
custom options.
* tests/config.test: Added tests for custom option type.
* generic/tkTest.c: Added test support for TK_OPTION_CUSTOM to
TestobjconfigObjCmd. Added CustomOption* functions to implement a
test custom option.
* generic/tkConfig.c: Added new option type TK_OPTION_CUSTOM,
which allows the definition of custom option types by creating
parsing, printing, freeing, and restoring procedures for a custom
option. This is needed by the text and canvas widgets if they are
to be fully objectified.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|