summaryrefslogtreecommitdiffstats
path: root/generic/tkStubInit.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix for [f476e3d654]: Tk trunk fails to build/linkjan.nijtmans2014-02-111-0/+1
|
* Eliminate all usage of __WIN32__ macro: Some compilers (e.g. Clang/LLVM) ↵jan.nijtmans2014-02-101-15/+15
| | | | | 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]
* Remove dead code. During 8.6 alpha/beta, ↵jan.nijtmans2013-03-281-5/+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.
* Working towards adding all the Tcl_SetErrorCode calls that should be there.dkf2012-07-161-2/+2
| | | ** WORK IN PROGRESS **
* improving backwards compatibilityrfe_2636558jan.nijtmans2012-06-161-0/+5
|
* rfe-2636558 simplificationjan.nijtmans2012-06-151-4/+2
|
* fix signature of XSynchronize to match X.orgjan.nijtmans2012-06-151-2/+0
|
* Change XChangeWindowAttributes signature and many others to match Xorg, ↵jan.nijtmans2012-06-081-64/+68
|\ | | | | | | needed for Cygwin
| * Change XChangeWindowAttributes signature and many others to match Xorg, ↵jan.nijtmans2012-06-071-1/+1
| |\ | | | | | | | | | needed for Cygwin
| | * merge core-8-4-branchbug_3508771jan.nijtmans2012-06-051-45/+100
| | |\
| * | | Generate same pkgIndex.tcl file for win32 and cygwin, one that is equally ↵jan.nijtmans2012-06-051-1/+1
| | | | | | | | | | | | | | | | useable for both
| * | | Change XSetDashes signature and many others to match Xorg, needed for Cygwinjan.nijtmans2012-06-051-42/+97
| |\ \ \ | | | |/ | | |/|
| | * | Change XSetDashes signature and many others to match Xorg, needed for Cygwin. jan.nijtmans2012-06-011-44/+99
| | |/ | | | | | | Add .PHONY targets, and various quoting issues (Makefile.in)
* | | Implement XFlush and various others for win32 as stubs, so win32 extensions ↵jan.nijtmans2012-05-311-3/+9
| | | | | | | | | | | | | | | using those can run under CYGWIN as well. Allow tk86.dll to cooperate with the cygwin console.
* | | Simpify determination whether we are running on cygwin.jan.nijtmans2012-05-311-1/+3
|\ \ \ | |/ / | | | Export Tk_GetHINSTANCE, TkSetPixmapColormap and TkpPrintWindowId on the Cygwin dll
| * | merge core-8-4-branch, still to be tested on Unixtobetestedjan.nijtmans2012-05-291-100/+80
| |\ \ | | |/
| | * Simpify determination whether we are running on cygwin.jan.nijtmans2012-05-251-96/+78
| | | | | | | | | | | | Export Tk_GetHINSTANCE, TkSetPixmapColormap and TkpPrintWindowId on the Cygwin dll. Fix "make genstubs" when cross-compiling on UNIX
* | | Added OSX-specific mechanism to allow retrieval of the drawing surface.dkf2012-05-291-0/+1
| | |
* | | Unbreak the OSX builddkf2012-05-291-2/+2
| | |
* | | implement TkSetPixmapColormap and TkpPrintWindowId for cygwin. jan.nijtmans2012-05-261-70/+190
|\ \ \ | | | | | | | | | | | | cleanup some more unused CYGWIN stuff . Change XSetCommand signature to match Xorg, needed for Cygwin
| * | | this should fix the broken build, not yet tested on Unixjan.nijtmans2012-05-251-12/+22
| | | |
| * | | Change XSetCommand signature to match Xorg, needed for Cygwinjan.nijtmans2012-05-241-4/+4
| |\ \ \ | | |/ /
| | * | Change XSetCommand signature to match Xorg, needed for Cygwinjan.nijtmans2012-05-241-5/+5
| | |\ \ | | | |/
| | | * Change XSetCommand signature to match Xorg, needed for Cygwinjan.nijtmans2012-05-241-24/+24
| | | |
| * | | implement TkSetPixmapColormap and TkpPrintWindowId for cygwinjan.nijtmans2012-05-161-65/+175
| |\ \ \ |/ / / / | | _ / | | / cleanup some more unused CYGWIN stuff
| * | implement TkSetPixmapColormap and TkpPrintWindowId for cygwinjan.nijtmans2012-05-161-38/+121
| |\ \ | | |/
| | * fix some visual studio warnings, eliminate some ANSI_ARGSjan.nijtmans2012-05-141-8/+8
| | |
| | * typojan.nijtmans2012-05-141-1/+1
| | |
| | * implement TkSetPixmapColormap and TkpPrintWindowId for cygwinjan.nijtmans2012-05-141-31/+116
| | | | | | | | | | | | export TkWinChildProc for win32 backport TCHAR determination from tkWinPort.h
* | | merge-markjan.nijtmans2012-05-021-0/+6
|\ \ \ | |/ /
| * | [Bug 533519]: Window placement with multiple screensjan.nijtmans2012-05-021-0/+6
| |\ \ | | |/
| | * [Bug 533519]: Window placement with multiple screensjan.nijtmans2012-05-021-0/+6
| | |\
* | | \ Ensure that Tk_GetHINSTANCE is defined on OSX.dkf2012-04-261-20/+25
|\ \ \ \ | |/ / /
| * | | Ensure that Tk_GetHINSTANCE is defined on OSX.dkf2012-04-261-20/+25
| |\ \ \ | | |/ /
| | * | Ensure that Tk_GetHINSTANCE is defined on OSX.dkf2012-04-261-20/+25
| | | |
* | | | provide dummy Tk_AttachHWND and friends for OSX as welljan.nijtmans2012-04-261-1/+3
|\ \ \ \ | |/ / /
| * | | provide dummy Tk_AttachHWND and friends for OSX as welljan.nijtmans2012-04-261-1/+3
| |\ \ \ | | |/ /
| | * | provide dummy Tk_AttachHWND and friends for OSX as welljan.nijtmans2012-04-261-1/+3
| | | |
* | | | [Bug 3508771]: Implement TkClipBox, Tk*Region and Tk_GetHINSTANCE for Cygwinjan.nijtmans2012-04-261-80/+64
|\ \ \ \ | |/ / /
| * | | [Bug 3508771]: Implement TkClipBox, Tk*Region and Tk_GetHINSTANCE for Cygwinjan.nijtmans2012-04-261-84/+63
| |\ \ \ | | |/ / | | | | [Bug 3519917]: Snow Leopard unix/Makefile `make test` fail
| | * | [Bug 3508771]: Implement TkClipBox, Tk*Region and Tk_GetHINSTANCE for Cygwinjan.nijtmans2012-04-261-94/+58
| | |\ \ | | | |/ | | |/|
| | | * implement various internal win32 stub functions for cygwinjan.nijtmans2012-04-251-92/+53
| | |/
* | | [Bug 3486474]: Inconsistent color scalingjan.nijtmans2012-02-151-0/+6
|\ \ \ | |/ /
| * | [Bug 3486474]: Inconsistent color scalingjan.nijtmans2012-02-151-0/+6
| |\ \ | | |/
| | * improved, faster implementations of XParseColor and TkParseColorbug_3486474jan.nijtmans2012-02-121-0/+6
| | |
* | | Purge RCS Keywordsdgp2011-06-081-2/+0
|\ \ \ | |/ /
| * | Purge RCS Keywords.dgp2011-06-081-2/+0
| |\ \ | | |/
| | * Purge RCS Keywords.dgp2011-06-081-2/+0
| | |
| | * * unix/tcl.m4 (Darwin): add 64bit support, check for Tiger copyfile(),das2005-11-271-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add CFLAGS to SHLIB_LD to support passing -isysroot in env(CFLAGS) to configure (flag can't be present twice, so can't be in both CFLAGS and LDFLAGS during configure), don't use -prebind when deploying on 10.4, define TCL_IO_TRACK_OS_FOR_DRIVER_WITH_BAD_BLOCKING (rdar://3171542). (SC_ENABLE_LANGINFO, SC_TIME_HANDLER): add/fix caching, fix obsolete autoconf macros. Sync with tk/unix/tcl.m4, sync whitespace with HEAD. * unix/configure.in: fix obsolete autoconf macros, sync gratuitous formatting/ordering differences with tcl/unix/configure.in. * unix/Makefile.in: add CFLAGS to wish/tktest link to make executable linking the same as during configure (needed to avoid loosing any linker relevant flags in CFLAGS, in particular flags that can't be in LDFLAGS). Avoid concurrent linking of wish and compiling of tkTestInit.o during parallel make, fix dependencies and flags for building tkMacOSXInit.o (checkstubs, checkexports): dependency and Darwin fixes * macosx/tkMacOSXEvent.c (TkMacOSXProcessEvent): * macosx/tkMacOSXEvent.h: * macosx/tkMacOSXMouseEvent.c (TkMacOSXProcessMouseEvent): * macosx/tkMacOSXCarbonEvents.c: install standard application event handler, add & call functions to start and stop carbon even timer that runs the tcl event loop periodically during a nested carbon event loop in the toolbox (e.g. during menutracking) to ensure tcl timers etc continue to fire, register app event handler for menu tracking and HI command carbon events, move menu event handling to new handlers for those carbon events, no longer register for/handle appleevent carbon event (now dealt with by standard application event handler), event debugging code dynamically acquires carbon event debugging functions to allow use on Tiger where they are no longer exported from HIToolbox. * macosx/tkMacOSXFont.c (TkMacOSXUseAntialiasedText): * macosx/tkMacOSXKeyEvent.c (GetKeyboardLayout): * macosx/tkMacOSXCarbonEvents.c (TkMacOSXInitCarbonEvents): * macosx/tkMacOSXInit.c: * macosx/tkMacOSXInt.h: abstract common code to dynamically acquire address of a named symbol (from a loaded dynamic library) into new function TkMacOSXGetNamedSymbol() and macro TkMacOSXInitNamedSymbol. * macosx/tkMacOSXMenu.c (TkpNewMenu): * macosx/tkMacOSXMenubutton.c (MenuButtonInitControl): * macosx/tkMacOSXMenus.c (TkMacOSXHandleMenuSelect): switch to modern utf8 aware menu manager API, remove obsolete code, add error handling. * macosx/tkMacOSXMouseEvent.c: define OSX 10.3 or later only constants if necessary to allow compilation on OSX 10.2 * macosx/tkMacOSXWm.c (UpdateSizeHints): remove code that is never executed. * generic/tk.h: add/correct location of version numbers in macosx files. * generic/tkInt.h: clarify fat compile comment. * macosx/Wish.pbproj/default.pbxuser (new file): * macosx/Wish.pbproj/jingham.pbxuser: * macosx/Wish.pbproj/project.pbxproj: sync with HEAD. * macosx/buildTkConfig.tcl (removed): remove obsolete build files. * macosx/README: clarification/cleanup, sync with HEAD, document universal (fat) builds via CFLAGS (i.e. ppc and i386 at the same time). * macosx/Makefile: add support for reusing configure cache, build target fixes. * generic/tkMenu.c: * macosx/tkMacOSXButton.c: * macosx/tkMacOSXDebug.c: * macosx/tkMacOSXDebug.h: * macosx/tkMacOSXDialog.c: * macosx/tkMacOSXDraw.c: * macosx/tkMacOSXEntry.c: * macosx/tkMacOSXMenu.c: * macosx/tkMacOSXMouseEvent.c: * macosx/tkMacOSXXStubs.c: * macosx/tkMacOSXSubwindows.c: * xlib/xgc.c: declare functions and globals used only in own file as static, #ifdef out a few Xlib and aqua functions that are never called (sync with HEAD). * macosx/tkMacOSXPort.h: * generic/tkInt.decls: correct signature of TkMacOSXHandleMenuSelect, add XSync to aqua Xlib stubs. * generic/tkTest.c: #ifdef unix only declarations. (TestmetricsCmd): unify win and mac implementation. * generic/tkTextDisp.c: * generic/tkTextBTree.c: * macosx/tkMacOSXInit.c: * macosx/tkMacOSXKeyEvent.c: * macosx/tkMacOSXWindowEvent.c: * macosx/tkMacOSXXStubs.c: fix gcc 4 warnings. * macosx/tkMacOSXNotify.c: * macosx/tkMacOSXTest.c: sync with HEAD. * generic/tkIntPlatDecls.h: * generic/tkIntXlibDecls.h: * generic/tkStubInit.c: * unix/configure: regen.
| | * * generic/tkFrame.c (DisplayFrame):hobbs2005-07-281-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tkInt.decls: add TkpDrawFrame to allow for * generic/tkIntDecls.h: platform-specific drawing into the frame/ * generic/tkStubInit.c: toplevel area. Currently only differs on * generic/tkFrame.c: OS X (Aqua), which will draw a themed bg * win/tkWinDraw.c: if tk::mac::useThemedToplevel == 1. * unix/tkUnixDraw.c: Normal frames left alone until we can * mac/tkMacDraw.c: better factor out frame drawing to be * macosx/tkMacDraw.c: widget-specific.