Menu

Commit [r2815]  Maximize  Restore  History

The refactoring of TracCrossReferences continues...

The rebuilding of the cross-references is now done in the `xref.module`.

Consequently, a `ITracObjectManager` has now less to do:
It only has to provide the db type it manages (only one),
the factory method to create the subclass of `TracObject`
that it manages and an iterator over all existing objects
of that kind.

At the `TracObject` level, a bit more generic functionality
concerning the DB interface has been added:
* a `_load` method that can be used to ensure a `TracObject`
is in it's loaded form. `reload` should still be used if
one wants to ''force'' reading from the DB.

The facets are now better handled at the level of each `TracObject`
(there will be soon a `WikiFacet` class again, I guess).

cboos 2006-01-19

changed /sandbox/trac-xref/trac/object.py
changed /sandbox/trac-xref/trac/scripts/admin.py
changed /sandbox/trac-xref/trac/tests/object.py
changed /sandbox/trac-xref/trac/ticket/api.py
changed /sandbox/trac-xref/trac/ticket/model.py
changed /sandbox/trac-xref/trac/ticket/report.py
changed /sandbox/trac-xref/trac/ticket/roadmap.py
changed /sandbox/trac-xref/trac/ticket/web_ui.py
changed /sandbox/trac-xref/trac/versioncontrol/model.py
changed /sandbox/trac-xref/trac/versioncontrol/web_ui/changeset.py
changed /sandbox/trac-xref/trac/wiki/api.py
changed /sandbox/trac-xref/trac/wiki/macros.py
changed /sandbox/trac-xref/trac/wiki/model.py
changed /sandbox/trac-xref/trac/wiki/web_ui.py
changed /sandbox/trac-xref/trac/xref/__init__.py
changed /sandbox/trac-xref/trac/xref/macros.py
changed /sandbox/trac-xref/trac/xref/tests/__init__.py
changed /sandbox/trac-xref/trac/xref/tests/xref.py
renamed /sandbox/trac-xref/trac/xref/util.py -> /sandbox/trac-xref/trac/xref/api.py
changed /sandbox/trac-xref/trac/xref/web_ui.py
/sandbox/trac-xref/trac/object.py Diff Switch to side-by-side view
Loading...
/sandbox/trac-xref/trac/scripts/admin.py Diff Switch to side-by-side view
Loading...
/sandbox/trac-xref/trac/tests/object.py Diff Switch to side-by-side view
Loading...
/sandbox/trac-xref/trac/ticket/api.py Diff Switch to side-by-side view
Loading...
/sandbox/trac-xref/trac/ticket/model.py Diff Switch to side-by-side view
Loading...
/sandbox/trac-xref/trac/ticket/report.py Diff Switch to side-by-side view
Loading...
/sandbox/trac-xref/trac/ticket/roadmap.py Diff Switch to side-by-side view
Loading...
/sandbox/trac-xref/trac/ticket/web_ui.py Diff Switch to side-by-side view
Loading...
/sandbox/trac-xref/trac/versioncontrol/model.py Diff Switch to side-by-side view
Loading...
/sandbox/trac-xref/trac/versioncontrol/web_ui/changeset.py Diff Switch to side-by-side view
Loading...
/sandbox/trac-xref/trac/wiki/api.py Diff Switch to side-by-side view
Loading...
/sandbox/trac-xref/trac/wiki/macros.py Diff Switch to side-by-side view
Loading...
/sandbox/trac-xref/trac/wiki/model.py Diff Switch to side-by-side view
Loading...
/sandbox/trac-xref/trac/wiki/web_ui.py Diff Switch to side-by-side view
Loading...
/sandbox/trac-xref/trac/xref/__init__.py Diff Switch to side-by-side view
Loading...
/sandbox/trac-xref/trac/xref/macros.py Diff Switch to side-by-side view
Loading...
/sandbox/trac-xref/trac/xref/tests/__init__.py Diff Switch to side-by-side view
Loading...
/sandbox/trac-xref/trac/xref/tests/xref.py Diff Switch to side-by-side view
Loading...
/sandbox/trac-xref/trac/xref/web_ui.py Diff Switch to side-by-side view
Loading...
MongoDB Logo MongoDB