Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Improvements to the /timeline documentation. |
|---|---|
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
e448abd0eaff223f39ea4c15b39bc2fc |
| User & Date: | drh 2016-05-30 00:42:02.469 |
Context
|
2016-05-30
| ||
| 10:14 | Fix a typo in the wiki documentation. check-in: bce6bec7ef user: drh tags: trunk | |
| 00:42 | Improvements to the /timeline documentation. check-in: e448abd0ea user: drh tags: trunk | |
|
2016-05-29
| ||
| 23:57 | Minor documentation updates. check-in: ac8aa0c6d9 user: drh tags: trunk | |
Changes
Changes to src/main.c.
| ︙ | ︙ | |||
1281 1282 1283 1284 1285 1286 1287 |
const char *zCmd = P("cmd");
if( zCmd==0 ) zCmd = P("name");
style_header("Command-line Help");
if( zCmd ){
int rc, idx;
char *z, *s, *d;
| < > > > | > > > | 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 |
const char *zCmd = P("cmd");
if( zCmd==0 ) zCmd = P("name");
style_header("Command-line Help");
if( zCmd ){
int rc, idx;
char *z, *s, *d;
style_submenu_element("Command-List", "Command-List", "%s/help", g.zTop);
if( *zCmd=='/' ){
/* Some of the webpages require query parameters in order to work.
** @ <h1>The "<a href='%R%s(zCmd)'>%s(zCmd)</a>" page:</h1> */
@ <h1>The "%s(zCmd)" page:</h1>
}else{
@ <h1>The "%s(zCmd)" command:</h1>
}
rc = name_search(zCmd, aCommand, count(aCommand), 0, &idx);
if( rc==1 ){
@ unknown command: %s(zCmd)
}else if( rc==2 ){
@ ambiguous command prefix: %s(zCmd)
}else{
z = (char*)aCmdHelp[idx].zText;
|
| ︙ | ︙ |
Changes to src/timeline.c.
| ︙ | ︙ | |||
1191 1192 1193 1194 1195 1196 1197 | ** ** Query parameters: ** ** a=TIMEORTAG after this event ** b=TIMEORTAG before this event ** c=TIMEORTAG "circa" this event ** m=TIMEORTAG mark this event | | | | | | | | < | | | | | | > < < < | 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 |
**
** Query parameters:
**
** a=TIMEORTAG after this event
** b=TIMEORTAG before this event
** c=TIMEORTAG "circa" this event
** m=TIMEORTAG mark this event
** n=COUNT suggested number of events in output
** p=CHECKIN parents and ancestors of CHECKIN
** d=CHECKIN descendants of CHECIN
** dp=CHECKIN The same as d=CHECKIN&p=CHECKIN
** t=TAG show only check-ins with the given TAG
** r=TAG show check-ins related to TAG
** u=USER only show items associated with USER
** y=TYPE 'ci', 'w', 't', 'e', or (default) 'all'
** ng No Graph.
** nd Do not highlight the focus check-in
** v Show details of files changed
** f=CHECKIN Show family (immediate parents and children) of CHECKIN
** from=CHECKIN Path from...
** to=CHECKIN ... to this
** shortest ... show only the shortest path
** uf=FILE_SHA1 Show only check-ins that contain the given file version
** brbg Background color from branch name
** ubg Background color from user
** namechng Show only check-ins that have filename changes
** forks Show only forks and their children
** ym=YYYY-MM Show only events for the given year/month.
** yw=YYYY-WW Show only events for the given week of the given year
** ymd=YYYY-MM-DD Show only events on the given day
** datefmt=N Override the date format
** bisect Show the check-ins that are in the current bisect
**
** p= and d= can appear individually or together. If either p= or d=
** appear, then u=, y=, a=, and b= are ignored.
**
** If both a= and b= appear then both upper and lower bounds are honored.
*/
void page_timeline(void){
Stmt q; /* Query used to generate the timeline */
Blob sql; /* text of SQL used to generate timeline */
Blob desc; /* Description of the timeline */
int nEntry; /* Max number of entries on timeline */
int p_rid = name_to_typed_rid(P("p"),"ci"); /* artifact p and its parents */
|
| ︙ | ︙ |