summaryrefslogtreecommitdiffstats
path: root/tools/genStubs.tcl
Commit message (Collapse)AuthorAgeFilesLines
* (c) -> ©, now that TIP #587 is acceptedjan.nijtmans2021-09-021-2/+2
|
* Merge 8.5. Add unused stub table entriesjan.nijtmans2021-03-041-1/+1
|\
| * cleanup genStubs.tcl, e.g. "==" -> "eq" and "!=" -> "ne". No change in outputjan.nijtmans2021-03-041-11/+14
| |
| * Backport many (formatting) changes in tools/*. Nothing functional.jan.nijtmans2020-09-201-6/+6
| | | | | | testest.tcl: Use more uppercase hex.
* | *.decls files are now in UTF-8. Use "in" operator in stead of "lsearch -exact".jan.nijtmans2021-01-271-1/+1
| |
* | When generating stubs, always read *.decls and *Decls.h files in UTF-8. This ↵jan.nijtmans2021-01-271-2/+3
| | | | | | | | corrects possible invalid UTF-8.
* | Don't use "Copyright <year> _by_" any more. This results in more ↵jan.nijtmans2020-11-201-1/+1
| | | | | | | | consistant copyright statements in the (html) documentation
* | Backport genStubs.tcl from 8.7. This adds support for MP_WUR, not actually ↵jan.nijtmans2020-09-071-0/+10
| | | | | | | | used by Tcl. But could be used in (libtommath-related) extensions
* | genStubs.tcl: Only do an "append line" when there really is something to be ↵jan.nijtmans2020-03-301-1/+3
| | | | | | | | done.
* | In tools/*, use the single-argument version of "expr" always. Making it ↵jan.nijtmans2019-05-311-2/+2
| | | | | | | | robust against TIP #526. Those tools generally are the same among all Tcl versions.
* | Add support for "nostub" in genStubs.tcl. Not used by Tcl 8.6, but might be ↵jan.nijtmans2018-10-191-0/+12
| | | | | | | | used by Tk 8.7 when linked against Tcl 8.6
* | Fix test-cases running on Windows 10: [string index ↵jan.nijtmans2018-10-171-8/+31
|\ \ | |/ | | | | | | $tcl_platform(osVersion) 0] doesn't give the correct answer then. Also backport genStubs.tcl from 8.7: The "deprecated" mark is not used in Tcl 8.6, but it is used by Tk 8.7 when doing "make genstubs" against Tcl 8.6.
* | 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 ↵jan.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: