summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* generic/tkMenu.c: Defer TkMenuOptionTables cleanup to CallWhenDeleted() time,jenglish2010-02-172-4/+12
| | | | | to ensure that the record doesn't get freed until after all widget instance commands have been deleted (Fixes [Bug#2952745]).
* CONSTify everything related to Tk_ConfigSpecnijtmans2010-02-1725-133/+119
|
* tkWindow.c/tkStubInit.c adapted from stub changes in Tclnijtmans2010-02-1612-128/+109
| | | | | | | | | | | | 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-1316-215/+71
| | | | | | make sure that TkpCmapStressed is exported clean up unused Tk_CreatePhotoOption Make more internal arrays "const"
* Make more internal tables "const"nijtmans2010-02-0515-57/+61
| | | | tk*Decls.h (regenerated with new genStubs.tcl from Tcl)
* Laxative patch: Revert contravariant const qualifiers added by thejenglish2010-02-0514-44/+49
| | | | | 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-0519-62/+95
| | | | | just as Tcl and Tk. Make more internal tables "const"
* Follow-up to [2010-01-29] commit:nijtmans2010-02-058-607/+621
| | | | | prevent space within stub table function parameters if the parameter type is a pointer.
* When a function has had a leading underscore for a number of years youpatthoyts2010-02-031-1/+5
| | | | | might like to think about it when you remove it without testing the other compilers used. Fixed dimwitted previous edit.
* Change signature of widget subcommand procedures to match Tcl_ObjCmdProc.jenglish2010-01-3117-404/+384
| | | | Merge now-redundant ensemble dispatch code.
* Little simplification in tkBind.cnijtmans2010-01-292-5/+3
|
* genStubs.tcl: No longer generate a space afternijtmans2010-01-299-1278/+1237
| | | | | | "*" 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-2224-218/+395
| | | | | | | 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-193-7/+25
| | | | tag expressions.
* TIP #359: Extended window manager hints support for X11.patthoyts2010-01-1911-25/+223
| | | | | | | | | | | | | Modern unix window managers use a set of window properties to give hints as to the purpose of a toplevel window. They then use these hints to apply various animation and decoration options based on the type (dialog, menu, tooltip and more). This patch adds a [wm attributes $w -type] option to control and read the type hint and makes use of this for the ttk::combobox and the dialogs raised from the Tk library scripts. Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
* fix more gcc warnings: missing initializernijtmans2010-01-1830-334/+395
| | | | | Apply patch [#2932808]: Canvas items not updating on widget state change
* Add SPI_SETKEYBOARDCUES definition,nijtmans2010-01-142-2/+7
| | | | needed for original VC++ 6.0
* Adjust formatting to make this look nicerdkf2010-01-141-11/+10
|
* Improve linking between pages, put Tk variables in Tk docs.dkf2010-01-141-3/+12
|
* Eliminate tkpMenubuttonClassnijtmans2010-01-1336-128/+173
| | | | | make tkpButtonProcs CONST fix gcc warnings: missing initializer
* Embolden literalsdkf2010-01-131-24/+29
|
* Tidy up subcommand order and formattingdkf2010-01-131-18/+20
|
* Improve links/keywordsdkf2010-01-131-5/+6
|
* Add subcommands to SYNOPSIS, small improvement to cross-linksdkf2010-01-132-6/+33
|
* Formatting correctiondkf2010-01-131-2/+2
|
* Reorganize to split "interesting" variables from internal/debug ones.dkf2010-01-131-17/+39
| | | | Improved the list of keywords.
* Better keywordsdkf2010-01-131-2/+3
|
* Small doc improvements to improve cross-links.dkf2010-01-132-4/+10
|
* Changes to make this convert betterdkf2010-01-131-24/+27
|
* Small improvements in language use, added cross-linksdkf2010-01-121-17/+23
|
* Sync tcl.m4 and configure with Tcl versionnijtmans2010-01-103-2/+34
| | | | Regenerate configure script with autoconf-2.59
* Small cleanups to improve HTML generation.dkf2010-01-103-13/+15
|
* CONSTify Tk_SetClassProcsnijtmans2010-01-106-11/+19
|
* TIP 360: Remove special handling of .help menu on X11.patthoyts2010-01-094-7/+28
| | | | | | | | | | | | Tk is the only toolkit to continue the Motif scheme of anchoring a Help menu to the extreme right of the menubar. This patch disables the special handling of the .help menu so that the help menu will be grouped with the other menu items as is common with other toolkits. The old behaviour can be restored by setting the option *Menu.useMotifHelp to true or by calling 'tk::classic::restore menu'. Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
* TIP 360: Make Tk menu activation follow mouse movement.patthoyts2010-01-093-5/+28
| | | | | | | | | | | | This patch makes Tk menus on unix follow mouse motion in the same way Windows and GNOME menus follow the mouse. Once a menubar dropdown has been activated, moving the mouse to another menubar button or cascade item will activate the dropdown without needing another click. The previous behaviour can be restored by setting the *Menu.clickToFocus option true or by calling 'tk::classic::restore menu' if this is preferred. Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
* Minor formatting fixdkf2010-01-081-3/+43
|
* [Bug 2927569] Corrected image put documentation for -to option.patthoyts2010-01-082-3/+9
| | | | | Multiple edits have peverted the original meaning of the phrase 'image file data' to reference a filename option that does not exist.
* [Bug 2677890]: Fix odd text widget update problem that had scrollbars beingdkf2010-01-073-4/+40
| | | | unable to cover the whole widget. Fix is to reify the range to update sooner.
* Centralize the definitions of what keys do particular types of left and rightdkf2010-01-067-55/+173
| | | | movements in entries and text widgets. They vary between platforms!
* [Bug 2926819]: Factor out the pointer warping code a bit better and extend itdkf2010-01-068-18/+129
| | | | to work on OSX too.
* Oopsdkf2010-01-061-2/+2
|
* [Bug 1163496]: Allow windows to be set to be transients for withdrawn mastersdkf2010-01-063-8/+35
| | | | correctly.
* Patch 289825: Enable unlimited multiple file selection from the open files ↵patthoyts2010-01-053-114/+310
| | | | dialog
* 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-053-3/+29
| | | | what was intended.
* Corrected rounding of coordinates when working with fonts. [Bug 2824916]dkf2010-01-056-28/+81
|
* Bug 1958848: be more positive in canvas item demopatthoyts2010-01-041-2/+2
|
* Bug 2192104: mention the USE_TK_STUBS macro in the man pagepatthoyts2010-01-042-8/+12
|
* Fix the <Return> binding for tk_dialog to invoke the focused button.patthoyts2010-01-042-24/+13
| | | | | | | | The standard for Windows and Gtk+ is that the <Return> binding invokes the button that currently has the keyboard focus. This can be seen in tk_messageBox which implements this. This patch implements this feature and also makes use of the tk grab utility functions to replace the grab handling code.
* Fix the default size of the font chooser and set minimum sizepatthoyts2010-01-042-9/+32
|