[Checkins] [zopefoundation/zope.app.publisher] af6058: Deprecate browser:skin and browser:layer directive...

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


  Branch: refs/heads/monolithic-zope3-philikon-simplify-skinning
  Home:   https://github.com/zopefoundation/zope.app.publisher
  Commit: af605837e4cc860c4c247ad5865ac3f296482148
      https://github.com/zopefoundation/zope.app.publisher/commit/af605837e4cc860c4c247ad5865ac3f296482148
  Author: Philipp von Weitershausen <philipp at weitershausen.de>
  Date:   2006-02-18 (Sat, 18 Feb 2006)

  Changed paths:
    A browser/meta.zcml
    A browser/metaconfigure.py

  Log Message:
  -----------
  Deprecate browser:skin and browser:layer directives.


  Commit: bf583ee2d1ea75270d65518c9e6bf2b681c0fb9b
      https://github.com/zopefoundation/zope.app.publisher/commit/bf583ee2d1ea75270d65518c9e6bf2b681c0fb9b
  Author: Philipp von Weitershausen <philipp at weitershausen.de>
  Date:   2006-02-18 (Sat, 18 Feb 2006)

  Changed paths:
    A browser/__init__.py
    A browser/configure.zcml
    A browser/tests/test_directives.py

  Log Message:
  -----------
  Replace occurrences of ISkin with IBrowserSkinType.


  Commit: 9246bdc0adbd71ca264fa2f0a8ecab73b9cc2908
      https://github.com/zopefoundation/zope.app.publisher/commit/9246bdc0adbd71ca264fa2f0a8ecab73b9cc2908
  Author: Philipp von Weitershausen <philipp at weitershausen.de>
  Date:   2006-02-18 (Sat, 18 Feb 2006)

  Changed paths:
    M browser/metaconfigure.py

  Log Message:
  -----------
  Stacklevel 2 doesn't make much sense in warnings within ZCML handlers. I'd rather
