| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
* generic/tclEvent.c (Tcl_CreateThread): calls to Tcl_Alloc()
* generic/tclObj.c (UpdateStringOfBignum): with calls to
* unix/tclUnixTime.c (SetTZIfNecessary): ckalloc(), which better
* win/tclAppInit.c (setargv): supports memory debugging.
|
|
|
|
|
|
|
| |
This was found to be interfering with TWAPI extension one. IMO,
special services such as signal handlers should best be done with
extensions to the core after discussions on c.l.t. about Roy
Terry's tclsh children of a real windows service shell.
|
| |
|
|
|
|
|
| |
* win/tclAppInit.c: twice. First by TclTest_Init, then again in Tcl_AppInit.
The call from Tcl_AppInit now removed.
|
|
|
|
|
| |
Tcl_StaticPackage() call when the shell is built with the TCL_USE_STATIC_PACKAGES
option.
|
|
|
|
|
|
|
| |
compiling with mingw. Apparently, the command line parsing in
mingw doesn't work as well as that in vc++, and the result was
(1) that winPipe-8.19 failed, and (2) that 'make test' would
work at all only with TESTFLAGS='-singleproc 1'. [Bug 967195]
|
| |
|
|
|
|
|
|
|
| |
* win/tclWinPipe.c (BuildCommandLine): Special case quoting for
'{' not required by the c-runtimes's _setargv().
* win/tclAppInit.c: Removed our custom setargv() in favor of
the one provided by the c-runtime. [Bug 672938]
|
| |
|
| |
|
|
|
|
|
| |
* win/tclAppInit.c: to fix incompatible TCL_MEM_DEBUG handling in
* generic/tclObj.c: Win32 VC builds.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
NULL handle.
* win/tclWinPipe.c (PipeClose2Proc, TclpCreateProcess): Send a
real Win32 signal (CTRL_C_EVENT) when the read channel is brought
down to alert the child to close on its side. Start the process
with CREATE_NEW_PROCESS_GROUP to allow the ability to send these
signals. The following test case now brings down the child
without the use of an external [kill] command.
% set p [open "|[info name]" w+]
file8d5380
% pid $p
2876
% close $p <- now doesn't block in Tcl_WaitPid()
%
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
STATIC_BUILD and TCL_USE_STATIC_PACKAGES macros are set.
* win/makefile.vc:
* win/rules.vc: linkexten option now sets the TCL_USE_STATIC_PACKAGES
macro which also adds the registry and dde object files to the link
of the shell. [Patch 479697] Also factored some additional macros
that will be helpful for extension authors. Version grepping of tcl.h
will need to be added to complete this.
* win/buildall.vc.bat: Added more descriptive commentary.
|
|
|
|
|
|
|
| |
the existing lack of a Ctrl+C exit to call exit handlers when built for thread
support. Also, properly handles exits from other conditions such as
CTRL_CLOSE_EVENT, CTRL_LOGOFF_EVENT, and CTRL_SHUTDOWN_EVENT
signals. In all cases, exit handlers will be called. [Bug 219355]
|
|
|
|
| |
easy embedded support. Thanks to Don Porter for pointing this out to me.
|
|
|
|
|
|
|
| |
remove the raw windows.h include. tclPort.h brings in windows.h
already and lessens the pre-compiled-header mush and the randomly
useless #pragma comment (lib,...) references throughout the big
windows.h tree (as observed at high linker warning levels).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclMain.c :
* unix/tclAppInit.c:
* win/tclAppInit.c: Added two new internal functions,
TclSetStartupScriptFileName() and TclGetStartupScriptFileName()
and added hooks into the main() code for supporting TclPro and
other "big" shells more easily without requiring a copy of the
main() code.
* generic/tclEncoding.c:
* generic/tclEvent.c: Moved encoding-related startup code from
tclEvent.c into the more appropriate tclEncoding.c.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* unix/tclAppInit.c:
* mac/tclMacAppInit.c:
* generic/tclTest.c: Changed some EXTERN declarations to extern
since they are not defining exported interfaces. This avoids
generating useless declspec() attributes and makes the windows
makefile simpler.
* generic/tcl.h: Moved Tcl_AppInit declaration to end and cleared
out TCL_STORAGE_CLASS so it is not declared with a declspec().
|
|
|
|
|
|
|
| |
representation contains both a Proc struct and its associated ByteCode.
Updated tclProc.c::TclCreateProc to take procbody instances as the body
argument, for future support of compiler extensions.
Added the "procbodytest" package for testing all this stuff.
|
| |
|
|
|