Menu

Trac Commit Log


Commit Date  
[r8669] by cboos

psycopg2 and MySQLdb didn't handle correctly `execute()` arguments which were subclasses of `unicode`.

For psycopg2, we register explicit adapters.
For MySQLdb, we reuse the converter of the types.UnicodeType for the Markup class (Empty was OK since string_literal can convert it to `''`).

Fixes #8740 (Empty class, introduced in r8661) and #3501 (Markup class).

Thanks to harald.radi@... for contributing a fix in #3501.

2009-10-18 16:43:14 Tree
[r8668] by cboos

Reformat db tests within 79 chars per line.

2009-10-18 16:42:06 Tree
[r8667] by rblank

0.11-stable: Escape messages when storing them in the session, and wrap them in `Markup` on retrieval, so that HTML messages are not escaped.

Part of #8750.

2009-10-17 12:56:41 Tree
[r8666] by rblank

0.12dev: Replaced the last two uses of the `plural()` macro with `ngettext()` and removed the macro from `macros.html`.

2009-10-14 22:38:31 Tree
[r8665] by rblank

0.11-stable: Be more robust against `NULL` values in the `last_visit` column of the `session` table.

Closes #8739.

2009-10-14 21:21:02 Tree
[r8664] by cboos

TracMercurial for 0.12: better handle empty repositories, show -1/nullid revision instead of an error.

2009-10-13 08:21:44 Tree
[r8663] by cboos

TracMercurial for 0.12: handle the case of an emptied repository.

Thanks to mikei@... for the report and initial patch.

Fixes #8685.

2009-10-13 08:19:21 Tree
[r8662] by rblank

MultiRepos: Merged with 0.12dev [8657:8661/trunk].

2009-10-11 11:42:46 Tree
[r8661] by rblank

0.12dev: Return ticket fields with a `NULL` value as a (tagged) empty string instead of `None`. This allows differentiating between empty fields and unset fields in `Ticket.get_value_or_default()`, while avoiding potential issues with code expecting field values to always be strings.

Closes #8326.

2009-10-10 11:28:30 Tree
[r8660] by cboos

0.12dev: merged startup optimization r8644 from 0.11.6dev

2009-10-10 09:01:24 Tree
Older >
MongoDB Logo MongoDB