summaryrefslogtreecommitdiffstats
path: root/library/package.tcl
Commit message (Collapse)AuthorAgeFilesLines
* * library/package.tcl: Removed [file readable] testing fromdgp2008-07-031-13/+34
| | | | | | | [tclPkgUnknown] and friends. We find out soon enough whether a file is readable when we try to [source] it, and not testing before allows us to workaround the bugs on some common filesystems where [file readable] lies to us. [Patch 1969717]
* * generic/tcl.decls: Implemented TIP #268, conditionally.andreas_kupries2006-09-221-30/+78
| | | | | | | | | | | | | | | * 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:
* * library/auto.tcl: Updates to the Tcl script library to makedgp2005-07-221-18/+19
| | | | | | | | * library/history.tcl: use of Tcl 8.4 feautures. Thanks to * library/init.tcl: Patrick Fradin for prompting on this. * library/package.tcl: [Patch 1237755]. * library/safe.tcl: * library/word.tcl:
* * library/package.tcl: Fixed a typo that broke pkg_mkIndex -verbose.rmax2003-07-241-2/+2
|
* * library/package.tcl: Corrected [pkg_mkIndex] bug reported ondgp2003-07-111-3/+7
| | | | | comp.lang.tcl. The indexer was searching for newly indexed packages instead of newly provided packages.
* * doc/pkgMkIndex.n: Modified [pkg_mkIndex] to use -nocase matchingdgp2003-02-251-2/+2
| | | | | | * library/package.tcl: of -load patterns, to better accomodate common user errors due to confusion between [package names] names and [info loaded] names.
* * library/package.tcl (tclPkgUnknown): Minor performance tweaksdgp2003-02-211-13/+48
| | | | | to reduce the number of [file] invocations. Meant to improve startup times, at least a little bit. [Patch 687906]
* * library/auto.tcl: Converted the Mac-specific [package unknown]dgp2002-10-281-51/+102
| | | | | | * library/init.tcl: behavior to use a chaining mechanism to extend * library/package.tcl: the default [tclPkgUnknown]. [Bug 627660] * library/tclIndex: [Patch 624509] (steffen)
* * library/auto.tcl (tcl_findLibrary):das2002-10-221-1/+20
| | | | | | | | | | | | * library/package.tcl (tclPkgUnknown): on macosx, search inside the Resources/Scripts subdirectory of any potential package directory * macosx/Tcl.pbproj/project.pbxproj: add standard Frameworks dirs to TCL_PACKAGE_PATH make argument. * unix/tclUnixInit.c (TclpSetVariables): on macosx, add embedded framework dirs to tcl_pkgPath: @executable_path/../Frameworks and @executable_path/../PrivateFrameworks (if they exist), as well as the dirs in DYLD_FRAMEWORK_PATH (if set). [Patch #624509] use standard MAXPATHLEN instead of literal 1024
* * Fixed leak of slave interp in [pkg_mkIndex].dgp2002-05-311-2/+2
| | | | Thanks to Helmut for report. [Bug 550534]
* * Corrected documentation and usage message of [pkg_mkIndex].dgp2001-07-211-2/+2
|
* * library/package.tcl (pkg_mkIndex): Added patch from Vincedgp2001-03-141-1/+22
| | | | | Darley to make [pkg_mkIndex -verbose] even more verbose. [Bug 219349, Patch 403529]
* [glob] uses -directory instead of unsafe [file join] to stop problemsdkf2000-11-241-4/+5
| | | | with some directory names. Fixes Bug #123313 in Tcl.
* * tests/pkgMkIndex.test: Added tests for pkg_compareExtension.ericm2000-07-191-6/+23
| | | | | | | * library/package.tcl: Enhanced pkg_compareExtension to handle Unixes which tack the version number on to the end of library names (eg, foo.so.1.2); such filenames will be correctly matched. (Patch from Vince Darley).
* 2000-04-22 Jim Ingham <jingham@cygnus.com> * library/package.tcl ↵jingham2000-04-231-2/+2
| | | | (tclPkgUnknown): Fixed a typo in the Mac package search part of tclPkgUnknown.
* * library/package.tcl: Applied patch from Bug: 2570; rather thanericm2000-03-061-4/+5
| | | | | | | setting geometry of slave interp to 0x0 when Tk was loaded, it now does "wm withdraw .". Both remove the main window from the display, but the former caused some internal structures to get initialized to zero, which caused crashes with some extensions.
* * library/package.tcl (tclPkgUnknown): extended to allowhobbs2000-03-031-12/+33
| | | | | recognizes changes in the auto_path while sourcing in other pkgIndex.tcl files
* * tests/package.test:ericm2000-02-071-6/+6
| | | | | * library/tclIndex: * library/package.tcl: Renamed ::package namespace to ::pkg.
* * tests/package.test:ericm2000-02-011-22/+148
| | | | | | | | | | | | | | | | | * library/tclIndex: * library/package.tcl: Added ::package namespace and ::package::create function. * library/init.tcl: Fixed problem with auto_load and determining if commands were loaded. * library/auto.tcl: "Fixed" issues with $ in files to be auto indexed. * doc/Package.n: New man page for package::create function. * doc/pkgMkIndex.n: Added additional information. * doc/library.n: Added additional qualification regarding auto_mkindex.
* * tests/pkg/spacename.tcl:ericm2000-01-281-2/+3
| | | | | | | * tests/pkgMkIndex.test: Tests for fix for bug #2360. * library/package.tcl: Fixed to extract only the first element of the list returned by auto_qualify (bug #2360).
* * tests/pkg/samename.tcl: test file for bug #1983ericm2000-01-271-25/+25
| | | | | | | | * tests/pkgMkIndex.test: * library/package.tcl: Fixed bug #1983, dealing with pkg_mkIndex incorrectly handling situations with two procs by the same name but in different namespaces (ie, foo::baz and bar::baz).
* * tests/pkgMkIndex.test:ericm2000-01-271-33/+43
| | | | | | | | * doc/pkgMkIndex.n: * library/package.tcl: Per rfe #4097, optimized creation of direct load packages to bypass computing the list of commands added by the new package. Also made direct loading the default, and added a -lazy option.
* 1999-08-18 Jeff Hobbs <hobbs@scriptics.com>hobbs1999-08-191-18/+15
| | | | | | | | | | | | | * library/auto.tcl: * library/init.tcl: * library/ldAout.tcl: * library/package.tcl: * library/safe.tcl: * library/word.tcl: * library/http2.1/http.tcl: * library/msgcat1.0/msgcat.tcl: updated libraries to better Tcl style guide (no more string comparisons with == or !=, spacing changes).
* Resynced with mainline.rjohnson1999-04-211-1/+1
|
* fixed bug 1497 for 8.1: tclPkgUnknown should test for read privssurles1999-04-201-3/+5
|
* fixed bug 1497 for 8.1: tclPkgUnknown should test for read privssurles1999-04-201-3/+3
|
* merged tcl 8.1 branch back into the main trunkstanton1999-04-161-0/+473