| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| | |
fails, in stead of simply abort()
|
| |
| |
| |
| | |
fails, in stead of simply abort()
|
| | |
|
|\ \
| |/
| |
| | |
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.
|
|\ \
| |/
| |
| |
| |
| |
| | |
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_
|
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| | |
systems.
|
| |
| |
| |
| | |
make various other tables CONST
(All backported from Tk 8.6)
|
| | |
|
|\ \
| |/ |
|
|\ \
| |/ |
|
| | |
|
|\ \
| |/ |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* 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/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: the wish [console]. [Bug 1188340].
|
| |
| |
| |
| |
| | |
the refcount of channels passed to Tcl_SetStdChannel(). This prevents
early free-ing of the channels that leads to crashes. [Bug 912571].
|
| |
| |
| |
| |
| |
| | |
changes from HEAD.
* generic/tkConsole.c (TkConsolePrint): prevent potential NULL deref.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* 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:
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* 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/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/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/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:
|
| |
| |
| |
| |
| | |
the refcount of channels passed to Tcl_SetStdChannel(). This prevents
early free-ing of the channels that leads to crashes. [Bug 912571].
|
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| | |
where the console window lives.
|
| |
| |
| |
| | |
stderr console channel.
|
| |
| |
| |
| | |
have been created.
|
| |
| |
| |
| |
| |
| |
| | |
* generic/tkInt.h: Included Obj-ification of the [console] and
[consoleinterp] commands, and reworking of all the supporting data
structures for cleaner sharing and lifetime management especially
in multi-threaded configurations.
|
| | |
|
| | |
|
| |
| |
| |
| | |
from TkConsolePrint. [Bug 1016385]
|
| | |
|
| | |
|
|/ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
updating Tk to use Tcl 8.4's fully CONST-ified
interface, and fully CONSTifying Tk at the
same time.
This patch includes purging Tk of its last
direct access to interp->result. [Bug 589853]
The substantial changes include copying
event sequence strings into Tcl_DStrings
in tkBind.c, and copying [text] indices into
Tcl_DStrings because parsing them involved
overwriting them. If this causes performance
trouble, that can be resolved by further
converting them to Tcl_Obj's.
The #defines USE_NON_CONST and USE_COMPAT_CONST
have the same effect for Tk as they do for Tcl.
(They actually change tcl.h)
|
|
|
|
| |
have just set result code.
|
|
|
|
| |
[Tcl Patch 503565, Tk Patch 503983]
|
|
|
|
| |
[Tcl Patch 503565, Tk Patch 503983]
|
|
|
|
|
|
| |
** changes for 8.4, some already backported to 8.3.4 (patch #435660)
see ChangeLog for details
|
|
|
|
|
|
| |
Windows platforms that were overlooked before: tkOpenDocument,
tkConsoleExit, tkConsoleOutput, unsupported1 out of namespace :: .
Thanks to Vince Darley for prompting another look.
|
|
|
|
| |
No change was made to the code.
|
|
|
|
|
|
|
|
| |
* generic/tkColor.h: fixed Tk_NameOfColor to work correctly,
with minor change to TkColor struct.
* generic/tkConsole.c: added static declaration to
ConsoleDeleteProc function (proto already had it)
|
|
|
|
|
|
| |
channels. Checking for bad/unusable std channels was moved to Tk
since its only purpose was to check whether to use the Tk Console
Window for the std channels. [Bug: 2393 2392 2209 2458]
|
|
|
|
| |
strlen() function returned a different type.
|
|
|
|
|
| |
Changed type of strncmp() parameter from int to size_t in tkConsole.c to
remove compiler warnings about bad types.
|
|
|
|
|
|
|
|
|
|
| |
* generic/tkStubInit.c:
* generic/tkIntXlibDecls.h:
* generic/tkIntPlatDecls.h:
* generic/tkIntDecls.h:
* generic/tkInt.decls:
* generic/tkConsole.c: Various changes to try to get the Mac
builds working.
|