summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tkEvent.c (InvokeInputMethods): Call XSetICFocusrmax2004-11-111-10/+16
| | | | | whenever the window receives focus. This fixes bug #905830 but avoids #1000051.
* * generic/tkMain.c:das2004-11-112-2/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * macosx/tkMacOSXAppInit.c (removed): * macosx/Wish.pbproj/project.pbxproj: * macosx/tkMacOSXInit.c: * macosx/tkMacOSXInt.h: changes to make TkAqua dynamically loadable, enabling [package require Tk] from tclsh. Startup code from tkMacOSXAppInit.c moved into tkMacOSXInit.c, added code that notifies the window server that an unbundled executable is a full GUI application after loading Tk. [Patch 1035348] * doc/wm.n: documented [wm attributes] on Mac OS X. [Bug 606665] * macosx/tkMacOSXWm.c: implemented TIP 222 [wm attributes -alpha] on Mac OS X. [Patch 892194] WmIconbitmapCmd: adopted FSRef changes from [wm atttrs -titlepath]. * macosx/tkMacOSXSubwindows.c: synced spacing/formatting with core-8-4-branch. * generic/tkRectOval.c: * macosx/README: * macosx/tkMacOSXDefault.h: * macosx/tkMacOSXDraw.c: * macosx/tkMacOSXInit.c: * macosx/tkMacOSXInt.h: * macosx/tkMacOSXMenu.c: * macosx/tkMacOSXWm.c: forward port from core-8-4-branch of Jim's and my changes for CG drawing and [wm attributes] (corresponds to 8.4 changes dating from 09-18, 07-27, 07-24). * macosx/tkMacOSXMouseEvent.c: endianness fixes. * macosx/Wish.pbproj/project.pbxproj: corrected path to html help inside framework. * macosx/Makefile: prevent parallel make from building several targets at the same time.
* Made handling of ^ a bit more consistent inpspjuth2004-11-071-20/+67
| | | | | corner cases. This makes ^ work without any widgets in the same command. [Bug 962589]
* * win/tkWinX.c: Signature for tkWinXCleanup needed to bedavygrvy2004-10-272-5/+5
| | | | | | | * generic/tkInt.decls: changed so it matches the Tcl_ExitProc * generic/tkIntPlatDecls.h: typedef to avoid a bad-style cast. * win/makefile.vc: Force TCL_LIBRARY envar when calling tclsh
* * win/tkWinRegion.c (TkpBuildRegionFromAlphaData): Fixed syntax errorpatthoyts2004-10-261-2/+1
| | | | * generic/tkImgPhoto.c (Tk_PhotoPutBlock): Removed unreferences vars.
* Attempt to fix [Bug 919066] by allowing the code that creates the regiondkf2004-10-262-30/+17
| | | | much more knowledge of the platform functions available to it.
* Stop compiler warningdkf2004-10-261-1/+2
|
* Add -hide and -stretch options to panedwindow widgets. (TIPs 177 and 179)dkf2004-10-241-70/+379
| | | | Thanks to Brian Griffin for developing these! [Patch 983886]
* Rename all XBM format files to be called *.xbm instead of *.bmp [Bug 733835]dkf2004-10-191-13/+13
|
* * doc/wm.n (iconphoto): added support for Tk photohobbs2004-10-051-1/+4
| | | | | | | | * generic/tkInt.h (TkDisplay): images as titlebar icons. TIP #159 * win/tkWinWm.c (WmIconphotoCmd): wm iconphoto ?-default? image1 ... * macosx/tkMacOSXWm.c (WmIconphotoCmd): Implemented for Win/Unix, * unix/tkUnixWm.c (WmIconphotoCmd): stubbed out for OS X. * tests/wm.test, tests/unixWm.test, tests/winWm.test: [Bug 815751]
* fix init warningshobbs2004-10-055-14/+13
|
* * generic/tkCursor.c: Add missing initialization in debug routine.dgp2004-09-241-1/+4
|
* text widget search fixvincentdarley2004-09-231-1/+20
|
* * generic/tkInt.decls: Add decl for TkWinGetPlatformTheme.mdejong2004-09-213-3/+18
| | | | | | | | | | | | | | | | It is only defined under Win32. * generic/tkIntPlatDecls.h: Regen. * generic/tkStubInit.c: Regen. * win/tkWinInt.h: Define TK_THEME_WIN_CLASSIC and TK_THEME_WIN_XP. * win/tkWinMenu.c (DrawMenuEntryAccelerator, DrawMenuEntryLabel): Draw a disabled 3D text highlight for the accelerator only with the Win95/98 look. Same goes for the menu entry text. * win/tkWinX.c (TkWinGetPlatformId, TkWinGetPlatformTheme): Automatically detect the Windows theme in use and return either TK_THEME_WIN_CLASSIC or TK_THEME_WIN_XP when the TkWinGetPlatformTheme function is invoked. [Patch 866194]
* * generic/tkMenu.c (MenuWorldChanged): ensure that we recomputehobbs2004-09-161-7/+7
| | | | | the menu geometry on WorldChanged to handle font size changes. [Bug 607649]
* Fixed a memory leak when a placed widget was forgotten. [Bug 1028888]pspjuth2004-09-161-9/+41
|
* fixed a small typo in TextPeerCmd()rmax2004-09-101-2/+2
|
* text widget 'peer' subcommand -- TIP#169 implementationvincentdarley2004-09-1012-1327/+4155
|
* TIP#165 (user data field) implementation.dkf2004-08-293-24/+79
|
* regendkf2004-08-192-2/+29
|
* TIP#168 implementation. Based on [Patch 886240]dkf2004-08-193-41/+408
|
* Add missing GEOMETRY flag to -handlepad option. [Bug 1010938]dkf2004-08-181-434/+424
|
* D'oh!dkf2004-08-041-3/+3
|
* Clarify code that does pixel compositing. Fix alpha blending in [$photo put]...dkf2004-08-041-68/+110
|
* Applied a fix from the core-8-4-branch so that unmapped windows don't queue ↵georgeps2004-07-291-1/+5
| | | | events.
* * generic/tkImgGIF.c (FileReadGIF): fix crash reported by Reinhard Max:das2004-07-271-4/+5
| | | | | in case of premature end of image data, return error instead of passing nil buffer to Tk_PhotoPutBlock().
* * generic/tkEvent.c (InvokeInputMethods): ensure IC focus is sethobbs2004-07-211-1/+11
| | | | after creation. [Bug #905830]
* The usage of the TK_XIM_SPOT definition was causing a build failure with ↵georgeps2004-07-051-5/+5
| | | | some systems. I changed the function prototype and the CreateXIMSpot block to work correctly.
* TIP#158 implementation; keypad keys on Win are now distinguishable.dkf2004-07-052-2/+4
|
* tkEvent.c was refactored to be cleaner and fix two bugs. Two bugs were ↵georgeps2004-07-021-315/+650
| | | | found and fixed. Button mask 4 and 5 synchronizing with the TkDisplay and ClientMessage handlers conflicting with the GenericHandler list.
* TIP#153 implementation from Neil McKay, with thanks!dkf2004-06-301-20/+21
|
* * generic/tkCmds.c (Tk_WinfoObjCmd): refetch interp result obj forhobbs2004-06-291-1/+5
| | | | 'winfo id' as it can change when making the window exist.
* Fix for [Bug 756840]Joe Mistachkin2004-06-261-1/+16
|
* More minor whitespace cleaningdkf2004-06-151-44/+54
|
* D'oh!dkf2004-06-151-2/+2
|
* Adjust #defs so they are flexible enough to be used in all places. dkf2004-06-151-84/+85
| | | | Also removed a shadowing variable.
* Add declarations of result... D'oh!dkf2004-06-151-2/+3
|
* Balance braces, factorize out much #ifdef code and use objects a bit moredkf2004-06-151-238/+65
|
* Spacing/whitespace fixesdkf2004-06-151-779/+770
|
* Small clean up of the canvas core (symbolic constants, whitespace)dkf2004-06-151-26/+37
|
* multiline text widget regexp search fixvincentdarley2004-06-091-2/+2
|
* ckfree() the correct element! [Bug 969358]dkf2004-06-091-2/+2
|
* Silence compiler warningsdgp2004-06-083-28/+3
|
* * 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]
* text widget partial line height calculations fixvincentdarley2004-06-072-18/+60
|
* text widget fixesvincentdarley2004-06-043-10/+39
|
* Minor fix for Tk_GetVisual error messagedkf2004-05-231-4/+4
|
* Modified HandleEventGenerate to properly generate <Destroy> eventchengyemao2004-05-131-3/+11
|
* * generic/tkClipboard.c: Move TkClipCleanup from tkClipboard.chobbs2004-05-031-37/+1
| | | | | | | | * macosx/tkMacOSXXStubs.c: to being implemented in a platform * unix/tkUnixEvent.c: specific manner. The cleanup order was * win/tkWinX.c: bad at least on Windows, where we 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)