Skip to content
Snippets Groups Projects
  1. Mar 18, 2008
  2. Mar 17, 2008
  3. Mar 16, 2008
  4. Mar 15, 2008
  5. Mar 14, 2008
  6. Mar 13, 2008
  7. Mar 12, 2008
  8. Mar 13, 2008
  9. Mar 11, 2008
    • Chris Smith's avatar
      Add support for plugin renderers to replace standard renderers · d968d3e5
      Chris Smith authored
      This patch is the fourth in a series aimed at making it easier for DW to allow
      plugins to modify the standard handling of line-breaks.
      
      It adds:
      - new config setting 'renderer_xhtml', default value 'xhtml'
      - new renderer method 'reset()' which is used by reusable renderers when used
        to render second and subsequent data. (*)
      
      An extra step has been added to the renderer selection process.
      - check $conf["renderer_$mode] for renderer name.  If it doesn't exist use $mode as
        the renderer name.
      
      (*) It maybe that the 'document_start()' method can be used for this.  However the
      current xhtml does not correctly reset itself for reuse.
      
      darcs-hash:20080312005647-f07c6-ff2cb960c05927f5c6f3e916a364fcad470c2ce3.gz
      d968d3e5
    • Chris Smith's avatar
      change line-break replacement character to '\n' · 52fe2bfb
      Chris Smith authored
      This patch is the third in a series aimed at making it easier for DW to allow
      plugins to modify the standard handling of line-breaks.
      
      It effectively leaves the new-line character '\n' in the 'cdata' instruction
      allowing the renderer to process the character as it chooses. No changes have
      been made to the renderers.
      
      This change is neutral to xhtml renderers as xhtml treats spaces and new-lines
      identically (as white-space).
      
      Writers of renderer plugins are advised to check their plugin against the new
      patch.
      
      darcs-hash:20080312000924-f07c6-a6dab2d16c7bc42e9dc8eb137648c6f984b4f2e6.gz
      52fe2bfb
    • Chris Smith's avatar
      Update handler to merge consecutive 'cdata' instructions (incl. test case updates) · 41624b31
      Chris Smith authored
      This patch is the second in the series designed to make it easier for DW to allow
      plugins to modify the standard handling of line-breaks.
      
      Like the first this patch doesn't alter line-break behaviour at all, but introduces
      improvements that reduce to a minimum the number of 'cdata' instructions generated
      by the handler.
      
      darcs-hash:20080312000248-f07c6-f6ce1b5aac43a52cbe31215c517b048679ae20a7.gz
      41624b31
  10. Mar 12, 2008
  11. Mar 10, 2008
Loading