0.12.6dev: escape double-quote and backslash characters in `From` header and encode as mime if matched `=?<encoding>?[bq]?<bytes>?=` in mail headers (closes #11456)


git-svn-id: http://trac.edgewall.org/intertrac/log:/branches/0.12-stable@12506 af82e41b-90c4-0310-8c96-b1721e28e2e2
0.12.6dev/l10n/ja: minor proofing (100%)


git-svn-id: http://trac.edgewall.org/intertrac/log:/branches/0.12-stable@12522 af82e41b-90c4-0310-8c96-b1721e28e2e2
0.12.6dev: improved performance of unit tests on MySQL 5.1 or later to use `DELETE FROM` for tables without auto_increment in `reset_mysql_db()` (closes #11497)


git-svn-id: http://trac.edgewall.org/intertrac/log:/branches/0.12-stable@12530 af82e41b-90c4-0310-8c96-b1721e28e2e2
0.12.6dev: fixed an `AttributeError` from `help` command of trac-admin with non-existent environment and non-existent command (closes #11504)


git-svn-id: http://trac.edgewall.org/intertrac/log:/branches/0.12-stable@12540 af82e41b-90c4-0310-8c96-b1721e28e2e2
0.12.6dev: Don't render malformed html for list immediately followed by binary inline markup tag (#11009)

git-svn-id: http://trac.edgewall.org/intertrac/log:/branches/0.12-stable@12549 af82e41b-90c4-0310-8c96-b1721e28e2e2
0.12.6dev: backported enforcing `tracopt.perm.authz_policy`'s requirement of `ConfigObj` in `setup.py` from [12037/branches/1.0-stable/setup.py]


git-svn-id: http://trac.edgewall.org/intertrac/log:/branches/0.12-stable@12556 af82e41b-90c4-0310-8c96-b1721e28e2e2
0.12.6dev: fixed breaking `authz_policy.py` with unicode characters using `ConfigObj` 5.0.0 and later (#11498)


git-svn-id: http://trac.edgewall.org/intertrac/log:/branches/0.12-stable@12557 af82e41b-90c4-0310-8c96-b1721e28e2e2
0.12.6dev: fixed auto-preview not working when editing using IMEs on Firefox and using "cut" and "paste" of context menu (closes #11510)


git-svn-id: http://trac.edgewall.org/intertrac/log:/branches/0.12-stable@12560 af82e41b-90c4-0310-8c96-b1721e28e2e2
0.12.6dev: follow-ups to r11244, reduce memory usage on `SubversionRepository.get_changes()` (fixed #10978)


git-svn-id: http://trac.edgewall.org/intertrac/log:/branches/0.12-stable@12574 af82e41b-90c4-0310-8c96-b1721e28e2e2
0.12.6dev: `WikiPage` raises `ResourceNotFound` when version is invalid. Refs #11518.


git-svn-id: http://trac.edgewall.org/intertrac/log:/branches/0.12-stable@12585 af82e41b-90c4-0310-8c96-b1721e28e2e2
0.12.6dev: fixed `Genshi UnicodeDecodeError` from `TracAdminHelp` macro if the command's help has unicode characters (#11549)


git-svn-id: http://trac.edgewall.org/intertrac/log:/branches/0.12-stable@12590 af82e41b-90c4-0310-8c96-b1721e28e2e2
0.12.6dev: Trap invalid version in `process_request` rather than the `WikiPage` constructor. Refs #11518.

Improved test case by using an existing page, and renamed functional test case per conventions.


git-svn-id: http://trac.edgewall.org/intertrac/log:/branches/0.12-stable@12597 af82e41b-90c4-0310-8c96-b1721e28e2e2
0.12.6dev: avoid "Broken pipe" from `tracd` if the client disconnects on Python 2.6 and later (#11551)


git-svn-id: http://trac.edgewall.org/intertrac/log:/branches/0.12-stable@12600 af82e41b-90c4-0310-8c96-b1721e28e2e2
0.12.6dev: follow-ups to r8161, fixed rare failure of `RegressionTestTicket8247` due to that `/usr/share/dict/words` file has `anonymous` phrase


git-svn-id: http://trac.edgewall.org/intertrac/log:/branches/0.12-stable@12626 af82e41b-90c4-0310-8c96-b1721e28e2e2
0.12.6dev: fixed `LocalTimezone` breaking with some datetimes (closes #11563)

 - a timezone different from current standard and daylight timezone, e.g. between 27 October 1968 and 31 October 1971 in London
 - timezone changed, e.g. 2:00 on 27 March 2011 in Moscow
 - offset of daylight timezone changed, e.g. 27 October 1985 in Lord Howe Island


git-svn-id: http://trac.edgewall.org/intertrac/log:/branches/0.12-stable@12633 af82e41b-90c4-0310-8c96-b1721e28e2e2
0.12.6dev: Option defaults in `trac.web.main` were not being written to //trac.ini// on environment creation. Refs #11520.


git-svn-id: http://trac.edgewall.org/intertrac/log:/branches/0.12-stable@12663 af82e41b-90c4-0310-8c96-b1721e28e2e2
0.12.6dev: fixed report crashing if percent characters used inside quoted identifier and dymanic variables used (fixed #11571)


git-svn-id: http://trac.edgewall.org/intertrac/log:/branches/0.12-stable@12668 af82e41b-90c4-0310-8c96-b1721e28e2e2
0.12.6dev: backported [12048] from 1.0-stable (fix for #11283)


git-svn-id: http://trac.edgewall.org/intertrac/log:/branches/0.12-stable@12680 af82e41b-90c4-0310-8c96-b1721e28e2e2
0.12.6dev: Added `drop_tables` method to each database connection class. Refs #11512.

Patch by Jun Omae.


git-svn-id: http://trac.edgewall.org/intertrac/log:/branches/0.12-stable@12724 af82e41b-90c4-0310-8c96-b1721e28e2e2
0.12.6dev: Use column name when selecting the max value to update the sequence. Refs #11512.

Fix for identifiers that need to be quoted. Patch by Jun Omae.


git-svn-id: http://trac.edgewall.org/intertrac/log:/branches/0.12-stable@12725 af82e41b-90c4-0310-8c96-b1721e28e2e2