summaryrefslogtreecommitdiffstats
path: root/win
Commit message (Collapse)AuthorAgeFilesLines
* * win/tclWinReg.c (OpenSubKey): Fixed bug 775976 which causes thepatthoyts2003-07-221-2/+2
| | | | registry set command to fail when built with VC7.
* 2003-07-16 Mumit Khan <khan@nanotech.wisc.edu>hobbs2003-07-171-1/+16
| | | | | | | | | * generic/tclPathObj.c (SetFsPathFromAny): Add Cygwin specific code to convert POSIX filename to native format. * generic/tclFileName.c (Tcl_TranslateFileName): And remove from here. (TclDoGlob): Adjust for cygwin and append / for dirs instead of \ * win/tclWinFile.c (TclpObjChdir): Use chdir on Cygwin. [Patch 679315]
* Added a missing $(OPTDEFINES) which broke the build if Kevin B Kenny2003-07-151-2/+2
| | | | STATS=memdbg was specified.
* Factored out the trace code - it's big enough to be its own maintenance areadkf2003-06-253-2/+5
| | | | and tricky enough to discourage non-specialists...
* * doc/dde.n: Committed TIP #135 which changes thepatthoyts2003-06-231-5/+5
| | | | | | * win/tclWinDde.c: -exact option to -force. Also cleaned * tests/winDde.test: a bug in the tests. * library/dde/pkgIndex.tcl: Incremented version to 1.2.5
* * doc/dde.n: Committed TIP #120 which provides thepatthoyts2003-06-231-32/+170
| | | | | | * win/tclWinDde.c: dde package for safe interpreters. * tests/winDde.test: Incremented package version to 1.2.4 * library/dde/pkgIndex.tcl:
* filesystem fixes -- see ChangeLogvincentdarley2003-06-232-53/+86
|
* regsub empty string fixes, and windows buildvincentdarley2003-06-171-11/+11
|
* * win/Makefile.in: Haven't heard back from David for a week.andreas_kupries2003-06-167-9/+244
| | | | | | | | | * win/configure: Now committing the remaining changes. * win/configure.in: Note: In active contact with Helmut Giese * win/makefile.vc: about the borland relatedchanges. This part * win/rules.vc: will see future updates. * win/tcl.m4: * win/makefile.bc:
* fix to WinTcl file rename error messagevincentdarley2003-06-021-2/+10
|
* Add tests to detect and avoid division by zero in the windows precisiondrh2003-05-241-4/+20
| | | | timer calibration logic.
* * compat/strftime.c: Modified TclpStrftime to return its Kevin B Kenny2003-05-181-1/+2
| | | | | | | | * generic/tclClock.c: result in UTF-8 encoding, and removed * mac/tclMacTime.c: the conversion from system encoding to * unix/tclUnixTime.c: UTF-8 from [clock format]. Needed to * win/tclWinTime.c: avoid double conversion of the timezone name on Windows systems. [Bug 624408]
* * library/dde/pkgIndex.tcl: Applied TIP #130 which providespatthoyts2003-05-161-19/+98
| | | | | * tests/winDde.test: for unique dde server names. Added * win/tclWinDde.c: some more tests. Fixes [Bug 219293]
* * win/tclWinFile.c (TclpMatchInDirectory): revert glob code tohobbs2003-05-161-71/+46
| | | | r1.44 as 2003-04-11 optimizations broke Windows98 glob'ing.
* fix for [Bug 732477]Joe Mistachkin2003-05-131-7/+7
|
* * win/tclWinSerial.c (SerialCloseProc): correct mem leak onhobbs2003-05-111-1/+3
| | | | closing a Windows serial port [Bug #718002] (schroedter)
* fix bad cvs lf conversionJoe Mistachkin2003-05-101-449/+449
|
* fix for [Bugs 733221, 733156]Joe Mistachkin2003-05-101-400/+449
|
* Use the boolean $(DEBUG) instead of a string comparison on $(DBGX).davygrvy2003-04-301-7/+7
|
* * win/tclWinThrd.c: Applied SF patch #727271. This patch changesandreas_kupries2003-04-251-9/+54
| | | | | | | | | | the code to catch any errors returned by the windows functions handling TLS ASAP instead of waiting to get some mysterious crash later on due to bogus pointers. Patch provided by Joe Mistachkin. This is a stop-gap measure to deal with the low number of ?TLS slots provided by some of the variants of Windows (60-80).
* * The changes below fix SF bugs [593810], and [718045].andreas_kupries2003-04-222-2/+135
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclIO.c (Tcl_CutChannel, Tcl_SpliceChannel): Invoke TclpCutSockChannel and TclpSpliceSockChannel. * generic/tclInt.h: Declare TclpCutSockChannel and TclpSpliceSockChannel. * unix/tclUnixSock.c (TclpCutSockChannel, TclpSpliceSockChannel): Dummy functions, on unix the sockets are _not_ handled specially. * mac/tclMacSock.c (TclpCutSockChannel, TclpSpliceSockChannel): * win/tclWinSock.c (TclpCutSockChannel, TclpSpliceSockChannel): New functions to handle socket specific cut/splice operations: auto-initi of socket system for thread on splice, management of the module internal per-thread list of sockets, management of association of sockets with HWNDs for event notification. * win/tclWinSock.c (NewSocketInfo): Extended initialization assignments to cover all items of the structure. During debugging of the new code mentioned above I found that two fileds could contain bogus data. * win/tclWinFile.c: Added #undef HAVE_NO_FINDEX_ENUMS before definition because when compiling in debug mode the compiler complains about a redefinition, and this warning is also treated as an error.
* * win/tclWinInt.h (VER_PLATFORM_WIN32_CE): conditionally define.hobbs2003-04-182-4/+8
| | | | | * win/tclWinInit.c: recognize Windows CE as a Win platform. This just recognizes CE - full support will come later.
* * win/configure: regenhobbs2003-04-182-1/+11
| | | | | * win/configure.in (SHELL): force it to /bin/sh as autoconf 2.5x uses /bin/bash, which can fail to find exes in the path (ie: lib).
* Corrected use of types to make compilation compatible with VC++5.Kevin B Kenny2003-04-151-37/+37
|
* Updated makefile.vc to conform with Mo DeJong's changes to Makefile.in Kevin B Kenny2003-04-151-2/+3
| | | | | and tclWinPipe.c on 2003-04-14. Now passes TCL_PIPE_DLL in place of TCL_DBGX.
* * win/Makefile.in: Don't define TCL_DBGXmdejong2003-04-152-15/+15
| | | | | | | | | | | | | | | symbol for every compile. Instead, define TCL_PIPE_DLL only when compiling tclWinPipe.c. This will break other build systems, so they will need to remove the TCL_DBGX define and replace it with a define for TCL_PIPE_DLL. * win/tclWinPipe.c (TclpCreateProcess): Remove PREFIX_IDENT and DEBUG_IDENT from top of file. Use TCL_PIPE_DLL passed in from build env instead of trying to construct the dll name from already defined symbols. This approach is more flexible and better in the long run.
* Added conditionals to make tclWinFile.c compile on VC++6, which Kevin B Kenny2003-04-141-1/+3
| | | | was broken by recent changes.
* vc++ 5.2 compile fixvincentdarley2003-04-141-1/+5
|
* * win/configure: Regen.mdejong2003-04-144-8/+95
| | | | | | | | | | | | | | | | * win/configure.in: Add check for FINDEX_INFO_LEVELS from winbase.h, known to be a problem in VC++ 5.2. Define HAVE_NO_FINDEX_ENUMS if the define does not exist. * win/tclWinFile.c: Put declarations for FINDEX_INFO_LEVELS and FINDEX_SEARCH_OPS inside a check for HAVE_NO_FINDEX_ENUMS so that these are not declared twice. This fixes the Mingw build. * win/tclWinTime.c: Rework the init of timeInfo so that the number or initializers matches the declaration. This was broken under Mingw. Add cast to avoid compile warning when calling the AccumulateSample function.
* * win/Makefile.in (GENERIC_OBJS): add missing tclPathObj.chobbs2003-04-121-1/+2
|
* Implemented TIP #124 (clock clicks -microseconds and Tcl_WideInt Kevin B Kenny2003-04-122-123/+304
| | | | | | return values). Fixed Bug 710310 (duplicate test numbers in clock.test). Made major changes to tclWinTime.c and related code to improve loop filter stability.
* fix 5 small filesystem bugs, and some typosvincentdarley2003-04-114-77/+359
|
* Build support for dicts on Unix and Windows, plus public API (structuredkf2003-04-053-2/+5
| | | | declaration and stubs entries.)
* * win/configure: Regen.mdejong2003-04-033-3/+11
| | | | | | | | | | | * win/configure.in: Set stub lib flag based on new LIBFLAGSUFFIX variable. * win/tcl.m4 (SC_CONFIG_CFLAGS): Set new LIBFLAGSUFFIX that works like LIBSUFFIX, it is used when creating library names. The previous implementation would generate -ltclstub85 instead of -ltclstub85s when configured with --disable-shared.
* Added quoting around the script name in the 'test' target; Joe Kevin B Kenny2003-03-231-3/+3
| | | | | Mistachkin insists that he has a configuration that fails to launch tcltest without it, and it appears harmless otherwise.
* * win/tclWinDde.c: Make dde services conform the the documentationpatthoyts2003-03-221-43/+160
| | | | | | | | | such that giving only a topic name really returns all services with that topic. [Bug 219155] Prevent hangup caused by dde server applications failing to process messages [Bug 707822] * tests/winDde.test: Corrected labels and added a test for search by topic name.
* * generic/tclInt.h (tclOriginalNotifier):dgp2003-03-211-3/+5
| | | | | | | | | | | | | | | * generic/tclStubInit.c (tclOriginalNotifier): * mac/tclMacNotify.c (Tcl_SetTimer,Tcl_WaitForEvent): * unix/tclUnixNotfy.c (Tcl_SetTimer,Tcl_WaitForEvent, Tcl_CreateFileHandler,Tcl_DeleteFileHandler): * win/tclWinNotify.c (Tcl_SetTimer,Tcl_WaitForEvent): Some linkers apparently use a different representation for a pointer to a function within the same compilation unit and a pointer to a function in a different compilation unit. This causes checks like those in the original notifier procedures to fall into infinite loops. The fix is to store pointers to the original notifier procedures in a struct defined in the same compilation unit as the stubs tables, and compare against those values. [Bug 707174]
* * win/configure: Regen.mdejong2003-03-192-92/+59
| | | | | | | | | * win/configure.in: Don't run the AC_CYGWIN macro since it uses AC_CANONICAL_HOST under autoconf 2.5X. Just check to see if __CYGWIN__ is defined by the compiler and set the ac_cv_cygwin variable based on that. [Bug 705912]
* * win/tcl.m4 (SC_WITH_TCL): Port version numbermdejong2003-03-131-4/+4
| | | | fix that was made in tk instead of tcl sources.
* Require autoconf 2.57 or newer, see TIP 34mdejong2003-03-132-1130/+3767
| | | | | | | | | | | | | | | | | for a detailed explanation of why this is good. This will no doubt break the build on some platforms, let the flaming begin. * tools/configure: Regen with autoconf 2.57. * tools/configure.in: Require autoconf 2.57. * unix/configure: Regen with autoconf 2.57. * unix/configure.in: Require autoconf 2.57. Apply AC_LIBOBJ changes from patch 529884. * unix/tcl.m4: Ditto. * win/configure: Regen with autoconf 2.57. * win/configure.in: Require autoconf 2.57. Don't subst LIBOBJS since this happens by default, this avoids an autoconf error.
* * generic/tcl.h: Removed TCL_PREFIX_IDENT and TCL_DEBUG_IDENTdgp2003-03-121-3/+6
| | | | | * win/tclWinPipe.c: from tcl.h -- they are not part of Tcl's public interface. Put them in win/tclWinPipe.c where they are used.
* Added two missing uses of $(DBGX) so that tclpip8x.dll loads without Kevin B Kenny2003-03-111-3/+3
| | | | panicking on Win9x.
* updated default tcl version to 8.5davygrvy2003-03-061-2/+2
|
* * README: Bumped version number ofdgp2003-03-047-30/+30
| | | | | | | | | | | | | | | | | | | | | | | * generic/tcl.h: Tcl to 8.5a0. * library.init.tcl: * mac/README: * macosx/Tcl.pbproj/project.pbxproc: * tests/basic.test: * tools/configure.in: * tools/tcl.hpj.in: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/README: * win/README.binary: * win/configure.in: * win/makefile.bc: * win/makefile.vc: * win/tcl.m4: * tools/configure: autoconf * unix/configure: * win/configure:
* Corrected a Makefile.vc bug introduced by the change of DBGX from Kevin B Kenny2003-03-031-3/+11
| | | | d to g in rules.vc.
* * library/dde/pkgIndex.tcl: dde bumped to version 1.2.1 fordgp2003-03-032-4/+4
| | | | | | | | | * win/tclWinDde.c: bundled release with Tcl 8.4.2 * library/reg/pkgIndex.tcl: registry bumped to version 1.1.1 for * win/tclWinReg.c: bundled release with Tcl 8.4.2 * library/opt/pkgIndex.tcl: updated package index to version 0.4.4
* * win/configure:hobbs2003-03-013-9/+9
| | | | | | * win/configure.in: check for 'g' for debug build type, not 'd'. * win/rules.vc (DBGX): correct to use 'g' for nmake win makefile to match the cygwin makefile for debug builds. [Bug #635107]
* Fixed a bug in TclpSetVeriables: initialize dwUserNameLen to avoid crash in ↵chengyemao2003-02-271-2/+2
| | | | calling GetUserName
* * README: Bumped to version 8.4.2.hobbs2003-02-153-5/+5
| | | | | | | | | | | | | * generic/tcl.h: * tools/tcl.wse.in: * unix/configure: * unix/configure.in: * unix/tcl.m4: * unix/tcl.spec: * win/README.binary: * win/configure: * win/configure.in: * macosx/Tcl.pbproj/project.pbxproj:
* * win/tclWinTime.c: Added code to test and compensate for forward Kevin B Kenny2003-02-141-13/+29
| | | | | | | | | | | | | | | leaps of the performance counter. See the MSDN Knowledge Base article Q274323 for the hardware problem that makes this necessary on certain machines. * tests/winTime.test: Revised winTime-2.1 - it had a tolerance of thousands of seconds, rather than milliseconds. (What's six orders of magnitude among friends? Both the above changes are triggered by a problem reported at http://aspn.activestate.com/ASPN/Mail/Message/ActiveTcl/1536811 although the developers find it difficult to believe that it accounts for the observed behavior and suspect a fault in the RTC chip.