summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* * README: Bumped to patch level 8.4.5dgp2003-10-031-3/+3
| | | | | | | | | | | * generic/tk.h: to prepare for next patch * macosx/Wish.pbproj/project.pbxproj: release. * unix/configure.in: * unix/tk.spec: * win/configure.in: * unix/configure: autoconf (2.13) * win/configure:
* * generic/tkImage.c: Stopped [image create] from generating andgp2003-09-171-4/+7
| | | | | * tests/image.test: image command name that would overwrite an existing command name. Thanks to Michael Schlenker. [Bug 808039].
* * generic/tkPanedWindow.c(PanedWindowWorldChanged):jenglish2003-08-191-2/+3
| | | | | Set window background from the -background resource. Fixes [BUG #791500 "PanedWindow refresh glitches on X"]
* * generic/tkEvent.c (Tk_HandleEvent): correct XCreateIC call forhobbs2003-07-191-3/+12
| | | | TK_XIM_SPOT usage. [Bug 742660] (takahashi)
* Fix for [Bug 702230], and what an evil bug that is!dkf2003-07-181-1/+9
|
* Panedwindow fixes that make things behave right in complex geometry cases.dkf2003-07-171-3/+10
| | | | [Bugs 738143+747814]
* Try harder to avoid zero-length mallocs()... [Bug 404421]dkf2003-07-171-25/+38
|
* I prefer direct return from switch processing; simpler to understand.dkf2003-07-171-19/+16
| | | | Also resolves [Bug 771988] since the breaks are "wrong" in that style.
* * generic/tkPack.c (ConfigureSlaves): silence compiler warningdgp2003-07-171-2/+2
| | | | [Bug 771982]
* * generic/tkPanedWindow.c (ArrangePanes): Ensure that the last panehobbs2003-07-171-3/+9
| | | | | * tests/panedwindow.test: shrinks instead of being clipped when resized below the reqsize. [Bug 748277] (spjuth)
* Make sure all options can be setpspjuth2003-07-161-2/+5
| | | | to their default value. [Bug #697652]
* * generic/tkWindow.c (Initialize): do not free uninit'ed dstring.hobbs2003-07-161-2/+1
| | | | [Bug 755906] (mistachkin)
* * README: Bumped patchlevel to 8.4.4 in preparationdgp2003-07-151-3/+3
| | | | | | | | | | | * generic/tk.h: for the Tk 8.4.4 release. * macosx/Wish.pbproj/project.pbxproj: * unix/configure.in: * unix/tk.spec: * win/configure.in: * unix/configure: autoconf (2.13) * win/configure:
* menu clone cleanup bug fixvincentdarley2003-07-153-71/+164
|
* Backported fix for [Bug 749353]dkf2003-07-071-7/+20
|
* Bumped version to 8.4.3hobbs2003-05-151-3/+3
|
* * generic/tkCanvPoly.c (PolygonToPostscript):hobbs2003-05-111-3/+6
| | | | | * tests/canvPs.test: correct crash when generating postscript for a single-line polygon (point) with no color. [Bug #734498] (wilm)
* * generic/tkButton.h: Rewrote the handlinghobbs2003-04-262-18/+28
| | | | | | | | | | * generic/tkButton.c (TkButtonWorldChanged): of compound *buttons * mac/tkMacButton.c (TkpDisplayButton): to correctly display * macosx/tkMacOSXButton.c (TkpDisplayButton): mixture of disabledfg, * unix/tkUnixButton.c (TkpDisplayButton): selectcolor, indicator, * win/tkWinButton.c (TkpDisplayButton): etc. *buttons will now only stipple the image, unless no disabledfg is given, in which case it will stipple the whole button.
* * generic/tkCursor.c: s/GetCursor/TkcGetCursor as Windows has ahobbs2003-04-181-7/+7
| | | | GetCursor func already, which causes compiler warnings.
* * generic/tkCanvBmap.c: s/CreateBitmap/TkcCreateBitmap as Windowshobbs2003-04-181-5/+5
| | | | has a CreateBitmap function already.
* Make all %-expansions generate ?? when their event doesn't have the rightdkf2003-02-281-57/+92
| | | | underlying field to prevent a crash on Windows. [Bug #612110]
* * generic/tkMenu.c (TkMenuCleanup): make sure to reset statichobbs2003-02-261-2/+30
| | | | menusInitialized on finalize. [Bug #548729]
* * generic/tkListbox.c (ListboxSelectionSubCmd):hobbs2003-02-251-11/+15
| | | | | * tests/listbox.test: Allow 'selection includes' to respond when disabled (but only 'includes'). [Bug #632514]
* * generic/tkEntry.c (SpinboxWidgetObjCmd, EntryWidgetObjCmd):hobbs2003-02-251-13/+14
| | | | | | | * tests/entry.test: return 1 if selection is present even if * tests/spinbox.test: entry/spinbox is disabled, as selection get will still return the selection (although selection still ignore modify requests when entry/spinbox is disabled). [Bug #637828]
* Use the panedwindow's depth, not the screen's default depth. [Bug #671122]dkf2003-02-211-5/+3
|
* * tests/panedwindow.test:hobbs2003-02-211-3/+6
| | | | | * generic/tkPanedWindow.c (ValidSashIndex): corrected to note that 2 panes must exist before any one sash does. [tcllib Bug #689258]
* Fixed calculation of the last slave'spspjuth2003-02-201-5/+3
| | | | size when increasing the size of the panedwindow. [Bug #689099]
* Removed pointless static variable ZeroDataBlock from tkImgGIF.c [Bug #664788]dkf2003-02-201-5/+1
| | | | It served no useful purpose whatsoever...
* (EntrySetValue): removed unused code var. [Bug #664781]hobbs2003-02-181-3/+3
|
* (TkPostscriptImage): remove unused depth var. [Bug #664787]hobbs2003-02-181-3/+2
|
* (TextWidgetCmd): remove unused lastEnd var. [Bug #664790]hobbs2003-02-181-4/+3
|
* * generic/tkImgGIF.c (FileReadGIF): Ensure that the trashBuffer isdkf2003-02-181-9/+13
| | | | always deallocated on function exit to stop a potential memory leak.
* * generic/tkEvent.c (Tk_HandleEvent): Fixup buttonmdejong2003-02-182-3/+20
| | | | | | | | | | press state saving code, it was incorrectly converting normal motion events into button press and motion events in some cases. * generic/tkInt.h: Add mouseButtonWindow member to the TkDisplay structure. * tests/event.test: Add test case for faulty button motion logic.
* * README: Bumped to 8.4.2.hobbs2003-02-151-3/+3
| | | | | | | | | | | * generic/tk.h: * macosx/Wish.pbproj/project.pbxproj: * unix/configure: * unix/configure.in: * unix/tcl.m4: * unix/tk.spec: * win/configure: * win/configure.in:
* * generic/tkCanvArc.c (CreateArc): Rework canvas create itemhobbs2003-02-099-366/+355
| | | | | | | | | | | | | | * generic/tkCanvBmap.c (CreateBitmap): type coords handling to be * generic/tkCanvImg.c (CreateImage): consistent across types * generic/tkCanvPoly.c (CreatePolygon): and not pass empty coords * generic/tkCanvLine.c (CreateLine): to item creation procs. * generic/tkCanvText.c (CreateText): * generic/tkCanvWind.c (CreateWinItem): * generic/tkCanvas.c (CanvasWidgetCmd CANV_CREATE): * generic/tkRectOval.c (CreateRectOval): * tests/canvRect.test: * tests/canvText.test: * tests/canvas.test:
* Moved 'deletionEpoch' field from TkDisplay to TkMainInfo.jenglish2003-01-283-57/+61
| | | | | Reworked windowObj type. Fixes Tk Bug #671330 "segfault when e.g. deiconifying destroyed window"
* * generic/tkImage.c (Tk_ImageObjCmd): Added check to make suredkf2003-01-225-5/+76
| | | | | | | | | | | | that you're not creating an image named the same as .'s command, which refixes 220891, even when the name of the command has been changed with 'rename'. The error message is better too. * generic/tkFrame.c (TkToplevelWindowForCommand): Added way of mapping from command names to tkwins-for-toplevels. * tests/image.test (image-1.10,image-1.11): Updated to match new error message and added test for the rename case. * generic/tclInt.decls: Made TkToplevelWindowForCommand exported privately.
* * generic/tkImage.c (DeleteImage): delete the image's entry in thehobbs2003-01-191-4/+2
| | | | | image table correctly when there are no more instances. This reopens bug 220891. [Bug #669759]
* Increase the size of the clipping box for lines in bug #663981 so thatdrh2003-01-171-11/+20
| | | | | Tk extensions that attempt to print a canvas in a windows GDI printer will still work.
* * generic/tkSelect.c (Tk_CreateSelHandler):jenglish2003-01-141-4/+5
| | | | | Fix for #666346 "Selection handling crashes under KDE 3.0" * tests/unixSelect.test (unixSelect-1.20): Added test case.
* Use explicit "static int" type, not implicit "static".dgp2003-01-091-2/+2
|
* Implement Cohen-Sutherland polygon clipping for long lines in the canvas widgetdrh2003-01-083-13/+285
| | | | | so that coordinates do not overflow the 16-bit limit imposed by X11 and Win32. Bug #663981.
* * generic/tkFrame.c (CreateFrame): throw a Tcl error instead of ahobbs2003-01-031-4/+10
| | | | | | panic when we cannot get a main window and appname is NULL. This can indicate that a user tried to create a frame/toplevel while Tk was dying. [Bug #661792]
* ANSI unfriendly typedef for TkTextBTree repaired for C++ compilers.davygrvy2002-12-271-2/+2
|
* * generic/tkMain.c (Tk_Main): Call on Tcl*StartupScript*() routinesdgp2002-12-131-11/+10
| | | | to store the startup script, if any. [Bug 616245].
* * generic/tkEntry.c (ConfigureEntry): keep a flag to indicate whenhobbs2002-12-091-8/+16
| | | | | a var is traced to prevent double-traces caused by configuring the widget in traces with validation on. (dejong)
* * generic/tkInt.decls: add TkWinSetHINSTANCE declhobbs2002-12-083-3/+17
| | | | | | | | | | * generic/tkIntPlatDecls.h: regen * generic/tkStubInit.c: regen * win/tkWinInit.c (TkpInit): While init and cleanup aren't correct * win/tkWinX.c (TkWinXInit): in DllMain, we had to specify the * win/tkWin32Dll.c (DllMain): true HINSTANCE or the resources of a dynamic Tk weren't being loaded correctly. Created a new function TkWinSetHINSTANCE for this purpose.
* * tests/textDisp.test:hobbs2002-11-221-24/+35
| | | | | * generic/tkTextDisp.c (TkTextSeeCmd): handle see for unmapped text displays. [Bug #641778]
* * generic/tkWindow.c (Tk_DestroyWindow,mdejong2002-11-141-28/+122
| | | | | | | | | | | | | | DeleteWindowsExitProc): Add TkHalfdeadWindow type and halfdeadWindowList to keep track of windows that were only partially deallocated before a call to exit. Finnish cleaning up these windows in DeleteWindowsExitProc. Keep track of cleanup status in Tk_DestroyWindow so that a window with a Destroy binding which calls exit will get fully destroyed. * tests/window.test: Add Tk_DestroyWindow tests for an assortment of half dead window cases. [Bug 630533]
* place info did not return all settings,pspjuth2002-11-071-18/+10
| | | | | | and didn't make sure the result was a proper list. Put '-in' first in result to be more consistent with how grid/pack info behaves. [Bug #635025][Bug #532022]