Fossil

Changes On Branch dir_history_link
Login

Changes On Branch dir_history_link

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

Changes In Branch dir_history_link Excluding Merge-Ins

This is equivalent to a diff from a6993f9b to ad9d418c

2017-03-15
19:06
Add the "[history]" link on the /dir page for subdirectories. ... (check-in: 6a01228f user: drh tags: trunk)
18:34
On the /tarball and /zip pages, use r= as the query parameter to select which check-in to download. The uuid= query parameter is still accepted as an alias for backwards compatibility. ... (check-in: ece33ee1 user: drh tags: trunk)
18:20
Merge latest trunk ... (Closed-Leaf check-in: ad9d418c user: mgagnon tags: dir_history_link)
17:27
If a directory listing (from /file or /dir or /tree) contains a README file, then render the content of that README beneath the directory listing. Example: /file/skins ... (check-in: a6993f9b user: drh tags: trunk)
15:43
Enhance the /file/NAME page so that it shows directory listings if the NAME argument is a directory instead of a file. If NAME is omitted, it shows all the files at the top-level. ... (check-in: 9f3bad83 user: drh tags: trunk)
2017-02-08
18:28
On /dir page, add a link named "[history]" that point to the timeline affecting only the files inside the current directory. Use the "chng=dirname/*" query parameter of the /timeline page)
TODO: Implement the same in Tree-View mode (could add the link beside each directory)
... (check-in: c458c3f6 user: mgagnon tags: dir_history_link)

Changes to src/browse.c.

185
186
187
188
189
190
191
192




193
194
195
196
197
198
199
                          url_render(&sURI, "ci", "trunk", 0, 0));
  }
  if( linkTip ){
    style_submenu_element("Tip", "%s", url_render(&sURI, "ci", "tip", 0, 0));
  }
  if( zCI ){
    @ <h2>Files of check-in [%z(href("vinfo?name=%!S",zUuid))%S(zUuid)</a>]
    @ %s(blob_str(&dirname))</h2>




    zSubdirLink = mprintf("%R/dir?ci=%!S&name=%T", zUuid, zPrefix);
    if( nD==0 ){
      style_submenu_element("File Ages", "%R/fileage?name=%!S", zUuid);
    }
  }else{
    @ <h2>The union of all files from all check-ins
    @ %s(blob_str(&dirname))</h2>







|
>
>
>
>







185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
                          url_render(&sURI, "ci", "trunk", 0, 0));
  }
  if( linkTip ){
    style_submenu_element("Tip", "%s", url_render(&sURI, "ci", "tip", 0, 0));
  }
  if( zCI ){
    @ <h2>Files of check-in [%z(href("vinfo?name=%!S",zUuid))%S(zUuid)</a>]
    @ %s(blob_str(&dirname))
    if( zD ){
      @ %z(href("%R/timeline?chng=%T/*", zD))&nbsp;&nbsp;[history]</a>
    }
    @ </h2>
    zSubdirLink = mprintf("%R/dir?ci=%!S&name=%T", zUuid, zPrefix);
    if( nD==0 ){
      style_submenu_element("File Ages", "%R/fileage?name=%!S", zUuid);
    }
  }else{
    @ <h2>The union of all files from all check-ins
    @ %s(blob_str(&dirname))</h2>