Commit 285adb78 authored by Alberto Garcia's avatar Alberto Garcia
Browse files

Imported Upstream version 2.6.0+dfsg1

parent c661a7f7
......@@ -33,6 +33,9 @@ if (NOT DEFINED ENABLE_TOOLS AND EXISTS ${TOOLS_DIR})
set(ENABLE_TOOLS ON)
endif ()
# Do not create transitive library dependencies by default
set(CMAKE_LINK_INTERFACE_LIBRARIES "")
include(WebKitMacros)
include(WebKitFS)
include(WebKitHelpers)
......
......@@ -113,6 +113,22 @@
<a class="link" href="WebKitDownload.html#webkit-download-get-web-view" title="webkit_download_get_web_view ()">webkit_download_get_web_view</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">
<a class="link" href="WebKitDownload.html#webkit-download-get-allow-overwrite" title="webkit_download_get_allow_overwrite ()">webkit_download_get_allow_overwrite</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="WebKitDownload.html#webkit-download-set-allow-overwrite" title="webkit_download_set_allow_overwrite ()">webkit_download_set_allow_overwrite</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
......@@ -126,6 +142,11 @@
</colgroup>
<tbody>
<tr>
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
<td class="property_name"><a class="link" href="WebKitDownload.html#WebKitDownload--allow-overwrite" title="The “allow-overwrite” property">allow-overwrite</a></td>
<td class="property_flags">Read / Write</td>
</tr>
<tr>
<td class="property_type">
<a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
<td class="property_name"><a class="link" href="WebKitDownload.html#WebKitDownload--destination" title="The “destination” property">destination</a></td>
......@@ -487,6 +508,69 @@ was not initiated by a <a class="link" href="WebKitWebView.html" title="WebKitWe
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="webkit-download-get-allow-overwrite"></a><h3>webkit_download_get_allow_overwrite ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
webkit_download_get_allow_overwrite (<em class="parameter"><code><a class="link" href="WebKitDownload.html" title="WebKitDownload"><span class="type">WebKitDownload</span></a> *download</code></em>);</pre>
<p>Returns the current value of the <a class="link" href="WebKitDownload.html#WebKitDownload--allow-overwrite" title="The “allow-overwrite” property"><span class="type">“allow-overwrite”</span></a> property,
which determines whether the download will overwrite an existing file on
disk, or if it will fail if the destination already exists.</p>
<div class="refsect3">
<a name="id-1.2.11.9.11.5"></a><h4>Parameters</h4>
<div class="informaltable"><table 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>download</p></td>
<td class="parameter_description"><p>a <a class="link" href="WebKitDownload.html" title="WebKitDownload"><span class="type">WebKitDownload</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.11.9.11.6"></a><h4>Returns</h4>
<p> the current value of the <a class="link" href="WebKitDownload.html#WebKitDownload--allow-overwrite" title="The “allow-overwrite” property"><span class="type">“allow-overwrite”</span></a> property</p>
<p></p>
</div>
<p class="since">Since 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="webkit-download-set-allow-overwrite"></a><h3>webkit_download_set_allow_overwrite ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
webkit_download_set_allow_overwrite (<em class="parameter"><code><a class="link" href="WebKitDownload.html" title="WebKitDownload"><span class="type">WebKitDownload</span></a> *download</code></em>,
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> allowed</code></em>);</pre>
<p>Sets the <a class="link" href="WebKitDownload.html#WebKitDownload--allow-overwrite" title="The “allow-overwrite” property"><span class="type">“allow-overwrite”</span></a> property, which determines whether
the download may overwrite an existing file on disk, or if it will fail if
the destination already exists.</p>
<div class="refsect3">
<a name="id-1.2.11.9.12.5"></a><h4>Parameters</h4>
<div class="informaltable"><table 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>download</p></td>
<td class="parameter_description"><p>a <a class="link" href="WebKitDownload.html" title="WebKitDownload"><span class="type">WebKitDownload</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>allowed</p></td>
<td class="parameter_description"><p>the new value for the <a class="link" href="WebKitDownload.html#WebKitDownload--allow-overwrite" title="The “allow-overwrite” property"><span class="type">“allow-overwrite”</span></a> property</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since 2.6</p>
</div>
</div>
<div class="refsect1">
<a name="WebKitDownload.other_details"></a><h2>Types and Values</h2>
......@@ -500,6 +584,17 @@ was not initiated by a <a class="link" href="WebKitWebView.html" title="WebKitWe
<div class="refsect1">
<a name="WebKitDownload.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="WebKitDownload--allow-overwrite"></a><h3>The <code class="literal">“allow-overwrite”</code> property</h3>
<pre class="programlisting"> “allow-overwrite” <a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
<p>Whether or not the download is allowed to overwrite an existing file on
disk. If this property is <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> and the destination already exists,
the download will fail.</p>
<p>Flags: Read / Write</p>
<p>Default value: FALSE</p>
<p class="since">Since 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="WebKitDownload--destination"></a><h3>The <code class="literal">“destination”</code> property</h3>
<pre class="programlisting"> “destination” <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
<p>The local URI to where the download will be saved.</p>
......
......@@ -538,7 +538,7 @@ webkit_security_manager_register_uri_scheme_as_empty_document
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *scheme</code></em>);</pre>
<p>Register <em class="parameter"><code>scheme</code></em>
as an empty document scheme. This means that
they are allowd to commit synchronously.</p>
they are allowed to commit synchronously.</p>
<div class="refsect3">
<a name="id-1.2.33.7.12.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
......
......@@ -78,6 +78,14 @@
<a class="link" href="WebKitURIResponse.html#webkit-uri-response-get-suggested-filename" title="webkit_uri_response_get_suggested_filename ()">webkit_uri_response_get_suggested_filename</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../libsoup-2.4/SoupMessageHeaders.html#SoupMessageHeaders"><span class="returnvalue">SoupMessageHeaders</span></a> *
</td>
<td class="function_name">
<a class="link" href="WebKitURIResponse.html#webkit-uri-response-get-http-headers" title="webkit_uri_response_get_http_headers ()">webkit_uri_response_get_http_headers</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
......@@ -97,6 +105,12 @@
</tr>
<tr>
<td class="property_type">
<a href="../libsoup-2.4/SoupMessageHeaders.html#SoupMessageHeaders"><span class="type">SoupMessageHeaders</span></a> *</td>
<td class="property_name"><a class="link" href="WebKitURIResponse.html#WebKitURIResponse--http-headers" title="The “http-headers” property">http-headers</a></td>
<td class="property_flags">Read</td>
</tr>
<tr>
<td class="property_type">
<a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
<td class="property_name"><a class="link" href="WebKitURIResponse.html#WebKitURIResponse--mime-type" title="The “mime-type” property">mime-type</a></td>
<td class="property_flags">Read</td>
......@@ -292,6 +306,36 @@ the 'Content-Disposition' HTTP header is not present. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="webkit-uri-response-get-http-headers"></a><h3>webkit_uri_response_get_http_headers ()</h3>
<pre class="programlisting"><a href="../libsoup-2.4/SoupMessageHeaders.html#SoupMessageHeaders"><span class="returnvalue">SoupMessageHeaders</span></a> *
webkit_uri_response_get_http_headers (<em class="parameter"><code><a class="link" href="WebKitURIResponse.html" title="WebKitURIResponse"><span class="type">WebKitURIResponse</span></a> *response</code></em>);</pre>
<p>Get the HTTP headers of a <a class="link" href="WebKitURIResponse.html" title="WebKitURIResponse"><span class="type">WebKitURIResponse</span></a> as a <a href="../libsoup-2.4/SoupMessageHeaders.html#SoupMessageHeaders"><span class="type">SoupMessageHeaders</span></a>.</p>
<div class="refsect3">
<a name="id-1.2.9.8.7.5"></a><h4>Parameters</h4>
<div class="informaltable"><table 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>response</p></td>
<td class="parameter_description"><p>a <a class="link" href="WebKitURIResponse.html" title="WebKitURIResponse"><span class="type">WebKitURIResponse</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.9.8.7.6"></a><h4>Returns</h4>
<p> a <a href="../libsoup-2.4/SoupMessageHeaders.html#SoupMessageHeaders"><span class="type">SoupMessageHeaders</span></a> with the HTTP headers of <em class="parameter"><code>response</code></em>
or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>response</code></em>
is not an HTTP response. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
<p class="since">Since 2.6</p>
</div>
</div>
<div class="refsect1">
<a name="WebKitURIResponse.other_details"></a><h2>Types and Values</h2>
......@@ -313,6 +357,14 @@ the 'Content-Disposition' HTTP header is not present. </p>
</div>
<hr>
<div class="refsect2">
<a name="WebKitURIResponse--http-headers"></a><h3>The <code class="literal">“http-headers”</code> property</h3>
<pre class="programlisting"> “http-headers” <a href="../libsoup-2.4/SoupMessageHeaders.html#SoupMessageHeaders"><span class="type">SoupMessageHeaders</span></a> *</pre>
<p>The HTTP headers of the response, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the response is not an HTTP response.</p>
<p>Flags: Read</p>
<p class="since">Since 2.6</p>
</div>
<hr>
<div class="refsect2">
<a name="WebKitURIResponse--mime-type"></a><h3>The <code class="literal">“mime-type”</code> property</h3>
<pre class="programlisting"> “mime-type” <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
<p>The MIME type of the response.</p>
......
......@@ -4446,13 +4446,15 @@ You need to handle the signal if you want to provide your own error page.</p>
<a name="WebKitWebView-load-failed-with-tls-errors"></a><h3>The <code class="literal">“load-failed-with-tls-errors”</code> signal</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
user_function (<a class="link" href="WebKitWebView.html" title="WebKitWebView"><span class="type">WebKitWebView</span></a> *web_view,
<a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *failing_uri,
<a href="../gio/GTlsCertificate.html"><span class="type">GTlsCertificate</span></a> *certificate,
<a href="../gio/gio-TLS-Overview.html#GTlsCertificateFlags"><span class="type">GTlsCertificateFlags</span></a> errors,
<a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *host,
<a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
<p>Emitted when a TLS error occurs during a load operation.
To allow an exception for this certificate
and this host use <a class="link" href="WebKitWebContext.html#webkit-web-context-allow-tls-certificate-for-host" title="webkit_web_context_allow_tls_certificate_for_host ()"><code class="function">webkit_web_context_allow_tls_certificate_for_host()</code></a>.</p>
To allow an exception for this <em class="parameter"><code>certificate</code></em>
and the host of <em class="parameter"><code>failing_uri</code></em>
use <a class="link" href="WebKitWebContext.html#webkit-web-context-allow-tls-certificate-for-host" title="webkit_web_context_allow_tls_certificate_for_host ()"><code class="function">webkit_web_context_allow_tls_certificate_for_host()</code></a>.</p>
<p>To handle this signal asynchronously you should call <a href="../gobject/gobject-The-Base-Object-Type.html#g-object-ref"><code class="function">g_object_ref()</code></a> on <em class="parameter"><code>certificate</code></em>
and return <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>.</p>
......@@ -4473,6 +4475,11 @@ will finish regardless of the returned value.</p>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>failing_uri</p></td>
<td class="parameter_description"><p>the URI that failed to load</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>certificate</p></td>
<td class="parameter_description"><p>a <a href="../gio/GTlsCertificate.html"><span class="type">GTlsCertificate</span></a></p></td>
<td class="parameter_annotations"> </td>
......@@ -4484,11 +4491,6 @@ will finish regardless of the returned value.</p>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>host</p></td>
<td class="parameter_description"><p>the host on which the error occurred</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
<td class="parameter_annotations"> </td>
......
......@@ -13,7 +13,9 @@
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts"><span id="nav_index"><a class="shortcut" href="#idxN">N</a>
<td width="100%" align="left" class="shortcuts"><span id="nav_index"><a class="shortcut" href="#idxD">D</a>
 <span class="dim">|</span> 
<a class="shortcut" href="#idxN">N</a>
 <span class="dim">|</span> 
<a class="shortcut" href="#idxU">U</a>
 <span class="dim">|</span> 
......@@ -26,7 +28,20 @@
<div class="index">
<div class="titlepage"><div><div><h1 class="title">
<a name="api-index-2-6"></a>Index of new symbols in 2.6</h1></div></div></div>
<a name="idx"></a><a name="idxN"></a><h3 class="title">N</h3>
<a name="idx"></a><a name="idxD"></a><h3 class="title">D</h3>
<dt>
<a class="link" href="WebKitDownload.html#WebKitDownload--allow-overwrite" title="The “allow-overwrite” property">WebKitDownload:allow-overwrite</a>, object property in <a class="link" href="WebKitDownload.html" title="WebKitDownload">WebKitDownload</a>
</dt>
<dd></dd>
<dt>
<a class="link" href="WebKitDownload.html#webkit-download-get-allow-overwrite" title="webkit_download_get_allow_overwrite ()">webkit_download_get_allow_overwrite</a>, function in <a class="link" href="WebKitDownload.html" title="WebKitDownload">WebKitDownload</a>
</dt>
<dd></dd>
<dt>
<a class="link" href="WebKitDownload.html#webkit-download-set-allow-overwrite" title="webkit_download_set_allow_overwrite ()">webkit_download_set_allow_overwrite</a>, function in <a class="link" href="WebKitDownload.html" title="WebKitDownload">WebKitDownload</a>
</dt>
<dd></dd>
<a name="idxN"></a><h3 class="title">N</h3>
<dt>
<a class="link" href="WebKitNavigationPolicyDecision.html#WebKitNavigationPolicyDecision--navigation-action" title="The “navigation-action” property">WebKitNavigationPolicyDecision:navigation-action</a>, object property in <a class="link" href="WebKitNavigationPolicyDecision.html" title="WebKitNavigationPolicyDecision">WebKitNavigationPolicyDecision</a>
</dt>
......@@ -65,6 +80,14 @@
<dd></dd>
<a name="idxU"></a><h3 class="title">U</h3>
<dt>
<a class="link" href="WebKitURIResponse.html#WebKitURIResponse--http-headers" title="The “http-headers” property">WebKitURIResponse:http-headers</a>, object property in <a class="link" href="WebKitURIResponse.html" title="WebKitURIResponse">WebKitURIResponse</a>
</dt>
<dd></dd>
<dt>
<a class="link" href="WebKitURIResponse.html#webkit-uri-response-get-http-headers" title="webkit_uri_response_get_http_headers ()">webkit_uri_response_get_http_headers</a>, function in <a class="link" href="WebKitURIResponse.html" title="WebKitURIResponse">WebKitURIResponse</a>
</dt>
<dd></dd>
<dt>
<a class="link" href="webkit2gtk-WebKitUserContent.html#WebKitUserContentInjectedFrames" title="enum WebKitUserContentInjectedFrames">WebKitUserContentInjectedFrames</a>, enum in <a class="link" href="webkit2gtk-WebKitUserContent.html" title="User content">WebKitUserContent</a>
</dt>
<dd></dd>
......
......@@ -207,6 +207,8 @@
</dt>
<dt>WebKitDownload::received-data, <a class="indexterm" href="WebKitDownload.html#WebKitDownload-received-data">The “received-data” signal</a>
</dt>
<dt>WebKitDownload:allow-overwrite, <a class="indexterm" href="WebKitDownload.html#WebKitDownload--allow-overwrite">The “allow-overwrite” property</a>
</dt>
<dt>WebKitDownload:destination, <a class="indexterm" href="WebKitDownload.html#WebKitDownload--destination">The “destination” property</a>
</dt>
<dt>WebKitDownload:estimated-progress, <a class="indexterm" href="WebKitDownload.html#WebKitDownload--estimated-progress">The “estimated-progress” property</a>
......@@ -221,6 +223,8 @@
</dt>
<dt>webkit_download_error_quark, <a class="indexterm" href="webkit2gtk-WebKitError.html#webkit-download-error-quark">webkit_download_error_quark ()</a>
</dt>
<dt>webkit_download_get_allow_overwrite, <a class="indexterm" href="WebKitDownload.html#webkit-download-get-allow-overwrite">webkit_download_get_allow_overwrite ()</a>
</dt>
<dt>webkit_download_get_destination, <a class="indexterm" href="WebKitDownload.html#webkit-download-get-destination">webkit_download_get_destination ()</a>
</dt>
<dt>webkit_download_get_elapsed_time, <a class="indexterm" href="WebKitDownload.html#webkit-download-get-elapsed-time">webkit_download_get_elapsed_time ()</a>
......@@ -235,6 +239,8 @@
</dt>
<dt>webkit_download_get_web_view, <a class="indexterm" href="WebKitDownload.html#webkit-download-get-web-view">webkit_download_get_web_view ()</a>
</dt>
<dt>webkit_download_set_allow_overwrite, <a class="indexterm" href="WebKitDownload.html#webkit-download-set-allow-overwrite">webkit_download_set_allow_overwrite ()</a>
</dt>
<dt>webkit_download_set_destination, <a class="indexterm" href="WebKitDownload.html#webkit-download-set-destination">webkit_download_set_destination ()</a>
</dt>
</dl>
......@@ -989,6 +995,8 @@
</dt>
<dt>WebKitURIResponse:content-length, <a class="indexterm" href="WebKitURIResponse.html#WebKitURIResponse--content-length">The “content-length” property</a>
</dt>
<dt>WebKitURIResponse:http-headers, <a class="indexterm" href="WebKitURIResponse.html#WebKitURIResponse--http-headers">The “http-headers” property</a>
</dt>
<dt>WebKitURIResponse:mime-type, <a class="indexterm" href="WebKitURIResponse.html#WebKitURIResponse--mime-type">The “mime-type” property</a>
</dt>
<dt>WebKitURIResponse:status-code, <a class="indexterm" href="WebKitURIResponse.html#WebKitURIResponse--status-code">The “status-code” property</a>
......@@ -1011,6 +1019,8 @@
</dt>
<dt>webkit_uri_response_get_content_length, <a class="indexterm" href="WebKitURIResponse.html#webkit-uri-response-get-content-length">webkit_uri_response_get_content_length ()</a>
</dt>
<dt>webkit_uri_response_get_http_headers, <a class="indexterm" href="WebKitURIResponse.html#webkit-uri-response-get-http-headers">webkit_uri_response_get_http_headers ()</a>
</dt>
<dt>webkit_uri_response_get_mime_type, <a class="indexterm" href="WebKitURIResponse.html#webkit-uri-response-get-mime-type">webkit_uri_response_get_mime_type ()</a>
</dt>
<dt>webkit_uri_response_get_status_code, <a class="indexterm" href="WebKitURIResponse.html#webkit-uri-response-get-status-code">webkit_uri_response_get_status_code ()</a>
......
......@@ -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.5.3</p></div>
<div><p class="releaseinfo">for WebKit2GTK+ 2.6.0</p></div>
</div>
<hr>
</div>
......
......@@ -418,10 +418,12 @@
<ANCHOR id="webkit-uri-response-get-content-length" href="webkit2gtk/WebKitURIResponse.html#webkit-uri-response-get-content-length">
<ANCHOR id="webkit-uri-response-get-mime-type" href="webkit2gtk/WebKitURIResponse.html#webkit-uri-response-get-mime-type">
<ANCHOR id="webkit-uri-response-get-suggested-filename" href="webkit2gtk/WebKitURIResponse.html#webkit-uri-response-get-suggested-filename">
<ANCHOR id="webkit-uri-response-get-http-headers" href="webkit2gtk/WebKitURIResponse.html#webkit-uri-response-get-http-headers">
<ANCHOR id="WebKitURIResponse.other_details" href="webkit2gtk/WebKitURIResponse.html#WebKitURIResponse.other_details">
<ANCHOR id="WebKitURIResponse-struct" href="webkit2gtk/WebKitURIResponse.html#WebKitURIResponse-struct">
<ANCHOR id="WebKitURIResponse.property-details" href="webkit2gtk/WebKitURIResponse.html#WebKitURIResponse.property-details">
<ANCHOR id="WebKitURIResponse--content-length" href="webkit2gtk/WebKitURIResponse.html#WebKitURIResponse--content-length">
<ANCHOR id="WebKitURIResponse--http-headers" href="webkit2gtk/WebKitURIResponse.html#WebKitURIResponse--http-headers">
<ANCHOR id="WebKitURIResponse--mime-type" href="webkit2gtk/WebKitURIResponse.html#WebKitURIResponse--mime-type">
<ANCHOR id="WebKitURIResponse--status-code" href="webkit2gtk/WebKitURIResponse.html#WebKitURIResponse--status-code">
<ANCHOR id="WebKitURIResponse--suggested-filename" href="webkit2gtk/WebKitURIResponse.html#WebKitURIResponse--suggested-filename">
......@@ -470,9 +472,12 @@
<ANCHOR id="webkit-download-get-elapsed-time" href="webkit2gtk/WebKitDownload.html#webkit-download-get-elapsed-time">
<ANCHOR id="webkit-download-get-received-data-length" href="webkit2gtk/WebKitDownload.html#webkit-download-get-received-data-length">
<ANCHOR id="webkit-download-get-web-view" href="webkit2gtk/WebKitDownload.html#webkit-download-get-web-view">
<ANCHOR id="webkit-download-get-allow-overwrite" href="webkit2gtk/WebKitDownload.html#webkit-download-get-allow-overwrite">
<ANCHOR id="webkit-download-set-allow-overwrite" href="webkit2gtk/WebKitDownload.html#webkit-download-set-allow-overwrite">
<ANCHOR id="WebKitDownload.other_details" href="webkit2gtk/WebKitDownload.html#WebKitDownload.other_details">
<ANCHOR id="WebKitDownload-struct" href="webkit2gtk/WebKitDownload.html#WebKitDownload-struct">
<ANCHOR id="WebKitDownload.property-details" href="webkit2gtk/WebKitDownload.html#WebKitDownload.property-details">
<ANCHOR id="WebKitDownload--allow-overwrite" href="webkit2gtk/WebKitDownload.html#WebKitDownload--allow-overwrite">
<ANCHOR id="WebKitDownload--destination" href="webkit2gtk/WebKitDownload.html#WebKitDownload--destination">
<ANCHOR id="WebKitDownload--estimated-progress" href="webkit2gtk/WebKitDownload.html#WebKitDownload--estimated-progress">
<ANCHOR id="WebKitDownload--response" href="webkit2gtk/WebKitDownload.html#WebKitDownload--response">
......
......@@ -138,7 +138,7 @@ against at application run time.</p>
<hr>
<div class="refsect2">
<a name="WEBKIT-MINOR-VERSION:CAPS"></a><h3>WEBKIT_MINOR_VERSION</h3>
<pre class="programlisting">#define WEBKIT_MINOR_VERSION (5)
<pre class="programlisting">#define WEBKIT_MINOR_VERSION (6)
</pre>
<p>Like <a class="link" href="webkit2gtk-WebKitVersion.html#webkit-get-minor-version" title="webkit_get_minor_version ()"><code class="function">webkit_get_minor_version()</code></a>, but from the headers used at
application compile time, rather than from the library linked
......@@ -147,7 +147,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 (3)
<pre class="programlisting">#define WEBKIT_MICRO_VERSION (0)
</pre>
<p>Like <a class="link" href="webkit2gtk-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
......
......@@ -395,8 +395,10 @@
<keyword type="function" name="webkit_uri_response_get_content_length ()" link="WebKitURIResponse.html#webkit-uri-response-get-content-length"/>
<keyword type="function" name="webkit_uri_response_get_mime_type ()" link="WebKitURIResponse.html#webkit-uri-response-get-mime-type"/>
<keyword type="function" name="webkit_uri_response_get_suggested_filename ()" link="WebKitURIResponse.html#webkit-uri-response-get-suggested-filename"/>
<keyword type="function" name="webkit_uri_response_get_http_headers ()" link="WebKitURIResponse.html#webkit-uri-response-get-http-headers" since="2.6"/>
<keyword type="struct" name="struct WebKitURIResponse" link="WebKitURIResponse.html#WebKitURIResponse-struct"/>
<keyword type="property" name="The “content-length” property" link="WebKitURIResponse.html#WebKitURIResponse--content-length"/>
<keyword type="property" name="The “http-headers” property" link="WebKitURIResponse.html#WebKitURIResponse--http-headers"/>
<keyword type="property" name="The “mime-type” property" link="WebKitURIResponse.html#WebKitURIResponse--mime-type"/>
<keyword type="property" name="The “status-code” property" link="WebKitURIResponse.html#WebKitURIResponse--status-code"/>
<keyword type="property" name="The “suggested-filename” property" link="WebKitURIResponse.html#WebKitURIResponse--suggested-filename"/>
......@@ -427,7 +429,10 @@
<keyword type="function" name="webkit_download_get_elapsed_time ()" link="WebKitDownload.html#webkit-download-get-elapsed-time"/>
<keyword type="function" name="webkit_download_get_received_data_length ()" link="WebKitDownload.html#webkit-download-get-received-data-length"/>
<keyword type="function" name="webkit_download_get_web_view ()" link="WebKitDownload.html#webkit-download-get-web-view"/>
<keyword type="function" name="webkit_download_get_allow_overwrite ()" link="WebKitDownload.html#webkit-download-get-allow-overwrite" since="2.6"/>
<keyword type="function" name="webkit_download_set_allow_overwrite ()" link="WebKitDownload.html#webkit-download-set-allow-overwrite" since="2.6"/>
<keyword type="struct" name="struct WebKitDownload" link="WebKitDownload.html#WebKitDownload-struct"/>
<keyword type="property" name="The “allow-overwrite” property" link="WebKitDownload.html#WebKitDownload--allow-overwrite"/>
<keyword type="property" name="The “destination” property" link="WebKitDownload.html#WebKitDownload--destination"/>
<keyword type="property" name="The “estimated-progress” property" link="WebKitDownload.html#WebKitDownload--estimated-progress"/>
<keyword type="property" name="The “response” property" link="WebKitDownload.html#WebKitDownload--response"/>
......
......@@ -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.5.3</p></div>
<div><p class="releaseinfo">for WebKitDOMGTK+ 2.6.0</p></div>
</div>
<hr>
</div>
......
=================
WebKitGTK+ 2.6.0
=================
What's new in WebKitGTK+ 2.4.0?
- Make vimeo videos work again with the GStreamer media backend.
- Add more free icons for the web inspector.
- Fix a WebSocket crash when a connection is closed from server side.
- Fixed a memory leak in JavaScriptCore.
- Fix the build with video support disabled.
- Fix CLoop on the 32-bit Big-Endians.
- Translation updates: Gujarati, Odia, Assamese, Tamil, Hebrew,
Polish, Marathi, Kannada
=================
WebKitGTK+ 2.5.90
=================
What's new in WebKitGTK+ 2.5.90?
- Use free icons for the web inspector.
- Change WebKitWebView::load-failed-with-tls-errors signal to pass
the failing URI as signal argument instead of the host.
- Add new API to allow overwrite existing files when downloading a file.
- Add webkit_uri_response_get_http_headers() API.
- Improve the UI of the HTTP authentication dialog.
- Fix a crash when navigating away from a web page containing an ogg video.
- Fix race condition when downloading a file due to the intermediate
temporary file.
- Fix toggle buttons rendering with recent GTK+ versions.
- Fix selection rendering when unfocused with recent GTK+ versions.
- Make the GStreamer media backend not send the transferMode HTTP header.
- Translation updates: Assamese
=================
WebKitGTK+ 2.5.3
=================
......
......@@ -26,24 +26,20 @@ WEBKIT_INCLUDE_CONFIG_FILES_IF_EXISTS()
# -----------------------------------------------------------------------------
# Set compiler flags for all targets
# -----------------------------------------------------------------------------
if (${PORT} STREQUAL "Efl")
set(ADDITIONAL_FLAGS ENABLE_WERROR)
endif ()
WEBKIT_SET_EXTRA_COMPILER_FLAGS(WTF ${ADDITIONAL_FLAGS})
WEBKIT_SET_EXTRA_COMPILER_FLAGS(JavaScriptCore ${ADDITIONAL_FLAGS})
WEBKIT_SET_EXTRA_COMPILER_FLAGS(WTF ${ADDITIONAL_COMPILER_FLAGS})
WEBKIT_SET_EXTRA_COMPILER_FLAGS(JavaScriptCore ${ADDITIONAL_COMPILER_FLAGS})
if (ENABLE_WEBCORE)
WEBKIT_SET_EXTRA_COMPILER_FLAGS(WebCoreTestSupport ${ADDITIONAL_FLAGS})
WEBKIT_SET_EXTRA_COMPILER_FLAGS(WebCore ${ADDITIONAL_FLAGS})
WEBKIT_SET_EXTRA_COMPILER_FLAGS(WebCoreTestSupport ${ADDITIONAL_COMPILER_FLAGS})
WEBKIT_SET_EXTRA_COMPILER_FLAGS(WebCore ${ADDITIONAL_COMPILER_FLAGS})
endif ()
if (ENABLE_WEBKIT)
WEBKIT_SET_EXTRA_COMPILER_FLAGS(WebKit ${ADDITIONAL_FLAGS})
WEBKIT_SET_EXTRA_COMPILER_FLAGS(WebKit ${ADDITIONAL_COMPILER_FLAGS})
endif ()
if (ENABLE_WEBKIT2)
WEBKIT_SET_EXTRA_COMPILER_FLAGS(WebKit2 ${ADDITIONAL_FLAGS})
WEBKIT_SET_EXTRA_COMPILER_FLAGS(WebKit2 ${ADDITIONAL_COMPILER_FLAGS})
endif ()
# -----------------------------------------------------------------------------
......
......@@ -60,7 +60,7 @@ JSValueRef JSEvaluateScript(JSContextRef ctx, JSStringRef script, JSObjectRef th
// evaluate sets "this" to the global object if it is NULL
JSGlobalObject* globalObject = exec->vmEntryGlobalObject();
SourceCode source = makeSource(script->string(), sourceURL->string(), TextPosition(OrdinalNumber::fromOneBasedInt(startingLineNumber), OrdinalNumber::first()));
SourceCode source = makeSource(script->string(), sourceURL ? sourceURL->string() : String(), TextPosition(OrdinalNumber::fromOneBasedInt(startingLineNumber), OrdinalNumber::first()));
JSValue evaluationException;
JSValue returnValue = evaluate(globalObject->globalExec(), source, jsThisObject, &evaluationException);
......@@ -97,7 +97,7 @@ bool JSCheckScriptSyntax(JSContextRef ctx, JSStringRef script, JSStringRef sourc
startingLineNumber = std::max(1, startingLineNumber);
SourceCode source = makeSource(script->string(), sourceURL->string(), TextPosition(OrdinalNumber::fromOneBasedInt(startingLineNumber), OrdinalNumber::first()));
SourceCode source = makeSource(script->string(), sourceURL ? sourceURL->string() : String(), TextPosition(OrdinalNumber::fromOneBasedInt(startingLineNumber), OrdinalNumber::first()));
JSValue syntaxException;
bool isValidSyntax = checkSyntax(exec->vmEntryGlobalObject()->globalExec(), source, &syntaxException);
......
......@@ -138,6 +138,9 @@ JSGlobalContextRef JSGlobalContextCreateInGroup(JSContextGroupRef group, JSClass
if (!globalObjectClass) {
JSGlobalObject* globalObject = JSGlobalObject::create(*vm, JSGlobalObject::createStructure(*vm, jsNull()));
#if ENABLE(REMOTE_INSPECTOR)
globalObject->setRemoteDebuggingEnabled(true);
#endif
return JSGlobalContextRetain(toGlobalRef(globalObject->globalExec()));
}
......@@ -147,6 +150,9 @@ JSGlobalContextRef JSGlobalContextCreateInGroup(JSContextGroupRef group, JSClass
if (!prototype)
prototype = jsNull();
globalObject->resetPrototype(*vm, prototype);
#if ENABLE(REMOTE_INSPECTOR)
globalObject->setRemoteDebuggingEnabled(true);
#endif
return JSGlobalContextRetain(toGlobalRef(exec));
}
......
......@@ -147,7 +147,7 @@ JSObjectRef JSObjectMakeFunction(JSContextRef ctx, JSStringRef name, unsigned pa
args.append(jsString(exec, parameterNames[i]->string()));
args.append(jsString(exec, body->string()));
JSObject* result = constructFunction(exec, exec->lexicalGlobalObject(), args, nameID, sourceURL->string(), TextPosition(OrdinalNumber::fromOneBasedInt(startingLineNumber), OrdinalNumber::first()));
JSObject* result = constructFunction(exec, exec->lexicalGlobalObject(), args, nameID, sourceURL ? sourceURL->string() : String(), TextPosition(OrdinalNumber::fromOneBasedInt(startingLineNumber), OrdinalNumber::first()));
if (exec->hadException()) {
JSValue exceptionValue = exec->exception();
if (exception)
......
......@@ -84,7 +84,7 @@ JSScriptRef JSScriptCreateReferencingImmortalASCIIText(JSContextGroupRef context
startingLineNumber = std::max(1, startingLineNumber);
RefPtr<OpaqueJSScript> result = OpaqueJSScript::create(vm, url->string(), startingLineNumber, String(StringImpl::createFromLiteral(source, length)));
RefPtr<OpaqueJSScript> result = OpaqueJSScript::create(vm, url ? url->string() : String(), startingLineNumber, String(StringImpl::createFromLiteral(source, length)));
ParserError error;
if (!parseScript(vm, SourceCode(result), error)) {
......@@ -105,7 +105,7 @@ JSScriptRef JSScriptCreateFromString(JSContextGroupRef contextGroup, JSStringRef
startingLineNumber = std::max(1, startingLineNumber);
RefPtr<OpaqueJSScript> result = OpaqueJSScript::create(vm, url->string(), startingLineNumber, source->string());
RefPtr<OpaqueJSScript> result = OpaqueJSScript::create(vm, url ? url->string() : String(), startingLineNumber, source->string());