summaryrefslogtreecommitdiffstats
path: root/generic/tkDecls.h
Commit message (Collapse)AuthorAgeFilesLines
* improving backwards compatibilityrfe_2636558jan.nijtmans2012-06-161-0/+10
|
* rfe-2636558 simplificationjan.nijtmans2012-06-151-24/+10
|
* Don't let tkDecls.h depend on <tchar.h> on windows, not even in UNICODE modejan.nijtmans2011-09-081-1/+2
|
* Purge RCS Keywordsdgp2011-06-081-2/+0
|\
| * Purge RCS Keywords.dgp2011-06-081-2/+0
| |\
| | * Purge RCS Keywords.dgp2011-06-081-2/+0
| | |
| * | fix genStubs.tcl in one place where it generated "void *" in stead of "VOID *"jan2011-03-271-2/+2
| | |
| * | Backport various formatting (spacing)nijtmans2010-02-071-677/+659
| | | | | | | | | | | | | | | | | | | | | changes from HEAD, so diffing between 8.5.x and 8.6 shows the real structural differences again. (any signature change not backported!)
* | | [FRQ 491789]: "setargv() doesn't support a unicodenijtmans2010-10-111-5/+9
| | | | | | | | | | | | cmdline" implemented for Tk on MSVC++
* | | [Patch 3034251]: Backport ttkGenStubs.tcl features to genStubs.tcl, partly:nijtmans2010-08-211-3/+3
| | | | | | | | | | | | 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] partly: remove some more unneeded ifdeffery from stub header ↵nijtmans2010-08-191-1375/+9
| | | | | | | | | | | | files
* | | [Tcl Bug 3029891] Functions that don't belong in the stub table (Tk part, ↵nijtmans2010-07-161-1/+7
| | | | | | | | | | | | | | | | | | not really removed from the stub table, just disabled) [Bug 3027438] Tk_Main calls Tcl_CreateInterp before Tcl_FindExecutable
* | | CONSTify TkCopyAndGlobalEval, TkpSetMainMenubar,nijtmans2010-05-101-3/+3
| | | | | | | | | | | | | | | TkpMenuNotifyToplevelCreate, and TkSetWindowMenuBar Bring Tk_CreateBinding doc and signature (param name) in line.
* | | CONSTify everything related to Tk_ConfigSpecnijtmans2010-02-171-10/+11
| | |
* | | Follow-up to [2010-01-29] commit:nijtmans2010-02-051-193/+193
| | | | | | | | | | | | | | | prevent space within stub table function parameters if the parameter type is a pointer.
* | | genStubs.tcl: No longer generate a space afternijtmans2010-01-291-446/+429
| | | | | | | | | | | | | | | | | | "*" and immediately after a function name, so the format of function definitions in *Decls.h match all other *.h header files.
* | | CONSTify Tk_SetClassProcsnijtmans2010-01-101-3/+3
| | |
* | | [Feature Request 2636558] Tk_DefineBitmapnijtmans2009-02-271-15/+39
| | | | | | | | | | | | and Tk_GetBitmapFromData signature problem
* | | CONSTify Tk_ClipboardAppendnijtmans2009-01-021-3/+3
| | |
* | | modify Tk_Create(Old)ImageType signature, relaxingnijtmans2008-11-121-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the constraint that every Tk_ImageType can only be passed to this function once. This allows tkImg to be loaded in multiple interpreters in a thread-enabled build of Tk. This CONSTification complies with TIP #27. It is binary compatible with the old interface, but not fully source compatible (although tkImg does not suffer).
* | | One more (hopefully the last) signature changenijtmans2008-11-091-5/+5
| | | | | | | | | | | | in Tk_CreatePhotoImageFormat
* | | One more (hopefully the last) signature changenijtmans2008-11-091-3/+3
| | | | | | | | | | | | in Tk_CreateSmoothMethod.
* | | [Bug 2190619] Warnings due to Tk_SmoothMethodnijtmans2008-10-301-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | name constness change. Although dkf's solution (simply adding a type cast) is correct as well, changing the return value (as das suggested) has the advantage that all Tk_OptionPrintProc implementations don't need a type cast any more in its code. This makes all those functions robust against the -Wwrite-strings warning option. Further on, the customPtr field of Tk_ConfigSpec can be a constant, without any danger of source incompatibility.
* | | CONSTify TkPrintPadAmount, TkCreateFrame, TkCreateMainWindownijtmans2008-10-281-3/+3
| | | | | | | | | | | | | | | and Tk_ParseArgv. move TkSelGetSelection to internal stub table (needed in tkWinTest.c)
* | | Letting CONST die a slow and graceful death, since NO_CONST wasnijtmans2008-10-221-381/+381
| | | | | | | | | | | | broken since 8.4 and no-one complained about it.
* | | * generic/tkDecls.h: make genstubs (genStubs.tcl changes).das2008-04-081-7/+2
| | | | | | | | | | | | | | | * generic/tkIntPlatDecls.h: * generic/tkIntXlibDecls.h:
* | | * tkDecls.h: Reverted das's change of Tk's stubs pointersKevin B Kenny2008-04-081-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tkIntDecls.h: from 'extern' to 'EXTERN'. Since the stubs pointer * tkPlatDecls.h: is always linked statically, its wrong to import or export it from a DLL, and the change causes trouble for extensions that build with -DUSE_TK_STUBS. * tkWinEmbed.c: Removed #if 0 code. Trust the revision control system, if you need it again, you can find it. * tkWinSend.c: Added conditional compilation to silence several compiler warnings.
* | | * generic/tkDecls.h: make genstubsdas2008-04-021-15/+7
| | | | | | | | | | | | | | | | | | | | | | | | * generic/tkIntDecls.h: * generic/tkIntPlatDecls.h: * generic/tkIntXlibDecls.h: * generic/tkPlatDecls.h: * generic/tkStubInit.c:
* | | * README: Bump version number to 8.6a0dgp2008-04-011-1/+5
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tk.h: * library/tk.tcl: * macosx/Wish-Common.xcconfig: * unix/configure.in: * unix/tk.spec: * win/README: * win/configure.in: * win/tcl.m4: * unix/configure: autoconf-2.59 * win/configure: * generic/tkConsole.c: Relax Tcl_InitStubs() calls so that a Tk 8.6 * generic/tkMain.c: might [load] into a Tcl 8.5 interp. * generic/tkWindow.c: * generic/tkStubLib.c: Update to compatibility with a libtcl.so that contains no "tclStubsPtr" [Tcl Bug 1819422]. * generic/tkDecls.h: make genstubs * generic/tkIntDecls.h: * generic/tkIntPlatDecls.h: * generic/tkIntXlibDecls.h: * generic/tkPlatDecls.h:
* | [Tk Bug 1712081]dgp2007-05-141-1/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * unix/Makefile.in: Updates to account for new and deleted files * win/Makefile.in: tkStubImg.c and tkOldTest.c. * win/makefile.bc: * win/makefile.vc: * generic/tkOldTest.c (new): New file used to create testing * generic/tkTest.c: commands for testing various Tk * tests/constraints.tcl: legacy interfaces where a separate * tests/image.test: compilation unit is needed in order to #define suitable macros during compilation. Only the effect of USE_OLD_IMAGE on Tk_CreateImageType() is currently tested, but more similar testing commands can be added to this same file. New constraint defined to detect presence of the image type provided by the new testing code, and a few tests added to exercise it. Having USE_OLD_IMAGE support tested by the default test suite should reduce chance of a recurrence of this bug. * doc/CrtImgType.3: Revised docs to better indicate the legacy * doc/CrtPhImgFmt.3: nature of the interfaces supported by USE_OLD_IMAGE. * generic/tkDecls.h: make genstubs * generic/tkStubInit.c: * generic/tk.decls: Reworked USE_OLD_IMAGE support to use * generic/tk.h: the same support mechanisms both with * generic/tkStubImg.c (deleted):and without a stub-enabled build. In each case, route the legacy calls to Tk_CreateImageType and Tk_CreatePhotoImageFormat through the Tk_CreateOldImageType and Tk_CreateOldPhotoImageFormat routines. Add those routines to the public stub table so they're available to a stub-enabled extension. Remove the definition of Tk_InitImageArgs() and use a macro to convert any calls to it in source code into a comment. * generic/tkImage.c: Removed the MODULE_SCOPE declarations that * generic/tkImgPhoto.c: broke USE_OLD_IMAGE support.
* | various "const" additions, in line with TIP #27nijtmans2007-01-031-3/+4
| |
* | Use more portable string literalsdgp2006-12-181-835/+767
| |
* | Implemented TIP #264 - Tk_Interppatthoyts2006-10-081-1/+11
| |
* | * generic/tkDecls.h:das2005-05-291-1/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tkIntPlatDecls.h: * generic/tkPlatDecls.h: * generic/tkStubInit.c: ran missing 'make genstubs' for TIP245 changes to tk.decls * macosx/tkMacOSXXStubs.c (Tk_ResetUserInactiveTime): use symbolic constant argument in call to UpdateSystemActivity(); * macosx/Wish.pbproj/project.pbxproj: * macosx/Wish.xcode/project.pbxproj: * unix/configure.in: added/corrected linking to IOKit.framework for TIP245. * unix/configure.in: skip X11 configure checks when building tk_aqua. * unix/configure: autoconf-2.59
* | * generic/tkInt.h: move TkGetOptionSpec to stubs intDeclshobbs2003-10-131-1/+802
| | | | | | | | | | | | | | | | | | | | * generic/tkIntDecls.h: * generic/tkInt.decls: * generic/tkStubInit.c: * tkDecls.h: updated with latest genstubs * tkIntPlatDecls.h: * tkIntXlibDecls.h: * tkPlatDecls.h:
* | TIP#116 implementation. Docs still to come, tests will never be done becausedkf2003-03-061-23/+61
|/ | | | | they could never be done portably as they'd inevitably depend on the total amount of memory available to the process... :^(
* Applied companion patch for Tcl Patch 585105,dgp2002-08-051-102/+107
| | | | | | | | | | | | | | | | | | | | | updating Tk to use Tcl 8.4's fully CONST-ified interface, and fully CONSTifying Tk at the same time. This patch includes purging Tk of its last direct access to interp->result. [Bug 589853] The substantial changes include copying event sequence strings into Tcl_DStrings in tkBind.c, and copying [text] indices into Tcl_DStrings because parsing them involved overwriting them. If this causes performance trouble, that can be resolved by further converting them to Tcl_Obj's. The #defines USE_NON_CONST and USE_COMPAT_CONST have the same effect for Tk as they do for Tcl. (They actually change tcl.h)
* Added TIP#48 style engine implementationdkf2002-06-181-1/+132
| | | | Frederic Bonnet to supply docs+tests as soon as possible.
* * generic/tk.decls: added TIP #84 implementation that adds ahobbs2002-06-151-1/+9
| | | | | | | | | * generic/tkDecls.h: Tk_CollapseMotionEvents API which controls * generic/tkEvent.c: Tk's collapsing of incoming motion events * generic/tkInt.h: on its windows. The default remains to do * generic/tkStubInit.c: collapsing. Added a flags parameter to the * generic/tkWindow.c: internal display structure to support this * doc/QWinEvent.3: and be used in the future for other bits.
* regendkf2002-06-141-11/+11
|
* TIP#98 implementation; improved photo image copy and GIF frame accessdkf2002-06-141-11/+32
|
* * generic/tkStubInit.c:hobbs2002-04-051-1/+9
| | | | | | | | | * generic/tkDecls.h: * generic/tk.decls: added Tk_SetCaretPos declaration. This command allows users to indicate the cursor position and is used by XIM (Unix) or IME (Windows) to place the caret box correctly. It is also part of correct Accessibility style on Windows to make the magnifier jump to the focus point.
* * The POTENTIAL INCOMPATIBILITY in the changingdgp2002-01-311-3/+3
| | | | | interface of Tk_ParseArgv can now be removed by the -DUSE_NON_CONST compiler flag.
* * Updated callers of Tcl_SplitList and Tcl_Merge.dgp2002-01-251-14/+17
| | | | | | | | | * Updated callers of Tcl_GetStringResult. Rewrote PrintScrollFractions to ScrollFractions to stop scribbling directly on interp->result. * Updated callers of Tcl_GetVar, Tcl_GetVar2 * Updated callers of Tcl_SplitPath, Tcl_JoinPath, and Tcl_TranslateFileName.
* Geometry manager changes to support TIP#18.pspjuth2001-09-261-1/+17
|
* Overall change: Implemented TIP 5, which exportsericm2000-11-221-1/+10
| | | | | | | | | TkClassProcs/TkSetClassProcs as Tk_ClassProcs/Tk_SetClassProcs, adding a size field to Tk_ClassProcs to allow for future expansion, and renaming the geometryProc to worldChangedProc, which is more in keeping with the actual use of the callback. See ChangeLog for details.
* * generic/tkCmds.c (Tk_WinfoObjCmd): Added check forericm2000-10-051-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | TK_ANONYMOUS_WINDOW flag in the [winfo children] subcommand; if set, the window will not be printed in the list of children. * doc/CrtWindow.3: Added entry for Tk_CreateAnonymousWindow. * generic/tkWindow.c (Tk_CreateAnonymousWindow): New API for creating anonymous windows. These windows are manipulable from C, but not from Tcl, because they have no pathname associated with them. They are used initially by widgets that do rubber-band resizing (panedwindow, multi-column listbox, etc.), and may be useful for other widgets as well (dropbox, combobox). (Tk_DestroyWindow): Added check for TK_ANONYMOUS_WINDOW flag when determining whether to generate a DestroyNotify event. * generic/tkStubInit.c: * generic/tkDecls.h: Regen'd from tk.decls. * generic/tk.decls: Added Tk_CreateAnonymousWindow declaration. * generic/tk.h: Added TK_ANONYMOUS_WINDOW flag for Tk_Window's.
* * generic/tk.h: added typdef for Tk_ClientMessageProchobbs2000-06-031-1/+17
| | | | | | | | | | | * generic/tkStubInit.c: * generic/tkDecls.h: * generic/tk.decls: Added Tk_CreateClientMessageHandler and Tk_DeleteClientMessageHandler declarations. * generic/tkEvent.c (Tk_HandleEvent): Added Tk_CreateClientMessageHandler and Tk_DeleteClientMessageHandler to allow adding event handlers that invoke for ClientMessage events. This is necessary to support unix dnd protocols.
* * generic/tkImage.c (Tk_PostscriptImage): added check to createhobbs2000-04-251-1/+11
| | | | | | | | | | | necessary prolog for photos * generic/tkCanvPs.c: added Tk_PostscriptPhoto that outputs PS for photo images * generic/tkImgPhoto.c: new func ImgPhotoPostscript and added that in as ps proc in tkPhotoImageType. * generic/tkStubInit.c: * generic/tkDecls.h: * generic/tk.decls: added Tk_PostscriptPhoto
* * doc/WinViewable.3:ericm2000-04-191-8/+1
| | | | | | | | | | | | | * unix/mkLinks: Removed docs for Tk_IsViewable. * win/tkWinDialog.c: Removed calls to Tk_IsViewable. * generic/tkUtil.c: * generic/tkStubInit.c: * generic/tkDecls.h: * generic/tkCmds.c: * generic/tk.decls: Removed Tk_IsViewable function (it was not actually needed).