[Subversion] / PEAK / src / peak / core.py  

Log of /PEAK/src/peak/core.py

Parent Directory

No default branch
Bookmark a link to HEAD: (view) (download) (as text)


Revision 1915 - (view) (download) (as text) - [select for diffs]
Modified Sun Nov 7 07:34:14 2004 UTC (19 years, 5 months ago) by pje
File length: 6554 byte(s)
Diff to previous 1848
Make the 'dispatch' package a primitive part of 'peak.core', so we can use
'dispatch.as()', 'dispatch.when()', 'dispatch.SimpleGeneric', etc.

Revision 1848 - (view) (download) (as text) - [select for diffs]
Modified Mon Oct 11 21:38:07 2004 UTC (19 years, 6 months ago) by pje
File length: 6484 byte(s)
Diff to previous 1784
Add more aggressive caching to 'config.Namespace()'.  Add 'findLocation()'
to 'web.ITraversalContext' (without an implementation, as yet).

Revision 1784 - (view) (download) (as text) - [select for diffs]
Modified Tue Jul 13 19:09:41 2004 UTC (19 years, 9 months ago) by pje
File length: 6459 byte(s)
Diff to previous 1573
Fix import circularity between peak.core and peak.config.interfaces that
caused problems if the latter was imported before the former.

Revision 1573 - (view) (download) (as text) - [select for diffs]
Modified Sun Dec 28 00:14:24 2003 UTC (20 years, 4 months ago) by pje
File length: 6652 byte(s)
Diff to previous 1571
MAJOR API REFACTORING for 'peak.config', to support iterating over
configuration keys, 'n2' navigability of properties, and much more.
Many APIs are now DEPRECATED or renamed; please see CHANGES.txt for
a complete description.  A few highlights:

 - 'config.lookup()' replaces 'findUtility' and 'getProperty'

 - 'config.iterValues()' replaces 'findUtilities'

 - 'config.iterKeys()' finds keys in a specific namespace

 - NEW: 'config.parentProviding()' and 'config.parentsProviding()'
   APIs to find parent components that support a protocol.

 - NEW: You can now use 'peak n2 config:' to explore the default
   property namespace.  For example 'ls -l peak.naming.schemes'
   will list all defined naming schemes.

Please see CHANGES.txt for the list of deprecated or removed APIs.

Revision 1571 - (view) (download) (as text) - [select for diffs]
Modified Sat Dec 27 18:26:40 2003 UTC (20 years, 4 months ago) by pje
File length: 6379 byte(s)
Diff to previous 1528
Added 'config.MultiKey()' and 'config.UnionOf()' configuration key classes,
to generalize existing specialty keys such as 'ProviderOf' and
'FactoryFor'.  (The latter two are now defined in terms of the former
two.)  Also, made classes and types usable as configuration keys.  This
was needed for the above generalization, but also makes many other
class-lookup concepts possible.  (Note that there may be some slight
changes to the effective registration and lookup order of these and other
configuration keys as of this change, as there were some previous errors
and/or ambiguities to the lookup order that were not covered by the test
suite.)

Revision 1528 - (view) (download) (as text) - [select for diffs]
Added Fri Dec 5 01:12:27 2003 UTC (20 years, 4 months ago) by pje
File length: 6560 byte(s)
Added 'peak.core' as a minimal subset of 'peak.api'.  'peak.core' offers
only "core" API packages and primitives, not the full set of available
framework APIs.  'peak.api' will continue to expand as frameworks are
added, but 'peak.core' will stay as small as practical.  ('peak.exceptions'
may in fact end up being removed from 'peak.core', or at least renamed.)

Also, added 'peak.util.symbol' module, to contain 'NOT_GIVEN', 'NOT_FOUND',
and the 'Symbol' class used to create them.

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

  Diffs between and
  Type of Diff should be a

Sort log by:

cvs-admin@eby-sarna.com

Powered by ViewCVS 1.0-dev

ViewCVS and CVS Help