summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * tools/genStubs.tcl: Reorganized code to support mixed generic dev_stubs_branchstanton1999-03-1018-3526/+3635
| | | | | | | | | | | | | and platform specific tables. * generic/tclInt.decls: Removed TclCompile*Cmd routines from the table. * generic/tcl.decls: Moved old Unix fd handler routines into generic table and modified stubs ordering to match the plus patch. * win/tclWinChan.c (FileSeekProc): Fixed bug where errors during seeking were not getting propagated.
* * win/tclWinInt.h:stanton1999-03-089-300/+4041
| | | | | | | | | | | | * generic/tclInt.h: * generic/tclIntDecls.h: * generic/tclIntPlatDecls.h: * generic/tclIntPlatStubs.c: * generic/tclIntStubs.c: * generic/tclStubInit.c: * generic/tclInt.decls: Removed initialization and finalization routines from the stub table since these should never be called by an extension.
* *** empty log message ***stanton1999-03-081-0/+14
|
* * unix/Makefile.in:stanton1999-03-069-755/+126
| | | | | | | | | | | | | * generic/tcl.decls: * generic/tclCompile.h: * generic/tclCompileDecls.h: * generic/tclCompileStubs.c: * generic/tclDecls.h: * generic/tclInt.decls: * generic/tclInt.h: * generic/tclStubInit.c: Removed tclCompile.h functions. Moved TclGetAuxDataType to tclInt.h so it is available for use by the TclPro Byte Compiler loader.
* * unix/configure.in: Applied patch from Jan Nijtmans to fix thestanton1999-03-062-8/+27
| | | | | | | | | | | | | | | | | | | | following problems: - There seems to be a HP-UX-11 already, which behaves identical to HP-UX-10. - For 64-bit IRIX, SHLIB_LD_LIBS should be set to '${LIBS}'. This also has the side-effect that SHLIB_LD doesn't need the -rpath option any more: it is already part of ${LIBS} - Fix Linux to use the -rpath option. - On Solaris, LD_SEARCH_FLAGS can only be used with the linker, not with the compiler, because the "-Wl," part is missing. - The TCL_LD_SEARCH_FLAGS should be used in static executables as well as dynamically linked ones. Otherwise, static executables have a different search strategy for dynamically loadable stub-enabled extensions than executables using shared libraries. This effects extensions which load other libraries in turn.
* minor fix to checkstubs targetstanton1999-03-051-5/+5
|
* * generic/tclCompile.h:stanton1999-03-0520-119/+8378
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclStubInit.c: * generic/tclCompileDecls.h: * generic/tclCompileStubs.c: * generic/tclInt.decls: Added functions from tclCompile.h into a new tclCompile interface. * generic/tclStubs.c: * generic/tclDecls.h: * generic/tcl.decls: Added Tcl_InitMemory. * generic/tclStubLib.c: Changed to define USE_TCL_STUBS and USE_TCL_STUB_PROCS automatically. * unix/Makefile.in: Changes to get stubs mechanism working. * generic/tclGetDate.y: Updated to reflect tclDate.c changes. * tools/genStubs.tcl: * generic/tclProc.c: * generic/tclStubInit.c: * generic/tclTest.c: * unix/tclUnixFile.c: * unix/tclUnixPort.h: lint * win/makefile.vc: * generic/tclAlloc.c: Changed USE_NATIVEMALLOC to USE_NATIVE_MALLOC.
* * generic/tcl.decls: Added Mac specific declarations.stanton1999-03-042-20/+29
| | | | | | | | | | | | | | | | | | | | | | | | * 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.
* * mac/tclMacChan.c: Added stub implementation ofstanton1999-03-041-1/+30
| | | | | Tcl_MakeFileChannel that doesn't do anything. This could be implemented at a later date.
* * unix/tclUnixSock.c: Added TclHasSockets.stanton1999-03-041-1/+24
|
* * unix/tclUnixFile.c:stanton1999-03-045-13/+61
| | | | | | | | | | * mac/tclMacShLib.exp: * mac/tclMacFile.c: * generic/tclFileName.c: * win/tclWinFile.c: Renamed TclpGetUserHome back to TclGetUserHome for patch level compatibility. * unix/tclUnixFile.c: Added TclpAccess and TclpState.
* * win/tclWinPort.h:stanton1999-03-044-139/+8
| | | | | | * mac/tclMacPort.h: * mac/tclMacInt.h: * mac/tclMac.h: Added Mac specific declarations.
* * win/tclWinInt.h:stanton1999-03-043-3/+73
| | | | | * win/tclWin32Dll.c: * unix/tclUnixInit.c: Added TclpCheckStackSpace.
* * unix/Makefile.in:stanton1999-03-042-16/+84
| | | | | * generic/tclAlloc.c: Changed so stub versions of TclpAlloc, etc. are generated when TCL_MEM_DEBUG is not defined.
* * unix/tclUnixTime.c: Added TclpGetDate and TclStrftime.stanton1999-03-045-15/+76
| | | | | | | | | | * win/tclWinTime.c: * unix/tclUnixTime.c: * mac/tclMacTime.c: * 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.
* * unix/tclUnixPort.h: Eliminated various Tclp* macros that havestanton1999-03-041-35/+1
| | | | been replaced with function defintions.
* removed panic.cstanton1999-03-031-99/+0
|
* * unix/Makefile.in:stanton1999-03-0343-11599/+1541
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* * unix/Makefile.in:stanton1999-03-0315-27/+11415
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* updated old URL in READMEhershey1999-02-261-2/+4
|
* renamed tcl.hpj to tcl.hpj.instanton1999-02-191-0/+0
|
* changed so helpfile generation can work from the build environmentstanton1999-02-193-20/+35
|
* updated for 8.0.5 with John O's changes.hershey1999-02-171-108/+182
|
* * library/init.tcl: Fixed auto_mkindex so it handles .tbc files.stanton1999-02-111-11/+39
| | | | | Did some general cleanup to handle bad eval statements that didn't use "list".
* updated readmes for 8.0.5 releasestanton1999-02-093-63/+27
|
* updated man page generation for TclProstanton1999-02-052-6/+5
|
* lintstanton1999-02-051-2/+2
|
* * 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-034-13/+46
| | | | | | | | | | 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]
* removed AC_CONFIG_SUBDIRS(dltest) since this doesn't work in our buildstanton1999-02-031-2/+1
| | | | environment
* * win/makefile.vc: Added better support for paths with spaces instanton1999-02-031-49/+50
| | | | | | the name. Added .lib and support .dlls to the install-binaries target. Added generate of a pkgIndex.tcl script to the install-libraries target.
* stripped carriage returns at end of linesstanton1999-02-031-656/+656
|
* * unix/configure.in: Changed to automatically configure in dltest.stanton1999-02-031-1/+2
|
* * tests/interp.test:stanton1999-02-032-30/+8
| | | | | | * 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-035-21/+33
| | | | | | | | | | | | * 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-039-331/+407
| | | | | | | | | | | | | | | | | | | | | | * 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]
* * unix/tclUnixChan.c:stanton1999-02-033-6/+50
| | | | | | | * win/tclWinSock.c: * doc/socket.n: Applied Gordon Chaffee's patch to handle failures during asynchronous socket connection operations. This adds a new "-error" fconfgure option to socket channels. [Bug: 893]
* lintstanton1999-02-024-12/+18
|
* Changed to pass registry dll path into test script so the test doesn'tstanton1999-02-021-2/+3
| | | | depend on being able to find a working pkgIndex.tcl file
* added tcltest as a dependency of runteststanton1999-02-021-3/+3
|
* * win/winDumpExts.c: Patched to be picker about strippingstanton1999-02-021-7/+9
| | | | @'s. [Bug: 920]
* * unix/configure.in: Added branch for BSD/OS-4* to shared librarystanton1999-02-021-5/+5
| | | | | | | | | case statement. [Bug: 975] Fixed to correctly handle IRIX 6.5 n32 library support. [Bug: 1117] * unix/configure.in: Changed Linux and IRIX to set SHLIB_LIBS to LIBS so shared libraries are linked with the system libraries. [Bug: 1018]
* * library/http2.0/http.tcl: Added catch around eof test instanton1999-02-024-8/+12
| | | | | CopyDone since the user may have already called http::reset. [Bug: 1108]
* * library/init.tcl: Various small changes requested by Jan Nijtmans.stanton1999-02-021-11/+14
| | | | | | | | | | | | | | | | | | - If the variable $tcl_library contains the empty string, this empty string will be put in $auto_path. This is not useful at all, it only slows down later package processing. - If the variable tcl_pkgPath is not set, the "unset __dir" fails. Thich makes init.tcl totally unusable. Better put a "catch" around it. - In the function tcl_findLibraries, the "string match" function only works correctly if $tcl_patchLevel is in one of the forms "?.?a?", "?.?b?" or "?.?.?". Could a "regexp" be used instead, then it allows anything to be appended to the patchLevel string. And it is more efficient. - The tclPkgSetup function assumes that if $type != "load" then the type must be "source". This needn't be true. Some users want to add their own setup types. [RFE: 1138] [Bug: 978]
* * 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-022-3/+14
| | | | 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/tclWinReg.c:stanton1999-02-022-5/+9
| | | | | * doc/registry.n: Added support for HKEY_PERFORMANCE_DATA and HKEY_DYN_DATA keys. [Bug: 1109]
* * library/init.tcl: Added catch around unset. [Bug: 978]stanton1999-02-021-2/+2
|