Menu

Trac Commit Log


Commit Date  
[r3099] by cboos

Fixed the file viewer in the TracBrowser module.

There was some confusion between the requested path/rev and
the last modified path/rev, which produced errors when viewing
a file which had just been copied. This fixes #2949.

Also, when no revision has been specified, the TracBrowser
don't artificially add the latest revision to its links.
This makes it possible to browse the repository to its
latest state, unless explicitely making a revision ''sticky''
by specifying it in the ''View revision: '' form.
That fixes #987.

2006-04-03 13:27:44 Tree
[r3098] by cboos

Fix support of space characters in paths. This concerns `mod_python` when the `TracUriRoot` directive is used. Closes #2864.

2006-04-03 12:42:57 Tree
[r3097] by cmlenz

Applied patch for #2899. Thanks pacopablo.

2006-04-03 12:25:01 Tree
[r3096] by cboos

Some follow-up to r3092 and r3094 for the TracChangeset ''diff'' format (either old_node or new_node could be None) and ''zip'' format (better comment)

2006-04-03 11:46:05 Tree
[r3095] by cboos

`trac.util.markup.Fragment` objects can be directly attached to the HDF

2006-04-03 11:07:16 Tree
[r3094] by cboos

More unicode fixes for TracChangeset diff and zip formats

2006-04-01 13:58:48 Tree
[r3093] by cboos

Follow-up to r3092: also convert attachments content to unicode before handing it over to `preview_to_hdf`.

2006-04-01 12:41:02 Tree
[r3092] by cboos

More unicode fixes for the TracChangeset and TracBrowser modules.

* Perform the diffs in unicode. In changeset.py, we convert
the file content to unicode before the diffs are computed.
Should fix #2905 and #2363.
* Clarified some assumptions made in the mimeview component.
Unless stated otherwise, strings should be unicode strings.
This is particularly true for the `preview_to_hdf` method.
Therefore, in browser.py we have to convert to unicode as well.

Both of the above make use of the following:
* a new `Mimeview.to_unicode` method which uses the standard
Mimeview ways to infer the charset from either the content
type or from the content itself
* the above makes use of a new `to_unicode` function in `trac.util`
which always succeeds at producing an unicode string

I also made clear that when using `trac.util.NaivePopen`,
a properly encoded string must be given. I couldn't fully
test the corresponding changes in enscript.py and php.py, yet.

2006-04-01 11:46:53 Tree
[r3091] by cboos

Use `repr` instead of `str` in order to build some unique identifier in the `check_modified` code. This makes it immune to encoding issues. Closes #2963.

2006-03-31 13:10:15 Tree
[r3090] by cboos

Fix some unicode issues for the TracSubversion backend.

* Make conversions to and from Subversion's UTF-8 encoded strings more obvious,
using `_from_svn` and `_to_svn` functions
* The `_to_svn` enables also to clarify and simplify the code related to
scoped repositories
* A few other little fixes were needed in the modules

Note that content related issues are not addressed by this change
(the diff issues of #2905).

2006-03-31 13:08:11 Tree
Older >
MongoDB Logo MongoDB