summaryrefslogtreecommitdiffstats
path: root/library
Commit message (Collapse)AuthorAgeFilesLines
* * 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.
* * library/msgs/fr.msg: updated msg catalog. [Bug #737790] (zolli)hobbs2003-05-141-9/+9
|
* * library/bgerror.tcl: make bgerror dialog topmost on Windows tohobbs2003-04-251-3/+6
| | | | prevent it being covered by other windows.
* Backport of the 'Message box buttons too wide' fix. [Bug #701812]dkf2003-03-141-3/+3
|
* * library/clrpick.tcl (color::BuildDialog):dkf2003-02-212-16/+12
| | | | | | * library/msgbox.tcl (MessageBox): Yet more places that did complex and fragile width calculations instead of using grid, though with these it is the -uniform option that saves the day.
* Made the standard file dialogs use [grid] for their bottom area [Bug #673722]dkf2003-02-211-52/+33
|
* * library/comdlg.tcl (FDGetFileTypes): Set an upper limit on howdkf2003-02-211-2/+10
| | | | | long a file type item description string can get due to appending of types. [Bug #617392]
* Typo fix from Georgios Petasis, and commented-out-code removal.dkf2003-02-211-18/+2
|
* * library/console.tcl: (aqua & macintosh) added missing <Cmd-q>das2003-02-211-1/+7
| | | | | | | | | | binding for corresponding Quit menu item shortcut. * macosx/README: updated instructions for embedded build, added various improvements by Russell Owen. * unix/tcl.m4: update from Tcl. * unix/configure: regen.
* New part for the widget demo showing Tk's UNICODE output. [Patch #627453]dkf2003-02-192-1/+96
|
* * library/tk.tcl (::tk::TabToWindow): auto-highlight spinboxes ashobbs2003-02-181-3/+4
| | | | well as entries when tabbing in. [Patch #683813] (bron)
* * library/xmfbox.tcl (::tk::MotifFDialog_ActivateSEnt): correcthobbs2003-02-181-2/+2
| | | | sub on embedded newlines. [Patch #688572] (bonfield)
* Fix the entry widget's KeyPress binding so that text is entered fromdrh2003-01-231-1/+2
| | | | | left to right, not right to left, even if the mouse button is being held down. [Bug #673687].
* * library/tk.tcl: simplified the adding of extra <ISO_Left_Tab>hobbs2002-10-101-13/+7
| | | | and <hpBackTab> events to <<PrevWindow>>.
* * library/tk.tcl: use command instead of control on Aqua bindings.hobbs2002-09-091-6/+11
| | | | | | | | | | | | | | | | | | Force dialogs to appear below fixed native Mac menubar. * macosx/tkMacOSXKeyEvent.c: * macosx/tkMacOSXKeyboard.c: Keypress/release events for pure modifier keys were not being passed to Tk. Deadkey presses were inserting null characters into text windows. Now they do nothing. (Still not ideal, but better than before!) * macosx/tkMacOSXMenu.c: Allow more than 200 menus to exist - increased to 2000. * macosx/tkMacOSXMouseEvent.c: Bad interactions between floating windows and ordinary ones. Ensure that local<->global coordinate transformations are wrt to the correct window. * macosx/tkMacOSXWm.c: Better error msg for 'wm attributes'. Remove crash in 'wm transient'. Add 'noActivates' and 'noUpdates' flags to unsupported command. [Patch #606658] (darley)
* * library/xmfbox.tcl (::tk::MotifFDialog_ActivateSEnt): correcteduid381722002-09-091-10/+9
| | | | msgcat code with XPG specifier. [Patch #606719] (miller)
* * library/button.tcl: further restrict buttons to not resettinghobbs2002-09-041-29/+55
| | | | | | the "original" relief if it has changed in the interim. This prevents code that simulated overrelief buttons from not working in 8.4. [Bug #604270]
* * library/button.tcl (::tk::ButtonLeave): correctly restore statehobbs2002-09-021-2/+2
| | | | of button to normal for unix bindings. [Bug #597920]
* *** macosx-8-4-branch merged into the mainline [tcl patch #602770] ***macosx_8_4_merge_2002_08_31_trunkdas2002-08-3116-72/+128
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tk.decls: * generic/tkInt.decls: added new "aqua" specific entries to the stubs tables. Changed all "unix" entries to "x11" to allow us to distinguish and build both "aqua" on MacOSX and "x11" on MacOSX. * generic/tk.h: added a #ifnded RESOURCE_INCLUDED so that tk.h can be passed to the resource compiler. * generic/tkCmds.c (Tk_TkObjCmd): added [tk windowingsystem] subcommand: returns "x11" when running on X11, "win32" on Windows, "classic" on MacOS9 and "aqua" on MacOSX Aqua (i.e. Carbon) * generic/tkFont.c (TkFontGetFirstTextLayout): new private function returning the first chunk of a Tk_TextLayout, i.e. until the first font change on the first line (or the whole first line if there is no such font change). * generic/tkMain.c: made Tcl_ThreadDataKey static * library/demos/puzzle.tcl: fixed button metrics for aqua * tests/cursor.test: check for presence of arrow cursor instead of heart cursor * xlib/xcolors.c: changed xColors static initialization to more standard C * macosx/Wish.pbproj/jingham.pbxuser (new): * macosx/Wish.pbproj/project.pbxproj (new): project for Apple's ProjectBuilder IDE. * macosx/Makefile (new): simple makefile for building the project from the command line via the ProjectBuilder tool 'pbxbuild'. * macosx/tkMacOSXAppInit.c (new): macosx specific AppInit looking for a AppMain.tcl file in its bundled Resources/Scripts folder. If present, argv[1] is set to that file and the Scripts folder is added to the auto_path. This allows tk apps to embed scripts within their bundle directory structure. * macosx/tkMacOSXInit.c (new): macosx adapted version of tkUnixInit.c: we initialize & cache the Carbon native encoding (e.g. 'macRoman') and try to find the tk script library files inside Tk packaged as a framework. * macosx/tkMacOSXNotify.c (new): new macosx specific merged Carbon/select-based notifier. * macosx/tkMacOSXEvent.c (new): * macosx/tkMacOSXEvent.h (new): * macosx/tkMacOSXKeyEvent.c (new): * macosx/tkMacOSXMouseEvent.c (new): * macosx/tkMacOSXWindowEvent.c (new): new macosx specific event handling functionality. * macosx/tkMacOSX.h (new): * macosx/tkMacOSXBitmap.c (new): * macosx/tkMacOSXButton.c (new): * macosx/tkMacOSXClipboard.c (new): * macosx/tkMacOSXColor.c (new): * macosx/tkMacOSXConfig.c (new): * macosx/tkMacOSXCursor.c (new): * macosx/tkMacOSXDefault.h (new): * macosx/tkMacOSXDialog.c (new): * macosx/tkMacOSXDraw.c (new): * macosx/tkMacOSXEmbed.c (new): * macosx/tkMacOSXFont.c (new): * macosx/tkMacOSXHLEvents.c (new): * macosx/tkMacOSXInt.h (new): * macosx/tkMacOSXKeyboard.c (new): * macosx/tkMacOSXMenu.c (new): * macosx/tkMacOSXMenubutton.c (new): * macosx/tkMacOSXMenus.c (new): * macosx/tkMacOSXPort.h (new): * macosx/tkMacOSXRegion.c (new): * macosx/tkMacOSXScale.c (new): * macosx/tkMacOSXScrlbr.c (new): * macosx/tkMacOSXSubwindows.c (new): * macosx/tkMacOSXTest.c (new): * macosx/tkMacOSXUtil.c (new): * macosx/tkMacOSXUtil.h (new): * macosx/tkMacOSXWm.c (new): * macosx/tkMacOSXWm.h (new): * macosx/tkMacOSXXStubs.c (new): macosx ports of classic mac Tk implementation in tk/mac. * macosx/tkMacOSXSend.c (new): only send to local interp implemented currently. * macosx/tkMacOSXDebug.h (new): * macosx/tkMacOSXDebug.c (new): new macosx specific functions for debugging MacOS events, regions, etc. * macosx/tkAboutDlg.r (new): * macosx/tkMacOSXApplication.r (new): * macosx/tkMacOSXCursors.r (new): * macosx/tkMacOSXLibrary.r (new): * macosx/tkMacOSXMenu.r (new): * macosx/tkMacOSXResource.r (new): * macosx/tkMacOSXXCursors.r (new): * macosx/tclets.r (new): sources for Rez resource compiler. * macosx/Wish.icns (new): Wish application icon. * generic/tk.h: * generic/default.h: * generic/tkBind.c: * generic/tkCmds.c: * generic/tkGrab.c: * generic/tkPointer.c: * generic/tkPort.h: * generic/tkSelect.c: * generic/tkStubLib.c: * generic/tkTest.c: * generic/tkText.c: * generic/tkWindow.c: * unix/tkUnix3d.c: * xlib/xgc.c: * xlib/X11/X.h: * xlib/X11/Xlib.h: * xlib/X11/Xutil.h: added #includes and #ifdefs for macosx * library/bgerror.tcl: * library/button.tcl: * library/console.tcl: * library/dialog.tcl: * library/entry.tcl: * library/listbox.tcl: * library/menu.tcl: * library/msgbox.tcl: * library/scrlbar.tcl: * library/spinbox.tcl: * library/text.tcl: * library/tk.tcl: * library/demos/menu.tcl: * library/demos/menubu.tcl: * library/demos/widget: check [tk windowingsystem] instead of and/or in addition to $tcl_platform(platform). * generic/tkInt.h: * mac/tkMacBitmap.c: * mac/tkMacWm.c: added missing CONSTification * generic/tkIntDecls.h: * generic/tkIntPlatDecls.h: * generic/tkIntXlibDecls.h: * generic/tkPlatDecls.h: * generic/tkStubInit.c: regen
* * library/button.tcl: change the bindings to use Priv($w,relief)hobbs2002-08-131-135/+131
| | | | | instead of just Priv(relief). This ensures that neighboring buttons don't confuse (over)relief settings.
* Tweaked resizing behaviour of the image-viewer demo.dkf2002-08-121-4/+4
|