summaryrefslogtreecommitdiffstats
path: root/library
Commit message (Collapse)AuthorAgeFilesLines
...
* * library/demos/widget: Redo code view dialog, use named fonts,hobbs2003-08-2040-319/+300
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * library/demos/arrow.tcl: add basic see/dismiss routine with * library/demos/bind.tcl: images for better look & feel * library/demos/bitmap.tcl: * library/demos/button.tcl: * library/demos/check.tcl: * library/demos/clrpick.tcl: * library/demos/colors.tcl: * library/demos/cscroll.tcl: * library/demos/ctext.tcl: * library/demos/entry1.tcl: * library/demos/entry2.tcl: * library/demos/entry3.tcl: * library/demos/filebox.tcl: * library/demos/floor.tcl: * library/demos/form.tcl: * library/demos/hscale.tcl: * library/demos/icon.tcl: * library/demos/image1.tcl: * library/demos/image2.tcl: * library/demos/items.tcl: * library/demos/label.tcl: * library/demos/labelframe.tcl: * library/demos/menu.tcl: * library/demos/menubu.tcl: * library/demos/paned1.tcl: * library/demos/paned2.tcl: * library/demos/plot.tcl: * library/demos/puzzle.tcl: * library/demos/radio.tcl: * library/demos/ruler.tcl: * library/demos/sayings.tcl: * library/demos/search.tcl: * library/demos/spin.tcl: * library/demos/states.tcl: * library/demos/style.tcl: * library/demos/text.tcl: * library/demos/twind.tcl: * library/demos/unicodeout.tcl: * library/demos/vscale.tcl:
* * library/scale.tcl: Fix for bug #787065 for Button-2 press.patthoyts2003-08-131-1/+3
| | | | * tests/scale.test: Added test for this bug.
* Fixed stupid typo.patthoyts2003-07-311-2/+2
|
* * library/panedwindow.tcl: Apply patch from bug #778893 to makepatthoyts2003-07-281-1/+4
| | | | the panedwindow -opaqueresize option work as per the docs.
* * library/tk.tcl: Apply fix for bug #778840 for window placementpatthoyts2003-07-281-1/+5
| | | | when using multiple desktops on windows.
* * 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: Applied misplaced Tcl RFE 700799 to providepatthoyts2003-07-191-3/+11
| | | | the windows hand cursor where available.
* Windows menu popup location fixvincentdarley2003-06-261-3/+7
|
* library/msgs/cs.msg updated msg catalog [Bug 743796] <wohnivec@iol.cz>bagnonm2003-05-291-17/+31
|
* MacOS tearoff menu location fixvincentdarley2003-05-271-1/+6
|
* I18n (and some l10n) for the console and the main window of the widget demo.dkf2003-05-196-166/+406
|
* tip 113 implementationvincentdarley2003-05-191-11/+11
|
* * 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.
* 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
|