Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | merge trunk | dgp | 2017-09-05 | 1 | -1/+1 |
|\ | |||||
| * | Merge core-8-6-branch | jan.nijtmans | 2017-09-01 | 1 | -1/+1 |
| |\ | |||||
| | * | Handle Unicode surrogates correctly in Tcl_AppendFormatToObj() and ↵ | jan.nijtmans | 2017-09-01 | 1 | -1/+1 |
| | | | | | | | | | | | | BuildCharSet(). Only makes a difference for TCL_UTF_MAX=4, when surrogates are used in the format string ... highly unlikely corner-case. | ||||
* | | | merge trunk | dgp | 2017-09-01 | 1 | -2/+2 |
|\ \ \ | |/ / | |||||
| * | | merge core-8-6-branch | jan.nijtmans | 2017-08-18 | 1 | -2/+2 |
| |\ \ | | |/ | |||||
| | * | merge core-8-6-branch | jan.nijtmans | 2017-07-03 | 1 | -10/+9 |
| | |\ | |||||
| | * | | Better UTF-8 surrogate handling, only functional when TCL_UTF_MAX>3 | jan.nijtmans | 2017-06-08 | 1 | -2/+2 |
| | | | | |||||
* | | | | merge trunk | dgp | 2017-06-29 | 1 | -10/+9 |
|\ \ \ \ | |/ / / | |||||
| * | | | merge core-8-6-branch | jan.nijtmans | 2017-06-28 | 1 | -10/+9 |
| |\ \ \ | | | |/ | | |/| | |||||
| | * | | Eliminate use of (expensive) Tcl_UtfToUpper() from "format": Just generate ↵ | jan.nijtmans | 2017-06-28 | 1 | -10/+9 |
| | |/ | | | | | | | | | | the expected uppercase characters right away from the start. No change in functionality, just code optimization. | ||||
* | | | merge trunk | dgp | 2017-06-26 | 1 | -0/+4 |
|\ \ \ | |/ / | |||||
| * | | TIP #472 implementation: Add Support for 0d Radix Prefix to Integer Literals | jan.nijtmans | 2017-06-23 | 1 | -0/+4 |
| |\ \ | |||||
| | * \ | Rebase to core-8-6-branch (who told that fossil doesn't know how to rebase ....) | jan.nijtmans | 2017-06-14 | 1 | -0/+4 |
| | |\ \ | | | |/ | | |/| | |||||
| | | * | Add support of 0d in the format %# conversion flag. Add tests for same. | griffin | 2017-06-12 | 1 | -0/+4 |
| | | | | |||||
* | | | | merge trunk | dgp | 2017-06-16 | 1 | -21/+88 |
|\ \ \ \ | |/ / / | |||||
| * | | | Another reworking, now with comments. | dgp | 2017-06-16 | 1 | -36/+43 |
| | | | | |||||
| * | | | Simplify the final loop when we know we're generating strings for all. | dgp | 2017-06-16 | 1 | -33/+7 |
| | | | | |||||
| * | | | Split loop into two cases for further simplification. | dgp | 2017-06-16 | 1 | -2/+43 |
| | | | | |||||
| * | | | Factor out and simplify loop scanning leading known empty values. | dgp | 2017-06-16 | 1 | -0/+21 |
| | | | | |||||
| * | | | Use local variables. | dgp | 2017-06-16 | 1 | -5/+5 |
| | | | | |||||
| * | | | Rework the logic. Equivalent function. | dgp | 2017-06-16 | 1 | -19/+9 |
| | | | | |||||
| * | | | Extend cases where string rep generation can be prevented. | dgp | 2017-06-16 | 1 | -0/+16 |
| | | | | |||||
| * | | | Better define the meaning of "first" and "last". | dgp | 2017-06-16 | 1 | -3/+5 |
| | | | | |||||
| * | | | Don't test the impossible.dgp_stringcat_delaystringrep | dgp | 2017-06-08 | 1 | -5/+3 |
| | | | | |||||
| * | | | Modernize overflow checks. | dgp | 2017-06-08 | 1 | -6/+6 |
| | | | | |||||
| * | | | More streamlining | dgp | 2017-06-08 | 1 | -14/+14 |
| | | | | |||||
| * | | | More streamlining. | dgp | 2017-06-08 | 1 | -12/+5 |
| | | | | |||||
| * | | | pendingPtr == NULL implies (last == first) implies early out | dgp | 2017-06-08 | 1 | -14/+3 |
| | | | | |||||
| * | | | When possible delay string rep generation until necessary. | dgp | 2017-06-08 | 1 | -10/+46 |
| | | | | |||||
* | | | | merge trunk | dgp | 2017-06-06 | 1 | -45/+68 |
|\ \ \ \ | |/ / / | |||||
| * | | | A few more tweaks to streamline and clarify.bug_716b427f76 | dgp | 2017-06-06 | 1 | -13/+17 |
| | | | | |||||
| * | | | makes TclStringCatObjv safe accepting objc = 0 (or 1), then fast exits with ↵ | sebres | 2017-06-06 | 1 | -12/+16 |
| | | | | | | | | | | | | | | | | new object / first; check-cycles rewritten to be still more faster. | ||||
| * | | | amend to [eac4656f1e8cf793] (moved to scope where numChars != 0 in Unicode case) | sebres | 2017-06-06 | 1 | -3/+3 |
| | | | | |||||
| * | | | small code review: don't need to check length if unchanged + the same case ↵ | sebres | 2017-06-06 | 1 | -17/+18 |
| | | | | | | | | | | | | | | | | if 0 length | ||||
| * | | | Optimize TclStringCatObjv() for case when only one argument is non-empty. | dgp | 2017-06-05 | 1 | -8/+22 |
| | | | | |||||
| * | | | merge core-8-6-branch | jan.nijtmans | 2017-05-29 | 1 | -13/+13 |
| |\ \ \ | | |/ / | | | / | | |/ | |/| | |||||
| | * | Tcl_UtfToUniChar() -> TclUtfToUniChar() in various places: No change in ↵ | jan.nijtmans | 2017-05-29 | 1 | -13/+13 |
| | | | | | | | | | | | | functionality, just faster if ASCII only strings are involved. | ||||
* | | | merge trunk | dgp | 2017-04-17 | 1 | -3/+3 |
|\ \ \ | |/ / | |||||
| * | | If %llu is considered invalid, it means that "%" TCL_LL_MODIFIER "u" cannot ↵ | jan.nijtmans | 2017-04-12 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | be used Tcl_ObjPrintf(), but only in sprintf(). That's unfortunate, clearly an oversight in TIP #237. Conclusion: new TIP must be written to correct this. I'll read a TIP and see what case you have, but TCL_LL_MODIFIER was never meant to play any role in [format] or in Tcl_ObjPrintf(). TCL_LL_MODIFIER exists to help deal with platform differences in sprintf() calls. Tcl_ObjPrintf() in contrast ought to be consistent in its behavior across platforms and should not need such things. If that's false, then fixes to Tcl_ObjPrintf() are in order. | ||||
* | | | merge trunk | dgp | 2017-04-12 | 1 | -9/+5 |
|\ \ \ | |/ / | |||||
| * | | Revert recent commit. TIP 237 is clear that %llu is invalid. | dgp | 2017-04-12 | 1 | -9/+5 |
| |\ \ | | |/ | |||||
| | * | Revert recent commit [80252e0aed]. TIP 237 is clear that %llu is invalid. | dgp | 2017-04-12 | 1 | -9/+5 |
| | | | |||||
* | | | merge trunk | dgp | 2017-04-06 | 1 | -11/+36 |
|\ \ \ | |/ / | |||||
| * | | Fix [4b12ccb3363e81b132e8dbe12aeec596102be1a8|4b12ccb336]: format/scan %llu ↵ | jan.nijtmans | 2017-04-05 | 1 | -5/+9 |
| |\ \ | | |/ | | | | | | | doesn't work. Also added new test-cases showing the expected behavior. | ||||
| | * | Fix [4b12ccb3363e81b132e8dbe12aeec596102be1a8|4b12ccb336]: format/scan %llu ↵ | jan.nijtmans | 2017-04-05 | 1 | -5/+9 |
| | | | | | | | | | | | | doesn't work. Also added new test-cases showing the expected behavior. | ||||
| * | | Merge core-8-6-branch. | jan.nijtmans | 2017-04-03 | 1 | -6/+27 |
| |\ \ | | |/ | | | | Add test-cases showing that the (undocumented) %p format (and also %zd/%td) are harmless, since they are equivalent to other already existing formats. | ||||
| | * | Code optimization/reduction: If TCL_WIDE_INT_IS_LONG is defined, the ↵ | jan.nijtmans | 2017-04-03 | 1 | -5/+12 |
| | | | | | | | | | | | | variable useWide is always 0, so related code can be eliminated without loss of functionality. | ||||
* | | | merge trunk | dgp | 2017-03-29 | 1 | -6/+33 |
|\ \ \ | |/ / | |||||
| * | | Supply more C99-compatible (and MSVC) format options: '%p' for pointers, ↵ | jan.nijtmans | 2017-03-24 | 1 | -6/+33 |
| | | | | | | | | | | | | | | | 'z'/'j'/'I' for size_t/intptr_diff, 'j'/'q' for long long. Also add "I32" froom MSVC. Remove TCL_LL_MODIFIER specified as "L" for Borland: This must be wrong as "L" is meant for long double. Just assume that later Borland compilers are MSVC-compatible. | ||||
* | | | merge trunk | dgp | 2017-02-03 | 1 | -5/+5 |
|\ \ \ | |/ / |