Merge xish-typo-5401

Author: lovebug356
Reviewer: jesstess
Fixes: #5401

Fix typos in xish.utility docstrings.



git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@33230 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge branch spwd-3242-7:  use python 2.5 'spwd' module instead of z3p secret 'shadow' module when available

Author: exarkun, z3p
Reviewer: glyph, therve, thijs, jesstess
Fixes: #3242

Python 2.5 includes a standard library module to interact with the /etc/shadow
password database.  This updates Twisted to that module, rather than the module
z3p hacked together many, many years ago.



git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@33231 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge iocp-64bit-5373-2

Author: antoine
Reviewer: jesstess
Fixes: #5373

Fix some iocpsupport declarations causing 64-bit compile warnings.



git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@33241 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge basechat-docstrings-2458-2

Author: jesstess
Reviewer: exarkun
Fixes: #2458

Improve the twisted.words.im.basechat API documentation.



git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@33260 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge proxy-docs-399

Author: jesstess
Reviewer: exarkun
Fixes: #399

Add a web howto section on proxies and reverse proxies and add more
proxy examples to the web examples directory.



git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@33262 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Finish incomplete sentence about the interaction between endpoints and client factory methods.

Author: exarkun
Reviewer: jesstess
Fixes: #5407


git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@33275 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge named-constants-5382 

Author: exarkun
Reviewer: glyph, ivank, itamar
Fixes: #5382

Add `twisted.python.constants`, a library for defining named constants.


git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@33276 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge addcallbacks-ret-5399

Author: zooko
Reviewer: jesstess
Fixes: #5399

Document the return values of addCallbacks and chainDeferred in
twisted.internet.defer.Deferred.



git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@33281 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge gtk2-wakeups-4376.

Fixes: #4376
Review: exarkun
Author: itamar


When gtk2 and glib2 reactors are idle, they no longer wake up 10 times a second, and in general are more efficient.


git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@33295 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge portablegtk-5396.

Fixes: #5396
Author: itamar
Review: exarkun

Make portable gtk2 reactor more responsive, speeding up trial while we're at it... at the cost of greater power usage.


git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@33296 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge producer-tls-5347-2.

Fixes: #5347
Review: exarkun, therve
Author: itamar

Fix rare situation where producers wouldn't be paused when using transport.startTLS.

git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@33299 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge valued-constants-5383 

Author: exarkun
Reviewer: itamar
Fixes: #5383

Add `twisted.python.constants.Values`, a utility for defining named constants with
associated values.


git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@33330 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge listentcp-ipv6-5084-4

Author: exarkun, PenguinOfDoom
Reviewer: therve
Fixes: #5084

Add support for passing an IPv6 address literal as the interface to
`IReactorTCP.listenTCP` implementations.


git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@33351 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Fix simple example error in the endpoints howto

Author: warner
Reviewer: exarkun
Fixes: #5431


git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@33362 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge wsaatf-5430 

Author: PenguinOfDoom, exarkun
Reviewer: glyph
Fixes: #5430

Clean up the ctypes usage in the IPv6 link local interface lookup code for
Windows, fixing a bug on 64 bit Windows where a bad pointer will sometimes
be passed to `WSAAddressToString`.  Make some other changes to try to make
the code more maintainable in general, too.


git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@33367 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge contentdecoderagent-docs-5415 

Author: exarkun
Reviewer: thijs
Fixes: #5415

Add howto documentation and an example for `ContentDecoderAgent`.


git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@33396 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge doc-index-5429

Author: mesozoic
Reviewer: jesstess
Fixes: #5429

Add an index page to the documentation tree and make references to "Twisted Products" within the documentation more consistent.



git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@33398 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Fix a typo in the WSGI howto

Author: hynek
Reviewer: exarkun
Fixes: #5438


git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@33399 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Reject unicode locations early in twisted.web.util.redirectTo

Author: moijes12
Reviewer: exarkun
Fixes: #5236

Raise `TypeError` from `redirectTo` if the supplied URL is `unicode` instead of
`str`.  This replaces the old behavior of returning a `unicode` string in this
case which would later cause a 500 response when lower-level parts of Twisted Web
rejected the non-`str` response body string.


git-svn-id: svn://svn.twistedmatrix.com/svn/Twisted/trunk@33400 bbbe8e31-12d6-0310-92fd-ac37d47ddeeb
Merge win32er-qsallinput-5284

Author: moijes12
Reviewer: exarkun
Fixes: #5284

Remove `QS_ALLEVENTS` from the `MsgWaitForMultipleObjects` call in
`win32eventreactor`, since it is a subset of `QS_ALLINPUT` which is
also being specified.


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