Tech Blog
RSS icon Email icon Home icon
  • Updates on hacking Personas to work on Thunderbird Shredder + Screenshots

    Posted on February 24th, 2009 seith 1 comment

    These are the steps I took to get Personas to work on TB.

    1. install.rdf – Of course to modify  to allow installation of Personas on Shredder.
    2. chrome.manifest – Changes of  to hook on to messengerWindow instead of main-window. Also, allow skin to be loaded by changing appversion
    3. Can’t Seem to set const Cc = Components.classes.. in fact, for the other few Components constant declared. Replaced all constants with the lengthier way to access it for now.
    4. Peronas.js – JSON was set to null and loaded with JSON.js which has issues. I commented out setting JSON to null. Since JSON is now native, there is no need to create a new namespace to load JSON and JSON can be used as is throughout.
    5. Several DOM IDs like menu_openAddons and bottomBox replaced to Thunderbird counterpart throughout js,xul and css files.

    There might be some other issues that I’ve handled here and there, but that is generally it. Will be working on getting them to work together with existing personas code. Will be communicating with Chris Beard at Personas forum or through some other means.

    Some screenshots here. Managed to try out styling messege pane too.

    Thunderbird Shredder with Personas Theme(Forest)

    Thunderbird Shredder with Personas Theme(Forest)

    Thunderbird Shredder with Personas Theme(Library)

    Thunderbird Shredder with Personas Theme(Library)

    Thunderbird Shredder with Personas Theme(RedBrick)

    Thunderbird Shredder with Personas Theme(RedBrick)

    Thunderbird Shredder with Personas Theme(FluffyClouds)

    Thunderbird Shredder with Personas Theme(FluffyClouds)

  • First Looks – Personas hacked to work on Thunderbird Shredder

    Posted on February 24th, 2009 seith No comments
    ss-shredder-w-personas-statusbar

    ss-shredder-w-personas-statusbar

    Just managed to hack Personas to hook onto TB and change the bottom bar. Posting a screenshot here first. Will be writing about what needs to be done next.

  • CS3108 Independent work on Mozilla

    Posted on February 12th, 2009 seith No comments

    I thought it would be nice to write a bit on the course module in case any potential student wishes to undertake such a course in the future (hopefully they continue to provide this module!) The fifth week of school has gone by and so far we’ve had 4 sharing sessions on open source work and development on Mozilla. Information about the projects being chosen for this batch can be found at The Rumbling Edge and  CS3108 site. I would say that the experience so far has been great. Although most of us are being thrown into the deep end with lots of information overloading, I’ve been able to get some help from people over at #seneca and probably #maildev ( both channels on irc.mozilla.org) in the very near future. Best thing about the whole open source community and IRC channels, it reminded me of how it felt like in the days when i just took up the interest in programming and writing IRC scripts and all.

    What do I want to achieve by the end of this course? (A question posted by Gary in today’s session) Completing the port of Personas over to Thunderbird would of course be the main objective. If time permits, I hope to further some of the functionalities of Personas which are specific to Thunderbird. Joe Sabash  mentioned the idea of allowing themes to change according to the current sender of the mail which I thought was real cool. I think that some accessibility functions can be considered too. I do hope that my work on porting Personas to Thunderbird will spin off other cool ideas based on the extension.

    I’m getting some headway with work on Personas. Although I might have just struck a nail and found out that I might need to work with some XPCOM that deals with C++ code. Mozilla Crash Course (which Hendrik told me about in today’s session) has got very detailed instructions on development of extentions and for the Mozilla platform other than those at MDC. Jminta has posted some stuff on getting XPCOM to work on Thunderbird. This will probably be helpful for my next few days of work.

  • Personas for Thunderbird

    Posted on February 3rd, 2009 seith No comments

    Part of this blog will be dedicated for the porting/development of personas for Thunderbird. Check back for more details in the near future..