summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* Speed up use of Tk_PhotoPutBlock by allowing it to skip the complex-alpha checkdkf2004-12-091-3/+7
| | | | in degenerate (and common) cases. [Bug 1081966]
* Alpha blending fix. [Patch 848161]dkf2004-12-031-22/+35
|
* * unix/tkUnixButton.c (TkpDisplayButton): constrain coords tohobbs2004-12-021-1/+10
| | | | | | Tk_RedrawImage to display only portion that is valid. * generic/tkImgPhoto.c (ImgPhotoDisplay): add X error suppression around XGetImage to prevent app abort. [Bug 979239]
* * generic/tkCanvWind.c (ConfigureWinItem): unmap windowshobbs2004-11-171-3/+15
| | | | immediately when state hidden is requested. [Bug 982248]
* * generic/tkCanvImg.c (ImageToPostscript): don't try ps generationhobbs2004-11-171-6/+8
| | | | of canvas image item without image specified. [Bug 1032300]
* * generic/tkPanedWindow.c (Tk_PanedWindowObjCmd): set save_under Xhobbs2004-11-171-1/+6
| | | | attr to prevent expose events when moving sash. [Bug 1036963]
* * macosx/Wish.pbproj/project.pbxproj:das2004-11-161-2/+6
| | | | | | | | | | | | | | | * macosx/buildTkConfig.tcl: fixes for tclConfig.h changes. * macosx/Wish.pbproj/project.pbxproj: fixed references to renamed bitmap files. * macosx/Wish.xcode/project.pbxproj (new): * macosx/Wish.xcode/default.pbxuser (new): * macosx/Wish-Info.plist (new): * macosx/Tk-Info.plist (new): added new Xcode 1.5 project using native targets, made possible by tclConfig.h changes. * generic/tk.h: added version number change comments for new files.
* fix to one multi-line search bugvincentdarley2004-11-151-1/+10
|
* * generic/tkCmds.c (Tk_TkObjCmd): use correct screen data whenhobbs2004-11-121-6/+4
| | | | -displayof arg is passed to [tk scaling]. [Bug 800178]
* * 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
|