summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* Tweak to make tests a little clearer.bug_900cb0284bcdkf2017-03-291-1/+1
|
* Correct this use of isWanted to ensure NO_IMPLEMENTATION methods are not ↵aspect2017-03-271-0/+1
| | | | listed (bug [900cb0284bc])
* Supply more C99-compatible (and MSVC) format options: '%p' for pointers, ↵jan.nijtmans2017-03-243-12/+37
| | | | | 'z'/'j'/'I' for size_t/intptr_diff, 'j'/'q' for long long. Also add "I32" froom MSVC. Remove TCL_LL_MODIFIER specified as "L" for Borland: This must be wrong as "L" is meant for long double. Just assume that later Borland compilers are MSVC-compatible.
* Add TCL_NORETURN attribute to TclpThreadExit() and Tcl_ExitThread()jan.nijtmans2017-03-243-4/+4
|
* Use portable %p modifier in "generic/tclThreadTest.c", in stead of more ↵jan.nijtmans2017-03-231-1/+1
| | | | complicated TCL_LL_MODIFIER.
* Addendum to previous commit: If compiled with TCL_NO_DEPRECATED, remove a ↵jan.nijtmans2017-03-213-0/+16
| | | | few more stub entries which are not used any more.
* If compiled with TCL_NO_DEPRECATED, remove some more stub entries which are ↵jan.nijtmans2017-03-2010-35/+83
| | | | not used any more.
* If Tcl is compiled with -DTCL_NO_DEPRECATED, make sure that ↵jan.nijtmans2017-03-174-1/+40
| | | | iPtr->(resultSpace|appendResult|appendAvl|appendUsed) are not used any more.
* redundant end-of-line spacingjan.nijtmans2017-03-153-10/+10
|\
| * redundant end-of-line spacingjan.nijtmans2017-03-154-16/+16
| |
* | Compile [clock clicks], [clock microseconds], [clock milliseconds] and ↵Kevin B Kenny2017-03-157-13/+174
|\ \ | |/ | | | | [clock seconds].
| * Compile [clock clicks], [clock microseconds], [clock milliseconds] and ↵Kevin B Kenny2017-03-157-13/+174
| | | | | | | | [clock seconds].
* | Make 'clock' and 'encoding' into compilable ensembles that play with safe ↵Kevin B Kenny2017-03-144-73/+368
|\ \ | |/ | | | | interps
| * Make 'clock' and 'encoding' into compilable ensembles that play with safe ↵kbk_clock_encoding_ensemblesKevin B Kenny2017-03-143-1/+113
| | | | | | | | interps
| * Make 'clock' and 'encoding' into proper compilable ensemblesKevin B Kenny2017-03-144-75/+258
| |
* | Eliminate internal use of ↵jan.nijtmans2017-03-137-37/+15
| | | | | | | | TclNewBooleanObj()/TclSetBooleanObj()/TclSetIntObj(). Replace Tcl_DbNewBooleanObj() with trivial macro.
* | Merge core-8-6-branchjan.nijtmans2017-03-072-2/+1
|\ \ | |/
| * Remove "makefile.bc". Not updated for many-many years, most likely it ↵jan.nijtmans2017-03-072-2/+1
| | | | | | | | doesn't work any more and it doesn't seem to care anyone. Let's see if someone complains ;-)
* | Fix for Ticket [71c0878b71] + test casesavl2017-03-051-1/+1
| |
* | ParseTokens failed to fully respect its numBytes argument.dgp2017-02-271-1/+4
|\ \ | |/
| * ParseTokens failed to fully respect its numBytes argument.dgp2017-02-271-1/+4
| |\
| | * ParseTokens failed to fully respect its numBytes argument.dgp2017-02-271-1/+4
| | |
* | | [25842c161f] Ensure that finalization of a zlib stream works.dkf2017-02-261-2/+2
|\ \ \ | |/ /
| * | zlib stream finalize calls deflate with no input - this case (and this caseaspect2017-02-111-2/+2
| | | | | | | | | | | | | | | only) must be allowed. Fixes 2nd issue in [25842c161f], introduced by [c1aff52ef3]
* | | 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-142-0/+21
| | | | | | | | | | | | | | | 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-082-13/+19
|/ / / | | | | | | | | | | | | | | | 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.
| * | 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