summaryrefslogtreecommitdiffstats
path: root/generic/tkImgPhInstance.c
Commit message (Collapse)AuthorAgeFilesLines
* Typo (wehter -> whether) and minor consistancy in code comment (grey -> gray)jan.nijtmans2017-05-021-1/+1
|
* Change more refCount checks to the form "(...refCount-- <= 1)", so no ↵jan.nijtmans2017-01-181-2/+1
| | | | separate decrement and compare is necessary. This allows (in the future) the same code to work when refCount becomes unsigned (which at least doubles the range). No functional change.
* Fix for image/alpha rendering under hidpi/Retina displays on Mac OS; thanks ↵Kevin Walzer2016-07-151-2/+23
| | | | to Marc Culler for assistance
* Eliminate all usage of __WIN32__ macro: Some compilers (e.g. Clang/LLVM) ↵jan.nijtmans2014-02-101-10/+10
| | | | | 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]
* Replace various functions calls, for functions which are small wrappers ↵jan.nijtmans2013-01-141-1/+1
| | | | around other functions, to call the wrapped function directly.
* minor improvements to flag handlingdkf2012-07-311-10/+9
|
* Bug-3480634: PNG Images missing in menus on Macjan.nijtmans2012-01-291-1/+3
|
* Purge RCS Keywordsdgp2011-06-081-2/+0
|
* Remove casts from uses of ckalloc/ckfree/... now that Tcl declares them to bedkf2011-03-121-18/+17
| | | using useful casts internally.
* Revise Tcl_Panic() calls ending with a newline removing the newline, because ↵nijtmans2010-11-191-2/+2
| | | | Tcl_Panic() outputs a final newline already
* * generic/tkInt.h: add assert macros for clang staticdas2009-06-301-2/+6
| | | | | | | | | | | | analyzer and redefine Tcl_Panic to assert after panic in clang PURIFY builds. * generic/tkImgPhInstance.c: small fixes to make clang static * generic/tkTextDisp.c: analyzer happier. * generic/tkConfig.c: add clang assert for false positives * generic/tkUndo.c: from static analyzer.
* * generic/tkImgPhInstance.c: fix numerous leaks discovered with thedas2009-02-061-1/+3
| | | | | | | | | | | * generic/tkMenu.c: Mac OS X Instruments.app Leaks tool. * generic/tkText.c: * generic/tkTextImage.c: * generic/tkTextIndex.c: * generic/tkUndo.c: * generic/tkUtil.c: * generic/ttk/ttkFrame.c: * macosx/tkMacOSXWm.c:
* Split the photo image core into two pieces to make it easier to maintain.dkf2008-08-251-0/+1962