Difference between revisions of "Mercurial history browsing"

From CDOT Wiki
Jump to: navigation, search
(Project Details)
m (Project Leader(s))
 
(61 intermediate revisions by 2 users not shown)
Line 17: Line 17:
 
== Project Leader(s) ==
 
== Project Leader(s) ==
  
[[User:Crulshorukh|Siddharth Kalra]]
+
[[User:Crulshorukh|Siddarth Kalra]]
  
 
== Project Contributor(s) ==
 
== Project Contributor(s) ==
  
* Tiago Moreira
+
* [[User:Tiago|Tiago Moreira]]
 +
* [http://armenzg.blogspot.com/ Armen Zambrano]
 +
* [http://vocamus.net/dave/ David Humphrey]
  
 
== Project Mentors ==
 
== Project Mentors ==
Line 33: Line 35:
 
'''September 23rd, 2008'''
 
'''September 23rd, 2008'''
 
{|class="collapsible collapsed" style="border-style:solid;border-width:thin;border-color:black"
 
{|class="collapsible collapsed" style="border-style:solid;border-width:thin;border-color:black"
!align="left" style="background-color:#3399FF; font-weight:bold;border-style:solid;border-width:thin;padding: 2px 2px 2px 2px;"| Hgweb ideas
+
!align="left" style="background-color:Orange; font-weight:bold;border-style:solid;border-width:thin;padding: 2px 2px 2px 2px;"| Hgweb ideas
 
|-
 
|-
 
|
 
|
Line 83: Line 85:
 
'''January 15th, 2009'''
 
'''January 15th, 2009'''
 
{|class="collapsible collapsed" style="border-style:solid;border-width:thin;border-color:black"
 
{|class="collapsible collapsed" style="border-style:solid;border-width:thin;border-color:black"
!align="left" style="background-color:#3399FF; font-weight:bold;border-style:solid;border-width:thin;padding: 2px 2px 2px 2px;"| DPS911 - Project Description and Plan
+
!align="left" style="background-color:Orange; font-weight:bold;border-style:solid;border-width:thin;padding: 2px 2px 2px 2px;"| DPS911 - Project Description and Plan
 
|-
 
|-
 
|
 
|
Line 122: Line 124:
  
 
{|class="collapsible collapsed" style="border-style:solid;border-width:thin;border-color:black"
 
{|class="collapsible collapsed" style="border-style:solid;border-width:thin;border-color:black"
!align="left" style="background-color:#3399FF; font-weight:bold;border-style:solid;border-width:thin;padding: 2px 2px 2px 2px;"| v0.1 Release Details
+
!align="left" style="background-color:Orange; font-weight:bold;border-style:solid;border-width:thin;padding: 2px 2px 2px 2px;"| v0.1 Release Details
 
|-
 
|-
 
|
 
|
Line 134: Line 136:
  
 
{|class="collapsible collapsed" style="border-style:solid;border-width:thin;border-color:black"
 
{|class="collapsible collapsed" style="border-style:solid;border-width:thin;border-color:black"
!align="left" style="background-color:#3399FF; font-weight:bold;border-style:solid;border-width:thin;padding: 2px 2px 2px 2px;"| v0.2 Release Details ([http://blog.sidkalra.com/2008/11/looking-forward-to-v02-release/ More Information]) ([http://blog.sidkalra.com/2008/11/v02-complete/ Final result])
+
!align="left" style="background-color:Orange; font-weight:bold;border-style:solid;border-width:thin;padding: 2px 2px 2px 2px;"| v0.2 Release Details ([http://blog.sidkalra.com/2008/11/looking-forward-to-v02-release/ More Information]) ([http://blog.sidkalra.com/2008/11/v02-complete/ Final result])
 
|-
 
|-
 
|
 
|
Line 152: Line 154:
  
 
{|class="collapsible collapsed" style="border-style:solid;border-width:thin;border-color:black"
 
{|class="collapsible collapsed" style="border-style:solid;border-width:thin;border-color:black"
!align="left" style="background-color:#3399FF; font-weight:bold;border-style:solid;border-width:thin;padding: 2px 2px 2px 2px;"| '''v0.3 Release Details''' ([http://blog.sidkalra.com/2008/11/looking-forward-v03-release/ View here])
+
!align="left" style="background-color:Orange; font-weight:bold;border-style:solid;border-width:thin;padding: 2px 2px 2px 2px;"| '''v0.3 Release Details''' ([http://blog.sidkalra.com/2008/11/looking-forward-v03-release/ View here])
 
|-
 
|-
 
|
 
|
Line 184: Line 186:
 
|}
 
|}
  
'''v0.4 Release Details'''
+
{|class="collapsible collapsed" style="border-style:solid;border-width:thin;border-color:black"
 +
!align="left" style="background-color:Orange; font-weight:bold;border-style:solid;border-width:thin;padding: 2px 2px 2px 2px;"| '''v0.4 Release Details'''
 +
|-
 +
|
 
<table style="width: 100%;" class="standard-table" cellborder=1 border=1 cellpadding=3 cellspacing=0>
 
<table style="width: 100%;" class="standard-table" cellborder=1 border=1 cellpadding=3 cellspacing=0>
 
     <th style="width: 19%;">Task</th>
 
     <th style="width: 19%;">Task</th>
Line 195: Line 200:
 
         <td>Maintain/add functionality but decrease the lines of code. Some lines are being repeated that can be put into functions.</td>
 
         <td>Maintain/add functionality but decrease the lines of code. Some lines are being repeated that can be put into functions.</td>
 
         <td style="background-color: Green; text-align: center; font-weight: bold; font-size: bigger">Done</td>
 
         <td style="background-color: Green; text-align: center; font-weight: bold; font-size: bigger">Done</td>
         <td></td>
+
         <td rowspan="6" style="text-align: center;">Fixes for [https://bugzilla.mozilla.org/show_bug.cgi?id=459727 bug 459727]<br/><br/> [http://blog.sidkalra.com/2009/01/v04-release-complete/ View detailed info]</td>
 
     </tr>
 
     </tr>
  
Line 206: Line 211:
 
         </td>
 
         </td>
 
         <td style="background-color: Green; text-align: center; font-weight: bold; font-size: bigger">Done</td>
 
         <td style="background-color: Green; text-align: center; font-weight: bold; font-size: bigger">Done</td>
        <td></td>
 
 
     </tr>
 
     </tr>
  
Line 212: Line 216:
 
         <td>'''Fix the onPageLoad feature'''</td>
 
         <td>'''Fix the onPageLoad feature'''</td>
 
         <td>Load more changeset entries according to the user's monitor size in order for the scroll bar to appear. Currently a script error is occurring.</td>
 
         <td>Load more changeset entries according to the user's monitor size in order for the scroll bar to appear. Currently a script error is occurring.</td>
         <td style="background-color: Red; text-align: center; font-weight: bold; font-size: bigger">Not Done</td>
+
         <td style="background-color: Green; text-align: center; font-weight: bold; font-size: bigger">Done</td>
        <td></td>
 
 
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
 
         <td>'''Loader.gif should appear properly'''</td>
 
         <td>'''Loader.gif should appear properly'''</td>
 
         <td>When the user gets to the end of page loader.gif should show to signify that something is being loaded. That isn't happening properly, the user should see the GIF appear.</td>
 
         <td>When the user gets to the end of page loader.gif should show to signify that something is being loaded. That isn't happening properly, the user should see the GIF appear.</td>
         <td style="background-color: Red; text-align: center; font-weight: bold; font-size: bigger">Not Done</td>
+
         <td style="background-color: Green; text-align: center; font-weight: bold; font-size: bigger">Done</td>
 +
    </tr>
 +
    <tr>
 +
        <td align="left">'''Fix potential XSS attack vulnerability'''</td>
 +
        <td>Get rid of var pushData = new Function("return " + pushCheckins.responseText) () and use something like JSON.parse</td>
 +
        <td style="background-color: Green; text-align: center; font-weight: bold; font-size: bigger">Done</td>
 +
    </tr>
 +
    <tr>
 +
        <td align="left">'''Merge Changesets Background Color Problems'''</td>
 +
        <td>No merge changesets have a grey background color, instead they wrongly have a white background color</td>
 +
        <td style="background-color: Green; text-align: center; font-weight: bold; font-size: bigger">Done</td>
 +
    </tr>
 +
</table>
 +
|}
 +
 
 +
{|class="collapsible collapsed" style="border-style:solid;border-width:thin;border-color:black"
 +
!align="left" style="background-color:Orange; font-weight:bold;border-style:solid;border-width:thin;padding: 2px 2px 2px 2px;"| '''v0.5 Release Details'''
 +
|-
 +
|
 +
<table style="width: 100%;" class="standard-table" cellborder=1 border=1 cellpadding=3 cellspacing=0>
 +
    <th style="width: 40%;">Task</th>
 +
    <th style="width: 42%>Details</th>
 +
    <th style="width: 5%;">Status</th>
 +
    <th style="width: 25%;">Link(s) or Notes</th>
 +
 
 +
    <tr>
 +
        <td>'''Show the first screenful in a second or less'''</td>
 +
        <td rowspan="6">
 +
          <ul>
 +
            <li>Use floats</li>
 +
            <li>Get rid of the table and use either a div or a pre</li>
 +
            <li>Format the page using CSS instead of a table</li>
 +
            <ul>
 +
              <li>Move CSS to style sheet</li>
 +
            </ul>
 +
            <li>Try different patches posted on the bug page</li>
 +
            <li>Try the coal template and the default hgweb template</li>
 +
          </ul>
 +
        </td>
 +
        <td style="background-color: Green; text-align: center; font-weight: bold; font-size: bigger">Done</td>
 +
        <td rowspan="6" style="text-align: center;">Fixes for [https://bugzilla.mozilla.org/show_bug.cgi?id=459823 bug 459823]<br/><br/>[http://blog.sidkalra.com/2009/02/v05-release-complete/ View Detailed Info]</td>
 +
    </tr>
 +
    <tr>
 +
        <td>'''Don’t lock up the browser while the rest loads'''</td>
 +
        <td style="background-color: Green; text-align: center; font-weight: bold; font-size: bigger">Done</td>
 +
    </tr>
 +
    <tr>
 +
        <td>'''Don’t take forever to load the rest of the file (currently the loading time is ~20sec)'''</td>
 +
        <td style="background-color: Green; text-align: center; font-weight: bold; font-size: bigger">Done</td>
 +
    </tr>
 +
</table>
 +
|}
 +
{|class="collapsible collapsed" style="border-style:solid;border-width:thin;border-color:black"
 +
!align="left" style="background-color:Orange; font-weight:bold;border-style:solid;border-width:thin;padding: 2px 2px 2px 2px;"| '''v0.6 Release Details ([http://blog.sidkalra.com/2009/02/v06-release-complete/ View Detailed Info])'''
 +
|-
 +
|
 +
<table style="width: 100%;" class="standard-table" cellborder=1 border=1 cellpadding=3 cellspacing=0>
 +
    <th style="width: 40%;">Task</th>
 +
    <th style="width: 42%>Details</th>
 +
    <th style="width: 5%;">Status</th>
 +
    <th style="width: 25%;">Link(s) or Notes</th>
 +
 
 +
    <tr>
 +
        <td>'''Increase the loading time of hg annotate for the paper theme'''</td>
 +
        <td>
 +
          <ul>
 +
            <li>Use floats</li>
 +
            <li>Get rid of the table and use either a div or a pre</li>
 +
            <li>Format the page using CSS instead of a table</li>
 +
          </ul>
 +
        </td>
 +
        <td style="background-color: Green; text-align: center; font-weight: bold; font-size: bigger">Done</td>
 +
        <td style="text-align: center;">[http://www.sidkalra.com/files/mercurial/dps911/improveLoadingTime.patch Download the patch]</td>
 +
    </tr>
 +
    <tr>
 +
        <td>'''Refactor variable names in hgpoller and hg_templates'''</td>
 +
        <td>Use clearer variable names</td>
 +
        <td style="background-color: Green; text-align: center; font-weight: bold; font-size: bigger">Done</td>
 +
        <td style="text-align: center;">Fixes for [https://bugzilla.mozilla.org/show_bug.cgi?id=445560 bug 445560]</td>
 +
    </tr>
 +
    <tr>
 +
        <td>'''Refactor hgpoller/pushlog-feed.py and hg_templates/pushlog.tmpl to resolve the bitrotting issue'''</td>
 +
        <td>
 +
          <ul>
 +
            <li>Examine the new changes in pushlog-feed.py and pushlog.tmpl</li>
 +
            <li>Refactor pushlog-feed.py and pushlog.tmpl to fix the bitrotting issue</li>
 +
            <li>Retain the original functionality of the patch</li>
 +
          </ul>
 +
        </td>
 +
        <td style="background-color: Green; text-align: center; font-weight: bold; font-size: bigger">Done</td>
 +
        <td style="text-align: center;">Fixes for [https://bugzilla.mozilla.org/show_bug.cgi?id=459727 bug 459727]</td>
 +
    </tr>
 +
    <tr>
 +
        <td>'''Remove the page navigation links from pushloghtml'''</td>
 +
        <td></td>
 +
        <td style="background-color: Green; text-align: center; font-weight: bold; font-size: bigger">Done</td>
 +
        <td style="text-align: center;">Fixes for [https://bugzilla.mozilla.org/show_bug.cgi?id=459727 bug 459727]</td>
 +
    </tr>
 +
</table>
 +
|}
 +
 
 +
{|class="collapsible collapsed" style="border-style:solid;border-width:thin;border-color:black"
 +
!align="left" style="background-color:Orange; font-weight:bold;border-style:solid;border-width:thin;padding: 2px 2px 2px 2px;"| '''v0.7 Release Details ([http://blog.sidkalra.com/2009/03/v07-release-goals/ Detailed Info])'''
 +
|-
 +
|
 +
<table style="width: 100%;" class="standard-table" cellborder=1 border=1 cellpadding=3 cellspacing=0>
 +
    <th style="width: 40%;">Task</th>
 +
    <th style="width: 42%>Details</th>
 +
    <th style="width: 5%;">Status</th>
 +
    <th style="width: 25%;">Link(s) or Notes</th>
 +
 
 +
    <tr>
 +
        <td>'''The function which retrieves the total amount of entries in the database, getMaxEntries() is causing the browser to freeze. Find a solution for this problem'''</td>
 +
        <td>
 +
          <ul>
 +
            <li>Get rid of getMaxEntries()</li>
 +
            <li>Pass in the max total by using the template system</li>
 +
          </ul>
 +
        </td>
 +
        <td style="background-color: Green; text-align: center; font-weight: bold; font-size: bigger">Done</td>
 +
        <td rowspan="6" style="text-align: center;">Fixes for [https://bugzilla.mozilla.org/show_bug.cgi?id=459727 bug 459727]<br/><br/>[http://blog.sidkalra.com/2009/03/v07-release-complete/ View Detailed Info]</td>
 +
    </tr>
 +
    <tr>
 +
        <td>'''Solve the scroll bar problem'''</td>
 +
        <td>
 +
          <ul>
 +
            <li>Dynamically load enough entries, according to the users screen size, until the scroll bar appears</li>
 +
          </ul>
 +
        </td>
 +
        <td style="background-color: Green; text-align: center; font-weight: bold; font-size: bigger">Done</td>
 +
    </tr>
 +
    <tr>
 +
        <td>'''Solve the split bug'''</td>
 +
        <td>
 +
          <ul>
 +
            <li>Some merge changesets are not being displayed at all</li>
 +
            <li>Find a different way of parsing merge strings, split() is not working properly</li>
 +
          </ul>
 +
        </td>
 +
        <td style="background-color: Green; text-align: center; font-weight: bold; font-size: bigger">Done</td>
 +
    </tr>
 +
    <tr>
 +
        <td>'''Solve the duplicate bug with merge changesets'''</td>
 +
        <td>
 +
          <ul>
 +
            <li>sometimes the last entry in a merge changeset is repeated in the next entry</li>
 +
            <li>Is this actually a bug or not?</li>
 +
          </ul>
 +
        </td>
 +
        <td style="background-color: Green; text-align: center; font-weight: bold; font-size: bigger">Not a Bug</td>
 +
    </tr>
 +
    <tr>
 +
        <td>'''Use a function to create rev links to avoid code duplication'''</td>
 
         <td></td>
 
         <td></td>
 +
        <td style="background-color: Green; text-align: center; font-weight: bold; font-size: bigger">Done</td>
 +
    </tr>
 +
</table>
 +
|}
 +
 +
{|class="collapsible collapsed" style="border-style:solid;border-width:thin;border-color:black"
 +
!align="left" style="background-color:Orange; font-weight:bold;border-style:solid;border-width:thin;padding: 2px 2px 2px 2px;"| '''v0.8 Release Details ([http://blog.sidkalra.com/2009/03/v08-release-goals/ Detailed Info])'''
 +
|-
 +
|
 +
<table style="width: 100%;" class="standard-table" cellborder=1 border=1 cellpadding=3 cellspacing=0>
 +
    <th style="width: 40%;">Task</th>
 +
    <th style="width: 42%>Details</th>
 +
    <th style="width: 5%;">Status</th>
 +
    <th style="width: 25%;">Link(s) or Notes</th>
 +
 +
    <tr>
 +
        <td>'''Implement an intuitive UI for the changeset query. Apparently many people don’t know that this query exists because currently there is no UI for it.'''</td>
 +
        <td>
 +
          <ul>
 +
            <li>Don't just add in a couple more text boxes</li>
 +
            <li>Use a drop down menu</li>
 +
          </ul>
 +
        </td>
 +
        <td style="background-color: Green; text-align: center; font-weight: bold; font-size: bigger">Done</td>
 +
        <td rowspan="6" style="text-align: center;">Fixes for [https://bugzilla.mozilla.org/show_bug.cgi?id=459727 bug 459727]<br/>Fixes for [https://bugzilla.mozilla.org/show_bug.cgi?id=471321 bug 471321]<br/><br/>[http://blog.sidkalra.com/2009/03/v08-release-complete/ View Detailed Info]</td>
 +
    </tr>
 +
    <tr>
 +
        <td>'''Fixing the repeating bug with merge changesets'''</td>
 +
        <td>
 +
          <ul>
 +
            <li>Use recursion</li>
 +
            <li>Solve the merges within merges problem</li>
 +
            <li>Transfer the functionality to a function</li>
 +
          </ul>
 +
        </td>
 +
        <td style="background-color: Green; text-align: center; font-weight: bold; font-size: bigger">Done</td>
 +
    </tr>
 +
    <tr>
 +
        <td>'''Implement coding style changes for the onScroll patch to make it consistent with the rest of the code'''</td>
 +
        <td>
 +
          <ul>
 +
            <li>Change the variable names</li>
 +
            <li>Reduce spacing</li>
 +
            <li>Reduce line comments</li>
 +
            <li>Better comments</li>
 +
          </ul>
 +
        </td>
 +
        <td style="background-color: Green; text-align: center; font-weight: bold; font-size: bigger">Done</td>
 +
    </tr>
 +
</table>
 +
|}
 +
 +
{|class="collapsible collapsed" style="border-style:solid;border-width:thin;border-color:black"
 +
!align="left" style="background-color:Orange; font-weight:bold;border-style:solid;border-width:thin;padding: 2px 2px 2px 2px;"| '''v0.9 Release Details ([http://blog.sidkalra.com/2009/04/v09-release-goals/ Detailed Info])'''
 +
|-
 +
|
 +
<table style="width: 100%;" class="standard-table" cellborder=1 border=1 cellpadding=3 cellspacing=0>
 +
    <th style="width: 40%;">Task</th>
 +
    <th style="width: 42%>Details</th>
 +
    <th style="width: 5%;">Status</th>
 +
    <th style="width: 25%;">Link(s) or Notes</th>
 +
 +
    <tr>
 +
        <td>'''Update the files touched patch so that it works with the new pushlog'''</td>
 +
        <td>
 +
          <ul>
 +
            <li>Update the code</li>
 +
            <li>move the all the css to a stylesheet</li>
 +
          </ul>
 +
        </td>
 +
        <td style="background-color: Green; text-align: center; font-weight: bold; font-size: bigger">Done</td>
 +
        <td rowspan="6" style="text-align: center;">Fixes for [https://bugzilla.mozilla.org/show_bug.cgi?id=448707 the files touched bug]<br/>Fixes for [https://bugzilla.mozilla.org/show_bug.cgi?id=471321 the changesetUI bug]<br/>Fixes for [https://bugzilla.mozilla.org/show_bug.cgi?id=453162 the line breaks bug]<br/><br/>[http://blog.sidkalra.com/2009/04/v09-release-complete/ View Detailed Info]</td>
 +
    </tr>
 +
    <tr>
 +
        <td>'''Implement the changes for the changesetUI bug'''</td>
 +
        <td>
 +
          <ul>
 +
            <li>Move to using jquery</li>
 +
            <li>Don't reset the text box values when the user selects a different item from the drop down list</li>
 +
            <li>The drop down list should remember the last executed query</li>
 +
          </ul>
 +
        </td>
 +
        <td style="background-color: Green; text-align: center; font-weight: bold; font-size: bigger">Done</td>
 +
    </tr>
 +
    <tr>
 +
        <td>'''Fix the problem that turns the line breaks in a commit message into spaces'''</td>
 +
        <td>
 +
          <ul>
 +
            <li>Use jquery</li>
 +
            <li>Implement expand/collapse functionality within an ellipsis</li>
 +
            <li>Only display the first line in the collapsed version</li>
 +
          </ul>
 +
        </td>
 +
        <td style="background-color: Green; text-align: center; font-weight: bold; font-size: bigger">Done</td>
 +
    </tr>
 +
</table>
 +
|}
 +
 +
{|class="collapsible collapsed" style="border-style:solid;border-width:thin;border-color:black"
 +
!align="left" style="background-color:Orange; font-weight:bold;border-style:solid;border-width:thin;padding: 2px 2px 2px 2px;"| '''v1.0 Release Details ([http://blog.sidkalra.com/2009/04/v10-release-goals/ Detailed Info])'''
 +
|-
 +
|
 +
<table style="width: 100%;" class="standard-table" cellborder=1 border=1 cellpadding=3 cellspacing=0>
 +
    <th style="width: 40%;">Task</th>
 +
    <th style="width: 42%>Details</th>
 +
    <th style="width: 5%;">Status</th>
 +
    <th style="width: 25%;">Link(s) or Notes</th>
 +
 +
    <tr>
 +
        <td>'''Add expand/collapse functionality for files touched'''</td>
 +
        <td>
 +
        <ul>
 +
            <li>Make sure that it doesn't interfere with the merge expand/collapse feature</li>
 +
          </ul>
 +
        </td>
 +
        <td style="background-color: Green; text-align: center; font-weight: bold; font-size: bigger">Done</td>
 +
        <td rowspan="10" style="text-align: center;">Fixes for [https://bugzilla.mozilla.org/show_bug.cgi?id=448707 the files touched bug]<br/>Fixes for [https://bugzilla.mozilla.org/show_bug.cgi?id=486939 the >5 merge changeset bug]<br/>Fixes for [https://bugzilla.mozilla.org/show_bug.cgi?id=459727 the on scroll bug]<br/><br/>[http://blog.sidkalra.com/2009/04/v10-release-complete/ View Detailed Info]</td>
 +
    </tr>
 +
    <tr>
 +
        <td>'''Expand/Collapse only for merges that contain >5 pushes'''</td>
 +
        <td>
 +
          <ul>
 +
            <li>Use the ctx.parents()[0].rev() function to retrieve the push number</li>
 +
          </ul>
 +
        </td>
 +
        <td style="background-color: Green; text-align: center; font-weight: bold; font-size: bigger">Done</td>
 +
    </tr>
 +
    <tr>
 +
        <td>'''Fixing OnScroll to work with the new version of hg_templates and using more jquery functionality'''</td>
 +
        <td>
 +
          <ul>
 +
            <li>Use jquery</li>
 +
            <li>Maintain functionality but reduce the lines of code</li>
 +
          </ul>
 +
        </td>
 +
        <td style="background-color: Green; text-align: center; font-weight: bold; font-size: bigger">Done</td>
 +
    </tr>
 +
    <tr>
 +
        <td>'''Getting the Localize Dates Link Working with the New Entries Loaded On Scroll'''</td>
 +
        <td>
 +
        <ul>
 +
            <li>Create a new span with the class name 'Date'</li>
 +
          </ul>   
 +
        </td>
 +
        <td style="background-color: Green; text-align: center; font-weight: bold; font-size: bigger">Done</td>
 +
    </tr>
 +
    <tr>
 +
        <td>'''Further Improving Bug Functionality for the OnScroll Patch'''</td>
 +
        <td>
 +
        <ul>
 +
            <li>Get bugs that are 5 digits long to properly convert into bug links</li>
 +
            <li>Deal with bugs that will come in the future that will be more than 6 digits long</li>
 +
          </ul>   
 +
        </td>
 +
        <td style="background-color: Green; text-align: center; font-weight: bold; font-size: bigger">Done</td>
 +
    </tr>
 +
    <tr>
 +
        <td>'''Changing the Data Structure that Handles Merges for the OnScroll Patch'''</td>
 +
        <td>
 +
        <ul>
 +
            <li>Use a dictionary</li>
 +
            <li>Try to reduce the maze of nested blocks</li>
 +
          </ul>   
 +
        </td>
 +
        <td style="background-color: Green; text-align: center; font-weight: bold; font-size: bigger">Done</td>
 
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
         <td>'''Fix potential XSS attack vulnerability'''</td>
+
         <td>'''Move client-side code to an external JavaScript file for the OnScroll patch'''</td>
        <td>Get rid of var pushData = new Function("return " + pushCheckins.responseText) () and use something like JSON.parse</td>
 
        <td style="background-color: Red; text-align: center; font-weight: bold; font-size: bigger">Not Done</td>
 
 
         <td></td>
 
         <td></td>
 +
        <td style="background-color: Green; text-align: center; font-weight: bold; font-size: bigger">Done</td>
 +
    </tr>
 +
    <tr>
 +
        <td>'''Use a different code for the parity counter for the OnScroll patch'''</td>
 +
        <td>
 +
        <ul>
 +
            <li>Use counter % 2</li>
 +
        </ul>   
 +
        </td>
 +
        <td style="background-color: Green; text-align: center; font-weight: bold; font-size: bigger">Done</td>
 +
    </tr>
 +
    <tr>
 +
        <td>'''Change how max number of entries in the database is retrieved for the OnScroll patch'''</td>
 +
        <td>
 +
        <ul>
 +
            <li>Use start = {max}</li>
 +
        </ul>   
 +
        </td>
 +
        <td style="background-color: Green; text-align: center; font-weight: bold; font-size: bigger">Done</td>
 +
    </tr>
 +
    <tr>
 +
        <td>'''Pushlog should not load more entries on scroll if a query is being displayed (OnScroll patch)'''</td>
 +
        <td>
 +
        <ul>
 +
            <li>If a query has been executed then don't load more entries on scroll</li>
 +
            <li>If a query has not been executed then load more entries on scroll</li>
 +
        </ul>
 +
        </td>
 +
        <td style="background-color: Green; text-align: center; font-weight: bold; font-size: bigger">Done</td>
 
     </tr>
 
     </tr>
 
</table>
 
</table>
 +
|}
  
 
== Project News ==
 
== Project News ==
  
 
{|class="collapsible collapsed" style="border-style:solid;border-width:thin;border-color:black"
 
{|class="collapsible collapsed" style="border-style:solid;border-width:thin;border-color:black"
!align="left" style="background-color:#3399FF; font-weight:bold;border-style:solid;border-width:thin;padding: 2px 2px 2px 2px;"| DPS909 Timeline
+
!align="left" style="background-color:Orange; font-weight:bold;border-style:solid;border-width:thin;padding: 2px 2px 2px 2px;"| DPS909 Timeline
 
|-
 
|-
 
|
 
|
Line 438: Line 786:
 
|}
 
|}
  
=== January 2009 ===
+
{|class="collapsible collapsed" style="border-style:solid;border-width:thin;border-color:black"
 +
!align="left" style="background-color:Orange; font-weight:bold;border-style:solid;border-width:thin;padding: 2px 2px 2px 2px;"| '''January 2009'''
 +
|-
 +
|
 
{|
 
{|
!width="120px"|Date
+
!width="125px"|Date
 
!width="15px"|
 
!width="15px"|
 
!Comments
 
!Comments
Line 467: Line 818:
 
|
 
|
 
|Made a [http://blog.sidkalra.com/2009/01/v04-release-linkifying-all-bug-strings/ blog post] about linkifying all bug strings on a line by using recursion for my v0.4 release
 
|Made a [http://blog.sidkalra.com/2009/01/v04-release-linkifying-all-bug-strings/ blog post] about linkifying all bug strings on a line by using recursion for my v0.4 release
 +
|-valign="top"
 +
|style="color:green;font-weight:bold" |January 19th, 2009
 +
|
 +
|Made a [http://blog.sidkalra.com/2009/01/v04-release-xss-vulnerabilities-and-loadergif-issues/ blog post] about fixing XSS vulnerabilities and loader.gif issues for my v0.4 release
 +
|-valign="top"
 +
|style="color:green;font-weight:bold" |January 22nd, 2009
 +
|
 +
|Made a [http://blog.sidkalra.com/2009/01/v04-release-loading-more-entries-onpageload/ blog post] about fixing the unresolved script error for entries loaded onPageLoad regarding my v0.4 release
 +
|-valign="top"
 +
|style="color:green;font-weight:bold" |January 22nd, 2009
 +
|
 +
|Made a [http://blog.sidkalra.com/2009/01/v04-release-merge-changesets-background-color-problems/ blog post] about fixing the problem with the background color of merge changesets regarding my v0.4 release
 +
|-valign="top"
 +
|style="color:green;font-weight:bold" |January 23rd, 2009
 +
|
 +
|Made a [http://blog.sidkalra.com/2009/01/v04-release-complete/ blog post] about completing my v0.4 release
 +
|-valign="top"
 +
|style="color:green;font-weight:bold" |January 27th, 2009
 +
|
 +
|Had a [http://sidkalra.com/files/mercurial/dps911/chats/Jan27,2009_jorendorff.txt chat with jorendorff] relating to [https://bugzilla.mozilla.org/show_bug.cgi?id=459823 hg annotate]
 +
|-valign="top"
 +
|style="color:green;font-weight:bold" |January 28th, 2009
 +
|
 +
|Made a [http://blog.sidkalra.com/2009/01/v05-release-goals/ blog post] describing my v0.5 release goals for fixing [https://bugzilla.mozilla.org/show_bug.cgi?id=459823 hg annotate]
 +
|}
 +
|}
 +
 +
{|class="collapsible collapsed" style="border-style:solid;border-width:thin;border-color:black"
 +
!align="left" style="background-color:Orange; font-weight:bold;border-style:solid;border-width:thin;padding: 2px 2px 2px 2px;"| '''February 2009'''
 +
|-
 +
|
 +
{|
 +
!width="130px"|Date
 +
!width="15px"|
 +
!Comments
 +
|-valign="top"
 +
|style="color:green;font-weight:bold" |February 2nd, 2009
 +
|
 +
|Made a [http://blog.sidkalra.com/2009/02/v05-release-understanding-the-problem-with-hg-annotate/ blog post] explaining the problem with hg annotate
 +
|-valign="top"
 +
|style="color:green;font-weight:bold" |February 3rd, 2009
 +
|
 +
|Made a [http://blog.sidkalra.com/2009/02/v05-release-examining-how-other-templates-implement-hg-annotate/ blog post] examining other hgweb templates
 +
|-valign="top"
 +
|style="color:green;font-weight:bold" |February 4th, 2009
 +
|
 +
|Made a [http://blog.sidkalra.com/2009/02/v05-release-examining-two-patches-regarding-the-hg-annotate-problem/ blog post] examining other patches for hg annotate
 +
|-valign="top"
 +
|style="color:green;font-weight:bold" |February 6th, 2009
 +
|
 +
|Made a [http://blog.sidkalra.com/2009/02/v05-release-my-fix-for-the-hg-annotate-problem/ blog post] explaining my fix for hg annotate
 +
|-valign="top"
 +
|style="color:green;font-weight:bold" |February 7th, 2009
 +
|
 +
|Made a [http://blog.sidkalra.com/2009/02/v05-release-running-an-experiment/ blog post] about running an experiment with Mat's patch for hg annotate
 +
|-valign="top"
 +
|style="color:green;font-weight:bold" |February 7th, 2009
 +
|
 +
|Made a [http://blog.sidkalra.com/2009/02/v05-release-complete/ blog post] about completing my v0.5 release
 +
|-valign="top"
 +
|style="color:green;font-weight:bold" |February 15th, 2009
 +
|
 +
|Made a [http://blog.sidkalra.com/2009/02/v06-release-goals/ blog post] about my v0.6 release goals
 +
|-valign="top"
 +
|style="color:green;font-weight:bold" |February 16th, 2009
 +
|
 +
|Made a [http://blog.sidkalra.com/2009/02/v06-release-minor-fix-for-bug-445560/ blog post] about refactoring variable names for the patch that fixes [https://bugzilla.mozilla.org/show_bug.cgi?id=445560 bug 445560]
 +
|-valign="top"
 +
|style="color:green;font-weight:bold" |February 17th, 2009
 +
|
 +
|Made a [http://blog.sidkalra.com/2009/02/v06-release-fixing-annotate-for-the-paper-theme/ blog post] about fixing annotate for the Paper theme
 +
|-valign="top"
 +
|style="color:green;font-weight:bold" |February 20th, 2009
 +
|
 +
|Made a [http://blog.sidkalra.com/2009/02/v06-release-examining-the-changes-with-hgpollerpushlog-feedpy/ blog post] about examining all the changes with hgpoller/pushlog-feed.py
 +
|-valign="top"
 +
|style="color:green;font-weight:bold" |February 21st, 2009
 +
|
 +
|Made a [http://blog.sidkalra.com/2009/02/v06-release-refactoring-to-fix-the-bitrotting-issue-with-bug-459727/ blog post] about fixing the bitrotting issue with hgpoller/pushlog-feed.py
 +
|-valign="top"
 +
|style="color:green;font-weight:bold" |February 21st, 2009
 +
|
 +
|Made a [http://blog.sidkalra.com/2009/02/v06-release-removing-the-page-navigation-links-from-pushloghtml/ blog post] about removing the page navigation links from the pushlog
 +
|-valign="top"
 +
|style="color:green;font-weight:bold" |February 21st, 2009
 +
|
 +
|Created a [http://www.sidkalra.com/files/mercurial/dps911/improveLoadingTime.patch patch] to speed up hg annotate for the paper theme
 +
|-valign="top"
 +
|style="color:green;font-weight:bold" |February 21st, 2009
 +
|
 +
|Made a [http://blog.sidkalra.com/2009/02/v06-release-complete/ blog post] about completing my v0.6 release
 +
|-valign="top"
 +
|style="color:green;font-weight:bold" |February 22nd, 2009
 +
|
 +
|Created a [http://www.sidkalra.com/files/mercurial/dps911/improveLoadingTime.patch patch] to speed up hg annotate for the paper theme
 +
|-valign="top"
 +
|style="color:green;font-weight:bold" |February 24th, 2009
 +
|
 +
|[http://www.sidkalra.com/files/mercurial/dps911/chats/Feb24,2009_ted&djc.txt Discussed] hg 1.1 with ted and djc
 +
|-valign="top"
 +
|style="color:green;font-weight:bold" |February 25th, 2009
 +
|
 +
|[http://www.sidkalra.com/files/mercurial/dps911/chats/Feb25,2009_ted&djc.txt Discussed] hg 1.1 again with ted and djc
 +
|}
 +
|}
 +
 +
{|class="collapsible collapsed" style="border-style:solid;border-width:thin;border-color:black"
 +
!align="left" style="background-color:Orange; font-weight:bold;border-style:solid;border-width:thin;padding: 2px 2px 2px 2px;"| '''March 2009'''
 +
|-
 +
|
 +
{|
 +
!width="130px"|Date
 +
!width="15px"|
 +
!Comments
 +
|-valign="top"
 +
|style="color:green;font-weight:bold" |March 12th, 2009
 +
|
 +
|Made a [http://blog.sidkalra.com/2009/03/v07-release-goals/ blog post] outlining v0.7 release goals
 +
|-valign="top"
 +
|style="color:green;font-weight:bold" |March 12th, 2009
 +
|
 +
|Made a [http://blog.sidkalra.com/2009/03/v07release-retrieving-the-total-number-of-entries/ blog post] explaining how to retrieve the total number of entries stored in the database
 +
|-valign="top"
 +
|style="color:green;font-weight:bold" |March 13th, 2009
 +
|
 +
|Made a [http://blog.sidkalra.com/2009/03/v07-release-the-scroll-bar-problem/ blog post] explaining the scroll bar problem
 +
|-valign="top"
 +
|style="color:green;font-weight:bold" |March 13th, 2009
 +
|
 +
|Made a [http://blog.sidkalra.com/2009/03/v07-release-the-scroll-bar-solution/ blog post] explaining the scroll bar solution
 +
|-valign="top"
 +
|style="color:green;font-weight:bold" |March 14th, 2009
 +
|
 +
|Made a [http://blog.sidkalra.com/2009/03/v07-release-explaining-the-split-bug/ blog post] explaining the split bug
 +
|-valign="top"
 +
|style="color:green;font-weight:bold" |March 14th, 2009
 +
|
 +
|Made a [http://blog.sidkalra.com/2009/03/v07-release-solving-the-split-bug/ blog post] solving the split bug
 +
|-valign="top"
 +
|style="color:green;font-weight:bold" |March 14th, 2009
 +
|
 +
|Made a [http://blog.sidkalra.com/2009/03/v07-release-reducing-code-duplication/ blog post] about code duplication
 +
|-valign="top"
 +
|style="color:green;font-weight:bold" |March 14th, 2009
 +
|
 +
|Made a [http://blog.sidkalra.com/2009/03/v07-release-repeating-bug-with-merge-changesets/ blog post] explaining the repeating bug with merge changesets
 +
|-valign="top"
 +
|style="color:green;font-weight:bold" |March 15th, 2009
 +
|
 +
|Made a [http://blog.sidkalra.com/2009/03/v07-release-complete/ blog post] about completing my v0.7 release
 +
|-valign="top"
 +
|style="color:green;font-weight:bold" |March 24th, 2009
 +
|
 +
|[http://www.sidkalra.com/files/mercurial/dps911/chats/March24,2009_ted.txt Chatted] with ted in order to find something new to work on
 +
|-valign="top"
 +
|style="color:green;font-weight:bold" |March 26th, 2009
 +
|
 +
|Had a little [http://www.sidkalra.com/files/mercurial/dps911/chats/March26,2009_ted.txt chat] with ted regarding the problem with merge changesets
 +
|-valign="top"
 +
|style="color:green;font-weight:bold" |March 27th, 2009
 +
|
 +
|Made a [http://blog.sidkalra.com/2009/03/v08-release-goals/ blog post] about completing my v0.8 release goals
 +
|-valign="top"
 +
|style="color:green;font-weight:bold" |March 27th, 2009
 +
|
 +
|Made a [http://blog.sidkalra.com/2009/03/v08-release-improving-the-coding-style-for-the-onscroll-patch/ blog post] about improving the codying style for the onScroll patch
 +
|-valign="top"
 +
|style="color:green;font-weight:bold" |March 28th, 2009
 +
|
 +
|Made a [http://blog.sidkalra.com/2009/03/v08-release-contemplating-ui-for-the-changeset-query/ blog post] about contemplating the changeset query UI
 +
|-valign="top"
 +
|style="color:green;font-weight:bold" |March 28th, 2009
 +
|
 +
|Made a [http://blog.sidkalra.com/2009/03/v08-release-implementing-the-changeset-query-ui/ blog post] about implementing the changeset query UI
 +
|-valign="top"
 +
|style="color:green;font-weight:bold" |March 28th, 2009
 +
|
 +
|Made a [http://blog.sidkalra.com/2009/03/v08-release-problems-with-displaying-merge-changesets/ blog post] discussing the problems with displaying merge changesets
 +
|-valign="top"
 +
|style="color:green;font-weight:bold" |March 29th, 2009
 +
|
 +
|Made a [http://blog.sidkalra.com/2009/03/v08-release-fix-for-the-merge-changeset-problem/ blog post] discussing the fix for the displaying merge changesets problem
 +
|-valign="top"
 +
|style="color:green;font-weight:bold" |March 29th, 2009
 +
|
 +
|Made a [http://blog.sidkalra.com/2009/03/v08-release-complete/ blog post] about completing my v0.8 Release
 +
|}
 +
|}
 +
 +
{|class="collapsible collapsed" style="border-style:solid;border-width:thin;border-color:black"
 +
!align="left" style="background-color:Orange; font-weight:bold;border-style:solid;border-width:thin;padding: 2px 2px 2px 2px;"| '''April 2009'''
 +
|-
 +
|
 +
{|
 +
!width="130px"|Date
 +
!width="15px"|
 +
!Comments
 +
|-valign="top"
 +
|style="color:green;font-weight:bold" |April 8th, 2009
 +
|
 +
|Made a [http://blog.sidkalra.com/2009/04/v09-release-goals/ blog post] outlining v0.9 release goals
 +
|-valign="top"
 +
|style="color:green;font-weight:bold" |April 8th, 2009
 +
|
 +
|Made a [http://blog.sidkalra.com/2009/04/v09-release-updating-the-files-touched-patch/ blog post] explaining about updating the [https://bugzilla.mozilla.org/show_bug.cgi?id=448707 files touched patch]
 +
|-valign="top"
 +
|style="color:green;font-weight:bold" |April 10th, 2009
 +
|
 +
|Made a [http://blog.sidkalra.com/2009/04/v09-release-implementing-changes-to-the-changset-query-ui/ blog post] explaining the changes for the [https://bugzilla.mozilla.org/show_bug.cgi?id=471321 changeset query UI patch]
 +
|-valign="top"
 +
|style="color:green;font-weight:bold" |April 10th, 2009
 +
|
 +
|Made a [http://blog.sidkalra.com/2009/04/v09-release-contemplating-the-implementation-for-the-line-break-bug/ blog post] about contemplating the fix for the [https://bugzilla.mozilla.org/show_bug.cgi?id=453162 line break bug]
 +
|-valign="top"
 +
|style="color:green;font-weight:bold" |April 11th, 2009
 +
|
 +
|Made a [http://blog.sidkalra.com/2009/04/v09-release-fix-for-the-line-break-bug/ blog post] explaining the fix for the line break bug
 +
|-valign="top"
 +
|style="color:green;font-weight:bold" |April 12th, 2009
 +
|
 +
|Made a [http://blog.sidkalra.com/2009/04/v09-release-complete/ blog post] about completing my v0.9 release
 +
|-valign="top"
 +
|style="color:green;font-weight:bold" |April 18th, 2009
 +
|
 +
|Made a [http://blog.sidkalra.com/2009/04/v10-release-goals/ blog post] detailing the goals for my v1.0 release
 +
|-valign="top"
 +
|style="color:green;font-weight:bold" |April 20th, 2009
 +
|
 +
|Made a [http://blog.sidkalra.com/2009/04/v10-release-expandcollapse-for-the-files-touched-patch/ blog post] explaining my implementation for the expand/collapse feature in regards to the files touched patch
 +
|-valign="top"
 +
|style="color:green;font-weight:bold" |April 21st, 2009
 +
|
 +
|Made a [http://blog.sidkalra.com/2009/04/v10-release-expandcollapse-functionality-only-for-merges-with-5-pushes/ blog post] explaining my implementation to only add expand/collapse collapse functionality for merges that contain >5 pushes
 +
|-valign="top"
 +
|style="color:green;font-weight:bold" |April 22nd, 2009
 +
|
 +
|Made a [http://blog.sidkalra.com/2009/04/v10-release-fixing-the-onscroll-patch-to-work-with-the-new-version-of-hg_templates/ blog post] about getting my OnScroll patch to work with the new version of hg_templates and reducing lines of code by using taking advantage of jquery
 +
|-valign="top"
 +
|style="color:green;font-weight:bold" |April 22nd, 2009
 +
|
 +
|Made a [http://blog.sidkalra.com/2009/04/v10-release-getting-the-localize-dates-link-working-with-the-new-entries-loaded-on-scroll/ blog post] about getting the 'To Local' link to work with new entries loaded on scroll
 +
|-valign="top"
 +
|style="color:green;font-weight:bold" |April 23rd, 2009
 +
|
 +
|Made a [http://blog.sidkalra.com/2009/04/v10-release-further-improving-bug-functionality-for-the-onscroll-patch/ blog post] about improving the bug functionality for the OnScroll patch
 +
|-valign="top"
 +
|style="color:green;font-weight:bold" |April 23rd, 2009
 +
|
 +
|Made a [http://blog.sidkalra.com/2009/04/v10-release-changing-the-data-structure-that-handles-merges-for-the-onscroll-patch/ blog post] about changing the data structure that handles merges for the OnScroll patch
 +
|-valign="top"
 +
|style="color:green;font-weight:bold" |April 24th, 2009
 +
|
 +
|Made a [http://blog.sidkalra.com/2009/04/v10-release-various-changes-to-improve-the-onscroll-patch/ blog post] about making various changes (move js to an external file, fix the parity counter, use different way to retrieve max entries and deal with pushlog queries) for the OnScroll patch
 +
|-valign="top"
 +
|style="color:green;font-weight:bold" |April 24th, 2009
 +
|
 +
|Made a [http://blog.sidkalra.com/2009/04/v10-release-complete/ blog post] about completing my v1.0 release
 +
|}
 
|}
 
|}
  
Line 474: Line 1,083:
 
* [https://bugzilla.mozilla.org/show_bug.cgi?id=445560 bug 445560 - html pushlog should fold merge changesets into one line]
 
* [https://bugzilla.mozilla.org/show_bug.cgi?id=445560 bug 445560 - html pushlog should fold merge changesets into one line]
 
* [https://bugzilla.mozilla.org/show_bug.cgi?id=448707 bug 448707 - display files in pushlog]
 
* [https://bugzilla.mozilla.org/show_bug.cgi?id=448707 bug 448707 - display files in pushlog]
* [https://bugzilla.mozilla.org/show_bug.cgi?id=468089 bug 468089 - pushlog should have a graph view]
+
* [https://bugzilla.mozilla.org/show_bug.cgi?id=468089 bug 468089 - pushlog should have a graph view]
 +
* [https://bugzilla.mozilla.org/show_bug.cgi?id=459823 bug 459823 - hg annotate output on hgweb is painfully slow]
 +
* [https://bugzilla.mozilla.org/show_bug.cgi?id=471321 bug 471321 - Needs for an UI to run changeset queries ]
 +
* [https://bugzilla.mozilla.org/show_bug.cgi?id=453162 bug 453162 - pushlog turns line breaks in commit messages into spaces]
 +
* [https://bugzilla.mozilla.org/show_bug.cgi?id=486939 bug 486939 - merge folding should only fold merges of >5 changesets]
  
 
== External Links ==
 
== External Links ==

Latest revision as of 13:21, 5 February 2013

Project Name

Adding Functionality to the Browser Based UI for Mercurial History Browsing, hgweb

Project Description

Mozilla is just starting to use an exciting new distributed version control tool: Mercurial.

One of the exciting things about Mercurial is that the history—the list of all the changes that have ever been checked in—is not linear. It frequently has branches and merges. This is actually a good, important feature, as you know if you've read a little about distributed version control. The downside is that the history becomes a maze of twisty little passages. Benjamin Smedberg's demo shows the history of a repository with lots of merges (each box is a check-in; you can click on the boxes to move around).

There have been a couple attempts at showing history in an intuitive, graphical way. Mercurial comes with a web UI for browsing the repository, including history (here's what it looks like). It also comes with an "hg glog" extension that draws history as ASCII art, and an "hg view" extension that does roughly the same thing with a little GUI. Sadly, none of these applications qualifies as awesome.

The project's goal is to rectify this sad situation by writing an awesome browser-based UI for navigating Mercurial repository history.

Resources: jorendorff, bsmedberg

Project Leader(s)

Siddarth Kalra

Project Contributor(s)

Project Mentors

  • Jason Ordendorff (jorendorff)
  • Dirkjan Ochtman (djc)
  • Ted Mielczarek (ted)
  • Benjamin Smedberg (bsmedberg)

Project Ideas

September 23rd, 2008

January 15th, 2009

Project Details

Project News

Project Bugs

External Links