Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
* | Experiment, resolving platform differences at script level. Don't look ... | jan.nijtmans | 2018-08-16 | 1 | -9/+6 | |
| | ||||||
* | merge 8.6: bug [d051b77fc1] fixed | sebres | 2018-07-26 | 1 | -0/+14 | |
|\ | ||||||
| * | merge 8.5 - bug [d051b77fc1] fixed | sebres | 2018-07-26 | 1 | -0/+14 | |
| |\ | ||||||
| | * | test cases added to cover width overflow by format (should cause limit exceeded) | sebres | 2018-07-26 | 1 | -0/+14 | |
| | | | ||||||
| | | | ||||||
| \ \ | ||||||
*-. \ \ | Merge trunk. And merge jn-0d-radix-prefix branch in too (too small to be ↵ | jan.nijtmans | 2017-10-13 | 1 | -9/+9 | |
|\ \ \ \ | | | | | | | | | | | | | | | | considered separately) | |||||
| * \ \ \ | merge trunk | jan.nijtmans | 2017-06-29 | 1 | -3/+3 | |
| |\ \ \ \ | | |/ / / | ||||||
| * | | | | Merge trunk. Don't use expensive ToUpper() for hex 0X???? formatting, just ↵ | jan.nijtmans | 2017-06-27 | 1 | -3/+3 | |
| |\ \ \ \ | | |/ / / | | | | | | | | | | | generate uppercase directly. | |||||
| * | | | | Implement "format %o" as prefixing with "0o" in stead of "0" (Kevin Kenny's ↵ | jan.nijtmans | 2017-06-27 | 1 | -13/+13 | |
| | | | | | | | | | | | | | | | | | | | | suggestion). Seems ready to be TIPed (just some more testing) | |||||
| * | | | | Rebase branch "jn-0d-radix-prefix" back to trunk. No new changes | jan.nijtmans | 2017-06-26 | 1 | -5/+5 | |
| |\ \ \ \ | | |/ / / | |/| | | | ||||||
| | * | | | Little variation on Brian's proposal: Only prefix decimal number with '0d' ↵ | jan.nijtmans | 2017-06-14 | 1 | -12/+9 | |
| | | | | | | | | | | | | | | | | | | | | when that's necessary for correct interpretation of the number when parsed back again. | |||||
* | | | | | Rebase to trunk | jan.nijtmans | 2017-09-08 | 1 | -10/+10 | |
|\ \ \ \ \ | |/ / / / |/| | | | | ||||||
| * | | | | merge trunk | jan.nijtmans | 2017-04-14 | 1 | -8/+8 | |
| |\ \ \ \ | ||||||
| * | | | | | Use "0o" in stead of "0" as octal prefix in more places. | jan.nijtmans | 2017-04-07 | 1 | -2/+2 | |
| | | | | | | ||||||
| * | | | | | Merge trunk. Only use hash prefix (0x, 0b, 0 ) if value is not 0, except for %p. | jan.nijtmans | 2017-04-07 | 1 | -16/+43 | |
| |\ \ \ \ \ | ||||||
* | | | | | | | No longer split tests for longIs32bit/longIs64bit, since the results should ↵ | jan.nijtmans | 2017-06-23 | 1 | -12/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | be identical | |||||
* | | | | | | | repair broken tests | dgp | 2017-06-23 | 1 | -2/+2 | |
| | | | | | | | ||||||
* | | | | | | | TIP #472 implementation: Add Support for 0d Radix Prefix to Integer Literals | jan.nijtmans | 2017-06-23 | 1 | -6/+6 | |
|\ \ \ \ \ \ \ | | |_|_|/ / / | |/| | | | | | ||||||
| * | | | | | | Rebase to core-8-6-branch (who told that fossil doesn't know how to rebase ....) | jan.nijtmans | 2017-06-14 | 1 | -0/+19 | |
| |\ \ \ \ \ \ | ||||||
| | * | | | | | | Add support of 0d in the format %# conversion flag. Add tests for same. | griffin | 2017-06-12 | 1 | -0/+19 | |
| | | |_|/ / / | | |/| | | | | ||||||
* | | | | | | | merge core-8-6-branch | jan.nijtmans | 2017-06-22 | 1 | -0/+19 | |
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | / / | | |_|_|/ / | |/| | | | | ||||||
| * | | | | | Add test-cases, testing the legacy behavior of "format %#d" | jan.nijtmans | 2017-06-22 | 1 | -0/+19 | |
| |/ / / / | ||||||
* | | | | | merge core-8-6-branch | jan.nijtmans | 2017-04-14 | 1 | -18/+24 | |
|\ \ \ \ \ | |/ / / / | ||||||
| * | | | | Don't use "0%o" format in test-cases, as it suggest's it's the normal way to ↵ | jan.nijtmans | 2017-04-14 | 1 | -18/+24 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | format octal numbers: it isn't. Better use "%#o". Add tests for "format" and "scan" corner-cases which weren't documented (except in TIP's) neither had tests before. | |||||
* | | | | | Revert recent commit. TIP 237 is clear that %llu is invalid. | dgp | 2017-04-12 | 1 | -6/+0 | |
|\ \ \ \ \ | |/ / / / | | | / / | |_|/ / |/| | | | ||||||
| * | | | Revert recent commit [80252e0aed]. TIP 237 is clear that %llu is invalid. | dgp | 2017-04-12 | 1 | -6/+0 | |
| | | | | ||||||
* | | | | Fix [4b12ccb3363e81b132e8dbe12aeec596102be1a8|4b12ccb336]: format/scan %llu ↵ | jan.nijtmans | 2017-04-05 | 1 | -0/+6 | |
|\ \ \ \ | |/ / / | | | | | | | | | doesn't work. Also added new test-cases showing the expected behavior. | |||||
| * | | | Fix [4b12ccb3363e81b132e8dbe12aeec596102be1a8|4b12ccb336]: format/scan %llu ↵ | jan.nijtmans | 2017-04-05 | 1 | -0/+6 | |
| | | | | | | | | | | | | | | | | doesn't work. Also added new test-cases showing the expected behavior. | |||||
* | | | | Merge core-8-6-branch. | jan.nijtmans | 2017-04-03 | 1 | -0/+21 | |
|\ \ \ \ | |/ / / | | / / | |/ / |/| | | Add test-cases showing that the (undocumented) %p format (and also %zd/%td) are harmless, since they are equivalent to other already existing formats. | |||||
* | | | Fix [4768eb5c166a1b923e3472d18d75fdccc1a47513|4768eb5c16]: format-8.20 ↵ | jan.nijtmans | 2017-03-29 | 1 | -2/+2 | |
|/ / | | | | | | | failure. Since "%q" now is a valid length specifier, we cannot use it any more to test for "bad field specifier" | |||||
* | | EVIL HACKs are bad. Unnecessary ones are intolerable. Bad tests cause trouble. | dgp | 2016-10-20 | 1 | -2/+5 | |
| | | ||||||
* | | more result generation conversion | dkf | 2012-08-04 | 1 | -5/+2 | |
| | | ||||||
* | | 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. | |||||
| | * | Fix [Bug 1284178] and tweak tests to accommodate. | dkf | 2005-10-13 | 1 | -5/+9 | |
| | | | ||||||
| | * | Fix bug in [format %hx] handling on selected platforms. [Bug 1154163] | dkf | 2005-06-17 | 1 | -1/+5 | |
| | | | ||||||
| | * | fixed format-19.1 for 64 bit machines | Kevin B Kenny | 2004-10-27 | 1 | -3/+3 | |
| | | | ||||||
| | * | backport fixes for 868489 and 1026125 | Kevin B Kenny | 2004-10-27 | 1 | -1/+9 | |
| | | | ||||||
| | * | Consequent fixes from [Bug 699060]; [format] should not be too eager to demote | dkf | 2003-05-14 | 1 | -1/+24 | |
| | | | | | | | | | | | | wides to ints, and should throw errors when appropriate. | |||||
| | * | Removed test number dups [Bugs 710322, 710327, 710349, 710363] | dkf | 2003-03-27 | 1 | -12/+12 | |
| | | | ||||||
| | * | Made format less keen on converting numeric types. [Bug #699060] | dkf | 2003-03-14 | 1 | -1/+8 | |
| | | | ||||||
| | * | * generic/tclCmdAH.c (Tcl_FormatObjCmd): Only add the modifier | dkf | 2003-03-14 | 1 | -1/+4 | |
| | | | | | | | | | | | | | | | | | | that indicates we've got a wide int when we're formatting in an integer style. Stops some libc's from going mad. [Bug #702622] Also tidied whitespace. | |||||
| * | | * generic/tclStringObj.c: Corrected failure to grow buffer | dgp | 2009-07-31 | 1 | -1/+5 | |
| | | | | | | | | | | | | | | | * tests/format.test: when format spec request large width floating point values. Thanks to Clemens Misch. [Bug 2830354] | |||||
| * | | * generic/tclStringObj.c (Tcl_AppendFormatToObj): | dgp | 2008-04-07 | 1 | -1/+7 | |
| | | | | | | | | | | | | | | | | | | Fix [format {% d}] so that it behaves the same way as in 8.4 and as C's printf(). * tests/format.test: Add a test for '% d' and '%+d'. | |||||
* | | | [Bug 2932421]: Make [format] less likely to smash intreps. | dkf | 2010-01-18 | 1 | -7/+10 | |
| | | | ||||||
* | | | * generic/tclStringObj.c: Corrected failure to grow buffer | dgp | 2009-07-31 | 1 | -1/+5 | |
| | | | | | | | | | | | | | | | * tests/format.test: when format spec request large width floating point values. Thanks to Clemens Misch. [Bug 2830354] | |||||
* | | | TIP #343 IMPLEMENTATION - A Binary Specifier for [format/scan] | ferrieux | 2008-12-10 | 1 | -1/+4 | |
| | | | ||||||
* | | | fix [2021443] inconsistant "wrong # args" messages | nijtmans | 2008-07-19 | 1 | -2/+2 | |
| | | | ||||||
* | | | * generic/tclStringObj.c (Tcl_AppendFormatToObj): | rmax | 2008-04-07 | 1 | -1/+7 | |
|/ / | | | | | | | | | | | Fix [format {% d}] so that it behaves the same way as in 8.4 and as C's printf(). * tests/format.test: Add a test for '% d' and '%+d'. | |||||
* | | * generic/tclStringObj.c (Tcl_AppendFormatToObj): Correct failure to | dgp | 2008-01-10 | 1 | -1/+5 | |
| | | | | | | | | | | * tests/format.test: account for big.used == 0 corner case in the %ll(idox) format directives. [Bug 1867855]. |