Tag Archives: JavaScript

v0.3 Release – A Problem with Getting data for the Graph View

hgweb has a graph function found in mercurial/hgweb/webcommands.py which returns a template. It also returns a variable called jsdata which contains all information that I want to display on the page along with the graph. Now, my problem was that … Continue reading

Posted in Mercurial Project, Open Source | Tagged , , , | Leave a comment

v0.3 Release – Understanding djc’s Graph View

I’m starting work on a graph view for the pushlog. Frankly, I didn’t know where to begin since I have never really done anything like this before, then again I could say the same thing about the whole project. After … Continue reading

Posted in Mercurial Project, Open Source | Tagged , , , , , , , , , , | Leave a comment

v0.3 Release – Fix for my Patch for bug 445560

In a previous blog post I detailed problems with my previous patch for bug 445560. There were 2 problems that ted identified which need to be fixed: Should use ids instead of dates Should store unique identifiers in the class … Continue reading

Posted in Mercurial Project, Open Source | Tagged , , , , , , | Leave a comment

v0.2 Release – Getting the Correct Chronological Order for bug 459727

Throughout my entire time working on a v0.2 release I haven’t been able to get the correct choronological order (it should be reverse chronological order) for the new entries that load OnScroll. This is an essential part of the pushlog … Continue reading

Posted in Mercurial Project, Open Source | Tagged , , , , , , | Leave a comment

v0.2 Release – On Initial PageLoad show 20 entries instead of 10 for bug 459727

Currently if you have a look at the pushlog on the initial PageLoad only 10 entries are shown. I’ve decided that I want the pushlog to initially show 20 entries instead of 10. There are 2 reasons for this, let … Continue reading

Posted in Mercurial Project, Open Source | Tagged , , , | Leave a comment

v0.2 Release – Fix to the Current Patch for bug 445560

One month ago ted put up a patch to fix bug 445560 to implement expand/collapse functionality for merge changesets for the pushlog. The patch works properly except for one issue. When a user clicks on a particular [Expand] link it … Continue reading

Posted in Mercurial Project, Open Source | Tagged , , , , , , | 1 Comment

A Puzzling Problem with ctx.parents()[i].description()

I’m using a JSON script to pass data from the server side (written in Python) to the client side (in JavaScript) so that I can format the data and show it on the pushlog onScroll. I’m trying to add functionality … Continue reading

Posted in Mercurial Project, Open Source | Tagged , , , , | Leave a comment

Further Progress with pushloghtml’s OnScroll Feature

I’ve been working hard on bug 459727 to get it working. Right now it’s starting to look like it should but there are still some problems that need to be fixed. var start = -19; var end = start + 19; … Continue reading

Posted in Mercurial Project, Open Source | Tagged , , , , , , | Leave a comment

Pushloghtml Should Show More Than 10 Entries, Working on v0.1 Release

Well as I stated in a previous blog post, one of my tasks for v0.1 release would be to make pushloghtml show more than 10 entries. Jorendorff, recommended that it show all the entries at once. Now, I took that … Continue reading

Posted in Mercurial Project, Open Source | Tagged , , , , | Leave a comment