-
Hi Andrea,
Thank you very much for the patch. I will incorporate it in the next version.
Cheers!
Paul.
2009-04-11 00:06:39 UTC in PNGwriter
-
Ok, here's the altered code for the overloaded = operator. The copy constructor shouldn't be a problem, since it's a constructor, and memory was not allocated to graph_ before it is called.
* * *
// Overloading operator =
/////////////////////////////////////////////////////////
pngwriter & pngwriter::operator = (const pngwriter & rhs)
{
if( this==&rhs)
{
return...
2009-03-08 21:35:42 UTC in PNGwriter
-
I think there might be a problem with that code, please correct me if I'm wrong.
If the height changes, graph_ is freed and memory corresponding to the new height is allocated. But the memory associated with each element of graph_ is never freed.
Hence, that section of the code should probably look like:
- If height or width changes, free ALL memory associated with that instance.
-...
2009-03-07 17:13:39 UTC in PNGwriter
-
I have contacted the author of the contributed code, since the case when y1==y3 is chosen explicitly as a case where the subroutine containing (y1-y3) is called, and I did not want to inadvertently break the algorithm by making my own changes. We'll see what he says.
d.
2009-03-06 18:19:56 UTC in PNGwriter
-
Thank you very much for the report and the code. I will take a look at it.
Cheers,
Paul.
2009-03-06 18:16:14 UTC in PNGwriter
-
Thank you. I will review this as soon as possible.
Paul.
2009-03-03 22:03:29 UTC in PNGwriter
-
individual61 added the pngwriter-0.5.4.tar.gz file.
2009-02-11 01:39:43 UTC in PNGwriter
-
individual61 added the pngwriter-0.5.4.zip file.
2009-02-11 01:39:43 UTC in PNGwriter
-
individual61 created the pngwriter-0.5.4 file release.
2009-02-11 01:36:00 UTC in PNGwriter
-
I understand that SF.net goes to great lengths to ensure the security of its systems and user projects. As a result, project website management is not as straightforward as other situations users have encountered.
Considering this unfamiliarity with the process, the documentation (in my opinion, after bouncing around on Site Documentation for an hour) could be better.
Specifically...
2009-02-07 19:29:45 UTC in SourceForge.net