summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* cast needed on msvc6 for ushort to char to avoid warningpatthoyts2010-01-031-2/+2
|
* Patch 2848897: Support the system keyboard cues setting on Windowspatthoyts2010-01-031-2/+15
| | | | | | | | | This patch by Anton Kovalenko adds support for the Windows system-wide UI setting that prevents accelerators being underlined unless the Alt key is pressed. Modified to support the system keyboard cues flag and to handle dynamic changes to the system parameters by the user.
* Simplify the postscript generation.dkf2010-01-032-101/+105
|
* SMALL FIX: Remove useless explicit casts now that we require C89 or later.dkf2010-01-0239-315/+295
|
* Fix [Bug 1373712] and [Bug 1924761].dkf2010-01-022-16/+76
|
* [Bug 1924761]: Consolidate calls to XFilterEvent to make input methods work.dkf2010-01-012-69/+28
|
* Patch 2879789: Make torn-off menu entrys activate across whole windowpatthoyts2009-12-301-13/+25
| | | | | | | | The torn-off menu entries do not activate except immediately over the label or icon. If the window containing the torn-off menu is expanded then a lot of dead space may be created, including the cascade arrow. This patch fixes this making the whole width for any menu entry capable of activation when the pointer hovers over the item.
* CONSTify return values of TkKeysymToString,nijtmans2009-12-164-18/+18
| | | | | | | TkFindStateString, TkpGetString, TkpGetChar, which are all not supposed to be modified by the caller. In tkUtil.c this gets rid of a dangerous type cast.
* Fix gcc warning: ignoring return value of ‘strtol’,nijtmans2009-12-161-2/+2
| | | | | | declared with attribute warn_unused_result Fix gcc warning: dereferencing pointer ‘xgePtr’ does break strict-aliasing rules
* * generic/tkConfig.c: Added another dimension of refCounting to thedgp2009-12-153-10/+51
| | | | | | | | * generic/tkInt.c: "option" Tcl_ObjType to improve memory troubles * generic/tkObj.c: detailed in [Bug 2492179]. Also removed registration of the "option" Tcl_ObjType. *** POTENTIAL INCOMPATIBILITY *** for callers of Tcl_GetObjType("option") which must now handle a NULL return.
* [Bugs 220600, 220690]: Comment that TkWinChildProc is exportednijtmans2009-12-121-2/+2
| | | | through the stubs table since 8.5.9
* Fix gcc warning, using gcc-4.3.4 on cygwinnijtmans2009-12-121-2/+2
| | | | warning: array subscript has type 'char'
* Apply [Bug 2911570]'s patch to make color value hashing work on 64-bit.dkf2009-12-091-1/+4
|
* Improve generation of EWMH hints for windows.dkf2009-12-092-22/+54
|
* win/Makefile.in Use tktest86.dll for all tests.nijtmans2009-12-024-5/+24
| | | | | | | | win/tkWinInt.h mark various functions MODULE_SCOPE generic/tkInt.decls make TkWinChildProc available in private stub table. [Bug #220600] and [Bug #220690]. generic/tkIntPlatDecls.h (regenerated) generic/tkStubInit.c (regenerated)
* Make all internal initializationnijtmans2009-11-294-32/+18
| | | | | | routines MODULE_SCOPE copy win/tcl.m4 from Tcl (latest) to Tk and regenerate win/configure
* [Tcl Bug 2857044]: Corrections following audit of Tcl_ObjType freeingdkf2009-11-217-135/+185
| | | | | | | practises; the typePtr field is now cleared when an object ceases to be of the type. Also remove some anachronistic techniques (pointless casts, mixed assignments and tests, etc.)
* Compile tkTest.c and friends with Stubsnijtmans2009-11-193-3/+37
|
* [Bug 2899685]: fix the redraw logic of [imove]ferrieux2009-11-191-3/+8
|
* Fix [Bug 2900121] by inverting the sense of the test.dkf2009-11-191-8/+8
|
* Undo formatting breakagedkf2009-11-191-25/+25
|
* * generic/tkPlatDecls.h: Restore C++ friendliness to thedgp2009-11-111-1/+9
| | | | | tkPlatDecls.h header file, which we insist extensions #include to gain access to the Tk_*HWND*() routines. [Bug 2886635].
* Some code consolidation (don't scatter deletion code where unnecessary).dkf2009-11-091-111/+43
|
* Uniform, extensible syntax for [$w identify] methods:jenglish2009-11-013-46/+97
| | | | | | | | | | [$w identify $component $x $y]. All ttk::* widgets support [$w identify element $x $y]; widgets with other identifiable parts may have additional subcommands. Notebook widgets support [$nb identify tab], Panedwindow widgets support [$w identify sash]. Older 2-argument form [$w identify $x $y] still supported, though it does different things depending on the widget.
* Apply (slight cleaner, tested) version of [Patch 1469210].dkf2009-10-222-23/+79
|
* Add cast to int to silence warning on msvc.patthoyts2009-10-211-2/+3
|
* [Bug 1961455]: Draw underlines and overstrikes when using Xft.dkf2009-10-101-3/+8
|
* Correct generation of grayscale data from an image. Reported by Keith Vetterdkf2009-09-251-3/+3
| | | | on comp.lang.tcl.
* Bug fix in grid/pack collision detect.pspjuth2009-09-182-2/+5
| | | | Faulty slave was not properly blocked from slave list. [Bug 2859912]
* * generic/tkMenuDraw.c (TkPostSubmenu): Fix reposting of submenu inhobbs2009-09-141-2/+6
| | | | | | | * win/tkWinMenu.c (TkWinHandleMenuEvent): torn off Windows menu. [Bug 873613] (DrawMenuEntryArrow): Draw Win menu arrow after being torn off. [Bug 873608]
* Put the armouring in the right place.dkf2009-09-101-9/+14
|
* Try to make Tk more resilient in the face of Xft allocation failures.dkf2009-09-091-1/+9
|
* * generic/tkFocus.c: fix potential null dereference flagged by clangdas2009-09-0710-18/+40
| | | | | | | | | | | | | | * generic/tkMenu.c: static analyzer. * generic/tkTextBTree.c: * generic/tkTextDisp.c: * generic/tkTextIndex.c: * generic/tkConsole.c: silence false positives from clang static * generic/tkTest.c: analyzer about potential null dereference. * generic/tkText.c: * generic/tkTextBTree.c: * generic/tkTextTag.c: * generic/tkVisual.c:
* make support for clang static analyzer safer & cleanerdas2009-09-071-7/+9
|
* Finish purging remains of old XID hacks (a bunch of unused/write-only fields indkf2009-09-042-40/+3
| | | | the TkDisplay structure...)
* Improve consistency of formatting of comments and function declsdkf2009-09-041-61/+57
|
* guard clang analyzer Tcl_Panic annotation with #ifndef USE_TCL_STUBSdas2009-08-251-2/+5
|
* * generic/tkInt.h: Annotate Tcl_Panic as noreturn for clang staticdas2009-08-241-4/+2
| | | | analyzer in PURIFY builds, replacing preprocessor/assert technique.
* * generic/tkBind.c (HandleEventGenerate): Don't generate events fordas2009-08-241-2/+13
| | | | windows that don't exist yet (fixes TkAqua testsuite crash).
* Give an error if grid and pack are used in the same master. [Patch 2475855]pspjuth2009-08-196-6/+191
|
* Eliminate various gcc warningsnijtmans2009-08-094-113/+112
| | | | include <vssym32.h> only when available
* Fix word-wrapping of non-breaking spaces in the text widget to work reliably.dkf2009-08-041-7/+17
|
* Fix [Bug 2441988]. Also squelch use of TkCopyAndGlobalEval, we can do better!dkf2009-07-232-18/+27
|
* [Bug 2496114]: Ensure that focus desynchronization doesn't cause a crash.dkf2009-07-221-1/+11
|
* Corrected drawing of rotated underlines. [Bug 2356057]dkf2009-07-211-3/+3
|
* Fix [Bug 2328657] by explicitly excluding hacky zero-char chunks from ↵ferrieux2009-07-201-4/+5
| | | | intersection computation. Might deserve generalization to other tests.
* Avoid the use of C++ reserved words in headers [Bug2815625]patthoyts2009-07-021-2/+2
|
* s/Tcl_PanicEx/TclPanic/; improve clang assert Tcl_Panic macrologydas2009-06-301-3/+3
|
* * generic/tkInt.h: add assert macros for clang staticdas2009-06-305-8/+28
| | | | | | | | | | | | analyzer and redefine Tcl_Panic to assert after panic in clang PURIFY builds. * generic/tkImgPhInstance.c: small fixes to make clang static * generic/tkTextDisp.c: analyzer happier. * generic/tkConfig.c: add clang assert for false positives * generic/tkUndo.c: from static analyzer.
* Merge of TkAqua Cocoa portmacosx_cocoa_mergedas2009-06-299-65/+80
|