Unofficial Win32 2003-05-27 with DOM Inspector

Discussion about official Mozilla Firefox builds
aebrahim
Posts: 1234
Joined: November 10th, 2002, 2:47 am
Location: Hong Kong
Contact:

Unofficial Win32 2003-05-27 with DOM Inspector

Post by aebrahim »

I've created a build with the DOM Inspector built in, but there doesn't appear to be integtration from the Firebird menus itself (at least not that I can find). You can launch the DOM Inspector by running MozillaFirebird.exe -inspector http://url. Usually in Mozilla App Suite it would be under Tools | Web Development.

The build is at http://home.uchicago.edu/~aebrahim/fire ... 030527.exe and its a self extracting 7zip file (I don't have enough webspace for a ZIP archive).

EDIT: Mirror at: http://pryan.org/firebird/aebrahim/Mozi ... 030527.exe - Thanks to pryan
(Use this in case I have to take the build off my server for space reasons)


I'm not going to be able to create regular builds of this, but I've done it this one time. Hopefully its helpful for some people (I got a request for it).

The .mozconfig I used was:

export MOZ_PHOENIX=1
mk_add_options MOZ_PHOENIX=1
ac_add_options --enable-crypto
ac_add_options --disable-tests
ac_add_options --disable-debug
ac_add_options --disable-mailnews
ac_add_options --disable-composer
ac_add_options --enable-optimize=-O2
ac_add_options --disable-ldap
ac_add_options --enable-extensions=default,-irc,-venkman,-content-packs,-help
ac_add_options --enable-plaintext-editor-only
ac_add_options --enable-static
ac_add_options --disable-shared

P.S. markf: I've sent you a private message.
Last edited by aebrahim on May 28th, 2003, 4:00 pm, edited 3 times in total.
User avatar
alanjstr
Moderator
Posts: 9100
Joined: November 5th, 2002, 4:43 pm
Location: Anywhere but here
Contact:

Post by alanjstr »

Does it work if you install mozEngineer
http://www.joehewitt.com/mozilla/mozengineer/
Former UMO Admin, Former MozillaZine General Mod
I am rarely on mozillaZine, so please do not send me a private message.
My Old Firefox config files
aebrahim
Posts: 1234
Joined: November 10th, 2002, 2:47 am
Location: Hong Kong
Contact:

Post by aebrahim »

I have a question about the --enable-optimize mozconfig flag. In this case I've set it to -O2, and this shows correctly in about:buildconfig in the Configure Arguments section. However the Build Tools section shows:

Compiler Version Compiler flags
cl 13.00.9466 for 80x86 -TC -nologo -W3 -nologo -Gy -Fd$(PDBFILE)
cl 13.00.9466 for 80x86 -TP -nologo -W3 -nologo -Gy -Fd$(PDBFILE)

And there is no -O2 anywhere in there. I was wondering how I can be sure that the -O2 option is being passed to the compiler. Is it normal for the -O2 option not to show in the Compiler flags part of the Build Tools part of about:buildconfig ?
User avatar
alanjstr
Moderator
Posts: 9100
Joined: November 5th, 2002, 4:43 pm
Location: Anywhere but here
Contact:

Post by alanjstr »

aebrahim wrote:I was wondering how I can be sure that the -O2 option is being passed to the compiler. Is it normal for the -O2 option not to show in the Compiler flags part of the Build Tools part of about:buildconfig ?

That would be a good topic for a seperate thread.
Former UMO Admin, Former MozillaZine General Mod
I am rarely on mozillaZine, so please do not send me a private message.
My Old Firefox config files
aebrahim
Posts: 1234
Joined: November 10th, 2002, 2:47 am
Location: Hong Kong
Contact:

Post by aebrahim »

alanjstr wrote:
aebrahim wrote:I was wondering how I can be sure that the -O2 option is being passed to the compiler. Is it normal for the -O2 option not to show in the Compiler flags part of the Build Tools part of about:buildconfig ?

That would be a good topic for a seperate thread.


New thread created: http://www.mozillazine.org/forums/viewtopic.php?t=12045

EDIT: And problem solved, the flags are indeed being passed to the compiler correctly.
Sailfish
Posts: 5681
Joined: November 5th, 2002, 4:58 pm

Post by Sailfish »

alanjstr wrote:Does it work if you install mozEngineer
http://www.joehewitt.com/mozilla/mozengineer/

Works grand!

aebrahim, many thanks for this most excellent build!!!
User avatar
Mgz
Posts: 168
Joined: November 25th, 2002, 6:14 pm
Location: AB - Canada

Post by Mgz »

