summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* typos, whitespacedas2006-04-112-5/+5
|
* Fix [1467938]dkf2006-04-102-7/+17
|
* 2006-04-10 Benjamin Riefenstahl <b.riefenstahl@turtle-trading.net>cc_benny2006-04-101-0/+10
| | | | | | | | | | * macosx/tkMacOSXFont.c (MeasureStringWidth): Use implementation based on ATSUGetGlyphBounds (TK_MAC_USE_GETGLYPHBOUNDS), so we can use kATSUseFractionalOrigins. This in turn corrects bug #1461650. * (InitFont): Use "." and "W" instead of "i" and "w" to determine the "-fixed" attribute. This prevents "Apple Chancery" from being classified as fixed. * (InitFontFamilies): Only get the font families once.
* * (MeasureStringWidth): Use implementation based oncc_benny2006-04-101-53/+61
| | | | | | | | | | | | ATSUGetGlyphBounds (TK_MAC_USE_GETGLYPHBOUNDS), so we can use kATSUseFractionalOrigins. This in turn corrects bug #1461650. * (TK_MAC_DEBUG_FONTS): Fix use this throughout: Don't use TK_MAC_DEBUG; avoid empty "if" blocks in non-debug mode. * (InitFont): Use "." and "W" instead of "i" and "w" to determine the "-fixed" attribute. This prevents "Apple Chancery" from being classified as fixed. * (InitFontFamilies): Only get the font families once.
* * macosx/tkMacOSXWm.c (TkSetWMName, TkMacOSXMakeRealWindowExist):das2006-04-102-15/+10
| | | | | allow empty name for toplevels, remove bogus initial window name. [Bug 1450800]
* added ref to bug 934524das2006-04-101-2/+3
|
* * macosx/tkMacOSXWm.c (WmResizableCmd): propagate window attributedas2006-04-092-6/+21
| | | | changes to Carbon window manager. [FR 1467004]
* move tagdgp2006-04-071-2/+2
|
* * macosx/tkMacOSXMouseEvent.c (TkMacOSXProcessMouseEvent): fix returndas2006-04-073-81/+107
| | | | | | | | | values, implement window dragging & growing in background (with Command key down) and by fronting clicks, use correct button & modifier state API when application is in background (also in TkMacOSXButtonKeyState). * macosx/tkMacOSXWm.c (TkMacOSXGrowToplevel): ensure QD port is set correctly before using API relying on it.
* add support for proxy icon dragging and titlepath menuvincentdarley2006-04-061-2/+2
|
* add support for proxy icon dragging and titlepath menuvincentdarley2006-04-062-1/+25
|
* * macosx/tkMacOSXWm.c (WmAttributesCmd, WmIconbitmapCmd): fix errorsdas2006-04-065-46/+86
| | | | | | | | | | in setting/removing window proxy icons via [wm attributes -titlepath] and [wm iconbitmap], use HIWindow API on Tiger or later. [Bug 1455241] * unix/tcl.m4: remove TCL_IO_TRACK_OS_FOR_DRIVER_WITH_BAD_BLOCKING define on Darwin. [Tcl Bug 1457515] * unix/configure: autoconf-2.59 * unix/tkConfig.h.in: autoheader-2.59
* see changeshobbs2006-04-051-0/+28
|
* * generic/tkWindow.c (Initialize): remove impotent use ofhobbs2006-04-051-3/+2
| | | | DeleteWindowsExitProc as a global exit handler.
* * generic/tkMenu.c (TkSetWindowMenuBar): remove extra TkMenuInithobbs2006-04-052-82/+105
| | | | | | | | | | call that caused finalization panic. [Bug 1456851] * win/tkWinMenu.c (FreeID, TkpNewMenu, MenuExitHandler) (MenuThreadExitHandler, TkpMenuInit, TkpMenuThreadInit): rework Windows menu init/finalization to better respect per-process and per-thread boundaries. [Bug 1456851] (TkWinMenuKeyObjCmd): Do not error when unknown window is passed in. [Bug 1236306]
* * win/tkWinX.c (TkWinXInit): init default keyboard charsethobbs2006-04-051-2/+15
| | | | correctly. [Bug 1374119] (pajas)
* * tests/textWind.test (textWind-10.6.1): prevent infinite updatehobbs2006-04-051-2/+3
| | | | loop in case of test failure
* * win/tkWinWm.c (WmProc): pass WM_QUERYENDSESSION message to Tk ashobbs2006-04-051-1/+17
| | | | WM_SAVE_YOURSELF wm protocol callback.
* * tests/grid.test: fix segfault on empty or "all" index listhobbs2006-04-052-28/+67
| | | | * generic/tkGrid.c (GridRowColumnConfigureCommand): [Bug 1422430]
* (wm-attributes-1.2.4): correct expected resulthobbs2006-04-051-2/+6
|
* Revised test to account for changed error messagedgp2006-04-051-3/+3
|
* fix to crash in test suite, with dump -commandvincentdarley2006-04-052-2/+9
|
* use standard Carbon Fixed <-> Int conversion macros instead of our owndas2006-04-052-24/+13
|
* * generic/tkOption.c (TkOptionDeadWindow): handlehobbs2006-03-302-2/+9
| | | | OptionThreadExitProc being called before DeleteWindowsExitProc.
* * win/Makefile.in: convert _NATIVE paths to use / to avoid ".\"hobbs2006-03-292-10/+15
| | | | path-as-escape issue.
* * changes: Updates for next RCdgp2006-03-292-4/+9
|
* * unix/tkUnixDefault.h: Changed "Black" to "#000000" and "White" todgp2006-03-292-3/+9
| | | | | "#ffffff" to work around the (broken?) X servers that do not accept those color names. [Bug 917433]
* * unix/tcl.m4, win/tcl.m4: []-quote AC_DEFUN functions.hobbs2006-03-283-38/+42
|
* further fixes to $text dump -commandvincentdarley2006-03-283-6/+70
|
* * macosx/Wish.xcode/default.pbxuser: add '-singleproc 1' cli arg todas2006-03-285-7/+18
| | | | | | | | * macosx/Wish.xcodeproj/default.pbxuser: tcltest to ease test debugging. * macosx/Wish.xcode/project.pbxproj: removed $prefix/share from * macosx/Wish.xcodeproj/project.pbxproj: TCL_PACKAGE_PATH as per change to tcl/unix/configure.in of 2006-03-13.
* * macosx/tkMacOSXDraw.c: sync whitespace & minor changesdas2006-03-286-13/+20
| | | | | | | * macosx/tkMacOSXEvent.h: with core-8-4-branch. * macosx/tkMacOSXFont.h: * macosx/tkMacOSXMenu.c: * macosx/tkMacOSXNotify.c:
* * changes: Updates for next RCdgp2006-03-272-3/+13
|
* Oops, forgot that this test should return an error...dkf2006-03-271-4/+6
|
* * generic/tkTextDisp.c (MeasureChars): Fix calculations of start andcc_benny2006-03-272-4/+10
| | | | end of string. [Bugs 1325998, 1456157]
* Fix (and add test for) [Bug 1458234]dkf2006-03-273-24/+41
|
* fix for text dump -command callbacks which modify the text widgetvincentdarley2006-03-265-47/+167
|
* * macosx/tkMacOSXDraw.c (TkMacOSXSetUpCGContext):das2006-03-251-3/+3
| | | | | * macosx/tkMacOSXFont.c (TkMacOSXQuarzStartDraw, TkMacOSXQuarzEndDraw): performance improvements, sync similar code, formatting & whitespace.
* * macosx/tkMacOSXDraw.c (TkMacOSXSetUpCGContext):das2006-03-253-72/+104
| | | | | * macosx/tkMacOSXFont.c (TkMacOSXQuarzStartDraw, TkMacOSXQuarzEndDraw): performance improvements, sync similar code, formatting & whitespace.
* * generic/tkTextDisp.c: moved #ifdef MAC_OSX_TK code added bydas2006-03-2435-203/+146
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * macosx/tkMacOSXColor.c: Patch #638966 into platform specific * macosx/tkMacOSXInt.h: files. * macosx/tkMacOSX.h: cleaned up & rationalized order of * macosx/tkMacOSXBitmap.c: #includes of tk and carbon headers. * macosx/tkMacOSXButton.c: * macosx/tkMacOSXCarbonEvents.c: * macosx/tkMacOSXClipboard.c: * macosx/tkMacOSXColor.c: * macosx/tkMacOSXConfig.c: * macosx/tkMacOSXCursor.c: * macosx/tkMacOSXDialog.c: * macosx/tkMacOSXDraw.c: * macosx/tkMacOSXEmbed.c: * macosx/tkMacOSXEntry.c: * macosx/tkMacOSXEvent.c: * macosx/tkMacOSXEvent.h: * macosx/tkMacOSXFont.h: * macosx/tkMacOSXHLEvents.c: * macosx/tkMacOSXInit.c: * macosx/tkMacOSXInt.h: * macosx/tkMacOSXKeyEvent.c: * macosx/tkMacOSXKeyboard.c: * macosx/tkMacOSXMenu.c: * macosx/tkMacOSXMenubutton.c: * macosx/tkMacOSXMenus.c: * macosx/tkMacOSXMouseEvent.c: * macosx/tkMacOSXRegion.c: * macosx/tkMacOSXScale.c: * macosx/tkMacOSXScrlbr.c: * macosx/tkMacOSXSend.c: * macosx/tkMacOSXSubwindows.c: * macosx/tkMacOSXWindowEvent.c: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXWm.h: * macosx/tkMacOSXXStubs.c:
* * unix/tkUnixRFont.c (TkpMeasureCharsInContext): Copied over fromrmax2006-03-232-5/+17
| | | | tkUnixFont.c to fix compiling with --enable-xft .
* * unix/tk.spec: Cleaned up and completed the spec file.rmax2006-03-232-28/+37
| | | | | An RPM can now be built from the tk source distribution with "rpmbuild -tb <tarball>".
* * tests/textDisp.test: Updated expected error messages to match thedgp2006-03-232-9/+14
| | | | standardized formats established on 2005-11-17. [Bug 1370296]
* * changes: Updates for next RCdgp2006-03-222-3/+13
|
* * generic/tkFont.c: implementation of ATSUI text renderingdas2006-03-2219-1691/+3279
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tkInt.h: in TkAqua provided by Benjamin * generic/tkTextDisp.c: Riefenstahl. [Patch 638966] * library/demos/unicodeout.tcl: * macosx/tkMacOSXFont.h (new file): * macosx/tkMacOSXFont.c: * tests/font.test: * unix/tkUnixFont.c: * win/tkWinFont.c: * generic/tkFont.c: moved MODULE_SCOPE declarations of * generic/tkFont.h: font helper procs into header files. * macosx/tkMacOSXButton.c: * macosx/tkMacOSXFont.h: * macosx/tkMacOSXMenubutton.c: * macosx/Wish.xcode/project.pbxproj: add new tkMacOSXFont.h file, * macosx/Wish.xcodeproj/project.pbxproj: turn off dead code stripping as it interferes with -sectcreate (rdar://4486223). * macosx/Wish.xcode/default.pbxuser: add TCLLIBPATH=/Library/Tcl * macosx/Wish.xcodeproj/default.pbxuser: env var setting to tktest. * unix/configure.in: fix detection of symbols build when enabling TkAqua debug code; filter nm output of libtclstub better to avoid error on intel macs [Bug 1415789]. * unix/configure: autoconf-2.59
* * generic/tkConsole.c: Added exit handler to clean up the interpdgp2006-03-212-9/+31
| | | | | | | where the console window lives. Also added code to handle multiple calls to Tk_CreateConsoleWindow so that the console channels connect to the last console window opened, in compatibility with the previous implementation.
* * generic/tkConsole.c: Added exit handler to clean up the interpdgp2006-03-202-5/+32
| | | | where the console window lives.
* reduce unnecessary namespace usedkf2006-03-201-3/+3
|
* undo/modified and empty string fixvincentdarley2006-03-182-14/+23
|
* bug #1451587: avoid using abbreviated sub-commands inpatthoyts2006-03-177-42/+51
| | | | | core scripts as this can cause problems with mega-widget libraries like snit.
* corrected silly cut/paste/forget to modify error in the name of thedgp2006-03-161-2/+2
| | | | stderr console channel.