You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jspwiki.apache.org by ju...@apache.org on 2012/12/26 23:35:45 UTC

svn commit: r1426069 - in /incubator/jspwiki/trunk: ChangeLog UPGRADING src/org/apache/wiki/Release.java

Author: juanpablo
Date: Wed Dec 26 22:35:44 2012
New Revision: 1426069

URL: http://svn.apache.org/viewvc?rev=1426069&view=rev
Log:
 * 2.9.1-svn-8
        
 * Filters API, as part of JSPWiki API (cfr. JSPWIKI-303). Check UPGRADING document for details
         
 * explicit access to API interfaces to get rid of "<Object> cannot dereference error with 
   generics" errors at builds.a.o (cfr. http://stackoverflow.com/q/4144623)

Modified:
    incubator/jspwiki/trunk/ChangeLog
    incubator/jspwiki/trunk/UPGRADING
    incubator/jspwiki/trunk/src/org/apache/wiki/Release.java

Modified: incubator/jspwiki/trunk/ChangeLog
URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/ChangeLog?rev=1426069&r1=1426068&r2=1426069&view=diff
==============================================================================
--- incubator/jspwiki/trunk/ChangeLog (original)
+++ incubator/jspwiki/trunk/ChangeLog Wed Dec 26 22:35:44 2012
@@ -1,3 +1,13 @@
+2012-12-26  Juan Pablo Santos (juanpablo AT apache DOT org)
+
+       * 2.9.1-svn-8
+        
+       * Filters API, as part of JSPWiki API (cfr. JSPWIKI-303). Check UPGRADING document for 
+         details
+         
+       * explicit access to API interfaces to get rid of "<Object> cannot dereference error with 
+         generics" errors at builds.a.o (cfr. http://stackoverflow.com/q/4144623)
+       
 2012-12-26  Harry Metske <me...@apache.org>
 
        * 2.9.1-svn-7

Modified: incubator/jspwiki/trunk/UPGRADING
URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/UPGRADING?rev=1426069&r1=1426068&r2=1426069&view=diff
==============================================================================
--- incubator/jspwiki/trunk/UPGRADING (original)
+++ incubator/jspwiki/trunk/UPGRADING Wed Dec 26 22:35:44 2012
@@ -48,7 +48,7 @@ Classes affected:
 api
  -> new package org.apache.wiki.api, which should compile without depending on other packages
 
-exceptions
+api.exceptions
  -> new package org.apache.wiki.api.exceptions with copies of the original Exceptions declared by
     the API methods
  -> to retain backwards compatibility, "old" exceptions will inherit new ones, also the former ones 
@@ -60,29 +60,49 @@ exceptions
         org.apache.wiki.api.exceptions.WikiException. It allows us to achieve compatibility with 
         2.9 derived source (regarding exceptions).
 
+org.apache.wiki.filters.FilterManager
+ -> new interface org.apache.wiki.api.filters.FilterManager
+ -> moved to org.apache.wiki.filters.DefaultFilterManager
+ -> WikiEngine.getFilterManager returns org.apache.wiki.api.filters.FilterManager
+
+org.apache.wiki.filters.BasicPageFilter
+ -> moved to new class org.apache.wiki.api.filter.BasicPageFilter
+ -> org.apache.wiki.filters.BasicPageFilter marked with @Deprecated + extends 
+    org.apache.wiki.api.filter.BasicPageFilter
+ 
+org.apache.wiki.filters.PageFilter
+ -> moved to new interface org.apache.wiki.api.filter.PageFilter
+ -> org.apache.wiki.filters.PageFilter marked with @Deprecated + extends 
+    org.apache.wiki.api.filter.PageFilter
+ -> all core wikifilters implementing the "old" interface now implement the new one
+
+org.apache.wiki.parser.PluginContent
+ -> getParameter returns String instead of Object (internally, it was returning a String)
+
 org.apache.wiki.plugin.PluginManager
- -> new interface org.apache.wiki.api.PluginManager
+ -> new interface org.apache.wiki.api.plugin.PluginManager
  -> moved to org.apache.wiki.plugin.DefaultPluginManager
  -> @Deprecated public static boolean isPluginLink( String link )
       * equivalent method on org.apache.wiki.parser.JSPWikiMarkupParser
- -> WikiEngine.getPluginManager returns org.apache.wiki.api.PluginManager
+ -> WikiEngine.getPluginManager returns org.apache.wiki.api.plugin.PluginManager
 
 org.apache.wiki.plugin.InitializablePlugin
- -> new interface org.apache.wiki.api.InitializablePlugin
+ -> new interface org.apache.wiki.api.plugin.InitializablePlugin
  -> all core wikiplugins and wikiforms implementing the "old" interface now implement the new one
  -> org.apache.wiki.plugin.InitializablePlugin marked with @Deprecated + extends
-    org.apache.wiki.api.InitializablePlugin
+    org.apache.wiki.api.plugin.InitializablePlugin
  
 org.apache.wiki.plugin.ParserStagePlugin
- -> new interface org.apache.wiki.api.ParserStagePlugin
+ -> new interface org.apache.wiki.api.plugins.ParserStagePlugin
  -> all core wikiplugins and wikiforms implementing the "old" interface now implement the new one
  -> org.apache.wiki.plugin.ParserStagePlugin marked with @Deprecated + extends
-    org.apache.wiki.api.ParserStagePlugin
+    org.apache.wiki.api.plugin.ParserStagePlugin
  
 org.apache.wiki.plugin.WikiPlugin
- -> new interface org.apache.wiki.api.WikiPlugin
+ -> new interface org.apache.wiki.api.plugins.WikiPlugin
  -> all core wikiplugins and wikiforms implement the new interface
- -> org.apache.wiki.plugin.WikiPlugin marked with @Deprecated + extends org.apache.wiki.api.WikiPlugin
+ -> org.apache.wiki.plugin.WikiPlugin marked with @Deprecated + extends 
+    org.apache.wiki.api.plugin.WikiPlugin
 
 
 Upgrading JSPWiki from 2.8.x to 2.9.0

Modified: incubator/jspwiki/trunk/src/org/apache/wiki/Release.java
URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/org/apache/wiki/Release.java?rev=1426069&r1=1426068&r2=1426069&view=diff
==============================================================================
--- incubator/jspwiki/trunk/src/org/apache/wiki/Release.java (original)
+++ incubator/jspwiki/trunk/src/org/apache/wiki/Release.java Wed Dec 26 22:35:44 2012
@@ -75,7 +75,7 @@ public final class Release
      *  <p>
      *  If the build identifier is empty, it is not added.
      */
-    public static final String     BUILD         = "7";
+    public static final String     BUILD         = "8";
     
     /**
      *  This is the generic version string you should use