Collection of themes/skins for the Fossil SCM. Public write access, just make an account.

⌈⌋ branch:  Fossil Skins Extra


Check-in [78ca2743a3]

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

Overview
Comment:Gitub file box: only probe for deleted files from "trunk".
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:78ca2743a323f2edab3f464799244acb755a3e4a
User & Date: mario 2014-11-27 06:29:49
Context
2015-01-22
14:00
Bootstrap theme from https://flintcode.com/repo/skin/home check-in: 1163bd8995 user: mario tags: trunk
2014-11-27
06:29
Gitub file box: only probe for deleted files from "trunk". check-in: 78ca2743a3 user: mario tags: trunk
2014-04-27
17:35
Skip deleted files when scanning. check-in: fc89927fee user: mario tags: trunk
Changes

Changes to features/th1x.tcl.

324
325
326
327
328
329
330

331
332
333
334
335
336
337
...
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368


#-- outputs table rows containing top-level filenames and recent checkin comments
proc ui::recent_files {dirname} {
   set seen ".gitignore"
   
   # search files using directory as base path

   set cutname 0
   set AND_DIR ""
   if {[string length $dirname] && [sql::allowed $dirname]} {
       set dirname "$dirname/"
       set cutname [string length $dirname]
       set AND_DIR " AND substr(name, 0, $cutname+1) = '$dirname' "
   }
................................................................................
       SELECT DISTINCT
          mlink.fnid,
          instr(substr(name,$cutname+1),'/')  AS  is_dir,
          name                                AS  pathname,
          bf.rid   AS  fn_rid,     bf.uuid    AS  fn_uuid,
          bm.rid   AS  ci_rid,     bm.uuid    AS  ci_uuid,
          substr(comment, 0, 70)              AS  comment,
          CAST(julianday('now')-mtime AS INT) AS  age
       FROM
          filename
          JOIN mlink ON mlink.fnid=filename.fnid
          JOIN blob bf ON bf.rid=mlink.fid
          JOIN blob bm ON bm.rid=mlink.mid
          JOIN event ON event.objid=mlink.mid
       WHERE
          (mlink.fnid NOT IN (SELECT fnid FROM mlink WHERE fid=0))
          $AND_DIR
       GROUP BY
          name
       ORDER BY
          is_dir DESC, name ASC, mtime DESC
   " {

      # separate directories and files
      set name [string range $pathname $cutname 2048]
      set dir [string first "/" $name]
      if {$dir>0} { set name [string range $name 0 [expr $dir-1]] }








>







 







|







|




|







324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
...
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369


#-- outputs table rows containing top-level filenames and recent checkin comments
proc ui::recent_files {dirname} {
   set seen ".gitignore"
   
   # search files using directory as base path
   set branch "trunk"
   set cutname 0
   set AND_DIR ""
   if {[string length $dirname] && [sql::allowed $dirname]} {
       set dirname "$dirname/"
       set cutname [string length $dirname]
       set AND_DIR " AND substr(name, 0, $cutname+1) = '$dirname' "
   }
................................................................................
       SELECT DISTINCT
          mlink.fnid,
          instr(substr(name,$cutname+1),'/')  AS  is_dir,
          name                                AS  pathname,
          bf.rid   AS  fn_rid,     bf.uuid    AS  fn_uuid,
          bm.rid   AS  ci_rid,     bm.uuid    AS  ci_uuid,
          substr(comment, 0, 70)              AS  comment,
          CAST(julianday('now')-event.mtime AS INT) AS  age
       FROM
          filename
          JOIN mlink ON mlink.fnid=filename.fnid
          JOIN blob bf ON bf.rid=mlink.fid
          JOIN blob bm ON bm.rid=mlink.mid
          JOIN event ON event.objid=mlink.mid
       WHERE
          mlink.fnid NOT IN (SELECT fnid FROM mlink LEFT JOIN tagxref ON mlink.mid=tagxref.rid WHERE fid=0 AND tagxref.value='$branch')
          $AND_DIR
       GROUP BY
          name
       ORDER BY
          is_dir DESC, name ASC, event.mtime DESC
   " {

      # separate directories and files
      set name [string range $pathname $cutname 2048]
      set dir [string first "/" $name]
      if {$dir>0} { set name [string range $name 0 [expr $dir-1]] }