Reviewed by Mark Rowe.
http://bugs.webkit.org/show_bug.cgi?id=15611
[GTK] Text selection behaviour different in Debug and Release builds
http://bugs.webkit.org/show_bug.cgi?id=15578
[GTK] Text editor caret does not blink
Never allow control to reach the end of non-void functions.
Return more sensible values, or in some cases, nulls.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@26876
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2007-10-22 Alp Toker <alp@atoker.com>
+
+ Reviewed by Mark Rowe.
+
+ http://bugs.webkit.org/show_bug.cgi?id=15611
+ [GTK] Text selection behaviour different in Debug and Release builds
+
+ http://bugs.webkit.org/show_bug.cgi?id=15578
+ [GTK] Text editor caret does not blink
+
+ Never allow control to reach the end of non-void functions.
+
+ Return more sensible values, or in some cases, nulls.
+
+ * page/gtk/EventHandlerGtk.cpp:
+ (WebCore::isKeyboardOptionTab):
+ (WebCore::EventHandler::tabsToAllControls):
+ (WebCore::EventHandler::eventActivatedView):
+
2007-10-22 Holger Freyther <zecke@selfish.org>
Reviewed by Simon Hausmann <hausmann@kde.org>.
using namespace EventNames;
+static bool isKeyboardOptionTab(KeyboardEvent* event)
+{
+ return event
+ && (event->type() == keydownEvent || event->type() == keypressEvent)
+ && event->altKey()
+ && event->keyIdentifier() == "U+0009";
+}
+
bool EventHandler::tabsToAllControls(KeyboardEvent* event) const
{
- return true;
+ return isKeyboardOptionTab(event);
}
void EventHandler::focusDocumentView()
bool EventHandler::eventActivatedView(const PlatformMouseEvent&) const
{
+ //GTK+ activation is not necessarily tied to mouse events, so it may
+ //not make sense to implement this
+
notImplemented();
+ return false;
}
bool EventHandler::passWheelEventToWidget(PlatformWheelEvent&, Widget* widget)
WebKitSettings* webkit_web_settings_get_global(void)
{
+ return 0;
}
void webkit_web_settings_set_global (WebKitSettings* setting)
{
}
-gchar* webkit_web_settings_get_font_family(WebKitSettings*, WebKitFontFamily family)
+const gchar* webkit_web_settings_get_font_family(WebKitSettings*, WebKitFontFamily family)
{
+ return 0;
}
void webkit_web_settings_set_user_style_sheet_location(WebKitSettings*, gchar*)
void
webkit_web_settings_set_font_family(WebKitSettings*, WebKitFontFamily family, gchar *family_name);
-gchar*
+const gchar*
webkit_web_settings_get_font_family(WebKitSettings*, WebKitFontFamily family);
void
+2007-10-22 Alp Toker <alp@atoker.com>
+
+ Reviewed by Mark Rowe.
+
+ http://bugs.webkit.org/show_bug.cgi?id=15611
+ [GTK] Text selection behaviour different in Debug and Release builds
+
+ http://bugs.webkit.org/show_bug.cgi?id=15578
+ [GTK] Text editor caret does not blink
+
+ Never allow control to reach the end of non-void functions.
+
+ Return more sensible values, or in some cases, nulls.
+
+ * Api/webkitgtksettings.cpp:
+ * Api/webkitgtksettings.h:
+ * WebCoreSupport/DragClientGtk.cpp:
+ (WebKit::DragClient::actionMaskForDrag):
+ (WebKit::DragClient::dragSourceActionMaskForPoint):
+ (WebKit::DragClient::createDragImageForLink):
+
2007-10-20 Mark Rowe <mrowe@apple.com>
Reviewed by Alp.
/*
* Copyright (C) 2007 Apple Inc. All rights reserved.
* Copyright (C) 2007 Holger Hans Peter Freyther
+ * Copyright (C) 2007 Alp Toker <alp@atoker.com>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
DragDestinationAction DragClient::actionMaskForDrag(DragData*)
{
notImplemented();
+ return DragDestinationActionAny;
}
DragSourceAction DragClient::dragSourceActionMaskForPoint(const IntPoint&)
{
notImplemented();
+ return DragSourceActionAny;
}
void DragClient::startDrag(DragImageRef, const IntPoint&, const IntPoint&, Clipboard*, Frame*, bool)
DragImageRef DragClient::createDragImageForLink(KURL&, const String& label, Frame*)
{
notImplemented();
+ return 0;
}
void DragClient::dragControllerDestroyed()