[Checkins] [zopefoundation/zope.app.component] 710ab7: Cut startup time in half :)

GitHub noreply at github.com
Tue Mar 12 13:24:13 UTC 2013


  Branch: refs/heads/monolithic-zope3-ZopeX3-3.0
  Home:   https://github.com/zopefoundation/zope.app.component
  Commit: 710ab7978508280b794909091b241dc6ab897159
      https://github.com/zopefoundation/zope.app.component/commit/710ab7978508280b794909091b241dc6ab897159
  Author: Jim Fulton <jim at zope.com>
  Date:   2004-06-04 (Fri, 04 Jun 2004)

  Changed paths:
    A metaconfigure.py

  Log Message:
  -----------
  Cut startup time in half :)

Merged revisions 25249 - 25251 from trunk


  Commit: 2c0b5d4d4f84a089ed21535d173656a7813ba3c7
      https://github.com/zopefoundation/zope.app.component/commit/2c0b5d4d4f84a089ed21535d173656a7813ba3c7
  Author: Jim Fulton <jim at zope.com>
  Date:   2004-07-02 (Fri, 02 Jul 2004)

  Changed paths:
    M metaconfigure.py

  Log Message:
  -----------
  Merged from trunk 25920:
Changed basic checkers to use dictionaries.

Now when you create checkers, you must pass one or 
two dictionary objects. We used to allow functions 
to be passed that would be called to get the permission
needed to access a name.  It turns out that this generality
wasn't needed or used.  If we need this in the furture, we
can add custom checkers.  For now, we only allow
dictionaries, as that will enable more efficient checker
implementation.


  Commit: 60d296aee4e70acad989cf1a1a7eb1ca52b5cdd1
      https://github.com/zopefoundation/zope.app.component/commit/60d296aee4e70acad989cf1a1a7eb1ca52b5cdd1
  Author: Jim Fulton <jim at zope.com>
  Date:   2004-07-02 (Fri, 02 Jul 2004)

  Changed paths:
    A hooks.py

  Log Message:
  -----------
  Merged from trunk 26023:
Implemented a thread-local data proposal

Proposed for Python 2.4 on python-dev:
  http://mail.python.org/pipermail/python-dev/2004-June/045785.html    

This mechanism replaces the previous "thread globals"
mechanism.


  Commit: 9672567e24484a9f2f6be800635a02771ee16ef1
      https://github.com/zopefoundation/zope.app.component/commit/9672567e24484a9f2f6be800635a02771ee16ef1
  Author: Jim Fulton <jim at zope.com>
  Date:   2004-07-06 (Tue, 06 Jul 2004)

  Changed paths:
    M hooks.py

  Log Message:
  -----------
  Merged from trunk r26049:

Updated adapter API

as described in:

  http://mail.zope.org/pipermail/zope3-dev/2004-July/011537.html

- query/getAdapter now require a name argument and ignore
  whether the object being adapted provides or conforms to the
  interface.

- New functions 'getAdapterInContext' and 'queryAdapterInContext'
  can be used to do content-dependent simple adapation.  They
  will return the object being adapted if it provides the desired
  interface and will return the result of calling __conform__ if the
  object conforms to the interface.

IMPORTANT

  To do simple adaptation, just call the desired interface:

    adapter = iface(ob) or iface(ob, default)


  Commit: 9c5e1b5990f4a0f36b03bda75ed9a0e4c74e42b8
      https://github.com/zopefoundation/zope.app.component/commit/9c5e1b5990f4a0f36b03bda75ed9a0e4c74e42b8
  Author: Philipp von Weitershausen <philipp at weitershausen.de>
  Date:   2004-07-08 (Thu, 08 Jul 2004)

  Changed paths:
    A meta.zcml
    M metaconfigure.py
    A metadirectives.py
    A tests/test_directives.py

  Log Message:
  -----------
  Merge r26212: Remove redundant layer and skin directives from the zope
namespace and move defaultSkin to the browser namespace.


  Commit: f3b1528b5ac244077c30899e56c023756f43df63
      https://github.com/zopefoundation/zope.app.component/commit/f3b1528b5ac244077c30899e56c023756f43df63
  Author: Stephan Richter <stephan.richter at gmail.com>
  Date:   2004-07-08 (Thu, 08 Jul 2004)

  Changed paths:
    M hooks.py

  Log Message:
  -----------
  Backport of XXX fixes.

