| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| | |
same version of the same package. Prefer the file that comes first on
the tm path. Makes TCL*_TM_PATH variables more useful. Thanks to
Gustaf Neumann for the suggestion.
|
| | |
|
| | |
|
| |\
| |/
|/| |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* library/platform/pkgIndex.tcl: Ring <uring@users.sourceforge.net>.
* library/platform/shell.tcl: Updated the LOCATE command in the
* library/tm.tcl: package 'platform::shell' to handle the new form
* unix/Makefile.in: of 'provide' commands generated by tm.tcl. Bumped
* win/Makefile.in: package to version 1.1.4. Added cross-references
to the relevant parts of the code to avoid future desynchronization.
|
| |
| |
| |
| |
| |
| | |
* doc/tm.n: Revise [tcl::tm::path add] and
* library/tm.tcl: [tcl::tm::path remove] to accept zero paths.
* tests/tm.test:
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
generated ifneeded scripts of Tcl Modules, for early detection of
conflicts between the version specified through the file name and
a 'provide' command in the module implementation, if any. Note
that this change also now allows Tcl Modules to not provide a
'provide' command at all, and declaring their version only through
their filename.
|
| |
| |
| |
| |
| |
| | |
* library/safe.tcl: Safe Base to interact nicely with each other,
* library/init.tcl: enabling requiring Tcl Modules in safe
* tests/safe.test: interpreters. Fixes [Bug 1999119].
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* library/platform/pkgIndex.tcl: Ring <uring@users.sourceforge.net>.
* library/platform/shell.tcl: Updated the LOCATE command in the
* library/tm.tcl: package 'platform::shell' to handle the new form
* unix/Makefile.in: of 'provide' commands generated by tm.tcl. Bumped
* win/Makefile.in: package to version 1.1.4. Added cross-references
to the relevant parts of the code to avoid future desynchronization.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
generated ifneeded scripts of Tcl Modules, for early detection of
conflicts between the version specified through the file name and
a 'provide' command in the module implementation, if any. Note
that this change also now allows Tcl Modules to not provide a
'provide' command at all, and declaring their version only through
their filename.
|
|/
|
|
|
|
| |
* library/safe.tcl: Safe Base to interact nicely with each other,
* library/init.tcl: enabling requiring Tcl Modules in safe
interpreters. Fixes [Bug 1999119].
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
'source -encoding utf-8'. This fixes a portability problem of
Tcl Modules pointed out by Don Porter. By using plain 'source'
we were at the mercy of 'encoding system', making modules less
portable than they could be. The exact scenario: A writes a TM
in some weird encoding which is A's system encoding, distributes
it, and somewhere else it cannot be read/used because the system
encoding is different. Forcing the use of utf-8 makes the module
portable.
***INCOMPATIBILITY*** for all Tcl Modules already written in
non-utf-8 compatible encodings.
|
| |
|
|
|
|
|
|
|
| |
environment variables. See [Bug 1914604]. Solution slightly
different than proposed in the report. Using the underscored
form TCLX_y_TM_PATH even if TCLX.y_TM_PATH exists. Also using a
loop to cut prevent code replication.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* doc/fconfigure.n, doc/interp.n, doc/unknown.n:
* library/auto.tcl, library/init.tcl, library/package.tcl:
* library/safe.tcl, library/tm.tcl, library/msgcat/msgcat.tcl:
* tests/all.tcl, tests/basic.test, tests/cmdInfo.test:
* tests/compile.test, tests/encoding.test, tests/execute.test:
* tests/fCmd.test, tests/http.test, tests/init.test:
* tests/interp.test, tests/io.test, tests/ioUtil.test:
* tests/iogt.test, tests/namespace-old.test, tests/namespace.test:
* tests/parse.test, tests/pkg.test, tests/pkgMkIndex.test:
* tests/proc.test, tests/reg.test, tests/trace.test:
* tests/upvar.test, tests/winConsole.test, tests/winFCmd.test:
* tools/tclZIC.tcl:
* generic/tclParse.c (Tcl_ParseCommand): Replace {expand} with {*}
officially (TIP #293). Leave -DALLOW_EXPAND=0|1 option to keep
{expand} syntax for transition users. [Bug 1589629]
|
|
|
|
| |
allowing '_' in module names.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclDecls.h: Regenerated from tcl.decls.
* generic/tclStubInit.c:
* doc/PkgRequire.3: Documentation of extended API,
* doc/package.n: extended testsuite.
* tests/pkg.test:
* generic/tcl.decls: Implementation.
* generic/tclBasic.c:
* generic/tclConfig.c:
* generic/tclInt.h:
* generic/tclPkg.c:
* generic/tclTest.c:
* generic/tclTomMathInterface.c:
* library/init.tcl:
* library/package.tcl:
* library/tm.tcl:
|
|
|
|
|
| |
environment variable TCLX.y_TM_PATH, bad variable reference. See
[SF Tcl Bug 1448251]. Thanks to Julian Noble.
|
|
|
|
|
| |
for [Tcl SF Bug 1189657]. Syncs the implementation to the
specification (TIP #189).
|
|
|
|
|
|
| |
* library/tclIndex: support as needed. This reduces startup
* library/tm.tcl: time by delaying this initialization to
a later time.
|
|
|
|
|
|
| |
relevant to users. [Patch 1056864]
Also patches to core to take advantage of this
Also other general cleaning up of Tcl_WrongNumArgs usage
|
|
|
|
| |
* library/tm.tcl: Even found bugs, these have been corrected.
|
|
|
|
|
|
| |
dirname] around the location of the executable. This fixes [Tcl
SF Bug 1038705]. Instable of a bogus "foo/bin/lib" we now have
the correct "foo/lib" as a base path for modules.
|
| |
|
|
(see below), instead of inlining the contents of that file. This
should beeasier to maintain, and easier to backport/install in
8.4 installations.
Note: Usage of Tcl Modules is restricted to non-safe interps. It
cannot be loaded into a safe interp.
* library/tm.tcl: New file, the v2 reference implementation for
TIP #189, Tcl Modules.
|