Its been ages since I have blogged but I’m back on it !..Currently we are working on a Thunderbird Lab, which requires us to fix a bug regarding unwanted mailto link. This Lab will provide us a practical understanding of how to file a bug, finding a fix for it, create a patch for the fix and then submitting the patch for a review.
The Problem?

Even though “S@Y…” is a string literal in the message it still detects it as a valid email address and that definitely is not a valid email address! The problem in this scenario is that there should only be a single period between the character ‘Y’ followed by ‘@’ and domain name ‘where’ for it to be considered valid. Before resolving the problem, I decided to do a debug build of Thunderbird.
For instructions on how to build Thunderbird, visit Mozilla Developer Center website and locate the article “Simple Thunderbird build”. I’m building this on my windows laptop.
1.) Retrieve the source code for Thunderbird using hg clone http://hg.mozilla.org/comm-central/
2.)cd comm-central
3.) Configure .mozconfig file for a debug build:
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/objdir-tb-debug
ac_add_options --enable-application=mail
ac_add_options --enable-debug
ac_add_options --disable-optimize
4.) python client.py checkout
5.) make -f client.mk(Coffee break indeed)

I successfully builded Thunderbird but with an error regarding NSGlue_Assesrtion..:(:(Seems like Than Dao and Scott Downe encountered this error as well! Anyways I’m off to bed I’ll have to check that tomorrow and continue from there.
Gnite!