[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: GPLed software with no true source. Was: Bug#402650: ITP: mozilla-foxyproxy



On Mon, 2007-29-01 at 14:06 -0500, Yaroslav Halchenko wrote:
> I've ran into a problem: given firefox extension released under
> GPL as shipped (.xpi files) has obscured .js files -- all
> formatting was removed.

So, if I read your comments correctly, the .js files aren't
intentionally obfuscated. Whitespace has just been removed in order to
speed up download. It may be misguided, but it's also pretty common
among JavaScript programmers.

I was able to run the JavaScript code through GNU indent
(http://www.gnu.org/software/indent/ ) and get readable and modifiable
output. I think there are some special-purpose JavaScript beautifiers
out there that could give even better formatting.

I don't think that this is a case where the user gets unmodifiable
source.

~Evan

-- 
Evan Prodromou <evan@debian.org>
The Debian Project (http://www.debian.org/)

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: