1
What's changed in loggerhead?
2
=============================
7
- Syntax highlighting is no longer applied for files greater than 512K,
8
reducing codebrowse.launchpad.net overloading.
9
(Max Kanat-Alexander, #513044)
11
- Documentation added in the docs directory. README simplified
12
accordingly. (Tres Seaver).
14
- Show svn/git/hg revision ids in loggerhead revision view.
17
- Fix .bzr/smart access to branches in shared repos. (You also need
18
a version of bzr with bug #348308 fixed.) (Andrew Bennetts)
20
- Support FastCGI, SCGI and AJP using flup. (Denis Martinez)
22
- Repository.get_revision_inventory() was removed in bzr 2.2; use
23
Repository.get_inventory() instead. (Matt Nordhoff, #528194)
25
- Ignore readonly+ prefix when checking if Loggerhead is serving a
26
local location. (Reported by Tres Seaver.) (Matt Nordhoff)
28
- Set Cache-Control and Expires headers on static pages.
35
- Add bug links in revision informations (Alexandre Garnier, #314052)
37
- Make sure that binary files aren't annotated. (Martin Albisetti,
40
- Loggerhead now serves bzr branches over HTTP and exposes the URL
41
to branch them. Addresses bug #240577. (Jonathan Lange)
43
- Leading blank lines in commit messages no longer result in an
44
empty summary. (Colin Watson)
46
- Added optional syntax highlighting to annotate view using
47
python-pygments. Partially addresses bug #306631. (Peter Bui)
49
- Convert newlines in commit messages to HTML line breaks for
50
annotate and changelog views. Addresses bug #273688. (Peter
53
- serve-branches now errors if run behind a proxy without
54
paste.deploy installed. (Michael Hudson)
56
- Loggerhead should now handle file and directory names that need
57
URL escaping without crashing.
59
- The start-loggerhead script properly sets the wsgi.url_scheme
60
from the server.webpath option. (neror, #260547)
62
- The revision page defaults to unified style again, and can
63
convert to a side-by-side view using JavaScript. (Michael Hudson)
65
- Clean up and improve performance of the annotate view. (Michael
68
- Finish converting JavaScript from MooTools to YUI 3. (Michael
71
- Improve compatibility with IE 6. (Michael Hudson)
73
- Leading blank lines in commit messages no longer result in an
74
empty summary. (Colin Watson)
76
- Clip long lines in side-by-side diff view. (Michael Hudson,
79
- The user-confusing "next" and "previous" links now read "older"
80
and "newer" respectively. (Michael Hudson, #297930)
82
- The annotate view now contains line number anchors. (Michael
85
- Fix inventory pages using "//" in links. (Michael Hudson, #329668)
87
- Fix problems viewing files and directories containing spaces and
88
other funny characters. (Peter Bui)
90
- Changelog messages are now displayed with newlines preserved.
93
- Offer a link to see the full file diffs for a file path. (Michael
96
- Fix annotate error caused by Pygments stripping trailing
97
whitespace. (Michael Hudson, #338762)
99
- Loggerhead can be installed as a Bazaar plugin and run by
100
'bzr serve --http'. (Martin Pool)
102
- Load parts of the changelog and revision pages via XMLHttpRequest
103
to improve performance. This adds a dependency on simplejson or
104
json. Partially addresses bug #253950. (Michael Hudson)
106
- Various improvements to the animation JavaScript. (Michael Hudson)
108
- Fix HTML content of source files being displayed unescaped when
109
Pygments was unavailable. (Michael Hudson, #344970)
111
- Fix serve-branches's path argument. (Michael Hudson, #353230)
113
- serve-branches now has an option, --use-cdn, to load YUI from
114
Yahoo!'s CDN. (Matt Nordhoff)
116
- Fix certain race conditions for loading bzr-search. (Robert
119
- Fix errors when using serve-branches --log-folder or --user-dirs.
120
(It was calling config.get_option() incorrectly.) (Matt Nordhoff,
123
- Move some caching from RAM to the disk, and other caching and
124
memory usage improvements. (Michael Hudson)
126
- Add a --cache-dir option to serve-branches to choose where to
127
place the SQL cache, and only create one temporary SQL dir per
128
process. (Matt Nordhoff, #358322)
130
- Replace homebrew memory profiling code with Dozer. (Paul Hummer)
132
- Use the branch's public_branch as the default suggested URL to
133
branch from (Matt Nordhoff, #369767)
135
- Fix a file descriptor leak (Matt Nordhoff, #370845)
137
- Use transport API internally, so it is possible to specify a remote
138
URL to serve-branches. (Jelmer Vernooij, #371787)
140
- Fix internal server errors when using start-loggerhead. (Matt
143
- Fix annotating non-UTF-8 files when Pygments is disabled. (Matt
146
- Fix 'bzr serve --http' errors. (Matt Nordhoff, #377551)
148
- Added the option to hide branches by setting http_serve = False
149
in locations.conf (Martin Albisetti)
151
- Fix serving branches over HTTP. (Matt Nordhoff, Jelmer Vernooij,
154
- Install loggerhead as a bzr plugin by default (Jelmer Vernooij)
156
- Fix logging 404 Not Found responses (Matt Nordhoff, #381029)
158
- Bumped minimunm bzrlib version to 1.13 (Martin Albisetti)
160
- Make sure the Atom feeds (nearly) validate. (Matt Nordhoff, #247162)
162
- Support serving branches over HTTP using the smart server protocol.
163
(Jelmer Vernooij, #306853)
165
- Serving branch data was broken when --allow-writes was *not*
166
passed. (Michael Hudson, #388730)
168
- http_serve config values are interpreted more forgivingly.
171
- When specifying a remote url to serve-branches, do not share
172
connections between threads. (Michael Hudson, #390972)
174
- http_serve values from locations.conf are now applied to
175
non-branch .bzr data (e.g shared repositories). (Michael Hudson)
177
- tags are now displayed. (Cris Boylan, Alexandre Garnier, Michael
180
- Display Loggerhead's version number at the bottom of the page, and
181
add a <meta> generator tag also including the version numbers of
182
its dependencies. (Matt Nordhoff, #370155)
188
- Add startup deamon script for Linux (Marius Kruger)
190
- Switch navigation from file_ids to paths. Fixes bugs #260363,
191
#269365 and #128926. (Martin Albisetti)
193
- Fix bug #258710 ("the /files page explodes in an empty branch").
194
Also minor improvements to the /files and /changes pages.
197
- Added --port, --host and --prefix options to serve-branches
198
script. (Martin Albisetti)
200
- Fixed broken template for project browsing with start-loggerhead
203
- Added --reload options to restart the application when a python
204
file change. (Guillermo Gonzalez)
206
- Added error handling middleware. (Guillermo Gonzalez)
208
- Fix bug #243415 ("Tracebacks go to console but not log
209
file"). Also minor improvements to logging in serve-branches and
210
start-loggerhead. (Guillermo Gonzalez)
215
- Download a diffs between revisions. (Martin Albisetti)
217
- Modified templates to make loggerhead's theme easier to
218
change. (Paul Hummer)
220
- Default sqlite interface is now sqlite3. (Robert Collins)
222
- New ninja theme sponsored by Canonical (Martin Albisetti)
224
- Added COPYING file and clarified copyright headers (John Arbash Meinel)
226
- Remove the .py extension requiered by the Debian Policy.
229
- New startup script serve-branches will serve Loggerhead without
230
the need of configuration, and allow you to browse through directories
231
and branches. (Michael Hudson)
233
- Loggerhead is no longer a TurboGears application, but rather a
234
WSGI application built using Paste (see http://wsgi.org/ and
235
http://pythonpaste.org/ for more about WSGI and Paste).
237
- URLs now use revision numbers instead of revision ids (Martin Albisetti)
239
- The scripts no longer insist on Python 2.4 -- loggerhead works
242
- Bazaar as of version 1.5 has improved in performance enough that
243
the revision cache no longer gave any noticeable benefit, so it
244
was removed (the files-changed cache is still useful).
246
- The templates were rewritten in Zope's TAL markup, powered by
247
the simpleTAL library -- improving both the performance and
248
memory consumption of rendering by a factor of around 3 for
249
large pages over the old Kid templates.
251
- Loggerhead's poorly performing text index was disabled. bzr-search
252
is now used if the plugin is installed and a text index is present
253
on the branch being viewed. (Martin Albisetti, Robert Collins).
255
- Loggerhead no longer depends on bzrlib functions deprecated in
256
Bazaar 1.5 and removed in 1.6 (Martin Albisetti).
258
- The daemonization code was made more regular, fixing bugs
259
#139161 ("Starting loggerhead process may not close its stdin
260
and stdout properly") and #211526 ("Codebrowse log directory has
261
unnecessarily permissive permissions")
263
- Some confusion about what the 'file_id' query argument means was
264
cleared up: filter_file_id now means "filter revisions to those
265
that affect this file" in all views and file_id means "examine
266
this file/directory" in the annotate and inventory views.
268
- Dates are present more compactly.
270
- The loggerhead.conf file can specify which network interface to
271
bind to (Mattias Eriksson)
276
- The changelog view was out of order when not using the revision
281
- Michael Hudson <michael.hudson@canonical.com> has mostly taken
282
over the maintenance of loggerhead.
284
- loggerhead now has a simple test suite -- use 'nosetests' in the
285
loggerhead directory to run it.
287
- The rendering performance of pages that display large amounts of
288
text was improved by a factor of 4 or so.
290
- loggerhead no longer caches the text of the diffs between
291
revisions. It rarely helped and wasted a lot of disk space.
293
- The layout of most pages was made more "tight" to waste less
294
screen real estate, and some other UI improvements (Kent
297
- Much dead code was removed.
299
- Loggerhead now computes the files changed between revisions only
300
when it needs to know this. This is a fairly expensive
301
operation in Bazaar, and doing it less massively improves
302
performance and memory usage in some situations.
304
- Loggerhead now takes a read lock on the branch being viewed for
305
the duration of each request, which improves performance
308
- Loggerhead no longer uses the corruption-prone Berkely DB-backed
309
shelve module for its caches, and rather (ab)uses a sqlite
312
- The creation of History objects is much faster for large
313
branches (Aaron Bentley).
315
- Allow the construction of URLs using revnos and file paths as
316
well as revids and fileids (bug #98826):
318
- For changes pages, append the newest revno to display to the
319
URL, like http://.../changes/<revno>
321
- For annotate pages, append the revno to display to the URL,
322
followed by the path, like http://.../annotate/<revno>/<path>
324
- For file listing and revision pages append the revno to
325
display to the URL, like http://.../files/<revno>
327
Loggerhead still generates URLs using revision and file ids for
330
- Many bugs were fixed:
332
- Loggerhead does not escape special characters when embedding a
333
revision ID in a URL (bug #88286)
335
- Improved robustness in the face of ghosts.
337
- Don't crash on displaying a commit with an empty message (bug
340
- codebrowse fails with infinite redirections (James Henstridge,
343
- Loggerhead fails to browse revisions that change binary files
344
(James Henstridge, bug #91686)
346
- Loggerhead atom feeds expose internal hostname (James
347
Henstridge, bug #93585)
349
- loggerhead don't like page break character (0x0C) in text
352
- codebrowse source listings don't contain line number anchors
355
- only serve up unescaped user content with "Content-Disposition:
358
- viewing the file listing consumes a lot memory (bug #116869)
360
- loggerhead can't handle empty branches (bug #119228)
362
- upgrading the format of a branch behind loggerhead could make
363
it fail for that branch (bug #118673)
365
- Error parsing non-ascii content (bug #117799)
367
- Loggerhead failed on whitespace-only commit messages.
369
- Links to diffs from within a revision do not work (bug
372
- UTF-8 patches served as ISO-8859-1, fixed by served bundles as
373
application/octet-stream (bug #121336)
375
- TurboGears was turning query arguments into unicode, and bzr
376
stopped accepting unicode revids (bug #175228)
382
- fix broken inventory page (oops!)
384
- fix a few rendering problems with kid and safari
390
- new feature to compare two revisions to each other
392
- inserted text in diffs is now blue instead of green
394
- fixed to start and stop as a daemon now (use "-f" to run in the
395
foreground), and all config is in loggerhead.conf (no need to mess with
398
- renamed show/hide javascript buttons to expand/collapse, and made them
401
- added an atom-feed link to each branch on the browse page [elliot
404
- auto-publish feature for multiple branches under a single folder (see
405
loggerhead.conf.example)
407
- added the ability to share cache files per-project instead of just
410
- added side-by-side diff display for the revision page (which is the
411
default), with a button to switch between side-by-side and unified diff
414
- made caching use file locking, and close cleanly on shutdown
416
- miscellaneous speed and page-size improvements