| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
was failing to include the last character of the selection. The
"selection get" mechanism returned the right answer (so all the tests
were passing) but the widget did not display correctly. This
delta fixes the problem.
|
| |
|
| |
|
|
|
|
|
| |
CVS snapshots from the 8.4a3 release. This does not necessarily
mean there will be an 8.4a4 release. [Bug 448938].
|
|
|
|
|
|
| |
Windows platforms that were overlooked before: tkOpenDocument,
tkConsoleExit, tkConsoleOutput, unsupported1 out of namespace :: .
Thanks to Vince Darley for prompting another look.
|
|
|
|
|
| |
implementing TIP 44. All Tk commands and variables matching
tk[A-Z]* are now in the ::tk namespace.
|
|
|
|
| |
when built with Cygwin or Mingw.
|
|
|
|
|
|
| |
completed. The beginnings of the code was there but it generated
diagnostic messages rather than proper postscript. This change fixes
the problem.
|
|
|
|
|
|
| |
* generic/tkCanvPoly.c (PolygonToArea): Added patch that respects
the polygon difference of including points in the polygon even
when fill is empty. [Bug #226357]
|
|
|
|
|
|
| |
font not freed complaints when trying valid cleanup calls.
* generic/tkListbox.c: made use of Tcl_Preserve/Tcl_Release to
prevent FMR errors in Display functions.
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tkCanvBmap.c:
* generic/tkCanvLine.c:
* generic/tkCanvPoly.c:
* generic/tkCanvText.c:
* generic/tkCanvWind.c:
* generic/tkRectOval.c: corrected argument handling in
Create<Item> functions that could lead to ABRs or FMRs and
corrected names of argc/argv to objc/objv.
|
|
|
|
| |
operator and possible FMR.
|
|
|
|
|
| |
Tcl_EventuallyFree instead of ckfree so that widgets that have
references to a tkwin can use them.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
instead of ckfree for entryPtr to prevent FMRs. [Bug #413904]
|
|
|
|
|
| |
style when processing configuration options. Some cleanup of
bad comments and bad code. [part of patch #420861]
|
|
|
|
|
|
| |
* generic/tk.h:
* generic/tkStubLib.c: CONST'ified Tk_InitStubs to match CONST
changes to Tcl_PkgRequireEx.
|
| |
|
|
|
|
| |
does not crash on Linux.
|
|
|
|
| |
before calling associated menu entry command. [Bug #220821]
|
|
|
|
|
|
|
| |
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]
|
|
|
|
|
| |
values for $imageName put when -format and -to are used.
[Bug #232741]
|
|
|
|
|
|
|
|
| |
* unix/configure.in (TK_PATCH_LEVEL):
* unix/configure:
* unix/tk.spec:
* win/configure.in (TK_PATCH_LEVEL):
* win/configure: updated patchlevel to 8.4a3
|
|
|
|
| |
added casts to allow compiling on Windows with debbuging.
|
|
|
|
|
|
| |
* 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]
|
| |
|
|
|
|
|
| |
double type object to speed up canvas coord calculations.
[Patch #102471]
|
|
|
|
|
| |
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()...
|
|
|
|
|
|
|
|
|
| |
TkClassProcs/TkSetClassProcs as Tk_ClassProcs/Tk_SetClassProcs,
adding a size field to Tk_ClassProcs to allow for future
expansion, and renaming the geometryProc to worldChangedProc,
which is more in keeping with the actual use of the callback.
See ChangeLog for details.
|
| |
|
| |
|
|
|
|
|
| |
This only has effect when tclsh is run (not wish), and then Tk is
loaded in interactively.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
which corrects rendering of 1-pixel wide stippled lines on Windows.
* generic/tkCanvLine.c (DisplayLine): Applied patch from
[Bug: 6368], corrects bugs relating to use of active- and
disabledwidth values for displaying lines (disabledwidth was never
used, and activewidth/disablewidths would only possibly be used
when greater than default width, rather than when simply not equal
to default width).
|
| |
|
|
|
|
|
|
| |
Tcl_IncrRefCount/Tcl_DecrRefCount calls on valuePtr, to prevent
memory leaks when the value object comes from the option
database. [Bug: 6275].
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
TK_ANONYMOUS_WINDOW flag in the [winfo children] subcommand; if
set, the window will not be printed in the list of children.
* doc/CrtWindow.3: Added entry for Tk_CreateAnonymousWindow.
* generic/tkWindow.c
(Tk_CreateAnonymousWindow): New API for creating anonymous
windows. These windows are manipulable from C, but not from Tcl,
because they have no pathname associated with them. They are used
initially by widgets that do rubber-band resizing (panedwindow,
multi-column listbox, etc.), and may be useful for other widgets
as well (dropbox, combobox).
(Tk_DestroyWindow): Added check for TK_ANONYMOUS_WINDOW flag when
determining whether to generate a DestroyNotify event.
* generic/tkStubInit.c:
* generic/tkDecls.h: Regen'd from tk.decls.
* generic/tk.decls: Added Tk_CreateAnonymousWindow declaration.
* generic/tk.h: Added TK_ANONYMOUS_WINDOW flag for Tk_Window's.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
descendants properly.
* generic/tkGeometry.c (Tk_MaintainGeometry): Added a check for
the case in which the slave window is a direct descendant of the
master window. In this case, we need not set up the additional
infrastructure normally provide by Tk_MaintainGeometry, because we
can rely on the parent/child relationship to handle it for us
implicitly. In this case, Tk_MaintainGeometry just calls directly
to Tk_MoveResizeWindow. This allows geometry managers to simply
always use Tk_MaintainGeometry to maintain geometry for slaves,
and avoid doing the direct descendant check themselves.
(Tk_UnmaintainGeometry): Added a matching check for the direct
descendant case; in this case, Tk_UnmaintainGeometry simply
returns immediately.
|
|
|
|
|
|
| |
option, so that when there is a textvariable and an image, and
-compound is not none, the button will display both the
textvariable and the image.
|
|
|
|
|
|
|
|
| |
be NULL.
* generic/tkConfig.c (Tk_RestoreSavedOptions): For custom options,
added test that the restoreProc is not NULL, to allow for custom
options that don't care about supporting Tk_RestoreSavedOptions.
|