summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* Removed lame reliance on the leading letters of the names of segment types whendkf2010-03-114-9/+13
| | | | | dumping a text widget. Entailed expanding the scope of the declarations of the types of embedded images and windows.
* * generic/tkText.c (DumpLine): [Bug 2968379]: When peers are about,dkf2010-03-111-8/+13
| | | | | | there can be unnamed marks present during a dump. Ignore them as they will just be for the peers' insert and current marks, which aren't very important.
* * generic/tkPlatDecls.h: Correct broken 2886635 fix. [Bug 2965600]dgp2010-03-081-2/+2
|
* Use @EXEEXT@ in stead of @EXT_SUFFIX@nijtmans2010-02-224-12/+12
| | | | | Use -DBUILD_tk in Makefile Make internal Tk_ObjCustomOption const
* Tiny whitespace changes for readability improvement.dkf2010-02-214-10/+10
|
* Re-fix [Bug 1799782].dkf2010-02-211-7/+17
|
* ttk::treeview: Cache the result of the last call to EndPosition()jenglish2010-02-201-10/+30
| | | | | | | to avoid quadratic-time behavior in the common cases where the treeview is populated in depth-first or breadth-first order. (Translation for LM: that means "3X faster!")
* Put all Tk_OptionSpec for buttons and labelsnijtmans2010-02-182-26/+42
| | | | | | in const memory. With some changes to win32 and macosx, preventing direct writes to read-only memory.
* generic/tkMenu.c: Defer TkMenuOptionTables cleanup to CallWhenDeleted() time,jenglish2010-02-171-4/+5
| | | | | 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-1718-79/+76
|
* 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
|