how about using VC 2003 ? I heard (from devs of Xvid and/or VirtualDub) that VC 7.0 is @^%($%@#@
Please forgive me for my poor English
User avatar
alanjstr
Moderator
Posts: 9100
Joined: November 5th, 2002, 4:43 pm
Location: Anywhere but here
Contact:

Post by alanjstr »

Holy crap, I have DOM Inspector in my Firebird. Ok, so the mozEngineer part was dissappointing, but now I can uninstall Mozilla! Can you make a non-DOM-Inspector build and diff them to see what files are needed just for DOM Inspector? And then we can make an XPI and then it just needs a button and yay I'm sooooo giddy!

Edit:

Code: Select all

Only in MozillaFirebird-20030527: MSVCP70.DLL
Only in MozillaFirebird-20030527: MSVCR70.DLL
Only in MozillaFirebird-20030527: bloaturls.txt
Only in MozillaFirebird-20030527: mangle.exe
Only in MozillaFirebird-20030527: rebasedlls.exe
Only in MozillaFirebird-20030527: timebombgen.exe
Only in MozillaFirebird-20030527: xpcshell.exe
Only in MozillaFirebird-20030527: xpidl.exe
Only in MozillaFirebird-20030527: xpt_dump.exe
Only in MozillaFirebird-20030527: xpt_link.exe


I think that you're building extra stuff in yours. Here's the rest.

Code: Select all

Only in MozillaFirebird-20030527/chrome/icons/default: winInspectorMain.ico
Only in MozillaFirebird-20030527/chrome: inspector
Only in MozillaFirebird-20030527/chrome: inspector.jar
Only in MozillaFirebird-20030527/chrome: mozengineer.jar
Only in MozillaFirebird-20030527/chrome/overlayinfo/browser: skin
Only in MozillaFirebird-20030527/chrome/overlayinfo/global: skin
Only in MozillaFirebird-20030527/chrome/overlayinfo: inspector
Only in MozillaFirebird-20030527/components: inspector-cmdline.js
Only in MozillaFirebird-20030527/components: inspector.dll
Only in MozillaFirebird-20030527/components: inspector.xpt
Only in MozillaFirebird-20030527/defaults/pref: inspector.js
Only in MozillaFirebird-20030527/res: inspector
Only in MozillaFirebird-20030527/res: samples
Only in MozillaFirebird-20030527/res: throbber
Last edited by alanjstr on May 27th, 2003, 5:53 pm, edited 1 time in total.
Former UMO Admin, Former MozillaZine General Mod
I am rarely on mozillaZine, so please do not send me a private message.
My Old Firefox config files
User avatar
alanjstr
Moderator
Posts: 9100
Joined: November 5th, 2002, 4:43 pm
Location: Anywhere but here
Contact:

Post by alanjstr »

Maybe someone with access can upload this to ftp.mozilla.org
Former UMO Admin, Former MozillaZine General Mod
I am rarely on mozillaZine, so please do not send me a private message.
My Old Firefox config files
aebrahim
Posts: 1234
Joined: November 10th, 2002, 2:47 am
Location: Hong Kong
Contact:

Post by aebrahim »

alanjstr,

I don't have time to make more builds with the DOM Inspector anytime soon. I'm building all of these on my only computer, so it needs to be free for other stuff as well.

Regarding the extra files, MSVCR70.DLL and MSVCP70.DLL are the MS C++ runtimes, and I have to include them or it won't work (a new requirement introduced with VC++ .NET 2002). All the other files in the first list are always generated, but are usually stripped out of release builds because they're not required to run. You can safely delete them and the build will still work. I just included them for completeness' sake, since they're all very small files and hardly add anything to the download.
User avatar
alanjstr
Moderator
Posts: 9100
Joined: November 5th, 2002, 4:43 pm
Location: Anywhere but here
Contact:

Post by alanjstr »

Well, I knew about MSVCR70.DLL and MSVCP70.DLL, but not the others. We don't need nightly builds with DOM Inspector. Once a month is fine :-D
Former UMO Admin, Former MozillaZine General Mod
I am rarely on mozillaZine, so please do not send me a private message.
My Old Firefox config files
Sailfish
Posts: 5681
Joined: November 5th, 2002, 4:58 pm

Post by Sailfish »

alanjstr wrote:Ok, so the mozEngineer part was dissappointing, but now I can uninstall Mozilla!

How so, it appears to work as designed on my system?
User avatar
alanjstr
Moderator
Posts: 9100
Joined: November 5th, 2002, 4:43 pm
Location: Anywhere but here
Contact:

Post by alanjstr »

It created a button. But when I clicked it, it analyzed browser.xul and not the current website.
Former UMO Admin, Former MozillaZine General Mod
I am rarely on mozillaZine, so please do not send me a private message.
My Old Firefox config files
Sailfish
Posts: 5681
Joined: November 5th, 2002, 4:58 pm

Post by Sailfish »

alanjstr wrote:It created a button. But when I clicked it, it analyzed browser.xul and not the current website.

Ah, that was a feature of DOM Inspector that I hadn't used much. However, as a theme guy, being able to interrogate the chrome DOM is invaluable! btw, if you select Bookmarks > Manage Bookmarks, as an example, the button will list both browser.xul and the one for the bookmark manager, same with javascript console.

Not being able to do this in the past has been a real pain when trying to figger out what selector rules to use to style a particular widget.

fyi...
TychoQuad
Posts: 1263
Joined: December 11th, 2002, 12:30 am
Location: Australia

Post by TychoQuad »

Would it be possible to bundle this up as an extension? That way, we can have it in every nightly! :D
Post Reply