summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Code cleanup (based on feedback from René Zaumseil): Only call ↵jan.nijtmans2017-02-071-102/+79
|\ | | | | | | GetInvalidIntFromObj() when Tcl_GetIntFromObj() fails.
| * Code cleanup (based on feedback from René Zaumseil): Only call ↵jan.nijtmans2017-02-071-118/+85
| | | | | | | | GetInvalidIntFromObj() when Tcl_GetIntFromObj() fails.
* | 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-031-3/+27
|\ \ | | | | | | | | | the right (... at least ... the expected ...) answer.
| * \ Merge trunkjan.nijtmans2017-01-237-51/+82
| |\ \
| * \ \ Merge trunkjan.nijtmans2017-01-061-9/+11
| |\ \ \
| * \ \ \ Merge trunkjan.nijtmans2017-01-052-24/+21
| |\ \ \ \
| * \ \ \ \ Merge trunk. Improve test-case. Bring back "source -nopkg", but only as ↵jan.nijtmans2017-01-051-3/+27
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | undocumented internal helper for ::tcl::Pkg::source.
| * | | | | | In stead of "source -nopkg" use a ::tcl::Pkg::source utility function.jan.nijtmans2017-01-041-25/+3
| | | | | | |
| * | | | | | Merge trunk. First steps in eliminating "source -nopkg". Some test-cases ↵jan.nijtmans2017-01-0424-171/+471
| |\ \ \ \ \ \ | | |/ / / / / | | | | | | | | | | | | | | still fail.
* | | | | | | In TclGetNumberFromObj() macro (tclExecute.c): Don't fill in type if ↵jan.nijtmans2017-02-0311-32/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-011-18/+4
|\ \ \ \ \ \ \ | | |_|_|_|_|/ | |/| | | | | | | | | | | | first-argument NaN shortcut is too aggressive
| * | | | | | Fix [d0f7ba56f0e8f93b7efb5b09ebc30a824bdd577a|d0f7ba56f0]: INST_EQ ↵jan.nijtmans2017-02-011-18/+4
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | first-argument NaN shortcut is too aggressive
| | * | | | | | Fix [d0f7ba56f0e8f93b7efb5b09ebc30a824bdd577a|d0f7ba56f0]: INST_EQ ↵jan.nijtmans2017-02-011-18/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | first-argument NaN shortcut is too aggressive
* | | | | | | | Update documentation on recent changes in Tcl_LinkVar.jan.nijtmans2017-01-312-18/+21
|\ \ \ \ \ \ \ \ | |/ / / / / / / | | | | | | | | Minor code clean-up. No functional changes.
| * | | | | | | Update documentation on recent changes in Tcl_LinkVar.jan.nijtmans2017-01-313-37/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't use TCL_NO_DEPRECATED for disabling tests-cases: Those were not deprecated in 8.6 yet. Minor code clean-up. No functional changes.
* | | | | | | | 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-259-74/+123
| |_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | 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 [39f6304c2e90549c209cd11a7920dc9921b9f48e|39f6304c2e] follow-up: Make ↵jan.nijtmans2017-01-201-3/+4
| |\ \ \ \ \ \ | | |/ / / / / | | | | | | | | | | | | | | Tcl_LinkVar toleranto to the empty string as well
| | * | | | | Fix [39f6304c2e90549c209cd11a7920dc9921b9f48e|39f6304c2e] follow-up: Make ↵jan.nijtmans2017-01-201-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Tcl_LinkVar toleranto to the empty string as well
* | | | | | | Introduce new function TclInitThreadAlloc(), symmetric with ↵notifierjan.nijtmans2017-01-133-11/+39
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | TclFinalizeThreadAlloc()
* | | | | | | | Patch from Zoran Vasiljevic, fix for missing proper initialization of the ↵jan.nijtmans2017-01-132-3/+1
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | threaded allocator in some situations.
* | | | | | | 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-113-31/+35
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | | / | |_|_|_|_|/ |/| | | | | Do gcc-compiles with the option -Wwrite-strings, so we can detect mis-usage of "const". Make Tcl_AddErrorInfo() and Tcl_AddObjErrorInfo() a macro.
| * | | | | Merge-mark core-8-5-branch. jan.nijtmans2017-01-111-1/+0
| |\ \ \ \ \ | | |/ / / / | | | | | | Remove useless #undef.
* | | | | | 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
| |\ \ \ \ \ \ \ \ \ \