summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Plug memleak recently put into [package require].dgp2017-12-061-0/+4
|\
| * Plug memleak recently put into [package require].dgp2017-12-061-0/+4
| |
* | [0e4d88b650] Added enough refcounting to stop `make valgrind` complaints aboutdgp2017-12-061-0/+2
| | | | | | | | "Invalid read". This is not a complete fix. Things are still broken. A working system of Namespace lifetime management looks like an 8.7 project.
* | (cherry-pick from core-8-6-8-rc): Duplicate test namesjan.nijtmans2017-12-062-2/+2
| |
* | [ce3a211dcb] Failed file normalize when tail is empty string.dgp2017-12-062-3/+18
|\ \ | |/
| * [ce3a211dcb] Failed file normalize when tail is empty string.dgp2017-12-062-3/+18
| |
* | [4f6a1ebd64] Stop crash when same value passed to the -map and -subcommands ↵dgp2017-12-052-155/+205
|\ \ | |/ | | | | options of ensemble configuration.
| * Factor clearing of ensemble subcommand table into utility routine.dgp2017-12-051-29/+23
| |
| * [4f6a1ebd64] Stop crash when same value passed to the -map and -subcommands ↵dgp2017-12-052-65/+105
| |\ | | | | | | | | | options of ensemble configuration.
| | * Another revised fix, much closer to sebres' patch now.dgp2017-12-051-62/+90
| | |
| | * [4f6a1ebd64] Different fix for the problem. Re-order the filling of the dgp2017-12-042-61/+73
| |/ | | | | | | | | | | subcommand table so there is no longer a conflict where multiple intreps of a single value are sought. If the mapDict and exportList are the same, then each key in the mapDict is known to be an element of the exportList without needing to check.
| * Cherry-picked test-cases from [046a5af026]: fix for issue [4f6a1ebd64]: ↵sebres2017-11-291-1/+17
| | | | | | | | | | ensemble: segmentation fault when -subcommand and -map values are the same object.
* | Fix [4f51e1c5dcf75de22f5907f7b66361e4bcab02e2|4f51e1c5dc]: patch to correct ↵jan.nijtmans2017-12-012-8/+8
|\ \ | | | | | | | | | linker flag sequence
| * | Suggested patch for [4f51e1c5dc]: patch to correct linker flag sequence. ↵jan.nijtmans2017-11-172-8/+8
| | | | | | | | | | | | Same change done for a few other platforms where it might matter.
* | | [5808081213] Permit all bytearrays (including impure ones) to report length ↵dgp2017-11-301-4/+8
| | | | | | | | | | | | without shimmering
* | | Don't provide the setFromAnyProc through the invalidRealType objType. This ↵jan.nijtmans2017-11-301-1/+1
| | | | | | | | | | | | is a Tcl internal type, extensions shouldn't be able to convert their own Tcl_Obj to this. This shouldn't have been exposed to begin with. Tcl itself never calls it this way.
* | | Fix Tcl_UtfFindFirst()/Tcl_UtfFindLast(), which were broken by [83c0c569d6]. ↵jan.nijtmans2017-11-293-9/+70
| | | | | | | | | | | | | | | Not detected, because those functions aren't used anywhere in Tcl. So, added new test-cases, makeing sure this doesn't happen again.
* | | Update some functions in tclUtf.c to handle surrogate pairs when TCL_UTF_MAX ↵jan.nijtmans2017-11-294-22/+61
| | | | | | | | | | | | | | | == 4. Also update documentation to distinguish better between "Tcl_UniChar" and "Unicode character": Those are not necessary the same when TCL_UTF_MAX == 4. No change when TCL_UTF_MAX == 4 or TCL_UTF_MAX == 6.
* | | Fix [fab92486a1b05ba6f7cfe8677da95b9efb3beff0|fab92486a1]: Windows error 14 ↵jan.nijtmans2017-11-171-1/+1
|\ \ \ | |/ / |/| / | |/ "Out of memory" mapping to Posix EFAULT "Bad address in system call argument" feels wrong
| * Fix [fab92486a1b05ba6f7cfe8677da95b9efb3beff0|fab92486a1]: Windows error 14 ↵jan.nijtmans2017-11-171-1/+1
| | | | | | | | "Out of memory" mapping to Posix EFAULT "Bad address in system call argument" feels wrong
* | No longer document (even though it's only in an example) that ↵jan.nijtmans2017-11-162-3/+3
|\ \ | |/ | | | | Tcl_SavedResult is a struct, and that the internal representation of an int is stored in the object's internalRep.longValue member. That might no longer be true in the future.
| * No longer document (even though it's only in an example) that ↵jan.nijtmans2017-11-162-9/+8
| | | | | | | | Tcl_SavedResult is a struct, and that the internal representation of an int is stored in the object's internalRep.longValue member. That might no longer be true in the future.
* | Change signature of (internal) TclScanElement() function. This saves memory ↵jan.nijtmans2017-11-155-32/+15
| | | | | | | | allocation and the possibility for panic's in dict and list handling, requiring 1/4 of memory for internal allocation of temporary storage. No change to external API.
* | [5d6de65036] [package require] with [package prefer stable] was not choosing ↵dgp2017-11-142-35/+68
|\ \ | |/ | | | | available stable package.
| * [5d6de65036] [package require] with [package prefer stable] was not choosingdgp2017-11-142-33/+68
| |\ | | | | | | available stable package.
| | * Ticket [5d65e65036]. My fix. Do not skip the second check for stable ↵aku2017-11-131-33/+58
| | | | | | | | | | | | versions even when the main check fails. Avoided radical changes to the structure (kept single search loop, with selection after).
| | * Test case for Bug 5d65e65036.dgp2017-11-061-0/+10
| | |
* | | No longer mark Tcl_EvalFile() as obsolete, since it will continue to be ↵jan.nijtmans2017-11-132-2/+0
|\ \ \ | |/ / | | | | | | supported in Tcl 9.0
| * | No longer mark Tcl_EvalFile() as obsolete, since it will continue to be ↵jan.nijtmans2017-11-132-2/+0
| | | | | | | | | | | | supported in Tcl 9.0
* | | Make "string split" and "string is (alpha|graph|...)" work as expected with ↵jan.nijtmans2017-11-102-3/+23
| | | | | | | | | | | | | | | Unicode chars > U+ffff, when Tcl is compiled with TCL_UTF_MAX == 4. No effect when TCL_UTF_MAX == 3 or TCL_UTF_MAX == 6. Test-case added for "string split".
* | | Make "scan %c" and the internal function ExtendUnicodeRepWithString() work ↵jan.nijtmans2017-11-092-5/+13
| | | | | | | | | | | | as expected for TCL_UTF_MAX == 4 when handling characters > U+ffff. No effect when TCL_UTF_MAX == 3 or TCL_UTF_MAX == 6
* | | compiler warningdgp2017-11-081-1/+1
|\ \ \ | |/ /
| * | compiler warningdgp2017-11-081-1/+1
| | |
* | | [3298012] Stop RebuildTable asking ckalloc for more than it can give.dgp2017-11-081-5/+8
|\ \ \ | |/ /
| * | [3298012] Stop RebuildTable asking ckalloc for more than it can give.dgp2017-11-081-5/+8
| |\ \ | | |/ | |/|
| | * Attempted bug fix.dgp2017-11-071-5/+8
| |/
* | TclOO object allocation: Set classPtr to NULL if it wasn't otherwise set.dgp2017-11-081-1/+4
| |
* | Don't use Unicode character \udead in test-cases, because it is an invalid ↵jan.nijtmans2017-11-072-15/+15
| | | | | | | | Unicode code-point (lower surrogate). This will cause test-failures with TIP #389. Just use \ud0ad in stead. Also fix some other test-cases which fail for TCL_UTF_MAX == 4.
* | Fix [6f2f83cc149e9918884faffefebc8dfa695f4ea0|6f2f83cc14]: tclWinload.c ↵jan.nijtmans2017-11-032-3/+8
| | | | | | | | robustness. And fix a minor possible memory leak in TclSetupEnv() as well. Thanks to Christian Werner for both suggestions, backported from Androwish.
* | Better versions of TclGetIntFromObj and TclGetIntForIndexM macro's, which ↵jan.nijtmans2017-11-031-5/+13
| | | | | | | | give advantage for platforms where longs are not ints (e.g. linux64)
* | More test rewrites for robust var resolution.dgp2017-10-301-1/+3
| |
* | Revise tests that relied on deprecated variable resolution rules.dgp2017-10-303-10/+7
| |
* | oopsdgp2017-10-271-1/+0
| |
* | Update tests that were still written on the outdated premise that Tcl's ↵dgp2017-10-272-7/+8
|\ \ | |/ | | | | encoding subsystem had to initialize starting in the identity encoding.
| * Update tests that were still written on the outdated premise that Tcl'sdgp2017-10-272-8/+8
| | | | | | encoding subsystem had to initialize starting in the identity encoding.
* | Cherrypick: [fc1409fc91] Method cloning needs to be careful with body ↵dkf2017-10-242-0/+12
| | | | | | | | representations.
* | Historical change affecting tests: Detroit did not observe Daylight Saving ↵Kevin B Kenny2017-10-241-24/+3
|\ \ | |/ | | | | Time in 1967
| * Historical change affecting tests: Detroit did not observe Daylight Saving ↵Kevin B Kenny2017-10-241-24/+3
| | | | | | | | Time in 1967
| * Update to tzdata2017cKevin B Kenny2017-10-2421-367/+404
| |
* | Update TZ info to tzcode2017c.José Ignacio Marín2017-10-2321-367/+404
| |