Difference between revisions of "User:Rueen"

From CDOT Wiki
Jump to: navigation, search
Line 10: Line 10:
 
*[http://zenit.senecac.on.ca/wiki/index.php/Localization_-_en-CA Automated Localization Build Tool] - we are in currently working on our 0.2 release and are anticipating completion of the release by the end of october. We plan to start the 0.3 release in November.
 
*[http://zenit.senecac.on.ca/wiki/index.php/Localization_-_en-CA Automated Localization Build Tool] - we are in currently working on our 0.2 release and are anticipating completion of the release by the end of october. We plan to start the 0.3 release in November.
  
== Automated Localization Build Tool (0.1 Release) ==
+
== Automated Localization Build Tool ==
 
#Software Requirements: Python --> Get it from Python's [http://python.org/download/ download page]
 
#Software Requirements: Python --> Get it from Python's [http://python.org/download/ download page]
 
#Download the 0.1 release [https://bugzilla.mozilla.org/attachment.cgi?id=284789 here] (contains Python scripts and supporting DTD & Properties files).
 
#Download the 0.1 release [https://bugzilla.mozilla.org/attachment.cgi?id=284789 here] (contains Python scripts and supporting DTD & Properties files).
#System's [http://matrix.senecac.on.ca/~azambran/mozilla/instructions0.1.txt instructions]. Basically, once you have Python installed, double click on the l10nMerge.py script and check the corresponding DTD and Properties files for the changes to the "color" string (which should now be called "colour")
+
#System's [http://matrix.senecac.on.ca/~azambran/mozilla/instructions0.1.txt instructions]. Basically, once you have Python installed, double click on the l10nMerge.py script and check the corresponding DTD and Properties .bak files  
#For more information, check out my [http://rueenfiez.wordpress.com/2007/10/20/01-release-for-automated-localization-build-tool/ blog] about the 0.1 release.
+
#For more information, check out my [http://rueenfiez.wordpress.com/ blog].
 +
 
 +
== Contributions To Other Projects ==
 +
These are the following project's I've contributed to. Anything from actual code, documentation, testing, or providing some service to benefit the project.
 +
#Desktop Social Networking Integration project
 +
#Full Text History Search extension
 +
 
 +
=== Desktop Social Networking Integration ===
 +
*[http://zenit.senecac.on.ca/wiki/index.php/Desktop_Social_Networking_Integration Project's Wiki]
 +
*The project's leader, Timothy Duavis, was in need of a way to interface with his SQL Lite database. SQL Lite is essentially a mini-database that saves all data to a file. I found an SQL Lite client for him to use and showed him how to interact with it's functions to alter his database. I also provided him with professional contacts who are able to help him or any person using the SQL Lite database for open source project purposes.
 +
 
 +
=== Full Text History Search extension ===
 +
*[http://zenit.senecac.on.ca/wiki/index.php/Full-Text_History_Search_extension Project's Wiki]
 +
*I assisted the project's leader, Vijey Balasundaram, with JavaScript code primarily.  
  
 
== Modifying Firefox Lab ==
 
== Modifying Firefox Lab ==

Revision as of 22:34, 11 November 2007

Profile

In the Bachelor of Software Development (BSD) program. Favorite Language: Java.

Name: Rueen Fiez
Email: rfiez-mo@learn.senecac.on.ca
Blog: Open Source blog

Projects/Assignments

  • Automated Localization Build Tool - we are in currently working on our 0.2 release and are anticipating completion of the release by the end of october. We plan to start the 0.3 release in November.

Automated Localization Build Tool

  1. Software Requirements: Python --> Get it from Python's download page
  2. Download the 0.1 release here (contains Python scripts and supporting DTD & Properties files).
  3. System's instructions. Basically, once you have Python installed, double click on the l10nMerge.py script and check the corresponding DTD and Properties .bak files
  4. For more information, check out my blog.

Contributions To Other Projects

These are the following project's I've contributed to. Anything from actual code, documentation, testing, or providing some service to benefit the project.

  1. Desktop Social Networking Integration project
  2. Full Text History Search extension

Desktop Social Networking Integration

  • Project's Wiki
  • The project's leader, Timothy Duavis, was in need of a way to interface with his SQL Lite database. SQL Lite is essentially a mini-database that saves all data to a file. I found an SQL Lite client for him to use and showed him how to interact with it's functions to alter his database. I also provided him with professional contacts who are able to help him or any person using the SQL Lite database for open source project purposes.

Full Text History Search extension

  • Project's Wiki
  • I assisted the project's leader, Vijey Balasundaram, with JavaScript code primarily.

Modifying Firefox Lab

Purpose of this lab was to modify the behavior of creating new Firefox tabs, specifically, their location. This patch will make tabs appear next to the current one instead of at the end of the tab list which is the default.

Index: tabbrowser.xml
===================================================================
RCS file: /cvsroot/mozilla/browser/base/content/tabbrowser.xml,v
retrieving revision 1.243
diff -u -8 -p -r1.243 tabbrowser.xml
--- tabbrowser.xml	18 Sep 2007 00:59:41 -0000	1.243
+++ tabbrowser.xml	15 Oct 2007 21:26:23 -0000
@@ -1073,32 +1073,41 @@
         <parameter name="aURI"/>
         <parameter name="aReferrerURI"/>
         <parameter name="aCharset"/>
         <parameter name="aPostData"/>
         <parameter name="aLoadInBackground"/>
         <parameter name="aAllowThirdPartyFixup"/>
         <body>
           <![CDATA[
+		  
+				
+			
+			
+			
+		  
             var bgLoad = (aLoadInBackground != null) ? aLoadInBackground :
                          this.mPrefs.getBoolPref("browser.tabs.loadInBackground");
             var owner = bgLoad ? null : this.selectedTab;
             var tab = this.addTab(aURI, aReferrerURI, aCharset, aPostData, owner,
                                   aAllowThirdPartyFixup);
             // Set newly selected tab after quick timeout, otherwise hideous focus problems
             // can occur when "browser.tabs.loadInBackground" is false and presshell is not ready
             if (!bgLoad) {
               function selectNewForegroundTab(browser, tab) {
                 browser.selectedTab = tab;
               }
               setTimeout(selectNewForegroundTab, 0, getBrowser(), tab);
             }
             if (!bgLoad)
               this.selectedTab = tab;
             
+			
+			var position = currentTabIndex + 1;
+			
             return tab;
          ]]>
         </body>
       </method>
 
       <method name="loadTabs">
         <parameter name="aURIs"/>
         <parameter name="aLoadInBackground"/>
@@ -1173,19 +1182,24 @@
             t.maxWidth = this.mTabContainer.mTabMaxWidth;
             t.minWidth = this.mTabContainer.mTabMinWidth;
             t.width = 0;
             t.setAttribute("flex", "100");
             t.setAttribute("validate", "never");
             t.setAttribute("onerror", "this.parentNode.parentNode.parentNode.parentNode.addToMissedIconCache(this.getAttribute('image')); this.removeAttribute('image');");
             t.className = "tabbrowser-tab";
 
-            this.mTabContainer.appendChild(t);
-
-            if (document.defaultView
+			
+			
+			var currentTabIndex = this.mTabContainer.selectedIndex;
+			this.mTabContainer.insertBefore(t, this.mTabContainer.childNodes.item(currentTabIndex + 1));
+			
+			
+			
+			if (document.defaultView
                         .getComputedStyle(this.mTabContainer, "")
                         .direction == "rtl") {
               /* In RTL UI, the tab is visually added to the left side of the
                * tabstrip. This means the tabstip has to be scrolled back in
                * order to make sure the same set of tabs is visible before and
                * after the new tab is added */
 
               this.mTabContainer.mTabstrip.scrollBoxObject

Thunderbird Hyperlink Bug Lab - Patch

Thunderbird has a bug where it creates a hyperlink from message's text that didn't need to be a link. Further info about this bug is located on the lab page as well as the bug I filed on landfill here. Here is the patch that addresses this issue and fixes it.

  1. Thunderbird hyperlink bug created on Bugzilla's Landfill ---> Bug 6028
? build2
? thunderbird_lab_patch.txt
? base/public/nsIStreamListenerProxy.idl
? base/public/nsPIProtocolProxyService.idl
? base/src/nsAsyncStreamListener.cpp
? base/src/nsAsyncStreamListener.h
? base/src/nsStreamListenerProxy.cpp
? base/src/nsStreamListenerProxy.h
? build/win32.order
? cache/src/win32.order
? cookie/public/nsICookieConsent.idl
? protocol/about/src/nsAboutRedirector.cpp
? protocol/about/src/nsAboutRedirector.h
? protocol/data/public
? protocol/file/src/nsFileProtocolModule.cpp
? test/TestFileInput.cpp
? test/TestFileTransport.cpp
? test/TestWriteStream.cpp
? test/unit/head.js
? test/unit/head_http_server.js
? test/unit/tail.js
? test/unit/test_all.sh
Index: streamconv/converters/mozTXTToHTMLConv.cpp
===================================================================
RCS file: /cvsroot/mozilla/netwerk/streamconv/converters/mozTXTToHTMLConv.cpp,v
retrieving revision 1.85
diff -u -8 -p -r1.85 mozTXTToHTMLConv.cpp
--- streamconv/converters/mozTXTToHTMLConv.cpp	11 Mar 2007 00:17:00 -0000	1.85
+++ streamconv/converters/mozTXTToHTMLConv.cpp	8 Nov 2007 19:47:53 -0000
@@ -181,17 +181,17 @@ mozTXTToHTMLConv::CompleteAbbreviatedURL
   if (pos >= aInLength)
     return;
 
   if (aInString[pos] == '@')
   {
     // only pre-pend a mailto url if the string contains a .domain in it..
     //i.e. we want to linkify johndoe@foo.com but not "let's meet @8pm"
     nsDependentString inString(aInString, aInLength);
-    if (inString.FindChar('.', pos) != kNotFound) // if we have a '.' after the @ sign....
+    if ((inString.FindChar('.', pos) != kNotFound) && (inString.Find("..", 0) == kNotFound)) // if we have a '.' after the @ sign....
     {
       aOutString.AssignLiteral("mailto:");
       aOutString += aInString;
     }
   }
   else if (aInString[pos] == '.')
   {
     if (ItMatchesDelimited(aInString, aInLength,

FSOSS 2007 Report (DPS909)

FSOSS: A Beginner's Perspective

Other

I'm interested in contributing to the Desktop Social Networking Integration project as well as the Testing of Canadian Banking & Financial Sites in Mozilla project.

External Links

DPS909