summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * macosx/tkMacOSXXStubs.c: implemented XGetGeometry().das2004-11-132-4/+28
|
* * generic/tkCmds.c (Tk_TkObjCmd): use correct screen data whenhobbs2004-11-122-17/+20
| | | | -displayof arg is passed to [tk scaling]. [Bug 800178]
* * macosx/tkMacOSXFont.c (Tk_MeasureChars,Tk_DrawChars,etc): Makedas2004-11-122-48/+81
| | | | | sure that the lastSubFontPtr remains valid even when the subfont array is reallocated. [Bug 618872]
* * generic/tkMain.c:das2004-11-1114-371/+367
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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/tkMacOSXButton.c: * macosx/tkMacOSXMenus.c: * macosx/tkMacOSXRegion.c: * macosx/tkMacOSXSubwindows.c: synced spacing/formatting with HEAD. * 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. Ensure that xcodebuild will use Wish.pbproj project even if a .xcode project is also present.
* Fix for 1055023 from mikek@muonics.com.wolfsuit2004-11-102-11/+23
|
* * tests/wm.test: Add Win32 test cases for attributesmdejong2004-10-293-11/+35
| | | | | | subcommand. * win/tkWinWm.c (WmAttributesCmd): Fixup broken option processing logic for attributes subcommand.
* * win/makefile.vc (DOTVERSION): Was installing 8.4 relabelled as 8.5patthoyts@users.sourceforge.net2004-10-292-2/+4
|
* * library/tk.tcl (::tk::PlaceWindow): Backported the fix frompatthoyts@users.sourceforge.net2004-10-293-15/+12
| | | | #533519 to handle window placement on multi-monitor Windows.
* Minor format fixdonal.k.fellows@manchester.ac.uk2004-10-291-3/+3
|
* Whoops, missed removing an 8.5 feature from an example when backportingdonal.k.fellows@manchester.ac.uk2004-10-291-3/+3
|
* * doc/wm.n: Add wm attributes . -alpha doc to accountmdejong2004-10-282-1/+11
| | | | for recent alpha changes.
* * win/tkWin32Dll.c (DllMain, _except_dllmain_detach_handler):mdejong2004-10-282-1/+126
| | | | | Back port HAVE_NO_SEH handler code from CVS HEAD to fix gcc build breakage caused by 2004-10-26 back port.
* * README: Bumped to patch level 8.4.8dgp@users.sourceforge.net2004-10-289-18/+30
| | | | | | | | | | | * 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:
* * unix/tkUnixScale.c (DisplayHorizontalValue): Backport fix forpatthoyts@users.sourceforge.net2004-10-282-2/+11
| | | | #220927 by Michael Schlenker to keep the labels within the window.
* More backporting of doc fixesdonal.k.fellows@manchester.ac.uk2004-10-2816-147/+310
|
* Backport of documentation fixesdonal.k.fellows@manchester.ac.uk2004-10-2830-284/+600
|
* backport compiler warning silencersdgp@users.sourceforge.net2004-10-271-5/+5
|
* * library/xmfbox.tcl (MotifFDialog_BuildUI): Fix [Bug 987169] indgp@users.sourceforge.net2004-10-272-2/+10
| | | | the Motif file dialogs as well. Backport of DKF bug fix.
* no messagedavygrvy2004-10-271-0/+22
|
* * generic/tkInt.h: Backport of shutdown safety mods from the HEADdavygrvy2004-10-2710-35/+215
| | | | | | | | | | | | * generic/tkMenu.c: dating from 2003-12-21 * generic/tkUtil.c: * generic/tkWindow.c: * mac/tkMacButton.c: * unix/tkUnixEvent.c: * win/tkWin32Dll.c: * win/tkWinEmbed.c: * win/tkWinMenu.c: * win/tkWinX.c:
* * win/makefile.vc: Backport to the most recentdavygrvy2004-10-273-32/+191
| | | | | * win/rules.vc: changes on the HEAD. * win/nmakehlp.c:
* * generic/tkInt.decls: Signature for tkWinXCleanup needed to bedavygrvy2004-10-272-5/+5
| | | | | * generic/tkIntPlatDecls.h: changed so it matches the Tcl_ExitProc typedef to avoid a bad-style cast.
* * tests/safe.test (safe-1.3): Made test less sensitve to thedgp@users.sourceforge.net2004-10-263-4/+20
| | | | | | | | | full set of existing aliases in an interp, so the it only tests whether the tested ones are present. * unix/Makefile.in: Copied LD_LIBRARY_PATH machinery from `make shell` target to other similar targets so that just built libraries are tested, rather than previous installations.
* * generic/tkEvent.c (Tk_HandleEvent): Call XSetICFocus wheneverrmax2004-10-262-1/+18
| | | | | the window receives focus. This fixes bug #905830 but avoids #1000051.
* Correlate fix with bug numberdonal.k.fellows@manchester.ac.uk2004-10-261-2/+2
|
* * win/tkWinWm.c (UpdateWrapper): pass SWP_NOOWNERZORDER tohobbs2004-10-212-2/+9
| | | | | SetWindowPos when maintaining win Z order, to prevent parent from flashing (adjusting Z order).
* Backport of 8.5 wm iconphoto that added support for Tk photohobbs2004-10-058-19/+454
| | | | | | | | * 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]
* * generic/tkCursor.c: Add missing initialization in debug routine.dgp@users.sourceforge.net2004-09-242-1/+8
|
* * win/tkWinInt.h (TkWinDisplayChanged): added declhobbs2004-09-234-70/+228
| | | | | | | | * win/tkWinX.c (TkWinDisplayChanged, TkpOpenDisplay): Correctly * win/tkWinWm.c (InvalidateSubTreeDepth, WmProc): handle color and screen resolution changes. Tested for 16/24/32 bpp changes on XP. May need more fixes for 8bpp switch, use of special colormaps, or other special palette handling cases. [Bug 223689]
* * generic/tkInt.decls: Add decl for TkWinGetPlatformTheme.mdejong2004-09-237-54/+278
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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] * win/tkWinMenu.c: only provide a submenu handle when the MF_POPUP flag is given, fixing a recently-introduced crash when submenus are disabled. Also better error checking for this sort of situation in the future. * win/tkWinMenu.c (ReconfigureWindowsMenu): Fix drawing of a disabled (TkWinHandleMenuEvent, DrawMenuEntryArrow): cascade menu arrow. Tk was displaying a disabled cascade menu arrow in black instead of gray. This was caused by a bug in the Win32 code for user drawn menu items. The fix is to avoid telling Windows that the menu item is a cascade type and then draw the gray arrow bitmap on our own. [Patch 865842] * win/tkWinMenu.c (DrawWindowsSystemBitmap): Fix a strange Win32 bug where the logical coordinates returned by a call to DPtoLP are wrong the first time a menu is posted. This bug manifested itself by drawing the bitmap in the wrong place in a menu. The fix was to pass the newly created DC instead of the DC from the window. * win/tkWinMenu.c (DrawMenuEntryAccelerator): (DrawMenuEntryLabel): When drawing the label text and accelerator text for a disabled menu entry be sure to draw a 3D highlight. The only exception to this is when a disabled menu entry is highlighted, in that case do not draw a 3D hightlight. * win/tkWinMenu.c (DrawMenuEntryAccelerator, DrawMenuEntryArrow): Move the unused menu arrow drawing code in DrawMenuEntryAccelerator into a new function named DrawMenuEntryArrow. This makes no functional change but it will make it easier to fix things in the future.
* * win/tkWinWm.c: Rework WS_EX_LAYERED and LWA_ALPHAmdejong2004-09-232-3/+10
| | | | defines so that compiling with mingw works again.
* * win/tkWinWm.c (UpdateWrapper, WmAttributesCmd): handle attributehobbs2004-09-212-41/+47
| | | | | settings prior to window mapping and resort to more forceful wrapper update again for -toolwindow (to remove it from taskbar).
* missed wm attr testhobbs2004-09-191-2/+2
|
* (UpdateWrapper): don't adjust Z order of TOPMOST window.hobbs2004-09-182-12/+31
| | | | | (WmAttributesCmd): don't call UpdateWrapper for -disabled or -toolwindow attr changes.
* * win/tkWinWm.c (WmAttributesCmd): correct -alpha 0.0/1.0 settinghobbs2004-09-182-19/+19
| | | | and round the value.
* * macosx/README: typosdas2004-09-183-11/+18
| | | | | * macosx/tkMacOSXDraw.c (TkMacOSXSetUpCGContext): performance improvements: removed slow & unnecessary calls.
* patch 892194 TIP#222 changeshobbs2004-09-171-6/+49
|
* * tests/winWm.test: Add 'wm attributes -alpha' to control toplevelhobbs2004-09-173-21/+162
| | | | | * win/tkWinInt.h: alpha transparency on Win2K/XP+. * win/tkWinWm.c: TIP #222 [Patch 892194]
* * win/tkWinWm.c (UpdateWrapper): Ensure that we maintain Z orderhobbs2004-09-173-16/+66
| | | | | | | * tests/winWm.test: and focus of preexisting window when replacing the wrapper window. * win/tkWinWm.c (WmIconwindowCmd): Replace bogus call to XWithdrawWindow with proper code. (mdejong)
* * generic/tkMenu.c (MenuWorldChanged): ensure that we recomputehobbs2004-09-162-7/+13
| | | | | the menu geometry on WorldChanged to handle font size changes. [Bug 607649]
* Fixed a memory leak when a placed widget was forgotten. [Bug 1028888]peter.spjuth@gmail.com2004-09-163-10/+92
|
* * win/tkWinWm.c (ReadIconFromFile): fix mem alloc to get the righthobbs2004-09-132-15/+15
| | | | size for both icons ('?:' order of precedence mistake).
* More state resetting on dialog start. [Bug 845189]donal.k.fellows@manchester.ac.uk2004-09-102-1/+6
|
* (UpdateWrapper): update to Kovalenko to account for whether thehobbs2004-09-102-14/+20
| | | | | | override window has a transient parent, and apply WS_POPUP in the correct case. The makes splash screens pop up as well as making dropdowns not grab focus away from the parent.
* Stop tk_strictMotif poisoning of the widget demo [Bug 1013942]donal.k.fellows@manchester.ac.uk2004-09-102-1/+10
|
* * win/tkWinWm.c (ActivateWindow): SetFocus to grab window whenhobbs2004-09-102-4/+14
| | | | clicking outside the grab window hierarchy. [Bug 220908]
* * win/tkWinWm.c: backport of several items from 8.5 head:hobbs2004-09-102-64/+167
| | | | | | | | | | | | | | (ReadIconFromFile): when using SHGetFileInfo to retrieve icon, get regular icon as well for correct Alt-Tab icon. (hobbs) Fix for #742882 "Potential division by zero in gridded wm geometry" (jenglish) (UpdateWrapper): Let overrideredirect'ed window's wrapper be the child of desktop window, thus making it to behave more similarly to X11 Override Redirect. Esp. useful for combobox-like megawidgets. (kovalenko) (InstallColormaps): Check for TK_ALREADY_DEAD to avoid handling of dead windows. (kovalenko) Change 'panic' to 'Tcl_Panic' (davygrvy)
* * library/tkfbox.tcl (::tk::dialog::file::Create): use labelhobbs2004-09-062-15/+9
| | | | | instead of button for "File of type", as it properly handles -state disabled now.
* * library/text.tcl (::tk::TextTranspose): Ensure that Transpose ishobbs2004-08-262-11/+26
| | | | an atomic op to undo. Replace 'string compare' with 'ne'.
* * win/tkWinDialog.c (EatSpuriousMessageBugFix): Fix a problem withhobbs2004-08-202-2/+54
| | | | | double clicks in file dialogs falling through to the window underneath in win32. [Patch #611615]