summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Comment typo correction.ericm2000-06-051-2/+2
|
* Added "released 8.4a1" lineericm2000-06-051-1/+3
|
* Corrected credits.ericm2000-06-051-6/+6
|
* Added changes since 8.3.1.ericm2000-06-051-1/+48
|
* reduced unnecessary iterations in http-3.13hobbs2000-06-021-3/+3
|
* 2000-05-29 Sandeep Tamhankar <sandeep@scriptics.com>hobbs2000-06-025-69/+164
| | | | | | | | | | | | | | | * tests/http.test * doc/http.n * library/http2.3/http.tcl: Fixed bug 5741, where unsuccessful geturl calls sometimes leaked memory and resources (sockets). Also, switched around some of the logic so that http::wait never throws an exception. This is because in an asynchronous geturl, the command callback will probably end up doing all the error handling anyway, and in an asynchronous situation, the user expects to check the state when the transaction completes, as opposed to being thrown an exception. For the http package, this menas the user can check http::status for "error" and http::error for the error message after doing the http::wait.
* added unset -- -nocomplain optionshobbs2000-06-011-0/+7
|
* * tests/set-old.test:hobbs2000-06-013-14/+79
| | | | | | * doc/unset.n: * generic/tclVar.c (Tcl_UnsetObjCmd): added -nocomplain and -- options to unset, to allow for a silent unset operation.
* * generic/tclVar.c (Tcl_ArrayObjCmd): Added support for regexp andericm2000-05-314-16/+103
| | | | | | | | | | exact matching for [array names] command. [RFE: 3684]. * doc/array.n: Added documentation for [array names -exact/-regexp/-glob] [RFE: 3684]. * tests/set-old.test: Added tests for [array names -exact/-regexp/-glob] [RFE: 3684].
* * tests/info.test:hobbs2000-05-275-15/+60
| | | | | | | | * doc/info.n: * generic/tclIOUtil.c (Tcl_EvalFile): * generic/tclCmdIL.c (InfoScriptCmd): added ability to set the info script return value [info script ?newFileName?]. This will be beneficial for virtual file system programs. [Bug: 4225]
* new compiled commands, reworked string commands for unicodehobbs2000-05-261-7/+39
|
* * generic/tclCompExpr.c: changed INST_STREQ -> INST_STR_EQ,hobbs2000-05-265-230/+456
| | | | | | | | | | | | | | | INST_STRNEQ -> INST_STR_NEQ * generic/tclCompile.c: added streq, strneq, strcmp, strlen & strmatch to the compiled stats instructionTable * generic/tclCompile.h: added instructions INST_STR_CMP, INST_STR_INDEX, INST_STR_MATCH * generic/tclCompCmds.c: added byte compiler support for [string compare|match|index]. * generic/tclExecute.c: Changed INST_STR_(N)EQ to return an Int object and not bother trying to reuse the top stack object. Added INST_STR_CMP, INST_STR_INDEX, INST_STR_MATCH bytecode ops. Extended evalstats output info with Tcl_IsShared stat info.
* * generic/tclStringObj.c (Tcl_AppendUnicodeToObj): removed dead code.hobbs2000-05-261-22/+9
| | | | | (AppendUnicodeToUnicodeRep) removed overallocation by extra sizeof(Tcl_UniChar) multiplier.
* * generic/tclInt.h:hobbs2000-05-262-2/+22
| | | | | * generic/tclObj.c (Tcl_DbIsShared): added support for checking result of Tcl_IsShared in evalstats (TCL_COMPILE_STATS).
* * generic/tclCmdMZ.c (Tcl_RegsubObjCmd): reworked to operate inhobbs2000-05-261-282/+253
| | | | | | | | | | Unicode, tweaked for performance. (Tcl_StringObjCmd) changed STR_FIRST/STR_LAST error message to something more understandable, reworked STR_FIRST, STR_LAST, STR_MAP, STR_MATCH, STR_RANGE, STR_REPLACE to operate in Unicode. Removed inneffectual STR_RANGE "special" ByteArray support. Optimized STR_MAP algorithm, especially optimized for one-pair case. Fixed possible mem overrun in STR_INDEX bytearray case.
* * tests/string.test: added string map tests for the one-pair case,hobbs2000-05-262-30/+23
| | | | | corrected tests to reflect improved error messages in first/last. Added tests against mem overrun in string index bytearray case.
* * generic/tclInt.h: Added function prototypes forericm2000-05-236-8/+335
| | | | | | | | | | | | | | | | | | | | | | TclCompileStringCmd and TclCompileReturnCmd. * generic/tclCompile.h: Added definition of INST_STRLEN opcode and updated LAST_INST_OPCODE value. * generic/tclBasic.c: Added information about TclCompileStringCmd and TclCompileReturnCmd to BuiltInCmds table. * generic/tclExecute.c (TclExecuteByteCode): Added support for the INST_STRLEN opcode. * generic/tclCompCmds.c (TclCompileStringCmd): Basic implementation of byte-compiled [string] command. Not all subcommands are implemented; those that are not an out-line compiled. (TclCompileReturnCmd): Byte-compiled implementation of [return] command. Only "simple" returns are byte-compiled; in particular, if the -code, -errorinfo or -errorcode flags are used, the command is not byte-compiled.
* * doc/scan.n:hobbs2000-05-233-6/+11
| | | | * doc/array.n: minor doc fixes [Bug: 5396]
* see changeshobbs2000-05-221-0/+12
|
* * win/tclWinFCmd.c: cast cleanup [Bug: 5627]hobbs2000-05-221-5/+5
|
* * win/tclWinSerial.c: cast cleanup [Bug: 5626]hobbs2000-05-221-3/+3
|
* * win/tclWinConsole.c: cast and header cleanup [Bug: 5625]hobbs2000-05-221-15/+6
|
* * generic/tclEnv.c: cast cleanup [Bug: 5624]hobbs2000-05-221-2/+3
|
* see changeshobbs2000-05-191-0/+14
|
* * generic/tclTest.c:hobbs2000-05-196-1192/+1227
| | | | | | | | | | | | | * generic/tclIO.c: moved channel test commands from tclIO.c to tclTest.c. * generic/tclIO.h: new file, split out from tclIO.c to allow test commands to be moved to tclTest.c. * generic/tclStubInit.c: * generic/tclIntDecls.h: * generic/tclInt.decls: removed TclTestChannel*Cmd from internal stubs table and added TclChannelEventScriptInvoker to the internal stubs table so it can be used from the test code.
* fixed patching problems for mingw compatabilityhobbs2000-05-192-29/+29
|
* * tests/clock.test: Added test for "2 days 2 hours ago" styleericm2000-05-184-79/+102
| | | | | | | | | | specifications. * generic/tclDate.c: Regenerated from tclGetDate.y. * generic/tclGetDate.y: Tweaked grammar to properly handle the "ago" keyword when it follows multiple relative unit specifiers, as in "2 days 2 hours ago". [Bug: 5497].
* see changeshobbs2000-05-181-0/+3
|
* * win/{tcl.m4,Makefile.in,configure.in}: added support for mingwhobbs2000-05-183-22/+59
| | | | compile env and cross-compiling. [Bug: 5499]
* see changeshobbs2000-05-181-0/+16
|
* * library/init.tcl (auto_import): added check to see if a validhobbs2000-05-181-1/+7
| | | | pattern was coming in, to avoid simple error cases [Bug: 3326]
* * doc/regsub.n: correct regsub docs [Bug: 5346]hobbs2000-05-181-4/+28
|
* * generic/tclClock.c (FormatClock): correct code to handle localehobbs2000-05-182-17/+21
| | | | | | | | specific return values from strftime, if any. [Bug: 3345] * unix/tclUnixInit.c (TclpSetInitialEncodings): attempt to correct setlocale calls for XIM support and locale issues. [BUG: 5422 3345 4236 2522 2521]
* * library/history.tcl: Corrected an off-by-one error in HistIndex,ericm2000-05-152-2/+16
| | | | | which was causing [history redo] to start its search at the wrong event index. [Bug: 1269].
* * generic/tclPosixStr.c (Tcl_SignalMsg): clarified #defines forhobbs2000-05-112-3/+6
| | | | Linux on Sparc to compile correctly. [Bug: 5364]
* see changeshobbs2000-05-111-0/+15
|
* * doc/namespace.n:hobbs2000-05-113-14/+94
| | | | | | * tests/namespace.test: * generic/tclNamesp.c (Tcl_NamespaceObjCmd): added 'namespace exists' command. [Bug: 4665]
* * doc/source.n:hobbs2000-05-114-6/+30
| | | | | | | | | * doc/Eval.3: * tests/source.test: * generic/tclIOUtil.c (Tcl_EvalFile): added explicit \32 (^Z) eofchar (affects Tcl_EvalFile in C, "source" in Tcl). This was implicit on Windows already, and is now cross-platform to allow for scripted documents.
* test fixhobbs2000-05-101-4/+6
|
* 2000-05-09 Andreas Kupries <a.kupries@westend.com>kupries2000-05-092-1/+9
| | | | | | | operating as proxy for David Gravereaux <davygrvy@pobox.com> * win/tclWinThrd.c (TclpInitLock, TclpMasterLock): Added missing initialization of joinLock.
* * tests/lsearch.test:ericm2000-05-093-45/+448
| | | | | | * doc/lsearch.n: * generic/tclCmdIL.c (Tcl_LsearchObjCmd): Extended [lsearch] to support sorted list searching and typed list searching. [RFE: 4098].
* * doc/expr.n:hobbs2000-05-098-28/+203
| | | | | | | | | | | | * tests/expr.test: * tests/expr-old.test: added tests for 'eq' and 'ne' * generic/tclExecute.c: * generic/tclCompile.h: added INST_STREQ and INST_STRNEQ opcodes that do strict string comparisons. * generic/tclCompExpr.c: added 'eq' and 'ne' string comparison operators. * generic/tclParseExpr.c (GetLexeme): added 'eq' and 'ne' expr parse terms (string (in)equality check).
* * generic/tclCmdIL.c (Tcl_LinsertObjCmd): made use ofhobbs2000-05-081-75/+56
| | | | | | | | Tcl_DuplicateObj where code was otherwise duplicated. Made special case of inserting one element at the end work again (where index == len). (Tcl_LreplaceObjCmd): moved Tcl_DuplicateObj call lower and cleaned up use of other arguments.
* lint chan = NULL inithobbs2000-05-081-2/+2
|
* * generic/tclObj.c (Tcl_DuplicateObj): simplified code to callhobbs2000-05-081-10/+2
| | | | TclInitStringRep, which the code was just duplicating in part.
* minor comment correctionhobbs2000-05-081-2/+2
|
* removed unreferenced varhobbs2000-05-081-2/+1
|
* removed VS/VE 8.1 macroshobbs2000-05-081-6/+3
|
* * tests/string.test: extended string match testshobbs2000-05-081-1/+34
|
* * doc/Utf.3:hobbs2000-05-087-158/+335
| | | | | | | | | | * generic/tclStubInit.c: * generic/tcl.decls: * generic/tclDecls.h: * generic/tclUtf.c: Added new functions Tcl_UniCharNcasecmp and Tcl_UniCharCaseMatch (unicode parallel to Tcl_StringCaseMatch) * generic/tclUtil.c: rewrote Tcl_StringCaseMatch algorithm for optimization and made Tcl_StringMatch just call Tcl_StringCaseMatch