Fossil

Check-in [b84b8bf359]
Login

Check-in [b84b8bf359]

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

Overview
Comment:Always include the "Annotate" and "Blame" submenu items of the /file page, not just for cases of text/ mimetypes, since some files (ex: Makefile.in) do not have a well-defined mimetype, but we do want to Annotate them.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: b84b8bf3591ce225eb4ab9e071f0ef343c58c3b45b83907538e1529c16755187
User & Date: drh 2021-01-09 18:43:40.338
Context
2021-01-10
01:40
Performance optimization for /hexdump. Also, prevent /hexdump from working for robots, as robots like to download thousands of /hexdumps from servers and soak up CPU time and bandwidth, and I cannot think of any reason for a robot to actually need a hexdump. ... (check-in: 60736abcf6 user: drh tags: trunk)
2021-01-09
18:43
Always include the "Annotate" and "Blame" submenu items of the /file page, not just for cases of text/ mimetypes, since some files (ex: Makefile.in) do not have a well-defined mimetype, but we do want to Annotate them. ... (check-in: b84b8bf359 user: drh tags: trunk)
2021-01-08
15:25
In the makefiles, put sqlite3.o early in the dependency list so that on a multithreaded make, it starts earliest. This makes the multithreaded makes finish sooner. ... (check-in: 8ca760ce97 user: drh tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/info.c.
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
      }else{
        @ part of check-in %z(href("%R/info/%!S",zCIUuid))%S(zCIUuid)</a></h2>
      }
      blob_reset(&path);
    }
    style_submenu_element("Artifact", "%R/artifact/%S", zUuid);
    zMime = mimetype_from_name(zName);
    if( zMime && strncmp(zMime, "text/", 5)==0 ){
      style_submenu_element("Annotate", "%R/annotate?filename=%T&checkin=%T",
                            zName, zCI);
      style_submenu_element("Blame", "%R/blame?filename=%T&checkin=%T",
                            zName, zCI);
    }
    blob_init(&downloadName, zName, -1);
    objType = OBJTYPE_CONTENT;
  }else{
    @ <h2>Artifact
    style_copy_button(1, "hash-ar", 0, 2, "%s", zUuid);
    if( g.perm.Setup ){
      @  (%d(rid)):</h2>







<
|
|
|
|
<







2365
2366
2367
2368
2369
2370
2371

2372
2373
2374
2375

2376
2377
2378
2379
2380
2381
2382
      }else{
        @ part of check-in %z(href("%R/info/%!S",zCIUuid))%S(zCIUuid)</a></h2>
      }
      blob_reset(&path);
    }
    style_submenu_element("Artifact", "%R/artifact/%S", zUuid);
    zMime = mimetype_from_name(zName);

    style_submenu_element("Annotate", "%R/annotate?filename=%T&checkin=%T",
                          zName, zCI);
    style_submenu_element("Blame", "%R/blame?filename=%T&checkin=%T",
                          zName, zCI);

    blob_init(&downloadName, zName, -1);
    objType = OBJTYPE_CONTENT;
  }else{
    @ <h2>Artifact
    style_copy_button(1, "hash-ar", 0, 2, "%s", zUuid);
    if( g.perm.Setup ){
      @  (%d(rid)):</h2>