Fossil SCM

Add the "df=CHECKIN" query parameter to /timeline. "df" is shorthand for "Derived From". "df=CHECKIN" is equivalent to "d=CHECKIN&n1=all&nd". Update hyperlinks in documentation to use df= and/or n1=.

drh 2020-12-31 14:35 trunk
Commit 78819fdb0dc0c7eb0776254e84dfd99c3adc5d1da3a6acee3615e3913fb70af5
+27 -6
--- src/timeline.c
+++ src/timeline.c
@@ -1641,11 +1641,16 @@
16411641
** n1=COUNT Same as "n" but doesn't set the display-preference cookie
16421642
** Use "n1=COUNT" for a one-time display change
16431643
** p=CHECKIN Parents and ancestors of CHECKIN
16441644
** bt=PRIOR ... going back to PRIOR
16451645
** d=CHECKIN Children and descendants of CHECKIN
1646
-** dp=CHECKIN The same as 'd=CHECKIN&p=CHECKIN'
1646
+** dp=CHECKIN Same as 'd=CHECKIN&p=CHECKIN'
1647
+** df=CHECKIN Same as 'd=CHECKIN&n1=all&nd'. Mnemonic: "Derived From"
1648
+** bt=CHECKIN In conjuction with p=CX, this means show all
1649
+** ancestors of CX going back to the time of CHECKIN.
1650
+** All qualifying check-ins are shown unless there
1651
+** is also an n= or n1= query pararameter.
16471652
** t=TAG Show only check-ins with the given TAG
16481653
** r=TAG Show check-ins related to TAG, equivalent to t=TAG&rel
16491654
** rel Show related check-ins as well as those matching t=TAG
16501655
** mionly Limit rel to show ancestors but not descendants
16511656
** nowiki Do not show wiki associated with branch or tag
@@ -1665,10 +1670,12 @@
16651670
** from=CHECKIN Path from...
16661671
** to=CHECKIN ... to this
16671672
** shortest ... show only the shortest path
16681673
** rel ... also show related checkins
16691674
** uf=FILE_HASH Show only check-ins that contain the given file version
1675
+** All qualifying check-ins are shown unless there is
1676
+** also an n= or n1= query parameter.
16701677
** chng=GLOBLIST Show only check-ins that involve changes to a file whose
16711678
** name matches one of the comma-separate GLOBLIST
16721679
** brbg Background color determined by branch name
16731680
** ubg Background color determined by user
16741681
** deltabg Background color red for delta manifests or green
@@ -1699,13 +1706,13 @@
16991706
void page_timeline(void){
17001707
Stmt q; /* Query used to generate the timeline */
17011708
Blob sql; /* text of SQL used to generate timeline */
17021709
Blob desc; /* Description of the timeline */
17031710
int nEntry; /* Max number of entries on timeline */
1704
- int p_rid = name_to_typed_rid(P("p"),"ci"); /* artifact p and its parents */
1705
- int d_rid = name_to_typed_rid(P("d"),"ci"); /* artifact d and descendants */
1706
- int f_rid = name_to_typed_rid(P("f"),"ci"); /* artifact f and close family */
1711
+ int p_rid; /* artifact p and its parents */
1712
+ int d_rid; /* artifact d and descendants */
1713
+ int f_rid; /* artifact f and close family */
17071714
const char *zUser = P("u"); /* All entries by this user if not NULL */
17081715
const char *zType; /* Type of events to display */
17091716
const char *zAfter = P("a"); /* Events after this time */
17101717
const char *zBefore = P("b"); /* Events before this time */
17111718
const char *zCirca = P("c"); /* Events near this time */
@@ -1757,10 +1764,11 @@
17571764
int showCherrypicks = 1; /* True to show cherrypick merges */
17581765
int haveParameterN; /* True if n= query parameter present */
17591766
17601767
url_initialize(&url, "timeline");
17611768
cgi_query_parameters_to_url(&url);
1769
+
17621770
17631771
/* Set number of rows to display */
17641772
z = P("n");
17651773
if( z!=0 ){
17661774
haveParameterN = 1;
@@ -1771,11 +1779,11 @@
17711779
cookie_read_parameter("n","n");
17721780
z = P("n");
17731781
if( z==0 ){
17741782
z = db_get("timeline-default-length",0);
17751783
}
1776
- cgi_replace_query_parameter("n",z);
1784
+ cgi_replace_query_parameter("n",fossil_strdup(z));
17771785
cookie_write_parameter("n","n",0);
17781786
z2 = P("n1");
17791787
if( z2 ){
17801788
haveParameterN = 2;
17811789
z = z2;
@@ -1790,13 +1798,26 @@
17901798
z = "10";
17911799
nEntry = 10;
17921800
}
17931801
}
17941802
}else{
1795
- z = "50";
17961803
nEntry = 50;
17971804
}
1805
+
1806
+ /* Query parameters d=, p=, and f= and variants */
1807
+ z = P("p");
1808
+ p_rid = z ? name_to_typed_rid(z,"ci") : 0;
1809
+ z = P("d");
1810
+ d_rid = z ? name_to_typed_rid(z,"ci") : 0;
1811
+ z = P("f");
1812
+ f_rid = z ? name_to_typed_rid(z,"ci") : 0;
1813
+ z = P("df");
1814
+ if( z && (d_rid = name_to_typed_rid(z,"ci"))!=0 ){
1815
+ nEntry = 0;
1816
+ useDividers = 0;
1817
+ cgi_replace_query_parameter("d",fossil_strdup(z));
1818
+ }
17981819
17991820
/* Undocumented query parameter to set JS mode */
18001821
builtin_set_js_delivery_mode(P("jsmode"),1);
18011822
18021823
secondaryRid = name_to_typed_rid(P("sel2"),"ci");
18031824
--- src/timeline.c
+++ src/timeline.c
@@ -1641,11 +1641,16 @@
1641 ** n1=COUNT Same as "n" but doesn't set the display-preference cookie
1642 ** Use "n1=COUNT" for a one-time display change
1643 ** p=CHECKIN Parents and ancestors of CHECKIN
1644 ** bt=PRIOR ... going back to PRIOR
1645 ** d=CHECKIN Children and descendants of CHECKIN
1646 ** dp=CHECKIN The same as 'd=CHECKIN&p=CHECKIN'
 
 
 
 
 
