Commit adb2d866 authored by abarth@webkit.org's avatar abarth@webkit.org

Remove PLATFORM(HAIKU) and associated code

https://bugs.webkit.org/show_bug.cgi?id=68774

Reviewed by Sam Weinig.

.: 

* Source/cmake/WebKitPackaging.cmake:
* wscript:

Source/JavaScriptCore: 

* JavaScriptCore.gyp/JavaScriptCore.gyp:
* JavaScriptCore.gypi:
* gyp/JavaScriptCore.gyp:
* heap/MachineStackMarker.cpp:
* wtf/PageAllocation.h:
* wtf/Platform.h:
* wtf/StackBounds.cpp:
* wtf/haiku: Removed.
* wtf/haiku/MainThreadHaiku.cpp: Removed.
* wtf/haiku/StringHaiku.cpp: Removed.
* wtf/text/WTFString.h:

Source/WebCore: 

As discussed on webkit-dev, the Haiku port has been inactive for over a
year.  A year and a half ago, we discussed removing the port, but folks
said they planned to work on it more.  That work does not appear to
have happened in the intervening time.

* WebCore.gyp/WebCore.gyp:
* WebCore.gypi:
* bindings/js/ScriptControllerHaiku.cpp: Removed.
* editing/haiku: Removed.
* editing/haiku/EditorHaiku.cpp: Removed.
* gyp/WebCore.gyp:
* loader/cache/CachedFont.cpp:
* page/EventHandler.cpp:
(WebCore::EventHandler::eventInvertsTabsToLinksClientCallResult):
* page/haiku: Removed.
* page/haiku/DragControllerHaiku.cpp: Removed.
* page/haiku/EventHandlerHaiku.cpp: Removed.
* page/haiku/FrameHaiku.cpp: Removed.
* platform/ContextMenuItem.h:
* platform/Cursor.h:
* platform/DragData.h:
* platform/DragImage.h:
* platform/PlatformKeyboardEvent.h:
* platform/PlatformMenuDescription.h:
* platform/PlatformMouseEvent.h:
* platform/Widget.h:
* platform/graphics/BitmapImage.h:
* platform/graphics/Color.h:
* platform/graphics/FloatPoint.h:
* platform/graphics/FloatRect.h:
* platform/graphics/Gradient.h:
* platform/graphics/GraphicsContext.cpp:
* platform/graphics/GraphicsContext.h:
* platform/graphics/ImageBufferData.h:
* platform/graphics/ImageSource.h:
* platform/graphics/IntPoint.h:
* platform/graphics/IntRect.h:
* platform/graphics/IntSize.h:
* platform/graphics/Path.h:
* platform/graphics/Pattern.h:
* platform/graphics/SimpleFontData.h:
* platform/graphics/haiku: Removed.
* platform/graphics/haiku/ColorHaiku.cpp: Removed.
* platform/graphics/haiku/FloatPointHaiku.cpp: Removed.
* platform/graphics/haiku/FloatRectHaiku.cpp: Removed.
* platform/graphics/haiku/FontCacheHaiku.cpp: Removed.
* platform/graphics/haiku/FontCustomPlatformData.cpp: Removed.
* platform/graphics/haiku/FontCustomPlatformData.h: Removed.
* platform/graphics/haiku/FontHaiku.cpp: Removed.
* platform/graphics/haiku/FontPlatformData.h: Removed.
* platform/graphics/haiku/GlyphPageTreeNodeHaiku.cpp: Removed.
* platform/graphics/haiku/GradientHaiku.cpp: Removed.
* platform/graphics/haiku/GraphicsContextHaiku.cpp: Removed.
* platform/graphics/haiku/IconHaiku.cpp: Removed.
* platform/graphics/haiku/ImageBufferDataHaiku.h: Removed.
* platform/graphics/haiku/ImageBufferHaiku.cpp: Removed.
* platform/graphics/haiku/ImageHaiku.cpp: Removed.
* platform/graphics/haiku/IntPointHaiku.cpp: Removed.
* platform/graphics/haiku/IntRectHaiku.cpp: Removed.
* platform/graphics/haiku/IntSizeHaiku.cpp: Removed.
* platform/graphics/haiku/PathHaiku.cpp: Removed.
* platform/graphics/haiku/SimpleFontDataHaiku.cpp: Removed.
* platform/graphics/haiku/StillImageHaiku.cpp: Removed.
* platform/graphics/haiku/StillImageHaiku.h: Removed.
* platform/haiku: Removed.
* platform/haiku/ClipboardHaiku.cpp: Removed.
* platform/haiku/ClipboardHaiku.h: Removed.
* platform/haiku/ContextMenuHaiku.cpp: Removed.
* platform/haiku/ContextMenuItemHaiku.cpp: Removed.
* platform/haiku/CookieJarHaiku.cpp: Removed.
* platform/haiku/CursorHaiku.cpp: Removed.
* platform/haiku/DragDataHaiku.cpp: Removed.
* platform/haiku/DragImageHaiku.cpp: Removed.
* platform/haiku/EventLoopHaiku.cpp: Removed.
* platform/haiku/FileSystemHaiku.cpp: Removed.
* platform/haiku/LocalizedStringsHaiku.cpp: Removed.
* platform/haiku/LoggingHaiku.cpp: Removed.
* platform/haiku/MIMETypeRegistryHaiku.cpp: Removed.
* platform/haiku/PasteboardHaiku.cpp: Removed.
* platform/haiku/PlatformKeyboardEventHaiku.cpp: Removed.
* platform/haiku/PlatformMouseEventHaiku.cpp: Removed.
* platform/haiku/PlatformWheelEventHaiku.cpp: Removed.
* platform/haiku/PopupMenuHaiku.cpp: Removed.
* platform/haiku/PopupMenuHaiku.h: Removed.
* platform/haiku/RenderThemeHaiku.cpp: Removed.
* platform/haiku/RenderThemeHaiku.h: Removed.
* platform/haiku/ScreenHaiku.cpp: Removed.
* platform/haiku/ScrollbarThemeHaiku.cpp: Removed.
* platform/haiku/ScrollbarThemeHaiku.h: Removed.
* platform/haiku/SearchPopupMenuHaiku.cpp: Removed.
* platform/haiku/SearchPopupMenuHaiku.h: Removed.
* platform/haiku/SharedBufferHaiku.cpp: Removed.
* platform/haiku/SharedTimerHaiku.cpp: Removed.
* platform/haiku/SoundHaiku.cpp: Removed.
* platform/haiku/TemporaryLinkStubs.cpp: Removed.
* platform/haiku/WidgetHaiku.cpp: Removed.
* platform/image-decoders/haiku: Removed.
* platform/image-decoders/haiku/ImageDecoderHaiku.cpp: Removed.
* platform/text/UnicodeRange.h:
* platform/text/haiku: Removed.
* platform/text/haiku/TextBreakIteratorInternalICUHaiku.cpp: Removed.

