summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * 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
|
* no messagedavygrvy2002-02-211-0/+30
|
* * win/mkd.bat (removed):davygrvy2002-02-214-28/+39
| | | | | | | | | | | | | | | | | | | | | | | | * win/coffbase.txt (new): * win/makefile.bc: * win/makefile.vc: Changed the 'setup' target to stop using the mkd.bat file and just make the directory right in the rule. Same change to makefile.bc. configure.in nor Makefile.in use it. coffbase.txt will be the master list for our "prefered base addresses" set by the linker. This should improve load-time (NT only) by avoiding relocations. Submissions to the list by extension authors are encouraged. Added a 'tidy' target to compliment 'clean' and 'hose' to remove just the outputs. Also removed the $(winlibs) macro as it wasn't being used. Stuff left to do: 1) get the winhelp target to stop building in the tools/ directory. 2) stop using rmd.bat 3) add more dependacy rules.
* reverted back to 1.6, as the header file change to tclPort.h doesn't allow fordavygrvy2002-02-211-2/+3
| | | | easy embedded support. Thanks to Don Porter for pointing this out to me.
* no messagedavygrvy2002-02-211-0/+13
|
* * win/makefile.vc:davygrvy2002-02-212-5/+17
| | | | | | * win/rules.vc: Added a new "loimpact" option that sets the -ws:aggressive linker option. Off by default. It's said to keep the heap use low at the expense of alloc speed.
* * win/tclAppInit.c: Changed #include "tcl.h" to be tclPort.h todavygrvy2002-02-211-3/+2
| | | | | | | 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).
* typo correction in latest changedgp2002-02-211-2/+2
|
* Improving 'long long' detection...dkf2002-02-212-6/+16
|
* no messagedavygrvy2002-02-201-5/+21
|
* * win/buildall.vc.bat:davygrvy2002-02-203-38/+144
| | | | | | | | | | | | | | | | | | | | | | | * win/makefile.vc: * win/rules.vc: General clean-ups. Added compiler and linker tests for a) the pentium 0x0F errata, b) optimizing (not all have this), and c) linker v6 section alignment confusion. All these are tested first to make sure any D4002 or LNK1117 warnings aren't displayed. The pentium 0x0F errata is a recommended switch. The v5 linker's section alignment default is 512, but the v6 linker was changed to 4096 in an attempt to speed loading on Win98. I changed the default to always be 512 across both linkers, unless linking statically, then 4096 is used for the claimed speed effect. Using a 512 alignment saves 12k bytes of dead space in the DLL. Added IA64 B-stepping errata switch when the compiler supports it. Added profiling to $(lflags) when requested and also removed the explict -entry option as the default works fine as is. Removed win/tclWinInit.c from the special case section to let it use the common implicit rule as the $(EXTFLAGS) macro it had was never referenced anywhere.
* * generic/tcl.decls (Tcl_RegExpRange,Tcl_GetIndexFromObjStruct):dgp2002-02-204-18/+21
| | | | | | | Overlooked a few source incompatibilities. Now using CONST84. * generic/tclDecls.h: make genstubs * generic/tcl.h (Tcl_CmdObjTraceProc): silence warning from Sun Workshop compiler.
* no messagedavygrvy2002-02-201-0/+8
|
* * win/makefile.vc: Added the pentium errata switches to $(cflags)davygrvy2002-02-201-14/+8
| | | | | | | which should have already been there according to the MSDN docs regarding the infamous FDIV bug from `97. Added profiling to $(lflags) and also removed the explict -entry option as the default works without special work.
* Made tcl.h better at guessing what is going on with 64-bit types whendkf2002-02-202-4/+14
| | | | configure doesn't tell it explicitly.
* Fixed behaviour of [format] on 64-bit platforms by defining it to work withdkf2002-02-193-20/+37
| | | | | | machine words by default. This seems to be what the test suite expected anyway, and it is a fairly sensible choice. The other alternative was to make %d always 32-bit and %ld always 64-bit, but that'd be more complex to do.
* * First draft of updated changes for 8.4a4 release.dgp2002-02-192-101/+379
|
* * unix/tclUnixPort.h: add strtoll/strtoull declarations forhobbs2002-02-162-1/+11
| | | | platforms that do not define them.
* * generic/tclIndexObj.c (STRING_AT): removed ptrdiff_t cast andhobbs2002-02-162-14/+7
| | | | use of VOID* in default case (GNU-ism).
* Further changes to the TIP 72 patch to make it compile under VC++Kevin B Kenny2002-02-1510-21/+81
|
* * tclExecute.c:andreas_kupries2002-02-154-6/+18
| | | | | | | * tclIOGT.c: * tclIndexObj.c: Touchups to the TIP 72 patch to make it compileable under Windows again. The changes are not complete, there is one nasty regarding _stati64
* TIP#72 implementation. See ChangeLog for details.dkf2002-02-1576-2167/+5280
| | | | | This version builds clean on Solaris/SPARC, with GCC and CC, both with and without threads and both in 32-bit and 64-bit mode.