summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tclTimer.c (TimerExitProc): remove remaining events inhobbs2002-03-011-2/+14
| | | | tls on thread exit.
* generic/tclNamesp.c: optimisation of namespace lookups [Patch 458872]Miguel Sofer2002-02-282-6/+32
|
* Replaced a few direct stack accesses with the POP_OBJECT() macro [Bug 507181]Miguel Sofer2002-02-282-15/+18
|
* * doc/GetIndex.3:dgp2002-02-285-12/+27
| | | | | | | | | | | * generic/tcl.decls (Tcl_GetIndexFromObjStruct): * generic/tclIndexObj.c (Tcl_GetIndexFromObjStruct): Revised the prototype of the Tcl_GetIndexFromObjStruct to take its struct table as a (CONST VOID *) argument, better describing what it is, maintaining source compatibility, and adding CONST correctness according to TIP 27. Thanks to Joe English for an elegant solution. [Bug 520304] * generic/tclDecls.h: make genstubs
* * generic/tclMain.c (Tcl_Main,StdinProc): Corrected some referencedgp2002-02-282-1/+32
| | | | | count management errors on the interactive commandPtr Tcl_Obj found by Purify. Thanks to Jeff Hobbs for the report and assistance.
* mem leak fixeshobbs2002-02-281-0/+9
|
* * generic/tclTest.c (TestStatProc[123]): correct harmless UMRs.hobbs2002-02-281-1/+4
|
* * generic/tclLink.c (Tcl_LinkVar): correct mem leak in error case.hobbs2002-02-281-2/+5
|
* * generic/tclBasic.c (Tcl_EvalTokensStandard): corrected mem leakhobbs2002-02-281-5/+6
| | | | in error case.
* * tests/socket.test (2.7): Accepted and applied patch for Tcl SFandreas_kupries2002-02-272-3/+7
| | | | | bug #523470 provided by Don Porter <dgp@users.sourceforge.net> to avoid timing problems in that test.
* * unix/tclUnixChan.c (TclpOpenFileChannel): Added code to regonizeandreas_kupries2002-02-272-11/+28
| | | | | | | | | | "/dev/tty" (by name) and to not handle it as tty / serial line. This is the controlling terminal and is special. Setting it into raw mode as is done for other tty's is a bad idea. This is a hackish fix for expect SGF Bug #520624. The fix has limitation: Tcl_MakeFileChannel handles tty's specially too, but is unable to recognize /dev/tty as it only gets a file descriptor, and no name for it.
* see ChangeLoghobbs2002-02-271-0/+2
|
* reversed accidental commit of unfinished sourceshobbs2002-02-273-990/+34
|
* generic/tclCmdMZ.chobbs2002-02-276-44/+1011
|
* * generic/tclFileName.c (Tcl_TranslateFileName): decr refcount forhobbs2002-02-271-3/+4
| | | | error case to prevent mem leak.
* * generic/tclVar.c (Tcl_ArrayObjCmd): removed extra obj allocation.hobbs2002-02-271-10/+8
|
* Updated changes file to reflect no 8.3.5 release before 8.4a4.dgp2002-02-271-34/+32
| | | | Still need to add the changes of the last few days.
* see ChangeLoghobbs2002-02-271-0/+4
|
* * unix/tclUnixSock.c (Tcl_GetHostName): added an extrahobbs2002-02-271-1/+16
| | | | | gethostbyname check to guard against failure with truncated names returned by uname.
* see ChangeLoghobbs2002-02-261-0/+43
|
* * unix/configure:hobbs2002-02-262-248/+297
| | | | | * unix/tcl.m4 (SC_SERIAL_PORT): added sys/modem.h check and defined _XOPEN_SOURCE_EXTENDED for HP-11 to get updated header decls.
* * unix/tclUnixChan.c: added Unix implementation of TIP #35, serialhobbs2002-02-261-16/+385
| | | | port support. [Patch #438509] (schroedter)
* bugfix to the bugfix to the new [for] compiled codeMiguel Sofer2002-02-262-3/+12
|
* * mac/tclMacSock.c (TcpGetOptionProc): Changed to recognize theandreas_kupries2002-02-262-3/+33
| | | | | option "-error". Essentially ignores the option, always returning an empty string.
* * doc/Alloc.3:hobbs2002-02-266-15/+41
| | | | | | | | | | * doc/LinkVar.3: * doc/ObjectType.3: * doc/PkgRequire.3: * doc/Preserve.3: * doc/TCL_MEM_DEBUG.3: Updated documentation to describe the ckalloc, ckfree, ckrealloc, attemptckalloc, and attemptckrealloc macros, and to accurately describe when and how they are used. [Bug #497459] (dgp)
* revert accidental commit of tclAlloc.c to r1.11hobbs2002-02-261-946/+2
|
* * generic/tclHash.c (AllocArrayEntry, AllocStringEntry):hobbs2002-02-262-7/+957
| | | | | | | | Before invoking ckalloc when creating a Tcl_HashEntry, check that the amount of memory being allocated is at least as large as sizeof(Tcl_HashEntry). The previous code was allocating memory regions that were one or two bytes short. [Bug #521950] (dejong)
* typodgp2002-02-261-1/+1
|
* avoiding a buffer overrun in [subst]; restoring tcl7.6 behaviour [Bug #495207]Miguel Sofer2002-02-253-5/+44
|
* * unix/tclUnixPort.h: corrected strtoll prototype mismatch on Tru64.dgp2002-02-252-2/+3
|
* * compat/strtod.c (strtod): simplified #includesdgp2002-02-252-2/+8
| | | | | * compat/strtol.c (strtol): gather result in a long before returning as a long: necessary on platforms where sizeof(int) != sizeof(long).
* Added clarification comment.dkf2002-02-251-1/+4
|
* * unix/tclLoadDyld.c: updated to use Mac OS X 10.1 dyld APIs thatdas2002-02-252-12/+25
| | | | have more libdl-like semantics. (bug #514392)
* simplified the #include linesdgp2002-02-251-8/+2
|
* fixing a bug in last tclCompCmds.c patch, in the code for [for] and [while].Miguel Sofer2002-02-252-21/+35
|
* Minor cleanup of compat functions to get rid of GCC warnings.dkf2002-02-254-11/+18
|
* * compat/strtoull.c (strtoull):dgp2002-02-244-14/+66
| | | | | | | * compat/strtoll.c (strtoll): * compat/strtoul.c (strtoul): Fixed failure to handle leading sign symbols '+' and '-' and '0X' and raise overflow errors. [Bug 440916] Also corrects prototype and errno problems.
* * configure: Regen.mdejong2002-02-233-2/+9
| | | | | | * unix/tcl.m4 (SC_CONFIG_CFLAGS): Link with -n32 instead of -32 when building on IRIX64-6.* system. [Tcl bug 521707]
* * generic/tclInt.h:dgp2002-02-224-23/+76
| | | | | | | * generic/tclObj.c: renamed global variable emptyString -> tclEmptyString because it is no longer static. * generic/tclPkg.c: Fix for panic when library is loaded on a platform without backlinking without proper use of stubs. [Bug 476537]
* see ChangeLoghobbs2002-02-221-0/+4
|
* * tests/regexpComp.test: updated regexp-11.[1-4] to match changeshobbs2002-02-221-7/+7
| | | | in regexp.test for new regsub syntax
* updated safe-8.5 and safe-8.7hobbs2002-02-221-3/+7
|
* see ChangeLoghobbs2002-02-221-0/+11
|
* * unix/configure:hobbs2002-02-222-41/+71
| | | | | * unix/tcl.m4: added --enable-64bit support for AIX-4 (using -q64 flag) when using IBM's xlc compiler.
* Optimising [if], [for] and [while] for constant conditionsMiguel Sofer2002-02-222-193/+280
|
* * library/safe.tcl (CheckFileName): removed the limit onhobbs2002-02-221-16/+6
| | | | | | sourceable file names (was only *.tcl or tclIndex files with no more than one dot and 14 chars). There is enough internal protection in a safe interpreter already. Fixes [Tk Bug #521560].
* Added TIP#76 implementation, docs + tests.dkf2002-02-224-27/+62
|
* Const-ifying declarations of strtoll/strtoull and new compat code.dkf2002-02-225-22/+32
|
* More comments added and decided not to pack modules tightly. Four gigabytesdavygrvy2002-02-221-7/+15
| | | | of address space is quite a lot to play with.
* spelingdavygrvy2002-02-211-2/+2
|