have the ZCML filename and line no. be stated, not the Python module. Perhaps later.


  Commit: 2a24296de078a76da6223bca989bebb7420e21ea
      https://github.com/zopefoundation/zope.app.publisher/commit/2a24296de078a76da6223bca989bebb7420e21ea
  Author: Philipp von Weitershausen <philipp at weitershausen.de>
  Date:   2006-02-19 (Sun, 19 Feb 2006)

  Changed paths:
    M browser/metaconfigure.py

  Log Message:
  -----------
  Make deprecation warning state the ZCML file and line number.


  Commit: 59cc189b53ce5985205bc7c35ae3fac329f2deff
      https://github.com/zopefoundation/zope.app.publisher/commit/59cc189b53ce5985205bc7c35ae3fac329f2deff
  Author: Philipp von Weitershausen <philipp at weitershausen.de>
  Date:   2006-02-19 (Sun, 19 Feb 2006)

  Changed paths:
    M browser/configure.zcml
    M browser/metaconfigure.py
    A browser/metadirectives.py

  Log Message:
  -----------
  * Make zope.app.layers and zope.app.skins a proper module (even though
  they're going to go away). Why they had to be created from Python
  is beyond me, or why they had to be created in the first place.

* Introduce a hook to zope.app.layers and zope.app.skins that lets skins
  and layers register themselves there.  We need this for BBB compat
  when we're using <interface /> now instead of <browser:skin />.
  Accessing the skins and layers through those modules will trigger a 
  deprecation warning.

* Add a BBB awareness parameter to the browser:layer directive that let's
  us continue to use it until its removed without issuing a deprecation
  warning.  We need to continue to use it for BBB reasons (because some
  code might be looking up layers by getting the ILayer utilities, for
  example).


  Commit: d781528d90cd667350644026f74600e858fcba9d
      https://github.com/zopefoundation/zope.app.publisher/commit/d781528d90cd667350644026f74600e858fcba9d
  Author: Philipp von Weitershausen <philipp at weitershausen.de>
  Date:   2006-02-19 (Sun, 19 Feb 2006)

  Changed paths:
    M browser/metadirectives.py

  Log Message:
  -----------
  Add BBB comments


  Commit: d2611efc18578fe9cb6f2c1f73219aef52924347
      https://github.com/zopefoundation/zope.app.publisher/commit/d2611efc18578fe9cb6f2c1f73219aef52924347
  Author: Philipp von Weitershausen <philipp at weitershausen.de>
  Date:   2006-02-21 (Tue, 21 Feb 2006)

  Changed paths:
    M browser/metaconfigure.py

  Log Message:
  -----------
  Make tests pass by passing in the right mock object and introducing an
import of sys.


  Commit: ffc4b728b6cdab813bd80f6bda9bc0ffdecebad2
      https://github.com/zopefoundation/zope.app.publisher/commit/ffc4b728b6cdab813bd80f6bda9bc0ffdecebad2
  Author: Philipp von Weitershausen <philipp at weitershausen.de>
  Date:   2006-02-21 (Tue, 21 Feb 2006)

  Changed paths:
    M browser/tests/test_directives.py

  Log Message:
  -----------
  Introduce BBB markers and ignore the deprecation message on ILayer.


  Commit: c98f5ab9b73360d32b41ef343072acb814619f74
      https://github.com/zopefoundation/zope.app.publisher/commit/c98f5ab9b73360d32b41ef343072acb814619f74
  Author: Philipp von Weitershausen <philipp at weitershausen.de>
  Date:   2006-02-21 (Tue, 21 Feb 2006)

  Changed paths:
    M browser/tests/test_directives.py

  Log Message:
  -----------
  * Get rid of the code I just put BBB markers on. These tests are duplicated,
  the deprecated skin and layer directives have doctests of their own.

* Make the other tests not use browser:layer or browser:skin anymore.


  Commit: bf21b6a41995a8fc34f379ca1963b09be8ae574d
      https://github.com/zopefoundation/zope.app.publisher/commit/bf21b6a41995a8fc34f379ca1963b09be8ae574d
  Author: Philipp von Weitershausen <philipp at weitershausen.de>
  Date:   2006-02-21 (Tue, 21 Feb 2006)

  Changed paths:
    A browser/tests/addmenuitems.zcml
    A browser/tests/test_addMenuItem.py

  Log Message:
  -----------
  Remove use of browser:layer in test.


  Commit: 20761f338ca27cd5560ab098bbca8e25d3b4556a
      https://github.com/zopefoundation/zope.app.publisher/commit/20761f338ca27cd5560ab098bbca8e25d3b4556a
  Author: Philipp von Weitershausen <philipp at weitershausen.de>
  Date:   2006-02-21 (Tue, 21 Feb 2006)

  Changed paths:
    M browser/metaconfigure.py

  Log Message:
  -----------
  Ignore deprecation warnings during tests of browser:layer and browser:skin.


  Commit: bd5a4d5a44161a77153f6e079e1473e9d42953b4
      https://github.com/zopefoundation/zope.app.publisher/commit/bd5a4d5a44161a77153f6e079e1473e9d42953b4
  Author: Philipp von Weitershausen <philipp at weitershausen.de>
  Date:   2006-02-21 (Tue, 21 Feb 2006)

  Changed paths:
    M browser/metaconfigure.py

  Log Message:
  -----------
  Work around a weird import bug.


  Commit: 9a0355426cc9db167e8273496fbb557b75968b37
      https://github.com/zopefoundation/zope.app.publisher/commit/9a0355426cc9db167e8273496fbb557b75968b37
  Author: Philipp von Weitershausen <philipp at weitershausen.de>
  Date:   2006-02-26 (Sun, 26 Feb 2006)

  Changed paths:
    M browser/configure.zcml

  Log Message:
  -----------
  Provide the "Browser Skins" vocabulary (in contradiction to the proposal which
promises a "Browser Skin Names" vocabulary which would be nameOnly=True).


Compare: https://github.com/zopefoundation/zope.app.publisher/compare/af605837e4cc^...9a0355426cc9


More information about the checkins mailing list