summaryrefslogtreecommitdiffstats
path: root/win
Commit message (Collapse)AuthorAgeFilesLines
* * Partial TIP 27 rollback. Following routinesdgp2002-02-084-17/+13
| | | | | | | | | | | | | restored to return (char *): Tcl_DStringAppend, Tcl_DStringAppendElement, Tcl_JoinPath, Tcl_TranslateFileName, Tcl_ExternalToUtfDString, Tcl_UtfToExternalDString, Tcl_UniCharToUtfDString, Tcl_GetCwd, Tcl_WinTCharToUtf. Also restored Tcl_WinUtfToTChar to return (TCHAR *) and Tcl_UtfToUniCharDString to return (Tcl_UniChar *). Modified some callers. This change recognizes that Tcl_DStrings are de-facto white-box objects. * generic/tclCmdMZ.c: corrected use of C++-style comment.
* * win/tclWinFCmd.c: TIP 27: Applied patch fixing CONST warnings onuid375472002-01-311-5/+8
| | | | behalf of Don Porter <dgp@users.sourceforge.net>.
* * unix/tcl.m4 (SC_LOAD_TCLCONFIG):mdejong2002-01-291-4/+30
| | | | | | | | | | | * win/tcl.m4 (SC_LOAD_TCLCONFIG): Set TCL_LIB_SPEC, TCL_STUB_LIB_SPEC, and TCL_STUB_LIB_PATH to the values of TCL_BUILD_LIB_SPEC, TCL_BUILD_STUB_LIB_SPEC, and TCL_BUILD_STUB_LIB_PATH when tclConfig.sh is loaded from the build directory. A Tcl extension should make use of the non-build versions of these variables since they will work in both cases. This modification was described in TIP 34.
* * win/tclWinReg.c (regConnectRegistryProc,RecursiveDeleteKey)hobbs2002-01-291-32/+29
| | | | | (DeleteKey,GetKeyNames,GetType,GetValue,OpenSubKey,SetValue): redid the CONSTification as previous changes caused failing tests.
* win/tclWinInit.c (TclpFindVariable): CONSTification touch-uphobbs2002-01-291-3/+4
|
* * win/tclWinReg.c (OpenSubKey): corrected bug introduced inhobbs2002-01-291-4/+4
| | | | CONSTification that dropped pointer reference.
* * Sought out and eliminated instances of CONST-casting that are nodgp2002-01-261-3/+3
| | | | longer needed after the TIP 27 effort.
* * [Patch 505630] Updated interfaces of generic/tclBasic.cc (TIP 27).dgp2002-01-257-56/+62
| | | | | | | * [Patch 506818] Updated interfaces of generic/tclHash.c (TIP 27). * [Patch 506807] Updated interfaces of generic/tclObj.c (TIP 27). * [Patch 507304] Updated interfaces of win/tclWin32.c (TIP 27). * Update all callers.
* * Updated interfaces of generic/tclEncoding, generic/tclFilename.c,dgp2002-01-253-13/+13
| | | | | | | | | | | generic/tclIOUtil.c, generic/tclPipe.c, generic/tclResult.c, generic/tclUtil.c, generic/tclVar.c and mac/tclMacResource.c according to TIP 27. Tcl_TranslateFileName rewritten as wrapper around VFS-aware version. Updated callers. ***POTENTIAL INCOMPATIBILITY*** Includes source incompatibilities: argv arguments of Tcl_Concat, Tcl_JoinPath, Tcl_OpenCommandChannel, Tcl_Merge; argvPtr arguments of Tcl_SplitList and Tcl_SplitPath.
* Corrections to earlier TIP 27 changes.dgp2002-01-244-15/+16
| | | | Thanks to Andreas Kupries for the feedback.
* * Updated socket interfaces according to TIP 27. Updated callers.dgp2002-01-231-11/+11
|
* * Overlooked callers of Tcl_FSGetNativePathdgp2002-01-183-13/+13
|
* * Overlooked callers of Tcl_GetIndexFromObjdgp2002-01-182-9/+10
|
* * More TIP 27 updates in tclIOUtil.c and tclIndexObj.c that weredgp2002-01-171-3/+3
| | | | | | | overlooked before. Updated callers. ***POTENTIAL INCOMPATIBILITY*** Includes a source incompatibility in the tablePtr arguments of the Tcl_GetIndexFromObj* routines.
* * Updated APIs in generic/tclUtf.c and generic/tclRegexp.c accordingdgp2002-01-171-2/+3
| | | | to the guidelines of TIP 27. Updated callers.
* * unix/tcl.m4 (SC_LOAD_TCLCONFIG):mdejong2002-01-171-2/+5
| | | | | | | * win/tcl.m4 (SC_LOAD_TCLCONFIG): Subst TCL_DBGX into TCL_STUB_LIB_FILE and TCL_STUB_LIB_FLAG variables so that an extension does not need to subst TCL_DBGX into its makefile. [Tk Bug 504356]
* * Updated APIs in generic/tclIOUtil.c and generic/tclPosixStr.cdgp2002-01-151-2/+2
| | | | according to the guidelines of TIP 27. Updated callers. [Patch 499196]
* * Updated APIs in the file generic/tclIO.c according to the guidelinesdgp2002-01-155-25/+25
| | | | | | | | | | | of TIP 27. Several minor documentation corrections as well. * Updated channel driver interface according to the guidelines of TIP 27. See also [Bug 500348]. * Moved Tcl_EolTranslation enum declaration from generic/tcl.h to generic/tclInt.h (renamed to TclEolTranslation). It is not used anywhere in Tcl's public interface.
* * unix/configure: Regen.mdejong2002-01-112-45/+49
| | | | | | | * unix/configure.in: * win/configure: Regen. * win/configure.in: Use ${libdir} instead of ${exec_prefix}/lib to properly support the --libdir option to configure. [Bug 489370]
* * win/tclWinSerial.c (SerialSetOptionProc): Applied patch for SFandreas_kupries2002-01-111-15/+8
| | | | | | | bug #500348 supplied by Rolf Schroedter <schroedter@users.sourceforge.net>. The function modified the contents of the the 'value' string and now does not do this anymore. This is a followup to the change made on 2001-12-17.
* Removed -GD compiler option. It was intended for future use, but MS is againdavygrvy2002-01-111-8/+4
| | | | | changing the future at their whim. The D4002 warning was harmless though, but someone using MsDev .NET logged it as a concern. [Bug: #501565]
* Updated APIs in the files */tcl*Load*.c according to the guidelinesKevin B Kenny2002-01-091-2/+2
| | | | of TIP 27.
* * win/tclWinSerial.c (SerialCheckProc): corrected timehobbs2001-12-191-5/+6
| | | | calculations to be unsigned. (schroedter)
* * Applied #219311 on behalf of Rolf Schroedterandreas_kupries2001-12-171-4/+34
| | | | | <schroedter@users.sourceforge.net> to prevent fcopy on serial ports from flooding the event queue.
* * win/tclWinNotify.c (Tcl_FinalizeNotifier): Stop Tcl on Windowsdkf2001-12-141-1/+15
| | | | | | | from crashing when shutdown from a non-Tcl thread. Fixes Bug #217982 [orig. 5804] reported by Hugh Vu and Gene Leache. I'm not convinced that the shutdown process is right even with this, but it was definitely wrong without...
* * win/tclWinSock.c (TcpGetOptionProc): Fix for tcl bug itemandreas_kupries2001-12-131-7/+16
| | | | | | #478565 reported by an unknown person. Bypasses all calls to "gethostbyaddr" for address "0.0.0.0" to prevent delays on Win/NT.
* Some install target bugs repaired along with $(TCLSTUBLIB) added to thedavygrvy2001-12-031-64/+43
| | | | dependencies rather than implicit through the dde and reg extensions.
* Fix a coredump in the filename normalizer code for Win95/98.drh2001-11-281-3/+2
|
* Removed the Tk reference for the 'winhelp' target. Converge at install willdavygrvy2001-11-281-3/+2
| | | | need to be the solution.
* * unix/Makefile.in: Add comments to better describemdejong2001-11-251-3/+9
| | | | | | | | TCL_EXE and when it should be available. * win/Makefile.in: Add TCL_EXE variable to be used by rules like `make genstubs`. Don't set TCL_LIBRARY before running `make genstubs` since we will be running with a tclsh from the PATH not the one we build.
* * win/configure: Regen.mdejong2001-11-252-4/+4
| | | | | | * win/tcl.m4 (SC_CONFIG_CFLAGS): Add comctl32.lib to wish link libs. This change was originally added to Tk on 2001-11-09 but was not committed to Tcl.
* added TIP#73 patch #483500 from Kevin Kenny.hobbs2001-11-213-11/+11
| | | | This deprecates TclpGetTime in favor of new Tcl_GetTime.
* Added useful comments.davygrvy2001-11-201-7/+14
|
* win fs fixesvincentdarley2001-11-193-147/+395
|
* * win/makefile.vc:davygrvy2001-11-153-36/+43
| | | | | | | * win/rules.vc: Small bug fixes. * win/README: added some docs pointing to the docs in makefile.vc for it's use.
* * win/buildall.vc.bat(new):davygrvy2001-11-132-5/+30
| | | | | | * win/makefile.vc: Small fix with deriving the "OriginalFilename" string in the .rc scripts. Added a quick batchfile for building the entire thing.
* * unix/Makefile.in:mdejong2001-11-111-1/+7
| | | | | * win/Makefile.in: Add "make gdb" target. This target can run tclsh inside either gdb or insight.
* * win/makefile.vc: Added a check to make sure one runs the makefiledavygrvy2001-11-103-52/+31
| | | | | | | | from the /win directory only. * win/mkd.bat: * win/rmd.bat: Changes from Llyod Lim for better stability. [Patch #456759]
* * win/makefile.vc:davygrvy2001-11-102-61/+166
| | | | | | | | | | | | | | * win/tcl.dsp: winhelp target fixes for non-NT systems. It seems NMAKE under these remembers changed directories during commands. A new tcltest feature from Peter Spjuth <peter.spjuth@space.se> to specify a pattern file from the commandline and redirecting output to a file when not under NT with it's scrollback console. Then it replays it, piped through more. Added 2 new static "configurations" to tcl.dsp. I could keep adding more, but I think we should leave it up to the user for customizing it. Sticky-points left: 'profile' option.
* * win/tcl.dsp:davygrvy2001-11-083-2/+1578
| | | | | | * win/tcl.dsw: Simple MsDev stub project files that calls makefile.vc. Will help run Tcl in the debugger easier without confusing MsDev for where the .pdb files are.
* * win/rules.vc:davygrvy2001-11-082-35/+99
| | | | | | | | * win/makefile.vc: Fixed install target to adjust for the different build types. Added a 'linkexten' option to link the win extensions inside the shell when built static. Placed win/tclAppInit.c patch in SF patch DB for approval. 'profile' option not hooked in yet. Everything else know is done.
* * unix/Makefile.in:mdejong2001-11-081-6/+2
| | | | | | | | | * win/Makefile.in: Print a message indicating that the user should run "make genstubs" when the generated tclStubInit.c file is out of date. We can't regenerate automatically since there may be no tclsh on the system and that would cause bootstrap problems. [Tcl bug 465874]
* Define TCL_INCLUDE_SPEC in tclConfig.sh. It should bemdejong2001-11-083-2/+17
| | | | | | | | | | | | | | included by extensions that need to find Tcl include headers in the install location. The user can override the include install dir with --includedir so we need to record this information for extensions. [Tcl bug 421835] * unix/configure: Regen. * unix/configure.in: Define TCL_INCLUDE_SPEC. * unix/tclConfig.sh.in: Define TCL_INCLUDE_SPEC. * win/configure: Regen. * win/configure.in: Define TCL_INCLUDE_SPEC. * win/tclConfig.sh.in: Define TCL_INCLUDE_SPEC.
* small error with the naming of the dee and reg extensions.davygrvy2001-11-081-3/+3
|
* * win/rules.vc:davygrvy2001-11-082-64/+64
| | | | | | | | * win/makefile.vc: Dropped the NOMSVCRT macro and put it on the option list instead. It makes more sense to me this way as NOMSVCRT=0 would only be the valid setting. Fixed the dde and reg extension for building static. Improved, but not perfected, the winhelp target.
* * win/README: Change minimum VC++ version to 5.X sincemdejong2001-11-073-29/+52
| | | | | | | | | | | | 4.X is known not to work. Indicate that Mingw is required and building with Cygwin gcc is not supported. Include instructions that indicate how to install Mingw and what URLs folks should use to download the supported version of Mingw. * win/configure: Regen. * win/configure.in: Error out if user tries to compile the Windows version of Tcl with Cygwin gcc. Users should compile with Mingw gcc instead.
* * win/rules.vc (new):davygrvy2001-11-072-292/+523
| | | | | | | | | | | | | | | | | * win/makefile.vc: Complete over/under rewrite to support numerous build options all from the commandline itself without needing to edit the makefile. Now requires vcvars32.bat to be run prior to running nmake for bootstraping the environment. Fully doc'd usage for it is in makefile.vc. Commentary welcome. Sticky points left are: 1) winhelp target shows errors in the converting script. 2) .rc scripts aren't getting the right #defines to build the correct "OriginalFilename" strings. (have patch, won't commit yet) 3) Naming convention with suffixes describing the buildtype are 'tsdx' which will need public acceptance. ie. tclsh84tsx.exe is a (t) threaded shell (s) statically linked to the core and (x) uses msvcrt instead of libcmt.
* win fs fixesvincentdarley2001-10-293-14/+49
|
* small win fixvincentdarley2001-10-221-1/+15
|
* fixed dangling ;hobbs2001-10-152-3/+5
|