summaryrefslogtreecommitdiffstats
path: root/generic/tkColor.c
Commit message (Collapse)AuthorAgeFilesLines
* Eliminate all usage of __WIN32__ macro: Some compilers (e.g. Clang/LLVM) ↵jan.nijtmans2014-02-101-2/+2
| | | | | don't define it, and _WIN32 is much more portable anyway. See: [http://nadeausoftware.com/articles/2012/01/c_c_tip_how_use_compiler_predefined_macros_detect_operating_system#WindowsCygwinnonPOSIXandMinGW]
* merge trunkdkf2012-08-271-4/+49
|\
| * better wrapper, with one less roundtrip through X11 serverjan.nijtmans2012-07-161-10/+4
| |
| * merge trunkjan.nijtmans2012-04-121-1/+1
| |\
| * \ implement for Unix as welljan.nijtmans2012-03-261-4/+55
| |\ \
* | | | Much more cleaning up of result handling.dkf2012-07-231-4/+4
| | | |
* | | | Working towards adding all the Tcl_SetErrorCode calls that should be there.dkf2012-07-161-3/+7
| |_|/ |/| | | | | ** WORK IN PROGRESS **
* | | fix for scoping of buf (introduced with fix for [Bug 2809525])jan.nijtmans2012-03-261-1/+1
|\ \ \ | |/ / |/| |
| * | fix scoping of buf (introduced with fix for [Bug 2809525])jan.nijtmans2012-03-261-1/+1
| |\ \
| | * | fix scoping of buf (introduced with fix for [Bug 2809525]jan.nijtmans2012-03-261-1/+1
| | | |
* | | | [Bug 2809525] Abort on overlong color namejan.nijtmans2012-03-211-43/+51
|\ \ \ \ | |/ / /
| * | | [Bug 2809525] Abort on overlong color namejan.nijtmans2012-03-211-43/+51
| |\ \ \ | | |/ /
| | * | [Bug 2809525] Abort on overlong color namejan.nijtmans2012-03-211-43/+51
| | |/
* | | [bug 3505358 ] invalid color name "#f75df642f527"jan.nijtmans2012-03-151-0/+2
|\ \ \ | |/ /
| * | [bug 3505358 ] invalid color name "#f75df642f527"jan.nijtmans2012-03-151-0/+2
| |\ \ | | |/
| | * [bug 3505358 ] invalid color name "#f75df642f527"jan.nijtmans2012-03-151-0/+2
| | |
* | | _Xconst -> constjan.nijtmans2012-02-211-1/+1
|\ \ \ | |/ /
| * | _Xconst -> CONSTjan.nijtmans2012-02-211-1/+1
| |\ \ | | |/
| | * _Xconst -> CONSTjan.nijtmans2012-02-211-1/+1
| | |
* | | [Bug 3486474]: Inconsistent color scalingjan.nijtmans2012-02-151-1/+72
|\ \ \ | |/ /
| * | [Bug 3486474]: Inconsistent color scalingjan.nijtmans2012-02-151-1/+55
| |\ \ | | |/
| | * [Bug 3486474]: Inconsistent color scalingjan.nijtmans2012-02-151-0/+55
| | |\
| | | * improved, faster implementations of XParseColor and TkParseColorbug_3486474jan.nijtmans2012-02-121-28/+29
| | | |
| | | * let Tk_NameOfColor output a shorter color-name, when possiblejan.nijtmans2012-02-111-0/+15
| | | |
| | | * proposed fix for bug-3486474jan.nijtmans2012-02-101-0/+55
| | |/
* | | Purge RCS Keywordsdgp2011-06-081-2/+0
|\ \ \ | |/ /
| * | Purge RCS Keywords.dgp2011-06-081-2/+0
| |\ \ | | |/
| | * Purge RCS Keywords.dgp2011-06-081-2/+0
| | |
| * | Apply [Bug 2911570]'s patch to make color value hashing work on 64-bit.dkf2009-12-091-8/+11
| | |
* | | Remove casts from uses of ckalloc/ckfree/... now that Tcl declares them to bedkf2011-03-121-2/+2
| | | | | | | | | using useful casts internally.
* | | Apply [Bug 2911570]'s patch to make color value hashing work on 64-bit.dkf2009-12-091-1/+4
| | |
* | | [Tcl Bug 2857044]: Corrections following audit of Tcl_ObjType freeingdkf2009-11-211-6/+15
| | | | | | | | | | | | | | | | | | | | | 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.)
* | | CONSTify TkDebugBorder, TkStringToKeysym, TkDebugBitmapnijtmans2009-01-091-2/+2
| | | | | | | | | | | | | | | TkDebugColor, TkDebugCursor, TkDebugFont All those mods TIP #27 complient, no incompatibility risks.
* | | Lots of small changes to make code more pretty and C89-like.dkf2008-11-081-2/+2
| | |
* | | Add "const" to many internalnijtmans2008-10-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Get rid of pre-C89-isms (esp. CONST vs const).dkf2008-04-271-19/+19
|/ /
* | merge stable branch onto HEADdgp2007-12-131-1/+1
| |
* | header cleanupdgp2007-09-071-1/+2
| |
* | Fix minor K&R-ismdkf2007-02-121-4/+3
| |
* | various "const" additions in implementationnijtmans2007-01-031-2/+2
| |
* | Lots of ANSIfying of function decls.dkf2005-11-171-8/+8
| | | | | | | | Also a few spots where code has been cleaned up more completely.
* | ANSIfydkf2005-11-041-221/+215
| |
* | * generic/tk3d.c: All uses of 'panic' (the macro) changeddavygrvy2004-01-131-5/+5
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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:
* Applied companion patch for Tcl Patch 585105,dgp2002-08-051-3/+3
| | | | | | | | | | | | | | | | | | | | | 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)
* Register Tk's object types with Tcl (Tcl Bug 450545)dkf2001-08-151-5/+5
|
* * tests/menu.test:hobbs2000-05-111-23/+29
| | | | | | | * generic/tk3d.c: * generic/tkColor.c: * generic/tkCursor.c: corrected handling of 3DBorder, Cursor and Color objects on multiple screens. [Bug: 5454]
* * generic/tkColor.c:hobbs1999-11-191-9/+11
| | | | | | | | * generic/tkColor.h: fixed Tk_NameOfColor to work correctly, with minor change to TkColor struct. * generic/tkConsole.c: added static declaration to ConsoleDeleteProc function (proto already had it)
* Merged 8-1-0 into mainline.rjohnson1999-04-211-1/+1
|
* fixed Tk comment errorssurles1999-04-161-3/+2
|
* * Merged 8.1 branch into the main trunkstanton1999-04-161-80/+489
|