Fossil

Check-in [afcdc6ce]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Backout [e6d3e878a9]: Clicking on timeline nodes for displaying a diff doesn't work any more with this change (Sorry, Stefan!).
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:afcdc6ce81fb86302821bd7438840fc6f672f7ff
User & Date: jan.nijtmans 2014-03-13 13:17:43
Context
2014-03-14
09:42
Minor help text improvement suggested on ML. check-in: a2400a01 user: stephan tags: trunk
2014-03-13
21:06
merge trunk check-in: d88d1bc0 user: jan.nijtmans tags: win32-longpath
14:32
Merge trunk. Split same_dline() in 3 different functions. Ongoing. check-in: a915aa03 user: jan.nijtmans tags: strip-trailing-cr
13:17
Backout [e6d3e878a9]: Clicking on timeline nodes for displaying a diff doesn't work any more with this change (Sorry, Stefan!). check-in: afcdc6ce user: jan.nijtmans tags: trunk
12:23
Add support for HTTP Basic Authentication to clone and sync. check-in: 5d536c51 user: drh tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/timeline.c.

590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
...
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
  int fileDiff              /* True for file diff.  False for check-in diff */
){
  if( pGraph && pGraph->nErr==0 && pGraph->nRow>0 ){
    GraphRow *pRow;
    int i;
    char cSep;

    @ <script type='text/javascript'>(function(){
    @ var railPitch=%d(pGraph->iRailPitch);

    /* the rowinfo[] array contains all the information needed to generate
    ** the graph.  Each entry contains information for a single row:
    **
    **   id:  The id of the <div> element for the row. This is an integer.
    **        to get an actual id, prepend "m" to the integer.  The top node
................................................................................
    @ var lastY = 0;
    @ function checkHeight(){
    @   var h = absoluteY(lastId);
    @   if( h!=lastY ){
    @     renderGraph();
    @     lastY = h;
    @   }
    @   setTimeout(arguments.callee, 1000);
    @ }
    @ checkHeight();
    @ })()</script>
  }
}

/*
** Create a temporary table suitable for storing timeline data.
*/
static void timeline_temp_table(void){







|







 







|


|







590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
...
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
  int fileDiff              /* True for file diff.  False for check-in diff */
){
  if( pGraph && pGraph->nErr==0 && pGraph->nRow>0 ){
    GraphRow *pRow;
    int i;
    char cSep;

    @ <script>
    @ var railPitch=%d(pGraph->iRailPitch);

    /* the rowinfo[] array contains all the information needed to generate
    ** the graph.  Each entry contains information for a single row:
    **
    **   id:  The id of the <div> element for the row. This is an integer.
    **        to get an actual id, prepend "m" to the integer.  The top node
................................................................................
    @ var lastY = 0;
    @ function checkHeight(){
    @   var h = absoluteY(lastId);
    @   if( h!=lastY ){
    @     renderGraph();
    @     lastY = h;
    @   }
    @   setTimeout("checkHeight();", 1000);
    @ }
    @ checkHeight();
    @ </script>
  }
}

/*
** Create a temporary table suitable for storing timeline data.
*/
static void timeline_temp_table(void){