Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Comment updates that should have been in the previous check-in, but I didn't press the "Save" button on my editor, and I failed to adequately review the changes before committed - I should follow my own checklists... |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
c865e1a0fcf3e15edb567a3dc1b7d039 |
| User & Date: | drh 2019-12-18 15:19:33.310 |
Context
|
2019-12-19
| ||
| 15:13 | Never mind.... Was: Attempt to fix a memory leak on Git import. ... (Closed-Leaf check-in: 81bfdca9e5 user: drh tags: git-import-memleak) | |
| 14:40 | Moved a blob_reset() to fix a leak reported in https://fossil-scm.org/forum/forumpost/6871eaaa07. ... (check-in: 8628cbd428 user: stephan tags: trunk) | |
|
2019-12-18
| ||
| 15:19 | Comment updates that should have been in the previous check-in, but I didn't press the "Save" button on my editor, and I failed to adequately review the changes before committed - I should follow my own checklists... ... (check-in: c865e1a0fc user: drh tags: trunk) | |
| 15:11 | Add support for magic conversion of /doc/$SELF/ URIs by expanding the $SELF to the version of the currently displayed document. ... (check-in: 703e62a68e user: drh tags: trunk) | |
Changes
Changes to src/doc.c.
| ︙ | ︙ | |||
539 540 541 542 543 544 545 | return 1; } /* ** Transfer content to the output. During the transfer, when text of ** the following form is seen: ** | | | > | > | > > > | 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 |
return 1;
}
/*
** Transfer content to the output. During the transfer, when text of
** the following form is seen:
**
** href="$ROOT/..."
** action="$ROOT/..."
** href=".../doc/$SELF/..."
**
** Convert $ROOT to the root URI of the repository, and $SELF to the
** version number of the /doc/ document currently being displayed (if any).
** Allow ' in place of " and any case for href or action.
**
** Efforts are made to limit this translation to cases where the text is
** fully contained with an HTML markup element.
*/
void convert_href_and_output(Blob *pIn){
int i, base;
int n = blob_size(pIn);
char *z = blob_buffer(pIn);
for(base=0, i=7; i<n; i++){
if( z[i]=='$'
|
| ︙ | ︙ |