summaryrefslogtreecommitdiffstats
path: root/library
Commit message (Collapse)AuthorAgeFilesLines
* 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]
* Make sure we do default placement strategy when placement is empty [Bug 819284]dkf2003-10-281-2/+6
|
* Constrain tk_dialg to be sensibly sized and placed. [Bug 827535]dkf2003-10-221-1/+11
|
* * library/scale.tcl: Clear bug with chording mouse buttons.patthoyts2003-10-031-3/+5
|
* * library/demos/widget: don't create iconwindow on aqua, but adddas2003-09-251-3/+3
| | | | | | about menu like on classic. * macosx/Makefile: pass MAKEOVERRIDES to pxbuild. * macosx/tkMacOSXButton.c: added -compound support for bevel buttons.
* * library/scale.tcl: Fix for bug #787065 for Button-2 press.patthoyts2003-08-131-1/+2
| | | | * tests/scale.test: Added test for this bug.
* * library/panedwindow.tcl: use widget-specific Priv slots forhobbs2003-07-191-20/+21
| | | | | pwAfterId and panecursor items to correctly handle cursor changes with adjacant panedwindows.
* * win/tkWinCursor.c (TkGetCursorByName): Fix bug 420510 to providepatthoyts2003-07-191-3/+11
| | | | consistency between unix and windows -cursor option.