summaryrefslogtreecommitdiffstats
path: root/win
Commit message (Collapse)AuthorAgeFilesLines
* * win/tclWinFile.c (TclpMatchFilesTypes): made the stat call onlyhobbs2000-10-211-8/+24
| | | | | occur when necessary (for 'glob' command). Significantly speeds up glob command from 8.3. [BUG: 6216]
* 2000-10-06 David Gravereaux <davygrvy@ajubasolutions.com>davidg2000-10-061-22/+53
| | | | | | | * win/tclWinChan.c: moved Win2K bug case test with GetStdHandle() from TclpGetDefaultStdChannel into Tcl_MakeFileChannel to enable a more general method in detecting invalid OS handles rather than just a specific known case. [BUG: 5971]
* * win/tclWinSerial.c (SerialGetOptionProc): corrected reporting ofhobbs2000-09-291-2/+2
| | | | space parity on Windows (Eason) [Bug 6057].
* * win/Makefile.in: commented use of TESTFLAGShobbs2000-09-291-1/+5
| | | | | * unix/Makefile.in: added TESTFLAGS to test target to conform with Windows makefile and TEA style.
* up-port of the stacked channel implementation rewrite in 8.3.2 tohobbs2000-09-285-29/+48
| | | | 8.4a2 code base, merged in with some existing new 8.4a2 features.
* addition of tclIOGT.c source filehobbs2000-09-281-2/+11
| | | | corrected static build inclusion of reg and dde libraries
* addition of tclIOGT.c source filehobbs2000-09-281-1/+2
|
* * win/tclConfig.sh.in (TCL_LIBS): Cleaned up unix-specifichobbs2000-09-281-2/+2
| | | | autoconf variables.
* * win/tclWinPipe.c: Stage-1 bug fix for TR#2460 "exec leaks memory".davidg2000-09-081-19/+69
| | | | | | | | Added more logic around the close-down of the pipe reader thread so as to avoid, at all cost, a TerminateThread. Most cases with exec are fixed, but I don't consider 2460 done yet. Closing down the read side of a pipe before the child process, doesn't really fit the windows model. [BUG: 2460]
* 2000-09-07 David Gravereaux <davygrvy@ajubasolutions.com>davidg2000-09-071-1/+2
| | | | | * win/.cvsignore: changed the glob patterns a bit to exclude VC++ project conversion backups.
* * win/tclWinLoad.c (TclpLoadFile): added special message forhobbs2000-09-062-5/+9
| | | | | | | ERROR_PROC_NOT_FOUND exception in loading a dll. * win/tclWinError.c: changed ERROR_PROC_NOT_FOUND to map from ESRCH (POSIX: no such process) to EINVAL because there is no good mapping for "procedure not found".
* * README:hobbs2000-09-062-5/+5
| | | | | | | | | | | * generic/tcl.h: * library/tcltest1.0/tcltest.tcl: * tools/tcl.wse.in: * tools/tcltk-man2html.tcl: * unix/configure.in: * unix/tcl.spec: * win/README.binary: * win/configure.in: updated patchlevel to 8.4a2
* remove --enable-gcc configure optionmo2000-08-253-63/+32
|
* added another glob pattern I had forgottendavidg2000-08-181-0/+1
|
* * win/.cvsignore: provides a cleaner build environment with graphical CVS ↵davidg2000-08-181-0/+11
| | | | clients.
* * win/makefile.vc:ericm2000-08-152-14/+16
| | | | | | | | | | * win/Makefile.in: * unix/Makefile.in: Added tclPlatDecls.h to the list of installed headers, for more complete stubs support. [Bug: 5241]. * generic/tcl.h: Added #include "tclPlatDecls.h" to get platform-specific stubs declarations (Tcl_WinTCharToUtf, etc) [Bug: 5241].
* * win/configure.in: TCL_STUB_LIB_FLAG should notmo2000-07-271-3/+2
| | | | include ${TCL_DBGX} in win/tclConfig.sh, fix that.
* Thread-safe rewrite for the Tcl_Async* commands.davidg2000-07-261-45/+1
|
* * win/tclWinPipe.c (BuildCommandLine): Added Tcl_DStringFree callericm2000-07-251-1/+2
| | | | to prevent potential memory leaks [Bug: 6041].
* * win/configure.in: Define ${prefix} andmo2000-07-211-4/+31
| | | | | | | | ${exec_prefix} like unix/configure.in. Fix or add TCL_SRC_DIR, TCL_STUB_LIB_FILE, TCL_STUB_LIB_FLAG, TCL_BUILD_STUB_LIB_SPEC, TCL_STUB_LIB_SPEC, TCL_BUILD_STUB_LIB_PATH, TCL_STUB_LIB_PATH.
* * win/makefile.vc: Applied patch from Don Porter to provide betterericm2000-07-191-1/+5
| | | | nmake support for NT/Alpha [RFE: 5938].
* * unix/configure.in:mo2000-07-191-2/+2
| | | | | | | * unix/tcl.m4: * win/tcl.m4: Properly quote arguments to m4 macros. This allows Tcl to work with the new version of autoconf.
* Win2K OS bug with GetStdHandle(STD_OUTPUT_HANDLE) returningdavidg2000-07-181-5/+19
| | | | | 0x00010001 instead of INVALID_HANDLE_VALUE for WinMain apps. Added a new test case to catch it.
* Fix definition of TCL_SRC_DIR in mingw/vc++ configure so that it matches the ↵mo2000-07-072-10/+3
| | | | unix verison
* Applied patch from [Bug: 5921]ericm2000-06-201-2/+2
|
* * win/tcl.m4:ericm2000-06-133-18/+82
| | | | | | * win/configure.in: * win/Makefile.in: Applied patch from [RFE: 5844], to extend support for mingw compile environment on Windows.
* * win/tclWinDde.c:ericm2000-06-136-32/+28
| | | | | | | | * win/tclWinInit.c: * win/tclWinNotify.c: * win/tclWinPipe.c: * win/tclWinReg.c: * win/tclWinThrd.c: Applied patch from [Bug 5794].
* Fixed copyright.ericm2000-06-061-1/+1
|
* Fixed version number.ericm2000-06-061-2/+2
|
* * win/tclWinFCmd.c: cast cleanup [Bug: 5627]hobbs2000-05-221-5/+5
|
* * win/tclWinSerial.c: cast cleanup [Bug: 5626]hobbs2000-05-221-3/+3
|
* * win/tclWinConsole.c: cast and header cleanup [Bug: 5625]hobbs2000-05-221-15/+6
|
* fixed patching problems for mingw compatabilityhobbs2000-05-192-29/+29
|
* * win/{tcl.m4,Makefile.in,configure.in}: added support for mingwhobbs2000-05-183-22/+59
| | | | compile env and cross-compiling. [Bug: 5499]
* 2000-05-09 Andreas Kupries <a.kupries@westend.com>kupries2000-05-091-1/+3
| | | | | | | operating as proxy for David Gravereaux <davygrvy@pobox.com> * win/tclWinThrd.c (TclpInitLock, TclpMasterLock): Added missing initialization of joinLock.
* * README:hobbs2000-05-035-37/+37
| | | | | | | | | | | | | | | | | | * generic/tcl.h: * library/init.tcl: * library/reg1.0/pkgIndex.tcl: * library/tcltest1.0/tcltest.tcl: * mac/README: * tools/tcl.hpj.in: * tools/tcl.wse.in: * unix/README: * unix/configure.in: * unix/tcl.spec: * win/README: * win/README.binary: * win/configure.in: * win/makefile.vc: * win/tcl.m4: updated patchlevel to 8.4a1
* 2000-05-02 Andreas Kupries <a.kupries@westend.com>kupries2000-05-023-6/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Overall changes: (1) Implementation of joinable threads for all platforms. (2) Additional API's for channels. Required to allow the thread extension to move channels between threads. * generic/tcl.decls (lines 1360f): Added Tcl_JoinThread, Tcl_IsChannelShared, Tcl_IsChannelRegistered, Tcl_CutChannel, Tcl_SpliceChannel, Tcl_IsChannelExisting and Tcl_ClearChannelHandlers (slots 394 to 400). * generic/tclIO.c: Implemented Tcl_IsChannelRegistered, Tcl_IsChannelShared, Tcl_CutChannel, Tcl_SpliceChannel, Tcl_IsChannelExisting and Tcl_ClearChannelHandlers. Tcl_CutChannel uses code from CloseChannel. Replaced this code by a call to Tcl_CutChannel. Replaced several code fragments adding channels to the channel list with calls to Tcl_SpliceChannel. Removed now unused variables from CloseChannel and Tcl_UnstackChannel. Tcl_ClearChannelHandlers uses code from Tcl_Close. Replaced this code by a call to Tcl_ClearChannelHandlers. Removed now unused variables from Tcl_Close. Added the subcommands 'cut', 'forgetch', 'splice' and 'isshared' to the test code (TclTestChannelCmd). * unix/tclUnixThread.c: Implemented Tcl_JoinThread using the pthread-functionality. * win/tclWinThrd.c: Fixed several small typos in comments. Implemented Tcl_JoinThread using a platform independent emulation layer (see generic/tclThreadJoin.c below). Added 'joinLock' to serialize Tcl_CreateThread and TclpExitThread to prevent a race for joinable threads. * mac/tclMacThrd.c: Implemented Tcl_JoinThread using a platform independent emulation layer (see generic/tclThreadJoin.c below). Due to the cooperative nature of threading on this platform the race mentioned above is not present. * generic/tclThreadJoin.c: New file. Contains a platform independent emulation layer helping in the implementation of joinable threads for the win and mac platforms. * generic/tclInt.h: Added declarations for TclJoinThread, TclRememberJoinableThread and TclSignalExitThread. These procedures define the API of the emulation layer for joinable threads (see generic/tclThreadJoin.c above). * win/Makefile.in: * win/makefile.vc: Added generic/tclTheadJoin.o to the rules. * mac/: I don't know to which file generic/tclTheadJoin.o has to be added to so that it compiles. Sorry. * unix/tclUnixChan.c: #ifdef'd the thread-local list of file channels as it prevents us from transfering channels. To restore this we may need an extended interface to drivers in the future. Target: 9.0. Found while testing the new transfer of channels. The information in this list for a channel was left behind and then crashed the system during finalization. * generic/tclThreadTest.c: Added -joinable flag to 'testthread create'. Added subcommand 'testthread join'. * doc/CrtChannel.3: Added documentation for Tcl_IsChannelRegistered, Tcl_IsChannelShared, Tcl_CutChannel, Tcl_SpliceChannel, Tcl_IsChannelExisting and Tcl_ClearChannelHandlers. * doc/Thread.3: Added documentation for Tcl_JoinThread. * tests/thread.test: Added tests for joining of threads.
* * README:hobbs2000-04-262-20/+14
| | | | | | | | | * mac/README: * tools/tcl.wse.in: * unix/README: * unix/tcl.spec: * win/README: * win/README.binary: Updating URLs to reference dev.scriptics.com
* * unix/Makefile.in:hobbs2000-04-252-20/+21
| | | | | | * win/Makefile.in: * win/makefile.vc: updated for http change and some cleanup * library/http2.[13]: moved dir http2.1 to http2.3 to match version
* * library/dde1.1/pkgIndex.tcl:hobbs2000-04-203-23/+26
| | | | | | | | | | | * library/reg1.0/pkgIndex.tcl: * win/tclWinChan.c: * win/tclWinThrd.c: converted CRLF to LF the */tcl.hpj.in files were not converted, as it confuses hcw locally. [Bug: 5096] * win/Makefile.in: expanded cleanup or help files * doc/Thread.3: minor macro cleanup
* * README:hobbs2000-04-193-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tcl.h: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/configure.in: * win/README.binary: bumped version to 8.3.1 * win/tcl.hpj.in: updated copyright date * generic/tclEnv.c: environment support for Mac OS/X * unix/tclUnixPort.h: environment support for Mac OS/X * unix/tclLoadDyld.c: new file for Mac OS/X dl functions * unix/Makefile.in: added install-strip target; bindir, libdir, mandir, includedir vars; tclLoadDyld.c target [Bug: 2527] * unix/tclUnixChan.c (CreateSocket): force a socket back into blocking mode (default state) after a -async connect succeeds. [Bug: 4388] * generic/tclEvent.c (TclInitSubsystems): Moved tclLibraryPath to thread-local storage to prevent thread-related race condition. [Bug: 5033] * unix/tclAppInit.c (main): removed #ifdef TCL_TEST that sets the library path as it was unnecessary and conflicts with move of tclLibraryPath to thread-local storage.
* * win/Makefile.in:redman2000-04-184-11/+26
| | | | | | | * win/tcl.rc: * win/tclsh.rc: * win/tclsh.ico: Modified copyright dates in Windows resource files. Added an icon for tclsh.exe.
* Added Tcl_CreateThreadType and TCL_RETURN_THREAD_TYPEwelch2000-04-171-3/+3
| | | | macros for declaring the NewThread callback proc.
* * win/tclWinPipe.c: Added "CONST" keyword to declaration of charericm2000-04-111-2/+2
| | | | *native in TclpCreateTempFile, to supress compiler warnings.
* * win/tclWinPipe.c (TclpCreateTempFile): Added conversion ofericm2000-04-101-7/+20
| | | | | | | | contents string from UTF to native encoding [Bug: 4030]. * tests/regexp.test: Added tests for infinite looping in [regexp -all]. * generic/tclCmdMZ.c: Fixed infinite loop bug with [regexp -all] [Bug: 4981].
* 2000-04-08 Andreas Kupries <a.kupries@westend.com>kupries2000-04-091-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Overall change: Definition of a public API for the creation of new threads. * generic/tclInt.h (line 1802f): Removed the definition of 'TclpThreadCreate'. (line 793f) Removed the definition of 'Tcl_ThreadCreateProc'. * generic/tcl.h (line 388f): Readded the definition of 'Tcl_ThreadCreateProc'. Added Win32 stuff send in by David Graveraux <davygrvy@bigfoot.com> to that too (__stdcall, ...). Added macros for the default stacksize and allowed flags. * generic/tcl.decls (line 1356f): Added definition of 'Tcl_CreateThread', slot 393 of the stub table. Two new arguments in the public API, for stacksize and flags. * win/tclWinThrd.c: * mac/tclMacThrd.c: Renamed TclpThreadCreate to Tcl_CreateThread, added handling of the stacksize. Flags are currently ignored. * unix/tclUnixThrd.c: See above, but handles joinable flag. Ignores the specified stacksize if the macro HAVE_PTHREAD_ATTR_SETSTACKSIZE is not defined. * generic/tclThreadTest.c (line 363): See below. * unix/tclUnixNotfy.c (line 210): Adapted to the changes above. Uses default stacksize and no flags now. * unic/tcl.m4 (line 382f): Added a check for 'pthread_attr_setstacksize' to detect platforms not implementing this feature of pthreads. If it is implemented, configure will define the macro HAVE_PTHREAD_ATTR_SETSTACKSIZE (See unix/tclUnixThrd.c too). * doc/Thread.3: Added Tcl_CreateThread and its arguments to the list of described functions. Removed stuff about not providing a public C-API for thread-creation.
* Added dependency of tclStubInit.c on the stubs tableswelch2000-04-051-1/+9
|
* * generic/tclInt.decls:hobbs2000-03-317-126/+153
| | | | | | | | | | | | | | | * generic/tclIntPlatDecls.h: * generic/tclStubInit.c: * win/tclWin32Dll.c: removed TclWinSynchSpawn (vestige of Win32s support). * win/tclWinReg.c: made use of TclWinGetPlatformId instead of getting info again * win/tclWinPort.h: * win/Makefile.in: * win/configure.in: * win/tcl.m4: Added support for gcc/mingw on Windows [Bug: 4234]
* Install the dde and reg .lib files in the same place as the correspondingwart2000-03-071-1/+11
| | | | .dlls
* * win/README.binary: change mailing lists from @consortium.orghobbs2000-03-031-7/+11
| | | | to @scriptics.com [Bug: 4173]