Fossil

Check-in [cf178577ec]
Login

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

Overview
Comment:Tweaks to the graph layout. Add a graph to ticket timelines.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk | release
Files: files | file ages | folders
SHA1: cf178577ec43ed804a906ef5b0f0ec3dcbc71bdc
User & Date: drh 2010-11-17 13:38:25.000
References
2010-12-10
15:08 New ticket [47d4e76139] tree checksum does not match manifest after commit. ... (artifact: 001e3e3a0b user: anonymous)
2010-12-09
21:30 New ticket [67176c3aa4] Changes lost merging with renames. ... (artifact: 78808ca31e user: anonymous)
2010-12-07
14:58 New ticket [5872e90fda] Database error: no such table: orphan. ... (artifact: ff816bc9f7 user: anonymous)
2010-11-29
23:38 New ticket [2ee159304e] Error in timeline (armv5tel-linux) showing events. ... (artifact: 106ae406f2 user: anonymous)
2010-11-25
22:59 New ticket [1b1f430078] sync via network share. ... (artifact: 4b680fefb7 user: anonymous)
15:35 New ticket [1d77d8f566] On firefox, forward and backward don't refill the forms. ... (artifact: 50151f68bf user: anonymous)
2010-11-24
17:14 Fixed ticket [ad15a8e2af]: Cannot commit a renamed file specifying files plus 2 other changes ... (artifact: 4506b154ab user: drh)
13:54 Ticket [ad15a8e2af]: 1 change ... (artifact: ab85a0350b user: anonymous)
2010-11-23
14:22 New ticket [99caf06e17] Error moving a file to a directory. ... (artifact: d6eb690e77 user: anonymous)
Context
2010-11-17
20:11
integrate import/export to Makefile.dmc ... (check-in: e5d99df4bc user: wolfgang tags: trunk)
13:38
Tweaks to the graph layout. Add a graph to ticket timelines. ... (check-in: cf178577ec user: drh tags: trunk, release)
13:15
Set binary translation mode on windows for import and export. Ticket [feeb8a91eb838f743ae9] ... (check-in: b408ece7f6 user: drh tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/graph.c.
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
        i--;
      }
    }
  }

  /* Find the pChild pointer for each node. 
  **
  ** The pChild points to node directly above on the same rail.
  ** The pChild must be in the same branch.  Leaf nodes have a NULL
  ** pChild.
  **
  ** In the case of a fork, choose the pChild that results in the
  ** longest rail.
  */
  for(pRow=p->pFirst; pRow; pRow=pRow->pNext){







|







297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
        i--;
      }
    }
  }

  /* Find the pChild pointer for each node. 
  **
  ** The pChild points to the node directly above on the same rail.
  ** The pChild must be in the same branch.  Leaf nodes have a NULL
  ** pChild.
  **
  ** In the case of a fork, choose the pChild that results in the
  ** longest rail.
  */
  for(pRow=p->pFirst; pRow; pRow=pRow->pNext){
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
        pRow->railInUse = 1<<pRow->iRail;
        continue;
      }
      pRow->iRail = findFreeRail(p, 0, pParent->idx, inUse, pParent->iRail);
      pParent->aiRaiser[pRow->iRail] = pRow->idx;
    }
    mask = 1<<pRow->iRail;
    if( pRow->pPrev ) pRow->pPrev->railInUse |= mask;
    if( pRow->pNext ) pRow->pNext->railInUse |= mask;
    if( pRow->pChild==0 ){
      inUse &= ~mask;
    }else{
      inUse |= mask;
      assignChildrenToRail(pRow);
    }







|







378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
        pRow->railInUse = 1<<pRow->iRail;
        continue;
      }
      pRow->iRail = findFreeRail(p, 0, pParent->idx, inUse, pParent->iRail);
      pParent->aiRaiser[pRow->iRail] = pRow->idx;
    }
    mask = 1<<pRow->iRail;
/*    if( pRow->pPrev ) pRow->pPrev->railInUse |= mask; */
    if( pRow->pNext ) pRow->pNext->railInUse |= mask;
    if( pRow->pChild==0 ){
      inUse &= ~mask;
    }else{
      inUse |= mask;
      assignChildrenToRail(pRow);
    }
Changes to src/tkt.c.
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
                  " WHERE target=%Q) "
         "ORDER BY mtime DESC",
         timeline_query_for_www(), tagid, zFullUuid, zFullUuid, zFullUuid
    );
  }
  db_prepare(&q, zSQL);
  free(zSQL);
  www_print_timeline(&q, TIMELINE_ARTID, 0);
  db_finalize(&q);
  style_footer();
}

/*
** WEBPAGE: tkthistory
** URL: /tkthistory?name=TICKETUUID







|







701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
                  " WHERE target=%Q) "
         "ORDER BY mtime DESC",
         timeline_query_for_www(), tagid, zFullUuid, zFullUuid, zFullUuid
    );
  }
  db_prepare(&q, zSQL);
  free(zSQL);
  www_print_timeline(&q, TIMELINE_ARTID|TIMELINE_DISJOINT|TIMELINE_GRAPH, 0);
  db_finalize(&q);
  style_footer();
}

/*
** WEBPAGE: tkthistory
** URL: /tkthistory?name=TICKETUUID