summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * 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].
* no messagedavygrvy2002-05-081-0/+11
|
* Thanks to Peter Spjuth <peter.spjuth@space.se>, again. My prior fix fordavygrvy2002-05-083-23/+42
| | | | | | single-quote macro mis-understanding was wrong. Reverted to reimpliment the 'macro2' proc which handles single-quote macros and restored file.n text arrangement to avoid single-quotes on the first line.
* no messagedavygrvy2002-05-081-0/+10
|
* Opps. An SH macro had two decimals. yes, I'm reverting my reversion.davygrvy2002-05-081-2/+2
|
* Prior revisions returned. The single-quote macro misunderstanding was fromdavygrvy2002-05-082-20/+22
| | | | man2tcl.c instead.
* commit mistake reverted to 1.9 contents.davygrvy2002-05-081-2/+2
|
* Proper source of macro error misunderstanding ' as the leading macrodavygrvy2002-05-083-26/+5
| | | | command found and repaired.
* me bad grammer have, fix goodly better, now.davygrvy2002-05-081-3/+3
|
* * Fixes to test suite when there's a spacedgp2002-05-081-1/+2
| | | | in the working path. Thanks to Kevin Kenny.