summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* * 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
|
* Made error message for cd cmd consistant with 8.1.rjohnson1998-12-231-2/+2
|
* eliminated purify warning and other lintstanton1998-11-192-7/+10
|
* Fixed some tests which were failing on the Mac because of path differences. ↵jingham1998-11-102-9/+15
| | | | Added a test to the resource tests to cover the but I fixed. Fixed the stat test commands - the mac files were getting a leading :, which the test commands did not expect
* Fixed the Tcl_NotifyChannel bug, plus added a test case for it.welch1998-10-301-12/+4
| | | | | | Simply replaced Tcl_RegisterChannel/UnregisterChannel with Tcl_Preserve/Tcl_Release was all it took. Chanels are already "eventually freed"
* Fixed a typo in tcl_findLibrary, and fixed the logic that ensureswelch1998-10-231-4/+3
| | | | | the parent directory of tcl_library is on the auto_path. Added a comment to init.tcl about how auto_path is initialized.
* Added README and README.binary to the list of files to modifyescoffon1998-10-171-1/+3
|
* Added fix to list processing in tclNotify that could cause events to be dropped.rjohnson1998-10-141-3/+7
| | | | Added test to intetp test suite.
* Fixed bug in Tcl_SetListObj - it used to create invalid Tcl_Obj if you passedrjohnson1998-10-134-4/+10
| | | | | | in 0 elements. Despite what docs said. Also updated a few copyright notices.
* Fixed bug in "lsort -dictionary" that caused problems when comparingrjohnson1998-10-131-3/+3
| | | | numbers that started with 0.
* Bumped patch number to 8.0.4escoffon1998-10-131-3/+3
|
* Fixed bug in "info complete" - it did not handle NULLs correctly.rjohnson1998-10-131-5/+3
|
* Minor changes in test file & C style.rjohnson1998-10-061-6/+1
|
* Added a new Tcl object called "procbody"; this object's internalescoffon1998-10-054-119/+711
| | | | | | | 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-292-20/+2
| | | | by any implementation.
* Replaced SCCS strings, fixed binary filescore_8_0_3stanton1998-09-1458-58/+58
|
* Restored attributionwelch1998-08-131-1/+6
|
* updated copyright info & sccs idsrjohnson1998-08-102-7/+4
|
* fixed a few code style issuesrjohnson1998-08-101-2/+7
|
* fixed style problemsrjohnson1998-08-101-13/+19
|
* Moved shared typedef herewelch1998-08-101-1/+16
|
* Moved data struct to tclInt.hwelch1998-08-101-15/+0
|
* Fixed to handle import links when redefining commandswelch1998-08-101-3/+55
|
* changed isArg/isTemp to flagsstanton1998-08-071-16/+54
| | | | made resolver api more object oriented
* replaced isArg/isTemp with flagsstanton1998-08-071-2/+2
|
* changed resolver epoch so it only invalidates the resolver cachestanton1998-08-071-60/+39
| | | | | | rather than forcing a complete recompile of the byte codes changed to use TclInitCompiledLocals changed resolver api to be a bit more object oriented
* added TclInitCompiledLocalsstanton1998-08-071-91/+128
| | | | deferred resolver caching code to procedure invocation time
* changed isArg and isTemp fields to us flags field in CompiledLocal structurestanton1998-08-071-4/+5
|
* Nuked / from file pathswelch1998-08-071-5/+5
|
* Added unix/arch possibility to library search pathwelch1998-08-061-2/+17
|
* changed the panic in TclProcCompileProc when a precompiled script jumpsescoffon1998-08-061-2/+4
| | | | interps to an error instead.
* 8.0.3welch1998-08-061-2/+2
|
* 8.0.3-5welch1998-08-041-19/+2
|
* a few more fixes, hope this is the last one!escoffon1998-08-041-5/+5
|
* EXPORT is now TCL_STORAGE_CLASSescoffon1998-08-044-16/+16
|