1
2
What's changed in loggerhead?
2
3
=============================
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)
110
- Fix internal server errors when using start-loggerhead. (Matt
113
- Fix annotating non-UTF-8 files when Pygments is disabled. (Matt
119
- Add startup deamon script for Linux (Marius Kruger)
121
- Switch navigation from file_ids to paths. Fixes bugs #260363,
122
#269365 and #128926. (Martin Albisetti)
124
- Fix bug #258710 ("the /files page explodes in an empty branch").
125
Also minor improvements to the /files and /changes pages.
128
- Added --port, --host and --prefix options to serve-branches
129
script. (Martin Albisetti)
131
- Fixed broken template for project browsing with start-loggerhead
134
- Added --reload options to restart the application when a python
135
file change. (Guillermo Gonzalez)
137
- Added error handling middleware. (Guillermo Gonzalez)
139
- Fix bug #243415 ("Tracebacks go to console but not log
140
file"). Also minor improvements to logging in serve-branches and
141
start-loggerhead. (Guillermo Gonzalez)
146
- Download a diffs between revisions. (Martin Albisetti)
148
- Modified templates to make loggerhead's theme easier to
149
change. (Paul Hummer)
151
- Default sqlite interface is now sqlite3. (Robert Collins)
153
- New ninja theme sponsored by Canonical (Martin Albisetti)
155
- Added COPYING file and clarified copyright headers (John Arbash Meinel)
157
- Remove the .py extension requiered by the Debian Policy.
160
- New startup script serve-branches will serve Loggerhead without
161
the need of configuration, and allow you to browse through directories
162
and branches. (Michael Hudson)
164
- Loggerhead is no longer a TurboGears application, but rather a
165
WSGI application built using Paste (see http://wsgi.org/ and
166
http://pythonpaste.org/ for more about WSGI and Paste).
168
- URLs now use revision numbers instead of revision ids (Martin Albisetti)
170
- The scripts no longer insist on Python 2.4 -- loggerhead works
173
- Bazaar as of version 1.5 has improved in performance enough that
174
the revision cache no longer gave any noticeable benefit, so it
175
was removed (the files-changed cache is still useful).
177
- The templates were rewritten in Zope's TAL markup, powered by
178
the simpleTAL library -- improving both the performance and
179
memory consumption of rendering by a factor of around 3 for
180
large pages over the old Kid templates.
182
- Loggerhead's poorly performing text index was disabled. bzr-search
183
is now used if the plugin is installed and a text index is present
184
on the branch being viewed. (Martin Albisetti, Robert Collins).
186
- Loggerhead no longer depends on bzrlib functions deprecated in
187
Bazaar 1.5 and removed in 1.6 (Martin Albisetti).
189
- The daemonization code was made more regular, fixing bugs
190
#139161 ("Starting loggerhead process may not close its stdin
191
and stdout properly") and #211526 ("Codebrowse log directory has
192
unnecessarily permissive permissions")
194
- Some confusion about what the 'file_id' query argument means was
195
cleared up: filter_file_id now means "filter revisions to those
196
that affect this file" in all views and file_id means "examine
197
this file/directory" in the annotate and inventory views.
199
- Dates are present more compactly.
201
- The loggerhead.conf file can specify which network interface to
202
bind to (Mattias Eriksson)
207
- The changelog view was out of order when not using the revision
212
- Michael Hudson <michael.hudson@canonical.com> has mostly taken
213
over the maintenance of loggerhead.
215
- loggerhead now has a simple test suite -- use 'nosetests' in the
216
loggerhead directory to run it.
218
- The rendering performance of pages that display large amounts of
219
text was improved by a factor of 4 or so.
221
- loggerhead no longer caches the text of the diffs between
222
revisions. It rarely helped and wasted a lot of disk space.
224
- The layout of most pages was made more "tight" to waste less
225
screen real estate, and some other UI improvements (Kent
228
- Much dead code was removed.
230
- Loggerhead now computes the files changed between revisions only
231
when it needs to know this. This is a fairly expensive
232
operation in Bazaar, and doing it less massively improves
233
performance and memory usage in some situations.
235
- Loggerhead now takes a read lock on the branch being viewed for
236
the duration of each request, which improves performance
239
- Loggerhead no longer uses the corruption-prone Berkely DB-backed
240
shelve module for its caches, and rather (ab)uses a sqlite
243
- The creation of History objects is much faster for large
244
branches (Aaron Bentley).
246
- Allow the construction of URLs using revnos and file paths as
247
well as revids and fileids (bug #98826):
249
- For changes pages, append the newest revno to display to the
250
URL, like http://.../changes/<revno>
252
- For annotate pages, append the revno to display to the URL,
253
followed by the path, like http://.../annotate/<revno>/<path>
255
- For file listing and revision pages append the revno to
256
display to the URL, like http://.../files/<revno>
258
Loggerhead still generates URLs using revision and file ids for
261
- Many bugs were fixed:
263
- Loggerhead does not escape special characters when embedding a
264
revision ID in a URL (bug #88286)
266
- Improved robustness in the face of ghosts.
268
- Don't crash on displaying a commit with an empty message (bug
271
- codebrowse fails with infinite redirections (James Henstridge,
274
- Loggerhead fails to browse revisions that change binary files
275
(James Henstridge, bug #91686)
277
- Loggerhead atom feeds expose internal hostname (James
278
Henstridge, bug #93585)
280
- loggerhead don't like page break character (0x0C) in text
283
- codebrowse source listings don't contain line number anchors
286
- only serve up unescaped user content with "Content-Disposition:
289
- viewing the file listing consumes a lot memory (bug #116869)
291
- loggerhead can't handle empty branches (bug #119228)
293
- upgrading the format of a branch behind loggerhead could make
294
it fail for that branch (bug #118673)
296
- Error parsing non-ascii content (bug #117799)
298
- Loggerhead failed on whitespace-only commit messages.
300
- Links to diffs from within a revision do not work (bug
303
- UTF-8 patches served as ISO-8859-1, fixed by served bundles as
304
application/octet-stream (bug #121336)
306
- TurboGears was turning query arguments into unicode, and bzr
307
stopped accepting unicode revids (bug #175228)
313
8
- fix broken inventory page (oops!)
315
10
- fix a few rendering problems with kid and safari