0.12-stable: make `to_datetime` more robust (#10863)

 - when given a naive datetime and a pytz timezone info,
   the returned aware datetime instance had a wrong utcoffset
   due to a misuse of the pytz API
 - in general, make `to_datetime` always return aware and
   normalized datetime instances



git-svn-id: http://trac.edgewall.org/intertrac/log:/branches/0.12-stable@11397 af82e41b-90c4-0310-8c96-b1721e28e2e2
Follow-up to r11397, in which two unit-tests had the same name.

git-svn-id: http://trac.edgewall.org/intertrac/log:/branches/0.12-stable@11399 af82e41b-90c4-0310-8c96-b1721e28e2e2
0.12.5dev: fix functional test error upon `random_word()` collisions (#10862).

Both `TestRepoBrowse` and `TestNewFileLog` did the same
`svn_add('component1/trunk/' + random_word())`, so the second call
would fail when the same random word was generated twice.


git-svn-id: http://trac.edgewall.org/intertrac/log:/branches/0.12-stable@11401 af82e41b-90c4-0310-8c96-b1721e28e2e2
0.12.5dev: show standardized UTC+-XX:YY name as localtz timezone name (closes #10920)



git-svn-id: http://trac.edgewall.org/intertrac/log:/branches/0.12-stable@11414 af82e41b-90c4-0310-8c96-b1721e28e2e2
0.12.5dev: fixed datetime arithmetics and operations across DST boundaries and some unit tests for `datefmt.*` functions (closes #10864)


git-svn-id: http://trac.edgewall.org/intertrac/log:/branches/0.12-stable@11415 af82e41b-90c4-0310-8c96-b1721e28e2e2
0.12.5dev: fixed datetime arithmetic with `LocalTimezone` across DST boundaries (closes #10912)


git-svn-id: http://trac.edgewall.org/intertrac/log:/branches/0.12-stable@11419 af82e41b-90c4-0310-8c96-b1721e28e2e2
#10920: add unit-tests for `LocalTimezone.__str__` ... and fixes as well.

git-svn-id: http://trac.edgewall.org/intertrac/log:/branches/0.12-stable@11422 af82e41b-90c4-0310-8c96-b1721e28e2e2
0.12.5dev: fix initial activation of default style in Pygments' pref panel.

On WebKit based browsers, the disabling of some Pygments stylesheets
seems to lead to the disabling of all of them. Weird. Doing an
explicit true -> false transition for the disable property of the link
element of the style enabled by default forces its activation.

Patch from Peter KoÅ¾elj, proposed by Ryan J Ollos on #10923. Thanks!




git-svn-id: http://trac.edgewall.org/intertrac/log:/branches/0.12-stable@11423 af82e41b-90c4-0310-8c96-b1721e28e2e2
0.12.5dev: updated Spanish translation (100%)

Contributed by Jesús E. Franco Martínez <tezcatl@fedoraproject.org> on #10928.

Thanks!




git-svn-id: http://trac.edgewall.org/intertrac/log:/branches/0.12-stable@11424 af82e41b-90c4-0310-8c96-b1721e28e2e2
0.12.5dev: updated Transifex support

 - it's now https://www.transifex.com rather than .net
 - resources renaming: 012... -> 0_12...
 - use slashes instead of backslashes; the latter didn't work on Linux while the former also work on Windows


git-svn-id: http://trac.edgewall.org/intertrac/log:/branches/0.12-stable@11425 af82e41b-90c4-0310-8c96-b1721e28e2e2
0.12.5dev: `make stats` shows the locale name as prefix.



git-svn-id: http://trac.edgewall.org/intertrac/log:/branches/0.12-stable@11430 af82e41b-90c4-0310-8c96-b1721e28e2e2
0.12.5dev: `make diff` now uses the `vc` variable for diffing (defaults to `svn`).



git-svn-id: http://trac.edgewall.org/intertrac/log:/branches/0.12-stable@11431 af82e41b-90c4-0310-8c96-b1721e28e2e2
0.12.5dev: separate target groups in L10N section by two empty lines.



git-svn-id: http://trac.edgewall.org/intertrac/log:/branches/0.12-stable@11432 af82e41b-90c4-0310-8c96-b1721e28e2e2
0.12.5dev: `make summary` is now slightly more robust.

Before, with GNU Make 3.82, it failed in mysterious ways with an `unterminated variable reference.` error.



git-svn-id: http://trac.edgewall.org/intertrac/log:/branches/0.12-stable@11433 af82e41b-90c4-0310-8c96-b1721e28e2e2
0.12.5dev: last message extraction, 1 modified, 1 new.

git-svn-id: http://trac.edgewall.org/intertrac/log:/branches/0.12-stable@11435 af82e41b-90c4-0310-8c96-b1721e28e2e2
0.12.5dev: Updated Swedish translation (100%).

git-svn-id: http://trac.edgewall.org/intertrac/log:/branches/0.12-stable@11436 af82e41b-90c4-0310-8c96-b1721e28e2e2
0.12.5dev: Updated UK English translation (100%).

git-svn-id: http://trac.edgewall.org/intertrac/log:/branches/0.12-stable@11437 af82e41b-90c4-0310-8c96-b1721e28e2e2
0.12.5dev: added `trac.util.text.getpreferredencoding` and replaced `locale.getpreferredencoding` (closes #10768)

The new function returns the cached result of `locale.getpreferredencoding()` which is not thread-safe.


git-svn-id: http://trac.edgewall.org/intertrac/log:/branches/0.12-stable@11438 af82e41b-90c4-0310-8c96-b1721e28e2e2
0.12.5dev: Japanese translations updated (100%)


git-svn-id: http://trac.edgewall.org/intertrac/log:/branches/0.12-stable@11441 af82e41b-90c4-0310-8c96-b1721e28e2e2
0.12.5dev/l10n/fr: updated French translation (100%)



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