Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Sep 3, 2011
  1. Handle multiple events between or an either side of start and end tag…

    hodgestar authored
    …s in translated messages -- fixes #404 (bug no longer found).
    
    git-svn-id: http://svn.edgewall.org/repos/genshi/trunk@1177 de761a21-4c15-0410-92fa-db90950b6ec0
Commits on Sep 2, 2011
  1. Revert accidental small docstring change from r1174.

    hodgestar authored
    git-svn-id: http://svn.edgewall.org/repos/genshi/trunk@1175 de761a21-4c15-0410-92fa-db90950b6ec0
  2. Improve sanitizing of CSS in style attributes (note that the Genshi d…

    hodgestar authored
    …ocumentation already warns users that enabling the style attribute is dangerous -- now it is slightly less dangerous). Fixes #455. Patch taken from jomae's Trac commit trac:r10788 and modified for Genshi -- thanks!
    
    git-svn-id: http://svn.edgewall.org/repos/genshi/trunk@1174 de761a21-4c15-0410-92fa-db90950b6ec0
  3. Add .copy() function to Context objects. Fixes #249.

    hodgestar authored
    git-svn-id: http://svn.edgewall.org/repos/genshi/trunk@1172 de761a21-4c15-0410-92fa-db90950b6ec0
Commits on Aug 30, 2011
  1. Fix out-by-one error introduced in r1097 that led to match templates …

    hodgestar authored
    …missing the last event from the stream they were processing.
    
    git-svn-id: http://svn.edgewall.org/repos/genshi/trunk@1170 de761a21-4c15-0410-92fa-db90950b6ec0
