summaryrefslogtreecommitdiffstats
path: root/generic/tk.decls
Commit message (Collapse)AuthorAgeFilesLines
* If compiled with -DTK_NO_DEPRECATED, remove the functions ↵jan.nijtmans2017-05-021-7/+7
| | | | | Tk_PhotoPutBlock_NoComposite/Tk_PhotoPutZoomedBlock_NoComposite/Tk_PhotoExpand_Panic/Tk_PhotoPutBlock_Panic/Tk_PhotoPutZoomedBlock_Panic/Tk_PhotoSetSize_Panic, which only exist to make stub-enabled extensions work which used those old functions. Otherwise, mark those functions as deprecated, causing a compiler warning if the compiler supports this.
* tag Tk_FreeXId() as deprecated. Remove the function from the build if ↵jan.nijtmans2017-01-171-1/+1
| | | | TK_NO_DEPRECATED is defined.
* Remove dead code. During 8.6 alpha/beta, ↵jan.nijtmans2013-03-281-7/+0
| | | | | | | Tk_DefineBitmap/Tk_GetBitmapFromData moved to stub entry 274/275 due to a signature change, but later that turned out not be necessary at all. The stub entries were kept in order not to lose binary compatibility for extensions that were compiled against beta 8.6 headers. Now that Tk 8.6 is final, this makes no sense any more.
* improving backwards compatibilityrfe_2636558jan.nijtmans2012-06-161-0/+7
|
* rfe-2636558 simplificationjan.nijtmans2012-06-151-15/+4
|
* implement TkSetPixmapColormap and TkpPrintWindowId for cygwinjan.nijtmans2012-05-161-25/+0
|\ | | | | cleanup some more unused CYGWIN stuff
| * implement TkSetPixmapColormap and TkpPrintWindowId for cygwinjan.nijtmans2012-05-161-25/+0
| |\
| | * implement TkSetPixmapColormap and TkpPrintWindowId for cygwinjan.nijtmans2012-05-141-25/+0
| | | | | | | | | | | | export TkWinChildProc for win32 backport TCHAR determination from tkWinPort.h
* | | [Bug 3508771]: Implement TkClipBox, Tk*Region and Tk_GetHINSTANCE for Cygwinjan.nijtmans2012-04-261-1/+22
|\ \ \ | |/ /
| * | [Bug 3508771]: Implement TkClipBox, Tk*Region and Tk_GetHINSTANCE for Cygwinjan.nijtmans2012-04-261-1/+22
| |\ \ | | |/ | | | [Bug 3519917]: Snow Leopard unix/Makefile `make test` fail
| | * implement various internal win32 stub functions for cygwinjan.nijtmans2012-04-251-1/+22
| | |
* | | some more cygwin compatibility improvementsjan.nijtmans2012-04-061-4/+4
|\ \ \ | |/ / | | | format tk.decls
| * | some more cygwin compatibility improvementsjan.nijtmans2012-04-061-336/+336
| |\ \ | | |/ | | | format tk.decls like tcl8.5/8.6
| | * format tk.decls like tcl8.5/8.6, re-generiate tk(Int)Decls.hjan.nijtmans2012-04-061-833/+601
| | |
* | | Purge RCS Keywordsdgp2011-06-081-2/+0
|\ \ \ | |/ /
| * | Purge RCS Keywords.dgp2011-06-081-2/+0
| |\ \ | | |/
| | * Purge RCS Keywords.dgp2011-06-081-2/+0
| | |
| | * * generic/tk.decls: fix signature of TkMacOSXInvalClipRgnsdas2006-02-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tkPlatDecls.h: to use Tk_Window instead of internal * macosx/tkMacOSXSubwindows.c: type TkWindow (which led to any include * macosx/tkMacOSXWindowEvent.c: of public header tkMacOSX.h requiring * macosx/tkMacOSXWm.c: prior include of tkInt.h). * generic/tk.h: move TkAqua specific REDO_KEYSYM_LOOKUP define * macosx/tkMacOSXPort.h: out of tk.h into platform header.
| * | Backport various formatting (spacing)nijtmans2010-02-071-31/+31
| | | | | | | | | | | | | | | | | | | | | changes from HEAD, so diffing between 8.5.x and 8.6 shows the real structural differences again. (any signature change not backported!)
* | | Add explicit scspec "EXTERN", as in Tclnijtmans2010-09-281-1/+2
| | | | | | | | | | | | Don't let Tk_MainEx macro disturb compilation
* | | clean-up, port all genStubs.tcl changesnijtmans2010-09-201-277/+277
| | | | | | | | | | | | | | | from Tcl to ttkGenStubs.tcl as well (no change in any output files)
* | | CONSTify TkCopyAndGlobalEval, TkpSetMainMenubar,nijtmans2010-05-101-2/+2
| | | | | | | | | | | | | | | TkpMenuNotifyToplevelCreate, and TkSetWindowMenuBar Bring Tk_CreateBinding doc and signature (param name) in line.
* | | CONSTify everything related to Tk_ConfigSpecnijtmans2010-02-171-5/+5
| | |
* | | Make more internal tables "const"nijtmans2010-02-051-4/+4
| | | | | | | | | | | | tk*Decls.h (regenerated with new genStubs.tcl from Tcl)
* | | genStubs.tcl: No longer generate a space afternijtmans2010-01-291-29/+29
| | | | | | | | | | | | | | | | | | "*" 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-2/+2
| | |
* | | Merge of TkAqua Cocoa portmacosx_cocoa_mergedas2009-06-291-3/+3
| | |
* | | [Feature Request 2636558] Tk_DefineBitmapnijtmans2009-02-271-3/+14
| | | | | | | | | | | | and Tk_GetBitmapFromData signature problem
* | | CONSTify Tk_ClipboardAppendnijtmans2009-01-021-2/+2
| | |
* | | modify Tk_Create(Old)ImageType signature, relaxingnijtmans2008-11-121-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-3/+3
| | | | | | | | | | | | in Tk_CreatePhotoImageFormat
* | | One more (hopefully the last) signature changenijtmans2008-11-091-2/+2
| | | | | | | | | | | | in Tk_CreateSmoothMethod.
* | | [Bug 2190619] Warnings due to Tk_SmoothMethodnijtmans2008-10-301-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-2/+2
| | | | | | | | | | | | | | | 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-58/+58
| | | | | | | | | | | | broken since 8.4 and no-one complained about it.
* | | * generic/tk.decls: remove 'export' declarations of symbols nowdas2008-04-021-23/+1
|/ / | | | | | | only in libtkstub and no longer in libtk.
* | whitespace, typodas2008-03-271-2/+2
| |
* | Keep ttkStubLib.o in libtkstub instead of libtk. [Bug 1920030]jenglish2008-03-211-9/+2
| |
* | ensure symbols needed for Ttk stub support are exporteddas2008-03-191-2/+9
| |
* | merge stable branch onto HEADdgp2007-12-131-2/+2
| |
* | * generic/tk.decls: use new genstubs 'export' command todas2007-12-101-540/+321
| | | | | | | | | | * generic/tkInt.decls: mark exported symbols not in stubs table [FR 1716117]; cleanup formatting.
* | fix 'make checkstubs' complaint about Tk_PkgInitStubsCheckdas2007-09-201-1/+3
| |
* | * generic/tk.decls: workaround 'make checkstubs' failures fromdas2007-05-161-1/+19
| | | | | | | | | | | | | | tkStubLib.c MODULE_SCOPE revert. [Bug 1716117] * macosx/Wish.xcodeproj/project.pbxproj: add tkOldTest.c and remove tkStubImg.c.
* | [Tk Bug 1712081]dgp2007-05-141-1/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-2/+2
| |
* | Implemented TIP #264 - Tk_Interppatthoyts2006-10-081-1/+6
| |
* | * generic/tk.decls: fix signature of TkMacOSXInvalClipRgnsdas2006-02-091-2/+2
| | | | | | | | | | | | | | | | | | | | * generic/tkPlatDecls.h: to use Tk_Window instead of internal * macosx/tkMacOSXSubwindows.c: type TkWindow (which led to any include * macosx/tkMacOSXWindowEvent.c: of public header tkMacOSX.h requiring * macosx/tkMacOSXWm.c: prior include of tkInt.h). * generic/tk.h: move TkAqua specific REDO_KEYSYM_LOOKUP define * macosx/tkMacOSXPort.h: out of tk.h into platform header.
* | Partial implementation of TIP#245; thanks Reinhard!dkf2005-05-271-1/+8
| |
* | Removed support for Mac OS Classic platform [Patch 918139]das2004-03-171-53/+1
| |
* | TIP#116 implementation. Docs still to come, tests will never be done becausedkf2003-03-061-5/+24
|/ | | | | they could never be done portably as they'd inevitably depend on the total amount of memory available to the process... :^(