summaryrefslogtreecommitdiffstats
path: root/generic/tkCanvUtil.c
Commit message (Collapse)AuthorAgeFilesLines
* more auditing of error codesdonal.k.fellows@manchester.ac.uk2012-07-301-1/+2
|
* Postscript generation now uses Tcl_Objs more extensively; still nasty in places.donal.k.fellows@manchester.ac.uk2012-07-271-42/+56
|
* consistent error formatting, added error codesdonal.k.fellows@manchester.ac.uk2012-07-211-16/+19
|
* Purge RCS Keywordsdgp@users.sourceforge.net2011-06-081-2/+0
|\
| * Purge RCS Keywords.dgp@users.sourceforge.net2011-06-081-2/+0
| |\
| | * Purge RCS Keywords.dgp@users.sourceforge.net2011-06-081-2/+0
| | |
| * | fix [Bug #220935] canvas dash update problemnijtmans2009-06-231-11/+7
| | |
| * | Backport of the Millipeter patch [1813597,2218964]ferrieux@users.sourceforge.net2008-12-211-7/+2
| | |
* | | Missing past ChangeLog entry, and unbreak debug-build.nijtmans@users.sourceforge.net2011-03-171-3/+3
| | |
* | | Eliminate some more unneeded write-only variables (discovered by gcc-4.6)nijtmans@users.sourceforge.net2011-03-141-3/+0
| | |
* | | Remove casts from uses of ckalloc/ckfree/... now that Tcl declares them to bedonal.k.fellows@manchester.ac.uk2011-03-121-26/+24
| | | | | | | | | using useful casts internally.
* | | SMALL FIX: Remove useless explicit casts now that we require C89 or later.donal.k.fellows@manchester.ac.uk2010-01-021-2/+2
| | |
* | | fix [Bug #220935] canvas dash update problemnijtmans2009-06-231-10/+6
| | | | | | | | | | | | (follow-up)
* | | fix [Bug #220935] canvas dash update problemnijtmans2009-06-221-3/+3
| | |
* | | Millimeter patch. Fixes [1813597,2218964] by eliminating the functional ↵ferrieux@users.sourceforge.net2008-11-271-7/+2
| | | | | | | | | | | | redundancy and unnecessary loss of precision of the {pixel,mm}ObjType tandem.
* | | One more (hopefully the last) signature changenijtmans2008-11-091-7/+7
| | | | | | | | | | | | in Tk_CreateSmoothMethod.
* | | [Bug 2190619] Warnings due to Tk_SmoothMethodnijtmans2008-10-301-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | name constness change. Although dkf's solution (simply adding a type cast) is correct as well, changing the return value (as das suggested) has the advantage that all Tk_OptionPrintProc implementations don't need a type cast any more in its code. This makes all those functions robust against the -Wwrite-strings warning option. Further on, the customPtr field of Tk_ConfigSpec can be a constant, without any danger of source incompatibility.
* | | Silence warning.donal.k.fellows@manchester.ac.uk2008-10-241-4/+5
| | |
* | | Get rid of pre-C89-isms (esp. CONST vs const).donal.k.fellows@manchester.ac.uk2008-04-271-115/+95
|/ /
* | * generic/tkCanvUtil.c: fix gcc-4.2 warnings.das2008-03-111-7/+7
| |
* | merge stable branch onto HEADdgp@users.sourceforge.net2007-12-131-1/+1
| |
* | * generic/tkArgv.c: Fix gcc warnings about 'cast to/fromdas2007-10-151-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tkCanvUtil.c: pointer from/to integer of different * generic/tkCanvas.c: size' on 64-bit platforms by casting * generic/tkCursor.c: to intermediate types * generic/tkInt.h: intptr_t/uintptr_t via new PTR2INT(), * generic/tkListbox.c: INT2PTR(), PTR2UINT() and UINT2PTR() * generic/tkObj.c: macros. * generic/tkStyle.c: * generic/tkTextIndex.c: * generic/tkUtil.c: * generic/ttk/ttkTheme.h: * generic/ttk/ttkTreeview.c: * unix/tkUnixMenu.c: * unix/configure.in: * unix/configure: autoconf-2.59 * unix/tkConfig.h.in: autoheader-2.59
* | header cleanupdgp@users.sourceforge.net2007-09-071-2/+1
| |
* | whitespacedas2007-01-191-1/+2
| |
* | ANSIfydonal.k.fellows@manchester.ac.uk2005-11-041-52/+52
| |
* | Style cleanup and removal of non-ANSI declsdonal.k.fellows@manchester.ac.uk2005-10-171-540/+596
| |
* | TIP#168 implementation. Based on [Patch 886240]donal.k.fellows@manchester.ac.uk2004-08-191-32/+105
| |
* | fix cast warningshobbs2004-03-161-8/+8
|/
* Increase the size of the clipping box for lines in bug #663981 so thatdrh@sqlite.org2003-01-171-11/+20
| | | | | Tk extensions that attempt to print a canvas in a windows GDI printer will still work.
* Implement Cohen-Sutherland polygon clipping for long lines in the canvas widgetdrh@sqlite.org2003-01-081-1/+268
| | | | | so that coordinates do not overflow the 16-bit limit imposed by X11 and Win32. Bug #663981.
* * generic/tkCanvUtil.c (TkSmoothParseProc): recognize the built-inhobbs2002-08-081-1/+8
| | | | | | bezier method by name. [Bug #578654] * doc/canvas.n: update to note that -smooth really doesn't take or return just booleans.
* Applied companion patch for Tcl Patch 585105,dgp@users.sourceforge.net2002-08-051-2/+2
| | | | | | | | | | | | | | | | | | | | | updating Tk to use Tcl 8.4's fully CONST-ified interface, and fully CONSTifying Tk at the same time. This patch includes purging Tk of its last direct access to interp->result. [Bug 589853] The substantial changes include copying event sequence strings into Tcl_DStrings in tkBind.c, and copying [text] indices into Tcl_DStrings because parsing them involved overwriting them. If this causes performance trouble, that can be resolved by further converting them to Tcl_Obj's. The #defines USE_NON_CONST and USE_COMPAT_CONST have the same effect for Tk as they do for Tcl. (They actually change tcl.h)
* * Updated callers of Tcl_SplitList and Tcl_Merge.dgp@users.sourceforge.net2002-01-251-5/+5
| | | | | | | | | * Updated callers of Tcl_GetStringResult. Rewrote PrintScrollFractions to ScrollFractions to stop scribbling directly on interp->result. * Updated callers of Tcl_GetVar, Tcl_GetVar2 * Updated callers of Tcl_SplitPath, Tcl_JoinPath, and Tcl_TranslateFileName.
* * generic/tkCmds.c:hobbs1999-12-161-57/+60
| | | | | | | | | | | | | | | * generic/tkEvent.c: * generic/tkWindow.c: * generic/tkInt.h: add 'tk useinputmethods ?-display win? ?bool?' call to provide support for disabling/enabling the use of XIM on X. This was previously all done at compile time, and always on. Now it * generic/tkCanvUtil.c: fixed bug in Tk_CanvasPsOutline that freed mem it shouldn't. * generic/tkFont.c: added "bitstream cyberbit" (popular Windows CJK font) to list of font fallbacks. (kenny) [Bug: 2407]
* * generic/tkStubInit.c:hobbs1999-12-141-2/+1097
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tkDecls.h: * generic/tkIntXlibDecls.h: * generic/tkInt.decls: added XSetDashes and XWarpPointer * generic/tk.decls: added Tk_CreateSmoothMethod, and reserved two spots * generic/tk.h: added Tk_SmoothMethod struct, state item to canvas record, #defines for item state, support for using old char*-based canvas item C creation procedures with -DUSE_OLD_CANVAS, Tk_Dash, Tk_TSOffset (-offsets) & Tk_Outline structs and #defs, decls for dash, outline and postscript routines * generic/tkBind.c: added support for Quadruple clicks, and added the -warp option to 'event' with pointer warping routines * xlib/xgc.c: * generic/tkRectOval.c: * generic/tkCanvArc.c: * generic/tkCanvBmap.c: * generic/tkCanvImg.c: * generic/tkCanvLine.c: * generic/tkCanvPoly.c: * generic/tkCanvPs.c: * generic/tkCanvText.c: * generic/tkCanvUtil.c: * generic/tkCanvWind.c: * generic/tkCanvas.c: * generic/tkCanvas.h: Canvas and items received overhaul to with the addition of the dash patch (Nijtmans, et al) This includes objectification of the 'canvas' command, as well as support for (where appropriate) dashes in items, extended stipple support, state for all items, and postscript generation of images and windows. See the new canvas man page for related docs. * generic/tkEntry.c: added entry widget validation, see entry.n * generic/tkEvent.c: on simulated events, ButtonPress should be matched with ButtonRelease to be correct * generic/tkFont.c: corrected possible null reference * generic/tkFrame.c: made frame a Tcl_Obj based command * generic/tkGet.c: added TkGetDoublePixels * generic/tkImage.c: bug fixes from Img patch and new Tk_PostscriptImage and Tk_SetTSOrigin functions * generic/tkImgBmap.c: new ImgBmapPostscript function * generic/tkImgPhoto.c: new Tk_CreatePhotoOption, Tk_DitherPhoto * generic/tkInt.h: declarations for some new functions * generic/tkMessage.c: reworked relief drawing * generic/tkOldConfig.c: added TK_CONFIG_OBJS so old style ConfigureWidget calls can pass in Tcl_Obj arrays * generic/tkScrollbar.c: * generic/tkScrollbar.h: made -orient use an option table * generic/tkText.c: * generic/tkText.h: made -wrap and -state use option tables * generic/tkTextBTree.c: * generic/tkTextDisp.c: * generic/tkTextImage.c: * generic/tkTextMark.c: * generic/tkTextTag.c: * generic/tkTextWind.c: added support for -elide and -state hidden * generic/tkTrig.c: changed TkMakeBezierCurve to support returning the upper limit of points needed for spline * generic/tkUtil.c: new option table parsing routines * generic/tkWindow.c: init'ing of warp stuff, mouseButtonState
* * Merged 8.1 branch into the main trunkstanton1999-04-161-2/+2
|
* Replaced SCCS strings, fixed binary filesstanton1998-09-141-1/+1
|
* Initial revisionrjohnson1998-04-011-0/+376