summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* 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] FossilOrigin-Name: 97c9d47da3062a552dd97a52e7e3e09d0c2a6c5b
* Rename all XBM format files to be called *.xbm instead of *.bmp [Bug 733835]dkf2004-10-191-13/+13
| | | FossilOrigin-Name: 243c90c3032541d1a6b9bb85b39e3a65793906fc
* * 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] FossilOrigin-Name: 96b7bb4f893670fa9c634d5ff0ccda037ad686b2
* fix init warningshobbs2004-10-055-14/+13
| | | FossilOrigin-Name: 957f9825bf8558295cb1e9b9874f98fb90aa8090
* * generic/tkCursor.c: Add missing initialization in debug routine.dgp2004-09-241-1/+4
| | | FossilOrigin-Name: 5ef3e9caab10125a04cd03f8a609de616e755dba
* text widget search fixvincentdarley2004-09-231-1/+20
| | | FossilOrigin-Name: 8d8ebd87dd511f854e435787e7945b74840ab102
* * 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] FossilOrigin-Name: 24901585f19675a68752a05ee56e4260a55251b5
* * generic/tkMenu.c (MenuWorldChanged): ensure that we recomputehobbs2004-09-161-7/+7
| | | | | | | the menu geometry on WorldChanged to handle font size changes. [Bug 607649] FossilOrigin-Name: 576e4aa8a268ababe75bc999e48832edbe5c57bb
* Fixed a memory leak when a placed widget was forgotten. [Bug 1028888]pspjuth2004-09-161-9/+41
| | | FossilOrigin-Name: 3c1692e824c8e3872e7f4a1d9eb52803985aa3e4
* fixed a small typo in TextPeerCmd()rmax2004-09-101-2/+2
| | | FossilOrigin-Name: fe5b1c98b24afda0a26b638d7a8bcaca5b432ead
* text widget 'peer' subcommand -- TIP#169 implementationvincentdarley2004-09-1012-1327/+4155
| | | FossilOrigin-Name: 24c87e87ffd71144101ff6cab47226828e813d38
* TIP#165 (user data field) implementation.dkf2004-08-293-24/+79
| | | FossilOrigin-Name: 86e0e80ee6a1953aa619d97c3013f59e685615f8
* regendkf2004-08-192-2/+29
| | | FossilOrigin-Name: 03c209f3a0b933571ef932192d4646473458adf8
* TIP#168 implementation. Based on [Patch 886240]dkf2004-08-193-41/+408
| | | FossilOrigin-Name: b8733fadf611137ea62f76db0ec5a4f9c5d39dba
* Add missing GEOMETRY flag to -handlepad option. [Bug 1010938]dkf2004-08-181-434/+424
| | | FossilOrigin-Name: 76a16313abda1db18a76e167e40021b87b7bf83e
* D'oh!dkf2004-08-041-3/+3
| | | FossilOrigin-Name: eb8824e39996a48d7726a48257a4323f5f411f8b
* Clarify code that does pixel compositing. Fix alpha blending in [$photo put]...dkf2004-08-041-68/+110
| | | FossilOrigin-Name: 826045edea60e2d8638f86499bfd99831204d9a3
* Applied a fix from the core-8-4-branch so that unmapped windows don't queue ↵georgeps2004-07-291-1/+5
| | | | | events. FossilOrigin-Name: 92b9ba26810daf1051a2ec1bed92428667e65c7a
* * 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(). FossilOrigin-Name: d64990cb48173046d8a48e8e565c687a036392b7
* * generic/tkEvent.c (InvokeInputMethods): ensure IC focus is sethobbs2004-07-211-1/+11
| | | | | | after creation. [Bug #905830] FossilOrigin-Name: 7e7d9ca9bb994330b3c3aacc84f4afbc46ef3feb
* 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. FossilOrigin-Name: 9d3eb922957e2959a5e7869953f3012d8558418c
* TIP#158 implementation; keypad keys on Win are now distinguishable.dkf2004-07-052-2/+4
| | | FossilOrigin-Name: b8333852a20efb533a46767d394b87990010546f
* 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. FossilOrigin-Name: 1554859f69e4498333f35d5abf250180601aaf08
* TIP#153 implementation from Neil McKay, with thanks!dkf2004-06-301-20/+21
| | | FossilOrigin-Name: ec27edf8c79175a1a201953845426abb4a9edea3
* * 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. FossilOrigin-Name: dbbde75a477dd1dd770df89bf3169e47e7d84a00
* Fix for [Bug 756840]mistachkin2004-06-261-1/+16
| | | FossilOrigin-Name: 67a47558b4bb6b859bf1fceca680db51b24b90b8
* More minor whitespace cleaningdkf2004-06-151-44/+54
| | | FossilOrigin-Name: df654f18710f07eefb098a25360e40b044940686
* D'oh!dkf2004-06-151-2/+2
| | | FossilOrigin-Name: a7fc7fbe3d7e8770eff9f28f9e75bb2ab3cc1914
* Adjust #defs so they are flexible enough to be used in all places. dkf2004-06-151-84/+85
| | | | | | Also removed a shadowing variable. FossilOrigin-Name: 1ed15f425e9403d87235f6a222c915d4647e515e
* Add declarations of result... D'oh!dkf2004-06-151-2/+3
| | | FossilOrigin-Name: f420f0c301f040a55cb9dc18b16153510db8dbca
* Balance braces, factorize out much #ifdef code and use objects a bit moredkf2004-06-151-238/+65
| | | FossilOrigin-Name: 4b0e429b8abf49ce9cd07b6029746ed8389c5c28
* Spacing/whitespace fixesdkf2004-06-151-779/+770
| | | FossilOrigin-Name: 4b9075ffd01666822d841cc9b4daeb8875a9d8e8
* Small clean up of the canvas core (symbolic constants, whitespace)dkf2004-06-151-26/+37
| | | FossilOrigin-Name: 1c57d7f8499617db8d413cee7fdb38ebd3dcac7a
* multiline text widget regexp search fixvincentdarley2004-06-091-2/+2
| | | FossilOrigin-Name: 9fcec4192f52b4c7d2890da0bf8a2a75dcf86f02
* ckfree() the correct element! [Bug 969358]dkf2004-06-091-2/+2
| | | FossilOrigin-Name: 49fffd59faca8ea6bd9e8e4fc7f139799ca4fa4e
* Silence compiler warningsdgp2004-06-083-28/+3
| | | FossilOrigin-Name: 99bd1954a72ed1fc752cd342c5d3eedcd9af22b3
* * 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] FossilOrigin-Name: d7c42b062a4c75fecc63cfaedf7f84472488f288
* text widget partial line height calculations fixvincentdarley2004-06-072-18/+60
| | | FossilOrigin-Name: 8dfaf19cbdf6d6b908271efc264c87ca26338b10
* text widget fixesvincentdarley2004-06-043-10/+39
| | | FossilOrigin-Name: cb4cc14bf47525593a3b1284aee97eaf664af9f3
* Minor fix for Tk_GetVisual error messagedkf2004-05-231-4/+4
| | | FossilOrigin-Name: be7f021dfaadccf61ff584db8a3ba92a9ed6d2ed
* Modified HandleEventGenerate to properly generate <Destroy> eventchengyemao2004-05-131-3/+11
| | | FossilOrigin-Name: 1b38692491b1b6cbea17dc3f767d6910fb52a732
* * 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] FossilOrigin-Name: 6efb4b35bcd2c37f4d5f64c4c1a278b912cedc50
* * 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) FossilOrigin-Name: d26260baa27502b90881bddf57386a3ec865c473
* * generic/tkImgPhoto.c (ImgPhotoConfigureMaster): force -data intohobbs2004-05-031-5/+13
| | | | | | | ByteArray and -format into String to correctly handle them if they have been shimmered or created as some other object type. FossilOrigin-Name: a4fb7ac5e1e727447d7342c773cce6a0ddbf901d
* * generic/tkPort.h:das2004-04-241-2/+2
| | | | | | | | | | * unix/Makefile.in: * win/Makefile.in: followup on tcl header reform [FR 922727]: removed use of relative #include paths in tkPort.h to allow installation of private headers outside of tk source tree; added tcl plaform source dir to compiler header search path. FossilOrigin-Name: c63b3b9737ab12c3f0096d8b2f096aa11736e3c3
* * generic/tkImgPhoto.c: Removed outdated #include's of the tclMath.hdgp2004-03-312-4/+2
| | | | | | | | * generic/tkScale.c: header file. All tk*Port.h files have long had a #include <math.h>, and other parts of Tk routinely make use of libm-supplied math routines. FossilOrigin-Name: e40f246f87a4175e999ae89728bde6565a336f4e
* Allow PPMs to be read from a string. [FRQ 540375]dkf2004-03-271-8/+322
| | | FossilOrigin-Name: a8b135fb618ffb63dc91679698c66ba226a92b57
* * README: Bump version to 8.5a2.dgp2004-03-261-3/+3
| | | | | | | | | | | | | * generic/tk.h: * macosx/Wish.pbproj/project.pbxproj: * unix/configure.in: * unix/tk.spec: * win/configure.in: * unix/configure: autoconf-2.57 * win/configure: FossilOrigin-Name: 35745fd085d1f9f9b4eb1e47815b88dcad2528e8
* Tweak to 923555 fix.dgp2004-03-261-2/+2
| | | FossilOrigin-Name: 06c5dcccb37509c37017919df30cab5acb69e4c0
* Whoops. Forgot to set the photo image type registration correctly. D'oh!dkf2004-03-261-2/+2
| | | FossilOrigin-Name: 540892f11456f829f3a5355023f10cf28c1fd54a