Merge ircsupport-isupport-6263

Author: exarkun
Reviewer: tom.prince
Fixes: #6263

Be sure to call the base implementation (`IRCClient.connectionMade`) from the im-specialized
IRC client (`twisted.words.im.ircsupport.IRCProto`) to benefit from the initialization done
there, both so that future ISUPPORT-related parsing works and to avoid duplicating the
login logic already available from the base class.

This also slightly changes how im sends the ''PASS'' command, but does so by
deleting duplicate code produces a result more likely to be correct.


git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@36853 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge deprecate-unsignedid-5544: Deprecate `twisted.python.util.unsignedID` and replace its uses with `id`.

Author: zomux, thijs, tom.prince
Reviewers: tom.prince, exarkun
Fixes: #5544

twisted.python.util.unsignedID was created to deal with id returning negative
numbers. Python 2.5 and later don't have this problem and id now returns a
positive number always.

Replace all uses of this function in Twisted with id, then deprecate it.



git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@36856 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Deprecate unicode domain names for SRVConnector.

Author: ralphm
Reviewer: tom.prince
Fixes: #6245

twisted.names.dns.Names was recently changed to reject unicode domain names,
breaking XMPP clients passing the domain part of a JID to SRVConnector. This
change issues a deprecation warning if a unicode domain name is passed and
attempts to convert the domain name to an all-ASCII byte string for backwards
compatibility.

Note that, to support Internationalized Domain Names (IDN), applications must
convert the domain name to its ASCII Compatible Equivalent (ACE) as specified
in RFC 3490. The result can then be used as the domain to connect to with
SRVConnector.


git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@36867 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge branches/component-doc-implementer-6269: "Components: Interfaces and Adapters" howto now uses zope.interface's decorator-based API.

Author: hynek
Reviewers: tom.prince
Fixes: #6269

Since we’re moving Twisted off "implements()" and "implementsOnly()", the howtos should reflect that.


git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@36870 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge branches/defer-typo-6272: Fix minor typo in "Deferred Reference"

Author: hynek, tom.prince
Reviewers: tom.prince, exarkun
Fixes: #6272


git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@36877 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge remove-findObject-6260: Remove deprecated `twisted.trial.util.findObject`.

Author: tom.prince
Reviewers: glyph
Fixes: #6260

Its unit tests are messy and dump warnings into the test suite output,
which slightly burdens developers trying to interpret the output.  It
was deprecated in version 10.1.0, so lets get rid of it. 


git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@36878 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge ftp-nlst-globs-4181

Author: adiroiban
Reviewer: tenth, exarkun
Fixes: #4181

More completely support globbing expressions in the FTP server's handling of the NLST command
by using `fnmatch` to detect globs, rather than having a custom, incomplete check for some subset
of the globbing syntax.


git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@36888 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Fix typo in the docstring of the Twisted runner package.

Author: tyteen4a03
Reviewer: thijs
Fixes: #5740


git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@36892 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge trial-stable-argument-order-5520-3

Author: Julian
Reviewer: namn, exarkun
Fixes: #5520

If given the names of multiple test suites on the command line, trial now runs them in the
same order as they appear on the command line.


git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@36899 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge imap4-keyword-atoms-4392-2

Author: jothan, argonemyth, exarkun
Reviewer: exarkun, danmil, rwall
Fixes: #4392

Check for and filter out illegal bytes (given by application code) in the IMAP4
client's KEYWORD query support.


git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@36907 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge pythonpath-docstr-4009: Documented PythonPath.sysPath because it was missing from the API documentation.

Author: thijs
Reviewer: exarkun
Fixes: #4009


git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@36919 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Revert r36867 - This fix doesn't address the core problem.

Reopens: #6245.

The core issue is that twisted.names.dns.Name changed to explicitly reject
unicode domain names. The fix done for SRVConnector should also be applied
there so that direct users of Name will also get the warning and fallback
behaviour.

The warning in `SRVConnector` might be kept to have the warning refer to its
caller rather than further down the call stack.


git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@36923 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge bodystructure-4631-3

Author: atsuoi, argonemyth, exarkun
Reviewer: exarkun, rwall
Fixes: #4631

Fix `IMAP4Client` to be able to correctly parse the `BODY` response for a multipart/* message
which contains a multipart/* message.


git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@36933 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge knownhosts-standards-6257

Author: exarkun
Reviewer: thijs, glyph
Fixes: #6257

Improve `twisted.conch.client.knownhosts` compliance with API documentation
standards.


git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@36997 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge template-sanitation-6275

Author: glyph

Reviewer: therve, exarkun

Fixes: #6275

Fix a bug where attribute values are not quoted properly in
twisted.web.template.  Significantly improve test coverage for many previously-
uncovered cases at the same time, as well as making the implementation somewhat
easier to read and better documented for maintainers (if not necessarily making
it much simpler...)



git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@37018 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge remove-zshcomp-5767: Remove deprecated `twisted.python.zshcomp`.

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

Shell tab-completion is now handled by twisted.python.usage.


git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@37058 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Introductory howto on using Deferreds

Author: jml

Reviewer: teratorn

Fixes: #6180

Document explaining how Deferreds work and how to map basic Python
control flow to Deferreds.  The existing Deferred howto is now linked
as a reference document.



git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@37070 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge mktemp-api-docs-6165: Improve documentation of twisted.trial.unittest.SynchronousTestCase.mktemp

Author: meissenPlate, exarkun
Reviewers: exarkun, tom.prince
Fixes: #6165

The original documentation didn't give any direction no how it should
be use used. Explain what it returns and how to use it.


git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@37071 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge admin-scripts-path-6208

Author: therve
Reviewer: tom.prince
Fixes: #6208

Make sure admin scripts use the current checkout when running.


git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@37076 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge auto-version-2915-3

Author: therve
Reviewer: tom.prince
Fixes: #2915

Automatically pick the next version in the change-versions release script.


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