summaryrefslogtreecommitdiffstats
path: root/tools/genStubs.tcl
Commit message (Collapse)AuthorAgeFilesLines
* slightly better formatting, both in genStubs.tcl and in the generated ↵jan.nijtmans2017-05-031-2/+3
| | | | XXX_DEPRECATED functions.
* Extend "deprecated" functionality of genStubs.tcl: XX_DEPRECATED macro now ↵jan.nijtmans2017-05-021-13/+19
| | | | | accepts a message text, which will be used in the compiler's error message. Not used (yet) in Tcl.
* Implement tag "deprecated" in genStubs.tcl. Will be used in Tk 8.7, for ↵jan.nijtmans2017-01-171-1/+17
| | | | tagging the deprecated function Tk_FreeXId()
* Fix [3bd69eba99a395ee]: 'make dist' fails when tclsh9.0 is on $PATHjan.nijtmans2016-06-011-2/+0
|\
| * Fix [3bd69eba99a395ee]: 'make dist' fails when tclsh9.0 is on $PATHjan.nijtmans2016-06-011-2/+0
| |
* | Decorate Tcl_Panic and Tcl_PanicVA with the noreturn option, alowing further ↵panic_noreturnjan.nijtmans2015-09-221-0/+2
| | | | | | | | optimizations by the C-compiler.
* | Eliminate all usage of WIN32 and __WIN32__ macros: Some compilers (e.g. ↵jan.nijtmans2014-02-101-3/+3
| | | | | | | | | | Clang/LLVM) don't define it, and _WIN32 is much more portable anyway. See: [http://nadeausoftware.com/articles/2012/01/c_c_tip_how_use_compiler_predefined_macros_detect_operating_system#WindowsCygwinnonPOSIXandMinGW]
* | Put extern "C" guards around all stub table struct definitions, so it is ↵jan.nijtmans2013-11-041-2/+3
|\ \ | |/ | | | | | | usable for C++ compilers as well without the danger of modifying the calling convention. For tclDecls.h and tclOODecls.h it was no problem, because tcl.h and tclOO.h already contain those guards. But for the other *Decls.h files (e.g. tclTomMathDecls.h) it was not correct.
| * Put extern "C" guards around all stub table struct definitions, so it is ↵jan.nijtmans2013-11-041-2/+3
| | | | | | | | | | usable for C++ compilers as well without the danger of modifying the calling convention. For tclDecls.h it was no problem, because tcl.h already contains those guards. But for the other *Decls.h files (e.g. tclTomMathDecls.h) it was not correct.
* | Fix bug in genStubs.tcl: If the macosx section doesn't contain any ↵jan.nijtmans2012-11-151-1/+1
|\ \ | |/ | | | | macosx-specific entries, no section at all is created
| * Fix bug in genStubs.tcl: If the macosx section doesn't contain any ↵jan.nijtmans2012-11-151-1/+1
| |\ | | | | | | | | | macosx-specific entries, no section at all is created
| | * Fix bug in genStubs.tcl: If the macosx section doesn't contain any ↵jan.nijtmans2012-11-151-1/+1
| | | | | | | | | | | | | | | macosx-specific entries, no section at all is created <p>revert previous workaround in tclInt.decls
| | * Remove all the long dead mac entries in tcl*.decls filesjan.nijtmans2012-11-151-72/+186
| | | | | | | | | | | | <p>backport genStubs::forAllStubs function, to generate dummy entries for some MAC_TCL entries <p>re-generate all tcl*Decls.h files.
* | | Simplification: don't declare struct types that are never used.jan.nijtmans2012-11-151-2/+6
| | |
* | | fix genStubs.tcl for OSXjan.nijtmans2012-05-251-1/+1
|\ \ \ | |/ /
| * | fix genStubs.tcljan.nijtmans2012-05-251-1/+1
| |\ \ | | |/
| | * fix genStubs.tcljan.nijtmans2012-05-251-1/+1
| | |
* | | Take cygwin handling of X11 into accountjan.nijtmans2012-05-241-2/+2
|\ \ \ | |/ / | | | | | | Implement TclpIsAtty, Cygwin only doc/dde.n: doc fix
| * | Take cygwin handling of X11 into accountjan.nijtmans2012-05-241-17/+23
| |\ \ | | |/ | | | | | | Implement TclpIsAtty, Cygwin only doc/dde.n: doc fix
| | * Take cygwin handling of X11 into accountjan.nijtmans2012-05-241-12/+26
| | | | | | | | | | | | Implement TclpIsAtty, Cygwin only doc/dde.n: doc fix
* | | Revert most of [3caedf05df], since when we let cygwin share the win32 stub ↵jan.nijtmans2012-05-241-10/+22
|\ \ \ | |/ / | | | | | | | | | | | | table this is no longer necessary implement TclpInetNtoa for win32 Let cygwin share stub table with win32
| * | MAC_OSX_TK -> MAC_OSX_TCLjan.nijtmans2012-05-221-1/+1
| | |
| * | Revert most of [fcc5957e59], since when we let cygwin share the win32 stub ↵jan.nijtmans2012-05-221-4/+69
| |\ \ | | |/ | | | | | | | | | | | | 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-21/+155
| | | | | | | | | | | | | | | | | | table this is no longer necessary implement TclpInetNtoa for win32 Let cygwin share stub table with win32
* | | revert part of [8f9c16848b] move Tcl_MacOSXOpenBundleResources and ↵jan.nijtmans2012-05-151-2/+2
|\ \ \ | |/ / | | | | | | Tcl_MacOSXOpenVersionedBundleResources from the UNIX stub table back to its own osx stub table, instead let cygwin make use of the win32 stub table
| * | Revert part of [5caa06383d] move Tcl_MacOSXOpenBundleResources and ↵jan.nijtmans2012-05-151-2/+2
| |\ \ | | |/ | | | | | | Tcl_MacOSXOpenVersionedBundleResources from the UNIX stub table back to its own osx stub table, instead let cygwin make use of the win32 stub table
| | * revert part of [9922ac54e8]: remove Tcl_MacOSXOpenBundleResources and ↵jan.nijtmans2012-05-141-89/+6
| | | | | | | | | | | | Tcl_MacOSXOpenVersionedBundleResources from the UNIX stub table, instead let cygwin make use of the win32 stub table
| | * cleanup tclInt.decls to have the same form as Tcl 8.5/8.6,jan.nijtmans2012-04-031-3/+13
| | | | | | | | | | | | so a diff can show us the real signature differences Remove the TclpGetTZName implementation for Cygwin, from previous commit
| * | [Bug 3508771] load tclreg.dll in cygwin tclshjan.nijtmans2012-03-201-3/+3
| |\ \ | | |/
| | * [Bug 3508771] load tclreg.dll in cygwin tclshjan.nijtmans2012-03-201-35/+42
| | |
| * | fix genStubs.tcl in one place where it generated "void *" in stead of "VOID *"jan.nijtmans2011-03-251-1/+1
| |\ \ | | |/ | | | | | | 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 linesdgp2011-03-021-2/+0
|\ \ \ | |/ / | | | cause more harm than good. Purged them (except in zlib files).
| * | 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.
| * | Make sure to use CONST/VOID in stead ofnijtmans2011-01-191-5/+5
| | | | | | | | | | | | | | | | | | const/void when appropriate. This allows to use const/void in the *.decls file always, genStubs will do the right thing.
| * | Make sure to use CONST/VOID in stead ofnijtmans2011-01-191-104/+18
| | | | | | | | | | | | | | | | | | const/void when appropriate. This allows to use const/void in the *.decls file always, genStubs will do the right thing.
| * | Fix "make genstubs", which was broken since 2010-11-30, the TclDoubleDigits ↵nijtmans2011-01-031-3/+8
| | | | | | | | | | | | backport.
| * | Backport various formatting (spacing)nijtmans2010-02-071-13/+25
| | | | | | | | | | | | | | | | | | | | | changes from HEAD, so diffing between 8.5.x and 8.6 shows the real structural differences again. (any signature change not backported!)
| * | Add support for win32 CALLBACK functions in genStubs.tclnijtmans2009-12-021-3/+6
| | | | | | | | | | | | (needed for Tk bugfix)
| * | Undo local changes which did not belong in the last commit.andreas_kupries2008-07-211-4/+1
| | |
| * | * generic/tclBasic.c: Extended the existing TIP #280 system (infoandreas_kupries2008-07-211-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclCmdAH.c: frame), added the ability to track the * generic/tclCompCmds.c: absolute location of literal procedure * generic/tclCompile.c: arguments, and making this information * generic/tclCompile.h: available to uplevel, eval, and * generic/tclInterp.c: siblings. This allows proper tracking of * generic/tclInt.h: absolute location through custom (Tcl-coded) * generic/tclNamesp.c: control structures based on uplevel, etc. * generic/tclProc.c:
* | | Make sure to use CONST/VOID in stead ofnijtmans2011-01-191-1/+7
| | | | | | | | | | | | | | | | | | const/void when appropriate. This allows to use const/void in the *.decls file always, genStubs will do the right thing.
* | | [Patch 3034251] backport ttkGenStubs.tclnijtmans2010-09-151-4/+48
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Add scspec feature from ttkGenStubs.tclnijtmans2010-09-131-2/+21
| | | | | | | | | | | | (no change in output for *Decls.h files)
* | | [Patch 3034251]: Backport ttkGenStubs.tcl features to genStubs.tcl, partly:nijtmans2010-08-211-4/+5
| | | | | | | | | | | | 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-18/+10
| | | | | | | | | | | | remove unneeded ifdeffery and put C++ guard around stubs pointer definition.
* | | [Bug #3020677] wish can't link reg1.2nijtmans2010-07-011-32/+22
| | | | | | | | | | | | formatting, spacing, cleanup unused variables
* | | reverted earlier rename from tcl*Stubs tonijtmans2010-02-151-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | tcl*ConstStubs, it's not necessary at all. tclEnsemble.c: Fix signed-unsigned mismatch make tclWinProcs "const" Add first part of mslu support, See [Feature Request #2819611]
* | | Get the inequality rightferrieux2010-02-091-2/+2
| | |
* | | remove dependency on 8.5+ idiom "in" in expressionsferrieux2010-02-091-2/+2
| | |