summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tclOOMethod.c (PushMethodCallFrame): [Bug 3001438]: Makedkf2011-01-183-10/+62
| | | | | | | sure that the cmdPtr field of the procPtr is correct and relevant at all times so that [info frame] can report sensible information about a frame after a return to it from a recursive call, instead of probably crashing (depending on what else has overwritten the Tcl stack!)
* Various mismatches between Tcl_Panic format string and its arguments,nijtmans2011-01-188-25/+35
| | | | discovered thanks to [Bug 3159920]
* [Bug 3148192]: Commands "read/puts" incorrectly interpret parameters.nijtmans2011-01-175-36/+43
| | | | Improved error-message regarding legacy form.
* Removed code that suppressed zeroes in a context where zeroes cannot appear.Kevin B Kenny2011-01-151-6/+1
|
* * doc/tclvars.n:Kevin B Kenny2011-01-155-17/+1986
| | | | | | | | | | * generic/tclStrToD.c: * generic/tclUtil.c (Tcl_PrintDouble): * tests/util.test (util-16.*): Restored full Tcl 8.4 compatibility for the formatting of floating point numbers when $::tcl_precision is not zero. Added compatibility tests to make sure that excess trailing zeroes are suppressed for all eight major code paths. [Bug 3157475]
* fall back to assembler for VC++ 32-bitnijtmans2011-01-121-2/+4
|
* handle --enable-64bit=ia64 for gccnijtmans2011-01-124-47/+63
| | | | more accurate test for correct <intrin.h>
* VS 2005 64-bit does not have intrin.h, and does not need it.nijtmans2011-01-122-8/+5
|
* VS 2005 64-bit does not have intrin.h, and does not need it.nijtmans2011-01-122-2/+4
|
* Use _vsnprintf in stead of vsnprintf, because MSVC 6 doesn't have it. ↵nijtmans2011-01-122-2/+7
| | | | Reported by andreask.
* * tests/util.test (util-15.*): Added test cases for floating pointKevin B Kenny2011-01-072-1/+97
| | | | | | | conversion of the largest denormal and the smallest normal number, to avoid any possibility of the failure suffered by PHP in the last couple of days. (They didn't fail, so no actual functional change.)
* * tests/package.test, tests/pkg.test: Coalesce these tests into onedkf2011-01-065-1455/+1435
| | | | | | | file that is concerned with the package system. Convert to use tcltest2 properly. * tests/autoMkindex.test, tests/pkgMkIndex.test: Convert to use tcltest2 properly.
* Clean up of tests and conversion to tcltest 2. Target has been to get init anddkf2011-01-0121-699/+713
| | | | cleanup code out of the test body and into the -setup/-cleanup stanzas.
* * tests/execute.test (execute-11.1): [Bug 3142026]: Added test thatdkf2011-01-012-94/+129
| | | | fails (with a crash) in an unfixed memdebug build on 64-bit systems.
* * generic/tclCmdIL.c (SortElement): Use unions properly in thedkf2011-01-012-31/+41
| | | | | | definition of this structure so that there is no need to use nasty int/pointer type punning. Made it clearer what the purposes of the various parts of the structure are.
* Fix [Bug 3148192]: [load] broken. Assure that those files are never compiled ↵nijtmans2010-12-317-6/+17
| | | | with -DSTATIC_BUILD
* * generic/tclExecute.c (GrowEvaluationStack): off-by-one error inMiguel Sofer2010-12-302-4/+11
| | | | | | sizing the new allocation - was ok in comment but wrong in the code. Triggered by [Bug 3142026] which happened to require exactly one more than what was in existence.
* * generic/tclCmdIL.c (Tcl_LsortObjCmd): Fix crash when multiple -indexdkf2010-12-273-63/+79
| | | | options are used. Simplified memory handling logic.
* [Patch 3059922]: fixes for mingw64 - gcc4.5.1 tdm64-1: completed for all ↵nijtmans2010-12-212-3/+23
| | | | environments.
* cannot use '['/']' in configure.in, or re-generation will go wrongnijtmans2010-12-212-5/+3
|
* fix cpuid determinationnijtmans2010-12-202-4/+4
|
* Explicitely test for intrinsics support in compiler, before assuming only ↵nijtmans2010-12-204-6/+111
| | | | MSVC has it.
* [Patch3059922]: fixes for mingw64 - gcc4.5.1 tdm64-1:nijtmans2010-12-191-1/+1
| | | | Fixed for gcc, not yet for MSVC 64-bit.
* [Patch 3124554]: fixes for mingw64 - gcc4.5.1 tdm64-1:nijtmans2010-12-192-5/+41
| | | | Fixed for gcc, not yet for MSVC 64-bit.
* Remove unwanted/obsolete 'ddd' target.stwo2010-12-172-7/+6
|
* Clean up '.PHONY:' targets: Arrange those common to Tcl and Tk as in Tk's ↵stwo2010-12-172-9/+17
| | | | Makefile.in, add any missing ones and remove duplicates.
* [Bug 2446711]: Remove 'allpatch' target.stwo2010-12-172-24/+6
|
* Use 'rpmbuild', not 'rpm' [Bug 2537626].stwo2010-12-172-3/+7
|
* [Patch 3124554]: Move WishPanic from Tk to Tclnijtmans2010-12-163-16/+42
| | | | Better communication with debugger, if present.
* Restore abort() in Tcl_Panic() as it was before.nijtmans2010-12-153-16/+16
| | | | [Patch 3124554] use ExitProcess() here, like in wish.
* [Bug 3137454]: Tcl CVS HEAD does not build on GCC 3nijtmans2010-12-142-2/+6
|
* * win/tclWinSock.c (CreateSocket): Swap the loops overrmax2010-12-143-24/+32
| | | | | | | * unix/tclUnixSock.c (CreateClientSocket): local and remote addresses, so that the system's address preference for the remote side decides which family gets tried first. Cleanup and clarify some of the comments.
* [Bug 3135271] Link error due to hidden symbols (CentOS 4.2)nijtmans2010-12-134-2/+11
|
* Use gcc's __builtin_trap(), when available, to enter the debugger after a panic.nijtmans2010-12-133-8/+66
| | | | Undocumented feature, see [Patch 3124554]: Move WishPanic from Tk to Tcl.
* Better building on OpenBSD.stwo2010-12-123-26/+71
|
* [Bug 3129448]: Possible over-allocation on 64-bit platforms, part 2nijtmans2010-12-108-26/+36
|
* Make sure [fcopy -size ... -command ...] always calls the callback ↵ferrieux2010-12-103-2/+82
| | | | asynchronously, even for size zero.
* Change first parameter of TclSockMinimumBuffers to ClientData, and ↵nijtmans2010-12-1010-36/+358
| | | | TclWin(Get|Set)SockOpt to SOCKET, because on Win64 those are 64-bit, which does not fit.
* Fix gcc -Wextra warning: missing initializernijtmans2010-12-109-167/+179
|
* * tests/fCmd.test: Improve sanity of constraints now that we don'tdkf2010-12-092-22/+42
| | | | support anything before Windows 2000.
* * generic/tclCmdAH.c (TclInitFileCmd, TclMakeFileCommandSafe, ...):dkf2010-12-0911-930/+1799
| | | | | | | | | | | | | | | | | | Break up [file] into an ensemble. Note that the ensemble is safe in itself, but the majority of its subcommands are not. * generic/tclFCmd.c (FileCopyRename,TclFileDeleteCmd,TclFileAttrsCmd) (TclFileMakeDirsCmd): Adjust these subcommand implementations to work inside an ensemble. (TclFileLinkCmd, TclFileReadLinkCmd, TclFileTemporaryCmd): Move these subcommand implementations from tclCmdAH.c, where they didn't really belong. * generic/tclIOCmd.c (TclChannelNamesCmd): Move to more appropriate source file. * generic/tclEnsemble.c (TclMakeEnsemble): Start of code to make partially-safe ensembles. Currently does not function as expected due to various shortcomings in how safe interpreters are constructed. * tests/cmdAH.test, tests/fCmd.test, tests/interp.test: Test updates to take into account systematization of error messages.
* * tests/append.test, tests/appendComp.test: Clean up tests so thatdkf2010-12-093-108/+131
| | | | | they don't leave things in the global environment (detected when doing -singleproc testing).
* * tests/fCmd.test, tests/safe.test, tests/uplevel.test,dkf2010-12-076-348/+363
| | | | | * tests/upvar.test, tests/var.test: Convert more tests to tcltest2 and factor them to be easier to understand.
* * generic/tclStrToD.c: Tidy up code so that more #ifdef-fery isdkf2010-12-072-1160/+1178
| | | | | quarantined at the front of the file and function headers follow the modern Tcl style.
* [Bug 3129448]: possible over-allocation on 64-bit platformsnijtmans2010-12-064-21/+26
|
* [Patch #3116490] cross-compile support for unixnijtmans2010-12-051-1/+1
|
* [Patch #3116490] cross-compile support for unixnijtmans2010-12-053-14/+51
|
* * generic/tclUtil.c (TclReToGlob): add extra check for multiplehobbs2010-12-032-6/+24
| | | | | inner *s that leads to poor recursive glob matching, defer to original RE instead. tclbench RE var backtrack.
* silence gcc warning when using -Wwrite-stringsnijtmans2010-12-037-24/+54
| | | | | | silence gcc warning for non-IEEE platforms [Patch #3116490] cross-compile Tcl mingw32 on unix. This makes it possible to cross-compile Tcl/Tk for Windows (either 32-bit or 64-bit) out-of-the-box on UNIX, using mingw-w64 build tools.
* * generic/tclStrToD.c (SetPrecisionLimits, TclDoubleDigits):Kevin B Kenny2010-12-012-4/+20
| | | | | | | | Added meaningless initialization of 'i', 'ilim' and 'ilim1' to silence warnings from the C compiler about possible use of uninitialized variables, Added a panic to the 'switch' that assigns them, to assert that the 'default' case is impossible. [Bug 3124675]