summaryrefslogtreecommitdiffstats
path: root/library
Commit message (Collapse)AuthorAgeFilesLines
* Better aesthetics for the messageBox. [Bug #701812]dkf2003-03-121-3/+3
|
* * README: Bumped version number ofdgp2003-03-041-3/+3
| | | | | | | | | | | | | | | | | * generic/tk.h: Tk to 8.5a0. * library/tk.tcl: * mac/README: * macosx/Wish.pbproj/project.pbxproj: * unix/README: * unix/configure.in: * unix/tk.spec: * win/README: * win/configure.in: * win/makefile.vc: * win/tcl.m4: * unix/configure: autoconf * win/configure:
* * 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
|
* * generic/tkPanedWindow.c (Tk_PanedWindowObjCmd):hobbs2002-08-081-10/+10
| | | | | | * library/panedwindow.tcl: changed class from PanedWindow to Panedwindow to not conflict with existing bwidgets, but also to be more regular with other names used in the core.
* * library/spinbox.tcl (MouseSelect): when not in the entry, justhobbs2002-07-251-15/+11
| | | | | return instead of invoking - ButtonUp handles invoking already. [Bug #499168]
* * library/tk.tcl (RestoreFocusGrab): handle the case where thehobbs2002-07-251-3/+7
| | | | FocusGrab info is not set. [Bug #553283]
* * library/choosedir.tcl (tk::dialog::file::chooseDir):mdejong2002-07-225-40/+5
| | | | | | | | | | * library/clrpick.tcl (tk::dialog::file::chooseDir): * library/msgbox.tcl (tk::MessageBox): * library/tkfbox.tcl (tk::dialog::file): * library/xmfbox.tcl (tk::MotifFDialog): Revert [Tk patch 568278]. The transient window workaround is no longer needed since the fix for [Tk bug 570764] solved the problem for withdrawn transients.
* Oops. Minor fix to the previous fix.drh2002-07-191-2/+2
|
* Fix a bug in the Postscript encoding vector generator that was causingdrh2002-07-191-4/+3
| | | | postscript generation to fail under Win2K.
* * library/unsupported.tcl: Extended ExposePrivateVariable, andrmax2002-07-171-8/+16
| | | | ExposePrivateCommand to accept patterns as well.
* Improvements to bgerror dialog layout. [Bug #577086]dkf2002-07-041-6/+12
|
* Force the message box to have consistent background colours. [Bug#552515]dkf2002-06-281-9/+15
|
* Applied patch #546910 -- international postscript outputa_kovalenko2002-06-252-0/+1369
|
* * library/menu.tcl: corrected menus from being posted offscreenhobbs2002-06-221-36/+48
| | | | on Windows. [Bug #464451] (darley)
* * library/console.tcl: corrected the defaultPrompt substitutionhobbs2002-06-221-8/+5
| | | | [Bug #553207] and made Tab a default expansion key (like Escape).
* * doc/text.n: TIP #104 implementation which generalizes thehobbs2002-06-211-7/+3
| | | | | | | | | | | | | | | * generic/tkText.c: undo/redo stack to not be tied solely to the * generic/tkText.h: text widget. The APIs are still private. * generic/tkUndo.c: This also adds a stack limiting ability and * generic/tkUndo.h: a -maxundo option to the text widget (in * library/text.tcl: addition to the options from TIP #26) should * mac/tkMacDefault.h: users want to limit the undo/redo stack * tests/text.test: (should not be necessary in most cases). * unix/Makefile.in: [Patch #554763] (callewart) * unix/tkUnixDefault.h: * win/Makefile.in: * win/makefile.vc: * win/tkWinDefault.h:
* * Added catalog for UK English.dgp2002-06-171-0/+3
| | | | Currently includes only Color -> Colour translation.
* * library/choosedir.tcl (tk::dialog::file::chooseDir):mdejong2002-06-135-5/+40
| | | | | | | | | | | * library/clrpick.tcl (tk::dialog::file::chooseDir): * library/msgbox.tcl (tk::MessageBox): * library/tkfbox.tcl (tk::dialog::file): * library/xmfbox.tcl (tk::MotifFDialog): Remove the transient property on dialogs after they have been dismissed to insulate them from further state changes in the master. This keeps a withdrawn dialog from being mapped when the master is deiconified. [Tk patch 568278]
* * library/choosedir.tcl (tk::dialog::file::chooseDir):mdejong2002-06-126-12/+50
| | | | | | | | | | | | | * library/clrpick.tcl (tk::dialog::color): * library/dialog.tcl (tk_dialog): * library/msgbox.tcl (tk::MessageBox): * library/tkfbox.tcl (tk::dialog::file): * library/xmfbox.tcl (tk::MotifFDialog_Create): Only make the dialog window a transient if the master is visible. This check already appeared in some of the dialogs. This patch just copies the check into those that were lacking.
* fix for bug report #530212 "Bad Window Path Name in tkMenuFind"jenglish2002-06-111-5/+3
|
* Added "magic ampersand" approach for translated strings in standard dialogs.a_kovalenko2002-06-1014-306/+458
| | | | | All translations were modified to work with "magic ampersand". Russian translations added.
* * library/bgerror.tcl (tk::dialog::error::bgerror):mdejong2002-06-091-5/+2
| | | | | Don't set the bgerror dialog as a transient of itself since this operation is ill defined.
* Make non-default buttons in messagebox have -default normala_kovalenko2002-06-061-1/+3
|
* * A little namespace cleanup on Daniel Steffen'sdgp2002-05-201-16/+21
| | | | latest revisions to avoid defining new global commands.
* * mac/tkMacInit.c:das2002-05-202-13/+24
| | | | | | | * library/console.tcl: * library/tk.tcl: fix tk.tcl not sourcing library files that define bindings at startup on mac. (independent of tk library files being in resources or on auto_path)
* * Cleaned up namespace usage of the bgerrordgp2002-05-082-59/+62
| | | | dialog. Completes soft dependence on msgcat. [FR 539309]
* new feature, make dependence on msgcat soft, [539309]bagnonm2002-05-031-14/+16
|
* new feature, make dependence on msgcat soft, [539309]bagnonm2002-04-298-145/+143
|
* namespacing ::tk message catalogs, bug [546333]bagnonm2002-04-269-579/+594
|
* * library/button.tcl (ButtonLeave): corrected the 3hobbs2002-04-231-10/+11
| | | | | implementations of ButtonLeave to check for Priv(relief) existing before trying to use it. [Patch #541849]
* fixed translation of yes from si to "s\u00ed"bagnonm2002-04-161-1/+1
|
* Modifed the translation of Yes from "Si" to "S\u00ed"bagnonm2002-04-161-1/+1
|
* new feature request, 539309 make dependence on msgcat "soft"bagnonm2002-04-161-3/+30
| | | | | msgcat procedures as used in tk defined in case the package is not available.
* Middle button no longer double pastes into text! Also cleaned some code up.dkf2002-03-071-9/+8
|