summaryrefslogtreecommitdiffstats
path: root/win
Commit message (Collapse)AuthorAgeFilesLines
* ANSIfydkf2005-11-0419-929/+1036
|
* * win/tclWin32Dll.c: Applied patch #1256872 to provide unicodepatthoyts2005-11-033-13/+83
| | | | | * win/tclWinConsole.c: support in the console on suitable systems. * win/tclWinInt.h: Patch by Anton Kovalenko
* Applied patch #1096916 to support building with MSVC 8.patthoyts2005-11-036-25/+74
| | | | | | | | | | | | | * generic/regerror.c: Avoid use of reserved word. * generic/tcl.h: Select the right Tcl_Stat structure * generic/tclDate.c: Casts to handle 64 bit time_t case. * tests/env.test: Include essential envvar on Win32 * win/nmakehlp.c: Handle new return codes. * win/makefile.vc: Use the selected options. * win/rules.vc: Check options are applicable * win/tclWinPort.h: Disable deprecated function warnings * win/tclWinSock.c: Provide default value to avoid warning. * win/tclWinTime.c: Add casts to handle 64bit time_t type.
* Convert to using ANSI decls/definitions and using the (ANSI) assumption that ↵dkf2005-10-311-150/+171
| | | | | | NULL can be cast to any pointer type transparently.
* Cleanup and ANSIfydkf2005-10-311-154/+176
|
* fix to glob memory leak and file stat ino/nlink on windowsvincentdarley2005-10-231-136/+145
|
* Updated target file idpatthoyts2005-10-141-8/+8
|
* Permit building al debug builds as well as release buildspatthoyts2005-10-141-8/+37
|
* * generic/tclExecute.c: Removed obsolete use of NO_ERRNO_H.dgp2005-10-132-692/+2
| | | | | | | | | | * tools/man2tcl.c: * unix/tcl.m4: * unix/tclConfig.h.in: * win/configure.in: * unix/configure: autoconf-2.59 * win/configure:
* 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: