Menu

Trac Commit Log


Commit Date  
[r7362] by cboos

trac-admin should use the actual encoding of stdin/stdout when printing.

Closes #7303.

2008-07-21 13:19:21 Tree
[r7361] by cboos

`copytree` works by recursively scanning a filesystem subtree and copy each filename one by one. The problem is that we can't assume any encoding for those filenames, so we better have to respect the byte sequence as given by `os.listdir()` (we can't expect `os.listdir()` to provide us with an unicode output on all platforms).

We also need to make sure that the parameters given to `copytree` (`src`, `dst` and the files in `skip`) are later used as `str` objects, in a reasonable encoding.

Closes #6677.

2008-07-21 13:18:49 Tree
[r7360] by cboos

So far, only the interactive mode of trac-admin correctly handled non-ascii input.
When parameteres are given to `trac-admin` on the command line, it is not correct to use `sys.stdin.encoding`, as `sys.argv` strings are encoded using the locale encoding (`local.getpreferredencoding()`).

Related to #6677.

2008-07-21 13:17:54 Tree
[r7359] by cboos

More precise permissions (rw) set on created files. Related to #6604.

Patch by Remy Blank.

2008-07-21 13:02:39 Tree
[r7358] by cboos

TracStandalone: umask value is now set to a sensible `022` default.

This can also be configured using the `--umask` option for `tracd`.

Closes #6604.

Patch contributed by Remy Blank.

2008-07-21 13:02:17 Tree
[r7357] by cboos

Improved display of attachment search matches.

Contributed by Remy Blank, finalizes #2561.

2008-07-21 12:33:49 Tree
[r7356] by cboos

Show an explicit "empty file" message when the previewed file is empty.

Also, the Pygments renderer transformed that empty file into a one byte '\n' file.

Closes #7281.

2008-07-21 12:08:05 Tree
[r7355] by cboos

TracMercurial for 0.10: backported support for generalized diffs (`MercurialRepository.get_changes`, as in r6053), contributed by edgimar on #6676.

2008-07-18 09:51:40 Tree
[r7354] by cboos

TracMercurial for 0.11: backported r7353

2008-07-18 09:40:05 Tree
[r7353] by cboos

TracMercurial: compatibility fixes with recent Hg versions (post 1.0.1).

- in hg:6749:c68f84448012 repo changelog.count was replaced with len(repo)
- in hg:6750:fb42030d79d6 manifest.execf was removed

Thanks to Pranav Tekchand for the heads up!

2008-07-18 09:37:51 Tree
Older >
MongoDB Logo MongoDB