1647 ** t=TAG Show only check-ins with the given TAG
1648 ** r=TAG Show check-ins related to TAG, equivalent to t=TAG&rel
1649 ** rel Show related check-ins as well as those matching t=TAG
1650 ** mionly Limit rel to show ancestors but not descendants
1651 ** nowiki Do not show wiki associated with branch or tag
@@ -1665,10 +1670,12 @@
1665 ** from=CHECKIN Path from...
1666 ** to=CHECKIN ... to this
1667 ** shortest ... show only the shortest path
1668 ** rel ... also show related checkins
1669 ** uf=FILE_HASH Show only check-ins that contain the given file version
 
 
1670 ** chng=GLOBLIST Show only check-ins that involve changes to a file whose
1671 ** name matches one of the comma-separate GLOBLIST
1672 ** brbg Background color determined by branch name
1673 ** ubg Background color determined by user
1674 ** deltabg Background color red for delta manifests or green
@@ -1699,13 +1706,13 @@
1699 void page_timeline(void){
1700 Stmt q; /* Query used to generate the timeline */
1701 Blob sql; /* text of SQL used to generate timeline */
1702 Blob desc; /* Description of the timeline */
1703 int nEntry; /* Max number of entries on timeline */
1704 int p_rid = name_to_typed_rid(P("p"),"ci"); /* artifact p and its parents */
1705 int d_rid = name_to_typed_rid(P("d"),"ci"); /* artifact d and descendants */
1706 int f_rid = name_to_typed_rid(P("f"),"ci"); /* artifact f and close family */
1707 const char *zUser = P("u"); /* All entries by this user if not NULL */
1708 const char *zType; /* Type of events to display */
1709 const char *zAfter = P("a"); /* Events after this time */
1710 const char *zBefore = P("b"); /* Events before this time */
1711 const char *zCirca = P("c"); /* Events near this time */
@@ -1757,10 +1764,11 @@
1757 int showCherrypicks = 1; /* True to show cherrypick merges */
1758 int haveParameterN; /* True if n= query parameter present */
1759
1760 url_initialize(&url, "timeline");
1761 cgi_query_parameters_to_url(&url);
 
1762
1763 /* Set number of rows to display */
1764 z = P("n");
1765 if( z!=0 ){
1766 haveParameterN = 1;
@@ -1771,11 +1779,11 @@
1771 cookie_read_parameter("n","n");
1772 z = P("n");
1773 if( z==0 ){
1774 z = db_get("timeline-default-length",0);
1775 }
1776 cgi_replace_query_parameter("n",z);
1777 cookie_write_parameter("n","n",0);
1778 z2 = P("n1");
1779 if( z2 ){
1780 haveParameterN = 2;
1781 z = z2;
@@ -1790,13 +1798,26 @@
1790 z = "10";
1791 nEntry = 10;
1792 }
1793 }
1794 }else{
1795 z = "50";
1796 nEntry = 50;
1797 }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1798
1799 /* Undocumented query parameter to set JS mode */
1800 builtin_set_js_delivery_mode(P("jsmode"),1);
1801
1802 secondaryRid = name_to_typed_rid(P("sel2"),"ci");
1803
--- src/timeline.c
+++ src/timeline.c
@@ -1641,11 +1641,16 @@
1641 ** n1=COUNT Same as "n" but doesn't set the display-preference cookie
1642 ** Use "n1=COUNT" for a one-time display change
1643 ** p=CHECKIN Parents and ancestors of CHECKIN
1644 ** bt=PRIOR ... going back to PRIOR
1645 ** d=CHECKIN Children and descendants of CHECKIN
1646 ** dp=CHECKIN Same as 'd=CHECKIN&p=CHECKIN'
1647 ** df=CHECKIN Same as 'd=CHECKIN&n1=all&nd'. Mnemonic: "Derived From"
1648 ** bt=CHECKIN In conjuction with p=CX, this means show all
1649 ** ancestors of CX going back to the time of CHECKIN.
1650 ** All qualifying check-ins are shown unless there
1651 ** is also an n= or n1= query pararameter.
1652 ** t=TAG Show only check-ins with the given TAG
1653 ** r=TAG Show check-ins related to TAG, equivalent to t=TAG&rel
1654 ** rel Show related check-ins as well as those matching t=TAG
1655 ** mionly Limit rel to show ancestors but not descendants
1656 ** nowiki Do not show wiki associated with branch or tag
@@ -1665,10 +1670,12 @@
1670 ** from=CHECKIN Path from...
1671 ** to=CHECKIN ... to this
1672 ** shortest ... show only the shortest path
1673 ** rel ... also show related checkins
1674 ** uf=FILE_HASH Show only check-ins that contain the given file version
1675 ** All qualifying check-ins are shown unless there is
1676 ** also an n= or n1= query parameter.
1677 ** chng=GLOBLIST Show only check-ins that involve changes to a file whose
1678 ** name matches one of the comma-separate GLOBLIST
1679 ** brbg Background color determined by branch name
1680 ** ubg Background color determined by user
1681 ** deltabg Background color red for delta manifests or green
@@ -1699,13 +1706,13 @@
1706 void page_timeline(void){
1707 Stmt q; /* Query used to generate the timeline */
1708 Blob sql; /* text of SQL used to generate timeline */
1709 Blob desc; /* Description of the timeline */
1710 int nEntry; /* Max number of entries on timeline */
1711 int p_rid; /* artifact p and its parents */
1712 int d_rid; /* artifact d and descendants */
1713 int f_rid; /* artifact f and close family */
1714 const char *zUser = P("u"); /* All entries by this user if not NULL */
1715 const char *zType; /* Type of events to display */
1716 const char *zAfter = P("a"); /* Events after this time */
1717 const char *zBefore = P("b"); /* Events before this time */
1718 const char *zCirca = P("c"); /* Events near this time */
@@ -1757,10 +1764,11 @@
1764 int showCherrypicks = 1; /* True to show cherrypick merges */
1765 int haveParameterN; /* True if n= query parameter present */
1766
1767 url_initialize(&url, "timeline");
1768 cgi_query_parameters_to_url(&url);
1769
1770
1771 /* Set number of rows to display */
1772 z = P("n");
1773 if( z!=0 ){
1774 haveParameterN = 1;
@@ -1771,11 +1779,11 @@
1779 cookie_read_parameter("n","n");
1780 z = P("n");
1781 if( z==0 ){
1782 z = db_get("timeline-default-length",0);
1783 }
1784 cgi_replace_query_parameter("n",fossil_strdup(z));
1785 cookie_write_parameter("n","n",0);
1786 z2 = P("n1");
1787 if( z2 ){
1788 haveParameterN = 2;
1789 z = z2;
@@ -1790,13 +1798,26 @@
1798 z = "10";
1799 nEntry = 10;
1800 }
1801 }
1802 }else{
 
1803 nEntry = 50;
1804 }
1805
1806 /* Query parameters d=, p=, and f= and variants */
1807 z = P("p");
1808 p_rid = z ? name_to_typed_rid(z,"ci") : 0;
1809 z = P("d");
1810 d_rid = z ? name_to_typed_rid(z,"ci") : 0;
1811 z = P("f");
1812 f_rid = z ? name_to_typed_rid(z,"ci") : 0;
1813 z = P("df");
1814 if( z && (d_rid = name_to_typed_rid(z,"ci"))!=0 ){
1815 nEntry = 0;
1816 useDividers = 0;
1817 cgi_replace_query_parameter("d",fossil_strdup(z));
1818 }
1819
1820 /* Undocumented query parameter to set JS mode */
1821 builtin_set_js_delivery_mode(P("jsmode"),1);
1822
1823 secondaryRid = name_to_typed_rid(P("sel2"),"ci");
1824
--- www/fossil-v-git.wiki
+++ www/fossil-v-git.wiki
@@ -258,11 +258,11 @@
258258
check-in. It is so difficult, in fact, that neither native Git nor
259259
GitHub provide this capability short of crawling the
260260
[https://www.git-scm.com/docs/git-log|commit log]. With Fossil,
261261
on the other hand, finding descendents is a simple SQL query.
262262
It is common in Fossil to ask to see
263
-[/timeline?d=release&n=all&y=ci&nd|all check-ins since the last release].
263
+[/timeline?df=release&y=ci|all check-ins since the last release].
264264
Git lets you see "what came before". Fossil makes it just as
265265
easy to also see "what came after".
266266
267267
Leaf check-ins in Git that lack a "ref" become "detached," making them
268268
difficult to locate and subject to garbage collection. This
269269
--- www/fossil-v-git.wiki
+++ www/fossil-v-git.wiki
@@ -258,11 +258,11 @@
258 check-in. It is so difficult, in fact, that neither native Git nor
259 GitHub provide this capability short of crawling the
260 [https://www.git-scm.com/docs/git-log|commit log]. With Fossil,
261 on the other hand, finding descendents is a simple SQL query.
262 It is common in Fossil to ask to see
263 [/timeline?d=release&n=all&y=ci&nd|all check-ins since the last release].
264 Git lets you see "what came before". Fossil makes it just as
265 easy to also see "what came after".
266
267 Leaf check-ins in Git that lack a "ref" become "detached," making them
268 difficult to locate and subject to garbage collection. This
269
--- www/fossil-v-git.wiki
+++ www/fossil-v-git.wiki
@@ -258,11 +258,11 @@
258 check-in. It is so difficult, in fact, that neither native Git nor
259 GitHub provide this capability short of crawling the
260 [https://www.git-scm.com/docs/git-log|commit log]. With Fossil,
261 on the other hand, finding descendents is a simple SQL query.
262 It is common in Fossil to ask to see
263 [/timeline?df=release&y=ci|all check-ins since the last release].
264 Git lets you see "what came before". Fossil makes it just as
265 easy to also see "what came after".
266
267 Leaf check-ins in Git that lack a "ref" become "detached," making them
268 difficult to locate and subject to garbage collection. This
269
+7 -7
--- www/history.md
+++ www/history.md
@@ -3,11 +3,11 @@
33
Fossil is a [distributed version control system (DVCS)][100] written
44
beginning in [2007][105] by the [architect of SQLite][110] for the
55
purpose of managing the [SQLite project][115].
66
77
[100]: https://en.wikipedia.org/wiki/Distributed_version_control
8
-[105]: /timeline?a=1970-01-01&n=10
8
+[105]: /timeline?a=1970-01-01&n1=10
99
[110]: https://sqlite.org/crew.html
1010
[115]: https://sqlite.org/
1111
1212
Though Fossil was originally written specifically to support SQLite,
1313
it is now also used by countless other projects. The SQLite architect (drh)
@@ -30,11 +30,11 @@
3030
lack of integrated bug tracking. To try to address these deficiencies,
3131
the SQLite author developed the [CVSTrac][305] wrapper for CVS beginning
3232
in [2002][310].
3333
3434
[305]: http://cvstrac.org/
35
-[310]: http://cvstrac.org/fossil/timeline?a=19700101&n=10
35
+[310]: http://cvstrac.org/fossil/timeline?a=19700101&n1=10
3636
3737
CVSTrac greatly improved the usability of CVS and was adopted by
3838
other projects. CVSTrac also [inspired the design][315] of [Trac][320],
3939
which was a similar system that was (and is) far more widely used.
4040
@@ -47,12 +47,12 @@
4747
That was not an unreasonable check-in comment, as check-in comments
4848
were scarcely seen and of questionable utility in raw CVS. CVSTrac
4949
changed that, making check-in comments more visible and more useful.
5050
The SQLite developers reacted by creating [better check-in comments][330].
5151
52
-[325]: https://sqlite.org/src/timeline?a=19700101&n=10
53
-[330]: https://sqlite.org/src/timeline?c=20030101&n=10&nd
52
+[325]: https://sqlite.org/src/timeline?a=19700101&n1=10
53
+[330]: https://sqlite.org/src/timeline?c=20030101&n1=10&nd
5454
5555
At about this same time, the [Monotone][335] system appeared.
5656
Monotone was one of the first distributed version control systems. As far as
5757
this author is aware, Monotone was the first VCS to make use of
5858
SHA1 to identify artifacts. Monotone stored its content in an SQLite
@@ -78,11 +78,11 @@
7878
were better implemented in plain old C.
7979
Experiments continued. Finally, a prototype capable of self-hosting
8080
was devised on [2007-07-16][345].
8181
8282
[340]: https://www.tcl.tk/
83
-[345]: https://fossil-scm.org/fossil/timeline?c=200707211410&n=10
83
+[345]: https://fossil-scm.org/fossil/timeline?c=200707211410&n1=10
8484
8585
The first project hosted by Fossil was Fossil itself. After a
8686
few months of development work, the code was considered stable enough
8787
to begin hosting the [SQLite documentation repository][350] which was
8888
split off from the main SQLite CVS repository on [2007-11-12][355].
@@ -89,7 +89,7 @@
8989
After two years of development work on Fossil, the
9090
SQLite source code itself was transfered to Fossil on
9191
[2009-08-11][360].
9292
9393
[350]: https://www.sqlite.org/docsrc/doc/trunk/README.md
94
-[355]: https://www.sqlite.org/docsrc/timeline?c=200711120345&n=10
95
-[360]: https://sqlite.org/src/timeline?c=b0848925babde524&n=12&y=ci
94
+[355]: https://www.sqlite.org/docsrc/timeline?c=200711120345&n1=10
95
+[360]: https://sqlite.org/src/timeline?c=b0848925babde524&n1=12&y=ci
9696
--- www/history.md
+++ www/history.md
@@ -3,11 +3,11 @@
3 Fossil is a [distributed version control system (DVCS)][100] written
4 beginning in [2007][105] by the [architect of SQLite][110] for the
5 purpose of managing the [SQLite project][115].
6
7 [100]: https://en.wikipedia.org/wiki/Distributed_version_control
8 [105]: /timeline?a=1970-01-01&n=10
9 [110]: https://sqlite.org/crew.html
10 [115]: https://sqlite.org/
11
12 Though Fossil was originally written specifically to support SQLite,
13 it is now also used by countless other projects. The SQLite architect (drh)
@@ -30,11 +30,11 @@
30 lack of integrated bug tracking. To try to address these deficiencies,
31 the SQLite author developed the [CVSTrac][305] wrapper for CVS beginning
32 in [2002][310].
33
34 [305]: http://cvstrac.org/
35 [310]: http://cvstrac.org/fossil/timeline?a=19700101&n=10
36
37 CVSTrac greatly improved the usability of CVS and was adopted by
38 other projects. CVSTrac also [inspired the design][315] of [Trac][320],
39 which was a similar system that was (and is) far more widely used.
40
@@ -47,12 +47,12 @@
47 That was not an unreasonable check-in comment, as check-in comments
48 were scarcely seen and of questionable utility in raw CVS. CVSTrac
49 changed that, making check-in comments more visible and more useful.
50 The SQLite developers reacted by creating [better check-in comments][330].
51
52 [325]: https://sqlite.org/src/timeline?a=19700101&n=10
53 [330]: https://sqlite.org/src/timeline?c=20030101&n=10&nd
54
55 At about this same time, the [Monotone][335] system appeared.
56 Monotone was one of the first distributed version control systems. As far as
57 this author is aware, Monotone was the first VCS to make use of
58 SHA1 to identify artifacts. Monotone stored its content in an SQLite
@@ -78,11 +78,11 @@
78 were better implemented in plain old C.
79 Experiments continued. Finally, a prototype capable of self-hosting
80 was devised on [2007-07-16][345].
81
82 [340]: https://www.tcl.tk/
83 [345]: https://fossil-scm.org/fossil/timeline?c=200707211410&n=10
84
85 The first project hosted by Fossil was Fossil itself. After a
86 few months of development work, the code was considered stable enough
87 to begin hosting the [SQLite documentation repository][350] which was
88 split off from the main SQLite CVS repository on [2007-11-12][355].
@@ -89,7 +89,7 @@
89 After two years of development work on Fossil, the
90 SQLite source code itself was transfered to Fossil on
91 [2009-08-11][360].
92
93 [350]: https://www.sqlite.org/docsrc/doc/trunk/README.md
94 [355]: https://www.sqlite.org/docsrc/timeline?c=200711120345&n=10
95 [360]: https://sqlite.org/src/timeline?c=b0848925babde524&n=12&y=ci
96
--- www/history.md
+++ www/history.md
@@ -3,11 +3,11 @@
3 Fossil is a [distributed version control system (DVCS)][100] written
4 beginning in [2007][105] by the [architect of SQLite][110] for the
5 purpose of managing the [SQLite project][115].
6
7 [100]: https://en.wikipedia.org/wiki/Distributed_version_control
8 [105]: /timeline?a=1970-01-01&n1=10
9 [110]: https://sqlite.org/crew.html
10 [115]: https://sqlite.org/
11
12 Though Fossil was originally written specifically to support SQLite,
13 it is now also used by countless other projects. The SQLite architect (drh)
@@ -30,11 +30,11 @@
30 lack of integrated bug tracking. To try to address these deficiencies,
31 the SQLite author developed the [CVSTrac][305] wrapper for CVS beginning
32 in [2002][310].
33
34 [305]: http://cvstrac.org/
35 [310]: http://cvstrac.org/fossil/timeline?a=19700101&n1=10
36
37 CVSTrac greatly improved the usability of CVS and was adopted by
38 other projects. CVSTrac also [inspired the design][315] of [Trac][320],
39 which was a similar system that was (and is) far more widely used.
40
@@ -47,12 +47,12 @@
47 That was not an unreasonable check-in comment, as check-in comments
48 were scarcely seen and of questionable utility in raw CVS. CVSTrac
49 changed that, making check-in comments more visible and more useful.
50 The SQLite developers reacted by creating [better check-in comments][330].
51
52 [325]: https://sqlite.org/src/timeline?a=19700101&n1=10
53 [330]: https://sqlite.org/src/timeline?c=20030101&n1=10&nd
54
55 At about this same time, the [Monotone][335] system appeared.
56 Monotone was one of the first distributed version control systems. As far as
57 this author is aware, Monotone was the first VCS to make use of
58 SHA1 to identify artifacts. Monotone stored its content in an SQLite
@@ -78,11 +78,11 @@
78 were better implemented in plain old C.
79 Experiments continued. Finally, a prototype capable of self-hosting
80 was devised on [2007-07-16][345].
81
82 [340]: https://www.tcl.tk/
83 [345]: https://fossil-scm.org/fossil/timeline?c=200707211410&n1=10
84
85 The first project hosted by Fossil was Fossil itself. After a
86 few months of development work, the code was considered stable enough
87 to begin hosting the [SQLite documentation repository][350] which was
88 split off from the main SQLite CVS repository on [2007-11-12][355].
@@ -89,7 +89,7 @@
89 After two years of development work on Fossil, the
90 SQLite source code itself was transfered to Fossil on
91 [2009-08-11][360].
92
93 [350]: https://www.sqlite.org/docsrc/doc/trunk/README.md
94 [355]: https://www.sqlite.org/docsrc/timeline?c=200711120345&n1=10
95 [360]: https://sqlite.org/src/timeline?c=b0848925babde524&n1=12&y=ci
96
+2 -2
--- www/index.wiki
+++ www/index.wiki
@@ -90,12 +90,12 @@
9090
<hr>
9191
<h3>Latest Release: 2.13 ([/timeline?c=version-2.13|2020-11-01])</h3>
9292
9393
* [/uv/download.html|Download]
9494
* [./changes.wiki#v2_13|Change Summary]
95
- * [/timeline?p=version-2.13&bt=version-2.12&n=all|Check-ins in version 2.13]
96
- * [/timeline?d=version-2.13&n=all&nd|Check-ins derived from the 2.13 release]
95
+ * [/timeline?p=version-2.13&bt=version-2.12&y=ci|Check-ins in version 2.13]
96
+ * [/timeline?df=version-2.13&y=ci|Check-ins derived from the 2.13 release]
9797
* [/timeline?t=release|Timeline of all past releases]
9898
9999
<hr>
100100
<h3>Quick Start</h3>
101101
102102
--- www/index.wiki
+++ www/index.wiki
@@ -90,12 +90,12 @@
90 <hr>
91 <h3>Latest Release: 2.13 ([/timeline?c=version-2.13|2020-11-01])</h3>
92
93 * [/uv/download.html|Download]
94 * [./changes.wiki#v2_13|Change Summary]
95 * [/timeline?p=version-2.13&bt=version-2.12&n=all|Check-ins in version 2.13]
96 * [/timeline?d=version-2.13&n=all&nd|Check-ins derived from the 2.13 release]
97 * [/timeline?t=release|Timeline of all past releases]
98
99 <hr>
100 <h3>Quick Start</h3>
101
102
--- www/index.wiki
+++ www/index.wiki
@@ -90,12 +90,12 @@
90 <hr>
91 <h3>Latest Release: 2.13 ([/timeline?c=version-2.13|2020-11-01])</h3>
92
93 * [/uv/download.html|Download]
94 * [./changes.wiki#v2_13|Change Summary]
95 * [/timeline?p=version-2.13&bt=version-2.12&y=ci|Check-ins in version 2.13]
96 * [/timeline?df=version-2.13&y=ci|Check-ins derived from the 2.13 release]
97 * [/timeline?t=release|Timeline of all past releases]
98
99 <hr>
100 <h3>Quick Start</h3>
101
102
--- www/serverext.wiki
+++ www/serverext.wiki
@@ -86,11 +86,11 @@
8686
[https://wapp.tcl.tk|Wapp program]. The current source code to the
8787
this program can be seen at
8888
[https://www.sqlite.org/src/ext/checklist/3070700/self] and
8989
recent historical versions are available at
9090
[https://sqlite.org/docsrc/finfo/misc/checklist.tcl] with
91
-older legacy at [https://sqlite.org/checklistapp/timeline?n=all]
91
+older legacy at [https://sqlite.org/checklistapp/timeline?n1=all]
9292
9393
There is a cascade of CGIs happening here. The web server that receives
9494
the initial HTTP request runs Fossil as a CGI based on the
9595
"https://sqlite.org/src" portion of the URL. The Fossil instance then
9696
runs the checklist sub-CGI based on the "/ext/checklists" suffix. The
9797
--- www/serverext.wiki
+++ www/serverext.wiki
@@ -86,11 +86,11 @@
86 [https://wapp.tcl.tk|Wapp program]. The current source code to the
87 this program can be seen at
88 [https://www.sqlite.org/src/ext/checklist/3070700/self] and
89 recent historical versions are available at
90 [https://sqlite.org/docsrc/finfo/misc/checklist.tcl] with
91 older legacy at [https://sqlite.org/checklistapp/timeline?n=all]
92
93 There is a cascade of CGIs happening here. The web server that receives
94 the initial HTTP request runs Fossil as a CGI based on the
95 "https://sqlite.org/src" portion of the URL. The Fossil instance then
96 runs the checklist sub-CGI based on the "/ext/checklists" suffix. The
97
--- www/serverext.wiki
+++ www/serverext.wiki
@@ -86,11 +86,11 @@
86 [https://wapp.tcl.tk|Wapp program]. The current source code to the
87 this program can be seen at
88 [https://www.sqlite.org/src/ext/checklist/3070700/self] and
89 recent historical versions are available at
90 [https://sqlite.org/docsrc/finfo/misc/checklist.tcl] with
91 older legacy at [https://sqlite.org/checklistapp/timeline?n1=all]
92
93 There is a cascade of CGIs happening here. The web server that receives
94 the initial HTTP request runs Fossil as a CGI based on the
95 "https://sqlite.org/src" portion of the URL. The Fossil instance then
96 runs the checklist sub-CGI based on the "/ext/checklists" suffix. The
97
+1 -1
--- www/uitest.html
+++ www/uitest.html
@@ -12,11 +12,11 @@
1212
url: "timeline",
1313
desc:
1414
"Simple timeline of most recent check-ins. Verify that all submenus work."
1515
},
1616
{
17
- url: "timeline?n=125",
17
+ url: "timeline?n1=125",
1818
desc:
1919
"Timeline with 125 entries. Verify that submenus preserve the entry count."
2020
},
2121
{
2222
url: "wiki",
2323
--- www/uitest.html
+++ www/uitest.html
@@ -12,11 +12,11 @@
12 url: "timeline",
13 desc:
14 "Simple timeline of most recent check-ins. Verify that all submenus work."
15 },
16 {
17 url: "timeline?n=125",
18 desc:
19 "Timeline with 125 entries. Verify that submenus preserve the entry count."
20 },
21 {
22 url: "wiki",
23
--- www/uitest.html
+++ www/uitest.html
@@ -12,11 +12,11 @@
12 url: "timeline",
13 desc:
14 "Simple timeline of most recent check-ins. Verify that all submenus work."
15 },
16 {
17 url: "timeline?n1=125",
18 desc:
19 "Timeline with 125 entries. Verify that submenus preserve the entry count."
20 },
21 {
22 url: "wiki",
23
--- www/webpage-ex.md
+++ www/webpage-ex.md
@@ -4,46 +4,50 @@
44
Here are just a few examples of the many web pages supported
55
by Fossil. Follow hyperlinks on the examples below to see many
66
other examples.
77
88
* <a target='_blank' class='exbtn'
9
- href='$ROOT/timeline?y=ci&n=100'>(Example)</a> &rarr;
9
+ href='$ROOT/timeline?y=ci&n1=100'>(Example)</a> &rarr;
1010
100 most recent check-ins.
1111
1212
* <a target='_blank' class='exbtn'
1313
href='$ROOT/finfo?name=src/file.c'>(Example)</a> &rarr;
1414
All changes to the <b>src/file.c</b> source file.
1515
1616
* <a target='_blank' class='exbtn'
17
- href='$ROOT/timeline?n=200&uf=0c3c2d086a'>(Example)</a> &rarr;
17
+ href='$ROOT/timeline?n1=200&uf=0c3c2d086a'>(Example)</a> &rarr;
1818
All check-ins using a particular version of the <b>src/file.c</b>
1919
source file.
2020
2121
* <a target='_blank' class='exbtn'
22
- href='$ROOT/timeline?n=11&y=ci&c=2014-01-01'>(Example)</a> &rarr;
22
+ href='$ROOT/timeline?n1=11&y=ci&c=2014-01-01'>(Example)</a> &rarr;
2323
Check-ins proximate to an historical point in time (2014-01-01).
2424
2525
* <a target='_blank' class='exbtn'
26
- href='$ROOT/timeline?n=11&y=ci&c=2014-01-01&v=1'>(Example)</a> &rarr;
26
+ href='$ROOT/timeline?df=release&y=ci'>(Example)</a> &rarr;
27
+ All check-ins derived from the most recent release.
28
+
29
+ * <a target='_blank' class='exbtn'
30
+ href='$ROOT/timeline?n1=11&y=ci&c=2014-01-01&v=1'>(Example)</a> &rarr;
2731
The previous example augmented with file changes.
2832
2933
* <a target='_blank' class='exbtn'
30
- href='$ROOT/timeline?n=25&y=ci&a=1970-01-01'>(Example)</a> &rarr;
34
+ href='$ROOT/timeline?n1=25&y=ci&a=1970-01-01'>(Example)</a> &rarr;
3135
First 25 check-ins after 1970-01-01. (The first 25 check-ins of
3236
the project.)
3337
3438
* <a target='_blank' class='exbtn'
35
- href='$ROOT/timeline?n=200&r=svn-import'>(Example)</a> &rarr;
39
+ href='$ROOT/timeline?n1=200&r=svn-import'>(Example)</a> &rarr;
3640
All check-ins of the "svn-import" branch together with check-ins
3741
that merge with that branch.
3842
3943
* <a target='_blank' class='exbtn'
40
- href='$ROOT/timeline?n=200&t=svn-import'>(Example)</a> &rarr;
44
+ href='$ROOT/timeline?n1=200&t=svn-import'>(Example)</a> &rarr;
4145
All check-ins of the "svn-import" branch only.
4246
4347
* <a target='_blank' class='exbtn'
44
- href='$ROOT/timeline?n=100&y=ci&ubg'>(Example)</a> &rarr;
48
+ href='$ROOT/timeline?n1=100&y=ci&ubg'>(Example)</a> &rarr;
4549
100 most recent check-ins color coded by committer rather than by branch.
4650
4751
* <a target='_blank' class='exbtn'
4852
href='$ROOT/timeline?from=version-1.27&to=version-1.28'>(Example)</a> &rarr;
4953
All check-ins on the most direct path from
5054
--- www/webpage-ex.md
+++ www/webpage-ex.md
@@ -4,46 +4,50 @@
4 Here are just a few examples of the many web pages supported
5 by Fossil. Follow hyperlinks on the examples below to see many
6 other examples.
7
8 * <a target='_blank' class='exbtn'
9 href='$ROOT/timeline?y=ci&n=100'>(Example)</a> &rarr;
10 100 most recent check-ins.
11
12 * <a target='_blank' class='exbtn'
13 href='$ROOT/finfo?name=src/file.c'>(Example)</a> &rarr;
14 All changes to the <b>src/file.c</b> source file.
15
16 * <a target='_blank' class='exbtn'
17 href='$ROOT/timeline?n=200&uf=0c3c2d086a'>(Example)</a> &rarr;
18 All check-ins using a particular version of the <b>src/file.c</b>
19 source file.
20
21 * <a target='_blank' class='exbtn'
22 href='$ROOT/timeline?n=11&y=ci&c=2014-01-01'>(Example)</a> &rarr;
23 Check-ins proximate to an historical point in time (2014-01-01).
24
25 * <a target='_blank' class='exbtn'
26 href='$ROOT/timeline?n=11&y=ci&c=2014-01-01&v=1'>(Example)</a> &rarr;
 
 
 
 
27 The previous example augmented with file changes.
28
29 * <a target='_blank' class='exbtn'
30 href='$ROOT/timeline?n=25&y=ci&a=1970-01-01'>(Example)</a> &rarr;
31 First 25 check-ins after 1970-01-01. (The first 25 check-ins of
32 the project.)
33
34 * <a target='_blank' class='exbtn'
35 href='$ROOT/timeline?n=200&r=svn-import'>(Example)</a> &rarr;
36 All check-ins of the "svn-import" branch together with check-ins
37 that merge with that branch.
38
39 * <a target='_blank' class='exbtn'
40 href='$ROOT/timeline?n=200&t=svn-import'>(Example)</a> &rarr;
41 All check-ins of the "svn-import" branch only.
42
43 * <a target='_blank' class='exbtn'
44 href='$ROOT/timeline?n=100&y=ci&ubg'>(Example)</a> &rarr;
45 100 most recent check-ins color coded by committer rather than by branch.
46
47 * <a target='_blank' class='exbtn'
48 href='$ROOT/timeline?from=version-1.27&to=version-1.28'>(Example)</a> &rarr;
49 All check-ins on the most direct path from
50
--- www/webpage-ex.md
+++ www/webpage-ex.md
@@ -4,46 +4,50 @@
4 Here are just a few examples of the many web pages supported
5 by Fossil. Follow hyperlinks on the examples below to see many
6 other examples.
7
8 * <a target='_blank' class='exbtn'
9 href='$ROOT/timeline?y=ci&n1=100'>(Example)</a> &rarr;
10 100 most recent check-ins.
11
12 * <a target='_blank' class='exbtn'
13 href='$ROOT/finfo?name=src/file.c'>(Example)</a> &rarr;
14 All changes to the <b>src/file.c</b> source file.
15
16 * <a target='_blank' class='exbtn'
17 href='$ROOT/timeline?n1=200&uf=0c3c2d086a'>(Example)</a> &rarr;
18 All check-ins using a particular version of the <b>src/file.c</b>
19 source file.
20
21 * <a target='_blank' class='exbtn'
22 href='$ROOT/timeline?n1=11&y=ci&c=2014-01-01'>(Example)</a> &rarr;
23 Check-ins proximate to an historical point in time (2014-01-01).
24
25 * <a target='_blank' class='exbtn'
26 href='$ROOT/timeline?df=release&y=ci'>(Example)</a> &rarr;
27 All check-ins derived from the most recent release.
28
29 * <a target='_blank' class='exbtn'
30 href='$ROOT/timeline?n1=11&y=ci&c=2014-01-01&v=1'>(Example)</a> &rarr;
31 The previous example augmented with file changes.
32
33 * <a target='_blank' class='exbtn'
34 href='$ROOT/timeline?n1=25&y=ci&a=1970-01-01'>(Example)</a> &rarr;
35 First 25 check-ins after 1970-01-01. (The first 25 check-ins of
36 the project.)
37
38 * <a target='_blank' class='exbtn'
39 href='$ROOT/timeline?n1=200&r=svn-import'>(Example)</a> &rarr;
40 All check-ins of the "svn-import" branch together with check-ins
41 that merge with that branch.
42
43 * <a target='_blank' class='exbtn'
44 href='$ROOT/timeline?n1=200&t=svn-import'>(Example)</a> &rarr;
45 All check-ins of the "svn-import" branch only.
46
47 * <a target='_blank' class='exbtn'
48 href='$ROOT/timeline?n1=100&y=ci&ubg'>(Example)</a> &rarr;
49 100 most recent check-ins color coded by committer rather than by branch.
50
51 * <a target='_blank' class='exbtn'
52 href='$ROOT/timeline?from=version-1.27&to=version-1.28'>(Example)</a> &rarr;
53 All check-ins on the most direct path from
54

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button