summaryrefslogtreecommitdiffstats
path: root/win
Commit message (Collapse)AuthorAgeFilesLines
* TIP#237 IMPLEMENTATIONdgp2005-10-082-5/+28
| | | | | | [kennykb-numerics-branch] Resynchronized with the HEAD; at this checkpoint [-rkennykb-numerics-branch-20051008], the HEAD and kennykb-numerics-branch contain identical code.
* * tests/env.test (env-6.1):hobbs2005-10-051-2/+3
| | | | | | | | | | | * win/tclWinPort.h: define USE_PUTENV_FOR_UNSET 1 * generic/tclEnv.c (TclSetEnv, TclUnsetEnv): add USE_PUTENV_FOR_UNSET to existing USE_PUTENV define to account for various systems that have putenv(), but can't unset env vars with it. Note difference between Windows and Linux for actually unsetting the env var (use of '='). Correct the resizing of the environ array. We assume that we are in full ownership, but that's not correct.[Bug 979640]
* win/tclWinSerial.c (SerialSetOptionProc): free argv [Bug 1067708]hobbs2005-10-051-24/+34
|
* allow NULL interp in Tcl_FSMatchInDirectoryvincentdarley2005-08-311-5/+7
|
* TIP#219 IMPLEMENTATIONandreas_kupries2005-08-242-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | * doc/SetChanErr.3: ** New File **. Documentation of the new channel API functions. * generic/tcl.decls: Stub declarations of the new channel API. * generic/tclDecls.h: Regenerated * generic/tclStubInit.c: * tclIORChan.c: ** New File **. Implementation of the reflected channel. * generic/tclInt.h: Integration of reflected channel and new error * generic/tclIO.c: propagation into the generic I/O core. * generic/tclIOCmd.c: * generic/tclIO.h: * library/init.tcl: * tests/io.test: Extended testsuite. * tests/ioCmd.test: * tests/chan.test: * generic/tclTest.c: * generic/tclThreadTest.c: * unix/Makefile.in: Integration into the build machinery. * win/Makefile.in: * win/Makefile.vc:
* * unix/configure.in:mdejong2005-08-232-8/+2
| | | | | | * win/configure: Regen. * win/configure.in: Update minimum autoconf version to 2.59.
* radical refactoring of thread storage to untangle dependenciesKevin B Kenny2005-08-115-441/+452
|
* Typo (spotted by George Staplin)dkf2005-08-051-2/+2
|
* removed refs to ldAout.tcl [Bug 1244361]Kevin B Kenny2005-08-052-3/+1
|
* * win/README: Update link to msys_mingw8.zipmdejong2005-07-291-2/+2
|
* * generic/tclPipe.c (TclCreatePipeline): Arrange for POSIX systems todkf2005-07-281-2/+2
| | | | | | | | * unix/tclUnixPipe.c (TclpOpenFile): use the O_APPEND flag for * tests/exec.test (exec-19.1): files opened in a pipeline like ">>this". Note that Windows cannot support such access; there is no equivalent flag on the handle that can be set at the kernel-call level. The test is unix-specific in every way. [Bug 1245953]
* D'oh! [Bug 1244358]dkf2005-07-251-3/+3
|
* * unix/configure: Regen.mdejong2005-07-252-465/+262
| | | | | | | | | | | | | * unix/tcl.m4 (SC_PROG_TCLSH, SC_BUILD_TCLSH): * win/configure: Regen. * win/tcl.m4 (SC_PROG_TCLSH, SC_BUILD_TCLSH): Split confused search for tclsh on PATH and build and install locations into two macros. SC_PROG_TCLSH searches just the PATH. SC_BUILD_TCLSH determines the name of the tclsh executable in the Tcl build directory. [Tcl bug 1160114] [Tcl patch 1244153]
* Getting more systematic about styledkf2005-07-2416-5667/+6136
|
* * tests/string.test: Add string is tests formdejong2005-07-231-13/+2
| | | | | | functionality that was not tested. * win/README: Update msys + mingw URL. Remove old Cygwin + mingw info.
* * unix/tclUnixSock.c: Use a ProcessGlobalValue to store thedgp2005-07-131-47/+56
| | | | | | | * win/tclWinSock.c: value returned by Tcl_GetHostName() ([info hostname]). Also re-order initialization of the value on Windows to favor GetComputerName() over gethostname() as a source of the information.
* bug 1225957Kevin B Kenny2005-06-232-312/+286
|
* bug 1225044Kevin B Kenny2005-06-221-2/+7
|
* * win/tclWinFile.c: Potential buffer overflow. [Bug 1225571]dgp2005-06-221-3/+3
| | | | Thanks to Pat Thoyts for discovery and fix.
* bug 1225727Kevin B Kenny2005-06-221-7/+4
|
* D'oh. [Bug 1217017]dkf2005-06-081-2/+2
|
* Added (untested!) implementation of truncation for Windowsdkf2005-06-071-1/+74
|
* autoconfdgp2005-06-071-1/+1
|
* Bump patchlevel to a4dkf2005-06-072-4/+4
|
* Correct crash in stack.test on gcc/win32; fix compile errors in tclObj.c on ↵Kevin B Kenny2005-06-061-13/+2
| | | | hpux/native cc
* Implementation of TIP#241 from Joe Mistachkindkf2005-06-011-1/+8
| | | | Also compilation of [switch -glob -nocase] from Donal Fellows
* Fixed Tcl Bug #1204064.vasiljevic2005-05-301-9/+9
|
* restore MSVC buildability of tclWin32Dll.cKevin B Kenny2005-05-161-1/+7
|
* * generic/tclInt.decls:das2005-05-141-24/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclTest.c: * generic/tclUtil.c: * win/tclWin32Dll.c: fixed link error due to direct access by tclTest.c to the MODULE_SCOPE tclPlatform global: renamed existing TclWinGetPlatform() accessor to TclGetPlatform() and moved it to generic code so that it can be used by on all platforms where MODULE_SCOPE is enforced. * macosx/tclMacOSXBundle.c: * unix/tclUnixInit.c: * unix/tcl.m4 (Darwin): made use of CoreFoundation API configurable and added test of CoreFoundation availablility to allow building on ppc64, replaced HAVE_CFBUNDLE by HAVE_COREFOUNDATION; test for availability of Tiger or later OSSpinLockLock API. * unix/tclUnixNotfy.c: * unix/Makefile.in: * macosx/tclMacOSXNotify.c (new file): when CoreFoundation is available, use new CFRunLoop based notifier: allows easy integration with other event loops on Mac OS X, in particular the TkAqua Carbon event loop is now integrated via a standard tcl event source (instead of TkAqua upon loading having to finalize the exsting notifier and replace it with its custom version). [Patch 1202052] * tests/unixNotfy.test: don't run unthreaded tests on Darwin since notifier may be using threads even in unthreaded core. * unix/tclUnixPort.h: * unix/tcl.m4 (Darwin): test for thread-unsafe realpath durning configure, as Darwin 7 and later realpath is threadsafe. * macosx/Makefile: enable configure caching. * unix/configure.in: wrap tclConfig.h header in #ifndef _TCLCONFIG so that it can be included more than once without warnings from gcc4.0 (as happens e.g. when including both tclInt.h and tclPort.h) * macosx/tclMacOSXBundle.c: * unix/tclUnixChan.c: * unix/tclLoadDyld.c: * unix/tclUnixInit.c: fixed gcc 4.0 warnings. * unix/configure: autoconf-2.59 * unix/tclConfig.h.in: autoheader-2.59 * generic/tclIntDecls.h: * generic/tclIntPlatDecls.h: * generic/tclStubInit.c: make genstubs
* further rework of SEHKevin B Kenny2005-05-131-169/+182
|
* Merged kennykb-numerics-branch back to the head; TIPs 132 and 232Kevin B Kenny2005-05-1017-470/+535
|
* Corrected a compilation error in the --enable-threads configurationKevin B Kenny2005-05-051-8/+13
|
* * compat/string.h: fixed memchr() protoype for __APPLE__ so that wedas2005-04-261-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | build on Mac OS X 10.1 again. * generic/tclNotify.c (TclFinalizeNotifier): fixed notifier not being finalized in unthreaded core (was testing for notifier initialization in current thread by checking thread id != 0 but thread id is always 0 in untreaded core). * win/tclWinNotify.c (Tcl_WaitForEvent): * unix/tclUnixNotfy.c (Tcl_WaitForEvent): don't call ScaleTimeProc for zero wait times (as specified in TIP 233). * unix/Makefile.in: added @PLAT_SRCS@ to SRCS and split out NOTIFY_SRCS from UNIX_SRCS for parity with UNIX_OBJS & NOTIFY_OBJS. * unix/tcl.m4 (Darwin): added configure checks for recently added linker flags -single_module and -search_paths_first to allow building with older tools (and on Mac OS X 10.1), use -single_module in SHLIB_LD and not just T{CL,K}_SHLIB_LD_EXTRAS, added unexporting from Tk of symbols from libtclstub to avoid duplicate symbol warnings, added PLAT_SRCS definition for Mac OS X, defined MODULE_SCOPE to __private_extern__. (SC_MISSING_POSIX_HEADERS): added caching of dirent.h check. * unix/configure: autoconf-2.59
* Renamed TclWinFreeAllocCache to TclpFreeAllocCache and fixed to recognizevasiljevic2005-04-161-20/+23
| | | | | when being called with NULL argument. This is a signal for it to clean up the tsd key associated with the threading allocator.
* Ignore the msvc7/8 autogenerated project parts.patthoyts2005-04-061-0/+2
|
* * win/tcl.m4, win/configure: do not require cygpath in macros tohobbs2005-03-302-259/+488
| | | | allow msys alone as an alternative.
* fix to file norm, file pathtype on windows reserved filenamesvincentdarley2005-03-151-3/+80
|
* * win/makefile.vc: clarify necessary defined vars that can comehobbs2005-03-081-14/+18
| | | | from MSVC or the Platform SDK.
* * library/tcltest/tcltest.tcl: Better use of [glob -types] to avoiddgp2005-02-241-3/+3
| | | | | | | | | * tests/tcltest.test: failed attempts to [source] a directory, and similar matters. Thanks to "mpettigr". [Bug 1119798] * library/tcltest/pkgIndex.tcl: Bump to tcltest 2.2.8 * unix/Makefile.in: * win/Makefile.in:
* * win/tclWinFCmd.c (TraverseWinTree): use wcslen on wchar, nothobbs2005-02-171-3/+3
| | | | Tcl_UniCharLen.
* TIP#218 IMPLEMENTATIONandreas_kupries2005-01-275-230/+318
| | | | | | | | | | | | | | | | | | | | * generic/tclDecls.h: Regenerated from tcl.decls. * generic/tclStubInit.c: * doc/CrtChannel.3: Documentation of extended API, * generic/tcl.decls: extended testsuite, and * generic/tcl.h: implementation. Removal of old * generic/tclIO.c: driver-specific TclpCut/Splice * generic/tclInt.h: functions. Replaced with generic * tests/io.test: thread-action calls through the * unix/tclUnixChan.c: new hooks. Update of all builtin * unix/tclUnixPipe.c: channel drivers to version 4. * unix/tclUnixSock.c: Windows drivers extended to * win/tclWinChan.c: manage thread state in a thread * win/tclWinConsole.c: action handler. * win/tclWinPipe.c: * win/tclWinSerial.c: * win/tclWinSock.c:
* * generic/tclStubInit.c: Regenerated the stubs support code fromandreas_kupries2005-01-212-10/+169
| | | | | | | | | | | | | | * generic/tclDecls.h: the modified tcl.decls (TIP #233, see below). * doc/GetTime.3: Implemented TIP #233, i.e. the * generic/tcl.decls: 'Virtualization of Tcl's Sense of Time'. * generic/tcl.h: Declared, implemented, and documented the * generic/tclInt.h: specified new API functions. Moved the * unix/tclUnixEvent.c: native (OS) access to time information * unix/tclUnixNotfy.c: into standard handler functions. Inserted * unix/tclUnixTime.c: hooks calling on the handlers where native * win/tclWinNotify.c: access was done before, and where scaling * win/tclWinTime.c: between domains (real/virtual) is required.
* * win/tclWinChan.c (FileCloseProc): Invokemdejong2005-01-191-1/+20
| | | | | | | | | TclpCutFileChannel() to remove a FileInfo from the thread local list before deallocating it. This should have been done via an earlier call to Tcl_CutChannel, but I was running into a crash in the next call to Tcl_CutChannel during the IO finalization stage.
* Performance updates to http::mapReply [1020491] and fix version numbering.dkf2005-01-061-3/+3
|
* * win/tcl.m4, win/configure: update MSVC CFLAGS_OPT to -O2, removehobbs2004-12-302-17/+23
| | | | | | | -Gs (included in -O2) and -GD (outdated). Use "link -lib" instead of "lib" binary and remove -YX for MSVC7 portability. Add -fomit-frame-pointer for gcc OPT compiles. [Bug 1092952, 1091967] Align LIBS_GUI with Tk head needs.
* bugs 1090413, 1092789 fixedKevin B Kenny2004-12-291-1/+2
|
* Bump to a3 to prevent confusion with a2 release.dkf2004-12-102-4/+4
|
* * generic/tclEncoding.c: Different fix for [Bug 1077005].dgp2004-12-041-6/+11
| | | | | | | | | * generic/tclEvent.c: Broke apart TclpSetInitialEncodings() on * generic/tclInt.h: Windows into TclpSetInterfaces(), that is * unix/tclUnixInit.c: fundamentally essential, and the initialization * win/tclWinInit.c: of the system encoding, which is not. Made the TclpSetInterfaces call part of TclInitSubsystems so it cannot be overlooked.
* workaround for a bug in cygpath that made safe-8.5-8.7 failKevin B Kenny2004-12-021-2/+2
|
* * generic/tclUtil.c: Updated Tcl_GetNameOfExecutable() todgp2004-12-012-30/+7
| | | | | | | | | | | | | | | | | | | | | | | | * generic/tclEncoding.c: make use of a ProcessGlobalValue for * generic/tclEvent.c: storing the executable name. Added internal routines Tcl(Get|Set)ObjNameOfExecutable() to access that storage in Tcl_Obj, rather than string format. * unix/tclUnixFile.c: Rewrote TclpFindExecutable() to use * win/tclWinFile.c: TclSetObjNameOfExecutable to store the executable name it computes. * generic/tclInt.h: Added internal stub entries for * generic/tclInt.decls: TclpFindExecutable and Tcl(Get|Set)ObjNameOfExecutable. * generic/tclIntDecls.h: make genstubs * generic/tclStubInit.c: * generic/tclCmdIL.c: Retrieve executable name in Tcl_Obj form * win/tclWinPipe.c: instead of string form. * unix/tclUnixTest.c: Update [testfindexecutable] command to use new internal interfaces.