Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Fix a comment typo in the captcha generator. Extend the graph lines to the bottom of the timeline even if the last few entries on timeline are tickets or wiki edits instead of checkins. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
76201a088b2c0d40fc591e438f00f9c6 |
| User & Date: | drh 2010-08-16 10:52:08.000 |
Context
|
2010-08-16
| ||
| 12:11 | Add the "comment:" field to the output of "fossil info". ... (check-in: da52ff9363 user: drh tags: trunk) | |
| 10:52 | Fix a comment typo in the captcha generator. Extend the graph lines to the bottom of the timeline even if the last few entries on timeline are tickets or wiki edits instead of checkins. ... (check-in: 76201a088b user: drh tags: trunk) | |
|
2010-08-15
| ||
| 19:57 | The "Branches" menu option shows only open branches. Closed branches are accessible from a hyperlink. ... (check-in: 518439507a user: drh tags: trunk) | |
Changes
Changes to src/captcha.c.
| ︙ | ︙ | |||
397 398 399 400 401 402 403 |
printf("%s:\n%s", zHex, z);
free(z);
}
}
/*
** Compute a seed value for a captcha. The seed is public and is sent
| | | 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 |
printf("%s:\n%s", zHex, z);
free(z);
}
}
/*
** Compute a seed value for a captcha. The seed is public and is sent
** as a hidden parameter with the page that contains the captcha. Knowledge
** of the seed is insufficient for determining the captcha without additional
** information held only on the server and never revealed.
*/
unsigned int captcha_seed(void){
unsigned int x;
sqlite3_randomness(sizeof(x), &x);
x &= 0x7fffffff;
|
| ︙ | ︙ |
Changes to src/timeline.c.
| ︙ | ︙ | |||
318 319 320 321 322 323 324 |
}
if( pGraph ){
graph_finish(pGraph, (tmFlags & TIMELINE_DISJOINT)!=0);
if( pGraph->nErr ){
graph_free(pGraph);
pGraph = 0;
}else{
| > | | 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 |
}
if( pGraph ){
graph_finish(pGraph, (tmFlags & TIMELINE_DISJOINT)!=0);
if( pGraph->nErr ){
graph_free(pGraph);
pGraph = 0;
}else{
@ <tr><td><td>
@ <div id="grbtm" style="width:%d(pGraph->mxRail*20+30)px;"></div>
}
}
@ </table>
timeline_output_graph_javascript(pGraph);
}
/*
|
| ︙ | ︙ | |||
480 481 482 483 484 485 486 |
@ var canvasY = absoluteY("canvas");
@ var left = absoluteX(rowinfo[0].id) - absoluteX("canvas") + 15;
@ var width = nrail*20;
@ for(var i in rowinfo){
@ rowinfo[i].y = absoluteY(rowinfo[i].id) + 10 - canvasY;
@ rowinfo[i].x = left + rowinfo[i].r*20;
@ }
| | | 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 |
@ var canvasY = absoluteY("canvas");
@ var left = absoluteX(rowinfo[0].id) - absoluteX("canvas") + 15;
@ var width = nrail*20;
@ for(var i in rowinfo){
@ rowinfo[i].y = absoluteY(rowinfo[i].id) + 10 - canvasY;
@ rowinfo[i].x = left + rowinfo[i].r*20;
@ }
@ var btm = absoluteY("grbtm") + 10 - canvasY;
@ if( btm<32768 ){
@ canvasDiv.innerHTML = '<canvas id="timeline-canvas" '+
@ 'style="position:absolute;left:'+(left-5)+'px;"' +
@ ' width="'+width+'" height="'+btm+'"></canvas>';
@ realCanvas = document.getElementById('timeline-canvas');
@ }else{
@ realCanvas = 0;
|
| ︙ | ︙ |