See 26202, 26207, 26208, 26209.


  Commit: dda7958eed398f17641d38442fa1bf0f6b60ed3c
      https://github.com/zopefoundation/zope.app.component/commit/dda7958eed398f17641d38442fa1bf0f6b60ed3c
  Author: Stephan Richter <stephan.richter at gmail.com>
  Date:   2004-07-09 (Fri, 09 Jul 2004)

  Changed paths:
    M hooks.py
    A localservice.py
    M metadirectives.py
    M tests/test_directives.py
    A tests/test_servicedirective.py

  Log Message:
  -----------
  Backported my XXX removals.


  Commit: 9adb59f3c4a94a2c94e877c9eee732613e6f6acb
      https://github.com/zopefoundation/zope.app.component/commit/9adb59f3c4a94a2c94e877c9eee732613e6f6acb
  Author: Jim Fulton <jim at zope.com>
  Date:   2004-07-09 (Fri, 09 Jul 2004)

  Changed paths:
    M metaconfigure.py
    M metadirectives.py
    M tests/test_directives.py

  Log Message:
  -----------
  Merged from trunk:

  r26363 | jim | 2004-07-09 15:28:16 -0400 (Fri, 09 Jul 2004) | 5 lines

Added TrustedAdapterFactory

This is for adapters that are trusted and need unfettered access to
the objects they adapt. If asked to adapt security-proxied objects,
the return security-proxied adapters of unproxied objects.


  Commit: e464d7297ec8ea7ced50e7271ea13933d0c47607
      https://github.com/zopefoundation/zope.app.component/commit/e464d7297ec8ea7ced50e7271ea13933d0c47607
  Author: Jim Fulton <jim at zope.com>
  Date:   2004-07-10 (Sat, 10 Jul 2004)

  Changed paths:
    A configure.zcml
    M hooks.py

  Log Message:
  -----------
  Merged from trunk:

  r26391 | jim | 2004-07-10 08:47:23 -0400 (Sat, 10 Jul 2004) | 6 lines

Added caching of the adapter_hook method used for simple adapter
lookup.

This provides about a 10% speedup in my test case and should simplify
debugging a little bit.


  Commit: cf01f1553958092551522c5fcbf50c9c57ecf98d
      https://github.com/zopefoundation/zope.app.component/commit/cf01f1553958092551522c5fcbf50c9c57ecf98d
  Author: Jim Fulton <jim at zope.com>
  Date:   2004-07-16 (Fri, 16 Jul 2004)

  Changed paths:
    A tests/test_contentdirective.py
    A tests/test_factory.py
    M tests/test_servicedirective.py

  Log Message:
  -----------
  Merged from trunk:

  r26591 | jim | 2004-07-16 15:51:26 -0400 (Fri, 16 Jul 2004) | 8 lines

Rearranged the security apis, largely combining security policies and
interactions. Now security policies are just interaction factories --
usually just the interaction class.  

See:

  http://mail.zope.org/pipermail/zope3-dev/2004-July/011656.html


  Commit: 37657f8db64f2e4d465335b2ec159cb645304bb1
      https://github.com/zopefoundation/zope.app.component/commit/37657f8db64f2e4d465335b2ec159cb645304bb1
  Author: Jim Fulton <jim at zope.com>
  Date:   2004-07-27 (Tue, 27 Jul 2004)

  Changed paths:
    M tests/test_servicedirective.py

  Log Message:
  -----------
  Merged from trunk

  r26787 | jim | 2004-07-27 10:00:42 -0400 (Tue, 27 Jul 2004) | 4 lines

Moved forbidden and unauthorized exception definitions to
zope.security.interfaces.


  Commit: 19d6accafdde98724ffee1a0660280a3b209059e
      https://github.com/zopefoundation/zope.app.component/commit/19d6accafdde98724ffee1a0660280a3b209059e
  Author: Jim Fulton <jim at zope.com>
  Date:   2004-07-27 (Tue, 27 Jul 2004)

  Changed paths:
    A interface.py

  Log Message:
  -----------
  Merged from trunk

  r26795 | jim | 2004-07-27 11:15:58 -0400 (Tue, 27 Jul 2004) | 2 lines

Got rid of (the pointless) ZopeError.


  Commit: 77edf7c088488244a6a356b4dbd8471a9d73cde3
      https://github.com/zopefoundation/zope.app.component/commit/77edf7c088488244a6a356b4dbd8471a9d73cde3
  Author: Philipp von Weitershausen <philipp at weitershausen.de>
  Date:   2004-08-11 (Wed, 11 Aug 2004)

  Changed paths:
    M metadirectives.py
    M tests/test_contentdirective.py
    M tests/test_directives.py
    M tests/test_factory.py

  Log Message:
  -----------
  Merge r27007: Factory ids have to be real ids now,
