summaryrefslogtreecommitdiffstats
path: root/library/init.tcl
Commit message (Collapse)AuthorAgeFilesLines
* * library/init.tcl: Corrected unique prefix matching ofdgp2004-05-031-3/+12
| | | | interactive command completion in [unknown]. [Bug 946952]
* * library/init.tcl (auto_load, auto_import): Expanded Eric Melski'sdgp2003-09-231-16/+17
| | | | | | 2000-01-28 fix for [Bug 218871] to all potentially troubled uses of [info commands] on input data, where glob-special characters could cause problems.
* * generic/tclBasic.c: Corrected several instances of unsafedgp2003-07-181-4/+6
| | | | | | | * generic/tclCompile.c: truncation of UTF-8 strings that might * generic/tclProc.c: break apart a multi-byte character. * library/init.tcl: [Bug 760872] * tests/init.test:
* * library/init.tcl: code cleanup to reduce use ofhobbs2002-11-231-5/+5
| | | | * library/opt/optparse.tcl: string compare
* * library/auto.tcl: Converted the Mac-specific [package unknown]dgp2002-10-281-1/+12
| | | | | | * library/init.tcl: behavior to use a chaining mechanism to extend * library/package.tcl: the default [tclPkgUnknown]. [Bug 627660] * library/tclIndex: [Patch 624509] (steffen)
* [info exist]->[info exists]. [Bug 602566]dkf2002-10-031-3/+3
|
* * Corrected comments and namespace styledgp2002-06-211-48/+47
| | | | issues. Thanks to Bruce Stephens. [Bug 572025]
* * library/init.tcl: make sure env(COMSPEC) on Windows is executedhobbs2001-12-291-2/+9
| | | | with the right case, as it may otherwise fail inexplicably.
* vfs robustness fixvincentdarley2001-11-041-11/+13
|
* Changes from TIP#17 "Redo Tcl's filesystem"vincentdarley2001-07-311-1/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following files were impacted. * doc/Access.3: * doc/FileSystem.3: * doc/OpenFileChnl.3: * doc/file.n: * doc/glob.n: * generic/tcl.decls: * generic/tcl.h: * generic/tclCmdAH.c: * generic/tclCmdIL.c: * generic/tclCmdMZ.c: * generic/tclDate.c: * generic/tclDecls.h: * generic/tclEncoding.c: * generic/tclFCmd.c: * generic/tclFileName.c: * generic/tclGetDate.y: * generic/tclIO.c: * generic/tclIOCmd.c: * generic/tclIOUtil.c: * generic/tclInt.decls: * generic/tclInt.h: * generic/tclIntDecls.h: * generic/tclLoad.c: * generic/tclStubInit.c: * generic/tclTest.c: * generic/tclUtil.c: * library/init.tcl: * mac/tclMacFCmd.c: * mac/tclMacFile.c: * mac/tclMacInit.c: * mac/tclMacPort.h: * mac/tclMacResource.c: * mac/tclMacTime.c: * tests/cmdAH.test: * tests/event.test: * tests/fCmd.test: * tests/fileName.test: * tests/io.test: * tests/ioCmd.test: * tests/proc-old.test: * tests/registry.test: * tests/unixFCmd.test: * tests/winDde.test: * tests/winFCmd.test: * unix/mkLinks: * unix/tclUnixFCmd.c: * unix/tclUnixFile.c: * unix/tclUnixInit.c: * unix/tclUnixPipe.c: * win/tclWinFCmd.c: * win/tclWinFile.c: * win/tclWinInit.c: * win/tclWinPipe.c
* removed errant " charhobbs2001-05-281-2/+2
|
* Fix for Bug 420186dgp2001-05-031-4/+5
|
* Corrected behaviour of [namespace code] (bug #219385, patch #403530)Miguel Sofer2001-04-071-2/+2
|
* Modified processing of $::errorInfo by [unknown] when the auto-loaded commanddgp2001-04-061-7/+41
| | | | | throws an error to better cover the tracks of auto-loading. [Bug 219280, Patch 403551]
* 2000-12-10 Don Porter <dgp@users.sourceforge.net>dgp2000-12-111-5/+5
| | | | | | | | | | | | | | * library/init.tcl: * library/msgcat/msgcat.tcl: * library/msgcat/pkgIndex.tcl: * library/opt/optparse.tcl: * library/opt/pkgIndex.tcl: Where [uplevel] is used in a proc to evaluate a Tcl built-in command in the caller's context, the built-in commands are now fully namespace-qualified. This prevents problems when the caller context is in a namespace where the built-in command name has been used by a command in the namespace. (For example, [::ns::set] might be called instead of the intended [::set]). [Bug #119422, Patch #102545]
* * library/init.tcl: Added support for PATHEXT variable inhobbs2000-12-091-3/+9
| | | | | auto_execok, recognizing the proper set of executable extensions on Windows. [Patch #102719]
* Improved use of [uplevel] in unknown. Fixes #123217dkf2000-11-231-7/+7
|
* * library/init.tcl (auto_import): added check to see if a validhobbs2000-05-181-1/+7
| | | | pattern was coming in, to avoid simple error cases [Bug: 3326]
* * README:hobbs2000-05-031-2/+2
| | | | | | | | | | | | | | | | | | * generic/tcl.h: * library/init.tcl: * library/reg1.0/pkgIndex.tcl: * library/tcltest1.0/tcltest.tcl: * mac/README: * tools/tcl.hpj.in: * tools/tcl.wse.in: * unix/README: * unix/configure.in: * unix/tcl.spec: * win/README: * win/README.binary: * win/configure.in: * win/makefile.vc: * win/tcl.m4: updated patchlevel to 8.4a1
* * library/init.tcl: Applied patch from rfe 1734 regardingericm2000-02-011-3/+3
| | | | auto_load errors not setting error message and errorInfo properly.
* * tests/package.test:ericm2000-02-011-5/+5
| | | | | | | | | | | | | | | | | * 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/magicchar2.tcl:ericm2000-01-291-3/+9
| | | | | | | | | * tests/autoMkindex.test: Test for auto loader fix (bug #2480). * library/init.tcl: auto_load was using [info commands $name] to determine if a given command was available; if the command name had * or [] it, this would fail because info commands uses glob-style matching. This is fixed. (Bug #2480).
* * library/init.tcl (auto_execok): added 'start' to list ofhobbs2000-01-241-3/+9
| | | | recognized built-in commands for COMSPEC on NT. [Bug: 2858]
* * library/init.tcl: removed the installed binary directory fromhobbs1999-11-101-7/+5
| | | | the auto_path variable
* * library/init.tcl: updated to 8.3a1 from 8.2.0.hobbs1999-10-051-2/+2
|
* 1999-08-18 Jeff Hobbs <hobbs@scriptics.com>hobbs1999-08-191-36/+33
| | | | | | | | | | | | | * 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).
* 1999-08-09 Jeff Hobbs <hobbs@scriptics.com>hobbs1999-08-091-8/+10
| | | | | * library/init.tcl: fixed path handling in auto_execok (it could miss including the normal path on some Windows machines) [Bug: 1276]
* Changed to Tcl 8.2b1welch1999-06-251-2/+2
|
* Merged changes from scriptics-tclpro-1-3-b2 branchstanton1999-05-221-2/+12
|
* merged tcl 8.1 branch back into the main trunkstanton1999-04-161-1008/+7
|
* Fixed pkg_mkIndex when input files do "namespace import". BUG 1327welch1999-03-311-2/+2
|
* Fixed quoting bugs in auto_mkindex_parser, BUGID 1657welch1999-03-311-16/+44
|
* * library/init.tcl: Fixed auto_mkindex so it handles .tbc files.stanton1999-02-111-11/+39
| | | | | Did some general cleanup to handle bad eval statements that didn't use "list".
* * library/init.tcl: Various small changes requested by Jan Nijtmans.stanton1999-02-021-11/+14
| | | | | | | | | | | | | | | | | | - If the variable $tcl_library contains the empty string, this empty string will be put in $auto_path. This is not useful at all, it only slows down later package processing. - If the variable tcl_pkgPath is not set, the "unset __dir" fails. Thich makes init.tcl totally unusable. Better put a "catch" around it. - In the function tcl_findLibraries, the "string match" function only works correctly if $tcl_patchLevel is in one of the forms "?.?a?", "?.?b?" or "?.?.?". Could a "regexp" be used instead, then it allows anything to be appended to the patchLevel string. And it is more efficient. - The tclPkgSetup function assumes that if $type != "load" then the type must be "source". This needn't be true. Some users want to add their own setup types. [RFE: 1138] [Bug: 978]
* * library/init.tcl: Added catch around unset. [Bug: 978]stanton1999-02-021-2/+2
|
* Updated the version to 8.0.5.rjohnson1999-01-041-1/+2
|
* Fixed pkg_mkIndex tcl to deal with failed loads.welch1998-11-121-5/+27
|
* Removed lint (thanks, procheck!)welch1998-11-111-334/+319
|
* fixed bug in pkg_mkIndex that is hit when TCL_LIBRARY is a relativestanton1998-11-021-1/+7
| | | | path (e.g. in the test suite)
* Fixed declaration of errorInfo in tcl_findLibrarywelch1998-11-021-2/+2
|
* Overhaul of pkg_mkIndexwelch1998-10-301-319/+156
|
* Fixed a typo in tcl_findLibrary, and fixed the logic that ensureswelch1998-10-231-10/+28
| | | | | the parent directory of tcl_library is on the auto_path. Added a comment to init.tcl about how auto_path is initialized.
* Fixed a number of buglets in pkg_mkIndex:escoffon1998-10-171-9/+69
| | | | | | | | - on windows, use case-insensitive comparison with the shared lib extension, so that both .DLL and .dll files are loaded (.DLL were sourced) - if the glob fails, make sure we go back to the old directory - make sure we can handle packages that spread over multiple files - set auto_path in the slave consistently with ours
* Replaced SCCS strings, fixed binary filescore_8_0_3stanton1998-09-141-1/+1
|
* Nuked / from file pathswelch1998-08-071-2/+2
|
* Added tcl_findLibrarywelch1998-08-061-3/+84
|
* remove temporary variablesstanton1998-07-311-0/+6
|
* Merged changes between child workspace "/home/welch/ws/tcl8.0.3" andwelch1998-07-241-26/+393
| | | | parent workspace "/export/home/ws/tcl8.0".
* Removed changed from version 1.9surles1998-07-241-319/+52
|
* Updated core w/ Micheals latest changes.surles1998-07-241-52/+319
|