##// END OF EJS Templates
templater: return data in increasing chunk sizes...
templater: return data in increasing chunk sizes Currently hgweb is not streaming its output -- it accumulates the entire response before sending it. This patch restores streaming behaviour. To avoid having to synchronously write many tiny fragments, this patch also adds buffering to the template generator. Local testing of a fetch of a 100,000 line file with wget produces a slight slowdown overall (up from 6.5 seconds to 7.2 seconds), but instead of waiting 6 seconds for headers to arrive, output begins immediately.

File last commit:

r7331:650e9d69 default
r7396:526c40a7 default
Show More
search.tmpl
42 lines | 1.0 KiB | application/x-cheetah | CheetahLexer
Matt Mackall
templates: add coal web theme
r6436 {header}
<title>{repo|escape}: searching for {query|escape}</title>
</head>
<body>
Matt Mackall
coal: even more tweaks...
r6454 <div class="container">
Matt Mackall
templates: add coal web theme
r6436 <div class="menu">
<div class="logo">
<a href="http://www.selenic.com/mercurial/">
<img src="{staticurl}hglogo.png" width=75 height=90 border=0 alt="mercurial"></a>
</div>
<ul>
<li><a href="{url}shortlog{sessionvars%urlparameter}">log</a></li>
Dirkjan Ochtman
add graph page to hgweb
r6691 <li><a href="{url}graph{sessionvars%urlparameter}">graph</a></li>
Matt Mackall
templates: add coal web theme
r6436 <li><a href="{url}tags{sessionvars%urlparameter}">tags</a></li>
</ul>
</div>
<div class="main">
Thomas Arendsen Hein
Keep sessionvars with repository links added in a0843c82d1a2...
r7331 <h2><a href="{url}{sessionvars%urlparameter}">{repo|escape}</a></h2>
Matt Mackall
templates: add coal web theme
r6436 <h3>searching for '{query|escape}'</h3>
<form class="search" action="{url}log">
{sessionvars%hiddenformentry}
<p><input name="rev" id="search1" type="text" size="30"></p>
Thomas Arendsen Hein
Kill trailing whitespace in templates
r7327 <span>find changesets by author, revision,
Benoit Allard
coal/paper: show a search tip when hovering over search box...
r7299 files, or words in the commit message</span>
Matt Mackall
templates: add coal web theme
r6436 </form>
<table class="bigtable">
Thomas Arendsen Hein
Kill trailing whitespace in templates
r7327 <tr>
Rocco Rutte
coal/paper: make output well-formed and fix css syntax error breaking rendering
r6905 <th class="age">age</th>
<th class="author">author</th>
<th class="description">description</th>
Matt Mackall
templates: add coal web theme
r6436 </tr>
{entries}
</table>
</div>
Matt Mackall
coal: more tweaking...
r6453 </div>
Matt Mackall
templates: add coal web theme
r6436
{footer}