Changes On Branch hidden-tag
Not logged in

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

Changes In Branch hidden-tag Excluding Merge-Ins

This is equivalent to a diff from 6fd4c41eb9 to 9dcf8859dd

2013-12-27
03:42
Fix segfault on certain /annotate pages. (Discovered using many-www.tcl test script.) check-in: 7a988eed37 user: joel tags: trunk
2013-12-26
17:39
merge trunk Closed-Leaf check-in: 9dcf8859dd user: jan.nijtmans tags: hidden-tag
17:38
update changes.wiki check-in: 6fd4c41eb9 user: jan.nijtmans tags: trunk
00:07
Add --sha1sum option to commit command. check-in: a9ad53ba3a user: joel tags: trunk
2013-12-24
11:54
Add tkt-change-hook possibilities to changelog check-in: c36d34e5fc user: jan.nijtmans tags: hidden-tag

Changes to src/finfo.c.

271
272
273
274
275
276
277

278
279
280
281
282
283
284
*/
void finfo_page(void){
  Stmt q;
  const char *zFilename;
  char zPrevDate[20];
  const char *zA;
  const char *zB;

  int n;
  int baseCheckin;

  Blob title;
  Blob sql;
  HQuery url;
  GraphContext *pGraph;







>







271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
*/
void finfo_page(void){
  Stmt q;
  const char *zFilename;
  char zPrevDate[20];
  const char *zA;
  const char *zB;
  const char *zUnhide;
  int n;
  int baseCheckin;

  Blob title;
  Blob sql;
  HQuery url;
  GraphContext *pGraph;
337
338
339
340
341
342
343



344
345
346
347
348
349
350
    "   AND event.objid=mlink.mid",
    zFilename
  );
  if( baseCheckin ){
    compute_direct_ancestors(baseCheckin, 10000000);
    blob_appendf(&sql,"  AND mlink.mid IN (SELECT rid FROM ancestor)");
  }



  if( (zA = P("a"))!=0 ){
    blob_appendf(&sql, " AND event.mtime>=julianday('%q')", zA);
    url_add_parameter(&url, "a", zA);
  }
  if( (zB = P("b"))!=0 ){
    blob_appendf(&sql, " AND event.mtime<=julianday('%q')", zB);
    url_add_parameter(&url, "b", zB);







>
>
>







338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
    "   AND event.objid=mlink.mid",
    zFilename
  );
  if( baseCheckin ){
    compute_direct_ancestors(baseCheckin, 10000000);
    blob_appendf(&sql,"  AND mlink.mid IN (SELECT rid FROM ancestor)");
  }
  if( (zUnhide = P("unhide")) ){
    url_add_parameter(&url, "unhide", "");
  }
  if( (zA = P("a"))!=0 ){
    blob_appendf(&sql, " AND event.mtime>=julianday('%q')", zA);
    url_add_parameter(&url, "a", zA);
  }
  if( (zB = P("b"))!=0 ){
    blob_appendf(&sql, " AND event.mtime<=julianday('%q')", zB);
    url_add_parameter(&url, "b", zB);
363
364
365
366
367
368
369




370
371
372
373
374
375
376
                            url_render(&url, "fco", "0", 0, 0));
    }else{
      style_submenu_element("Simplified",
                            "Show only first use of a change","%s",
                            url_render(&url, "fco", 0, 0, 0));
    }
  }




  db_prepare(&q, blob_str(&sql));
  if( P("showsql")!=0 ){
    @ <p>SQL: %h(blob_str(&sql))</p>
  }
  blob_reset(&sql);
  blob_zero(&title);
  if( baseCheckin ){







>
>
>
>







367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
                            url_render(&url, "fco", "0", 0, 0));
    }else{
      style_submenu_element("Simplified",
                            "Show only first use of a change","%s",
                            url_render(&url, "fco", 0, 0, 0));
    }
  }
  if( !zUnhide ){
    style_submenu_element("Unhide", "Unhide","%s",
                          url_render(&url, "unhide", "", 0, 0));
  }
  db_prepare(&q, blob_str(&sql));
  if( P("showsql")!=0 ){
    @ <p>SQL: %h(blob_str(&sql))</p>
  }
  blob_reset(&sql);
  blob_zero(&title);
  if( baseCheckin ){