Menu

Trac Commit Log


Commit Date  
[r3115] by otavio

tagging version 0.9.4-3

2006-04-08 11:53:33 Tree
[r3114] by cboos

unicode fixes for TracAdmin

There were several problems left:
1. TracAdmin was still using UTF-8 encoded strings rather than `unicode` strings
2. but `shlex` is not unicode aware, so `arg_tokenize()` works around this limitation by going through UTF-8 locally
3. When converting a `str` command to `unicode` in the main entry point (`onecmd()`), we use the `sys.stdin.encoding`.
4. When converting `unicode` strings to output, we conversely use `sys.stdout.encoding`
5. Added an unit test for a creating Milestone with an accented character

3. and 4. replace the previous usage of `locale.getpreferredencoding()`.
On some platforms (e.g. Windows), the encoding used for the console
as given by `sys.*.encoding` can differ from the `locale.getpreferredencoding()` (e.g. `cp437` vs. `cp1252`).

2006-04-07 17:51:58 Tree
[r3113] by cboos

Try to cope with Alec's inventiveness regarding the usage of the log: Wiki syntax...

2006-04-07 11:45:17 Tree
[r3112] by cmlenz

Add support for milestone management to WebAdmin based on patch in #2992. Thanks.

2006-04-07 08:26:22 Tree
[r3111] by athomas

WorkFlow:
* Merged log:trunk:3068-3110
* Renamed `deserialize_*` utility functions to `to_bool` and `to_list`.
* Added first round of ticket similarity detection code.

2006-04-06 12:08:34 Tree
[r3110] by cboos

Make the usage of `[...]` pairs less necessary when using the `trac.util.markup.html` facility. Converted the ![[InterWiki]] macro to use it.

2006-04-06 09:07:47 Tree
[r3109] by cboos

Another attempt at fixing the unicode problem with the reports.

Actually, the reason for the trouble was that pysqlite2
returns the column description information as an UTF-8
encoded string.

Also, I reverted r3084 and instead do the conversion
in `HDFWrapper.add_value` in a "robust" and backward
compatible way: if a plugin store UTF-8 strings in the
HDF, things will work as expected. If the string was
not encoded using UTF-8, replacement characters will be
inserted.

This should really close #2905 this time :)

2006-04-05 17:06:24 Tree
[r3108] by cboos

Follow-up to r3044 to fix a ''status''/''resolution'' permutation. Closes #2986.

2006-04-05 16:48:07 Tree
[r3107] by cboos

Replaced `str` calls by `unicode` calls, where relevant.

`str(x)` is kept is still used when we are confident that
`x` is a number or a bool.

This fixes #2905.

2006-04-05 11:11:54 Tree
[r3106] by cboos

Refactored the `HDFWrapper.set_value` method.

2006-04-05 08:50:27 Tree
Older >
MongoDB Logo MongoDB