| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
|
|
| |
corrections in history.tcl and tcltest.test.
|
|
|
|
| |
Tcl_ListObjLength/Tcl_ListObjGetElements everywhere. This is slightly more efficient if the refered list already has the correct type
|
| |
|
|
|
|
| |
stead of Tcl_NewIntObj()
|
| |
|
|\ |
|
| |
| |
| |
| |
| | |
interp->result.
Have to ask specifically for the string rep of the value we want.
|
| |
| |
| |
| |
| | |
Tcl_PkgRequire().
We need a test for this ticket to go in the test suite.
|
| | |
|
| |
| |
| |
| |
| | |
TCL_NRAddCallback, and a test for a package require script that yields.
DGP: This checkin introduces a memleak, detected by test compExpr-7.1.
|
| |
| |
| |
| | |
Tcl_PkgRequireProc on an NRE trampoline via Tcl_NRCallObjProc. Additional
callbacks still needed to fully NRE-enable [package require].
|
| |
| |
| | |
PkgRequireCore so that TclNRAddCallback can be added at the needed spots.
|
| |
| |
| | |
TclNRPackageObjCmd.
|
| |
| |
| |
| | |
Tcl_UtfNcmp()/Tcl_UtfNcasecmp()/TclUtfCasecmp(). Backported from core-8-branch, where this was fixed already.
|
|\ \
| |/ |
|
| | |
|
|\ \
| |/
| |
| | |
available stable package.
|
| |
| |
| |
| | |
versions even when the main check fails. Avoided radical changes to the structure (kept single search loop, with selection after).
|
|\ \
| |/ |
|
|\ \
| |/
| |
| | |
space, is (marginally) faster, while still being fully up/down compatible. It makes pkgb.so loadable in "novem" without the need to change the Tcl_PkgProvide() call to Tcl_PkgProvideEx().
|
| |\
| | |
| | |
| | | |
space, is (marginally) faster, while still being fully up/down compatible. It makes pkgb.so loadable in "novem" without the need to change the Tcl_PkgProvide() call to Tcl_PkgProvideEx().
|
| | |
| | |
| | |
| | | |
space, is (marginally) faster, while still being fully up/down compatible. It makes pkgb.so loadable in "novem" without the need to change the Tcl_PkgProvide() call to Tcl_PkgProvideEx().
|
| | |
| | |
| | | |
fix compilation with -DNO_CONST
|
| | | |
|
|\ \ \
| |/ / |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
API.
|
| | |
| | |
| | | |
pipeline creation, package handling, procedures, [scan] formats)
|
| | |
| | |
| | | |
rest of Tcl source code. No ABI change. API change *should* be harmless.
|
|\ \ \
| |/ /
| | | |
cause more harm than good. Purged them (except in zlib files).
|
| |\ \
| | |/
| | | |
more harm than good. Purged them.
|
| | |
| | |
| | | |
more harm than good. Purged them.
|
| | |
| | |
| | |
| | | |
* tests/pkg.test: TCL_TIP268 sections.
|
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclPkg.c (CheckVersion): Tcl_Alloc() with calls to
* unix/tclUnixTime.c (SetTZIfNecessary): ckalloc(), which better
* win/tclAppInit.c (setargv): supports memory debugging.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When no requirements are supplied to a [package require $pkg] and
[package unknown] is invoked to find a satisfying package, pass the
requirement argument "0-" (which means all versions are
acceptable). This permits a registered [package unknown] command to
call [package vsatisfies $testVersion {*}$args] without any special
handling of the empty $args case. This fixes/avoids a bug in
[::tcl::tm::UnknownHandler] that was causing old TM versions to be
provided in preference to newer TM versions. Thanks to Julian Noble
for discovering the issue.
|
| | |
| | |
| | |
| | |
| | | |
argument version==NULL passed in. Backport of the fix for the
same problem in 8.5.
|
| | |
| | |
| | |
| | |
| | |
| | | |
return information from 'Tcl_PkgRequireProc'. Keep the
interpreter result empty. Backport of fix for problem found
while testing #268 under 8.5. More details in the comments.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclBasic.c: Define TCL_TIP268 to activate the new
* generic/tclDecls.h: features.
* generic/tclInt.h:
* generic/tclPkg.c:
* generic/tclStubInit.c:
* generic/tclTest.c:
* library/init.tcl
* library/package.tcl:
* tests/pkg.test:
* tests/platform.test:
* tests/safe.test:
* doc/PkgRequire.3:
|
| | |
| | |
| | |
| | |
| | | |
* generic/tclPkg.c (Tcl_PkgRequireEx): replace Tcl_GlobalEval(Obj)
with more efficient Tcl_Eval(Obj)Ex
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
to be even more forgiving of package version mismatch errors in
[package ifneeded] commands, not even logging any warning messages.
This further reduces the ***POTENTIAL INCOMPATIBILITY*** noted for
that change.
|
| | |
| | |
| | |
| | |
| | |
| | | |
* tests/pkg.test: to be more forgiving of package version
mismatch errors in [package ifneeded] commands. This reduces the
***POTENTIAL INCOMPATIBILITY*** noted for that change.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* tests/pkg.test: by Tcl_PkgRequire(Ex) so that the returned
values will always agree with what is stored in the package database.
This way repeated calls to Tcl_PkgRequire(Ex) have the same results.
Thanks to Hemang Lavana. [Bug 1162286].
* tests/namespace.test (25.7,8): Backport test of knownBug.
|
| | |
| | |
| | |
| | | |
backported from trunk.
|