Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | merge core-8-6-branch | jan.nijtmans | 2017-06-08 | 1 | -13/+14 |
|\ | |||||
| * | Fix [2738427]: Tcl_NumUtfChars(...) no overflow check. | jan.nijtmans | 2017-06-08 | 1 | -13/+14 |
| |\ | |||||
| | * | Fix [2738427]: Tcl_NumUtfChars(...) no overflow check. | jan.nijtmans | 2017-06-08 | 1 | -13/+14 |
| | | | |||||
* | | | merge core-8-6-branch | jan.nijtmans | 2017-06-06 | 1 | -18/+18 |
|\ \ \ | |/ / | |||||
| * | | Follow-up to [67aa9a2070]: Use uppercase consistantly, slight optimization ↵ | jan.nijtmans | 2017-06-06 | 1 | -18/+18 |
| |\ \ | | |/ | | | | | | | in character tests, comment fixes. No change in functionality. | ||||
| | * | [67aa9a2070] Tcl_UtfToUniChar returns single byte for invalid UTF-8 input as ↵ | jan.nijtmans | 2017-06-06 | 1 | -75/+52 |
| | | | | | | | | | | | | documented. | ||||
* | | | [67aa9a2070] Tcl_UtfToUniChar returns single byte for invalid UTF-8 input as ↵ | dgp | 2017-06-05 | 1 | -3/+9 |
|\ \ \ | |/ / | | | | | | | documented. | ||||
| * | | Fix [67aa9a207037ae67f9014b544c3db34fa732f2dc|67aa9a2070]: Security: Invalid ↵ | jan.nijtmans | 2017-06-02 | 1 | -3/+9 |
| | | | | | | | | | | | | UTF-8 can inject unexpected characters | ||||
* | | | Merge core-8-6-branch. This removes the work currently being done in ↵ | jan.nijtmans | 2017-06-02 | 1 | -9/+3 |
|\ \ \ | |/ / | | | | | | | | | | "sebres-8-6-clock-speedup-cr1" branch, but that will be merged again as soon as the work is done. All other changes in "trunk" since then (e.g. the INST_STR_CONCAT1 performance improvement, and the removal of SunOS-4) are retained. | ||||
* | | | merge core-8-6-branch | jan.nijtmans | 2017-05-31 | 1 | -3/+9 |
|\ \ \ | |||||
| * | | | Fix [67aa9a207037ae67f9014b544c3db34fa732f2dc|67aa9a2070]: Security: Invalid ↵ | jan.nijtmans | 2017-05-31 | 1 | -3/+9 |
| |/ / | | | | | | | | | | UTF-8 can inject unexpected characters | ||||
* | | | Don't ever allow UTF-8 sequences of more than 4 characters to be generated ↵ | jan.nijtmans | 2016-08-30 | 1 | -44/+24 |
|\ \ \ | |/ / | | | | | | | | | | or parsed, even when TCL_UTF_MAX>4: According to current Unicode standard, a byte string of >4 characters can never form a single UTF-8 character. And a few minor micro-optimizations related to UTF-8 handling. | ||||
| * | | Don't ever allow UTF-8 sequences of more than 4 characters to be generated ↵ | jan.nijtmans | 2016-08-30 | 1 | -44/+24 |
| | | | | | | | | | | | | | | | or parsed, even when TCL_UTF_MAX>4: According to current Unicode standard, a byte string of >4 characters can never form a single UTF-8 character. And a few minor micro-optimizations related to UTF-8 handling. | ||||
* | | | Rename UtfCount() to TclUtfCount() and use it in more places. Suggested by ↵ | jan.nijtmans | 2016-04-05 | 1 | -14/+8 |
|/ / | | | | | | | pspjuth here: [e99a79a32650e7e5] | ||||
* | | Various Unicode handling enhancements, when building with TCL_UTF_MAX > 3, ↵ | jan.nijtmans | 2015-09-01 | 1 | -32/+93 |
| | | | | | | | | inspired by androwish. No effect if TCL_UTF_MAX=3 (which is the default) | ||||
* | | Make sure that "string is space \u202f" will continue to return "1", even if ↵ | jan.nijtmans | 2013-07-29 | 1 | -1/+1 |
|\ \ | |/ | | | | | | | in future Unicode this character (NARROW_NO_BREAK_SPACE) will cease to be a space. See: [http://www.unicode.org/review/pri249/]. Don't hardcode "tclWinError.o" for Cygwin | ||||
| * | Make sure that "string is space \u202f" will continue to return "1", even if ↵ | jan.nijtmans | 2013-07-29 | 1 | -1/+1 |
| | | | | | | | | in future Unicode this character (NARROW_NO_BREAK_SPACE) will cease to be a space. See: [http://www.unicode.org/review/pri249/] | ||||
* | | Unbreak MSVC6 debug build (thanks Andreas Kupries!) | jan.nijtmans | 2013-07-08 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Unbreak MSVC6 debug build (thanks Andreas Kupries!) | jan.nijtmans | 2013-07-08 | 1 | -1/+1 |
| | | |||||
* | | Use more portable TclIsSpaceProc() in stead of isspace(). | jan.nijtmans | 2013-06-17 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Use more portable TclIsSpaceProc() in stead of isspace(). | jan.nijtmans | 2013-06-17 | 1 | -1/+3 |
| | | | | | | Make sure that "string is space \u180e" continues to return 1 for whatever unicode version. | ||||
* | | [3613609]: Replace strcasecmp() with UTF-8-aware version. | dkf | 2013-05-22 | 1 | -0/+40 |
|\ \ | |/ | |||||
| * | Fixed the weird edge case.bug_3613609 | dkf | 2013-05-22 | 1 | -12/+25 |
| | | |||||
| * | Slight improvement: if cs = "\xC0\x80" and ct = "\x00", loop would continue ↵ | jan.nijtmans | 2013-05-21 | 1 | -4/+4 |
| | | | | | | | | after NUL-byte, this should not happen. | ||||
| * | Proposed solution for 3613609: lsort -nocase does not sort non-ASCII correctly | jan.nijtmans | 2013-05-21 | 1 | -0/+27 |
| | | |||||
* | | For Unicode 6.3, mongolian vowel separator (U+180e) is nominated to change ↵ | jan.nijtmans | 2013-02-25 | 1 | -2/+3 |
| | | | | | | | | | | character class from Space to Control character. Make sure that "string is space" will continue to return 1 for this character. See TIP #413. | ||||
* | | merge trunk | jan.nijtmans | 2012-10-09 | 1 | -2/+1 |
|\ \ | | | | | | | <p>Dont include U+0082 and U+0083 in the Tcl space set | ||||
* | | | tip 318 update | jan.nijtmans | 2012-09-23 | 1 | -0/+4 |
|/ / | |||||
* | | [Frq 3473670]: Various Unicode-related | jan.nijtmans | 2012-01-22 | 1 | -10/+7 |
|\ \ | |/ | |||||
| * | [Frq 3473670]: Various Unicode-related speedups/robustness | jan.nijtmans | 2012-01-22 | 1 | -10/+7 |
| |\ | |||||
| | * | rfe-3473670: Various Unicode-related speedups/robustness | jan.nijtmans | 2012-01-14 | 1 | -10/+7 |
| | | | |||||
* | | | [Bug 3464428] string is graph \u0120 is wrong | jan.nijtmans | 2012-01-09 | 1 | -35/+23 |
|\ \ \ | |/ / | |||||
| * | | [Bug 3464428] string is graph \u0120 is wrong | jan.nijtmans | 2012-01-09 | 1 | -35/+23 |
| |\ \ | | |/ | |||||
| | * | [Bug 3464428] string is graph \u0120 is wrong | jan.nijtmans | 2012-01-09 | 1 | -69/+56 |
| | | | |||||
* | | | [Bug 3464428] string is graph \u0120 is wrong | jan.nijtmans | 2011-12-24 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | [Bug 3464428] string is graph \u0120 is wrong | jan.nijtmans | 2011-12-24 | 1 | -1/+1 |
| |\ \ | | |/ | |||||
| | * | [Bug 3464428] string is graph \u0120 is wrong | jan.nijtmans | 2011-12-23 | 1 | -1/+1 |
| | | | |||||
* | | | More isspace() callers. | dgp | 2011-04-28 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | More isspace() callers. | dgp | 2011-04-28 | 1 | -1/+1 |
| | | | |||||
* | | | Now that we're no longer using SCM based on RCS, the RCS Keyword lines | dgp | 2011-03-02 | 1 | -2/+0 |
|\ \ \ | |/ / | | | | cause more harm than good. Purged them (except in zlib files). | ||||
| * | | Now that we're no longer using SCM based on RCS, the RCS Keyword lines cause | dgp | 2011-03-02 | 1 | -2/+0 |
| |\ \ | | |/ | | | | more harm than good. Purged them. | ||||
| | * | Now that we're no longer using SCM based on RCS, the RCS Keyword lines cause | dgp | 2011-03-01 | 1 | -2/+0 |
| | | | | | | | | | more harm than good. Purged them. | ||||
| | * | * generic/tclUtf.c (Tcl_UniCharToUtf): Corrected handling of negative | dgp | 2005-09-07 | 1 | -36/+38 |
| | | | | | | | | | | | | | | | | | | * tests/utf.test (utf-1.5): Tcl_UniChar input value. Incorrect handling was producing byte sequences outside of Tcl's legal internal encoding. [Bug 1283976]. | ||||
| | * | Made Tcl_NumUtfChars do the right thing with \u0000 when guessing the length | dkf | 2003-10-08 | 1 | -5/+2 |
| | | | | | | | | | | | | because of a negative 'length' parameter. [Bug 769812] | ||||
| | * | * generic/TclUtf.c (Tcl_UniCharNcasecmp): Corrected failure to | dgp | 2003-03-06 | 1 | -4/+7 |
| | | | | | | | | | | | | | | | * tests/utf.test (utf-25.*): properly compare Unicode strings of different case in a case insensitive manner. [Bug 699042] | ||||
* | | | * generic/tclExecute.c: fix potential uninitialized variable use and | das | 2009-09-07 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclFCmd.c: null dereference flagged by clang static * generic/tclProc.c: analyzer. * generic/tclTimer.c: * generic/tclUtf.c: * generic/tclExecute.c: silence false positives from clang static * generic/tclIO.c: analyzer about potential null dereference. * generic/tclScan.c: * generic/tclCompExpr.c: | ||||
* | | | * generic/tclStringObj.c: Changed type of the 'allocated' field | dgp | 2009-02-11 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | of the String struct from size_t to int since only int values are ever stored in it. | ||||
* | | | Get rid of pre-C89-isms (esp. CONST vs const). | dkf | 2008-04-27 | 1 | -40/+40 |
|/ / | |||||
* | | Convert to using ANSI decls/definitions and using the (ANSI) assumption that ↵ | dkf | 2005-10-31 | 1 | -163/+167 |
| | | | | | | | | | | | | NULL can be cast to any pointer type transparently. | ||||
* | | * generic/tclUtf.c (Tcl_UniCharToUtf): Corrected handling of negative | dgp | 2005-09-07 | 1 | -36/+38 |
| | | | | | | | | | | | | * tests/utf.test (utf-1.5): Tcl_UniChar input value. Incorrect handling was producing byte sequences outside of Tcl's legal internal encoding. [Bug 1283976]. |