summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * unix/tclUnixSock.c: Use a ProcessGlobalValue to store thedgp2005-07-133-103/+126
| | | | | | | * win/tclWinSock.c: value returned by Tcl_GetHostName() ([info hostname]). Also re-order initialization of the value on Windows to favor GetComputerName() over gethostname() as a source of the information.
* Doc clarificationdkf2005-07-122-2/+8
|
* Purely style-guide cleansingdkf2005-07-112-2216/+2110
|
* * generic/tclExecute.c (TclExecuteByteCode):mdejong2005-07-093-50/+1128
| | | | | | | | | | | | | | | | | Reimplement long and wide type integer division and modulus operations so that the smallest and largest integer values are handled properly. The divide operation is more efficient since it no longer does a modulus or negation and only checks for a remainder when the quotient will be a negative number. The modulus operation is now a bit more complex because of a number of special cases dealing with the smallest and largest integers. * tests/expr.test: Add test cases for division and modulus operations on the smallest and largest integer values for 32 and 64 bit types. [Patch 1230205]
* * generic/tclLink.c: Simplified LinkTraceProc [Bug 1208108].dgp2005-07-062-27/+16
|
* * unix/Makefile.in: Purged use of TCLTESTARGS [RFE 1161550].dgp2005-07-052-3/+5
|
* * generic/tclUtil.c: Converted TclFormatInt() into a macro.dgp2005-07-056-104/+32
| | | | | | | | * generic/tclInt.decls: [RFE 1194015] * generic/tclInt.h: * generic/tclIntDecls.h: make genstubs * generic/tclStubInit.c:
* * generic/tclNamesp.c: Allow for [namespace import] of a commanddgp2005-07-053-3/+18
| | | | | * tests/namespace.test: over a previous [namespace import] of itself without throwing an error. [RFE 1230597]
* Style-guide reformat and get rid of gcc warningdkf2005-07-051-1360/+1355
|
* Much whitespace/style tidying updkf2005-07-051-622/+590
|
* Whitespace/fmt fixesdkf2005-07-041-15/+13
|
* Purge remnants of old dictionary rep interlocking code; it only ever workeddkf2005-07-042-44/+32
| | | | when the locking was in the core of the iterator itself.
* Protect against spurious wake-ups while waiting on the condition variablevasiljevic2005-07-012-6/+14
| | | | when tearing down the notifier thread [Bug# 1222872].
* * generic/tclExecute.c (TclExecuteByteCode):mdejong2005-06-293-6/+293
| | | | | | | | | | | When parsing an integer operand for a unary minus expression operator, check for a wide integer that is actually LONG_MIN. If found, convert it back to a long int type. * tests/expr.test: Add constraint for 32bit long int type and 64bit wide int type. Add tests that parse the smallest/largest long int and wide int values.
* increased warning about [auto_reset] bug fix.dgp2005-06-271-1/+3
|
* Add explanatory comment about static unprotected variables.dkf2005-06-261-1/+7
|
* * library/auto.tcl: Make file safe to re-[source] withoutdgp2005-06-241-23/+23
| | | | destroying registered auto_mkindex_parser hooks.
* cleanup Tcl_Preserve after exit handlersKevin B Kenny2005-06-244-17/+20
|
* * library/auto.tcl: Make file safe to re-[source] withoutdgp2005-06-242-20/+32
| | | | destroying registered auto_mkindex_parser hooks.
* bug 1225957Kevin B Kenny2005-06-233-313/+294
|
* * tools/tcltk-man2html.tcl: fixed useversion glob pattern to acceptdas2005-06-232-1/+6
| | | | multi-digit patchlevels.
* bug 1225044Kevin B Kenny2005-06-222-2/+9
|
* * win/tclWinFile.c: Potential buffer overflow. [Bug 1225571]dgp2005-06-222-3/+8
| | | | Thanks to Pat Thoyts for discovery and fix.
* bug 1225727Kevin B Kenny2005-06-226-12/+58
|
* * generic/tclInt.h: Followup to change made on 2005-06-18 byandreas_kupries2005-06-212-1/+10
| | | | | | | Daniel Steffen. There are compilers (*) who error out on the redefinition of WORDS_BIGENDIAN. We have to undef the previous definition (on the command line) first to make this acceptable. (*): AIX native.
* bug 1194458Kevin B Kenny2005-06-213-9/+31
|
* * generic/tclBasic.c: Added missing walk of the list of active tracesdgp2005-06-215-9/+87
| | | | | | | * generic/tclTrace.c: to cleanup references to traces being deleted. * generic/tclInt.h: [Bug 1201035] Made the walk of the active trace * tests/trace.test (trace-34.*): list aware of the direction of trace scanning, so the proper correction can be made. [Bug 1224585]
* autoconfdgp2005-06-211-2/+3
|
* Only enable the 'compile' special debugging feature when requested indkf2005-06-213-7/+16
| | | | | configure.in; removes irrelevant junk from the configure files of extensions that use Tcl's tcl.m4.
* typosdkf2005-06-202-3/+4
|
* typodkf2005-06-201-2/+2
|
* Add compilation for TIP#90-style [catch] requiring a new opcode [Bug1219112]dkf2005-06-205-494/+541
|
* Update error case handling following Mo's updates (which are a good thing)dkf2005-06-202-33/+40
|
* * generic/tclCmdMZ.c (Tcl_SwitchObjCmd): Generatemdejong2005-06-204-5/+138
| | | | | | | | | | | | | | | an error if a mode argument like -exact is passed more than once to the switch command. The previous implementation silently accepted invalid switch invocations like [switch -exact -glob $str ...]. * tests/for.test: Check some error cases when invoking continue and break inside a for loop next script. * tests/switch.test: Add checks for shortened version of a mode argument like -exact. Add test for more than one mode argument. Add test for odd case of passing a variable as a body script.
* * generic/tclInt.h: ensure WORDS_BIGENDIAN is defined correctly with fatdas2005-06-184-3/+40
| | | | | | | | | | | compiles on Darwin (i.e. ppc and i386 at the same time), the configure AC_C_BIGENDIAN check is not sufficient in this case because a single run of the compiler builds for two architectures with different endianness. * unix/tcl.m4 (Darwin): add -headerpad_max_install_names to LDFLAGS to ensure we can always relocate binaries with install_name_tool. * unix/configure: autoconf-2.59
* Fix bug in [format %hx] handling on selected platforms. [Bug 1154163]dkf2005-06-173-11/+27
|
* Fix an odd [after]-and-limits problem. [Bug 1221395]dkf2005-06-173-36/+96
|
* Fix [Bug 1220058] and quash a bizarre case which generated a bogus error msg.dkf2005-06-144-6/+40
| | | | Thanks to Will Duquette for helping to track this one down.
* correct fix to file mkdirvincentdarley2005-06-132-4/+11
|
* D'oh!dkf2005-06-121-2/+2
|
* Simplify command compilation by moving numerous common stanzas into macros ↵dkf2005-06-122-863/+892
| | | | | | so that things say what they do instead of relying on the code-writer knowing all the basic ropes. Also cleaned up the whitespace/style of the code
* Improve the [chan] documentationmsofer_wcodes_20050611dkf2005-06-102-44/+518
|
* fix to race condition in file mkdir and fix to glob documentationvincentdarley2005-06-093-10/+36
|
* Small doc improvements [Bug 1211078] etc.dkf2005-06-093-9/+17
|
* typo fixdkf2005-06-081-1/+1
|
* D'oh. [Bug 1217017]dkf2005-06-081-2/+2
|
* * generic/tclInt.h: Reduced the Tcl_ObjTypes "index",dgp2005-06-076-37/+36
| | | | | | | * generic/tclIndexObj.c: "enembleCmd", "localVarName", and * generic/tclNamesp.c: "levelReference" to file static scope. * generic/tclProc.c: * generic/tclVar.c:
* Added (untested!) implementation of truncation for Windowsdkf2005-06-073-4/+83
|
* * generic/tclObj.c: Restored registration of the "procbody"dgp2005-06-072-12/+10
| | | | Tcl_ObjType, as required by the tclcompiler application.
* Now for a real test of [chan truncate]...dkf2005-06-072-1/+16
|