Commit d6db3394 authored by Alberto Garcia's avatar Alberto Garcia

Imported Upstream version 2.10.0+dfsg1

parent 07fa4599

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

cmake_minimum_required(VERSION 2.8.8)
cmake_minimum_required(VERSION 2.8.12)
project(WebKit)
# -----------------------------------------------------------------------------
......@@ -17,14 +17,14 @@ set(TOOLS_DIR "${CMAKE_SOURCE_DIR}/Tools")
set(DERIVED_SOURCES_DIR "${CMAKE_BINARY_DIR}/DerivedSources")
set(DERIVED_SOURCES_JAVASCRIPTCORE_DIR "${CMAKE_BINARY_DIR}/DerivedSources/JavaScriptCore")
set(DERIVED_SOURCES_WEBCORE_DIR "${CMAKE_BINARY_DIR}/DerivedSources/WebCore")
set(DERIVED_SOURCES_WEBKITLEGACY_DIR "${CMAKE_BINARY_DIR}/DerivedSources/WebKitLegacy")
set(DERIVED_SOURCES_WEBKIT_DIR "${CMAKE_BINARY_DIR}/DerivedSources/WebKit")
set(DERIVED_SOURCES_WEBKIT2_DIR "${CMAKE_BINARY_DIR}/DerivedSources/WebKit2")
set(DERIVED_SOURCES_WEBINSPECTORUI_DIR "${CMAKE_BINARY_DIR}/DerivedSources/WebInspectorUI")
set(DERIVED_SOURCES_WTF_DIR "${CMAKE_BINARY_DIR}/DerivedSources/WTF")
set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/Source/cmake")
set(ENABLE_WEBCORE ON)
if (NOT DEFINED ENABLE_WEBKIT)
set(ENABLE_WEBKIT ON)
endif ()
......@@ -41,7 +41,7 @@ include(WebKitFeatures)
# -----------------------------------------------------------------------------
# Determine which port will be built
# -----------------------------------------------------------------------------
set(ALL_PORTS Efl WinCE GTK AppleWin WinCairo Mac)
set(ALL_PORTS Efl GTK AppleWin WinCairo Mac)
set(PORT "NOPORT" CACHE STRING "choose which WebKit port to build (one of ${ALL_PORTS})")
list(FIND ALL_PORTS ${PORT} RET)
......@@ -66,7 +66,14 @@ find_package(Gperf 3.0.1 REQUIRED)
find_package(Perl 5.10.0 REQUIRED)
find_package(PythonInterp 2.7.0 REQUIRED)
# We cannot check for RUBY_FOUND because it is set only when the full package is installed and
# the only thing we need is the interpreter. Unlike Python, cmake does not provide a macro
# for finding only the Ruby interpreter.
find_package(Ruby 1.8.7)
if (NOT RUBY_EXECUTABLE OR RUBY_VERSION VERSION_LESS 1.8.7)
message(FATAL_ERROR "Ruby 1.8.7 or higher is required.")
endif ()
# -----------------------------------------------------------------------------
# Determine the target processor
......@@ -179,3 +186,13 @@ add_subdirectory(Source)
if (ENABLE_TOOLS)
add_subdirectory(Tools)
endif ()
# -----------------------------------------------------------------------------
# Print the features list last, for maximum visibility.
# -----------------------------------------------------------------------------
PRINT_WEBKIT_OPTIONS()
# -----------------------------------------------------------------------------
# Create the configuration header
# -----------------------------------------------------------------------------
CREATE_CONFIGURATION_HEADER()
......@@ -160,7 +160,7 @@ webkit_color_chooser_request_get_rgba (<em class="parameter"><code><a class="lin
<p>Gets the current <a href="../gdk3/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> color of <em class="parameter"><code>request</code></em>
</p>
<div class="refsect3">
<a name="id-1.2.24.9.2.5"></a><h4>Parameters</h4>
<a name="id-1.2.26.9.2.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
......@@ -192,7 +192,7 @@ webkit_color_chooser_request_set_rgba (<em class="parameter"><code><a class="lin
<p>Sets the current <a href="../gdk3/gdk3-RGBA-Colors.html#GdkRGBA"><span class="type">GdkRGBA</span></a> color of <em class="parameter"><code>request</code></em>
</p>
<div class="refsect3">
<a name="id-1.2.24.9.3.5"></a><h4>Parameters</h4>
<a name="id-1.2.26.9.3.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
......@@ -224,7 +224,7 @@ webkit_color_chooser_request_get_element_rectangle
<em class="parameter"><code><a href="../gdk3/gdk3-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *rect</code></em>);</pre>
<p>Gets the bounding box of the color input element.</p>
<div class="refsect3">
<a name="id-1.2.24.9.4.5"></a><h4>Parameters</h4>
<a name="id-1.2.26.9.4.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
......@@ -258,7 +258,7 @@ webkit_color_chooser_request_finish (<em class="parameter"><code><a class="link"
The signal <a class="link" href="WebKitColorChooserRequest.html#WebKitColorChooserRequest-finished" title="The “finished” signal"><span class="type">“finished”</span></a>
is emitted to notify that the request has finished.</p>
<div class="refsect3">
<a name="id-1.2.24.9.5.5"></a><h4>Parameters</h4>
<a name="id-1.2.26.9.5.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
......@@ -285,7 +285,7 @@ it has before the request started.
The signal <a class="link" href="WebKitColorChooserRequest.html#WebKitColorChooserRequest-finished" title="The “finished” signal"><span class="type">“finished”</span></a>
is emitted to notify that the request has finished.</p>
<div class="refsect3">
<a name="id-1.2.24.9.6.5"></a><h4>Parameters</h4>
<a name="id-1.2.26.9.6.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
......@@ -332,7 +332,7 @@ user completed the <em class="parameter"><code>request</code></em>
or cancelled it with <a class="link" href="WebKitColorChooserRequest.html#webkit-color-chooser-request-cancel" title="webkit_color_chooser_request_cancel ()"><code class="function">webkit_color_chooser_request_cancel()</code></a> or because the
color input element is removed from the DOM.</p>
<div class="refsect3">
<a name="id-1.2.24.12.2.5"></a><h4>Parameters</h4>
<a name="id-1.2.26.12.2.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
......
......@@ -165,7 +165,7 @@ webkit_context_menu_item_new (<em class="parameter"><code><a href="../gtk3/GtkAc
<p>Creates a new <a class="link" href="WebKitContextMenuItem.html" title="WebKitContextMenuItem"><span class="type">WebKitContextMenuItem</span></a> for the given <em class="parameter"><code>action</code></em>
.</p>
<div class="refsect3">
<a name="id-1.2.33.7.2.5"></a><h4>Parameters</h4>
<a name="id-1.2.35.7.2.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
......@@ -180,7 +180,7 @@ webkit_context_menu_item_new (<em class="parameter"><code><a href="../gtk3/GtkAc
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.33.7.2.6"></a><h4>Returns</h4>
<a name="id-1.2.35.7.2.6"></a><h4>Returns</h4>
<p> the newly created <a class="link" href="WebKitContextMenuItem.html" title="WebKitContextMenuItem"><span class="type">WebKitContextMenuItem</span></a> object.</p>
</div>
</div>
......@@ -200,7 +200,7 @@ load operation will be stopped. You can get the <a href="../gtk3/GtkAction.html"
to be notified when the item is activated. But you can't prevent the asociated
action from being performed.</p>
<div class="refsect3">
<a name="id-1.2.33.7.3.5"></a><h4>Parameters</h4>
<a name="id-1.2.35.7.3.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
......@@ -215,7 +215,7 @@ action from being performed.</p>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.33.7.3.6"></a><h4>Returns</h4>
<a name="id-1.2.35.7.3.6"></a><h4>Returns</h4>
<p> the newly created <a class="link" href="WebKitContextMenuItem.html" title="WebKitContextMenuItem"><span class="type">WebKitContextMenuItem</span></a> object.</p>
</div>
</div>
......@@ -231,7 +231,7 @@ webkit_context_menu_item_new_from_stock_action_with_label
Stock actions have a predefined label, this method can be used to create a
<a class="link" href="WebKitContextMenuItem.html" title="WebKitContextMenuItem"><span class="type">WebKitContextMenuItem</span></a> for a <a class="link" href="WebKitContextMenuItem.html#WebKitContextMenuAction" title="enum WebKitContextMenuAction"><span class="type">WebKitContextMenuAction</span></a> but using a custom label.</p>
<div class="refsect3">
<a name="id-1.2.33.7.4.5"></a><h4>Parameters</h4>
<a name="id-1.2.35.7.4.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
......@@ -253,7 +253,7 @@ Stock actions have a predefined label, this method can be used to create a
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.33.7.4.6"></a><h4>Returns</h4>
<a name="id-1.2.35.7.4.6"></a><h4>Returns</h4>
<p> the newly created <a class="link" href="WebKitContextMenuItem.html" title="WebKitContextMenuItem"><span class="type">WebKitContextMenuItem</span></a> object.</p>
</div>
</div>
......@@ -267,7 +267,7 @@ webkit_context_menu_item_new_with_submenu
<p>Creates a new <a class="link" href="WebKitContextMenuItem.html" title="WebKitContextMenuItem"><span class="type">WebKitContextMenuItem</span></a> using the given <em class="parameter"><code>label</code></em>
with a submenu.</p>
<div class="refsect3">
<a name="id-1.2.33.7.5.5"></a><h4>Parameters</h4>
<a name="id-1.2.35.7.5.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
......@@ -289,7 +289,7 @@ webkit_context_menu_item_new_with_submenu
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.33.7.5.6"></a><h4>Returns</h4>
<a name="id-1.2.35.7.5.6"></a><h4>Returns</h4>
<p> the newly created <a class="link" href="WebKitContextMenuItem.html" title="WebKitContextMenuItem"><span class="type">WebKitContextMenuItem</span></a> object.</p>
</div>
</div>
......@@ -301,7 +301,7 @@ webkit_context_menu_item_new_separator
(<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>Creates a new <a class="link" href="WebKitContextMenuItem.html" title="WebKitContextMenuItem"><span class="type">WebKitContextMenuItem</span></a> representing a separator.</p>
<div class="refsect3">
<a name="id-1.2.33.7.6.5"></a><h4>Returns</h4>
<a name="id-1.2.35.7.6.5"></a><h4>Returns</h4>
<p> the newly created <a class="link" href="WebKitContextMenuItem.html" title="WebKitContextMenuItem"><span class="type">WebKitContextMenuItem</span></a> object.</p>
</div>
</div>
......@@ -313,7 +313,7 @@ webkit_context_menu_item_get_action (<em class="parameter"><code><a class="link"
<p>Gets the action associated to <em class="parameter"><code>item</code></em>
.</p>
<div class="refsect3">
<a name="id-1.2.33.7.7.5"></a><h4>Parameters</h4>
<a name="id-1.2.35.7.7.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
......@@ -328,7 +328,7 @@ webkit_context_menu_item_get_action (<em class="parameter"><code><a class="link"
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.33.7.7.6"></a><h4>Returns</h4>
<a name="id-1.2.35.7.7.6"></a><h4>Returns</h4>
<p> the <a href="../gtk3/GtkAction.html"><span class="type">GtkAction</span></a> associated to the <a class="link" href="WebKitContextMenuItem.html" title="WebKitContextMenuItem"><span class="type">WebKitContextMenuItem</span></a>,
or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>item</code></em>
is a separator. </p>
......@@ -347,7 +347,7 @@ created for a stock action <a class="link" href="WebKitContextMenuItem.html#WEBK
returned. If the <a class="link" href="WebKitContextMenuItem.html" title="WebKitContextMenuItem"><span class="type">WebKitContextMenuItem</span></a> is a separator <a class="link" href="WebKitContextMenuItem.html#WEBKIT-CONTEXT-MENU-ACTION-NO-ACTION:CAPS"><code class="literal">WEBKIT_CONTEXT_MENU_ACTION_NO_ACTION</code></a>
will be returned.</p>
<div class="refsect3">
<a name="id-1.2.33.7.8.5"></a><h4>Parameters</h4>
<a name="id-1.2.35.7.8.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
......@@ -362,7 +362,7 @@ will be returned.</p>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.2.33.7.8.6"></a><h4>Returns</h4>
<a name="id-1.2.35.7.8.6"></a><h4>Returns</h4>
<p> the <a class="link" href="WebKitContextMenuItem.html#WebKitContextMenuAction" title="enum WebKitContextMenuAction"><span class="type">WebKitContextMenuAction</span></a> of <em class="parameter"><code>item</code></em>
</p>
</div>
......@@ -375,7 +375,7 @@ webkit_context_menu_item_is_separator (<em class="parameter"><code><a class="lin
<p>Checks whether <em class="parameter"><code>item</code></em>
is a separator.</p>
<div class="refsect3">
<a name="id-1.2.33.7.9.5"></a><h4>Parameters</h4>
<a name="id-1.2.35.7.9.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
......@@ -390,7 +390,7 @@ webkit_context_menu_item_is_separator (<em class="parameter"><code><a class="lin
</table></div>
</div>