summaryrefslogtreecommitdiffstats
path: root/library
Commit message (Collapse)AuthorAgeFilesLines
* * 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]
* Add es_ES-specific localization. [Bug 1111213]dkf2005-01-311-0/+5
|
* Fix widget parenting issue reported by Keith Nash. Also tidied up a bit.dkf2005-01-181-15/+17
|
* * library/text.tcl (::tk::TextUpDownLine): revert 2004-11-23 as itcore_8_4_9hobbs2004-12-061-35/+8
| | | | prevented scrolling to bottom.
* fix to movement up/down in text widget by display linesvincentdarley2004-11-231-8/+35
|
* * library/console.tcl (::tk::console::ExpandVariable): correcthobbs2004-11-171-2/+4
| | | | array keyname expansion. [Bug 1004508] (bold)
* * library/msgs/it.msg: Updated Italian message catalog.dgp2004-11-161-6/+6
| | | | Thanks to Roberto Ugoccioni [Bug 1063675].
* * library/tk.tcl (::tk::PlaceWindow): Backported the fix frompatthoyts2004-10-291-2/+6
| | | | #533519 to handle window placement on multi-monitor Windows.
* * library/xmfbox.tcl (MotifFDialog_BuildUI): Fix [Bug 987169] indgp2004-10-271-2/+5
| | | | the Motif file dialogs as well. Backport of DKF bug fix.
* More state resetting on dialog start. [Bug 845189]dkf2004-09-101-1/+3
|
* Stop tk_strictMotif poisoning of the widget demo [Bug 1013942]dkf2004-09-101-1/+5
|
* * library/tkfbox.tcl (::tk::dialog::file::Create): use labelhobbs2004-09-061-15/+3
| | | | | instead of button for "File of type", as it properly handles -state disabled now.
* * library/text.tcl (::tk::TextTranspose): Ensure that Transpose ishobbs2004-08-261-11/+21
| | | | an atomic op to undo. Replace 'string compare' with 'ne'.
* * library/tkfbox.tcl (::tk::dialog::file::Update): use -directoryhobbs2004-07-221-8/+13
| | | | | [pwd] (instead of .) to get around some VFS edge case bugs. Use [bind $w], not [$w configure] to modify bindings.
* Users can cause Unix file dialog to vanish early; treat like Cancel [Bug 987169]dkf2004-07-111-1/+13
|
* Shrank the font size of messages in the Unix/X11 [tk_messageBox]dkf2004-05-131-2/+2
| | | | It looks better like this. :^)
* * library/panedwindow.tcl (MarkSash): call DragSash to stop sashhobbs2004-05-031-1/+6
| | | | | | jump when B1 is pressed and released without moving. [Bug #932155] Make the panedwindow -opaqueresize option work as per the docs. [Bug #778893]
* * library/bgerror.tcl (bgerror): rework to only set -topmost bithobbs2004-04-171-55/+35
| | | | | on Windows if necessary. Also use existing ::tk functions for placing dialog and managing focus/grab.
* * macosx/tkMacOSXMouseEvent.c: fixed modifiers for MouseWheel events.das2004-02-173-3/+36
| | | | | | | | | | | * library/listbox.tcl: * library/text.tcl: * library/scrlbar.tcl: on Mac OS, add bindings for MouseWheel with modifiers, according to platform convention: Option increases scrolling speed 10 fold; Space scrolls horizontally. * macosx/Wish.pbproj/project.pbxproj: * macosx/tkAboutDlg.r: changed year in copyright strings to 2004.
* This gets the scroll wheel working for listboxes and text widgets for Mac OSwolfsuit2004-02-162-6/+20
| | | | | | X. It also changes the model to route scrollwheel events to the window under the pointer, not the focus window on X (and only on X). That is the correct behavior for Mac OS X.
* Esperanto and Polish message catalogs from Artur Trzewikdkf2004-02-102-0/+146
|
* * library/menu.tcl (::tk::MbPost): make menubuttons that posthobbs2004-02-041-2/+11
| | | | above or below reverse direction when not enough space is available.
* (::tk::dialog::file::ActivateEnt): allow typing filename intohobbs2003-11-121-3/+10
| | | | entry when tk_getOpenFile -multiple 1 is specified. [Bug #788069]
* * library/tkfbox.tcl (::tk::dialog::file::Update): optimize thehobbs2003-11-111-35/+19
| | | | | | | dir/files list separation by using the -tails, -directory and -type option of 'glob'. Also passes the glob the -filetypes filters instead of calling string match over each file. [Patch #833819]
* Updated messages for Dutch from Arjen Markus and Pascal Scheffers [Patch 820519]dkf2003-11-011-18/+21
|
* * library/tkfbox.tcl (IconList_Create,IconList_Add): Added optiondkf2003-10-291-2/+8
| | | | | munging to allow some control of foreground colours on Unix in the same way that you can influence the background. [Bug 795717]