summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * library/encoding/gb2312-raw.enc (new): This is the originalhobbs2003-05-152-0/+1387
| | | | | | gb2312.enc renamed to allow for it to still be used. This is needed by Tk (unix) because X fonts with gb2312* charsets really do want the original gb2312 encoding. [Bug 557030]
* Consequent fixes from [Bug 699060]; [format] should not be too eager to demotedkf2003-05-143-3/+39
| | | | wides to ints, and should throw errors when appropriate.
* * library/encoding/gb2312.enc: copy euc-cn.enc over originalhobbs2003-05-142-92/+114
| | | | | | gb2312.enc. gb2312.enc appeared to not work as expected, and most uses of gb2312 really mean euc-cn (which may be the cause of the problem). [Bug 557030]
* * generic/tclEnv.c (TclUnsetEnv): Another putenv() copy behaviorhobbs2003-05-142-1/+12
| | | | | problem repaired when compiling on windows and using microsoft's runtime. [Bug 736421] (gravereaux)
* * generic/tclIOUtil.c: add decl for FsThrExitProc to suppresshobbs2003-05-132-2/+7
| | | | warnings.
* Removed unused variable to reduce compiler warnings. [Bug 664745]dkf2003-05-132-24/+33
|
* fix for [Bug 732477]Joe Mistachkin2003-05-136-24/+32
|
* * generic/tcl.decls:das2003-05-137-23/+130
| | | | | | | | | | | | | | | | | | | | | * macosx/tclMacOSXBundle.c: added extended version of the Tcl_MacOSXOpenBundleResources() API taking an extra version number argument: Tcl_MacOSXOpenVersionedBundleResources(). This is needed to be able to access bundle resources in versioned frameworks such as Tcl and Tk, otherwise if multiple versions were installed, only the latest version's resources could be accessed. [Bug 736774] * unix/tclUnixInit.c (Tcl_MacOSXGetLibraryPath): use new versioned bundle resource API to get tcl runtime library for TCL_VERSION. [Bug 736774] * generic/tclPlatDecls.h: * generic/tclStubInit.c: regen. * unix/tclUnixPort.h: worked around the issue of realpath() not being thread-safe on Mac OS X by defining NO_REALPATH for threaded builds on Mac OS X. [Bug 711232]
* * 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-122-4/+7
| | | | | longer set to NULL (Tcl_CreateObjCommand docs already say that it should not be accessed).
* * 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/+34
| | | | | disabling usage of tclNsVarNameType. * tests/var.test (var-15.1): test for [Bug 735335]
* Added comment about correcting the #723502 bug.vasiljevic2003-05-121-0/+4
|
* Corrected the Tcl bug #723502vasiljevic2003-05-121-1/+1
|
* * generic/tclIOUtil.c: ensure cd is thread-safe.hobbs2003-05-112-68/+105
| | | | [Bug #710642] (vasiljevic)
* * 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-18/+32
| | | | 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 for [Bugs 733221, 733156]Joe Mistachkin2003-05-101-21/+70
|
* fix bad cvs lf conversionJoe Mistachkin2003-05-101-1/+2
|
* fix for [Bug 731754]Joe Mistachkin2003-05-101-5/+1
|
* * library/tcltest/tcltest.tcl: The -returnCodes option to [test]dgp2003-05-052-2/+7
| | | | failed to recognize the symbolic name "ok" for return code 0.
* Corrected error message for grammar and spelling.dkf2003-05-054-9/+14
|
* glob and square brackets fixvincentdarley2003-04-293-4/+32
|
* * 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).
* * 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
|
* * generic/tclExecute.c (ExprCallMathFunc): remove incorrecthobbs2003-04-182-15/+20
| | | | extraneous cast from Tcl_WideAsDouble.
* 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-1611-287/+135
| | | | | | | | | | | | | | | | | | | | | | * 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
|
* Corrected use of types to make compilation compatible with VC++5.Kevin B Kenny2003-04-152-40/+43
|
* Added conditionals to make tclWinFile.c compile on VC++6, which Kevin B Kenny2003-04-142-1/+12
| | | | was broken by recent changes.
* filesystem fixes backportedvincentdarley2003-04-1410-2028/+2464
|
* Fixed Bug 710310 (duplicate test numbers in clock.test). Made major Kevin B Kenny2003-04-125-172/+356
| | | | | changes to tclWinTime.c and related code to improve loop filter stability.
* * generic/tclCmdMZ.c (Tcl_StringObjCmd,STR_IS_INT): Correcteddgp2003-04-114-13/+36
| | | | | | | | inconsistent results of [string is integer] observed on systems where sizeof(long) != sizeof(int). [Bug 718878] * tests/string.test: Added tests for Bug 718878. * doc/string.n: Clarified that [string is integer] accepts 32-bit integers.
* * generic/tclIO.c (UpdateInterest): When dropping interest inandreas_kupries2003-04-112-7/+46
| | | | | | | TCL_READABLE now dropping interest in TCL_EXCEPTION too. This fixes a bug where Expect detects eof on a file prematurely on solaris 2.6 and higher. A much more complete explanation is in the code itself (40 lines of comments for a one-line change :)
* Experimental change. Easier to check in and later back out if thereandreas_kupries2003-04-101-1/+13
| | | | | | are problems than to try and compile everything manually on all the platforms. This way the AS auto-build gets the change without fuss, and I can read the logs tomorrow.
* Another minor typo.dkf2003-04-101-2/+2
|
* Fixed silly typo. [Bug 718543]dkf2003-04-102-2/+6
|
* Use correct test for the empty string in Tcl_ErrorObjCmddkf2003-04-082-2/+9
|
* * generic/tclCompCmds.c (TclCompileIfCmd): Corrected string limits ofdgp2003-04-072-4/+7
| | | | arguments interpolated in error messages. [Bug 711371]
* * generic/tclCmdMZ.c (TraceExecutionProc): Added missingdgp2003-04-072-2/+9
| | | | Tcl_DiscardResult() call to avoid memory leak.
* Make sure that tclWideIntType is defined and somewhat sensible everywhere. ↵dkf2003-04-072-6/+15
| | | | [Bug 713562]
* * win/configure: Regen.mdejong2003-04-034-14/+34
| | | | | | | | | | | * win/configure.in: Set stub lib flag based on new LIBFLAGSUFFIX variable. * win/tcl.m4 (SC_CONFIG_CFLAGS): Set new LIBFLAGSUFFIX that works like LIBSUFFIX, it is used when creating library names. The previous implementation would generate -ltclstub85 instead of -ltclstub85s when configured with --disable-shared.
* * tests/README: Direct [source] of *.test files is no longerdgp2003-04-012-21/+46
| | | | | recommended. The tests/*.test files should only be evaluated under the control of the [runAllTests] command in tests/all.tcl.