+2008-02-04 Alp Toker <alp@atoker.com>
+
+ Rubber-stamped by Mark Rowe.
+
+ Remove all trailing whitespace in the GTK+ port and related
+ components.
+
+ * GNUmakefile.am:
+ * configure.ac:
+
2008-01-31 Alp Toker <alp@atoker.com>
Reviewed by Mark Rowe.
#
# Global flags to CPP
-global_cppflags :=
+global_cppflags :=
global_cppflags += \
-I$(srcdir)/JavaScriptCore \
javascriptcore_h_api :=
javascriptcore_cppflags:=
javascriptcore_sources :=
-javascriptcore_built_sources :=
+javascriptcore_built_sources :=
javascriptcore_built_nosources :=
# The variables above are already included below so no need to touch
if !ENABLE_DEBUG
global_cppflags += -DNDEBUG
-else
+else
webkitgtk_cppflags += \
-DG_DISABLE_DEPRECATED \
-DGDK_PIXBUF_DISABLE_DEPRECATED \
WebKit/gtk/webkit/webkitwebframe.h \
WebKit/gtk/webkit/webkitwebhistoryitem.h \
WebKit/gtk/webkit/webkitwebsettings.h \
- WebKit/gtk/webkit/webkitwebview.h
+ WebKit/gtk/webkit/webkitwebview.h
webkitgtk_built_sources += \
WebKit/gtk/webkit/webkit-marshal.h \
WebKit/gtk/WebCoreSupport/EditorClientGtk.cpp \
WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.cpp \
WebKit/gtk/WebCoreSupport/InspectorClientGtk.cpp \
- WebKit/gtk/WebCoreSupport/PasteboardHelperGtk.cpp
+ WebKit/gtk/WebCoreSupport/PasteboardHelperGtk.cpp
webkitgtk_cleanfiles += \
$(top_builddir)/Programs/GtkLauncher \
+2008-02-04 Alp Toker <alp@atoker.com>
+
+ Rubber-stamped by Mark Rowe.
+
+ Remove all trailing whitespace in the GTK+ port and related
+ components.
+
+ * GNUmakefile.am:
+
2008-02-02 Darin Adler <darin@apple.com>
Reviewed by Geoff Garen.
JavaScriptCore/wtf/FastMalloc.cpp \
JavaScriptCore/wtf/TCSystemAlloc.cpp
-else
+else
javascriptcore_built_nosources += \
DerivedSources/grammar.h \
DerivedSources/grammar.cpp
javascriptcore_sources += \
- JavaScriptCore/kjs/AllInOneFile.cpp
+ JavaScriptCore/kjs/AllInOneFile.cpp
endif # END ENABLE_DEBUG
DerivedSources/grammar.h: DerivedSources/grammar.cpp;
+2008-02-04 Alp Toker <alp@atoker.com>
+
+ Rubber-stamped by Mark Rowe.
+
+ Remove all trailing whitespace in the GTK+ port and related
+ components.
+
+ * GNUmakefile.am:
+ * page/gtk/DragControllerGtk.cpp:
+ (WebCore::DragController::dragOperation):
+ (WebCore::DragController::maxDragImageSize):
+ * page/gtk/EventHandlerGtk.cpp:
+ (WebCore::EventHandler::passWidgetMouseDownEventToWidget):
+ (WebCore::EventHandler::createDraggingClipboard):
+ * page/gtk/FrameGtk.cpp:
+ (WebCore::Frame::dragImageForSelection):
+ * platform/graphics/cairo/AffineTransformCairo.cpp:
+ (WebCore::AffineTransform::mapRect):
+ (WebCore::AffineTransform::isIdentity):
+ (WebCore::AffineTransform::operator== ):
+ * platform/graphics/cairo/GraphicsContextCairo.cpp:
+ (WebCore::GraphicsContext::drawLine):
+ * platform/graphics/cairo/ImageBufferCairo.cpp:
+ * platform/graphics/cairo/ImageCairo.cpp:
+ * platform/graphics/cairo/ImageSourceCairo.cpp:
+ (WebCore::createDecoder):
+ * platform/graphics/gtk/FontCacheGtk.cpp:
+ * platform/graphics/gtk/FontGtk.cpp:
+ * platform/graphics/gtk/FontPlatformData.h:
+ * platform/graphics/gtk/FontPlatformDataGtk.cpp:
+ * platform/graphics/gtk/GlyphPageTreeNodeGtk.cpp:
+ * platform/graphics/gtk/IconGtk.cpp:
+ * platform/graphics/gtk/ImageGtk.cpp:
+ * platform/graphics/gtk/SimpleFontDataGtk.cpp:
+ * platform/gtk/ClipboardGtk.h:
+ * platform/gtk/ContextMenuItemGtk.cpp:
+ (WebCore::ContextMenuItem::createNativeMenuItem):
+ * platform/gtk/CursorGtk.cpp:
+ * platform/gtk/DragDataGtk.cpp:
+ * platform/gtk/DragImageGtk.cpp:
+ (WebCore::createDragImageIconForCachedImage):
+ * platform/gtk/FileChooserGtk.cpp:
+ (WebCore::stringByAdoptingFileSystemRepresentation):
+ * platform/gtk/FileSystemGtk.cpp:
+ (WebCore::fileExists):
+ (WebCore::deleteFile):
+ (WebCore::deleteEmptyDirectory):
+ * platform/gtk/KeyEventGtk.cpp:
+ * platform/gtk/KeyboardCodes.h:
+ * platform/gtk/LocalizedStringsGtk.cpp:
+ (WebCore::inputElementAltText):
+ (WebCore::resetButtonDefaultLabel):
+ (WebCore::fileButtonChooseFileLabel):
+ (WebCore::fileButtonNoFileSelectedLabel):
+ (WebCore::contextMenuItemTagOpenImageInNewWindow):
+ * platform/gtk/MIMETypeRegistryGtk.cpp:
+ (WebCore::):
+ * platform/gtk/MouseEventGtk.cpp:
+ * platform/gtk/PasteboardGtk.cpp:
+ (WebCore::PasteboardSelectionData::markup):
+ (WebCore::Pasteboard::writeSelection):
+ * platform/gtk/PasteboardHelper.h:
+ * platform/gtk/PlatformScreenGtk.cpp:
+ (WebCore::screenDepth):
+ (WebCore::screenIsMonochrome):
+ (WebCore::screenRect):
+ (WebCore::screenAvailableRect):
+ * platform/gtk/PlatformScrollBar.h:
+ * platform/gtk/PlatformScrollBarGtk.cpp:
+ (PlatformScrollbar::PlatformScrollbar):
+ (PlatformScrollbar::updateThumbPosition):
+ * platform/gtk/PopupMenuGtk.cpp:
+ (WebCore::PopupMenu::updateFromElement):
+ * platform/gtk/RenderThemeGtk.h:
+ * platform/gtk/ScrollViewGtk.cpp:
+ (WebCore::ScrollView::scrollBy):
+ (WebCore::ScrollView::addChild):
+ (WebCore::ScrollView::updateScrollbars):
+ (WebCore::ScrollView::windowToContents):
+ (WebCore::ScrollView::contentsToWindow):
+ (WebCore::ScrollView::scrollbarUnderMouse):
+ * platform/gtk/SearchPopupMenuGtk.cpp:
+ * platform/gtk/SharedTimerGtk.cpp:
+ * platform/gtk/SystemTimeLinux.cpp:
+ (WebCore::currentTime):
+ * platform/gtk/TemporaryLinkStubs.cpp:
+ (PlugInInfoStore::pluginNameForMIMEType):
+ * platform/gtk/ThreadingGtk.cpp:
+ (WebCore::establishIdentifierForThread):
+ (WebCore::threadForIdentifier):
+ (WebCore::clearThreadForIdentifier):
+ (WebCore::ThreadCondition::ThreadCondition):
+ * platform/gtk/WheelEventGtk.cpp:
+ * platform/gtk/WidgetGtk.cpp:
+ * platform/network/curl/ResourceHandleCurl.cpp:
+ * platform/network/curl/ResourceHandleManager.cpp:
+ (WebCore::ResourceHandleManager::setupPOST):
+ * platform/network/curl/ResourceHandleManager.h:
+ * platform/network/curl/ResourceRequest.h:
+ (WebCore::ResourceRequest::ResourceRequest):
+ * platform/network/curl/ResourceResponse.h:
+
2008-02-03 Christian Dywan <christian@imendio.com>
Reviewed by Alp Toker.
WebCore/platform/image-decoders/jpeg/JPEGImageDecoder.cpp \
WebCore/platform/image-decoders/bmp/BMPImageDecoder.cpp \
WebCore/platform/image-decoders/ico/ICOImageDecoder.cpp \
- WebCore/platform/image-decoders/xbm/XBMImageDecoder.cpp
+ WebCore/platform/image-decoders/xbm/XBMImageDecoder.cpp
# ----
# curl http backend
WebCore/html/HTMLVideoElement.idl \
WebCore/html/MediaError.idl \
WebCore/html/TimeRanges.idl \
- WebCore/html/VoidCallback.idl
+ WebCore/html/VoidCallback.idl
webcore_sources += \
WebCore/html/HTMLAudioElement.cpp \
WebCore/svg/SVGTSpanElement.idl \
WebCore/svg/SVGUnitTypes.idl \
WebCore/svg/SVGUseElement.idl \
- WebCore/svg/SVGViewElement.idl
+ WebCore/svg/SVGViewElement.idl
webcore_cppflags += \
-DENABLE_SVG=1 \
rm -f $(GENSOURCES)/CSSGrammar.cpp.h $(GENSOURCES)/CSSGrammar.hpp
# user agent style sheets
-USER_AGENT_STYLE_SHEETS = $(WebCore)/css/html4.css $(WebCore)/css/quirks.css $(WebCore)/css/view-source.css $(WebCore)/css/svg.css
+USER_AGENT_STYLE_SHEETS = $(WebCore)/css/html4.css $(WebCore)/css/quirks.css $(WebCore)/css/view-source.css $(WebCore)/css/svg.css
DerivedSources/UserAgentStyleSheetsData.cpp: DerivedSources/UserAgentStyleSheets.h;
* 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.
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "config.h"
namespace WebCore {
-// FIXME: These values are straight out of DragControllerMac, so probably have
+// FIXME: These values are straight out of DragControllerMac, so probably have
// little correlation with Gdk standards...
const int DragController::LinkDragBorderInset = 2;
const int DragController::MaxOriginalImageArea = 1500 * 1500;
{
return false;
}
-
+
DragOperation DragController::dragOperation(DragData* dragData)
{
- //FIXME: This logic is incomplete
+ //FIXME: This logic is incomplete
if (dragData->containsURL())
return DragOperationCopy;
const IntSize& DragController::maxDragImageSize()
{
static const IntSize maxDragImageSize(400, 400);
-
+
return maxDragImageSize;
}
* 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.
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "config.h"
RenderObject* target = event.targetNode() ? event.targetNode()->renderer() : 0;
if (!target || !target->isWidget())
return false;
-
+
return passMouseDownEventToWidget(static_cast<RenderWidget*>(target)->widget());
}
return static_cast<FrameView*>(widget)->frame()->eventHandler()->handleWheelEvent(event);
}
-Clipboard* EventHandler::createDraggingClipboard() const
+Clipboard* EventHandler::createDraggingClipboard() const
{
return new ClipboardGtk(ClipboardWritable, true);
}
/*
* Copyright (C) 2006 Apple Computer, Inc. All rights reserved.
- * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com
+ * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com
* Copyright (C) 2007 Holger Hans Peter Freyther
* All rights reserved.
*
* 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.
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "config.h"
notImplemented();
}
-DragImageRef Frame::dragImageForSelection()
+DragImageRef Frame::dragImageForSelection()
{
notImplemented();
return 0;
* 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.
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "config.h"
double px = rectMinX;
double py = rectMinY;
cairo_matrix_transform_point(&m_transform, &px, &py);
-
+
double enclosingRectMinX = px;
double enclosingRectMinY = py;
double enclosingRectMaxX = px;
double enclosingRectMaxY = py;
-
+
px = rectMaxX;
py = rectMinY;
cairo_matrix_transform_point(&m_transform, &px, &py);
- if (px < enclosingRectMinX)
+ if (px < enclosingRectMinX)
enclosingRectMinX = px;
- else if (px > enclosingRectMaxX)
+ else if (px > enclosingRectMaxX)
enclosingRectMaxX = px;
- if (py < enclosingRectMinY)
+ if (py < enclosingRectMinY)
enclosingRectMinY = py;
- else if (py > enclosingRectMaxY)
+ else if (py > enclosingRectMaxY)
enclosingRectMaxY = py;
px = rectMaxX;
py = rectMaxY;
cairo_matrix_transform_point(&m_transform, &px, &py);
- if (px < enclosingRectMinX)
+ if (px < enclosingRectMinX)
enclosingRectMinX = px;
else if (px > enclosingRectMaxX)
enclosingRectMaxX = px;
- if (py < enclosingRectMinY)
+ if (py < enclosingRectMinY)
enclosingRectMinY = py;
- else if (py > enclosingRectMaxY)
+ else if (py > enclosingRectMaxY)
enclosingRectMaxY = py;
px = rectMinX;
py = rectMaxY;
cairo_matrix_transform_point(&m_transform, &px, &py);
- if (px < enclosingRectMinX)
+ if (px < enclosingRectMinX)
enclosingRectMinX = px;
- else if (px > enclosingRectMaxX)
+ else if (px > enclosingRectMaxX)
enclosingRectMaxX = px;
- if (py < enclosingRectMinY)
+ if (py < enclosingRectMinY)
enclosingRectMinY = py;
- else if (py > enclosingRectMaxY)
+ else if (py > enclosingRectMaxY)
enclosingRectMaxY = py;
bool AffineTransform::isIdentity() const
{
- return ((m_transform.xx == 1) && (m_transform.yy == 1)
- && (m_transform.xy == 0) && (m_transform.yx == 0)
+ return ((m_transform.xx == 1) && (m_transform.yy == 1)
+ && (m_transform.xy == 0) && (m_transform.yx == 0)
&& (m_transform.x0 == 0) && (m_transform.y0 == 0));
}
bool AffineTransform::operator== (const AffineTransform &m2) const
{
- return ((m_transform.xx == m2.m_transform.xx)
- && (m_transform.yy == m2.m_transform.yy)
+ return ((m_transform.xx == m2.m_transform.xx)
+ && (m_transform.yy == m2.m_transform.yy)
&& (m_transform.xy == m2.m_transform.xy)
- && (m_transform.yx == m2.m_transform.yx)
+ && (m_transform.yx == m2.m_transform.yx)
&& (m_transform.x0 == m2.m_transform.x0)
&& (m_transform.y0 == m2.m_transform.y0));
* 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.
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "config.h"
FloatPoint p1 = point1;
FloatPoint p2 = point2;
bool isVerticalLine = (p1.x() == p2.x());
-
+
adjustLineToPixelBoundaries(p1, p2, width, style);
cairo_set_line_width(cr, width);
* 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.
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "config.h"
* 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.
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "config.h"
* 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.
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "config.h"
if (!memcmp(contents, "\000\000\001\000", 4) ||
!memcmp(contents, "\000\000\002\000", 4))
return new ICOImageDecoder();
-
+
// XBMs require 8 bytes of info.
if (length >= 8 && strncmp(contents, "#define ", 8) == 0)
return new XBMImageDecoder();
/*
* Copyright (C) 2006 Apple Computer, Inc. All rights reserved.
- * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com
+ * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* are met:
*
* 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
+ * 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.
+ * 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.
+ * 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
/*
* Copyright (C) 2006 Apple Computer, Inc. All rights reserved.
- * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com
+ * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com
* Copyright (c) 2007 Hiroyuki Ikezoe
* Copyright (c) 2007 Kouhei Sutou
* Copyright (C) 2007 Alp Toker <alp@atoker.com>
* 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.
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "config.h"
* FontMac.cpp, FontWin.cpp and Font.cpp.
*
* Copyright (C) 2006 Apple Computer, Inc.
- * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com
+ * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com
* Copyright (C) 2007 Holger Hans Peter Freyther
* All rights reserved.
*
/*
* Copyright (C) 2006 Apple Computer, Inc.
- * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com
+ * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com
* Copyright (C) 2007, 2008 Alp Toker <alp@atoker.com>
* Copyright (C) 2007 Holger Hans Peter Freyther
* All rights reserved.
/*
* Copyright (C) 2006, 2007 Apple Inc. All rights reserved.
- * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com
+ * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com
* Copyright (C) 2007 Alp Toker <alp.toker@collabora.co.uk>
*
* Redistribution and use in source and binary forms, with or without
* are met:
*
* 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
+ * 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.
+ * 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.
+ * 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
* are met:
*
* 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
+ * 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.
+ * 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.
+ * 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
* 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.
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "config.h"
/*
* Copyright (C) 2006 Apple Computer, Inc. All rights reserved.
- * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com
+ * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com
* Copyright (C) 2007, 2008 Alp Toker <alp@atoker.com>
* Copyright (C) 2007 Holger Hans Peter Freyther
* All rights reserved.
* are met:
*
* 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
+ * 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.
+ * 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.
+ * 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
* 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.
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef ClipboardGdk_h
virtual void writeRange(Range*, Frame*);
virtual bool hasData();
- };
+ };
}
#endif
gtk_widget_set_sensitive(GTK_WIDGET(item), menu.enabled);
if (menu.subMenu)
- gtk_menu_item_set_submenu(item, GTK_WIDGET(menu.subMenu));
+ gtk_menu_item_set_submenu(item, GTK_WIDGET(menu.subMenu));
}
return item;
/*
- * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com
+ * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com
* Copyright (C) 2007 Christian Dywan <christian@twotoasts.de>
* All rights reserved.
*
* 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.
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "config.h"
{
return false;
}
-
+
bool DragData::containsColor() const
{
return false;
{
return String();
}
-
+
Color DragData::asColor() const
{
return Color();
{
return 0;
}
-
+
bool DragData::containsCompatibleContent() const
{
return false;
}
-
+
bool DragData::containsURL() const
{
return false;
}
-
+
String DragData::asURL(String* title) const
{
return String();
}
-
-
+
+
PassRefPtr<DocumentFragment> DragData::asFragment(Document*) const
{
return 0;
}
-
+
}
{
return image;
}
-
+
DragImageRef dissolveDragImageToFraction(DragImageRef image, float)
{
return image;
}
-
+
DragImageRef createDragImageFromImage(Image*)
{
return 0;
}
-
+
DragImageRef createDragImageIconForCachedImage(CachedImage*)
{
- return 0;
+ return 0;
}
-
+
}
* 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.
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "config.h"
if (!filename)
return false;
-
+
result = String::fromUTF8(filename);
g_free(filename);
return true;
result = g_file_test(filename, G_FILE_TEST_EXISTS);
g_free(filename);
}
-
+
return result;
}
result = g_remove(filename) == 0;
g_free(filename);
}
-
+
return result;
}
result = g_rmdir(filename) == 0;
g_free(filename);
}
-
+
return result;
}
/*
* Copyright (C) 2006, 2007 Apple Inc. All rights reserved.
- * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com
+ * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com
* Copyright (C) 2007 Holger Hans Peter Freyther
* All rights reserved.
*
* 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.
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "config.h"
/*
- * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com
+ * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* 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.
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef KeyboardCodes_h
/*
* Copyright (C) 2006, 2007 Apple Inc. All rights reserved.
- * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com
+ * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com
* Copyright (C) 2007 Holger Hans Peter Freyther
* Copyright (C) 2008 Christian Dywan <christian@imendio.com>
* All rights reserved.
* 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.
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "config.h"
}
String inputElementAltText()
-{
+{
return String::fromUTF8(_("Submit"));
}
String resetButtonDefaultLabel()
-{
+{
return String::fromUTF8(_("Reset"));
}
}
String fileButtonChooseFileLabel()
-{
+{
return String::fromUTF8(_("Choose File"));
}
String fileButtonNoFileSelectedLabel()
-{
+{
return String::fromUTF8(_("(None)"));
}
}
String contextMenuItemTagOpenImageInNewWindow()
-{
+{
return String::fromUTF8(_("Open _Image in New Window"));
}
{ "bmp", "image/bmp" },
{ "gif", "image/gif" },
{ "html", "text/html" },
- { "ico", "image/x-icon" },
+ { "ico", "image/x-icon" },
{ "jpeg", "image/jpeg" },
{ "jpg", "image/jpeg" },
{ "js", "application/x-javascript" },
{ "xhtml", "application/xhtml+xml" },
{ 0, 0 }
};
-
+
String MIMETypeRegistry::getMIMETypeForExtension(const String &ext)
{
String s = ext.lower();
/*
-* Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com
+* Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* 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.
+* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "config.h"
g_free(m_text);
g_free(m_markup);
}
-
+
const gchar* text() const { return m_text; }
- const gchar* markup() const { return m_markup; }
+ const gchar* markup() const { return m_markup; }
private:
gchar* m_text;
gchar* text = g_strdup(frame->selectedText().utf8().data());
gchar* markup = g_strdup(createMarkup(selectedRange, 0, AnnotateForInterchange).utf8().data());
PasteboardSelectionData* data = new PasteboardSelectionData(text, markup);
-
+
gint n_targets;
GtkTargetEntry* targets = gtk_target_table_new_from_list(m_helper->getCopyTargetList(frame), &n_targets);
GtkClipboard* clipboard = m_helper->getClipboard(frame);
#ifndef PasteboardHelper_h
#define PasteboardHelper_h
-/*
+/*
* FIXME: this is for WebCore support and must be removed once
* a better solution is found
*/
/*
* Copyright (C) 2006 Apple Computer, Inc. All rights reserved.
- * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com
+ * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* 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.
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "config.h"
namespace WebCore {
-int screenDepth(Widget* widget)
+int screenDepth(Widget* widget)
{
ASSERT(widget->containingWindow() && GTK_WIDGET(widget->containingWindow())->window);
return 8;
}
-bool screenIsMonochrome(Widget*)
-{
- notImplemented();
- return false;
+bool screenIsMonochrome(Widget*)
+{
+ notImplemented();
+ return false;
}
-FloatRect screenRect(Widget*)
-{
+FloatRect screenRect(Widget*)
+{
notImplemented();
- return FloatRect();
+ return FloatRect();
}
-FloatRect screenAvailableRect(Widget*)
-{
- notImplemented();
- return FloatRect();
+FloatRect screenAvailableRect(Widget*)
+{
+ notImplemented();
+ return FloatRect();
}
} // namespace WebCore
* 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.
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef PlatformScrollBar_h
ScrollbarControlSize controlSize)
: Scrollbar(client, orientation, controlSize)
, m_adjustment(GTK_ADJUSTMENT(gtk_adjustment_new(0.0, 0.0, 0.0, 0.0, 0.0, 0.0)))
-{
+{
GtkScrollbar* scrollBar = orientation == HorizontalScrollbar ?
GTK_SCROLLBAR(::gtk_hscrollbar_new(m_adjustment)) :
GTK_SCROLLBAR(::gtk_vscrollbar_new(m_adjustment));
* we will end up with a 0 width scrollbar.
*/
resize(PlatformScrollbar::horizontalScrollbarHeight(),
- PlatformScrollbar::verticalScrollbarWidth());
+ PlatformScrollbar::verticalScrollbarWidth());
}
PlatformScrollbar::~PlatformScrollbar()
}
void PlatformScrollbar::updateThumbPosition()
-{
+{
if (m_adjustment->value != m_currentPos) {
m_adjustment->value = m_currentPos;
gtk_adjustment_value_changed(m_adjustment);
* This file is part of the popup menu implementation for <select> elements in WebCore.
*
* Copyright (C) 2006, 2007 Apple Inc.
- * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com
+ * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
#include "NotImplemented.h"
#include "PlatformString.h"
#include <gtk/gtk.h>
-
+
namespace WebCore {
PopupMenu::PopupMenu(PopupMenuClient* client)
gtk_menu_popdown(m_popup);
}
-void PopupMenu::updateFromElement()
+void PopupMenu::updateFromElement()
{
client()->setTextFromItem(client()->selectedIndex());
}
* This file is part of the WebKit project.
*
* Copyright (C) 2006 Apple Computer, Inc.
- * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com
+ * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com
* Copyright (C) 2007 Holger Hans Peter Freyther
* Copyright (C) 2007 Alp Toker <alp@atoker.com>
* All rights reserved.
// position cannot be determined by examining child content. Checkboxes and radio buttons are examples of
// controls that need to do this.
virtual short baselinePosition(const RenderObject*) const;
-
+
// The platform selection color.
virtual Color platformActiveSelectionBackgroundColor() const;
virtual Color platformInactiveSelectionBackgroundColor() const;
/*
* Copyright (C) 2006, 2007 Apple Computer, Inc. All rights reserved.
- * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com
+ * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com
* Copyright (C) 2007 Holger Hans Peter Freyther
*
* All rights reserved.
* 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.
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "config.h"
}
void scrollBackingStore(const IntSize& scrollDelta);
-
+
void setHasHorizontalScrollbar(bool hasBar);
void setHasVerticalScrollbar(bool hasBar);
delete m_data;
}
-/*
+/*
* The following is assumed:
* (hadj && vadj) || (!hadj && !vadj)
- */
+ */
void ScrollView::setGtkAdjustments(GtkAdjustment* hadj, GtkAdjustment* vadj)
{
ASSERT(!hadj == !vadj);
IntSize scrollOffset = m_data->scrollOffset;
IntSize newScrollOffset = scrollOffset + IntSize(dx, dy).shrunkTo(maximumScroll());
newScrollOffset.clampNegativeToZero();
-
+
if (newScrollOffset == scrollOffset)
return;
}
void ScrollView::addChild(Widget* child)
-{
+{
child->setParent(this);
child->setContainingWindow(containingWindow());
m_data->children.add(child);
// Do a layout if pending before checking if scrollbars are needed.
if (hasVerticalScrollbar != oldHasVertical || hasHorizontalScrollbar != oldHasHorizontal)
static_cast<FrameView*>(this)->layout();
-
+
scrollsVertically = (vScroll == ScrollbarAlwaysOn) || (vScroll == ScrollbarAuto && contentsHeight() > height());
if (scrollsVertically)
scrollsHorizontally = (hScroll == ScrollbarAlwaysOn) || (hScroll == ScrollbarAuto && contentsWidth() + cVerticalWidth > width());
scrollsHorizontally = (hScroll == ScrollbarAuto) ? hasHorizontalScrollbar : (hScroll == ScrollbarAlwaysOn);
scrollsVertically = (vScroll == ScrollbarAuto) ? hasVerticalScrollbar : (vScroll == ScrollbarAlwaysOn);
}
-
+
if (hasVerticalScrollbar != scrollsVertically) {
m_data->setHasVerticalScrollbar(scrollsVertically);
hasVerticalScrollbar = scrollsVertically;
if (m_data->scrollOffset.width() != scroll.width()) {
m_data->horizontalAdjustment->value = scroll.width();
gtk_adjustment_value_changed(m_data->horizontalAdjustment);
- }
+ }
} else if (m_data->hBar) {
int clientWidth = visibleWidth();
m_data->hBar->setEnabled(contentsWidth() > clientWidth);
m_data->hBar->setProportion(clientWidth, contentsWidth());
m_data->hBar->setValue(scroll.width());
if (m_data->scrollbarsSuppressed)
- m_data->hBar->setSuppressInvalidation(false);
- }
+ m_data->hBar->setSuppressInvalidation(false);
+ }
if (m_data->verticalAdjustment) {
m_data->verticalAdjustment->page_size = visibleHeight();
int pageStep = (clientHeight - PAGE_KEEP);
if (pageStep < 0) pageStep = clientHeight;
IntRect oldRect(m_data->vBar->frameGeometry());
- IntRect vBarRect = IntRect(width() - m_data->vBar->width(),
+ IntRect vBarRect = IntRect(width() - m_data->vBar->width(),
0,
m_data->vBar->width(),
height() - (m_data->hBar ? m_data->hBar->height() : 0));
m_data->scrollOffset = scroll;
m_data->scrollBackingStore(scrollDelta);
}
-
+
m_data->inUpdateScrollbars = false;
}
IntPoint ScrollView::windowToContents(const IntPoint& windowPoint) const
-{
+{
IntPoint viewPoint = convertFromContainingWindow(windowPoint);
return viewPoint + scrollOffset();
}
IntPoint ScrollView::contentsToWindow(const IntPoint& contentsPoint) const
{
IntPoint viewPoint = contentsPoint - scrollOffset();
- return convertToContainingWindow(viewPoint);
+ return convertToContainingWindow(viewPoint);
}
PlatformScrollbar* ScrollView::scrollbarUnderMouse(const PlatformMouseEvent& mouseEvent)
-{
+{
IntPoint viewPoint = convertFromContainingWindow(mouseEvent.pos());
if (m_data->hBar && m_data->hBar->frameGeometry().contains(viewPoint))
return m_data->hBar.get();
{
notImplemented();
}
-
+
void SearchPopupMenu::saveRecentSearches(const AtomicString&, const Vector<String>&)
{
notImplemented();
/*
* Copyright (C) 2006 Apple Computer, Inc. All rights reserved.
- * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com
+ * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* 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.
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "config.h"
/*
* Copyright (C) 2006 Apple Computer, Inc. All rights reserved.
- * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com
+ * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
{
struct timeval aTimeval;
struct timezone aTimezone;
-
+
gettimeofday( &aTimeval, &aTimezone );
return (double)aTimeval.tv_sec + (double)(aTimeval.tv_usec / 1000000.0 );
}
/*
* Copyright (C) 2006, 2007 Apple Inc. All rights reserved.
- * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com
+ * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* 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.
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "config.h"
PluginInfo* PlugInInfoStore::createPluginInfoForPluginAtIndex(unsigned) { notImplemented(); return 0;}
unsigned PlugInInfoStore::pluginCount() const { notImplemented(); return 0; }
-String PlugInInfoStore::pluginNameForMIMEType(const String& mimeType) { notImplemented(); return String(); }
+String PlugInInfoStore::pluginNameForMIMEType(const String& mimeType) { notImplemented(); return String(); }
bool WebCore::PlugInInfoStore::supportsMIMEType(const WebCore::String&) { notImplemented(); return false; }
void WebCore::refreshPlugins(bool) { notImplemented(); }
* are met:
*
* 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
+ * 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.
+ * documentation and/or other materials provided with the distribution.
* 3. Neither the name of Apple 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.
+ * 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
static ThreadIdentifier identifierCount = 1;
threadMap().add(identifierCount, thread);
-
+
return identifierCount++;
}
static GThread* threadForIdentifier(ThreadIdentifier id)
{
MutexLocker locker(threadMapMutex());
-
+
return threadMap().get(id);
}
MutexLocker locker(threadMapMutex());
ASSERT(threadMap().contains(id));
-
+
threadMap().remove(id);
}
{
g_mutex_lock(m_mutex);
}
-
+
bool Mutex::tryLock()
{
return g_mutex_trylock(m_mutex);
ThreadCondition::ThreadCondition()
: m_condition(g_cond_new())
-{
+{
}
ThreadCondition::~ThreadCondition()
/*
* Copyright (C) 2006 Apple Computer, Inc. All rights reserved.
- * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com
+ * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* 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.
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "config.h"
/*
- * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com
+ * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com
* Copyright (C) 2007 Holger Hans Peter Freyther
* All rights reserved.
*
* 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.
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "config.h"
{
return data->parent;
}
-
+
void Widget::setFocus()
{
gtk_widget_grab_focus(gtkWidget() ? gtkWidget() : GTK_WIDGET(containingWindow()));
{
return IntPoint(point.x() + child->x(), point.y() + child->y());
}
-
+
IntPoint Widget::convertSelfToChild(const Widget* child, const IntPoint& point) const
{
return IntPoint(point.x() - child->x(), point.y() - child->y());
/*
* Copyright (C) 2004, 2006 Apple Computer, Inc. All rights reserved.
- * Copyright (C) 2005, 2006 Michael Emmel mike.emmel@gmail.com
+ * Copyright (C) 2005, 2006 Michael Emmel mike.emmel@gmail.com
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* 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.
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "config.h"
if (d->m_postBytes.size() != 0) {
curl_easy_setopt(d->m_handle, CURLOPT_POST, TRUE);
curl_easy_setopt(d->m_handle, CURLOPT_POSTFIELDSIZE, d->m_postBytes.size());
- curl_easy_setopt(d->m_handle, CURLOPT_POSTFIELDS, d->m_postBytes.data());
+ curl_easy_setopt(d->m_handle, CURLOPT_POSTFIELDS, d->m_postBytes.data());
}
return;
}
/*
* Copyright (C) 2006 Apple Computer, Inc. All rights reserved.
- * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com
+ * Copyright (C) 2006 Michael Emmel mike.emmel@gmail.com
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* 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.
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef ResourceHandleManager_h
* 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.
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef ResourceRequest_h
struct ResourceRequest : ResourceRequestBase {
- ResourceRequest(const String& url)
+ ResourceRequest(const String& url)
: ResourceRequestBase(KURL(url.deprecatedString()), UseProtocolCachePolicy)
{
}
- ResourceRequest(const KURL& url)
+ ResourceRequest(const KURL& url)
: ResourceRequestBase(url, UseProtocolCachePolicy)
{
}
- ResourceRequest(const KURL& url, const String& referrer, ResourceRequestCachePolicy policy = UseProtocolCachePolicy)
+ ResourceRequest(const KURL& url, const String& referrer, ResourceRequestCachePolicy policy = UseProtocolCachePolicy)
: ResourceRequestBase(url, policy)
{
setHTTPReferrer(referrer);
}
-
+
ResourceRequest()
: ResourceRequestBase(KURL(), UseProtocolCachePolicy)
{
}
-
+
private:
friend class ResourceRequestBase;
* 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.
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef ResourceResponse_h
m_responseFired(false)
{
}
-
+
void setResponseFired(bool fired) { m_responseFired = fired; }
bool responseFired() { return m_responseFired; }
void doUpdateResourceResponse()
{
}
-
+
bool m_responseFired;
};
+2008-02-04 Alp Toker <alp@atoker.com>
+
+ Rubber-stamped by Mark Rowe.
+
+ Remove all trailing whitespace in the GTK+ port and related
+ components.
+
+ * WebCoreSupport/DragClientGtk.h:
+ * WebCoreSupport/FrameLoaderClientGtk.h:
+ * WebCoreSupport/InspectorClientGtk.h:
+ * WebCoreSupport/PasteboardHelperGtk.h:
+ * webkit/webkitprivate.h:
+ * webkit/webkitwebbackforwardlist.cpp:
+ (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_contains_item):
+ (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_forward_list_with_limit):
+ (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_back_item):
+ (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_forward_length):
+ * webkit/webkitwebhistoryitem.cpp:
+ (_WebKitWebHistoryItemPrivate::webkit_history_items):
+ (_WebKitWebHistoryItemPrivate::webkit_history_item_add):
+ (_WebKitWebHistoryItemPrivate::webkit_history_item_remove):
+ (_WebKitWebHistoryItemPrivate::webkit_web_history_item_dispose):
+ (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_data):
+ (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_title):
+ (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_alternate_title):
+ (_WebKitWebHistoryItemPrivate::webkit_web_history_item_set_alternate_title):
+ (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_original_uri):
+ (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_last_visited_time):
+ (WebKit::kit):
+ * webkit/webkitwebhistoryitem.h:
+ * webkit/webkitwebview.cpp:
+ * webkit/webkitwebview.h:
+
2008-02-03 Christian Dywan <christian@imendio.com>
Reviewed by Alp Toker.
* are met:
*
* 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
+ * 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.
+ * documentation and/or other materials provided with the distribution.
* 3. Neither the name of Apple, 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.
+ * 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
virtual void savePlatformDataToCachedPage(WebCore::CachedPage*);
virtual void transitionToCommittedFromCachedPage(WebCore::CachedPage*);
virtual void transitionToCommittedForNewPage();
-
+
virtual bool canCachePage() const;
virtual void download(WebCore::ResourceHandle*, const WebCore::ResourceRequest&, const WebCore::ResourceRequest&, const WebCore::ResourceResponse&);
private:
* are met:
*
* 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
+ * 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.
+ * 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.
+ * 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
#ifndef PasteboardHelperGtk_h
#define PasteboardHelperGtk_h
-/*
+/*
* FIXME: this is for WebCore support and must be removed once
* a better solution is found
*/
WebCore::String* userAgent;
WebKitWebBackForwardList* backForwardList;
-
+
gint lastPopupXPosition;
gint lastPopupYPosition;
/* WebKitWebHistoryItem private function */
WebKitWebHistoryItem* webkit_web_history_item_new_with_core_item(WebCore::HistoryItem*);
-
+
// TODO: Move these to webkitwebframe.h once these functions are fully
// implemented and their API has been discussed.
/**
* webkit_web_back_forward_list_new_with_web_view:
* @webView: the back forward list's #WebKitWebView
- *
+ *
* Creates an instance of the back forward list with a controlling #WebKitWebView
*
* Return value: a #WebKitWebBackForwardList
{
g_return_val_if_fail(WEBKIT_IS_WEB_BACK_FORWARD_LIST(webBackForwardList), NULL);
g_return_val_if_fail(WEBKIT_IS_WEB_HISTORY_ITEM(webHistoryItem), NULL);
-
+
WebCore::HistoryItem* historyItem = core(webHistoryItem);
g_return_val_if_fail(historyItem != NULL, FALSE);
-
+
WebCore::BackForwardList* backForwardList = core(webBackForwardList);
return (backForwardList->enabled() ? backForwardList->containsItem(historyItem) : FALSE);
WebCore::HistoryItemVector items(limit);
GList* forwardItems = { 0 };
-
+
backForwardList->forwardListWithLimit(limit, items);
-
+
for (unsigned i = 0; i < items.size(); i++) {
WebKitWebHistoryItem* webHistoryItem = webkit_web_history_item_new_with_core_item(items[i].get());
forwardItems = g_list_prepend(forwardItems, g_object_ref(webHistoryItem));
WebCore::BackForwardList* backForwardList = core(webBackForwardList);
if (!backForwardList || !backForwardList->enabled())
return NULL;
-
+
WebCore::HistoryItem* historyItem = backForwardList->backItem();
return (historyItem ? kit(historyItem) : NULL);
* Returns a NULL value if there nothing that succeeds the current item
*
* Return value: a #WebKitWebHistoryItem
- */
+ */
WebKitWebHistoryItem* webkit_web_back_forward_list_get_forward_item(WebKitWebBackForwardList* webBackForwardList)
{
g_return_val_if_fail(WEBKIT_IS_WEB_BACK_FORWARD_LIST(webBackForwardList), NULL);
return backForwardList->backListCount();
}
-
+
/**
* webkit_web_back_forward_list_get_forward_length:
* @webBackForwardList: a #WebKitWebBackForwardList
WebCore::BackForwardList* backForwardList = core(webBackForwardList);
if (!backForwardList || !backForwardList->enabled())
return 0;
-
+
return backForwardList->forwardListCount();
}
return backForwardList->capacity();
}
-
+
/**
* webkit_web_back_forward_list_set_limit:
* @webBackForwardList: a #WebKitWebBackForwardList
if (backForwardList)
backForwardList->setCapacity(limit);
}
-
+
} /* end extern "C" */
WebCore::BackForwardList* WebKit::core(WebKitWebBackForwardList* webBackForwardList)
struct _WebKitWebHistoryItemPrivate {
WebCore::HistoryItem* historyItem;
-
+
gchar* title;
gchar* alternateTitle;
gchar* uri;
static GHashTable* webkit_history_items()
{
- static GHashTable* historyItems = g_hash_table_new(g_direct_hash, g_direct_equal);
+ static GHashTable* historyItems = g_hash_table_new(g_direct_hash, g_direct_equal);
return historyItems;
}
-static void webkit_history_item_add(WebKitWebHistoryItem* webHistoryItem, WebCore::HistoryItem* historyItem)
+static void webkit_history_item_add(WebKitWebHistoryItem* webHistoryItem, WebCore::HistoryItem* historyItem)
{
g_return_if_fail(WEBKIT_IS_WEB_HISTORY_ITEM(webHistoryItem));
-
+
GHashTable* table = webkit_history_items();
historyItem->ref();
WebKitWebHistoryItem* webHistoryItem = (WebKitWebHistoryItem*) g_hash_table_lookup(table, historyItem);
g_return_if_fail(webHistoryItem != NULL);
-
+
g_hash_table_remove(table, historyItem);
historyItem->deref();
g_object_unref(webHistoryItem);
}
-
+
static void webkit_web_history_item_dispose(GObject* object)
{
WebKitWebHistoryItem* item = WEBKIT_WEB_HISTORY_ITEM(object);
webkit_history_item_remove(item->priv->historyItem);
-
+
delete item->priv->historyItem;
/* destroy table if empty */
GHashTable* table = webkit_history_items();
if (!g_hash_table_size(table))
g_hash_table_destroy(table);
-
+
G_OBJECT_CLASS(webkit_web_history_item_parent_class)->dispose(object);
}
-
+
static void webkit_web_history_item_finalize(GObject* object)
{
webHistoryItem->priv->historyItem = new WebCore::HistoryItem(historyUri, historyTitle);
webkit_history_item_add(webHistoryItem, webHistoryItem->priv->historyItem);
-
+
return webHistoryItem;
}
WebCore::HistoryItem* item = core(WEBKIT_WEB_HISTORY_ITEM(webHistoryItem));
g_return_val_if_fail(item != NULL, NULL);
-
+
WebCore::String title = item->title();
g_free(webHistoryItem->priv->title);
webHistoryItem->priv->title = g_strdup(title.utf8().data());
-
+
return webHistoryItem->priv->title;
}
WebCore::HistoryItem* item = core(WEBKIT_WEB_HISTORY_ITEM(webHistoryItem));
g_return_val_if_fail(item != NULL, NULL);
-
+
WebCore::String alternateTitle = item->alternateTitle();
g_free(webHistoryItem->priv->alternateTitle);
*
* Sets an alternate title for @webHistoryItem
*/
-void webkit_web_history_item_set_alternate_title(WebKitWebHistoryItem* webHistoryItem, const gchar* title)
+void webkit_web_history_item_set_alternate_title(WebKitWebHistoryItem* webHistoryItem, const gchar* title)
{
g_return_if_fail(WEBKIT_IS_WEB_HISTORY_ITEM(webHistoryItem));
const WebCore::String alternateTitle = title;
item->setAlternateTitle(alternateTitle);
}
-
+
/**
* webkit_web_history_item_get_uri:
* @webHistoryItem: a #WebKitWebHistoryItem
g_free(webHistoryItem->priv->originalUri);
webHistoryItem->priv->originalUri = g_strdup(originalUri.utf8().data());
-
+
return webHistoryItem->priv->originalUri;
}
*
* Return value: the time in seconds this @webHistoryItem was last visited
*/
-gdouble webkit_web_history_item_get_last_visited_time(WebKitWebHistoryItem* webHistoryItem)
+gdouble webkit_web_history_item_get_last_visited_time(WebKitWebHistoryItem* webHistoryItem)
{
g_return_val_if_fail(WEBKIT_IS_WEB_HISTORY_ITEM(webHistoryItem), NULL);
WebKitWebHistoryItem* WebKit::kit(WebCore::HistoryItem* historyItem)
{
g_return_val_if_fail(historyItem != NULL, NULL);
-
+
WebKitWebHistoryItem* webHistoryItem;
GHashTable* table = webkit_history_items();
typedef struct _WebKitWebHistoryItemPrivate WebKitWebHistoryItemPrivate;
typedef struct _WebKitWebHistoryItem WebKitWebHistoryItem;
typedef struct _WebKitWebHistoryItemClass WebKitWebHistoryItemClass;
-
+
struct _WebKitWebHistoryItem {
GObject parent;
else if (name == g_intern_string("sans-serif-font-family"))
settings->setSansSerifFontFamily(g_value_get_string(&value));
else if (name == g_intern_string("serif-font-family"))
- settings->setSerifFontFamily(g_value_get_string(&value));
+ settings->setSerifFontFamily(g_value_get_string(&value));
else if (name == g_intern_string("default-font-size"))
settings->setDefaultFontSize(g_value_get_int(&value));
else if (name == g_intern_string("default-monospace-font-size"))
* @webView: a #WebKitWebView
*
* Returns a #WebKitWebBackForwardList
- *
+ *
* Return value: the #WebKitWebBackForwardList
*/
WebKitWebBackForwardList* webkit_web_view_get_back_forward_list(WebKitWebView* webView)
webkit_web_view_new (void);
WEBKIT_API void
-webkit_web_view_set_maintains_back_forward_list (WebKitWebView* web_view, gboolean flag);
+webkit_web_view_set_maintains_back_forward_list (WebKitWebView* web_view, gboolean flag);
WEBKIT_API WebKitWebBackForwardList*
webkit_web_view_get_back_forward_list (WebKitWebView* web_view);
+2008-02-04 Alp Toker <alp@atoker.com>
+
+ Rubber-stamped by Mark Rowe.
+
+ Remove all trailing whitespace in the GTK+ port and related
+ components.
+
+ * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
+ * DumpRenderTree/gtk/GCControllerGtk.cpp:
+ * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
+ * GNUmakefile.am:
+
2008-02-01 Eric Seidel <eric@webkit.org>
Reviewed by Oliver.
* are met:
*
* 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
+ * 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.
+ * 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.
+ * 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
extern WebKitWebFrame* topLoadingFrame;
extern guint waitToDumpWatchdog;
-#endif // DumpRenderTreeGtk_h
+#endif // DumpRenderTreeGtk_h
* are met:
*
* 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
+ * 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.
+ * 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.
+ * 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
* are met:
*
* 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
+ * 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.
+ * 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.
+ * 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
libJavaScriptCore.la \
libWebKitGtk.la
-Programs_DumpRenderTree_LDFLAGS = -rpath $(CURDIR)/.libs
+Programs_DumpRenderTree_LDFLAGS = -rpath $(CURDIR)/.libs
AC_PROG_CXX
AM_PROG_CC_C_O
-# check for -fvisibility=hidden compiler support (GCC >= 4)
+# check for -fvisibility=hidden compiler support (GCC >= 4)
saved_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -fvisibility=hidden -fvisibility-inlines-hidden"
AC_MSG_CHECKING([if ${CXX} supports -fvisibility=hidden -fvisibility-inlines-hidden])
AC_SUBST([SQLITE3_CFLAGS])
AC_SUBST([SQLITE3_LIBS])
fi
-
+
# check if libxslt is available
if test "$enable_xslt" = "yes"; then
PKG_CHECK_MODULES([LIBXSLT],[libxslt >= $LIBXSLT_REQUIRED_VERSION])