summaryrefslogtreecommitdiffstats
path: root/win
Commit message (Collapse)AuthorAgeFilesLines
...
* * win/tclWinConsole.c:davygrvy2002-11-266-128/+297
| | | | | | | | | | | | | | | | * win/tclWinPipe.c: * win/tclWinSerial.c: * win/tclWinSock.c: * win/tclWinThrd.c: * win/tclWinTime.c: General cleanup of all worker threads used by the channel drivers. Eliminates the normal case where the worker thread is terminated ('cept the winsock one). Instead, use kernel events to signal a clean exit. Only when the worker thread is blocked on an I/O call is the thread terminated. Essentially, this makes all other channel worker threads behave like the PipeReaderThread() function for it's cleaner exit behavior. This appears to fix [Bug 597924] but needs 3rd party confirmation to close the issue.
* * win/README: Update msys build env URL. Thismdejong2002-11-261-2/+2
| | | | release #4 build both tcl and tk without problems.
* * win/tclWinThrd.c (Tcl_CreateThread/TclpThreadExit): Fixeddavygrvy2002-11-191-3/+3
| | | | | | | improper compiler macros that missed the VC++ compiler. This resulted in VC++ builds using CreateThread()/ExitThread() in place of the proper _beginthreadex()/_endthreadex(). This was a large error and am surprised I missed seeing it earlier.
* * generic/tclEvent.c (TclInExit, TclInThreadExit):mdejong2002-11-074-16/+16
| | | | | | | | | | | | | | | Split out functionality of TclInExit to make it clear which one should be called in each situation. * generic/tclInt.decls: Declare TclInThreadExit. * generic/tclIntDecls.h: Regen. * generic/tclStubInit.c: Regen. * mac/tclMacChan.c (StdIOClose): * unix/tclUnixChan.c (FileCloseProc): * win/tclWinChan.c (FileCloseProc): * win/tclWinConsole.c (ConsoleCloseProc): * win/tclWinPipe.c (TclpCloseFile): * win/tclWinSerial.c (SerialCloseProc): Invoke the new TclInThreadExit method instead of TclInExit.
* * unix/configure: Regen.mdejong2002-11-062-39/+59
| | | | | | | | | * unix/tcl.m4 (SC_CONFIG_CFLAGS): Generate a fatal configure error if no ar program can be found on the path. [Bug #582039] * win/configure: Regen. * win/configure.in: Check that AR, RANLIB, and RC are found on the path when building with gcc.
* * win/tclAppInit.c: Calls Registry_Init() and Dde_Init() whendavygrvy2002-11-044-32/+147
| | | | | | | | | | | | | STATIC_BUILD and TCL_USE_STATIC_PACKAGES macros are set. * win/makefile.vc: * win/rules.vc: linkexten option now sets the TCL_USE_STATIC_PACKAGES macro which also adds the registry and dde object files to the link of the shell. [Patch 479697] Also factored some additional macros that will be helpful for extension authors. Version grepping of tcl.h will need to be added to complete this. * win/buildall.vc.bat: Added more descriptive commentary.
* Updated Tcl_PkgProvide() line in Registry_Init() to use "1.1" instead of "1.0"davygrvy2002-11-021-2/+2
|
* comments addedvincentdarley2002-10-292-2/+23
|
* xcopy on NT 4.0 doesn't support the /Y switch (overwrite). Added logicdavygrvy2002-10-261-30/+40
| | | | to handle this. [Bug 618019]
* * win/Makefile.in: removed @MEM_DEBUG_FLAGS@ subst.hobbs2002-10-224-120/+112
| | | | | | | * win/configure: regen * win/configure.in: removed SC_ENABLE_MEMDEBUG call * win/tcl.m4: replaced SC_ENABLE_MEMDEBUG with a more intelligent SC_ENABLE_SYMBOLS that takes yes|no|mem|compile|all as options now.
* * library/reg/pkgIndex.tcl:hobbs2002-10-185-17/+17
| | | | | | | | * win/configure: * win/configure.in: * win/Makefile.in: * win/makefile.vc: * win/makefile.bc: Updated to reg1.1
* * doc/registry.n: Added support for broadcasting changes tohobbs2002-10-181-3/+76
| | | | | * tests/registry.test: the registry Environment. Noted proper code * win/tclWinReg.c: in the docs. [Patch #625453]
* * win/configure: add workaround for cygwin windreshobbs2002-10-172-13/+64
| | | | * win/tcl.m4 (SC_CONFIG_CFLAGS): problem. [Patch #624010] (howell)
* * win/configure:hobbs2002-10-112-16/+25
| | | | | * win/tcl.m4: enable USE_THREAD_ALLOC (new threaded allocator) by default in cygwin configure on Windows.
* load fixes for Bug 611108vincentdarley2002-10-101-6/+20
|
* * win/tclWinTime.c: Added code to set an exit handler thatKevin B Kenny2002-10-091-5/+63
| | | | | | terminates the thread that calibrates the performance counter, so that the thread won't outlive unloading the Tcl DLL. [Tcl bug 620735].
* Added proper exiting conditions using Win32 console signals. This handlesdavygrvy2002-09-301-1/+79
| | | | | | | the existing lack of a Ctrl+C exit to call exit handlers when built for thread support. Also, properly handles exits from other conditions such as CTRL_CLOSE_EVENT, CTRL_LOGOFF_EVENT, and CTRL_SHUTDOWN_EVENT signals. In all cases, exit handlers will be called. [Bug 219355]
* Added missing tclThreadAlloc.c to the build rules and defines USE_THREAD_ALLOCdavygrvy2002-09-291-3/+9
| | | | when TCL_THREADS is defined.
* * README: Bumped to version 8.4.1 to avoid confusiondgp2002-09-272-3/+3
| | | | | | | | | | | * generic/tcl.h: of CVS snapshots with the actual 8.4.0 * tools/tcl.wse.in: release. * unix/configure.in: * unix/tcl.spec: * win/configure.in: * unix/configure: autoconf * win/configure:
* 2002-09-18 Mumit Khan <khan@nanotech.wisc.edu>hobbs2002-09-274-53/+185
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Added basic Cygwin support. * win/tcl.m4 (SC_PATH_TCLCONFIG): Support one-tree build. (SC_PATH_TKCONFIG): Likewise. (SC_PROG_TCLSH): Likewise. (SC_CONFIG_CFLAGS): Assume real Cygwin port and remove -mno-cygwin flags. Add -mwin32 to extra_cflags and extra_ldflags. Remove ``-e _WinMain@16'' from LDFLAGS_WINDOW. * win/configure.in: Allow Cygwin build. (SEH test): Define to be 1 instead of empty value. (EXCEPTION_DISPOSITION): Add test. * win/configure: Regenerate. * generic/tcl.h: Don't explicitly define __WIN32__ for Cygwin, let the user decide whether to use Windows or POSIX personality. (TCL_WIDE_INT_TYPE, TCL_LL_MODIFIER, struct Tcl_StatBuf): Define for Cygwin. * generic/tclEnv.c (Tcl_CygwinPutenv): putenv replacement for Cygwin. * generic/tclFileName.c (Tcl_TranslateFileName): Convert POSIX to native format. (TclDoGlob): Likewise. * generic/tclPlatDecls.h (TCHAR): Define for Cygwin. * win/tclWinPort.h (putenv, TclpSysAlloc, TclpSysFree, TclpSysRealloc): Define for Cygwin.
* Added BLT to the vba listings.davygrvy2002-09-121-2/+4
|
* Bumped version number to 8.4.0hobbs2002-09-023-5/+5
|
* * win/tclWinConsole.c (ConsoleCloseProc): only wait on writablehobbs2002-09-021-3/+9
| | | | | pipe if there was something to write. This may prevent infinite wait on exit.
* * win/tclWinThrd.c (TclpFinalizeThreadData, TclWinFreeAllocCache):macosx_8_4_premerge_2002_08_31_trunkmacosx_8_4_merge_2002_08_30_trunkandreas_kupries2002-08-291-10/+7
| | | | | Applied patch for bug #599428, provided by Miguel Sofer <msofer@users.sourceforge.net>.
* * generic/tclEnv.c:davygrvy2002-08-281-1/+9
| | | | | | | | | | | | * unix/configure.in: * win/tclWinPort.h: putenv() on some systems copies the buffer rather than taking reference to it. This causes memory leaks and is know to effect mswindows (msvcrt) and NetBSD 1.5.2 . This patch tests for this behavior and turns on -DHAVE_PUTENV_THAT_COPIES=1 when approriate. Thanks to David Welton for assistance. [Bug 414910] * unix/configure: regen'd
* * win/Makefile.in (CFLAGS):andreas_kupries2002-08-224-46/+106
| | | | | | | | | | * unix/Makefile.in (MEM_DEBUG_FLAGS): Added usage of @MEM_DEBUG_FLAGS@. * win/configure.in: * unix/configure.in: Added usage of SC_ENABLE_MEMDEBUG. * win/tcl.m4: * unix/tcl.m4: Added macro SC_ENABLE_MEMDEBUG. Allows a user of configure to (de)activate memory validation and debugging (TCL_MEM_DEBUG). No need to modify the makefile anymore.
* * README: Bumped version number to 8.4b3 to distinguishdgp2002-08-206-16/+16
| | | | | | | | | | | | | | | | | | | | | * generic/tcl.h: HEAD from the 8.4b2 release. * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/README.binary: * win/configure.in: * unix/configure: autoconf * win/configure: * library/http/http.tcl: Corrected installation directory of * library/msgcat/msgcat.tcl: the package tcltest 2.2. Added * library/opt/optparse.tcl: comments in other packages to remind * library/tcltest/tcltest.tcl: that installation directories need * unix/Makefile.in: updates to match increasing version * win/Makefile.in: numbers. [Bug 597450] * win/makefile.bc: * win/makefile.vc:
* * doc/CmdCmplt.3: Applied Patch 585105 to fully CONST-ifydgp2002-08-051-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/Concat.3: all remaining public interfaces of Tcl. * doc/CrtCommand.3: Notably, the parser no longer writes on * doc/CrtSlave.3: the string it is parsing, so it is no * doc/CrtTrace.3: longer necessary for Tcl_Eval() to be * doc/Eval.3: given a writable string. Also, the * doc/ExprLong.3: refactoring of the Tcl_*Var* routines * doc/LinkVar.3: by Miguel Sofer is included, so that the * doc/ParseCmd.3: "part1" argument for them no longer needs * doc/SetVar.3: to be writable either. * doc/TraceVar.3: * doc/UpVar.3: Compatibility support has been enhanced so * generic/tcl.decls that a #define of USE_NON_CONST will remove * generic/tcl.h all possible source incompatibilities with * generic/tclBasic.c the 8.3 version of the header file(s). * generic/tclCmdMZ.c The new #define of USE_COMPAT_CONST now does * generic/tclCompCmds.c what USE_NON_CONST used to do -- disable * generic/tclCompExpr.c only those new CONST's that introduce * generic/tclCompile.c irreconcilable incompatibilities. * generic/tclCompile.h * generic/tclDecls.h Several bugs are also fixed by this patch. * generic/tclEnv.c [Bugs 584051,580433] [Patches 585105,582429] * generic/tclEvent.c * generic/tclInt.decls * generic/tclInt.h * generic/tclIntDecls.h * generic/tclInterp.c * generic/tclLink.c * generic/tclObj.c * generic/tclParse.c * generic/tclParseExpr.c * generic/tclProc.c * generic/tclTest.c * generic/tclUtf.c * generic/tclUtil.c * generic/tclVar.c * mac/tclMacTest.c * tests/expr-old.test * tests/parseExpr.test * unix/tclUnixTest.c * unix/tclXtTest.c * win/tclWinTest.c
* * win/tclWinPort.h: The windows headers don't provide socklen_t,rmax2002-08-011-1/+4
| | | | so we have to do it.
* vfs fixesvincentdarley2002-07-201-12/+28
|
* * unix/configure:mdejong2002-07-192-44/+46
| | | | | | | | | * unix/configure.in: * win/configure: * win/configure.in: Add AC_PREREQ(2.13) in an attempt to make it more clear that the configure scripts must be generated with autoconf version 2.13. [Bug 583573]
* Made variable static.dkf2002-07-191-2/+6
|
* Global symbols are now all either prefixed with 'tcl' (or 'Tcl' or ...) or ↵dkf2002-07-191-3/+2
| | | | have file-scope.
* Tcl_LoadHandle usagevincentdarley2002-07-181-5/+5
|
* load comments and clientData replacementvincentdarley2002-07-181-8/+22
|
* load internals refactoringvincentdarley2002-07-171-24/+24
|
* * unix/Makefile.in:mdejong2002-07-161-2/+4
| | | | | * win/Makefile.in: Add a more descriptive warning in the event `make genstubs` needs to be rerun.
* static internal functionvincentdarley2002-07-152-8/+4
|
* tests, docsvincentdarley2002-07-151-6/+4
|
* * Bumped HEAD to version 8.4b2 so we can distinguish it fromdgp2002-07-143-5/+5
| | | | the 8.4b1 release.
* file normalization on win 95/98vincentdarley2002-07-121-73/+39
|
* file normalization on win 95/98vincentdarley2002-07-111-205/+107
|
* fs cleanupvincentdarley2002-07-081-24/+4
|
* Regendkf2002-06-221-1/+1
|
* Bumped version number to b1 in preparation for release.dkf2002-06-212-4/+4
|
* * Updated all package install directories to match current Major.minordgp2002-06-213-19/+26
| | | | | versions of the packages. Added tcltest package to installation on Windows.
* tip99vincentdarley2002-06-211-113/+184
|
* Trims to support the removal of RESOURCE_INCLUDED from rcdavygrvy2002-06-182-8/+4
| | | | | | | | | | | scripts from FR #565088. * generic/tcl.h: moved the #ifndef RC_INVOKED start block up in the file. rc scripts don't need to know thread mutexes. * win/tcl.rc: * win/tclsh.rc: removed the #define RESOURCE_INCLUDED to let the built-in -DRC_INVOKED to the work.
* * win/tclWinPipe.c (BuildCommandLine): Fixed bug #554068 ([exec]andreas_kupries2002-06-171-1/+6
| | | | | | on windows did not treat { in filenames well.). Bug reported by Vince Darley <vincentdarley@users.sourceforge.net>, patch provided by Vince too.
* The test for compiler optimizations was in error. Thanks goes to Roy Terrydavygrvy2002-06-141-2/+2
| | | | <royterry@earthlink.net> for his assistence with this.