summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tclFileName.c (Tcl_FSSplitPath): update to Tcl stylehobbs2001-08-073-34/+88
| | | | | | | guide. * generic/tclFCmd.c (FileCopyRename): fixed mem leak in introduction of vfs code where a new Tcl_Obj wasn't freed.
* * generic/tclCmdMZ.c (Tcl_RegexpObjCmd, Tcl_RegsubObjCmd):hobbs2001-08-071-12/+18
| | | | | reordered the retrieval of arguments to avoid shimmering bug when the pattern and string referenced the same object.
* added GNU (HURD) configuration target. (brinkmann)hobbs2001-08-072-27/+105
|
* * win/tclWinThrd.c (TclpFinalizeMutex, TclpFinalizeCondition):hobbs2001-08-071-1/+3
| | | | added DeleteCriticalSection calls for cleanup [Patch: #419683]
* * unix/tclUnixPipe.c (TclpCreateTempFile): fixed use of tmpnam,hobbs2001-08-071-7/+14
| | | | | which is dangerous. [Patch: #442636] (lim) The use of tmpnam in TclpTempFileName must still be changed.
* * tests/http.test (http-4.14): fixed variable error return.hobbs2001-08-071-2/+2
| | | | [Bug: 424252]
* win/README: made note of URL for Windows compilation noteshobbs2001-08-071-12/+7
|
* Extended description of fix 442665.andreas_kupries2001-08-061-2/+6
|
* 2001-08-06 Andreas Kupries <andreas_kupries@users.sourceforge.net>andreas_kupries2001-08-062-4/+11
| | | | | * generic/tclIOCmd.c (Tcl_GetsObjCmd): Applied patch from SF item [442665] to fix the bug reported by it.
* * Added note that the tclsh program is frequentlydgp2001-08-062-1/+13
| | | | | installed with the Tcl version numer as part of the name. [Patch 402725]
* * [package forget] now forgets all of thedgp2001-08-063-4/+18
| | | | | package arguments it receives, not stopping when a package is not found. [Bug 415273]
* * win/configure: regeneratedhobbs2001-08-043-27/+37
| | | | | | | | * win/tcl.m4: fixed DLLSUFFIX definition to always be ${DBGX}.dll. This is necessary for TEA compliant builds that build shared against a static-built Tcl. * win/Makefile.in ($(TCLSH)): added $(TCL_STUB_LIB_FILE) to build target, otherwise it wouldn't get generated in a static build.
* * generic/tclIOUtil.c (Tcl_FSMatchInDirectory): correctedhobbs2001-08-021-21/+23
| | | | uninitialized value.
* * generic/tclPlatDecls.h:mdejong2001-08-023-26/+34
| | | | | | | | * win/tclWinPort.h: Revert <tchar.h> related changes made to improve Cygwin support on 2001-07-18. This change ended up breaking the VC++ build because of conflicts between Windows APIs and internal Tk APIs.
* Update the http package version number now as we change it, so we don'tdgp2001-08-021-1/+1
| | | | forget to do it later when we release it.
* Update the http package version number now as we change it, so we don'tdgp2001-08-021-3/+3
| | | | forget to do it later when we release it.
* * unix/tclUnixFCmd.c: minor casts to eliminate warnings. (lim)hobbs2001-08-021-4/+4
| | | | [Patch: #440218]
* * tests/parseOld.test: changed some tests that requiredhobbs2001-08-021-66/+67
| | | | | testwordend to exist to skip in a proper tcltest manner. [Bug: #442663]
* * library/http/http.tcl (http::mapReply): the regsub'ing of \n andhobbs2001-08-021-4/+2
| | | | \t to escape them was unnecessary.
* New documentation for TIP#17vincentdarley2001-07-311-0/+1195
|
* Changes from TIP#17 "Redo Tcl's filesystem"vincentdarley2001-07-3153-2364/+8636
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following files were impacted. * doc/Access.3: * doc/FileSystem.3: * doc/OpenFileChnl.3: * doc/file.n: * doc/glob.n: * generic/tcl.decls: * generic/tcl.h: * generic/tclCmdAH.c: * generic/tclCmdIL.c: * generic/tclCmdMZ.c: * generic/tclDate.c: * generic/tclDecls.h: * generic/tclEncoding.c: * generic/tclFCmd.c: * generic/tclFileName.c: * generic/tclGetDate.y: * generic/tclIO.c: * generic/tclIOCmd.c: * generic/tclIOUtil.c: * generic/tclInt.decls: * generic/tclInt.h: * generic/tclIntDecls.h: * generic/tclLoad.c: * generic/tclStubInit.c: * generic/tclTest.c: * generic/tclUtil.c: * library/init.tcl: * mac/tclMacFCmd.c: * mac/tclMacFile.c: * mac/tclMacInit.c: * mac/tclMacPort.h: * mac/tclMacResource.c: * mac/tclMacTime.c: * tests/cmdAH.test: * tests/event.test: * tests/fCmd.test: * tests/fileName.test: * tests/io.test: * tests/ioCmd.test: * tests/proc-old.test: * tests/registry.test: * tests/unixFCmd.test: * tests/winDde.test: * tests/winFCmd.test: * unix/mkLinks: * unix/tclUnixFCmd.c: * unix/tclUnixFile.c: * unix/tclUnixInit.c: * unix/tclUnixPipe.c: * win/tclWinFCmd.c: * win/tclWinFile.c: * win/tclWinInit.c: * win/tclWinPipe.c
* * win/tclWinThrd.c (Tcl_CreateThread): Close Windowsmdejong2001-07-242-5/+13
| | | | | | HANDLE returned by _beginthreadex. The MS documentation states that this handle is not closed by a later call to _endthreadex.
* * Corrected documentation and usage message of [pkg_mkIndex].dgp2001-07-213-4/+14
|
* * generic/tclPlatDecls.h: Define TCHAR by includingmdejong2001-07-194-30/+38
| | | | | | | | | | windows.h instead of tchar.h since Cygwin does not support the tchar.h header. Include CHECK_UNICODE_CALLS logic from tclWinPort.h. * win/tclWinPort.h: Remove CHECK_UNICODE_CALLS logic. Remove include of windows.h since this now done it tclPlatDecls.h. * win/tclWinReg.c: Remove duplicate include of windows.h.
* 2001-07-18 Andreas Kupries <andreas_kupries@users.sourceforge.net>andreas_kupries2001-07-182-1/+32
| | | | | | | * generic/tclIO.c: Aftermath to [SF #427196]. Squash empty buffers if they are smaller than the requested buffersize, to prevent reusage of old buffers and to honor changes in the requested buffersize made by the user.
* * win/tclWinFile.c (TclpReadlink): Add Cygwin specific definitionmdejong2001-07-172-1/+52
| | | | | for the TclpReadlink function. This method implements reading of symbolic links when build with Cygwin.
* 427196: Extended the testsuite.andreas_kupries2001-07-171-2/+12
|
* * win/tclWinPort.h: Add Cygwin specific defines for environmdejong2001-07-172-1/+13
| | | | and timezone variables.
* 2001-07-17 Andreas Kupries <andreas_kupries@users.sourceforge.net>andreas_kupries2001-07-172-2/+26
| | | | | | | | | | * generic/tclIO.c (GetInput): Fixed [SF #427196]. Memory was overwritten because a buffer was used after a change of the requested buffersize together with that requested buffersize and not its actual size, which was smaller. Note that the continous reuse of the smaller buffer negatively impacts performance. The system never allocates a buffer with the newly requested bigger buffersize.
* * generic/tcl.h: Define __WIN32__ whenmdejong2001-07-173-5/+15
| | | | | | | __CYGWIN__ or __MINGW32__ is defined. * generic/tclAlloc.c: Define caddr_t when compiling with VC++ or mingw. This type is already defined when compiling with Cygwin.
* * win/tclWinPipe.c (PipeClose2Proc): constrained the mutex lock tohobbs2001-07-172-17/+19
| | | | just the TerminateThread call and waiting for termination. (jsmith)
* fix date in ChangeLog entrymdejong2001-07-161-1/+1
|
* * win/tclWinConsole.c:mdejong2001-07-166-11/+16
| | | | | | | | | | * win/tclWinPipe.c: * win/tclWinPort.h: * win/tclWinSerial.c: * win/tclWinThrd.c: Remove unnecessary #includes of dos.h, direct.h, and tchar.h. This will help the Cygwin porting effort since these headers do not exist under Cygwin.
* * generic/tclCmdMZ.c: Removed extra copy of the SCAN_* macroshobbs2001-07-162-17/+6
| | | | #defined in generic/tclScan.c. (porter) [Bug 441230]
* typo fixdgp2001-07-121-2/+2
|
* Got test unixInit-2.8 to stop wiping out parts of my debug installation bydkf2001-07-122-2/+9
| | | | adding an extra constraint.
* TIP#36 implementation. Also includes cleanup for subst optiondkf2001-07-1210-90/+309
| | | | | handling and improved documentation for the subst command (in my capacity as maintainer of the Commands M-Z functional area.)
* * unix/Makefile.in: Add AR variable for use in STLIB_LD.mdejong2001-07-117-65/+119
| | | | | | | | | | | | | | * unix/configure: Regen. * unix/configure.in: Use STLIB_LD when defining MAKE_LIB and MAKE_STUB_LIB. Subst RANLIB and AR. * unix/tcl.m4 (SC_CONFIG_CFLAGS): Add doc comment about STLIB_LD command. Check ${AR} env var when setting STLIB_LD and delay evaluation until make time. * win/configure: Regen. * win/tcl.m4 (SC_CONFIG_CFLAGS): Delay evaluation of ${AR} in STLIB_LD and add flags to better match the Unix implementation. Don't bother defining AR when using VC++ since it is not used.
* * win/configure: Regen.mdejong2001-07-063-14/+36
| | | | | | | * win/tcl.m4 (SC_CONFIG_CFLAGS): Pass -e _WinMain@16 in addition to the -mwindows flag to work around a problem with ld when it incorrectly use main() as the executable entry point when both WinMain() and main() are available.
* Added leading zero to file modes passed to [testchmod] to work arounddkf2001-07-062-6/+12
| | | | fault in HPUX strtol() which ignores the base parameter [Bug #438808]
* * win/Makefile.in: Subst DEPARG directly insteadmdejong2001-07-065-39/+65
| | | | | | | | | | | | | | | of relying on a variable. This will make Cygwin build faster since an extra exec will be avoided. * win/configure: Regen. * win/configure.in: Subst DEPARG. * win/tcl.m4 (SC_CONFIG_CFLAGS): Move AC_MSG_CHECKING after the AC_CHECK_PROG so that status messages do not get mixed together. Set DEPARG based on the results of the cygpath check so that we avoid using an extra exec when it is not needed. Use ac_cv_cygwin status flag instead of looking at the output of gcc -v, which works in the case where -mno-cygwin is set in the CFLAGS.
* updated READMEs with purlsuid381722001-07-056-39/+53
|
* * tests/var.test:hobbs2001-07-043-2/+19
| | | | | * generic/tclVar.c (Tcl_VariableObjCmd): added patch to check for number of args. [Patch #426038]
* * win/Makefile.in: Remove PATHTYPE variable.mdejong2001-07-045-46/+64
| | | | | | | | | | * win/configure: Regen. * win/configure.in: Don't subst PATHTYPE. * win/tcl.m4 (SC_CONFIG_CFLAGS): Remove PATHTYPE variable. Set CYGPATH to "cygpath -w" if the cygpath executable is found on the path. This approach works for native Cygwin builds and cross compiles.
* * tests/append.test:hobbs2001-07-033-31/+203
| | | | | * tests/appendComp.test: added tests for read trace triggering for append and lappend.
* * generic/tclExecute.c (TclExecuteByteCode): added TCL_TRACE_READShobbs2001-07-031-15/+9
| | | | | | flag to INST_LAPPEND(_ARRAY)_STK case to trigger read traces for newly created arrays. Removed unnecessary #ifdef for TCL_COMPILE_DEBUG in INST_LOAD_SCALAR1 case.
* * generic/tclVar.c (Tcl_GetVar2Ex): added ability to recognizehobbs2001-07-031-17/+64
| | | | | | | | | | | TCL_TRACE_READS flags to cause creation of part1 in TclLookupVar to make sure newly created array will get read traces triggered appropriately. This is called by Tcl_ObjGetVar2, Tcl_GetVar, and Tcl_GetVar2. (TclSetIndexedScalar, TclSetElementOfIndexedArray): added read trace triggering for lappend case. (Tcl_LappendObjCmd): pass TCL_TRACE_READS to Tcl_ObjGetVar2 to trigger possible read traces for new arrays.
* * tests/clock.test (clock-2.5): Adjust test so that it passesmdejong2001-07-032-3/+8
| | | | when the time slice is 60 msecs, now passes under Windows 98.
* * win/tcl.m4 (SC_CONFIG_CFLAGS): Don't pass the v flagmdejong2001-07-033-2/+7
| | | | to ${AR} when using gcc, verbose output is not needed.
* * tests/unixInit.test (unixInit-2.8): Changed test back to usingdgp2001-07-032-5/+43
| | | | | | installation layout, adding comments explaining why the test writes to the directories it does, and checks to avoid destroying other files in /tmp.