[Subversion] / PEAK / CHANGES.txt  

Diff of /PEAK/CHANGES.txt

Parent Directory | Revision Log

version 1177, Tue Jun 10 02:25:13 2003 UTC version 1182, Tue Jun 10 21:22:10 2003 UTC
Line 2 
Line 2 
   
  Changed, Enhanced, or Newly Deprecated Features   Changed, Enhanced, or Newly Deprecated Features
   
    - Added a 'shellcmd:'  URL scheme that returns a function that calls
      'os.system()' on the body of the URL.  It's intended for use as a command
      factory, as is needed by the 'URLChecker' periodic task.
   
  - You can now define adapters from arbitrary types to 'binding.IBindingNode',   - You can now define adapters from arbitrary types to 'binding.IBindingNode',
    and thus be able to use them as part of a component hierarchy - without     and thus be able to use them as part of a component hierarchy - without
    needing to directly add 'getParentComponent()' or 'getComponentName()'     needing to directly add 'getParentComponent()' or 'getComponentName()'
    methods to them.     methods to them.
   
  - Added experimental 'invoke.c' script for POSIX-ish platforms with funky   - Added experimental 'invoke.c' script for POSIX-ish platforms with funky
    '#!' support, or lack thereof.  'invoke' is designed to be used like this::     '#!' support, or lack thereof.
   
      'invoke' is designed to be used like this::
   
      #!/usr/local/bin/invoke peak somearg otherarg...       #!/usr/local/bin/invoke peak somearg otherarg...
   
    This should work on most sane platforms with a long-enough commandline.     This should work on most sane platforms with a long-enough commandline.
    (See http://homepages.cwi.nl/~aeb/std/hashexclam-1.html for details on the     (See "this page":http://homepages.cwi.nl/~aeb/std/hashexclam-1.html for
    insanely incompatible ways different Unixes interpret #! lines.)     details on the insanely incompatible ways different Unixes interpret '#!'
      lines.)
   
    The script is not currently built or installed by setup.py.  On the     The script is not currently built or installed by setup.py.  On the
    platforms it's targeted at, you should be able to build it with::     platforms it's targeted at, you should be able to build it with::
Line 25 
Line 32 
   
  - Added a ZConfig schema for 'running.commands.EventDriven' applications,   - Added a ZConfig schema for 'running.commands.EventDriven' applications,
    a ZConfig component definition for adaptive tasks, and a running shortcut     a ZConfig component definition for adaptive tasks, and a running shortcut
    called 'EventDriven'.  It should now be possible to do this::     called 'EventDriven'.
   
      It should now be possible to do this::
   
      #!/usr/bin/env peak EventDriven       #!/usr/bin/env peak EventDriven
   
    at the top of a ZConfig file formatted according to the new schema, and     at the top of a ZConfig file formatted according to the new schema, and
    have it run.  Unfortunately, so far the only type of task that can be     have it run.  There are two periodic tasks that can be configured and
    included is 'running.daemons.AdaptiveTask', which doesn't actually *do*     run from such a file: 'CleanupFiles' and 'URLChecker'.  'CleanupFiles' will
    anything.     delete files matching a pattern that are older than a certain age, while
      'URLChecker' will check to see if the target of a naming system URL is
      up/available/working, and if not, runs a command to restart it.  As an
      amusing demo, try specifying a 'file:' URL with a 'shellcmd:touch theFile'
      to recreate the file, then add a 'CleanupFiles' that deletes the file the
      checker looks for.  This can be hours (well, minutes) of exciting fun as you
      watch the dueling daemons undoing each others' work.
   
  - Added 'zconfig.schema' URL scheme that loads an enhanced ZConfig schema   - Added 'zconfig.schema' URL scheme that loads an enhanced ZConfig schema
    object that can act as a command line interpreter using the 'peak' script.     object that can act as a command line interpreter using the 'peak' script.
   
    To use it, run 'peak zconfig.schema:urlToSchema urlOfConfig'.  Or, add     To use it, run 'peak zconfig.schema:urlToSchema urlOfConfig'.  Or, add
    a line like this::     a line like this::
   


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

cvs-admin@eby-sarna.com

Powered by ViewCVS 1.0-dev

ViewCVS and CVS Help