summaryrefslogtreecommitdiffstats
path: root/generic/tcl.decls
Commit message (Collapse)AuthorAgeFilesLines
* [Patch 3034251] backport ttkGenStubs.tclnijtmans2010-09-151-630/+631
| | | | | | | | features to genStubs.tcl. Make the "generic" argument in the *.decls files optional (no change to any tcl*Decls.h files) This allows genStubs.tcl to generate the ttk stub files as well, while keeping full compatibility with existing *.decls files.
* [Patch 2997642] many type casts needed when using Tcl_Pkg* API. Remaining part.nijtmans2010-08-311-2/+2
| | | | Typo in rules.vc
* [Patch 2997642] many type casts needed when using Tcl_Pkg* API. Partly.nijtmans2010-08-301-4/+4
|
* [Patch 2994165]: Change signature of Tcl_FSGetNativePath and TclpDeleteFile ↵nijtmans2010-08-251-6/+2
| | | | | | follow-up: move stub entry back to original location.
* [Bug 3007895] Tcl_(Find|Create)HashEntry stub entries can never be called.nijtmans2010-08-241-3/+3
|
* [Patch #2994165] Change signature of Tcl_FSGetNativePath and TclpDeleteFilenijtmans2010-08-141-2/+6
|
* Simplify Tcl_AppInit and *_Init definitions.nijtmans2010-06-161-2/+2
| | | | | | Change TclpThreadCreate and Tcl_CreateThread signature, making clear that "proc" is a function pointer, as in all other "proc" function parameters.
* Add missing "const" in signature,nijtmans2010-04-021-6/+6
| | | | and some formatting fixes
* * generic/tcl.decls: [TIP #357]: First round of changesKevin B Kenny2010-04-021-1/+15
| | | | | | | | | | | | | | | | | | | | * generic/tclDecls.h: to export Tcl_LoadFile, Tcl_FindSymbol, * generic/tclIOUtil.c: and Tcl_FSUnloadFile to the public API. * generic/tclInt.h: * generic/tclLoad.c: * generic/tclLoadNone.c: * generic/tclStubInit.c: * tests/fileSystem.test: * tests/load.test: * tests/unload.test: * unix/tclLoadDl.c: * unix/tclLoadDyld.c: * unix/tclLoadNext.c: * unix/tclLoadOSF.c: * unix/tclLoadShl.c: * unix/tclUnixPipe.c: * win/Makefile.in: * win/tclWinLoad.c:
* - genStubs.tcl: No longer generate a space after "*" andnijtmans2010-01-291-2/+2
| | | | | | | | | | immediately after a function name, so the format of function definitions in tcl*Decls.h matches all other tcl*.h header files. - Change Tcl_ArgvFuncProc, Tcl_ArgvGenFuncProc and GetFrameInfoValueProc to be function definitions, not pointers, for consistency with all other Tcl function definitions.
* 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.