summaryrefslogtreecommitdiff
path: root/docs
Commit message (Collapse)AuthorAgeFilesLines
* Fix the subscriber directive when a factory is given that implements an ↵issue9Jason Madden2021-03-181-2/+1
| | | | | | interface and no provides= attribute is specified. fixes #9
* Ensure the changelog is published on RTD too. (Tweak to #49)Jason Madden2020-07-032-0/+6
|
* Reference documentation improvementsdoc-moduleJason Madden2020-06-267-27/+97
| | | | | | | | | | | | | | | | | | | | | | | | | - Make it possible to use :mod:`zope.component` - Provide a concise list of all the available APIs in that module and link them to their in-depth descriptions. - Fix several xref errors - Add documentation for setHooks/resetHooks. This also makes it possible to get useful help at the REPL or command line: $ python -c 'import zope.component; help(zope.component.getAdapters)' Help on function getAdapters in module zope.component._api: getAdapters(objects, provided, context=None) Look for all matching adapters to a provided interface for objects Return a list of adapters that match. If an adapter is named, only the most specific adapter of a given name is returned. .. seealso:: Function `~zope.component.getAdapters` for notes, and `~zope.component.interfaces.IComponentArchitecture` for the defining interface.
* Add intersphinx connections.Jason Madden2020-03-2312-73/+111
| | | | | | And some internal links as well. Remove mentions of 'IServiceService' from interface documentation, as that's not a thing.
* Breaking cyclic requirements on zope.security.Jason Madden2020-03-231-2/+22
| | | | | - Use unittest runner directly (remove unneeded test_suite() methods). The same number of tests get run, but coverage will go down since the security-relevant tests just get skipped. - Catch import errors due to inconsistent IROs and trigger test skips.
* Fix tests on Python 2Colin Watson2019-11-111-6/+6
| | | | | | | | | | | ZODB 5.5.0 added an "import mock" to ZODB.tests.util (or "from unittest import mock" on Python 3, which is in the standard library). ZODB[test] included the new dependency, but zope.component wasn't using that for tests. However, ZODB.tests.util.DB was just an import of ZODB.MappingStorage.DB, so we can just as easily use the latter and avoid the extra dependency.
* Fix typo.Jürgen Gmach2019-11-111-1/+1
|
* Add Python 3.7 support (#39)Jeremy Kolbe2018-10-101-7/+6
| | | | | | * Fix Tests * Add a coverage environment to tox and reach 100% coverage.
* Produce deprecation warnings for deprecated names in interfaces.py and ↵remove-unused-importsJason Madden2017-11-084-8/+7
| | | | | | | | | | | | | 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.
* 100% coverageissue29Jason Madden2017-06-301-3/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Prefer sortedJason Madden2017-06-291-2/+2
|
* Use 'text' instead of 'unicode'Jason Madden2017-06-292-8/+10
|
* Enable doctests on Python 3 and PyPyJason Madden2017-06-2910-151/+175
| | | | | | | | Drop pypy3.3-5.5-alpha Sphinx needs Python 2.7 or 3.4+ to run, and this is a (really old) version of Python 3.3. (Unfortunately the beta of PyPy3.5 does not appear to be available.)
* Update to current version + fix naming issue.Michael Howitz2016-08-261-9/+9
|
* Update hacking docs for Github.Tres Seaver2015-01-261-121/+132
|
* Silence Sphinx warning.Tres Seaver2015-01-221-0/+0
|
* Edit myself out in favor of J. Random Hacker.Tres Seaver2015-01-201-2/+2
| | | | [ci skip]
* Remove no-longer true mention of building docs in buildout.Tres Seaver2015-01-191-23/+0
|
* Fix dict order issues with 'tox -e docs'Marius Gedminas2014-12-121-5/+5
|
* Implemented ability to specify adapter and utility names in Python. UseStephan Richter2014-02-051-7/+36
| | | | | | the ``@zope.component.named(name)`` decorator to specify the name. All tox environments pass and coverage is at 100%.
* Fix tests due to changing output due to latest testrunner.Stephan Richter2014-02-051-4/+4
|
* Add page on hacking the package.Tres Seaver2012-07-022-1/+333
|
* Isolation.Tres Seaver2012-07-021-0/+11
|
* Merge tseaver-test_cleanup branch.Tres Seaver2012-06-2922-0/+4866