Changes

Jump to: navigation, search

User:Cdpatel1

2,603 bytes added, 23:40, 19 April 2009
Final Release
= Projects =
== 0.1 Rename Attachment ==
This Extension will rename attachments. Here is more info regarding the Extension.
http://zenit.senecac.on.ca/wiki/index.php/User:Rename_Attachment
= Software =0.2 Attachment Reminder ==Hot Hot Hot Hot Bug!!! This feature will remind user to attach attachments. So, no more "Sorry, I forgot the attachments. Here it is. Sorry, ..." !
== Process Manager Extension ==http://zenit.senecac.on.ca/wiki/index.php/User:Attachment_Reminder
== SHTTPD Extension 0.3 Attachment Reminder ==
This is a proof of conceptJust going to expand more features on Attachment Reminder Bug. Installing this extension will start a tiny webserver that runs locallyMake it more user friendly. The purpose One of this the ways to make it user friendly is to eventually provide a way allow user to distribute web application as extensions so they can be run locally/offline. At present, when add new keywords which Thunderbird will look for in the browser starts body of the server also starts and installs an icon to the system tray. It only runs on Win32 machinesemail.
Download: http://jamesbostonzenit.senecac.on.ca/extensionswiki/shttpdindex.xpiphp/User:Attachment_Reminder
(The server is licensed as beerware and is available on its own at == 0.4 Attachment Reminder ==I forgot to write about this one. If you need to read more about this click [http://shttpdcdpatel1.sourceforgeblogspot.netcom/)2009/01/attachment-reminder-04.html[here]].
== Open 0.5 Attachment Reminder==In this release I have addressed all the issues raised in Editor Extension =the [https://bugzilla.mozilla.org/show_bug.cgi?id=244455#c33[comment]].I would encourage more and more people to download my [http://www.geocities.com/chinmay_patel@ymail.com/attachmentreminderPatcho5Beta.txt[patch]] and provide me some feedback. Moreover, I have created a [http://zenit.senecac.on.ca/wiki/index.php/User:Cdpatel1#Suggestion_BOX[suggestion box]] in my profile page, feel free to edit it.
== 0.6 (Attachment Reminder + LIBNOTIFY) ==This extension will open source code files from httpis a combined release of two BUGs://mxrAttachment Reminder and LIBNOTIFY Notifications.mozilla.org in an editor on I think, this could be the users machinelast patch for Attachment reminder. Simply right click on the loaded page and select the Open in Editor option from the pop up context menu. The user may choose any editor through preference settings. If no preferences are selected the extension defaults But, I am open to gedit on Linux, notepad on Windows, and (currently) nothing on OS Xwork more if needed.
Download: My another task is to make Thunderbird notify new emails through LIBNOTIFY. I have started working on it and set up the required environment for the BUG. Here is the [http://zenitwww.senecacgeocities.oncom/chinmay_patel@ymail.cacom/wiki/imgs/Openineditorpatch_06_INDIA.txt[PATCH]].xpi
== Ubiquity commands 0.7 Attachment Reminder + LIBNOTIFY + Tango Icons ==This release was a mix of three bugs. [https://bugzilla.mozilla.org/show_bug.cgi?id=244455[Attachment reminder bug]], [https://bugzilla.mozilla.org/show_bug.cgi?id=478463[Libnotify bug]] and [https://bugzilla.mozilla.org/show_bug.cgi?id=483777[Tango Icons Bug]].
It looks like, the Thunderbird community doesn't need the integration of LIBNOTIFY at the moment. I have submitted couple of patches to the [httphttps://matrixbugzilla.mozilla.senecacorg/show_bug.oncgi?id=478463[bug]], but it has no more requirement.ca/~jwboston/ubiquity/ Subscribe Eventually, I have to all my commands]drop the bug.
Moreover, I am going through my worst period in the [httphttps://zenitbugzilla.senecacmozilla.on.caorg/wiki/indexshow_bug.php/Learning_Collaborative_Development_Lab_Fall_2008_Results#Seneca_Library_Search Search Seneca Librarycgi?id=244455[Attachment Reminder]]bug because I am not having any work done. I am submitting the patches but it doesn't apply properly. They say that it the patch is bitrotten. What else can be happen if I they are checking the patch after the 2 weeks of upload date? But, I can certainly understand their busy schedule and try my best to get work done.
My prospect bug is [httphttps://zenitbugzilla.senecacmozilla.org/show_bug.cgi?id=483777[Tango Icons bug]]. Currently, I don't have any idea what is going onwith that bug.ca/wiki/indexI only know that I am going to do that bug.php/Learning_Collaborative_Development_Lab_Fall_2008_Results#Paste_to_pastebin Paste to pastebin]
= Building Firefox =0.8 Attachment Reminder + Tango Icons ==0.8 is the combined release for [https://bugzilla.mozilla.org/show_bug.cgi?id=244455[Attachment Reminder Bug]] and [https://bugzilla.mozilla.org/show_bug.cgi?id=483777[Tango Icons Bug]].
For the [https://bugzilla.mozilla.org/show_bug.cgi?id== Building on Windows Vista ==244455[Attachment reminder bug]], I am getting somewhat impatience. I am trying my best and still not be able to get it done. Improper apply of the patch and building errors for the patch are killing me. I am not getting the reason why my patches are creating so much issues in other machines? I guess, I have to create the patch and ask David Humphrey, if he can apply my patch and build Thunderbird. Hopefully, next will be my last patch.
Install Visual Studio:(The express version will work.) http[https://msdn2bugzilla.microsoftmozilla.comorg/en-us/vstudio/aa700736show_bug.cgi?id=483777[Tango Icons bug]] is the most interesting bug for me. It contains some user interface stuffs that I like the most. In this bug, I have to apply the patch created by Andreas Nilsson, one of the community member, and make the patch compatible to the hg mercurial. In this bug, I have learned about combination of CSS, XUL and images in Thunderbird code.aspx
Get Microsoft Windows Software Development Kit Update for Windows Vista: http://wwwCurrently, I feel that I am getting all sorts of experience in the Thunderbird code.microsoftInstead of feeling overwhelmed, I am feeling more satisfied and versatile.com/downloads/detailsAfter working on all these bugs, I am more confident that I will be able to handle everything that comes to me in terms of coding.aspx?FamilyID=4377f86d-c913-4b5c-b87e-ef72e5b4e065&DisplayLang=en
Download and install Mozilla Build, a package of software prereqs:== 0.9 Attachment Reminder + Tango Icons ==(If you get This release is a message saying this application did not install properly then you should see a windows dialog giving you landmark to me. I got the option to re-installAttachment Reminder fixed. Megnus came up with the 'correct settings'patch including my errors fixed and adding some extra features. After However, I still need to apply that all should be wellpatch, edit if required and ask for UI review.) http://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32/MozillaBuildSetup-1.3It will surely done by the end of the semester.exe
Open a shell window Although I am almost done by right clicking and using admin privileges:(The example here is for Visual Studio 2005Attachment Reminder, I have lot of work to do in Tango icons Bug. The name I have to merge all those separate icons images into one big image. Then I have to refer to that image from the Thunderbird CSS. Evenhough It sounds so easy, it requires a lot of manual coding. Apart from all the bat file you use should match the directory work that Visual Studio is installed I have to finish, I will try my best to get this bug done innext two weeks.) c:\mozilla-build\start-msvc8.bat
If you are attempting == Final Release ==I am so glad to build Firefox 3announce that my Attachment reminder bug is complete.1 you can checkout I just got the source using mercurial as described belowreview+ from Megnus Malin. When creating a working directory and checking out Now, I am just waiting for the source it doesn't really matter where you put itUI review? I guess, but avoid paths that contain spacesthere should not be any problem. If your user name doesn't have space you can checkout the source to your home directory like this: cd mkdir mozilla cd mozilla hg clone http://hg.mozilla.org/mozilla-central/ srcLet us see how does it go?
If you are attempting to build Firefox 3Plus, I have submitted a patch on the Tango Icons Integration Bug and asked for review.0 you can checkout In this bug, I have merged the source using cvs as described below: cd cvs -d :pserver:anonymous@cvs-mirroricons into big images for the performance purpose.mozilla.org:/cvsroot co mozilla/client.mk cd ~/mozilla make -f clientNow, just waiting for the review.mk checkout MOZ_CO_PROJECT=browser
Create and open a hidden file called Hopefully, I will get the confirmation before my presentation on Friday.mozconfig in your home directory: notepad.exe ~/.mozconfig
Add the following lines to .mozconfig= Labs = # My first mozilla config== Course introduction == Account on [http://zenit.senecac.on.ca/wiki/index. $topsrcdirphp/browserUser:Cdpatel1[Wiki]] and [http:/config/mozconfig mk_add_options MOZ_OBJDIR=@TOPSRCDIR@cdpatel1.blogspot.com/obj-@CONFIG_GUESS@ ac_add_options --disable-optimize ac_add_options --enable-debug ac_add_options --disable-static --enable-shared[Blogspot]] has been created.
If you are using a multi-core computer for buildingAlso, you can try adding a flag I have added my name to speed up compile timesthe [http://zenit. Use a value of ''((# of cores)*2)+1'' (iesenecac.on.ca/wiki/index.php/Open_Source@Seneca_Planet_List[Seneca Planet List]]. five for two cores): mk_add_options MOZ_MAKE_FLAGS=-j5
Visual Studio 2008 users may also need to add one or more of the following to Hence, first is DONE.mozconfig ac_add_options --disable-xpconnect-idispatch ac_add_options --disable-activex ac_add_options --disable-activex-scripting ac_add_options --disable-accessibility ac_add_options --disable-parental-controls
Start == Collaborative and Community Development Practices ==This lab has provided a brief outline for Open source community. It gave us a main idea, "if the buildcode is already written, don't waste your time in re-writing it. Just Copy and Paste it !!!" For this lab I have made a [http: cd ~/mozilla/src make -f clientzenit.senecac.on.ca/wiki/index.php/Learning_Collaborative_Development_Lab_Fall_2008_Results#Cuil_Search[cuil]], a new search engine, search through Ubiquity.mk build
Once the build is finished == Managing and Building large source trees ==I have blogged about it on my blog page. If you want help or reference, you should set can go to the following environment variable to turn-off assertion dialogs: export XPCOM_DEBUG_BREAK=warnlink below and look at it.
When you run Firefox for the first time, create and select a new profile called "development" (or any name of your choice) to avoid corrupting your current profile. You can do this while running your current version of Firefox using these command line optionshttp: ~/mozilla/srccdpatel1.blogspot.com/obj*2008/dist/bin09/building-firefox -Profilemanager and-nothunderbird-remoteon.html
The finished build can be found == Navigating the Mozilla source tree ==For navigation in Mozilla tree, I got a great tool called DOM inspector. It helped me lot in exploring Thunderbird tree. DOM inspector is the best, as far as I know, tool to have a reference for Object Model. I have blogged about how to use it but it didn't show up on the ~Seneca Planet. To know how to us DOM inspector, do look into my [http:/mozilla/srccdpatel1.blogspot.com/obj*2008/dist09/bin directorydetective-of-mozilla-dom-inspector.html[blog]].Please leave some comment on it! ;)
Run == Bug searching and Fixing ==These are the file "mozilla" or "firefox", 3 bugs that are not the binary "mozilla-bin" or "firefox-bin"perfectly related to my project but still somewhat related to it. Here they are ...
For more detailed info about the windows build requirements visit [httphttps://developerbugzilla.mozilla.org/en/docs/Windows_Build_Prerequisites#Microsoft_Visual_C.2B.2B_and_Windows_SDK Mozilla Developer Center]show_bug.cgi?id=232500
For more detailed information about Mozilla building visit [httphttps://zenitbugzilla.senecacmozilla.on.ca/wiki/index.phporg/Real_World_Mozilla_Build_Mozilla_Lab Real World Mozilla Build Lab]show_bug.cgi?id=448971
For more info about Visual Studio 2008 problems see [httphttps://crashopensourcebugzilla.blogspotmozilla.comorg/2008/05/vista-building-with-vc9.html Lukas Blakk's blog]show_bug.cgi?id=349547
For more information on using Mercurial to checkout Mozilla code see == Modifying Thunderbird Lab ==I have filed the bug at [httphttps://developerlandfill.mozillabugzilla.org/enbugzilla-3.0-branch/Mozilla_Source_Code_(Mercurial) Mozilla Source Codeshow_bug.cgi?id=6827[Landfill Bugzilla]].
== Building on Windows XP Modifying Thunderbird With extension Lab ==In this lab I am doing the same as previous lab. However, I am using extension to do it. [http://zenit.senecac.on.ca/wiki/index.php/Image:Addtabbeside.xpi[Download]] my XPI file and check it.
The instructions are == XPCOM Lab ==This is the same as for Windows Vistatoughest lab. It took me so much time to finish this lab. [http://zenit.senecac.on.ca/wiki/index.php/Image:Firstxpcom_Chinmay. For Firefox 3, the Vista SDK is also requiredzip[Download]] my Lab and Check it. HoweverHopefully, try adding the following additional line to your it works.mozconfig file first: ac_add_options --disable-vista-sdk-requirements
Another problem is that you may == Chrome ==I am so sorry for not be able doing this lab. I am planning to use your home directory because the path almost certainly has spacesdo my 0.33 release, not 0. If that is the case3 release, just put the mozilla directory in your root (ieplace of this lab. C:\mozilla) and put the Basically, both things are working with XUL stuffs.mozconfig file Hence, it is better to do some 'real' stuff in that directoryplace of this lab.
=Contribution Done= Building on Ubuntu and Fedora <big><table width='100%' border='1'> <tr> <th width='5%'> No. </th> <th width='25%'> Name </th> <th width='65%'> Description </th> </tr> <tr> <td> 1. </td> <td> Patrick </td> <td> Provided him the data that he wanted for his research. </td> </tr> <tr> <td> 2. </td> <td> Patrick </td> <td> Debug the makefile </td> </tr> <tr> <td> 3. </td> <td> Chris Bishop </td> <td> Made automated shell script </td> </tr> <tr> <td> 4. </td> <td> Thomas J. Brown </td> <td> Helped him to build his Thunderbird </td> </tr> <tr> <td> 5. </td> <td> Scott </td> <td> Tested his extension. </td> </tr> <tr> <td> 6. </td> <td> Scott </td> <td> Debugged the code and find the error to fix the problem. The problem was in install.rdf file. </td> </tr> <tr> <td> 7. </td> <td> zghansar </td> <td> Build Thunderbird with visual studio. </td> </tr> <tr> <td> 8. </td> <td> https://developer.mozilla.org/En/Code_snippets/Preferences </td> <td> Changed the code so that it is excceptable. </td> </tr> <tr> <td> 9. </td> <td> https://developer.mozilla.org/en/XUL/Property/itemCount </td> <td> Provided an example in a manner that another developer can understand is easily. </td> </tr></table></big>
Install = Contribution Received=<table><tr> <td> Chris Bishop: </td> <td> Always eager to help me. My first source of information after websites. Helped me to build pre-requisites for Fedora usersThunderbird. </td></tr><tr> <td> James Boston: su -c "yum groupinstall 'Development Tools' 'Development Libraries' 'GNOME Software Development'"</td> su -c "yum install mercurial"<td> Helped me with Building Thunderbird. Plus, Helped me to understand his PASTEBIN AND UBIQUITY stuff. </td></tr><tr> <td> Scott Lunel: </td> <td> I was stuck in packaging my Extension. Scott came to me helped me in Packaging it. And finally, my extension is working. Thanks a lot Scott. </td></tr><tr> <td> Slokunshialgo </td> <td> Tested my extension. </td></tr><tr> <td> Sid </td> <td> Tested my extension. </td></tr><tr> <td> Patrick Lam </td> <td> Tested my extension. </td></tr></table>= Suggestion BOX =Feel Free to provide any suggestions here :)
Install Firefox 3 build re-requisites for Ubuntu 8.04 users: sudo apt-get install build-essential sudo apt-get build-dep firefox-3.0 sudo apt-get install mercurial libasound2 libasound2-dev curl libcurl4-gnutls-dev Checkout the source: mkdir ~/mozilla cd ~/mozilla= Future Goals = hg clone http://hg.mozilla.org/mozilla-central/ src Create and open a hidden file called .mozconfig in your home directory: gedit ~/.mozconfig Add the following lines to .mozconfig # My first mozilla config . $topsrcdir/browser/config/mozconfig mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-@CONFIG_GUESS@ ac_add_options --disable-optimize ac_add_options --enable-debug ac_add_options --disable-static --enable-shared See the Windows Vista notes above about adding a flag to .mozconfig to speed up the compile. Start the build: cd ~/mozilla/src make -f client.mk build Here task is a log of the output from building Firefox 3.1 on Ubuntu 8.04: http://zenit.senecac.on.ca/wiki/imgs/Build_output.txt.zip Once the build is finished you should set the following environment variable to turn-off assertion dialogs: export XPCOM_DEBUG_BREAK=warn When you run Firefox for the first time, create and select a new profile called "development" (or any name of your choice) to avoid corrupting your current profilefinish my 0. You can do this while running your current version of Firefox using these command line options: ~/mozilla/src/obj*/dist/bin/firefox -Profilemanager -no-remote The finished build can 33 release which will be found in the ~/mozilla/src/obj*/dist/bin directory. Run the file "mozilla" or "firefox", not the binary "mozillaa full-bin" or "firefox-bin". For more detailed information visit [http://zenit.senecac.on.ca/wiki/index.php/Real_World_Mozilla_Build_Mozilla_Lab Real World Mozilla Build Lab]. == Building on OS X == The following instructions where written for Firefox 3.0.* builds. Try fledged developed [http://zenit.senecac.on.ca/wiki/index.php/User:Evmarbella Ezadkiel Villarico MarbellaAttachment_Reminder[attachment reminder]]'s page for more detailed instructionsBuild pre-requisites and instructions for OS X can also be found at Moreover, I have taken the [http://developernext course DPS911 to continue my journey through open source world.mozilla.org/en/docs/Mac_OS_X_Build_Prerequisites#Firefox_Quick_Start Mozilla Developer CenterI still need to talk to David Humphrey what I am going to do in that course.] Although those instructions are good, it may I would be necessary looking for some HOT and HARD meat to take a few extra stepswork on for my future course. For instanceHopefully, the build may have trouble finding the glib dependency. If this happensand I will, try adding this I would be able to your path: export PATH=$PATH:/sw/bin;/sw/sbin If you have built Firefox in your home directory and are trying to start it from satisfy the command line try these steps: cd ~/mozilla/dist/Minefieldrequirements of Open Source Community.app/Contents/MacOS ./firefox -Profilemanager -no-remote
1
edit

Navigation menu