summaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* Clean up of tests and conversion to tcltest 2. Target has been to get init anddkf2011-01-011-0/+10
| | | | 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-011-0/+5
| | | | fails (with a crash) in an unfixed memdebug build on 64-bit systems.
* * generic/tclCmdIL.c (SortElement): Use unions properly in thedkf2011-01-011-6/+13
| | | | | | 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-311-0/+5
| | | | with -DSTATIC_BUILD
* * generic/tclExecute.c (GrowEvaluationStack): off-by-one error inMiguel Sofer2010-12-301-0/+7
| | | | | | 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-271-18/+27
| | | | options are used. Simplified memory handling logic.
* [Patch 3059922]: fixes for mingw64 - gcc4.5.1 tdm64-1: completed for all ↵nijtmans2010-12-211-0/+5
| | | | environments.
* Explicitely test for intrinsics support in compiler, before assuming only ↵nijtmans2010-12-201-0/+7
| | | | 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-191-0/+5
| | | | Fixed for gcc, not yet for MSVC 64-bit.
* Remove unwanted/obsolete 'ddd' target.stwo2010-12-171-0/+4
|
* Clean up '.PHONY:' targets: Arrange those common to Tcl and Tk as in Tk's ↵stwo2010-12-171-0/+6
| | | | Makefile.in, add any missing ones and remove duplicates.
* [Bug 2446711]: Remove 'allpatch' target.stwo2010-12-171-0/+4
|
* Use 'rpmbuild', not 'rpm' [Bug 2537626].stwo2010-12-171-0/+4
|
* [Patch 3124554]: Move WishPanic from Tk to Tclnijtmans2010-12-161-1/+6
| | | | Better communication with debugger, if present.
* Restore abort() in Tcl_Panic() as it was before.nijtmans2010-12-151-2/+6
| | | | [Patch 3124554] use ExitProcess() here, like in wish.
* [Bug 3137454]: Tcl CVS HEAD does not build on GCC 3nijtmans2010-12-141-0/+4
|
* * win/tclWinSock.c (CreateSocket): Swap the loops overrmax2010-12-141-0/+8
| | | | | | | * 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-131-0/+3
|
* Use gcc's __builtin_trap(), when available, to enter the debugger after a panic.nijtmans2010-12-131-0/+7
| | | | Undocumented feature, see [Patch 3124554]: Move WishPanic from Tk to Tcl.
* Better building on OpenBSD.stwo2010-12-121-0/+5
|
* [Bug 3129448]: Possible over-allocation on 64-bit platforms, part 2nijtmans2010-12-101-0/+10
|
* Make sure [fcopy -size ... -command ...] always calls the callback ↵ferrieux2010-12-101-0/+5
| | | | asynchronously, even for size zero.
* Change first parameter of TclSockMinimumBuffers to ClientData, and ↵nijtmans2010-12-101-0/+9
| | | | TclWin(Get|Set)SockOpt to SOCKET, because on Win64 those are 64-bit, which does not fit.
* Fix gcc -Wextra warning: missing initializernijtmans2010-12-101-0/+11
|
* * tests/fCmd.test: Improve sanity of constraints now that we don'tdkf2010-12-091-0/+3
| | | | support anything before Windows 2000.
* * generic/tclCmdAH.c (TclInitFileCmd, TclMakeFileCommandSafe, ...):dkf2010-12-091-0/+17
| | | | | | | | | | | | | | | | | | 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-091-0/+6
| | | | | 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-071-0/+4
| | | | | * 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-071-45/+51
| | | | | 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-061-0/+6
|
* [Patch #3116490] cross-compile support for unixnijtmans2010-12-051-1/+1
|
* [Patch #3116490] cross-compile support for unixnijtmans2010-12-051-0/+5
|
* * generic/tclUtil.c (TclReToGlob): add extra check for multiplehobbs2010-12-031-4/+10
| | | | | 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-031-0/+10
| | | | | | 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-011-0/+9
| | | | | | | | 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]
* Allow Tcl_Panic() to enter the debugger on win32nijtmans2010-12-011-1/+2
|
* fix gcc 64-bit warnings: cast from pointer to integer of different sizenijtmans2010-12-011-0/+10
| | | | fix gcc(-4.5.2) warning: 'static' is not at beginning of declaration
* * generic/tclInt.decls, generic/tclInt.h, generic/tclIntDecls.h:hobbs2010-11-301-0/+8
| | | | | | | * generic/tclStubInit.c: TclFormatInt restored at slot 24 * generic/tclUtil.c (TclFormatInt): restore TclFormatInt func from 2005-07-05 macro-ization. Benchmarks indicate it is faster, as a key int->string routine (e.g. int-indexed arrays).
* ChangeLog typo.ferrieux2010-11-291-1/+1
|
* Patch by Miguel, providing a [::tcl::unsupported::inject coroname command ↵ferrieux2010-11-291-0/+7
| | | | args], which prepends ("injects") arbitrary code to a suspented coro's future resumption. Neat for debugging complex coros without heavy instrumentation.
* 2010-11-29 Kevin B. Kenny <kennykb@acm.org>Kevin B Kenny2010-11-281-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | * generic/tclInt.decls: * generic/tclInt.h: * generic/tclStrToD.c: * generic/tclTest.c: * generic/tclTomMath.decls: * generic/tclUtil.c: * tests/util.test: * unix/Makefile.in: * win/Makefile.in: * win/makefile.vc: Rewrite of Tcl_PrintDouble and TclDoubleDigits that (a) fixes a severe performance problem with floating point shimmering reported by Karl Lehenbauer, (b) allows TclDoubleDigits to generate the digit strings for 'e' and 'f' format, so that it can be used for tcl_precision != 0 (and possibly later for [format]), (c) fixes [Bug 3120139] by making TclPrintDouble inherently locale-independent, (d) adds test cases to util.test for correct rounding in difficult cases of TclDoubleDigits where fixed- precision results are requested. (e) adds test cases to util.test for the controversial aspects of [Bug 3105247]. As a side effect, two more modules from libtommath (bn_mp_set_int.c and bn_mp_init_set_int.c) are brought into the build, since the new code uses them.
* * tests/chanio.test, tests/iogt.test, tests/ioTrans.test: Convert moredkf2010-11-241-0/+5
| | | | tests to tcltest2 and factor them to be easier to understand.
* * tests/chanio.test: Converted many tests to tcltest2 by marking thedkf2010-11-201-0/+5
| | | | setup and cleanup parts as such.
* fix gcc warnings: unused variable 'registration'nijtmans2010-11-191-0/+6
|
* Set NO_VIZ=1 when zlib is compiled in libtcl,nijtmans2010-11-181-0/+3
| | | | this resolves compiler warnings in 64-bit and static builds.
* [FRQ 491789]: "setargv() doesn't support a unicode cmdline"nijtmans2010-11-181-0/+7
| | | | | now implemented for cygwin and mingw32 too. No longer disable tests Tcl_Main-1.4 and 1.6 on Windows, because those now work on all supported platforms.
* * doc/file.n: [Bug 3111298]: Typofix.dkf2010-11-181-0/+2
|
* * tests/oo.test: [Bug 3111059]: Added testing that neatly trapped thisdkf2010-11-181-10/+15
| | | | issue.
* * generic/tclNamesp.c: fix leak due to bad looping construct,Miguel Sofer2010-11-181-0/+5
| | | | [Bug 3111059]