summaryrefslogtreecommitdiffstats
path: root/library/auto.tcl
Commit message (Collapse)AuthorAgeFilesLines
* Correct spelling errors in comments and documentation, but also a non-comment pooryorick2023-04-121-4/+4
| | | corrections in history.tcl and tcltest.test.
* More octal -> hex usagejan.nijtmans2022-10-171-2/+2
|
* Handle the situation that ::${basename}::pkgconfig does not have ↵jan.nijtmans2021-02-091-4/+13
| | | | bindir/libdir,runtime keys: Either get those from Tcl, or from [info nameofexecutable]
* Attempt to fix the last TIP #430 bits, needed to make it work for Tk (and ↵jan.nijtmans2021-02-081-3/+3
| | | | other external packages)
* Bugfix in TIP #430 implementation: tcl_findLibrary should use the same ↵jan.nijtmans2021-02-081-4/+3
| | | | zip-file naming as the configure scripts do
* Fix "auto.tcl" indentingjan.nijtmans2021-02-081-97/+99
|
* Bugfix for TIP #587 implementation: Always use -eofchar "\032 {}" and _NOT_ ↵jan.nijtmans2021-01-151-2/+2
| | | | -eofchar \032, otherwise there's the risk that ^Z is appended too the open channel. See [5bfe3de008], we don't want to open that can of worms again!
* TIP #587 follow-up: Looks like -encoding utf-8 still was missing in some ↵jan.nijtmans2020-12-281-4/+4
| | | | places, only visible on Windows
* Now that all Tcl source files are UTF-8 by default, we can use the ©-sign ↵jan.nijtmans2020-11-231-2/+2
| | | | whenever reasonable.
* When writing script files (like pkgIndex.tcl), always use -translation lf, ↵jan.nijtmans2020-09-221-0/+4
| | | | | so they don't cause problems on non-windows. When reading script files, always use -eofchar \032, as this might be left by Windows editors.
* Change (internal) function ::auto_mkindex_parser::slavehook to ↵jan.nijtmans2020-07-151-9/+9
| | | | ::auto_mkindex_parser::childhook. Some people care ....
* Eliminating whitespace changes introduced by the prior checkinhypnotoad2018-10-011-260/+264
|
* Fixed the arguments that zipfs mount was sending in auto.tcl.hypnotoad2018-09-301-261/+260
| | | | | | | | | | | Standardized on 8 spaces instead of tab characters inside of that file. (The indent pattern was not consistent and editing the file in a modern editor was... painful.) Added logic to check the current path for a zipfile with the name of the package being loaded. This allows wish to load tcl_library from a zip file in the same directory as the executable. And in fact, any package which uses the tcl_findLibrary mechanism with get this behavior for free.
* Eliminated the need for a preinit script in Tip 430's AppHook.hypnotoad2017-11-211-0/+48
| | | | tcl_findLibrary now knows to scan the dll offered up by [info loaded] to see if an attached zipfile could possibly contain the files the extension is looking for.
* Fix [fb2208172c671f29d60e9ac928d9ded45d01d8b8|fb2208172c]: tclIndex varies ↵jan.nijtmans2017-07-171-2/+2
|\ | | | | | | across builds from auto_mkindex
| * Fix [fb2208172c671f29d60e9ac928d9ded45d01d8b8|fb2208172c]: tclIndex varies ↵jan.nijtmans2017-07-171-2/+2
| | | | | | | | across builds from auto_mkindex
| * Fix [738bc50e93]: auto_execok doesn't recognise mklink on windows. Remove ↵jan.nijtmans2015-09-301-7/+7
| | | | | | | | some unnecessary end-of-line spacing.
* | Merge dup-removal into search loop so we avoid pre-processing efforts ondgp2016-08-261-8/+3
| | | | | | data that are never used. Contributed patch from Brian Griffin.
* | [3611643] Stop polluting the global namespace.dkf2013-09-081-26/+43
| | | | | | | | Refactor the index entry generation so it is done right, once. Handle more of [namespace ensemble create]'s behavior.
* | [3611643fff]: Support TclOO in autoload mechanism.dkf2013-08-031-0/+14
| |
* | 2102614 Add ensemble indexing support to [auto_mkindex]. Thanks Brian Griffin.dgp2013-03-211-0/+9
|\ \ | |/
| * 2102614 Add ensemble indexing support to [auto_mkindex]. Thanks Brian Griffin.dgp2013-03-211-0/+9
| |
* | In the script library, selected modernizations from Patrick Fradin.dgp2013-01-301-13/+12
|\ \ | |/
| * In the script library, selected modernizations from Patrick Fradin.dgp2013-01-301-11/+12
| |
* | Fix most of the failing tests (some of which were due to breakage done to thedkf2011-03-101-1/+8
| | | | | | parser used in auto_mkIndex; never a good idea to delete the ::tcl NS!)
* | Now that we're no longer using SCM based on RCS, the RCS Keyword linesdgp2011-03-021-2/+0
|\ \ | |/ | | cause more harm than good. Purged them (except in zlib files).
| * Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-021-2/+0
| |\ | | | | | | more harm than good. Purged them.
| | * Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-011-2/+0
| | | | | | | | | more harm than good. Purged them.
| | * correction to reversed logicdgp2005-07-231-2/+2
| | |
| | * * library/auto.tcl: Updates to the Tcl script library to makedgp2005-07-221-25/+17
| | | | | | | | | | | | | | | | | | | | | | | | * 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/auto.tcl: Reverted to Revision 1.12.2.3 (Tcl 8.4.9).dgp2005-06-271-24/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | Restores the (buggy) behavior of [auto_reset] that fails to clear away auto-loaded commands from non-global namespaces. Fixing this bug exposed an unknown number of buggy files out there (including at least portions of the Tk script library) that cannot tolerate double [source]-ing. The burden of fixing these exposed bugs will not be forced on package/extension/application authors until Tcl 8.5.
| | * * library/auto.tcl: Make file safe to re-[source] withoutdgp2005-06-241-23/+23
| | | | | | | | | | | | destroying registered auto_mkindex_parser hooks.
| | * * library/auto.tcl: Make file safe to re-[source] withoutdgp2005-06-241-20/+27
| | | | | | | | | | | | destroying registered auto_mkindex_parser hooks.
| | * typodgp2005-01-271-2/+2
| | |
| | * * library/auto.tcl: Updated [auto_reset] to clear auto-loadeddgp2005-01-251-15/+16
| | | | | | | | | | | | procs in namespaces other than :: [Bug 1101670].
| | * * library/auto.tcl (tcl_findLibrary): Disabled use of [file ↵dgp2004-12-011-2/+12
| | | | | | | | | | | | normalize] that caused trouble with freewrap. [Bug 1072136].
| | * * library/auto.tcl (tcl_findLibrary): Made sure the uniquifyingdgp2004-11-261-2/+2
| | | | | | | | | | | | operations on the search path does not also normalize. [Bug 1072136]
| | * * library/auto.tcl: Updated [tcl_findLibrary] search pathdgp2004-11-161-26/+57
| | | | | | | | | | | | to include the $::auto_path. [RFE 695441].
* | | Spacing and style fixesnijtmans2010-06-141-6/+10
| | |
* | | Undo Jan's needless vandalism.dkf2009-11-191-2/+2
| | |
* | | Eliminate "then" keywordnijtmans2009-11-181-8/+8
| | |
* | | Simplify a bit further following more testingdkf2009-07-261-10/+3
| | |
* | | Use [try] to replace obscurer uses of [catch].dkf2009-07-261-131/+131
|/ /
* | * doc/ParseCmd.3, doc/Tcl.n, doc/eval.n, doc/exec.n:hobbs2006-11-031-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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]
* | * library/auto.tcl: Updates to the Tcl script library to makedgp2005-07-231-16/+12
| | | | | | | | | | | | | | | | * library/history.tcl: use of Tcl 8.4 features. Forward port of * library/init.tcl: appropriate portions of [Patch 1237755]. * library/package.tcl: * library/safe.tcl: * library/word.tcl:
* | * library/auto.tcl: Make file safe to re-[source] withoutdgp2005-06-241-23/+23
| | | | | | | | destroying registered auto_mkindex_parser hooks.
* | * library/auto.tcl: Make file safe to re-[source] withoutdgp2005-06-241-20/+27
| | | | | | | | destroying registered auto_mkindex_parser hooks.
* | Merged kennykb-numerics-branch back to the head; TIPs 132 and 232Kevin B Kenny2005-05-101-1/+1
| |
* | Added safety checksdgp2005-01-251-7/+13
| |
* | * library/auto.tcl: Updated [auto_reset] to clear auto-loadeddgp2005-01-251-12/+10
| | | | | | | | | | | | commands in namespaces other than :: and to clear auto-loaded commands that do not happen to be procs. [Bug 1101670] ***POTENTIAL INCOMPATIBILITY***