summaryrefslogtreecommitdiffstats
path: root/generic/tclPkg.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge 8.7jan.nijtmans2020-10-021-2/+2
|\
| * Fix -Wshadow warnings, when compiling with a C++ compilerjan.nijtmans2020-10-021-2/+2
| |
* | Merge 8.7jan.nijtmans2020-09-281-1/+1
|\ \ | |/
| * Merge 8.6jan.nijtmans2020-09-281-1/+1
| |\
| | * Make Tcl compile warning-free using -Wshadowjan.nijtmans2020-09-281-2/+3
| | |
| | * end-of-line spacingjan.nijtmans2019-05-241-1/+1
| | |\
* | | \ Merge 8.7jan.nijtmans2020-09-171-4/+5
|\ \ \ \ | |/ / /
| * | | Eliminate many usages of Tcl_NewObj (-> TclNewObj) and Tcl_NewIntObj (-> ↵jan.nijtmans2020-09-171-4/+5
| | | | | | | | | | | | | | | | TclNewIntObj or Tcl_NewWideIntObj)
* | | | Merge 8.7jan.nijtmans2020-08-131-1/+2
|\ \ \ \ | |/ / /
| * | | More usage of TclNewIntObj() macrojan.nijtmans2020-08-131-1/+2
| | | |
* | | | merge 8.7dgp2020-03-171-1/+0
|\ \ \ \ | |/ / /
| * | | TIP 569 - remove lint commentsdgp2020-03-171-1/+0
| | | |
* | | | Merge 8.7jan.nijtmans2020-03-091-22/+10
|\ \ \ \ | |/ / /
| * | | More TCL_UNUSED.dgp2020-03-081-22/+10
| | | |
* | | | Merge 8.7jan.nijtmans2020-02-281-48/+60
|\ \ \ \ | |/ / /
| * | | Mark more unused parametersjan.nijtmans2019-09-031-3/+15
| | | |
| * | | Merge tip-548 (since using the *WChar* functions leads to less type-casts in ↵jan.nijtmans2019-08-031-2/+2
| |\ \ \ | | | | | | | | | | | | | | | | | | | | c++) Als finish implementaton for MacOSX
| * | | | Merge 8.7, and continue implementation. Almost donejan.nijtmans2019-07-101-45/+45
| | | | |
* | | | | Merge 8.7jan.nijtmans2019-07-241-3/+3
|\ \ \ \ \ | | |/ / / | |/| | |
| * | | | Eliminate the use of C++ keywords as variable names. Nothing more than ↵jan.nijtmans2019-07-231-3/+3
| |/ / / | | | | | | | | | | | | rename the variables in something else.
* | | | merge 8.7dkf2019-04-191-101/+218
|\ \ \ \ | |/ / /
| * | | Style corrections and warning eliminationdkf2019-04-181-101/+217
| | | |
* | | | Code cleanup: Remove unneeded #undef's, and unneeded inclused. No change in ↵jan.nijtmans2019-03-241-3/+3
| | | | | | | | | | | | | | | | functionality.
* | | | merge 8.7dgp2019-03-081-20/+18
|\ \ \ \ | |/ / /
| * | | merge 8.6dgp2019-03-081-20/+18
| |\ \ \ | | |/ /
| | * | In the 8.6.* releases, Tcl_GetStringResult() still passes through ↵dgp2019-03-071-2/+2
| | | | | | | | | | | | | | | | | | | | interp->result. Have to ask specifically for the string rep of the value we want.
| | * | [39fed4dae5] Minimal fix for volatile lifetime of string returned bydgp2019-03-061-18/+16
| | | | | | | | | | | | | | | | | | | | Tcl_PkgRequire(). We need a test for this ticket to go in the test suite.
| * | | More use of (efficient) TclHasIntRep() macro. Also eliminate many (size_t) ↵jan.nijtmans2019-02-271-4/+4
| | | | | | | | | | | | | | | | and (unsigned) type-casts, which don't make sense any more.
* | | | Another (big) round of int -> size_t enhancements. So Tcl can handle string ↵jan.nijtmans2019-02-011-1/+1
|\ \ \ \ | |/ / / | | | | | | | | >2GiB in more places.
* | | | Another round of int -> size_t modifications, so strings > 2Gb are handled ↵jan.nijtmans2019-01-241-1/+2
| | | | | | | | | | | | | | | | correctly on 64-bit platforms.
* | | | Merge 8.7jan.nijtmans2018-12-111-6/+7
|\ \ \ \ | |/ / / | | | | | | | | In test-cases, don't load Tcltest package if it isn't actually used. Another round of size_t related improvements. Nothing functional. Also improve some comments.
* | | | Change ckalloc and friends to Tcl_Alloc and friends. Add two defines, ↵jan.nijtmans2018-09-011-55/+55
| | | | | | | | | | | | | | | | TCL_IO_FAILURE and TCL_NO_LENGTH (experimental, still open to be renamed following discussion)
* | | | Merge 8.7jan.nijtmans2018-08-021-1/+1
|\ \ \ \ | |/ / /
| * | | Purge end-of-line spacingjan.nijtmans2018-08-021-1/+1
| | | |
* | | | merge 8.7dgp2018-03-111-1/+0
|\ \ \ \ | |/ / /
| * | | merge 8.6dgp2018-03-111-1/+0
| |\ \ \ | | |/ /
| | * | plug memleak of constructed package requirement.dgp2018-03-111-1/+0
| | | |
| | * | Add remaining wrapper to the NR functions, remaining calls to pooryorick2018-02-121-150/+258
| | | | | | | | | | | | | | | | | | | | TCL_NRAddCallback, and a test for a package require script that yields. DGP: This checkin introduces a memleak, detected by test compExpr-7.1.
| | * | Adapt signature of PkgRequireCore to conform to Tcl_ObjCmdProc, and call it inpooryorick2018-02-121-35/+48
| | | | | | | | | | | | | | | | Tcl_PkgRequireProc on an NRE trampoline via Tcl_NRCallObjProc. Additional callbacks still needed to fully NRE-enable [package require].
| | * | Preparation to provide TclNRPackageObjectCmd: Eliminate the loop inpooryorick2018-02-121-262/+263
| | | | | | | | | | | | PkgRequireCore so that TclNRAddCallback can be added at the needed spots.
| | * | Change the signature of PkgRequireCore in preparation to providepooryorick2018-02-111-22/+21
| | | | | | | | | | | | TclNRPackageObjCmd.
| | * | Fix handling of surrogates (when TCL_UTF_MAX > 3) in ↵jan.nijtmans2017-12-281-3/+3
| | | | | | | | | | | | | | | | Tcl_UtfNcmp()/Tcl_UtfNcasecmp()/TclUtfCasecmp(). Backported from core-8-branch, where this was fixed already.
* | | | Merge 8.7jan.nijtmans2018-03-071-10/+12
|\ \ \ \ | |/ / /
| * | | Fix handling of "pkgIndex" file in "package files" command. This was broken ↵jan.nijtmans2018-03-071-14/+11
| | | | | | | | | | | | | | | | as well, as result of NRE-enabling the "package" command.
| * | | Fix the "package files" command. Due to the NRE enabling of "package" it ↵jan.nijtmans2018-03-061-10/+15
| | | | | | | | | | | | | | | | always started to return an empty list.
* | | | merge core-8-branchjan.nijtmans2018-02-061-298/+422
|\ \ \ \ | |/ / /
| * | | Add remaining wrapper to the NR functions, remaining calls topooryorick2018-02-061-163/+273
| | | | | | | | | | | | TCL_NRAddCallback, and a test for a package require script that yields.
| * | | Fix segmentation fault triggered by test package-3.12. Adapt signature ofpooryorick2018-01-311-35/+48
| | | | | | | | | | | | | | | | | | | | PkgRequireCore to conform to Tcl_ObjCmdProc, and call it in Tcl_PkgRequireProc on an NRE trampoline via Tcl_NRCallObjProc. Additional callbacks still needed to fully NRE-enable [package require].
| * | | Preparation to provide TclNRPackageObjectCmd: Eliminate the loop in pooryorick2018-01-281-276/+277
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PkgRequireCore so that TclNRAddCallback can be added at the needed spots. This checkin creates a crash in test package-3.12 . Pushing the work off the 8.7.* branch and onto a feature branch for now.
* | | | merge core-8-branchjan.nijtmans2018-01-291-22/+21
|\ \ \ \ | |/ / /