i.e. they need to contain at least a dot or be a URI.


  Commit: cef7ec531423a9ff23cec73ef1f584d21c56ecf7
      https://github.com/zopefoundation/zope.app.component/commit/cef7ec531423a9ff23cec73ef1f584d21c56ecf7
  Author: Stephan Richter <stephan.richter at gmail.com>
  Date:   2004-08-12 (Thu, 12 Aug 2004)

  Changed paths:
    M configure.zcml
    M hooks.py
    M tests/test_servicedirective.py

  Log Message:
  -----------
  Backported 

r26510 | srichter | 2004-07-13 17:49:44 -0400 (Tue, 13 Jul 2004) | 4 lines
r26511 | srichter | 2004-07-13 18:25:30 -0400 (Tue, 13 Jul 2004) | 2 lines
r26512 | srichter | 2004-07-13 18:27:31 -0400 (Tue, 13 Jul 2004) | 5 lines
r26513 | srichter | 2004-07-13 19:23:17 -0400 (Tue, 13 Jul 2004) | 2 lines
r26514 | srichter | 2004-07-13 19:25:04 -0400 (Tue, 13 Jul 2004) | 3 lines
r26515 | srichter | 2004-07-13 19:47:28 -0400 (Tue, 13 Jul 2004) | 2 lines
r26516 | srichter | 2004-07-13 19:48:45 -0400 (Tue, 13 Jul 2004) | 5 lines
r26518 | srichter | 2004-07-13 20:25:17 -0400 (Tue, 13 Jul 2004) | 3 lines


  Commit: 5752673a8695f12e4bef40e9a6ab4edc6d991b51
      https://github.com/zopefoundation/zope.app.component/commit/5752673a8695f12e4bef40e9a6ab4edc6d991b51
  Author: Stephan Richter <stephan.richter at gmail.com>
  Date:   2004-08-12 (Thu, 12 Aug 2004)

  Changed paths:
    M configure.zcml
    M hooks.py
    M tests/test_servicedirective.py

  Log Message:
  -----------
  Backed out rev27060, I will try to merge the revisions one by one. Also 
merged in 27037, since it fixed the last failure.


  Commit: 4f4f2eb85347bf1adc43cd66ecc50a70f2fec9ce
      https://github.com/zopefoundation/zope.app.component/commit/4f4f2eb85347bf1adc43cd66ecc50a70f2fec9ce
  Author: Stephan Richter <stephan.richter at gmail.com>
  Date:   2004-08-12 (Thu, 12 Aug 2004)

  Changed paths:
    A contentdirective.py
    M interface.py
    A tests/adapter.py
    A tests/exampleclass.py
    A tests/factory.py
    A tests/service.py
    M tests/test_contentdirective.py
    M tests/test_directives.py
    M tests/test_factory.py
    A tests/test_localservice.py
    A tests/test_requirepermissions.py
    M tests/test_servicedirective.py
    A tests/test_servicemanagercontainer.py
    A tests/views.py

  Log Message:
  -----------
  Backported

r26524 | srichter | 2004-07-14 03:45:38 -0400 (Wed, 14 Jul 2004) | 6 lines
r26551 | srichter | 2004-07-15 03:06:37 -0400 (Thu, 15 Jul 2004) | 6 lines
r26522 | pruggera | 2004-07-14 01:42:06 -0400 (Wed, 14 Jul 2004) | 1 line
r26531 | pruggera | 2004-07-14 13:00:15 -0400 (Wed, 14 Jul 2004) | 1 line
r26534 | pruggera | 2004-07-14 15:55:34 -0400 (Wed, 14 Jul 2004) | 1 line
r26540 | pruggera | 2004-07-14 18:14:25 -0400 (Wed, 14 Jul 2004) | 1 line


  Commit: a6d62473eb0df046293ccd8776872a00b439ea24
      https://github.com/zopefoundation/zope.app.component/commit/a6d62473eb0df046293ccd8776872a00b439ea24
  Author: Stephan Richter <stephan.richter at gmail.com>
  Date:   2004-08-12 (Thu, 12 Aug 2004)

  Changed paths:
    M metadirectives.py
    A tests/module.py
    M tests/test_contentdirective.py
    A tests/test_interface.py
    M tests/test_requirepermissions.py

  Log Message:
  -----------
  Backported

