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

New upstream version 2.17.90

parent 6a6c6dc0
......@@ -126,6 +126,8 @@ set(WebKit_LIBRARY_TYPE SHARED)
set(WebKit2_LIBRARY_TYPE SHARED)
set(WebCoreTestSupport_LIBRARY_TYPE STATIC)
set(CMAKE_POSITION_INDEPENDENT_CODE True)
# -----------------------------------------------------------------------------
# Install JavaScript shell
# -----------------------------------------------------------------------------
......
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>WebKitApplicationInfo: WebKit2GTK+ Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="index.html" title="WebKit2GTK+ Reference Manual">
<link rel="up" href="ch01.html" title="Class Overview">
<link rel="prev" href="WebKitAutomationSession.html" title="WebKitAutomationSession">
<link rel="next" href="ch02.html" title="Web Extensions">
<meta name="generator" content="GTK-Doc V1.25.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</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">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
<a href="#WebKitApplicationInfo.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
<a href="#WebKitApplicationInfo.object-hierarchy" class="shortcut">Object Hierarchy</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="WebKitAutomationSession.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="ch02.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="WebKitApplicationInfo"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="WebKitApplicationInfo.top_of_page"></a>WebKitApplicationInfo</span></h2>
<p>WebKitApplicationInfo</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="WebKitApplicationInfo.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">
<a class="link" href="WebKitApplicationInfo.html" title="WebKitApplicationInfo"><span class="returnvalue">WebKitApplicationInfo</span></a> *
</td>
<td class="function_name">
<a class="link" href="WebKitApplicationInfo.html#webkit-application-info-new" title="webkit_application_info_new ()">webkit_application_info_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="WebKitApplicationInfo.html" title="WebKitApplicationInfo"><span class="returnvalue">WebKitApplicationInfo</span></a> *
</td>
<td class="function_name">
<a class="link" href="WebKitApplicationInfo.html#webkit-application-info-ref" title="webkit_application_info_ref ()">webkit_application_info_ref</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="WebKitApplicationInfo.html#webkit-application-info-unref" title="webkit_application_info_unref ()">webkit_application_info_unref</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="WebKitApplicationInfo.html#webkit-application-info-set-name" title="webkit_application_info_set_name ()">webkit_application_info_set_name</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="WebKitApplicationInfo.html#webkit-application-info-get-name" title="webkit_application_info_get_name ()">webkit_application_info_get_name</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="WebKitApplicationInfo.html#webkit-application-info-set-version" title="webkit_application_info_set_version ()">webkit_application_info_set_version</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="WebKitApplicationInfo.html#webkit-application-info-get-version" title="webkit_application_info_get_version ()">webkit_application_info_get_version</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="WebKitApplicationInfo.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody><tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="WebKitApplicationInfo.html#WebKitApplicationInfo-struct" title="WebKitApplicationInfo">WebKitApplicationInfo</a></td>
</tr></tbody>
</table></div>
</div>
<div class="refsect1">
<a name="WebKitApplicationInfo.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="screen"> <a href="/home/cgarcia/gnome/share/gtk-doc/html/gobject/gobject-Boxed-Types.html">GBoxed</a>
<span class="lineart">╰──</span> WebKitApplicationInfo
</pre>
</div>
<div class="refsect1">
<a name="WebKitApplicationInfo.description"></a><h2>Description</h2>
</div>
<div class="refsect1">
<a name="WebKitApplicationInfo.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="webkit-application-info-new"></a><h3>webkit_application_info_new ()</h3>
<pre class="programlisting"><a class="link" href="WebKitApplicationInfo.html" title="WebKitApplicationInfo"><span class="returnvalue">WebKitApplicationInfo</span></a> *
webkit_application_info_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="webkit-application-info-ref"></a><h3>webkit_application_info_ref ()</h3>
<pre class="programlisting"><a class="link" href="WebKitApplicationInfo.html" title="WebKitApplicationInfo"><span class="returnvalue">WebKitApplicationInfo</span></a> *
webkit_application_info_ref (<em class="parameter"><code><a class="link" href="WebKitApplicationInfo.html" title="WebKitApplicationInfo"><span class="type">WebKitApplicationInfo</span></a> *info</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="webkit-application-info-unref"></a><h3>webkit_application_info_unref ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
webkit_application_info_unref (<em class="parameter"><code><a class="link" href="WebKitApplicationInfo.html" title="WebKitApplicationInfo"><span class="type">WebKitApplicationInfo</span></a> *info</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="webkit-application-info-set-name"></a><h3>webkit_application_info_set_name ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
webkit_application_info_set_name (<em class="parameter"><code><a class="link" href="WebKitApplicationInfo.html" title="WebKitApplicationInfo"><span class="type">WebKitApplicationInfo</span></a> *info</code></em>,
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="webkit-application-info-get-name"></a><h3>webkit_application_info_get_name ()</h3>
<pre class="programlisting">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
webkit_application_info_get_name (<em class="parameter"><code><a class="link" href="WebKitApplicationInfo.html" title="WebKitApplicationInfo"><span class="type">WebKitApplicationInfo</span></a> *info</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="webkit-application-info-set-version"></a><h3>webkit_application_info_set_version ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
webkit_application_info_set_version (<em class="parameter"><code><a class="link" href="WebKitApplicationInfo.html" title="WebKitApplicationInfo"><span class="type">WebKitApplicationInfo</span></a> *info</code></em>,
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> major</code></em>,
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> minor</code></em>,
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> micro</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="webkit-application-info-get-version"></a><h3>webkit_application_info_get_version ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
webkit_application_info_get_version (<em class="parameter"><code><a class="link" href="WebKitApplicationInfo.html" title="WebKitApplicationInfo"><span class="type">WebKitApplicationInfo</span></a> *info</code></em>,
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> *major</code></em>,
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> *minor</code></em>,
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#guint64"><span class="type">guint64</span></a> *micro</code></em>);</pre>
</div>
</div>
<div class="refsect1">
<a name="WebKitApplicationInfo.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="WebKitApplicationInfo-struct"></a><h3>WebKitApplicationInfo</h3>
<pre class="programlisting">typedef struct _WebKitApplicationInfo WebKitApplicationInfo;</pre>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.25.1</div>
</body>
</html>
\ No newline at end of file
......@@ -7,7 +7,7 @@
<link rel="home" href="index.html" title="WebKit2GTK+ Reference Manual">
<link rel="up" href="ch01.html" title="Class Overview">
<link rel="prev" href="WebKitNetworkProxySettings.html" title="WebKitNetworkProxySettings">
<link rel="next" href="ch02.html" title="Web Extensions">
<link rel="next" href="WebKitApplicationInfo.html" title="WebKitApplicationInfo">
<meta name="generator" content="GTK-Doc V1.25.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
......@@ -23,7 +23,7 @@
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="WebKitNetworkProxySettings.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="ch02.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
<td><a accesskey="n" href="WebKitApplicationInfo.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="WebKitAutomationSession"></a><div class="titlepage"></div>
......@@ -41,13 +41,31 @@
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody><tr>
<tbody>
<tr>
<td class="function_type">const <span class="returnvalue">char</span> *
</td>
<td class="function_name">
<a class="link" href="WebKitAutomationSession.html#webkit-automation-session-get-id" title="webkit_automation_session_get_id ()">webkit_automation_session_get_id</a> <span class="c_punctuation">()</span>
</td>
</tr></tbody>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="WebKitAutomationSession.html#webkit-automation-session-set-application-info" title="webkit_automation_session_set_application_info ()">webkit_automation_session_set_application_info</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="WebKitApplicationInfo.html" title="WebKitApplicationInfo"><span class="returnvalue">WebKitApplicationInfo</span></a> *
</td>
<td class="function_name">
<a class="link" href="WebKitAutomationSession.html#webkit-automation-session-get-application-info" title="webkit_automation_session_get_application_info ()">webkit_automation_session_get_application_info</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
......@@ -111,6 +129,21 @@
<pre class="programlisting">const <span class="returnvalue">char</span> *
webkit_automation_session_get_id (<em class="parameter"><code><a class="link" href="WebKitAutomationSession.html" title="WebKitAutomationSession"><span class="type">WebKitAutomationSession</span></a> *session</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="webkit-automation-session-set-application-info"></a><h3>webkit_automation_session_set_application_info ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
webkit_automation_session_set_application_info
(<em class="parameter"><code><a class="link" href="WebKitAutomationSession.html" title="WebKitAutomationSession"><span class="type">WebKitAutomationSession</span></a> *session</code></em>,
<em class="parameter"><code><a class="link" href="WebKitApplicationInfo.html" title="WebKitApplicationInfo"><span class="type">WebKitApplicationInfo</span></a> *info</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="webkit-automation-session-get-application-info"></a><h3>webkit_automation_session_get_application_info ()</h3>
<pre class="programlisting"><a class="link" href="WebKitApplicationInfo.html" title="WebKitApplicationInfo"><span class="returnvalue">WebKitApplicationInfo</span></a> *
webkit_automation_session_get_application_info
(<em class="parameter"><code><a class="link" href="WebKitAutomationSession.html" title="WebKitAutomationSession"><span class="type">WebKitAutomationSession</span></a> *session</code></em>);</pre>
</div>
</div>
<div class="refsect1">
<a name="WebKitAutomationSession.other_details"></a><h2>Types and Values</h2>
......
......@@ -167,6 +167,9 @@
<dt>
<span class="refentrytitle"><a href="WebKitAutomationSession.html">WebKitAutomationSession</a></span><span class="refpurpose"></span>
</dt>
<dt>
<span class="refentrytitle"><a href="WebKitApplicationInfo.html">WebKitApplicationInfo</a></span><span class="refpurpose"></span>
</dt>
</dl></div>
</div>
<div class="footer">
......
......@@ -6,7 +6,7 @@
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="index.html" title="WebKit2GTK+ Reference Manual">
<link rel="up" href="index.html" title="WebKit2GTK+ Reference Manual">
<link rel="prev" href="WebKitAutomationSession.html" title="WebKitAutomationSession">
<link rel="prev" href="WebKitApplicationInfo.html" title="WebKitApplicationInfo">
<link rel="next" href="WebKitWebExtension.html" title="WebKitWebExtension">
<meta name="generator" content="GTK-Doc V1.25.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
......@@ -16,7 +16,7 @@
<td width="100%" align="left" class="shortcuts"></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><img src="up-insensitive.png" width="16" height="16" border="0"></td>
<td><a accesskey="p" href="WebKitAutomationSession.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="p" href="WebKitApplicationInfo.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="WebKitWebExtension.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="chapter">
......
......@@ -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.17.5</p></div>
<div><p class="releaseinfo">for WebKit2GTK+ 2.17.90</p></div>
</div>
<hr>
</div>
......@@ -165,6 +165,9 @@
<dt>
<span class="refentrytitle"><a href="WebKitAutomationSession.html">WebKitAutomationSession</a></span><span class="refpurpose"></span>
</dt>
<dt>
<span class="refentrytitle"><a href="WebKitApplicationInfo.html">WebKitApplicationInfo</a></span><span class="refpurpose"></span>
</dt>
</dl></dd>
<dt><span class="chapter"><a href="ch02.html">Web Extensions</a></span></dt>
<dd><dl>
......
......@@ -177,7 +177,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 (5)
<pre class="programlisting">#define WEBKIT_MICRO_VERSION (90)
</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
......
......@@ -50,6 +50,7 @@
<sub name="WebKitWebsiteData" link="WebKitWebsiteData.html"/>
<sub name="WebKitNetworkProxySettings" link="WebKitNetworkProxySettings.html"/>
<sub name="WebKitAutomationSession" link="WebKitAutomationSession.html"/>
<sub name="WebKitApplicationInfo" link="WebKitApplicationInfo.html"/>
</sub>
<sub name="Web Extensions" link="ch02.html">
<sub name="WebKitWebExtension" link="WebKitWebExtension.html"/>
......@@ -885,9 +886,19 @@
<keyword type="function" name="webkit_network_proxy_settings_add_proxy_for_scheme ()" link="WebKitNetworkProxySettings.html#webkit-network-proxy-settings-add-proxy-for-scheme"/>
<keyword type="struct" name="WebKitNetworkProxySettings" link="WebKitNetworkProxySettings.html#WebKitNetworkProxySettings-struct"/>
<keyword type="function" name="webkit_automation_session_get_id ()" link="WebKitAutomationSession.html#webkit-automation-session-get-id"/>
<keyword type="function" name="webkit_automation_session_set_application_info ()" link="WebKitAutomationSession.html#webkit-automation-session-set-application-info"/>
<keyword type="function" name="webkit_automation_session_get_application_info ()" link="WebKitAutomationSession.html#webkit-automation-session-get-application-info"/>
<keyword type="struct" name="struct WebKitAutomationSession" link="WebKitAutomationSession.html#WebKitAutomationSession-struct"/>
<keyword type="property" name="The “id” property" link="WebKitAutomationSession.html#WebKitAutomationSession--id"/>
<keyword type="signal" name="The “create-web-view” signal" link="WebKitAutomationSession.html#WebKitAutomationSession-create-web-view"/>
<keyword type="function" name="webkit_application_info_new ()" link="WebKitApplicationInfo.html#webkit-application-info-new"/>
<keyword type="function" name="webkit_application_info_ref ()" link="WebKitApplicationInfo.html#webkit-application-info-ref"/>
<keyword type="function" name="webkit_application_info_unref ()" link="WebKitApplicationInfo.html#webkit-application-info-unref"/>
<keyword type="function" name="webkit_application_info_set_name ()" link="WebKitApplicationInfo.html#webkit-application-info-set-name"/>
<keyword type="function" name="webkit_application_info_get_name ()" link="WebKitApplicationInfo.html#webkit-application-info-get-name"/>
<keyword type="function" name="webkit_application_info_set_version ()" link="WebKitApplicationInfo.html#webkit-application-info-set-version"/>
<keyword type="function" name="webkit_application_info_get_version ()" link="WebKitApplicationInfo.html#webkit-application-info-get-version"/>
<keyword type="struct" name="WebKitApplicationInfo" link="WebKitApplicationInfo.html#WebKitApplicationInfo-struct"/>
<keyword type="function" name="WebKitWebExtensionInitializeFunction ()" link="WebKitWebExtension.html#WebKitWebExtensionInitializeFunction"/>
<keyword type="function" name="WebKitWebExtensionInitializeWithUserDataFunction ()" link="WebKitWebExtension.html#WebKitWebExtensionInitializeWithUserDataFunction" since="2.4"/>
<keyword type="function" name="webkit_web_extension_get_page ()" link="WebKitWebExtension.html#webkit-web-extension-get-page"/>
......
......@@ -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.17.5</p></div>
<div><p class="releaseinfo">for WebKitDOMGTK+ 2.17.90</p></div>
</div>
<hr>
</div>
......
==================
WebKitGTK+ 2.17.90
==================
What's new in WebKitGTK+ 2.17.90?
- WebCrypto API support is now enabled by default.
- Add API to provide browser information required by automation.
- Fix the expiration date of manually added cookies.
- Add support for alerts in WebDriver.
- WebKitDatabaseProcess binary has been renamed to WebKitStorageProcess.
- Fix several crashes and rendering issues.
=================
WebKitGTK+ 2.17.5
=================
......
......@@ -43,29 +43,3 @@ if (ENABLE_WEBDRIVER)
endif ()
WEBKIT_INCLUDE_CONFIG_FILES_IF_EXISTS()
# -----------------------------------------------------------------------------
# Set compiler flags for all targets
# -----------------------------------------------------------------------------
if (NOT USE_SYSTEM_MALLOC)
WEBKIT_SET_EXTRA_COMPILER_FLAGS(bmalloc ${ADDITIONAL_COMPILER_FLAGS})
endif ()
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(PAL ${ADDITIONAL_COMPILER_FLAGS})
WEBKIT_SET_EXTRA_COMPILER_FLAGS(WebCoreTestSupport ${ADDITIONAL_COMPILER_FLAGS})
WEBKIT_SET_EXTRA_COMPILER_FLAGS(WebCore ${ADDITIONAL_COMPILER_FLAGS})
WEBKIT_SET_EXTRA_COMPILER_FLAGS(WebCoreDerivedSources ${ADDITIONAL_COMPILER_FLAGS})
endif ()
if (ENABLE_WEBKIT_LEGACY)
# FIXME: Rename this target to WebKitLegacy.
WEBKIT_SET_EXTRA_COMPILER_FLAGS(WebKit ${ADDITIONAL_COMPILER_FLAGS})
endif ()
if (ENABLE_WEBKIT)
# FIXME: Rename this target to WebKit.
WEBKIT_SET_EXTRA_COMPILER_FLAGS(WebKit2 ${ADDITIONAL_COMPILER_FLAGS})
endif ()
......@@ -142,7 +142,6 @@ int testPingPongStackOverflow()
"PingPongStackOverflowObject.__proto__ = undefined;" \
"undefined instanceof PingPongStackOverflowObject;";
JSValueRef scriptResult = nullptr;
JSValueRef exception = nullptr;
JSStringRef script = JSStringCreateWithUTF8CString(scriptString);
......@@ -161,7 +160,7 @@ int testPingPongStackOverflow()
Options::maxPerThreadStackUsage() = stackSize + Options::softReservedZoneSize();
exception = nullptr;
scriptResult = JSEvaluateScript(context, script, nullptr, nullptr, 1, &exception);
JSEvaluateScript(context, script, nullptr, nullptr, 1, &exception);
if (!exception) {
printf("FAIL: PingPongStackOverflowError not thrown in PingPongStackOverflow test\n");
......
......@@ -1134,6 +1134,10 @@ static bool globalContextNameTest()
return result;
}
#if COMPILER(GCC)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
#endif
static void checkConstnessInJSObjectNames()
{
JSStaticFunction fun;
......@@ -1141,6 +1145,9 @@ static void checkConstnessInJSObjectNames()
JSStaticValue val;
val.name = "something";
}
#if COMPILER(GCC)
#pragma GCC diagnostic pop
#endif
#ifdef __cplusplus
extern "C" {
......
......@@ -336,6 +336,7 @@ set(JavaScriptCore_SOURCES
dfg/DFGEpoch.cpp
dfg/DFGFailedFinalizer.cpp
dfg/DFGFinalizer.cpp
dfg/DFGFixedButterflyAccessUncagingPhase.cpp
dfg/DFGFixupPhase.cpp
dfg/DFGFlowIndexing.cpp
dfg/DFGFlushFormat.cpp
......@@ -376,9 +377,6 @@ set(JavaScriptCore_SOURCES
dfg/DFGOSREntrypointCreationPhase.cpp
dfg/DFGOSRExit.cpp
dfg/DFGOSRExitBase.cpp
dfg/DFGOSRExitCompiler.cpp
dfg/DFGOSRExitCompiler32_64.cpp
dfg/DFGOSRExitCompiler64.cpp
dfg/DFGOSRExitCompilerCommon.cpp
dfg/DFGOSRExitFuzz.cpp
dfg/DFGOSRExitJumpPlaceholder.cpp
......@@ -489,6 +487,7 @@ set(JavaScriptCore_SOURCES
ftl/FTLThunks.cpp
ftl/FTLValueRange.cpp
heap/AlignedMemoryAllocator.cpp
heap/AllocatorAttributes.cpp
heap/CellContainer.cpp
heap/CodeBlockSet.cpp
......@@ -498,12 +497,14 @@ set(JavaScriptCore_SOURCES
heap/DeferGC.cpp
heap/DestructionMode.cpp
heap/EdenGCActivityCallback.cpp
heap/FastMallocAlignedMemoryAllocator.cpp
heap/FullGCActivityCallback.cpp
heap/FreeList.cpp
heap/GCActivityCallback.cpp
heap/GCConductor.cpp
heap/GCLogging.cpp
heap/GCRequest.cpp
heap/GigacageAlignedMemoryAllocator.cpp
heap/HandleSet.cpp
heap/HandleStack.cpp
heap/Heap.cpp
......@@ -711,6 +712,7 @@ set(JavaScriptCore_SOURCES
runtime/ConstructData.cpp
runtime/ControlFlowProfiler.cpp
runtime/CustomGetterSetter.cpp
runtime/DOMAttributeGetterSetter.cpp
runtime/DataView.cpp
runtime/DateConstructor.cpp
runtime/DateConversion.cpp
......@@ -1363,6 +1365,7 @@ set(JavaScriptCore_INSPECTOR_DOMAINS
${JAVASCRIPTCORE_DIR}/inspector/protocol/Network.json
${JAVASCRIPTCORE_DIR}/inspector/protocol/OverlayTypes.json
${JAVASCRIPTCORE_DIR}/inspector/protocol/Page.json
${JAVASCRIPTCORE_DIR}/inspector/protocol/Recording.json
${JAVASCRIPTCORE_DIR}/inspector/protocol/Runtime.json
${JAVASCRIPTCORE_DIR}/inspector/protocol/ScriptProfiler.json
${JAVASCRIPTCORE_DIR}/inspector/protocol/Timeline.json
......
......@@ -227,6 +227,7 @@ INSPECTOR_DOMAINS = \
$(JavaScriptCore)/inspector/protocol/Network.json \
$(JavaScriptCore)/inspector/protocol/OverlayTypes.json \
$(JavaScriptCore)/inspector/protocol/Page.json \
$(JavaScriptCore)/inspector/protocol/Recording.json \
$(JavaScriptCore)/inspector/protocol/Runtime.json \
$(JavaScriptCore)/inspector/protocol/ScriptProfiler.json \
$(JavaScriptCore)/inspector/protocol/Timeline.json \
......
......@@ -66,11 +66,12 @@ template<typename T> T nextID(T id) { return static_cast<T>(id + 1); }
#define testWord32(x) (TESTWORD32 + static_cast<uint32_t>(x))
#define testWord64(x) (TESTWORD64 + static_cast<uint64_t>(x))
#if ENABLE(JSVALUE64)
#if USE(JSVALUE64)
#define testWord(x) testWord64(x)
#else
#define testWord(x) testWord32(x)
#endif
#define testDoubleWord(x) static_cast<double>(testWord(x))
// Nothing fancy for now; we just use the existing WTF assertion machinery.
#define CHECK(x) do { \
......@@ -81,6 +82,9 @@ template<typename T> T nextID(T id) { return static_cast<T>(id + 1); }
CRASH(); \
} while (false)
#define CHECK_DOUBLE_BITWISE_EQ(a, b) \
CHECK(bitwise_cast<uint64_t>(a) == bitwise_cast<uint64_t>(a))
#if ENABLE(MASM_PROBE)
bool isPC(MacroAssembler::RegisterID id)
{
......@@ -101,6 +105,17 @@ bool isFP(MacroAssembler::RegisterID id)
{
return id == MacroAssembler::framePointerRegister;
}
bool isSpecialGPR(MacroAssembler::RegisterID id)
{
if (isPC(id) || isSP(id) || isFP(id))
return true;
#if CPU(ARM64)
if (id == ARM64Registers::x18)
return true;
#endif
return false;
}
#endif // ENABLE(MASM_PROBE)
MacroAssemblerCodeRef compile(Generator&& generate)
......@@ -141,11 +156,11 @@ void testProbeReadsArgumentRegisters()
compileAndRun<void>([&] (CCallHelpers& jit) {
jit.emitFunctionPrologue();
jit.move(CCallHelpers::TrustedImm32(testWord(0)), GPRInfo::argumentGPR0);
jit.move(CCallHelpers::TrustedImm32(testWord32(0)), GPRInfo::argumentGPR0);
jit.convertInt32ToDouble(GPRInfo::argumentGPR0, FPRInfo::fpRegT0);
jit.move(CCallHelpers::TrustedImm32(testWord(1)), GPRInfo::argumentGPR0);
jit.move(CCallHelpers::TrustedImm32(testWord32(1)), GPRInfo::argumentGPR0);
jit.convertInt32ToDouble(GPRInfo::argumentGPR0, FPRInfo::fpRegT1);
#if ENABLE(JSVALUE64)
#if USE(JSVALUE64)
jit.move(CCallHelpers::TrustedImm64(testWord(0)), GPRInfo::argumentGPR0);
jit.move(CCallHelpers::TrustedImm64(testWord(1)), GPRInfo::argumentGPR1);
jit.move(CCallHelpers::TrustedImm64(testWord(2)), GPRInfo::argumentGPR2);
......@@ -164,8 +179,8 @@ void testProbeReadsArgumentRegisters()
CHECK(context->gpr(GPRInfo::argumentGPR2) == testWord(2));
CHECK(context->gpr(GPRInfo::argumentGPR3) == testWord(3));
CHECK(context->fpr(FPRInfo::fpRegT0) == testWord32(0));
CHECK(context->fpr(FPRInfo::fpRegT1) == testWord32(1));
CHECK_DOUBLE_BITWISE_EQ(context->fpr(FPRInfo::fpRegT0), static_cast<double>(testWord32(0)));
CHECK_DOUBLE_BITWISE_EQ(context->fpr(FPRInfo