summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * macosx/tkMacOSXWindowEvent.c (GenerateUpdateEvent): complete alldas2007-05-318-293/+237
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | pending idle-time redraws before newly posted Expose events are processed; add bounds of redrawn windows to update region to ensure all child windows overdrawn by parents are redrawn. * macosx/tkMacOSXWindowEvent.c: centralize clip and window invalidation * macosx/tkMacOSXSubwindows.c: after location/size changes in the * macosx/tkMacOSXWm.c: BoundsChanged carbon event handler; correct/add window invalidation after window attribute changes. * macosx/tkMacOSXSubwindows.c (XResizeWindow, XMoveResizeWindow, XMoveWindow): factor out common code dealing with embedded and non-toplevel windows; remove unnecessary clip and window invalidation. * macosx/tkMacOSXButton.c (TkpDisplayButton): move clip setup closer to native button drawing calls. * macosx/tkMacOSXWm.c (TkMacOSXIsWindowZoomed, TkMacOSXZoomToplevel): correct handle gridded windows in max size calculations. * macosx/tkMacOSXEvent.c (TkMacOSXFlushWindows): use HIWindowFlush API when available. * macosx/tkMacOSXColor.c: cleanup whitespace and formatting. * macosx/tkMacOSXDraw.c: * macosx/tkMacOSXSubwindows.c: * macosx/tkMacOSXWm.c:
* * generic/tkFont.c: #ifdef out debug msg printing to stderr.das2007-05-312-3/+9
| | | | * generic/tkTextDisp.c:
* * generic/tk.h: Correct placement of #include <tcl.h> [Bug 1723812].dgp2007-05-302-8/+10
|
* replace previous inoperative commit with direct setting of ↵das2007-05-301-2/+9
| | | | highlightbackground on all buttons
* * macosx/tkMacOSXMenu.c (DrawMenuSeparator): use DrawingContext API.das2007-05-3013-320/+320
| | | | | | | | | | | | | | | | | | | | | | * macosx/tkMacOSXWindowEvent.c (ClearPort): clip to updateRgn. * macosx/tkMacOSXDebug.c: factor out debug region flashing. * macosx/tkMacOSXDebug.h: * macosx/tkMacOSXDraw.c: * macosx/tkMacOSXSubwindows.c: * macosx/tkMacOSXWindowEvent.c: * macosx/tkMacOSXEvent.c: cleanup whitespace and formatting. * macosx/tkMacOSXFont.c: * macosx/tkMacOSXRegion.c: * macosx/tkMacOSXSubwindows.c: * macosx/tkMacOSXWindowEvent.c: * macosx/tkMacOSXWm.c: * macosx/tkMacOSXXStubs.c: * xlib/xgc.c: * macosx/Wish.xcodeproj/project.pbxproj: delete references to removed * macosx/Wish.xcodeproj/default.pbxuser: ttk files.
* * library/bgerror.tcl: standardize dialog option & button sizedas2007-05-304-12/+31
| | | | | | | * library/dialog.tcl: modifications done when running on on Aqua. * library/msgbox.tcl: * library/demos/button.tcl: set button highlightbackground on Aqua.
* removed skipping of unixfont-5.11 [Bug 1716141]das2007-05-291-1/+1
|
* * macosx/tkMacOSXFont.c (TkpMeasureCharsInContext): Fix shortcc_benny2007-05-282-54/+56
| | | | | measures with flags=TK_WHOLE_WORDS|TK_AT_LEAST_ONE [Bug 1716141]. Make some casts unnecessary by changing variable types.
* fix TIP #145 breakage on Aquadas2007-05-271-2/+3
|
* deleted references to removed ttk filesdas2007-05-272-19/+1
|
* Removed ttk::dialog and dependencies.jenglish2007-05-257-680/+11
|
* library/demos/ttk_*.tcl: removed Tile demos, not appropriate for core.jenglish2007-05-253-1110/+0
|
* Removed tk/tests/ttk/misc.test -- ttk::dialog tests, not appropriate for core.jenglish2007-05-251-33/+0
|
* Minor typo corrections, from [Bug 1663527]dkf2007-05-252-4/+4
|
* Fixed documentation of default -joinstyle option values for line and polygon ↵dkf2007-05-252-44/+47
| | | | items. [Bug 1725782]
* Fix comments. (Thanks to Emiliano for spotting)dkf2007-05-241-3/+3
|
* EntrySetValue: Ensure that widget is in a consistent state before settingjenglish2007-05-183-5/+41
| | | | | the linked -textvariable. Previously, it was possible for [$e index insert] to point past the end of the string, leading to heap corruption [Bug 1721532].
* * unix/configure: autoconf-2.59 (FC6 fork)dgp2007-05-189-40/+60
| | | | | | | | | | | * win/configure: * README: Bump version number to 8.5a7 * generic/tk.h: * library/tk.tcl: * unix/configure.in: * unix/tk.spec: * win/configure.in:
* * tests/ttk/treetags.test: Another bit of test suitedgp2007-05-182-1/+7
| | | | SCIM-tolerance. [Bug 1609316]
* sync with core-8-4-branch tk/changesdas2007-05-161-3/+5
|
* * generic/tk.decls: workaround 'make checkstubs' failures fromdas2007-05-163-10/+38
| | | | | | | tkStubLib.c MODULE_SCOPE revert. [Bug 1716117] * macosx/Wish.xcodeproj/project.pbxproj: add tkOldTest.c and remove tkStubImg.c.
* Change Tk_InitStubs(), tkStubsPtr, and the auxilliary stubs table pointersjenglish2007-05-162-16/+10
| | | | | | back to public visibility. See [Bug 1716117] for details. Removed TCL_STORAGE_CLASS monkey business, as it had no effect.
* * library/choosedir.tcl: Removed uses of obsolete {expand}dgp2007-05-166-20/+26
| | | | | | | * library/comdlg.tcl: syntax; replaced with the now * library/tk.tcl: approved {*}. [Bug 1710633] * tests/canvImg.test: * tests/imgPhoto.test:
* duplicate test namesdgp2007-05-162-4/+4
|
* * tests/bind.test: Make test suite more SCIM-tolerant [Bug 1609316]dgp2007-05-162-1/+7
|
* Test ttk widgetspatthoyts2007-05-152-2/+22
|
* Fix crash introduced by previous fix, exposed under newer fontconfigjenglish2007-05-152-4/+6
| | | | libraries [Bug 1717830 again].
* * generic/tkGrid.c: Stop crash due to list intrep shimmer [Bug 1677608]dgp2007-05-152-3/+27
|
* Fix various memory leaks [Bug 1717830], [Bug 800149].jenglish2007-05-152-21/+19
|
* [Tk Bug 1712081]dgp2007-05-1418-204/+651
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * unix/Makefile.in: Updates to account for new and deleted files * win/Makefile.in: tkStubImg.c and tkOldTest.c. * win/makefile.bc: * win/makefile.vc: * generic/tkOldTest.c (new): New file used to create testing * generic/tkTest.c: commands for testing various Tk * tests/constraints.tcl: legacy interfaces where a separate * tests/image.test: compilation unit is needed in order to #define suitable macros during compilation. Only the effect of USE_OLD_IMAGE on Tk_CreateImageType() is currently tested, but more similar testing commands can be added to this same file. New constraint defined to detect presence of the image type provided by the new testing code, and a few tests added to exercise it. Having USE_OLD_IMAGE support tested by the default test suite should reduce chance of a recurrence of this bug. * doc/CrtImgType.3: Revised docs to better indicate the legacy * doc/CrtPhImgFmt.3: nature of the interfaces supported by USE_OLD_IMAGE. * generic/tkDecls.h: make genstubs * generic/tkStubInit.c: * generic/tk.decls: Reworked USE_OLD_IMAGE support to use * generic/tk.h: the same support mechanisms both with * generic/tkStubImg.c (deleted):and without a stub-enabled build. In each case, route the legacy calls to Tk_CreateImageType and Tk_CreatePhotoImageFormat through the Tk_CreateOldImageType and Tk_CreateOldPhotoImageFormat routines. Add those routines to the public stub table so they're available to a stub-enabled extension. Remove the definition of Tk_InitImageArgs() and use a macro to convert any calls to it in source code into a comment. * generic/tkImage.c: Removed the MODULE_SCOPE declarations that * generic/tkImgPhoto.c: broke USE_OLD_IMAGE support.
* specify font to avoid uncertainty in the result on windows xppatthoyts2007-05-111-2/+2
|
* Avoid font dependencies in the resultspatthoyts2007-05-112-5/+7
|
* bug #1716613 propagate error from TkDeleteNamedFont.patthoyts2007-05-112-5/+10
|
* * macosx/tkMacOSXWindowEvent.c: ensure window is brought to the frontdas2007-05-0911-243/+389
| | | | | | | | | | | | | | | | | | | | | | * macosx/tkMacOSXMouseEvent.c: at the start of a window drag (except * macosx/tkMacOSXInt.h: when cmd key is down); formatting and whitespace fixes. * macosx/tkMacOSXDialog.c (Tk_GetSaveFileObjCmd): add -filetypes option processing (fixes fileDialog-0.1, fileDialog-0.2 failures). * macosx/tkMacOSXEmbed.c (TkpMakeWindow, TkpUseWindow): fix sending of Visibility event for embedded windows (fixes frame-3.9 hang). * macosx/tkMacOSXScrlbr.c (ScrollbarBindProc): fix testsuite * macosx/tkMacOSXSubwindows.c (TkMacOSXUpdateClipRgn): crashes by adding sanity checks. * macosx/Wish.xcodeproj/project.pbxproj: add 'DebugUnthreaded' & * macosx/Wish.xcodeproj/default.pbxuser: 'DebugLeaks' targets and env var settings needed to run the 'leaks' tool. * macosx/tkMacOSXButton.c: fix debug msg typo.
* * tests/constraints.tcl: ensure 'nonUnixUserInteraction' constraint isdas2007-05-097-23/+24
| | | | | | | | | | | set for aqua. * tests/choosedir.test: add 'notAqua' constraints to X11-only tests; * tests/clrpick.test: add 'nonUnixUserInteraction' to 'unix' tests * tests/menuDraw.test: requiring interaction on aqua. * tests/unixMenu.test: * tests/unixWm.test: * tests/winMenu.test:
* * library/palette.tcl (tk::RecolorTree): handle color options withdas2007-05-091-4/+8
| | | | | empty value, fixes error due to emtpy -selectforeground (reported on tcl-mac by Russel E. Owen).
* * generic/tkFileFilter.c (AddClause): OSType endianness fixes.das2007-05-091-3/+5
|
* Properly cast sentinel arguments to variadic functionjenglish2007-05-072-3/+10
| | | | (fixes "warning: missing sentinel in function call", [Bug 1712001])
* Make the tktest build work when Tcl is located in a path with a space indkf2007-05-051-2/+2
|
* Slight simplificationdkf2007-05-051-3/+4
|
* TIP #145 implementationpatthoyts2007-05-049-44/+250
|
* Sync with tcl versionpatthoyts2007-05-041-13/+93
|
* Spelling fixes. [Bug 1686210]dkf2007-05-039-41/+48
|
* Another pun warningdkf2007-05-032-2/+5
|
* Fix more type pun warnings (those not found by my local version of GCC)dkf2007-05-035-12/+18
|
* Missed a place (or rather not all versions of GCC catch it.)dkf2007-05-032-36/+22
|
* Tackle [Bug 1711985]dkf2007-05-035-36/+47
|
* * unix/configure.in: fix for default case in tk debug build detection.das2007-04-293-6/+11
| | | | * unix/configure: autoconf-2.59
* * generic/ttk/ttkTreeview.c(TagOptionSpecs): Use TK_OPTION_STRINGjenglish2007-04-282-4/+9
| | | | instead of TK_OPTION_FONT to avoid resource leak in tag management.
* * macosx/ttkMacOSXTheme.c: Merged OFFSET_RECT processing intojenglish2007-04-272-106/+99
| | | | | BoxToRect(); factored out PatternOrigin; resynchronized with Tile codebase.