summaryrefslogtreecommitdiffstats
path: root/generic/tcl.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused functions like TclWinSetSockOpt()/Tcl_DStringTrunc() if ↵jan.nijtmans2017-04-201-6/+11
| | | | compiled with -DTCL_NO_DEPRECATED
* Minor simplification in tcl.h: For the ↵jan.nijtmans2017-04-071-8/+5
| | | | Tcl_WideAsLong/Tcl_LongAsWide/Tcl_WideAsDouble/Tcl_DoubleAsWide #defines, one set suffices: No need to have two versions depending on TCL_WIDE_INT_IS_LONG.
* Improve comment on TCL_WIDE_INT_IS_LONG, making it less misleading. jan.nijtmans2017-03-271-2/+2
|\ | | | | In tclThreadTest.c, allow mainThreadId to be >32 bits.
| * Improve comment on TCL_WIDE_INT_IS_LONG, making it less misleading. jan.nijtmans2017-03-271-2/+2
| | | | | | In tclThreadTest.c, allow mainThreadId to be >32 bits.
* | Supply more C99-compatible (and MSVC) format options: '%p' for pointers, ↵jan.nijtmans2017-03-241-5/+1
| | | | | | | | | | 'z'/'j'/'I' for size_t/intptr_diff, 'j'/'q' for long long. Also add "I32" froom MSVC. Remove TCL_LL_MODIFIER specified as "L" for Borland: This must be wrong as "L" is meant for long double. Just assume that later Borland compilers are MSVC-compatible.
* | Eliminate internal use of ↵jan.nijtmans2017-03-131-1/+1
| | | | | | | | TclNewBooleanObj()/TclSetBooleanObj()/TclSetIntObj(). Replace Tcl_DbNewBooleanObj() with trivial macro.
* | Merge core-8-6-branchjan.nijtmans2017-03-071-1/+0
|\ \ | |/
| * Remove "makefile.bc". Not updated for many-many years, most likely it ↵jan.nijtmans2017-03-071-1/+0
| | | | | | | | doesn't work any more and it doesn't seem to care anyone. Let's see if someone complains ;-)
* | On Windows, Cygwin and 64-bit platforms, no need to handle 'long' in ↵jan.nijtmans2017-02-141-0/+5
| | | | | | | | | | tclLink.c, since its size is equal to either 'int' or 'Tcl_WideInt'. This enhances interoperabilty between win64 extensions loaded in cygwin64 using Tcl_LinkVar(), whill still being 100% compatible. init.tcl: unnecessary spacing.
* | TIP [http://www.tcl.tk/cgi-bin/tct/tip/456|456] implementation: Extend the C ↵tip_456jan.nijtmans2017-01-041-0/+7
|\ \ | | | | | | | | | API to Support Passing Options to TCP Server Creation
| * \ merge trunk (still has test failure in socket.test)jan.nijtmans2016-12-201-2/+2
| |\ \
| * \ \ Merge trunk, and fix two socket test-cases.jan.nijtmans2016-11-251-5/+6
| |\ \ \
| * | | | Implement the whole TIP 456 specification.limeboy2016-11-241-0/+7
| | | | | | | | | | | | | | | | | | | | Also introduces the `-reuseaddr' and `-reuseport' options for the `socket' command.
* | | | | Record the fact that all stub-enabled extensions work in Tcl 8.5+, no 8.6 ↵jan.nijtmans2016-12-201-4/+0
| |_|/ / |/| | | | | | | | | | | (or 9.0) features are needed. (Differences between 8.x and 9.0 are handled by a different stub magic value)
* | | | compatability -> compatibilityjan.nijtmans2016-12-011-2/+2
|\ \ \ \ | |_|/ / |/| | / | | |/ | |/|
| * | compatability -> compatibilityjan.nijtmans2016-12-011-2/+2
| |\ \
| | * | compatability -> compatibilityjan.nijtmans2016-12-011-2/+2
| | | |
* | | | Corrections to misleading comments.dkf2016-11-221-5/+6
| |_|/ |/| |
* | | Merge core-8-6-branchjan.nijtmans2016-11-141-1/+1
|\ \ \ | |/ /
| * | Better fix for the usability of TCL_NO_DEPRECATED on MacOSXjan.nijtmans2016-11-141-1/+1
| |\ \ | | |/
| | * Better fix for the usability of TCL_NO_DEPRECATED on MacOSX.jan.nijtmans2016-11-141-0/+2
| | |
| | * Bump to release number 8.5.19dgp2015-10-231-2/+2
| | |
* | | On OSX, there is a conflict with the "define panic" and definitions in "mach.h".jan.nijtmans2016-11-101-0/+2
|\ \ \ | |/ /
| * | On OSX, there is a conflict with the "define panic" and definitions in "mach.h".jan.nijtmans2016-11-101-0/+2
| | |
| * | Start RC branch for Tcl 8.6.6dgp2016-07-121-2/+2
| | |
* | | Make hash type changable by compiling with -DTCL_HASH_TYPE=size_t (for ↵jan.nijtmans2016-07-121-1/+5
| | | | | | | | | | | | example). Default (unsigned) cannot be changed in Tcl 8.x, that must wait until Tcl 9.
* | | Make TCL_MAJOR_VERSION/TCL_MINOR_VERSION/TCL_STUB_MAGIC available to ↵jan.nijtmans2016-06-271-10/+9
| | | | | | | | | | | | Tcl_InitStubs() arguments. Useful for debugging and detection of stub incompatibilities (e.g. for Tcl9)
* | | Add TCL_NOINLINE macro, useful for micro-optimizationsjan.nijtmans2016-06-261-0/+3
| | |
* | | Remove undocumented TCL_HASH_KEY_STORE_HASH. Setting this to "0" is not ↵jan.nijtmans2016-03-161-18/+0
| | | | | | | | | | | | supported (was it ever ????), and not tested for long time.
* | | configure.in -> configure.acjan.nijtmans2016-03-081-2/+2
| | |
* | | Bump trunk to 8.7a0 to accept new feature development.dgp2016-03-031-5/+5
|/ /
* | 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.