summaryrefslogtreecommitdiffstats
path: root/generic/tkInt.h
Commit message (Collapse)AuthorAgeFilesLines
* Make "send" (and "testsend") use the Tcl_Obj API.jan.nijtmans2014-05-231-2/+3
|
* Make the "scrollbar" a real Tcl_Obj-based command. No change in functionality.jan.nijtmans2014-05-221-4/+5
|
* Eliminate all usage of __WIN32__ macro: Some compilers (e.g. Clang/LLVM) ↵jan.nijtmans2014-02-101-2/+2
| | | | | 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]
* Make "menu" a normal command, initialized like any other Tk command.jan.nijtmans2013-10-291-1/+3
|
* 3607830 Runtime checks that Xkb is available in the X server before trying todgp2013-04-011-0/+1
|\ | | | | use. Adapted from patch from Brian Griffin.
| * Runtime check for Xkb support in X server.dgp2013-04-011-0/+1
| | | | | | Contributed patch from Brian Griffin.
| * Add 8 colors to the supported color list (aqua, crimson, fuchsia, indigo, ↵jan.nijtmans2012-09-281-0/+2
| |\ | | | | | | | | | lime, olive, silver and teal), part of TIP #403
| | * Add 8 colors to the supported color list (aqua, crimson, fuchsia, indigo, ↵jan.nijtmans2012-09-281-0/+2
| | | | | | | | | | | | lime, olive, silver and teal), part of TIP #403
| * | Type correctness fix, to stop compiler complaint.dkf2012-07-121-1/+1
| | |
* | | merge trunkdkf2012-08-271-0/+2
|\ \ \
| * | | better wrapper, with one less roundtrip through X11 serverjan.nijtmans2012-07-161-0/+2
| | | |
* | | | Purged Tcl_AppendElement from all non-test code.dkf2012-07-291-1/+1
|/ / /
* | | Type correctness fix, to stop compiler complaintjan.nijtmans2012-07-121-1/+1
| | |
* | | Fix text clipping when working with the Xft-based renderer.dkf2012-06-121-0/+3
|\ \ \ | |/ /
| * | Fix text clipping when working with the Xft-based renderer.dkf2012-06-121-0/+3
| | |
* | | _Xconst -> constjan.nijtmans2012-02-211-1/+1
|\ \ \ | |/ /
| * | _Xconst -> CONSTjan.nijtmans2012-02-211-1/+1
| |\ \ | | |/
| | * _Xconst -> CONSTjan.nijtmans2012-02-211-1/+1
| | |
* | | [Bug 3486474]: Inconsistent color scalingjan.nijtmans2012-02-151-0/+8
|\ \ \ | |/ /
| * | [Bug 3486474]: Inconsistent color scalingjan.nijtmans2012-02-151-0/+7
| |\ \ | | |/
| | * proposed fix for bug-3486474jan.nijtmans2012-02-101-0/+7
| | |
* | | Fix for bug 3410609; confirmed to work on UK keyboard.dkf2011-10-251-0/+2
|\ \ \ | |/ /
| * | Tentative fix for bug 3410609 - use the keysym returned by XLookupString in ↵bug_3410609Kevin B Kenny2011-10-011-0/+2
| | | | | | | | | | | | preference to the raw one in the XEvent.
* | | Purge RCS Keywordsdgp2011-06-081-2/+0
|\ \ \ | |/ /
| * | Purge RCS Keywords.dgp2011-06-081-2/+0
| |\ \ | | |/
| | * Purge RCS Keywords.dgp2011-06-081-2/+0
| | |
| | * * generic/tkEntry.c: move hard-coded ALWAYS_SHOW_SELECTIONhobbs2006-09-061-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tkInt.h: control of entry/text selection display * generic/tkText.c: based on focus to the Tcl level, * generic/tkTextBTree.c: controlled by ::tk::AlwaysShowSelection * generic/tkTextDisp.c: (boolean, private). [Bug 1553691] * generic/tkWindow.c: * library/tk.tcl * unix/tkUnixPort.h:
| | * * generic/tkInt.h: Thread safety for the data structures ofdgp2006-06-051-4/+1
| | | | | | | | | | | | * generic/tkConsole.c: the wish [console]. [Bug 1188340].
| | * * unix/tcl.m4 (Darwin): add 64bit support, check for Tiger copyfile(),das2005-11-271-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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/tkInt.h: add MODULE_SCOPE and WORDS_BIGENDIAN checkshobbs2005-10-101-1/+40
| | | | | | | | | | | | that will work with OS X universal binary compiles. (steffen)
| | * * generic/tkInt.h: Swap TkUnsupported1Cmd for TkUnsupported1ObjCmd.hobbs2005-07-281-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tkWindow.c: Ditto. (neil madden) * macosx/tkMacOSXInt.h: Added TkMacOSXWindowClass decl * macosx/tkMacOSXWm.c (TkMacOSXWinStyle) New function. (TkUnsupported1ObjCmd): New function, replaces the un-objectified version of the command, recognizes more classes and attributes. (TkMacOSXWindowClass): private function to return OS X class of a Tk window. * macosx/tkMacOSXSubwindows.c (XMapWindow, XUnmapWindow): recognize special show/hide functions for sheets
| | * Improved version of Michael Kirkham's fix for parsing pad values. [1098779]dkf2005-01-111-1/+6
| | |
| | * * generic/tkInt.h: Backport of shutdown safety mods from the HEADdavygrvy2004-10-271-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tkMenu.c: dating from 2003-12-21 * generic/tkUtil.c: * generic/tkWindow.c: * mac/tkMacButton.c: * unix/tkUnixEvent.c: * win/tkWin32Dll.c: * win/tkWinEmbed.c: * win/tkWinMenu.c: * win/tkWinX.c:
| | * Backport of 8.5 wm iconphoto that added support for Tk photohobbs2004-10-051-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | * generic/tkInt.h (TkDisplay): images as titlebar icons. TIP #159 * win/tkWinWm.c (WmIconphotoCmd): wm iconphoto ?-default? image1 ... * macosx/tkMacOSXWm.c (WmIconphotoCmd): Implemented for Win/Unix, * unix/tkUnixWm.c (WmIconphotoCmd): stubbed out for OS X. * tests/wm.test, tests/unixWm.test, tests/winWm.test: [Bug 815751]
| | * * generic/tkInt.h: move TkGetOptionSpec to stubs intDeclshobbs2003-10-131-4/+1
| | | | | | | | | | | | | | | | | | * generic/tkIntDecls.h: * generic/tkInt.decls: * generic/tkStubInit.c:
| * | Fix [Bug 1373712] and [Bug 1924761].dkf2010-01-021-4/+19
| | |
| * | [Bug 1924761]: Consolidate calls to XFilterEvent to make input methods work.dkf2010-01-011-3/+4
| | |
| * | Expose TkSmooth(Parse|Print)Proc through the internal stub table. It was the ↵nijtmans2009-06-271-20/+2
| | | | | | | | | | | | | | | | | | | | | last set of internal function of this type which was not exposed yet. Removed TkTile(Parse|Print)Proc from tkInt.h, because they don't exist. Follow-up to [Bug 2804935], now all Tk*(Parse|Print)Proc functions are exposed through the internal stub table.
| * | Private-export functions that were being used in extensions. [Bug 2768945]dkf2009-04-271-25/+1
| | |
| * | Backport of the Millipeter patch [1813597,2218964]ferrieux2008-12-211-1/+6
| | |
| * | ensure WORDS_BIGENDIAN #define agrees with autoconfdas2008-04-021-2/+2
| | |
* | | * generic/tkInt.decls (TkDrawAngledTextLayout,TkDrawAngledChars,...):dkf2010-12-021-14/+3
| | | | | | | | | | | | | | | Expose angled text API for Emiliano Gavilan. Still only in internal stub table.
* | | [Patch 3009998]: Replace binding procedures with ordinary event handlersjenglish2010-06-191-9/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in win/tkWinScrlbr.c and carbon/tkMacOSXScrlbr.c. Simplifications enabled by previous change: * TkCreateBindingProcedure() and associated machinery no longer needed. * TkBindDeadWindow() no longer needed. * TK_DEFER_MODAL_LOOP and associated machinery no longer needed. * Tests related to C binding procedures no longer needed.
* | | Formattingnijtmans2010-04-231-16/+2
| | | | | | | | | | | | | | | | | | typo fixes remove not existing tkDisplayList; Useless re-definitions of TCL_STORAGE_CLASS
* | | tkPort.h already includes tk.h, which includes tcl.hnijtmans2010-04-201-7/+1
| | | | | | | | | | | | Always use #include "tkInt.h", not <tkInt.h>
* | | fix more gcc warnings: missing initializernijtmans2010-01-221-1/+2
| | | | | | | | | | | | | | | | | | | | | Eliminate use of __argc and __argv for CYGWIN Make cygwin configuration error into a warning: CYGWIN compilation works although there still are test failures.
* | | CONSTify Tk_SetClassProcsnijtmans2010-01-101-2/+2
| | |
* | | [Bug 2926819]: Factor out the pointer warping code a bit better and extend itdkf2010-01-061-2/+5
| | | | | | | | | | | | to work on OSX too.
* | | Fix [Bug 1373712] and [Bug 1924761].dkf2010-01-021-1/+17
| | |
* | | [Bug 1924761]: Consolidate calls to XFilterEvent to make input methods work.dkf2010-01-011-3/+4
| | |