Changes

Jump to: navigation, search

User:Cdpatel1

2,135 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
==0.2 Attachment Reminder === [http://zenitHot Hot Hot Hot Bug!!! This feature will remind user to attach attachments. So, no more "Sorry, I forgot the attachments. Here it is.senecacSorry, .on.ca/wiki/index.php/Mozilla_Developer_Resource_Kit Mozilla Developer Resource Kit] =====" !
= Software =http://zenit.senecac.on.ca/wiki/index.php/User:Attachment_Reminder
== Process Manager Extension 0.3 Attachment Reminder ==
A binary XPCOM extension that allows processes external Just going to Firefox to be started and stoppedexpand more features on Attachment Reminder Bug. Currently only Win32 is supportedMake it more user friendly. It One of the ways to make it user friendly is used to allow user to add new keywords which Thunderbird will look for in the SHTTPD extensionbody of the email.
Further notes on usage: http://jamesbostonzenit.senecac.on.ca/cmswiki/nodeindex.php/41User:Attachment_Reminder
Download: == 0.4 Attachment Reminder ==I forgot to write about this one. If you need to read more about this click [http://jamesbostoncdpatel1.blogspot.cacom/extensions2009/processmanager01/attachment-reminder-04.html[here]].xpi
Source== 0.5 Attachment Reminder==In this release I have addressed all the issues raised in 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://jamesbostonzenit.senecac.on.ca/extensionswiki/index.php/processmanagerUser:Cdpatel1#Suggestion_BOX[suggestion box]] in my profile page, feel free to edit it.zip
== SHTTPD Extension 0.6 (Attachment Reminder + LIBNOTIFY) ==This is a combined release of two BUGs: Attachment Reminder and LIBNOTIFY Notifications. I think, this could be the last patch for Attachment reminder. But, I am open to work more if needed.
This My another task is a proof of conceptto make Thunderbird notify new emails through LIBNOTIFY. Installing this extension will start a tiny webserver that runs locallyI have started working on it and set up the required environment for the BUG. The purpose of this Here is to eventually provide a way to distribute web application as extensions so they can be run locallythe [http://www.geocities.com/offlinechinmay_patel@ymail. At present, when the browser starts the server also starts and installs an icon to the system traycom/patch_06_INDIA. It only runs on Win32 machinestxt[PATCH]].
Download== 0.7 Attachment Reminder + LIBNOTIFY + Tango Icons ==This release was a mix of three bugs. [https: http//bugzilla.mozilla.org/show_bug.cgi?id=244455[Attachment reminder bug]], [https://jamesbostonbugzilla.mozilla.org/show_bug.cacgi?id=478463[Libnotify bug]] and [https://extensionsbugzilla.mozilla.org/shttpdshow_bug.cgi?id=483777[Tango Icons Bug]].xpi
(The server is licensed as beerware and is available on its own It looks like, the Thunderbird community doesn't need the integration of LIBNOTIFY at httpthe moment. I have submitted couple of patches to the [https://shttpdbugzilla.sourceforgemozilla.netorg/)show_bug.cgi?id=478463[bug]], but it has no more requirement. Eventually, I have to drop the bug.
== Open Moreover, I am going through my worst period in Editor Extension =the [https://bugzilla.mozilla.org/show_bug.cgi?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.
This extension will open source code files from httpMy prospect bug is [https://mxrbugzilla.mozilla.org in an editor on the users machine/show_bug. Simply right click on the loaded page and select the Open in Editor option from the pop up context menucgi?id=483777[Tango Icons bug]]. The user may choose Currently, I don't have any editor through preference settingsidea what is going on with that bug. If no preferences are selected the extension defaults I only know that I am going to gedit on Linux, notepad on Windows, and (currently) nothing on OS Xdo that bug.
Download: http== 0.8 Attachment Reminder + Tango Icons ==0.8 is the combined release for [https://zenitbugzilla.senecacmozilla.onorg/show_bug.cacgi?id=244455[Attachment Reminder Bug]] and [https:/wiki/imgsbugzilla.mozilla.org/Openineditorshow_bug.cgi?id=483777[Tango Icons Bug]].xpi
For the [https://bugzilla.mozilla.org/show_bug.cgi?id== Ubiquity commands ==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.
[httphttps://matrixbugzilla.senecacmozilla.onorg/show_bug.cgi?id=483777[Tango Icons bug]] is the most interesting bug for me.ca/~jwboston/ubiquity/ Subscribe 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 all my commands]the hg mercurial. In this bug, I have learned about combination of CSS, XUL and images in Thunderbird code.
[http://zenitCurrently, I feel that I am getting all sorts of experience in the Thunderbird code.senecacInstead of feeling overwhelmed, I am feeling more satisfied and versatile.After working onall these bugs, I am more confident that I will be able to handle everything that comes to me in terms of coding.ca/wiki/index.php/Learning_Collaborative_Development_Lab_Fall_2008_Results#Seneca_Library_Search Search Seneca Library]
[http://zenit== 0.senecac9 Attachment Reminder + Tango Icons ==This release is a landmark to me.onI got the Attachment Reminder fixed.ca/wiki/indexMegnus came up with the patch including my errors fixed and adding some extra features.php/Learning_Collaborative_Development_Lab_Fall_2008_Results#Paste_to_pastebin Paste However, I still need to pastebin]apply that patch, edit if required and ask for UI review. It will surely done by the end of the semester.
= Building Firefox =Although I am almost done by Attachment Reminder, I have lot of work to do in Tango icons Bug. 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 work that I have to finish, I will try my best to get this bug done in next two weeks.
== Building on Windows Vista Final Release ==I am so glad to announce that my Attachment reminder bug is complete. I just got the review+ from Megnus Malin. Now, I am just waiting for the UI review? I guess, there should not be any problem. Let us see how does it go?
Install Visual Studio:(The express version will workPlus, I have submitted a patch on the Tango Icons Integration Bug and asked for review.) http://msdn2In this bug, I have merged the icons into big images for the performance purpose.microsoftNow, just waiting for the review.com/en-us/vstudio/aa700736.aspx
Get Microsoft Windows Software Development Kit Update for Windows Vista: http://wwwHopefully, I will get the confirmation before my presentation on Friday.microsoft.com/downloads/details.aspx?FamilyID=4377f86d-c913-4b5c-b87e-ef72e5b4e065&DisplayLang=en
Download and install Mozilla Build, a package of software prereqs:= Labs =(If you get a message saying this application did not install properly then you should see a windows dialog giving you the option to re-install== Course introduction ==with the 'correct settings'. After that all should be well.) Account on [http://ftpzenit.mozillasenecac.orgon.ca/pubwiki/mozillaindex.orgphp/mozillaUser:Cdpatel1[Wiki]] and [http:/libraries/win32cdpatel1.blogspot.com/MozillaBuildSetup-1.3[Blogspot]] has been created.exe
Open a shell window by right clicking and using admin privilegesAlso, I have added my name to the [http:(The example here is for Visual Studio 2005//zenit.senecac.on. The name of the bat file you use should match the directory that Visual Studio is installed inca/wiki/index.) c:\mozilla-build\start-msvc8php/Open_Source@Seneca_Planet_List[Seneca Planet List]].bat
If you are attempting to build Firefox 3.1 you can checkout the source using mercurial as described below. When creating a working directory and checking out the source it doesn't really matter where you put itHence, but avoid paths that contain spaces. 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.mozillafirst is DONE.org/mozilla-central/ src
If you are attempting to build Firefox 3== Collaborative and Community Development Practices ==This lab has provided a brief outline for Open source community.0 you can checkout It gave us a main idea, "if the source using cvs as described below: cd cvs code is already written, don't waste your time in re-d writing it. Just Copy and Paste it !!!" For this lab I have made a [http:pserver:anonymous@cvs-mirror//zenit.senecac.mozillaon.org:ca/cvsroot co mozillawiki/clientindex.mk cd ~php/mozilla make -f clientLearning_Collaborative_Development_Lab_Fall_2008_Results#Cuil_Search[cuil]], a new search engine, search through Ubiquity.mk checkout MOZ_CO_PROJECT=browser
Create == Managing and open a hidden file called .mozconfig in your home directory:Building large source trees == notepadI have blogged about it on my blog page.exe ~/If you want help or reference, you can go to the link below and look at it.mozconfig
Add the following lines to http://cdpatel1.mozconfig # My first mozilla config blogspot. $topsrcdir/browsercom/config2008/mozconfig mk_add_options MOZ_OBJDIR=@TOPSRCDIR@09/objbuilding-@CONFIG_GUESS@ ac_add_options firefox-and-disablethunderbird-optimize ac_add_options --enable-debug ac_add_options --disable-static --enable-sharedon.html
If you are using == Navigating the Mozilla source tree ==For navigation in Mozilla tree, I got a multi-core computer for buildinggreat tool called DOM inspector. It helped me lot in exploring Thunderbird tree. DOM inspector is the best, as far as I know, you can try adding tool to have a flag reference for Object Model. I have blogged about how to speed use it but it didn't show up compile timeson the Seneca Planet. Use a value To know how to us DOM inspector, do look into my [http://cdpatel1.blogspot.com/2008/09/detective-of ''((# of cores)*2)+1'' (ie-mozilla-dom-inspector.html[blog]]. five for two coresPlease leave some comment on it! ;): mk_add_options MOZ_MAKE_FLAGS=-j5
Visual Studio 2008 users may also need == Bug searching and Fixing ==These are the 3 bugs that are not perfectly related to add one or more of the following my project but still somewhat related to it. Here they are ...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 the buildhttps: cd ~//bugzilla.mozilla.org/src make -f clientshow_bug.mk buildcgi?id=232500
Once the build is finished you should set the following environment variable to turn-off assertion dialogshttps: export XPCOM_DEBUG_BREAK//bugzilla.mozilla.org/show_bug.cgi?id=warn448971
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 optionshttps: ~//bugzilla.mozilla.org/src/obj*/dist/bin/firefox -Profilemanager -no-remoteshow_bug.cgi?id=349547
The finished build can be found in == Modifying Thunderbird Lab ==I have filed the ~bug at [https:/mozilla/srclandfill.bugzilla.org/obj*bugzilla-3.0-branch/dist/bin directoryshow_bug.cgi?id=6827[Landfill Bugzilla]].
Run == 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 "mozilla" or "firefox", not the binary "mozilla-bin" or "firefox-bin"and check it.
For more detailed info about == XPCOM Lab ==This is the windows build requirements visit toughest lab. It took me so much time to finish this lab. [http://developerzenit.mozillasenecac.orgon.ca/enwiki/docsindex.php/Windows_Build_Prerequisites#Microsoft_Visual_CImage:Firstxpcom_Chinmay.2Bzip[Download]] my Lab and Check it.2B_and_Windows_SDK Mozilla Developer Center]Hopefully, it works.
For more detailed information about Mozilla building visit [http://zenit== Chrome ==I am so sorry for not doing this lab.senecacI am planning to do my 0.on33 release, not 0.ca/wiki/index3 release, in place of this lab.php/Real_World_Mozilla_Build_Mozilla_Lab Real World Mozilla Build Lab]Basically, both things are working with XUL stuffs. Hence, it is better to do some 'real' stuff in place of this lab.
For more info about Visual Studio 2008 problems see [http= Contribution Done=<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://crashopensourcedeveloper.mozilla.org/En/Code_snippets/Preferences </td> <td> Changed the code so that it is excceptable.blogspot </td> </tr> <tr> <td> 9.com </2008td> <td> https:/05/vista-building-with-vc9developer.mozilla.html Lukas Blakk's blog]org/en/XUL/Property/itemCount </td> <td> Provided an example in a manner that another developer can understand is easily. </td> </tr></table></big>
For more = Contribution Received=<table><tr> <td> Chris Bishop: </td> <td> Always eager to help me. My first source of information on using Mercurial after websites. Helped me to checkout Mozilla code see [httpbuild Thunderbird. </td></tr><tr> <td> James Boston: </td> <td> Helped me with Building Thunderbird. Plus, Helped me to understand his PASTEBIN AND UBIQUITY stuff. </td></tr><tr> <td> Scott Lunel: </developertd> <td> I was stuck in packaging my Extension. Scott came to me helped me in Packaging it.mozillaAnd finally, my extension is working.orgThanks a lot Scott. </entd></Mozilla_Source_Code_(Mercurialtr><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 :) Mozilla Source Code].
== Building on Windows XP =Future Goals The instructions are the same as for Windows Vista. For Firefox 3, the Vista SDK is also required. However, try adding the following additional line to your .mozconfig file My first: ac_add_options --disable-vista-sdk-requirements Another problem task is that you may not be able to use your home directory because the path almost certainly has spaces. If that is the case, just put the mozilla directory in your root (ie. C:\mozilla) and put the .mozconfig file in that directory. == Building on Ubuntu and Fedora == Install build pre-requisites for Fedora users: su -c "yum groupinstall 'Development Tools' 'Development Libraries' 'GNOME Software Development'" su -c "yum install mercurial" Install Firefox 3 build re-requisites for Ubuntu 8.04 users: sudo apt-get install build-essential sudo apt-get build-dep firefox-3.finish my 0 sudo apt-get install mercurial libasound2 libasound2-dev curl libcurl4-gnutls-dev Checkout the source: mkdir ~/mozilla cd ~/mozilla 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 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 33 release which will be 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 options: ~/mozilla/src/obj*/dist/bin/firefox -Profilemanager -no-remote The finished build can be found in the ~/mozilla/src/obj*/dist/bin directory. Run the file "mozilla" or "firefox", not the binary "mozillafull-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.mozillaI still need to talk to David Humphrey what I am going to do in that course.org/en/docs/Mac_OS_X_Build_Prerequisites#Firefox_Quick_Start Mozilla Developer Center.] 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 to your path: export PATH=$PATH:/sw/bin;/sw/sbin If you have built Firefox in your home directory and are trying I would be able 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