<
From version < 8.1 >
edited by Thomas Mortagne
on 2009/08/12
To version < 10.1 >
edited by Thomas Mortagne
on 2009/08/12
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -17,6 +17,8 @@
17 17   * New footnote macro
18 18   * New experimental network event distribution module
19 19   * Macros can expose nicer human readable names
20 + * It's now possible to add renderers easily
21 + * New plain text parser
20 20  
21 21  1.1.1 Smaller XHTML output
22 22  
... ... @@ -40,6 +40,16 @@
40 40  
41 41  WYSIWYG does not expose macro identifier anymore but human readable names provided by the different macros.
42 42  
45 +1.1.1 Renderers are now real components
46 +
47 +The same way it's possible to add any parser it's not possible to add any renderer for a specific output simply by registering it as a component.
48 +
49 +See [code:Modules.RenderingModule].
50 +
51 +1.1.1 New plain text parser
52 +
53 +Plain text parser make possible to put in a page some plain text to render it exactly as it. The syntax name of plain text renderer is <tt>plain/1.0</tt>, you can enable it in xwiki.cfg.
54 +
43 43  1.1.1 Important bugs fixed
44 44  
45 45  * XWIKI-4140 - Wiki macros are evaluating programming rights on wrong (local) documents when executed in virtual wikis
... ... @@ -61,9 +61,72 @@
61 61  
62 62  1.1.1 API Breakages
63 63  
64 -The following APIs were modified since XWiki Enterprise 2.0M1:
76 +The following APIs were modified since XWiki Enterprise 2.0M2:
65 65  
66 66  * Rendering Module
67 -** #error("TODO")
68 -** Details:\\{code:none}#error("TODO")
69 -{code}
79 +** Macro have to provide a human readable name in various AbstractMacro helpers constructors
80 +** Big refactor around renderers and the way to use them since they are real components now
81 +** Details:\\{code:none}[ERROR] org.xwiki.rendering.block.AbstractBlock: Method 'public void replace(java.util.List)' has been removed
82 +[ERROR] org.xwiki.rendering.block.AbstractBlock: Method 'public void setParameter(java.lang.String, java.lang.Object)' has been removed
83 +[ERROR] org.xwiki.rendering.block.Block: Method 'public void replace(java.util.List)' has been removed
84 +[ERROR] org.xwiki.rendering.block.Block: Method 'public void replaceChild(org.xwiki.rendering.block.Block, org.xwiki.rendering.block.Block)' has been added to an interface
85 +[ERROR] org.xwiki.rendering.block.Block: Method 'public void replaceChild(java.util.List, org.xwiki.rendering.block.Block)' has been added to an interface
86 +[ERROR] org.xwiki.rendering.block.MacroBlock: Method 'public java.lang.String getName()' has been removed
87 +[ERROR] org.xwiki.rendering.configuration.RenderingConfiguration: Method 'public java.util.Properties getMacroCategories()' has been added to an interface
88 +[ERROR] org.xwiki.rendering.listener.chaining.AbstractChainingListener: In method 'public AbstractChainingListener(org.xwiki.rendering.listener.chaining.ListenerChain)' the number of arguments has changed
89 +[ERROR] org.xwiki.rendering.macro.AbstractMacro: Parameter 1 of 'public AbstractMacro(org.xwiki.rendering.macro.descriptor.MacroDescriptor)' has changed its type to java.lang.String
90 +[ERROR] org.xwiki.rendering.macro.AbstractMacro: Method 'protected void registerConverter(org.apache.commons.beanutils.Converter, java.lang.Class)' has been removed
91 +[ERROR] org.xwiki.rendering.macro.AbstractMacroSource: Class org.xwiki.rendering.macro.AbstractMacroSource removed
92 +[ERROR] org.xwiki.rendering.macro.MacroManager: Removed java.lang.Comparable from the set of implemented interfaces
93 +[ERROR] org.xwiki.rendering.macro.MacroManager: Parameter 1 of 'public boolean exists(java.lang.String)' has changed its type to org.xwiki.rendering.macro.MacroId
94 +[ERROR] org.xwiki.rendering.macro.MacroManager: Method 'public boolean exists(java.lang.String, org.xwiki.rendering.parser.Syntax)' has been removed
95 +[ERROR] org.xwiki.rendering.macro.MacroManager: Parameter 1 of 'public org.xwiki.rendering.macro.Macro getMacro(java.lang.String)' has changed its type to org.xwiki.rendering.macro.MacroId
96 +[ERROR] org.xwiki.rendering.macro.MacroManager: Method 'public org.xwiki.rendering.macro.Macro getMacro(java.lang.String, org.xwiki.rendering.parser.Syntax)' has been removed
97 +[ERROR] org.xwiki.rendering.macro.MacroManager: Method 'public java.util.Set getMacroIds()' has been added to an interface
98 +[ERROR] org.xwiki.rendering.macro.MacroManager: Method 'public java.util.Set getMacroIds(org.xwiki.rendering.parser.Syntax)' has been added to an interface
99 +[ERROR] org.xwiki.rendering.macro.MacroManager: Method 'public java.util.Set getMacroNames(org.xwiki.rendering.parser.Syntax)' has been removed
100 +[ERROR] org.xwiki.rendering.macro.MacroManager: Method 'public int getPriority()' has been removed
101 +[ERROR] org.xwiki.rendering.macro.MacroSource: Class org.xwiki.rendering.macro.MacroSource removed
102 +[ERROR] org.xwiki.rendering.macro.descriptor.AbstractMacroDescriptor: In method 'public AbstractMacroDescriptor(java.lang.String, org.xwiki.rendering.macro.descriptor.ContentDescriptor, java.lang.Class)' the number of arguments has changed
103 +[ERROR] org.xwiki.rendering.macro.descriptor.AbstractMacroDescriptor: Method 'protected java.lang.annotation.Annotation extractParameterAnnotation(java.lang.reflect.Method, java.lang.reflect.Method, java.lang.Class)' has been removed
104 +[ERROR] org.xwiki.rendering.macro.descriptor.AbstractMacroDescriptor: Method 'protected void extractParameterDescriptor(java.beans.PropertyDescriptor, java.lang.Object)' has been removed
105 +[ERROR] org.xwiki.rendering.macro.descriptor.DefaultMacroDescriptor: Parameter 2 of 'public DefaultMacroDescriptor(java.lang.String, java.lang.Class)' has changed its type to java.lang.String
106 +[ERROR] org.xwiki.rendering.macro.descriptor.DefaultMacroDescriptor: Parameter 2 of 'public DefaultMacroDescriptor(java.lang.String, org.xwiki.rendering.macro.descriptor.ContentDescriptor, java.lang.Class)' has changed its type to java.lang.String
107 +[ERROR] org.xwiki.rendering.macro.descriptor.DefaultMacroDescriptor: Parameter 3 of 'public DefaultMacroDescriptor(java.lang.String, org.xwiki.rendering.macro.descriptor.ContentDescriptor, java.lang.Class)' has changed its type to org.xwiki.rendering.macro.descriptor.ContentDescriptor
108 +[ERROR] org.xwiki.rendering.macro.descriptor.DefaultMacroDescriptor: In method 'public DefaultMacroDescriptor(java.lang.String, org.xwiki.rendering.macro.descriptor.ContentDescriptor)' the number of arguments has changed
109 +[ERROR] org.xwiki.rendering.macro.descriptor.DefaultParameterDescriptor: In method 'public DefaultParameterDescriptor()' the number of arguments has changed
110 +[ERROR] org.xwiki.rendering.macro.descriptor.DefaultParameterDescriptor: Method 'public void setDefaultValue(java.lang.Object)' has been removed
111 +[ERROR] org.xwiki.rendering.macro.descriptor.DefaultParameterDescriptor: Method 'public void setDescription(java.lang.String)' has been removed
112 +[ERROR] org.xwiki.rendering.macro.descriptor.DefaultParameterDescriptor: Method 'public void setMandatory(boolean)' has been removed
113 +[ERROR] org.xwiki.rendering.macro.descriptor.DefaultParameterDescriptor: Method 'public void setName(java.lang.String)' has been removed
114 +[ERROR] org.xwiki.rendering.macro.descriptor.DefaultParameterDescriptor: Method 'public void setType(java.lang.Class)' has been removed
115 +[ERROR] org.xwiki.rendering.macro.descriptor.MacroDescriptor: Method 'public java.lang.String getDefaultCategory()' has been added to an interface
116 +[ERROR] org.xwiki.rendering.macro.descriptor.MacroDescriptor: Method 'public java.lang.String getName()' has been added to an interface
117 +[ERROR] org.xwiki.rendering.macro.descriptor.annotation.ParameterDescription: Class org.xwiki.rendering.macro.descriptor.annotation.ParameterDescription removed
118 +[ERROR] org.xwiki.rendering.macro.descriptor.annotation.ParameterHidden: Class org.xwiki.rendering.macro.descriptor.annotation.ParameterHidden removed
119 +[ERROR] org.xwiki.rendering.macro.descriptor.annotation.ParameterMandatory: Class org.xwiki.rendering.macro.descriptor.annotation.ParameterMandatory removed
120 +[ERROR] org.xwiki.rendering.parser.ParseException: Parameter 2 of 'public ParseException(java.lang.String, java.lang.Exception)' has changed its type to java.lang.Throwable
121 +[ERROR] org.xwiki.rendering.parser.ParseException: Method 'public ParseException(java.lang.Exception)' has been removed
122 +[ERROR] org.xwiki.rendering.parser.ParseException: Method 'public ParseException(java.lang.Exception, java.lang.String, int)' has been removed
123 +[ERROR] org.xwiki.rendering.parser.ParseException: Method 'public ParseException(java.lang.Exception, java.lang.String, java.lang.String, int)' has been removed
124 +[ERROR] org.xwiki.rendering.parser.ParseException: Method 'public java.lang.String getFileName()' has been removed
125 +[ERROR] org.xwiki.rendering.parser.ParseException: Method 'public int getLineNumber()' has been removed
126 +[ERROR] org.xwiki.rendering.parser.SyntaxType: Method 'public org.xwiki.rendering.parser.SyntaxType getSyntaxType(java.lang.String)' has been removed
127 +[ERROR] org.xwiki.rendering.renderer.EventsRenderer: Class org.xwiki.rendering.renderer.EventsRenderer removed
128 +[ERROR] org.xwiki.rendering.renderer.PlainTextRenderer: Class org.xwiki.rendering.renderer.PlainTextRenderer removed
129 +[ERROR] org.xwiki.rendering.renderer.PrintRenderer: Method 'public void setPrinter(org.xwiki.rendering.renderer.printer.WikiPrinter)' has been added to an interface
130 +[ERROR] org.xwiki.rendering.renderer.PrintRendererFactory: In method 'public org.xwiki.rendering.renderer.PrintRenderer createRenderer(org.xwiki.rendering.parser.Syntax, org.xwiki.rendering.renderer.printer.WikiPrinter)' the number of arguments has changed
131 +[ERROR] org.xwiki.rendering.renderer.PrintRendererFactory: Method 'public java.util.List getAvailableSyntaxes()' has been removed
132 +[ERROR] org.xwiki.rendering.renderer.PrintRendererFactory: Method 'public org.xwiki.rendering.parser.Syntax getSyntax()' has been added to an interface
133 +[ERROR] org.xwiki.rendering.renderer.TexRenderer: Class org.xwiki.rendering.renderer.TexRenderer removed
134 +[ERROR] org.xwiki.rendering.renderer.XHTMLRenderer: Class org.xwiki.rendering.renderer.XHTMLRenderer removed
135 +[ERROR] org.xwiki.rendering.renderer.XWikiSyntaxRenderer: Class org.xwiki.rendering.renderer.XWikiSyntaxRenderer removed
136 +[ERROR] org.xwiki.rendering.renderer.chaining.AbstractChainingPrintRenderer: Class org.xwiki.rendering.renderer.chaining.AbstractChainingPrintRenderer removed
137 +[ERROR] org.xwiki.rendering.renderer.printer.MonitoringWikiPrinter: Class org.xwiki.rendering.renderer.printer.MonitoringWikiPrinter removed
138 +[ERROR] org.xwiki.rendering.renderer.xhtml.SimpleXHTMLImageRenderer: Class org.xwiki.rendering.renderer.xhtml.SimpleXHTMLImageRenderer removed
139 +[ERROR] org.xwiki.rendering.renderer.xhtml.SimpleXHTMLLinkRenderer: Class org.xwiki.rendering.renderer.xhtml.SimpleXHTMLLinkRenderer removed
140 +[ERROR] org.xwiki.rendering.renderer.xhtml.XHTMLImageRenderer: Method 'public org.xwiki.rendering.renderer.printer.XHTMLWikiPrinter getXHTMLWikiPrinter()' has been added to an interface
141 +[ERROR] org.xwiki.rendering.renderer.xhtml.XHTMLLinkRenderer: Method 'public org.xwiki.rendering.renderer.printer.XHTMLWikiPrinter getXHTMLWikiPrinter()' has been added to an interface
142 +[ERROR] org.xwiki.rendering.renderer.xhtml.XWikiXHTMLImageRenderer: Class org.xwiki.rendering.renderer.xhtml.XWikiXHTMLImageRenderer removed
143 +[ERROR] org.xwiki.rendering.renderer.xhtml.XWikiXHTMLLinkRenderer: Class org.xwiki.rendering.renderer.xhtml.XWikiXHTMLLinkRenderer removed
144 +[ERROR] org.xwiki.rendering.util.RenderersUtils: Class org.xwiki.rendering.util.RenderersUtils removed{code}

Get Connected