Permalink
Switch branches/tags
Commits on Dec 11, 2009
  1. The serialization layer was making hardcoded assumptions about how

    short strings were encoded (utf-8).  Add 'encoding' parameters
    to AMQPWriter.write_shortstr() and AMQPReader.read_shortstr()
    so the encoding can be controlled at a higher level.  By default
    though those two methods act as before.  Thanks to 'angrybaldguy'
    for bringing this up.
    barryp committed Dec 11, 2009
Commits on Oct 5, 2009
  1. Minor tweak to ensure the Channel class is included in pydocs, no rea…

    …l change
    
    in the client's behavior.
    barryp@host-145-114-107-208.midco.net committed Oct 5, 2009
Commits on Aug 29, 2009
  1. Added tag 0.6.1 for changeset 1f05ed5c599f

    barryp@host-145-114-107-208.midco.net committed Aug 29, 2009
  2. Final minor changes to docs and version strings for 0.6.1

    barryp@host-145-114-107-208.midco.net committed Aug 29, 2009
Commits on Aug 17, 2009
  1. Close TCP sockets when there's an error connecting, to keep file desc…

    …riptors
    
    from piling up.  Thanks todmitriy.samovskiy@... for pointing this out.
    barryp@host-145-114-107-208.midco.net committed Aug 17, 2009
Commits on Aug 16, 2009
  1. Fix minor typo in docs

    barryp@host-145-114-107-208.midco.net committed Aug 16, 2009
  2. denis.bilenko@... pointed out a couple try/except blocks that catch t…

    …oo much,
    
    potentially preventing stop operations like KeyboardInterrupt from working.
    barryp@host-145-114-107-208.midco.net committed Aug 16, 2009
Commits on Aug 15, 2009
  1. Make it so that the upper levels see the exceptions raised by the low…

    …er levels,
    
    instead of nonsense exceptions like:
       TypeError: 'NoneType' object is not iterable
    when something like a socket closure happens.
    barryp@host-145-114-107-208.midco.net committed Aug 15, 2009
  2. Get rid of the __del__ methods in Connection and Channel classes, which

    allows them to be garbage collectible if references to them are lost, because
    they form a cycle, and Python won't GC cyclical references that have __del__
    methods.
    
    Users really should use the .close() methods or 'with' statements
    to make sure things are cleaned up properly.  But failing that, this
    change will at least ensure there's not a big leak including a TCP socket.
    barryp@host-145-114-107-208.midco.net committed Aug 15, 2009
  3. Add unittests provided by majek04@... checking that objects from this

    module are garbage-collectable if references to them are dropped.
    barryp@host-145-114-107-208.midco.net committed Aug 15, 2009
Commits on Feb 23, 2009
  1. Add some documentation about using 'with' statements.

    barryp@macbook.home committed Feb 23, 2009
  2. Add support for using Connection and Channel objects in Python 'with'

    statements.
    barryp@macbook.home committed Feb 23, 2009
  3. Document the recent changes and change the version number so as not t…

    …o be confused
    
    with the original 0.6 version.
    barryp@macbook.home committed Feb 23, 2009
  4. Fix problem with dangling reference loops after Connections close. Th…

    …anks
    
    to majek04@... for pointing this out.
    barryp@macbook.home committed Feb 23, 2009
  5. Make sure any while loops in the transport module raise IOError excep…

    …tions
    
    if a socket can't be read from or written to. i Thanks majek04@... for
    pointing this out.
    barryp@macbook.home committed Feb 23, 2009
Commits on Jan 19, 2009
  1. Added tag 0.6 for changeset dbf98c6e962a

    barryp@macbook.home committed Jan 19, 2009
  2. Temporarily remove the thread-related development code, so the rest of

    the improvements can be packaged as a new release.
    barryp@macbook.home committed Jan 19, 2009
Commits on Jan 16, 2009
  1. Polish up the docs a bit, including a warning to be sure to

    close Connection or Channel objects otherwise you could
    lose messages when the program ends.
    barryp@macbook.home committed Jan 16, 2009
  2. Have the Connection initializer actually behave the way the docs

    have implied for a long time - supplying default values for host
    (localhost) userid and password (guest, guest).
    barryp@macbook.home committed Jan 16, 2009
  3. Combine the two different SSL transports, turns out they're not that …

    …different.
    barryp@macbook.home committed Jan 16, 2009
Commits on Jan 15, 2009
  1. Add support for Python 2.6's ssl module, without this the

    interpreter issues a deprecation warning if you make an SSL connection.
    barryp@macbook.home committed Jan 15, 2009
  2. SSL support was broken, and also the new unittest for large messages

    found a problem with large messages over SSL.  Fixed both.
    barryp@macbook.home committed Jan 15, 2009
  3. A little pylint cleanup, add a unittest for sending large messages

    (with bodies of about 1.6K, 16K, and 160K bytes).
    barryp@macbook.home committed Jan 15, 2009
  4. Send frames to the TCP socket with a single call instead of 3, this s…

    …mall change
    
    causes the unittests to run over 2x faster on my laptop.
    barryp@macbook.home committed Jan 15, 2009
  5. Get rid of unused code, you can't really flush a TCP socket.

    barryp@macbook.home committed Jan 15, 2009
  6. Fix problem reported by Brian Sullivan, where AMQP channel exceptions…

    … were
    
    not being thrown, but instead queued up for later - which does no good.
    barryp@macbook.home committed Jan 15, 2009
Commits on Jan 14, 2009
  1. Move lowest-level networking code into a separate module, untangling

    it from the connection and serialization modules.
    barryp@macbook.home committed Jan 14, 2009
  2. Get rid of unused logging code.

    barryp@macbook.home committed Jan 14, 2009
Commits on Dec 14, 2008
  1. Remove unused array.

    barryp@macbook.home committed Dec 14, 2008
Commits on Dec 12, 2008
  1. Need to add another item to setup.py for this to actually build and i…

    …nstall.
    barryp@macbook.home committed Dec 12, 2008
Commits on Dec 1, 2008
  1. Show in the diagram, what exactly is flowing between

    the various layers.
    barryp@macbook.home committed Dec 1, 2008
  2. Add a document describing how the Python code is arranged, for people…

    … interested
    
    in hacking on it.  Mention the use_threading option in the Connection constructor.
    barryp@macbook.home committed Dec 1, 2008
  3. Reorganize unittests, dividing them up into modules that correspond

    with the various client_0_8 modules.  Add a run_all.py script to
    run all the unittests.
    barryp@macbook.home committed Dec 1, 2008
  4. Pylint cleanup

    barryp@host-73-231-107-208.midco.net committed Dec 1, 2008