You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-commits@xmlgraphics.apache.org by he...@apache.org on 2010/10/05 10:31:04 UTC

svn commit: r1004572 - in /xmlgraphics/batik/trunk: CHANGES documentation-sources/content/xdocs/status.xml

Author: helder
Date: Tue Oct  5 08:31:03 2010
New Revision: 1004572

URL: http://svn.apache.org/viewvc?rev=1004572&view=rev
Log:
General:
  Document location interface and postURL method for ECMAScript
    (closes bug 46202).

Modified:
    xmlgraphics/batik/trunk/CHANGES
    xmlgraphics/batik/trunk/documentation-sources/content/xdocs/status.xml

Modified: xmlgraphics/batik/trunk/CHANGES
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/CHANGES?rev=1004572&r1=1004571&r2=1004572&view=diff
==============================================================================
--- xmlgraphics/batik/trunk/CHANGES (original)
+++ xmlgraphics/batik/trunk/CHANGES Tue Oct  5 08:31:03 2010
@@ -10,8 +10,8 @@ Bug fixing is an on-going task, so it is
 1. Bugzilla problem reports fixed:
 
     43411, 43847, 43950, 44553, 44590, 44919, 44936, 44966, 45112,
-    45114, 45117, 45397, 45520, 45883, 45958, 46072, 46124, 46430,
-    46431, 46855, 46871, 47201, 47202, 48182, 48411, 50006
+    45114, 45117, 45397, 45520, 45883, 45958, 46072, 46124, 46202,
+    46430, 46431, 46855, 46871, 47201, 47202, 48182, 48411, 50006
 
 
 2. New features

Modified: xmlgraphics/batik/trunk/documentation-sources/content/xdocs/status.xml
URL: http://svn.apache.org/viewvc/xmlgraphics/batik/trunk/documentation-sources/content/xdocs/status.xml?rev=1004572&r1=1004571&r2=1004572&view=diff
==============================================================================
--- xmlgraphics/batik/trunk/documentation-sources/content/xdocs/status.xml (original)
+++ xmlgraphics/batik/trunk/documentation-sources/content/xdocs/status.xml Tue Oct  5 08:31:03 2010
@@ -3054,6 +3054,16 @@
             An alias for <code>event</code>.
           </p>
         </prop>
+        <prop name="location">
+          <p>
+            Implementation of the <a href="http://www.w3.org/TR/SVGTiny12/svgudom.html#dom__Location">
+              Location</a> interface.  Methods <code>assign</code> and
+            <code>reload</code> are available.
+          </p>
+          <note>
+            This interface is available since version 1.8.
+          </note>
+        </prop>
         <prop name="window">
           <p>
             The global object (a self-reference).
@@ -3153,6 +3163,26 @@
             <dd>A string holding the data.</dd>
           </dl>
         </func>
+        <func name="postURL" params="uri, content, function[, type, encoding]">
+          <p>
+            Sends data to the given <code>uri</code>. This method returns
+            immediately and the given <code>function</code> is called when the
+            data is fully downloaded.  The optional <code>type</code> argument
+            will specify the <code>Content-Type</code> HTTP header to use, defaulting to
+            <code>text/plain</code>.  The optional <code>encoding</code>
+            argument is the encoding to assume the data is in, defaulting to
+            UTF-8.  The argument passed to the function is an object with
+            three properties:
+          </p>
+          <dl>
+            <dt>success</dt>
+            <dd><code>true</code> if the data is available, <code>false</code> otherwise.</dd>
+            <dt>contentType</dt>
+            <dd>The content type of the data, if it is known by the implementation.</dd>
+            <dt>content</dt>
+            <dd>A string holding the data.</dd>
+          </dl>
+        </func>
       </object>
     </section>