summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Make sure to use CONST/VOID in stead ofnijtmans2011-01-192-10/+10
| | | | | | const/void when appropriate. This allows to use const/void in the *.decls file always, genStubs will do the right thing.
* Backport of Miguel's 2010-09-22 fix on 8.6 branch (decache stack info ↵ferrieux2011-01-192-1/+45
| | | | wherever ::errorInfo may be updated, for trace sanity). [Bug 3138178]
* Make sure to use CONST/VOID in stead ofnijtmans2011-01-195-117/+38
| | | | | | const/void when appropriate. This allows to use const/void in the *.decls file always, genStubs will do the right thing.
* Various mismatches between Tcl_Panic format string and its arguments,nijtmans2011-01-186-37/+45
| | | | discovered thanks to [Bug 3159920]
* [Bug 3148192]: Commands "read/puts" incorrectly interpret parameters.nijtmans2011-01-175-35/+35
| | | | Improved error-message regarding legacy form.
* handle --enable-64bit=ia64 for gcc. BACKPORT.nijtmans2011-01-174-42/+102
| | | | [Patch 3059922]: fixes for mingw64 - gcc4.5.1
* * doc/tclvars.n:Kevin B Kenny2011-01-155-56/+2106
| | | | | | | | | | * 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]
* * generic/tclExecute.c (GrowEvaluationStack): Off-by-one error inMiguel Sofer2011-01-132-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. BACKPORT.
* Fix "make genstubs", which was broken since 2010-11-30, the TclDoubleDigits ↵nijtmans2011-01-032-3/+13
| | | | backport.
* [Bug 3007895]: Tcl_(Find|Create)HashEntry stub entries can never be called.nijtmans2010-12-312-4/+34
| | | | | | They still cannot be called (no change in functionality), but at least they now do exactly the same as the Tcl_(Find|Create)HashEntry macro's, so the confusion addressed in this Bug report is gone. (Backported from Tcl 8.6)
* Remove unwanted/obsolete 'ddd' target.stwo2010-12-172-9/+5
|
* [Bug 2446711]: Remove 'allpatch' target.stwo2010-12-172-23/+5
|
* Use 'rpmbuild', not 'rpm' [Bug 2537626].stwo2010-12-172-3/+7
|
* Cross-compile support for Win and UNIX (backported)nijtmans2010-12-136-26/+367
|
* Better building on OpenBSD.stwo2010-12-123-26/+71
|
* [backport] Make sure [fcopy -size ... -command ...] always calls the ↵ferrieux2010-12-103-2/+82
| | | | callback asynchronously, even for size zero.
* * generic/tclUtil.c (TclReToGlob): add extra check for multiplehobbs2010-12-032-2/+20
| | | | | inner *s that leads to poor recursive glob matching, defer to original RE instead. tclbench RE var backtrack.
* Whitespace, and fix broken backport of ilimi* initialization.andreas_kupries2010-12-011-66/+66
|
* * 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]
* * generic/tclInt.decls: Backport of Kevin B. Kenny's work onandreas_kupries2010-11-3016-388/+3565
| | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclInt.h: the Tcl Head, with help from Jeff Hobbs. * 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. * generic/tclIntDecls.h: * generic/tclStubInit.c: * generic/tclTomMathDecls.h: Regenerated.
* * generic/tclInt.decls, generic/tclInt.h, generic/tclIntDecls.h:hobbs2010-11-306-24/+114
| | | | | | | * 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).
* * generic/tclVar.c (VarHashInvalidateEntry): Removed obsoleteandreas_kupries2010-11-232-12/+8
| | | | | | patch for AIX defining this macro as function. This is not necessary anymore. See ChangeLog entry 2010-07-28 (Bug 3037525) for the actual bug and fix the patch was a workaround for.
* Allow cross-compilation by default (backported)nijtmans2010-11-194-96/+176
| | | | Use -pipe for gcc on win32 (backported)
* fix gcc warnings: unused variable 'registration'nijtmans2010-11-194-8/+11
|
* fix gcc warning: dereferencing pointer 'oemId' does break strict-aliasing rulesnijtmans2010-11-192-7/+10
|
* fix gcc warning: passing argument 3 of 'Tcl_GetIndexFromObj' discards ↵nijtmans2010-11-192-2/+7
| | | | qualifiers from pointer target type
* * doc/file.n: [Bug 3111298]: Typofix.dkf2010-11-182-12/+15
|
* [Bug #3110161]: Extensions using TCHAR don't compile on VS2005 SP1nijtmans2010-11-162-1/+10
|
* * doc/interp.n: [3081184] TIP #378.andreas_kupries2010-11-159-53/+377
| | | | | | | | | | * 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:
* Backport dgp's fixes to comments and ChangeLog entryKevin B Kenny2010-11-052-3/+3
|
* * generic/tclCompCmds.c (TclCompileCatchCmd):Kevin B Kenny2010-11-033-71/+155
| | | | | | | | | | * tests/compile.test (compile-3,6): Reworked the compilation of the [catch] command so as to avoid placing any code that might throw an exception (specifically, any initial substitutions or any stores to result or options variables) between the BEGIN_CATCH and END_CATCH but outside the exception range. Added a test case that panics on a stack smash if the change is not made. [Bug #3098302]
* Improved handling of non-standard module path lists, empty path lists in ↵stwo2010-11-023-6/+11
| | | | particular.
* * library/tzdata/Asia/Hong_Kong:Kevin B Kenny2010-11-014-4/+8
| | | | | * library/tzdata/Pacific/Apia: * library/tzdata/Pacific/Fiji: Olson's tzdata2010o.
* Update for VS10nijtmans2010-10-232-3/+6
|
* [Bug 3085863]: tclUniData 9 years oldnijtmans2010-10-237-1063/+1107
| | | | Upgrade everything to Unicode 6.0, except non-BMP characters > 0xFFFF
* * generic/tclExecute.c: fix overallocation of exec stack in TEBCMiguel Sofer2010-10-092-3/+8
| | | | (mixing numwords and numbytes)
* correct evalstats to use %#lx for %p for Tcl_AppendPrintfToObjhobbs2010-10-041-2/+2
|
* * generic/tclExecute.c (EvalStatsCmd): change 'evalstats' tohobbs2010-10-025-119/+159
| | | | | | | | | return data to interp by default, or if given an arg, use that as filename to output to (accepts 'stdout' and 'stderr'). Fix output to print used inst count data. * generic/tclCkalloc.c: change TclDumpMemoryInfo sig to allow * generic/tclInt.decls: objPtr as well as FILE* as output. * generic/tclIntDecls.h:
* * tclWinsock.c: [Bug 3056775]: Fixed race condition between threadandreas_kupries2010-09-242-1/+54
| | | | | | and internal co-thread access of a socket's structure because of the thread not using the socketListLock in TcpAccept(). Added documentation on how the module works to the top.
* * generic/tclCmdAH.c: Fix cases where value returned bydgp2010-09-234-3/+13
| | | | | | * generic/tclEvent.c: Tcl_GetReturnOptions() was leaked. * generic/tclMain.c: Thanks to Jeff Hobbs for discovery of the anti-pattern to seek and destroy.
* * doc/file.n (file readlink): [Bug 3070580]: Typofix.dkf2010-09-182-2/+6
|
* update file generated by 'make dist'dgp2010-09-151-0/+3
|
* * doc/regsub.n: [Bug 3063568]: Fix for gotcha in example due to Tcl'sdkf2010-09-102-6/+15
| | | | | special handling of backslash-newline. Makes example slightly less pure, but more useful.
* * changes: Update for 8.5.9 release.core_8_5_9dgp2010-09-082-4/+8
|
* * doc/tm.n: Added underscore to the set of characters accepted inandreas_kupries2010-09-082-3/+9
| | | | | module names. This is true for quite some time in the code, this change catches up the documentation.
* * win/tclWin32Dll.c: #ifdef protections to permit builds withdgp2010-09-084-28/+47
| | | | | * win/tclWinChan.c: mingw on amd64 systems. Thanks to "mescalinum" * win/tclWinFCmd.c: for reporting and testing.
* Backport blkcnt_t detection/usage.stwo2010-09-064-4/+83
|
* Tag for RC4 release (again)dgp2010-09-021-2/+2
|
* * doc/glob.n: Fixed documentation ambiguity regarding the handlingandreas_kupries2010-09-022-3/+7
| | | | of -join.
* * library/safe.tcl (::safe::AliasGlob): Fixed another problem, theandreas_kupries2010-09-022-2/+8
| | | | | option -join does not stop option processing in the core builtin, so the emulation must not do that either.