Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix [d4fb4e80d220e46e588f310291fd7a4205e8cd67|d4fb4e80d2]: Image photo ↵ | jan.nijtmans | 2017-01-11 | 1 | -1/+5 |
|\ | | | | | | | commands read/write/put do not accept "-" as first letter in file names resp. image data | ||||
| * | Fix [d4fb4e80d220e46e588f310291fd7a4205e8cd67|d4fb4e80d2]: Image photo ↵ | jan.nijtmans | 2017-01-11 | 1 | -0/+4 |
| |\ | | | | | | | | | | commands read/write/put do not accept "-" as first letter in file names resp. image data | ||||
| | * | Alternative proposed solution for ↵bug_d4fb4e80d2_alt | jan.nijtmans | 2017-01-11 | 1 | -1/+5 |
| |/ |/| | | | | | [d4fb4e80d220e46e588f310291fd7a4205e8cd67|d4fb4e80d2], with test-case. | ||||
* | | More internal use of size_t. Add test-case imgPhoto-4.74, which shows ↵ | jan.nijtmans | 2017-01-10 | 1 | -18/+26 |
| | | | | | | | | error-handling when there are two values on the command line not connected to options. | ||||
* | | Fixed broken trunk caused by "signed/unsigned mismatch" compiler error on ↵ | fvogel | 2015-06-01 | 1 | -3/+3 |
| | | | | | | | | Windows, introduced by [4fe3c06b97] and [07622d5618] | ||||
* | | Initialize memory to stop valgrind notices about conditionals dependent on | dgp | 2015-05-20 | 1 | -0/+3 |
| | | | | | | reads from uninit memory. | ||||
* | | [dece631375] Prevent overflows in photo image memory allocations. | dgp | 2015-05-18 | 1 | -13/+33 |
|\ \ | |||||
| * | | Repair last commit. | dgp | 2015-05-18 | 1 | -6/+4 |
| | | | |||||
| * | | [dece631375] Prevent overflows in photo image memory allocations. | dgp | 2015-05-18 | 1 | -13/+35 |
|/ / | |||||
* | | [dece63137] Correct problems with overflow computing memory block sizes. | dgp | 2015-05-15 | 1 | -10/+10 |
| | | |||||
* | | [06c3fcb136] ImgGetPhoto() had some code misplaced in an earlier commit | dgp | 2015-05-05 | 1 | -3/+3 |
|\ \ | | | | | | | | | | | | | so that it failed to tell all callers when the alpha channel was fully opaque. This triggered another bug in the PNG writer where the alpha vs. non-alpha format choice was broken and confused, leading to corrupt png image files. | ||||
* \ \ | Fix [3603436fff]: png save has wrong component indexes | jan.nijtmans | 2013-10-28 | 1 | -6/+5 |
|\ \ \ | |||||
* | | | | Revert [ac229dabaa]. There is a reason the Tcl_GetIndexFromObj wrapper | jenglish | 2013-02-27 | 1 | -6/+6 |
| | | | | | | | | | | | | exists and is used. | ||||
* | | | | Eliminate all Tcl_GetIndexFromObj calls, which is only a thin wrapper around ↵ | jan.nijtmans | 2013-02-27 | 1 | -6/+6 |
| | | | | | | | | | | | | | | | | Tcl_GetIndexFromObjStruct. | ||||
* | | | | Use internalRep.twoPtrValue.ptr1 in stead of internalRep.otherValuePtr ↵ | jan.nijtmans | 2013-02-01 | 1 | -1/+1 |
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | everywhere. Change some internal "length" variables from type int to type size_t, so it could handle bigger string sizes (for "novem") | ||||
* | | | | | minor improvements to flag handling | dkf | 2012-07-31 | 1 | -4/+4 |
| | | | | | |||||
* | | | | | more reorganization of error codes: safety is common failure mode | dkf | 2012-07-30 | 1 | -3/+3 |
| | | | | | |||||
* | | | | | more auditing of error codes | dkf | 2012-07-30 | 1 | -4/+7 |
| | | | | | |||||
* | | | | | Working towards making the error codes more consistent. | dkf | 2012-07-30 | 1 | -32/+35 |
| | | | | | |||||
* | | | | | Purged Tcl_AppendElement from all non-test code. | dkf | 2012-07-29 | 1 | -91/+84 |
| | | | | | |||||
* | | | | | Much more cleaning up of result handling. | dkf | 2012-07-23 | 1 | -90/+111 |
| | | | | | |||||
* | | | | | Working towards adding all the Tcl_SetErrorCode calls that should be there. | dkf | 2012-07-16 | 1 | -8/+62 |
| | | | | | | | | | | | | | | | ** WORK IN PROGRESS ** | ||||
* | | | | | [Bug 3486474]: Inconsistent color scaling | jan.nijtmans | 2012-02-15 | 1 | -1/+1 |
|\ \ \ \ \ | |||||
* \ \ \ \ \ | Bug-2433260: non-critical error in Tk_PhotoPutBlock | jan.nijtmans | 2012-01-25 | 1 | -3/+3 |
|\ \ \ \ \ \ | |||||
* \ \ \ \ \ \ | Purge RCS Keywords | dgp | 2011-06-08 | 1 | -2/+0 |
|\ \ \ \ \ \ \ | |||||
* | | | | | | | | Remove casts from uses of ckalloc/ckfree/... now that Tcl declares them to be | dkf | 2011-03-12 | 1 | -22/+20 |
| | | | | | | | | | | | | | | | | | | | | | | | | using useful casts internally. | ||||
* | | | | | | | | * generic/tkImgPhoto.c (Tk_PhotoPutBlock, Tk_PhotoPutZoomedBlock): | dkf | 2010-10-01 | 1 | -3/+19 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [Bug 3078902]: Ensure that zero-dimensioned data blocks cause no changes at all instead of causing a hang. | ||||
* | | | | | | | | * generic/tkImgPhoto.c (ImgPhotoCmd): [Bug 2983824]: Use the file | dkf | 2010-04-09 | 1 | -19/+75 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | extension to guess the output format to use if one isn't specified. | ||||
* | | | | | | | | CONSTify everything related to Tk_ConfigSpec | nijtmans | 2010-02-17 | 1 | -2/+2 |
| | | | | | | | | |||||
* | | | | | | | | use -pipe for gcc on win32 (mingw/cygwin) | nijtmans | 2010-02-13 | 1 | -151/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | make sure that TkpCmapStressed is exported clean up unused Tk_CreatePhotoOption Make more internal arrays "const" | ||||
* | | | | | | | | fix more gcc warnings: missing initializer | nijtmans | 2010-01-18 | 1 | -9/+9 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Apply patch [#2932808]: Canvas items not updating on widget state change | ||||
* | | | | | | | | SMALL FIX: Remove useless explicit casts now that we require C89 or later. | dkf | 2010-01-02 | 1 | -5/+5 |
| | | | | | | | | |||||
* | | | | | | | | Correct generation of grayscale data from an image. Reported by Keith Vetter | dkf | 2009-09-25 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | on comp.lang.tcl. | ||||
* | | | | | | | | fix typo that led to crashes | das | 2009-01-19 | 1 | -3/+3 |
| | | | | | | | | |||||
* | | | | | | | | - fix for aMSN compatibility [tcl-Bug 2507326] | nijtmans | 2009-01-14 | 1 | -11/+16 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - CONSTify Tk(Create|Find)menuReferences - various internal "const" decorations | ||||
* | | | | | | | | Apply [Patch 1539990] to speed up Tk_PhotoPutBlock in one case. | dkf | 2009-01-06 | 1 | -10/+15 |
| | | | | | | | | |||||
* | | | | | | | | Minor simplification in fix for [Bug 2312027]: | nijtmans | 2008-11-18 | 1 | -11/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | no need to malloc and copy photo type name because it is a constant to begin with. Convert Tcl_SetResult(......, TCL_DYNAMIC) to Tcl_SetResult(......, TCL_VOLATILE), in preparation for TIP #340 | ||||
* | | | | | | | | fix [Bug 2265860] new test failures | nijtmans | 2008-11-12 | 1 | -2/+2 |
| | | | | | | | | |||||
* | | | | | | | | modify Tk_Create(Old)ImageType signature, relaxing | nijtmans | 2008-11-12 | 1 | -10/+10 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the constraint that every Tk_ImageType can only be passed to this function once. This allows tkImg to be loaded in multiple interpreters in a thread-enabled build of Tk. This CONSTification complies with TIP #27. It is binary compatible with the old interface, but not fully source compatible (although tkImg does not suffer). | ||||
* | | | | | | | | One more (hopefully the last) signature change | nijtmans | 2008-11-09 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in Tk_CreatePhotoImageFormat | ||||
* | | | | | | | | CONSTify TkPrintPadAmount, TkCreateFrame, TkCreateMainWindow | nijtmans | 2008-10-28 | 1 | -7/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and Tk_ParseArgv. move TkSelGetSelection to internal stub table (needed in tkWinTest.c) | ||||
* | | | | | | | | Add "const" to many internal | nijtmans | 2008-10-17 | 1 | -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. | ||||
* | | | | | | | | Greatly clean up Tk's handling of the writability of the Tcl result object. | dkf | 2008-10-05 | 1 | -6/+15 |
| | | | | | | | | |||||
* | | | | | | | | * generic/tkImgPhoto.c: Changed TclStack* calls to ck* calls so that | dgp | 2008-08-28 | 1 | -10/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | we don't create new dependencies on Tcl internals. * unix/tkUnixPort.h: Removed #include of tclInt.h that has been * win/tkWinPort.h: disabled for three years. If we needed this we'd have noticed by now. | ||||
* | | | | | | | | Fix crash reported by Don Porter. | dkf | 2008-08-25 | 1 | -1/+3 |
| | | | | | | | | |||||
* | | | | | | | | Split the photo image core into two pieces to make it easier to maintain. | dkf | 2008-08-25 | 1 | -2170/+64 |
| | | | | | | | | |||||
* | | | | | | | | fix [2021443] inconsistant "wrong # args" messages (for Tk) | nijtmans | 2008-07-23 | 1 | -7/+7 |
| | | | | | | | | |||||
* | | | | | | | | Get rid of pre-C89-isms (esp. CONST vs const). | dkf | 2008-04-27 | 1 | -53/+49 |
| | | | | | | | | |||||
| | | | | | | * | Remove multiple deprecated internal API calls on OS X; streamline Apple ↵ | Kevin Walzer | 2015-11-25 | 1 | -1/+5 |
| | | | | | |/ | | | | | | | | | | | | | | | | | | | | | | Events implementation; thanks to Marc Culler for extensive patches | ||||
| | | | | | * | [3603436][06c3fcb136] Correction to earlier bugfix. When alpha values are | dgp | 2015-05-05 | 1 | -3/+3 |
| | | | | |/ | | | | | | | | | | | | | | | | | | | all opaque, so that image format writers may use non-alpha supporting formats losslessly, make sure that message always gets back to the caller. |