| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
backported strcpy->memcpy change but not change in any struct.
|
|
|
|
|
|
| |
const/void when appropriate. This allows to
use const/void in the *.decls file always,
genStubs will do the right thing.
|
|
|
|
| |
wherever ::errorInfo may be updated, for trace sanity). [Bug 3138178]
|
|
|
|
|
|
| |
const/void when appropriate. This allows to
use const/void in the *.decls file always,
genStubs will do the right thing.
|
|
|
|
| |
discovered thanks to [Bug 3159920]
|
|
|
|
| |
Improved error-message regarding legacy form.
|
|
|
|
|
|
|
|
|
|
| |
* 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]
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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)
|
|
|
|
| |
callback asynchronously, even for size zero.
|
|
|
|
|
| |
inner *s that leads to poor recursive glob matching, defer to
original RE instead. tclbench RE var backtrack.
|
| |
|
|
|
|
|
|
|
|
| |
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.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/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).
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
qualifiers from pointer target type
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* 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:
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* 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]
|
|
|
|
| |
Upgrade everything to Unicode 6.0, except non-BMP characters > 0xFFFF
|
|
|
|
| |
(mixing numwords and numbytes)
|
| |
|
|
|
|
|
|
|
|
|
| |
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:
|
|
|
|
|
|
| |
* generic/tclEvent.c: Tcl_GetReturnOptions() was leaked.
* generic/tclMain.c: Thanks to Jeff Hobbs for discovery of the
anti-pattern to seek and destroy.
|
| |
|
|
|
|
|
|
|
| |
* generic/tclVar.c: make the behaviour of lappend in bytecompiled
* tests/append.test: mode consistent with direct-eval and 'append'
* tests/appendComp.test: generally. Added tests (append*-9.*)
showing the difference.
|
|
|
|
|
|
| |
(TraceVariableObjCmd): [Patch 3048354]: Use memcpy() instead of
strcpy() to avoid buffer overflow; we have the correct length of data
to copy anyway since we've just allocated the target buffer.
|
|
|
|
|
| |
handling of passing the wrong number of arguments to [apply] somewhat
less verbose when a lambda term is present.
|
|
|
|
| |
Backport of updates to make handling of RE line anchors correct.
|
|
|
|
| |
null-terminated, so account for that.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* library/init.tcl:
* tools/tcl.wse.in:
* unix/configure.in:
* unix/tcl.spec:
* win/configure.in:
* README:
* unix/configure: autoconf-2.59
* win/configure:
* changes: Update for 8.5.9 release.
|
|
|
|
| |
* tests/ioCmd.test: in InvokeTclMethod and callers.
|
|
|
|
| |
optimisation in TclDeleteVars (used for runtime-created locals)
|
|
|
|
| |
revert tclInt.h to what it was before, and relax the relation between Tcl_CallFrame and CallFrame.
|
| |
|
|
|
|
|
|
| |
sure that errors caused by an argument to an operator being outside
the domain of the operator all result in ::errorCode being ARITH
DOMAIN and not NONE.
|
| |
|
| |
|
| |
|
|
|
|
| |
args message.
|
| |
|
| |
|
|
|
|
|
|
| |
tclPlatDecls.h: Fix <tchar.h> inclusion for CYGWIN.
tclPathObj.c: Fix Tcl_SetStringObj usage for CYGWIN.
*.c: Fix various minor other gcc warnings, like signed<->unsigned mismatch.
|
| |
|
| |
|
|
|
|
|
| |
when the generated string representation would grow beyond Tcl's
size limits. [Bug 2994924]
|
|
|
|
|
| |
jnterface implicitly decrements refcount of the passed result object
when the passed result object refcount was already zero.
|
| |
|