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)
110
- Fix internal server errors when using start-loggerhead. (Matt
113
- Fix annotating non-UTF-8 files when Pygments is disabled. (Matt
116
- Fix 'bzr serve --http' errors. (Matt Nordhoff, #377551)
121
- Add startup deamon script for Linux (Marius Kruger)
123
- Switch navigation from file_ids to paths. Fixes bugs #260363,
124
#269365 and #128926. (Martin Albisetti)
126
- Fix bug #258710 ("the /files page explodes in an empty branch").
127
Also minor improvements to the /files and /changes pages.
130
- Added --port, --host and --prefix options to serve-branches
131
script. (Martin Albisetti)
133
- Fixed broken template for project browsing with start-loggerhead
136
- Added --reload options to restart the application when a python
137
file change. (Guillermo Gonzalez)
139
- Added error handling middleware. (Guillermo Gonzalez)
141
- Fix bug #243415 ("Tracebacks go to console but not log
142
file"). Also minor improvements to logging in serve-branches and
143
start-loggerhead. (Guillermo Gonzalez)
148
- Download a diffs between revisions. (Martin Albisetti)
150
- Modified templates to make loggerhead's theme easier to
151
change. (Paul Hummer)
153
- Default sqlite interface is now sqlite3. (Robert Collins)
155
- New ninja theme sponsored by Canonical (Martin Albisetti)
157
- Added COPYING file and clarified copyright headers (John Arbash Meinel)
159
- Remove the .py extension requiered by the Debian Policy.
162
- New startup script serve-branches will serve Loggerhead without
163
the need of configuration, and allow you to browse through directories
164
and branches. (Michael Hudson)
166
- Loggerhead is no longer a TurboGears application, but rather a
167
WSGI application built using Paste (see http://wsgi.org/ and
168
http://pythonpaste.org/ for more about WSGI and Paste).
170
- URLs now use revision numbers instead of revision ids (Martin Albisetti)
172
- The scripts no longer insist on Python 2.4 -- loggerhead works
175
- Bazaar as of version 1.5 has improved in performance enough that
176
the revision cache no longer gave any noticeable benefit, so it
177
was removed (the files-changed cache is still useful).
179
- The templates were rewritten in Zope's TAL markup, powered by
180
the simpleTAL library -- improving both the performance and
181
memory consumption of rendering by a factor of around 3 for
182
large pages over the old Kid templates.
184
- Loggerhead's poorly performing text index was disabled. bzr-search
185
is now used if the plugin is installed and a text index is present
186
on the branch being viewed. (Martin Albisetti, Robert Collins).
188
- Loggerhead no longer depends on bzrlib functions deprecated in
189
Bazaar 1.5 and removed in 1.6 (Martin Albisetti).
191
- The daemonization code was made more regular, fixing bugs
192
#139161 ("Starting loggerhead process may not close its stdin
193
and stdout properly") and #211526 ("Codebrowse log directory has
194
unnecessarily permissive permissions")
196
- Some confusion about what the 'file_id' query argument means was
197
cleared up: filter_file_id now means "filter revisions to those
198
that affect this file" in all views and file_id means "examine
199
this file/directory" in the annotate and inventory views.
201
- Dates are present more compactly.
203
- The loggerhead.conf file can specify which network interface to
204
bind to (Mattias Eriksson)
209
- The changelog view was out of order when not using the revision
214
- Michael Hudson <michael.hudson@canonical.com> has mostly taken
215
over the maintenance of loggerhead.
217
- loggerhead now has a simple test suite -- use 'nosetests' in the
218
loggerhead directory to run it.
220
- The rendering performance of pages that display large amounts of
221
text was improved by a factor of 4 or so.
223
- loggerhead no longer caches the text of the diffs between
224
revisions. It rarely helped and wasted a lot of disk space.
226
- The layout of most pages was made more "tight" to waste less
227
screen real estate, and some other UI improvements (Kent
230
- Much dead code was removed.
232
- Loggerhead now computes the files changed between revisions only
233
when it needs to know this. This is a fairly expensive
234
operation in Bazaar, and doing it less massively improves
235
performance and memory usage in some situations.
237
- Loggerhead now takes a read lock on the branch being viewed for
238
the duration of each request, which improves performance
241
- Loggerhead no longer uses the corruption-prone Berkely DB-backed
242
shelve module for its caches, and rather (ab)uses a sqlite
245
- The creation of History objects is much faster for large
246
branches (Aaron Bentley).
248
- Allow the construction of URLs using revnos and file paths as
249
well as revids and fileids (bug #98826):
251
- For changes pages, append the newest revno to display to the
252
URL, like http://.../changes/<revno>
254
- For annotate pages, append the revno to display to the URL,
255
followed by the path, like http://.../annotate/<revno>/<path>
257
- For file listing and revision pages append the revno to
258
display to the URL, like http://.../files/<revno>
260
Loggerhead still generates URLs using revision and file ids for
263
- Many bugs were fixed:
265
- Loggerhead does not escape special characters when embedding a
266
revision ID in a URL (bug #88286)
268
- Improved robustness in the face of ghosts.
270
- Don't crash on displaying a commit with an empty message (bug
273
- codebrowse fails with infinite redirections (James Henstridge,
276
- Loggerhead fails to browse revisions that change binary files
277
(James Henstridge, bug #91686)
279
- Loggerhead atom feeds expose internal hostname (James
280
Henstridge, bug #93585)
282
- loggerhead don't like page break character (0x0C) in text
285
- codebrowse source listings don't contain line number anchors
288
- only serve up unescaped user content with "Content-Disposition:
291
- viewing the file listing consumes a lot memory (bug #116869)
293
- loggerhead can't handle empty branches (bug #119228)
295
- upgrading the format of a branch behind loggerhead could make
296
it fail for that branch (bug #118673)
298
- Error parsing non-ascii content (bug #117799)
300
- Loggerhead failed on whitespace-only commit messages.
302
- Links to diffs from within a revision do not work (bug
305
- UTF-8 patches served as ISO-8859-1, fixed by served bundles as
306
application/octet-stream (bug #121336)
308
- TurboGears was turning query arguments into unicode, and bzr
309
stopped accepting unicode revids (bug #175228)
315
- fix broken inventory page (oops!)
317
- fix a few rendering problems with kid and safari
323
- new feature to compare two revisions to each other
325
- inserted text in diffs is now blue instead of green
327
- fixed to start and stop as a daemon now (use "-f" to run in the
328
foreground), and all config is in loggerhead.conf (no need to mess with
331
- renamed show/hide javascript buttons to expand/collapse, and made them
334
- added an atom-feed link to each branch on the browse page [elliot
337
- auto-publish feature for multiple branches under a single folder (see
338
loggerhead.conf.example)
340
- added the ability to share cache files per-project instead of just
343
- added side-by-side diff display for the revision page (which is the
344
default), with a button to switch between side-by-side and unified diff
347
- made caching use file locking, and close cleanly on shutdown
349
- miscellaneous speed and page-size improvements