Thursday, November 08, 2007

Quick 0.2 release news

I would like to highlight the latest news out of the almost 2 week silence without going to a lot of details and more will come over the next few days and from Rueen and Vince, stay tuned!
  • During the FSOSS, we met with Michal Berman and gave us a taste of what the l10n part of the community looks like and she helped us to set in Google Groups a discussion about l10n tools, which Axel (the l10n owner) explained with a lot of details
  • Dynamys has appeared and posted his script in the bug -- quite complex!
  • We are engaged in an email with Seth Bindernagel
  • We have set a list of things that gotta be done and splitted among the three of us. Over these weekend, we would like to have good stuff done
I will be more detailed on what we want for the 0.2.3 release in a later post

Wednesday, November 07, 2007

SESSION 14 - Patch for Thunderbird

Today, in class I decided to use Linux rather than Windows (since Dave insisted that was faster) and I didn't feel so uncomfortable as I thought but it seems that in the lab that the computers shut off around 6pm, therefore I lost my patch and everything.

Trying this lab: Thunderbird_Bug_Fix_Lab


Anyway, I am back here on Windows and I am checking out the source code for Thunderbird (I already have Firefox's source code in this machine).

  • make -f client.mk checkout MOZ_CO_PROJECT=mail
  • cvs -d :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot co mozilla/mail/config/mozconfig

I will probably change the .mozconfig just for this build
. $topsrcdir/mail/config/mozconfig
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/tbird-debug
mk_add_options MOZ_CO_PROJECT=mail,calendar
ac_add_options --disable-optimize
ac_add_options --enable-debug
In class, though the time I spent discussing with the rest of class mates, I realized that I was going to fancy about how to fix the bug. I am going to try this change in this file: http://mxr.mozilla.org/mozilla/source/netwerk/streamconv/converters/mozTXTToHTMLConv.cpp Let's move to mozilla/tbird-debug/netwerk/streamconv/converters and do a "make"
Let's run it:
  • /c/ff/mozilla/tbird/dist/bin/thunderbird.exe

My changes weren't been reflected so I try attaching VS2005 to it and it directly told me that the source file I was editing wasn't the one being executed!! I think that is amazing!

I had to build 2 folders above. Here are the links with the 2 different make's I tried:

To make the patch, from the "mozilla" folder:
  • cvs diff -u8p . > patch_td.txt

To apply the patch add it to you "mozilla" source folder and apply it like this:
  • patch -p0 < patch_td.txt

My own bug in landfill: http://landfill.bugzilla.org/bugzilla-3.0-branch/show_bug.cgi?id=6008
My own patch:
http://matrix.senecac.on.ca/~azambran/mozilla/patches/patch_td.txt
(I need somebody to review it)

Once I have attached the patch to the bug, I read this: http://developer.mozilla.org/en/docs/Getting_your_patch_in_the_tree and I have realized that I could have set a flag when doing the attachement but now I will have to cselect the "Details" of the attachment and then set the "review" flag to '?' and add the email of two class members separated by a comma, who are "reviewers"

Now it shows in the attachment a column that says this:

azambran: review? (masmullin)
azambran: review? (awdelyea)


That's it for today!

Tuesday, November 06, 2007

Heroes sudden realization

Do not read this if you haven't watched every episode until now.

After watching yesterday's episode I think that Adam has been waiting for centuries to reach Hiro's time and destroy Hiro's reality.
Adam was most likely behind The Company to make them destroy New York with Hiro in it but the idea failed.
  • What was the reason of destroying New York? How could he had assumed that Hiro would be in New York? He obviously knew the father was in New York
Now the top management of The Company are being murdered one by one since two weeks ago Adam got released, in which, we have the father of Hiro who felt from a building with the person who pushed him but obviously Adam hit the ground with him but he did not die.
  • Who released Adam? When was he captured? Maybe in the time between the bomb explosion and his appearance? Who had the power to capture him? Somebody must have a more cruel reason to have released him
The Top Management seems that have been confused and have been thinking of the rest as their killers, e.g. Patman thinking that the little girl was used to catch him, Patman making the mother of Peter nuts (remember her scratching herself), Bob thinking of Patman to come after him, etc

Other questions:
  • Who, how and why were Peter and Sylar rescued?
  • Peter was in the Company's hand, did he had his memory there?
  • Why Adam has contacted Peter? He is going to use him, what for?