Commits on Aug 3, 2011
  1. Fix bug in _speedups where it differed from behaviour of Python imple…

    hodgestar authored
    …mentation and add a test for this case (fixes #439). Fix and test contributed by cboos.
    
    git-svn-id: http://svn.edgewall.org/repos/genshi/trunk@1168 de761a21-4c15-0410-92fa-db90950b6ec0
Commits on Jul 3, 2011
  1. Fix bug in ASTTransformer's cloning that overwrote AST nodes name att…

    hodgestar authored
    …ribute instead of copy the attributes listed in ASTNode._attributes.
    
    git-svn-id: http://svn.edgewall.org/repos/genshi/trunk@1167 de761a21-4c15-0410-92fa-db90950b6ec0
  2. Fix genshi.core.Attrs.__contains__ so that it returns False instead o…

    hodgestar authored
    …f None if an attribute is not found (CPython translates this to False automatically but PyPy does not).
    
    git-svn-id: http://svn.edgewall.org/repos/genshi/trunk@1166 de761a21-4c15-0410-92fa-db90950b6ec0
Commits on Jun 12, 2011
  1. Don't cache (TEXT, Markup) events in serializers. This is not needed …

    hodgestar authored
    …and since Markup instances compare equal to the same non-Markup string this can lead to incorrect cached output being retrieved. Fixes #429. This is patch t429-fix.2.patch from that ticket. It includes an additional unrelated test to check that the WhitespaceFilter actually removes ignorable whitespace.
    
    git-svn-id: http://svn.edgewall.org/repos/genshi/trunk@1164 de761a21-4c15-0410-92fa-db90950b6ec0
  2. Refactor string cache creation to remove repeated code in preparation…

    hodgestar authored
    … for fixing issue #429. This is patch t429-refactor-r1038.2.patch from ticket (from cboos).
    
    git-svn-id: http://svn.edgewall.org/repos/genshi/trunk@1163 de761a21-4c15-0410-92fa-db90950b6ec0
Commits on Mar 18, 2011
  1. Update upgrade documentation to refer to the development version and …

    hodgestar authored
    …not the py3k branch.
    
    git-svn-id: http://svn.edgewall.org/repos/genshi/trunk@1162 de761a21-4c15-0410-92fa-db90950b6ec0
  2. Merge r1144 from py3k: Add documentation on upgrading to the Genshi p…

    hodgestar authored
    …y3k branch.
    
    git-svn-id: http://svn.edgewall.org/repos/genshi/trunk@1161 de761a21-4c15-0410-92fa-db90950b6ec0
  3. Merge r1143 from py3k:

    hodgestar authored
    add support for python 3 to remaining genshi.template components:
    
     * minor changes to track encoding=None API change in core genshi modules.
     * genshi/template/directives:
       * slightly odd syntax changes to make the 2to3 .next() fixer pick up *stream.next()
       * minor test fix for change in behaviour of division (/) in Python 3.
     * genshi/template/loader:
       * add 'b' to file modes to ensure it's loaded as bytes in Python 3.
     * use not isinstance(s, unicode) instead of isinstance(s, str) since the former is correctly converted by 2to3.
    
    
    
    git-svn-id: http://svn.edgewall.org/repos/genshi/trunk@1160 de761a21-4c15-0410-92fa-db90950b6ec0
  4. Merge r1142 from py3k:

    hodgestar authored
    add support for python 3 to genshi.template expression evaluator:
    
     * add support for python 3 AST:
       * AST for raise has changed in Python 3.
       * Python 3 adds AST nodes for individual arguments and Bytes.
     * use genshi.compat functions for dealing with code objects.
     * do not coerce byte strings to unicode in Python 3 ASTTransformer.
     * replace doctests that reply on exception names with uglier but more compatible try:.. except:.. doctest
     * handle filename preferences of Python 2 and 3 (2 prefers bytes, 3 prefers unicode).
     * ifilter is gone from itertools in Python 3 so use repeat for tests instead.
    
    
    
    git-svn-id: http://svn.edgewall.org/repos/genshi/trunk@1159 de761a21-4c15-0410-92fa-db90950b6ec0
  5. Merge r1141 from py3k:

    hodgestar authored
    add support for python 3 to genshi.filters:
    
     * minor changes to track encoding=None API change in core genshi modules.
     * renamed genshi/filters/tests/html.py to test_html.py to avoid clashes with Python 3 top-level html module when running tests subset.
     * did not rename genshi/filters/html.py.
     * i18n filters:
       * ugettext and friends are gone in Python 3 (and only gettext and friends exist and they now handle unicode)
       * Some \ line continuations inside doctests confused 2to3 and so were removed them.
       * Testing picked up a problem (already present in trunk) where Translator.__call__ could end up defining gettext as an endlessly recursive function. Noted with a TODO.
    
    
    
    git-svn-id: http://svn.edgewall.org/repos/genshi/trunk@1158 de761a21-4c15-0410-92fa-db90950b6ec0
  6. Merge r1140 from py3k:

    hodgestar authored
    add support for python 3 to core genshi components (genshi.core, genshi.input and genshi.output):
    
    * default input and output encodings changed from UTF-8 to None (i.e. unicode strings)
    * Namespace and QName objects do not call stringrepr in __repr__ in Python 3 since repr() returns a unicode string there.
    * track changes to expat parser in Python 3 (mostly it accepts bytes instead of strings)
    
    
    
    git-svn-id: http://svn.edgewall.org/repos/genshi/trunk@1157 de761a21-4c15-0410-92fa-db90950b6ec0
  7. Merge r1139 from py3k: add compatibility functions for dealing with p…

    hodgestar authored
    …ython 3; factor existing compatibility functions out from genshi utils.
    
    git-svn-id: http://svn.edgewall.org/repos/genshi/trunk@1156 de761a21-4c15-0410-92fa-db90950b6ec0
  8. Merge r1138 from py3k: add python 3 support to _speedups C extension

    hodgestar authored
    git-svn-id: http://svn.edgewall.org/repos/genshi/trunk@1155 de761a21-4c15-0410-92fa-db90950b6ec0
  9. Merge r1137 from py3k: add 2to3 build infrastructure to setup.py (thi…

    hodgestar authored
    …s pulls the tests into the source distribution so that tests can be run after building with 2to3)
    
    git-svn-id: http://svn.edgewall.org/repos/genshi/trunk@1154 de761a21-4c15-0410-92fa-db90950b6ec0
Commits on Dec 13, 2010
  1. Pull up r1147 to trunk.

    jruigrok authored
    Correct reference to i18n namespace in documentation.
    
    
    git-svn-id: http://svn.edgewall.org/repos/genshi/trunk@1150 de761a21-4c15-0410-92fa-db90950b6ec0
  2. Pull up r1146 to trunk.

    jruigrok authored
    Addresses #399
    
    
    git-svn-id: http://svn.edgewall.org/repos/genshi/trunk@1149 de761a21-4c15-0410-92fa-db90950b6ec0
  3. Pull up r1145 to trunk.

    jruigrok authored
    Addresses #413.
    
    
    git-svn-id: http://svn.edgewall.org/repos/genshi/trunk@1148 de761a21-4c15-0410-92fa-db90950b6ec0
Commits on May 10, 2010
  1. Fix handling of checkboxes and radio buttons with an empty value attr…

    cmlenz authored
    …ibute in `HTMLFormFiller`. Thanks to Benoit Hirbec for pointing out the problem and providing a patch.
    
    git-svn-id: http://svn.edgewall.org/repos/genshi/trunk@1134 de761a21-4c15-0410-92fa-db90950b6ec0
  2. Fix for bug with the `HTMLFormFiller` in the handling of textareas. T…

    cmlenz authored
    …hanks to Trevor Morgan for pointing this out on the mailing list.
    
    git-svn-id: http://svn.edgewall.org/repos/genshi/trunk@1133 de761a21-4c15-0410-92fa-db90950b6ec0
Commits on Apr 28, 2010
  1. The `|` operator on `Attrs` objects now removes any existing attribut…

    cmlenz authored
    …es if the value is `None`.
    
    git-svn-id: http://svn.edgewall.org/repos/genshi/trunk@1129 de761a21-4c15-0410-92fa-db90950b6ec0
Commits on Apr 22, 2010
  1. Bump up version number on trunk.

    cmlenz authored
    git-svn-id: http://svn.edgewall.org/repos/genshi/trunk@1125 de761a21-4c15-0410-92fa-db90950b6ec0
  2. Update changelog and copyright years.

    cmlenz authored
    git-svn-id: http://svn.edgewall.org/repos/genshi/trunk@1120 de761a21-4c15-0410-92fa-db90950b6ec0
Commits on Apr 21, 2010
  1. Fix for infinite recursion when parsing argument names from tuples. C…

    cmlenz authored
    …loses #383.
    
    git-svn-id: http://svn.edgewall.org/repos/genshi/trunk@1119 de761a21-4c15-0410-92fa-db90950b6ec0
  2. i18n: some cleanup, especially for the pluralization directives.

    cmlenz authored
    git-svn-id: http://svn.edgewall.org/repos/genshi/trunk@1118 de761a21-4c15-0410-92fa-db90950b6ec0
  3. Split up the i18n unit tests into per-directive test cases.

    cmlenz authored
    git-svn-id: http://svn.edgewall.org/repos/genshi/trunk@1117 de761a21-4c15-0410-92fa-db90950b6ec0
  4. i18n: Another unit test related to #380.

    cmlenz authored
    git-svn-id: http://svn.edgewall.org/repos/genshi/trunk@1116 de761a21-4c15-0410-92fa-db90950b6ec0
  5. i18n: Support extraction of attributes in markup embedded in ``i18n:m…

    cmlenz authored
    …sg`` and ``i18n:choose`` directives. See also #380.
    
    git-svn-id: http://svn.edgewall.org/repos/genshi/trunk@1115 de761a21-4c15-0410-92fa-db90950b6ec0
  6. Removed some obsolete/unused code from the i18n filter.

    cmlenz authored
    git-svn-id: http://svn.edgewall.org/repos/genshi/trunk@1114 de761a21-4c15-0410-92fa-db90950b6ec0
Commits on Apr 19, 2010
  1. More doc tweaks.

    cmlenz authored
    git-svn-id: http://svn.edgewall.org/repos/genshi/trunk@1113 de761a21-4c15-0410-92fa-db90950b6ec0
  2. Minor fix for i18n doc.

    cmlenz authored
    git-svn-id: http://svn.edgewall.org/repos/genshi/trunk@1112 de761a21-4c15-0410-92fa-db90950b6ec0
Something went wrong with that request. Please try again.