[Subversion] / PEAK / CHANGES.txt  

Diff of /PEAK/CHANGES.txt

Parent Directory | Revision Log

version 1606, Mon Jan 19 03:35:36 2004 UTC version 1613, Wed Jan 21 03:19:01 2004 UTC
Line 2 
Line 2 
   
  Changed, Enhanced, or Newly Deprecated Features   Changed, Enhanced, or Newly Deprecated Features
   
    - Added 'events.IEventLoop' implementation and refactored 'UntwistedReactor'
      to use it.  'UntwistedReactor' is now nothing more than an adapter from
      'events.IEventLoop' to 'running.IBasicReactor'.  Added 'twisted_support'
      versions of 'peak.events' interfaces (untested).
   
  - 'running.ISignalManager' is now DEPRECATED; please use 'events.ISignalSource'   - 'running.ISignalManager' is now DEPRECATED; please use 'events.ISignalSource'
    instead.     instead.
   
Line 22 
Line 27 
    "this message.":http://www.eby-sarna.com/pipermail/peak/2004-January/001125.html     "this message.":http://www.eby-sarna.com/pipermail/peak/2004-January/001125.html
   
    You can now configure a service area as using Twisted by setting its     You can now configure a service area as using Twisted by setting its
    'peak.running.isTwisted' property, or by depending upon the     'peak.events.isTwisted' property, or by depending upon the
    'running.ITwistedReactor' interface, as long as it happens early enough.     'running.ITwistedReactor' interface, as long as it happens early enough.
   
    If you need to make choices based on whether a Twisted reactor is being     If you need to make choices based on whether a Twisted reactor is being
    used, you should use the 'peak.running.scheduler.ifTwisted()' function.     used, you should use the 'events.ifTwisted()' function.  If you would like
    If you would like to try to force a service area to use a Twisted reactor,     to try to force a service area to use a Twisted reactor, you may use
    you may use 'peak.running.scheduler.makeTwisted()'.     'events.makeTwisted()'.
   
  - Added automatic installation of 'csv' module for Python < 2.3.   - Added automatic installation of 'csv' module for Python < 2.3.
   
Line 217 
Line 222 
   
  - 'binding.Make()' now accepts configuration keys, using them to look up a   - 'binding.Make()' now accepts configuration keys, using them to look up a
    factory object that's then invoked to create the attribute.  This makes it     factory object that's then invoked to create the attribute.  This makes it
    a lot easier to define a component with its own transaction service,     a lot easier to define a component with its own transaction service
    'IBasicReactor', or other normally "global" component.  It also makes it     or other normally "global" component.  It also makes it easier to globally
    easier to globally specify a factory class for some interface.  Factories     specify a factory class for some interface.  Factories are looked up under
    are looked up under the 'config.FactoryFor(key)' configuration key.  (See     the 'config.FactoryFor(key)' configuration key.  (See below.)
    below.)  
   
  - Added 'config.FactoryFor(key)', a 'config.IConfigKey' implementation that   - Added 'config.FactoryFor(key)', a 'config.IConfigKey' implementation that
    provides a configuration namespace for factories.     provides a configuration namespace for factories.
Line 304 
Line 308 
    union (using 'fmtparse.Alternatives') of the syntaxes of its subclasses     union (using 'fmtparse.Alternatives') of the syntaxes of its subclasses
    (as specified by 'mdl_subclassNames').     (as specified by 'mdl_subclassNames').
   
  - Added 'IMainLoop.setExitCode()' and 'IMainLoop.childForked()' methods, to   - Added 'IMainLoop.exitWith()' method, to allow reactor-driven components to
    allow reactor-driven components to control the mainloop's exit code.     control the mainloop's exit code.
   
  - Added 'IBasicReactor.crash()', which forces an immediate reactor loop exit,   - Added 'IBasicReactor.crash()', which forces an immediate reactor loop exit,
    ignoring pending scheduled calls.     ignoring pending scheduled calls.


Generate output suitable for use with a patch program
Legend:
Removed from v.1606  
changed lines
  Added in v.1613

cvs-admin@eby-sarna.com

Powered by ViewCVS 1.0-dev

ViewCVS and CVS Help