Issue Details (XML | Word | Printable)

Key: XWIKI-2568
Type: Task Task
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Vincent Massol
Reporter: Vincent Massol
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
XWiki Core

Continue implementing the new Rendering Architecture

Created: 17/Jul/08 14:16   Updated: 26/Nov/08 14:10
Component/s: Rendering 2.0
Affects Version/s: 1.5
Fix Version/s: 1.6 M1

File Attachments: 1. Text File baseformat.patch (3 kB)
2. Text File xwiki-test-baseformat.patch (12 kB)
3. Text File xwiki-xhtml-rendering-baseformat.patch (1 kB)

Issue Links:
Related
 

Date of First Response: 19/Aug/08 10:14
Resolution Date: 29/Aug/08 17:29


 Description  « Hide
what's left:
  • Link parsers + -link rendering (XWikiSyntaxRenderer)-
  • Caches
    • Add suppor for caching macro block generation
    • Add caching of "static" blocks
  • More syntax support
  • -Finish implementing the xhtml, velocity macros (parameters support)-
  • Implement all missing macros (all the radeox macros we had)
  • Modify document link saving (no need for rendering, just parsing)
  • -Make preview work-
  • Find a way to move all old rendering code to a separate package so that it can be easily removed later and so that we have some clean code left (if possible)
  • Make the XHTML parser fully work (lots of issues, see http://code.google.com/p/wikimodel/issues/)
  • -Make Inline mode work-
  • -Modify the Document Information panel in edit mode so that it lists all doc that are included with the new rendering {include} macro.-
  • Question: how do we support automatic inline editing?
  • Decide on syntax elements
    • -escaping blocks of text- ({ { { } } } - need to be implemented in wikimodel)
    • -double curly braces for macros?- (yes)
    • images in links?
    • -Tables in wiki syntax?- (no, only macro)
    • quotation character and quotation blocks
  • Check for view rights in the include macro
  • Groovy refactoring and new grooy module/components
  • Add translation support in include macro
  • -Add api to convert parameters in values (boolean, integers etc.)-
  • -Modify macro api to be able to know where the processed macro is located in the XDOM-
  • -Add id Block (and it's corresponding macro that add the block in the dom) which generate anchor in HTML for example to be used has target in the links-
  • TOC macro:
    • -generate list tree from sections-
    • -support "numbered" parameter-
    • -support "scope" parameter-
    • add internal link targeting sections (temporary solution already committed waiting for LinkBlock to support children blocks as label)

... and a lot more I'm sure (this list should be edited as we progress)

See http://dev.xwiki.org/xwiki/bin/view/Design/NewRenderingArchitecture for Architecture details



 All   Comments   Change History   FishEye      Sort Order: Ascending order - Click to sort in descending order
Vincent Massol added a comment - 17/Jul/08 14:17
See also XWIKI-2508 and XWIKI-654

Wang Ning added a comment - 19/Aug/08 10:14
work with issue-34.patch in http://code.google.com/p/wikimodel/issues/detail?id=34, wikimodelparser, XDOMGeneratorListener, XWikiSyntaxRenderer will support <del> <s> <strike> <u> <ins> <sup> <sub> <mono>.

Wang Ning added a comment - 19/Aug/08 18:22
this patch is for the xhtml rendering for the baseformat

Wang Ning added a comment - 19/Aug/08 18:24
add test case for the base format.
  • when I add all the test to RenderingTests.java then run all the test, I got a all of memory error of java. I think the test framework is too memory consuming.

Vincent Massol added a comment - 21/Aug/08 15:21
Patch from Wang applied with following comment:

"XWIKI-2568: Continue implementing the new Rendering Architecture

  • Applied Wang Ning patch for supporting subscript, superscript and monospace.
  • Note: This is based on some patches applied to our own version of wikimodel (see http://code.google.com/p/wikimodel/issues/detail?id=34). It is possible (and likely) that this patch won't be applied as is by wikimodel since it introduced support for parsing invalid XHTML elements in the XHTML Parser. I'm still applying it for now but we need to be prepared to fix things."

Thanks!


Vincent Massol added a comment - 29/Aug/08 17:29
Done for 1.6M1. See XWIKI-2634 for work left for the 1.6 release.