Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
* | Only set MODULE_INSTALL_DIR once in UNIX makefile .... | jan.nijtmans | 2020-04-10 | 1 | -7/+5 | |
| | ||||||
* | Merge 8.6 | jan.nijtmans | 2020-04-10 | 4 | -8/+8 | |
|\ | ||||||
| * | Fix determination of TCL_PACKAGE_PATH if it contains multiple directories, ↵ | jan.nijtmans | 2020-04-10 | 4 | -8/+8 | |
| | | | | | | | | and at least one of them contains a space. | |||||
* | | Merge 8.6 | jan.nijtmans | 2020-04-10 | 8 | -86/+113 | |
|\ \ | |/ | ||||||
| * | re-generate UNIX configure script | jan.nijtmans | 2020-04-10 | 1 | -4941/+13397 | |
| | | ||||||
| * | Introduce MODULE_INSTALL_DIR in make/nmake files, for compiling Tcl. Less ↵ | jan.nijtmans | 2020-04-10 | 7 | -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.nijtmans | 2020-04-10 | 1 | -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.nijtmans | 2020-04-08 | 1 | -2/+2 | |
| | | ||||||
* | | Teach "split", "string wordstart" and "string wordend" how to handle Unicode ↵ | jan.nijtmans | 2020-04-08 | 3 | -19/+29 | |
| | | | | | | | | characters >\uFFFF, using the new utility function TclUtfToUCS4(). (Thanks, Don!). Add test-cases to prove it. | |||||
* | | merge-mark | jan.nijtmans | 2020-04-07 | 0 | -0/+0 | |
|\ \ | |/ | ||||||
| * | Add two test-cases, regarding expectations on ↵ | jan.nijtmans | 2020-04-07 | 1 | -0/+6 | |
| | | | | | | | | Tcl_UtfCharComplete()/Tcl_UtfToUniChar(). Backported from 8.7, let's keep numbering the same everywhere | |||||
* | | Fix [dd010cadfb]: [string trim] mishandles surrogates | jan.nijtmans | 2020-04-06 | 1 | -6/+6 | |
| | | ||||||
* | | Make Tcl_UtfCharComplete() usable for both Tcl_UtfToUniChar() and ↵ | jan.nijtmans | 2020-04-06 | 2 | -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.nijtmans | 2020-04-05 | 1 | -1/+1 | |
| | | ||||||
* | | Merge 8.6 | jan.nijtmans | 2020-04-05 | 2 | -3/+14 | |
|\ \ | |/ | ||||||
| * | Partial fix for [31aa44375de2c87e]: Tcl_NumUtfChars regression in default ↵ | jan.nijtmans | 2020-04-05 | 1 | -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.nijtmans | 2020-04-05 | 2 | -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. | dgp | 2020-04-03 | 2 | -4/+8 | |
| | | ||||||
* | | Fix broken build. | dgp | 2020-04-03 | 1 | -1/+1 | |
| | | ||||||
* | | Simplify implementation of TclUtfToUCS4: The #undefined Tcl_UtfToUniChar() ↵ | jan.nijtmans | 2020-04-03 | 2 | -32/+9 | |
| | | | | | | | | already does everything for use here (Unlike in Tcl 8.6, with has to live without TIP #542) | |||||
* | | Merge 8.6 | jan.nijtmans | 2020-04-03 | 2 | -4/+5 | |
|\ \ | |/ | ||||||
| * | Make sure that "Windows NT" is the only supported Windows platform. On ↵ | jan.nijtmans | 2020-04-03 | 3 | -41/+15 | |
| | | | | | | | | Windows CE, no chance that Tcl 8.6 will ever run .... Windows XP is the minimum now. | |||||
* | | Merge 8.6 | jan.nijtmans | 2020-04-03 | 1 | -18/+12 | |
|\ \ | |/ | ||||||
| * | Update xcode 8 -> 8.3 and 9 -> 9.2 for Travis build. Install latest ↵ | jan.nijtmans | 2020-04-03 | 1 | -14/+12 | |
| | | | | | | | | libtommath homebrew package without hack, this time. | |||||
* | | Use new utility routine so that error characters using surrogates are | dgp | 2020-04-02 | 2 | -25/+25 | |
| | | | | | | reported correctly. | |||||
| | | ||||||
| \ | ||||||
| \ | ||||||
| \ | ||||||
*---. \ | merge 8.6 | dgp | 2020-04-02 | 5 | -82/+89 | |
|\ \ \ \ | | | |/ | ||||||
| | | * | Remove stray debug | dgp | 2020-04-02 | 1 | -1/+0 | |
| | |/ | ||||||
| | * | typo | dgp | 2020-04-02 | 1 | -1/+1 | |
| |/ | ||||||
| * | One more caller conversion that simplifies. | dgp | 2020-04-02 | 1 | -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 it | dgp | 2020-04-02 | 1 | -22/+8 | |
| | | | | | | | | was never adapted when TclUtfToUniChar change from returning 0 to returning 1 for a high surrogate. | |||||
| * | More callers. | dgp | 2020-04-02 | 1 | -25/+8 | |
| | | ||||||
| * | New utility routine TclUtfToUCS4() to contain some complexity. Two callers ↵ | dgp | 2020-04-02 | 3 | -29/+61 | |
| | | | | | | | | adapted. | |||||
* | | merge 8.6 | sebres | 2020-04-02 | 1 | -0/+100 | |
|\ \ | |/ | ||||||
| * | merge bug-f583715154-v2: added tests covering [f583715154] and few other RC ↵ | sebres | 2020-04-02 | 1 | -0/+100 | |
| |\ | | | | | | | | | | similar situations around socket thread transfer (note thread constraint) | |||||
| | * | improve stability of socket*-13.2.* tests (e. g. windows compatibility, etc) | sebres | 2020-04-01 | 1 | -3/+20 | |
| | | | ||||||
| | * | added tests covering [f583715154] and few other RC similar situations around ↵ | sebres | 2020-04-01 | 1 | -0/+83 | |
| | | | | | | | | | | | | socket thread transfer (note thread constraint) | |||||
* | | | Prevent a binary read appending to a non-bytes value. | dgp | 2020-04-01 | 1 | -1/+5 | |
| | | | ||||||
* | | | Use TclGetBytesFromObj to check that all commands and public routines that | dgp | 2020-04-01 | 1 | -14/+59 | |
| | | | | | | | | | expect bytes as arguments get what they expect. | |||||
* | | | Use TclGetBytesFromObj to check that [zipfs mount_data] gets proper bytes ↵ | dgp | 2020-04-01 | 1 | -1/+4 | |
| | | | | | | | | | | | | argument | |||||
* | | | Remove variable "properByteArrayType" from tclTest.c, because it isn't used ↵ | jan.nijtmans | 2020-04-01 | 1 | -6/+0 | |
| | | | | | | | | | | | | any more. | |||||
* | | | merge 8.6 | dgp | 2020-04-01 | 3 | -17/+137 | |
|\ \ \ | |/ / | ||||||
| * | | fixes [f583715154] - tclUnixSock.c: introduced ThreadActionProc considering ↵ | dgp | 2020-04-01 | 2 | -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 ↵ | sebres | 2020-03-31 | 2 | -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.nijtmans | 2020-04-01 | 1 | -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 Travis | jan.nijtmans | 2020-03-31 | 1 | -0/+28 | |
| | | | ||||||
* | | | Adapt [testbytestring] to use TclGetBytesFromObj, which must be in internal | dgp | 2020-04-01 | 5 | -8/+18 | |
| | | | | | | | | | stubs to make that work. | |||||
* | | | Fix a few warning-message in --enable-symbols-mem mode | jan.nijtmans | 2020-03-31 | 4 | -5/+7 | |
| | | | ||||||
* | | | Fix [828dda049b]: Memory faults post-TIP 557 | jan.nijtmans | 2020-03-31 | 1 | -1/+1 | |
| | | | ||||||
* | | | Merge 8.6 | jan.nijtmans | 2020-03-31 | 1 | -1/+1 | |
|\ \ \ | |/ / | ||||||
| * | | Fix (harmess) gcc warning, noted on Ubuntu | jan.nijtmans | 2020-03-31 | 1 | -1/+1 | |
| | | |