summaryrefslogtreecommitdiffstats
path: root/generic/tcl.decls
Commit message (Collapse)AuthorAgeFilesLines
* TIP #356 IMPLEMENTATIONdgp2009-09-241-1/+6
| | | | | | | | | | * generic/tcl.decls: Promote internal routine TclNRSubstObj() * generic/tclCmdMZ.c: to public Tcl_NRSubstObj(). Still needs docs. * generic/tclCompile.c: * generic/tclInt.h: * generic/tclDecls.h: make genstubs * generic/tclStubInit.c:
* TIP #353 IMPLEMENTATIONdgp2009-08-121-1/+6
| | | | | | | | | | | | | | * doc/NRE.3: New public routine Tcl_NRExprObj() permits * generic/tcl.decls: extension commands to evaluate Tcl expressions * generic/tclBasic.c: in NR-enabled command procedures. * generic/tclCmdAH.c: * generic/tclExecute.c: * generic/tclInt.h: * generic/tclObj.c: * tests/expr.test: * generic/tclDecls.h: make genstubs * generic/tclStubInit.c:
* [Bug 218977] Tcl_DbCkfree needs a return valuenijtmans2009-02-271-2/+2
| | | | don't use CONST84/CONST86 in internal header files
* CONSTify TclPrintInstruction and TclpNativeJoinPath (TIP #27)nijtmans2009-01-221-4/+4
| | | | | {unix win} in *.decls is equivalent to {generic} tclGetDate.y, tclDate.c: single internal const decoration
* Fix my silly blunders. [Bug 2470237]dkf2008-12-271-3/+5
|
* Assorted minor corrections to the Zlib C API to make it work with the PNGdkf2008-12-271-2/+2
| | | | implementation better.
* Updated comments in tcl.decls based on code archaeology.dkf2008-12-261-44/+62
|
* VOID -> voidnijtmans2008-12-181-3/+3
|
* TIP #332 IMPLEMENTATION - Half-Close for Bidirectional Channelsferrieux2008-12-181-1/+6
|
* * generic/tcl.h: Add TIP 338 routines to stub table.dgp2008-12-161-1/+9
| | | | | | | * generic/tcl.decls: [Bug 2431338]. * generic/tclDecls.h: make genstubs * generic/tclStubInit.c:
* * doc/AddErrInfo.3: Documented Tcl_(Set|Get)ErrorLine (TIP 336).dgp2008-12-151-2/+2
| | | | | | | | * doc/CrtCommand.3: Various other documentation updates to * doc/CrtInterp.3: reflect the lack of access to Tcl_Interp fields * doc/Interp.3: by default. * doc/SetResult.3: * doc/tcl.decls:
* Correctionsdkf2008-12-111-15/+13
|
* First hack at TIP#234dkf2008-12-111-3/+50
|
* TIP #337 IMPLEMENTATIONdgp2008-12-091-1/+6
| | | | | | | | | | | | | | | | | | | * doc/BackgdErr.3: Converted internal routine * doc/interp.n: TclBackgroundException() into public routine * generic/tcl.decls: Tcl_BackgroundException(). * generic/tclEvent.c: * generic/tclInt.decls: * generic/tclDecls.h: make genstubs * generic/tclIntDecls.h: * generic/tclStubInit.c: * generic/tclIO.c: Update callers. * generic/tclIOCmd.c: * generic/tclInterp.c: * generic/tclTimer.c: *** POTENTIAL INCOMPATIBILITY only for extensions using the converted internal routine ***
* Implement TIP#335dkf2008-12-051-3/+8
|
* Implement TIP#307.dkf2008-12-051-204/+199
|
* TIP #336 IMPLEMENTATIONdgp2008-12-021-1/+9
| | | | | | | | | | | | | | | | | | * generic/tcl.decls: New routines Tcl_(Get|Set)ErrorLine. * generic/tcl.h: Dropped default access to interp->errorLine. * generic/tclCmdAH.c: Restore it with -DUSE_INTERP_ERRORLINE. * generic/tclCmdMZ.c: Updated callers. * generic/tclDictObj.c: * generic/tclIOUtil.c: * generic/tclNamesp.c: * generic/tclOOBasic.c: * generic/tclOODefinedCmds.c: * generic/tclOOMethod.c: * generic/tclProc.c: * generic/tclResult.c: * generic/tclDecls.h: make genstubs * generic/tclStubInit.c:
* Fix signature and implementation of Tcl_HashStats,nijtmans2008-11-171-2/+2
| | | | such that it conforms to the documentation.
* Letting CONST die a slow and graceful death, since NO_CONST wasnijtmans2008-10-221-285/+285
| | | | broken since 8.4 and no-one complained about it.
* * doc/FileSystem.3: CONSTified Tcl_FSFileAttrStringsProcnijtmans2008-10-051-2/+2
| | | | | | | | | | | | | | | * generic/tclFCmd.c: and tclpFileAttrStrings. This allows * generic/tclIOUtil.c: FileSystems to report their attributes * generic/tclTest.c: as const strings, without worrying that * unix/tclUnixFCmd.c: Tcl modifies them (which Tcl should not * win/tclWinFCmd.c: do anyway, but the API didn't indicate that) * generic/tcl.decls * generic/tclDecls.h: regenerated * generic/tcl.h: make sure that if CONST84 is defined as empty, CONST86 should be defined as empty as well (unless overridden). This change complies with TIP #27 *** POTENTIAL INCOMPATIBILITY ***
* * doc/ChnlStack.3: CONSTified the typePtr argumentnijtmans2008-10-041-5/+6
| | | | | | | | | | | * doc/CrtChannel.3: of Tcl_CreateChannel and Tcl_StackChannel * generic/tcl.decls and the return value of Tcl_GetChannelType * generic/tcl.h * generic/tclIO.h * generic/tclIO.c * ChangeLog * generic/tclDecls.h: regenerated This change complies with TIP #27.
* * doc/Hash.3: CONSTified the typePtr argumentnijtmans2008-10-041-2/+2
| | | | | | | | | * generic/tcl.decls: of Tcl_InitCustomHashTable. * generic/tcl.h * generic/tclHash.c * ChangeLog * generic/tclDecls.h: regenerated This change complies with TIP #27.
* * doc/RegConfig.3: CONSTified the configuration argumentnijtmans2008-10-041-2/+2
| | | | | | | | | * generic/tcl.decls: of Tcl_RegisterConfig. * generic/tclConfig.c * generic/tclPkgConfig.c * ChangeLog * generic/tclDecls.h: regenerated This change complies with TIP #27.
* * doc/GetIndex.3: CONSTified the tablePtr argumentnijtmans2008-10-041-2/+2
| | | | | | | | * generic/tcl.decls: of Tcl_GetIndexFromObj. * generic/tclIndexObj.c * ChangeLog * generic/tclDecls.h: regenerated This change complies with TIP #27.
* typodkf2008-10-031-2/+2
|
* Implement TIP #265. [FRQ 1446696]dkf2008-10-021-1/+6
|
* Implement TIP 314. [Patch 1901783]dkf2008-09-281-1/+12
|
* Implement TIP #316.dkf2008-09-241-1/+42
|
* * generic/tcl.h: Reduced the use of CONST86 and eliminateddgp2008-08-211-15/+15
| | | | | | | | | | | | * generic/tcl.decls: the use of CONST86_RETURN to support source code compatibility with Tcl 8.5 on those public routines passing (Tcl_Filesystem *), (Tcl_Timer *), and (Tcl_Objtype *) values which have been const-ified. What remains is the minimum configurability needed to support code written for pre-8.6 headers via the new -DUSE_COMPAT85_CONST compiler directive. *** POTENTIAL INCOMPATIBILITY *** * generic/tclDecls.h: make genstubs
* Completely revamped NRE implementation, with (almost) unchanged API.Miguel Sofer2008-07-291-14/+14
|
* * doc/FileSystem.3: CONSTified many functions using Tcl_FileSystemnijtmans2008-07-281-8/+8
| | | | | | | | | | | * generic/tcl.decls: which all are supposed to be a constant, but * generic/tclDecls.h: this was not reflected in the API: * generic/tclFileSystem.h: Tcl_FSGetInternalRep * generic/tclIOUtil.c: Tcl_FSNewNativePath, Tcl_FSData * generic/tclPathObj.c: Tcl_FSRegister, Tcl_FSUnregister * generic/tclTest.c: Tcl_FSGetFileSystemForPath ... This change complies with TIP #24. ***POTENTIAL INCOMPATIBILITY***
* * doc/Object.3 CONSTified 3 functions usingnijtmans2008-07-271-4/+4
| | | | | | | | | | | | | | | * doc/ObjectType.3 Tcl_ObjType which all are supposed * generic/tcl.decls to be a constant, but this was not * generic/tcl.h reflected in the API: * generic/tclDecls.h Tcl_ConvertToType * generic/tclObj.c Tcl_GetObjType * generic/tclCompCmds.c Tcl_RegisterObjType * generic/tclOOMethod.c Introduced a CONST86_RETURN, so extensions which * generic/tclTestobj.c use Tcl_ObjType directly can be modified to compile against both Tcl 8.5 and Tcl 8.6 tclDecls.h is re-generated with "make genstubs" This change complies with TIP #24 ***POTENTIAL INCOMPATIBILITY***
* just a few const -> CONST (in header files and .decls files)nijtmans2008-07-241-3/+3
| | | | and CONST -> const (.c files and internal .h files)
* CONSTified 4 functions in the Notifier which all have a Tcl_Time* in it which isnijtmans2008-07-241-5/+5
| | | | | | | | | | | supposed to be a constant, but this was not reflected in the API: Tcl_SetTimer Tcl_WaitForEvent Tcl_ConditionWait Tcl_SetMaxBlockTime Introduced a CONST86, so extensions which have their own Notifier (are there any?) can be modified to compile against both Tcl 8.5 and Tcl 8.6. This change complies with TIP #24
* TIP #304 implementationferrieux2008-07-211-1/+7
|
* * generic/tcl.decls: Changed the implementation ofMiguel Sofer2008-07-211-3/+3
| | | | | | | | | | * generic/tclBasic.c: [namespace import]; removed * generic/tclDecls.h: Tcl_NRObjProc, replaced with * generic/tclExecute.c: Tcl_NRCmdSwap (proposed public * generic/tclInt.h: NRE API). This should fix * generic/tclNRE.h: [Bug 582506]. * generic/tclNamesp.c: * generic/tclStubInit.c:
* * generic/tcl.decls: Change the public api prefix fromMiguel Sofer2008-07-181-7/+7
| | | | | | | | | | | | | | | | | * generic/tcl.h: TclNR_foo to Tcl_NRfoo * generic/tclBasic.c: * generic/tclDecls.h: * generic/tclDictObj.c: * generic/tclExecute.c: * generic/tclInterp.c: * generic/tclNRE.h: * generic/tclNamesp.c: * generic/tclOO.c: * generic/tclOOBasic.c: * generic/tclOOCall.c: * generic/tclOOMethod.c: * generic/tclProc.c: * generic/tclStubInit.c:
* NRE implementation [Patch 2017110]Miguel Sofer2008-07-131-1/+34
|
* TIP 285 ImplementationJoe Mistachkin2008-06-131-1/+10
|
* * generic/tcl.decls: remove 'export' declarations of symbols nowdas2008-04-021-27/+1
| | | | only in libtclstub and no longer in libtcl.
* fix typosdas2008-03-191-3/+3
|
* Added exported non-stub function Tcl_GetMemoryInfodkf2008-03-191-1/+4
|
* merge stable branch onto HEADdgp2007-12-131-1/+1
|
* * generic/tcl.decls: use new genstubs 'export' command todas2007-12-101-79/+99
| | | | | | * generic/tclInt.decls: mark exported symbols not in stubs * generic/tclTomMath.decls: table [Tk FR 1716117]; cleanup formatting.
* fix 'make checkstubs' complaint about Tcl_PkgInitStubsCheckcore_8_5_b1das2007-09-201-1/+4
|
* * generic/tcl.decls: workaround 'make checkstubs' failures fromdas2007-05-161-1/+14
| | | | tclStubLib.c MODULE_SCOPE revert. [Bug 1716117]
* various "const" additions, in line with TIP #27nijtmans2007-02-231-18/+18
|
* TIP#298 IMPLEMENTATIONdgp2006-12-011-2/+2
| | | | | | | | | | | * generic/tcl.decls: Tcl_GetBignumAndClearObj -> Tcl_TakeBignumFromObj. * generic/tclObj.c: * generic/tclDecls.h: make genstubs * generic/tclStubInit.c: * generic/tclExecute.c: Update callers. * generic/tclMathOp.c:
* TIP#270 IMPLEMENTATIONdgp2006-11-151-1/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tcl.decls: New public routines Tcl_ObjPrintf, * generic/tclStringObj.c: Tcl_AppendObjToErrorInfo, Tcl_Format, * generic/tclInt.h: Tcl_AppendLimitedToObj, Tcl_AppendFormatToObj and Tcl_AppendPrintfToObj. Former internal versions removed. * generic/tclDecls.h: make genstubs * generic/tclStubInit.c: * generic/tclBasic.c: Updated callers. * generic/tclCkalloc.c: * generic/tclCmdAH.c: * generic/tclCmdIL.c: * generic/tclCmdMZ.c: * generic/tclCompExpr.c: * generic/tclCompile.c: * generic/tclDictObj.c: * generic/tclExecute.c: * generic/tclIORChan.c: * generic/tclIOUtil.c: * generic/tclMain.c: * generic/tclNamesp.c: * generic/tclObj.c: * generic/tclPkg.c: * generic/tclProc.c: * generic/tclStrToD.c: * generic/tclTimer.c: * generic/tclUtil.c: * unix/tclUnixFCmd.c:
* TIP 27 changes for Tcl_CreateEncodingKevin B Kenny2006-09-261-2/+2
|