summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * 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.
* * Fixes to test suite when there's a spacedgp2002-05-082-2/+5
| | | | in the working path. Thanks to Kevin Kenny.
* * Fixes to test suite when there's a spacedgp2002-05-085-32/+42
| | | | in the working path. Thanks to Kevin Kenny.
* * Corrected [uplevel] quoting whendgp2002-05-081-2/+2
| | | | [source]-ing test script in subdirectories.
* no messagedavygrvy2002-05-081-0/+15
|
* winhelp conversion tools where understand a ' as the first character on a linedavygrvy2002-05-082-22/+20
| | | | | as an unknown macro. Not knowing how to repair tools/man2tcl.c, I decided to rearrange the text in the docs instead.
* Added 'runtest' target. Added docs as dependencies for winhelp rtf.davygrvy2002-05-081-14/+19
| | | | Changes from Peter Spjuth <peter.spjuth@space.se>.
* Improved handling of CS/CE fields. Use Courier New and indent better.davygrvy2002-05-081-7/+14
| | | | Changes from Peter Spjuth <peter.spjuth@space.se>.
* Increased line buffer size and a bail-out if that should ever be over-run.davygrvy2002-05-081-2/+8
| | | | Changes from Peter Spjuth <peter.spjuth@space.se>.
* Made code samples use the Courier New fixed-width font. Changes fromdavygrvy2002-05-081-2/+2
| | | | Peter Spjuth <peter.spjuth@space.se>.
* fix to bug 553320vincentdarley2002-05-076-28/+56
|
* Fix for bugs #549607 & #549610: testsuite failures for filenames with spaces.Miguel Sofer2002-05-073-7/+14
|
* fix to 551306vincentdarley2002-05-0211-108/+349
|
* * unix/configure:hobbs2002-04-263-2/+8
| | | | | * unix/tcl.m4: change HP-11 SHLIB_LD_LIBS from "" to ${LIBS} so that the .sl knows its dependent libs.
* Added more thorough tests for handling of conversion to boolean.dkf2002-04-262-1/+15
|