summaryrefslogtreecommitdiffstats
path: root/generic/tkObj.c
Commit message (Collapse)AuthorAgeFilesLines
* use -pipe for gcc on win32 (mingw/cygwin)nijtmans2010-02-131-3/+3
| | | | | | make sure that TkpCmapStressed is exported clean up unused Tk_CreatePhotoOption Make more internal arrays "const"
* * generic/tkConfig.c: Added another dimension of refCounting to thedgp2009-12-151-2/+1
| | | | | | | | * 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.
* - eliminate some unnessary type castsnijtmans2009-02-031-3/+5
| | | | | - some internal const decorations - spacing
* Refactoring of the millimeter patch. Fix of a potential issue if a pixel ↵ferrieux2008-11-291-5/+16
| | | | object is reused across screens of different resolutions.
* Fix stupid bug in millimeter patch (conditionally uninited var)ferrieux2008-11-281-1/+3
|
* Millimeter patch. Fixes [1813597,2218964] by eliminating the functional ↵ferrieux2008-11-271-4/+91
| | | | redundancy and unnecessary loss of precision of the {pixel,mm}ObjType tandem.
* Add "const" to many internalnijtmans2008-10-151-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.
* Added new utility function: TkNewWindowObj()dkf2008-10-141-45/+72
|
* Get rid of pre-C89-isms (esp. CONST vs const).dkf2008-04-271-6/+6
|
* merge stable branch onto HEADdgp2007-12-131-1/+1
|
* Use -fp:strict with msvc8 as -fp:precise fails on amd64 builds. Fixpatthoyts2007-10-311-4/+4
| | | | | the two places in Tk that generate errors with msvc8 when using this flag.
* * 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
* various "const" additions in implementationnijtmans2007-01-031-6/+6
|
* ANSIfy and reduce casting of NULL to promote readabilitydkf2005-11-171-6/+6
|
* Lots of ANSIfying of function decls.dkf2005-11-171-49/+50
| | | | Also a few spots where code has been cleaned up more completely.
* Getting more systematic about styledkf2005-08-101-184/+178
| | | | | 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
* D'oh!dkf2005-01-111-2/+2
|
* Improved version of Michael Kirkham's fix for parsing pad values. [1098779]dkf2005-01-111-1/+107
|
* * generic/tk3d.c: All uses of 'panic' (the macro) changeddavygrvy2004-01-131-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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:
* Register the type of text indices. Also some exported symbol name policing...dkf2003-10-101-1/+2
|
* Moved 'deletionEpoch' field from TkDisplay to TkMainInfo.jenglish2003-01-281-52/+54
| | | | | Reworked windowObj type. Fixes Tk Bug #671330 "segfault when e.g. deiconifying destroyed window"
* TkGetWindowFromObj was useless CPU waster; now caches window names *safely*dkf2001-08-211-15/+103
|
* Fixed a stupid error that's been in there for ages...dkf2001-08-171-6/+7
|
* Register Tk's object types with Tcl (Tcl Bug 450545)dkf2001-08-151-1/+33
|
* * tests/canvas.test: added test case to check obj conversionhobbs2001-03-301-4/+74
| | | | | * generic/tkObj.c (UpdateStringOfMM, SetMMFromAny): better obj-aware screen distances. (pgbaum, hobbs) [Patch #403327]
* * generic/tkObj.c (SetMMFromAny): Added ability to recognizehobbs2000-12-131-47/+55
| | | | | double type object to speed up canvas coord calculations. [Patch #102471]
* * Merged 8.1 branch into the main trunkstanton1999-04-161-0/+659