summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* man for timerate (doc/timerate.n)sebres_8_6_timeratesebres2017-05-111-0/+114
|
* add missing compile functionality (TclPreserveByteCode/TclReleaseByteCode ↵sebres2017-05-091-0/+19
| | | | back-ported as inline from trunk)
* back-ported branch sebres_trunk_timerate (new command "timerate" for 8.6)sebres2017-05-097-48/+679
|\
| * timerate: don't calculate threshold by too few iterations, because sometimes ↵sebres2017-03-071-0/+7
| | | | | | | | first iteration(s) can be too fast (cached, delayed clean up, etc).
| * merge trunksebres2017-03-06110-619/+1084
| |\
| | * merge core-8-6-branchsebres2017-03-063-5/+11
| | |\
| | * | Fix for Ticket [71c0878b71] + test casesavl2017-03-052-1/+13
| | | |
| | * | ParseTokens failed to fully respect its numBytes argument.dgp2017-02-271-1/+4
| | |\ \
| | * \ \ [25842c161f] Ensure that finalization of a zlib stream works.dkf2017-02-262-2/+44
| | |\ \ \
| | * | | | More internal use of size_t in stead of int, e.g. for epoch'sjan.nijtmans2017-02-157-14/+14
| | | | | |
| | * | | | On Windows, Cygwin and 64-bit platforms, no need to handle 'long' in ↵jan.nijtmans2017-02-143-2/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tclLink.c, since its size is equal to either 'int' or 'Tcl_WideInt'. This enhances interoperabilty between win64 extensions loaded in cygwin64 using Tcl_LinkVar(), whill still being 100% compatible. init.tcl: unnecessary spacing.
| | * | | | TIP #459 feedback from FlightAware: Add package-related pkgIndex.tcl file to ↵jan.nijtmans2017-02-081-0/+18
| | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | "package files" output.
| | | * | | | FlightAware feedback: "Aside: Any way to find out what the pkgIndex.tcl file ↵package_filesjan.nijtmans2017-02-081-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a package was defined in was, or does that happen at too high a level?" Answer: Even though the name of the pkgIndex file is available earlier, it is very well possible to remember it and store it with the other files. This commit does exactly that.
| | * | | | | Shortcut in TclParseNumber(): If obj is a dict or list, don't bother to ↵jan.nijtmans2017-02-084-20/+25
| | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | generate the string representation if we know already beforehand that the parsing will fail. Use TCL_NO_DEPRECATED in stead of KILL_OCTAL for removing the (deprecated un-prefixed) octal support. Adapt test-cases, so they work without octal support as well.
| | * | | | Code cleanup (based on feedback from René Zaumseil): Only call ↵jan.nijtmans2017-02-071-102/+79
| | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | GetInvalidIntFromObj() when Tcl_GetIntFromObj() fails.
| | * | | | | cherrypick typo fix.bch2017-02-061-1/+1
| | | | | | |
| | * | | | | Split tclEmptyStringRep declaration over two lines. Otherwise gcc warning.jan.nijtmans2017-02-031-1/+3
| | | | | | |
| | * | | | | TIP #459 remaining part of implementation. Makes "package require Tk" give ↵jan.nijtmans2017-02-034-73/+116
| | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | the right (... at least ... the expected ...) answer.
| | | * \ \ \ \ Merge trunkjan.nijtmans2017-01-2375-227/+517
| | | |\ \ \ \ \
| | | * \ \ \ \ \ Merge trunkjan.nijtmans2017-01-0611-16/+25
| | | |\ \ \ \ \ \
| | | * \ \ \ \ \ \ Merge trunkjan.nijtmans2017-01-053-26/+23
| | | |\ \ \ \ \ \ \
| | | * | | | | | | | One more ::tcl::Pkg::source, for the Macjan.nijtmans2017-01-051-1/+1
| | | | | | | | | | |
| | | * | | | | | | | Merge trunk. Improve test-case. Bring back "source -nopkg", but only as ↵jan.nijtmans2017-01-055-14/+40
| | | |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | undocumented internal helper for ::tcl::Pkg::source.
| | | * | | | | | | | | In stead of "source -nopkg" use a ::tcl::Pkg::source utility function.jan.nijtmans2017-01-044-82/+92
| | | | | | | | | | | |
| | | * | | | | | | | | Fix safe.tcl test-cases: "source -nopkg" is not necessary here: "source" is ↵jan.nijtmans2017-01-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | an alias for "::safe::AliasSource", which doesn't use "source"
| | | * | | | | | | | | Merge trunk. First steps in eliminating "source -nopkg". Some test-cases ↵jan.nijtmans2017-01-04149-2186/+9523
| | | |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | still fail.
| | * | | | | | | | | | | In TclGetNumberFromObj() macro (tclExecute.c): Don't fill in type if ↵jan.nijtmans2017-02-0312-33/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TCL_ERROR is returned: The caller doesn't do anything with this. Don't access (non-const) variable tclEmptyStringRep any more, use its value (&tclEmptyString) directly. Only keep it in tclPkg.c, for error checking.
| | * | | | | | | | | | | Fix [d0f7ba56f0e8f93b7efb5b09ebc30a824bdd577a|d0f7ba56f0]: INST_EQ ↵jan.nijtmans2017-02-012-18/+13
| | |\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | first-argument NaN shortcut is too aggressive
| | * \ \ \ \ \ \ \ \ \ \ \ Update documentation on recent changes in Tcl_LinkVar.jan.nijtmans2017-01-313-30/+57
| | |\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Minor code clean-up. No functional changes.
| | * | | | | | | | | | | | | Added assoc, ftype and move as auto_execok shell built-ins on Windows.ashok2017-01-281-2/+3
| | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | Some code cleanup: More internal use of size_t, less type casts (because of ↵jan.nijtmans2017-01-273-53/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this). No functional changes.
| | * | | | | | | | | | | | | If TCL_NO_DEPRECATED is defined, remove the "case" statement, and use much ↵jan.nijtmans2017-01-2512-77/+131
| | | |_|_|_|_|_|_|/ / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | less interp->result. Implementation mostly taken over from "novem". If TCL_NO_DEPRECATED is not defined, nothing changes.
| | * | | | | | | | | | | | Fix [39f6304c2e90549c209cd11a7920dc9921b9f48e|39f6304c2e] follow-up: Make ↵jan.nijtmans2017-01-201-3/+4
| | |\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tcl_LinkVar toleranto to the empty string as well
| | * \ \ \ \ \ \ \ \ \ \ \ \ Fix [1f4bb8162f]: lsort -dictionary documentation to be improvedfvogel2017-01-191-1/+2
| | |\ \ \ \ \ \ \ \ \ \ \ \ \
| | * | | | | | | | | | | | | | Implement tag "deprecated" in genStubs.tcl. Will be used in Tk 8.7, for ↵jan.nijtmans2017-01-171-1/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tagging the deprecated function Tk_FreeXId()
| | * | | | | | | | | | | | | | merge core-8-6-branchjan.nijtmans2017-01-172-1/+1
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ Fix for missing proper initialization of the threaded allocator in some ↵jan.nijtmans2017-01-164-13/+37
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | situations. Problem reported by Zoran Vasiljevic, only noted when building/running NaviServer/AOLServer with Tcl 8.7 (trunk).
| | | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ Introduce new function TclInitThreadAlloc(), symmetric with ↵notifierjan.nijtmans2017-01-135-24/+65
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TclFinalizeThreadAlloc()
| | | * | | | | | | | | | | | | | | | Patch from Zoran Vasiljevic, fix for missing proper initialization of the ↵jan.nijtmans2017-01-133-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | threaded allocator in some situations.
| | * | | | | | | | | | | | | | | | | Update zlib to version 1.2.11jan.nijtmans2017-01-1646-98/+92
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge IETF tzdata2016jvenkat2017-01-146-23/+242
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | |_|_|/ / / / / / / / / / / / / / / | | |/| | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | | Merge-mark (restoring the expected merge order from core-8-5-branch -> ↵jan.nijtmans2017-01-130-0/+0
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | core-8-6-branch -> trunk -> novem)
| | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ missing rules.vc after mergesebres2017-01-131-5/+10
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Enhance nmakehlp, allowing multiple arguments for "-l", and recognizing a ↵jan.nijtmans2017-01-131-8/+16
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | |_|_|_|_|/ / / / / / / / / / / / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | new linker code LNK4224. Patch by sebres.
| | * | | | | | | | | | | | | | | | | | | | Merge core-8-6-branchjan.nijtmans2017-01-121-8/+8
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | * | | | | | | | | | | | | | | | | | | | | Use more Tcl_AppendResult(), in order to prevent the use of a (char *) type ↵jan.nijtmans2017-01-111-28/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | case.
| | * | | | | | | | | | | | | | | | | | | | | Merge core-8-6-branch. jan.nijtmans2017-01-118-36/+40
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Do gcc-compiles with the option -Wwrite-strings, so we can detect mis-usage of "const". Make Tcl_AddErrorInfo() and Tcl_AddObjErrorInfo() a macro.
| * | | | | | | | | | | | | | | | | | | | | | | [win] accomplished winTime module using very fast wide clicks, with ↵sebres2017-02-092-14/+103
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | denominator scale to/from microseconds, and therefore more precise "timerate" results under windows (using similar mechanisms as by Mac OSX). Especially multi-threaded, because it works without lock opposite to microseconds (that use crictical section, because of the calibration thread). The reason for usage of wide clicks instead microseconds explains following example (shows 20% performance deference): % timerate -calibrate {} % timerate {clock microseconds} 5000 0.297037 µs/# 14465901 # 3366585 #/sec 4296.906 nett-ms % timerate {clock clicks} 5000 0.247797 µs/# 16869084 # 4035554 #/sec 4180.116 nett-ms
| * | | | | | | | | | | | | | | | | | | | | | | [timerate] bug fix: missing scale conversion by Mac OSX on platform where ↵sebres2017-02-095-48/+238
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | high resolution clicks are not microseconds based; [win] use high resolution timer for the wide clicks and microseconds directly, prevent several forwards/backwards conversions; [win, unix, mac-osx] normalize some functions for common usage in different time units (clicks, micro- and nanoseconds)
| * | | | | | | | | | | | | | | | | | | | | | | resolve warning: enumeration value ‘TMRT_LAST’ not handled in switch ↵sebres2017-02-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (impossible to handle in switch because of break);