1
What's changed in loggerhead?
2
=============================
7
- Make sure that binary files aren't annotated. (Martin Albisetti,
10
- Loggerhead now serves bzr branches over HTTP and exposes the URL
11
to branch them. Addresses bug #240577. (Jonathan Lange)
13
- Leading blank lines in commit messages no longer result in an
14
empty summary. (Colin Watson)
16
- Added optional syntax highlighting to annotate view using
17
python-pygments. Partially addresses bug #306631. (Peter Bui)
19
- Convert newlines in commit messages to HTML line breaks for
20
annotate and changelog views. Addresses bug #273688. (Peter
23
- serve-branches now errors if run behind a proxy without
24
paste.deploy installed. (Michael Hudson)
26
- Loggerhead should now handle file and directory names that need
27
URL escaping without crashing.
29
- The start-loggerhead script properly sets the wsgi.url_scheme
30
from the server.webpath option. (neror, #260547)
32
- The revision page defaults to unified style again, and can
33
convert to a side-by-side view using JavaScript. (Michael Hudson)
35
- Clean up and improve performance of the annotate view. (Michael
38
- Finish converting JavaScript from MooTools to YUI 3. (Michael
41
- Improve compatibility with IE 6. (Michael Hudson)
43
- Leading blank lines in commit messages no longer result in an
44
empty summary. (Colin Watson)
46
- Clip long lines in side-by-side diff view. (Michael Hudson,
49
- The user-confusing "next" and "previous" links now read "older"
50
and "newer" respectively. (Michael Hudson, #297930)
52
- The annotate view now contains line number anchors. (Michael
55
- Fix inventory pages using "//" in links. (Michael Hudson, #329668)
57
- Fix problems viewing files and directories containing spaces and
58
other funny characters. (Peter Bui)
60
- Changelog messages are now displayed with newlines preserved.
63
- Offer a link to see the full file diffs for a file path. (Michael
66
- Fix annotate error caused by Pygments stripping trailing
67
whitespace. (Michael Hudson, #338762)
69
- Loggerhead can be installed as a Bazaar plugin and run by
70
'bzr serve --http'. (Martin Pool)
72
- Load parts of the changelog and revision pages via XMLHttpRequest
73
to improve performance. This adds a dependency on simplejson or
74
json. Partially addresses bug #253950. (Michael Hudson)
76
- Various improvements to the animation JavaScript. (Michael Hudson)
78
- Fix HTML content of source files being displayed unescaped when
79
Pygments was unavailable. (Michael Hudson, #344970)
81
- Fix serve-branches's path argument. (Michael Hudson, #353230)
83
- serve-branches now has an option, --use-cdn, to load YUI from
84
Yahoo!'s CDN. (Matt Nordhoff)
86
- Fix certain race conditions for loading bzr-search. (Robert
89
- Fix errors when using serve-branches --log-folder or --user-dirs.
90
(It was calling config.get_option() incorrectly.) (Matt Nordhoff,
93
- Move some caching from RAM to the disk, and other caching and
94
memory usage improvements. (Michael Hudson)
96
- Add a --cache-dir option to serve-branches to choose where to
97
place the SQL cache, and only create one temporary SQL dir per
98
process. (Matt Nordhoff, #358322)
100
- Replace homebrew memory profiling code with Dozer. (Paul Hummer)
102
- Use the branch's public_branch as the default suggested URL to
103
branch from (Matt Nordhoff, #369767)
105
- Fix a file descriptor leak (Matt Nordhoff, #370845)
107
- Use transport API internally, so it is possible to specify a remote
108
URL to serve-branches. (Jelmer Vernooij, #371787)
113
- Add startup deamon script for Linux (Marius Kruger)
115
- Switch navigation from file_ids to paths. Fixes bugs #260363,
116
#269365 and #128926. (Martin Albisetti)
118
- Fix bug #258710 ("the /files page explodes in an empty branch").
119
Also minor improvements to the /files and /changes pages.
122
- Added --port, --host and --prefix options to serve-branches
123
script. (Martin Albisetti)
125
- Fixed broken template for project browsing with start-loggerhead
128
- Added --reload options to restart the application when a python
129
file change. (Guillermo Gonzalez)
131
- Added error handling middleware. (Guillermo Gonzalez)
133
- Fix bug #243415 ("Tracebacks go to console but not log
134
file"). Also minor improvements to logging in serve-branches and
135
start-loggerhead. (Guillermo Gonzalez)
140
- Download a diffs between revisions. (Martin Albisetti)
142
- Modified templates to make loggerhead's theme easier to
143
change. (Paul Hummer)
145
- Default sqlite interface is now sqlite3. (Robert Collins)
147
- New ninja theme sponsored by Canonical (Martin Albisetti)
149
- Added COPYING file and clarified copyright headers (John Arbash Meinel)
151
- Remove the .py extension requiered by the Debian Policy.
154
- New startup script serve-branches will serve Loggerhead without
155
the need of configuration, and allow you to browse through directories
156
and branches. (Michael Hudson)
158
- Loggerhead is no longer a TurboGears application, but rather a
159
WSGI application built using Paste (see http://wsgi.org/ and
160
http://pythonpaste.org/ for more about WSGI and Paste).
162
- URLs now use revision numbers instead of revision ids (Martin Albisetti)
164
- The scripts no longer insist on Python 2.4 -- loggerhead works
167
- Bazaar as of version 1.5 has improved in performance enough that
168
the revision cache no longer gave any noticeable benefit, so it
169
was removed (the files-changed cache is still useful).
171
- The templates were rewritten in Zope's TAL markup, powered by
172
the simpleTAL library -- improving both the performance and
173
memory consumption of rendering by a factor of around 3 for
174
large pages over the old Kid templates.
176
- Loggerhead's poorly performing text index was disabled. bzr-search
177
is now used if the plugin is installed and a text index is present
178
on the branch being viewed. (Martin Albisetti, Robert Collins).
180
- Loggerhead no longer depends on bzrlib functions deprecated in
181
Bazaar 1.5 and removed in 1.6 (Martin Albisetti).
183
- The daemonization code was made more regular, fixing bugs
184
#139161 ("Starting loggerhead process may not close its stdin
185
and stdout properly") and #211526 ("Codebrowse log directory has
186
unnecessarily permissive permissions")
188
- Some confusion about what the 'file_id' query argument means was
189
cleared up: filter_file_id now means "filter revisions to those
190
that affect this file" in all views and file_id means "examine
191
this file/directory" in the annotate and inventory views.
193
- Dates are present more compactly.
195
- The loggerhead.conf file can specify which network interface to
196
bind to (Mattias Eriksson)
201
- The changelog view was out of order when not using the revision
206
- Michael Hudson <michael.hudson@canonical.com> has mostly taken
207
over the maintenance of loggerhead.
209
- loggerhead now has a simple test suite -- use 'nosetests' in the
210
loggerhead directory to run it.
212
- The rendering performance of pages that display large amounts of
213
text was improved by a factor of 4 or so.
215
- loggerhead no longer caches the text of the diffs between
216
revisions. It rarely helped and wasted a lot of disk space.
218
- The layout of most pages was made more "tight" to waste less
219
screen real estate, and some other UI improvements (Kent
222
- Much dead code was removed.
224
- Loggerhead now computes the files changed between revisions only
225
when it needs to know this. This is a fairly expensive
226
operation in Bazaar, and doing it less massively improves
227
performance and memory usage in some situations.
229
- Loggerhead now takes a read lock on the branch being viewed for
230
the duration of each request, which improves performance
233
- Loggerhead no longer uses the corruption-prone Berkely DB-backed
234
shelve module for its caches, and rather (ab)uses a sqlite
237
- The creation of History objects is much faster for large
238
branches (Aaron Bentley).
240
- Allow the construction of URLs using revnos and file paths as
241
well as revids and fileids (bug #98826):
243
- For changes pages, append the newest revno to display to the
244
URL, like http://.../changes/<revno>
246
- For annotate pages, append the revno to display to the URL,
247
followed by the path, like http://.../annotate/<revno>/<path>
249
- For file listing and revision pages append the revno to
250
display to the URL, like http://.../files/<revno>
252
Loggerhead still generates URLs using revision and file ids for
255
- Many bugs were fixed:
257
- Loggerhead does not escape special characters when embedding a
258
revision ID in a URL (bug #88286)
260
- Improved robustness in the face of ghosts.
262
- Don't crash on displaying a commit with an empty message (bug
265
- codebrowse fails with infinite redirections (James Henstridge,
268
- Loggerhead fails to browse revisions that change binary files
269
(James Henstridge, bug #91686)
271
- Loggerhead atom feeds expose internal hostname (James
272
Henstridge, bug #93585)
274
- loggerhead don't like page break character (0x0C) in text
277
- codebrowse source listings don't contain line number anchors
280
- only serve up unescaped user content with "Content-Disposition:
283
- viewing the file listing consumes a lot memory (bug #116869)
285
- loggerhead can't handle empty branches (bug #119228)
287
- upgrading the format of a branch behind loggerhead could make
288
it fail for that branch (bug #118673)
290
- Error parsing non-ascii content (bug #117799)
292
- Loggerhead failed on whitespace-only commit messages.
294
- Links to diffs from within a revision do not work (bug
297
- UTF-8 patches served as ISO-8859-1, fixed by served bundles as
298
application/octet-stream (bug #121336)
300
- TurboGears was turning query arguments into unicode, and bzr
301
stopped accepting unicode revids (bug #175228)
307
- fix broken inventory page (oops!)
309
- fix a few rendering problems with kid and safari
315
- new feature to compare two revisions to each other
317
- inserted text in diffs is now blue instead of green
319
- fixed to start and stop as a daemon now (use "-f" to run in the
320
foreground), and all config is in loggerhead.conf (no need to mess with
323
- renamed show/hide javascript buttons to expand/collapse, and made them
326
- added an atom-feed link to each branch on the browse page [elliot
329
- auto-publish feature for multiple branches under a single folder (see
330
loggerhead.conf.example)
332
- added the ability to share cache files per-project instead of just
335
- added side-by-side diff display for the revision page (which is the
336
default), with a button to switch between side-by-side and unified diff
339
- made caching use file locking, and close cleanly on shutdown
341
- miscellaneous speed and page-size improvements