summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Only set MODULE_INSTALL_DIR once in UNIX makefile ....jan.nijtmans2020-04-101-7/+5
|
* Merge 8.6jan.nijtmans2020-04-104-8/+8
|\
| * Fix determination of TCL_PACKAGE_PATH if it contains multiple directories, ↵jan.nijtmans2020-04-104-8/+8
| | | | | | | | and at least one of them contains a space.
* | Merge 8.6jan.nijtmans2020-04-108-86/+113
|\ \ | |/
| * re-generate UNIX configure scriptjan.nijtmans2020-04-101-4941/+13397
| |
| * Introduce MODULE_INSTALL_DIR in make/nmake files, for compiling Tcl. Less ↵jan.nijtmans2020-04-107-13476/+5046
| | | | | | | | | | use of ".." in the makefiles. Adapt all makefiles (unix/win) such that they can handle spaces in LIB_INSTALL_DIR/SCRIPT_INSTALL_DIR/MODULE_INSTALL_DIR, just by adding double-quotes in appropriate places.
| * Since Tcl_UtfCharComplete() now guarantees that at least 3 more bytes are ↵jan.nijtmans2020-04-101-3/+3
| | | | | | | | available for header bytes 0x80-0xBF, check those 3 bytes first in Tcl_UtfToUniChar() before doing other checks (that might point to uninitialized memory in non-confirming extensions)
* | In TCL_UTF_MAX=4 mode, string lengths are quitely different.jan.nijtmans2020-04-081-2/+2
| |
* | Teach "split", "string wordstart" and "string wordend" how to handle Unicode ↵jan.nijtmans2020-04-083-19/+29
| | | | | | | | characters >\uFFFF, using the new utility function TclUtfToUCS4(). (Thanks, Don!). Add test-cases to prove it.
* | merge-markjan.nijtmans2020-04-070-0/+0
|\ \ | |/
| * Add two test-cases, regarding expectations on ↵jan.nijtmans2020-04-071-0/+6
| | | | | | | | Tcl_UtfCharComplete()/Tcl_UtfToUniChar(). Backported from 8.7, let's keep numbering the same everywhere
* | Fix [dd010cadfb]: [string trim] mishandles surrogatesjan.nijtmans2020-04-061-6/+6
| |
* | Make Tcl_UtfCharComplete() usable for both Tcl_UtfToUniChar() and ↵jan.nijtmans2020-04-062-10/+13
| | | | | | | | | | | | Tcl_UtfToChar16(). Defect noticed by Don Porter. Thanks! Add test-cases, assuring correct handling of 4-byte UTF-8 sequences. Use "end-1", "end" and "end+1" in testcases related to Tcl_NumUtfChars(), that's more readable/maintainable than integers.
* | Better use public function Tcl_GetIntForIndex() in stead of private one.jan.nijtmans2020-04-051-1/+1
| |
* | Merge 8.6jan.nijtmans2020-04-052-3/+14
|\ \ | |/
| * Partial fix for [31aa44375de2c87e]: Tcl_NumUtfChars regression in default ↵jan.nijtmans2020-04-051-1/+6
| | | | | | | | | | 8.6 build. This commit brings Tcl_UtfCharComplete() into agreement with Tcl_UtfToUniChar(), whether it demands 1, 3 or 4 succeeding bytes.
| * Revert test-case utf-4.10 change from previous commit: It caused the Travis ↵jan.nijtmans2020-04-052-4/+6
| | | | | | | | | | build failure. Change the testnumutfchars command to accept "end+1" as lenght, in which case it will count the ending null-byte too, as test-case 4.10 demands.
| * Fix testing command [testnumutfchars] so it cannot overrun the buffer.dgp2020-04-032-4/+8
| |
* | Fix broken build.dgp2020-04-031-1/+1
| |
* | Simplify implementation of TclUtfToUCS4: The #undefined Tcl_UtfToUniChar() ↵jan.nijtmans2020-04-032-32/+9
| | | | | | | | already does everything for use here (Unlike in Tcl 8.6, with has to live without TIP #542)
* | Merge 8.6jan.nijtmans2020-04-032-4/+5
|\ \ | |/
| * Make sure that "Windows NT" is the only supported Windows platform. On ↵jan.nijtmans2020-04-033-41/+15
| | | | | | | | Windows CE, no chance that Tcl 8.6 will ever run .... Windows XP is the minimum now.
* | Merge 8.6jan.nijtmans2020-04-031-18/+12
|\ \ | |/
| * Update xcode 8 -> 8.3 and 9 -> 9.2 for Travis build. Install latest ↵jan.nijtmans2020-04-031-14/+12
| | | | | | | | libtommath homebrew package without hack, this time.
* | Use new utility routine so that error characters using surrogates aredgp2020-04-022-25/+25
| | | | | | reported correctly.
| |
| \
| \
| \
*---. \ merge 8.6dgp2020-04-025-82/+89
|\ \ \ \ | | | |/
| | | * Remove stray debugdgp2020-04-021-1/+0
| | |/
| | * typodgp2020-04-021-1/+1
| |/
| * One more caller conversion that simplifies.dgp2020-04-021-8/+1
| | | | | | | | There may be other callers of TclUtfToUniChar that would be made more correct or consistent with a similar conversion.
| * Adapt another caller. This one had a bug when (TCL_UTF_MAX == 4) because itdgp2020-04-021-22/+8
| | | | | | | | was never adapted when TclUtfToUniChar change from returning 0 to returning 1 for a high surrogate.
| * More callers.dgp2020-04-021-25/+8
| |
| * New utility routine TclUtfToUCS4() to contain some complexity. Two callers ↵dgp2020-04-023-29/+61
| | | | | | | | adapted.
* | merge 8.6sebres2020-04-021-0/+100
|\ \ | |/
| * merge bug-f583715154-v2: added tests covering [f583715154] and few other RC ↵sebres2020-04-021-0/+100
| |\ | | | | | | | | | similar situations around socket thread transfer (note thread constraint)
| | * improve stability of socket*-13.2.* tests (e. g. windows compatibility, etc)sebres2020-04-011-3/+20
| | |
| | * added tests covering [f583715154] and few other RC similar situations around ↵sebres2020-04-011-0/+83
| | | | | | | | | | | | socket thread transfer (note thread constraint)
* | | Prevent a binary read appending to a non-bytes value.dgp2020-04-011-1/+5
| | |
* | | Use TclGetBytesFromObj to check that all commands and public routines thatdgp2020-04-011-14/+59
| | | | | | | | | expect bytes as arguments get what they expect.
* | | Use TclGetBytesFromObj to check that [zipfs mount_data] gets proper bytes ↵dgp2020-04-011-1/+4
| | | | | | | | | | | | argument
* | | Remove variable "properByteArrayType" from tclTest.c, because it isn't used ↵jan.nijtmans2020-04-011-6/+0
| | | | | | | | | | | | any more.
* | | merge 8.6dgp2020-04-013-17/+137
|\ \ \ | |/ /
| * | fixes [f583715154] - tclUnixSock.c: introduced ThreadActionProc considering ↵dgp2020-04-012-1/+74
| |\ \ | | |/ | | | | | | a transfer of async-connecting channel between threads; cherry-picked some prevention against invalid thread owner addressed in [815e246806]
| | * fixes [f583715154] - tclUnixSock.c: introduced ThreadActionProc considering ↵sebres2020-03-312-1/+74
| | | | | | | | | | | | a transfer of async-connecting channel between threads; cherry-picked some prevention against invalid thread owner addressed in [815e246806]
| * | More Mem-Debug builds, using MSVC. jan.nijtmans2020-04-011-17/+36
| | | | | | | | | Install libtommath on MacOS, in order to assure that the built-in libtommath doesn't conflict with that.
| * | Add enable-symbols=mem builds to Travisjan.nijtmans2020-03-311-0/+28
| | |
* | | Adapt [testbytestring] to use TclGetBytesFromObj, which must be in internaldgp2020-04-015-8/+18
| | | | | | | | | stubs to make that work.
* | | Fix a few warning-message in --enable-symbols-mem modejan.nijtmans2020-03-314-5/+7
| | |
* | | Fix [828dda049b]: Memory faults post-TIP 557jan.nijtmans2020-03-311-1/+1
| | |
* | | Merge 8.6jan.nijtmans2020-03-311-1/+1
|\ \ \ | |/ /
| * | Fix (harmess) gcc warning, noted on Ubuntujan.nijtmans2020-03-311-1/+1
| | |