lp:~dustin-spy/twisted/dustin

Created by Dustin Sallings and last modified
Get this branch:
bzr branch lp:~dustin-spy/twisted/dustin
Only Dustin Sallings can upload to this branch. If you are Dustin Sallings please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Dustin Sallings
Project:
Twisted
Status:
Mature

Recent revisions

15232. By exarkun

Merge lore-microdom-imports-3619

Author: exarkun
Reviewer: glyph
Fixes: #3619

Change the `minidom as microdom` imports in Twisted Lore to be
`minidom as dom` instead, and adjust all affected code.

15231. By exarkun

Merge iocp-ssl-593-2

Author: exarkun
Reviewer: glyph
Fixes: #593

Add a `ProtocolWrapper`-based implementation of TLS and use it
to extend the IO Completion Ports reactor with implementations
of `IReactorSSL` and `ITLSTransport`.

One of the existing SSL test suites is also changed to remove
one of its base classes (and therefore some of the tests it
was running); these tests had nothing to do with SSL, they were
just redundant TCP tests.

15230. By z3p

Don't fail the rebuild if an object cannot be hashed.

Author: z3p
Reviewer: exarkun
Fixes #3817

Previously, only a TypeError was ignored for objects during a module rebuild. Some objects raise other errors (notably the PyASN1 module) and caused the test_rebuild tests to fail.

15229. By exarkun

Apply smtpclient.diff adding docs for SMTPClient and SMTPSender

Author: drake, itamar
Reviewer: exarkun
Fixes: #684

Add documentation to `SMTPClient` about how `getMailFrom`, `getMailTo`,
and `getMailData` are called, possibly many times, allowing multiple
emails to be sent.

15228. By exarkun

Merge provide-transport-interface-3822

Author: exarkun
Reviewer: therve
Fixes: #3822

Make `ProtocolWrapper` ''really'' provide the interfaces provided
by the transport it is wrapping/proxying - all the time - instead of sometimes
accidentally providing it and sometimes accidentally not.

15227. By exarkun

Merge stop-thread-pool-3810

Author: radix, exarkun
Reviewer: glyph, therve
Fixes: #3810

Change the interaction between trial and the reactor in the area of threadpool
cleanup. Move more responsibility into the reactor so that trial is doing (very)
slightly less to objects it isn't really responsible for.

Specifically, make the reactor's threadpool cleanup method also clean up the
startup trigger it adds to itself, if necessary, and make trial only call the
reactor's threadpool cleanup method when it wants to clean up threads.

Also add test coverage for the reactor's threadpool cleanup code for each of
the various states it is possible for the reactor to be in.

15226. By exarkun

Merge loopback-chunking-parameter-3820

Author: exarkun
Reviewer: therve
Fixes: #3820

Add an optional parameter to `twisted.protocols.loopback.loopbackAsync`
which allows the caller to control exactly how bytes written to the
loopback transport are delivered to the associated protocol.

15225. By exarkun

Merge better-tls-check-3819

Author: exarkun
Reviewer: therve
Fixes: #3819

Change the test for `IMAP4Client.startTLS` to check an interface provided by
the transport, rather than part of the name of the transport, in order to
verify that TLS has actually been started. This allows it to pass correctly
when run against an alternate `ITLSTransport` implementation which does not
play tricks with the transport's class, and is generally better since
it is checking something which could actually be a public API.

15224. By exarkun

Merge mailbox-order-3812

Author: exarkun
Reviewer: glyph
Fixes: #3812

Fix an intermittent failure in the message ordering of the maildir-based
mailbox implementation. Previously messages delivered within the same
second had a small chance to be delivered in such a way which that they
would appear to have been delivered in the opposite order as they really
were.

15223. By exarkun

Merge conch-client-broken-again-3809

Author: z3p, therve, exarkun
Reviewer: glyph
Fixes: #3809

Fix the mis-use of the SSH agent client by `twisted.conch.client.default`:
the agent's `signData` method expects the key as a string, not an object.
Update the documentation for related APIs which was either missing or which
documented the types of various key-related APIs incorrectly.

This allows the command-line conch client to use an ssh agent successfully
again.

Branch metadata

Branch format:
Branch format 6
Repository format:
Bazaar pack repository format 1 (needs bzr 0.92)
This branch contains Public information 
Everyone can see this information.

Subscribers