summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* lintstanton1999-05-062-10/+10
|
* * doc/string.n:stanton1999-05-062-109/+386
| | | | | | | | | | | | | | | | | | | | * tests/cmdIL.test: * tests/cmdMZ.test: * tests/error.test: * tests/ioCmd.test: * tests/lindex.test: * tests/linsert.test: * tests/lrange.test: * tests/lreplace.test: * tests/string.test: * tests/cmdIL.test: * generic/tclUtil.c: * generic/tclCmdMZ.c: Replaced "string icompare/iequal" with -nocase and -length switches to "string compare/equal". Added a -nocase option to "string map". Changed index syntax to allow integer or end?-integer? instead of a full expression. This is much simpler with safeTcl scripts since it avoids double substitution issues.
* * doc/Utf.3:stanton1999-05-064-4/+115
| | | | | | | * generic/tclStubInit.c: * generic/tclDecls.h: * generic/tclUtf.c: * generic/tcl.decls: Added Tcl_UtfNcmp and Tcl_UtfNcasecmp.
* ran dos2unix on this file--Irix couldn't build Tcl because it detected strangehershey1999-05-061-1062/+1062
| | | | chars at the end of each line.
* lint and better documentation of the character vs. byte oriented commandsstanton1999-05-051-2/+2
|
* fixed memory leaksurles1999-05-051-1048/+1062
|
* * doc/string.n:stanton1999-05-041-7/+20
| | | | | | | * tests/cmdMZ.test: * tests/string.test: * generic/tclCmdMZ.c (Tcl_StringObjCmd): Changed "string length" to avoid regenerating the string rep of a ByteArray object.
* * tests/cmdIL.test:stanton1999-05-042-71/+331
| | | | | | | | | | | | | * tests/cmdMZ.test: * tests/error.test: * tests/lindex.test: * tests/linsert.test: * tests/lrange.test: * tests/lreplace.test: * tests/string.test: * generic/tclCmdMZ.c (Tcl_StringObjCmd): * generic/tclUtil.c (TclGetIntForIndex): Applied Jeff Hobbs's string patch which includes the following changes [Bug: 1845]:
* * generic/tclParse.c (Tcl_ParseCommand): Changed to avoidstanton1999-05-041-4/+10
| | | | | modifying eval'ed strings that are already null terminated. [Bug: 1793]
* * tests/binary.test:stanton1999-05-031-1/+3
| | | | | * generic/tclBinary.c (DupByteArrayInternalRep): Fixed bug where type was not being set in duplicated object.
* * Changed version to 8.1.1.stanton1999-04-301-3/+3
|
* * Merged changes from 8.1.0 branchstanton1999-04-305-23/+40
|
* Tcl_UtfToUpper and Tcl_UtfToTitle now works on badly formed Utf strings.hershey1999-04-301-6/+23
|
* fixed part of bug 1791: Tcl_UtfToUpper and Tcl_UtfToLower now work onhershey1999-04-291-8/+88
| | | | badly formed Utf strings.
* * mac/tclMacResource.c:stanton1999-04-283-14/+14
| | | | | | | | | * generic/tclListObj.c: * generic/tclObj.c: * generic/tclStringObj.c: Changed to avoid freeing the string representation before freeing the internal rep. This helps with debugging since the string rep will still be valid when the free proc is invoked.
* * generic/tclLiteral.c (TclHideLiteral): Fixed so hidden literalsstanton1999-04-281-6/+10
| | | | | get duplicated to avoid accidental sharing in the global object table.
* merged 8.1.0 changes into mainlinestanton1999-04-241-251/+248
|
* * generic/tclPort.h: Added include of tcl.h since it definesstanton1999-04-231-1/+3
| | | | | various Windows macros that are needed before deciding which platform porting file to use.
* * generic/tclEvent.c: lintstanton1999-04-231-2/+2
|
* * generic/tclInt.h:stanton1999-04-226-56/+269
| | | | | | | | | | | * 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-2114-19/+19
|
* merged the parse changes between TclPro1.2 and Tcl8.1. Fixed bug in Windows ↵surles1999-04-213-7/+45
| | | | makefile caused when the win/pkgIndex.tcl file was replaced
* added first draft of documentation for Tcl_Access and Tcl_Stat.hershey1999-04-171-3/+3
| | | | | defined Tcl_Stat and Tcl_Access to call TclStat and TclAccess instead of TclpStat and TclpAccess.
* changes make Tcl_Access and Tcl_Stat public.hershey1999-04-1710-24/+100
| | | | also one minor fix in tests/all.tcl to fix bug 1770.
* fixed bug 1811: Add TclSetPreInitScript to the stubs files.surles1999-04-163-11/+14
|
* merged tcl 8.1 branch back into the main trunkstanton1999-04-1691-26646/+45742
|
* Changed magic number so it doesn't match the plus patch, at Jan's request.stanton1999-03-121-2/+2
|
* * generic/tclAlloc.c: Changed TCL_NATIVE_MALLOC to USE_TCLALLOC sostanton1999-03-116-26/+22
| | | | | | | | | | | | | | it matches 8.1. * generic/tclBasic.c: * generic/tcl.h: * generic/tcl.decls: Changed Tcl_ReleaseType from an enum to macros so it can be used in .rc files. Added Tcl_GetString. * unix/Makefile.in: Added compat binaries to the stub library. Changed compat binaries to always compile with shared flags since they need to be shared for the stub library.
* * win/tclWinPipe.c:stanton1999-03-116-18/+60
| | | | | | | | | | | | | | | * generic/tclInt.decls: Added TclWinAddProcess to make it possible for expect to use Tcl_WaitForPid(). This patch is from Gordon Chaffee. * mac/tclMacPort.h: * win/tclWinInit.c: * unix/tclUnixPort.h: * generic/tclAsync.c: Added TclpAsyncMark to fix bug in async handling on Windows where async events don't wake up the event loop. This patch comes from Gordon Chaffee. * generic/tcl.decls: Fixed declarations of reserved slots.
* fix declarations of empty slots.redman1999-03-104-106/+5
|
* Add Tcl_GetVersion to stubs table, add 6 additional slots for future use.redman1999-03-104-4/+142
|
* Add Tcl_GetVersion C APIredman1999-03-102-12/+56
|
* Changed TCL_STUB_MAGIC back to match plus patch implementation.dev_stubs_merge_8_1_3_9_99core_8_1_merge_3_9_99stanton1999-03-101-5/+2
|
* Merged stubs changes into mainline for 8.0stanton1999-03-1029-5399/+5225
|
* * generic/tcl.decls: Added Mac specific declarations.stanton1999-03-0412-1001/+2120
| | | | | | | | | | | | | | | | | | | | | | | | * generic/tclStubs.c: * generic/tclStubInit.c: Added undefs for all of the TCL_MEM_DEBUG macros to avoid conflicts with the stub names. * generic/tclStubInit.c: * generic/tclInt.h: * generic/tclInt.decls: Moved some declarations out of the generic and into the platform specific sections. Added missing declarations and Mac specific declarations. * generic/tclInt.h: * generic/tclDate.c: * generic/tclClock.c: Created a new opaque TclpTime_t type so generic functions that depend on the format of time_t can appear in the generic header files. * generic/tclStubInit.c: * generic/tclPanic.c: * generic/tcl.h: * generic/tcl.decls: renamed Tcl_Panic back to panic to avoid incompatibilities in a patch release.
* * generic/tclStubLib.c: Added internal interface hooks.stanton1999-03-041-1/+7
|
* * unix/Makefile.in:stanton1999-03-0313-27/+10433
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * unix/configure.in: * unix/ldAix: Enhanced AIX shared library support. * win/tclWinSock.c: Removed a bunch of extraneous PASCAL FAR attributes from internal functions. * win/tclWinReg.c: Changed registry package to use stubs mechanism so it no longer depends on the specific version of Tcl. * doc/AddErrInfo.3: * doc/Eval.3: * doc/PkgRequire.3: * doc/SetResult.3: * doc/StringObj.3: * generic/tcl.h: * generic/tclBasic.c: * generic/tclPanic.c: * generic/tclStringObj.c: * generic/tclUtil.c: * unix/mkLinks: Added va_list versions of all VARARGS functions so they can be invoked from the stub functions. * doc/package.n: * doc/PkgRequire.3: * generic/tclPkg.c: Added Tcl_PkgProvideEx, Tcl_RequireEx, Tcl_PresentEx, and Tcl_PkgPresent. Added "package present" command. * generic/tclFileName.c: * mac/tclMacFile.c: * mac/tclMacShLib.exp: * unix/tclUnixFile.c: * win/tclWinFile.c: Changed so TclGetUserHome is defined on all platforms, even though it is currently a noop on mac and windows, and renamed it to TclpGetUserHome. * generic/tclCkalloc.c: Added stub versions of memory checking functions when compiling without TCL_MEM_DEBUG. * doc/ByteArrObj.3: * generic/tcl.h: * generic/tclBinary.c: * generic/tclObj.c: Ported the 8.1 ByteArray type back to 8.0. * generic/tcl.decls: * generic/tcl.h: * generic/tclBasic.c: * generic/tclDecls.h: * generic/tclInt.decls: * generic/tclInt.h: * generic/tclIntDecls.h: * generic/tclIntPlatDecls.h: * generic/tclIntPlatStubs.c: * generic/tclIntStubs.c: * generic/tclPlatDecls.h: * generic/tclPlatStubs.c: * generic/tclStubInit.c: * generic/tclStubLib.c: * generic/tclStubs.c: * tools/genStubs.tcl: * unix/configure.in: * unix/Makefile.in: * unix/tclConfig.sh.in: * win/makefile.vc: * win/tclWinPort.h: Added Tcl stubs implementation. There are now two new macros USE_TCL_STUBS and USE_TCL_STUB_PROCS that enable use of stubs and disable stub macros respectively. All of the public and private function declarations from tcl.h and tclInt.h have moved into the *.decls files and the *Stubs.c and *Decls.h files are generated using the genStubs.tcl script. * generic/tclPanic.c: * generic/panic.c: renamed panic to Tcl_Panic, added macro for backwards compatibility, renamed file to tclPanic.c
* * generic/tclInt.h:stanton1999-02-032-72/+75
| | | | | | | | * 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.
* * test/winPipe.test: Changed to remove echoArgs.tcl temporary filestanton1999-02-031-8/+5
| | | | | | | | | | when done. * tests/cmdAH.test: * generic/tclFileName.c (TclGetExtension): Changed behavior so the split happens at the last period in the name instead of the first period of the last run of periods. So, "foo..o" is split into "foo." and ".o" now. [Bug: 1126]
* * tests/interp.test:stanton1999-02-031-24/+2
| | | | | | * generic/tclInterp.c (DeleteAlias): Changed to use Tcl_DeleteCommandFromToken so we handle renames properly. This avoids senseless panic. [Bug: 736]
* * win/tclAppInit.c:stanton1999-02-032-5/+17
| | | | | | | | | | | | * unix/tclAppInit.c: * mac/tclMacAppInit.c: * generic/tclTest.c: Changed some EXTERN declarations to extern since they are not defining exported interfaces. This avoids generating useless declspec() attributes and makes the windows makefile simpler. * generic/tcl.h: Moved Tcl_AppInit declaration to end and cleared out TCL_STORAGE_CLASS so it is not declared with a declspec().
* * generic/tclProc.c:stanton1999-02-038-292/+252
| | | | | | | | | | | | | | | | | | | | | | * 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]
* lintstanton1999-02-021-2/+1
|
* * generic/tclPosixStr.c (Tcl_ErrnoId, Tcl_ErrnoMsg): When usingstanton1999-02-021-3/+3
| | | | | egcs, ENOTSUP and EOPNOTSUPP are the same, so now we handle that case. [Bug: 1137]
* objectified open commandstanton1999-02-021-3/+3
|
* * generic/tclCompile.c (CompileExprWord): Fixed exception stackstanton1999-02-021-2/+4
| | | | overflow bug caused by missing statement. [Bug: 928]
* * generic/tclIOCmd.c:stanton1999-02-022-16/+17
| | | | * generic/tclBasic.c: Objectified the "open" command. [Bug: 1113]
* * win/makefile.vc:stanton1999-01-062-2/+30
| | | | | | * generic/tcl.h: * generic/tclAlloc.c: Added USE_NATIVEMALLOC ifdefs to make it easier to compile for use with Purify.
* Added supoport for _-dclspec on gcc - RFE 972.rjohnson1999-01-051-2/+2
| | | | Ray
* Updated the version to 8.0.5.rjohnson1999-01-041-4/+5
|