Merge unbound-nick-5780: Fix handling of invalid UTF-8 in IRC NICK commands.

Author: j2a, stephsolis
Reviewers: exarkun, glyph, tom.prince
Fixes: #5780

Previously, when sent a NICK command that had invalid UTF-8,
it would fail with an UnboundLocalError. It now properly
reports an error to the user, instead.

git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@38864 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Revert r38864: Topfile in the wrong place.

Reopens: #5780

enforcenews.py should be smarter about this.

git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@38871 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge unbound-nick-5780: Fix handling of invalid UTF-8 in IRC NICK commands.

Author: j2a, stephsolis
Reviewers: exarkun, glyph, tom.prince
Fixes: #5780

Previously, when sent a NICK command that had invalid UTF-8,
it would fail with an UnboundLocalError. It now properly
reports an error to the user, instead.

git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@38872 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge ssl-endpoint-string-chain-certificate-6499: Make SSL server endpoint string descriptions support the specification of chain certificates.

Author: hynek
Reviewers: zooko, exarkun, tomprince
Fixes: #6499

git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@38882 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge replace-text-words-6544: Replace the usage of twisted.python.text because it will be deprecated.

Author: thijs
Reviewer: tom.prince
Fixes: #6544 


git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@38929 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge moduleprovides-iresolver-6328-2

Author: rwall
Reviewer: tom.prince
Fixes: #6328

Use zope.interface.moduleProvides to allow pydoctor to properly
document the twisted.names.client.lookup* functions.



git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@38951 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge trial-order-5787-2: add --order to trial

Author: Julian
Reviewers: cyli, exarkun, tom.prince, thijs, rwall
Fixes: #5787

Allow specification of test execution order via a command line argument.
Currently alphabetical (the default) and by order defined in the source files
are supported.

git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@38971 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge optionless-twistd-dns-5992-2

Author: rwall
Reviewer: tom.prince, thijs, exarkun
Fixes: #5992

twisted.names.resolve.ResolverChain now returns a twisted.names.error.DomainError failure if its resolvers list is empty.



git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@38973 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge replace-irc-string-5329-2: Replaced usage of deprecated string functions in words.protocols.irc.

Author: Wolf, thijs
Reviewer: exarkun, tom.prince
Fixes: #5329


git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@38979 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge remove-deprecated-test-methods-conch-6220-3: Replace to-be-deprecated assertions in Conch

Author: Julian
Reviewers: tom.prince, exarkun, rwall
Fixes: #6220

Replace older test method assertions like fail* (which are soon to be
deprecated) in twisted.conch's test suite with their newer equivalents.

git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@38990 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge ckeygen-changepass-5894

Authors: ltaylor.volks, therve
Reviewers: tom.prince, therve
Fixes: #5894

Fix ckeygen --changepass behavior, so that it doesn't accidently delete
unencrypted keys or fail with encrypted ones.


git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@38999 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge releases/release-13.1.0-6575

Author:ashfall
Reviewer: exarkun
Fixes: #6575

Release Twisted 13.1.0



git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@39001 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Well, *I* thought it was funny.


git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@39009 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge digest-with-comma-6609 

Author: exarkun
Reviewer: glyph
Fixes: #6609

Fix the digest authentication response parser to handle values which include
",".


git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@39015 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge remove-deprecated-test-methods-internet-6221: Replace to-be-deprecated assertions in twisted.internet

Author: Julian
Reviewers: tom.prince
Fixes: #6221

Replace older test method assertions like fail* (which are soon to be
deprecated) in twisted.internet's test suite with their newer equivalents.

git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@39017 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Berating the object system is an often-overlooked and *surprisingly* effective debugging technique.


git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@39021 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge udp-port-from-fd-5574-3: Add a twisted.internet.interfaces.IReactorSocket.adoptDatagramPort method

Author: rwall
Reviewers: tom.prince
Fixes: #5574

twisted.internet.interfaces.IReactorSocket now has a new
adoptDatagramPort method which is implemented by some reactors
allowing them to listen on UDP sockets set up by external software (eg
systemd or launchd).



git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@39027 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge circular-deferred-6164-2: Emit a DeprecationWarning for "circular" Deferreds

Author: radix
Reviewers: tom.prince, therve
Fixes: #6164

When a Deferred is returned from one of its own callbacks, a
DeprecationWarning will now be emitted, since this currently
leads to a "broken" Deferred -- one which has no result and will
never fire another callback.

git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@39048 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Revert r39027: Revert udp-port-from-fd-5574-3 because it introduced some unused imports.

http://buildbot.twistedmatrix.com/builders/pyflakes/builds/617/steps/pyflakes/logs/new%20pyflakes%20errors

{{{
twisted/internet/test/test_socket.py:17: 'fullyQualifiedName' imported but unused
twisted/internet/test/test_socket.py:24: 'SkipTest' imported but unused
}}}

Reopens: #5574



git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@39069 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge stricter-nxdomain-check-6475-3

Author: rwall
Reviewers: tom.prince
Fixes: #6475

twisted.names.authority.FileAuthority now only returns
AuthoritativeDomainError (NXDOMAIN) for names which are subdomains.



git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@39071 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb