summaryrefslogtreecommitdiffstats
path: root/win
Commit message (Collapse)AuthorAgeFilesLines
...
* * generic/tclBasic.c:dgp2004-10-061-39/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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/tclBasic.c:dgp2004-10-063-51/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Style fixesdkf2004-10-061-5/+11
| | | FossilOrigin-Name: 7389be9553bb4a4143bf27f8f1fa519e5ef86c63
* More formatting fixes...dkf2004-10-061-20/+18
| | | FossilOrigin-Name: 8331fc464426d26ae2c71cc636273bdb4f5890bd
* Style guide fixes (braces for if, etc.)dkf2004-10-061-23/+29
| | | FossilOrigin-Name: 6abe9be6e8d1285c1a3518782970c1fed0bffd00
* Put braces round if bodies...dkf2004-10-061-18/+27
| | | FossilOrigin-Name: 51b9106bd627d23da741f7127fa91ac006580978
* Add braces to if bodiesdkf2004-10-061-67/+64
| | | | | | Also simplify the SEH-code by reducing the number of #ifdef's... FossilOrigin-Name: 79590951f3c06fdca94cbe4ccab5ce0bf3fb20bf
* many more TIP 173 changeskennykb2004-09-274-9/+25
| | | FossilOrigin-Name: e64761cd12de4d157037d35fed3c2419b268fd98
* Dde package can load into a safe interp. Claim this fact for thedavygrvy2004-09-181-2/+3
| | | | | | | Tcl_StaticPackage() call when the shell is built with the TCL_USE_STATIC_PACKAGES option. FossilOrigin-Name: 1ce80d39e0a833a42cecc4dfa97c89962ae38b36
* Calls to WriteFile and WriteConsoleA changed to WriteConsole.davygrvy2004-09-101-10/+9
| | | FossilOrigin-Name: 9eca8d271e2b4f697cd616723684e7e06ad0de0b
* some quoting needed to be removed as it was breaking with VC7.davygrvy2004-09-081-4/+4
| | | FossilOrigin-Name: 5643b8dae9ce126f14adad3dd9cc6072c6a1da84
* * generic/tclTimer.c: Removed a premature optimisation thatkennykb2004-09-071-1/+7
| | | | | | | | | | | | | | | | | | | | | | | 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
* clock.tcl installationvincentdarley2004-09-021-1/+2
| | | FossilOrigin-Name: aec8605a7bf2a7b7b54e500ad8a8546a10caa775
* * win/tclWin32Dll.c (TclWinCPUID): need _asm for WIN64 (Itanium),hobbs2004-09-011-3/+3
| | | | | | until we have it, just return unknown. [Bug 1020445] FossilOrigin-Name: a8677f610a206f095cb8aace5f74daa07e87812c
* WIN64 correctionshobbs2004-09-012-9/+17
| | | FossilOrigin-Name: 1e2c2edfd32dedfbc8819a5f3eead4195290dfa8
* * doc/tm.n: New file, documentation for Tcl Modules, based on theandreas_kupries2004-08-191-1/+2
| | | | | | | | | TIP. * unix/mkLinks: Regenerated. * win/makefile.vc: Added tm.tcl to list of files to install. FossilOrigin-Name: 3de8eca68bb6b9e4c0f1048810805c5b410fa19f
* unbreak Win build after TIP#173 and TIP#209 commitkennykb2004-08-182-4/+27
| | | FossilOrigin-Name: b01aea85244b63a3eb4a18aca4e19b46b49be177
* * generic/tclEvent.c: Correct threaded obj allocator tohobbs2004-07-211-7/+28
| | | | | | | | | * 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
* * unix/Makefile.in:das2004-07-201-1/+22
| | | | | | | | | | * 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
* Redefined MASTER_LOCK in win/tclWinThrd.c to call TclpMasterLock for thevasiljevic2004-07-191-4/+6
| | | | | | sake of Tcl API users never creating Tcl interpreters. FossilOrigin-Name: 04bcb3edbe0acef58f28bdb3a6ce750797d2c4a8
* Silenced a compiler warning about a type mismatch in AppendEnvironmentkennykb2004-07-081-2/+2
| | | FossilOrigin-Name: 6d6ee42226a2b0930358e74ae53c7be1e5c47f42
* Whitespace fixingdkf2004-07-081-38/+37
| | | FossilOrigin-Name: 000f91b606962c3971510e3262964f2086bb63d9
* Fix warningdkf2004-07-011-2/+2
| | | FossilOrigin-Name: 48d8c377f5e7a20e7e898ca58b5edaeef7df3f95
* Fix missed references to 8.4, spotted by Theo Verelst.dkf2004-07-012-6/+6
| | | FossilOrigin-Name: 152efc3ad3b02cef07fa6ec1724f1fa770441c9f
* fix to trailing slash documentation and to a filesystem 'file join' bug on ↵vincentdarley2004-06-301-35/+91
| | | | | windows FossilOrigin-Name: 3753a9000e4732a5ac7b59b0257c3f8509bc7142
* * win/tclWinInit.c: Corrected reference counting flaw indgp2004-06-291-2/+2
| | | | | | recent changes. Thanks to Pat Thoyts. [Bug 981893]. FossilOrigin-Name: 10db641414be0f01b6ec63a6c047daf1c726df7e
* fix to compilation error with VC++ 5.2vincentdarley2004-06-291-2/+10
| | | FossilOrigin-Name: 47ebcf3c8a198a97fe57fc9338faecad45505118
* Version 5 of [Patch 976496]mistachkin2004-06-245-3/+24
| | | FossilOrigin-Name: 6d178830b81c01d342d2ce36817551611136302b
* * win/makefile.vc: fix for bug #977369 about launching tclsh topatthoyts2004-06-231-2/+4
| | | | | | generate a tclConfig.sh with the nmake build system FossilOrigin-Name: 30a13c52a1875bafe1963be58c8324eacbdcf0f0
* Integrated fix for Tcl Bug #770053 from core-8-4-branchvasiljevic2004-06-221-3/+3
| | | FossilOrigin-Name: 9f739d40a187e9be66766e7e26473e8247fe608d
* * win/tclWin32Dll.c (DllMain, _except_dllmain_detach_handler,mdejong2004-06-213-42/+223
| | | | | | | | | | | | | | | | | 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
* Fix tclWinInit.c for KBK, adding comments as I go. :^)dkf2004-06-181-12/+27
| | | FossilOrigin-Name: 74fa673878de6f4f899dab53312eaa960b522914
* Relaxed panic condition on overwrite of default library path to acceptdgp2004-06-171-6/+15
| | | | | | | double right of the same value. Needed to support Tk_Main's call order (Tcl_CreateInterp before Tcl_FindExecutable). FossilOrigin-Name: 5743d098fd140b3d689f612f089f1522bfe5f1d9
* Remove debugging panicdgp2004-06-171-2/+5
| | | FossilOrigin-Name: b583fd72e781cedfd2d4661641fdfd771a63c4a4
* Added missing incr ref count. D'oh!dgp2004-06-171-1/+2
| | | FossilOrigin-Name: d422046c68477d2e417efa6fd08df9c915f61b0a
* Better panic message for diagnosis.dgp2004-06-171-1/+2
| | | FossilOrigin-Name: 1f6581253a770c6d553e6687ceea88f672f41a34
* silence compiler warningdgp2004-06-171-2/+2
| | | FossilOrigin-Name: 32b8d9350eb9194b44544f516334a2eb98b11460
* more compiler fixesdgp2004-06-171-4/+2
| | | FossilOrigin-Name: da08cdfb3dee31bf92e63d970fc318294e5e638a
* correct compile errorsdgp2004-06-171-3/+4
| | | FossilOrigin-Name: d732290f827e712e71b98c45b6f3b97b0a87c845
* * win/tclWinInit.c: Inform [tclInit] about the default librarydgp2004-06-171-4/+133
| | | | | | | | 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
* * win/Makefile.in: Corrected compilation flags for tclPkgConfig.ckennykb2004-06-141-3/+3
| | | | | | | | | 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
* * unix/tclUnixInit.c: The routines Tcl_Init() and TclSourceRCFile()dgp2004-06-112-113/+1
| | | | | | | | | | | | * 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
* * unix/configure.in: Updated TCL_PACKAGE_PATH value todgp2004-06-112-3/+3
| | | | | | | | | | | | | | * 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
* * win/tclAppInit.c: Restored the 'setargv' procedure when kennykb2004-06-111-1/+126
| | | | | | | | | 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
* * unix/tclUnixInit.c (TclpInitLibraryPath): Disabled addition ofdgp2004-06-101-2/+2
| | | | | | | | | | | | | | | | * 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
* * generic/tcl.h: Corrected Tcl_WideInt declarations so that the mingw kennykb2004-06-053-5/+246
| | | | | | | | | | | | | | | | | | | | | | 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
* * win/tclWinFile.c (TclpFindExecutable): when usinghobbs2004-06-021-4/+6
| | | | | | | GetModuleFileNameA (Win9x), convert from CP_ACP to WCHAR then convert back to utf8. Adjunct to 2004-04-07 fix. FossilOrigin-Name: bb41e6ffe58fc40f18511c7000c13c3e649998fb
* * win/makefile.vc: check for either MSDEVDIR or MSVCDIR being indavygrvy2004-06-011-2/+2
| | | | | | the environment, for VC7. [Bug 942214] FossilOrigin-Name: e7b0eec831a56dadeaff5d43fde4539aeadbc747
* * win/tclWinPipe.c:davygrvy2004-05-302-46/+70
| | | | | | | | | | | * 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
* * win/tclWinFile.c (TclpMatchInDirectory): fix for an issue kennykb2004-05-191-2/+3
| | | | | | | | | | | 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