summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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]
* Allow Tcl_Panic() to enter the debugger on win32nijtmans2010-12-013-13/+11
|
* fix gcc 64-bit warnings: cast from pointer to integer of different sizenijtmans2010-12-016-22/+32
| | | | fix gcc(-4.5.2) warning: 'static' is not at beginning of declaration
* * generic/tclInt.decls, generic/tclInt.h, generic/tclIntDecls.h:hobbs2010-11-306-25/+109
| | | | | | | * 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-292-2/+58
| | | | args], which prepends ("injects") arbitrary code to a suspented coro's future resumption. Neat for debugging complex coros without heavy instrumentation.
* added missing casts that MSVC complained about and deleted unused variableKevin B Kenny2010-11-292-7/+6
|
* 2010-11-29 Kevin B. Kenny <kennykb@acm.org>Kevin B Kenny2010-11-2814-410/+3559
| | | | | | | | | | | | | | | | | | | | | | | | * 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-244-1303/+1378
| | | | tests to tcltest2 and factor them to be easier to understand.
* More conversion of tcltest1 tests to tcltest2dkf2010-11-211-483/+521
|
* * tests/chanio.test: Converted many tests to tcltest2 by marking thedkf2010-11-202-1172/+1333
| | | | setup and cleanup parts as such.
* fix gcc warnings: unused variable 'registration'nijtmans2010-11-194-7/+13
|
* Tcl_Panic already writes a newline at the end, so the caller doesn't have to ↵nijtmans2010-11-191-2/+2
| | | | do that
* Set NO_VIZ=1 when zlib is compiled in libtcl,nijtmans2010-11-183-1/+9
| | | | this resolves compiler warnings in 64-bit and static builds.
* [FRQ 491789]: "setargv() doesn't support a unicode cmdline"nijtmans2010-11-183-54/+61
| | | | | 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-182-2/+4
|
* * tests/oo.test: [Bug 3111059]: Added testing that neatly trapped thisdkf2010-11-182-11/+50
| | | | issue.
* * generic/tclNamesp.c: fix leak due to bad looping construct,Miguel Sofer2010-11-181-3/+5
| | | | | [Bug 3111059] (Correct fix this time around)
* * generic/tclNamesp.c: fix leak due to bad looping construct,Miguel Sofer2010-11-182-5/+8
| | | | [Bug 3111059]
* [FRQ 491789]: "setargv() doesn't support a unicode cmdline" now implemented ↵nijtmans2010-11-173-2/+92
| | | | for mingw-w64
* Bring compilation under mingw-w64 a bit closer to reality (but don't break ↵nijtmans2010-11-171-3/+3
| | | | mingw32 build!)
* [Bug #3110161]: Extensions using TCHAR don't compile on VS2005 SP1nijtmans2010-11-162-1/+7
|
* Bring compilation under mingw-w64 a bit closer to realitynijtmans2010-11-165-32/+46
|
* * doc/interp.n: [3081184] TIP #378.andreas_kupries2010-11-159-57/+352
| | | | | | | | | | * doc/tclvars.n: Performance fix for TIP #280. * generic/tclBasic.c: * generic/tclExecute.c: * generic/tclInt.h: * generic/tclInterp.c: * tests/info.test: * tests/interp.test:
* reverted previous commit: it has effect on the Windows consolenijtmans2010-11-152-29/+33
|
* Eliminate use of the function Tcl_WinTCharToUtf in generic codenijtmans2010-11-152-33/+29
|
* * changes: Updates for 8.6b2 release.andreas_kupries2010-11-102-1/+15
|
* Fix [Bug 3105999]; deallocate temporary structure.dkf2010-11-092-5/+14
|
* Clarify the tests so that what is being tested is in the body... :-)dkf2010-11-091-7/+10
|
* * tests/oo.test: Various tests for memory leaks.dkf2010-11-092-1/+39
|