summaryrefslogtreecommitdiffstats
path: root/generic/tk.decls
Commit message (Collapse)AuthorAgeFilesLines
* 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... :^(
* *** macosx-8-4-branch merged into the mainline [tcl patch #602770] ***macosx_8_4_merge_2002_08_31_trunkdas2002-08-311-1/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tk.decls: * generic/tkInt.decls: added new "aqua" specific entries to the stubs tables. Changed all "unix" entries to "x11" to allow us to distinguish and build both "aqua" on MacOSX and "x11" on MacOSX. * generic/tk.h: added a #ifnded RESOURCE_INCLUDED so that tk.h can be passed to the resource compiler. * generic/tkCmds.c (Tk_TkObjCmd): added [tk windowingsystem] subcommand: returns "x11" when running on X11, "win32" on Windows, "classic" on MacOS9 and "aqua" on MacOSX Aqua (i.e. Carbon) * generic/tkFont.c (TkFontGetFirstTextLayout): new private function returning the first chunk of a Tk_TextLayout, i.e. until the first font change on the first line (or the whole first line if there is no such font change). * generic/tkMain.c: made Tcl_ThreadDataKey static * library/demos/puzzle.tcl: fixed button metrics for aqua * tests/cursor.test: check for presence of arrow cursor instead of heart cursor * xlib/xcolors.c: changed xColors static initialization to more standard C * macosx/Wish.pbproj/jingham.pbxuser (new): * macosx/Wish.pbproj/project.pbxproj (new): project for Apple's ProjectBuilder IDE. * macosx/Makefile (new): simple makefile for building the project from the command line via the ProjectBuilder tool 'pbxbuild'. * macosx/tkMacOSXAppInit.c (new): macosx specific AppInit looking for a AppMain.tcl file in its bundled Resources/Scripts folder. If present, argv[1] is set to that file and the Scripts folder is added to the auto_path. This allows tk apps to embed scripts within their bundle directory structure. * macosx/tkMacOSXInit.c (new): macosx adapted version of tkUnixInit.c: we initialize & cache the Carbon native encoding (e.g. 'macRoman') and try to find the tk script library files inside Tk packaged as a framework. * macosx/tkMacOSXNotify.c (new): new macosx specific merged Carbon/select-based notifier. * macosx/tkMacOSXEvent.c (new): * macosx/tkMacOSXEvent.h (new): * macosx/tkMacOSXKeyEvent.c (new): * macosx/tkMacOSXMouseEvent.c (new): * macosx/tkMacOSXWindowEvent.c (new): new macosx specific event handling functionality. * macosx/tkMacOSX.h (new): * macosx/tkMacOSXBitmap.c (new): * macosx/tkMacOSXButton.c (new): * macosx/tkMacOSXClipboard.c (new): * macosx/tkMacOSXColor.c (new): * macosx/tkMacOSXConfig.c (new): * macosx/tkMacOSXCursor.c (new): * macosx/tkMacOSXDefault.h (new): * macosx/tkMacOSXDialog.c (new): * macosx/tkMacOSXDraw.c (new): * macosx/tkMacOSXEmbed.c (new): * macosx/tkMacOSXFont.c (new): * macosx/tkMacOSXHLEvents.c (new): * macosx/tkMacOSXInt.h (new): * macosx/tkMacOSXKeyboard.c (new): * macosx/tkMacOSXMenu.c (new): * macosx/tkMacOSXMenubutton.c (new): * macosx/tkMacOSXMenus.c (new): * macosx/tkMacOSXPort.h (new): * macosx/tkMacOSXRegion.c (new): * macosx/tkMacOSXScale.c (new): * macosx/tkMacOSXScrlbr.c (new): * macosx/tkMacOSXSubwindows.c (new): * macosx/tkMacOSXTest.c (new): * macosx/tkMacOSXUtil.c (new): * macosx/tkMacOSXUtil.h (new): * macosx/tkMacOSXWm.c (new): * macosx/tkMacOSXWm.h (new): * macosx/tkMacOSXXStubs.c (new): macosx ports of classic mac Tk implementation in tk/mac. * macosx/tkMacOSXSend.c (new): only send to local interp implemented currently. * macosx/tkMacOSXDebug.h (new): * macosx/tkMacOSXDebug.c (new): new macosx specific functions for debugging MacOS events, regions, etc. * macosx/tkAboutDlg.r (new): * macosx/tkMacOSXApplication.r (new): * macosx/tkMacOSXCursors.r (new): * macosx/tkMacOSXLibrary.r (new): * macosx/tkMacOSXMenu.r (new): * macosx/tkMacOSXResource.r (new): * macosx/tkMacOSXXCursors.r (new): * macosx/tclets.r (new): sources for Rez resource compiler. * macosx/Wish.icns (new): Wish application icon. * generic/tk.h: * generic/default.h: * generic/tkBind.c: * generic/tkCmds.c: * generic/tkGrab.c: * generic/tkPointer.c: * generic/tkPort.h: * generic/tkSelect.c: * generic/tkStubLib.c: * generic/tkTest.c: * generic/tkText.c: * generic/tkWindow.c: * unix/tkUnix3d.c: * xlib/xgc.c: * xlib/X11/X.h: * xlib/X11/Xlib.h: * xlib/X11/Xutil.h: added #includes and #ifdefs for macosx * library/bgerror.tcl: * library/button.tcl: * library/console.tcl: * library/dialog.tcl: * library/entry.tcl: * library/listbox.tcl: * library/menu.tcl: * library/msgbox.tcl: * library/scrlbar.tcl: * library/spinbox.tcl: * library/text.tcl: * library/tk.tcl: * library/demos/menu.tcl: * library/demos/menubu.tcl: * library/demos/widget: check [tk windowingsystem] instead of and/or in addition to $tcl_platform(platform). * generic/tkInt.h: * mac/tkMacBitmap.c: * mac/tkMacWm.c: added missing CONSTification * generic/tkIntDecls.h: * generic/tkIntPlatDecls.h: * generic/tkIntXlibDecls.h: * generic/tkPlatDecls.h: * generic/tkStubInit.c: regen
* Applied companion patch for Tcl Patch 585105,dgp2002-08-051-48/+51
| | | | | | | | | | | | | | | | | | | | | 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-173/+234
| | | | Frederic Bonnet to supply docs+tests as soon as possible.