<
From version < 8.1 >
edited by Thomas Mortagne
on 2009/08/12
To version < 9.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,7 @@
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
20 20  
21 21  1.1.1 Smaller XHTML output
22 22  
... ... @@ -40,6 +40,12 @@
40 40  
41 41  WYSIWYG does not expose macro identifier anymore but human readable names provided by the different macros.
42 42  
44 +1.1.1 Renderers are now real components
45 +
46 +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.
47 +
48 +See [code:Modules.RenderingModule].
49 +
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:
71 +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}
74 +** Macro have to provide a human readable name in various AbstractMacro helpers constructors
75 +** Big refactor around renderers and the way to use them since they are real components now
76 +** Details:\\{code:none}[ERROR] org.xwiki.rendering.block.AbstractBlock: Method 'public void replace(java.util.List)' has been removed
77 +[ERROR] org.xwiki.rendering.block.AbstractBlock: Method 'public void setParameter(java.lang.String, java.lang.Object)' has been removed
78 +[ERROR] org.xwiki.rendering.block.Block: Method 'public void replace(java.util.List)' has been removed
79 +[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
80 +[ERROR] org.xwiki.rendering.block.Block: Method 'public void replaceChild(java.util.List, org.xwiki.rendering.block.Block)' has been added to an interface
81 +[ERROR] org.xwiki.rendering.block.MacroBlock: Method 'public java.lang.String getName()' has been removed
82 +[ERROR] org.xwiki.rendering.configuration.RenderingConfiguration: Method 'public java.util.Properties getMacroCategories()' has been added to an interface
83 +[ERROR] org.xwiki.rendering.listener.chaining.AbstractChainingListener: In method 'public AbstractChainingListener(org.xwiki.rendering.listener.chaining.ListenerChain)' the number of arguments has changed
84 +[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
85 +[ERROR] org.xwiki.rendering.macro.AbstractMacro: Method 'protected void registerConverter(org.apache.commons.beanutils.Converter, java.lang.Class)' has been removed
86 +[ERROR] org.xwiki.rendering.macro.AbstractMacroSource: Class org.xwiki.rendering.macro.AbstractMacroSource removed
87 +[ERROR] org.xwiki.rendering.macro.MacroManager: Removed java.lang.Comparable from the set of implemented interfaces
88 +[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
89 +[ERROR] org.xwiki.rendering.macro.MacroManager: Method 'public boolean exists(java.lang.String, org.xwiki.rendering.parser.Syntax)' has been removed
90 +[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
91 +[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
92 +[ERROR] org.xwiki.rendering.macro.MacroManager: Method 'public java.util.Set getMacroIds()' has been added to an interface
93 +[ERROR] org.xwiki.rendering.macro.MacroManager: Method 'public java.util.Set getMacroIds(org.xwiki.rendering.parser.Syntax)' has been added to an interface
94 +[ERROR] org.xwiki.rendering.macro.MacroManager: Method 'public java.util.Set getMacroNames(org.xwiki.rendering.parser.Syntax)' has been removed
95 +[ERROR] org.xwiki.rendering.macro.MacroManager: Method 'public int getPriority()' has been removed
96 +[ERROR] org.xwiki.rendering.macro.MacroSource: Class org.xwiki.rendering.macro.MacroSource removed
97 +[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
98 +[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
99 +[ERROR] org.xwiki.rendering.macro.descriptor.AbstractMacroDescriptor: Method 'protected void extractParameterDescriptor(java.beans.PropertyDescriptor, java.lang.Object)' has been removed
100 +[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
101 +[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
102 +[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
103 +[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
104 +[ERROR] org.xwiki.rendering.macro.descriptor.DefaultParameterDescriptor: In method 'public DefaultParameterDescriptor()' the number of arguments has changed
105 +[ERROR] org.xwiki.rendering.macro.descriptor.DefaultParameterDescriptor: Method 'public void setDefaultValue(java.lang.Object)' has been removed
106 +[ERROR] org.xwiki.rendering.macro.descriptor.DefaultParameterDescriptor: Method 'public void setDescription(java.lang.String)' has been removed
107 +[ERROR] org.xwiki.rendering.macro.descriptor.DefaultParameterDescriptor: Method 'public void setMandatory(boolean)' has been removed
108 +[ERROR] org.xwiki.rendering.macro.descriptor.DefaultParameterDescriptor: Method 'public void setName(java.lang.String)' has been removed
109 +[ERROR] org.xwiki.rendering.macro.descriptor.DefaultParameterDescriptor: Method 'public void setType(java.lang.Class)' has been removed
110 +[ERROR] org.xwiki.rendering.macro.descriptor.MacroDescriptor: Method 'public java.lang.String getDefaultCategory()' has been added to an interface
111 +[ERROR] org.xwiki.rendering.macro.descriptor.MacroDescriptor: Method 'public java.lang.String getName()' has been added to an interface
112 +[ERROR] org.xwiki.rendering.macro.descriptor.annotation.ParameterDescription: Class org.xwiki.rendering.macro.descriptor.annotation.ParameterDescription removed
113 +[ERROR] org.xwiki.rendering.macro.descriptor.annotation.ParameterHidden: Class org.xwiki.rendering.macro.descriptor.annotation.ParameterHidden removed
114 +[ERROR] org.xwiki.rendering.macro.descriptor.annotation.ParameterMandatory: Class org.xwiki.rendering.macro.descriptor.annotation.ParameterMandatory removed
115 +[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
116 +[ERROR] org.xwiki.rendering.parser.ParseException: Method 'public ParseException(java.lang.Exception)' has been removed
117 +[ERROR] org.xwiki.rendering.parser.ParseException: Method 'public ParseException(java.lang.Exception, java.lang.String, int)' has been removed
118 +[ERROR] org.xwiki.rendering.parser.ParseException: Method 'public ParseException(java.lang.Exception, java.lang.String, java.lang.String, int)' has been removed
119 +[ERROR] org.xwiki.rendering.parser.ParseException: Method 'public java.lang.String getFileName()' has been removed
120 +[ERROR] org.xwiki.rendering.parser.ParseException: Method 'public int getLineNumber()' has been removed
121 +[ERROR] org.xwiki.rendering.parser.SyntaxType: Method 'public org.xwiki.rendering.parser.SyntaxType getSyntaxType(java.lang.String)' has been removed
122 +[ERROR] org.xwiki.rendering.renderer.EventsRenderer: Class org.xwiki.rendering.renderer.EventsRenderer removed
123 +[ERROR] org.xwiki.rendering.renderer.PlainTextRenderer: Class org.xwiki.rendering.renderer.PlainTextRenderer removed
124 +[ERROR] org.xwiki.rendering.renderer.PrintRenderer: Method 'public void setPrinter(org.xwiki.rendering.renderer.printer.WikiPrinter)' has been added to an interface
125 +[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
126 +[ERROR] org.xwiki.rendering.renderer.PrintRendererFactory: Method 'public java.util.List getAvailableSyntaxes()' has been removed
127 +[ERROR] org.xwiki.rendering.renderer.PrintRendererFactory: Method 'public org.xwiki.rendering.parser.Syntax getSyntax()' has been added to an interface
128 +[ERROR] org.xwiki.rendering.renderer.TexRenderer: Class org.xwiki.rendering.renderer.TexRenderer removed
129 +[ERROR] org.xwiki.rendering.renderer.XHTMLRenderer: Class org.xwiki.rendering.renderer.XHTMLRenderer removed
130 +[ERROR] org.xwiki.rendering.renderer.XWikiSyntaxRenderer: Class org.xwiki.rendering.renderer.XWikiSyntaxRenderer removed
131 +[ERROR] org.xwiki.rendering.renderer.chaining.AbstractChainingPrintRenderer: Class org.xwiki.rendering.renderer.chaining.AbstractChainingPrintRenderer removed
132 +[ERROR] org.xwiki.rendering.renderer.printer.MonitoringWikiPrinter: Class org.xwiki.rendering.renderer.printer.MonitoringWikiPrinter removed
133 +[ERROR] org.xwiki.rendering.renderer.xhtml.SimpleXHTMLImageRenderer: Class org.xwiki.rendering.renderer.xhtml.SimpleXHTMLImageRenderer removed
134 +[ERROR] org.xwiki.rendering.renderer.xhtml.SimpleXHTMLLinkRenderer: Class org.xwiki.rendering.renderer.xhtml.SimpleXHTMLLinkRenderer removed
135 +[ERROR] org.xwiki.rendering.renderer.xhtml.XHTMLImageRenderer: Method 'public org.xwiki.rendering.renderer.printer.XHTMLWikiPrinter getXHTMLWikiPrinter()' has been added to an interface
136 +[ERROR] org.xwiki.rendering.renderer.xhtml.XHTMLLinkRenderer: Method 'public org.xwiki.rendering.renderer.printer.XHTMLWikiPrinter getXHTMLWikiPrinter()' has been added to an interface
137 +[ERROR] org.xwiki.rendering.renderer.xhtml.XWikiXHTMLImageRenderer: Class org.xwiki.rendering.renderer.xhtml.XWikiXHTMLImageRenderer removed
138 +[ERROR] org.xwiki.rendering.renderer.xhtml.XWikiXHTMLLinkRenderer: Class org.xwiki.rendering.renderer.xhtml.XWikiXHTMLLinkRenderer removed
139 +[ERROR] org.xwiki.rendering.util.RenderersUtils: Class org.xwiki.rendering.util.RenderersUtils removed{code}

Get Connected