Changeset 102:200d55548f42

Show
Ignore:
Timestamp:
01/16/07 12:16:57 (2 years ago)
Author:
warner@lothar.com
Tags:

foolscap-0.0.7

branch:
default
Message:

[foolscap @ release foolscap-0.0.7]

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • ChangeLog

    r101 r102  
     12007-01-16  Brian Warner  <warner@lothar.com> 
     2 
     3        * foolscap/__init__.py: release Foolscap-0.0.7 
     4        * misc/{sid|sarge|dapper}/debian/changelog: same 
     5 
     6        * NEWS: update for 0.0.7 
     7 
    182007-01-16  Brian Warner  <warner@lothar.com> 
    29 
  • NEWS

    r90 r102  
    11User visible changes in Foolscap (aka newpb/pb2).           -*- outline -*- 
     2 
     3* Release 0.0.7 (16 Jan 2007) 
     4 
     5** bug fixes 
     6 
     7*** Tubs can now connect to themselves 
     8 
     9In previous releases, Tubs were unable to connect to themselves: the 
     10following code would fail (the negotiation would never complete, so the 
     11connection attempt would eventually time out after about 30 seconds): 
     12 
     13 url = mytub.registerReference(target) 
     14 d = mytub.getReference(url) 
     15 
     16In release 0.0.7, this has been fixed by catching this case and making it use 
     17a special loopback transport (which serializes all messages but does not send 
     18them over a wire). There may be still be problems with this code, in 
     19particular connection shutdown is not completely tested and producer/consumer 
     20code is completely untested. 
     21 
     22*** Tubs can now getReference() the same URL multiple times 
     23 
     24A bug was present in the RemoteReference-unslicing code which caused the 
     25following code to fail: 
     26 
     27 d = mytub.getReference(url) 
     28 d.addCallback(lambda ref: mytub.getReference(url)) 
     29 
     30In particular, the second call to getReference() would return None rather 
     31than the RemoteReference it was supposed to. 
     32 
     33This bug has been fixed. If the previous RemoteReference is still alive, it 
     34will be returned by the subsequent getReference() call. If it has been 
     35garbage-collected, a new one will be created. 
     36 
     37*** minor fixes 
     38 
     39Negotiation errors (such as having incompatible versions of Foolscap on 
     40either end of the wire) may be reported more usefully. 
     41 
     42In certain circumstances, disconnecting the Tub service from a parent service 
     43might have caused an exception before. It might behave better now. 
     44 
    245 
    346* Release 0.0.6 (18 Dec 2006) 
  • foolscap/__init__.py

    r94 r102  
    11"""Foolscap""" 
    22 
    3 __version__ = "0.0.6+
     3__version__ = "0.0.7
    44 
    55# here are the primary entry points 
  • misc/dapper/debian/changelog

    r94 r102  
     1foolscap (0.0.7) unstable; urgency=low 
     2 
     3  * new release 
     4 
     5 -- Brian Warner <warner@lothar.com>  Tue, 16 Jan 2007 12:03:00 -0800 
     6 
    17foolscap (0.0.6+) unstable; urgency=low 
    28 
  • misc/sarge/debian/changelog

    r94 r102  
     1foolscap (0.0.7) unstable; urgency=low 
     2 
     3  * new release 
     4 
     5 -- Brian Warner <warner@lothar.com>  Tue, 16 Jan 2007 12:03:00 -0800 
     6 
    17foolscap (0.0.6+) unstable; urgency=low 
    28 
  • misc/sid/debian/changelog

    r94 r102  
     1foolscap (0.0.7) unstable; urgency=low 
     2 
     3  * new release 
     4 
     5 -- Brian Warner <warner@lothar.com>  Tue, 16 Jan 2007 12:03:00 -0800 
     6 
    17foolscap (0.0.6+) unstable; urgency=low 
    28