summaryrefslogtreecommitdiffstats
path: root/generic/tkConsole.c
Commit message (Collapse)AuthorAgeFilesLines
* Rename references to CrtSlave -> CrtAlias. Some more slave -> child changes ↵jan.nijtmans2020-08-041-2/+2
| | | | not affecting the API
* Upgrade console channel type to TCL_CHANNEL_VERSION_5.jan.nijtmans2020-02-251-3/+16
|
* Fix [ee40fd1fce]: Report possible error message from the consoleInterp to ↵fvogel2017-08-121-1/+5
| | | | interp in Tk_CreateConsoleWindow. Patch from Han The.
* Eliminate all usage of __WIN32__ macro: Some compilers (e.g. Clang/LLVM) ↵jan.nijtmans2014-02-101-1/+1
| | | | | don't define it, and _WIN32 is much more portable anyway. See: [http://nadeausoftware.com/articles/2012/01/c_c_tip_how_use_compiler_predefined_macros_detect_operating_system#WindowsCygwinnonPOSIXandMinGW]
* more places convertedjan.nijtmans2013-01-241-2/+2
|
* Merge core-8-5-branchjan.nijtmans2013-01-241-4/+4
|\ | | | | Various Tcl_GetIndexFromObj -> Tcl_GetIndexFromObjStruct changes.
* \ Bug [3601782]: Produce a nice error-message when the first Tcl_InitStubs() ↵jan.nijtmans2013-01-221-3/+2
|\ \ | |/ | | | | fails, in stead of simply abort()
| * Bug [3601782]: Produce a nice error-message when the first Tcl_InitStubs() ↵jan.nijtmans2013-01-221-2/+1
| |\ | | | | | | | | | fails, in stead of simply abort()
| | * Bug [3601782]: Produce a nice error-message when the first Tcl_InitStubs() ↵jan.nijtmans2013-01-221-2/+1
| | | | | | | | | | | | fails, in stead of simply abort()
| * | fix commentjan.nijtmans2013-01-151-1/+1
| | |
* | | More flexible search for win32 tclConfig.sh, backported from TEA. jan.nijtmans2013-01-151-1/+1
|\ \ \ | |/ / | | | | | | | | | Don't use deprecated "case" any more. Don't do unnecessary Tcl_PkgRequire(..., "Tcl", ...), the preceding Tcl_InitStubs() call already does that, both for dynamic loaded as wel as the static case. Disallow Tk 8.6.x to be loaded in any Tcl 8.6 alpha/beta release.
| * | Don't use deprecated "case" any more.jan.nijtmans2013-01-151-1/+1
| |\ \ | | |/ | | | | | | Don't do unnecessary Tcl_PkgRequire(..., "Tcl", ...), the preceding Tcl_InitStubs() call already does that, both for dynamic loaded as wel as the static case. Disallow Tk 8.5.x to be loaded in any Tcl 8.5 alpha release.
* | | Eliminate all usage of deprecated Tcl_EvalObj, Tcl_GlobalEval and ↵jan.nijtmans2013-01-111-6/+7
|\ \ \ | |/ / | | | | | | | | | Tcl_GlobalEvalObj functions. Add [file normalize] to pkgIndex.tcl, in order to prevent '..' in file paths.
| * | Eliminate all usage of deprecated Tcl_EvalObj, Tcl_GlobalEval and ↵jan.nijtmans2013-01-111-6/+7
| |\ \ | | |/ | | | | | | | | | | | | | | | Tcl_GlobalEvalObj functions. Add [file normalize] to pkgIndex.tcl, in order to prevent '..' in file paths. Remove unused TCLPATCHL, it should be ".0" for all final releases. Enable tk.h to be used with higher tcl.h versions which might lack _ANSI_ARGS_
| | * Eliminate all usage of deprecated Tcl_EvalObj, Tcl_GlobalEval and ↵jan.nijtmans2013-01-111-5/+5
| | | | | | | | | | | | | | | | | | Tcl_GlobalEvalObj functions. Add [file normalize] to pkgIndex.tcl, in order to prevent '..' in file paths. Remove unused TCLPATCHL, it should be ".0" for all final releases.
| | * More complete purge of things only present for supporting long-dead Mac 9 ↵dgp2012-11-151-4/+0
| | | | | | | | | | | | systems.
| | * SetOptions.3: minor doc fixjan.nijtmans2012-06-191-2/+2
| | | | | | | | | | | | make various other tables CONST (All backported from Tk 8.6)
| | * [Bug 3388350] mingw64 compiler warningsjan.nijtmans2011-08-161-8/+0
| | |
* | | Much more cleaning up of result handling.dkf2012-07-231-2/+6
| | |
* | | _Xconst -> constjan.nijtmans2012-02-211-1/+1
|\ \ \ | |/ /
* | | [Bug 3388350] mingw64 compiler warningsjan.nijtmans2011-08-131-8/+0
|\ \ \ | |/ /
| * | [Bug 3388350] mingw64 compiler warningsjan.nijtmans2011-08-131-8/+1
| |\ \ | | |/
* | | Purge RCS Keywordsdgp2011-06-081-2/+0
|\ \ \ | |/ /
| * | Purge RCS Keywords.dgp2011-06-081-2/+0
| |\ \ | | |/
| | * Purge RCS Keywords.dgp2011-06-081-2/+0
| | |
* | | Restore proper NUL output to the [console]. [Bug 2546087]dgp2011-06-061-1/+17
|\ \ \ | |/ /
| * | Restore proper NUL output to the [console]. [Bug 2546087]dgp2011-06-061-1/+19
| |\ \ | | |/
| | * Restore proper NUL output to the [console]. [Bug 2546087]dgp2011-06-061-1/+19
| | |
| | * * generic/tkConsole.c: Complete reversal of the changes of Sep 22.andreas_kupries2006-09-251-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tkMain.c: For compat reason the Tcl core will not change * generic/tkWindow.c: the registered version to include the patchlevel, * library/tk.tcl: making the changes to Tk unnecessary. * unix/configure: * unix/Makefile.in: * unix/tcl.m4: * win/configure: * win/Makefile.in: * win/makefile.vc: * win/rules.vc: * win/tcl.m4:
| | * * generic/tkConsole.c: TIP #268 update regarding registered packageandreas_kupries2006-09-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tkMain.c: version, now using full patchlevel instead of * generic/tkWindow.c: major.minor * library/tk.tcl: * unix/configure: * unix/Makefile.in: * unix/tcl.m4: * win/configure: * win/Makefile.in: * win/makefile.vc: * win/rules.vc: * win/tcl.m4:
| | * * generic/tkInt.h: Thread safety for the data structures ofdgp2006-06-051-317/+455
| | | | | | | | | | | | * generic/tkConsole.c: the wish [console]. [Bug 1188340].
| | * * generic/tkConsole.c: Added Tcl_RegisterChannel() calls to bumpdgp2006-06-011-2/+11
| | | | | | | | | | | | | | | the refcount of channels passed to Tcl_SetStdChannel(). This prevents early free-ing of the channels that leads to crashes. [Bug 912571].
| | * * generic/tkConsole.c: backport fix for bug 756840 & sync whitespacedas2005-06-231-8/+26
| | | | | | | | | | | | | | | | | | changes from HEAD. * generic/tkConsole.c (TkConsolePrint): prevent potential NULL deref.
| | * Backported [console] rename fix. [Bug 1016385]dkf2005-06-031-42/+38
| | |
| * | * generic/tkConsole.c: Relax the runtime version requirements on Tcldgp2009-10-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tkMain.c: so that Tk 8.5.8 can [load] into Tcl 8.6 (and * generic/tkWindow.c: later 8.*) interps. * library/tk.tcl * unix/Makefile.in: * win/Makefile.in: * win/makefile.vc:
* | | Remove casts from uses of ckalloc/ckfree/... now that Tcl declares them to bedkf2011-03-121-14/+20
| | | | | | | | | using useful casts internally.
* | | Eliminate tkpMenubuttonClassnijtmans2010-01-131-2/+3
| | | | | | | | | | | | | | | make tkpButtonProcs CONST fix gcc warnings: missing initializer
* | | SMALL FIX: Remove useless explicit casts now that we require C89 or later.dkf2010-01-021-3/+4
| | |
* | | * generic/tkFocus.c: fix potential null dereference flagged by clangdas2009-09-071-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tkMenu.c: static analyzer. * generic/tkTextBTree.c: * generic/tkTextDisp.c: * generic/tkTextIndex.c: * generic/tkConsole.c: silence false positives from clang static * generic/tkTest.c: analyzer about potential null dereference. * generic/tkText.c: * generic/tkTextBTree.c: * generic/tkTextTag.c: * generic/tkVisual.c:
* | | Add "const" to many internalnijtmans2008-10-171-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | const tables, so those will be put by the C-compiler in the TEXT segment in stead of the DATA segment. This makes those table sharable in shared libraries.
* | | Get rid of pre-C89-isms (esp. CONST vs const).dkf2008-04-271-79/+85
| | |
* | | * README: Bump version number to 8.6a0dgp2008-04-011-3/+3
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tk.h: * library/tk.tcl: * macosx/Wish-Common.xcconfig: * unix/configure.in: * unix/tk.spec: * win/README: * win/configure.in: * win/tcl.m4: * unix/configure: autoconf-2.59 * win/configure: * generic/tkConsole.c: Relax Tcl_InitStubs() calls so that a Tk 8.6 * generic/tkMain.c: might [load] into a Tcl 8.5 interp. * generic/tkWindow.c: * generic/tkStubLib.c: Update to compatibility with a libtcl.so that contains no "tclStubsPtr" [Tcl Bug 1819422]. * generic/tkDecls.h: make genstubs * generic/tkIntDecls.h: * generic/tkIntPlatDecls.h: * generic/tkIntXlibDecls.h: * generic/tkPlatDecls.h:
* | merge stable branch onto HEADdgp2007-12-131-1/+1
| |
* | * generic/tkConsole.c: Revised callers of Tcl_InitStubs() to accountdgp2007-09-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | * generic/tkMain.c: for restored compatible support for the call * generic/tkWindow.c: Tcl_InitStubs(interp, TCL_VERSION, 1). Also revised Tcl_PkgRequire() call for Tcl so that, for example, a Tk library built against Tcl 8.5.1 headers will not refuse to [load] into a Tcl 8.5.0 interpreter. [Tcl Bug 1578344]. * generic/tk.h: Revised Tk_InitStubs() to restore Tk 8.4 * generic/tkStubLib.c: source compatibility with callers of * generic/tkWindow.c: Tk_InitStubs(interp, TK_VERSION, 1).
* | * generic/tkConsole.c: Revised calls to Tcl_InitStubs() anddgp2007-09-111-2/+2
| | | | | | | | | | | | | | | | | | * generic/tkMain.c: [package require Tcl] so that Tk Says What * generic/tkWindow.c: It Means using the new facilties of [package] * library/tk.tcl: in Tcl 8.5 about what version(s) of Tcl it * unix/Makefile.in: is willing to work with. [Bug 1578344]. * win/Makefile.in: * win/makefile.vc:
* | * generic/tkConsole.c: Revise all Tcl_InitStubs() calls to restoredgp2007-09-101-2/+2
| | | | | | | | | | | | | | * generic/tkMain.c: the traditional practice that a Tk shared * generic/tkWindow.c: library may [load] into a Tcl 8.5 interp at any patchlevel. This practice also matches the compile time checks of TCL_MAJOR_VERSION and TCL_MINOR_VERSION in tk.h. [Bug 1723622]
* | * generic/tkConsole.c: TIP #268 update regarding registered packageandreas_kupries2006-09-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tkMain.c: version, now using full patchlevel instead of * generic/tkWindow.c: major.minor * library/tk.tcl: * unix/configure: * unix/Makefile.in: * unix/tcl.m4: * win/configure: * win/Makefile.in: * win/makefile.vc: * win/rules.vc: * win/tcl.m4:
* | * generic/tkConsole.c: Added Tcl_RegisterChannel() calls to bumpdgp2006-06-011-2/+11
| | | | | | | | | | the refcount of channels passed to Tcl_SetStdChannel(). This prevents early free-ing of the channels that leads to crashes. [Bug 912571].
* | * generic/tkConsole.c: Added exit handler to clean up the interpdgp2006-03-211-8/+27
| | | | | | | | | | | | | | where the console window lives. Also added code to handle multiple calls to Tk_CreateConsoleWindow so that the console channels connect to the last console window opened, in compatibility with the previous implementation.
* | * generic/tkConsole.c: Added exit handler to clean up the interpdgp2006-03-201-5/+27
| | | | | | | | where the console window lives.