Commit cb08a681 authored by Alberto Garcia's avatar Alberto Garcia
Browse files

New upstream version 2.21.5

parent fd699888

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.
......@@ -114,6 +114,8 @@ if (UNIX)
endif ()
elseif (CMAKE_SYSTEM_NAME MATCHES "Windows")
set(WTF_OS_WINDOWS 1)
elseif (CMAKE_SYSTEM_NAME MATCHES "Fuchsia")
set(WTF_OS_FUCHSIA 1)
else ()
message(FATAL_ERROR "Unknown OS '${CMAKE_SYSTEM_NAME}'")
endif ()
......
......@@ -114,6 +114,14 @@
</tr>
<tr>
<td class="function_type">
<a class="link" href="JSCValue.html" title="JSCValue"><span class="returnvalue">JSCValue</span></a> *
</td>
<td class="function_name">
<a class="link" href="JSCClass.html#jsc-class-add-constructor-variadic" title="jsc_class_add_constructor_variadic ()">jsc_class_add_constructor_variadic</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
......@@ -133,6 +141,14 @@
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="JSCClass.html#jsc-class-add-method-variadic" title="jsc_class_add_method_variadic ()">jsc_class_add_method_variadic</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="JSCClass.html#jsc-class-add-property" title="jsc_class_add_property ()">jsc_class_add_property</a> <span class="c_punctuation">()</span>
</td>
</tr>
......@@ -534,7 +550,7 @@ parameters and <em class="parameter"><code>user_data</code></em>
<em class="parameter"><code>destroy_notify</code></em>
is called with <em class="parameter"><code>user_data</code></em>
as parameter.</p>
<p>This function creates the constructor, that needs to be added to an object as a property to be able to use it. Use
<p>This function creates the constructor, which needs to be added to an object as a property to be able to use it. Use
<a class="link" href="JSCContext.html#jsc-context-set-value" title="jsc_context_set_value ()"><code class="function">jsc_context_set_value()</code></a> to make the constructor available in the global object.</p>
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
<div class="refsect3">
......@@ -620,7 +636,7 @@ parameters and <em class="parameter"><code>user_data</code></em>
<em class="parameter"><code>destroy_notify</code></em>
is called with <em class="parameter"><code>user_data</code></em>
as parameter.</p>
<p>This function creates the constructor, that needs to be added to an object as a property to be able to use it. Use
<p>This function creates the constructor, which needs to be added to an object as a property to be able to use it. Use
<a class="link" href="JSCContext.html#jsc-context-set-value" title="jsc_context_set_value ()"><code class="function">jsc_context_set_value()</code></a> to make the constructor available in the global object.</p>
<p><span class="annotation">[<acronym title="Rename the original symbol's name to SYMBOL."><span class="acronym">rename-to</span></acronym> jsc_class_add_constructor]</span></p>
<div class="refsect3">
......@@ -686,6 +702,79 @@ parameters and <em class="parameter"><code>user_data</code></em>
</div>
<hr>
<div class="refsect2">
<a name="jsc-class-add-constructor-variadic"></a><h3>jsc_class_add_constructor_variadic ()</h3>
<pre class="programlisting"><a class="link" href="JSCValue.html" title="JSCValue"><span class="returnvalue">JSCValue</span></a> *
jsc_class_add_constructor_variadic (<em class="parameter"><code><a class="link" href="JSCClass.html" title="JSCClass"><span class="type">JSCClass</span></a> *jsc_class</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *name</code></em>,
<em class="parameter"><code><a href="../gobject/gobject-Closures.html#GCallback"><span class="type">GCallback</span></a> callback</code></em>,
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
<em class="parameter"><code><a href="../glib/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy_notify</code></em>,
<em class="parameter"><code><a href="../gobject/gobject-Type-Information.html#GType"><span class="type">GType</span></a> return_type</code></em>);</pre>
<p>Add a constructor to <em class="parameter"><code>jsc_class</code></em>
. If <em class="parameter"><code>name</code></em>
is <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, the class name will be used. When <code class="function">new</code>
is used with the constructor or <a class="link" href="JSCValue.html#jsc-value-constructor-call" title="jsc_value_constructor_call ()"><code class="function">jsc_value_constructor_call()</code></a> is called, <em class="parameter"><code>callback</code></em>
is invoked receiving
a <a href="../glib/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a> of <a class="link" href="JSCValue.html" title="JSCValue"><span class="type">JSCValue</span></a>s as arguments and <em class="parameter"><code>user_data</code></em>
as the last parameter. When the constructor object
is cleared in the <a class="link" href="JSCClass.html" title="JSCClass"><span class="type">JSCClass</span></a> context, <em class="parameter"><code>destroy_notify</code></em>
is called with <em class="parameter"><code>user_data</code></em>
as parameter.</p>
<p>This function creates the constructor, which needs to be added to an object as a property to be able to use it. Use
<a class="link" href="JSCContext.html#jsc-context-set-value" title="jsc_context_set_value ()"><code class="function">jsc_context_set_value()</code></a> to make the constructor available in the global object.</p>
<div class="refsect3">
<a name="jsc-class-add-constructor-variadic.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>jsc_class</p></td>
<td class="parameter_description"><p>a <a class="link" href="JSCClass.html" title="JSCClass"><span class="type">JSCClass</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>name</p></td>
<td class="parameter_description"><p>the constructor name or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>callback</p></td>
<td class="parameter_description"><p>a <a href="../gobject/gobject-Closures.html#GCallback"><span class="type">GCallback</span></a> to be called to create an instance of <em class="parameter"><code>jsc_class</code></em>
. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="The callback is valid until first called."><span class="acronym">scope async</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data to pass to <em class="parameter"><code>callback</code></em>
. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>destroy_notify</p></td>
<td class="parameter_description"><p>destroy notifier for <em class="parameter"><code>user_data</code></em>
. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>return_type</p></td>
<td class="parameter_description"><p>the <a href="../gobject/gobject-Type-Information.html#GType"><span class="type">GType</span></a> of the constructor return value</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="jsc-class-add-constructor-variadic.returns"></a><h4>Returns</h4>
<p>a <a class="link" href="JSCValue.html" title="JSCValue"><span class="type">JSCValue</span></a> representing the class constructor. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="jsc-class-add-method"></a><h3>jsc_class_add_method ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
jsc_class_add_method (<em class="parameter"><code><a class="link" href="JSCClass.html" title="JSCClass"><span class="type">JSCClass</span></a> *jsc_class</code></em>,
......@@ -846,6 +935,73 @@ of <em class="parameter"><code>jsc_class</code></em>
</div>
<hr>
<div class="refsect2">
<a name="jsc-class-add-method-variadic"></a><h3>jsc_class_add_method_variadic ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
jsc_class_add_method_variadic (<em class="parameter"><code><a class="link" href="JSCClass.html" title="JSCClass"><span class="type">JSCClass</span></a> *jsc_class</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *name</code></em>,
<em class="parameter"><code><a href="../gobject/gobject-Closures.html#GCallback"><span class="type">GCallback</span></a> callback</code></em>,
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
<em class="parameter"><code><a href="../glib/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy_notify</code></em>,
<em class="parameter"><code><a href="../gobject/gobject-Type-Information.html#GType"><span class="type">GType</span></a> return_type</code></em>);</pre>
<p>Add method with <em class="parameter"><code>name</code></em>
to <em class="parameter"><code>jsc_class</code></em>
. When the method is called by JavaScript or <a class="link" href="JSCValue.html#jsc-value-object-invoke-method" title="jsc_value_object_invoke_method ()"><code class="function">jsc_value_object_invoke_method()</code></a>,
<em class="parameter"><code>callback</code></em>
is called receiving the class instance as first parameter, followed by a <a href="../glib/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a> of <a class="link" href="JSCValue.html" title="JSCValue"><span class="type">JSCValue</span></a>s
with the method arguments and then <em class="parameter"><code>user_data</code></em>
as last parameter. When the method is cleared in the <a class="link" href="JSCClass.html" title="JSCClass"><span class="type">JSCClass</span></a> context,
<em class="parameter"><code>destroy_notify</code></em>
is called with <em class="parameter"><code>user_data</code></em>
as parameter.</p>
<div class="refsect3">
<a name="jsc-class-add-method-variadic.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>jsc_class</p></td>
<td class="parameter_description"><p>a <a class="link" href="JSCClass.html" title="JSCClass"><span class="type">JSCClass</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>name</p></td>
<td class="parameter_description"><p>the method name</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>callback</p></td>
<td class="parameter_description"><p>a <a href="../gobject/gobject-Closures.html#GCallback"><span class="type">GCallback</span></a> to be called to invoke method <em class="parameter"><code>name</code></em>
of <em class="parameter"><code>jsc_class</code></em>
. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="The callback is valid until first called."><span class="acronym">scope async</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data to pass to <em class="parameter"><code>callback</code></em>
. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>destroy_notify</p></td>
<td class="parameter_description"><p>destroy notifier for <em class="parameter"><code>user_data</code></em>
. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>return_type</p></td>
<td class="parameter_description"><p>the <a href="../gobject/gobject-Type-Information.html#GType"><span class="type">GType</span></a> of the method return value, or <a href="../gobject/gobject-Type-Information.html#G-TYPE-NONE:CAPS"><code class="literal">G_TYPE_NONE</code></a> if the method is void.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="jsc-class-add-property"></a><h3>jsc_class_add_property ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
jsc_class_add_property (<em class="parameter"><code><a class="link" href="JSCClass.html" title="JSCClass"><span class="type">JSCClass</span></a> *jsc_class</code></em>,
......
......@@ -195,6 +195,14 @@
</tr>
<tr>
<td class="function_type">
<a class="link" href="JSCValue.html" title="JSCValue"><span class="returnvalue">JSCValue</span></a> *
</td>
<td class="function_name">
<a class="link" href="JSCValue.html#jsc-value-new-array-from-strv" title="jsc_value_new_array_from_strv ()">jsc_value_new_array_from_strv</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
......@@ -331,6 +339,14 @@
</tr>
<tr>
<td class="function_type">
<a class="link" href="JSCValue.html" title="JSCValue"><span class="returnvalue">JSCValue</span></a> *
</td>
<td class="function_name">
<a class="link" href="JSCValue.html#jsc-value-new-function-variadic" title="jsc_value_new_function_variadic ()">jsc_value_new_function_variadic</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
......@@ -1016,6 +1032,44 @@ pointers to a <a class="link" href="JSCValue.html" title="JSCValue"><span class=
</div>
<hr>
<div class="refsect2">
<a name="jsc-value-new-array-from-strv"></a><h3>jsc_value_new_array_from_strv ()</h3>
<pre class="programlisting"><a class="link" href="JSCValue.html" title="JSCValue"><span class="returnvalue">JSCValue</span></a> *
jsc_value_new_array_from_strv (<em class="parameter"><code><a class="link" href="JSCContext.html" title="JSCContext"><span class="type">JSCContext</span></a> *context</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *const *strv</code></em>);</pre>
<p>Create a new <a class="link" href="JSCValue.html" title="JSCValue"><span class="type">JSCValue</span></a> referencing an array of strings with the items from <em class="parameter"><code>strv</code></em>
. If <em class="parameter"><code>array</code></em>
is <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> or empty a new empty array will be created.</p>
<div class="refsect3">
<a name="jsc-value-new-array-from-strv.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a class="link" href="JSCContext.html" title="JSCContext"><span class="type">JSCContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>strv</p></td>
<td class="parameter_description"><p>a <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated array of strings. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> zero-terminated=1][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> utf8]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="jsc-value-new-array-from-strv.returns"></a><h4>Returns</h4>
<p>a <a class="link" href="JSCValue.html" title="JSCValue"><span class="type">JSCValue</span></a>. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="jsc-value-is-array"></a><h3>jsc_value_is_array ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
jsc_value_is_array (<em class="parameter"><code><a class="link" href="JSCValue.html" title="JSCValue"><span class="type">JSCValue</span></a> *value</code></em>);</pre>
......@@ -1771,7 +1825,7 @@ cleared in <em class="parameter"><code>context</code></em>
<tbody>
<tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a class="link" href="JSCContext.html" title="JSCContext"><span class="type">JSCContext</span></a>:</p></td>
<td class="parameter_description"><p>a <a class="link" href="JSCContext.html" title="JSCContext"><span class="type">JSCContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
......@@ -1822,6 +1876,77 @@ cleared in <em class="parameter"><code>context</code></em>
</div>
<hr>
<div class="refsect2">
<a name="jsc-value-new-function-variadic"></a><h3>jsc_value_new_function_variadic ()</h3>
<pre class="programlisting"><a class="link" href="JSCValue.html" title="JSCValue"><span class="returnvalue">JSCValue</span></a> *
jsc_value_new_function_variadic (<em class="parameter"><code><a class="link" href="JSCContext.html" title="JSCContext"><span class="type">JSCContext</span></a> *context</code></em>,
<em class="parameter"><code>const <span class="type">char</span> *name</code></em>,
<em class="parameter"><code><a href="../gobject/gobject-Closures.html#GCallback"><span class="type">GCallback</span></a> callback</code></em>,
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
<em class="parameter"><code><a href="../glib/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy_notify</code></em>,
<em class="parameter"><code><a href="../gobject/gobject-Type-Information.html#GType"><span class="type">GType</span></a> return_type</code></em>);</pre>
<p>Create a function in <em class="parameter"><code>context</code></em>
. If <em class="parameter"><code>name</code></em>
is <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> an anonymous function will be created.
When the function is called by JavaScript or <a class="link" href="JSCValue.html#jsc-value-function-call" title="jsc_value_function_call ()"><code class="function">jsc_value_function_call()</code></a>, <em class="parameter"><code>callback</code></em>
is called
receiving an <a href="../glib/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a> of <a class="link" href="JSCValue.html" title="JSCValue"><span class="type">JSCValue</span></a>s with the arguments and then <em class="parameter"><code>user_data</code></em>
as last parameter.
When the function is cleared in <em class="parameter"><code>context</code></em>
, <em class="parameter"><code>destroy_notify</code></em>
is called with <em class="parameter"><code>user_data</code></em>
as parameter.</p>
<div class="refsect3">
<a name="jsc-value-new-function-variadic.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>context</p></td>
<td class="parameter_description"><p>a <a class="link" href="JSCContext.html" title="JSCContext"><span class="type">JSCContext</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>name</p></td>
<td class="parameter_description"><p>the function name or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>callback</p></td>
<td class="parameter_description"><p>a <a href="../gobject/gobject-Closures.html#GCallback"><span class="type">GCallback</span></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="The callback is valid until first called."><span class="acronym">scope async</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data to pass to <em class="parameter"><code>callback</code></em>
. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="This parameter is a 'user_data', for callbacks; many bindings can pass NULL here."><span class="acronym">closure</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>destroy_notify</p></td>
<td class="parameter_description"><p>destroy notifier for <em class="parameter"><code>user_data</code></em>
. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>return_type</p></td>
<td class="parameter_description"><p>the <a href="../gobject/gobject-Type-Information.html#GType"><span class="type">GType</span></a> of the function return value, or <a href="../gobject/gobject-Type-Information.html#G-TYPE-NONE:CAPS"><code class="literal">G_TYPE_NONE</code></a> if the function is void.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="jsc-value-new-function-variadic.returns"></a><h4>Returns</h4>
<p>a <a class="link" href="JSCValue.html" title="JSCValue"><span class="type">JSCValue</span></a>. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="jsc-value-is-function"></a><h3>jsc_value_is_function ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
jsc_value_is_function (<em class="parameter"><code><a class="link" href="JSCValue.html" title="JSCValue"><span class="type">JSCValue</span></a> *value</code></em>);</pre>
......
......@@ -20,6 +20,8 @@
 <span class="dim">|</span> 
<a class="shortcut" href="#glsN">N</a>
 <span class="dim">|</span> 
<a class="shortcut" href="#glsO">O</a>
 <span class="dim">|</span> 
<a class="shortcut" href="#glsR">R</a>
 <span class="dim">|</span> 
<a class="shortcut" href="#glsS">S</a>
......@@ -45,6 +47,11 @@
<a name="glsN"></a><h3 class="title">N</h3>
<dt><span class="glossterm"><a name="annotation-glossterm-nullable"></a>nullable</span></dt>
<dd class="glossdef"><p>NULL may be passed as the value in, out, in-out; or as a return value.</p></dd>
<a name="glsO"></a><h3 class="title">O</h3>
<dt><span class="glossterm"><a name="annotation-glossterm-optional"></a>optional</span></dt>
<dd class="glossdef"><p>NULL may be passed instead of a pointer to a location.</p></dd>
<dt><span class="glossterm"><a name="annotation-glossterm-out"></a>out</span></dt>
<dd class="glossdef"><p>Parameter for returning results. Default is <acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>.</p></dd>
<a name="glsR"></a><h3 class="title">R</h3>
<dt><span class="glossterm"><a name="annotation-glossterm-rename-to"></a>rename-to</span></dt>
<dd class="glossdef"><p>Rename the original symbol's name to SYMBOL.</p></dd>
......
......@@ -14,7 +14,7 @@
<div class="titlepage">
<div>
<div><table class="navigation" id="top" width="100%" cellpadding="2" cellspacing="0"><tr><th valign="middle"><p class="title">JavaScriptCore GLib Reference Manual</p></th></tr></table></div>
<div><p class="releaseinfo">for JavaScriptCore 2.21.4</p></div>
<div><p class="releaseinfo">for JavaScriptCore 2.21.5</p></div>
</div>
<hr>
</div>
......
......@@ -175,7 +175,7 @@ have included when compiling your code.</p>
<hr>
<div class="refsect2">
<a name="JSC-MICRO-VERSION:CAPS"></a><h3>JSC_MICRO_VERSION</h3>
<pre class="programlisting">#define JSC_MICRO_VERSION (4)
<pre class="programlisting">#define JSC_MICRO_VERSION (5)
</pre>
</div>
</div>
......
......@@ -29,10 +29,15 @@
<keyword type="function" name="jsc_context_get_current ()" link="JSCContext.html#jsc-context-get-current"/>
<keyword type="function" name="jsc_context_evaluate ()" link="JSCContext.html#jsc-context-evaluate"/>
<keyword type="function" name="jsc_context_evaluate_with_source_uri ()" link="JSCContext.html#jsc-context-evaluate-with-source-uri"/>
<keyword type="function" name="jsc_context_evaluate_in_object ()" link="JSCContext.html#jsc-context-evaluate-in-object"/>
<keyword type="function" name="jsc_context_check_syntax ()" link="JSCContext.html#jsc-context-check-syntax"/>
<keyword type="function" name="jsc_context_get_global_object ()" link="JSCContext.html#jsc-context-get-global-object"/>
<keyword type="function" name="jsc_context_set_value ()" link="JSCContext.html#jsc-context-set-value"/>
<keyword type="function" name="jsc_context_get_value ()" link="JSCContext.html#jsc-context-get-value"/>
<keyword type="function" name="jsc_context_register_class ()" link="JSCContext.html#jsc-context-register-class"/>
<keyword type="struct" name="JSCContext" link="JSCContext.html#JSCContext-struct"/>
<keyword type="enum" name="enum JSCCheckSyntaxMode" link="JSCContext.html#JSCCheckSyntaxMode"/>
<keyword type="enum" name="enum JSCCheckSyntaxResult" link="JSCContext.html#JSCCheckSyntaxResult"/>
<keyword type="property" name="The “virtual-machine” property" link="JSCContext.html#JSCContext--virtual-machine"/>
<keyword type="function" name="jsc_value_get_context ()" link="JSCValue.html#jsc-value-get-context"/>
<keyword type="function" name="jsc_value_new_undefined ()" link="JSCValue.html#jsc-value-new-undefined"/>
......@@ -53,6 +58,7 @@
<keyword type="function" name="jsc_value_to_string_as_bytes ()" link="JSCValue.html#jsc-value-to-string-as-bytes"/>
<keyword type="function" name="jsc_value_new_array ()" link="JSCValue.html#jsc-value-new-array"/>
<keyword type="function" name="jsc_value_new_array_from_garray ()" link="JSCValue.html#jsc-value-new-array-from-garray"/>
<keyword type="function" name="jsc_value_new_array_from_strv ()" link="JSCValue.html#jsc-value-new-array-from-strv"/>
<keyword type="function" name="jsc_value_is_array ()" link="JSCValue.html#jsc-value-is-array"/>
<keyword type="function" name="jsc_value_new_object ()" link="JSCValue.html#jsc-value-new-object"/>
<keyword type="function" name="jsc_value_is_object ()" link="JSCValue.html#jsc-value-is-object"/>
......@@ -70,6 +76,7 @@
<keyword type="function" name="jsc_value_object_define_property_accessor ()" link="JSCValue.html#jsc-value-object-define-property-accessor"/>
<keyword type="function" name="jsc_value_new_function ()" link="JSCValue.html#jsc-value-new-function"/>
<keyword type="function" name="jsc_value_new_functionv ()" link="JSCValue.html#jsc-value-new-functionv"/>
<keyword type="function" name="jsc_value_new_function_variadic ()" link="JSCValue.html#jsc-value-new-function-variadic"/>
<keyword type="function" name="jsc_value_is_function ()" link="JSCValue.html#jsc-value-is-function"/>
<keyword type="function" name="jsc_value_function_call ()" link="JSCValue.html#jsc-value-function-call"/>
<keyword type="function" name="jsc_value_function_callv ()" link="JSCValue.html#jsc-value-function-callv"/>
......@@ -98,8 +105,10 @@
<keyword type="function" name="jsc_class_get_parent ()" link="JSCClass.html#jsc-class-get-parent"/>
<keyword type="function" name="jsc_class_add_constructor ()" link="JSCClass.html#jsc-class-add-constructor"/>
<keyword type="function" name="jsc_class_add_constructorv ()" link="JSCClass.html#jsc-class-add-constructorv"/>
<keyword type="function" name="jsc_class_add_constructor_variadic ()" link="JSCClass.html#jsc-class-add-constructor-variadic"/>
<keyword type="function" name="jsc_class_add_method ()" link="JSCClass.html#jsc-class-add-method"/>
<keyword type="function" name="jsc_class_add_methodv ()" link="JSCClass.html#jsc-class-add-methodv"/>
<keyword type="function" name="jsc_class_add_method_variadic ()" link="JSCClass.html#jsc-class-add-method-variadic"/>
<keyword type="function" name="jsc_class_add_property ()" link="JSCClass.html#jsc-class-add-property"/>
<keyword type="struct" name="JSCClass" link="JSCClass.html#JSCClass-struct"/>
<keyword type="struct" name="JSCClassVTable" link="JSCClass.html#JSCClassVTable"/>
......@@ -113,6 +122,14 @@
<keyword type="macro" name="JSC_MAJOR_VERSION" link="jsc-glib-4.0-JSCVersion.html#JSC-MAJOR-VERSION:CAPS"/>
<keyword type="macro" name="JSC_MINOR_VERSION" link="jsc-glib-4.0-JSCVersion.html#JSC-MINOR-VERSION:CAPS"/>
<keyword type="macro" name="JSC_MICRO_VERSION" link="jsc-glib-4.0-JSCVersion.html#JSC-MICRO-VERSION:CAPS"/>
<keyword type="constant" name="JSC_CHECK_SYNTAX_MODE_SCRIPT" link="JSCContext.html#JSC-CHECK-SYNTAX-MODE-SCRIPT:CAPS"/>
<keyword type="constant" name="JSC_CHECK_SYNTAX_MODE_MODULE" link="JSCContext.html#JSC-CHECK-SYNTAX-MODE-MODULE:CAPS"/>
<keyword type="constant" name="JSC_CHECK_SYNTAX_RESULT_SUCCESS" link="JSCContext.html#JSC-CHECK-SYNTAX-RESULT-SUCCESS:CAPS"/>
<keyword type="constant" name="JSC_CHECK_SYNTAX_RESULT_RECOVERABLE_ERROR" link="JSCContext.html#JSC-CHECK-SYNTAX-RESULT-RECOVERABLE-ERROR:CAPS"/>
<keyword type="constant" name="JSC_CHECK_SYNTAX_RESULT_IRRECOVERABLE_ERROR" link="JSCContext.html#JSC-CHECK-SYNTAX-RESULT-IRRECOVERABLE-ERROR:CAPS"/>
<keyword type="constant" name="JSC_CHECK_SYNTAX_RESULT_UNTERMINATED_LITERAL_ERROR" link="JSCContext.html#JSC-CHECK-SYNTAX-RESULT-UNTERMINATED-LITERAL-ERROR:CAPS"/>
<keyword type="constant" name="JSC_CHECK_SYNTAX_RESULT_OUT_OF_MEMORY_ERROR" link="JSCContext.html#JSC-CHECK-SYNTAX-RESULT-OUT-OF-MEMORY-ERROR:CAPS"/>
<keyword type="constant" name="JSC_CHECK_SYNTAX_RESULT_STACK_OVERFLOW_ERROR" link="JSCContext.html#JSC-CHECK-SYNTAX-RESULT-STACK-OVERFLOW-ERROR:CAPS"/>
<keyword type="constant" name="JSC_VALUE_PROPERTY_CONFIGURABLE" link="JSCValue.html#JSC-VALUE-PROPERTY-CONFIGURABLE:CAPS"/>
<keyword type="constant" name="JSC_VALUE_PROPERTY_ENUMERABLE" link="JSCValue.html#JSC-VALUE-PROPERTY-ENUMERABLE:CAPS"/>
<keyword type="constant" name="JSC_VALUE_PROPERTY_WRITABLE" link="JSCValue.html#JSC-VALUE-PROPERTY-WRITABLE:CAPS"/>
......
......@@ -14,7 +14,7 @@
<div class="titlepage">
<div>
<div><table class="navigation" id="top" width="100%" cellpadding="2" cellspacing="0"><tr><th valign="middle"><p class="title">WebKit2GTK+ Reference Manual</p></th></tr></table></div>
<div><p class="releaseinfo">for WebKit2GTK+ 2.21.4</p></div>
<div><p class="releaseinfo">for WebKit2GTK+ 2.21.5</p></div>
</div>
<hr>
</div>
......
......@@ -213,7 +213,7 @@ against at application run time.</p>
<hr>
<div class="refsect2">
<a name="WEBKIT-MICRO-VERSION:CAPS"></a><h3>WEBKIT_MICRO_VERSION</h3>
<pre class="programlisting">#define WEBKIT_MICRO_VERSION (4)
<pre class="programlisting">#define WEBKIT_MICRO_VERSION (5)
</pre>
<p>Like <a class="link" href="webkit2gtk-4.0-WebKitVersion.html#webkit-get-micro-version" title="webkit_get_micro_version ()"><code class="function">webkit_get_micro_version()</code></a>, but from the headers used at
application compile time, rather than from the library linked
......
......@@ -14,7 +14,7 @@
<div class="titlepage">
<div>
<div><table class="navigation" id="top" width="100%" cellpadding="2" cellspacing="0"><tr><th valign="middle"><p class="title">WebKitDOMGTK+ Reference Manual</p></th></tr></table></div>
<div><p class="releaseinfo">for WebKitDOMGTK+ 2.21.4</p></div>
<div><p class="releaseinfo">for WebKitDOMGTK+ 2.21.5</p></div>
</div>
<hr>
</div>
......
=================
WebKitGTK+ 2.21.5
=================
What's new in WebKitGTK+ 2.21.5?
- Add API to evaluate code in a new object to JavaScriptCore GLib API.
- Add API to check for syntax errors in given code to JavaScriptCore GLib API.
- Update jsc_context_evaluate_with_source_uri() to receive also a starting line number.
- Add API to allow creating variadic functions to JavaScriptCore GLib API.
- Add --host option to WebDriver process.
- Handle acceptInsecureCertificates capability in WebDriver.
- Fix video freezes when GStreamerGL is not installed.
- Fix several crashes and rendering issues.
- Translation updates: Ukrainian.
=================
WebKitGTK+ 2.21.4
=================
......
......@@ -113,7 +113,7 @@ inline JSC::JSObject* toJS(JSObjectRef o)
{
JSC::JSObject* object = uncheckedToJS(o);
if (object)
RELEASE_ASSERT(object->methodTable());
RELEASE_ASSERT(object->methodTable(*object->vm()));
return object;
}
......
......@@ -194,7 +194,7 @@ public:
using Parent::methodTable;
private:
static String className(const JSObject*);
static String className(const JSObject*, VM&);
static JSValue defaultValue(const JSObject*, ExecState*, PreferredPrimitiveType);
......