summaryrefslogtreecommitdiffstats
path: root/tools/genStubs.tcl
Commit message (Collapse)AuthorAgeFilesLines
* 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
| | |
* | | Follow-up to earlier commit today:nijtmans2010-02-051-3/+18
| | | | | | | | | | | | | | | | | | Eliminate the need for an extra Stubs Pointer for adressing a static stub table: Just change the exported table from static to MODULE_SCOPE.
* | | Follow-up to [2010-01-29] commit:nijtmans2010-02-051-5/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-6/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | tools/genStubs.tcl Add support for win32 CALLBACK functionsnijtmans2009-12-021-89/+6
| | | | | | | | | | | | | | | | | | | | | and remove obsolete "emitStubs" and "genStubs" functions. win/Makefile.in Use tcltest86.dll for all tests, and add .PHONY rules to preemptively stop trouble that plagued Tk from hitting Tcl too.
* | | Forced LF translation when generating .h's to avoid spurious diffs when ↵ferrieux2009-07-261-1/+2
| | | | | | | | | | | | regenerating on a Windows box.
* | | Revert series of local changes not relevant to the last commit.andreas_kupries2009-07-231-4/+1
| | |
* | | * generic/tclIO.c (Tcl_GetChannelHandle): Do not crash forandreas_kupries2009-07-231-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | * generic/tclPipe.c (FileForRedirect): getHandleProc == NULL, this is allowed. Provide a nice error message in the bypass area. Updated caller to check the bypass for a mesage. This fixes the bug [Bug 2826248] reported by Andy Sonnenburg <andy22286@users.sourceforge.net>
* | | Letting CONST die a slow and graceful death, since NO_CONST wasnijtmans2008-10-221-7/+7
| | | | | | | | | | | | broken since 8.4 and no-one complained about it.
* | | Oops. Undo commit of the local tweaks.andreas_kupries2008-05-231-4/+1
| | |
* | | * win/tclWinChan.c (FileWideSeekProc): Accepted a patch byandreas_kupries2008-05-231-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Alexandre Ferrieux <ferrieux@users.sourceforge.net> to fix the [Bug 1965787]. 'tell' now works for locations > 2 GB as well instead of going negative. * generic/tclIO.c (Tcl_SetChannelBufferSize): Accepted a patch by * tests/io.test: Alexandre Ferrieux <ferrieux@users.sourceforge.net> * tests/chanio.test: to fix the [Bug 1969953]. Buffersize outside of the supported range are now clipped to nearest boundary instead of ignored.
* | | * generic/tclInt.h: make stubs tables 'static const' anddas2008-04-161-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | * generic/tclStubInit.c: export only module-scope pointers to * generic/tclStubLib.c: the main stubs tables (for package * tools/genStubs.tcl: initialization). [Patch 1938497] * generic/tclBasic.c (Tcl_CreateInterp): * generic/tclTomMathInterface.c (TclTommath_Init):
* | | * tools/genStubs.tcl: revert erroneous 2008-04-02 change markingdas2008-04-081-2/+2
| | | | | | | | | | | | *StubsPtr as EXTERN instead of extern.
* | | * generic/tclStubLib.c: make symbols in libtclstub.a MODULE_SCOPE todas2008-04-021-7/+5
| | | | | | | | | | | | | | | | | | * tools/genStubs.tcl: avoid exporting them from libraries that link with -ltclstub; constify tcl*StubsPtr and stub table hook pointers. [Bug 1819422]
* | | * README: Bump version number to 8.6a0dgp2008-04-011-1/+5
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tcl.h: * library/init.tcl: * macosx/Tcl-Common.xcconfig: * macosx/Tcl.pbproj/default.pbxuser: * macosx/Tcl.pbproj/project.pbxproj: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/README: * win/configure.in: * win/makefile.bc: * win/tcl.m4: * unix/configure: autoconf-2.59 * win/configure: * generic/tclBasic.c: Revised stubs-generation tool and interp * tools/genStubs.tcl: creation so that "tclStubsPtr" is not present * unix/Makefile.in: in libtcl.so, but is present only in libtclstub.a. This tightens up the rules for users of the stubs interfaces. [Bug 1819422] * generic/tclDecls.h: make genstubs * generic/tclIntDecls.h: * generic/tclIntPlatDecls.h: * generic/tclPlatDecls.h: * generic/tclTomMathDecls.h:
* | merge stable branch onto HEADdgp2007-12-131-1/+1
| |
* | * tools/genStubs.tcl: fix numerous issues handling 'macosx',das2007-12-101-102/+270
| | | | | | | | | | | | | | 'aqua' or 'x11' entries interleaved with 'unix' entries [Bug 1834288]; add genStubs::export command [Tk FR 1716117]; cleanup formatting.
* | various "const" additions, in line with TIP #27nijtmans2007-02-231-4/+26
| |