| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Add a coverage environment to tox and reach 100% coverage.Python3.7support | Jason Madden | 2018-10-06 | 5 | -20/+15 |
| | | |||||
| * | Tweak import groups in _api.py | Jason Madden | 2017-11-08 | 1 | -3/+1 |
| | | |||||
| * | Produce deprecation warnings for deprecated names in interfaces.py and ↵remove-unused-imports | Jason Madden | 2017-11-08 | 21 | -100/+181 |
| | | | | | | | | | | | | | | registry.py And also in hookable.py Do this using zope.deferredimport and zope.deprecation, two new dependencies. This introduces a transitive dependency on zope.proxy, but that was already part of the 'security' extra. zope.proxy runs on pypy but it doesn't yet support making the C extension optional (https://github.com/zopefoundation/zope.proxy/issues/26) Also drop the use of _compat._BLANK everywhere and just use the literal. | ||||
| * | Remove unused, but not BWC exported, imports from _api. | Jason Madden | 2017-11-08 | 3 | -19/+10 |
| | | |||||
| * | whitespacehookable | Jason Madden | 2017-11-07 | 2 | -2/+1 |
| | | |||||
| * | Always depend on zope.hookable | Jason Madden | 2017-11-07 | 4 | -125/+9 |
| | | | | | | | | | And remove our Python implementation that was added in 2009. The two have now diverged with new features in zope.hookable. Since 2012, zope.hookable has had a Python implementation. Now, with 4.2, the C extension is an optional build. | ||||
| * | Remove obsolete call of searchInterface from interfaceToNamefix_issue_32 | Philip Bauer | 2017-09-03 | 1 | -17/+5 |
| | | |||||
| * | 100% coverageissue29 | Jason Madden | 2017-06-30 | 17 | -445/+225 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add change note and badge to readme. Remove unused class and function. Omit standalonetests.py entirely from coverage. Another unused class. Incorporate feedback in test__api.py * Bring back _callFUT and make the queryAdapterInContext tests call it * Change raise NotImplentedError into specific fails_if_called() calls. Remove redundant argument now that all test in Test_adapts pass under all versions. Remove NotImplementedError from test_globalregistry.py Remove NotImplementedError from test_hookable.py Remove NotImplementedError from test_registry.py Remove NotImplementedError from test_security.py Remove NotImplementedError from test_zcml.py Remove NotImplementedError from test_factory.py Document ZCML feature and devmode. Really accept all arguments unless opted out. | ||||
| * | Remove _u compat function. | Jason Madden | 2016-08-02 | 1 | -7/+1 |
| | | | | | Since we no longer support 3.2 we can use the literal syntax. | ||||
| * | Add failing functiona/integration tests at this level for the interaction ↵ | Jason Madden | 2015-05-28 | 1 | -1/+72 |
| | | | | | between zope.security/zope.proxy/zope.component. These previously existed in a zcml.rst doctest only and will fail under PyPy under zopefoundation/zope.security#11 and/or zopefoundation/zope.proxy#8 is fixed. | ||||
| * | Run test_persistentregistry under PyPy/3, and fix it. Doctests still fail ↵ | Jason Madden | 2015-05-27 | 1 | -0/+2 |
| | | | | | under PyPy. | ||||
| * | Disable 'standalone' test when zope.security is missing. | Tres Seaver | 2015-02-25 | 1 | -35/+42 |
| | | |||||
| * | Restore 100% coverage. | Tres Seaver | 2014-12-11 | 1 | -1/+1 |
| | | |||||
| * | Suppress ResourceWarning under Py3k. | Tres Seaver | 2014-03-17 | 1 | -14/+18 |
| | | |||||
| * | Implemented ability to specify adapter and utility names in Python. Use | Stephan Richter | 2014-02-05 | 5 | -12/+71 |
| | | | | | | | the ``@zope.component.named(name)`` decorator to specify the name. All tox environments pass and coverage is at 100%. | ||||
| * | Replace failUnless with the new spelling to fix a warning on Python 3. | Gediminas Paulauskas | 2013-07-05 | 1 | -6/+6 |
| | | |||||
| * | Reset the cached adapter_hooks at zope.testing.cleanup.cleanUp time (LP1100501). | Jason Madden | 2013-03-04 | 2 | -1/+15 |
| | | |||||
| * | - Changed "ZODB3" depdendency to "persistent". | Stephan Richter | 2013-02-28 | 3 | -3/+9 |
| | | | | | | | - ``tox`` now runs all tests for Python 3.2 and 3.3. - Enable buildout for Python 3. - Fixed new failing tests. | ||||
| * | Defend against hash randomization. | Tres Seaver | 2012-11-21 | 1 | -1/+1 |
| | | |||||
| * | Assert unsupported in older Pythons | Ross Patterson | 2012-08-01 | 1 | -1/+1 |
| | | |||||
| * | Don't pickle registry flattened bases in the 'ro' attribute. | Ross Patterson | 2012-08-01 | 2 | -1/+13 |
| | | | | | | This avoids pickle references that are redundant with the '__bases__' pickling. | ||||
| * | Add coverage for pickling/persisting registry bases. | Ross Patterson | 2012-08-01 | 1 | -5/+7 |
| | | |||||
| * | Merge tseaver-test_cleanup branch. | Tres Seaver | 2012-06-29 | 49 | -6650/+5078 |
| | | |||||
| * | Fixes LP768151: Wrap ``site`` context manager in try/finally (patch by Jason ↵ | Wolfgang Schnerring | 2012-04-02 | 2 | -2/+19 |
| | | | | | Madden <jamadden@gmail.com>) | ||||
| * | Make tests for ``with site()`` run under Python-2.5 | Wolfgang Schnerring | 2011-11-16 | 2 | -3/+5 |
| | | |||||
| * | Add convenience contextmanager for setting the site | Wolfgang Schnerring | 2011-11-16 | 3 | -2/+31 |
| | | |||||
| * | Merge: | Chris McDonough | 2011-09-15 | 6 | -1043/+67 |
| | | | | | | | svn merge --ignore-ancestry -r122753:122812 svn+ssh://svn.zope.org/repos/main/zope.component/branches/chrism-zope.interface-componentregistry | ||||
| * | note about interface declaration order for multi adapters | Johannes Raggam | 2011-02-28 | 1 | -0/+6 |
| | | |||||
| * | forgot to include the zope.component meta.zcml as a dependency of configure.zcml | Thomas Lotze | 2010-09-19 | 1 | -0/+2 |
| | | |||||
| * | no need to clearZCML() in the configure test | Thomas Lotze | 2010-09-19 | 1 | -2/+0 |
| | | |||||
| * | added a smoke test for configure.zcml | Thomas Lotze | 2010-09-18 | 2 | -0/+17 |
| | | |||||
| * | use the new zope.testrunner package | Thomas Lotze | 2010-09-18 | 2 | -2/+2 |
| | | |||||
| * | Remove CVS '6997Id$' fossils. | Tres Seaver | 2010-06-03 | 21 | -41/+1 |
| | | |||||
| * | Prefer the standard libraries doctest module to the one from zope.testing. | Hanno Schlichting | 2010-04-30 | 1 | -1/+3 |
| | | |||||
| * | Comply with repository policy. | Tres Seaver | 2010-04-06 | 22 | -22/+22 |
| | | |||||
| * | The ZCML directives provided by zope.component now register the components in | Fabio Tranchitella | 2010-03-04 | 4 | -5/+27 |
| | | | | | | | | | | the registry returned by getSiteManager instead of the global registry. This allows the hooking of the getSiteManager method before the load of a ZCML file to register the components in a custom registry. | ||||
| * | - Fixed a bug introduced by recent refactoring, where passing | Sidnei da Silva | 2010-02-22 | 3 | -1/+81 |
| | | | | | | | CheckerPublic to securityAdapterFactory wrongly wrapped the factory into a LocatingUntrustedAdapterFactory. | ||||
| * | The tested testrunner was picking up options from the outer testrunner. | Martijn Faassen | 2010-01-21 | 1 | -2/+2 |
| | | | | | | Avoid this. | ||||
| * | Fix a bug where dotted names didn't work in ZCML with ZCMLFileLayer. | Martijn Faassen | 2010-01-21 | 1 | -2/+5 |
| | | |||||
| * | Add eventtesting support for ZCMLLayerBase. | Sylvain Viollon | 2010-01-21 | 1 | -2/+9 |
| | | |||||
| * | merge -r 108354:108362 ↵ | Jan-Wijbrand Kolman | 2010-01-21 | 5 | -0/+234 |
| | | | | | svn+ssh://svn.zope.org/repos/main/zope.component/branches/sylvain-zcmltestlayer | ||||
| * | merged the conditional-zope.security branch to the trunk | Fabio Tranchitella | 2009-11-08 | 7 | -98/+995 |
| | | |||||
| * | All tests passed before; | Godefroid Chapelle | 2009-10-12 | 1 | -6/+5 |
| | | | | | | | Removed code that seems useless; All tests pass after. | ||||
| * | - Fixed a problem, where ``queryNextUtility`` could fail if the context could | Stephan Richter | 2009-07-24 | 2 | -1/+10 |
| | | | | | | not be adapted to a ``IComponentLookup``. | ||||
| * | Fixed 2 related bugs: | Jim Fulton | 2009-06-02 | 3 | -45/+94 |
| | | | | | | | | | | | | | | | | | When a utility is registered and there was previously a utility registered for the same interface and name, then the old utility is unregistered. The 2 bugs related to this: - There was no ``Unregistered`` for the implicit unregistration. Now there is. - The old utility was still held and returned by getAllUtilitiesRegisteredFor. In other words, it was still considered registered, eeven though it wasn't. A particularly negative consequence of this is that the utility is held in memory or in the database even though it isn't used. | ||||
| * | Move over zope:view and zope:resource from zope.app.component into | Martijn Faassen | 2009-05-21 | 4 | -6/+764 |
| | | | | | | zope.component. | ||||
| * | Hook in the hookable tests, which weren't run by default. | Martijn Faassen | 2009-05-21 | 1 | -0/+1 |
| | | |||||
| * | Move testingNextUtility from zope.app.component.testing. | Dan Korostelev | 2009-03-12 | 2 | -0/+107 |
| | | |||||
| * | Add getNextUtility/queryNextUtility functions that used to be in zope.site ↵ | Dan Korostelev | 2009-03-11 | 4 | -0/+139 |
| | | | | | earlier (and in zope.app.component even more earlier). | ||||
| * | As 'setuptools' is a dependency 'pkg_resources' will be available always. ↵ | Baiju Muthukadan | 2009-03-11 | 1 | -7/+1 |
| | | | | | Ref: http://mail.zope.org/pipermail/zope-dev/2009-March/035277.html | ||||
