summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* tkWindow.c/tkStubInit.c adapted from stub changes in Tclnijtmans2010-02-164-18/+21
| | | | | | | | | | | | tkArgv.c make defaultTable const tkScrollbar.c Store default for "-with" in static non-const memory tkWinInt.h make tkWinProcs const, and 5 tkWinX.c procs MODULE_SCOPE tkWinColor.c make sysColors const tkWinKey.c make keymap const tkWinScrlbr.c Simplify copying of "-with" default value. tkUnixWm.c make TkSetTransientFor static tests/textImage.test textImage-1.13 depends on hash-order
* use -pipe for gcc on win32 (mingw/cygwin)nijtmans2010-02-1312-193/+46
| | | | | | make sure that TkpCmapStressed is exported clean up unused Tk_CreatePhotoOption Make more internal arrays "const"
* Make more internal tables "const"nijtmans2010-02-058-47/+39
| | | | tk*Decls.h (regenerated with new genStubs.tcl from Tcl)
* Laxative patch: Revert contravariant const qualifiers added by thejenglish2010-02-0513-44/+43
| | | | | previous commit to keep codebase in sync with the Tile extension, which must remain 8.4 compatible.
* Make the various stub tables and hook pointers const,nijtmans2010-02-0518-58/+74
| | | | | just as Tcl and Tk. Make more internal tables "const"
* Follow-up to [2010-01-29] commit:nijtmans2010-02-057-607/+613
| | | | | prevent space within stub table function parameters if the parameter type is a pointer.
* Change signature of widget subcommand procedures to match Tcl_ObjCmdProc.jenglish2010-01-3115-397/+341
| | | | Merge now-redundant ensemble dispatch code.
* Little simplification in tkBind.cnijtmans2010-01-291-5/+2
|
* genStubs.tcl: No longer generate a space afternijtmans2010-01-298-1278/+1223
| | | | | | "*" and immediately after a function name, so the format of function definitions in *Decls.h match all other *.h header files.
* fix more gcc warnings: missing initializernijtmans2010-01-2213-59/+61
| | | | | | | Eliminate use of __argc and __argv for CYGWIN Make cygwin configuration error into a warning: CYGWIN compilation works although there still are test failures.
* [Bug 2931374]: Stop overflow of working buffer during construction of longdkf2010-01-191-2/+6
| | | | tag expressions.
* fix more gcc warnings: missing initializernijtmans2010-01-1829-334/+362
| | | | | Apply patch [#2932808]: Canvas items not updating on widget state change
* Eliminate tkpMenubuttonClassnijtmans2010-01-1316-41/+66
| | | | | make tkpButtonProcs CONST fix gcc warnings: missing initializer
* CONSTify Tk_SetClassProcsnijtmans2010-01-104-9/+9
|
* [Bug 2677890]: Fix odd text widget update problem that had scrollbars beingdkf2010-01-071-3/+9
| | | | unable to cover the whole widget. Fix is to reify the range to update sooner.
* [Bug 2926819]: Factor out the pointer warping code a bit better and extend itdkf2010-01-063-14/+19
| | | | to work on OSX too.
* Win doesn't have round(), but does have floor()dkf2010-01-051-2/+2
|
* [Bug 220950]: Don't delete the last menu entry when it is obvious that is notdkf2010-01-051-2/+13
| | | | what was intended.
* Corrected rounding of coordinates when working with fonts. [Bug 2824916]dkf2010-01-052-4/+8
|
* 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
|