Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Make the repeated-ticket suppressor output text ("N similar events omitted") appear at the end of the first line in the timeline, rather than on a separate line. Less obtrusive this way. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
dccb97fc344a0c353fd29e4e77ff7b8f |
| User & Date: | drh 2012-11-02 23:52:16.289 |
Context
|
2012-11-03
| ||
| 02:53 | Perserve the "ubg", "brbg", and "ng" query parameters on the timeline when moving the display forwards and backwards in time or changing the length, etc, using the submenu buttons. ... (check-in: 19ca7c6c54 user: drh tags: trunk) | |
|
2012-11-02
| ||
| 23:52 | Make the repeated-ticket suppressor output text ("N similar events omitted") appear at the end of the first line in the timeline, rather than on a separate line. Less obtrusive this way. ... (check-in: dccb97fc34 user: drh tags: trunk) | |
| 22:32 | Add the undocumented --test option to "fossil clean", so that we can easily see what is being removed without actually removing it. This found a bug in the case-sensitivity logic, which was also fixed. Ticket [03fec0ab6021c776a4b3] ... (check-in: d66057762f user: drh tags: trunk) | |
Changes
Changes to src/timeline.c.
| ︙ | ︙ | |||
200 201 202 203 204 205 206 207 208 209 210 211 212 213 |
int suppressCnt = 0;
char zPrevDate[20];
GraphContext *pGraph = 0;
int prevWasDivider = 0; /* True if previous output row was <hr> */
int fchngQueryInit = 0; /* True if fchngQuery is initialized */
Stmt fchngQuery; /* Query for file changes on check-ins */
static Stmt qbranch;
zPrevDate[0] = 0;
mxWikiLen = db_get_int("timeline-max-comment", 0);
if( db_get_boolean("timeline-block-markup", 0) ){
wikiFlags = WIKI_INLINE;
}else{
wikiFlags = WIKI_INLINE | WIKI_NOBLOCK;
| > | 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 |
int suppressCnt = 0;
char zPrevDate[20];
GraphContext *pGraph = 0;
int prevWasDivider = 0; /* True if previous output row was <hr> */
int fchngQueryInit = 0; /* True if fchngQuery is initialized */
Stmt fchngQuery; /* Query for file changes on check-ins */
static Stmt qbranch;
int pendingEndTr = 0; /* True if a </td></tr> is needed */
zPrevDate[0] = 0;
mxWikiLen = db_get_int("timeline-max-comment", 0);
if( db_get_boolean("timeline-block-markup", 0) ){
wikiFlags = WIKI_INLINE;
}else{
wikiFlags = WIKI_INLINE | WIKI_NOBLOCK;
|
| ︙ | ︙ | |||
251 252 253 254 255 256 257 |
}else{
commentColumn = 10;
}
}
}
prevTagid = tagid;
if( suppressCnt ){
| < > > > > | 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 |
}else{
commentColumn = 10;
}
}
}
prevTagid = tagid;
if( suppressCnt ){
@ <span class="timelineDisabled">... %d(suppressCnt) similar
@ event%s(suppressCnt>1?"s":"") omitted.</span></td></tr>
suppressCnt = 0;
}
if( pendingEndTr ){
@ </td></tr>
pendingEndTr = 0;
}
if( fossil_strcmp(zType,"div")==0 ){
if( !prevWasDivider ){
@ <tr><td colspan="3"><hr /></td></tr>
}
prevWasDivider = 1;
continue;
|
| ︙ | ︙ | |||
459 460 461 462 463 464 465 |
}
}
db_reset(&fchngQuery);
if( inUl ){
@ </ul>
}
}
| | < > > > | 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 |
}
}
db_reset(&fchngQuery);
if( inUl ){
@ </ul>
}
}
pendingEndTr = 1;
}
if( suppressCnt ){
@ <span class="timelineDisabled">... %d(suppressCnt) similar
@ event%s(suppressCnt>1?"s":"") omitted.</span></td></tr>
suppressCnt = 0;
}
if( pendingEndTr ){
@ </td></tr>
}
if( pGraph ){
graph_finish(pGraph, (tmFlags & TIMELINE_DISJOINT)!=0);
if( pGraph->nErr ){
graph_free(pGraph);
pGraph = 0;
}else{
|
| ︙ | ︙ |