summaryrefslogtreecommitdiffstats
path: root/generic/tkPanedWindow.c
Commit message (Collapse)AuthorAgeFilesLines
* Revert [ac229dabaa]. There is a reason the Tcl_GetIndexFromObj wrapper jenglish2013-02-271-6/+6
| | | exists and is used.
* Eliminate all Tcl_GetIndexFromObj calls, which is only a thin wrapper around ↵jan.nijtmans2013-02-271-6/+6
| | | | Tcl_GetIndexFromObjStruct.
* Use internalRep.twoPtrValue.ptr1 in stead of internalRep.otherValuePtr ↵jan.nijtmans2013-02-011-1/+1
|\ | | | | | | | | everywhere. Change some internal "length" variables from type int to type size_t, so it could handle bigger string sizes (for "novem")
| * SetOptions.3: minor doc fixjan.nijtmans2012-06-191-18/+18
| |\ | | | | | | | | | make various other tables const (all backported from Tk 8.6)
| | * SetOptions.3: minor doc fixjan.nijtmans2012-06-191-7/+7
| | | | | | | | | | | | make various other tables CONST (All backported from Tk 8.6)
| * | make some internal tables constjan.nijtmans2012-04-181-2/+2
| |\ \ | | |/
| | * make some more internal tables CONSTjan.nijtmans2012-04-181-1/+1
| | |
* | | Convert all Tcl_SetResult calls to Tcl_SetObjResult calls. jan.nijtmans2013-01-281-1/+1
| | | | | | | | | Convert Tcl_GetStringFromObj to Tcl_GetString when possible.
* | | more auditing of error codesdkf2012-07-301-4/+5
| | |
* | | Much more cleaning up of result handling.dkf2012-07-231-41/+45
| | |
* | | frq-3536507: clientData field in Tk_OptionSpec should be "const void *"frq_3536507jan.nijtmans2012-06-201-5/+5
| | |
* | | Purge RCS Keywordsdgp2011-06-081-2/+0
|\ \ \ | |/ /
| * | Purge RCS Keywords.dgp2011-06-081-2/+0
| |\ \ | | |/
| | * Purge RCS Keywords.dgp2011-06-081-2/+0
| | |
| | * * generic/tkCanvas.c: allow -selectforeground option to be None; adddas2007-04-291-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tkCanvText.c: fallback to fgColor when selFgColor is None * generic/tkEntry.c: (new default on aqua to match native L&F). * generic/tkListbox.c: * generic/tkText.c: * generic/tkCanvas.c: add support for bypassing all of Tk's double * generic/tkEntry.c: buffered drawing into intermediate pixmaps * generic/tkFrame.c: (via TK_NO_DOUBLE_BUFFERING #define), it is * generic/tkListbox.c: unnecessary & wasteful on aqua where all * generic/tkPanedWindow.c: drawing is already double-buffered by the * generic/tkTextDisp.c: window server. (Use of this on other * unix/tkUnixScale.c: platforms would only require implementation of TkpClipDrawableToRect()).
| | * * generic/tkPanedWindow.c: Cleaned up some code flagged by adgp2006-10-171-3/+3
| | | | | | | | | | | | | | | | | | * generic/tkText.c: `make checkexports` test. * generic/tkText.h * generic/tkTextTag.c:
| | * Fix [Bug 1252702]dkf2005-08-111-2/+2
| | |
| | * * generic/tkPanedWindow.c, tests/panedwindow.test: batch of fixeshobbs2005-05-311-208/+347
| | | | | | | | | | | | | | | | | | | | | to panedwindow from Daniel South. Improved auto-size to fit internal windows, fixed sash placement at edge of pane, fixed calculation of stretch amount for internal windows. [Bug 1124198 1161543 1054117 1010941 795869 690169 1192323]
| | * * generic/tkPanedWindow.c (Tk_PanedWindowObjCmd): set save_under Xhobbs2004-11-171-1/+6
| | | | | | | | | | | | attr to prevent expose events when moving sash. [Bug 1036963]
| | * Add missing GEOMETRY flag to -handlepad option. [Bug 1010938]dkf2004-08-181-2/+2
| | |
| | * * tests/panedwindow.test: panedwindow-25.1hobbs2004-05-031-1/+13
| | | | | | | | | | | | | | | * generic/tkPanedWindow.c (Unlink): clean up -before/-after refs to a slave when removing it. [Bug #928413] (griffin)
| | * * generic/tkPanedWindow.c(PanedWindowWorldChanged):jenglish2003-08-191-2/+3
| | | | | | | | | | | | | | | Set window background from the -background resource. Fixes [BUG #791500 "PanedWindow refresh glitches on X"]
| | * Fix for [Bug 702230], and what an evil bug that is!dkf2003-07-181-1/+9
| | |
| | * Panedwindow fixes that make things behave right in complex geometry cases.dkf2003-07-171-3/+10
| | | | | | | | | | | | [Bugs 738143+747814]
| | * * generic/tkPanedWindow.c (ArrangePanes): Ensure that the last panehobbs2003-07-171-3/+9
| | | | | | | | | | | | | | | * tests/panedwindow.test: shrinks instead of being clipped when resized below the reqsize. [Bug 748277] (spjuth)
| * | * generic/tkPanedWindow.c (PanedWindowProxyCommand)dgp2008-06-261-4/+13
| | | | | | | | | | | | | | | (DisplayPanedWindow): Ensure that a zero width never gets fed to the underlying window system. [Bug 1639824] (Backport fix from dkf).
* | | Remove casts from uses of ckalloc/ckfree/... now that Tcl declares them to bedkf2011-03-121-14/+13
| | | | | | | | | using useful casts internally.
* | | Use @EXEEXT@ in stead of @EXT_SUFFIX@nijtmans2010-02-221-2/+2
| | | | | | | | | | | | | | | Use -DBUILD_tk in Makefile Make internal Tk_ObjCustomOption const
* | | use -pipe for gcc on win32 (mingw/cygwin)nijtmans2010-02-131-8/+8
| | | | | | | | | | | | | | | | | | make sure that TkpCmapStressed is exported clean up unused Tk_CreatePhotoOption Make more internal arrays "const"
* | | fix more gcc warnings: missing initializernijtmans2010-01-181-6/+6
| | | | | | | | | | | | | | | Apply patch [#2932808]: Canvas items not updating on widget state change
* | | SMALL FIX: Remove useless explicit casts now that we require C89 or later.dkf2010-01-021-2/+3
| | |
* | | - eliminate some unnessary type castsnijtmans2009-02-031-3/+4
| | | | | | | | | | | | | | | - some internal const decorations - spacing
* | | More small changes to use C89 better and manage the result more efficiently.dkf2008-11-081-2/+2
| | |
* | | more internal -Wwrite-strings warning fixesnijtmans2008-10-301-3/+3
| | |
* | | Add "const" to many internalnijtmans2008-10-171-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | const tables, so those will be put by the C-compiler in the TEXT segment in stead of the DATA segment. This makes those table sharable in shared libraries.
* | | Greatly clean up Tk's handling of the writability of the Tcl result object.dkf2008-10-051-5/+5
| | |
* | | fix [2021443] inconsistant "wrong # args" messages (for Tk)nijtmans2008-07-231-2/+2
| | |
* | | Apply fix for [Bug 1639824]dkf2008-05-141-4/+13
| | |
* | | Get rid of pre-C89-isms (esp. CONST vs const).dkf2008-04-271-62/+62
|/ /
* | merge stable branch onto HEADdgp2007-12-131-1/+1
| |
* | header cleanupdgp2007-09-071-2/+1
| |
* | * generic/tkCanvas.c: allow -selectforeground option to be None; adddas2007-04-231-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tkCanvText.c: fallback to fgColor when selFgColor is None * generic/tkEntry.c: (new default on aqua to match native L&F). * generic/tkListbox.c: * generic/tkText.c: * generic/tkCanvas.c: add support for bypassing all of Tk's double * generic/tkEntry.c: buffered drawing into intermediate pixmaps * generic/tkFrame.c: (via TK_NO_DOUBLE_BUFFERING #define), it is * generic/tkListbox.c: unnecessary & wasteful on aqua where all * generic/tkPanedWindow.c: drawing is already double-buffered by the * generic/tkTextDisp.c: window server. (Use of this on other * generic/ttk/ttkWidget.c: platforms would only require implementation * unix/tkUnixScale.c: of TkpClipDrawableToRect()).
* | various "const" additions, in line with TIP #27nijtmans2007-01-051-2/+2
| | | | | | | | fix bug #1627732
* | various "const" additions, in line with TIP #27nijtmans2007-01-031-3/+3
| |
* | Lots of ANSIfying of function decls.dkf2005-11-171-10/+10
| | | | | | | | Also a few spots where code has been cleaned up more completely.
* | ANSIfydkf2005-11-151-474/+498
| |
* | * generic/tkPanedWindow.c, tests/panedwindow.test: batch of fixeshobbs2005-05-311-377/+297
| | | | | | | | | | | | | | to panedwindow from Daniel South. Improved auto-size to fit internal windows, fixed sash placement at edge of pane, fixed calculation of stretch amount for internal windows. [Bug 1124198 1161543 1054117 1010941 795869 690169 1192323]
* | * generic/tkPanedWindow.c (Tk_PanedWindowObjCmd): set save_under Xhobbs2004-11-171-1/+6
| | | | | | | | attr to prevent expose events when moving sash. [Bug 1036963]
* | Add -hide and -stretch options to panedwindow widgets. (TIPs 177 and 179)dkf2004-10-241-70/+379
| | | | | | | | Thanks to Brian Griffin for developing these! [Patch 983886]
* | Add missing GEOMETRY flag to -handlepad option. [Bug 1010938]dkf2004-08-181-434/+424
| |