1. 27 4月, 2006 1 次提交
  2. 26 4月, 2006 1 次提交
  3. 25 4月, 2006 3 次提交
  4. 23 4月, 2006 3 次提交
  5. 21 4月, 2006 1 次提交
  6. 17 4月, 2006 2 次提交
    • P
      gitk: Fix bug caused by missing commitlisted elements · e7da3475
      Paul Mackerras 提交于
      This bug was reported by Yann Dirson, and results in an 'Error:
      expected boolean value but got ""' dialog when scrolling to the bottom
      of the graph under some circumstances.  The issue is that git-rev-list
      isn't outputting all the boundary commits when it is asked for commits
      affecting only certain files.  We already cope with that by adding the
      missing boundary commits in addextraid, but there we weren't adding a
      0 to the end of the commitlisted list when we added the extra id to
      the end of the displayorder list.
      
      This fixes it by appending 0 to commitlisted in addextraid, thus keeping
      commitlisted and displayorder in sync.
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      e7da3475
    • P
      gitk: Don't reread git-rev-list output from scratch on view switch · 22626ef4
      Paul Mackerras 提交于
      Previously, if we switched away from a view before we had finished
      reading the git-rev-list output for it and laying out the graph, we
      would discard the partially-laid-out graph and reread it from
      scratch if we switched back to the view.  With this, we preserve the
      state of the partially-laid-out graph in viewdata($view) and restore
      it if we switch back.  The pipe to git-rev-list remains open but we
      just don't read from it any more until we switch back to that view.
      
      This also makes linesegends a list rather than an array, which turns
      out to be slightly faster, as well as being easier to save and restore.
      
      The `update' menu item now kills the git-rev-list process if there is
      one still running when we do the update.
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      22626ef4
  7. 06 4月, 2006 5 次提交
  8. 05 4月, 2006 5 次提交
  9. 04 4月, 2006 1 次提交
    • P
      gitk: Implement multiple views · 50b44ece
      Paul Mackerras 提交于
      With this, gitk can know about the graphs for multiple sets of files
      and directories of interest.  Each set of files/dirs and its graph is
      called a "view".  There is always the "All files" view, which is the
      complete graph showing all commits.  If files or dirs are specified
      on the command line, a "Command line" view is automatically created.
      Users can create new views and switch between them, and can delete
      any view except the "All files" view.
      
      This required a bit of reengineering.  In particular, some more things
      that were arrays have now become lists.  The idrowranges array is still
      used while the graph is being laid out, but for rows that have been laid
      out we use the rowrangelist list instead.  The cornercrossings and
      crossings arrays no longer exist, and instead we compute the crossings
      when needed (in assigncolor).
      
      Still to be done: make the back/forward buttons switch views as necessary;
      make the updatecommits function work right; preserve the selection if
      possible when the new view has to be read in; fix the case when the user
      switches away from the current view while we are still reading it in
      and laying it out; further optimizations.
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      50b44ece
  10. 02 4月, 2006 1 次提交
  11. 31 3月, 2006 3 次提交
  12. 30 3月, 2006 2 次提交
  13. 22 3月, 2006 1 次提交
    • P
      gitk: Fix two bugs reported by users · 7a1d9d14
      Paul Mackerras 提交于
      The first was a simple typo where I put $yc instead of [yc $row].
      The second was that I broke the logic for keeping up with fast
      movement through the commits, e.g. when you select a commit and then
      press down-arrow and let it autorepeat.  That got broken when I
      changed the merge diff display to use git-diff-tree --cc.
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      7a1d9d14
  14. 18 3月, 2006 4 次提交
  15. 08 3月, 2006 1 次提交
  16. 03 3月, 2006 1 次提交
  17. 02 3月, 2006 2 次提交
    • P
      gitk: Fix a bug in drawing the selected line as a thick line · c934a8a3
      Paul Mackerras 提交于
      If you clicked on a line, so that it was drawn double-thickness,
      and then scrolled to bring on-screen a child that hadn't previously
      been drawn, the lines from it to the selected line were drawn
      single-thickness.  This fixes it so they are drawn double-thickness.
      This also removes an unnecessary setting of phase in drawrest.
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      c934a8a3
    • P
      gitk: Further speedups · 8ed16484
      Paul Mackerras 提交于
      Now we don't parse the commits as we are reading them, we just put
      commit data on a list as a blob, and instead parse the commit when
      we need the various parts of it, such as when a commit is drawn on
      the canvas.  This makes searching a bit more interesting: now we
      scan through the commit blobs doing a string or regexp match to find
      commits that might match, then for those that might match, we parse
      the commit info (if it isn't already parsed) and do the matching
      for the various fields as before.
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      8ed16484
  18. 28 2月, 2006 3 次提交
    • P
      gitk: Various speed improvements · 8f7d0cec
      Paul Mackerras 提交于
      This rearranges the code a little to eliminate some procedure calls
      and reduce the number of globals accessed.  It makes rowidlist and
      rowoffsets lists rather than arrays, and removes the lineid array,
      since $lineid($l) was the same as [lindex $displayorder $l], and the
      latter is a little faster.
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      8f7d0cec
    • P
      gitk: Fix Update menu item · aa81d974
      Paul Mackerras 提交于
      This just does the simple thing of resetting everything, reading all
      the commits, and redoing the whole layout from scratch.  Hopefully
      things are now fast enough that this simple approach is acceptable.
      Also, this fits in better with future plans for adding the ability
      to restrict the tree to just a few files and then expand back to
      the whole tree.
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      aa81d974
    • P
      gitk: Fix clicks on arrows on line ends · f6342480
      Paul Mackerras 提交于
      With the new representation of the graph lines, this turns out
      much simpler now.
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      f6342480