| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
| |
FossilOrigin-Name: af0c7cac75e785ca92c44fd60ff1a589e5d26857
|
|
|
| |
FossilOrigin-Name: 45327b3d6fc9c1c7c415e8c25e98639bed019d84
|
|
|
| |
FossilOrigin-Name: 2ddcefc55f018fb194478ab923dbf626f41bba7f
|
|
|
| |
FossilOrigin-Name: c2d3956aae53c39c1a03477aea70a363d88d012b
|
|\
| |
| | |
FossilOrigin-Name: b8a1385217cc117d6962c234f0a4d28ff10e089c
|
| |\
| | |
| | | |
FossilOrigin-Name: 3f95fbe0ce14948fd409844b915c18ef25d7d0a0
|
| | |
| | |
| | | |
FossilOrigin-Name: a74f32bb6369d3e66e661145c81a98a14ed79b3a
|
|\ \ \
| |/ /
| | | |
FossilOrigin-Name: 5df336a562b4333139344216c19bacfe2b083ba0
|
| |\ \
| | |/
| | | |
FossilOrigin-Name: 7262cbf02c025fff0a5274b344e35ac0e335242f
|
| | |
| | |
| | | |
FossilOrigin-Name: 22a6a821eee475ce38da9a624652edff123f8a70
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* macosx/tkMacOSXDraw.c: fix numerous issues in CG and QD drawing procs
so that they now match X11 drawing much more closely [Bug 1558051];
use Tiger ellipse drawing API when available; fix comments & whitespace.
* macosx/tkMacOSXInit.c: set default linewidth limit for CG
antialiasing to 0 as thin horizontal/vertical lines look good now.
* generic/tkCanvLine.c (ConfigureLine): on TkAqua, pass outline
* generic/tkCanvPoly.c (ConfigurePolygon): linewidth in gc even for
* generic/tkRectOval.c (ConfigureRectOval): fills (as it controls AA).
FossilOrigin-Name: d5ad7c09bcdb5331665449c5bd2d5b0a3d8e59c5
|
| | |
| | |
| | | |
FossilOrigin-Name: 0d9c0d50f9e08497b916aa770edafc9c66780258
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* tests/canvPs.test: correct crash when generating postscript for
a single-line polygon (point) with no color. [Bug #734498] (wilm)
FossilOrigin-Name: 55f672ad59cb653259592634f168f2d7da67bc41
|
| | |
| | |
| | |
| | |
| | | |
using useful casts internally.
FossilOrigin-Name: 142e016e7b17277d81257da90477297eb9aaa05a
|
| | |
| | |
| | |
| | |
| | | |
Tcl_Panic() outputs a final newline already
FossilOrigin-Name: 870897bc1502c066afe8990a9381898f9e804d32
|
| | |
| | |
| | | |
FossilOrigin-Name: 0d406a834b9595e63e75feebf8d48fe9915a58df
|
| | |
| | |
| | | |
FossilOrigin-Name: f559fc100fb895481dfd6f973168d2ab38774cf2
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Apply patch [#2932808]: Canvas items
not updating on widget state change
FossilOrigin-Name: 2f69e1bce26ca36b0ad60946c5d2d5ed4e2c5f05
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
backwards compatibility. Change Tk_ItemIndexProc
and Tk_ItemInsertProc signature to have a Tcl_Obj parameter
in stead of a string parameter. This is binary
and source compatible with previous API, it just prevents
the need for a type cast in the Tk_ItemType table construction.
Bring doc in line with API.
FossilOrigin-Name: 88f4039ab41ab8aced179764fc4b283e2e45cc0f
|
| | |
| | |
| | |
| | |
| | |
| | | |
in Tk_CreateSmoothMethod.
FossilOrigin-Name: 8f425191f2762032c69de53b78eb4059a27fae14
|
| | |
| | |
| | |
| | |
| | |
| | | |
remove unnecessary type cast
FossilOrigin-Name: 7ed7342a0e8b8bc580bc760cc25dea8cf0fc2bc5
|
| | |
| | |
| | | |
FossilOrigin-Name: b63a8c792211ffa5815ce1d436e016b1e063893d
|
| | |
| | |
| | | |
FossilOrigin-Name: 8cc51975139f771898f1b3ab9da8b2e7c02f9905
|
|/ /
| |
| | |
FossilOrigin-Name: ddfd8bb6f7ecfa71a218a5dc88075a419e3e1d5c
|
| |
| |
| | |
FossilOrigin-Name: e7868b44c1e7bffc63a053b87a96a4499757f80d
|
| |
| |
| | |
FossilOrigin-Name: 04ffea40ef0b3c0cad59a3e1576275019f29e913
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* macosx/tkMacOSXDraw.c: fix numerous issues in CG and QD drawing procs
so that they now match X11 drawing much more closely [Bug 1558051];
use Tiger ellipse drawing API when available; fix comments & whitespace.
* macosx/tkMacOSXInit.c: set default linewidth limit for CG
antialiasing to 0 as thin horizontal/vertical lines look good now.
* generic/tkCanvLine.c (ConfigureLine): on TkAqua, pass outline
* generic/tkCanvPoly.c (ConfigurePolygon): linewidth in gc even for
* generic/tkRectOval.c (ConfigureRectOval): fills (as it controls AA).
FossilOrigin-Name: 7b1e53886b88dff3ecd90a0b5a1a620b7f7a60cf
|
| |
| |
| |
| |
| |
| | |
Also a few spots where code has been cleaned up more completely.
FossilOrigin-Name: 2a0a22abb40373f8ef0be9a59e98a390b59ee72f
|
| |
| |
| | |
FossilOrigin-Name: bc2fc8b7f46d8a503e1bb51c1b6b7f217626917c
|
| |
| |
| |
| |
| |
| |
| | |
Also start removing _ANSI_ARGS_; the core's required ANSI C for a while now
Also fix [Bug 1252702]; size_t doesn't mix with Tcl_GetStringFromObj
FossilOrigin-Name: 95ed0f915e157968e866e731484ea64d379250ec
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* generic/tkBind.c: to 'Tcl_Panic' (the function). The #define
* generic/tkBitmap.c: of panic in tcl.h clearly states it is
* generic/tkCanvArc.c: deprecated in the comments.
* generic/tkCanvBmap.c: [Tcl Patch 865264]
* generic/tkCanvImg.c:
* generic/tkCanvLine.c:
* generic/tkCanvPoly.c:
* generic/tkCanvText.c:
* generic/tkCanvWind.c:
* generic/tkColor.c:
* generic/tkConfig.c:
* generic/tkCursor.c:
* generic/tkError.c:
* generic/tkEvent.c:
* generic/tkFocus.c:
* generic/tkFont.c:
* generic/tkFrame.c:
* generic/tkGC.c:
* generic/tkGrid.c:
* generic/tkImgBmap.c:
* generic/tkImgPhoto.c:
* generic/tkImgUtil.c:
* generic/tkMenu.c:
* generic/tkObj.c:
* generic/tkPack.c:
* generic/tkPlace.c:
* generic/tkRectOval.c:
* generic/tkSelect.c:
* generic/tkText.c:
* generic/tkTextBTree.c:
* generic/tkTextDisp.c:
* generic/tkTextImage.c:
* generic/tkTextIndex.c:
* generic/tkTextMark.c:
* generic/tkTextWind.c:
* generic/tkVisual.c:
* generic/tkWindow.c:
* mac/tkMacAppInit.c:
* mac/tkMacAppearanceStubs.c:
* mac/tkMacButton.c:
* mac/tkMacDraw.c:
* mac/tkMacEmbed.c:
* mac/tkMacFont.c:
* mac/tkMacInit.c:
* mac/tkMacMenus.c:
* mac/tkMacPort.h:
* mac/tkMacSubwindows.c:
* mac/tkMacWm.c:
* mac/tkMacXStubs.c:
* macosx/tkMacOSXEmbed.c:
* macosx/tkMacOSXFont.c:
* macosx/tkMacOSXMenus.c:
* macosx/tkMacOSXNotify.c:
* macosx/tkMacOSXPort.h:
* macosx/tkMacOSXSubwindows.c:
* macosx/tkMacOSXWm.c:
* macosx/tkMacOSXXStubs.c:
* unix/tkUnix3d.c:
* unix/tkUnixColor.c:
* unix/tkUnixEmbed.c:
* unix/tkUnixEvent.c:
* unix/tkUnixFocus.c:
* unix/tkUnixFont.c:
* unix/tkUnixSelect.c:
* unix/tkUnixSend.c:
* unix/tkUnixWm.c:
* win/tkWin3d.c:
* win/tkWinButton.c:
* win/tkWinColor.c:
* win/tkWinDialog.c:
* win/tkWinDraw.c:
* win/tkWinEmbed.c:
* win/tkWinFont.c:
* win/tkWinPixmap.c:
* win/tkWinPointer.c:
* win/tkWinScrlbr.c:
* win/tkWinWm.c:
* win/tkWinX.c:
FossilOrigin-Name: a08e5aacfc9f6c5a344c2d05454773dac90710c2
|
|/
|
|
|
|
|
| |
* tests/canvPs.test: correct crash when generating postscript for
a single-line polygon (point) with no color. [Bug #734498] (wilm)
FossilOrigin-Name: da0424bd6c23fd9034cd30cbfed4dd5d8cf1990b
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tkCanvBmap.c (CreateBitmap): type coords handling to be
* generic/tkCanvImg.c (CreateImage): consistent across types
* generic/tkCanvPoly.c (CreatePolygon): and not pass empty coords
* generic/tkCanvLine.c (CreateLine): to item creation procs.
* generic/tkCanvText.c (CreateText):
* generic/tkCanvWind.c (CreateWinItem):
* generic/tkCanvas.c (CanvasWidgetCmd CANV_CREATE):
* generic/tkRectOval.c (CreateRectOval):
* tests/canvRect.test:
* tests/canvText.test:
* tests/canvas.test:
FossilOrigin-Name: 940279e11eb4e8a562733a47cb3345a14014e4c3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
FossilOrigin-Name: 5603f01aa35a127f83db9bb68f3b1ff9e5bb64de
|
|
|
|
|
|
|
|
| |
* generic/tkCanvPoly.c (PolygonToArea): Added patch that respects
the polygon difference of including points in the polygon even
when fill is empty. [Bug #226357]
FossilOrigin-Name: 3734d49c9c1e7e95032d4a89c712872746b52fd7
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tkCanvBmap.c:
* generic/tkCanvLine.c:
* generic/tkCanvPoly.c:
* generic/tkCanvText.c:
* generic/tkCanvWind.c:
* generic/tkRectOval.c: corrected argument handling in
Create<Item> functions that could lead to ABRs or FMRs and
corrected names of argc/argv to objc/objv.
FossilOrigin-Name: 3f8a55343c45de15bfeb8794b4c28537b170b719
|
|
|
|
|
|
|
| |
* generic/tkCanvPoly.c (DisplayPolygon): added checks for the
polygon fillGC not being empty to prevent segfault. [Bug: 5783]
FossilOrigin-Name: 1868c540698585388d2bffd7c3534a824b9fabc0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tkCanvLine.c (ConfigureLine):
* generic/tkCanvPoly.c (ConfigurePoly):
* generic/tkCanvArc.c (Configure/DisplayArc): fixed handling for
negative dash values [Bug: 4104]
* generic/tkScale.c (TkRoundToResolution): fixed incorrect
assumption that (N+1)*delta = N*delta + delta with floating point
math [Bug: 3689, 4099]
(DestroyScale) Fixed check for cancelling TkpDisplayScale (was
REDRAW_ALL, is now REDRAW_PENDING)
FossilOrigin-Name: 5e295d879b98ead52bc6eb51dc3c636e202b2597
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
FossilOrigin-Name: 363f59223dec9d67615c7ab2b8e68ff6a543ddd6
|
|
|
| |
FossilOrigin-Name: 1120dc4257448ed1955333e682de48e2940cc741
|
|
|
| |
FossilOrigin-Name: fb58b663f313796e8ed3115f92d657f0cae1d575
|
|
FossilOrigin-Name: 2bf55ca9aa942b581137b9f474da5ad9c1480de4
|