so I decided to go ahead and try this little lab; and ran into a few problems. The point of the lab was to modify the browser so that a new tab was created in between an active and the primary tab created instead of appending at the end like it normally does.
In my first attempt; i had the browser do nothing. The tabs just kept popping up at the end every time a new tab was created. But finally with the help of a couple of my class mates (Vincent and Rueen) i was able to implement the modification successfully.
I then updated my Wiki with the necessary CVS diff file to show the lines that were added to which file in order to modify the tab behaviour.
I am still fighting with extensions and having a problem understanding why the overlay wont work properly
Tuesday, October 16, 2007
Sunday, October 14, 2007
extensions, extensions, extensions
Lately I have fallen back in my blogging; thanks to intricate family issues; which I will not bring up here. But I am going to try and revive my blog; I have spent some time working on extensions to no avail; but my understanding of how an extension works and how it aids a user in simplifying a task has grown.
I also will be completing last weeks labs and updating my blog more frequently.
I also will be completing last weeks labs and updating my blog more frequently.
Sunday, September 30, 2007
CVS diff finished
yes it finally finished!! and i looked at the patch file that was created; also i looked at the code Mike Shaver added to the nsThread.cpp file. This man sure knows his c++
LXR/MXR
I must say this is a very impressive little tool. Who ever came up with this idea; needs the nobel price now!!! Ok ok; maybe I am over exaggerating. In all honesty when I first saw it; i was more so intimidated by it. But It can come in handy at any time, its a great reference; as I found out in the lab class of dps 909; but like everything new it gets some getting used to.
my CVS diff is still going at it.....sigh!
my CVS diff is still going at it.....sigh!
Applying Mike Shavers patch
Well I read Mike's comment on my blog; and looks like I made a very obvious mistake; I was in the wrong directory. Looks like my inexperience with open source is shining bright right now.
All of this scares me in a way.
I went into the right directory; the xpcom directory. And i applied the patch and it worked fine; did a "make" in a parallel directory (objdir).
Then I ran the CVS diff; well its still doing the diff and my xp on its last legs; so i need to reformat or switch to ubantu. I was really impressed with Ubantus performance last night when I was sitting side by side with one of my peers and doing the incremental build; and when we both did cvs diff; it took his machine only 5 mins or so; mine took over 20mins; and what hurts more is i have better hardware..oh well...
All of this scares me in a way.
I went into the right directory; the xpcom directory. And i applied the patch and it worked fine; did a "make" in a parallel directory (objdir).
Then I ran the CVS diff; well its still doing the diff and my xp on its last legs; so i need to reformat or switch to ubantu. I was really impressed with Ubantus performance last night when I was sitting side by side with one of my peers and doing the incremental build; and when we both did cvs diff; it took his machine only 5 mins or so; mine took over 20mins; and what hurts more is i have better hardware..oh well...
Saturday, September 29, 2007
Incremental build Lab...problems
so i figured Id try this lab; since it is crucial to the future project work we are going to do. Anyways my experience with this incremental build was rather trouble free.
a) I got the zip file from tel2096@proximity.senecac.on.ca
b) got the .mozconfig from the dps909 thursday class
c) ran the build successfully (45mins or so later)
d) Time to start the incremental build; i made a change to a file (nsHttpBasicAuth.cpp). ; did a make on a parallel directory as instructed by the lab directions

highlighted in light blue is the changes that i put in as per the labs instructions.
e) Well time to add someone elses patch to it and see what happens. I was able to get vincent lams patch and use it to try and apply his patch. well no problems here as well.
f) Well i did do the revert patch to see if it would work; and it worked fine. Did not have any problems there
g)NOW THIS IS WHERE I HAD PROBLEMS! Trying to apply a real patch!! from Mike Shaver
Again I followed instructions to the T. But I ran into this problem; heres a print screen of what I ran into
Seems like we have a different version of the build of Firefox that Mike Shaver used; since its asking for a file to patch? or am i missing something? Any ideas suggestions?
a) I got the zip file from tel2096@proximity.senecac.on.ca
b) got the .mozconfig from the dps909 thursday class
c) ran the build successfully (45mins or so later)
d) Time to start the incremental build; i made a change to a file (nsHttpBasicAuth.cpp). ; did a make on a parallel directory as instructed by the lab directions
creating the patch file from using the$ cvs diff -u8p . > patch.txt
and heres a print screen of the output patch file I got.

highlighted in light blue is the changes that i put in as per the labs instructions.
e) Well time to add someone elses patch to it and see what happens. I was able to get vincent lams patch and use it to try and apply his patch. well no problems here as well.
f) Well i did do the revert patch to see if it would work; and it worked fine. Did not have any problems there
g)NOW THIS IS WHERE I HAD PROBLEMS! Trying to apply a real patch!! from Mike Shaver
Again I followed instructions to the T. But I ran into this problem; heres a print screen of what I ran into
Seems like we have a different version of the build of Firefox that Mike Shaver used; since its asking for a file to patch? or am i missing something? Any ideas suggestions?Thursday, September 20, 2007
oops forgot to run the build

Well i guess i was happy that the build completed; but forgot to run the build as bakinblak commented on my previous post. Anyways my results after running the build were the same as what others yielded. Although I was getting some assertion errors.
Labels:
firefox build complete in xp sp2
Subscribe to:
Posts (Atom)