summaryrefslogtreecommitdiffstats
path: root/win
Commit message (Collapse)AuthorAgeFilesLines
* corrected botched logic in GetValueNamesdgp2004-10-071-5/+5
|
* typo fixdgp2004-10-071-2/+2
|
* * 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
* * 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
* Style fixesdkf2004-10-061-5/+11
|
* More formatting fixes...dkf2004-10-061-20/+18
|
* Style guide fixes (braces for if, etc.)dkf2004-10-061-23/+29
|
* Put braces round if bodies...dkf2004-10-061-18/+27
|
* Add braces to if bodiesdkf2004-10-061-67/+64
| | | | Also simplify the SEH-code by reducing the number of #ifdef's...
* many more TIP 173 changesKevin B Kenny2004-09-274-9/+25
|
* 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.
* Calls to WriteFile and WriteConsoleA changed to WriteConsole.davygrvy2004-09-101-10/+9
|
* some quoting needed to be removed as it was breaking with VC7.davygrvy2004-09-081-4/+4
|
* * generic/tclTimer.c: Removed a premature optimisation thatKevin B Kenny2004-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]
* clock.tcl installationvincentdarley2004-09-021-1/+2
|
* * win/tclWin32Dll.c (TclWinCPUID): need _asm for WIN64 (Itanium),hobbs2004-09-011-3/+3
| | | | until we have it, just return unknown. [Bug 1020445]
* WIN64 correctionshobbs2004-09-012-9/+17
|
* * 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.
* unbreak Win build after TIP#173 and TIP#209 commitKevin B Kenny2004-08-182-4/+27
|
* * 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:
* * 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]
* 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.
* Silenced a compiler warning about a type mismatch in AppendEnvironmentKevin B Kenny2004-07-081-2/+2
|
* Whitespace fixingdkf2004-07-081-38/+37
|
* Fix warningdkf2004-07-011-2/+2
|
* Fix missed references to 8.4, spotted by Theo Verelst.dkf2004-07-012-6/+6
|
* fix to trailing slash documentation and to a filesystem 'file join' bug on ↵vincentdarley2004-06-301-35/+91
| | | | windows
* * win/tclWinInit.c: Corrected reference counting flaw indgp2004-06-291-2/+2
| | | | recent changes. Thanks to Pat Thoyts. [Bug 981893].
* fix to compilation error with VC++ 5.2vincentdarley2004-06-291-2/+10
|
* Version 5 of [Patch 976496]Joe Mistachkin2004-06-245-3/+24
|
* * win/makefile.vc: fix for bug #977369 about launching tclsh topatthoyts2004-06-231-2/+4
| | | | generate a tclConfig.sh with the nmake build system
* Integrated fix for Tcl Bug #770053 from core-8-4-branchvasiljevic2004-06-221-3/+3
|
* * 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.
* Fix tclWinInit.c for KBK, adding comments as I go. :^)dkf2004-06-181-12/+27
|
* 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).
* Remove debugging panicdgp2004-06-171-2/+5
|
* Added missing incr ref count. D'oh!dgp2004-06-171-1/+2
|
* Better panic message for diagnosis.dgp2004-06-171-1/+2
|
* silence compiler warningdgp2004-06-171-2/+2
|
* more compiler fixesdgp2004-06-171-4/+2
|
* correct compile errorsdgp2004-06-171-3/+4
|
* * 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.
* * win/Makefile.in: Corrected compilation flags for tclPkgConfig.cKevin B Kenny2004-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.
* * 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:
* * 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.
* * win/tclAppInit.c: Restored the 'setargv' procedure when Kevin B Kenny2004-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]
* * 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.
* * generic/tcl.h: Corrected Tcl_WideInt declarations so that the mingw Kevin B Kenny2004-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]
* * 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.
* * win/makefile.vc: check for either MSDEVDIR or MSVCDIR being indavygrvy2004-06-011-2/+2
| | | | the environment, for VC7. [Bug 942214]