summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* [timerate] bug fix: missing scale conversion by Mac OSX on platform where ↵sebres2017-02-093-15/+34
| | | | | | | 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);
* missing entry of tclInt.h addedsebres2017-01-091-0/+3
|
* New performance measurement routine "timerate" in opposition to "time" the ↵sebres2017-01-092-1/+333
| | | | | | | | | execution limited by fixed time (in milliseconds) instead of repetition count (more precise results, to prevent very long execution time it is no more necessary to estimate repetition count) Syntax: timerate ?-direct? ?-calibrate? ?-overhead double? command ?time?
* Make TclGetLoadedPackagesEx() work with other than the only current ↵jan.nijtmans2017-01-051-9/+11
| | | | interpreter (didn't really think about that earlier ... ). Actually slightly more correct.
* Fix [7c7d3b4481d4e4e86420b54031f4abd1df18d64|7c7d3b4481]: load test ↵jan.nijtmans2017-01-052-24/+21
| | | | failures. There's a difference between "" and NULL as interpreter name.
* TIP [http://www.tcl.tk/cgi-bin/tct/tip/459|459] implementation, but (for ↵jan.nijtmans2017-01-046-18/+182
|\ | | | | | | now) without the "source -nopkg" part.
| * Bring back stub table in original state.jan.nijtmans2016-12-0820-194/+419
| |\ | | | | | | Merge trunk
| * | Implement the "package forget" part, which was still missing. Handle the ↵jan.nijtmans2016-11-291-5/+16
| | | | | | | | | | | | case that a filename contains spaces.
| * | slightly simplerjan.nijtmans2016-11-281-2/+1
| | |
| * | Complete implementation, tests and documentationjan.nijtmans2016-11-284-13/+58
| | |
| * | Merge trunk.jan.nijtmans2016-11-2516-74/+100
| |\ \ | | | | | | | | Implementation looks complete. Still missing: test-cases and documentation.
| * \ \ merge trunkjan.nijtmans2016-11-241-2/+2
| |\ \ \
| * | | | Starting implementing the "package files" command. TIP still to be written.jan.nijtmans2016-11-243-10/+91
| | | | |
* | | | | TIP [http://www.tcl.tk/cgi-bin/tct/tip/456|456] implementation: Extend the C ↵tip_456jan.nijtmans2017-01-047-18/+125
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | API to Support Passing Options to TCP Server Creation
| * | | | | Make the code slightly more pleasing to the eyes.limeboy2017-01-011-2/+10
| | | | | |
| * | | | | Make options -reuseaddr/-reuseport forbidden without -server, no matter the ↵jan.nijtmans2016-12-201-7/+5
| | | | | | | | | | | | | | | | | | | | | | | | value being true or false. Some additional test-cases.
| * | | | | merge forkjan.nijtmans2016-12-201-15/+11
| |\ \ \ \ \
| | * | | | | Decouple the switch handling.limeboy2016-12-201-15/+10
| | | | | | |
| | * | | | | Correct the handling of -server and its options.limeboy2016-12-201-1/+2
| | | | | | |
| * | | | | | merge trunk (still has test failure in socket.test)jan.nijtmans2016-12-2012-79/+238
| |\ \ \ \ \ \ | | |/ / / / / | |/| | | | |
| * | | | | | Adjust OpenTcpServer for the latest changes to OpenTcpServerExlimeboy2016-12-141-1/+5
| | | | | | |
| * | | | | | Fix for the argument parsing phase in the [socket] command.limeboy2016-12-141-2/+1
| | | | | | |
| * | | | | | Make OpenTcpServerEx accept a 'service' string parameter instead of a port.limeboy2016-12-143-14/+20
| | | | | | |
| * | | | | | merge trunklimeboy2016-12-0115-161/+253
| |\ \ \ \ \ \
| * \ \ \ \ \ \ Merge trunk, and fix two socket test-cases.jan.nijtmans2016-11-2510-18/+26
| |\ \ \ \ \ \ \
| * \ \ \ \ \ \ \ Forgot a - in the parameters array.limeboy2016-11-241-1/+1
| |\ \ \ \ \ \ \ \
| | * | | | | | | | Fix compile error if SO_REUSEPORT not supported. Put command options in ↵jan.nijtmans2016-11-241-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | alphabetical order
| * | | | | | | | | Allow a boolean argument to be passed.limeboy2016-11-241-7/+35
| |/ / / / / / / /
| * | | | | | | | Implement the whole TIP 456 specification.limeboy2016-11-245-11/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also introduces the `-reuseaddr' and `-reuseport' options for the `socket' command.
| * | | | | | | | Added stub entry for tip #456. Documentation and tests still missing. ↵jan.nijtmans2016-11-225-10/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Doesn't conform to TIP yet.
| * | | | | | | | This is patch.002 from ticket ↵jan.nijtmans2016-11-221-3/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [0b9d3ba2ba3e1e3fc33c97d5a9fa7ef85d11a696|0b9d3ba2ba], as first start of tip-456 implementation
* | | | | | | | | merge core-8-6-branchjan.nijtmans2017-01-012-41/+173
|\ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ Fix [39f6304c2e]: Tcl_LinkVar is not tolerant to minus, plus, dotjan.nijtmans2017-01-011-40/+172
| |\ \ \ \ \ \ \ \ \
| | * | | | | | | | | Little tweak: Decimal dot's should be allowed as well as first part. ↵jan.nijtmans2016-12-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Test-case for that as well.
| | * | | | | | | | | Handle other invalid sequences, like "1234e" or "-567e+", that could be the ↵jan.nijtmans2016-12-231-5/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-221-40/+129
| | |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 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-221-18/+62
| | | |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the "." for doubles and floats.
| | | * | | | | | | | | | Experimental (partial) fix for ↵jan.nijtmans2016-12-213-63/+123
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [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.
* | | | | | | | | | | | | 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.
* | | | | | | | | | | more internal use of size_t in stead of int.jan.nijtmans2016-12-205-34/+38
| | | | | | | | | | |
* | | | | | | | | | | Record the fact that all stub-enabled extensions work in Tcl 8.5+, no 8.6 ↵jan.nijtmans2016-12-203-13/+13
| |_|_|_|_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | (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 "file join $grandParentDir tcl8.? library" as possible path for a valid ↵jan.nijtmans2016-12-151-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | init.tcl. Some simplifications in use of test restrictions.
* | | | | | | | | | Implement all possible TCL_LL_MODIFIER formats in Tcl_ObjPrintf(), can be ↵jan.nijtmans2016-12-142-0/+61
|\ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | "ll", "I64" and "L", whatever the platform defines for long long integer. With test-cases.