Patch Maker -- Mozilla Hacking & Patching Made 96
A reader writes: " Mozillaquest.com has an article about Patch Maker which is a new Perl script that let's you hack the Mozilla UI using JS, CSS, and XUL. You do not have to download or compile the source code or pull CVS. It makes writing and submitting Mozilla UI patches easier."
WILL YOU SLASHDOT GUYS LEARN??? (Score:5, Informative)
Even if the stuff about scripting is true, mozillaquest exists solely to bash the efforts of those who spend their time working on the mozilla project. Don't vindicate that troll who runs it.
Re:WILL YOU SLASHDOT GUYS LEARN??? (Score:1, Offtopic)
The impetus for creating Patch Maker seems to lie in the fact that Mozilla bugs are raging out of control.
Mozquest is a load of shit, wht's this guy's motivation with giving bad information about the Mozilla project? is it personal? is there some kind of corporate interest involved? Patchmaker is a great project and should make things easier for developing Mozilla UI. how abolut this link to the project itself:
patchmaker page [mozilla.org]
or the discussion on mozilla zine site [mozillazine.org]
Don't mod this as a troll, please (Score:1, Insightful)
I don't really know the story behind it, but I've noticed (during years of following the mozilla project as nothing but an end-user) that most "news" or info from mozillaquest.com have been very hostile to mozilla.org and the mozilla browser. Does anyone care to shed some light on the whole situation?
Re:Don't mod this as a troll, please (Score:2)
For example, "Netscape denies Netscape 6.1 based on Mozilla code". Or how about "Mozilla is getting steadily buggier because there are more bugs in the bug database." By that measure, no code at all would be the ideal, as it would be bug-free.
MozillaZine has its fair share of dissenters as well. Strauss, for one. And macpeep.
Gerv
Re:Don't mod this as a troll, please (Score:2)
MQ is neither informed nor constructive. Mike Angelo (the only contributor to MQ) seems to make a point of not finding out all the facts, of leaping to the wrong conclusions, of concocting conspiracies to explain the mundane and of ignoring the facts even after he is corrected. All-in-all it make MQ an extremely unreliable, sensationalist and downright mean site.
If you want criticism (independent and internal) you'll find plenty of it in the netscape.public.mozilla.* newgroups, and on mozillazine.org, and on mozillanews.org.
Re:WILL YOU SLASHDOT GUYS LEARN??? (Score:1)
I suggest if you want to follow Mozilla news, go to mozillaZine and along the right-hand navigation click on the "Add Sidebar Panel" item (I'd make a link here but it needs more than a URL to make it go). Or go to one of the newsgroups, or watch the top items on Bugzilla (a great source for what's on the developer's mind). There's also This RDF newsfeed [mozilla.org] for top newsgroup threads. Am I making my point? Don't waste your time at mozillaquest, go to the real deal.
Re:WILL YOU SLASHDOT GUYS LEARN??? (Score:1)
As I know, Mozillaquest was always critical about Mozilla project. Agree or not, for myself I agree some of them.
This time, about yesterday when I checked that site, I saw the article... err.. I clicked like "Heh, now how he will flame them?" way of thinking. It was a positive one, real surprising.
Here I open another RFE for Slashdot readers:
a) Not to come as gang to Slashdot (count comment posters about "cencoring mozillaquest" via not linking them
b) Check some Mozillazine comments. About actual Netscape developers (Corp. Ones) speaking about mailing "The Register guy" writing about Mozilla chief wrangler left article which mozillaquest uncovered first! They said publicly, so no problem to repeat here: "I will tell that guy about Mozillaquest" and check how Mozillaquest link WAS REPLACED with Mozillazine which cencored that story for 10 days!
People, just because of Mozilla, I can loose all my respect for opensource. Not just killing my browser, PLEASE don't kill people's faith in Open Source way of understanding free speech!
Stop it... Please!
Re:WILL YOU SLASHDOT GUYS LEARN??? (Score:2)
The guy who runs MozillaZine works at Netscape one floor down from where Mitchell Baker used to work. Do you really think Mozillaquest knew about her being laid off before MozillaZine?
Gerv
Re:WILL YOU SLASHDOT GUYS LEARN??? (Score:1)
---
The guy who runs MozillaZine works at Netscape one floor down from where Mitchell Baker used to work. Do you really think Mozillaquest knew about her being laid off before MozillaZine?
---
I knew Mozillazine is close to Netscape corp but not that much. Thanks for englighting me. That was the thing I tried to mean, Mozillazine knew the story but didn't release. I said "uncovered", not that they found a thing cosmically secret but somehow didn't get reported on "main", "semi offical" "fan" site.
BTW, congrats on patch maker as I have a chance now.
Re:WILL YOU SLASHDOT GUYS LEARN??? (Score:2)
In the middle of November, I'm going to stop being employed by Netscape. Will that be a big story too?
Gerv
Just Incase some Slashdotting Occurs... (Score:2, Redundant)
>
Patch Maker -- Mozilla Hacking & Patching Made Easy
Mike Angelo -- 6 October 2001 (c)
The Mozilla Organization's newest toy for Mozilla hacking is Patch Maker. It let's almost anyone familiar with XUL, JS, or CSS create patches to the Mozilla user interface - without having to deal with CVS (Concurrent Versions System), source code, C++, and/or compiling.
Patch Maker makes it easier to write and to submit Mozilla user interface (UI) patches. It was written by Mozilla developer Gervase Markham primarily for people who are not in to, or up to, dealing with CVS and compiling. Even people that are up to snuff skill-wise might not have sufficient computer resources to work with the Mozilla CVS and compiling Mozilla source code.
The impetus for creating Patch Maker seems to lie in the fact that Mozilla bugs are raging out of control. So the Mozilla developers are hoping to get more bug-fixing help from the Mozilla and Open Source communities by making it easier for people to write and submit bug-fix patches.
XUL (pronounced zuul) is Mozilla implementation of XML that is used to describe the interactive Web-like page faces of Mozilla-based applications. Think of XUL as the Mozilla developers' name for an XML-based language used to describe the UI (User Interface). Creating a Mozilla skin or UI is mostly a matter of hacking the XUL, XML, CSS, JS and so forth that define the chrome and skin, and/or redoing the graphic images and widgets they use.
To be more precise, however, XUL is not exactly XML. A standard XML parser cannot interpret XUL. That is why you cannot display XUL as a Web page with Internet Explorer 5, Netscape 4.x, or other non-Mozilla-based browsers. Mozilla-based browsers have a special parser that can interpret XUL.
Here is how it works. The Mozilla browser suite is built on top of the underlying Mozilla application programming framework, which is written in C++. For the most part, the Mozilla browser-suite user-interface employs XUL, JS, and CSS. Patch Maker is a Perl script that let's you modify the user interface XUL, JS, or CSS and try your modification(s) without having to download, compile, or recompile the source code -- and without having to deal with CVS.
More About the Mozilla Application Programming Framework
Mozilla-based Web-browser suites, including the navigator, e-mail, news, and composer components, all are applications built to run upon the underlying Mozilla application programming framework. So what you see when you run such Mozilla-based Web-browser suites essentially are interactive Web-like pages defined and controlled by the XUL, JS, and CSS code, which is interpreted at run time.
What you see when you open Mozilla or Netscape 6 (NS6) browser suites is not the Mozilla or NS6 program itself. What you see essentially is an interactive Web page generated by Mozilla and its Gecko layout engine.
Web page is an oversimplification. The Mozilla Web-browser face is similar to a Web page in that it is laid out by Mozilla's Gecko engine much as the Gecko engine lays out a Web page. Mozilla-the-browser is a combination of text, images, widgets and so forth laid out by Gecko to form an interactive user interface. That interactive user interface is very much similar to a Web page. Something we will call a Web-like page here.
Downloading & Using Patch Maker
Patch Maker is limited to the XUL, JS, and CSS code that runs on top of the underlying Mozilla application programming framework, It will not let you create patches for the underlying Mozilla framework.
You can download the Patch Maker script from the Mozilla Organization Web site. You also should read the Patch Maker Web page on the Mozilla Organization Web site. Links for the Patch Maker script and Web page are in the Resources Section at the end of this article.
Patch Maker is designed primarily for Linux. However, according to the PageMaker Web site, you should be able to use Page Maker with Windows if you also download ActivePerl and Cygwin.
If you would like to hack the Mozilla or Netscape browser suites without using Patch Maker, please check our Mozilla-skinning articles, MozillaQuest the Series: Building Your Own Mozilla-Based Web Browser .
For more information about Mozilla the organization, Mozilla the application programming framework, and Mozilla the Web browser suite, please see the series, Mozilla--A Lizard for All Seasons. (Please check the Resources Section at the end of this article for links.)
>
Re:Just Incase some Slashdotting Occurs... (Score:3, Insightful)
Wow. And the Republicans call Dan Rather biased! Could the impetus just be to make it easier to make changes? Does it have to be bugs raging out of control?
Disgusting excuse for a "journalist".
Re:Just Incase some Slashdotting Occurs... (Score:1)
Yeah but when they say it that way, it brings to mind a large lizard trampling Tokyo
Re:Just Incase some Slashdotting Occurs... (Score:1, Offtopic)
So do Libertarians, FWIW.
Re:Just Incase some Slashdotting Occurs... (Score:2)
Although this is technically plagarism it does have the beneficial side-effect of denying Mike Angelo advertising revenue for his continuing hatchet job against Mozilla. Frankly I wonder what Netscape or mozilla.org did to him that he feels he must reel out one misinformed article after another.
Re:Just Incase some Slashdotting Occurs... (Score:5, Informative)
In fact, the impetus for creating Patch Maker was to allow more people to contribute to Mozilla. Many UI designers are not able to manage the intricacies of our build process; many people do not want to purchase Code Warrior (on Mac) or MSVC++ 6 (on Windows) and are unable, for one reason or another, to install Linux. Many people do not have the bandwidth to continually download and update the CVS tree - even downloading a nightly is a major event which must happen at cheap telephone times.
This software is for all of these people. For the first time, you can make a significant code contribution to a large open source project without the complexities of compiling.
Note: Patch Maker is still in development; I would appreciate help porting it to Mac especially, and debugging it on Windows.
Gerv
--
gerv@mozilla.org, author of Patch Maker
Re:Jon Katz Sucks! (Score:1)
Re:Get some PRIORITIES (Score:1)
Re:Mozilla is still poop (Score:1)
1. Cheap memory does not excuse spaghetti code
2. Mozilla coders used to boast how mozilla would run well even on low end machines. Indeed mozilla developers used to bemoan IE's memory requirements.
Re:Mozilla is still poop (Score:1)
Window Maker (Score:1)
Thoughts on MozillaQuest (Score:5, Funny)
Mike is a very experienced writer who will undoubtedly move on to higher journalism, like maybe ZDNet. Heck, ZDNet might even turn MozillaQuest into a full-blown print magazine.
Just remember folks, in a couple years, Mike Angelo will have gone places you have never dreamed. Even though people call the stuff he writes now "crap", I believe in him.
Re:Thoughts on MozillaQuest (Score:1)
I agree (Score:3, Interesting)
Unfortunatly he must get so many requests from potential advertisers that he can't find time to reply to them all, as he didn't reply to mine.
Re:Thoughts on MozillaQuest (Score:2)
MozillaQuest (Score:4, Funny)
Re:MozillaQuest (Score:1)
STOP USING THAT WORD (Score:1, Funny)
Could this be used against me? (Score:2, Insightful)
Re:Could this be used against me? (Score:2)
Gerv
Re:Could this be used against me? (Score:2)
It'll be the first email virus Microsoft promotes and will send to you on request.
Re:Could this be used against me? (Score:1)
I don't think that Mozilla folks are too quick to include Perl interpreter to Mozilla... You know, the small little thing that's actually needed to run the script. =) Or, alternatively, I doubt Mozilla will suddently start allowing running random applications...
It's just a script that is run entirely separate from Mozilla. It's not included to Mozilla itself in any way.
mozillaquest is a troll (Score:1, Offtopic)
I wrote this software (Score:5, Informative)
Gerv
Re:I wrote this software (Score:1)
Re:I wrote this software (Score:2)
Gerv
Could you explain the second paragraph below? (Score:1)
Would it have been too hard to make it so an XML parser can interpret it? Is it okay for other browsers to have this special parser?
Re:Could you explain the second paragraph below? (Score:4, Informative)
XUL is an XML-based language - just like XHTML, SVG or any of the others. The sentence "A standard XML parser cannot interpret XUL." is either wrong or extremely misleading. No XML parsers can _interpret_ what they read, but an XML parser can parse XUL perfectly. Mozilla uses expat for this purpose.
That is why you cannot display XUL as a Web page with Internet Explorer 5, Netscape 4.x, or other non-Mozilla-based browsers.
"Displaying XML as a web page" makes no sense. What happens is that you apply a style sheet to some XML (whether XHTML or something else) to display it. If you gave XUL a style sheet, it would display according to that style sheet. Essentially, this is what Mozilla does when it renders its UI.
Gerv
Re:Could you explain the second paragraph below? (Score:3)
How would you like us to do localisation?
Gerv
Re:I wrote this software (Score:1)
How can there be anything better to do than writing code?
Gerv
Re:I wrote this software (Score:2)
Gerv
Cool. I found something accurate in a MQ article!! (Score:2, Informative)
He actually got something right! It's not just developers hoping to get more bug-fixing help though. The Mozilla QA and testing community can use help as well. Gerv (creator of the Patch Maker [mozilla.org]) is also the maintainer of the Bugzilla Helper [mozilla.org] which, like the patch maker, was created to make it easier for people to contribute to the Mozilla project. If you're interested in helping to make Mozilla better and you've got DTML skills then you can probably help clean up the Mozilla UI with Gerv's Patch Maker. If you're interested in helping but aren't interested in development there are plenty of other ways to get involved [mozilla.org].
--Asa
Repost with working links (I hope) (Score:3, Informative)
So the Mozilla developers are hoping to get more bug-fixing help from the Mozilla and Open Source communities by making it easier for people to write and submit bug-fix patches.
He actually got something right! It's not just developers hoping to get more bug-fixing help though. The Mozilla QA and testing community can use help as well. Gerv (creator of the Patch Maker [mozilla.org]) is also the maintainer of the Bugzilla Helper [mozilla.org] which, like the patch maker, was created to make it easier for people to contribute to the Mozilla project. If you're interested in helping to make Mozilla better and you've got DTML skills then you can probably help clean up the Mozilla UI with Gerv's Patch Maker. If you're interested in helping but aren't interested in development there are plenty of other ways to get involved [mozilla.org].
--Asa
Re:Repost with working links (I hope) (Score:2)
I just landed the links toolbar, which was one bug, and 20 people immediately filed bugs on it. That doesn't mean the product is "more buggy".
Gerv
Rather than reading about it from a dubious source (Score:2, Informative)
http://www.mozilla.org/hacking/patch-maker/ [mozilla.org]
I have to say that with the Tab interface, support for the LINKS toolbar, and all of the other cool things Moz has been picking up lately, it is really becoming a brilliant application. I cringe when I am stuck using I.E. now.
Re:Rather than reading about it from a dubious sou (Score:2)
Sadly, I didn't get to see the LINKS toolbar because it was only enabled for about half an hour, and I'm not downloading loads more 15 meg old nightly builds to see what it looks like. Does anyone have any screenshots?
MozillaQuest (Score:2, Redundant)
Why the heck does /. keep posting stories at this site? MozillaQuest's content can be summed up as 1/3 FUD, 1/3 idiocy, and 1/3 plagiarism. At best it can can termed a "wannabe" site, and I'm more inclined simply to label it a travesty.
This story was originally posted at MozillaZine [mozillazine.org] on Thursday. For anybody who visits MozillaZine or who has the Mozilla Sidebar turned on in their /. preferences, this is both a bad joke and stale news. Get with it, /. editors! There's just no excuse for this kind of sloppiness.
Don't give this poseur any more hits! Please!
Why?? Why?? (Score:1, Redundant)
Repeat after me, "MozillaQuest has no journalistic value whatsoever, and should be ignored".