Patch Maker -- Mozilla Hacking & Patching Made
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."
Stop posting stuff from mozillaquest.com!
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.
Here's the main text of the article:
>
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.)
>
You are absolutely right, we should not worry about things that are "necessary" for our world to continue as it does, and instead just spend all our time and effort being concerned with the attacks/military action.
WRONG. That is exactly what the terrorists want us to do - that will give them a higher degree of satisfaction. In order to give them the symbolic finger, we have to persist in our day-to-day activities. After all, there are people to whom our tax dollars go who work on the issues at large.
To beat this horse just a little bit more, don't forget that the Slashdot community was perhaps the greatest beacon for information when the attacks took place. I am sure that it will continue to play an appropriate role as things unfold, but it's wheels will never stop turning. That's what makes it, and America so great, we never sit down and take it.
Man is born free; and everywhere he is in chains.
And everyone knows it
GiraffeSville, a place anyone can call home
It would be cool if Microsoft did something like this, and called it "Window Maker" for a laugh.
Acting stupid isn't much fun when there's someone around who knows better
Now, even though in the article Mike says that the reason for this "toy" is to help fix the bugs that are "raging out of control", at least he makes the article respectible, and professional.
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.
I iam sorry Fran :( I have watched you FP for a long time time now, and thought perhaps I could clain a FP for your Katy too. Alas I didn't. But I do hope you did well on your test and that you are enjoying it at home.
Every time there's a story linked to MozillaQuest.com, somebody links to MozillaQuestQuest.com. So now I am. Why does Slashdot continue linking to this retard?
doh, you almost got the catch phrase right. Try looking at somebody else's 'PRIORITIES' troll before posting one next time!
Stop saying "hacking" and "hacker". Do you want the government to shut down Slashdot for christ's sake?
I don't love Raymond. So that part of your post is herewith refuted.
MozillaZine had this story a week earlier than MozillaQuest. MozillaZine is also closer to the Mozilla developer community and has better understanding of what is going on. Please for once go to a respectable Mozilla news site for infomation on the project.
put a sock in it.
GiraffeSville, a place anyone can call home
That's why I sent him this email.
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.
Boffoonery - downloadable Comedy Benefit for Bletchley Park
Could their scripts be set up to run from a website? I remember the Netscape "Brown Orifice" crack that turned a browser into a trojan. Internet Explorer is already a laughingstock because of all the security flaws, would this make Mozilla just as bad?
Mas vale cholo, que mal acompañado.
GiraffeSville, a place anyone can call home
Consider linking instead to mozillazine.com instead, which has discussed this in great depth as well, and is not simply a site for trolls. And what is wrong with the idiot moderators moderating this point down? I suspect a majority of them have no clue what they are moderating and moderate on tone alone. pathetic.
I am the author of Patch Maker. Any questions about it may be directed to me :-)
Gerv
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) is also the maintainer of the Bugzilla Helper 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.
--Asa
Please don't mod this guy as a troll. What he says is very true. I think it'd be a better idea to link mozilla-related project news to mozilla.org, mozdev or mozillazine rather than to the malevolent mozillaquest.com.
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?
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?
I'm a writer, a poet, a genius, I know it. I don't buy software, I grow it.
Darn, Slashdot doesn't like title attributes in links :( Repost with good links
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) is also the maintainer of the Bugzilla Helper 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.
--Asa
Take a look at the docs at Mozilla's site:
http://www.mozilla.org/hacking/patch-maker/
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.
Hyperbole is the worst thing ever.
Yes, with the tabs they've taken a lovely interface that I first saw in Konsole... it's my favoured form of MDI. (PWM does a similar thing as a window manager, but there would be a seperate instance of the program in each tab). I'd love to see this interface implemented in many more applications -- Konqueror for a start.
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?
-- Help Digitise the Public Domain at DP.
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 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!
Il n'y a pas de Planet B.
Every time there is a mozilla-article posted on Slashdot, it is from MozillaQuest. This site is just pure trash, and should be treated as such. Editors: Please stop approving stories from MozillaQuest. MozillaZine postet this last week.
Repeat after me, "MozillaQuest has no journalistic value whatsoever, and should be ignored".
That's right! EVERYBODY can help. Any maybe in another 3-5 years, they'll have a browser that will work according to 1999 standards! yaay!
I mean c'mon.. his name is *Michael Angelo*?? That's a pen name (pun name?) if I've ever heard one..
:-)