summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * More corrections to test suite so that testsdgp2002-06-072-10/+58
| | | | of failing [test]s don't show up themselves as failing tests.
* Cleaned up inclusion of float.h; that's really tcl<platform>Port.h's jobdkf2002-06-072-25/+43
|
* Make sure EOVERFLOW is defined on Unix.dkf2002-06-073-100/+124
|
* speling ficksdgp2002-06-061-2/+2
|
* * 4) deprecated [threadReap] and [mainThread] [Bug 534903]dgp2002-06-063-26/+9
|
* * unix/dltest/Makefile.in: Remove hard coded CFLAGS=-gmdejong2002-06-062-2/+11
| | | | | and add CFLAGS_DEBUG, CFLAGS_OPTIMIZE, and CFLAGS_DEFAULT varaibles. [Tcl bug 565488]
* * Corrections to test suite so that testsdgp2002-06-062-1/+13
| | | | of failing [test]s don't show up themselves as failing tests.
* * tests/io.test: Fixed up namespace variable resolution issuesdgp2002-06-065-260/+322
| | | | | | | | | | | | revealed by running test suite with "-singleproc 1". * doc/tcltest.n: * library/tcltest/tcltest.tcl: * tests/tcltest.test: Several updates to tcltest. 1) changed to lazy initialization of test constraints 2) deprecated [initConstraintsHook] 3) repaired badly broken [limitConstraints]. [Patch 512214, Bug 558742, Bug 461000]
* * unix/tclUnixThrd.c (TclpReaddir, TclpLocaltime, TclpGmtime):das2002-06-066-309/+429
| | | | | | | | | | | | | added mutex wrapped calls to readdir, localtime & gmtime in case their thread-safe *_r counterparts are not available. * unix/tcl.m4: added configure check for readdir_r * unix/tcl.m4 (Darwin): set TCL_DEFAULT_ENCODING to utf-8 on MacOSX (where posix file apis expect utf-8, not iso8859-1). * unix/configure: regen * unix/Makefile.in: set DYLD_LIBRARY_PATH in parallel to LD_LIBRARY_PATH for MacOSX dynamic linker. * generic/tclEnv.c (TclSetEnv): fix env var setting on MacOSX (adapted from patch #524352 by jkbonfield).
* * Documented $tcl_rcFileName and added moredgp2002-06-052-9/+34
| | | | clarifications about the intended use of Tcl_Main(). [Bug 505651]
* * generic/tclFileName.c (TclGlob): mac specific fix todas2002-06-056-19/+52
| | | | | | | | | recent changes in 'glob -tails' handling. * mac/tclMacPort.h: * mac/tclMacChan.c: fixed TIP#91 bustage. * mac/tclMacResource.c (Tcl_MacConvertTextResource): added utf conversion of text resource contents. * tests/macFCmd.test (macFCmd-1.2): allow CWIE creator.
* * Added more TIP 85 tests from Arjen Markus.dgp2002-06-054-374/+517
| | | | | | Converted tcltest.test to use a private namespace. Fixed bugs in [tcltest::Eval] revealed by calling [tcltest::test] from a non-global namespace, and namespace errors in init.test.
* * win/README: Update msys+mingw URL.mdejong2002-06-042-2/+6
|
* * Implementation of TIP 85. Allows tcltestdgp2002-06-035-46/+233
| | | | | | | users to add new legal values of the -match option to [test], associating each with a Tcl command that does the matching of expected results with actual results of tests. Thanks to Arjen Markus. [Patch 521362]
* added description of [namepace forget] behaviour for unqualified patterns ↵Miguel Sofer2002-06-032-8/+18
| | | | [Bug 559268]
* reverting an accidental modification in the last commit.Miguel Sofer2002-06-032-61/+6
|
* clarify the empty variable name issue ([Bug 549285])Miguel Sofer2002-06-033-5/+71
|
* * Fixed leak of slave interp in [pkg_mkIndex].dgp2002-05-312-2/+5
| | | | Thanks to Helmut for report. [Bug 550534]
* * Use the "stdio" constraint to control whetherdgp2002-05-313-12/+16
| | | | an [open "|[interpreter]"] is attempted.
* * Removed internal routinedgp2002-05-319-333/+132
| | | | | | | | TclMathInProgress and Unix implementation of matherr(). These are now obsolete, dealing with very old versions of the C math library. Windows version is retained in case Borland compilers require it, but it is inactive. Thanks to Joe English. [Bug 474335, Patch 555635].
* cleanup in [expr] compilerMiguel Sofer2002-05-304-71/+11
|
* glob fixesvincentdarley2002-05-303-31/+86
|
* updated strcmp stuff, see ChangeLoghobbs2002-05-301-0/+16
|
* * unix/configure: regen'edhobbs2002-05-304-350/+388
| | | | | | | | | * unix/configure.in: replaced bigendian check with autoconf standard AC_C_BIG_ENDIAN, which defined WORDS_BIGENDIAN on bigendian systems. * generic/tclUtf.c (Tcl_UniCharNcmp): * generic/tclInt.h (TclUniCharNcmp): use WORDS_BIGENDIAN instead of TCL_OPTIMIZE_UNICODE_COMPARE to enable memcmp alternative.
* * generic/tclExecute.c (TclExecuteByteCode INST_STR_CMP):hobbs2002-05-302-15/+13
| | | | | | | * generic/tclCmdMZ.c (Tcl_StringObjCmd): changed the case for choosing the Tcl_UniCharNcmp compare to when both objs are of StringType, as benchmarks show that is the optimal check (both bigendian and littleendian systems).
* * Removed "dummy" reference to Tcl_LinkVar.dgp2002-05-292-11/+7
| | | | | It is no longer needed since Tcl_Main() now actually calls Tcl_LinkVar(). Thanks to Joe English for pointing that out.
* commited working regenerated configurehobbs2002-05-291-709/+1459
|
* Made Tcl_UniCharNcmp faster on big-endian machines; the system memcmp()isdkf2002-05-297-1459/+813
| | | | | probably optimized far in excess of anything we could do! Little-endian just use the old code...
* * generic/tclInt.decls:hobbs2002-05-297-153/+225
| | | | | | | | | | | | | | | | | | | | | | | * generic/tclIntDecls.h: * generic/tclStubInit.c: * generic/tclUtf.c: added TclpUtfNcmp2 private command that mirrors Tcl_UtfNcmp, but takes n in bytes, not utf-8 chars. This provides a faster alternative for comparing utf strings internally. (Tcl_UniCharNcmp, Tcl_UniCharNcasecmp): removed the explicit end of string check as it wasn't correct for the function (by doc and logic). * generic/tclCmdMZ.c (Tcl_StringObjCmd): reworked the string equal comparison code to use TclpUtfNcmp2 as well as short-circuit for equal objects or unequal length strings in the equal case. Removed the use of goto and streamlined the other parts. * generic/tclExecute.c (TclExecuteByteCode): added check for object equality in the comparison instructions. Added short-circuit for != length strings in INST_EQ, INST_NEQ and INST_STR_CMP. Reworked INST_STR_CMP to use TclpUtfNcmp2 where appropriate, and only use Tcl_UniCharNcmp when at least one of the objects is a Unicode obj with no utf bytes.
* * generic/tclCompCmds.c (TclCompileStringCmd): removed errorhobbs2002-05-291-7/+1
| | | | creation in code that no longer throws an error.
* added more string comparison checkshobbs2002-05-292-2/+26
|
* better qualified 9.1 constraint check for %shobbs2002-05-291-4/+7
|
* * tests/clock.test: added clock-9.1hobbs2002-05-297-17/+58
| | | | | | | | | | | | * compat/strftime.c: * generic/tclClock.c: * generic/tclInt.decls: * generic/tclIntDecls.h: * unix/tclUnixTime.c: fix for Windows msvcrt mem leak caused by using an env(TZ) setting trick for in clock format -gmt 1. This also makes %s seem to work correctly with -gmt 1 as well as making it a lot faster by avoid the env(TZ) hack. TclpStrftime now takes useGMT as an arg. [Bug #559376]
* * generic/tclThreadAlloc.c (TclpRealloc, TclpFree): protecthobbs2002-05-291-26/+32
| | | | against the case when NULL is based.
* load cleanup in vfsvincentdarley2002-05-282-8/+63
|
* D'oh! Accidentally made this file uncompilable. Added some extradkf2002-05-281-59/+65
| | | | commenting as part of fixing process.
* Better handling of EOVERFLOW on Win32 systems (as EFBIG or EINVAL.)dkf2002-05-274-10/+21
|
* * tests/winPipe.test: Applied patch for SF Tcl Bug #549617. Patchandreas_kupries2002-05-242-6/+9
| | | | and bug report by Kevin Kenny <kennykb@users.sourceforge.net>.
* TIP#91 implementation; makes old style channels binary compatible withdkf2002-05-2413-159/+580
| | | | new TIP#72-enabled Tcl. See http://purl.org/tcl/tip/91 for details.
* * win/tclWinSock.c (TcpWatchProc): Fixed SF Tcl Bug #557878. Weandreas_kupries2002-05-242-20/+30
| | | | | | are not allowed to mess with the watch mask if the socket is a server socket. I believe that the original reporter is George Peter Staplin.
* * unix/configure: Regen.mdejong2002-05-214-88/+114
| | | | | | | | | * unix/configure.in: Invoke SC_ENABLE_SHARED before calling SC_CONFIG_CFLAGS so that the SHARED_BUILD variable can be checked inside SC_CONFIG_CFLAGS. * unix/tcl.m4 (SC_CONFIG_CFLAGS): Pass -non_shared instead of -shared to ld when configured with --disable-shared under OSF. [Tcl bug 540390]
* * generic/tclInt.h: added prototype for TclpFilesystemPathType().das2002-05-203-3/+18
| | | | | * mac/tclMacChan.c: use MSL provided creator type if available instead of the default 'MPW '.
* doc/CrtObjCmd.3: Added Tcl_GetCommandFromObj, Tcl_GetCommandFullNamejenglish2002-05-171-0/+5
| | | | (Tcl Bug #547987, #414921)
* Added Tcl_GetCommandFromObj, Tcl_GetCommandFullNamejenglish2002-05-171-3/+20
| | | | (Tcl Bug #547987, #414921)
* More tidying up; tclUnixChan.c now builds with GCC without warnings.dkf2002-05-142-480/+462
|
* memory cleanupvincentdarley2002-05-143-12/+22
|
* Stop Solaris from generating a warning; the second argument to ioctl has beendkf2002-05-132-2/+13
| | | | observed to be either signed (Solaris) or unsigned (Linux)...
* memory cleanupvincentdarley2002-05-135-12/+81
|
* commentvincentdarley2002-05-131-3/+5
|
* * Corrected some list-quoting issues anddgp2002-05-104-10/+18
| | | | | other matters that cause tests to fail when the patch includes special characters. Report from Vince Darley. [Bug 554068].