summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tclBasic.c: added new CompileProc invocations to basichobbs2001-05-179-650/+1471
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | command initialization. * generic/tclCompCmds.c: added new compile commands for append, lappend, lindex and llength. Refactored set and incr compile commands to use new TclPushVarName function for handling the varname component during compilation (also used by append and lappend). Changed string compile command to compile toplevel code as well (when possible). * generic/tclCompile.c: added new instruction enums * generic/tclCompile.h: added debug info for new instructions * generic/tclExecute.c (TclExecuteByteCode): moved elemPtr to toplevel var (oft-used). Added definitions for new bytecode instructions INST_LIST_INDEX, INST_LIST_LENGTH, INST_APPEND_SCALAR1, INST_APPEND_SCALAR4, INST_APPEND_ARRAY1, INST_APPEND_ARRAY4, INST_APPEND_ARRAY_STK, INST_APPEND_STK, INST_LAPPEND_SCALAR1, INST_LAPPEND_SCALAR4, INST_LAPPEND_ARRAY1, INST_LAPPEND_ARRAY4, INST_LAPPEND_ARRAY_STK, INST_LAPPEND_STK. Refactored repititious code for reuse with INST_LOAD_STK (same as INST_LOAD_SCALAR_STK), INST_STORE_STK (same as INST_STORE_SCALAR_STK). Updated INST_STR_CMP with style of fix of 2001-04-06 Fellows [Bug #219201] as that fix only affected the runtime eval'ed "string" (string compare is normally byte-compiled now). We may want to back these out for speed in the future, noting the problems with \x00 comparisons in the docs. * generic/tclInt.h: declarations for new compile commands. * generic/tclVar.c: change TclGetIndexedScalar, TclGetElementOfIndexedArray, TclSetElementOfIndexedArray and TclSetIndexedScalar to use flags. The Set functions now support TCL_APPEND_ELEMENT and TCL_LIST_ELEMENT as well. * generic/tclInt.decls: * generic/tclIntDecls.h: minor signature changes for above.
* generic/tclCmdMZ.c: made use of new Tcl_GetUnicodeFromObjhobbs2001-05-171-62/+60
|
* Sometimes I'm *so* stupid...dkf2001-05-161-0/+4
|
* Oops! Put it in the wrong source tree...dkf2001-05-161-95/+0
|
* * generic/tcl.decls:hobbs2001-05-154-4/+76
| | | | | | | * generic/tclDecls.h: * generic/tclStubInit.c: * generic/tclStringObj.c (Tcl_GetUnicodeFromObj): new function to parallel Tcl_GetStringFromObj (fix of an API oversight).
* * generic/tclFileName.c (ExtractWinRoot): corrected ABR errorhobbs2001-05-151-12/+11
|
* * tests/fileName.test: corrected tests not to fail on win when ahobbs2001-05-151-4/+4
| | | | C:/test dir exists.
* * unix/tclUnixPipe.c: updated pipeChannelType tohobbs2001-05-151-11/+15
| | | | TCL_CHANNEL_VERSION_2 type specification.
* Error in date of today's commits (doh!)Miguel Sofer2001-05-151-2/+2
|
* [Patch: 423617]Miguel Sofer2001-05-152-1/+8
|
* Patch from [Bug: 231259]Miguel Sofer2001-05-154-8/+43
|
* Added some documentation for the console command.dkf2001-05-152-0/+102
|
* Negative start index to [string first] caused offset return value (Bug 423581)dkf2001-05-143-2/+19
|
* * unix/Makefile.in: Add a LDFLAGS variable to themdejong2001-05-118-68/+85
| | | | | | | | | | | | | | Makefile instead of directly substing @LDFLAGS@. * unix/configure: Regen. * unix/tcl.m4: Fix CFLAGS_DEFAULT so that the name of a Makefile variable is passed as @CFLAGS@.win/tcl.m4 * win/Makefile.in: Move the setting of CFLAGS higher up in the Makefile. * win/configure: Regen. * win/configure.in: Use dnl to comment out macros so that they are not accidently expanded. * win/tcl.m4: Fix CFLAGS_DEFAULT so that the name of a Makefile variable is passed as @CFLAGS@.
* rand() gets != seeds in != threads [Bug 416643]Miguel Sofer2001-05-072-2/+13
|
* * tools/tcltk-man2html.tcl: removed use of 'exec' for portabilityhobbs2001-05-042-108/+129
| | | | and fixed up code.
* fixed minor nroff bugshobbs2001-05-031-4/+4
|
* by chance '\n' started a line, looking like a commenthobbs2001-05-031-3/+3
|
* removed extraneous 'v' from dochobbs2001-05-031-2/+2
|
* * tests/tcltest.test: removed extraneous 'c' (doh!) [Bug: 414031]hobbs2001-05-031-2/+2
|
* Fix for Bug 420186dgp2001-05-035-9/+30
|
* Patch for bug #420507Miguel Sofer2001-05-033-3/+22
|
* * tools/genStubs.tcl: Add a package require of Tcl 8mdejong2001-05-022-1/+10
| | | | | | at the beginning of the script so that the script will print a descriptive error message when run in an old Tcl 7 shell.
* Second attempt at committing the changes adding CONST qualifiers.Kevin B Kenny2001-04-271-1/+7
|
* Added several missing CONSTs in calls to TclGetNamespaceForQualNameKevin B Kenny2001-04-277-19/+28
|
* * unix/configure: Regen.mdejong2001-04-257-278/+300
| | | | | | | | * unix/tcl.m4: Subst TCL_THREADS into tclConfig.sh. * unix/tclConfig.sh.in: Add TCL_THREADS variable. * win/configure: Regen. * win/tcl.m4: Subst TCL_THREADS into tclConfig.sh. * win/tclConfig.sh.in: Add TCL_THREADS variable.
* * unix/configure: Regen.mdejong2001-04-253-17/+20
| | | | | | * unix/configure.in: Use $@ in MAKE_LIB and MAKE_STUB_LIB commands instead of using a delayed subst variable. Replace instances of STUB_LIB_FILE with TCL_STUB_LIB_FILE.
* Woops, fix last checking of broken configure.mdejong2001-04-251-0/+6351
|
* * unix/Makefile.in: Use TCL_STUB_LIB_FILE instead of STUB_LIB_FILE.mdejong2001-04-254-6359/+10
| | | | | | * unix/configure: Regen. * unix/configure.in: Don't subst STUB_LIB_FILE, use TCL_STUB_LIB_FILE instead.
* Got the encoding wrong; thanks to Richard Suchenwirth for pointing medkf2001-04-253-10/+20
| | | | in the direction of a correct encoding.
* Added some ISO8859-15 (Latin-9 or Latin-1+Euro symbol) support.dkf2001-04-254-0/+224
|
* Added a bunch of missing CONST declarations to stop warnings aboutdkf2001-04-253-11/+21
| | | | using TclGetNamespaceForQualName from the (Solaris8) SUNWspro cc.
* (TIP #27) Another round of CONST changes, thisKevin B Kenny2001-04-2416-124/+169
| | | | | | | | | time adding CONST to the API's exported from tclBasic.c. [Patch #415179] ***POTENTIAL INCOMPATIBILITY*** from 8.4a2, in which Vince Darley's changes to command tracing were added. A const has been added to the type signature of one of the parameters to Tcl_CommandTraceProc.
* Altered tclUnixTime.c in hopes of better K&R compatibility.Kevin B Kenny2001-04-102-3/+10
|
* Oops. Committed the wrong copy of the source with the last commit fiveKevin B Kenny2001-04-101-3/+3
| | | | minutes ago.
* Fixed silly typo in calls to 'gmtime' and 'localtime'.Kevin B Kenny2001-04-102-3/+8
|
* Bug #219140: Added DYNAMIC_PATH to the shl_load flags.Kevin B Kenny2001-04-092-2/+9
|
* Changes to support re-entrant coding of gmtime and localtime.Kevin B Kenny2001-04-094-169/+371
| | | | (Bugs #219136 and #232558)
* Recognise the non-numeric boolean literals (true,false,yes,no,on,off.)dkf2001-04-093-4/+70
| | | | [Bug #217777]
* Fixed typo.dkf2001-04-091-2/+2
|
* Avoid panic when there are extra items in the tcl stackMiguel Sofer2001-04-073-4/+23
| | | | [Bug #406709, Patch #414470]
* corrected behaviour of [namespace code] (Bug #219385, Patch #403530)Miguel Sofer2001-04-071-0/+9
|
* Corrected behaviour of [namespace code] (bug #219385, patch #403530)Miguel Sofer2001-04-075-15/+30
|
* 2001-04-07 Andreas Kupries <andreas_kupries@users.sourceforge.net>andreas_kupries2001-04-064-1/+146
| | | | | | | | | | | * unix/Makefile.in (checkdoc): New target, checking the definitions as found in the compiled library against the manpages to find undocumented public functionality. * unix/mkLinks: Updated to include the new manpage. * doc/UniCharIsAlpha.3: New manpage documenting the Unicode character classification APIs [Bug #218720].
* 2001-04-07 Andreas Kupries <andreas_kupries@users.sourceforge.net>andreas_kupries2001-04-065-6/+29
| | | | | | | | | | | | | * unix/mkLinks: Updated to incorporate the changes below. * doc/StringObj.3: Added 'Tcl_AttemptSetObjLength' to the NAME section. [Bug #414435]. * doc/Alloc.3: Added both 'Tcl_AttemptAlloc' and 'Tcl_AttemptRealloc' to the NAME section. [Bug #414435]. * doc/Utf.3: Added both 'Tcl_UniCharCaseMatch' and 'Tcl_UniCharNcasecmp' to the NAME section. [Bug #414435].
* Modified processing of $::errorInfo by [unknown] when the auto-loaded commanddgp2001-04-063-19/+100
| | | | | throws an error to better cover the tracks of auto-loading. [Bug 219280, Patch 403551]
* Improved documentation on behaviour of read w.r.t. serial ports.dkf2001-04-062-15/+36
| | | | [Bug #219402]
* Fixed problem with [string compare \x00 \x01] and hopefully sped thedkf2001-04-064-37/+128
| | | | | command up in a few cases too (notably byte arrays and UNICODE objects.) [Bug #219201]
* 2001-04-05 Andreas Kupries <andreas_kupries@users.sourceforge.net>andreas_kupries2001-04-053-12/+13
| | | | | * doc/Macintosh.3: Removed duplicates from .SH line [Bug #413983].
* Fixed so tclCmdMZ.c will compile with K&R compilers [Patch #413844]dkf2001-04-052-3/+8
|