summaryrefslogtreecommitdiffstats
path: root/generic/tclInt.h
Commit message (Collapse)AuthorAgeFilesLines
* * doc/glob.n:hobbs1999-12-121-3/+39
| | | | | | | | | | | | | | | | * tests/fileName.test: * generic/tclInt.decls: * generic/tclInt.h: * generic/tclIntDecls.h: * generic/tclStubInit.c: * generic/tclEncoding.c: * generic/tclFileName.c: * mac/tclMacFile.c: * unix/tclUnixFile.c: * win/tclWinFile.c: enhanced the glob command with the new options -types -path -directory and -join. Deprecated TclpMatchFiles with TclpMatchFilesTypes, extended TclGlob and TclDoGlob and added GlobTypeData structure.
* * tests/expr-old.test:hobbs1999-12-041-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tests/parseExpr.test: * tests/string.test: * generic/tclGet.c: * generic/tclInt.h: * generic/tclObj.c: * generic/tclParseExpr.c: * generic/tclUtil.c: * generic/tclExecute.c: added TclCheckBadOctal routine to enhance error message checking for when users use invalid octal numbers (like 08), as well as replumbed the Expr*Funcs with a new VerifyExprObjType to simplify type handling. * tests/expr.test: * generic/tclCompile.c: fixed 'bad code length' error for 'expr + {[incr]}' case, with new test case [Bug: 3736] and seg fault on 'expr + {[error]}' (different cause) that was caused by a correct optimization that didn't correctly track how it was modifying the source string in the opt. The optimization was removed, which means that: expr 1 + {[string length abc]} will be not be compiled inline as before, but this should be written: expr {1 + [string length abc]} which will be compiled inline for speed. This prevents expr 1 + {[mindless error]} from seg faulting, and only affects optimizations for degenerate cases [Bug: 3737]
* * generic/tclIOUtil.c: changed Tcl_Alloc to ckallochobbs1999-11-101-44/+47
| | | | | | | | | * generic/tclInt.h: * generic/tclObj.c: rolled back changes from 1999-10-29 Purify noted new leaks with that code * generic/tclParse.c: added code in Tcl_ParseBraces to test for possible unbalanced open brace in a comment
* Cleanup of the TclNewObj family of macros, and elimination of thewelch1999-10-301-47/+44
| | | | | special Tcl_Obj memory allocator for the TCL_THREADS case, because this only adds lock contention.
* * generic/tcl.h:redman1999-08-021-8/+1
| | | | | | | | | | | | | * generic/tcl.decls: * generic/tclDecls.h: * generic/tclInt.h: * generic/tclInt.decls: * generic/tclIntDecls.h: * generic/tclRegexp.h: * generic/tclStubInit.c: Move some exported public and internal functions to the stub tables. Removed functions that are in the stub tables (from this and previous changes) from the original header files.
* Export functions for TclHandleredman1999-06-261-5/+5
|
* Merged String and Unicode object types. Added new functions tohershey1999-06-151-17/+1
| | | | | | | | | the puplic API: Tcl_NewUnicodeObj, Tcl_SetUnicodeObj, Tcl_GetUnicode, Tcl_GetUniChar, Tcl_GetCharLength, Tcl_GetRange, Tcl_AppendUnicodeToObj. Note: some stringObj tests are still failing--the teststringobj command still needs to be updated.
* * generic/tclUnicodeObj.c: Lots of cleanup and simplification.stanton1999-06-101-1/+6
| | | | | | | | | | | | | | | | | | | | | | | Fixed several memory bugs. Added TclAppendUnicodeToObj. * generic/tclInt.h: Added declarations for various Unicode string functions. * generic/tclRegexp.c: * generic/tclCmdMZ.c: Changed to use new Unicode string interfaces for better performance. * generic/tclRegexp.h: * generic/tclRegexp.c: * generic/tcl.h: * generic/tcl.decls: Added Tcl_RegExpMatchObj and Tcl_RegExpGetInfo calls to access lower level regexp API. These features are needed by Expect. This is a preliminary implementation pending final review and cleanup. * generic/tclCmdMZ.c: * tests/string.test: Fixed bug where string map failed on null strings.
* added TclGetUnicodeFromObj function for use with regexphershey1999-06-081-1/+2
|
* * tests/string.test:hershey1999-06-081-1/+11
| | | | | | | | | | | | | | | | | | | | | | | * generic/tclVar.c (Tcl_SetVar2Ex): * generic/tclStringObj.c (Tcl_AppendObjToObj): * generic/tclCmdMZ.c (Tcl_StringObjCmd): optimized the string index, string length, string range, and append command in cases where the object's internal rep is a bytearray. Objects with other internal reps are converted to have the new unicode internal rep. * unix/Makefile.in: * win/Makefile.in: * win/Makefile.vc: * tests/unicode.test: * generic/tclInt.h: * generic/tclObj.c: * generic/tclUnicodeObj.c: added a new object type to store the unicode representation of a string. * generic/tclTestObj.c: added the objtype option to the testobj command. This option returns the name of the type of internal rep an object has.
* * tests/regexp.test:stanton1999-05-131-21/+1
| | | | | | | | | | | | * generic/tclInt.h: * generic/tclBasic.c: * generic/tclRegexp.h: * generic/tclRegexp.c: Replaced the per-interpreter regexp cache with a per-thread cache. Changed the Regexp object to take advantage of this extra cache. Added a reference count to the TclRegexp type so regexps can be shared by multiple objects. Removed the per-interp regexp cache from the interpreter. Now regexps can be used with no need for an interpreter. [Bug: 1063]
* * generic/tclInt.h:stanton1999-04-221-3/+10
| | | | | | | | | | | * generic/tclInt.decls: * generic/tclCompile.c: Added TclSetByteCodeFromAny that takes a hook procedure to invoke after compilation but before the byte codes are emitted. This makes it possible to do postprocessing on the compiled byte codes before the ByteCode is generated. * generic/tclLiteral.c: Added TclHideLiteral and TclAddLiteralObj to make it possible to create local unshared literal objects.
* Resynced with mainline.rjohnson1999-04-211-1/+1
|
* changes make Tcl_Access and Tcl_Stat public.hershey1999-04-171-4/+3
| | | | also one minor fix in tests/all.tcl to fix bug 1770.
* merged tcl 8.1 branch back into the main trunkstanton1999-04-161-299/+586
|
* Merged stubs changes into mainline for 8.0stanton1999-03-101-374/+124
|
* * generic/tclInt.h:stanton1999-02-031-66/+66
| | | | | | | | * generic/tclNamesp.c (TclGetNamespaceForQualName): Restored signature so that TclGetNamespaceForQualName returns an int, even though it is always TCL_OK. This is needed for forwards compatibility of tbcload. This should be removed at some point, when we are willing to break forward compatibility.
* * generic/tclProc.c:stanton1999-02-031-3/+3
| | | | | | | | | | | | | | | | | | | | | | * generic/tclNamesp.c: * generic/tclInt.h: * generic/tclCmdIL.c: * generic/tclBasic.c: * generic/tclVar.c: Applied patch from Viktor Dukhovni to rationalize TCL_LEAVE_ERR_MSG behavior when creating variables. * generic/tclVar.c: Fixed bug in namespace tail computation. Fixed bug where upvar could resurrect a namespace variable whose namespace had been deleted. * generic/tclCompile.c (TclCompileExprCmd): Eliminated yet another bogus optimization in expression compilation. * generic/tclCompile.c (CompileExprWord): Fixed exception stack overflow bug caused by missing statement. [Bug: 928] * generic/tclIOCmd.c: * generic/tclBasic.c: Objectified the "open" command. [Bug: 1113]
* objectified open commandstanton1999-02-021-3/+3
|
* Fixed bug in Tcl_SetListObj - it used to create invalid Tcl_Obj if you passedrjohnson1998-10-131-1/+2
| | | | | | in 0 elements. Despite what docs said. Also updated a few copyright notices.
* Added a new Tcl object called "procbody"; this object's internalescoffon1998-10-051-1/+3
| | | | | | | representation contains both a Proc struct and its associated ByteCode. Updated tclProc.c::TclCreateProc to take procbody instances as the body argument, for future support of compiler extensions. Added the "procbodytest" package for testing all this stuff.
* Removed function declarations that were never used and not referencedrjohnson1998-09-291-14/+1
| | | | by any implementation.
* Replaced SCCS strings, fixed binary filescore_8_0_3stanton1998-09-141-1/+1
|
* Moved shared typedef herewelch1998-08-101-1/+16
|
* changed isArg/isTemp to flagsstanton1998-08-071-16/+54
| | | | made resolver api more object oriented
* EXPORT is now TCL_STORAGE_CLASSescoffon1998-08-041-5/+5
|
* - added setting of EXPORT to DLLEXPORT if we are building the Tcl lib.escoffon1998-07-291-1/+9
|
* Merged changes between child workspace "/home/escoffon/ws/tcl8.0" andescoffon1998-07-291-1/+8
| | | | parent workspace "/export/home/ws/tcl8.0".
* lintstanton1998-07-241-2/+2
|
* Updated core w/ Micheals latest changes.surles1998-07-241-2/+63
|
* Merged changes between child workspace "/home/welch/ws/tcl8.0.3i" andwelch1998-07-131-1/+71
| | | | parent workspace "/home/welch/ws/tcl8.0.3".
* Removed the extern delcaration of the variable 'tclPreInitScript'.suresh1998-07-091-9/+2
| | | | | | Added prototype for the routine "TclSetPreInitScript()'. Doing this allows for this functionality of setting the pre-init Tcl script to exist in the Tcl shared library.
* replaced the SCCS id string with %% keywordsescoffon1998-07-061-1/+1
|
* Exported {TclProc}CleanupProc, {Tcl}ProcDeleteProc, and {TclProc}InterpProcescoffon1998-07-061-0/+4
| | | | from tclProc.c, for use by the TclPro compiler.
* Changed variable name "tclAlternateInitScript" to "tclPreInitScript".suresh1998-07-011-5/+4
|
* Added extern definition of variable 'tclAlternateInitScript' which is definedsuresh1998-07-011-0/+9
| | | | in the file(s) "<platform>/tcl<platform>Init.c".
* Added function prototypes for 'TclAccess', 'TclStat', 'TclAccessInsertProc',suresh1998-06-041-0/+29
| | | | | | | 'TclAccessDeleteProc', 'TclStatInsertProc', 'TclStatDeleteProc', 'TclOpenFileChannelInsertProc', 'TclOpenFileChannelDeleteProc'. Also included are appropriate data structures for declaring the respective functions: 'TclAccessProc_', 'TclStatProc_', & 'TclOpenFileChannelProc_'.
* *** empty log message ***stanton1998-04-291-0/+1
|
* Initial revisionrjohnson1998-03-261-0/+1923