summaryrefslogtreecommitdiffstats
path: root/generic/tcl.h
Commit message (Collapse)AuthorAgeFilesLines
* Bump to 8.6.5dgp2016-01-281-2/+2
|
* Micro-optimization handling Tcl_Panic(), suggested by D. Richard Hipp.jan.nijtmans2015-09-231-0/+12
|\ | | | | As a side-effect, this is as well a fix for [1446864]: segfaults if Tcl_Panic() returns.
| * Decorate Tcl_Panic and Tcl_PanicVA with the noreturn option, alowing further ↵panic_noreturnjan.nijtmans2015-09-221-0/+8
|/ | | | optimizations by the C-compiler.
* Don't use internalRep.otherValuePtr any more, twoPtrValue.ptr1 is always a ↵jan.nijtmans2015-07-011-2/+3
| | | | | better idea. A few more consistancies in refcount management.
* Use twoPtrValue in stead of ptrAndLongRep for implementation of some ↵jan.nijtmans2015-06-301-6/+6
| | | | | internal Obj types. On most platforms this doesn't make a difference, as (void *) and (long) generially have the same size. The only exception where it makes a difference is win64, as we can now store 64 bits in this field in stead of only 32 bits, exactly what the processor is optimized for.
* Member field which should not have been const, because it is dynamically ↵jan.nijtmans2015-06-231-1/+1
|\ | | | | | | allocated. Some end-of-line spacing in header files.
| * Bump to version 8.5.18.dgp2015-02-051-2/+2
| |
| * missed a bumpdgp2014-10-131-1/+1
| |
| * Bump to 8.5.17dgp2014-10-101-1/+1
| |
| * Fix [59a2e78e54d3361c33b8cd6eef55d384d8abecd7|59a2e78e54] : tclWinTime.c ↵jan.nijtmans2014-10-081-1/+1
| | | | | | | | | | does not compile with MSVC14. Eliminate use of __MINGW32__ macro everywhare, as it is deprecated.
| * Bump to 8.5.16 for release.dgp2014-07-231-2/+2
| |
* | There's no need to constrain the declaration of Tcl_GetMemoryInfo().dgp2015-03-241-2/+0
| |
* | Tcl source code already assumes the <limits.h> file is available.dgp2015-03-241-10/+6
| | | | | | | | (See tcl/libtommath/tommath.h .) So dispose of all the configuration shenanigans pretending we want to support systems that lack one.
* | The STRICT directive influences how #include "windows.h" works.dgp2015-03-131-10/+0
| | | | | | This is not a generic concern. Move it over the tclWinPort.h.
* | Bump to 8.6.4.dgp2015-02-261-2/+2
| |
* | Tcl_ExternalToUtf appends a terminating NUL to its encoded results.dgp2014-11-151-0/+17
| | | | | | | | | | | | | | Perhaps this is a welcome convenience for some callers, but not for Tcl's I/O system, which has no need for that. Added a new flag value TCL_ENCODING_NO_TERMINATE that callers can use to suppress this behavior. This means buffers don't require so much padding, and a tiny bit of processing is saved. Update I/O callers to use the feature.
* | Bump to Tcl 8.6.3, TclOO 1.0.3, and update changes file.dgp2014-10-141-2/+2
| |
* | Bump to 8.6.2 for release.dgp2014-07-281-2/+2
| |
* | Re-apply [3010352], bringing back the symbol exports of shared libraries as ↵jan.nijtmans2014-05-021-1/+7
| | | | | | | | it was in 8.6.0/8.6.1.
* | Eliminate all usage of WIN32 and __WIN32__ macros: Some compilers (e.g. ↵jan.nijtmans2014-02-101-19/+16
| | | | | | | | | | Clang/LLVM) don't define it, and _WIN32 is much more portable anyway. See: [http://nadeausoftware.com/articles/2012/01/c_c_tip_how_use_compiler_predefined_macros_detect_operating_system#WindowsCygwinnonPOSIXandMinGW]
* | check for existance of __BORLANDC__ before using its valuejan.nijtmans2014-02-061-1/+1
|\ \ | |/
| * Check for existance of __BORLANDC__ before using its valuejan.nijtmans2014-02-061-1/+1
| |
* | Introducing a new union member in Tcl_Obj is not a good idea in a patch ↵jan.nijtmans2013-12-061-4/+0
| | | | | | | | | | | | release, especially using "long". Better allow iterNum and iterMax to grow to ssize_t (or size_t) in Tcl 9 (or 8.x, why not?). Usage of "long" in public API causes interoperability problems between Cygwin64 and Win64 (probably no-one cares except me).
* | New compiler and bytecodes for foreach and lmap: 70% faster mig2013-12-051-0/+4
| | | | | | | | | | | | | | | | | | * speed as measured by http://wiki.tcl.tk/39021: runs in <1/3 the time * still need to adapt array-set to use this * assemble.test-16.5 or 16.6 bombs in a purify/symbols build (?) * removing the old opcodes would force recompilation of old .tbc files or adaptation of tbcload
* | Cygwin: Fix conflicting definition with _mingw_stat64.h, if included ↵jan.nijtmans2013-11-221-1/+1
|\ \ | |/ | | | | together with <tcl.h>
| * Cygwin: Fix conflicting definition with _mingw_stat64.h, if included ↵jan.nijtmans2013-11-221-1/+1
| | | | | | | | together with <tcl.h>
| * Bump to 8.5.15 for release.dgp2013-08-291-2/+2
| |
* | [53a917d6c9]: Correction to macro for determining how to deprecate things.dkf2013-10-271-1/+1
| | | | | | Thanks to Raphael Kubo da Costa <rakuco@FreeBSD.org> for the patch.
* | Bump version number to 8.6.1.dgp2013-08-301-2/+2
| |
* | Bug [9b2e636361]: Tcl_CreateInterp() needs initialized encodings.jan.nijtmans2013-06-271-1/+1
|\ \ | |/
* | Don't #define VOID on VxWorks, as it is already typdef'd to void. Eliminate ↵jan.nijtmans2013-05-191-4/+6
|\ \ | |/ | | | | possibly conflicting LOCAL/OFFSET
| * Don't #define VOID on VxWorks, as it is already typdef'd to void. Eliminate ↵jan.nijtmans2013-05-191-4/+6
| |\ | | | | | | | | | possibly conflicting LOCAL/OFFSET
| | * Don't #define VOID on VxWorks, as it is already typdef'd to voidjan.nijtmans2013-05-191-4/+6
| | | | | | | | | Eliminate possibly conflicting LOCAL #define
| * | Release branch for Tcl 8.5.14.dgp2013-03-211-2/+2
| | |
* | | Some VOID -> void, Tcl_TraceVar -> Tcl_TraceVar2 and Tcl_VarTraceInfo -> ↵jan.nijtmans2013-02-271-8/+8
| | | | | | | | | | | | Tcl_VarTraceInfo2 conversions.
* | | Eliminate last use of Tcl_SetResult (except the use in the Test suite)jan.nijtmans2013-02-151-2/+2
| | | | | | | | | Fix depreciation message in tcl.h
* | | fix Bug 3598300 on MacOSX toojan.nijtmans2013-01-191-1/+1
|\ \ \ | |/ /
| * | fix Bug 3598300 on MacOSX toojan.nijtmans2013-01-191-1/+1
| |\ \
| | * | Proposed solution for Bug 3598300 on MacOSXbug_3598300jan.nijtmans2013-01-181-2/+1
| |/ /
* | | Allow win32 build with -DTCL_NO_DEPRECATED, just as the UNIX build, off by ↵jan.nijtmans2013-01-161-7/+0
|\ \ \ | |/ / | | | | | | | | | default. Define Tcl_EvalObj and Tcl_GlobalEvalObj as macros, even when TCL_NO_DEPRECATED is defined, so Tk can benefit from it too.
| * | Allow win32 build with -DTCL_NO_DEPRECATED, just as the UNIX build, off by ↵jan.nijtmans2013-01-161-11/+0
| |\ \ | | |/ | | | | | | | | | default. Define Tcl_EvalObj and Tcl_GlobalEvalObj as macros, even when TCL_NO_DEPRECATED is defined, so Tk can benefit from it too (this is not what TCL_NO_DEPRECATED is supposed to do).
| | * Allow win32 build with -DTCL_NO_DEPRECATED, just as the UNIX build, off by ↵jan.nijtmans2013-01-161-11/+0
| | | | | | | | | | | | | | | default. Define Tcl_EvalObj and Tcl_GlobalEvalObj as macros, even when TCL_NO_DEPRECATED is defined, so Tk can benefit from it too (this is not what TCL_NO_DEPRECATED is supposed to do).
* | | merge trunk, update changes and re-tagcore_8_6_0core_8_6_0_rcdgp2012-12-141-5/+7
|\ \ \
| * \ \ Restore clarity to macro test.dgp2012-12-131-1/+1
| |\ \ \ | | |/ /
| | * | Restore clarity to macro test.dgp2012-12-131-1/+1
| | |\ \ | | | |/
| | | * Restore clarity to macro test.dgp2012-12-131-1/+1
| | | |
| * | | Changelog entry, and change macro variable to not conflict with possible ↵jan.nijtmans2012-12-131-3/+3
| |\ \ \ | | |/ / | | | | | | | | outside variable names
| | * | Changelog entry, and change macro variable to not conflict with possible ↵jan.nijtmans2012-12-131-3/+3
| | |\ \ | | | |/ | | | | | | | | outside variable names
| | | * Changelog entry, and change macro variable to not conflict with possible ↵jan.nijtmans2012-12-131-3/+3
| | | | | | | | | | | | | | | | outside variable names
| * | | Fix Tcl_DecrRefCount macro, not to refer to its objPtr parameter twice.jan.nijtmans2012-12-131-5/+7
| |\ \ \ | | |/ /