summaryrefslogtreecommitdiffstats
path: root/generic/tclDecls.h
Commit message (Collapse)AuthorAgeFilesLines
* Allow win32 build with -DTCL_NO_DEPRECATED, just as the UNIX build, off by ↵jan.nijtmans2013-01-161-0/+12
|\ | | | | | | | | default. Define Tcl_EvalObj and Tcl_GlobalEvalObj as macros, even when TCL_NO_DEPRECATED is defined, so Tk can benefit from it too (this is not what TCL_NO_DEPRECATED is supposed to do).
| * Allow win32 build with -DTCL_NO_DEPRECATED, just as the UNIX build, off by ↵jan.nijtmans2013-01-161-0/+12
| | | | | | | | | | default. Define Tcl_EvalObj and Tcl_GlobalEvalObj as macros, even when TCL_NO_DEPRECATED is defined, so Tk can benefit from it too (this is not what TCL_NO_DEPRECATED is supposed to do).
* | Extend the public stub table with dummy NULL entries, up to the size of the ↵jan.nijtmans2013-01-071-0/+162
|\ \ | |/ | | | | | | Tcl 8.6 stub tables. This makes it easier to debug extensions which use Tcl 8.6 features but (erroneously) are attempted to be loaded in Tcl 8.5.
| * Extend the public and private stub tables with dummy NULL entries, up to the ↵jan.nijtmans2013-01-071-0/+177
| | | | | | | | | | size of the Tcl 8.6 stub tables. This makes it easier to debug extensions which use Tcl 8.5/8.6 features but (erroneously) are attempted to be loaded in Tcl 8.4.
| * Remove all the long dead mac entries in tcl*.decls filesjan.nijtmans2012-11-151-18/+51
| | | | | | | | <p>backport genStubs::forAllStubs function, to generate dummy entries for some MAC_TCL entries <p>re-generate all tcl*Decls.h files.
* | fix genStubs.tcljan.nijtmans2012-05-251-9/+9
|\ \ | |/
* | Take cygwin handling of X11 into accountjan.nijtmans2012-05-241-12/+12
|\ \ | |/ | | | | Implement TclpIsAtty, Cygwin only doc/dde.n: doc fix
* | fix merge problem on Linuxjan.nijtmans2012-05-231-12/+12
|\ \
| * | MAC_OSX_TK -> MAC_OSX_TCLjan.nijtmans2012-05-221-9/+9
| | |
| * | Revert most of [fcc5957e59], since when we let cygwin share the win32 stub ↵jan.nijtmans2012-05-221-12/+12
| |\ \ |/ / / | | _ | | | | | | table this is no longer necessary implement TclpInetNtoa for win32 Let cygwin share stub table with win32
| * Revert most of [ae92de6078], since when we let cygwin share the win32 stub ↵jan.nijtmans2012-05-221-11/+11
| | | | | | | | | | | | table this is no longer necessary implement TclpInetNtoa for win32 Let cygwin share stub table with win32
* | Move cpuid testcase from win-specific to generic testsjan.nijtmans2012-05-031-2/+2
|\ \ | |/
| * Move cpuid testcase from win-specific to generic testsjan.nijtmans2012-05-031-71/+2
| | | | | | Simplify stub tables for functions which work on both UNIX and windows
| * clean-up tcl.decls the same way as tclInt.declsjan.nijtmans2012-04-031-152/+155
| |
| * make genstubsdgp2012-04-031-1227/+1212
| |
| * Tcl_HashStats does not return a CONSTjan.nijtmans2011-09-061-3/+2
| |
* | New internal routines TclScanElement() and TclConvertElement().dgp2011-05-101-4/+4
|\ \ | | | | | | Rewritten guts of machinery to produce string rep of lists. [Bug 3173086]
| * | Completed patch with mucho comments. Merge 8.5.bug_3173086dgp2011-05-101-5/+5
| | |
* | | fix genStubs.tcl in one place where it generated "void *" in stead of "VOID *"jan.nijtmans2011-03-251-5/+5
|\ \ \ | |/ / |/| / | |/ Remove Tclp(Local|Gm)time_unix forwarders, the same can be done directly Some more void -> VOID transitions
* | Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-021-2/+0
|\ \ | |/ | | more harm than good. Purged them.
| * Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-011-2/+0
| | | | | | more harm than good. Purged them.
| * * generic/tcl.decls: Implemented TIP #268, conditionally.andreas_kupries2006-09-221-1/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclBasic.c: Define TCL_TIP268 to activate the new * generic/tclDecls.h: features. * generic/tclInt.h: * generic/tclPkg.c: * generic/tclStubInit.c: * generic/tclTest.c: * library/init.tcl * library/package.tcl: * tests/pkg.test: * tests/platform.test: * tests/safe.test: * doc/PkgRequire.3:
| * TIP#218 IMPLEMENTATIONandreas_kupries2005-01-271-1/+189
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclDecls.h: Regenerated from tcl.decls. * generic/tclStubInit.c: * doc/CrtChannel.3: Documentation of extended API, * generic/tcl.decls: extended testsuite, and * generic/tcl.h: implementation. Removal of old * generic/tclIO.c: driver-specific TclpCut/Splice * generic/tclInt.h: functions. Replaced with generic * tests/io.test: thread-action calls through the * unix/tclUnixChan.c: new hooks. Update of all builtin * unix/tclUnixPipe.c: channel drivers to version 4. * unix/tclUnixSock.c: Windows drivers extended to * win/tclWinChan.c: manage thread state in a thread * win/tclWinConsole.c: action handler. * win/tclWinPipe.c: * win/tclWinSerial.c: * win/tclWinSock.c: * mac/tclMacChan.c:
| * * generic/tclDecls.h: Regenerated on a unix box.andreas_kupries2004-06-101-4142/+4142
| | | | | | | | | | | | | | * generic/tclIntDecls.h: The Win/DOS EOLs from the * generic/tclIntPlatDecls.h: last regen screwed up compilation * generic/tclPlatDecls.h: with an older gcc. * generic/tclStubInit.c:
| * * generic/tcl.h: Corrected Tcl_WideInt declarations so that the mingw Kevin B Kenny2004-06-051-4142/+4142
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | build works again. * generic/tclInt.decls: Changes to the tests for * generic/tclIntPlatDecls.h: clock frequency in Tcl_WinTime * generic/tclStubInit.c: so that any clock frequency * tests/platform.test (platform-1.3): is accepted provided that * win/tclWin32Dll.c (TclWinCPUID): all CPU's in the system share * win/tclWinTest.c (TestwincpuidCmd): a common chip, and hence, * win/tclWinTime.c (Tcl_GetTime): presumably, a common clock. This change necessitated a small burst of assembly code to read CPU ID information, which was added as TclWinCPUID in the internal Stubs. To test this code in the common case of a single-processor machine, a 'testwincpuid' command was added to tclWinTest.c, and a test case in platform.test. Thanks to Jeff Godfrey and Richard Suchenwirth for reporting this bug. [Bug #976722]
| * commit genstubs generated files with unix line endingsdgp2004-05-171-4142/+4142
| |
| * * generic/tclInt.decls: Restored TclpTime_t kludge to all Kevin B Kenny2004-05-171-4142/+4142
| | | | | | | | | | | | | | * generic/tclIntPlatDecls.h: places where it appeared before the * unix/tclUnixPort.h changes of 14 May, because use of * unix/tclUnixTime.h native time_t in its place requires * win/tclWinTime.h: the 8.5 header reforms. [Bug #955146]
| * fix for [Bug 732477]Joe Mistachkin2003-05-131-3/+3
| |
* | Backport various formatting (spacing)nijtmans2010-02-071-1592/+1435
| | | | | | | | | | | | | | changes from HEAD, so diffing between 8.5.x and 8.6 shows the real structural differences again. (any signature change not backported!)
* | fix [Bug 2308236] signature of Tcl_HashStats() wrongnijtmans2008-11-181-3/+3
| |
* | merge stable branch onto HEADdgp2007-12-131-1/+1
| |
* | * generic/tclDecls.h: regen with new genStubs.tcl.das2007-12-101-43/+143
| | | | | | | | | | | | | | * generic/tclIntDecls.h: [Bug 1834288] * generic/tclIntPlatDecls.h: * generic/tclPlatDecls.h: * generic/tclStubInit.c:
* | various "const" additions, in line with TIP #27nijtmans2007-02-231-35/+36
| |
* | TIP#298 IMPLEMENTATIONdgp2006-12-011-8/+8
| | | | | | | | | | | | | | | | | | | | | | * 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/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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:
* | * tools/genStubs.tcl: Updated script to no longer produce thedgp2006-11-151-1678/+1516
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | _ANSI_ARGS_ wrapper in generated declarations. Also revised to accept variadic prototypes with more than one fixed argument. (This is possible since TCL_VARARGS and its limitations are no longer in use). * generic/tcl.h: Some reordering so that macro definitions do not interfere with the now _ANSI_ARGS_-less stub declarations. * generic/tclDecls.h: make genstubs * generic/tclIntDecls.h: * generic/tclIntPlatDecls.h: * generic/tclPlatDecls.h: * generic/tclTomMathDecls.h:
* | TIP 27 changes for Tcl_CreateEncodingKevin B Kenny2006-09-261-3/+3
| |
* | TIP#268 IMPLEMENTATIONandreas_kupries2006-09-221-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclDecls.h: Regenerated from tcl.decls. * generic/tclStubInit.c: * doc/PkgRequire.3: Documentation of extended API, * doc/package.n: extended testsuite. * tests/pkg.test: * generic/tcl.decls: Implementation. * generic/tclBasic.c: * generic/tclConfig.c: * generic/tclInt.h: * generic/tclPkg.c: * generic/tclTest.c: * generic/tclTomMathInterface.c: * library/init.tcl: * library/package.tcl: * library/tm.tcl:
* | TIP#258 IMPLEMENTATIONdgp2006-02-081-1/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/Encoding.3: New subcommand [encoding dirs]. * doc/encoding.n: New routine Tcl_GetEncodingNameFromEnvironment. * generic/tcl.decls: Made public: * generic/tclBasic.c: TclGetEncodingFromObj * generic/tclCmdAH.c: -> Tcl_GetEncodingFromObj * generic/tclEncoding.c:TclGetEncodingSearchPath * generic/tclInt.decls: -> Tcl_GetEncodingSearchPath * generic/tclInt.h: TclSetEncodingSearchPath * generic/tclTest.c: -> Tcl_SetEncodingSearchPath * library/init.tcl: Removed commands: * tests/cmdAH.test: [tcl::unsupported::EncodingDirs] * tests/encoding.test: [testencoding path] (Tcltest) * unix/tclUnixInit.c: [Patch 1413934]. * win/tclWinInit.c: * generic/tclDecls.h: make genstubs * generic/tclIntDecls.h: * generic/tclStubInit.c:
* | TIP#181 IMPLEMENTATIONdgp2006-02-011-1/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | * doc/Namespace.3: New command [namespace unknown]. New public * doc/namespace.n: C routines Tcl_(Get|Set)NamespaceUnknownHandler. * doc/unknown.n: [Patch 958222]. * generic/tcl.decls: * generic/tclBasic.c: * generic/tclInt.h: * generic/tclNamesp.c: * tests/namespace.test: * generic/tclDecls.h: make genstubs * generic/tclStubInit.c:
* | Export Tcl_InitBignumFromDoubleKevin B Kenny2005-12-271-1/+13
| |
* | Corrected bugs in tommath installation, improved tommath square root ↵Kevin B Kenny2005-12-271-13/+1
| | | | | | | | performance, patched around a [clock scan] issue with time zones
* | Export stubs for libtommath; fix mingw compiler warningsKevin B Kenny2005-12-131-1/+13
| |
* | TIP#237 IMPLEMENTATIONdgp2005-10-081-19/+31
| | | | | | | | | | | | [kennykb-numerics-branch] Resynchronized with the HEAD; at this checkpoint [-rkennykb-numerics-branch-20051008], the HEAD and kennykb-numerics-branch contain identical code.
* | * generic/tcl.h: Explicitly standardized on the use of stdarg.hdgp2005-09-131-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclBasic.c: conventions for functions with variable number * generic/tclInt.h: of arguments. Support for varargs.h has been * generic/tclPanic.c: implicitly gone for some time now. All * generic/tclResult.c: TCL_VARARGS* macros purged from Tcl sources, * generic/tclStringObj.c: leaving only some deprecated #define's * tools/genStubs.tcl: in tcl.h for the sake of older extensions. * generic/tclDecls.h: make genstubs * doc/AddErrInfo.3: Replaced all documented requirement for use * doc/Eval.3: of TCL_VARARGS_START() with requirement for * doc/Panic.3: use of va_start(). * doc/SetResult.3: * doc/StringObj.3:
* | TIP#219 IMPLEMENTATIONandreas_kupries2005-08-241-1/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/SetChanErr.3: ** New File **. Documentation of the new channel API functions. * generic/tcl.decls: Stub declarations of the new channel API. * generic/tclDecls.h: Regenerated * generic/tclStubInit.c: * tclIORChan.c: ** New File **. Implementation of the reflected channel. * generic/tclInt.h: Integration of reflected channel and new error * generic/tclIO.c: propagation into the generic I/O core. * generic/tclIOCmd.c: * generic/tclIO.h: * library/init.tcl: * tests/io.test: Extended testsuite. * tests/ioCmd.test: * tests/chan.test: * generic/tclTest.c: * generic/tclThreadTest.c: * unix/Makefile.in: Integration into the build machinery. * win/Makefile.in: * win/Makefile.vc:
* | make genstubsdgp2005-06-071-1/+23
| |
* | Merged kennykb-numerics-branch back to the head; TIPs 132 and 232Kevin B Kenny2005-05-101-1/+44
| |
* | * doc/DString.3: Eliminated use of identifier "string" in Tcl'sdgp2005-05-031-71/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | * doc/Environment.3: public C API to avoid conflict/confusion with * doc/Eval.3: the std::string of C++. * doc/ExprLong.3, doc/ExprLongObj.3, doc/GetInt.3, doc/GetOpnFl.3: * doc/ParseCmd.3, doc/RegExp.3, doc/SetResult.3, doc/StrMatch.3: * doc/Utf.3, generic/tcl.decls, generic/tclBasic.c, generic/tclEnv.c: * generic/tclGet.c, generic/tclParse.c, generic/tclParseExpr.c: * generic/tclRegexp.c, generic/tclResult.c, generic/tclUtf.c: * generic/tclUtil.c, unix/tclUnixChan.c: * generic/tclDecls.h: `make genstubs`
* | * generic/tcl.decls:dgp2005-05-021-3/+3
| | | | | | | | | | | | | | * generic/tclBasic.c: Simplified implementation of Tcl_ExprString. * tests/expr-old.test: * generic/tclDecls.h: `make gentstubs`