Genshi 0.5 has been released!

But the reason for this mail is just a heads up about the Transformer filter.

I made some much-needed changes [1] to the Transformer filter that
*may* affect Trac plugins that use it. It's unlikely, but just in case
you notice odd changes in behaviour, this change could be the culprit.
As a sample, Vote, Tags and Hackergotchi all worked fine.

Changeset description reproduced here for convenience:

 - Content-insertion transformations (before, after, etc.) now accept
a callable.
 - .prepend() now only operates on elements. Previously it also
operated on OUTSIDE marked events.
 - Where it makes sense, transformations are now consistently applied
to individually selected objects in the document, rather than on any
contiguous selection. This means that adjacent selected elements will
be treated individually rather than as a whole.
 - Transformations should now consistently work on the context node.
 - .substitute() now defaults to a count of 0 (ie. all) rather than 1.
This is to be consistent with Python's regex substitution.
 - ATTR events now have a kind of ATTR in addition to having this as their mark.
 - Added the BREAK mark. This allows cuts of otherwise seamlessly
joined objects to be operated on.
 - Added a full test suite.

[1] http://genshi.edgewall.org/changeset/868

-- 
Evolution: Taking care of those too stupid to take care of themselves.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to