summaryrefslogtreecommitdiffstats
path: root/generic/tcl.h
Commit message (Collapse)AuthorAgeFilesLines
* Add experimental "-nothrow" option to encoding convertfrom|convertto. If ↵jan.nijtmans2021-04-011-2/+11
| | | | compiled with -DTCL_NO_DEPRECATED (meant for Tcl 9.0), -stoponerror is the default for all IO
* Merge tip-597jan.nijtmans2021-04-011-0/+5
|\
| * Add 3 undocumented #defines. To be formalized by TIP #595 (currently being ↵jan.nijtmans2021-03-311-0/+5
| | | | | | | | voted on)
* | add testcase for "encoding convertto". Move stub table one positionsjan.nijtmans2021-03-301-1/+1
| |
* | Add documentation. Do a better job of counting exactly which byte/character ↵jan.nijtmans2021-03-301-0/+5
|/ | | | caused the encoding/decoding error
* Merge 8.6jan.nijtmans2021-01-211-0/+7
|\
| * Fix [8c025f8f0d]: Run-time error on tcl 8.6.11 32 bits (from cross-compile ↵jan.nijtmans2021-01-211-0/+9
| |\ | | | | | | | | | Centos6.9 64-bits)
| | * Fix [8c025f8f0d]: Run-time error on tcl 8.6.11 32 bits (from cross-compile ↵jan.nijtmans2021-01-211-0/+9
| | |\ | | | | | | | | | | | | Centos6.9 64-bits)
| | | * Possible fix (workaround) for [8c025f8f0d]: Run-time error on tcl 8.6.11 32 ↵jan.nijtmans2021-01-201-0/+9
| | |/ | |/| | | | | | | | | | bits (from cross-compile Centos6.9 64-bits). Since autoconf-2.59 has limited support for cross-compilation, a better fix has to wait for Tcl 8.7 (which uses autoconf-2.70)
| | * (cherry-pick): Fix [c975939973]: Usage of gnu_printf in latest mingw-w64. jan.nijtmans2020-10-221-1/+1
| | | | | | | | | Change (internal, windows-only) TCL_I_MODIFIER to TCL_Z_MODIFIER, since that's how it's called in Tcl 8.7 and up
| | * Tie together the TCL_UTF_MAX=4 and TCL_UTF_MAX=6 builds to mean the samedgp2020-04-201-1/+1
| | | | | | | | | thing on the 8.5 branch -- use internal UCS-4 storage.
| | * Make TCL_UTF_MAX=4 build test clean again.dgp2020-04-181-1/+1
| | |
| | * Fix [c574e50a3b30e76f]: CRASH: utf-2.[89] in 8.5 built with TCL_UTF_MAX=4jan.nijtmans2020-04-181-1/+1
| | |
* | | TIP #481 implementation: Tcl_GetStringFromObj() with size_t length parameterjan.nijtmans2021-01-111-1/+1
|\ \ \
| * \ \ Merge 8.7jan.nijtmans2020-11-251-1/+0
| |\ \ \
| * \ \ \ Merge 8.7jan.nijtmans2020-11-251-211/+193
| |\ \ \ \
| * | | | | Remove the Tcl_GetValue() functionality. This can always be developed separatelyjan.nijtmans2020-11-251-8/+0
| | | | | |
| * | | | | Merge 8.7jan.nijtmans2018-10-091-2/+3
| |\ \ \ \ \ | | | | | | | | | | | | | | Add Unsigned functions to the implementation. TIP text is still far behind describing what's going on here.
| * \ \ \ \ \ Re-base to 8.7jan.nijtmans2018-10-081-0/+7
| |\ \ \ \ \ \ | | |/ / / / / | |/| | | | |
| | * | | | | Merge 8.7. Also provide a new function for handling ByteArraysjan.nijtmans2018-08-141-140/+83
| | |\ \ \ \ \
| | * | | | | | First implementation of [http://core.tcl.tk/tips/doc/trunk/tip/481.md|TIP ↵jan.nijtmans2017-10-271-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | #481]: Extend size range of various Tcl_Get*() functions
* | | | | | | | Make Tcl independent from exact definition of TCL_LL_MODIFIER. In ↵jan.nijtmans2021-01-111-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tclStrToD.c we need an _exact_ 64-bit type, _at least_ 64-bit is not good enough here.
* | | | | | | | Omit -Wdeclaration-after-statement from CFLAGS: No longer needed since we ↵jan.nijtmans2021-01-081-20/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | stopped support for MSVC 6++ Change Tcl_WideInt -> long long in various places: Tcl_WideInt could be a 128-bit type, we don't want that everywhere.
* | | | | | | | Merge 8.7. Don't bother BorlandC, LCC and WatcomC any more, since they ↵jan.nijtmans2021-01-071-17/+18
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | (probably) cannot handle Windows 7 API anyway.
| * \ \ \ \ \ \ \ Merge 8.6jan.nijtmans2021-01-071-13/+18
| |\ \ \ \ \ \ \ \ | | |_|_|_|_|/ / / | |/| | | | | / / | | | |_|_|_|/ / | | |/| | | | |
| | * | | | | | Fix mingw-w64 compiler warnings when using __USE_MINGW_ANSI_STDIO=1. Not ↵jan.nijtmans2021-01-071-162/+132
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | recommended, but it should work. See: [https://sourceforge.net/p/mingw-w64/wiki2/gnu%20printf/|gnu printf]
| | * | | | | | merge 8.6dgp2020-10-211-1/+1
| | |\ \ \ \ \ \
| | * \ \ \ \ \ \ merge 8.6dgp2020-09-211-1/+1
| | |\ \ \ \ \ \ \
| | * | | | | | | | Bump to 8.6.11 for release.dgp2020-07-061-2/+2
| | | | | | | | | |
* | | | | | | | | | Fix warnings when __USE_MINGW_ANSI_STDIO=1jan.nijtmans2021-01-071-20/+18
| | | | | | | | | |
* | | | | | | | | | Simplifications when assuming VS 2015 or laterjan.nijtmans2020-12-171-1/+1
|/ / / / / / / / /
* | | | | | | | | Generate html documentation in html5 format. Fix some html5 compatibiliy ↵jan.nijtmans2020-11-201-1/+0
| |_|_|_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | warnings. Remove old htmlhelp-related parts (since this is obsolete since Vista)
* | | | | | | | Merge 8.6jan.nijtmans2020-10-211-1/+1
|\ \ \ \ \ \ \ \ | | |_|/ / / / / | |/| | | | | |
| * | | | | | | Fix [c975939973]: Usage of gnu_printf in latest mingw-w64jan.nijtmans2020-10-211-1/+1
| | |/ / / / / | |/| | | | |
* | | | | | | Merge 8.6jan.nijtmans2020-09-201-1/+1
|\ \ \ \ \ \ \ | |/ / / / / /
| * | | | | | Improve TclInvalidateStringRep() macro such that (objPtr) is only evaluated ↵jan.nijtmans2020-09-201-1/+1
| |/ / / / / | | | | | | | | | | | | | | | | | | once. Addation brackets in TclHasStringRep() macro
* | | | | | Implementation of TIP #585 - Promote the INDEX_TEMP_TABLE flag of ↵fvogel2020-09-021-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | Tcl_GetIndexFromObj*() to the public interface
* | | | | | Adapt some comments, which are not correct for Tcl 8.7 any morejan.nijtmans2020-05-201-2/+2
| | | | | |
* | | | | | Add test-case for bug [c61818e4c9]jan.nijtmans2020-04-141-1/+1
|\ \ \ \ \ \ | |/ / / / /
* | | | | | Merge 8.6jan.nijtmans2020-04-141-1/+1
|\ \ \ \ \ \ | |/ / / / /
* | | | | | Move TCL_UNUSED to tclInt.h, so we can still deprecate JOIN()jan.nijtmans2020-03-071-15/+4
| | | | | |
* | | | | | Have to move the JOIN() macro out of deprecation for this TCL_UNUSED.dgp2020-03-051-4/+5
| | | | | | | | | | | | | | | | | | Alternatives welcome.
* | | | | | Create a new macro to deal with unused arguments so we can silence compilerdgp2020-03-021-0/+10
| | | | | | | | | | | | | | | | | | warnings without the need of an explosion of noise lines "(void)dummy"
* | | | | | Implement TIP #562: Deprecate channel types 1-4jan.nijtmans2020-02-281-1/+3
|\ \ \ \ \ \
| * \ \ \ \ \ Deprecate Tcl_Close() stub entry as welljan.nijtmans2020-02-021-1/+10
| |\ \ \ \ \ \
| * | | | | | | Make Tcl_ChannelCloseProc() deprecated too. Implement close2Proc and ↵jan.nijtmans2020-01-311-9/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | wideSeekProc for all internal channel types.
| * | | | | | | Merge 8.7jan.nijtmans2020-01-301-1/+1
| |\ \ \ \ \ \ \
| * | | | | | | | Deprecate channel types 1-4jan.nijtmans2020-01-291-0/+10
| |/ / / / / / /
* | | | | | | | Merge 8.7jan.nijtmans2020-02-131-16/+24
|\ \ \ \ \ \ \ \ | | |/ / / / / / | |/| | | | | |
| * | | | | | | Fix conflict between (unpatched) tommath.h and tcl.h. See also ↵jan.nijtmans2020-02-021-1/+10
| |\ \ \ \ \ \ \ | | |/ / / / / / | |/| | | | | | | | | | | | | | [https://github.com/libtom/libtommath/pull/473]