r26567 | srichter | 2004-07-16 02:58:27 -0400 (Fri, 16 Jul 2004) | 2 lines
r26570 | srichter | 2004-07-16 03:54:40 -0400 (Fri, 16 Jul 2004) | 3 lines


  Commit: e5376186e016f58eba7eb8a7bf7a2f44e954be93
      https://github.com/zopefoundation/zope.app.component/commit/e5376186e016f58eba7eb8a7bf7a2f44e954be93
  Author: Jim Fulton <jim at zope.com>
  Date:   2004-08-13 (Fri, 13 Aug 2004)

  Changed paths:
    M hooks.py

  Log Message:
  -----------
  Added an explanation for calling removeSecurityProxy. Also changed
from using trustedRemoveSecurityProxy to using removeSecurityProxy.


  Commit: 4149e1ec44dd164e0ea1079a57d5d8c589dabb51
      https://github.com/zopefoundation/zope.app.component/commit/4149e1ec44dd164e0ea1079a57d5d8c589dabb51
  Author: Jim Fulton <jim at zope.com>
  Date:   2004-08-13 (Fri, 13 Aug 2004)

  Changed paths:
    M localservice.py

  Log Message:
  -----------
  Removed some unneeded removaAllProxies calls


  Commit: fc2d05db231e80e7621e909e8198876d3570a979
      https://github.com/zopefoundation/zope.app.component/commit/fc2d05db231e80e7621e909e8198876d3570a979
  Author: Jim Fulton <jim at zope.com>
  Date:   2004-08-20 (Fri, 20 Aug 2004)

  Changed paths:
    M localservice.py

  Log Message:
  -----------
  Deprecated zope.security.trustedRemoveSecurityProxy and
zope.security.getProxiedObject. Use zope.security.removeSecurityProxy
instead.  (This should also be used rather than removeAllProxies.)


  Commit: 67d6766bec1d8095767871d0efda19af4b0c3d59
      https://github.com/zopefoundation/zope.app.component/commit/67d6766bec1d8095767871d0efda19af4b0c3d59
  Author: Jim Fulton <jim at zope.com>
  Date:   2004-08-20 (Fri, 20 Aug 2004)

  Changed paths:
    M metaconfigure.py
    M metadirectives.py
    M tests/test_directives.py

  Log Message:
  -----------
  Added "trusted" option for defining trusted subscribers.

Deprecated zope.security.trustedRemoveSecurityProxy and
zope.security.getProxiedObject. Use zope.security.removeSecurityProxy
instead.  (This should also be used rather than removeAllProxies.)


  Commit: f026f2047d31ef0a2cb54c7841caee377aebe477
      https://github.com/zopefoundation/zope.app.component/commit/f026f2047d31ef0a2cb54c7841caee377aebe477
  Author: Fred Drake <fdrake at acm.org>
  Date:   2004-08-25 (Wed, 25 Aug 2004)

  Changed paths:
    M tests/test_factory.py

  Log Message:
  -----------
  replace a couple of removeAllProxies() calls with removeSecurityProxy()
calls, making sure the comments make sense


  Commit: 22e721325f69e427d9f46d803cae23051decd114
      https://github.com/zopefoundation/zope.app.component/commit/22e721325f69e427d9f46d803cae23051decd114
  Author: Fred Drake <fdrake at acm.org>
  Date:   2004-08-31 (Tue, 31 Aug 2004)

  Changed paths:
    M tests/test_factory.py

  Log Message:
  -----------
  Use zapi.isinstance() as appropriate.

Always use zapi.isinstance(o) instead of isinstance(removeSecurityProxy(o))
when the unproxied object is not otherwise needed.


  Commit: b9e4a52d92e5a3c23b0c7d889823b4c66e13342e
      https://github.com/zopefoundation/zope.app.component/commit/b9e4a52d92e5a3c23b0c7d889823b4c66e13342e
  Author: Phil Ruggera <pruggera at san.rr.com>
  Date:   2004-09-02 (Thu, 02 Sep 2004)

  Changed paths:
    M contentdirective.py
    M localservice.py
    M metaconfigure.py

  Log Message:
  -----------
  Update doc strings to ReST


Compare: https://github.com/zopefoundation/zope.app.component/compare/710ab7978508^...b9e4a52d92e5


More information about the checkins mailing list