Source/WebKit: 

* haiku: Removed.
* haiku/WebCoreSupport: Removed.
* haiku/WebCoreSupport/ChromeClientHaiku.cpp: Removed.
* haiku/WebCoreSupport/ChromeClientHaiku.h: Removed.
* haiku/WebCoreSupport/ContextMenuClientHaiku.cpp: Removed.
* haiku/WebCoreSupport/ContextMenuClientHaiku.h: Removed.
* haiku/WebCoreSupport/DragClientHaiku.cpp: Removed.
* haiku/WebCoreSupport/DragClientHaiku.h: Removed.
* haiku/WebCoreSupport/EditorClientHaiku.cpp: Removed.
* haiku/WebCoreSupport/EditorClientHaiku.h: Removed.
* haiku/WebCoreSupport/FrameLoaderClientHaiku.cpp: Removed.
* haiku/WebCoreSupport/FrameLoaderClientHaiku.h: Removed.
* haiku/WebCoreSupport/InspectorClientHaiku.cpp: Removed.
* haiku/WebCoreSupport/InspectorClientHaiku.h: Removed.

Source/WebKit2: 

* Scripts/generate-forwarding-headers.pl:

Tools: 

* Scripts/webkitpy/common/config/build.py:
* waf/build/settings.py:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95922 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent db0b7146
2011-09-25 Adam Barth <abarth@webkit.org>
Remove PLATFORM(HAIKU) and associated code
https://bugs.webkit.org/show_bug.cgi?id=68774
Reviewed by Sam Weinig.
* Source/cmake/WebKitPackaging.cmake:
* wscript:
2011-09-25 Raphael Kubo da Costa <kubo@profusion.mobi>
[CMake] Remove FindLibXlst.cmake
......
2011-09-25 Adam Barth <abarth@webkit.org>
Remove PLATFORM(HAIKU) and associated code
https://bugs.webkit.org/show_bug.cgi?id=68774
Reviewed by Sam Weinig.
* JavaScriptCore.gyp/JavaScriptCore.gyp:
* JavaScriptCore.gypi:
* gyp/JavaScriptCore.gyp:
* heap/MachineStackMarker.cpp:
* wtf/PageAllocation.h:
* wtf/Platform.h:
* wtf/StackBounds.cpp:
* wtf/haiku: Removed.
* wtf/haiku/MainThreadHaiku.cpp: Removed.
* wtf/haiku/StringHaiku.cpp: Removed.
* wtf/text/WTFString.h:
2011-09-24 Adam Barth <abarth@webkit.org>
Always enable ENABLE(OFFLINE_WEB_APPLICATIONS)
......@@ -129,7 +129,6 @@
['exclude', '../wtf/efl'],
['exclude', '../wtf/gobject'],
['exclude', '../wtf/gtk'],
['exclude', '../wtf/haiku'],
['exclude', '../wtf/mac'],
['exclude', '../wtf/qt'],
['exclude', '../wtf/url'],
......
......@@ -654,8 +654,6 @@
'wtf/gobject/GTypedefs.h',
'wtf/gtk/MainThreadGtk.cpp',
'wtf/gtk/ThreadingGtk.cpp',
'wtf/haiku/MainThreadHaiku.cpp',
'wtf/haiku/StringHaiku.cpp',
'wtf/mac/MainThreadMac.mm',
'wtf/qt/MainThreadQt.cpp',
'wtf/qt/StringQt.cpp',
......@@ -666,7 +664,7 @@
'wtf/text/StringImpl.cpp',
'wtf/text/StringStatics.cpp',
'wtf/text/WTFString.cpp',
'wtf/threads/BinarySemaphore.cpp',
'wtf/threads/BinarySemaphore.cpp',
'wtf/unicode/CollatorDefault.cpp',
'wtf/unicode/ScriptCodesFromICU.h',
'wtf/unicode/UTF8.cpp',
......
......@@ -80,7 +80,7 @@
['exclude', '(?<!unicode)/icu/'],
['exclude', 'os-win32/'],
['exclude', 'qt/'],
['exclude', 'wtf/(brew|efl|gtk|haiku|qt|wince|wx)/'],
['exclude', 'wtf/(brew|efl|gtk|qt|wince|wx)/'],
['exclude', 'wtf/unicode/brew/'],
['exclude', 'wtf/unicode/glib/'],
['exclude', 'wtf/unicode/qt4/'],
......
......@@ -47,16 +47,10 @@
#include <windows.h>
#include <malloc.h>
#elif OS(HAIKU)
#include <OS.h>
#elif OS(UNIX)
#include <stdlib.h>
#if !OS(HAIKU)
#include <sys/mman.h>
#endif
#include <unistd.h>
#if OS(SOLARIS)
......
......@@ -38,10 +38,6 @@
#include <mach/vm_map.h>
#endif
#if OS(HAIKU)
#include <OS.h>
#endif
#if OS(WINDOWS)
#include <malloc.h>
#include <windows.h>
......
......@@ -351,11 +351,6 @@
#define WTF_OS_FREEBSD 1
#endif
/* OS(HAIKU) - Haiku */
#ifdef __HAIKU__
#define WTF_OS_HAIKU 1
#endif
/* OS(LINUX) - Linux */
#ifdef __linux__
#define WTF_OS_LINUX 1
......@@ -401,7 +396,6 @@
|| OS(ANDROID) \
|| OS(DARWIN) \
|| OS(FREEBSD) \
|| OS(HAIKU) \
|| OS(LINUX) \
|| OS(NETBSD) \
|| OS(OPENBSD) \
......@@ -421,7 +415,6 @@
/* PLATFORM(QT) */
/* PLATFORM(WX) */
/* PLATFORM(GTK) */
/* PLATFORM(HAIKU) */
/* PLATFORM(MAC) */
/* PLATFORM(WIN) */
#if defined(BUILDING_CHROMIUM__)
......@@ -432,8 +425,6 @@
#define WTF_PLATFORM_WX 1
#elif defined(BUILDING_GTK__)
#define WTF_PLATFORM_GTK 1
#elif defined(BUILDING_HAIKU__)
#define WTF_PLATFORM_HAIKU 1
#elif OS(DARWIN)
#define WTF_PLATFORM_MAC 1
#elif OS(WINDOWS)
......@@ -630,15 +621,6 @@
#endif
#endif
#if PLATFORM(HAIKU)
#define HAVE_POSIX_MEMALIGN 1
#define WTF_USE_CURL 1
#define WTF_USE_PTHREADS 1
#define HAVE_PTHREAD_RWLOCK 1
#define USE_SYSTEM_MALLOC 1
#define ENABLE_NETSCAPE_PLUGIN_API 0
#endif
#if !defined(HAVE_ACCESSIBILITY)
#if PLATFORM(IOS) || PLATFORM(MAC) || PLATFORM(WIN) || PLATFORM(GTK) || PLATFORM(CHROMIUM)
#define HAVE_ACCESSIBILITY 1
......@@ -662,7 +644,7 @@
#endif
#if !OS(WINDOWS) && !OS(SOLARIS) && !OS(QNX) \
&& !OS(SYMBIAN) && !OS(HAIKU) && !OS(RVCT) \
&& !OS(SYMBIAN) && !OS(RVCT) \
&& !OS(ANDROID)
#define HAVE_TM_GMTOFF 1
#define HAVE_TM_ZONE 1
......@@ -748,10 +730,7 @@
/* FIXME: is this actually used or do other platforms generate their own config.h? */
#define HAVE_ERRNO_H 1
/* As long as Haiku doesn't have a complete support of locale this will be disabled. */
#if !OS(HAIKU)
#define HAVE_LANGINFO_H 1
#endif
#define HAVE_MMAP 1
#define HAVE_SBRK 1
#define HAVE_STRINGS_H 1
......
......@@ -31,10 +31,6 @@
#include <windows.h>
#elif OS(HAIKU)
#include <OS.h>
#elif OS(SOLARIS)
#include <thread.h>
......@@ -64,10 +60,10 @@ namespace WTF {
// These platforms should now be working correctly:
// DARWIN, QNX, UNIX, SYMBIAN
// These platforms are not:
// WINDOWS, SOLARIS, OPENBSD, HAIKU, WINCE
// WINDOWS, SOLARIS, OPENBSD, WINCE
//
// FIXME: remove this! - this code unsafely guesses at stack sizes!
#if OS(WINDOWS) || OS(SOLARIS) || OS(OPENBSD) || OS(HAIKU)
#if OS(WINDOWS) || OS(SOLARIS) || OS(OPENBSD)
// Based on the current limit used by the JSC parser, guess the stack size.
static const ptrdiff_t estimatedStackSize = 128 * sizeof(void*) * 1024;
// This method assumes the stack is growing downwards.
......@@ -143,16 +139,6 @@ void StackBounds::initialize()
m_bound = (void*)info.iLimit;
}
#elif OS(HAIKU)
void StackBounds::initialize()
{
thread_info threadInfo;
get_thread_info(find_thread(NULL), &threadInfo);
m_origin = threadInfo.stack_end;
m_bound = estimateStackBound(m_origin);
}
#elif OS(UNIX)
void StackBounds::initialize()
......
/*
* Copyright (C) 2007 Kevin Ollivier
* Copyright (C) 2009 Maxime Simon
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of Apple Computer, Inc. ("Apple") nor the names of
* its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "config.h"
#include "MainThread.h"
#include "NotImplemented.h"
namespace WTF {
void initializeMainThreadPlatform()
{
notImplemented();
}
void scheduleDispatchFunctionsOnMainThread()
{
notImplemented();
}
} // namespace WTF
/*
* Copyright (C) 2007 Ryan Leavengood <leavengood@gmail.com>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "config.h"
#include "PlatformString.h"
#include <String.h>
#include <wtf/text/CString.h>
namespace WTF {
// String conversions
String::String(const BString& string)
{
if (string.Length())
m_impl = String::fromUTF8(string.String(), string.Length()).impl();
else
m_impl = StringImpl::empty();
}
String::operator BString() const
{
BString string;
string.SetTo(utf8().data());
return string;
}
} // namespace WTF
......@@ -46,10 +46,6 @@ QT_END_NAMESPACE
class wxString;
#endif
#if PLATFORM(HAIKU)
class BString;
#endif
namespace WTF {
class CString;
......@@ -307,11 +303,6 @@ public:
WTF_EXPORT_PRIVATE operator wxString() const;
#endif
#if PLATFORM(HAIKU)
String(const BString&);
operator BString() const;
#endif
// String::fromUTF8 will return a null string if
// the input data contains invalid UTF-8 sequences.
WTF_EXPORT_PRIVATE static String fromUTF8(const char*, size_t);
......
2011-09-25 Adam Barth <abarth@webkit.org>
Remove PLATFORM(HAIKU) and associated code
https://bugs.webkit.org/show_bug.cgi?id=68774
Reviewed by Sam Weinig.
As discussed on webkit-dev, the Haiku port has been inactive for over a
year. A year and a half ago, we discussed removing the port, but folks
said they planned to work on it more. That work does not appear to
have happened in the intervening time.
* WebCore.gyp/WebCore.gyp:
* WebCore.gypi:
* bindings/js/ScriptControllerHaiku.cpp: Removed.
* editing/haiku: Removed.
* editing/haiku/EditorHaiku.cpp: Removed.
* gyp/WebCore.gyp:
* loader/cache/CachedFont.cpp:
* page/EventHandler.cpp:
(WebCore::EventHandler::eventInvertsTabsToLinksClientCallResult):
* page/haiku: Removed.
* page/haiku/DragControllerHaiku.cpp: Removed.
* page/haiku/EventHandlerHaiku.cpp: Removed.
* page/haiku/FrameHaiku.cpp: Removed.
* platform/ContextMenuItem.h:
* platform/Cursor.h:
* platform/DragData.h:
* platform/DragImage.h:
* platform/PlatformKeyboardEvent.h:
* platform/PlatformMenuDescription.h:
* platform/PlatformMouseEvent.h:
* platform/Widget.h:
* platform/graphics/BitmapImage.h:
* platform/graphics/Color.h:
* platform/graphics/FloatPoint.h:
* platform/graphics/FloatRect.h:
* platform/graphics/Gradient.h:
* platform/graphics/GraphicsContext.cpp:
* platform/graphics/GraphicsContext.h:
* platform/graphics/ImageBufferData.h:
* platform/graphics/ImageSource.h:
* platform/graphics/IntPoint.h:
* platform/graphics/IntRect.h:
* platform/graphics/IntSize.h:
* platform/graphics/Path.h:
* platform/graphics/Pattern.h:
* platform/graphics/SimpleFontData.h:
* platform/graphics/haiku: Removed.
* platform/graphics/haiku/ColorHaiku.cpp: Removed.
* platform/graphics/haiku/FloatPointHaiku.cpp: Removed.
* platform/graphics/haiku/FloatRectHaiku.cpp: Removed.
* platform/graphics/haiku/FontCacheHaiku.cpp: Removed.
* platform/graphics/haiku/FontCustomPlatformData.cpp: Removed.
* platform/graphics/haiku/FontCustomPlatformData.h: Removed.
* platform/graphics/haiku/FontHaiku.cpp: Removed.
* platform/graphics/haiku/FontPlatformData.h: Removed.
* platform/graphics/haiku/GlyphPageTreeNodeHaiku.cpp: Removed.
* platform/graphics/haiku/GradientHaiku.cpp: Removed.
* platform/graphics/haiku/GraphicsContextHaiku.cpp: Removed.
* platform/graphics/haiku/IconHaiku.cpp: Removed.
* platform/graphics/haiku/ImageBufferDataHaiku.h: Removed.
* platform/graphics/haiku/ImageBufferHaiku.cpp: Removed.
* platform/graphics/haiku/ImageHaiku.cpp: Removed.
* platform/graphics/haiku/IntPointHaiku.cpp: Removed.
* platform/graphics/haiku/IntRectHaiku.cpp: Removed.
* platform/graphics/haiku/IntSizeHaiku.cpp: Removed.
* platform/graphics/haiku/PathHaiku.cpp: Removed.
* platform/graphics/haiku/SimpleFontDataHaiku.cpp: Removed.
* platform/graphics/haiku/StillImageHaiku.cpp: Removed.
* platform/graphics/haiku/StillImageHaiku.h: Removed.
* platform/haiku: Removed.
* platform/haiku/ClipboardHaiku.cpp: Removed.
* platform/haiku/ClipboardHaiku.h: Removed.
* platform/haiku/ContextMenuHaiku.cpp: Removed.
* platform/haiku/ContextMenuItemHaiku.cpp: Removed.
* platform/haiku/CookieJarHaiku.cpp: Removed.
* platform/haiku/CursorHaiku.cpp: Removed.
* platform/haiku/DragDataHaiku.cpp: Removed.
* platform/haiku/DragImageHaiku.cpp: Removed.
* platform/haiku/EventLoopHaiku.cpp: Removed.
* platform/haiku/FileSystemHaiku.cpp: Removed.
* platform/haiku/LocalizedStringsHaiku.cpp: Removed.
* platform/haiku/LoggingHaiku.cpp: Removed.
* platform/haiku/MIMETypeRegistryHaiku.cpp: Removed.
* platform/haiku/PasteboardHaiku.cpp: Removed.
* platform/haiku/PlatformKeyboardEventHaiku.cpp: Removed.
* platform/haiku/PlatformMouseEventHaiku.cpp: Removed.
* platform/haiku/PlatformWheelEventHaiku.cpp: Removed.
* platform/haiku/PopupMenuHaiku.cpp: Removed.
* platform/haiku/PopupMenuHaiku.h: Removed.
* platform/haiku/RenderThemeHaiku.cpp: Removed.
* platform/haiku/RenderThemeHaiku.h: Removed.
* platform/haiku/ScreenHaiku.cpp: Removed.
* platform/haiku/ScrollbarThemeHaiku.cpp: Removed.
* platform/haiku/ScrollbarThemeHaiku.h: Removed.
* platform/haiku/SearchPopupMenuHaiku.cpp: Removed.
* platform/haiku/SearchPopupMenuHaiku.h: Removed.
* platform/haiku/SharedBufferHaiku.cpp: Removed.
* platform/haiku/SharedTimerHaiku.cpp: Removed.
* platform/haiku/SoundHaiku.cpp: Removed.
* platform/haiku/TemporaryLinkStubs.cpp: Removed.
* platform/haiku/WidgetHaiku.cpp: Removed.
* platform/image-decoders/haiku: Removed.
* platform/image-decoders/haiku/ImageDecoderHaiku.cpp: Removed.
* platform/text/UnicodeRange.h:
* platform/text/haiku: Removed.
* platform/text/haiku/TextBreakIteratorInternalICUHaiku.cpp: Removed.
2011-09-25 Adam Barth <abarth@webkit.org>
Attempted build fixes for GTK and Qt.
......@@ -1293,7 +1293,7 @@
],
'sources/': [
# FIXME: Figure out how to store these patterns in a variable.
['exclude', '(brew|cairo|ca|cf|cg|curl|efl|freetype|gstreamer|gtk|haiku|linux|mac|opengl|openvg|opentype|pango|posix|qt|soup|svg|symbian|texmap|iphone|win|wince|wx)/'],
['exclude', '(brew|cairo|ca|cf|cg|curl|efl|freetype|gstreamer|gtk|linux|mac|opengl|openvg|opentype|pango|posix|qt|soup|svg|symbian|texmap|iphone|win|wince|wx)/'],
['exclude', '(?<!Chromium)(Cairo|CF|CG|Curl|Gtk|JSC|Linux|Mac|OpenType|POSIX|Posix|Qt|Safari|Soup|Symbian|Win|WinCE|Wx)\\.(cpp|mm?)$'],
['exclude', 'AllInOne\\.cpp$'],
......@@ -1348,7 +1348,7 @@
['include', 'platform/'],
# FIXME: Figure out how to store these patterns in a variable.
['exclude', '(brew|cairo|ca|cf|cg|curl|efl|freetype|gstreamer|gtk|haiku|linux|mac|opengl|openvg|opentype|pango|posix|qt|soup|svg|symbian|texmap|iphone|win|wince|wx)/'],
['exclude', '(brew|cairo|ca|cf|cg|curl|efl|freetype|gstreamer|gtk|linux|mac|opengl|openvg|opentype|pango|posix|qt|soup|svg|symbian|texmap|iphone|win|wince|wx)/'],
['exclude', '(?<!Chromium)(Cairo|CF|CG|Curl|Gtk|JSC|Linux|Mac|OpenType|POSIX|Posix|Qt|Safari|Soup|Symbian|Win|WinCE|Wx)\\.(cpp|mm?)$'],
['exclude', 'platform/LinkHash\\.cpp$'],
......@@ -1600,7 +1600,7 @@
['include', 'rendering/'],
# FIXME: Figure out how to store these patterns in a variable.
['exclude', '(brew|cairo|ca|cf|cg|curl|efl|freetype|gstreamer|gtk|haiku|linux|mac|opengl|openvg|opentype|pango|posix|qt|soup|svg|symbian|texmap|iphone|win|wince|wx)/'],
['exclude', '(brew|cairo|ca|cf|cg|curl|efl|freetype|gstreamer|gtk|linux|mac|opengl|openvg|opentype|pango|posix|qt|soup|svg|symbian|texmap|iphone|win|wince|wx)/'],
['exclude', '(?<!Chromium)(Cairo|CF|CG|Curl|Gtk|JSC|Linux|Mac|OpenType|POSIX|Posix|Qt|Safari|Soup|Symbian|Win|WinCE|Wx)\\.(cpp|mm?)$'],
['exclude', 'AllInOne\\.cpp$'],
......@@ -1669,7 +1669,7 @@
['exclude', 'bridge/jni/jsc/'],
# FIXME: Figure out how to store these patterns in a variable.
['exclude', '(brew|cairo|ca|cf|cg|curl|efl|freetype|gstreamer|gtk|haiku|linux|mac|opengl|openvg|opentype|pango|posix|qt|soup|svg|symbian|texmap|iphone|win|wince|wx)/'],
['exclude', '(brew|cairo|ca|cf|cg|curl|efl|freetype|gstreamer|gtk|linux|mac|opengl|openvg|opentype|pango|posix|qt|soup|svg|symbian|texmap|iphone|win|wince|wx)/'],
['exclude', '(?<!Chromium)(Cairo|CF|CG|Curl|Gtk|JSC|Linux|Mac|OpenType|POSIX|Posix|Qt|Safari|Soup|Symbian|Win|WinCE|Wx)\\.(cpp|mm?)$'],
['exclude', 'AllInOne\\.cpp$'],
......
......@@ -1944,7 +1944,6 @@
'bindings/js/ScriptControllerBrew.cpp',
'bindings/js/ScriptControllerEfl.cpp',
'bindings/js/ScriptControllerGtk.cpp',
'bindings/js/ScriptControllerHaiku.cpp',
'bindings/js/ScriptControllerMac.mm',
'bindings/js/ScriptControllerQt.cpp',
'bindings/js/ScriptControllerWin.cpp',
......@@ -2530,7 +2529,6 @@
'editing/chromium/EditorChromium.cpp',
'editing/chromium/FrameSelectionChromium.cpp',
'editing/gtk/FrameSelectionGtk.cpp',
'editing/haiku/EditorHaiku.cpp',
'editing/htmlediting.cpp',
'editing/mac/EditorMac.mm',
'editing/mac/FrameSelectionMac.mm',
......@@ -2977,9 +2975,6 @@
'page/gtk/DragControllerGtk.cpp',
'page/gtk/EventHandlerGtk.cpp',
'page/gtk/FrameGtk.cpp',
'page/haiku/DragControllerHaiku.cpp',
'page/haiku/EventHandlerHaiku.cpp',
'page/haiku/FrameHaiku.cpp',
'page/mac/ChromeMac.mm',
'page/mac/DragControllerMac.mm',
'page/mac/EventHandlerMac.mm',
......@@ -3675,28 +3670,6 @@
'platform/graphics/gtk/ImageGtk.cpp',
'platform/graphics/gtk/IntPointGtk.cpp',
'platform/graphics/gtk/IntRectGtk.cpp',
'platform/graphics/haiku/ColorHaiku.cpp',
'platform/graphics/haiku/FloatPointHaiku.cpp',
'platform/graphics/haiku/FloatRectHaiku.cpp',
'platform/graphics/haiku/FontCacheHaiku.cpp',
'platform/graphics/haiku/FontCustomPlatformData.cpp',
'platform/graphics/haiku/FontCustomPlatformData.h',
'platform/graphics/haiku/FontHaiku.cpp',
'platform/graphics/haiku/FontPlatformData.h',
'platform/graphics/haiku/GlyphPageTreeNodeHaiku.cpp',
'platform/graphics/haiku/GradientHaiku.cpp',
'platform/graphics/haiku/GraphicsContextHaiku.cpp',
'platform/graphics/haiku/IconHaiku.cpp',
'platform/graphics/haiku/ImageBufferDataHaiku.h',
'platform/graphics/haiku/ImageBufferHaiku.cpp',
'platform/graphics/haiku/ImageHaiku.cpp',
'platform/graphics/haiku/IntPointHaiku.cpp',
'platform/graphics/haiku/IntRectHaiku.cpp',
'platform/graphics/haiku/IntSizeHaiku.cpp',
'platform/graphics/haiku/PathHaiku.cpp',
'platform/graphics/haiku/SimpleFontDataHaiku.cpp',
'platform/graphics/haiku/StillImageHaiku.cpp',
'platform/graphics/haiku/StillImageHaiku.h',
'platform/graphics/mac/ColorMac.mm',
'platform/graphics/mac/ComplexTextController.cpp',
'platform/graphics/mac/ComplexTextController.h',
......@@ -4007,37 +3980,6 @@
'platform/gtk/WidgetGtk.cpp',
'platform/gtk/WidgetRenderingContext.cpp',
'platform/gtk/WidgetRenderingContext.h',
'platform/haiku/ClipboardHaiku.cpp',
'platform/haiku/ClipboardHaiku.h',
'platform/haiku/ContextMenuHaiku.cpp',
'platform/haiku/ContextMenuItemHaiku.cpp',
'platform/haiku/CookieJarHaiku.cpp',
'platform/haiku/CursorHaiku.cpp',
'platform/haiku/DragDataHaiku.cpp',
'platform/haiku/DragImageHaiku.cpp',
'platform/haiku/EventLoopHaiku.cpp',
'platform/haiku/FileSystemHaiku.cpp',
'platform/haiku/LocalizedStringsHaiku.cpp',
'platform/haiku/LoggingHaiku.cpp',
'platform/haiku/MIMETypeRegistryHaiku.cpp',
'platform/haiku/PasteboardHaiku.cpp',
'platform/haiku/PlatformKeyboardEventHaiku.cpp',
'platform/haiku/PlatformMouseEventHaiku.cpp',
'platform/haiku/PlatformWheelEventHaiku.cpp',
'platform/haiku/PopupMenuHaiku.cpp',
'platform/haiku/PopupMenuHaiku.h',
'platform/haiku/RenderThemeHaiku.cpp',
'platform/haiku/RenderThemeHaiku.h',
'platform/haiku/ScreenHaiku.cpp',
'platform/haiku/ScrollbarThemeHaiku.cpp',
'platform/haiku/ScrollbarThemeHaiku.h',
'platform/haiku/SearchPopupMenuHaiku.cpp',
'platform/haiku/SearchPopupMenuHaiku.h',
'platform/haiku/SharedBufferHaiku.cpp',
'platform/haiku/SharedTimerHaiku.cpp',
'platform/haiku/SoundHaiku.cpp',
'platform/haiku/TemporaryLinkStubs.cpp',
'platform/haiku/WidgetHaiku.cpp',
'platform/image-decoders/ImageDecoder.cpp',
'platform/image-decoders/ImageDecoder.h',
'platform/image-decoders/bmp/BMPImageDecoder.cpp',
......@@ -4050,7 +3992,6 @@
'platform/image-decoders/gif/GIFImageDecoder.h',
'platform/image-decoders/gif/GIFImageReader.cpp',
'platform/image-decoders/gif/GIFImageReader.h',
'platform/image-decoders/haiku/ImageDecoderHaiku.cpp',
'platform/image-decoders/ico/ICOImageDecoder.cpp',
'platform/image-decoders/ico/ICOImageDecoder.h',
'platform/image-decoders/jpeg/JPEGImageDecoder.cpp',
......@@ -4386,7 +4327,6 @@
'platform/text/gtk/TextBreakIteratorInternalICUGtk.cpp',
'platform/text/gtk/TextCodecGtk.cpp',
'platform/text/gtk/TextCodecGtk.h',
'platform/text/haiku/TextBreakIteratorInternalICUHaiku.cpp',
'platform/text/mac/HyphenationMac.mm',
'platform/text/mac/LocalizedNumberMac.mm',
'platform/text/mac/ShapeArabic.c',
......
/*
* Copyright (C) 2008 Apple Computer, Inc. All rights reserved.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the