| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\
| |
| | |
more harm than good. Purged them.
|
| |
| |
| | |
more harm than good. Purged them.
|
| |
| |
| |
| | |
2005-04-22 commit.
|
| |
| |
| |
| | |
with -tmpdir arg not set to working dir.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* unix/configure.in:
* unix/tclUnixInit.c (MacOSXGetLibraryPath): changed detection
of tcl framework build when determining tclLibPath from overloaded
TCL_LIBRARY to configuration define TCL_FRAMEWORK. [Bug 1068088]
* unix/configure: autoconf-2.13
* tests/unixInit.test (7.1): fixed failure when running tests
with -tmpdir arg not set to working dir.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* tests/autoMkindex.test: revealed by -singleproc 1 -debug 1
* tests/exec.test: options to make test.
* tests/execute.test:
* tests/interp.test:
* tests/io.test:
* tests/namespace.test:
* tests/regexpComp.test:
* tests/stringComp.test:
* tests/unixInit.test:
* tests/winPipe.test:
|
| |
| |
| |
| |
| | |
Be sure to consistently compare normalized path names. Thanks to
Steven Abner (tauvan). [Bug 948177]
|
| |
| |
| |
| | |
systems is utf-8. Thanks to Steven Abner (tauvan). [Bug 928808]
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* tests/cmdMZ.test: list-quoting of path names that might
* tests/exec.test: contain Tcl-special chars like { or [.
* tests/io.test: Should help us sort out Tcl Bug 554068.
* tests/pid.test:
* tests/socket.test:
* tests/source.test:
* tests/unixInit.test:
|
| | |
|
| |
| |
| |
| |
| | |
* unix/tclUnixInit.c (TclpInitPlatform): ensure the std fds exist
to prevent crash condition [Bug #772288]
|
| |
| |
| |
| |
| |
| | |
* unix/tclUnixInit.c (TclpInitLibraryPath): Alternative fix
* win/tclWinInit.c (TclpInitLibraryPath): for [Bug 832657]
that should not run afoul of startup constraints.
|
| |
| |
| |
| |
| |
| | |
* generic/tclEncoding.c (TclFindEncodings): revert patch from
2003-11-05. It wasn't valid in the sensitive startup init phase
and broke Windows from working at all.
|
| |
| |
| |
| |
| |
| | |
of the executable before passing to TclpInitLibraryPath() to avoid
buggy handling of paths containing "..". [Bug 832657]
* tests/unixInit.test (unixInit-2.10): New test for fixed bug.
|
| | |
|
| |
| |
| |
| |
| | |
Consistent method of calling test constraints, and (try to) move constraint
setup to the top of the test file
|
| | |
|
| |
| |
| |
| | |
2004-11-11 commit.
|
| |
| |
| |
| |
| | |
* tests/encoding.test: that supported them.
* generic/tclInterp.c:
|
| |
| |
| |
| |
| | |
value of TCL_LIBRARY is required for process initialization, we skip
the tests that mess with that value.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
startup/initialization of the Tcl library, focused on the
activities of Tcl_FindExecutable().
* generic/tclIO.c: Removed bogus claim in comment that
encoding "iso8859-1" is "built-in" to Tcl.
* generic/tclInt.h: Created a new struct ProcessGlobalValue,
* generic/tclUtil.c: routines Tcl(Get|Set)ProcessGlobalValue,
and function type TclInitProcessGlobalValueProc. Together, these
take care of the housekeeping for "values" (things that can be
held in a Tcl_Obj) that are global across a whole process. That is,
they are shared among multiple threads, and epoch and mutex
protection must govern the validity of cached copies maintained
in each thread.
* generic/tclNotify.c: Modified TclInitNotifier() to tolerate
being called multiple times in the same thread.
* generic/tclEvent.c: Dropped the unused argv0 argument to
TclInitSubsystems(). Removed machinery to unsure only one
TclInitNotifier() call per thread, now that that is safe.
Converted Tcl(Get|Set)LibraryPath to use a ProcessGlobalValue,
and moved them to tclEncoding.c.
* generic/tclBasic.c: Updated caller.
* generic/tclInt.h: TclpFindExecutable now returns void.
* unix/tclUnixFile.c:
* win/tclWinFile.c:
* win/tclWinPipe.c:
* generic/tclEncoding.c: Built new encoding search initialization
on a foundation of ProcessGlobalValues, exposing new routines
Tcl(Get|Set)EncodingSearchPath. A cache of a map from encoding name
to directory pathname keeps track of where encodings are available
for loading. Tcl_FindExecutable greatly simplified into just
three function calls. The "library path" is now misnamed, as its
only remaining purpose is as a foundation for the default encoding
search path.
* generic/tclInterp.c: Inlined the initScript that is evaluated
by Tcl_Init(). Added verification after initScript evaluation
that Tcl can find its installed *.enc files, and that it has
initialized [encoding system] in agreement with what the environment
expects. [tclInit] no longer driven by the value of $::tcl_libPath;
it largely constructs its own search path now, rather than attempt
to share one with the encoding system.
* unix/tclUnixInit.c: TclpSetInitialEncodings factored so that a new
* win/tclWinInit.c: routine TclpGetEncodingNameFromEnvironment
can reveal that Tcl thinks the [encoding system] should be, even
when an incomplete encoding search path, or a missing *.enc file
won't allow that initialization to succeed. TclpInitLibraryPath
reworked as an initializer of a ProcessGlobalValue.
* unix/tclUnixTest.c: Update implementations of [testfindexecutable],
[testgetdefenc], and [testsetdefenc].
* tests/unixInit.test: Corrected tests to operate properly even
when a value of TCL_LIBRARY is required to find encodings.
* generic/tclInt.decls: New internal stubs: TclGetEncodingSearchPath,
TclSetEncodingSearchPath, TclpGetEncodingNameFromEnvironment. These
are candidates for public exposure by future TIPs.
* generic/tclIntDecls.h: make genstubs
* generic/tclStubInit.c:
* generic/tclTest.c: Updated [testencoding] to use
* tests/encoding.test: Tcl(Get|Set)EncodingSearchPath. Updated tests.
|
| |
| |
| |
| |
| |
| |
| |
| | |
* tests/unixInit.test: path used to locate init.tcl within [tclInit].
This change does not restore any directories to the encoding search
path, so should still avoid the price of an unreasonably large number
of filesystem accesses during encoding initialization at startup
[Bug 976438]
|
| |
| |
| |
| | |
bug fixing before 8.5a2 release.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* tests/fileSystem.test:
* tests/io.test:
* tests/msgcat.test:
* tests/tcltest.test:
* tests/unixInit.test: fixed bugs causing failures when running
tests with -tmpdir arg not set to working dir.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* generic/tclInterp.c (Tcl_Init): Stopped setting the
tcl_libPath variable. [tclInit] can get all its directories
without it.
* tests/unixInit.test: Modified test code that made use of
tcl_libPath variable.
* unix/tclUnixInit.c: Stopped setting the tclDefaultLibrary variable,
execept on the Mac OS X platform with HAVE_CFBUNDLE. In that configuration
we should seek some way to make use of the TIP 59 facilities and
get rid of that usage of tclDefaultLibrary as well.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* win/tclWinInit.c (TclpInitLibraryPath): relative-to-executable
directories to the library search path. A first step in reform of
Tcl's startup process.
***POTENTIAL INCOMPATIBILITY***
Attempts to directly run ./tclsh or ./tcltest out of a build
directory will either fail, or will make use of an installed
script library in preference to the one in the source tree.
Use `make shell` or `make runtest` instead.
* tests/unixInit.test: Modified tests to suit above changes.
|
| |
| |
| |
| |
| |
| | |
* tests/unixInit.test: Unset path when done.
* tests/unload.test (unload-3.1): Verify [pkgb_sub] does not exist.
Delete interps when done.
|
| |
| |
| |
| |
| | |
Be sure to consistently compare normalized path names. Thanks to
Steven Abner (tauvan). [Bug 948177]
|
| |
| |
| |
| | |
systems is utf-8. Thanks to Steven Abner (tauvan). [Bug 928808]
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* tests/cmdMZ.test: list-quoting of path names that might
* tests/exec.test: contain Tcl-special chars like { or [.
* tests/io.test: Should help us sort out Tcl Bug 554068.
* tests/pid.test:
* tests/socket.test:
* tests/source.test:
* tests/unixInit.test:
|
| | |
|
| |
| |
| |
| |
| | |
* unix/tclUnixInit.c (TclpInitPlatform): ensure the std fds exist
to prevent crash condition [Bug #772288]
|
|/
|
|
|
| |
failure of TclpInitLibraryPath() to properly handle .. in the path
of the executable.
|
| |
|
|
|
|
| |
as a valid C encoding. [Bug 575336]
|
| |
|
|
|
|
| |
in the test suite.
|
|
|
|
| |
in the working path. Thanks to Kevin Kenny.
|
| |
|
|
|
|
|
|
| |
newer HP-UX releases that properly report euc-jp as the system
encoding for Japanese. Bug report and patch verification by
Bob Techentin. [Bug 453883]
|
|
|
|
|
|
| |
inconsistency between the search path for script libraries and
the directory name $DISTNAME into which distributions built
by 'make test' unpack. [Bug 455642]
|
|
|
|
| |
to match Tcl's quirky construction of its init library path.
|
| |
|
|
|
|
| |
adding an extra constraint.
|
|
|
|
|
|
| |
installation layout, adding comments explaining why the test writes
to the directories it does, and checks to avoid destroying other
files in /tmp.
|
|
|
|
|
|
|
| |
environment where the actual bug was reported is very difficult (I've
no access to an Alpha box, and even going to a ix86-redhat-linux is
very difficult due to the way my sources are set up.) Improved the
comments in the test too.
|
|
|
|
|
|
|
|
|
|
|
|
| |
absolute pathnames in library path when executable is installed
near root directory to use correct development directory layout.
[Bug 438014]
* tests/unixInit.test (unixInit-2.9):
* unix/tclUnixInit.c (TclpInitLibraryPath):
* win/tclWinInit.c (TclpInitLibraryPath): Corrected buggy
construction of search path entries relative to executable.
Added test for bad construction. [Bug 438014]
|
|
|
|
| |
out this flaw.
|