summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* Fix [293344d4f3]: Regression in SQLite test-suite. Long-standing bug in ↵jan.nijtmans2017-07-131-1/+1
|\ | | | | | | implementation of TclUtfToUniChar() macro.
| * Fix [293344d4f3]: Regression in SQLite test-suite. Long-standing bug in ↵jan.nijtmans2017-07-131-1/+1
| | | | | | | | implementation of TclUtfToUniChar() macro.
| * tclPathObj: fixed TclJoinPath (backported from 8.6) - usage of released ↵sebres2017-07-031-84/+70
| | | | | | | | | | object and object leakage. closes [adb198c256df8c4192838cc3c1112fb2821314e9]
* | Pull out of the loop a block of code that can only run in first iteration.dgp2017-07-061-18/+19
| |
* | Alternative fix for memleaks in fs path join machinery.dgp2017-07-061-17/+16
| |
* | 'inline static' -> 'static inline' and 'INLINE' -> 'inline', for consistancy.jan.nijtmans2017-07-032-28/+28
| |
* | Eliminate use of (expensive) Tcl_UtfToUpper() from "format": Just generate ↵jan.nijtmans2017-06-281-10/+9
| | | | | | | | the expected uppercase characters right away from the start. No change in functionality, just code optimization.
* | Bump to TclOO 1.1.0dgp2017-06-261-1/+1
| |
* | Rebase for final implementation workdkf2017-06-221-5/+27
| |
* | Upgrade all internal character tables to Unicode 10jan.nijtmans2017-06-222-806/+831
|\ \ | |/
| * Upgrade all internal character tables to Unicode 10jan.nijtmans2017-06-222-807/+836
| |
* | Factor out chunk of non-obvious code in the guts of [oo::define] into one place.dkf2017-06-181-126/+74
| |
* | Make panic in TclParseNumber() work when IEEE_FLOATING_POINT is not defined.jan.nijtmans2017-06-151-1/+1
| |
* | Make read and write operations on Tcl_Var handles available in tclInt API. dkf2017-06-087-58/+349
|\ \ | | | | | | (This will be useful for tclquadcode, and it addresses a basic omission in Tcl's API that made working with Tcl_Vars rather more specialized than it was ever really intended to be. However, this also closes off the part of the API that was not reasonably usable by ordinary external code; LVT indices require too deep an entanglement into Tcl's implementation.)
| * | Expose some of the core variable access APIs. dkf2017-06-067-58/+349
| | | | | | | | | (Cherrypick from [b4dfc30083])
* | | Revert part of [95d096e0378b460c6c5168bb55bb2ca8b2fd799e|95d096e037]: Missed ↵jan.nijtmans2017-06-081-12/+35
| | | | | | | | | | | | the fact that tolower() was optimized for the ASCII case as well, so this was a mistake!
* | | Fix [2738427]: Tcl_NumUtfChars(...) no overflow check.jan.nijtmans2017-06-081-13/+14
|\ \ \ | | |/ | |/|
| * | Fix [2738427]: Tcl_NumUtfChars(...) no overflow check.jan.nijtmans2017-06-081-13/+14
| | |
* | | tclUtil.c: Use TclUtfToUniChar() in stead of handling ASCII characters ↵jan.nijtmans2017-06-082-36/+13
| | | | | | | | | | | | | | | separately: This macro already does that. Add new test-case for Tcl_NumUtfChars(), for a knownBug still to be fixed.
* | | Tcl_GetWideIntFromObj() -> TclGetWideIntFromObj(), and minor other ↵jan.nijtmans2017-06-073-22/+19
| |/ |/| | | | | simplifications/optimizations. No functional change.
* | Follow-up to [67aa9a2070]: Use uppercase consistantly, slight optimization ↵jan.nijtmans2017-06-061-18/+18
|\ \ | |/ | | | | in character tests, comment fixes. No change in functionality.
| * [67aa9a2070] Tcl_UtfToUniChar returns single byte for invalid UTF-8 input as ↵jan.nijtmans2017-06-061-75/+52
| | | | | | | | documented.
* | merge core-8-6-branchjan.nijtmans2017-06-021-10/+8
|\ \
| * | Change refCount field in DictObj from int to size_t. Cherry-picked from ↵jan.nijtmans2017-06-021-10/+8
| | | | | | | | | | | | "sebres-8-6-clock-speedup-cr1" branch.
* | | Fix [67aa9a207037ae67f9014b544c3db34fa732f2dc|67aa9a2070]: Security: Invalid ↵jan.nijtmans2017-06-021-3/+9
|/ / | | | | | | UTF-8 can inject unexpected characters
* | fixed [a3fb3356b76ec4a853d1b86aadc08675f8bef359]: segfault by sorting of the ↵sebres2017-05-291-19/+18
| | | | | | | | large lists (firstly mistakenly introduced in [af40c6fb6940bab7]), additionally simplify done-points in Tcl_LsortObjCmd.
* | Tcl_UtfToUniChar() -> TclUtfToUniChar() in various places: No change in ↵jan.nijtmans2017-05-298-58/+58
| | | | | | | | functionality, just faster if ASCII only strings are involved.
* | fix build failure with TCL_MEM_DEBUG introduced by [8b717dc06a3e3d49]aspect2017-05-191-3/+3
| |
* | Let local variables declared from within macro's always start with ↵jan.nijtmans2017-05-092-41/+41
| | | | | | | | underscore, this fixes some gcc warnings with -Wshadow.
* | [6015221f59] Segfault after overflow of [binary] field specifier numeric count.dgp2017-05-051-1/+9
|\ \ | |/
| * [6015221f59] Segfault after overflow of [binary] field specifier numeric count.dgp2017-05-051-1/+9
| |
* | [f9fe90d0fa] [file join] normalization. See filesystem-1.52*dgp2017-05-011-1/+11
|\ \ | |/
| * [f9fe90d0fa] [file join] normalization. See filesystem-1.52*dgp2017-05-011-1/+11
| |
* | [f34cf83dd0] An optimization was being taken in a case where it produced the ↵dgp2017-04-281-0/+7
|\ \ | |/ | | | | wrong result, failing to collapse multiple /// into /. Testing on Windows where path expectations may vary would be a good idea, but since this is just an optimization avoidance, I suspect we're ok.
| * [f34cf83dd0] An optimization was being taken in a case where it produceddgp2017-04-281-0/+7
| | | | | | | | | | the wrong result, failing to collapse multiple /// into /. Testing on Windows where path expectations may vary would be a good idea, but since this is just an optimization avoidance, I suspect we're ok.
| * [04e26c02c0] Remove useless condition that raises warnings.dgp2017-04-271-6/+2
| |
* | silence uninit variable warningsdgp2017-04-281-1/+1
| |
* | [04e26c02c0] Remove useless condition that raises warnings.dgp2017-04-271-4/+2
| |
* | [50750c735a] Fix for uninit memory handling issue in zlib transforms.dkf2017-04-251-18/+16
| |
* | A better way of getting source file location information when disassembling.dkf2017-04-223-20/+54
| |
* | Don't use "0%o" format in test-cases, as it suggest's it's the normal way to ↵jan.nijtmans2017-04-141-1/+1
| | | | | | | | | | 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 [80252e0aed]. TIP 237 is clear that %llu is invalid.dgp2017-04-122-22/+13
| |
* | merge fix-42202ba1e5ff566esebres2017-04-121-1/+31
|\ \
| * | bug fix for [42202ba1e5ff566e0f9abb9f890e460fbc6c1c5c]: segfault by coro injectsebres2017-04-041-1/+31
| | | | | | | | | | | | rewritten callback for ::tcl::unsupported::inject, without leave the interpreter in unusable state (inaccurate environment exchange by adding eval callback), test covered now.
* | | Fix [4b12ccb3363e81b132e8dbe12aeec596102be1a8|4b12ccb336]: format/scan %llu ↵jan.nijtmans2017-04-052-13/+22
| | | | | | | | | | | | doesn't work. Also added new test-cases showing the expected behavior.
* | | Code optimization/reduction: If TCL_WIDE_INT_IS_LONG is defined, the ↵jan.nijtmans2017-04-031-5/+12
| | | | | | | | | | | | variable useWide is always 0, so related code can be eliminated without loss of functionality.
* | | [900cb0284bc] Ensure that masking pseudo-methods used for export management ↵dkf2017-03-291-0/+1
| | | | | | | | | | | | are not introspectable directly. [cherrypick]
* | | In comments and documentation, distinguish between __int64 (a Microsoft ↵jan.nijtmans2017-03-292-3/+3
| | | | | | | | | | | | 64-bit integer type) and int64_t (C99 equivalent)
* | | Improve comment on TCL_WIDE_INT_IS_LONG, making it less misleading. jan.nijtmans2017-03-272-3/+3
|/ / | | | | In tclThreadTest.c, allow mainThreadId to be >32 bits.
* | redundant end-of-line spacingjan.nijtmans2017-03-154-16/+16
| |