summaryrefslogtreecommitdiffstats
path: root/library/console.tcl
Commit message (Collapse)AuthorAgeFilesLines
* See previous commit, but don't do this for user-provided script filesjan.nijtmans2020-10-231-1/+1
|
* Always "source -encoding utf-8" Tk's own script files. Since Tk 8.7 runs in ↵jan.nijtmans2020-10-231-2/+2
| | | | either Tcl 8.6 or 8.7, we then can trust the real encoding used, even though (in Tk 8.6) all those files are still ASCII
* Simplify throughout: ButtonPress -> Button, KeyPress -> Key (or remove it ↵jan.nijtmans2020-09-081-1/+1
| | | | | because it is the default anyway) Use 'in' operator in stead of 'lsearch -exact' when possible
* Fix namespace error in console.tcl - Thanks to Adam Kapos for the patch.culler2020-07-251-2/+2
|
* Fix [3295446]: Make the insertion cursor always visible when browsing ↵fvogel2017-08-121-0/+2
| | | | console history. Patch from Andy Goth.
* Remove various unnecessary "global tcl_platform" occurrences, which are no ↵jan.nijtmans2015-08-051-6/+28
| | | | | longer used. Add "Fit To Screen Width" menu entry to Windows (and android) console menu. Ported from androwish.
* Remove unnecessary end-of-line spacingjan.nijtmans2015-02-021-4/+4
|
* fix <Up> and <Down> binding in windows consolejan.nijtmans2012-09-111-4/+2
|
* Generate -errorcode values to go with errors. Generate messages and postscriptdkf2012-08-271-2/+2
| | | using Tcl_Obj API, not the string result API.
* [Bug 3555644]: Better use of virtual events.jan.nijtmans2012-08-091-4/+2
|
* Purge RCS Keywordsdgp2011-06-081-2/+0
|\
| * Purge RCS Keywords.dgp2011-06-081-2/+0
| |\
| | * Purge RCS Keywords.dgp2011-06-081-2/+0
| | |
| | * Backport from HEAD of Aqua changes from 2007-10-12 to 2007-11-09das2007-11-091-2/+2
| | |
| | * Backport from HEAD of Aqua changes from 2007-10-12 to 2007-11-09das2007-11-091-2/+3
| | |
| | * * library/bgerror.tcl: Updates to use Tcl 8.4 features. [Patch ↵dgp2006-01-251-39/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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/console.tcl (::tk::ConsoleInit): improve work-around tohobbs2005-11-301-2/+4
| | | | | | | | | | | | avoid '% ' from tclMain.c [Bug 1252259]
| | * 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.
| | * * library/console.tcl (::tk::console::ExpandVariable): correcthobbs2004-11-171-2/+4
| | | | | | | | | | | | array keyname expansion. [Bug 1004508] (bold)
* | | Restore proper NUL output to the [console]. [Bug 2546087]dgp2011-06-061-1/+1
|\ \ \ | |/ /
| * | Backported fix for console keyboard menu activation and <<Cut>> handling.patthoyts2010-01-041-28/+40
| | |
| * | * library/console.tcl (::tk::ConsoleInit): remove redundant TkAquadas2009-04-101-5/+2
| | | | | | | | | | | | Quit menu item.
| * | catch font create when the console is re-sourced via F9patthoyts2009-01-301-2/+2
| | |
* | | Fix the console <<Cut>> binding to actually remove textpatthoyts2010-01-041-27/+38
| | |
* | | Fix keyboard access to console menu and restored broken comment.patthoyts2010-01-041-2/+3
| | |
* | | Merge of TkAqua Cocoa portmacosx_cocoa_mergedas2009-06-291-1/+6
| | |
* | | * library/console.tcl (::tk::ConsoleInit): remove redundant TkAquadas2009-04-101-5/+2
| | | | | | | | | | | | Quit menu item.
* | | [Bug 2546087] Restore support for NULs in console stdout channel.patthoyts2009-02-211-2/+2
| | | | | | | | | | | | | | | | | | | | | In 2004 a fix to Tcl channels prevented the exposure of the internal UTF-8 representation of the ASCII NUL character (\uc080). Since then strings in the console have been truncated at NUL. This restores the older behaviour.
* | | catch font create when the console is re-sourced via F9patthoyts2009-01-301-2/+2
| | |
* | | TIP #324 IMPLEMENTATIONdas2008-12-101-4/+59
| | |
* | | Support pixel sized font in the +/- keybindingspatthoyts2008-05-131-3/+8
|/ /
* | merge stable branch onto HEADdgp2007-12-131-1/+1
| |
* | * macosx/tkMacOSXButton.c: sync formatting, whitespace, copyrightdas2007-11-091-1/+2
| | | | | | | | | | | | | | | | | | | | * macosx/tkMacOSXDialog.c: with core-8-4-branch. * macosx/tkMacOSXMenus.c: * macosx/tkMacOSXWm.c: * xlib/xgc.c * library/bgerror.tcl: * library/console.tcl: * library/menu.tcl:
* | * library/console.tcl: add accelerators and fix Aqua bindingsdas2007-11-041-7/+15
| | | | | | | | of the new font size menu items.
* | Add menu item and key binding to adjust fontpatthoyts2007-11-031-1/+17
| |
* | On aqua, use tk scrollbarpatthoyts2007-10-201-2/+6
| |
* | Make use of TkFixedFont and ttk widgets in the console. Try and select a ↵patthoyts2007-10-121-15/+30
| | | | | | | | better fixed font just for the console.
* | * library/bgerror.tcl: Updates to use Tcl 8.4 features. [Patch ↵dgp2006-01-251-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 1237759] * library/choosedir.tcl: * library/comdlg.tcl: * library/console.tcl: * library/dialog.tcl: * library/focus.tcl: * library/msgbox.tcl: * library/palette.tcl: * library/tk.tcl: * library/tkfbox.tcl: * library/xmfbox.tcl:
* | * library/console.tcl (::tk::ConsoleInit): improve work-around tohobbs2005-11-301-2/+4
| | | | | | | | avoid '% ' from tclMain.c [Bug 1252259]
* | Apply some of the changes suggested in [Patch 1237759]dkf2005-07-251-5/+5
| |
* | more elaborate variant to get first prompt displayed without a puts callhobbs2005-05-311-2/+14
| |
* | * library/console.tcl (::tk::ConsoleInit): print out first prompthobbs2005-05-301-1/+7
| | | | | | | | and swallow the extra "% " that comes once from Tcl on Windows.
* | * library/console.tcl (::tk::console::ExpandVariable): correcthobbs2004-11-171-2/+2
| | | | | | | | array keyname expansion. [Bug 1004508] (bold)
* | Removed support for Mac OS Classic platform [Patch 918139]das2004-03-171-17/+5
| |
* | * library/console.tcl: Avoid including the console in the listpatthoyts2003-10-021-1/+4
| | | | | | | | of interpreters exposed by [winfo interps].
* | I18n (and some l10n) for the console and the main window of the widget demo.dkf2003-05-191-94/+157
|/
* * 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.
* *** macosx-8-4-branch merged into the mainline [tcl patch #602770] ***macosx_8_4_merge_2002_08_31_trunkdas2002-08-311-8/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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/console.tcl: corrected the defaultPrompt substitutionhobbs2002-06-221-8/+5
| | | | [Bug #553207] and made Tab a default expansion key (like Escape).