summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* Eliminate many "register" keywords (which do nothing with modern compilers)jan.nijtmans2020-09-1417-266/+266
| | | Eliminate many unnecessary type-casts to (unsigned)
* Prevent the usage of the term safe/unsafe child. Suggested by Keith Nash. ↵jan.nijtmans2020-09-141-2/+2
| | | | | Thanks! More usage of $index<0 in stead of $index==-1 consistantly
* Folow-up to previous commit: ExecStack is a FLEXARRAY toojan.nijtmans2020-09-112-4/+4
|
* Fix [https://core.tcl-lang.org/tk/tktview?name=3bc0f44ef3|3bc0f44ef3]: UBSan ↵jan.nijtmans2020-09-118-46/+52
| | | | | complains about body.chars[] usage. (Yes, I know, this one is for Tk, but Tcl was using the same construct too ....)
* Don't use sizeof() for structs containing a flexible array as last element. ↵jan.nijtmans2020-09-103-13/+13
| | | | Lesson from [https://core.tcl-lang.org/tk/info/3bc0f44ef3|3bc0f44ef3]. Use TclOffset in stead.
* TIP #581: Mainly documentation and some testcasesjan.nijtmans2020-09-044-28/+27
|
* Many more internal master/slave -> parent/child renamingsjan.nijtmans2020-09-0110-560/+560
|
* Implement TIP #581: Master/Slavejan.nijtmans2020-08-318-21/+27
|\
| * Merge 8.6jan.nijtmans2020-08-1922-52/+104
| |\ | |/ |/|
| * Merge 8.6jan.nijtmans2020-07-214-43/+43
| |\
| * \ Merge 8.6jan.nijtmans2020-07-201-5/+5
| |\ \
| * | | New TIP #581 implementationjan.nijtmans2020-07-173-2/+8
| | | |
* | | | Fix [e87000d8425ab86a]: crash for "fconfigure stdout" in Win32.jan.nijtmans2020-08-121-1/+1
| | | | | | | | | | | | Even though the crash cannot happen in Tcl 8.6, the function Tcl_BadChannelOption() was to blame, so better fix that in 8.6 too.
* | | | Fix value of CMD_DEAD flagjan.nijtmans2020-08-121-1/+1
| | | |
* | | | Eliminate many unnecessary type-casts, mostly (size_t) when value is already ↵jan.nijtmans2020-08-1120-49/+49
| | | | | | | | | | | | | | | | size_t or int
* | | | Fix mistake in [7eed2baf73]pooryorick2020-08-101-1/+1
| | | |
* | | | Fix for [29e8848eb976], imported alias in a deletion trace.pooryorick2020-08-102-1/+3
| | | |
* | | | Add and use testservicemode command; replace update by vwaitculler2020-08-081-1/+51
| |_|/ |/| |
* | | Use "Global" in stead of "Master" internally, where "Master" is not used in ↵jan.nijtmans2020-07-204-43/+43
| |/ |/| | | | | the Master-Slave paradigm and where this makes sense.
* | Doc/internal variable tweaksjan.nijtmans2020-07-171-5/+5
|/
* Fix [5bbd044812]: Fix index underflow.jan.nijtmans2020-07-161-2/+2
|
* closes [3c6e47363e]: missing de-duplication mechanism for nested TEBC ↵sebres2020-07-151-1/+17
| | | | starting from scratch (e. g. nested compiled blocks enclosed in parent cycle), so reset interp's result to avoid possible duplications of large objects by first commands like lappend, append, etc
* Rename doc/CrtSlave.3 to doc/CrtAlias.3. Some more doc tweaks.jan.nijtmans2020-07-152-3/+3
|
* Fix [5019748c73]: FreeScan resp. Oldscan does not recognize positive time ↵jan.nijtmans2020-07-102-151/+120
|\ | | | | | | zone offset
| * Proposed fix for [5019748c73]: FreeScan resp. Oldscan does not recognize ↵jan.nijtmans2020-07-092-151/+120
| | | | | | | | positive time zone offset like "31 Jan 14 23:59:59 +0100"
* | Addendum to [60fab362ce]: "Also don't allow surrogates in \U??????". This ↵jan.nijtmans2020-07-101-0/+2
|/ | | | change was only meant for builds with TCL_UTF_MAX > 3.
* Merge 8.6jan.nijtmans2020-07-081-147/+131
|\
| * Merge 8.5jan.nijtmans2020-06-251-2/+2
| |\
| * \ merge zlib-chan-f70ce1fead, [f70ce1fead] - rewritten and optimized inflate:sebres2020-06-241-149/+133
| |\ \ | | | | | | | | | | | | | | | | default read ahead limit set to 4K (instead of 1); better SF/BO prevention; code simplification, no interim copy/move buffers, no decompression d-string, the inflate occurring in single step (ResultDecompress combines ResultGenerate and ResultCopy); better handling in non-blocking mode (also recognizes or distinguish no data/EAGAIN cases).
| | * | Added two tests demonstrating that the tickets [8af92dfb66] (bad stream ↵aku2020-06-231-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | expansion) and [f70ce1fead] (multi-stream decoding without readahead limit shenanigans) are fixed. Verified that the tests fail with commit [4eb66645d6], just before the zlib fixes. Tweaked the zlib manpage paragraphs about -limit. Tweaked some code comments. Fixed typos in description of two unrelated zlib tests.
| | * | code simplification, no interim copy/move buffers, no decompression ↵sebres2020-04-161-127/+103
| | | | | | | | | | | | | | | | d-string, the inflate occurring in single step (ResultDecompress combines ResultGenerate and ResultCopy); better handling in non-blocking mode (also recognizes or distinguish no data/EAGAIN cases)
| | * | small amend combining similar partssebres2020-04-161-20/+10
| | | |
| | * | zlib: optimize ZlibTransformInput, if inflate is done no read and no ↵sebres2020-04-161-25/+25
| | | | | | | | | | | | | | | | generate needed anymore
| | * | zlib: performance - set default read ahead limit to DEFAULT_BUFFER_SIZE ↵sebres2020-04-161-1/+4
| | | | | | | | | | | | | | | | (4K); better fix avoiding BO (replacement for [54605d16b9])
| | * | added (reworked) patch suggested by aku in [f70ce1fead]: recognize stream is ↵sebres2020-04-161-5/+21
| | | | | | | | | | | | | | | | done (and unget the unprocessed data back to input channel)
* | | | Merge 8.6jan.nijtmans2020-06-231-1/+1
|\ \ \ \ | |/ / /
| * | | avoid %pure-parser deprecation warning from Bison 3.4jan.nijtmans2020-06-232-4/+4
| | | |
* | | | re-generate with bison 3.1jan.nijtmans2020-06-231-109/+206
| | | |
* | | | Merge 8.6. re-generate tclParse.cjan.nijtmans2020-06-233-1103/+1003
|\ \ \ \ | |/ / /
| * | | Backport some changes in tclGetDate.y from 8.7.jan.nijtmans2020-06-232-982/+984
| | | |
| * | | merge 8.5sebres2020-06-021-19/+16
| |\ \ \ | | | |/ | | |/|
| | * | avoid segfault if Tcl_FreeParse, if parse structure remains uninitialized ↵sebres2020-06-021-19/+16
| | | | | | | | | | | | | | | | (parse.tokenPtr may be used uninitialized, for instance it returns from Tcl_ParseCommand etc with error before TclParseInit gets called)
* | | | clock-iso-2.patchjan.nijtmans2020-05-272-61/+65
| | | |
* | | | Proposed soution for [a1bd37b719]: clock (free)scan of ISO 8601 timestamp ↵jan.nijtmans2020-05-272-58/+86
|/ / / | | | | | | | | | | | | with literal T behaves strange (I like it!)
* | | Fix compiled "string is <class>" for TCL_UTF_MAX=4 build, for characters > ↵jan.nijtmans2020-05-253-3/+23
| | | | | | | | | | | | U+FFFF.
* | | Tiny fix for TCL_UTF_MAX=4 build only: Since Tcl_UtfNext() verifies 4 bytes ↵jan.nijtmans2020-05-181-1/+1
| | | | | | | | | | | | for lead bytes F0-F5, Tcl_UtfCharComplete() should guarantee that those 4 bytes are available, not 3.
* | | In some places, Tcl_UtfPrev()/Tcl_UtfNext() is used traversing the ↵jan.nijtmans2020-05-149-169/+163
|\ \ \ | | | | | | | | | | | | | | | | | | | | individual bytes of a string searching for '(', ')', '::' or other single bytes. It is overkill to use Tcl_UtfPrev/Tcl_UtfNext for that, since those characters can only appear as their ASCII byte, not as any other sequence. This effectively removes the last Tcl_UtfNext() call from the core, the only ones left are in tclTest.c for test commands. So the TclUtfNext() macro doesn't make sense any more. Remove "register" keyword from many files.
| * | | In some places, Tcl_UtfPrev()/Tcl_UtfNext() is used traversing the ↵jan.nijtmans2020-05-132-8/+7
| | | | | | | | | | | | | | | | individual bytes of a string searching for '(', ')', '::' or other single bytes. It is overkill to use Tcl_UtfPrev/Tcl_UtfNext for that, since those characters can only appear as their ASCII byte, not as any other sequence.
* | | | Fix [ed29806baf]: Tcl_UtfToUniChar reads more than TCL_UTF_MAX bytesjan.nijtmans2020-05-131-25/+11
|\ \ \ \ | |/ / / |/| | |
| * | | Merge testcase cleanup. Make Tcl_UtfPrev() behave the same for any ↵jan.nijtmans2020-05-121-4/+4
| |\ \ \ | | | | | | | | | | | | | | | TCL_UTF_MAX value, since we didn't figure out yet how it should behave for TCL_UTF_MAX>3.