| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclBinary.c:
* generic/tclCmdAH.c:
* generic/tclCmdIL.c:
* generic/tclCmdMZ.c:
* generic/tclCompExpr.c:
* generic/tclDictObj.c:
* generic/tclEncoding.c:
* generic/tclExecute.c:
* generic/tclFCmd.c:
* generic/tclHistory.c:
* generic/tclIndexObj.c:
* generic/tclInterp.c:
* generic/tclIO.c:
* generic/tclIOCmd.c:
* generic/tclNamesp.c:
* generic/tclObj.c:
* generic/tclPkg.c:
* generic/tclResult.c:
* generic/tclScan.c:
* generic/tclTimer.c:
* generic/tclTrace.c:
* generic/tclUtil.c:
* generic/tclVar.c:
* unix/tclUnixFCmd.c:
* unix/tclUnixPipe.c:
* win/tclWinDde.c:
* win/tclWinFCmd.c:
* win/tclWinPipe.c:
* win/tclWinReg.c:
It is a poor practice to directly set or append to the value
of the objResult of an interp, because that value might be
shared, and in that circumstance a Tcl_Panic() will be the
result. Searched for example of this practice and replaced
with safer alternatives, often using the Tcl_AppendResult()
routine that dkf just rehabilitated.
* library/dde/pkgIndex.tcl: Bump to dde 1.3.1
* library/reg/pkgIndex.tcl: Bump to registry 1.1.5
FossilOrigin-Name: be0a51bf83d10afe244073070ec115e0968c7a19
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclBinary.c:
* generic/tclCmdAH.c:
* generic/tclCmdIL.c:
* generic/tclCmdMZ.c:
* generic/tclCompExpr.c:
* generic/tclDictObj.c:
* generic/tclEncoding.c:
* generic/tclExecute.c:
* generic/tclFCmd.c:
* generic/tclHistory.c:
* generic/tclIndexObj.c:
* generic/tclInterp.c:
* generic/tclIO.c:
* generic/tclIOCmd.c:
* generic/tclNamesp.c:
* generic/tclObj.c:
* generic/tclPkg.c:
* generic/tclResult.c:
* generic/tclScan.c:
* generic/tclTimer.c:
* generic/tclTrace.c:
* generic/tclUtil.c:
* generic/tclVar.c:
* unix/tclUnixFCmd.c:
* unix/tclUnixPipe.c:
* win/tclWinDde.c:
* win/tclWinFCmd.c:
* win/tclWinPipe.c:
It is a poor practice to directly set or append to the value
of the objResult of an interp, because that value might be
shared, and in that circumstance a Tcl_Panic() will be the
result. Searched for example of this practice and replaced
with safer alternatives, often using the Tcl_AppendResult()
routine that dkf just rehabilitated.
* library/dde/pkgIndex.tcl: Bump to dde 1.3.1
FossilOrigin-Name: 49653405fd32fec18c5e3345b2d6cd4701a267ac
|
|
|
| |
FossilOrigin-Name: 7389be9553bb4a4143bf27f8f1fa519e5ef86c63
|
|
|
| |
FossilOrigin-Name: 8331fc464426d26ae2c71cc636273bdb4f5890bd
|
|
|
| |
FossilOrigin-Name: 6abe9be6e8d1285c1a3518782970c1fed0bffd00
|
|
|
| |
FossilOrigin-Name: 51b9106bd627d23da741f7127fa91ac006580978
|
|
|
|
|
|
| |
Also simplify the SEH-code by reducing the number of #ifdef's...
FossilOrigin-Name: 79590951f3c06fdca94cbe4ccab5ce0bf3fb20bf
|
|
|
| |
FossilOrigin-Name: e64761cd12de4d157037d35fed3c2419b268fd98
|
|
|
|
|
|
|
| |
Tcl_StaticPackage() call when the shell is built with the TCL_USE_STATIC_PACKAGES
option.
FossilOrigin-Name: 1ce80d39e0a833a42cecc4dfa97c89962ae38b36
|
|
|
| |
FossilOrigin-Name: 9eca8d271e2b4f697cd616723684e7e06ad0de0b
|
|
|
| |
FossilOrigin-Name: 5643b8dae9ce126f14adad3dd9cc6072c6a1da84
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
attempted to store the assoc data in the client data; the
optimisation caused a bug that [after] would overwrite
its imports. [Bug 1016167]
* library/clock.tcl (InitTZData, ClearCaches): Changed so that the
in-memory time zone :UTC (and its aliases) always gets
reinitialised, in case tzdata is absent. [Bug 1019537, 1023779]
* library/tzdata/*: Regenerated.
* tests/clock.test (clock-31.*, clock-39.1): Corrected a problem
where the 'system' locale tests fail on a non-English Windows
machine. [Bug 1023761]. Added a test to make sure that alias
time zones load correctly. [Bug 1023779].
* tools/tclZIC.tcl (writeLinks): Corrected a problem where
alias time zone names were written incorrectly, causing them
to fail to load at run time. [Bug 1023779].
* win/tclWinTime.c (Tcl_GetTime): Eliminated CPUID tests on
Win64 - assuming that HAL vendors now do a better job of
keeping the performance counters synchronized among CPU's.
[Bug 1020445]
FossilOrigin-Name: 58fb9afc4421cc6c54f32bf4ab254ee7c2f7f439
|
|
|
| |
FossilOrigin-Name: aec8605a7bf2a7b7b54e500ad8a8546a10caa775
|
|
|
|
|
|
| |
until we have it, just return unknown. [Bug 1020445]
FossilOrigin-Name: a8677f610a206f095cb8aace5f74daa07e87812c
|
|
|
| |
FossilOrigin-Name: 1e2c2edfd32dedfbc8819a5f3eead4195290dfa8
|
|
|
|
|
|
|
|
|
| |
TIP.
* unix/mkLinks: Regenerated.
* win/makefile.vc: Added tm.tcl to list of files to install.
FossilOrigin-Name: 3de8eca68bb6b9e4c0f1048810805c5b410fa19f
|
|
|
| |
FossilOrigin-Name: b01aea85244b63a3eb4a18aca4e19b46b49be177
|
|
|
|
|
|
|
|
|
| |
* generic/tclInt.h: fully cleanup on exit and allow for
* generic/tclThreadAlloc.c: reinitialization. [Bug #736426]
* unix/tclUnixThrd.c: (mistachkin, kenny)
* win/tclWinThrd.c:
FossilOrigin-Name: 8a65a2464880b4541e914f40481de38341ba56df
|
|
|
|
|
|
|
|
|
|
| |
* win/Makefile.in: added 'install-private-headers' makefile target
to allow optionally installing private tcl headers. [FR 922727]
* macosx/Makefile: use new 'install-private-headers' target
to install private headers into framework. [FR 922727]
FossilOrigin-Name: 542b0bd9ec1851f94490ce732f39b195caf085af
|
|
|
|
|
|
| |
sake of Tcl API users never creating Tcl interpreters.
FossilOrigin-Name: 04bcb3edbe0acef58f28bdb3a6ce750797d2c4a8
|
|
|
| |
FossilOrigin-Name: 6d6ee42226a2b0930358e74ae53c7be1e5c47f42
|
|
|
| |
FossilOrigin-Name: 000f91b606962c3971510e3262964f2086bb63d9
|
|
|
| |
FossilOrigin-Name: 48d8c377f5e7a20e7e898ca58b5edaeef7df3f95
|
|
|
| |
FossilOrigin-Name: 152efc3ad3b02cef07fa6ec1724f1fa770441c9f
|
|
|
|
|
| |
windows
FossilOrigin-Name: 3753a9000e4732a5ac7b59b0257c3f8509bc7142
|
|
|
|
|
|
| |
recent changes. Thanks to Pat Thoyts. [Bug 981893].
FossilOrigin-Name: 10db641414be0f01b6ec63a6c047daf1c726df7e
|
|
|
| |
FossilOrigin-Name: 47ebcf3c8a198a97fe57fc9338faecad45505118
|
|
|
| |
FossilOrigin-Name: 6d178830b81c01d342d2ce36817551611136302b
|
|
|
|
|
|
| |
generate a tclConfig.sh with the nmake build system
FossilOrigin-Name: 30a13c52a1875bafe1963be58c8324eacbdcf0f0
|
|
|
| |
FossilOrigin-Name: 9f739d40a187e9be66766e7e26473e8247fe608d
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
TclpCheckStackSpace, _except_checkstackspace_handler,
TclWinCPUID, _except_TclWinCPUID_detach_handler):
* win/tclWinChan.c (Tcl_MakeFileChannel,
_except_makefilechannel_handler):
* win/tclWinFCmd.c (DoRenameFile,
_except_dorenamefile_handler, DoCopyFile,
_except_docopyfile_handler):
Rework pushing of exception handler function pointer
so that compiling with gcc -O3 works. Remove empty
function call to avoid compiler warning. Mark the
DllMain function as noinline to avoid compiler
error from duplicated asm labels in generated code.
FossilOrigin-Name: c06e682eb392fff12089f71ff8551965f67b6cbf
|
|
|
| |
FossilOrigin-Name: 74fa673878de6f4f899dab53312eaa960b522914
|
|
|
|
|
|
|
| |
double right of the same value. Needed to support Tk_Main's call
order (Tcl_CreateInterp before Tcl_FindExecutable).
FossilOrigin-Name: 5743d098fd140b3d689f612f089f1522bfe5f1d9
|
|
|
| |
FossilOrigin-Name: b583fd72e781cedfd2d4661641fdfd771a63c4a4
|
|
|
| |
FossilOrigin-Name: d422046c68477d2e417efa6fd08df9c915f61b0a
|
|
|
| |
FossilOrigin-Name: 1f6581253a770c6d553e6687ceea88f672f41a34
|
|
|
| |
FossilOrigin-Name: 32b8d9350eb9194b44544f516334a2eb98b11460
|
|
|
| |
FossilOrigin-Name: da08cdfb3dee31bf92e63d970fc318294e5e638a
|
|
|
| |
FossilOrigin-Name: d732290f827e712e71b98c45b6f3b97b0a87c845
|
|
|
|
|
|
|
|
| |
directory via the ::tclDefaultLibrary variable. This should correct
a problem with my 2004-06-11 commit. Better solutions still in the
works. Thanks to Joe Mistachkin for pointing out the breakage.
FossilOrigin-Name: c28ec08e9c0b442eae67641f6902c6f6efdf9ddf
|
|
|
|
|
|
|
|
|
| |
so that it doesn't require Stubs.
* generic/tclBasic.c (Tcl_CreateInterp): Removed comment stating
that TclInitEmbeddedConfigurationInformation needs Stubs; with the
change above, the comment is now erroneous.
FossilOrigin-Name: 8049481eef5a7b25506b3f87daf45b509c62ea95
|
|
|
|
|
|
|
|
|
|
|
|
| |
* win/tclWinInit.c: had identical implementations for both win and
* generic/tclInterp.c: unix. Moved to a single generic implementation.
* generic/tclMain.c:
* library/init.tcl:
* generic/tclInitScript.h (removed):
* unix/Makefile.in:
* win/tcl.dsp:
FossilOrigin-Name: 406f195e757db44b10d9e08b7b4d9d0da5a71574
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* win/configure.in: handle --libdir configuration.
* unix/configure.in: autoconf-2.57
* win/configure.in:
* generic/tclBasic.c (Tcl_CreateInterp): Moved call to
TclInitEmbeddedConfigurationInformation() earlier in
Tcl_CreateInterp() so that other parts of interp creation
and initialization may access and use the config values.
FossilOrigin-Name: 6d6bef09e7b8056f9245a7fa477167ca9aadce83
|
|
|
|
|
|
|
|
|
| |
compiling with mingw. Apparently, the command line parsing in
mingw doesn't work as well as that in vc++, and the result was
(1) that winPipe-8.19 failed, and (2) that 'make test' would
work at all only with TESTFLAGS='-singleproc 1'. [Bug 967195]
FossilOrigin-Name: f0cb3345b4040a71ce3b062f118c357363e820e2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
FossilOrigin-Name: 7b183335bf901be601100f31ad9a79fdbec91e99
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
build works again.
* generic/tclDecls.h: Changes to the tests for
* generic/tclInt.decls: clock frequency in
* generic/tclIntDecls.h: Tcl_WinTime
* generic/tclIntPlatDecls.h: so that any clock frequency
* generic/tclPlatDecls.h: is accepted provided that
* generic/tclStubInit.c: all CPU's in the system share
* tests/platform.test (platform-1.3): a common chip, and hence,
* win/tclWin32Dll.c (TclWinCPUID): presumably, a common clock.
* win/tclWinTest.c (TestwincpuidCmd) This change necessitated a
* win/tclWinTime.c (Tcl_GetTime): small burst of assembly code
to read CPU ID information, which was added as TclWinCPUID in the
internal Stubs. To test this code in the common case of a
single-processor machine, a 'testwincpuid' command was added to
tclWinTest.c, and a test case in platform.test. Thanks to Jeff
Godfrey and Richard Suchenwirth for reporting this bug. [Bug
#976722]
FossilOrigin-Name: ac070357cfc92bba541d74fda91796cb2ea52143
|
|
|
|
|
|
|
| |
GetModuleFileNameA (Win9x), convert from CP_ACP to WCHAR then
convert back to utf8. Adjunct to 2004-04-07 fix.
FossilOrigin-Name: bb41e6ffe58fc40f18511c7000c13c3e649998fb
|
|
|
|
|
|
| |
the environment, for VC7. [Bug 942214]
FossilOrigin-Name: e7b0eec831a56dadeaff5d43fde4539aeadbc747
|
|
|
|
|
|
|
|
|
|
|
| |
* win/tclWinPort.h: Reworked the win implementation of
Tcl_WaitPid to support exitcodes in the 'signed short' range.
Even though this range is non-portable, it is valid on windows.
Detection of exception codes are now more accurate. Previously,
an application that exited with ExitProcess((DWORD)-1); was
improperly reported as exiting with SIGABRT.
FossilOrigin-Name: b3a0f7ea3dbac74eaca885e494840140edeb6f06
|
|
|
|
|
|
|
|
|
|
|
| |
where there was a sneak path from Tcl_DStringFree to
SetErrorCode(0). The result was that the error code could
be reset between a call to FindFirstFileEx and the check
of its status return, leading to a bizarre error return of
{POSIX unknown {No error}}. (Found in unplanned test -
no incident logged at SourceForge.)
FossilOrigin-Name: a23d7c7c131d5fee650e7c5623c506520d16acfb
|