Charts on Bugzilla

Casey Gregoire caseyg at chsamerica.com
Fri May 9 12:32:12 UTC 2003



-----Original Message-----
From: Gervase Markham [mailto:gerv at mozilla.org]
Sent: Friday, May 09, 2003 3:57 AM
To: developers at bugzilla.org
Subject: Re: Charts on Bugzilla

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.

> 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.

Gerv

----

Well I was using 0.99b originally, so that must have been it. But I am
happier to have the newest version anyhow, and it works which all I am
concerned with.



Thanks,
	Casey Gregoire




More information about the developers mailing list