summaryrefslogtreecommitdiffstats
path: root/generic/tclDecls.h
Commit message (Collapse)AuthorAgeFilesLines
* [Enh #3159920]: Tcl_ObjPrintf() crashes with bad format specifier.nijtmans2011-01-191-7/+7
|
* [FRQ 491789]: "setargv() doesn't support a unicode cmdline" implemented for ↵nijtmans2010-11-041-1/+7
| | | | Tcl on MSVC++
* Make Tcl_SetPanicProc and Tcl_GetStringResult callable without stubs, just ↵nijtmans2010-09-231-1/+5
| | | | as Tcl_SetVar.
* Make Tcl_FindExecutable() work in UNICODE compiles (windows-only) as well as ↵nijtmans2010-09-161-5/+7
| | | | | | ASCII. Needed for [FRQ 491789]: setargv() doesn't support a unicode cmdline
* [Patch 2997642] many type casts needed when using Tcl_Pkg* API. Remaining part.nijtmans2010-08-311-3/+3
| | | | Typo in rules.vc
* [Patch 2997642] many type casts needed when using Tcl_Pkg* API. Partly.nijtmans2010-08-301-8/+7
|
* [Patch 2994165]: Change signature of Tcl_FSGetNativePath and TclpDeleteFile ↵nijtmans2010-08-251-10/+5
| | | | | | follow-up: move stub entry back to original location.
* [Bug 3007895] Tcl_(Find|Create)HashEntry stub entries can never be called.nijtmans2010-08-241-5/+5
|
* [Patch 3034251]: Backport ttkGenStubs.tcl features to genStubs.tcl, partly:nijtmans2010-08-211-6/+6
| | | | Use void (*reserved$i)(void) = 0 instead of void *reserved$i = NULL for unused stub entries, in case pointer-to-function and pointer-to-object are different sizes.
* [Patch 3034251] backport ttkGenStubs.tcl features to genStubs.tcl, partly: ↵nijtmans2010-08-191-3165/+10
| | | | remove unneeded ifdeffery and put C++ guard around stubs pointer definition.
* [Patch #2994165] Change signature of Tcl_FSGetNativePath and TclpDeleteFilenijtmans2010-08-141-8/+18
|
* [Bug 3029891] Functions that don't belong in the stub table.nijtmans2010-07-241-1/+13
|
* Simplify Tcl_AppInit and *_Init definitions.nijtmans2010-06-161-3/+3
| | | | | | 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-9/+9
| | | | and some formatting fixes
* * generic/tcl.decls: [TIP #357]: First round of changesKevin B Kenny2010-04-021-1/+35
| | | | | | | | | | | | | | | | | | | | * 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:
* Follow-up to [2010-01-29] commit:nijtmans2010-02-051-526/+526
| | | | | | | | | | prevent space within stub table function parameters if the parameter type is a pointer. Minor formatting, and VOID -> void. Change signature of TclNRInterpProcCore, and TclOONewProc(Instance|)MethodEx, indicating that errorProc is a function pointer tclVar.c: fixed two gcc warnings
* - genStubs.tcl: No longer generate a space after "*" andnijtmans2010-01-291-1069/+1016
| | | | | | | | | | 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/+12
| | | | | | | | | | * 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/+12
| | | | | | | | | | | | | | * 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-3/+3
| | | | don't use CONST84/CONST86 in internal header files
* CONSTify TclPrintInstruction and TclpNativeJoinPath (TIP #27)nijtmans2009-01-221-117/+1
| | | | | {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-6/+6
|
* Assorted minor corrections to the Zlib C API to make it work with the PNGdkf2008-12-271-8/+8
| | | | implementation better.
* VOID -> voidnijtmans2008-12-181-5/+5
|
* fix line endingsdgp2008-12-181-7043/+7043
|
* TIP #332 IMPLEMENTATION - Half-Close for Bidirectional Channelsferrieux2008-12-181-7032/+7043
|
* * generic/tcl.h: Add TIP 338 routines to stub table.dgp2008-12-161-1/+22
| | | | | | | * 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-3/+3
| | | | | | | | * 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:
* regendkf2008-12-111-1/+132
|
* TIP #337 IMPLEMENTATIONdgp2008-12-091-1/+12
| | | | | | | | | | | | | | | | | | | * 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 ***
* regendkf2008-12-051-1/+11
|
* regendkf2008-12-051-125/+139
|
* TIP #336 IMPLEMENTATIONdgp2008-12-021-1/+21
| | | | | | | | | | | | | | | | | | * 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-3/+3
| | | | such that it conforms to the documentation.
* Letting CONST die a slow and graceful death, since NO_CONST wasnijtmans2008-10-221-896/+896
| | | | broken since 8.4 and no-one complained about it.
* * doc/FileSystem.3: CONSTified Tcl_FSFileAttrStringsProcnijtmans2008-10-051-3/+3
| | | | | | | | | | | | | | | * 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-7/+7
| | | | | | | | | | | * 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-3/+3
| | | | | | | | | * 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-3/+3
| | | | | | | | | * 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-3/+4
| | | | | | | | * generic/tcl.decls: of Tcl_GetIndexFromObj. * generic/tclIndexObj.c * ChangeLog * generic/tclDecls.h: regenerated This change complies with TIP #27.
* regen againdkf2008-10-031-6/+11
|
* Regendkf2008-10-021-1/+8
|
* regendkf2008-09-281-32/+49
|
* Implement TIP #316.dkf2008-09-241-1/+142
|
* * generic/tcl.h: Reduced the use of CONST86 and eliminateddgp2008-08-211-30/+29
| | | | | | | | | | | | * 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-32/+32
|
* * doc/FileSystem.3: CONSTified many functions using Tcl_FileSystemnijtmans2008-07-281-15/+17
| | | | | | | | | | | * 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-7/+8
| | | | | | | | | | | | | | | * 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-5/+5
| | | | 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-9/+10
| | | | | | | | | | | 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