Merge epoll-EPERM-4429: epoll reactor now supports filesystem files about as well as other reactors do.

Author: itamar
Review: exarkun, jknight, therve
Fixes: #4429

If you do redirect stdin or stdout to a file, epoll reactor will no longer blow up.


git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@34346 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge amp-descriptor-5650-2

Author: exarkun
Reviewer: itamar
Fixes: #5650

Add a new AMP argument type, `Descriptor`, for sending file descriptors over
UNIX transports.


git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@34350 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge epoll-default-5478: epoll is now default reactor on Linux.

Author: itamar
Review: therve
Fixes: #5478

epoll is the default on linux; if not available, poll is used. Also, platforms where poll was default will now fall back to select.


git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@34355 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge relevant-quotes-2723.

Author: glyph

Reviewer: itamar

Fixes: #2723

This cycles the quotefile into a new location, so that quotes are relevant to
the current release.



git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@34356 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
two new quotes since that bug was fixed

git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@34357 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge cacheresolver-init-5638: Entries added to CacheResolver's __init__ are now timed out.

Author: acidfoo
Review: itamar
Fixes: #5638

Fix issue where entries added via CacheResolver's constructor were never timed out.


git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@34359 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge deprecate-oldtls-4974

Author: exarkun
Reviewer: itamar
Fixes: #4974

Deprecate support for pyOpenSSL versions older than 0.10, which lack support
for in-memory operation.


git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@34360 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Revert r34360 - test suite regression

Reopens: #4974

Numerous issues on various platforms.


git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@34361 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Correct a typo in the epytext markup for twisted.protocols.amp.Descriptor.fromStringProto

Author: exarkun
Reviewer: itamar
Fixes: #5673


git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@34362 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
That's why.

git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@34369 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge deprecate-oldtls-4974 (again)

Author: exarkun
Reviewer: itamar
Fixes: #4974

Deprecate support for pyOpenSSL versions older than 0.10, which lack support
for in-memory operation.

Re-merge fixes shortcomings of the first attempt, which led to test failures
when OpenSSL was not installed or when the installed version of OpenSSL
was older than 0.10.


git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@34370 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge gtk3-process-5512: Notice SIGCHLD in gtk3reactor.

Fixes: #5512
Author: itamar
Review: therve


The previous method for signal handler installation in glib/gtk reactors wasn't sufficient in all cases, so switched to a simpler, less error-prone method.


git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@34371 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge gtk-app-5492: Add support for Gio.Application instance registration.

Fixes: #5492
Author: lucian, itamar
Review: itamar, therve


git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@34391 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge reactor-docs-5660: Better documentation on default reactor.

Author: Dev0n
Review: exarkun, itamar
Fixes: #5660


git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@34406 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge process-test-fail-with-info-5652

Author: exarkun
Reviewer: itamar
Fixes: #5652

Add more information to the `testManyProcesses` failure, in hopes of
aiding future debugging.


git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@34410 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Apply 5686 patch: Use correct attribute in MXCalculator example.

Author: argonemyth
Review: itamar
Fixes: #5686


git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@34433 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge conch-test_loadFromPath-5617

Author: thijs
Reviewer: z3p
Fixes: #5617

Refactors t.c.t.test_knownhosts.KnownHostsDatabaseTests.test_loadFromPath into
indivdual unit tests rather than one monolithic test case.


git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@34446 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge conch-session-getPeer-2997

Author: z3p
Reviewer: itamar, therve
Fixes: #2997

Implements getPeer()/getHost() for the SSHTransport.  This also creates a new
SSHTransportAddress which contains the data for those methods.


git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@34448 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge simpler-short-version-4532

Author: vperic
Reviewer: therve
Fixes: #4532

Use sys.version_info to build twisted.python.runtime.shortPythonVersion instead
of sys.hexversion.


git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@34457 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge trial-extra-3374: Remove the deprecated --extra option for trial, use the --testmodule option instead.

Author: thijs
Reviewer: therve
Fixes: #3374


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