Fossil: Check-in [2be93e3dad]

Fossil SCM

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Changing the Timeline submenu between "Basic" and "Advanced" should be a sticky setting.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256:2be93e3dad65fa19d49c5b5bbc6360f2b4879e920b21e61fbb0c7cbf8b8375da
User & Date: drh 2018-12-12 18:15:14
Context
2018-12-12
19:31
Simplification of wiki menus. check-in: 98f5b40233 user: drh tags: trunk
18:15
Changing the Timeline submenu between "Basic" and "Advanced" should be a sticky setting. check-in: 2be93e3dad user: drh tags: trunk
14:28
Fix the "fossil test-all-help -e" command so that it shows help for test commands and settings. check-in: cb3a89058c user: drh tags: trunk
Changes

Changes to src/timeline.c.

2093
2094
2095
2096
2097
2098
2099
2100

2101
2102

2103
2104
2105
2106
2107
2108
2109
  if( PB("showsql") ){
    @ <pre>%h(blob_sql_text(&sql))</pre>
  }
  if( search_restrict(SRCH_CKIN)!=0 ){
    style_submenu_element("Search", "%R/search?y=c");
  }
  if( advancedMenu ){
    style_submenu_element("Basic", "%s", url_render(&url, "advm", "0", 0, 0));

  }else{
    style_submenu_element("Advanced", "%s", url_render(&url, "advm", "1", 0, 0));

  }
  if( PB("showid") ) tmFlags |= TIMELINE_SHOWRID;
  if( useDividers && zMark && zMark[0] ){
    double r = symbolic_name_to_mtime(zMark);
    if( r>0.0 ) selectedRid = timeline_add_divider(r);
  }
  blob_zero(&sql);







|
>

|
>







2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
  if( PB("showsql") ){
    @ <pre>%h(blob_sql_text(&sql))</pre>
  }
  if( search_restrict(SRCH_CKIN)!=0 ){
    style_submenu_element("Search", "%R/search?y=c");
  }
  if( advancedMenu ){
    style_submenu_element("Basic", "%s", 
        url_render(&url, "advm", "0", "udc", "1"));
  }else{
    style_submenu_element("Advanced", "%s",
        url_render(&url, "advm", "1", "udc", "1"));
  }
  if( PB("showid") ) tmFlags |= TIMELINE_SHOWRID;
  if( useDividers && zMark && zMark[0] ){
    double r = symbolic_name_to_mtime(zMark);
    if( r>0.0 ) selectedRid = timeline_add_divider(r);
  }
  blob_zero(&sql);