Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Change the default value of the suggested-tarlist setting to "1 trunk". |
|---|---|
| Timelines: | family | ancestors | descendants | both | timeline-enhance-2025 |
| Files: | files | file ages | folders |
| SHA3-256: |
69b95380793fe76c331a4467b9850794 |
| User & Date: | drh 2025-10-16 23:54:21.381 |
Context
|
2025-10-16
| ||
| 23:55 | Omit unused variables in the timeline generator. check-in: d5cff12464 user: drh tags: timeline-enhance-2025 | |
| 23:54 | Change the default value of the suggested-tarlist setting to "1 trunk". check-in: 69b9538079 user: drh tags: timeline-enhance-2025 | |
| 23:29 | Remove the button from the timeline extra text, thus undoing part of check-in [ba434ab46095ca57]. But keep the hash at the end of the list, only show it when not in "Classic" mode, and continue to omit the "Leaf" marker, which seemed pointless. check-in: ece92e22bc user: drh tags: timeline-enhance-2025 | |
Changes
Changes to src/setup.c.
| ︙ | ︙ | |||
1439 1440 1441 1442 1443 1444 1445 | @ pattern of "OPEN-LEAF" matches all open leaf check-ins. Example: @ <blockquote><tt>1 trunk 3 release 5 OPEN-LEAF</tt></blockquote> @ The example pattern above shows the union of the most recent trunk @ check-in, the 5 most recent open leaf check-ins, and the 3 most @ recent check-ins tagged with "release". @ <p> @ The /tarlist page is omitted from the <a href="%R/sitemap">/sitemap</a> | | | 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 |
@ pattern of "OPEN-LEAF" matches all open leaf check-ins. Example:
@ <blockquote><tt>1 trunk 3 release 5 OPEN-LEAF</tt></blockquote>
@ The example pattern above shows the union of the most recent trunk
@ check-in, the 5 most recent open leaf check-ins, and the 3 most
@ recent check-ins tagged with "release".
@ <p>
@ The /tarlist page is omitted from the <a href="%R/sitemap">/sitemap</a>
@ if the first token is "0". The default value is "1 trunk".
@ (Property: suggested-tarlist)
@ <p>
textarea_attribute("Check-ins To Show On /tarlist", 2, 80,
"suggested-tarlist", "sgtrlst", "", 0);
@ <hr>
@ <p><input type="submit" name="submit" value="Apply Changes"></p>
@ </div></form>
|
| ︙ | ︙ |
Changes to src/tar.c.
| ︙ | ︙ | |||
1005 1006 1007 1008 1009 1010 1011 |
login_check_credentials();
if( !g.perm.Zip ){ login_needed(g.anon.Zip); return; }
style_set_current_feature("timeline");
style_header("Suggested Tarballs And ZIP Archives");
| | | 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 |
login_check_credentials();
if( !g.perm.Zip ){ login_needed(g.anon.Zip); return; }
style_set_current_feature("timeline");
style_header("Suggested Tarballs And ZIP Archives");
zTarlistCfg = db_get("suggested-tarlist","1 trunk");
db_multi_exec(
"CREATE TEMP TABLE tarlist(rid INTEGER PRIMARY KEY);"
);
if( !g.interp ) Th_FossilInit(0);
Th_SplitList(g.interp, zTarlistCfg, (int)strlen(zTarlistCfg),
&azItem, &anItem, &nItem);
for(i=0; i<nItem-1; i+=2){
|
| ︙ | ︙ |