summaryrefslogtreecommitdiffstats
path: root/library
Commit message (Collapse)AuthorAgeFilesLines
* More complete purge of things only present for supporting long-dead Mac 9 ↵dgp2012-11-1511-68/+28
| | | | systems.
* [Bug 3558535]: Factor out the filtered-sorted globbing code into one proceduredkf2012-08-251-27/+47
| | | that knows how to avoid nasty problems when non-list filters are used.
* [Bug 3534137]: $tcl_platform(platform) != [tk windowingsystem]jan.nijtmans2012-06-108-17/+17
|
* [Bug 2768586]: Only do menu correction on Windows < Win7jan.nijtmans2012-05-051-73/+85
|\ | | | | If tk.dll loaded in cygwin, don't use the win32 file dialogs
| * Use vroot size in stead of screen size for clipping window coordinates in ↵jan.nijtmans2012-04-207-34/+18
| |\ | | | | | | | | | | | | ::tk::PlaceWindow. Use ::tk::PlaceWindow in dialog.tcl, in stead of dumplicating the code there.
* | | [Bug 2768586]: Menu posting problem on dual monitorsjan.nijtmans2012-05-041-9/+8
| |/ |/|
* | set [wm maxsize] as welljan.nijtmans2012-04-161-0/+1
| |
* | Fix bug 533519jan.nijtmans2012-04-167-38/+17
|/
* [Bug 1945073]: Demo square.tcl cannot run; need package tktestjan.nijtmans2011-11-226-6/+6
|
* Purge RCS Keywords.dgp2011-06-0881-165/+0
|
* [Patch #3154705] Close button has no effect.nijtmans2011-01-131-7/+14
| | | | Add <Escape> binding as well (backported from Tcl 8.5)
* TIP #359: Extended Window Manager Hints support for 8.4patthoyts2010-01-235-6/+14
|
* [Bug 2912473]: Stop problems caused by display names with a double colon in.dkf2009-12-111-1/+6
|
* Backport from HEAD of Aqua changes from 2007-10-12 to 2007-11-09das2007-11-091-2/+2
|
* Backport from HEAD of Aqua changes from 2007-10-12 to 2007-11-09das2007-11-091-13/+18
|
* Backport from HEAD of Aqua changes from 2007-10-12 to 2007-11-09das2007-11-093-11/+22
|
* * library/entry.tcl: don't error with Clear event. [Bug 1509288]hobbs2007-10-301-2/+3
|
* Added Hungarian message catalog.dkf2007-10-111-0/+74
|
* replace previous inoperative commit with direct setting of ↵das2007-05-301-2/+9
| | | | highlightbackground on all buttons
* * library/bgerror.tcl: standardize dialog option & button sizedas2007-05-304-17/+40
| | | | | | | * library/dialog.tcl: modifications done when running on on Aqua. * library/msgbox.tcl: * library/demos/button.tcl: set button highlightbackground on Aqua.
* * 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).
* * library/bgerror.tcl: on aqua, use moveable alert resp. modal dialogdas2007-04-294-9/+29
| | | | | | | | * library/dialog.tcl: window class and corresponding system background pattern; fix button padding. * library/tearoff.tcl: correct aqua menu bar height; vertically offset * library/tk.tcl: aqua tearoff floating window to match menu.
* * library/demos/menu.tcl: on aqua, use custom MDEF and tearoffs;das2007-04-293-12/+16
| | | | | | * library/demos/menubu.tcl: correct menubutton toplevel name. * library/demos/puzzle.tcl: fix button size & padding for aqua.
* * library/tkfbox.tcl (::tk::IconList_Goto): avoid goto issues inhobbs2007-02-191-3/+3
| | | | empty dirs. [Bug 1662959]
* Spanish always uses "Guardar" to mean "Save" in the computer sense. [Bug ↵dkf2006-12-222-8/+3
| | | | 1111213]
* * generic/tkConsole.c: Complete reversal of the changes of Sep 22.andreas_kupries2006-09-251-3/+3
| | | | | | | | | | | | | | * generic/tkMain.c: For compat reason the Tcl core will not change * generic/tkWindow.c: the registered version to include the patchlevel, * library/tk.tcl: making the changes to Tk unnecessary. * unix/configure: * unix/Makefile.in: * unix/tcl.m4: * win/configure: * win/Makefile.in: * win/makefile.vc: * win/rules.vc: * win/tcl.m4:
* * generic/tkConsole.c: TIP #268 update regarding registered packageandreas_kupries2006-09-221-3/+3
| | | | | | | | | | | | | | * generic/tkMain.c: version, now using full patchlevel instead of * generic/tkWindow.c: major.minor * library/tk.tcl: * unix/configure: * unix/Makefile.in: * unix/tcl.m4: * win/configure: * win/Makefile.in: * win/makefile.vc: * win/rules.vc: * win/tcl.m4:
* * macosx/tkMacOSXWm.c (TkMacOSXMakeRealWindowExist): revert part ofdas2006-09-111-7/+7
| | | | | | | | | | | | | | | | 2006-05-16 change that had set overrideredirect windows to not become activated by the window manager, as this prevented interaction with native widgets in such windows [Bug 1472624]; apply changes to carbon window attributes even if native window has already been created. * macosx/tkMacOSXKeyEvent.c (TkMacOSXProcessKeyboardEvent): fix app * macosx/tkMacOSXMenu.c (DrawMenuBarWhenIdle): menu item key shortcuts * macosx/tkMacOSXInt.h: when custom ".apple" menu is installed. * library/demos/widget: on TkAqua, don't install file menu with single quit menu item, as the application menu already has a quit item. * macosx/tkMacOSXColor.c: fix building on Mac OS X 10.2.
* * macosx/tkMacOSXColor.c (TkSetMacColor, TkpGetColor): use AppearanceMgrdas2006-09-101-5/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * macosx/tkMacOSXDefault.h: to retrieve platform std colors for text * macosx/tkMacOSXPort.h: selections, add "systemHighlightSecondary" color name for standard color of inactive selections. * library/text.tcl (aqua): change focus bindings to implement platform standard look for inactive text selections using this new color. * generic/tkTextBTree.c (TkTextIsElided): on TkAqua, don't show text * generic/tkTextDisp.c (GetStyle): selection when text widget * generic/tkText.c (TextEventProc): is in disabled state. * generic/tkEntry.c (DisplayEntry): change default TkAqua selection * macosx/tkMacOSXDefault.h: relief to "flat" (platform std). * generic/tkText.c (Tk_TextCmd): fix bug leading to default text selection relief string DEF_TEXT_SELECT_RELIEF being ignored. * macosx/tkMacOSXMouseEvent.c (TkMacOSXProcessMouseEvent): allow mouse event delivery to background windows with kWindowNoActivatesAttribute (e.g. overrideredirect windows), as these never come to the foreground they would not receive any mouse events otherwise. [Bug 1472624] * macosx/tkMacOSXWindowEvent.c (TkMacOSXGenerateFocusEvent): do not send focus events to any windows with kWindowNoActivatesAttribute. * macosx/tkMacOSXXStubs.c (XQueryColor, XQueryColors): implement basic XColor computation from pixel values, enough to make tkImg's window.c happy, fixes img::window failures reported on tcl-mac. * macosx/tkMacOSXMenu.c (DrawMenuEntryLabel): fix leak. [Bug 1554672] * macosx/Makefile: workaround bug in 'cp -pRH' on Darwin 6 and earlier, fixes 'make embedded' failure reported on tcl-mac; fix error from 'make deploy' with same build tree as previous 'make embedded'. * macosx/tkMacOSXEntry.c (TkpDrawEntryBorderAndFocus): fix typo. * unix/tcl.m4: sync with tcl/unix/tcl.m4.
* * generic/tkEntry.c: move hard-coded ALWAYS_SHOW_SELECTIONhobbs2006-09-061-3/+6
| | | | | | | | | | * generic/tkInt.h: control of entry/text selection display * generic/tkText.c: based on focus to the Tcl level, * generic/tkTextBTree.c: controlled by ::tk::AlwaysShowSelection * generic/tkTextDisp.c: (boolean, private). [Bug 1553691] * generic/tkWindow.c: * library/tk.tcl * unix/tkUnixPort.h:
* catch scrollbar use of highlightthicknesshobbs2006-07-071-3/+3
|
* * library/bgerror.tcl (::tk::dialog::error::bgerror): remove ahobbs2006-06-221-4/+3
| | | | couple of unnecessary hardcoded options
* bug #1451587: avoid using abbreviated sub-commands inpatthoyts2006-03-176-42/+42
| | | | | core scripts as this can cause problems with mega-widget libraries like snit.
* Added message catalog for (Brazilian) Portuguese. [Bug 1405069]dkf2006-03-161-0/+70
|
* Fix silly error that prevented truncated error traces from being presented todkf2006-03-111-3/+3
| | | | the user, even when they should have been.
* * library/bgerror.tcl: Updates to use Tcl 8.4 features. [Patch ↵dgp2006-01-2523-485/+446
| | | | | | | | | | | | | | | | | | | | | | | | | | 1237759] * library/button.tcl: * library/choosedir.tcl: * library/clrpick.tcl: * library/comdlg.tcl: * library/console.tcl: * library/dialog.tcl: * library/entry.tcl: * library/focus.tcl: * library/listbox.tcl: * library/menu.tcl: * library/msgbox.tcl: * library/palette.tcl: * library/panedwindow.tcl: * library/safetk.tcl: * library/scale.tcl: * library/scrlbar.tcl: * library/spinbox.tcl: * library/tearoff.tcl: * library/text.tcl: * library/tk.tcl: * library/tkfbox.tcl: * library/xmfbox.tcl:
* * library/demos/cscroll.tcl: add MouseWheel bindings for aqua.das2005-12-131-1/+15
| | | | | | | | | | | * macosx/tkMacOSXCarbonEvents.c (TkMacOSXInitCarbonEvents): * macosx/tkMacOSXMouseEvent.c (TkMacOSXProcessMouseEvent, GenerateMouseWheelEvent): add support for kEventMouseScroll events (smooth mouse wheel scrolling from mighty mouse or scrolling trackpad) by handling kEventMouseWheelMoved on application target as well as on dispatcher, in order to pick up synthesized MouseWheel events from HIObject handler (c.f. QA1453); add support for horizontal scrolling events by generating MouseWheel XEvent with Shift modifier.
* * library/menu.tcl (::tk::PostOverPoint): correct menu post nearhobbs2005-12-011-6/+10
| | | | bottom of screen on Windows. [Bug 1353416]
* * library/console.tcl (::tk::ConsoleInit): improve work-around tohobbs2005-11-301-2/+4
| | | | avoid '% ' from tclMain.c [Bug 1252259]
* Fix [Bug 1335485]dkf2005-11-221-2/+2
|
* * library/dialog.tcl (::tk_dialog): add tkwait visibility beforehobbs2005-10-051-12/+13
| | | | grab. [Bug 1216775]
* * macosx/tkMacOSXMouseEvent.c (TkMacOSXProcessMouseEvent): check ifdas2005-09-102-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | process is in front on MouseDown, otherwise request process activation from BringWindowForward() via new isFrontProcess param. * macosx/tkMacOSXCarbonEvents.c (TkMacOSXInitCarbonEvents): register our event handler on the dispatcher target for all carbon events of interest to TkAqua; this replaces event processing directly from the event queue and thus allows to capture events that are syntesized by Carbon and sent directly to the dispatcher and not to the event queue. * macosx/tkMacOSXEvent.c: remove TkMacOSXCountAndProcessMacEvents(), rename ReceiveAndProcessEvent() to TkMacOSXReceiveAndProcessEvent(). (TkMacOSXReceiveAndProcessEvent): remove tk event processing before sending events to the dispatcher, all events of interest are now processed in our dispatcher target event handler. * macosx/tkMacOSXNotify.c (CarbonEventsCheckProc): dispatch events directly via TkMacOSXReceiveAndProcessEvent(), but dispatch no more than four carbon events at one time to avoid starving other event sources. * macosx/tkMacOSXEvent.c: formatting cleanup, move XSync() to XStubs, * macosx/tkMacOSXEvent.h: removed obsolete kEventClassWish handling. * macosx/tkMacOSXXStubs.c * macosx/tkMacOSXButton.c: conditionalize all debug message printing to * macosx/tkMacOSXCursor.c: stderr via TK_MAC_DEBUG define. * macosx/tkMacOSXDebug.c: * macosx/tkMacOSXDebug.h: * macosx/tkMacOSXDialog.c: * macosx/tkMacOSXEvent.c: * macosx/tkMacOSXInit.c: * macosx/tkMacOSXKeyEvent.c: * macosx/tkMacOSXMenu.c: * macosx/tkMacOSXMenubutton.c: * macosx/tkMacOSXScale.c: * macosx/tkMacOSXWindowEvent.c: * macosx/tkMacOSXWm.c: * unix/configure.in: define TK_MAC_DEBUG on aqua when symbols enabled. * unix/configure: autoconf-2.13 * library/listbox.tcl: corrected comments. * library/text.tcl: * xlib/xcolors.c: fixed warning
* * library/bgerror.tcl (::tk::dialog::error::bgerror): usehobbs2005-07-281-3/+3
| | | | zoomDocProc instead of dBoxProc for bgerror dialog
* * library/demos/menu.tcl: removed errant '}'.core_8_4_11das2005-06-251-2/+1
|
* more elaborate variant of getting first prompt shown to avoidhobbs2005-05-311-2/+14
| | | | a puts call.
* * library/console.tcl (::tk::ConsoleInit): print out first prompthobbs2005-05-301-1/+7
| | | | and swallow the extra "% " that comes once from Tcl on Windows.
* change tk_popup to have sticky menustmh2005-05-271-2/+5
|
* backport of text widget bug fixvincentdarley2005-05-131-2/+2
|
* * library/tkfbox.tcl (::tk::dialog::file::): fix typeMenuLab ref.hobbs2005-04-122-14/+52
| | | | | | | | Add undoc'd ::tk::dialog::file::showHiddenBtn var (default 0) that will add a "Show Hidden" checkbutton to tk_get*File and tk_chooseDirectory if set to true. * library/choosedir.tcl (::tk::dialog::file::chooseDir::): fix cancelBtn ref, add hiddenBtn ref for "Show Hidden" button.
* * library/panedwindow.tcl (::tk::panedwindow::Cursor): checkhobbs2005-02-121-2/+3
| | | | window existence on delayed call. [Bug 949792]