summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * 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.
* Fix for Bug #438070 I believe; for various reasons, testing on thedkf2001-07-032-17/+36
| | | | | | | environment where the actual bug was reported is very difficult (I've no access to an Alpha box, and even going to a ix86-redhat-linux is very difficult due to the way my sources are set up.) Improved the comments in the test too.
* * tests/util.test: added util-4.6hobbs2001-07-033-6/+16
| | | | | * generic/tclUtil.c (Tcl_ConcatObj): Corrected walking backwards over utf-8 chars. [Bug #227512]
* * tests/unixInit.test (unixInit-2.8): Corrected test for alldgp2001-07-024-5/+60
| | | | | | | | | | | | absolute pathnames in library path when executable is installed near root directory to use correct development directory layout. [Bug 438014] * tests/unixInit.test (unixInit-2.9): * unix/tclUnixInit.c (TclpInitLibraryPath): * win/tclWinInit.c (TclpInitLibraryPath): Corrected buggy construction of search path entries relative to executable. Added test for bad construction. [Bug 438014]
* Correction to faulty patch for bug #231259Miguel Sofer2001-06-282-2/+6
|
* Removed requirement for local echo service; thanks Jeff for pointingdkf2001-06-282-9/+40
| | | | out this flaw.
* * generic/tclInt.h:hobbs2001-06-284-5/+66
| | | | | | | * generic/tclObj.c: * unix/Makefile.in: added a -DPURIFY mode that makes Tcl_Obj's allocated and free singularly (instead of in alloc in blocks and never free) to allow checkers like Purify to operate better.
* * tests/subst.test:hobbs2001-06-282-7/+23
| | | | | * generic/tclUtf.c (Tcl_UtfBackslash): Corrected backslash handling of multibyte utf-8 chars. [Bug #217987]
* * library/encoding/koi8-u.enc: added koi8-u (Ukranian variant)hobbs2001-06-281-0/+20
| | | | encoding.
* * generic/tclCmdIL.c (InfoProcsCmd): fixed potential mem leak inhobbs2001-06-281-9/+9
| | | | info procs that created objects without using them.
* * generic/tclCompCmds.c (TclCompileStringCmd): fixed mem leak whenhobbs2001-06-281-1/+2
| | | | string command failed to parse the subcommand.
* * doc/interp.n:hobbs2001-06-273-19/+57
| | | | | * doc/unknown.n: updated notes about what is in a safe interp. [Bug #218605]
* * tests/event.test (event-11.5): Removed hard-coded port numberdkf2001-06-272-3/+8
| | | | which could fail on some systems. [Bug #436727]
* * unix/Makefile.in:mdejong2001-06-273-2/+24
| | | | | | * win/Makefile.in: Add `make shell` target. This target will set the proper env vars before invoking tclsh from the build directory.
* * win/Makefile.in: Use : to separate VPATH entries. Thismdejong2001-06-275-24/+24
| | | | | | | | works for both Cygwin builds and cross builds, the VPSEP variable is simply unneeded complexity. * win/configure: Regen. * win/configure.in: Don't subst VPSEP. * win/tcl.m4 (SC_CONFIG_CFLAGS): Remove VPSEP variable.
* * unix/configure: Regen.mdejong2001-06-265-7/+15
| | | | | | | * unix/configure.in: Fix last checkin by removing export since that only works in bash. * win/configure: Regen. * win/configure.in: Ditto.
* * unix/configure: Regen.mdejong2001-06-265-339/+372
| | | | | | | | * unix/configure.in: Set CFLAGS to "" if the user did not set CFLAGS in the env. This keeps AC_PROG_CC from adding "-g -O2" to the CFLAGS by default. * win/configure: Regen. * win/configure.in: Ditto.