summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [6015221f59] Segfault after overflow of [binary] field specifier numeric count.dgp2017-05-052-1/+21
|
* Cherry-pick/backport [65cc894ac5c24495|65cc894ac5]: fix off-by-one possible ↵jan.nijtmans2017-05-041-15/+12
| | | | | buffer overrun when looking for encodings; found by coverity Use GetModuleHandle() in stead of LoadLibrary() for ntdll, which is already loaded by Cygwin.
* Use GetModuleHandle() in stead of LoadLibrary() when the handle is needed ↵jan.nijtmans2017-05-034-103/+92
| | | | | for an already loaded dll. Fix filesystem-1.52 (only works correctly on UNIX)
* [f9fe90d0fa] [file join] normalization. See filesystem-1.52*dgp2017-05-012-1/+21
|
* [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.
* Test for [f34cf83dd0].dgp2017-04-281-0/+3
|
* (cherry-pick): fix typo-bug (using wrong thread handle by set priority)jan.nijtmans2017-04-281-1/+1
|
* [04e26c02c0] Remove useless condition that raises warnings.dgp2017-04-271-6/+2
|
* (cherry-pick from core-8-6-branch): Update TZ info to tzcode2017b.jan.nijtmans2017-03-23144-6717/+6328
|
* ParseTokens failed to fully respect its numBytes argument.dgp2017-02-271-1/+4
|
* Fix [d0f7ba56f0e8f93b7efb5b09ebc30a824bdd577a|d0f7ba56f0]: INST_EQ ↵jan.nijtmans2017-02-012-18/+13
| | | | first-argument NaN shortcut is too aggressive
* Fix [39f6304c2e90549c209cd11a7920dc9921b9f48e|39f6304c2e] follow-up: Make ↵jan.nijtmans2017-01-201-3/+4
| | | | Tcl_LinkVar toleranto to the empty string as well
* Upgrade TZDATA to IETF tzdata2016jvenkat2017-01-146-23/+242
|
* close forkjan.nijtmans2017-01-130-0/+0
|\
| * missing rules.vc after mergesebres2017-01-131-5/+10
| |\
* | \ Allows to compile direct from Visual Studio IDE (prevents throwing error ↵jan.nijtmans2017-01-131-5/+10
|\ \ \ | |/ / |/| / | |/ "LNK1561: entry point must be defined" by testing linker). Patch by sebres
| * merge core-8-5-branchvs_ide_compilejan.nijtmans2017-01-130-0/+0
| |\ | |/ |/|
* | Enhance nmakehlp, allowing multiple arguments for "-l", and recognizing a ↵jan.nijtmans2017-01-131-8/+16
| | | | | | | | new linker code LNK4224. Patch by sebres.
| * Fixes nmakehlp: allows more as one option by -l, to provide mandatory linker ↵sebres2017-01-122-9/+17
| | | | | | | | | | parameters (e. g. "LNK1561: entry point must be defined"); Additionally recognizes an new linker code LNK4224 for "no longer supported; ignored".
| * Allows to compile direct from Visual Studio IDE (prevents throwing error ↵sebres2017-01-121-5/+10
|/ | | | "LNK1561: entry point must be defined" by testing linker)
* Merge bug_b87ad7e914sebres2017-01-092-22/+40
|\
| * Fix for [b87ad7e9146832d505f9a430d779c5313c440256|b87ad7e914], rebased to ↵bug_b87ad7e914jan.nijtmans2017-01-092-22/+40
| |\ |/ / | | | | | | core-8-5-branch (who said fossil doesn't have 'rebase'...), and moved the definition of "struct _timeb t" to the top of the function. This branch is ready to be merged to core-8-5-branch, it looks good to me. Thanks to sebres (Dipl. Ing. Sergey G. Brester)
| * [win] bug fix in NativeGetTime: each call of it blurs current performance ↵sebres2017-01-022-18/+38
| | | | | | | | | | | | | | | | counters actualized in calibration thread in UpdateTimeEachSecond; This entails that sometimes sporadically time-drifts resp. jump-esque time-shifts occurred, what for example produces very confusing results during time measurement. [unix] wrong cast fixed in TclpGetWideClicks: multiplication with 1000000 in long int may cause overflow See ticket b87ad7e9146832d505f9a430d779c5313c440256
| * merge core-8-6-branchjan.nijtmans2017-01-013-41/+257
| |\
| | * Fix [39f6304c2e]: Tcl_LinkVar is not tolerant to minus, plus, dotjan.nijtmans2017-01-012-40/+256
| | |\ | |_|/ |/| |
* | | Fix [39f6304c2e]: Tcl_LinkVar is not tolerant to minus, plus, dotjan.nijtmans2017-01-012-40/+256
|\ \ \
| * | | Little tweak: Decimal dot's should be allowed as well as first part. ↵jan.nijtmans2016-12-232-3/+3
| | | | | | | | | | | | | | | | Test-case for that as well.
| * | | Handle other invalid sequences, like "1234e" or "-567e+", that could be the ↵jan.nijtmans2016-12-232-5/+70
| | | | | | | | | | | | | | | | start of a valid real number.
| * | | Fix some comments (which were not correct any more in this branch), and ↵jan.nijtmans2016-12-221-10/+9
| | | | | | | | | | | | | | | | don't allow booleans in integer context.
| * | | Re-based to core-8-5-branch. jan.nijtmans2016-12-222-40/+192
| |\ \ \ |/ / / / | | | | Proposed fix for [39f6304c2e90549c209cd11a7920dc9921b9f48e|39f6304c2e], which doesn't need modifications to Double/Integer valid string representations.
| * | | Merge trunk. Implement sequences like "0x", "0b" and "0o" as well. And also ↵jan.nijtmans2016-12-222-18/+146
| |\ \ \ | | | | | | | | | | | | | | | the "." for doubles and floats.
| * | | | Experimental (partial) fix for ↵jan.nijtmans2016-12-215-71/+131
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [39f6304c2e90549c209cd11a7920dc9921b9f48e|39f6304c2e]: Tcl_LinkVar is not tolerant to minus, plus, dot. This handled minus and plus only, not other possible errors. Will need a TIP, because the boolean type is extended to consider '-', '+' and 'o' (necessary for being able to type 'on' or 'off') as valid booleans Dot, and integer prefixes (such as 0x) not handled yet, should be handled completely different.
| | | | * (cherry-pick): Update zlib to version 1.2.9. Dll's and *.lib files not ↵jan.nijtmans2017-01-0198-1810/+8661
| | | | | | | | | | | | | | | | | | | | updated yet
| | | * | Update zlib to version 1.2.9. Dll's and *.lib files not updated yetjan.nijtmans2017-01-0198-1810/+8661
| | | | |
| | | * | Update -DMSTATS functionality, for possible total memory sizes > 2Gb. One ↵jan.nijtmans2016-12-232-24/+24
| | | | | | | | | | | | | | | | | | | | more place where use of size_t can increase range.
| | | * | Eliminate the internal macro/function TclNewIntObj: In all cases ↵jan.nijtmans2016-12-236-26/+19
| | |/ / | | | | | | | | | | | | TclNewLongObj is just as good.
| | * | Make sure that Tcl_GetIntFromObj/Tcl_GetWideIntFromObj/Tcl_GetDoubleFromObj ↵jan.nijtmans2016-12-211-16/+23
| | |\ \ | |/ / / | | | _ | | | don't set an error in the interp during LinkTraceProc(): The error is supposed to be reported as return value of this function, not the interp.
| | * Make sure that Tcl_GetIntFromObj/Tcl_GetWideIntFromObj/Tcl_GetDoubleFromObj ↵jan.nijtmans2016-12-211-16/+23
| | |\ | |_|/ |/| | | | | don't set an error in the interp during LinkTraceProc(): The error is supposed to be reported as return value of this function, not the interp.
* | | Make sure that Tcl_GetIntFromObj/Tcl_GetWideIntFromObj/Tcl_GetDoubleFromObj ↵jan.nijtmans2016-12-211-16/+23
| | | | | | | | | | | | don't set an error in the interp during LinkTraceProc(): The error is supposed to be reported as return value of this function, not the interp.
| * | Document that from the "exact" parameter of Tcl_InitStubs(), only bit 0 has ↵jan.nijtmans2016-12-201-3/+3
| | | | | | | | | | | | meaning.
| * | more internal use of size_t in stead of int.jan.nijtmans2016-12-207-56/+59
| | |
| * | Record the fact that all stub-enabled extensions work in Tcl 8.5+, no 8.6 ↵jan.nijtmans2016-12-2011-23/+23
| | | | | | | | | | | | (or 9.0) features are needed. (Differences between 8.x and 9.0 are handled by a different stub magic value)
| * | Some more internal use of size_t in stead of int. No functional change.jan.nijtmans2016-12-162-9/+4
| | |
| * | Add back testcase winFile-4.10. This test passes anyway, even though it ↵jan.nijtmans2016-12-151-0/+15
| | | | | | | | | | | | appeared to be Windows 2000 only.
| * | Add "file join $grandParentDir tcl8.? library" as possible path for a valid ↵jan.nijtmans2016-12-156-88/+46
| | | | | | | | | | | | | | | init.tcl. Some simplifications in use of test restrictions.
| * | Implement all possible TCL_LL_MODIFIER formats in Tcl_ObjPrintf(), can be ↵jan.nijtmans2016-12-143-0/+86
| |\ \ | | | | | | | | | | | | "ll", "I64" and "L", whatever the platform defines for long long integer. With test-cases.
| | * | Implement all possible TCL_LL_MODIFIER formats in Tcl_ObjPrintf(), can be ↵jn_wide_printfjan.nijtmans2016-12-143-1/+77
| | | | | | | | | | | | | | | | "ll", "I64" and "L", whatever the platform defines for long long integer. With test-cases.
| | * | implement "I64" format in Tcl_ObjPrintf as well. Still to be tested.jan.nijtmans2016-12-021-3/+13
| | | |
| * | | Avoid "warning: format '%llu' expects argument of type 'long long unsigned ↵andy2016-12-021-3/+6
| | | | | | | | | | | | | | | | int', but argument 2 has type 'long unsigned int'" on platforms where TCL_WIDE_INT_IS_LONG. Warning introduced by check-in [e3ba334a42] which was merged to trunk by [eac13870dc]. This fix also was made by [418b169207] which has not yet been merged to trunk.
| * | | Added long comment explaining history and work in progress making bytearraydgp2016-12-021-22/+87
| |/ / | | | | | | interfaces usable.