Edgewall Software

Changes between Version 34 and Version 35 of TracDev/ApiChanges/0.11


Ignore:
Timestamp:
Mar 13, 2008, 3:08:24 PM (16 years ago)
Author:
Christian Boos
Comment:

Now get rid of the last TODO items - I think the page is done, review it please.

Legend:

Unmodified
Added
Removed
Modified
  • TracDev/ApiChanges/0.11

    v34 v35  
    3535The Trac macros will need to be adapted:
    3636 - the old-style wiki-macros are not supported anymore (due to the drop of ClearSilver and the HDF); they need to be converted to the new-style macros
    37  - new-style macros are [#IWikiMacroProvider] plugins. They can be written as full plugins or simple one file drop-in plugins, see source:tags/trac-0.11b2/sample-plugins for some examples (TODO: source:tags/trac-0.11/sample-plugins/macros)
     37 - new-style macros are [#IWikiMacroProvider] plugins. They can be written as full plugins or simple one file drop-in plugins, see source:tags/trac-0.11b2/sample-plugins for some examples.
    3838
    3939=== Modified Interfaces ===
     
    119119Several new interfaces and modules have been added in 0.11.
    120120
    121 TODO: document the various new trac.util modules.
     121There are a few new utilities of general interest:
     122 - [source:tags/trac-0.11b2/trac/util/presentation.py presentation.py] - various helper functions that are intended to be used in Genshi templates
     123 - [source:tags/trac-0.11b2/trac/util/translation.py translation.py] - ["TracL10N" i18n] utilities. Those are placeholders for now, but you can already pick the habit of enclosing your human-readable strings in `_(...)` calls, it may pay off one day...
     124 - [source:tags/trac-0.11b2/trac/util/compat.py compat.py] - make available some usefull new utilities to older Python versions. Those used to live in `trac.util.__init__.py` are still importable through the `trac.util` module.
     125
     126Also of interest are a few helper functions in [source:tags/trac-0.11b2/trac/web/chrome.py#L108 trac.web.chrome] that can be used to add warnings and notifications at the top of the page (`add_warning`, `add_notice`) and contextual navigation links (`add_context_nav`) at the upper right corner of the page.
    122127
    123128=== New Classes ===