Charts on Bugzilla

Daniel Berlin dberlin at dberlin.org
Fri May 9 11:30:32 UTC 2003


On Friday, May 9, 2003, at 03:56  AM, Gervase Markham wrote:

> Daniel Berlin wrote:
>> On Thursday, May 8, 2003, at 06:17  PM, Gervase Markham wrote:
>>> That's not true; I get excellent PNGs on reports.cgi with 0.99.
>>>
>> That's simply impossible, sorry.
>
> Well, Mozilla says they are PNGs, and my checksetup.pl says:
>
> The following Perl modules are optional:
> Checking for              GD (v1.20)   ok: found v1.40
> Checking for     Chart::Base (v0.99)   ok: found v0.99
> Checking for     XML::Parser (any)      not found
> Checking for       GD::Graph (any)     ok: found v1.35
> Checking for GD::Text::Align (any)     ok: found v1
>
>> Please look at the readme to Chart past 1.0, and you'll see:
>> 0.99c-pre3 - 1.0:
>>         Fixed _draw_data in Lines.pm: lines are limited to the frame
>>         Added f_x_tick, f_y_tick
>>         Added jpeg(), cgi_jpeg() to produce the format jpeg
>>         Delete GIF support, added PNG and JPEG instead
>
> This doesn't imply that the two halves of the sentence happened in the 
> same release in the quoted range.
>
Granted.

>> Prior to somewhere in between these versions, there was no PNG 
>> support.
>> Try grepping for png in 0.99, 0.99a, 0.99b, and you'll see it's 
>> nowhere in the sources.
>> 0.99 (and 0.99a and 0.99b) can't output PNG.
>
> 0.99c can, though.
>
> My copy of Chart/Base.pm has $Chart::Base::VERSION = 0.99, and 
> references to PNG all over the code, and none to GIF.

Then you have 99c.
I grepped 99b, and no references to png.
The real problem here then, I guess, is that they are all identified as 
0.99.
Seems a bit braindead to make such a change without bumping the base 
version.

--Dan




More information about the developers mailing list