Difference between revisions of "LukasBlakkTBBugFixLab"

From CDOT Wiki
Jump to: navigation, search
 
(Results of Review)
 
(4 intermediate revisions by the same user not shown)
Line 2: Line 2:
  
 
== Filing a bug ==
 
== Filing a bug ==
 +
First I had to create a bug over on landfill - [http://landfill.bugzilla.org/bugzilla-3.0-branch/show_bug.cgi?id=6019 explaining the issue]
  
 +
The gist is that anything that has characters@...Someothercharacters turns into a mailto: link in Thunderbird and this was annoying Dave so the whole class jumped to fix it.
  
 
== Fixing the problem ==
 
== Fixing the problem ==
  
 +
Dowloaded and built a copy of Thunderbird's trunk on my MacBook and then navigated over to mozTXTToHTMLConv.cpp in order to alter some code which checks for a '.' after the @ symbol but does not also check that there is not a ".." in that string.
 +
 +
This is a one-line fix but I was having some trouble getting my code changes to show up.  Funny story, this happened to me in class too and both times it was because I forgot a ) in the code.
  
 
== Creating a patch ==
 
== Creating a patch ==
  
 +
This is easily done by calling cvs diff -u8p . > mailtoPatch.txt in my mozilla directory.
  
 
== Requesting Review ==
 
== Requesting Review ==
 +
 +
We were going down the line as reviewers - I asked Mmullin and he had already done a review so he handed me off to Armenzg who passed my patch with the comments to remove my printf statement and to make the two if statements into one evaluation.  It turns out that he should not have passed my patch, instead he should have made the comments and let me fix it before approving the patch.
  
 
== Results of Review ==
 
== Results of Review ==
 +
 +
Even though Armenzg passed my first patch, I did in fact re-do the patch minus printf and simplifying the if statement.  I am waiting for a proper approval as I write this but I am sure it will be approved.

Latest revision as of 20:32, 8 November 2007

This the page where I will document my results of doing the Thunderbird_Bug_Fix_Lab

Filing a bug

First I had to create a bug over on landfill - explaining the issue

The gist is that anything that has characters@...Someothercharacters turns into a mailto: link in Thunderbird and this was annoying Dave so the whole class jumped to fix it.

Fixing the problem

Dowloaded and built a copy of Thunderbird's trunk on my MacBook and then navigated over to mozTXTToHTMLConv.cpp in order to alter some code which checks for a '.' after the @ symbol but does not also check that there is not a ".." in that string.

This is a one-line fix but I was having some trouble getting my code changes to show up. Funny story, this happened to me in class too and both times it was because I forgot a ) in the code.

Creating a patch

This is easily done by calling cvs diff -u8p . > mailtoPatch.txt in my mozilla directory.

Requesting Review

We were going down the line as reviewers - I asked Mmullin and he had already done a review so he handed me off to Armenzg who passed my patch with the comments to remove my printf statement and to make the two if statements into one evaluation. It turns out that he should not have passed my patch, instead he should have made the comments and let me fix it before approving the patch.

Results of Review

Even though Armenzg passed my first patch, I did in fact re-do the patch minus printf and simplifying the if statement. I am waiting for a proper approval as I write this but I am sure it will be approved.