summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tkCanvText.c (DisplayCanvText): Fix textmdejong2004-06-081-7/+16
| | | | | | | | | | | | | | rendering problem with canvas text items that have a selected region. The previous implementation would render the whole line and then redraw the selected text if it was a different color. This caused problems when the selected text foreground differs from the normal text foreground, the anti-aliasing alpha pixels for the two text strings would blend together resulting in strange looking text. The fix is to draw the normal text and the selected text separately. This problem has only been observed under Windows, with anti-aliased text. [Patch 968725]
* silence compiler warningdgp2004-06-081-3/+2
|
* * generic/tkBind.c <HandleEventGenerate>: Modified to fix wishdgp2004-05-131-3/+11
| | | | | crach due to incorrectly generate <Destroy> event. This bug was reported in comp.lang.tcl but not logged.
* * generic/tkClipboard.c: Move TkClipCleanup from tkClipboard.chobbs2004-05-031-37/+1
| | | | | | | | | * mac/tkMacXStubs.c: to being implemented in a platform * macosx/tkMacOSXXStubs.c: specific manner. The cleanup order was * unix/tkUnixEvent.c: bad at least on Windows, where we * win/tkWinX.c: reset/cleared display info that was still needed for the clipboard to render. [Bug #939389, #822002, #732662]
* * tests/panedwindow.test: panedwindow-25.1hobbs2004-05-031-1/+13
| | | | | * generic/tkPanedWindow.c (Unlink): clean up -before/-after refs to a slave when removing it. [Bug #928413] (griffin)
* (ImgPhotoCmd): correct matched handling to that in headhobbs2004-05-031-2/+3
|
* * generic/tkImgPhoto.c (ImgPhotoConfigureMaster): force -data intohobbs2004-05-031-5/+14
| | | | | | ByteArray and -format into String to correctly handle them if they have been shimmered or created as some other object type. (ImgPhotoCmd): correctly init matched to 0.
* Backport of FRQ 540375 changes.dkf2004-03-271-10/+321
|
* Backport of 923555 fixesdkf2004-03-263-28/+132
|
* * macosx/tkMacOSXDraw.c:das2004-02-232-8/+14
| | | | | | | | | | * macosx/tkMacOSXXStubs.c: * xlib/ximage.c: fixed MacOSX XGetImage/XPutImage and related functions to deal properly with XImages copied from screen. * generic/tkCanvPs.c (TkImageGetColor): MacOSX fix. * generic/tkImgPhoto.c (ImgPhotoDisplay): enabled alpha blending for images with partial transparency on MacOSX. [Bug 809157]
* Fixed a bug in grid geometry calculations forpspjuth2004-02-181-16/+14
| | | | a shrinking grid. [Bug 899246]
* * generic/tkBind.c (HandleEventGenerate): only modify root[xy]hobbs2004-02-181-11/+24
| | | | with [xy] when they haven't been otherwise set.
* This gets the scroll wheel working for listboxes and text widgets for Mac OSwolfsuit2004-02-161-1/+6
| | | | | | X. It also changes the model to route scrollwheel events to the window under the pointer, not the focus window on X (and only on X). That is the correct behavior for Mac OS X.
* Backport Mac OS X specific fixes from TOT. See ChangeLog for details.wolfsuit2004-02-161-2/+2
| | | | | | | In tk_getOpenFile filters, handle the case where you have a Macintosh file type and the files have no filetype. Fix various formatting nits.
* update to patchlevel 8.4.6hobbs2004-02-131-3/+3
|
* Stop crashes when copying a large photo to itself causes resizing. [Bug 877950]dkf2004-02-091-1/+8
|
* * macosx/Wish.pbproj/project.pbxproj: added missing private headersdas2004-01-011-2/+2
| | | | | | to installed Tk.framework, so that tkInt.h can be included sucessfully from Tk.framework/PrivateHeaders. * generic/tkPort.h: corrected include of tkMacOSXPort.h
* * generic/tk.h: Bumped patch level to 8.4.5.1 to distinguishdgp2003-12-031-3/+3
| | | | | | | | | * unix/configure.in: CVS snapshots from the 8.4.5 release. * unix/tk.spec: * win/configure.in: * unix/configure: autoconf (2.13) * win/configure:
* * README: Bumped patch level to 8.4.6 to distinguishdgp2003-12-031-3/+3
| | | | | | | | | | | * generic/tk.h: CVS snapshots from the 8.4.5 release. * unix/configure.in: * unix/tk.spec: * win/configure.in: * macosx/Wish.pbproj/project.pbxproj: * unix/configure: autoconf (2.13) * win/configure:
* * generic/tkMenu.c (MenuVarProc): prevent this from triggeringhobbs2003-12-031-5/+13
| | | | while interp is being destroyed.
* * generic/tkMenubutton.h: fixed compound menubutton handling likehobbs2003-11-172-18/+30
| | | | | | * generic/tkMenubutton.c: *button corrections of 2003-04-25. * mac/tkMacMenubutton.c (TkpDisplayMenuButton): * unix/tkUnixMenubu.c (TkpDisplayMenuButton):
* * generic/tkButton.c (ConfigureButton): abort option processing ifhobbs2003-11-121-1/+8
| | | | the button was deleted. [Bug #824479]
* * generic/tkMenuDraw.c (TkPostSubmenu): add {} around menu name inhobbs2003-11-121-3/+3
| | | | | case it has spaces when calling Tcl_VarEval. This is a hack until this is rewritten for proper Tcl_Obj handling. [Bug #723856]
* * generic/tkListbox.c (ListboxDeleteSubCmd, ListboxListVarProc):hobbs2003-11-111-3/+4
| | | | free itemconfig data when removing it from table. [Bug #836483]
* * generic/tkImgPhoto.c (ImgPhotoBlendComplexAlpha): add alphahobbs2003-11-111-16/+259
| | | | | blending for images with partial transparency. Only operates for 15bpp+ display, and not on Mac at all. [Bug 809157]
* * generic/tkInt.h: move TkGetOptionSpec to stubs intDeclshobbs2003-10-134-7/+18
| | | | | | * generic/tkIntDecls.h: * generic/tkInt.decls: * generic/tkStubInit.c:
* * 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]