summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tclInterp.c: (AliasObjCmd): Added refCounting of the wordsdgp2003-05-123-3/+22
| | | | | * tests/interp.test (interp-33.1): of the target of an interp alias during its execution. Also added test. [Bug 730244].
* * generic/tclBasic.c (TclInvokeObjectCommand): objv[argc] is nodgp2003-05-123-5/+11
| | | | | | | longer set to NULL (Tcl_CreateObjCommand docs already say that it should not be accessed). * tests/cmdMZ.test: Forgot to import [temporaryDirectory].
* * generic/tclObj.c (tclCmdNameType): Corrected variable use of thedgp2003-05-122-7/+8
| | | | | otherValuePtr or the twoPtrValue.ptr1 fields to store a (ResolvedCmdName *) as the internal rep. [Bug 726018].
* * doc/Eval.3: Corrected prototype for Tcl_GlobalEvalObj [Bug 727622].dgp2003-05-122-2/+6
|
* * generic/tclVar.c (TclObjLookupVar): [Bug 735335] temporary fix,Miguel Sofer2003-05-123-2/+35
| | | | | disabling usage of tclNsVarNameType. * tests/var.test (var-15.1): test for [Bug 735335]
* Corrected Tcl bug #723502vasiljevic2003-05-121-1/+1
|
* * win/tclWinSerial.c (SerialCloseProc): correct mem leak onhobbs2003-05-112-1/+6
| | | | closing a Windows serial port [Bug #718002] (schroedter)
* * generic/tclCmdMZ.c (Tcl_StringObjCmd): prevent string repeathobbs2003-05-102-1/+15
| | | | crash when overflow sizes were given (throws error). [Bug #714106]
* fix for [Bugs 733156, 733221]Joe Mistachkin2003-05-101-0/+15
|
* fix for [Bug 733221]Joe Mistachkin2003-05-101-4/+11
|
* fix bad cvs lf conversionJoe Mistachkin2003-05-102-1400/+1401
|
* fix for [Bugs 733221, 733156]Joe Mistachkin2003-05-101-400/+449
|
* fix for [Bug 731754]Joe Mistachkin2003-05-091-955/+951
|
* fixing previous patchMiguel Sofer2003-05-091-5/+5
|
* fix for [Bug 735055]Miguel Sofer2003-05-093-3/+12
|
* The array of strings passed to Tcl_GetIndexFromObj must be NULL terminated.dkf2003-05-092-2/+8
|
* stop compiler warnings about unused variablesdgp2003-05-081-3/+1
|
* Fixed very strange language in the documentation for 'trace add execution'.dkf2003-05-072-2/+6
|
* Made error message for [trace info] more consistent with documentation.dkf2003-05-073-5/+30
|
* Fixed memory leak caused by confusion about string ownership. [Bug 731706]dkf2003-05-072-3/+10
|
* * generic/tclBasic.c: Implementation of TIP 90, whichdgp2003-05-0514-135/+479
| | | | | | | | | | | | | | | | * generic/tclCmdAH.c: extends the [catch] and [return] * generic/tclCompCmds.c: commands to enable creation of a * generic/tclExecute.c: proc that is a replacement for * generic/tclInt.h: [return]. [Patch 531640] * generic/tclProc.c: * generic/tclResult.c: * tests/cmdAH.test: * tests/cmdMZ.test: * tests/error.test: * tests/proc-old.test: * library/tcltest/tcltest.tcl: The -returnCodes option to [test] failed to recognize the symbolic name "ok" for return code 0.
* Corrected error message for grammar and spelling.dkf2003-05-054-9/+14
|
* corrected comment about the default matching mode for [switch].dgp2003-05-011-3/+4
|
* Use the boolean $(DEBUG) instead of a string comparison on $(DBGX).davygrvy2003-04-301-7/+7
|
* suppress compiler warning about uninitialized variables.dgp2003-04-291-7/+4
|
* Stopped warning about uninitialised variables in DictIncrCmddkf2003-04-291-26/+21
| | | | Thanks to Andreas Kupries for reporting this.
* Made [incr] able to accept and work with wide increments [Bug 728838]dkf2003-04-2810-312/+578
|
* Default mode of operation of [switch] is exact matching. [Bug 727563]dkf2003-04-283-4/+28
|
* * generic/tclBasic.c: Tcl_EvalObjv() failed to honor thedgp2003-04-252-4/+15
| | | | | | TCL_EVAL_GLOBAL flag when resolving command names. Tcl_EvalEx passed a string rep including leading whitespace and comments to TclEvalObjvInternal().
* * win/tclWinThrd.c: Applied SF patch #727271. This patch changesandreas_kupries2003-04-252-9/+65
| | | | | | | | | | the code to catch any errors returned by the windows functions handling TLS ASAP instead of waiting to get some mysterious crash later on due to bogus pointers. Patch provided by Joe Mistachkin. This is a stop-gap measure to deal with the low number of ?TLS slots provided by some of the variants of Windows (60-80).
* fix to glob and filenames with square bracketsvincentdarley2003-04-253-4/+31
|
* * The changes below fix SF bugs [593810], and [718045].andreas_kupries2003-04-227-6/+309
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclIO.c (Tcl_CutChannel, Tcl_SpliceChannel): Invoke TclpCutSockChannel and TclpSpliceSockChannel. * generic/tclInt.h: Declare TclpCutSockChannel and TclpSpliceSockChannel. * unix/tclUnixSock.c (TclpCutSockChannel, TclpSpliceSockChannel): Dummy functions, on unix the sockets are _not_ handled specially. * mac/tclMacSock.c (TclpCutSockChannel, TclpSpliceSockChannel): * win/tclWinSock.c (TclpCutSockChannel, TclpSpliceSockChannel): New functions to handle socket specific cut/splice operations: auto-initi of socket system for thread on splice, management of the module internal per-thread list of sockets, management of association of sockets with HWNDs for event notification. * win/tclWinSock.c (NewSocketInfo): Extended initialization assignments to cover all items of the structure. During debugging of the new code mentioned above I found that two fileds could contain bogus data. * win/tclWinFile.c: Added #undef HAVE_NO_FINDEX_ENUMS before definition because when compiling in debug mode the compiler complains about a redefinition, and this warning is also treated as an error.
* * library/tcltest/tcltest.tcl: When the return code of a test doesdgp2003-04-212-10/+17
| | | | | | not meet expectations, report that as the reason for test failure, and do not attempt to check the test result for correctness. [Bug 725253]
* corrected bogus commentsdgp2003-04-181-7/+2
|
* * win/tclWinInt.h (VER_PLATFORM_WIN32_CE): conditionally define.hobbs2003-04-183-24/+41
| | | | | * win/tclWinInit.c: recognize Windows CE as a Win platform. This just recognizes CE - full support will come later.
* * generic/tclExecute.c (ExprCallMathFunc): remove incorrecthobbs2003-04-181-2/+2
| | | | extraneous cast from Tcl_WideAsDouble.
* * win/configure: regenhobbs2003-04-182-1/+11
| | | | | * win/configure.in (SHELL): force it to /bin/sh as autoconf 2.5x uses /bin/bash, which can fail to find exes in the path (ie: lib).
* Moved serial line options to their creator, open.n, from the generic pagedkf2003-04-183-203/+185
| | | | fconfigure.n which was never an obvious spot for them. [Bug 679010]
* * generic/tcl.h Made changes so that the "wideInt" Tcl_ObjTypedgp2003-04-1612-285/+136
| | | | | | | | | | | | | | | | | | | | | | * generic/tclObj.c is defined on all platforms, even those where * generic/tclPort.h TCL_WIDE_INT_IS_LONG is defined. Also made the Tcl_Value struct have a wideValue field on all platforms. This is a ***POTENTIAL INCOMPATIBILITY*** for TCL_WIDE_INT_IS_LONG platforms because that struct changes size. This is the same TIP 72 incompatibility that was seen on other platforms at the 8.4.0 release, when this change should have happened as well. [Bug 713562] * generic/tclInt.h: New internal macros TclGetWide() and TclGetLongFromWide() to deal with both forms of the "wideInt" Tcl_ObjType, so that conditional TCL_WIDE_INT_IS_LONG code is confined to the header file. * generic/tclCmdAH.c: Replaced most coding that was conditional * generic/tclCmdIL.c: on TCL_WIDE_INT_IS_LONG with code that * generic/tclExecute.c: works across platforms, sometimes using * generic/tclTest.c: the new macros above to do it. * generic/tclUtil.c: * generic/tclVar.c:
* If you deal with network sockets, you should care about encodings. Tcl cannotdkf2003-04-162-2/+14
| | | | guess it for you. Updated socket docs to remind people about this. [Bug 630621]
* Math funcs might have to deal with wide ints; document this. [Bug 709720]dkf2003-04-162-7/+25
|
* Updated mkLinks for TIP 111 documentationdgp2003-04-161-0/+28
|
* removed undesired 'static'vincentdarley2003-04-162-2/+7
|
* Corrected use of types to make compilation compatible with VC++5.Kevin B Kenny2003-04-152-37/+39
|
* Added example section "SCOPED SCRIPTS", supplied by Kevin Kenny.jenglish2003-04-152-2/+30
| | | | (Fixes [Bug 219183])
* Updated makefile.vc to conform with Mo DeJong's changes to Makefile.in Kevin B Kenny2003-04-152-2/+9
| | | | | and tclWinPipe.c on 2003-04-14. Now passes TCL_PIPE_DLL in place of TCL_DBGX.
* remove duplicate function definitionvincentdarley2003-04-152-121/+6
|
* fixed compiler warningsdgp2003-04-151-0/+5
|
* Stopped compiler warnings about type casts.dgp2003-04-152-4/+4
|
* * win/Makefile.in: Don't define TCL_DBGXmdejong2003-04-153-15/+31
| | | | | | | | | | | | | | | symbol for every compile. Instead, define TCL_PIPE_DLL only when compiling tclWinPipe.c. This will break other build systems, so they will need to remove the TCL_DBGX define and replace it with a define for TCL_PIPE_DLL. * win/tclWinPipe.c (TclpCreateProcess): Remove PREFIX_IDENT and DEBUG_IDENT from top of file. Use TCL_PIPE_DLL passed in from build env instead of trying to construct the dll name from already defined symbols. This approach is more flexible and better in the long run.