summaryrefslogtreecommitdiffstats
path: root/Source/WebKit/gtk
diff options
context:
space:
mode:
authorBen Murdoch <benm@google.com>2011-05-24 11:24:40 +0100
committerBen Murdoch <benm@google.com>2011-06-02 09:53:15 +0100
commit81bc750723a18f21cd17d1b173cd2a4dda9cea6e (patch)
tree7a9e5ed86ff429fd347a25153107221543909b19 /Source/WebKit/gtk
parent94088a6d336c1dd80a1e734af51e96abcbb689a7 (diff)
downloadexternal_webkit-81bc750723a18f21cd17d1b173cd2a4dda9cea6e.zip
external_webkit-81bc750723a18f21cd17d1b173cd2a4dda9cea6e.tar.gz
external_webkit-81bc750723a18f21cd17d1b173cd2a4dda9cea6e.tar.bz2
Merge WebKit at r80534: Intial merge by Git
Change-Id: Ia7a83357124c9e1cdb1debf55d9661ec0bd09a61
Diffstat (limited to 'Source/WebKit/gtk')
-rw-r--r--Source/WebKit/gtk/ChangeLog501
-rw-r--r--Source/WebKit/gtk/GNUmakefile.am18
-rw-r--r--Source/WebKit/gtk/NEWS130
-rw-r--r--Source/WebKit/gtk/WebCoreSupport/AssertMatchingEnums.cpp28
-rw-r--r--Source/WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp62
-rw-r--r--Source/WebKit/gtk/WebCoreSupport/ChromeClientGtk.h3
-rw-r--r--Source/WebKit/gtk/WebCoreSupport/DumpRenderTreeSupportGtk.cpp33
-rw-r--r--Source/WebKit/gtk/WebCoreSupport/DumpRenderTreeSupportGtk.h10
-rw-r--r--Source/WebKit/gtk/WebCoreSupport/EditorClientGtk.cpp139
-rw-r--r--Source/WebKit/gtk/WebCoreSupport/EditorClientGtk.h27
-rw-r--r--Source/WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.cpp60
-rw-r--r--Source/WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.h3
-rw-r--r--Source/WebKit/gtk/WebCoreSupport/TextCheckerClientEnchant.cpp216
-rw-r--r--Source/WebKit/gtk/WebCoreSupport/TextCheckerClientEnchant.h63
-rw-r--r--Source/WebKit/gtk/docs/GNUmakefile.am12
-rw-r--r--Source/WebKit/gtk/po/ChangeLog33
-rw-r--r--Source/WebKit/gtk/po/POTFILES1
-rw-r--r--Source/WebKit/gtk/po/ar.po2
-rw-r--r--Source/WebKit/gtk/po/bg.po2
-rw-r--r--Source/WebKit/gtk/po/cs.po2
-rw-r--r--Source/WebKit/gtk/po/de.po2
-rw-r--r--Source/WebKit/gtk/po/en_GB.po2
-rw-r--r--Source/WebKit/gtk/po/es.po2
-rw-r--r--Source/WebKit/gtk/po/et.po2
-rw-r--r--Source/WebKit/gtk/po/eu.po1081
-rw-r--r--Source/WebKit/gtk/po/fr.po2
-rw-r--r--Source/WebKit/gtk/po/gl.po2
-rw-r--r--Source/WebKit/gtk/po/gu.po2
-rw-r--r--Source/WebKit/gtk/po/he.po2
-rw-r--r--Source/WebKit/gtk/po/hu.po2
-rw-r--r--Source/WebKit/gtk/po/id.po2
-rw-r--r--Source/WebKit/gtk/po/it.po2
-rw-r--r--Source/WebKit/gtk/po/ko.po2
-rw-r--r--Source/WebKit/gtk/po/lt.po2
-rw-r--r--Source/WebKit/gtk/po/nb.po2
-rw-r--r--Source/WebKit/gtk/po/nl.po2
-rw-r--r--Source/WebKit/gtk/po/pa.po2
-rw-r--r--Source/WebKit/gtk/po/pl.po2
-rw-r--r--Source/WebKit/gtk/po/pt.po2
-rw-r--r--Source/WebKit/gtk/po/pt_BR.po328
-rw-r--r--Source/WebKit/gtk/po/ru.po2
-rw-r--r--Source/WebKit/gtk/po/sl.po2
-rw-r--r--Source/WebKit/gtk/po/sr.po2
-rw-r--r--Source/WebKit/gtk/po/sr@latin.po2
-rw-r--r--Source/WebKit/gtk/po/sv.po2
-rw-r--r--Source/WebKit/gtk/po/uk.po2
-rw-r--r--Source/WebKit/gtk/po/vi.po2
-rw-r--r--Source/WebKit/gtk/po/zh_CN.po2
-rw-r--r--Source/WebKit/gtk/tests/testapplicationcache.c80
-rw-r--r--Source/WebKit/gtk/tests/testatk.c38
-rw-r--r--Source/WebKit/gtk/tests/testwebdatasource.c8
-rw-r--r--Source/WebKit/gtk/webkit/webkit.h19
-rw-r--r--Source/WebKit/gtk/webkit/webkitapplicationcache.cpp94
-rw-r--r--Source/WebKit/gtk/webkit/webkitapplicationcache.h41
-rw-r--r--Source/WebKit/gtk/webkit/webkitapplicationcacheprivate.h35
-rw-r--r--Source/WebKit/gtk/webkit/webkitglobals.cpp16
-rw-r--r--Source/WebKit/gtk/webkit/webkitwebnavigationaction.cpp7
-rw-r--r--Source/WebKit/gtk/webkit/webkitwebsettings.cpp88
-rw-r--r--Source/WebKit/gtk/webkit/webkitwebview.cpp37
-rw-r--r--Source/WebKit/gtk/webkit/webkitwebviewprivate.h1
60 files changed, 2727 insertions, 543 deletions
diff --git a/Source/WebKit/gtk/ChangeLog b/Source/WebKit/gtk/ChangeLog
index 2fefd5d..d5cfb4d 100644
--- a/Source/WebKit/gtk/ChangeLog
+++ b/Source/WebKit/gtk/ChangeLog
@@ -1,3 +1,504 @@
+2011-03-07 Sam Weinig <sam@webkit.org>
+
+ Reviewed by Anders Carlsson.
+
+ Replace WebKit2's decidePolicyForMIMEType with decidePolicyForResponse
+ https://bugs.webkit.org/show_bug.cgi?id=55827
+
+ Renamed FrameLoaderClient::dispatchDecidePolicyForMIMEType to dispatchDecidePolicyForResponse
+ and pass the entire response, instead of just the MIMEType.
+
+ * WebCoreSupport/FrameLoaderClientGtk.cpp:
+ (WebKit::FrameLoaderClient::dispatchDecidePolicyForResponse):
+ * WebCoreSupport/FrameLoaderClientGtk.h:
+
+2011-03-01 Martin Robinson <mrobinson@igalia.com>
+
+ Reviewed by Xan Lopez.
+
+ [GTK] Windowless plugins override the view cursor
+ https://bugs.webkit.org/show_bug.cgi?id=55531
+
+ * WebCoreSupport/ChromeClientGtk.cpp:
+ (WebKit::ChromeClient::setCursor): Moved the implementation of setCursor here
+ which is more fitting since it sets the cursor for the entire window.
+
+2011-03-03 Brady Eidson <beidson@apple.com>
+
+ Reviewed by Darin Adler.
+
+ https://bugs.webkit.org/show_bug.cgi?id=55721
+ Global IconDatabase should be returned by reference, not as a pointer
+
+ * webkit/webkitglobals.cpp:
+ (closeIconDatabaseOnExit):
+ (WebKit::setIconDatabaseEnabled):
+ * webkit/webkitwebview.cpp:
+ (webkit_web_view_get_icon_uri):
+
+2011-03-03 Alexey Proskuryakov <ap@apple.com>
+
+ Removing an include of WebCoreKeyboardUIMode.h that Ive just added. It's already included
+ via ChromeClient.h
+
+ * WebCoreSupport/ChromeClientGtk.h:
+
+2011-03-02 Alexey Proskuryakov <ap@apple.com>
+
+ Reviewed by Darin Adler.
+
+ REGRESSION (WebKit2): Tab keys no longer observe Full Keyboard Access
+ https://bugs.webkit.org/show_bug.cgi?id=55633
+ <rdar://problem/8963023>
+
+ * WebCoreSupport/ChromeClientGtk.cpp: (WebKit::ChromeClient::keyboardUIMode):
+ * WebCoreSupport/ChromeClientGtk.h:
+ Implement keyboardUIMode() instead of tabsToLinks(). No change in functionality, since
+ this platform doesn't observe or have full keyboard access state.
+
+2011-03-03 Lukasz Slachciak <l.slachciak@samsung.com>
+
+ Reviewed by Xan Lopez.
+
+ [GTK] Extended application cache database API and added unit tests file.
+ https://bugs.webkit.org/show_bug.cgi?id=55335
+
+ * GNUmakefile.am: Add testapplicationcache.c and remove webkitapplicationcacheprivate.h.
+ * tests/testapplicationcache.c: Added.
+ (test_applicationcache_maximum_size): Tests if application cache storage is set/get correctly.
+ (test_applicationcache_database_directory_path): Tests if application cache directory path is set/get correctly.
+ (main):
+ * webkit/webkitapplicationcache.cpp:
+ (webkit_application_cache_get_maximum_size): New API for getting application cache maximum storage size.
+ * webkit/webkitapplicationcache.h: Declaration of API for getting/setting application cache maximum storage size.
+ * webkit/webkitapplicationcacheprivate.h: Removed.
+2011-03-03 Peter Kasting <pkasting@google.com>
+
+ Reviewed by James Robinson.
+
+ Drop redundant "Windows; " from the Windows-specific User Agent string.
+ https://bugs.webkit.org/show_bug.cgi?id=54567
+
+ * webkit/webkitwebsettings.cpp:
+ (webkitPlatform):
+ (webkitUserAgent):
+
+2011-03-02 Martin Robinson <mrobinson@igalia.com>
+
+ Reviewed by Xan Lopez.
+
+ Do a bit of cleanup in ChromeClientGtk. Instead of always fetching the
+ WebKitWebView from the frame, simply get it from the member variable of
+ the ChromeClientGtk instance itself.
+
+ * WebCoreSupport/ChromeClientGtk.cpp:
+ (WebKit::ChromeClient::scrollbarsVisible):
+ (WebKit::ChromeClient::exceededDatabaseQuota):
+ (WebKit::ChromeClient::requestGeolocationPermissionForFrame):
+ (WebKit::ChromeClient::cancelGeolocationPermissionRequestForFrame):
+ (WebKit::ChromeClient::enterFullscreenForNode):
+ (WebKit::ChromeClient::exitFullscreenForNode):
+
+2011-03-01 Joseph Pecoraro <joepeck@webkit.org>
+
+ Unreviewed. Roll out r80068 and r80073 due to breaking WebKit2 Qt port.
+
+ * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
+ (DumpRenderTreeSupportGtk::dumpConfigurationForViewport):
+ * webkit/webkitviewportattributes.cpp:
+ (webkitViewportAttributesRecompute):
+
+2011-03-01 Joseph Pecoraro <joepeck@webkit.org>
+
+ Reviewed by Kenneth Rohde Christiansen.
+
+ Viewport Warning/Error Messages Are Now Inaccurate
+ https://bugs.webkit.org/show_bug.cgi?id=53707
+
+ * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
+ (DumpRenderTreeSupportGtk::dumpConfigurationForViewport): pass a Document into computeViewportAttributes for warnings to be reported to.
+ * webkit/webkitviewportattributes.cpp:
+ (webkitViewportAttributesRecompute): pass a Document into computeViewportAttributes for warnings to be reported to.
+
+2011-03-01 Kamil Blank <k.blank@samsung.com>
+
+ Reviewed by Martin Robinson.
+
+ [GTK] Fixing headers order in webkit.h.
+ https://bugs.webkit.org/show_bug.cgi?id=55316
+
+ * webkit/webkit.h: Style fix.
+
+2011-03-01 Joone Hur <joone.hur@collabora.co.uk>
+
+ Reviewed by Martin Robinson.
+
+ [GTK] Convert use of cairo_t to RefPtr<cairo_t> in webkitwebiew.cpp
+ https://bugs.webkit.org/show_bug.cgi?id=55437
+
+ * webkit/webkitwebview.cpp: Convert use of cairo_t to RefPtr<cairo_t>.
+ (webkit_web_view_expose_event):
+
+2011-02-28 Chang Shu <cshu@webkit.org>
+
+ Reviewed by Ryosuke Niwa.
+
+ Remove the support of Frame::isContentEditable and its dependencies.
+ https://bugs.webkit.org/show_bug.cgi?id=54292
+
+ Remove the WebKit side implementation. Make WebKit support depend on Document::inDesignMode.
+
+ * WebCoreSupport/EditorClientGtk.cpp:
+ * WebCoreSupport/EditorClientGtk.h:
+ * webkit/webkitwebview.cpp:
+ (webkit_web_view_init):
+ (webkit_web_view_get_editable):
+ (webkit_web_view_set_editable):
+ * webkit/webkitwebviewprivate.h:
+
+2011-02-26 Lukasz Slachciak <l.slachciak@samsung.com>
+
+ Reviewed by Xan Lopez.
+
+ [GTK] Implemented API to set/get web application cache directory path database.
+
+ * GNUmakefile.am: Add webkitapplicationcache.h file.
+ * webkit/webkit.h: Add webkitapplicationcache.h file.
+ * webkit/webkitapplicationcache.cpp: definition of API setting and getting
+ web application cache directory path database.
+ (webkit_application_cache_get_database_directory_path):
+ (webkit_application_cache_set_database_directory_path):
+ * webkit/webkitapplicationcache.h: Added new API file for setting and getting
+ web application cache directory path database.
+ * webkit/webkitglobals.cpp:
+ (webkitInit): use webkit_application_cache_set_database_directory_path
+ to set default web application cache directory path database.
+
+2011-02-26 Vsevolod Vlasov <vsevik@chromium.org>
+
+ Reviewed by Pavel Feldman.
+
+ DumpRenderTree should reset frame opener between tests.
+ https://bugs.webkit.org/show_bug.cgi?id=54874
+
+ Added clearOpener method to DumpRenderTreeSupportGTK.
+
+ * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
+ (DumpRenderTreeSupportGtk::clearOpener):
+ * WebCoreSupport/DumpRenderTreeSupportGtk.h:
+
+2011-02-26 Kenneth Rohde Christiansen <kenneth@webkit.org>
+
+ Reviewed by Andreas Kling.
+
+ Make it possible to test the targetdensity-dpi support
+ https://bugs.webkit.org/show_bug.cgi?id=55142
+
+ Test the viewport meta tag feature targetdensity-dpi by
+ adding extra arguments to dumpConfigurationForViewport
+
+ * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
+ (DumpRenderTreeSupportGtk::dumpConfigurationForViewport):
+ * WebCoreSupport/DumpRenderTreeSupportGtk.h:
+
+2011-02-26 Sheriff Bot <webkit.review.bot@gmail.com>
+
+ Unreviewed, rolling out r79764.
+ http://trac.webkit.org/changeset/79764
+ https://bugs.webkit.org/show_bug.cgi?id=55295
+
+ "broke Chromium builds" (Requested by rniwa on #webkit).
+
+ * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
+ * WebCoreSupport/DumpRenderTreeSupportGtk.h:
+
+2011-02-26 Vsevolod Vlasov <vsevik@chromium.org>
+
+ Reviewed by Pavel Feldman.
+
+ DumpRenderTree should reset frame opener between tests.
+ https://bugs.webkit.org/show_bug.cgi?id=54874
+
+ Added clearOpener method to DumpRenderTreeSupportGTK.
+
+ * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
+ (DumpRenderTreeSupportGtk::clearOpener):
+ * WebCoreSupport/DumpRenderTreeSupportGtk.h:
+
+2011-02-24 Peter Kasting <pkasting@google.com>
+
+ Reviewed by Eric Seidel.
+
+ Drop the "U; " encryption level from the User Agent string.
+ https://bugs.webkit.org/show_bug.cgi?id=54566
+
+ * webkit/webkitwebsettings.cpp:
+ (webkitUserAgent):
+
+2011-02-24 Andrew Wilson <atwilson@chromium.org>
+
+ Unreviewed, rolling out r79570.
+ http://trac.webkit.org/changeset/79570
+ https://bugs.webkit.org/show_bug.cgi?id=54874
+
+ Breaks chromium build because glue/mocks/mock_web_frame.h/cc
+ was not updated
+
+ * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
+ * WebCoreSupport/DumpRenderTreeSupportGtk.h:
+
+2011-02-24 Vsevolod Vlasov <vsevik@chromium.org>
+
+ Reviewed by Alexey Proskuryakov.
+
+ DumpRenderTree should reset frame opener between tests.
+ https://bugs.webkit.org/show_bug.cgi?id=54874
+
+ Added clearOpener method to DumpRenderTreeSupportGTK.
+
+ * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
+ (DumpRenderTreeSupportGtk::clearOpener):
+ * WebCoreSupport/DumpRenderTreeSupportGtk.h:
+
+2011-02-22 Laszlo Gombos <laszlo.1.gombos@nokia.com>
+
+ Reviewed by Alexey Proskuryakov.
+
+ Drop the language tag part from the User Agent string
+ https://bugs.webkit.org/show_bug.cgi?id=54560
+
+ * webkit/webkitwebsettings.cpp:
+ (webkitUserAgent):
+
+2011-02-22 Martin Robinson <mrobinson@igalia.com>
+
+ Reviewed by Xan Lopez.
+
+ [GTK] position:fixed elements flicker while scrolling after r74196
+ https://bugs.webkit.org/show_bug.cgi?id=54981
+
+ * WebCoreSupport/ChromeClientGtk.cpp:
+ (WebKit::ChromeClient::ChromeClient): Initialize the new m_pendingScrollInvalidations
+ boolean to false.
+ (WebKit::ChromeClient::invalidateWindow): If this is an immediate invalidation and we
+ having pending scrolling invalidations, instruct GDK to process updates now.
+ (WebKit::ChromeClient::scroll): Remove the call to gdk_window_process_updates. Set
+ m_pendingScrollInvalidations to true to force it to happen in invalidateWindow instead.
+ * WebCoreSupport/ChromeClientGtk.h: Add new boolean member.
+
+2011-02-02 Martin Robinson <mrobinson@igalia.com>
+
+ Reviewed by Xan Lopez.
+
+ [GTK] DRT needs an implementation of LayoutTestController.setSelectTrailingWhitespace
+ https://bugs.webkit.org/show_bug.cgi?id=53603
+
+ Add setSelectTrailingWhitespaceEnabled and selectTrailingWhitespaceEnabled which allow
+ setting and querying the selectTrailingWhitespaceEnabled setting. EditorClient just
+ listens to this value during DRT runs. Perhaps later we can expose this to the public
+ API.
+
+ * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
+ (DumpRenderTreeSupportGtk::setSelectTrailingWhitespaceEnabled): Added
+ (DumpRenderTreeSupportGtk::selectTrailingWhitespaceEnabled): Added
+ * WebCoreSupport/DumpRenderTreeSupportGtk.h:
+ * WebCoreSupport/EditorClientGtk.cpp:
+ (WebKit::EditorClient::isSelectTrailingWhitespaceEnabled): Ask DRTSupportGtk
+ for the appropriate return value.
+
+2011-02-21 Alejandro G. Castro <alex@igalia.com>
+
+ Reviewed by Xan Lopez.
+
+ [GTK] [REGRESSION] After r79130, spell tests did not work
+ https://bugs.webkit.org/show_bug.cgi?id=54860
+
+ * WebCoreSupport/TextCheckerClientEnchant.cpp:
+ (WebKit::TextCheckerClientEnchant::checkSpellingOfString): Avoided
+ freeing the default PangoLanguage.
+ * webkit/webkitwebview.cpp:
+ (webkit_web_view_update_settings): Initialized list of dictionaries.
+
+2011-02-17 Ryosuke Niwa <rniwa@webkit.org>
+
+ Reviewed by Kent Tamura.
+
+ Rename Position::node() to Position::deprecatedNode()
+ https://bugs.webkit.org/show_bug.cgi?id=54622
+
+ Done the rename. All calls to node() are replaced by calls to deprecatedNode().
+
+ * webkit/webkitwebview.cpp:
+ (webkit_web_view_popup_menu_handler):
+
+2011-02-19 Ryuan Choi <ryuan.choi@samsung.com>
+
+ Reviewed by Martin Robinson.
+
+ [GTK] Remove mandatory Enchant dependency
+ https://bugs.webkit.org/show_bug.cgi?id=51587
+
+ Extract TextCheckerClientEnchant From EditorClientGtk and remove
+ enchant dependency from other files.
+
+ * GNUmakefile.am:
+ * WebCoreSupport/EditorClientGtk.cpp:
+ (WebKit::EditorClient::EditorClient):
+ * WebCoreSupport/EditorClientGtk.h:
+ (WebKit::EditorClient::textChecker):
+ * WebCoreSupport/TextCheckerClientEnchant.cpp: Added.
+ (WebKit::TextCheckerClientEnchant::TextCheckerClientEnchant):
+ (WebKit::TextCheckerClientEnchant::~TextCheckerClientEnchant):
+ (WebKit::TextCheckerClientEnchant::ignoreWordInSpellDocument):
+ (WebKit::TextCheckerClientEnchant::learnWord):
+ (WebKit::TextCheckerClientEnchant::checkSpellingOfString):
+ (WebKit::TextCheckerClientEnchant::getAutoCorrectSuggestionForMisspelledWord):
+ (WebKit::TextCheckerClientEnchant::checkGrammarOfString):
+ (WebKit::TextCheckerClientEnchant::getGuessesForWord):
+ (WebKit::getAvailableDictionariesCallback):
+ (WebKit::TextCheckerClientEnchant::updateSpellCheckingLanguage):
+ (WebKit::TextCheckerClientEnchant::freeSpellCheckingLanguage):
+ * WebCoreSupport/TextCheckerClientEnchant.h: Added.
+ (WebKit::TextCheckerClientEnchant::requestCheckingOfString):
+ * webkit/webkitwebsettings.cpp:
+ (webkit_web_settings_finalize):
+ (webkit_web_settings_set_property):
+ * webkit/webkitwebview.cpp:
+ (webkit_web_view_settings_notify):
+
+2011-02-19 Charlie Reis <creis@chromium.org>
+
+ Reviewed by Mihai Parparita.
+
+ Ensure loading has stopped in HistoryController::goToItem
+ https://bugs.webkit.org/show_bug.cgi?id=54517
+
+ Add a FrameLoaderClient callback for whether to stop loading before goToItem.
+
+ Test: http/tests/navigation/forward-to-fragment-fires-onload.html
+
+ * WebCoreSupport/FrameLoaderClientGtk.cpp:
+ (WebKit::FrameLoaderClientGtk::shouldStopLoadingForHistoryItem): Added.
+ * WebCoreSupport/FrameLoaderClientGtk.h:
+
+2011-02-18 Mario Sanchez Prada <msanchez@igalia.com>
+
+ Reviewed by Martin Robinson.
+
+ [Gtk] atk_text_get_selection/atk_text_set_selection fails for list items
+ https://bugs.webkit.org/show_bug.cgi?id=53453
+
+ Update unit test to check the fix for this bug.
+
+ * tests/testatk.c:
+ (testWebkitAtkTextSelections): Check that functions from AtkText
+ interface to set and get text selections work with list items.
+
+2011-02-17 Robert Ancell <rober.ancell@gmail.com>
+
+ Reviewed by Martin Robinson.
+
+ [PATCH] GTK documentation fails to build due to changed paths
+ https://bugs.webkit.org/show_bug.cgi?id=54600
+
+ * docs/GNUmakefile.am: Update the paths that have now moved the Source
+ directory.
+
+2011-02-16 Joone Hur <joone.hur@collabora.co.uk>
+
+ Reviewed by Xan Lopez.
+
+ [GTK] Match more various WebKit API enum values with WebCore enum values
+ https://bugs.webkit.org/show_bug.cgi?id=54352
+
+ AssertMatchingEnums.cpp was added to assert that various WebKit API enum values
+ continue matching WebCore defined enum values in the following changeset.
+ http://trac.webkit.org/changeset/77868
+ However, there are already enum values that have been asserted in other files,
+ so these assert macros defined need to be moved to AssertMatchingEnum.cpp.
+
+ * WebCoreSupport/AssertMatchingEnums.cpp: Add more enum values to be asserted.
+ * webkit/webkitwebnavigationaction.cpp:
+ (webkit_web_navigation_action_class_init): Move the assert macros of
+ WEBKIT_WEB_NAVIGATION_REASON_* to AssertMatchingEnums.cpp.
+ * webkit/webkitwebsettings.cpp:
+ (webkit_web_settings_class_init): Move the assert macros of WEBKIT_EDITING_BEHAVIOR_*
+ to AssertMatchingEnums.cpp.
+
+2011-02-16 Mario Sanchez Prada <msanchez@igalia.com>
+
+ Reviewed by Martin Robinson.
+
+ [GTK] events missing when a document is (re)loaded
+ https://bugs.webkit.org/show_bug.cgi?id=25831
+
+ Emit the right signals when reloading a document.
+
+ * WebCoreSupport/FrameLoaderClientGtk.cpp:
+ (WebKit::notifyAccessibilityStatus): New function, to make sure
+ the signals involved in reloading a document are properly emitted.
+ (WebKit::notifyStatus): Also notify accessibility if enabled.
+
+2011-02-15 Kenneth Russell <kbr@google.com>
+
+ Reviewed by Darin Fisher.
+
+ Allow controlling minimum DOMTimer interval on a per-page basis
+ https://bugs.webkit.org/show_bug.cgi?id=54312
+
+ Added needed methods to implement LayoutTestController's new
+ setMinimumTimerInterval method.
+
+ * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
+ (DumpRenderTreeSupportGtk::defaultMinimumTimerInterval):
+ (DumpRenderTreeSupportGtk::setMinimumTimerInterval):
+ * WebCoreSupport/DumpRenderTreeSupportGtk.h:
+
+2011-02-15 Christian Dywan <christian@lanedo.com>
+
+ Rubber-stamped by Gustavo Noronha Silva.
+
+ * webkit/webkitwebsettings.cpp: Correct a typo, it is
+ acces*s*ibility with two s.
+
+2011-01-26 MORITA Hajime <morrita@google.com>
+
+ Reviewed by Ryosuke Niwa.
+
+ Refactoring: Extract TextCheckerClient from EditorClient
+ https://bugs.webkit.org/show_bug.cgi?id=53213
+
+ * WebCoreSupport/EditorClientGtk.h:
+ (WebKit::EditorClient::textChecker):
+
+2011-02-07 Ryosuke Niwa <rniwa@webkit.org>
+
+ Reviewed by Adam Barth.
+
+ Add EditorClient callbacks to override isDOMPasteAllowed and javaScriptCanAccessClipboard
+ https://bugs.webkit.org/show_bug.cgi?id=52417
+
+ Added two callback functions, canCopyCut and canPaste to EditorClient. They are currently
+ not implemented.
+
+ * WebCoreSupport/EditorClientGtk.cpp:
+ (WebKit::EditorClient::canCopyCut): Added.
+ (WebKit::EditorClient::canPaste): Added.
+ * WebCoreSupport/EditorClientGtk.h:
+
+2011-02-14 Alejandro G. Castro <alex@igalia.com>
+
+ Reviewed by Xan Lopez.
+
+ [GTK] testwebdatasource test fails in the bots
+ https://bugs.webkit.org/show_bug.cgi?id=54414
+
+ Changed the uri we check, added www to avoid the rewrite that we
+ get when we as the uri to the request in case it finishes.
+
+ * tests/testwebdatasource.c:
+ (notify_load_status_cb):
+
2011-02-11 Sheriff Bot <webkit.review.bot@gmail.com>
Unreviewed, rolling out r78331.
diff --git a/Source/WebKit/gtk/GNUmakefile.am b/Source/WebKit/gtk/GNUmakefile.am
index d207e00..42ac1e4 100644
--- a/Source/WebKit/gtk/GNUmakefile.am
+++ b/Source/WebKit/gtk/GNUmakefile.am
@@ -29,6 +29,15 @@ libwebkitgtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_CFLA
$(SYMBOL_VISIBILITY) \
$(global_cflags)
+if ENABLE_SPELLCHECK
+webkitgtk_cppflags += \
+ -DENABLE_SPELLCHECK=1
+
+webkitgtk_sources += \
+ Source/WebKit/gtk/WebCoreSupport/TextCheckerClientEnchant.cpp \
+ Source/WebKit/gtk/WebCoreSupport/TextCheckerClientEnchant.h
+endif
+
# When building WebCore/WebKit, we want WebCore/config.h and NOT JavaScriptCore/config.h,
# hence, it's important that WebCore/ should come first before JavaScriptCore in the
# include path.
@@ -47,6 +56,7 @@ libwebkitgtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_CPPF
$(webcore_cppflags) \
$(webcoregtk_cppflags) \
$(javascriptcore_cppflags) \
+ $(webkitgtk_cppflags) \
-fno-strict-aliasing \
$(HILDON_CPPFLAGS) \
$(COVERAGE_CFLAGS) \
@@ -99,6 +109,7 @@ libwebkitgtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_LIBA
webkitgtk_static_h_api += \
$(srcdir)/Source/WebKit/gtk/webkit/webkit.h \
+ $(srcdir)/Source/WebKit/gtk/webkit/webkitapplicationcache.h \
$(srcdir)/Source/WebKit/gtk/webkit/webkitdefines.h \
$(srcdir)/Source/WebKit/gtk/webkit/webkitdownload.h \
$(srcdir)/Source/WebKit/gtk/webkit/webkiterror.h \
@@ -182,7 +193,6 @@ webkitgtk_sources += \
Source/WebKit/gtk/WebCoreSupport/PasteboardHelperGtk.cpp \
Source/WebKit/gtk/WebCoreSupport/PasteboardHelperGtk.h \
Source/WebKit/gtk/webkit/webkitapplicationcache.cpp \
- Source/WebKit/gtk/webkit/webkitapplicationcacheprivate.h \
Source/WebKit/gtk/webkit/webkitdownload.cpp \
Source/WebKit/gtk/webkit/webkitdownloadprivate.h \
Source/WebKit/gtk/webkit/webkiterror.cpp \
@@ -399,6 +409,7 @@ webkit_tests_ldflags = \
-no-fast-install
TEST_PROGS += \
+ Programs/unittests/testapplicationcache \
Programs/unittests/testdomdocument \
Programs/unittests/testdomdomwindow \
Programs/unittests/testdomnode \
@@ -425,6 +436,11 @@ TEST_PROGS += \
Programs/unittests/testcopyandpaste
# Add additional tests here
+Programs_unittests_testapplicationcache_SOURCES = Source/WebKit/gtk/tests/testapplicationcache.c
+Programs_unittests_testapplicationcache_CFLAGS = $(webkit_tests_cflags)
+Programs_unittests_testapplicationcache_LDADD = $(webkit_tests_ldadd)
+Programs_unittests_testapplicationcache_LDFLAGS = $(webkit_tests_ldflags)
+
Programs_unittests_testdomdocument_SOURCES = Source/WebKit/gtk/tests/testdomdocument.c
Programs_unittests_testdomdocument_CFLAGS = $(webkit_tests_cflags)
Programs_unittests_testdomdocument_LDADD = $(webkit_tests_ldadd)
diff --git a/Source/WebKit/gtk/NEWS b/Source/WebKit/gtk/NEWS
index 8d6e88e..a7e4581 100644
--- a/Source/WebKit/gtk/NEWS
+++ b/Source/WebKit/gtk/NEWS
@@ -1,4 +1,134 @@
=================
+WebKitGTK+ 1.3.12
+=================
+
+What's new in WebKitGTK+ 1.3.12?
+
+ - Removed mandatory Enchant dependency.
+ - Libsoup required version bumped to 2.33.6.
+ - HTML5 media volume managment improvements.
+ - Updated translations.
+ - A11y bugfixes.
+ - Many other bugfixes.
+
+
+WebKit bugs mostly relevant with the GTK+ port fixed since 1.3.11:
+
+Bug 42496 - Update Simplified Chinese (zh_CN) translation of WebKitGtk (Christian Dywan)
+Bug 53771 - [GTK] fast/events/pagehide-timeout.html fails (Martin Robinson)
+Bug 13343 - getComputedStyle returns wrong value for margin-right (Jarred Nicholls)
+Bug 53797 - [GTK] WebKitWebFrame can return a stale frame name when calling webkit_web_frame_get_name (Martin Robinson)
+Bug 52775 - WebKit2: add support for drag and drop on Windows (Enrica Casucci)
+Bug 54312 - Allow controlling minimum DOMTimer interval on a per-page basis (Kenneth Russell)
+Bug 54323 - [Freetype] Better map CSS font weight to Fontconfig font weight (Martin Robinson)
+Bug 50237 - [Gtk] Implement layoutTestController.findString (Joone Hur)
+Bug 53686 - Web Inspector: remove settings related methods from InspectorClient (Yury Semikhatsky)
+Bug 53833 - [GTK] plugins/plugin-document-back-forward.html fails (Martin Robinson, Adam Barth)
+Bug 54860 - [GTK] [REGRESSION] After r79130, spell tests did not work (Alejandro G. Castro)
+Bug 54352 - [GTK] Match more various WebKit API enum values with WebCore enum values (Joone Hur)
+Bug 54116 - [GTK] Add support in DRT to log "accessibility events" (Mario Sanchez Prada)
+Bug 52836 - [GTK] Move scrollbar rendering out of gtk2drawing.c (Martin Robinson)
+Bug 39022 - [GTK] Some test results are one pixel different between the x86_64 and i386 bots (Alejandro G. Castro)
+Bug 54895 - [GTK] editing/pasteboard/dataTransfer-setData-getData.html fails (Martin Robinson, Alejandro G. Castro)
+Bug 54389 - [GTK] http/tests/misc/generated-content-inside-table.html does not work in the bots (Alejandro G. Castro)
+Bug 54410 - SVG animation doesn't support attribute value 'inherit' (Dirk Schulze)
+Bug 54414 - [GTK] testwebdatasource test fails in the bots (Alejandro G. Castro)
+Bug 52880 - [GTK] Implement PlatformKeyboardEvent::getCurrentModifierState() (Carlos Garcia Campos)
+Bug 54418 - r78499 causes assertion failure in http/tests/xmlhttprequest/cache-override.html (Mario Sanchez Prada)
+Bug 54427 - [Chromium] Rendering error of spin buttons on layers (Kent Tamura)
+Bug 52384 - Plumb mixed script URL to FrameLoaderClient (Adam Langley)
+Bug 53104 - Intermittent crash in fast/files/read-blob-async.html on the GTK+ debug bots (Jian Li)
+Bug 54437 - Web Inspector: move rest of the tests off old harness. (Pavel Feldman)
+Bug 54449 - notImplemented() should behave identical in WebCore and WebKit2 (Balazs Kelemen)
+Bug 34482 - Please add Greek translation of WebkitGTK+ (Christian Dywan)
+Bug 51379 - Convert <keygen> option elements to a shadow DOM (Dominic Cooney)
+Bug 52919 - Stop instantiating legacy editing Positions in VisiblePosition (Levi Weintraub)
+Bug 54458 - [Gtk] Cleanup in the canvas tests (Zan Dobersek)
+Bug 53436 - [Gtk] atk_text_get_caret_offset fails for list items (Mario Sanchez Prada)
+Bug 53962 - [GTK] EventSender.keyDown does not support non-array modifier arguments (Martin Robinson)
+Bug 52417 - Add EditorClient callbacks to override isDOMPasteAllowed and javaScriptCanAccessClipboard (Ryosuke Niwa)
+Bug 53954 - Move the sputnik test suite out of fast/js/ (James Robinson)
+Bug 54470 - [GTK] svg/text/select-textLength-spacing-squeeze-1.svg crashes due to ASSERT failing (Mario Sanchez Prada)
+Bug 54474 - Pixel tests differences on 10.6.6 32bit vs. 64bit (Nikolas Zimmermann)
+Bug 53453 - [Gtk] atk_text_get_selection/atk_text_set_selection fails for list items (Mario Sanchez Prada)
+Bug 54491 - [cairo][canvas] Drawing from/into float rectangles with width or height in range 0 to 1 fails (Zan Dobersek)
+Bug 54495 - Crash in EventHandler::sendContextMenuEventForKey (Emil A Eklund)
+Bug 53984 - Remove orphan code from old parser (Adam Barth)
+Bug 3812 - XMLHttpRequest: PUT, DELETE, HEAD and all other methods but POST actually do a GET (Sergio Villar Senin)
+Bug 53989 - svg/custom/use-multiple-on-nested-disallowed-font.html sometimes fails an assertion in StyleSelectorParentPusher (Mario Sanchez Prada)
+Bug 50918 - [GStreamer] media/video-zoom-controls.html fails (Philippe Normand)
+Bug 25831 - [GTK] events missing when a document is (re)loaded (Mario Sanchez Prada)
+Bug 53992 - fast/loader/onload-willSendRequest-null-for-frame.html times out in GTK 32-bit debug bot (Mario Sanchez Prada)
+Bug 53995 - editing/selection/end-of-document.html is failing in the GTK 64-bit debug bot (Mario Sanchez Prada)
+Bug 34543 - [Gtk] Please add Hungarian translation (Christian Dywan)
+Bug 44784 - [GTK] fast/history/history-subframe-with-name.html fails with GTK DRT (Martin Robinson)
+Bug 54517 - Ensure loading has stopped in HistoryController::goToItem (Charlie Reis)
+Bug 54011 - [GTK] Fix after r77874, m_isConnected is initialized before the socket is opened (Alejandro G. Castro)
+Bug 54014 - [GTK] Incorrect assertion in WorkQueueGtk, we need to register more than one handle (Alejandro G. Castro)
+Bug 54015 - [GTK] Avoid WebProcessMain compilation, we are used a gtk specific main (Alejandro G. Castro)
+Bug 39168 - Canvas: 2d.fillStyle.parse.system.html fails (Andreas Kling)
+Bug 52997 - [GTK] DRT's TextInputController is unimplemented on GTK (Carlos Garcia Campos)
+Bug 49414 - Implement ECMAScript I18N APIs (proposed) (Nebojsa Ciric)
+Bug 54537 - [Gtk] Add support for layoutTestController.setWillSendRequestClearHeader (Sergio Villar Senin)
+Bug 54033 - [GTK] DRT needs an implementation of LayoutTestController.setIconDatabaseEnabled (Martin Robinson)
+Bug 54035 - [GTK] Remove the last remnants of the Mozilla theme drawing code (Martin Robinson)
+Bug 53529 - [fileapi] Add support for filesystem: URI handling (Adam Klein)
+Bug 54557 - [GTK] libsoup critical warnings (Philippe Normand)
+Bug 54057 - [GTK] Build break with 2.18.3 (Ryuan Choi)
+Bug 50489 - Move DocumentWriter to DocumentLoader (Nate Chapin)
+Bug 53898 - Add built-in decoder for UTF-8 for improved performance (Darin Adler)
+Bug 54078 - [GTK] Add WebGraphicsContext stub to the compilation (Alejandro G. Castro)
+Bug 54080 - [GTK] Implement UpdateChunk, ChunkedUpdateDrawingArea/Proxy classes for WebKit2 (Chandra Vallala <chandra.vallala@motorola.com> and Alejandro G. Castro)
+Bug 54081 - [GTK] Implement WKBaseGtk API for Webkit2 (Chandra Vallala <chandra.vallala@motorola.com> and Alejandro G. Castro)
+Bug 54600 - [PATCH] GTK documentation fails to build due to changed paths (Robert Ancell)
+Bug 42833 - Brazilian Portuguese Translation Update (Christian Dywan)
+Bug 50518 - [GTK] media/controls-without-preload.html is flacky on 32-bits Debug (Philippe Normand)
+Bug 54106 - frames/flattening/iframe-flattening-crash.html fails on GTK. (Yael Aharon)
+Bug 54622 - Rename Position::node() to Position::deprecatedNode() (Ryosuke Niwa)
+Bug 54626 - [GTK] accessibility/canvas-fallback-content.html is failing on GTK bots (Mario Sanchez Prada)
+Bug 54627 - [GStreamer] URI queries support in webkitwebsrc (Andoni Morales Alastruey)
+Bug 54628 - [GStreamer] Add 'location' property in webkitwebsrc (Andoni Morales Alastruey)
+Bug 54117 - Replace static_cast<HTMLElement*> with toHTMLElement (Yael Aharon)
+Bug 54631 - [GTK] media/video-controls-in-media-document.html potentially flaky (Philippe Normand)
+Bug 53991 - fast/frames/sandboxed-iframe-storage.html is flaky (Mario Sanchez Prada)
+Bug 54637 - [GTK] media/video-display-toggle.html is flaky on debug bots (Philippe Normand)
+Bug 44400 - Attached is the Bulgarian translation of WebKit Gtk (Christian Dywan)
+Bug 30580 - [GTK] Failing canvas security tests (Sergio Villar Senin)
+Bug 46455 - [l10n] Indonesian translation (Christian Dywan)
+Bug 52090 - [Soup] ResourceHandleSoup does not ever call didSendData for file uploads (Martin Robinson)
+Bug 54140 - [GStreamer] Video player sets system volume to 100% (Philippe Normand)
+Bug 48510 - [GTK] Implement WebEventFactory, WebErrors classes for WebKit2 (Amruth Raj <amruthraj@motorola.com> and Ravi Phaneendra Kasibhatla)
+Bug 54592 - [GTK] r78718 introduced some assertion failures in some HTTP tests (Martin Robinson)
+Bug 51587 - [GTK] Remove mandatory Enchant dependency (Ryuan Choi)
+Bug 53125 - [GTK] LayoutTests/media/audio-mpeg4-supported.html fails (Philippe Normand)
+Bug 54157 - [GTK] Default error page is interfering with tests which require failed loads (Martin Robinson)
+Bug 51602 - [GStreamer] wrong media duration report in media/controls-after-reload.html (Philippe Normand)
+Bug 53146 - [GTK] Combo boxes should emit object:selection-changed even when collapsed (Philippe Normand, Mario Sanchez Prada)
+Bug 53487 - [Gtk] No need to set text encoding in the provisional phase (Joone Hur)
+Bug 53667 - [GTK] fast/history/timed-refresh-in-cached-frame.html fails after r77355 (Philippe Normand)
+Bug 54185 - [GTK] Reset GTK' DRT's AccessibilityController to consistent value before every test (Mario Sanchez Prada)
+Bug 53680 - [GTK] fast/frames/sandboxed-iframe-scripting.html is flaky (Philippe Normand)
+Bug 53169 - Web Inspector: move InspectorController's methods from InspectorAgent to InspectorController (Ilya Tikhonovsky)
+Bug 53683 - [GTK] Flaky websocket tests on 32-bits Release (Philippe Normand)
+Bug 54198 - [GTK] Log signals from AtkDocument interface also in AccessibilityController (Mario Sanchez Prada)
+Bug 36340 - Arabic translation (Christian Dywan)
+Bug 54210 - [GTK] fast/text/atsui* tests failing on 32-bit Debug (Philippe Normand)
+Bug 54212 - [GTK] fast/text/international/hindi-whitespace.html fails (Philippe Normand)
+Bug 50126 - Fallback content in canvas element not focusable (Dominic Mazzoni)
+Bug 53716 - JSC::Bindings m_rootObject->isValid() assert fails when running layout tests (Michael Saboff, Martin Robinson)
+Bug 54231 - [GDOM] Video element needs proper wrapping (Gustavo Noronha Silva)
+Bug 53213 - Refactoring: Extract TextCheckerClient from EditorClient (MORITA Hajime)
+Bug 54244 - Convert the line box tree to floating point and eliminate font rounding hacks (David Hyatt)
+Bug 53733 - Timers can fire after a frame has been put into the page cache (Sergio Villar Senin)
+Bug 46567 - [l10n] Polish translation of WebKitGTK+ (Christian Dywan)
+Bug 54260 - HTML5 <details> and <summary>: localized text (Luiz Agostini)
+Bug 53673 - [GTK] fast/files/workers/worker-read-blob-async.html is flaky (Philippe Normand)
+Bug 26108 - French translation for Webkit/GTK (Christian Dywan)
+Bug 53247 - [GTK] media/audio-delete-while-slider-thumb-clicked.html is flaky (Philippe Normand)
+
+
+
+=================
WebKitGTK+ 1.3.11
=================
diff --git a/Source/WebKit/gtk/WebCoreSupport/AssertMatchingEnums.cpp b/Source/WebKit/gtk/WebCoreSupport/AssertMatchingEnums.cpp
index 9c596f8..298f329 100644
--- a/Source/WebKit/gtk/WebCoreSupport/AssertMatchingEnums.cpp
+++ b/Source/WebKit/gtk/WebCoreSupport/AssertMatchingEnums.cpp
@@ -22,15 +22,29 @@
#include "config.h"
#include "DumpRenderTreeSupportGtk.h"
+#include "EditingBehaviorTypes.h"
#include "FindOptions.h"
+#include "FrameLoaderTypes.h"
+#include "webkitwebnavigationaction.h"
+#include "webkitwebsettings.h"
#include <wtf/Assertions.h>
#define COMPILE_ASSERT_MATCHING_ENUM(webkit_name, webcore_name) \
- COMPILE_ASSERT(int(WebKit::webkit_name) == int(WebCore::webcore_name), mismatching_enums)
+ COMPILE_ASSERT(int(webkit_name) == int(WebCore::webcore_name), mismatching_enums)
-COMPILE_ASSERT_MATCHING_ENUM(WebFindOptionsCaseInsensitive , CaseInsensitive);
-COMPILE_ASSERT_MATCHING_ENUM(WebFindOptionsAtWordStarts, AtWordStarts);
-COMPILE_ASSERT_MATCHING_ENUM(WebFindOptionsTreatMedialCapitalAsWordStart, TreatMedialCapitalAsWordStart);
-COMPILE_ASSERT_MATCHING_ENUM(WebFindOptionsBackwards, Backwards);
-COMPILE_ASSERT_MATCHING_ENUM(WebFindOptionsWrapAround, WrapAround);
-COMPILE_ASSERT_MATCHING_ENUM(WebFindOptionsStartInSelection, StartInSelection);
+COMPILE_ASSERT_MATCHING_ENUM(WEBKIT_EDITING_BEHAVIOR_MAC, EditingMacBehavior);
+COMPILE_ASSERT_MATCHING_ENUM(WEBKIT_EDITING_BEHAVIOR_WINDOWS, EditingWindowsBehavior);
+COMPILE_ASSERT_MATCHING_ENUM(WEBKIT_EDITING_BEHAVIOR_UNIX, EditingUnixBehavior);
+
+COMPILE_ASSERT_MATCHING_ENUM(WEBKIT_WEB_NAVIGATION_REASON_LINK_CLICKED, NavigationTypeLinkClicked);
+COMPILE_ASSERT_MATCHING_ENUM(WEBKIT_WEB_NAVIGATION_REASON_FORM_SUBMITTED, NavigationTypeFormSubmitted);
+COMPILE_ASSERT_MATCHING_ENUM(WEBKIT_WEB_NAVIGATION_REASON_BACK_FORWARD, NavigationTypeBackForward);
+COMPILE_ASSERT_MATCHING_ENUM(WEBKIT_WEB_NAVIGATION_REASON_RELOAD, NavigationTypeReload);
+COMPILE_ASSERT_MATCHING_ENUM(WEBKIT_WEB_NAVIGATION_REASON_FORM_RESUBMITTED, NavigationTypeFormResubmitted);
+COMPILE_ASSERT_MATCHING_ENUM(WEBKIT_WEB_NAVIGATION_REASON_OTHER, NavigationTypeOther);
+
+COMPILE_ASSERT_MATCHING_ENUM(WebKit::WebFindOptionsAtWordStarts, AtWordStarts);
+COMPILE_ASSERT_MATCHING_ENUM(WebKit::WebFindOptionsTreatMedialCapitalAsWordStart, TreatMedialCapitalAsWordStart);
+COMPILE_ASSERT_MATCHING_ENUM(WebKit::WebFindOptionsBackwards, Backwards);
+COMPILE_ASSERT_MATCHING_ENUM(WebKit::WebFindOptionsWrapAround, WrapAround);
+COMPILE_ASSERT_MATCHING_ENUM(WebKit::WebFindOptionsStartInSelection, StartInSelection);
diff --git a/Source/WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp b/Source/WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp
index bbfdd72..8e828ac 100644
--- a/Source/WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp
+++ b/Source/WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp
@@ -72,6 +72,7 @@ namespace WebKit {
ChromeClient::ChromeClient(WebKitWebView* webView)
: m_webView(webView)
, m_closeSoonTimer(0)
+ , m_pendingScrollInvalidations(false)
{
ASSERT(m_webView);
}
@@ -218,7 +219,8 @@ void ChromeClient::setScrollbarsVisible(bool visible)
g_object_set(webWindowFeatures, "scrollbar-visible", visible, NULL);
}
-bool ChromeClient::scrollbarsVisible() {
+bool ChromeClient::scrollbarsVisible()
+{
WebKitWebWindowFeatures* webWindowFeatures = webkit_web_view_get_window_features(m_webView);
gboolean visible;
@@ -353,12 +355,13 @@ bool ChromeClient::shouldInterruptJavaScript()
return false;
}
-bool ChromeClient::tabsToLinks() const
+KeyboardUIMode ChromeClient::keyboardUIMode()
{
+ bool tabsToLinks = true;
if (DumpRenderTreeSupportGtk::dumpRenderTreeModeEnabled())
- return DumpRenderTreeSupportGtk::linksIncludedInFocusChain();
+ tabsToLinks = DumpRenderTreeSupportGtk::linksIncludedInFocusChain();
- return true;
+ return tabsToLinks ? KeyboardAccessTabsToLinks : KeyboardAccessDefault;
}
IntRect ChromeClient::windowResizerRect() const
@@ -367,9 +370,16 @@ IntRect ChromeClient::windowResizerRect() const
return IntRect();
}
-void ChromeClient::invalidateWindow(const IntRect&, bool)
+void ChromeClient::invalidateWindow(const IntRect&, bool immediate)
{
- notImplemented();
+ // If we've invalidated regions for scrolling, force GDK to process those invalidations
+ // now. This will also cause child windows to move right away. This prevents redraw
+ // artifacts with child windows (e.g. Flash plugin instances).
+ if (immediate && m_pendingScrollInvalidations) {
+ m_pendingScrollInvalidations = false;
+ if (GdkWindow* window = gtk_widget_get_window(GTK_WIDGET(m_webView)))
+ gdk_window_process_updates(window, TRUE);
+ }
}
void ChromeClient::invalidateContentsAndWindow(const IntRect& updateRect, bool immediate)
@@ -396,6 +406,8 @@ void ChromeClient::scroll(const IntSize& delta, const IntRect& rectToScroll, con
if (!window)
return;
+ m_pendingScrollInvalidations = true;
+
// We cannot use gdk_window_scroll here because it is only able to
// scroll the whole window at once, and we often need to scroll
// portions of the window only (think frames).
@@ -433,8 +445,6 @@ void ChromeClient::scroll(const IntSize& delta, const IntRect& rectToScroll, con
gdk_window_invalidate_region(window, invalidRegion, FALSE);
cairo_region_destroy(invalidRegion);
#endif
-
- gdk_window_process_updates(window, TRUE);
}
// FIXME: this does not take into account the WM decorations
@@ -577,11 +587,9 @@ void ChromeClient::exceededDatabaseQuota(Frame* frame, const String& databaseNam
DatabaseTracker::tracker().setQuota(frame->document()->securityOrigin(), defaultQuota);
WebKitWebFrame* webFrame = kit(frame);
- WebKitWebView* webView = getViewFromFrame(webFrame);
-
WebKitSecurityOrigin* origin = webkit_web_frame_get_security_origin(webFrame);
WebKitWebDatabase* webDatabase = webkit_security_origin_get_web_database(origin, databaseName.utf8().data());
- g_signal_emit_by_name(webView, "database-quota-exceeded", webFrame, webDatabase);
+ g_signal_emit_by_name(m_webView, "database-quota-exceeded", webFrame, webDatabase);
}
#endif
@@ -603,7 +611,7 @@ void ChromeClient::runOpenPanel(Frame*, PassRefPtr<FileChooser> prpFileChooser)
RefPtr<FileChooser> chooser = prpFileChooser;
GtkWidget* dialog = gtk_file_chooser_dialog_new(_("Upload File"),
- GTK_WINDOW(gtk_widget_get_toplevel(GTK_WIDGET(platformPageClient()))),
+ GTK_WINDOW(gtk_widget_get_toplevel(GTK_WIDGET(m_webView))),
GTK_FILE_CHOOSER_ACTION_OPEN,
GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
GTK_STOCK_OPEN, GTK_RESPONSE_ACCEPT,
@@ -644,29 +652,33 @@ void ChromeClient::dispatchViewportDataDidChange(const ViewportArguments& argume
webkitViewportAttributesRecompute(webkit_web_view_get_viewport_attributes(m_webView));
}
-void ChromeClient::setCursor(const Cursor&)
+void ChromeClient::setCursor(const Cursor& cursor)
{
- notImplemented();
+ // [GTK] Widget::setCursor() gets called frequently
+ // http://bugs.webkit.org/show_bug.cgi?id=16388
+ // Setting the cursor may be an expensive operation in some backends,
+ // so don't re-set the cursor if it's already set to the target value.
+ GdkWindow* window = gtk_widget_get_window(platformPageClient());
+ GdkCursor* currentCursor = gdk_window_get_cursor(window);
+ GdkCursor* newCursor = cursor.platformCursor().get();
+ if (currentCursor != newCursor)
+ gdk_window_set_cursor(window, newCursor);
}
void ChromeClient::requestGeolocationPermissionForFrame(Frame* frame, Geolocation* geolocation)
{
WebKitWebFrame* webFrame = kit(frame);
- WebKitWebView* webView = getViewFromFrame(webFrame);
-
GRefPtr<WebKitGeolocationPolicyDecision> policyDecision(adoptGRef(webkit_geolocation_policy_decision_new(webFrame, geolocation)));
gboolean isHandled = FALSE;
- g_signal_emit_by_name(webView, "geolocation-policy-decision-requested", webFrame, policyDecision.get(), &isHandled);
+ g_signal_emit_by_name(m_webView, "geolocation-policy-decision-requested", webFrame, policyDecision.get(), &isHandled);
if (!isHandled)
webkit_geolocation_policy_deny(policyDecision.get());
}
void ChromeClient::cancelGeolocationPermissionRequestForFrame(WebCore::Frame* frame, WebCore::Geolocation*)
{
- WebKitWebFrame* webFrame = kit(frame);
- WebKitWebView* webView = getViewFromFrame(webFrame);
- g_signal_emit_by_name(webView, "geolocation-policy-decision-cancelled", webFrame);
+ g_signal_emit_by_name(m_webView, "geolocation-policy-decision-cancelled", kit(frame));
}
bool ChromeClient::selectItemWritingDirectionIsNatural()
@@ -698,18 +710,12 @@ bool ChromeClient::supportsFullscreenForNode(const Node* node)
void ChromeClient::enterFullscreenForNode(Node* node)
{
- WebCore::Frame* frame = node->document()->frame();
- WebKitWebFrame* webFrame = kit(frame);
- WebKitWebView* webView = getViewFromFrame(webFrame);
- webViewEnterFullscreen(webView, node);
+ webViewEnterFullscreen(m_webView, node);
}
void ChromeClient::exitFullscreenForNode(Node* node)
{
- WebCore::Frame* frame = node->document()->frame();
- WebKitWebFrame* webFrame = kit(frame);
- WebKitWebView* webView = getViewFromFrame(webFrame);
- webViewExitFullscreen(webView);
+ webViewExitFullscreen(m_webView);
}
#endif
diff --git a/Source/WebKit/gtk/WebCoreSupport/ChromeClientGtk.h b/Source/WebKit/gtk/WebCoreSupport/ChromeClientGtk.h
index d7644eb..462ddc4 100644
--- a/Source/WebKit/gtk/WebCoreSupport/ChromeClientGtk.h
+++ b/Source/WebKit/gtk/WebCoreSupport/ChromeClientGtk.h
@@ -91,7 +91,7 @@ namespace WebKit {
virtual bool runJavaScriptPrompt(WebCore::Frame*, const WTF::String& message, const WTF::String& defaultValue, WTF::String& result);
virtual void setStatusbarText(const WTF::String&);
virtual bool shouldInterruptJavaScript();
- virtual bool tabsToLinks() const;
+ virtual WebCore::KeyboardUIMode keyboardUIMode();
virtual WebCore::IntRect windowResizerRect() const;
@@ -154,6 +154,7 @@ namespace WebKit {
WebKitWebView* m_webView;
WebCore::KURL m_hoveredLinkURL;
unsigned int m_closeSoonTimer;
+ bool m_pendingScrollInvalidations;
};
}
diff --git a/Source/WebKit/gtk/WebCoreSupport/DumpRenderTreeSupportGtk.cpp b/Source/WebKit/gtk/WebCoreSupport/DumpRenderTreeSupportGtk.cpp
index 83f7c21..6db2c81 100644
--- a/Source/WebKit/gtk/WebCoreSupport/DumpRenderTreeSupportGtk.cpp
+++ b/Source/WebKit/gtk/WebCoreSupport/DumpRenderTreeSupportGtk.cpp
@@ -48,6 +48,7 @@
#include "RenderTreeAsText.h"
#include "RenderView.h"
#include "SecurityOrigin.h"
+#include "Settings.h"
#include "TextIterator.h"
#include "WorkerThread.h"
#include "webkitglobalsprivate.h"
@@ -68,6 +69,7 @@ using namespace WebKit;
bool DumpRenderTreeSupportGtk::s_drtRun = false;
bool DumpRenderTreeSupportGtk::s_linksIncludedInTabChain = true;
+bool DumpRenderTreeSupportGtk::s_selectTrailingWhitespaceEnabled = false;
DumpRenderTreeSupportGtk::DumpRenderTreeSupportGtk()
{
@@ -101,6 +103,16 @@ void DumpRenderTreeSupportGtk::setIconDatabaseEnabled(bool enabled)
WebKit::setIconDatabaseEnabled(enabled);
}
+void DumpRenderTreeSupportGtk::setSelectTrailingWhitespaceEnabled(bool enabled)
+{
+ s_selectTrailingWhitespaceEnabled = enabled;
+}
+
+bool DumpRenderTreeSupportGtk::selectTrailingWhitespaceEnabled()
+{
+ return s_selectTrailingWhitespaceEnabled;
+}
+
JSValueRef DumpRenderTreeSupportGtk::nodesFromRect(JSContextRef context, JSValueRef value, int x, int y, unsigned top, unsigned right, unsigned bottom, unsigned left, bool ignoreClipping)
{
JSLock lock(SilenceAssertionsOnly);
@@ -610,17 +622,23 @@ void DumpRenderTreeSupportGtk::layoutFrame(WebKitWebFrame* frame)
}
// For testing fast/viewport.
-void DumpRenderTreeSupportGtk::dumpConfigurationForViewport(WebKitWebView* webView, gint availableWidth, gint availableHeight)
+void DumpRenderTreeSupportGtk::dumpConfigurationForViewport(WebKitWebView* webView, gint deviceDPI, gint deviceWidth, gint deviceHeight, gint availableWidth, gint availableHeight)
{
g_return_if_fail(WEBKIT_IS_WEB_VIEW(webView));
ViewportArguments arguments = webView->priv->corePage->mainFrame()->document()->viewportArguments();
- // desktopWidth = 980, deviceWidth = 320, deviceHeight = 480, deviceDPI = 160
- ViewportAttributes attrs = computeViewportAttributes(arguments, 980, 320, 480, 160, IntSize(availableWidth, availableHeight));
+ ViewportAttributes attrs = computeViewportAttributes(arguments, /* default layout width for non-mobile pages */ 980, deviceWidth, deviceHeight, deviceDPI, IntSize(availableWidth, availableHeight));
fprintf(stdout, "viewport size %dx%d scale %f with limits [%f, %f]\n", attrs.layoutSize.width(), attrs.layoutSize.height(), attrs.initialScale, attrs.minimumScale, attrs.maximumScale);
}
+void DumpRenderTreeSupportGtk::clearOpener(WebKitWebFrame* frame)
+{
+ Frame* coreFrame = core(frame);
+ if (coreFrame)
+ coreFrame->loader()->setOpener(0);
+}
+
unsigned int DumpRenderTreeSupportGtk::workerThreadCount()
{
#if ENABLE(WORKERS)
@@ -642,3 +660,12 @@ bool DumpRenderTreeSupportGtk::findString(WebKitWebView* webView, const gchar* t
return core(webView)->findString(String::fromUTF8(targetString), findOptions);
}
+double DumpRenderTreeSupportGtk::defaultMinimumTimerInterval()
+{
+ return Settings::defaultMinDOMTimerInterval();
+}
+
+void DumpRenderTreeSupportGtk::setMinimumTimerInterval(WebKitWebView* webView, double interval)
+{
+ core(webView)->settings()->setMinDOMTimerInterval(interval);
+}
diff --git a/Source/WebKit/gtk/WebCoreSupport/DumpRenderTreeSupportGtk.h b/Source/WebKit/gtk/WebCoreSupport/DumpRenderTreeSupportGtk.h
index 553d7bb..595d6da 100644
--- a/Source/WebKit/gtk/WebCoreSupport/DumpRenderTreeSupportGtk.h
+++ b/Source/WebKit/gtk/WebCoreSupport/DumpRenderTreeSupportGtk.h
@@ -54,8 +54,13 @@ public:
static void setLinksIncludedInFocusChain(bool);
static bool linksIncludedInFocusChain();
static void setIconDatabaseEnabled(bool);
+ static void setSelectTrailingWhitespaceEnabled(bool);
+ static bool selectTrailingWhitespaceEnabled();
+
static JSValueRef nodesFromRect(JSContextRef context, JSValueRef value, int x, int y, unsigned top, unsigned right, unsigned bottom, unsigned left, bool ignoreClipping);
- static void dumpConfigurationForViewport(WebKitWebView* webView, gint availableWidth, gint availableHeight);
+ static void dumpConfigurationForViewport(WebKitWebView* webView, gint deviceDPI, gint deviceWidth, gint deviceHeight, gint availableWidth, gint availableHeight);
+
+ static void clearOpener(WebKitWebFrame*);
// FIXME: Move these to webkitwebframe.h once their API has been discussed.
static GSList* getFrameChildren(WebKitWebFrame*);
@@ -89,6 +94,8 @@ public:
static void confirmComposition(WebKitWebView*, const char* text);
static bool firstRectForCharacterRange(WebKitWebView*, int location, int length, GdkRectangle*);
static bool selectedRange(WebKitWebView*, int* start, int* end);
+ static double defaultMinimumTimerInterval(); // Not really tied to WebView
+ static void setMinimumTimerInterval(WebKitWebView*, double);
// GC
static void gcCollectJavascriptObjects();
@@ -103,6 +110,7 @@ public:
private:
static bool s_drtRun;
static bool s_linksIncludedInTabChain;
+ static bool s_selectTrailingWhitespaceEnabled;
};
#endif
diff --git a/Source/WebKit/gtk/WebCoreSupport/EditorClientGtk.cpp b/Source/WebKit/gtk/WebCoreSupport/EditorClientGtk.cpp
index ee9bf9a..33fafaa 100644
--- a/Source/WebKit/gtk/WebCoreSupport/EditorClientGtk.cpp
+++ b/Source/WebKit/gtk/WebCoreSupport/EditorClientGtk.cpp
@@ -25,9 +25,9 @@
#include "EditorClientGtk.h"
#include "DataObjectGtk.h"
+#include "DumpRenderTreeSupportGtk.h"
#include "EditCommand.h"
#include "Editor.h"
-#include <enchant.h>
#include "EventNames.h"
#include "FocusController.h"
#include "Frame.h"
@@ -481,11 +481,6 @@ void EditorClient::didSetSelectionTypesForPasteboard()
notImplemented();
}
-bool EditorClient::isEditable()
-{
- return webkit_web_view_get_editable(m_webView);
-}
-
void EditorClient::registerCommandForUndo(WTF::PassRefPtr<WebCore::EditCommand> command)
{
if (undoStack.size() == maximumUndoStackDepth)
@@ -506,6 +501,16 @@ void EditorClient::clearUndoRedoOperations()
redoStack.clear();
}
+bool EditorClient::canCopyCut(bool defaultValue) const
+{
+ return defaultValue;
+}
+
+bool EditorClient::canPaste(bool defaultValue) const
+{
+ return defaultValue;
+}
+
bool EditorClient::canUndo() const
{
return !undoStack.isEmpty();
@@ -562,8 +567,9 @@ bool EditorClient::smartInsertDeleteEnabled()
bool EditorClient::isSelectTrailingWhitespaceEnabled()
{
- notImplemented();
- return false;
+ if (!DumpRenderTreeSupportGtk::dumpRenderTreeModeEnabled())
+ return false;
+ return DumpRenderTreeSupportGtk::selectTrailingWhitespaceEnabled();
}
void EditorClient::toggleContinuousSpellChecking()
@@ -832,6 +838,9 @@ void EditorClient::handleInputMethodMousePress()
EditorClient::EditorClient(WebKitWebView* webView)
: m_isInRedo(false)
+#if ENABLE(SPELLCHECK)
+ , m_textCheckerClient(webView)
+#endif
, m_webView(webView)
, m_preventNextCompositionCommit(false)
, m_treatContextCommitAsKeyEvent(false)
@@ -887,100 +896,6 @@ void EditorClient::textDidChangeInTextArea(Element*)
notImplemented();
}
-void EditorClient::ignoreWordInSpellDocument(const String& text)
-{
- GSList* dicts = webkitWebViewGetEnchantDicts(m_webView);
-
- for (; dicts; dicts = dicts->next) {
- EnchantDict* dict = static_cast<EnchantDict*>(dicts->data);
-
- enchant_dict_add_to_session(dict, text.utf8().data(), -1);
- }
-}
-
-void EditorClient::learnWord(const String& text)
-{
- GSList* dicts = webkitWebViewGetEnchantDicts(m_webView);
-
- for (; dicts; dicts = dicts->next) {
- EnchantDict* dict = static_cast<EnchantDict*>(dicts->data);
-
- enchant_dict_add_to_personal(dict, text.utf8().data(), -1);
- }
-}
-
-void EditorClient::checkSpellingOfString(const UChar* text, int length, int* misspellingLocation, int* misspellingLength)
-{
- GSList* dicts = webkitWebViewGetEnchantDicts(m_webView);
- if (!dicts)
- return;
-
- gchar* ctext = g_utf16_to_utf8(const_cast<gunichar2*>(text), length, 0, 0, 0);
- int utflen = g_utf8_strlen(ctext, -1);
-
- PangoLanguage* language = pango_language_get_default();
- PangoLogAttr* attrs = g_new(PangoLogAttr, utflen+1);
-
- // pango_get_log_attrs uses an aditional position at the end of the text.
- pango_get_log_attrs(ctext, -1, -1, language, attrs, utflen+1);
-
- for (int i = 0; i < length+1; i++) {
- // We go through each character until we find an is_word_start,
- // then we get into an inner loop to find the is_word_end corresponding
- // to it.
- if (attrs[i].is_word_start) {
- int start = i;
- int end = i;
- int wordLength;
-
- while (attrs[end].is_word_end < 1)
- end++;
-
- wordLength = end - start;
- // Set the iterator to be at the current word end, so we don't
- // check characters twice.
- i = end;
-
- for (; dicts; dicts = dicts->next) {
- EnchantDict* dict = static_cast<EnchantDict*>(dicts->data);
- gchar* cstart = g_utf8_offset_to_pointer(ctext, start);
- gint bytes = static_cast<gint>(g_utf8_offset_to_pointer(ctext, end) - cstart);
- gchar* word = g_new0(gchar, bytes+1);
- int result;
-
- g_utf8_strncpy(word, cstart, end - start);
-
- result = enchant_dict_check(dict, word, -1);
- g_free(word);
- if (result) {
- *misspellingLocation = start;
- *misspellingLength = wordLength;
- } else {
- // Stop checking, this word is ok in at least one dict.
- *misspellingLocation = -1;
- *misspellingLength = 0;
- break;
- }
- }
- }
- }
-
- g_free(attrs);
- g_free(ctext);
-}
-
-String EditorClient::getAutoCorrectSuggestionForMisspelledWord(const String& inputWord)
-{
- // This method can be implemented using customized algorithms for the particular browser.
- // Currently, it computes an empty string.
- return String();
-}
-
-void EditorClient::checkGrammarOfString(const UChar*, int, Vector<GrammarDetail>&, int*, int*)
-{
- notImplemented();
-}
-
void EditorClient::updateSpellingUIWithGrammarString(const String&, const GrammarDetail&)
{
notImplemented();
@@ -1002,24 +917,4 @@ bool EditorClient::spellingUIIsShowing()
return false;
}
-void EditorClient::getGuessesForWord(const String& word, const String& context, WTF::Vector<String>& guesses)
-{
- GSList* dicts = webkitWebViewGetEnchantDicts(m_webView);
- guesses.clear();
-
- for (; dicts; dicts = dicts->next) {
- size_t numberOfSuggestions;
- size_t i;
-
- EnchantDict* dict = static_cast<EnchantDict*>(dicts->data);
- gchar** suggestions = enchant_dict_suggest(dict, word.utf8().data(), -1, &numberOfSuggestions);
-
- for (i = 0; i < numberOfSuggestions && i < 10; i++)
- guesses.append(String::fromUTF8(suggestions[i]));
-
- if (numberOfSuggestions > 0)
- enchant_dict_free_suggestions(dict, suggestions);
- }
-}
-
}
diff --git a/Source/WebKit/gtk/WebCoreSupport/EditorClientGtk.h b/Source/WebKit/gtk/WebCoreSupport/EditorClientGtk.h
index 214dbd6..8aafe45 100644
--- a/Source/WebKit/gtk/WebCoreSupport/EditorClientGtk.h
+++ b/Source/WebKit/gtk/WebCoreSupport/EditorClientGtk.h
@@ -32,12 +32,19 @@
#define EditorClientGtk_h
#include "EditorClient.h"
+#include "TextCheckerClient.h"
#include <wtf/Deque.h>
#include <wtf/Forward.h>
#include <wtf/gobject/GOwnPtr.h>
#include <wtf/gobject/GRefPtr.h>
+#if ENABLE(SPELLCHECK)
+#include "TextCheckerClientEnchant.h"
+#else
+#include "EmptyClients.h"
+#endif
+
typedef struct _WebKitWebView WebKitWebView;
namespace WebCore {
@@ -47,7 +54,7 @@ class KeyboardEvent;
namespace WebKit {
- class EditorClient : public WebCore::EditorClient {
+class EditorClient : public WebCore::EditorClient {
protected:
bool m_isInRedo;
@@ -80,8 +87,6 @@ namespace WebKit {
virtual void toggleGrammarChecking();
virtual int spellCheckerDocumentTag();
- virtual bool isEditable();
-
virtual bool shouldBeginEditing(WebCore::Range*);
virtual bool shouldEndEditing(WebCore::Range*);
virtual bool shouldInsertNode(WebCore::Node*, WebCore::Range*, WebCore::EditorInsertAction);
@@ -103,6 +108,8 @@ namespace WebKit {
virtual void registerCommandForRedo(WTF::PassRefPtr<WebCore::EditCommand>);
virtual void clearUndoRedoOperations();
+ virtual bool canCopyCut(bool defaultValue) const;
+ virtual bool canPaste(bool defaultValue) const;
virtual bool canUndo() const;
virtual bool canRedo() const;
@@ -120,21 +127,21 @@ namespace WebKit {
virtual void textWillBeDeletedInTextField(WebCore::Element*);
virtual void textDidChangeInTextArea(WebCore::Element*);
- virtual void ignoreWordInSpellDocument(const WTF::String&);
- virtual void learnWord(const WTF::String&);
- virtual void checkSpellingOfString(const UChar*, int length, int* misspellingLocation, int* misspellingLength);
- virtual WTF::String getAutoCorrectSuggestionForMisspelledWord(const WTF::String&);
- virtual void checkGrammarOfString(const UChar*, int length, WTF::Vector<WebCore::GrammarDetail>&, int* badGrammarLocation, int* badGrammarLength);
+ virtual WebCore::TextCheckerClient* textChecker() { return &m_textCheckerClient; }
+
virtual void updateSpellingUIWithGrammarString(const WTF::String&, const WebCore::GrammarDetail&);
virtual void updateSpellingUIWithMisspelledWord(const WTF::String&);
virtual void showSpellingUI(bool show);
virtual bool spellingUIIsShowing();
- virtual void getGuessesForWord(const WTF::String& word, const WTF::String& context, WTF::Vector<WTF::String>& guesses);
virtual void willSetInputMethodState();
virtual void setInputMethodState(bool enabled);
- virtual void requestCheckingOfString(WebCore::SpellChecker*, int, const WTF::String&) {}
private:
+#if ENABLE(SPELLCHECK)
+ TextCheckerClientEnchant m_textCheckerClient;
+#else
+ WebCore::EmptyTextCheckerClient m_textCheckerClient;
+#endif
WebKitWebView* m_webView;
bool m_preventNextCompositionCommit;
bool m_treatContextCommitAsKeyEvent;
diff --git a/Source/WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.cpp b/Source/WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.cpp
index 875455a..d8ea90e 100644
--- a/Source/WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.cpp
+++ b/Source/WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.cpp
@@ -25,6 +25,8 @@
#include "config.h"
#include "FrameLoaderClientGtk.h"
+#include "AXObjectCache.h"
+#include "AccessibilityObject.h"
#include "ArchiveResource.h"
#include "CachedFrame.h"
#include "Color.h"
@@ -55,6 +57,7 @@
#include "PluginDatabase.h"
#include "ProgressTracker.h"
#include "RenderPart.h"
+#include "RenderView.h"
#include "ResourceHandle.h"
#include "ResourceRequest.h"
#include "ScriptController.h"
@@ -222,6 +225,51 @@ String FrameLoaderClient::userAgent(const KURL& url)
return String::fromUTF8(webkit_web_settings_get_user_agent(settings));
}
+static void notifyAccessibilityStatus(WebKitWebFrame* frame, WebKitLoadStatus loadStatus)
+{
+ if (loadStatus != WEBKIT_LOAD_PROVISIONAL
+ && loadStatus != WEBKIT_LOAD_FAILED
+ && loadStatus != WEBKIT_LOAD_FINISHED)
+ return;
+
+ WebKitWebFramePrivate* priv = frame->priv;
+ if (!priv->coreFrame || !priv->coreFrame->document())
+ return;
+
+ RenderView* contentRenderer = priv->coreFrame->contentRenderer();
+ if (!contentRenderer)
+ return;
+
+ AXObjectCache* axObjectCache = priv->coreFrame->document()->axObjectCache();
+ if (!axObjectCache)
+ return;
+
+ AccessibilityObject* coreAxObject = axObjectCache->getOrCreate(contentRenderer);
+ if (!coreAxObject)
+ return;
+
+ AtkObject* axObject = coreAxObject->wrapper();
+ if (!axObject || !ATK_IS_DOCUMENT(axObject))
+ return;
+
+ switch (loadStatus) {
+ case WEBKIT_LOAD_PROVISIONAL:
+ g_signal_emit_by_name(axObject, "state-change", "busy", true);
+ if (core(frame)->loader()->loadType() == FrameLoadTypeReload)
+ g_signal_emit_by_name(axObject, "reload");
+ break;
+ case WEBKIT_LOAD_FAILED:
+ g_signal_emit_by_name(axObject, "load-stopped");
+ g_signal_emit_by_name(axObject, "state-change", "busy", false);
+ break;
+ case WEBKIT_LOAD_FINISHED:
+ g_signal_emit_by_name(axObject, "load-complete");
+ g_signal_emit_by_name(axObject, "state-change", "busy", false);
+ default:
+ break;
+ }
+}
+
static void notifyStatus(WebKitWebFrame* frame, WebKitLoadStatus loadStatus)
{
frame->priv->loadStatus = loadStatus;
@@ -231,6 +279,9 @@ static void notifyStatus(WebKitWebFrame* frame, WebKitLoadStatus loadStatus)
if (frame == webkit_web_view_get_main_frame(webView)) {
webView->priv->loadStatus = loadStatus;
g_object_notify(G_OBJECT(webView), "load-status");
+
+ if (AXObjectCache::accessibilityEnabled())
+ notifyAccessibilityStatus(frame, loadStatus);
}
}
@@ -407,7 +458,7 @@ void FrameLoaderClient::dispatchDidReceiveResponse(WebCore::DocumentLoader* load
m_response = response;
}
-void FrameLoaderClient::dispatchDecidePolicyForMIMEType(FramePolicyFunction policyFunction, const String& mimeType, const ResourceRequest& resourceRequest)
+void FrameLoaderClient::dispatchDecidePolicyForResponse(FramePolicyFunction policyFunction, const ResourceResponse& response, const ResourceRequest& resourceRequest)
{
ASSERT(policyFunction);
if (!policyFunction)
@@ -426,6 +477,8 @@ void FrameLoaderClient::dispatchDecidePolicyForMIMEType(FramePolicyFunction poli
g_object_unref(m_policyDecision);
m_policyDecision = policyDecision;
+ String mimeType = response.mimeType();
+
gboolean isHandled = false;
g_signal_emit_by_name(page, "mime-type-policy-decision-requested", m_frame, request.get(), mimeType.utf8().data(), policyDecision, &isHandled);
@@ -757,6 +810,11 @@ bool FrameLoaderClient::shouldGoToHistoryItem(HistoryItem* item) const
return item != 0;
}
+bool FrameLoaderClient::shouldStopLoadingForHistoryItem(HistoryItem* item) const
+{
+ return true;
+}
+
void FrameLoaderClient::dispatchDidAddBackForwardItem(HistoryItem*) const
{
}
diff --git a/Source/WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.h b/Source/WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.h
index 2e8a2dd..3340837 100644
--- a/Source/WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.h
+++ b/Source/WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.h
@@ -94,7 +94,7 @@ namespace WebKit {
virtual WebCore::Frame* dispatchCreatePage(const WebCore::NavigationAction&);
virtual void dispatchShow();
- virtual void dispatchDecidePolicyForMIMEType(WebCore::FramePolicyFunction, const WTF::String& MIMEType, const WebCore::ResourceRequest&);
+ virtual void dispatchDecidePolicyForResponse(WebCore::FramePolicyFunction, const WebCore::ResourceResponse&, const WebCore::ResourceRequest&);
virtual void dispatchDecidePolicyForNewWindowAction(WebCore::FramePolicyFunction, const WebCore::NavigationAction&, const WebCore::ResourceRequest&, WTF::PassRefPtr<WebCore::FormState>, const WTF::String& frameName);
virtual void dispatchDecidePolicyForNavigationAction(WebCore::FramePolicyFunction, const WebCore::NavigationAction&, const WebCore::ResourceRequest&, WTF::PassRefPtr<WebCore::FormState>);
virtual void cancelPolicyCheck();
@@ -141,6 +141,7 @@ namespace WebKit {
virtual void updateGlobalHistory();
virtual void updateGlobalHistoryRedirectLinks();
virtual bool shouldGoToHistoryItem(WebCore::HistoryItem*) const;
+ virtual bool shouldStopLoadingForHistoryItem(WebCore::HistoryItem*) const;
virtual void dispatchDidAddBackForwardItem(WebCore::HistoryItem*) const;
virtual void dispatchDidRemoveBackForwardItem(WebCore::HistoryItem*) const;
virtual void dispatchDidChangeBackForwardIndex() const;
diff --git a/Source/WebKit/gtk/WebCoreSupport/TextCheckerClientEnchant.cpp b/Source/WebKit/gtk/WebCoreSupport/TextCheckerClientEnchant.cpp
new file mode 100644
index 0000000..74e8132
--- /dev/null
+++ b/Source/WebKit/gtk/WebCoreSupport/TextCheckerClientEnchant.cpp
@@ -0,0 +1,216 @@
+/*
+ * Copyright (C) 2007 Alp Toker <alp@atoker.com>
+ * Copyright (C) 2008 Nuanti Ltd.
+ * Copyright (C) 2009 Diego Escalante Urrelo <diegoe@gnome.org>
+ * Copyright (C) 2006, 2007 Apple Inc. All rights reserved.
+ * Copyright (C) 2009, 2010 Igalia S.L.
+ * Copyright (C) 2010, Martin Robinson <mrobinson@webkit.org>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+#include "config.h"
+#include "TextCheckerClientEnchant.h"
+
+#include "NotImplemented.h"
+#include "webkitwebsettingsprivate.h"
+#include "webkitwebviewprivate.h"
+#include <enchant.h>
+#include <glib.h>
+#include <wtf/text/CString.h>
+
+using namespace WebCore;
+
+namespace WebKit {
+
+EnchantBroker* TextCheckerClientEnchant::broker = 0;
+
+TextCheckerClientEnchant::TextCheckerClientEnchant(WebKitWebView* webView)
+ : m_webView(webView)
+ , m_enchantDicts(0)
+{
+}
+
+TextCheckerClientEnchant::~TextCheckerClientEnchant()
+{
+ g_slist_foreach(m_enchantDicts, freeSpellCheckingLanguage, 0);
+ g_slist_free(m_enchantDicts);
+}
+
+void TextCheckerClientEnchant::ignoreWordInSpellDocument(const String& text)
+{
+ GSList* dicts = m_enchantDicts;
+
+ for (; dicts; dicts = dicts->next) {
+ EnchantDict* dict = static_cast<EnchantDict*>(dicts->data);
+
+ enchant_dict_add_to_session(dict, text.utf8().data(), -1);
+ }
+}
+
+void TextCheckerClientEnchant::learnWord(const String& text)
+{
+ GSList* dicts = m_enchantDicts;
+
+ for (; dicts; dicts = dicts->next) {
+ EnchantDict* dict = static_cast<EnchantDict*>(dicts->data);
+
+ enchant_dict_add_to_personal(dict, text.utf8().data(), -1);
+ }
+}
+
+void TextCheckerClientEnchant::checkSpellingOfString(const UChar* text, int length, int* misspellingLocation, int* misspellingLength)
+{
+ GSList* dicts = m_enchantDicts;
+ if (!dicts)
+ return;
+
+ gchar* ctext = g_utf16_to_utf8(const_cast<gunichar2*>(text), length, 0, 0, 0);
+ int utflen = g_utf8_strlen(ctext, -1);
+
+ PangoLanguage* language(pango_language_get_default());
+ GOwnPtr<PangoLogAttr> attrs(g_new(PangoLogAttr, utflen+1));
+
+ // pango_get_log_attrs uses an aditional position at the end of the text.
+ pango_get_log_attrs(ctext, -1, -1, language, attrs.get(), utflen+1);
+
+ for (int i = 0; i < length+1; i++) {
+ // We go through each character until we find an is_word_start,
+ // then we get into an inner loop to find the is_word_end corresponding
+ // to it.
+ if (attrs.get()[i].is_word_start) {
+ int start = i;
+ int end = i;
+ int wordLength;
+
+ while (attrs.get()[end].is_word_end < 1)
+ end++;
+
+ wordLength = end - start;
+ // Set the iterator to be at the current word end, so we don't
+ // check characters twice.
+ i = end;
+
+ for (; dicts; dicts = dicts->next) {
+ EnchantDict* dict = static_cast<EnchantDict*>(dicts->data);
+ gchar* cstart = g_utf8_offset_to_pointer(ctext, start);
+ gint bytes = static_cast<gint>(g_utf8_offset_to_pointer(ctext, end) - cstart);
+ gchar* word = g_new0(gchar, bytes+1);
+ int result;
+
+ g_utf8_strncpy(word, cstart, end - start);
+
+ result = enchant_dict_check(dict, word, -1);
+ g_free(word);
+ if (result) {
+ *misspellingLocation = start;
+ *misspellingLength = wordLength;
+ } else {
+ // Stop checking, this word is ok in at least one dict.
+ *misspellingLocation = -1;
+ *misspellingLength = 0;
+ break;
+ }
+ }
+ }
+ }
+}
+
+String TextCheckerClientEnchant::getAutoCorrectSuggestionForMisspelledWord(const String& inputWord)
+{
+ // This method can be implemented using customized algorithms for the particular browser.
+ // Currently, it computes an empty string.
+ return String();
+}
+
+void TextCheckerClientEnchant::checkGrammarOfString(const UChar*, int, Vector<GrammarDetail>&, int*, int*)
+{
+ notImplemented();
+}
+
+void TextCheckerClientEnchant::getGuessesForWord(const String& word, const String& context, WTF::Vector<String>& guesses)
+{
+ GSList* dicts = m_enchantDicts;
+ guesses.clear();
+
+ for (; dicts; dicts = dicts->next) {
+ size_t numberOfSuggestions;
+ size_t i;
+
+ EnchantDict* dict = static_cast<EnchantDict*>(dicts->data);
+ gchar** suggestions = enchant_dict_suggest(dict, word.utf8().data(), -1, &numberOfSuggestions);
+
+ for (i = 0; i < numberOfSuggestions && i < 10; i++)
+ guesses.append(String::fromUTF8(suggestions[i]));
+
+ if (numberOfSuggestions > 0)
+ enchant_dict_free_suggestions(dict, suggestions);
+ }
+}
+
+static void getAvailableDictionariesCallback(const char* const languageTag, const char* const, const char* const, const char* const, void* data)
+{
+ Vector<CString>* dicts = static_cast<Vector<CString>*>(data);
+
+ dicts->append(languageTag);
+}
+
+void TextCheckerClientEnchant::updateSpellCheckingLanguage(const char* spellCheckingLanguages)
+{
+ EnchantDict* dict;
+ GSList* spellDictionaries = 0;
+
+ if (!broker)
+ broker = enchant_broker_init();
+
+ if (spellCheckingLanguages) {
+ char** langs = g_strsplit(spellCheckingLanguages, ",", -1);
+ for (int i = 0; langs[i]; i++) {
+ if (enchant_broker_dict_exists(broker, langs[i])) {
+ dict = enchant_broker_request_dict(broker, langs[i]);
+ spellDictionaries = g_slist_append(spellDictionaries, dict);
+ }
+ }
+ g_strfreev(langs);
+ } else {
+ const char* language = pango_language_to_string(gtk_get_default_language());
+ if (enchant_broker_dict_exists(broker, language)) {
+ dict = enchant_broker_request_dict(broker, language);
+ spellDictionaries = g_slist_append(spellDictionaries, dict);
+ } else {
+ // No dictionaries selected, we get one from the list
+ Vector<CString> allDictionaries;
+ enchant_broker_list_dicts(broker, getAvailableDictionariesCallback, &allDictionaries);
+ if (!allDictionaries.isEmpty()) {
+ dict = enchant_broker_request_dict(broker, allDictionaries[0].data());
+ spellDictionaries = g_slist_append(spellDictionaries, dict);
+ }
+ }
+ }
+ g_slist_foreach(m_enchantDicts, freeSpellCheckingLanguage, 0);
+ g_slist_free(m_enchantDicts);
+ m_enchantDicts = spellDictionaries;
+}
+
+void TextCheckerClientEnchant::freeSpellCheckingLanguage(gpointer data, gpointer)
+{
+ if (!broker)
+ broker = enchant_broker_init();
+
+ EnchantDict* dict = static_cast<EnchantDict*>(data);
+ enchant_broker_free_dict(broker, dict);
+}
+
+}
diff --git a/Source/WebKit/gtk/WebCoreSupport/TextCheckerClientEnchant.h b/Source/WebKit/gtk/WebCoreSupport/TextCheckerClientEnchant.h
new file mode 100644
index 0000000..c294a3d
--- /dev/null
+++ b/Source/WebKit/gtk/WebCoreSupport/TextCheckerClientEnchant.h
@@ -0,0 +1,63 @@
+/*
+ * Copyright (C) 2006 Nikolas Zimmermann <zimmermann@kde.org>
+ * Copyright (C) 2006 Zack Rusin <zack@kde.org>
+ * Copyright (C) 2006 Apple Computer, Inc.
+ * Copyright (C) 2010 Martin Robinson <mrobinson@webkit.org>
+ *
+ * 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
+ * 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.
+ */
+
+#ifndef TextCheckerClientEnchant_h
+#define TextCheckerClientEnchant_h
+
+#include "TextCheckerClient.h"
+
+typedef struct _GSList GSList;
+typedef struct _WebKitWebView WebKitWebView;
+typedef struct str_enchant_broker EnchantBroker;
+
+namespace WebKit {
+
+class TextCheckerClientEnchant : public WebCore::TextCheckerClient {
+ public:
+ TextCheckerClientEnchant(WebKitWebView*);
+ ~TextCheckerClientEnchant();
+ virtual void ignoreWordInSpellDocument(const WTF::String&);
+ virtual void learnWord(const WTF::String&);
+ virtual void checkSpellingOfString(const UChar*, int length, int* misspellingLocation, int* misspellingLength);
+ virtual WTF::String getAutoCorrectSuggestionForMisspelledWord(const WTF::String&);
+ virtual void checkGrammarOfString(const UChar*, int length, WTF::Vector<WebCore::GrammarDetail>&, int* badGrammarLocation, int* badGrammarLength);
+ virtual void getGuessesForWord(const WTF::String& word, const WTF::String& context, WTF::Vector<WTF::String>& guesses);
+ virtual void requestCheckingOfString(WebCore::SpellChecker*, int, const WTF::String&) {}
+
+ void updateSpellCheckingLanguage(const char*);
+ static void freeSpellCheckingLanguage(gpointer, gpointer);
+ private:
+ WebKitWebView* m_webView;
+ GSList* m_enchantDicts;
+ static EnchantBroker* broker;
+ };
+}
+#endif
+
diff --git a/Source/WebKit/gtk/docs/GNUmakefile.am b/Source/WebKit/gtk/docs/GNUmakefile.am
index 565f535..fcc8a72 100644
--- a/Source/WebKit/gtk/docs/GNUmakefile.am
+++ b/Source/WebKit/gtk/docs/GNUmakefile.am
@@ -42,8 +42,8 @@ FIXXREF_OPTIONS=
# Used for dependencies. The docs will be rebuilt if any of these change.
# e.g. HFILE_GLOB=$(top_srcdir)/gtk/*.h
# e.g. CFILE_GLOB=$(top_srcdir)/gtk/*.c
-HFILE_GLOB=$(top_srcdir)/WebKit/gtk/webkit/*.h
-CFILE_GLOB=$(top_srcdir)/WebKit/gtk/webkit/*.cpp
+HFILE_GLOB=$(top_srcdir)/Source/WebKit/gtk/webkit/*.h
+CFILE_GLOB=$(top_srcdir)/Source/WebKit/gtk/webkit/*.cpp
# Header files to ignore when scanning.
# e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h
@@ -68,17 +68,17 @@ expand_content_files=
# e.g. INCLUDES=-I$(top_srcdir) -I$(top_builddir) $(GTK_DEBUG_FLAGS)
# e.g. GTKDOC_LIBS=$(top_builddir)/gtk/$(gtktargetlib)
INCLUDES= \
- -I$(top_srcdir)/WebKit/gtk \
- -I$(top_builddir)/WebKit/gtk \
+ -I$(top_srcdir)/Source/WebKit/gtk \
+ -I$(top_builddir)/Source/WebKit/gtk \
$(global_cppflags) \
$(global_cflags) \
- -I$(top_srcdir) \
+ -I$(top_srcdir)/Source \
-I$(top_srcdir)/Source/JavaScriptCore \
-I$(top_srcdir)/Source/JavaScriptCore/ForwardingHeaders \
-I$(top_srcdir)/Source/JavaScriptCore/parser \
-I$(top_srcdir)/Source/JavaScriptCore/wtf \
-I$(top_builddir)/DerivedSources \
- -I$(top_srcdir)/WebCore/platform/network/soup/cache \
+ -I$(top_srcdir)/Source/WebCore/platform/network/soup/cache \
$(GLOBALDEPS_CFLAGS) \
$(CAIRO_CFLAGS) \
$(GLIB_CFLAGS) \
diff --git a/Source/WebKit/gtk/po/ChangeLog b/Source/WebKit/gtk/po/ChangeLog
index 891c4ef..2b4b385 100644
--- a/Source/WebKit/gtk/po/ChangeLog
+++ b/Source/WebKit/gtk/po/ChangeLog
@@ -1,3 +1,36 @@
+2011-02-26 Christian Dywan <christian@lanedo.com>
+
+ Reviewed by Andreas Kling.
+
+ Untranslated network error messages
+ https://bugs.webkit.org/show_bug.cgi?id=55223
+
+ * POTFILES: Add FrameLoaderClientGtk.cpp.
+
+2011-02-25 Christian Dywan <christian@lanedo.com>
+
+ Unreviewed translation file.
+
+ L10N: Webkit translated to Basque (eu) language
+ https://bugs.webkit.org/show_bug.cgi?id=36588
+
+ * eu.po: Added.
+
+2011-02-15 Christian Dywan <christian@lanedo.com>
+
+ Rubber-stamped by Gustavo Noronha Silva.
+
+ * *.po: Correct a typo in acces*s*ibility.
+
+2011-02-15 Christian Dywan <christian@lanedo.com>
+
+ Unreviewed translation file.
+
+ Brazilian Portuguese Translation Update
+ https://bugs.webkit.org/show_bug.cgi?id=42833
+
+ * pt_BR.po: Updated.
+
2011-02-10 Christian Dywan <christian@lanedo.com>
Unreviewed translation file.
diff --git a/Source/WebKit/gtk/po/POTFILES b/Source/WebKit/gtk/po/POTFILES
index fe3167c..9a2e36c 100644
--- a/Source/WebKit/gtk/po/POTFILES
+++ b/Source/WebKit/gtk/po/POTFILES
@@ -1,6 +1,7 @@
# List of source files which contain translatable strings.
Source/WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp
Source/WebKit/gtk/WebCoreSupport/ContextMenuClientGtk.cpp
+Source/WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.cpp
Source/WebKit/gtk/WebCoreSupport/FullscreenVideoController.cpp
Source/WebKit/gtk/webkit/webkitdownload.cpp
Source/WebKit/gtk/webkit/webkitsoupauthdialog.c
diff --git a/Source/WebKit/gtk/po/ar.po b/Source/WebKit/gtk/po/ar.po
index fa7b6ca..98a90be 100644
--- a/Source/WebKit/gtk/po/ar.po
+++ b/Source/WebKit/gtk/po/ar.po
@@ -502,7 +502,7 @@ msgid "Enable Caret Browsing"
msgstr "فعّل التصفح بالمؤشر"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:521
-msgid "Whether to enable accesibility enhanced keyboard navigation"
+msgid "Whether to enable accessibility enhanced keyboard navigation"
msgstr "ما إذا سيُفعّل التصفح بفأرة المفاتيح المحسّن للإتاحة"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:536
diff --git a/Source/WebKit/gtk/po/bg.po b/Source/WebKit/gtk/po/bg.po
index efa7c52..7002c05 100644
--- a/Source/WebKit/gtk/po/bg.po
+++ b/Source/WebKit/gtk/po/bg.po
@@ -552,7 +552,7 @@ msgid "Enable Caret Browsing"
msgstr "Навигация с курсор"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:525
-msgid "Whether to enable accesibility enhanced keyboard navigation"
+msgid "Whether to enable accessibility enhanced keyboard navigation"
msgstr "Дали да бъде включена навигация чрез клавиатура с повишена достъпност"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:540
diff --git a/Source/WebKit/gtk/po/cs.po b/Source/WebKit/gtk/po/cs.po
index 228ba22..805b61d 100644
--- a/Source/WebKit/gtk/po/cs.po
+++ b/Source/WebKit/gtk/po/cs.po
@@ -506,7 +506,7 @@ msgid "Enable Caret Browsing"
msgstr "Povolit prohlížení s kurzorem"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:521
-msgid "Whether to enable accesibility enhanced keyboard navigation"
+msgid "Whether to enable accessibility enhanced keyboard navigation"
msgstr "Jestli povolit zpřístupnění pomocí navigace klávesnicí"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:536
diff --git a/Source/WebKit/gtk/po/de.po b/Source/WebKit/gtk/po/de.po
index b9fb99b..5b48168 100644
--- a/Source/WebKit/gtk/po/de.po
+++ b/Source/WebKit/gtk/po/de.po
@@ -512,7 +512,7 @@ msgid "Enable Caret Browsing"
msgstr "Caret-Modus aktivieren"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:521
-msgid "Whether to enable accesibility enhanced keyboard navigation"
+msgid "Whether to enable accessibility enhanced keyboard navigation"
msgstr ""
"Legt fest, ob die barrierefreie Tastaturnavigation aktiviert werden soll"
diff --git a/Source/WebKit/gtk/po/en_GB.po b/Source/WebKit/gtk/po/en_GB.po
index 7174fc7..e202814 100644
--- a/Source/WebKit/gtk/po/en_GB.po
+++ b/Source/WebKit/gtk/po/en_GB.po
@@ -511,7 +511,7 @@ msgid "Enable Caret Browsing"
msgstr "Enable Private Browsing"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:521
-msgid "Whether to enable accesibility enhanced keyboard navigation"
+msgid "Whether to enable accessibility enhanced keyboard navigation"
msgstr ""
#: WebKit/gtk/webkit/webkitwebsettings.cpp:536
diff --git a/Source/WebKit/gtk/po/es.po b/Source/WebKit/gtk/po/es.po
index 83ad6bf..beb6ce4 100644
--- a/Source/WebKit/gtk/po/es.po
+++ b/Source/WebKit/gtk/po/es.po
@@ -515,7 +515,7 @@ msgid "Enable Caret Browsing"
msgstr "Activar navegación por cursor"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:521
-msgid "Whether to enable accesibility enhanced keyboard navigation"
+msgid "Whether to enable accessibility enhanced keyboard navigation"
msgstr ""
"Indica si activar la mejora de accesibilidad para navegación por teclado"
diff --git a/Source/WebKit/gtk/po/et.po b/Source/WebKit/gtk/po/et.po
index 6bb9033..99d33c1 100644
--- a/Source/WebKit/gtk/po/et.po
+++ b/Source/WebKit/gtk/po/et.po
@@ -377,7 +377,7 @@ msgstr ""
msgid "Enable Caret Browsing"
msgstr "Kursoriga sirvimine lubatud"
-msgid "Whether to enable accesibility enhanced keyboard navigation"
+msgid "Whether to enable accessibility enhanced keyboard navigation"
msgstr "Kas lubada klaviatuurihõlbustused navigeerimiseks"
msgid "Enable HTML5 Database"
diff --git a/Source/WebKit/gtk/po/eu.po b/Source/WebKit/gtk/po/eu.po
new file mode 100644
index 0000000..5346bec
--- /dev/null
+++ b/Source/WebKit/gtk/po/eu.po
@@ -0,0 +1,1081 @@
+# translation of webkit.webkit.HEAD.po to Basque
+# Basque translation for webkit.
+# Copyright (C) 2010 webkit's COPYRIGHT HOLDER
+# This file is distributed under the same license as the webkit package.
+#
+# Iñaki Larrañaga Murgoitio <dooteo@euskalgnu.org>, 2010.
+msgid ""
+msgstr ""
+"Project-Id-Version: webkit.webkit.HEAD\n"
+"Report-Msgid-Bugs-To: http://bugs.webkit.org/\n"
+"POT-Creation-Date: 2010-02-25 15:53-0300\n"
+"PO-Revision-Date: 2010-03-25 11:26+0100\n"
+"Last-Translator: Iñaki Larrañaga Murgoitio <dooteo@euskalgnu.org>\n"
+"Language-Team: Basque <itzulpena@euskalgnu.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.4\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp:535
+msgid "Upload File"
+msgstr "Igo fitxategia"
+
+#: WebKit/gtk/WebCoreSupport/ContextMenuClientGtk.cpp:61
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:143
+msgid "Input _Methods"
+msgstr "Sarrerako _metodoak"
+
+#: WebKit/gtk/WebCoreSupport/ContextMenuClientGtk.cpp:78
+msgid "LRM _Left-to-right mark"
+msgstr "LRM E_zkerretik eskuinera marka"
+
+#: WebKit/gtk/WebCoreSupport/ContextMenuClientGtk.cpp:79
+msgid "RLM _Right-to-left mark"
+msgstr "RLM E_skuinetik ezkerrera marka"
+
+#: WebKit/gtk/WebCoreSupport/ContextMenuClientGtk.cpp:80
+msgid "LRE Left-to-right _embedding"
+msgstr "LRE Ezkerretik eskuinera _kapsulatzea"
+
+#: WebKit/gtk/WebCoreSupport/ContextMenuClientGtk.cpp:81
+msgid "RLE Right-to-left e_mbedding"
+msgstr "RLE Eskuinetik ezkerrera k_apsulatzea"
+
+#: WebKit/gtk/WebCoreSupport/ContextMenuClientGtk.cpp:82
+msgid "LRO Left-to-right _override"
+msgstr "LRO Ezkerretik eskuinera _gainidaztea"
+
+#: WebKit/gtk/WebCoreSupport/ContextMenuClientGtk.cpp:83
+msgid "RLO Right-to-left o_verride"
+msgstr "RLO Eskuinetik ezkerrera ga_inidaztea"
+
+#: WebKit/gtk/WebCoreSupport/ContextMenuClientGtk.cpp:84
+msgid "PDF _Pop directional formatting"
+msgstr "PDF _Norabideko formatuaren amaiera"
+
+#: WebKit/gtk/WebCoreSupport/ContextMenuClientGtk.cpp:85
+msgid "ZWS _Zero width space"
+msgstr "ZWS _Zero-zabalerako tartea"
+
+#: WebKit/gtk/WebCoreSupport/ContextMenuClientGtk.cpp:86
+msgid "ZWJ Zero width _joiner"
+msgstr "ZWJ Zero-zabalerako _bateratzailea"
+
+#: WebKit/gtk/WebCoreSupport/ContextMenuClientGtk.cpp:87
+msgid "ZWNJ Zero width _non-joiner"
+msgstr "ZWNJ Zero-zabalerako _ez-bateratzailea"
+
+#: WebKit/gtk/WebCoreSupport/ContextMenuClientGtk.cpp:109
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:138
+msgid "_Insert Unicode Control Character"
+msgstr "_Txertatu Unicode-ren kontrol-karakterea"
+
+#: WebKit/gtk/webkit/webkitdownload.cpp:266
+msgid "Network Request"
+msgstr "Sareko eskaera"
+
+#: WebKit/gtk/webkit/webkitdownload.cpp:267
+msgid "The network request for the URI that should be downloaded"
+msgstr "Sareko eskaera deskargatu behar den URIarentzako"
+
+#: WebKit/gtk/webkit/webkitdownload.cpp:281
+msgid "Network Response"
+msgstr "Sareko erantzuna"
+
+#: WebKit/gtk/webkit/webkitdownload.cpp:282
+msgid "The network response for the URI that should be downloaded"
+msgstr "Sareko erantzuna deskargatu behar den URIarentzako"
+
+#: WebKit/gtk/webkit/webkitdownload.cpp:296
+msgid "Destination URI"
+msgstr "Helburuaren URIa"
+
+#: WebKit/gtk/webkit/webkitdownload.cpp:297
+msgid "The destination URI where to save the file"
+msgstr "Fitxategia gordeko den helburuaren URIa"
+
+#: WebKit/gtk/webkit/webkitdownload.cpp:311
+msgid "Suggested Filename"
+msgstr "Iradokitutako fitxategi-izena"
+
+#: WebKit/gtk/webkit/webkitdownload.cpp:312
+msgid "The filename suggested as default when saving"
+msgstr "Lehenetsi gisa iradokitutako fitxategi-izena gordetzean"
+
+#: WebKit/gtk/webkit/webkitdownload.cpp:329
+msgid "Progress"
+msgstr "Aurrerapena"
+
+#: WebKit/gtk/webkit/webkitdownload.cpp:330
+msgid "Determines the current progress of the download"
+msgstr "Deskargaren uneko aurrerapena zehazten du"
+
+#: WebKit/gtk/webkit/webkitdownload.cpp:343
+msgid "Status"
+msgstr "Egoera"
+
+#: WebKit/gtk/webkit/webkitdownload.cpp:344
+msgid "Determines the current status of the download"
+msgstr "Deskargaren uneko egoera zehazten du"
+
+#: WebKit/gtk/webkit/webkitdownload.cpp:359
+msgid "Current Size"
+msgstr "Uneko tamaina"
+
+#: WebKit/gtk/webkit/webkitdownload.cpp:360
+msgid "The length of the data already downloaded"
+msgstr "Jadanik deskargatutako datuen luzera"
+
+#: WebKit/gtk/webkit/webkitdownload.cpp:374
+msgid "Total Size"
+msgstr "Tamaina osoa"
+
+#: WebKit/gtk/webkit/webkitdownload.cpp:375
+msgid "The total size of the file"
+msgstr "Fitxategiaren guztirako tamaina"
+
+#: WebKit/gtk/webkit/webkitdownload.cpp:526
+msgid "User cancelled the download"
+msgstr "Erabiltzaileak bertan behera utzi du deskarga"
+
+#: WebKit/gtk/webkit/webkitsoupauthdialog.c:248
+#, c-format
+msgid "A username and password are being requested by the site %s"
+msgstr "Erabiltzaile-izena eta pasahitza eskatzen du %s guneak"
+
+#: WebKit/gtk/webkit/webkitsoupauthdialog.c:278
+msgid "Server message:"
+msgstr "Zerbitzariaren mezua:"
+
+#: WebKit/gtk/webkit/webkitsoupauthdialog.c:291
+msgid "Username:"
+msgstr "Erabiltzaile-izena:"
+
+#: WebKit/gtk/webkit/webkitsoupauthdialog.c:293
+msgid "Password:"
+msgstr "Pasahitza:"
+
+#: WebKit/gtk/webkit/webkitsoupauthdialog.c:302
+msgid "_Remember password"
+msgstr "_Gogoratu pasahitza"
+
+#: WebKit/gtk/webkit/webkitwebframe.cpp:298
+msgid "Name"
+msgstr "Izena"
+
+#: WebKit/gtk/webkit/webkitwebframe.cpp:299
+msgid "The name of the frame"
+msgstr "Markoaren izena"
+
+#: WebKit/gtk/webkit/webkitwebframe.cpp:305
+#: WebKit/gtk/webkit/webkitwebhistoryitem.cpp:146
+#: WebKit/gtk/webkit/webkitwebview.cpp:2318
+msgid "Title"
+msgstr "Izenburua"
+
+#: WebKit/gtk/webkit/webkitwebframe.cpp:306
+msgid "The document title of the frame"
+msgstr "Markoko dokumentuaren izenburua"
+
+#: WebKit/gtk/webkit/webkitwebframe.cpp:312
+#: WebKit/gtk/webkit/webkitwebhistoryitem.cpp:178
+#: WebKit/gtk/webkit/webkitwebview.cpp:2332
+msgid "URI"
+msgstr "URIa"
+
+#: WebKit/gtk/webkit/webkitwebframe.cpp:313
+msgid "The current URI of the contents displayed by the frame"
+msgstr "Markoak bistaratutako edukiaren uneko URIa"
+
+#: WebKit/gtk/webkit/webkitwebframe.cpp:344
+msgid "Horizontal Scrollbar Policy"
+msgstr "Korritze-barra horizontalaren politika"
+
+#: WebKit/gtk/webkit/webkitwebframe.cpp:345
+msgid "Determines the current policy for the horizontal scrollbar of the frame."
+msgstr "Markoaren korritze-barra horizontalaren uneko politika zehazten du"
+
+#: WebKit/gtk/webkit/webkitwebframe.cpp:362
+msgid "Vertical Scrollbar Policy"
+msgstr "Korritze-barra bertikalaren politika"
+
+#: WebKit/gtk/webkit/webkitwebframe.cpp:363
+msgid "Determines the current policy for the vertical scrollbar of the frame."
+msgstr "Markoaren korritze-barra bertikalaren uneko politika zehazten du"
+
+#: WebKit/gtk/webkit/webkitwebhistoryitem.cpp:147
+msgid "The title of the history item"
+msgstr "Historiako elementuaren titulua"
+
+#: WebKit/gtk/webkit/webkitwebhistoryitem.cpp:162
+msgid "Alternate Title"
+msgstr "Bestelako titulua"
+
+#: WebKit/gtk/webkit/webkitwebhistoryitem.cpp:163
+msgid "The alternate title of the history item"
+msgstr "Historiako elementuaren bestelako titulua"
+
+#: WebKit/gtk/webkit/webkitwebhistoryitem.cpp:179
+msgid "The URI of the history item"
+msgstr "Historiako elementuaren URIa"
+
+#: WebKit/gtk/webkit/webkitwebhistoryitem.cpp:194
+#: WebKit/gtk/webkit/webkitwebnavigationaction.cpp:173
+msgid "Original URI"
+msgstr "Jatorriko URIa"
+
+#: WebKit/gtk/webkit/webkitwebhistoryitem.cpp:195
+msgid "The original URI of the history item"
+msgstr "Historiako elementuaren jatorriko URIa"
+
+#: WebKit/gtk/webkit/webkitwebhistoryitem.cpp:210
+msgid "Last visited Time"
+msgstr "Azken bisitatutakoaren data"
+
+#: WebKit/gtk/webkit/webkitwebhistoryitem.cpp:211
+msgid "The time at which the history item was last visited"
+msgstr "Zein datatan bisitatu zen azken aldiz historiako elementua"
+
+#: WebKit/gtk/webkit/webkitwebinspector.cpp:268
+msgid "Web View"
+msgstr "Web-aren ikuspegia"
+
+#: WebKit/gtk/webkit/webkitwebinspector.cpp:269
+msgid "The Web View that renders the Web Inspector itself"
+msgstr "Web begiraleak errendatzen duen web-aren ikuspegia"
+
+#: WebKit/gtk/webkit/webkitwebinspector.cpp:282
+msgid "Inspected URI"
+msgstr "Aztertutako URIa"
+
+#: WebKit/gtk/webkit/webkitwebinspector.cpp:283
+msgid "The URI that is currently being inspected"
+msgstr "Unean aztertzen ari den URIa"
+
+#: WebKit/gtk/webkit/webkitwebinspector.cpp:299
+msgid "Enable JavaScript profiling"
+msgstr "Gaitu JavaScript-en profila"
+
+#: WebKit/gtk/webkit/webkitwebinspector.cpp:300
+msgid "Profile the executed JavaScript."
+msgstr "Sortu exekutatutako JavaScript-aren profila."
+
+#: WebKit/gtk/webkit/webkitwebinspector.cpp:315
+msgid "Enable Timeline profiling"
+msgstr "Gaitu denbora-lerroaren profila"
+
+#: WebKit/gtk/webkit/webkitwebinspector.cpp:316
+msgid "Profile the WebCore instrumentation."
+msgstr "WebCore tresneriaren profila."
+
+#: WebKit/gtk/webkit/webkitwebnavigationaction.cpp:158
+msgid "Reason"
+msgstr "Zergatia"
+
+#: WebKit/gtk/webkit/webkitwebnavigationaction.cpp:159
+msgid "The reason why this navigation is occurring"
+msgstr "Nabigazio hau zergatik gertatzen ari den"
+
+#: WebKit/gtk/webkit/webkitwebnavigationaction.cpp:174
+msgid "The URI that was requested as the target for the navigation"
+msgstr "Nabigazioaren helburu gisa eskatutako URIa"
+
+#: WebKit/gtk/webkit/webkitwebnavigationaction.cpp:188
+msgid "Button"
+msgstr "Botoia"
+
+#: WebKit/gtk/webkit/webkitwebnavigationaction.cpp:189
+msgid "The button used to click"
+msgstr "Klik egiteko erabilitako botoia"
+
+#: WebKit/gtk/webkit/webkitwebnavigationaction.cpp:204
+msgid "Modifier state"
+msgstr "Aldatzailearen egoera"
+
+#: WebKit/gtk/webkit/webkitwebnavigationaction.cpp:205
+msgid "A bitmask representing the state of the modifier keys"
+msgstr "Tekla aldatzaileen egoera adierazten duen bit-maskara"
+
+#: WebKit/gtk/webkit/webkitwebnavigationaction.cpp:220
+msgid "Target frame"
+msgstr "Helburuko markoa"
+
+#: WebKit/gtk/webkit/webkitwebnavigationaction.cpp:221
+msgid "The target frame for the navigation"
+msgstr "Nabigazioaren helburuko markoa"
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:237
+msgid "Default Encoding"
+msgstr "Kodeketa lehenetsia"
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:238
+msgid "The default encoding used to display text."
+msgstr "Testua bistaratzeko erabilitako kodeketa lehenetsia."
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:246
+msgid "Cursive Font Family"
+msgstr "Cursive letra-tipoaren familia"
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:247
+msgid "The default Cursive font family used to display text."
+msgstr "Cursive letra-tipoaren familia lehenetsia testua bistaratzeko."
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:255
+msgid "Default Font Family"
+msgstr "Letra-tipoaren familia lehenetsia"
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:256
+msgid "The default font family used to display text."
+msgstr "Letra-tipoaren familia lehenetsia testua bistaratzeko."
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:264
+msgid "Fantasy Font Family"
+msgstr "Fantasy letra-tipoaren familia"
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:265
+msgid "The default Fantasy font family used to display text."
+msgstr "Fantasy letra-tipoaren familia lehenetsia testua bistaratzeko."
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:273
+msgid "Monospace Font Family"
+msgstr "Tarte bakarreko letra-tipoaren familia"
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:274
+msgid "The default font family used to display monospace text."
+msgstr "Tarte bakarreko letra-tipoaren familia lehenetsia testua bistaratzeko."
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:282
+msgid "Sans Serif Font Family"
+msgstr "Sans Serif letra-tipoaren familia"
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:283
+msgid "The default Sans Serif font family used to display text."
+msgstr "Sans Serif letra-tipoaren familia lehenetsia testua bistaratzeko."
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:291
+msgid "Serif Font Family"
+msgstr "Serif letra-tipoaren familia"
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:292
+msgid "The default Serif font family used to display text."
+msgstr "Serif letra-tipoaren familia lehenetsia testua bistaratzeko."
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:300
+msgid "Default Font Size"
+msgstr "Letra-tamaina lehenetsia"
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:301
+msgid "The default font size used to display text."
+msgstr "Letra-tamaina lehenetsia testua bistaratzeko."
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:309
+msgid "Default Monospace Font Size"
+msgstr "Tarte bakarreko letra-tamina lehenetsia"
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:310
+msgid "The default font size used to display monospace text."
+msgstr "Tarte bakarreko letra-tamaina lehenetsia testua bistaratzeko."
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:318
+msgid "Minimum Font Size"
+msgstr "Gutxieneko letra-tamaina"
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:319
+msgid "The minimum font size used to display text."
+msgstr "Gutxieneko letra-tamaina testua bistaratzeko."
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:327
+msgid "Minimum Logical Font Size"
+msgstr "Logical-en gutxieneko letra-tamaina"
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:328
+msgid "The minimum logical font size used to display text."
+msgstr "Logical-en gutxieneko letra-tamaina testua bistaratzeko."
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:347
+msgid "Enforce 96 DPI"
+msgstr "Derrigortu 96 DPI"
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:348
+msgid "Enforce a resolution of 96 DPI"
+msgstr "Derrigortu 96 DPI-ko bereizmena"
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:356
+msgid "Auto Load Images"
+msgstr "Kargatu automatikoki irudiak"
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:357
+msgid "Load images automatically."
+msgstr "Irudiak automatikoki kargatzen ditu."
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:365
+msgid "Auto Shrink Images"
+msgstr "Txikitu automatikoki irudiak"
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:366
+msgid "Automatically shrink standalone images to fit."
+msgstr "Txikitu automatikoki banakako irudiak doitzeko."
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:374
+msgid "Print Backgrounds"
+msgstr "Inprimatu atzeko planoak"
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:375
+msgid "Whether background images should be printed."
+msgstr "Atzeko planoko irudiak inprimatu egingo diren ala ez."
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:383
+msgid "Enable Scripts"
+msgstr "Gaitu script-ak"
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:384
+msgid "Enable embedded scripting languages."
+msgstr "Gaitu kapsulatutako script-langoaiak."
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:392
+msgid "Enable Plugins"
+msgstr "Gaitu pluginak"
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:393
+msgid "Enable embedded plugin objects."
+msgstr "Gaitu kapsulatutako plugin objektuak."
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:401
+msgid "Resizable Text Areas"
+msgstr "Testu areen tamaina aldagarriak"
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:402
+msgid "Whether text areas are resizable."
+msgstr "Testuen areen tamainak aldagarriak diren ala ez."
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:409
+msgid "User Stylesheet URI"
+msgstr "Erabiltzailearen estilo-orriaren URIa"
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:410
+msgid "The URI of a stylesheet that is applied to every page."
+msgstr "Orrialde bakoitzari aplikatzen zaion estilo-orriaren URIa."
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:425
+msgid "Zoom Stepping Value"
+msgstr "Zoom-aren urratsaren balioa"
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:426
+msgid "The value by which the zoom level is changed when zooming in or out."
+msgstr "Zoomaren maila aldatuko den balioa zooma handitzean edo txikiagotzean."
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:444
+msgid "Enable Developer Extras"
+msgstr "Gaitu garatzaileen estrak"
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:445
+msgid "Enables special extensions that help developers"
+msgstr "Gaitu hedapen bereziak garatzaileei laguntzeko"
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:465
+msgid "Enable Private Browsing"
+msgstr "Gaitu arakatze pribatua"
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:466
+msgid "Enables private browsing mode"
+msgstr "Arakatze pribatuaren modua gaitzen du"
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:481
+msgid "Enable Spell Checking"
+msgstr "Gaitu zuzentzaile ortografikoa"
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:482
+msgid "Enables spell checking while typing"
+msgstr "Idazten den bitartean ortografia zuzentzea gaitzen du"
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:505
+msgid "Languages to use for spell checking"
+msgstr "Hizkuntzak ortografia zuzentzean erabiltzeko"
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:506
+msgid "Comma separated list of languages to use for spell checking"
+msgstr "Komaz bereiztutako hizkuntzen zerrenda ortografia zuzentzean erabiltzeko"
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:520
+msgid "Enable Caret Browsing"
+msgstr "Gaitu kurtsore-arakatzea"
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:521
+msgid "Whether to enable accesibility enhanced keyboard navigation"
+msgstr "Erabilerraztasunerako hobetutako teklatuaren nabigazioa gaituko den ala ez"
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:536
+msgid "Enable HTML5 Database"
+msgstr "Gaitu HTML5en datu-basea"
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:537
+msgid "Whether to enable HTML5 database support"
+msgstr "HTML5en datu-basearen euskarria gaituko den ala ez"
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:552
+msgid "Enable HTML5 Local Storage"
+msgstr "Gaitu HTML5 biltegi lokala"
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:553
+msgid "Whether to enable HTML5 Local Storage support"
+msgstr "HTML5 biltegi lokaleko euskarria gaituko den ala ez"
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:567
+msgid "Enable XSS Auditor"
+msgstr "Gaitu XSS begiralea"
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:568
+msgid "Whether to enable teh XSS auditor"
+msgstr "XSSaren begiralea gaituko den ala ez"
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:586
+msgid "User Agent"
+msgstr "Erabiltzaile-agentea"
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:587
+msgid "The User-Agent string used by WebKitGtk"
+msgstr "WebKitGtk-ak erabilitako erabiltzaile-agentearen katea"
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:602
+msgid "JavaScript can open windows automatically"
+msgstr "JavaScript-ek leihoak automatikoki ireki ditzake"
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:603
+msgid "Whether JavaScript can open windows automatically"
+msgstr "JavaScript-ek leihoak automatikoki ireki ditzakeen ala ez"
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:618
+msgid "Enable offline web application cache"
+msgstr "Gaitu lineaz kanpoko web aplikazioaren cachea"
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:619
+msgid "Whether to enable offline web application cache"
+msgstr "Lineaz kanpoko web aplikazioaren cachea gaituko den ala ez"
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:646
+msgid "Editing behavior"
+msgstr "Edizioaren portaera"
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:647
+msgid "The behavior mode to use in editing mode"
+msgstr "Edizio moduan erabiliko den portaera modua"
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:663
+msgid "Enable universal access from file URIs"
+msgstr "Gaitu sarbide unibertsala fitxategien URIetatik"
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:664
+msgid "Whether to allow universal access from file URIs"
+msgstr "Sarbide unibertsala fitxategien URIetatik gaituko den ala ez"
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:679
+msgid "Enable DOM paste"
+msgstr "Gaitu DOM itsastea"
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:680
+msgid "Whether to enable DOM paste"
+msgstr "DOM itsastea gaituko den ala ez"
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:698
+msgid "Tab key cycles through elements"
+msgstr "Begiztatu elementuetan zehar tabuladorearekin"
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:699
+msgid "Whether the tab key cycles through elements on the page."
+msgstr "Orrialdeko elementuetan zehar tabuladorea teklarekin begiztatuko den ala ez."
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:719
+msgid "Enable Default Context Menu"
+msgstr "Gaitu testuinguruko menu lehenetsia"
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:720
+msgid ""
+"Enables the handling of right-clicks for the creation of the default context "
+"menu"
+msgstr ""
+"Saguaren eskuineko botoiarekin klik egitearen kudeaketa gaitzen du testuinguruko "
+"manu lehenetsia sortzeko"
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:740
+msgid "Enable Site Specific Quirks"
+msgstr "Gaitu gunearekiko berezitasunak"
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:741
+msgid "Enables the site-specific compatibility workarounds"
+msgstr "Gunearekiko bateragarritasunaren konponbideak gaitzen ditu"
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:763
+msgid "Enable page cache"
+msgstr "Gaitu orrialdearen cache-a"
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:764
+msgid "Whether the page cache should be used"
+msgstr "Orrialdearen cache-a erabiliko den ala ez"
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:784
+msgid "Auto Resize Window"
+msgstr "Aldatu leihoaren tamaina automatikoki"
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:785
+msgid "Automatically resize the toplevel window when a page requests it"
+msgstr "Aldatu goi-mailako leihoaren tamaina automatikoki orrialde batek horrela eskatzean"
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:817
+msgid "Enable Java Applet"
+msgstr "Gaitu Java-ren miniaplikazioa"
+
+#: WebKit/gtk/webkit/webkitwebsettings.cpp:818
+msgid "Whether Java Applet support through <applet> should be enabled"
+msgstr "Java-ren miniaplikazioaren euskarria <applet> bidez gaituko den ala ez"
+
+#: WebKit/gtk/webkit/webkitwebview.cpp:2319
+msgid "Returns the @web_view's document title"
+msgstr "@web_view-ek dokumentuaren titulua itzultzen du"
+
+#: WebKit/gtk/webkit/webkitwebview.cpp:2333
+msgid "Returns the current URI of the contents displayed by the @web_view"
+msgstr "@web_view-ek bistaratutako edukiaren uneko URIa itzultzen du"
+
+#: WebKit/gtk/webkit/webkitwebview.cpp:2346
+msgid "Copy target list"
+msgstr "Kopiatu helburuen zerrenda"
+
+#: WebKit/gtk/webkit/webkitwebview.cpp:2347
+msgid "The list of targets this web view supports for clipboard copying"
+msgstr "Web-aren ikuspegi honek onartzen dituen helburuen zerrenda arbelean kopiatzeko"
+
+#: WebKit/gtk/webkit/webkitwebview.cpp:2360
+msgid "Paste target list"
+msgstr "Itsatsi helburuen zerrenda"
+
+#: WebKit/gtk/webkit/webkitwebview.cpp:2361
+msgid "The list of targets this web view supports for clipboard pasting"
+msgstr "Web-aren ikuspegi honek onartzen dituen helburuen zerrenda arbeletik itsasteko"
+
+#: WebKit/gtk/webkit/webkitwebview.cpp:2367
+msgid "Settings"
+msgstr "Ezarpenak"
+
+#: WebKit/gtk/webkit/webkitwebview.cpp:2368
+msgid "An associated WebKitWebSettings instance"
+msgstr "Esleitutako WebKitWebSettings-en instantzia"
+
+#: WebKit/gtk/webkit/webkitwebview.cpp:2381
+msgid "Web Inspector"
+msgstr "Web begiralea"
+
+#: WebKit/gtk/webkit/webkitwebview.cpp:2382
+msgid "The associated WebKitWebInspector instance"
+msgstr "Esleitutako WebKitWebInspector-en instantzia"
+
+#: WebKit/gtk/webkit/webkitwebview.cpp:2402
+msgid "Editable"
+msgstr "Editagarria"
+
+#: WebKit/gtk/webkit/webkitwebview.cpp:2403
+msgid "Whether content can be modified by the user"
+msgstr "Erabiltzaileak edukia alda dezakeen ala ez"
+
+#: WebKit/gtk/webkit/webkitwebview.cpp:2409
+msgid "Transparent"
+msgstr "Gardena"
+
+#: WebKit/gtk/webkit/webkitwebview.cpp:2410
+msgid "Whether content has a transparent background"
+msgstr "Edukiak atzeko plano gardena duen ala ez"
+
+#: WebKit/gtk/webkit/webkitwebview.cpp:2423
+msgid "Zoom level"
+msgstr "Zoomaren maila"
+
+#: WebKit/gtk/webkit/webkitwebview.cpp:2424
+msgid "The level of zoom of the content"
+msgstr "Edukiaren zoomaren maila"
+
+#: WebKit/gtk/webkit/webkitwebview.cpp:2439
+msgid "Full content zoom"
+msgstr "Eduki osoaren zooma"
+
+#: WebKit/gtk/webkit/webkitwebview.cpp:2440
+msgid "Whether the full content is scaled when zooming"
+msgstr "Eduki osoa eskalatuko den zooma egitean ala ez"
+
+#: WebKit/gtk/webkit/webkitwebview.cpp:2453
+msgid "Encoding"
+msgstr "Kodeketa"
+
+#: WebKit/gtk/webkit/webkitwebview.cpp:2454
+msgid "The default encoding of the web view"
+msgstr "Web ikuspegiaren kodeketa lehenetsia"
+
+#: WebKit/gtk/webkit/webkitwebview.cpp:2467
+msgid "Custom Encoding"
+msgstr "Kodeketa pertsonalizatua"
+
+#: WebKit/gtk/webkit/webkitwebview.cpp:2468
+msgid "The custom encoding of the web view"
+msgstr "Web ikuspegiaren kodeketa pertsonalizatua"
+
+#: WebKit/gtk/webkit/webkitwebview.cpp:2520
+msgid "Icon URI"
+msgstr "Ikonoaren URIa"
+
+#: WebKit/gtk/webkit/webkitwebview.cpp:2521
+msgid "The URI for the favicon for the #WebKitWebView."
+msgstr "Favicon-aren URIa #WebKitWebView-rentzako."
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:55
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:60
+msgid "Submit"
+msgstr "Bidali"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:65
+msgid "Reset"
+msgstr "Berrezarri"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:70
+msgid "This is a searchable index. Enter search keywords: "
+msgstr "Indizean bilaketak egin daitezke. Sartu bilaketarako gako-hitzak:"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:75
+msgid "Choose File"
+msgstr "Aukeratu fitxategia"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:80
+msgid "(None)"
+msgstr "(Bat ere ez)"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:85
+msgid "Open Link in New _Window"
+msgstr "Ireki esteka leiho _berrian"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:90
+msgid "_Download Linked File"
+msgstr "_Deskargatu estekatutako fitxategia"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:95
+msgid "Copy Link Loc_ation"
+msgstr "Kopiatu estekaren _helbidea"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:100
+msgid "Open _Image in New Window"
+msgstr "Ireki _irudia leiho berrian"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:105
+msgid "Sa_ve Image As"
+msgstr "_Gorde irudia honela"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:110
+msgid "Cop_y Image"
+msgstr "_Kopiatu irudia"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:115
+msgid "Open _Frame in New Window"
+msgstr "Ireki _markoa leiho berrian"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:166
+msgid "_Reload"
+msgstr "_Birkargatu"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:183
+msgid "No Guesses Found"
+msgstr "Ez da iragarpenik aurkitu"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:188
+msgid "_Ignore Spelling"
+msgstr "_Ezikusi ortografia"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:193
+msgid "_Learn Spelling"
+msgstr "_Ikasi ortografia"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:198
+msgid "_Search the Web"
+msgstr "_Bilatu web-ean"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:203
+msgid "_Look Up in Dictionary"
+msgstr "Bilatu _hiztegian"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:208
+msgid "_Open Link"
+msgstr "_Ireki esteka"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:213
+msgid "Ignore _Grammar"
+msgstr "Ezikusi _gramatika"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:218
+msgid "Spelling and _Grammar"
+msgstr "Ortografia eta _gramatika"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:223
+msgid "_Show Spelling and Grammar"
+msgstr "E_rakutsi ortografia eta gramatika"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:223
+msgid "_Hide Spelling and Grammar"
+msgstr "E_zkutatu ortografia eta gramatika"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:228
+msgid "_Check Document Now"
+msgstr "_Egiaztatu dokumentua orain"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:233
+msgid "Check Spelling While _Typing"
+msgstr "Egiaztatu ortografia _idaztean"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:238
+msgid "Check _Grammar With Spelling"
+msgstr "Egiaztatu _gramatika ortografiarekin"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:243
+msgid "_Font"
+msgstr "_Letra-tipoa"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:266
+msgid "_Outline"
+msgstr "_Eskema"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:271
+msgid "Inspect _Element"
+msgstr "Aztertu _elementua"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:276
+msgid "No recent searches"
+msgstr "Azken bilaketarik ez"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:281
+msgid "Recent searches"
+msgstr "Azken bilaketak"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:286
+msgid "_Clear recent searches"
+msgstr "_Garbitu azken bilaketak"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:291
+msgid "term"
+msgstr "terminoa"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:296
+msgid "definition"
+msgstr "definizioa"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:301
+msgid "press"
+msgstr "sakatu"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:306
+msgid "select"
+msgstr "hautatu"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:311
+msgid "activate"
+msgstr "aktibatu"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:316
+msgid "uncheck"
+msgstr "ez egiaztatu"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:321
+msgid "check"
+msgstr "egiaztatu"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:326
+msgid "jump"
+msgstr "jauzi"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:342
+msgid " files"
+msgstr " fitxategi"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:347
+msgid "Unknown"
+msgstr "Ezezaguna"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:364
+msgid "Loading..."
+msgstr "Kargatzen..."
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:369
+msgid "Live Broadcast"
+msgstr "Zuzeneko igorpena"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:375
+msgid "audio element controller"
+msgstr "audio elementuaren kontrolatzailea"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:377
+msgid "video element controller"
+msgstr "bideo elementuaren kontrolatzailea"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:379
+msgid "mute"
+msgstr "mututu"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:381
+msgid "unmute"
+msgstr "ez mututu"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:383
+msgid "play"
+msgstr "erreproduzitu"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:385
+msgid "pause"
+msgstr "pausatu"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:387
+msgid "movie time"
+msgstr "filmaren denbora"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:389
+msgid "timeline slider thumb"
+msgstr "denbora-lerroaren graduatzaile txikia"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:391
+msgid "back 30 seconds"
+msgstr "30 segundo atzera"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:393
+msgid "return to realtime"
+msgstr "itzuli denbora errealera"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:395
+msgid "elapsed time"
+msgstr "igarotako denbora"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:397
+msgid "remaining time"
+msgstr "geratzen den denbora"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:399
+msgid "status"
+msgstr "egoera"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:401
+msgid "fullscreen"
+msgstr "pantaila osoa"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:403
+msgid "fast forward"
+msgstr "azkar aurrerantz"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:405
+msgid "fast reverse"
+msgstr "azkar alderantziz"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:407
+msgid "show closed captions"
+msgstr "erakutsi itxitako epigrafeak"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:409
+msgid "hide closed captions"
+msgstr "ezkutatu itxitako epigrafeak"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:418
+msgid "audio element playback controls and status display"
+msgstr "audio elementuen erreprodukzio-kontrolak eta egoeraren bista"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:420
+msgid "video element playback controls and status display"
+msgstr "bideo elementuen erreprodukzio-kontrolak eta egoeraren bista"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:422
+msgid "mute audio tracks"
+msgstr "mututu audioko pistak"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:424
+msgid "unmute audio tracks"
+msgstr "ez mututu audioko pistak"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:426
+msgid "begin playback"
+msgstr "hasi erreproduzitzen"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:428
+msgid "pause playback"
+msgstr "pausatu erreprodukzioa"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:430
+msgid "movie time scrubber"
+msgstr "filmaren denboraren garbitzailea"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:432
+msgid "movie time scrubber thumb"
+msgstr "filmaren denboraren garbitzaile txikia"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:434
+msgid "seek movie back 30 seconds"
+msgstr "kokatu filmean 30 segundo atzera"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:436
+msgid "return streaming movie to real time"
+msgstr "itzuli filmaren korrontea denbora errealera"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:438
+msgid "current movie time in seconds"
+msgstr "uneko filmaren denbora segundotan"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:440
+msgid "number of seconds of movie remaining"
+msgstr "filmari gelditzen zaizkion segundo kopurua"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:442
+msgid "current movie status"
+msgstr "filmaren uneko egoera"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:444
+msgid "seek quickly back"
+msgstr "kokatu azkar atzera"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:446
+msgid "seek quickly forward"
+msgstr "kokatu azkar aurrera"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:448
+msgid "Play movie in fullscreen mode"
+msgstr "Erreproduzitu filma pantaila osoko moduan"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:450
+msgid "start displaying closed captions"
+msgstr "hasi itxitako epigrafeak bistaratzen"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:452
+msgid "stop displaying closed captions"
+msgstr "gelditu itxitako epigrafeak bistaratzea"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:461
+msgid "indefinite time"
+msgstr "denbora definitu gabea"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:491
+msgid "value missing"
+msgstr "balioa falta da"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:497
+msgid "type mismatch"
+msgstr "mota ez dator bat"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:502
+msgid "pattern mismatch"
+msgstr "eredua ez dator bat"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:507
+msgid "too long"
+msgstr "handiegia"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:512
+msgid "range underflow"
+msgstr "barruti-gainezkatze negatiboa"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:517
+msgid "range overflow"
+msgstr "barrutia gainezkatua"
+
+#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:522
+msgid "step mismatch"
+msgstr "urratsa ez dator bat"
+
diff --git a/Source/WebKit/gtk/po/fr.po b/Source/WebKit/gtk/po/fr.po
index 670ac6e..5108247 100644
--- a/Source/WebKit/gtk/po/fr.po
+++ b/Source/WebKit/gtk/po/fr.po
@@ -542,7 +542,7 @@ msgid "Enable Caret Browsing"
msgstr "Activer la navigation au curseur"
#: Source/WebKit/gtk/webkit/webkitwebsettings.cpp:539
-msgid "Whether to enable accesibility enhanced keyboard navigation"
+msgid "Whether to enable accessibility enhanced keyboard navigation"
msgstr ""
"Indique s'il faut activer la navigation au clavier pour favoriser "
"l'accessibilité"
diff --git a/Source/WebKit/gtk/po/gl.po b/Source/WebKit/gtk/po/gl.po
index 266f7f4..8a9da32 100644
--- a/Source/WebKit/gtk/po/gl.po
+++ b/Source/WebKit/gtk/po/gl.po
@@ -520,7 +520,7 @@ msgid "Enable Caret Browsing"
msgstr "Activar a navegación cos cursores"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:521
-msgid "Whether to enable accesibility enhanced keyboard navigation"
+msgid "Whether to enable accessibility enhanced keyboard navigation"
msgstr ""
"Indica se activar a navegación mellorada por teclado para a accesibilidade"
diff --git a/Source/WebKit/gtk/po/gu.po b/Source/WebKit/gtk/po/gu.po
index b0556e7..f02534e 100644
--- a/Source/WebKit/gtk/po/gu.po
+++ b/Source/WebKit/gtk/po/gu.po
@@ -505,7 +505,7 @@ msgid "Enable Caret Browsing"
msgstr "કેરેટ બ્રાઉઝીંગ સક્રિય કરો"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:521
-msgid "Whether to enable accesibility enhanced keyboard navigation"
+msgid "Whether to enable accessibility enhanced keyboard navigation"
msgstr "શું સુલભતા ઉન્નત કીબોર્ડ શોધખોળ સક્રિય કરવી છે"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:536
diff --git a/Source/WebKit/gtk/po/he.po b/Source/WebKit/gtk/po/he.po
index 5359feb..dee4189 100644
--- a/Source/WebKit/gtk/po/he.po
+++ b/Source/WebKit/gtk/po/he.po
@@ -512,7 +512,7 @@ msgid "Enable Caret Browsing"
msgstr "אפשר גלישה פרטית"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:521
-msgid "Whether to enable accesibility enhanced keyboard navigation"
+msgid "Whether to enable accessibility enhanced keyboard navigation"
msgstr ""
#: WebKit/gtk/webkit/webkitwebsettings.cpp:536
diff --git a/Source/WebKit/gtk/po/hu.po b/Source/WebKit/gtk/po/hu.po
index 1549430..00d9875 100644
--- a/Source/WebKit/gtk/po/hu.po
+++ b/Source/WebKit/gtk/po/hu.po
@@ -505,7 +505,7 @@ msgid "Enable Caret Browsing"
msgstr "Kurzoros böngészés engedélyezése"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:517
-msgid "Whether to enable accesibility enhanced keyboard navigation"
+msgid "Whether to enable accessibility enhanced keyboard navigation"
msgstr "Akadálymentes billentyűzetnavigáció engedélyezése"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:532
diff --git a/Source/WebKit/gtk/po/id.po b/Source/WebKit/gtk/po/id.po
index fb3a8a9..199312e 100644
--- a/Source/WebKit/gtk/po/id.po
+++ b/Source/WebKit/gtk/po/id.po
@@ -742,7 +742,7 @@ msgid "Enable Caret Browsing"
msgstr "Aktifkan Perambanan Caret"
#: ../webkit/webkitwebsettings.cpp:531
-msgid "Whether to enable accesibility enhanced keyboard navigation"
+msgid "Whether to enable accessibility enhanced keyboard navigation"
msgstr "Apakah mengaktifkan navigasi papan tik bagi aksesabilitas"
#: ../webkit/webkitwebsettings.cpp:546
diff --git a/Source/WebKit/gtk/po/it.po b/Source/WebKit/gtk/po/it.po
index 6d6f0ac..0112a44 100644
--- a/Source/WebKit/gtk/po/it.po
+++ b/Source/WebKit/gtk/po/it.po
@@ -560,7 +560,7 @@ msgid "Enable Caret Browsing"
msgstr "Abilita navigazione con cursore"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:521
-msgid "Whether to enable accesibility enhanced keyboard navigation"
+msgid "Whether to enable accessibility enhanced keyboard navigation"
msgstr ""
"Indica se abilitare la navigazione da tastiera ottimizzata per "
"l'accessibilità"
diff --git a/Source/WebKit/gtk/po/ko.po b/Source/WebKit/gtk/po/ko.po
index 4d45f18..050a196 100644
--- a/Source/WebKit/gtk/po/ko.po
+++ b/Source/WebKit/gtk/po/ko.po
@@ -736,7 +736,7 @@ msgid "Enable Caret Browsing"
msgstr "캐럿 모드 사용"
#: ../webkit/webkitwebsettings.cpp:531
-msgid "Whether to enable accesibility enhanced keyboard navigation"
+msgid "Whether to enable accessibility enhanced keyboard navigation"
msgstr "키보드 네비게이션 기능을 사용할지 여부"
#: ../webkit/webkitwebsettings.cpp:546
diff --git a/Source/WebKit/gtk/po/lt.po b/Source/WebKit/gtk/po/lt.po
index fd449a2..5bef8fe 100644
--- a/Source/WebKit/gtk/po/lt.po
+++ b/Source/WebKit/gtk/po/lt.po
@@ -509,7 +509,7 @@ msgid "Enable Caret Browsing"
msgstr "Visuomet įjungti teksto žymeklį"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:517
-msgid "Whether to enable accesibility enhanced keyboard navigation"
+msgid "Whether to enable accessibility enhanced keyboard navigation"
msgstr "Ar įjungti teksto fragmentų žymėjimą klaviatūra"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:532
diff --git a/Source/WebKit/gtk/po/nb.po b/Source/WebKit/gtk/po/nb.po
index fdfa753..196e371 100644
--- a/Source/WebKit/gtk/po/nb.po
+++ b/Source/WebKit/gtk/po/nb.po
@@ -516,7 +516,7 @@ msgid "Enable Caret Browsing"
msgstr "Aktiver myk rulling"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:521
-msgid "Whether to enable accesibility enhanced keyboard navigation"
+msgid "Whether to enable accessibility enhanced keyboard navigation"
msgstr ""
#: WebKit/gtk/webkit/webkitwebsettings.cpp:536
diff --git a/Source/WebKit/gtk/po/nl.po b/Source/WebKit/gtk/po/nl.po
index e33e284..28b39e9 100644
--- a/Source/WebKit/gtk/po/nl.po
+++ b/Source/WebKit/gtk/po/nl.po
@@ -739,7 +739,7 @@ msgid "Enable Caret Browsing"
msgstr "Cursor-browsen inschakelen"
#: ../webkit/webkitwebsettings.cpp:525
-msgid "Whether to enable accesibility enhanced keyboard navigation"
+msgid "Whether to enable accessibility enhanced keyboard navigation"
msgstr ""
"Of toegankelijkheidsgeoptimaliseerde toetsenbordnavigatie is ingeschakeld"
diff --git a/Source/WebKit/gtk/po/pa.po b/Source/WebKit/gtk/po/pa.po
index 418192e..04a7c91 100644
--- a/Source/WebKit/gtk/po/pa.po
+++ b/Source/WebKit/gtk/po/pa.po
@@ -511,7 +511,7 @@ msgid "Enable Caret Browsing"
msgstr "ਪ੍ਰਾਈਵੇਟ ਬਰਾਊਜ਼ਿੰਗ ਯੋਗ"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:521
-msgid "Whether to enable accesibility enhanced keyboard navigation"
+msgid "Whether to enable accessibility enhanced keyboard navigation"
msgstr ""
#: WebKit/gtk/webkit/webkitwebsettings.cpp:536
diff --git a/Source/WebKit/gtk/po/pl.po b/Source/WebKit/gtk/po/pl.po
index e7a2a3c..e5a0139 100644
--- a/Source/WebKit/gtk/po/pl.po
+++ b/Source/WebKit/gtk/po/pl.po
@@ -753,7 +753,7 @@ msgid "Enable Caret Browsing"
msgstr "Włączenie przeglądania w trybie karetki"
#: ../webkit/webkitwebsettings.cpp:536
-msgid "Whether to enable accesibility enhanced keyboard navigation"
+msgid "Whether to enable accessibility enhanced keyboard navigation"
msgstr ""
"Określa, czy włączyć nawigację klawiaturą usprawnioną pod kątem dostępności"
diff --git a/Source/WebKit/gtk/po/pt.po b/Source/WebKit/gtk/po/pt.po
index b99048d..ea27d83 100644
--- a/Source/WebKit/gtk/po/pt.po
+++ b/Source/WebKit/gtk/po/pt.po
@@ -512,7 +512,7 @@ msgid "Enable Caret Browsing"
msgstr "Activar Navegação com Cursor"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:521
-msgid "Whether to enable accesibility enhanced keyboard navigation"
+msgid "Whether to enable accessibility enhanced keyboard navigation"
msgstr ""
"Se deve ser activada a navegação com teclado melhorada para acessibilidade"
diff --git a/Source/WebKit/gtk/po/pt_BR.po b/Source/WebKit/gtk/po/pt_BR.po
index 026bb2c..ed9e958 100644
--- a/Source/WebKit/gtk/po/pt_BR.po
+++ b/Source/WebKit/gtk/po/pt_BR.po
@@ -1,13 +1,15 @@
# Brazilian Portuguese translations for WebKit package.
# Copyright (C) 2009 Collabora Ltd.
+# Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>, 2009.
+# Henrique P. Machado <hpmachado@gnome.org>, 2011.
#
msgid ""
msgstr ""
"Project-Id-Version: webkit 1.1.4\n"
"Report-Msgid-Bugs-To: http://bugs.webkit.org/\n"
"POT-Creation-Date: 2010-02-25 15:53-0300\n"
-"PO-Revision-Date: 2009-04-15 21:39-0300\n"
-"Last-Translator: Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>\n"
+"PO-Revision-Date: 2011-02-14 23:35-0200\n"
+"Last-Translator: Henrique P. Machado <hpmachado@gnome.org>\n"
"Language-Team: Brazilian Portuguese\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@@ -61,7 +63,7 @@ msgstr "ZWJ _União de largura zero"
#: WebKit/gtk/WebCoreSupport/ContextMenuClientGtk.cpp:87
msgid "ZWNJ Zero width _non-joiner"
-msgstr "ZWNJ _Não-união de largura zero"
+msgstr "ZWNJ _não-união de largura zero"
#: WebKit/gtk/WebCoreSupport/ContextMenuClientGtk.cpp:109
#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:138
@@ -70,25 +72,23 @@ msgstr "_Inserir caractere de controle Unicode"
#: WebKit/gtk/webkit/webkitdownload.cpp:266
msgid "Network Request"
-msgstr "Requisição de Rede"
+msgstr "Requisição de rede"
#: WebKit/gtk/webkit/webkitdownload.cpp:267
msgid "The network request for the URI that should be downloaded"
msgstr "A requisição de rede para a URI que deve ser baixada"
#: WebKit/gtk/webkit/webkitdownload.cpp:281
-#, fuzzy
msgid "Network Response"
-msgstr "Requisição de Rede"
+msgstr "Resposta de rede"
#: WebKit/gtk/webkit/webkitdownload.cpp:282
-#, fuzzy
msgid "The network response for the URI that should be downloaded"
-msgstr "A requisição de rede para a URI que deve ser baixada"
+msgstr "A resposta de rede para a URI que deve ser baixada"
#: WebKit/gtk/webkit/webkitdownload.cpp:296
msgid "Destination URI"
-msgstr "URI de Destino"
+msgstr "URI de destino"
#: WebKit/gtk/webkit/webkitdownload.cpp:297
msgid "The destination URI where to save the file"
@@ -96,7 +96,7 @@ msgstr "A URI de destino, onde deve ser salvo o arquivo"
#: WebKit/gtk/webkit/webkitdownload.cpp:311
msgid "Suggested Filename"
-msgstr "Nome de Arquivo Sugerido"
+msgstr "Nome de arquivo sugerido"
#: WebKit/gtk/webkit/webkitdownload.cpp:312
msgid "The filename suggested as default when saving"
@@ -112,15 +112,15 @@ msgstr "Determina o progresso atual do download"
#: WebKit/gtk/webkit/webkitdownload.cpp:343
msgid "Status"
-msgstr "Estado"
+msgstr "Status"
#: WebKit/gtk/webkit/webkitdownload.cpp:344
msgid "Determines the current status of the download"
-msgstr "Determina o estado atual do download"
+msgstr "Determina o status atual do download"
#: WebKit/gtk/webkit/webkitdownload.cpp:359
msgid "Current Size"
-msgstr "Tamanho Atual"
+msgstr "Tamanho atual"
#: WebKit/gtk/webkit/webkitdownload.cpp:360
msgid "The length of the data already downloaded"
@@ -145,7 +145,7 @@ msgstr "Usuário e senha estão sendo pedidos pelo sítio %s"
#: WebKit/gtk/webkit/webkitsoupauthdialog.c:278
msgid "Server message:"
-msgstr ""
+msgstr "Mensagem do servidor:"
#: WebKit/gtk/webkit/webkitsoupauthdialog.c:291
msgid "Username:"
@@ -156,9 +156,8 @@ msgid "Password:"
msgstr "Senha:"
#: WebKit/gtk/webkit/webkitsoupauthdialog.c:302
-#, fuzzy
msgid "_Remember password"
-msgstr "Lembrar senha"
+msgstr "_Lembrar senha"
#: WebKit/gtk/webkit/webkitwebframe.cpp:298
msgid "Name"
@@ -190,22 +189,21 @@ msgstr "A URI atual do conteúdo que está sendo exibido pelo quadro"
#: WebKit/gtk/webkit/webkitwebframe.cpp:344
msgid "Horizontal Scrollbar Policy"
-msgstr ""
+msgstr "Política da barra de rolagem horizontal"
#: WebKit/gtk/webkit/webkitwebframe.cpp:345
-#, fuzzy
msgid ""
"Determines the current policy for the horizontal scrollbar of the frame."
-msgstr "Determina o progresso atual do download"
+msgstr ""
+"Determina a política atual para a barra de rolagem horizontal do quadro."
#: WebKit/gtk/webkit/webkitwebframe.cpp:362
msgid "Vertical Scrollbar Policy"
-msgstr ""
+msgstr "Política da barra de rolagem vertical"
#: WebKit/gtk/webkit/webkitwebframe.cpp:363
-#, fuzzy
msgid "Determines the current policy for the vertical scrollbar of the frame."
-msgstr "Determina o progresso atual do download"
+msgstr "Determina a política atual para a barra de rolagem vertical do quadro."
#: WebKit/gtk/webkit/webkitwebhistoryitem.cpp:147
msgid "The title of the history item"
@@ -213,7 +211,7 @@ msgstr "O título do item do histórico"
#: WebKit/gtk/webkit/webkitwebhistoryitem.cpp:162
msgid "Alternate Title"
-msgstr "Título Alternativo"
+msgstr "Título alternativo"
#: WebKit/gtk/webkit/webkitwebhistoryitem.cpp:163
msgid "The alternate title of the history item"
@@ -226,7 +224,7 @@ msgstr "A URI do item do histórico"
#: WebKit/gtk/webkit/webkitwebhistoryitem.cpp:194
#: WebKit/gtk/webkit/webkitwebnavigationaction.cpp:173
msgid "Original URI"
-msgstr "URI Original"
+msgstr "URI original"
#: WebKit/gtk/webkit/webkitwebhistoryitem.cpp:195
msgid "The original URI of the history item"
@@ -234,7 +232,7 @@ msgstr "A URI original do item do histórico"
#: WebKit/gtk/webkit/webkitwebhistoryitem.cpp:210
msgid "Last visited Time"
-msgstr "Hora da Última Visita"
+msgstr "Hora da última visita"
#: WebKit/gtk/webkit/webkitwebhistoryitem.cpp:211
msgid "The time at which the history item was last visited"
@@ -242,7 +240,7 @@ msgstr "Quando o item do histórico foi visitado pela última vez"
#: WebKit/gtk/webkit/webkitwebinspector.cpp:268
msgid "Web View"
-msgstr "Visão Web"
+msgstr "Visão web"
#: WebKit/gtk/webkit/webkitwebinspector.cpp:269
msgid "The Web View that renders the Web Inspector itself"
@@ -250,7 +248,7 @@ msgstr "A visão web que exibe o inspetor web"
#: WebKit/gtk/webkit/webkitwebinspector.cpp:282
msgid "Inspected URI"
-msgstr "URI Inspecionada"
+msgstr "URI inspecionada"
#: WebKit/gtk/webkit/webkitwebinspector.cpp:283
msgid "The URI that is currently being inspected"
@@ -265,13 +263,12 @@ msgid "Profile the executed JavaScript."
msgstr "Analisar desempenho de JavaScript em execução."
#: WebKit/gtk/webkit/webkitwebinspector.cpp:315
-#, fuzzy
msgid "Enable Timeline profiling"
-msgstr "Habilitar análise de desempenho de JavaScript"
+msgstr "Habilitar análise de desempenho da Linha do tempo"
#: WebKit/gtk/webkit/webkitwebinspector.cpp:316
msgid "Profile the WebCore instrumentation."
-msgstr ""
+msgstr "Analisar a instrumentação WebCore."
#: WebKit/gtk/webkit/webkitwebnavigationaction.cpp:158
msgid "Reason"
@@ -302,18 +299,16 @@ msgid "A bitmask representing the state of the modifier keys"
msgstr "Uma máscara de bits representando o estado das teclas modificadoras"
#: WebKit/gtk/webkit/webkitwebnavigationaction.cpp:220
-#, fuzzy
msgid "Target frame"
-msgstr "O nome do quadro"
+msgstr "Quadro alvo"
#: WebKit/gtk/webkit/webkitwebnavigationaction.cpp:221
-#, fuzzy
msgid "The target frame for the navigation"
-msgstr "A URI que foi requisitada como alvo para a navegação"
+msgstr "O quadro alvo para a navegação"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:237
msgid "Default Encoding"
-msgstr "Codificação Padrão"
+msgstr "Codificação padrão"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:238
msgid "The default encoding used to display text."
@@ -321,7 +316,7 @@ msgstr "A codificação padrão usada para exibir texto."
#: WebKit/gtk/webkit/webkitwebsettings.cpp:246
msgid "Cursive Font Family"
-msgstr "Família de Fontes Cursivas"
+msgstr "Família de fontes cursivas"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:247
msgid "The default Cursive font family used to display text."
@@ -329,7 +324,7 @@ msgstr "A família de fontes cursivas padrão para exibir texto."
#: WebKit/gtk/webkit/webkitwebsettings.cpp:255
msgid "Default Font Family"
-msgstr "Família de Fontes Padrão"
+msgstr "Família de fontes padrão"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:256
msgid "The default font family used to display text."
@@ -337,7 +332,7 @@ msgstr "A família de fontes padrão para exibir texto."
#: WebKit/gtk/webkit/webkitwebsettings.cpp:264
msgid "Fantasy Font Family"
-msgstr "Família de Fontes Fantasia"
+msgstr "Família de fontes fantasia"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:265
msgid "The default Fantasy font family used to display text."
@@ -345,7 +340,7 @@ msgstr "A família de fontes fantasia padrão para exibir texto."
#: WebKit/gtk/webkit/webkitwebsettings.cpp:273
msgid "Monospace Font Family"
-msgstr "Família de Fontes Mono-espaçadas"
+msgstr "Família de fontes mono-espaçadas"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:274
msgid "The default font family used to display monospace text."
@@ -353,7 +348,7 @@ msgstr "A família de fontes mono-espaçadas padrão para exibir texto."
#: WebKit/gtk/webkit/webkitwebsettings.cpp:282
msgid "Sans Serif Font Family"
-msgstr "Família de Fontes Sem Serifa"
+msgstr "Família de fontes sem serifa"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:283
msgid "The default Sans Serif font family used to display text."
@@ -361,7 +356,7 @@ msgstr "A família de fontes sem serifa padrão para exibir texto."
#: WebKit/gtk/webkit/webkitwebsettings.cpp:291
msgid "Serif Font Family"
-msgstr "Família de Fontes Com Serifa"
+msgstr "Família de fontes com serifa"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:292
msgid "The default Serif font family used to display text."
@@ -369,7 +364,7 @@ msgstr "A família de fontes com serifa padrão para exibir texto."
#: WebKit/gtk/webkit/webkitwebsettings.cpp:300
msgid "Default Font Size"
-msgstr "Tamanho de Fonte Padrão"
+msgstr "Tamanho de fonte padrão"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:301
msgid "The default font size used to display text."
@@ -385,7 +380,7 @@ msgstr "O tamanho de fonte padrão para exibir texto com fonte mono-espaçada."
#: WebKit/gtk/webkit/webkitwebsettings.cpp:318
msgid "Minimum Font Size"
-msgstr "Tamanho Mínimo de Fonte"
+msgstr "Tamanho mínimo de fonte"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:319
msgid "The minimum font size used to display text."
@@ -393,7 +388,7 @@ msgstr "O tamanho mínimo de fontes usadas para exibir texto."
#: WebKit/gtk/webkit/webkitwebsettings.cpp:327
msgid "Minimum Logical Font Size"
-msgstr "Tamanho de Fonte Mínimo Lógico"
+msgstr "Tamanho de fonte mínimo lógico"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:328
msgid "The minimum logical font size used to display text."
@@ -409,7 +404,7 @@ msgstr "Força uma resolução de 96 DPI"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:356
msgid "Auto Load Images"
-msgstr "Auto-carregamento de Imagens"
+msgstr "Auto-carregamento de imagens"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:357
msgid "Load images automatically."
@@ -417,7 +412,7 @@ msgstr "Carregar imagens automaticamente."
#: WebKit/gtk/webkit/webkitwebsettings.cpp:365
msgid "Auto Shrink Images"
-msgstr "Auto-Diminuição de Imagens"
+msgstr "Auto-diminuição de imagens"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:366
msgid "Automatically shrink standalone images to fit."
@@ -425,7 +420,7 @@ msgstr "Automaticamente diminuir imagens sozinhas para caber na tela."
#: WebKit/gtk/webkit/webkitwebsettings.cpp:374
msgid "Print Backgrounds"
-msgstr "Imprimir Fundos"
+msgstr "Imprimir fundos"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:375
msgid "Whether background images should be printed."
@@ -433,7 +428,7 @@ msgstr "Se as imagens de fundo devem ser impressas."
#: WebKit/gtk/webkit/webkitwebsettings.cpp:383
msgid "Enable Scripts"
-msgstr "Habilitar Scripts"
+msgstr "Habilitar scripts"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:384
msgid "Enable embedded scripting languages."
@@ -441,7 +436,7 @@ msgstr "Habilitar linguagens de script embutidas."
#: WebKit/gtk/webkit/webkitwebsettings.cpp:392
msgid "Enable Plugins"
-msgstr "Habilitar Plugins"
+msgstr "Habilitar plugins"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:393
msgid "Enable embedded plugin objects."
@@ -449,7 +444,7 @@ msgstr "Habilitar objetos de plugins embutidos."
#: WebKit/gtk/webkit/webkitwebsettings.cpp:401
msgid "Resizable Text Areas"
-msgstr "Áreas de Texto Redimensionáveis"
+msgstr "Áreas de texto redimensionáveis"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:402
msgid "Whether text areas are resizable."
@@ -457,7 +452,7 @@ msgstr "Se as áreas de texto devem ser redimensionáveis."
#: WebKit/gtk/webkit/webkitwebsettings.cpp:409
msgid "User Stylesheet URI"
-msgstr "URI da Folha de Estilo do Usuário"
+msgstr "URI da Folha de estilo do usuário"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:410
msgid "The URI of a stylesheet that is applied to every page."
@@ -465,7 +460,7 @@ msgstr "A URI de uma folha de estilo que é aplicada a todas as páginas."
#: WebKit/gtk/webkit/webkitwebsettings.cpp:425
msgid "Zoom Stepping Value"
-msgstr "Valor de Passo do Zoom"
+msgstr "Valor de passo do zoom"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:426
msgid "The value by which the zoom level is changed when zooming in or out."
@@ -473,7 +468,7 @@ msgstr "O valor da variação do zoom ao aproximar ou distanciar."
#: WebKit/gtk/webkit/webkitwebsettings.cpp:444
msgid "Enable Developer Extras"
-msgstr "Habilitar Extas de Desenvolvimento"
+msgstr "Habilitar extras de desenvolvimento"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:445
msgid "Enables special extensions that help developers"
@@ -481,7 +476,7 @@ msgstr "Habilita extensões especiais que auxiliam desenvolvedores"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:465
msgid "Enable Private Browsing"
-msgstr "Habilitar Navegação Privativa"
+msgstr "Habilitar navegação privativa"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:466
msgid "Enables private browsing mode"
@@ -489,155 +484,156 @@ msgstr "Habilita o modo de navegação privativa"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:481
msgid "Enable Spell Checking"
-msgstr ""
+msgstr "Habilitar verificação ortográfica"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:482
-#, fuzzy
msgid "Enables spell checking while typing"
-msgstr "Verifiação _Ortográfica ao Digitar"
+msgstr "Habilita verificação ortográfica ao digitar"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:505
msgid "Languages to use for spell checking"
-msgstr ""
+msgstr "Idiomas a usar pela verificação ortográfica"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:506
msgid "Comma separated list of languages to use for spell checking"
msgstr ""
+"Lista de idiomas separada por vírgulas para usar pelo verificador ortográfico"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:520
-#, fuzzy
msgid "Enable Caret Browsing"
-msgstr "Habilitar Navegação Privativa"
+msgstr "Habilitar navegação exclusiva"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:521
-msgid "Whether to enable accesibility enhanced keyboard navigation"
-msgstr ""
+msgid "Whether to enable accessibility enhanced keyboard navigation"
+msgstr "Quando habilitar navegação de acessibilidade avançada pelo teclado"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:536
msgid "Enable HTML5 Database"
-msgstr ""
+msgstr "Habilitar banco de dados HTML5"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:537
msgid "Whether to enable HTML5 database support"
-msgstr ""
+msgstr "Quando habilitar suporte a banco de dados HTML5"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:552
msgid "Enable HTML5 Local Storage"
-msgstr ""
+msgstr "Habilitar armazenagem local pelo HTML5"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:553
msgid "Whether to enable HTML5 Local Storage support"
-msgstr ""
+msgstr "Quando habilitar suporte a armazenagem local pelo HTML5"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:567
-#, fuzzy
msgid "Enable XSS Auditor"
-msgstr "Habilitar Scripts"
+msgstr "Habilitar Auditor XSS"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:568
msgid "Whether to enable teh XSS auditor"
-msgstr ""
+msgstr "Quando habilitar o Auditor XSS"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:586
msgid "User Agent"
-msgstr ""
+msgstr "Agente de usuário"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:587
msgid "The User-Agent string used by WebKitGtk"
-msgstr ""
+msgstr "A string User-Agent usada pelo WebKitGtk"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:602
msgid "JavaScript can open windows automatically"
-msgstr ""
+msgstr "JavaScript pode abrir janelas automaticamente"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:603
msgid "Whether JavaScript can open windows automatically"
-msgstr ""
+msgstr "Se JavaScript pode abrir janelas automaticamente"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:618
msgid "Enable offline web application cache"
-msgstr ""
+msgstr "Habilitar cache de aplicativos web offline"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:619
msgid "Whether to enable offline web application cache"
-msgstr ""
+msgstr "Se habilita cache de aplicativos web offline"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:646
msgid "Editing behavior"
-msgstr ""
+msgstr "Comportamento em modo de edição"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:647
msgid "The behavior mode to use in editing mode"
-msgstr ""
+msgstr "O modo de comportamento para usar no modo de edição"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:663
msgid "Enable universal access from file URIs"
-msgstr ""
+msgstr "Habilitar acesso universal a partir de URIs de arquivo"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:664
msgid "Whether to allow universal access from file URIs"
-msgstr ""
+msgstr "Se habilita acesso universal a partir de URIs de arquivo"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:679
-#, fuzzy
msgid "Enable DOM paste"
-msgstr "Habilitar Scripts"
+msgstr "Habilitar colagem DOM"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:680
msgid "Whether to enable DOM paste"
-msgstr ""
+msgstr "Quando habilitar colagem DOM"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:698
msgid "Tab key cycles through elements"
-msgstr ""
+msgstr "Tecla Tab circula entre os elementos"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:699
msgid "Whether the tab key cycles through elements on the page."
-msgstr ""
+msgstr "Quando a tecla Tab deve circular entre os elementos na página."
#: WebKit/gtk/webkit/webkitwebsettings.cpp:719
msgid "Enable Default Context Menu"
-msgstr ""
+msgstr "Habilitar menu de contexto padrão"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:720
msgid ""
"Enables the handling of right-clicks for the creation of the default context "
"menu"
msgstr ""
+"Habilita o controle de cliques-direitos para a criação do menu de contexto "
+"padrão"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:740
msgid "Enable Site Specific Quirks"
-msgstr ""
+msgstr "Habilitar compatibilidade a sites específicos"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:741
msgid "Enables the site-specific compatibility workarounds"
-msgstr ""
+msgstr "Habilita compatibilidade a recursos específicos de alguns sites"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:763
msgid "Enable page cache"
-msgstr ""
+msgstr "Habilitar cache de páginas"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:764
-#, fuzzy
msgid "Whether the page cache should be used"
-msgstr "Se as imagens de fundo devem ser impressas."
+msgstr "Se o cache de páginas deve ser usado"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:784
msgid "Auto Resize Window"
-msgstr ""
+msgstr "Autorredimensionar janela"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:785
msgid "Automatically resize the toplevel window when a page requests it"
msgstr ""
+"Redimensiona automaticamente a janela de nível superior quando uma página "
+"requisita"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:817
-#, fuzzy
msgid "Enable Java Applet"
-msgstr "Habilitar análise de desempenho de JavaScript"
+msgstr "Habilitar miniaplicativos Java"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:818
msgid "Whether Java Applet support through <applet> should be enabled"
msgstr ""
+"Se o suporte a miniaplicativos Java através da etiqueta <applet> deve ser "
+"habilitado"
#: WebKit/gtk/webkit/webkitwebview.cpp:2319
msgid "Returns the @web_view's document title"
@@ -701,7 +697,7 @@ msgstr "Se o conteúdo tem um fundo transparente"
#: WebKit/gtk/webkit/webkitwebview.cpp:2423
msgid "Zoom level"
-msgstr "Nível de Zoom"
+msgstr "Nível de zoom"
#: WebKit/gtk/webkit/webkitwebview.cpp:2424
msgid "The level of zoom of the content"
@@ -709,7 +705,7 @@ msgstr "O nível de zoom do conteúdo"
#: WebKit/gtk/webkit/webkitwebview.cpp:2439
msgid "Full content zoom"
-msgstr "Zoom Completo do Conteúdo"
+msgstr "Zoom completo do conteúdo"
#: WebKit/gtk/webkit/webkitwebview.cpp:2440
msgid "Whether the full content is scaled when zooming"
@@ -725,19 +721,19 @@ msgstr "A codificação padrão da visão web"
#: WebKit/gtk/webkit/webkitwebview.cpp:2467
msgid "Custom Encoding"
-msgstr "Codificação Customizada"
+msgstr "Codificação personalizada"
#: WebKit/gtk/webkit/webkitwebview.cpp:2468
msgid "The custom encoding of the web view"
-msgstr "A codificação customizada da visão web"
+msgstr "A codificação personalizada da visão web"
#: WebKit/gtk/webkit/webkitwebview.cpp:2520
msgid "Icon URI"
-msgstr ""
+msgstr "URI do ícone"
#: WebKit/gtk/webkit/webkitwebview.cpp:2521
msgid "The URI for the favicon for the #WebKitWebView."
-msgstr ""
+msgstr "A URI para o favicon do #WebKitWebView."
#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:55
#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:60
@@ -750,7 +746,7 @@ msgstr "Limpar"
#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:70
msgid "This is a searchable index. Enter search keywords: "
-msgstr ""
+msgstr "Este é um índice pesquisável. Digite as palavras-chave de pesquisa:"
#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:75
msgid "Choose File"
@@ -762,31 +758,31 @@ msgstr "(Nenhum)"
#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:85
msgid "Open Link in New _Window"
-msgstr "Abrir Link em Nova _Janela"
+msgstr "Abrir link em nova _janela"
#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:90
msgid "_Download Linked File"
-msgstr "_Baixar Arquivo"
+msgstr "_Baixar arquivo"
#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:95
msgid "Copy Link Loc_ation"
-msgstr "Copiar _Endereço do Link"
+msgstr "Copiar _endereço do link"
#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:100
msgid "Open _Image in New Window"
-msgstr "Abrir _Imagem em Nova Janela"
+msgstr "Abrir _imagem em nova janela"
#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:105
msgid "Sa_ve Image As"
-msgstr "Sal_var Imagem Como"
+msgstr "Sal_var imagem como"
#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:110
msgid "Cop_y Image"
-msgstr "Co_piar Imagem"
+msgstr "Co_piar imagem"
#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:115
msgid "Open _Frame in New Window"
-msgstr "Abrir _Quadro em Nova Janela"
+msgstr "Abrir _quadro em nova janela"
#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:166
msgid "_Reload"
@@ -794,31 +790,31 @@ msgstr "_Recarregar"
#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:183
msgid "No Guesses Found"
-msgstr "Nenhuma Sugestão Encontrada"
+msgstr "Nenhuma sugestão encontrada"
#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:188
msgid "_Ignore Spelling"
-msgstr "_Ignorar Palavra"
+msgstr "_Ignorar palavra"
#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:193
msgid "_Learn Spelling"
-msgstr "_Aprender Palavra"
+msgstr "_Aprender palavra"
#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:198
msgid "_Search the Web"
-msgstr "_Procurar na Web"
+msgstr "_Procurar na web"
#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:203
msgid "_Look Up in Dictionary"
-msgstr "Procurar no _Dicionário"
+msgstr "Procurar no _dicionário"
#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:208
msgid "_Open Link"
-msgstr "_Abrir Link"
+msgstr "_Abrir link"
#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:213
msgid "Ignore _Grammar"
-msgstr "Ignorar _Gramática"
+msgstr "Ignorar _gramática"
#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:218
msgid "Spelling and _Grammar"
@@ -834,15 +830,15 @@ msgstr "E_sconder Ortografia e Gramática"
#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:228
msgid "_Check Document Now"
-msgstr "_Verificar Documento Agora"
+msgstr "_Verificar documento agora"
#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:233
msgid "Check Spelling While _Typing"
-msgstr "Verifiação _Ortográfica ao Digitar"
+msgstr "Verificação _ortográfica ao digitar"
#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:238
msgid "Check _Grammar With Spelling"
-msgstr "Verificação _Gramatical ao Digitar"
+msgstr "Verificação _gramatical ao digitar"
#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:243
msgid "_Font"
@@ -854,7 +850,7 @@ msgstr "_Outline"
#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:271
msgid "Inspect _Element"
-msgstr "Inspecionar _Elemento"
+msgstr "Inspecionar _elemento"
#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:276
msgid "No recent searches"
@@ -902,7 +898,7 @@ msgstr "pular"
#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:342
msgid " files"
-msgstr "arquivos"
+msgstr " arquivos"
#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:347
msgid "Unknown"
@@ -910,189 +906,187 @@ msgstr "Desconhecido"
#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:364
msgid "Loading..."
-msgstr ""
+msgstr "Carregando..."
#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:369
msgid "Live Broadcast"
-msgstr ""
+msgstr "Transmissão ao vivo"
#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:375
msgid "audio element controller"
-msgstr ""
+msgstr "Elemento controlador de áudio"
#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:377
msgid "video element controller"
-msgstr ""
+msgstr "Elemento controlador de vídeo"
#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:379
msgid "mute"
-msgstr ""
+msgstr "Totalmente mudo"
#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:381
msgid "unmute"
-msgstr ""
+msgstr "Retirar mudo"
#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:383
msgid "play"
-msgstr ""
+msgstr "Reproduzir"
#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:385
msgid "pause"
-msgstr ""
+msgstr "Pausar"
#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:387
msgid "movie time"
-msgstr ""
+msgstr "Tempo do filme"
#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:389
msgid "timeline slider thumb"
-msgstr ""
+msgstr "Miniatura da Linha do tempo"
#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:391
msgid "back 30 seconds"
-msgstr ""
+msgstr "Voltar 30 segundos"
#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:393
msgid "return to realtime"
-msgstr ""
+msgstr "Retornar ao tempo real"
#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:395
msgid "elapsed time"
-msgstr ""
+msgstr "Tempo decorrido"
#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:397
msgid "remaining time"
-msgstr ""
+msgstr "Tempo restante"
#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:399
-#, fuzzy
msgid "status"
-msgstr "Estado"
+msgstr "Status"
#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:401
msgid "fullscreen"
-msgstr ""
+msgstr "Tela cheia"
#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:403
msgid "fast forward"
-msgstr ""
+msgstr "Avanço rápido"
#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:405
msgid "fast reverse"
-msgstr ""
+msgstr "Retrocesso rápido"
#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:407
msgid "show closed captions"
-msgstr ""
+msgstr "Mostrar legendas"
#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:409
msgid "hide closed captions"
-msgstr ""
+msgstr "Ocultar legendas"
#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:418
msgid "audio element playback controls and status display"
-msgstr ""
+msgstr "Mostrador dos elementos de reprodução de áudio e status"
#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:420
msgid "video element playback controls and status display"
-msgstr ""
+msgstr "Mostrador dos elementos de reprodução de vídeo e status"
#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:422
msgid "mute audio tracks"
-msgstr ""
+msgstr "Emudecer trilhas de áudio"
#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:424
msgid "unmute audio tracks"
-msgstr ""
+msgstr "Retirar mudo de trilhas de áudio"
#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:426
msgid "begin playback"
-msgstr ""
+msgstr "Iniciar reprodução"
#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:428
msgid "pause playback"
-msgstr ""
+msgstr "Pausar reprodução"
#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:430
msgid "movie time scrubber"
-msgstr ""
+msgstr "Depurador de tempo de filme"
#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:432
msgid "movie time scrubber thumb"
-msgstr ""
+msgstr "Miniatura do depurador de tempo"
#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:434
msgid "seek movie back 30 seconds"
-msgstr ""
+msgstr "Voltar 30 segundos do filme"
#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:436
msgid "return streaming movie to real time"
-msgstr ""
+msgstr "Retornar o fluxo do filme ao tempo real"
#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:438
msgid "current movie time in seconds"
-msgstr ""
+msgstr "Tempo atual do filme em segundos"
#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:440
msgid "number of seconds of movie remaining"
-msgstr ""
+msgstr "Número de segundos do filme restantes"
#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:442
msgid "current movie status"
-msgstr ""
+msgstr "Status do filme atual"
#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:444
msgid "seek quickly back"
-msgstr ""
+msgstr "Pesquisar rapidamente para trás"
#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:446
msgid "seek quickly forward"
-msgstr ""
+msgstr "Pesquisar rapidamente para a frente"
#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:448
msgid "Play movie in fullscreen mode"
-msgstr ""
+msgstr "Reproduzir filme em modo de tela cheia"
#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:450
msgid "start displaying closed captions"
-msgstr ""
+msgstr "Iniciar exibição de legendas"
#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:452
msgid "stop displaying closed captions"
-msgstr ""
+msgstr "Parar exibição de legendas"
#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:461
-#, fuzzy
msgid "indefinite time"
-msgstr "definição"
+msgstr "Tempo indefinido"
#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:491
msgid "value missing"
-msgstr ""
+msgstr "Faltando valor"
#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:497
msgid "type mismatch"
-msgstr ""
+msgstr "Tipo desconhecido"
#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:502
msgid "pattern mismatch"
-msgstr ""
+msgstr "Padrão desconhecido"
#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:507
msgid "too long"
-msgstr ""
+msgstr "Muito longo"
#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:512
msgid "range underflow"
-msgstr ""
+msgstr "Fora da faixa"
#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:517
msgid "range overflow"
-msgstr ""
+msgstr "Estouro de faixa"
#: WebCore/platform/gtk/LocalizedStringsGtk.cpp:522
msgid "step mismatch"
-msgstr ""
+msgstr "Passo desconhecido"
#~ msgid "_Searchable Index"
#~ msgstr "Índice de bu_sca"
diff --git a/Source/WebKit/gtk/po/ru.po b/Source/WebKit/gtk/po/ru.po
index 248a921..653c38d 100644
--- a/Source/WebKit/gtk/po/ru.po
+++ b/Source/WebKit/gtk/po/ru.po
@@ -511,7 +511,7 @@ msgid "Enable Caret Browsing"
msgstr ""
#: WebKit/gtk/webkit/webkitwebsettings.cpp:521
-msgid "Whether to enable accesibility enhanced keyboard navigation"
+msgid "Whether to enable accessibility enhanced keyboard navigation"
msgstr ""
#: WebKit/gtk/webkit/webkitwebsettings.cpp:536
diff --git a/Source/WebKit/gtk/po/sl.po b/Source/WebKit/gtk/po/sl.po
index 22dcd8f..9e6d6bf 100644
--- a/Source/WebKit/gtk/po/sl.po
+++ b/Source/WebKit/gtk/po/sl.po
@@ -509,7 +509,7 @@ msgid "Enable Caret Browsing"
msgstr "Omogoči brskanje s kazalko"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:521
-msgid "Whether to enable accesibility enhanced keyboard navigation"
+msgid "Whether to enable accessibility enhanced keyboard navigation"
msgstr ""
#: WebKit/gtk/webkit/webkitwebsettings.cpp:536
diff --git a/Source/WebKit/gtk/po/sr.po b/Source/WebKit/gtk/po/sr.po
index b132c8d..00236e7 100644
--- a/Source/WebKit/gtk/po/sr.po
+++ b/Source/WebKit/gtk/po/sr.po
@@ -508,7 +508,7 @@ msgid "Enable Caret Browsing"
msgstr "Преглед са показивачем"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:521
-msgid "Whether to enable accesibility enhanced keyboard navigation"
+msgid "Whether to enable accessibility enhanced keyboard navigation"
msgstr "Одређује да ли да се користи приступачнија тастатура за навигацију"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:536
diff --git a/Source/WebKit/gtk/po/sr@latin.po b/Source/WebKit/gtk/po/sr@latin.po
index 7fb251d..f93988e 100644
--- a/Source/WebKit/gtk/po/sr@latin.po
+++ b/Source/WebKit/gtk/po/sr@latin.po
@@ -508,7 +508,7 @@ msgid "Enable Caret Browsing"
msgstr "Pregled sa pokazivačem"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:521
-msgid "Whether to enable accesibility enhanced keyboard navigation"
+msgid "Whether to enable accessibility enhanced keyboard navigation"
msgstr "Određuje da li da se koristi pristupačnija tastatura za navigaciju"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:536
diff --git a/Source/WebKit/gtk/po/sv.po b/Source/WebKit/gtk/po/sv.po
index d8f7e34..c8a6478 100644
--- a/Source/WebKit/gtk/po/sv.po
+++ b/Source/WebKit/gtk/po/sv.po
@@ -515,7 +515,7 @@ msgid "Enable Caret Browsing"
msgstr "Aktivera privat surfning"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:521
-msgid "Whether to enable accesibility enhanced keyboard navigation"
+msgid "Whether to enable accessibility enhanced keyboard navigation"
msgstr ""
#: WebKit/gtk/webkit/webkitwebsettings.cpp:536
diff --git a/Source/WebKit/gtk/po/uk.po b/Source/WebKit/gtk/po/uk.po
index 46f12be..335f9ce 100644
--- a/Source/WebKit/gtk/po/uk.po
+++ b/Source/WebKit/gtk/po/uk.po
@@ -508,7 +508,7 @@ msgid "Enable Caret Browsing"
msgstr "Увімкнути режим активного вказівника"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:523
-msgid "Whether to enable accesibility enhanced keyboard navigation"
+msgid "Whether to enable accessibility enhanced keyboard navigation"
msgstr ""
"Вмикає або вимикає додаткові можливості керування вказівником за допомогою "
"клавіатури"
diff --git a/Source/WebKit/gtk/po/vi.po b/Source/WebKit/gtk/po/vi.po
index 838860c..4e05e35 100644
--- a/Source/WebKit/gtk/po/vi.po
+++ b/Source/WebKit/gtk/po/vi.po
@@ -500,7 +500,7 @@ msgid "Enable Caret Browsing"
msgstr "Bật con nháy"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:521
-msgid "Whether to enable accesibility enhanced keyboard navigation"
+msgid "Whether to enable accessibility enhanced keyboard navigation"
msgstr "Có bật khả năng duyệt tăng cường bằng bàn phím không"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:536
diff --git a/Source/WebKit/gtk/po/zh_CN.po b/Source/WebKit/gtk/po/zh_CN.po
index 148b671..decadc0 100644
--- a/Source/WebKit/gtk/po/zh_CN.po
+++ b/Source/WebKit/gtk/po/zh_CN.po
@@ -502,7 +502,7 @@ msgid "Enable Caret Browsing"
msgstr "启用光标导航"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:521
-msgid "Whether to enable accesibility enhanced keyboard navigation"
+msgid "Whether to enable accessibility enhanced keyboard navigation"
msgstr "是否启用辅助功能增强型键盘导航"
#: WebKit/gtk/webkit/webkitwebsettings.cpp:536
diff --git a/Source/WebKit/gtk/tests/testapplicationcache.c b/Source/WebKit/gtk/tests/testapplicationcache.c
new file mode 100644
index 0000000..55e360c
--- /dev/null
+++ b/Source/WebKit/gtk/tests/testapplicationcache.c
@@ -0,0 +1,80 @@
+/*
+ * Copyright (C) 2011 Lukasz Slachciak
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2,1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public License
+ * along with this library; see the file COPYING.LIB. If not, write to
+ * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ * Boston, MA 02110-1301, USA.
+ */
+
+#include <glib.h>
+#include <glib/gprintf.h>
+#include <gtk/gtk.h>
+#include <webkit/webkit.h>
+
+#if GTK_CHECK_VERSION(2, 14, 0)
+
+static void test_application_cache_maximum_size()
+{
+ unsigned long long maxSize = 8192;
+ webkit_application_cache_set_maximum_size(maxSize);
+
+ // Creating a WebView - make sure that it didn't change anything
+ WebKitWebView* webView = WEBKIT_WEB_VIEW(webkit_web_view_new());
+ g_object_ref_sink(webView);
+ g_object_unref(webView);
+
+ g_assert(maxSize == webkit_application_cache_get_maximum_size());
+}
+
+static void test_application_cache_database_directory_path()
+{
+ unsigned long long maxSize = 8192;
+ webkit_application_cache_set_maximum_size(maxSize);
+
+ gchar* databaseDirectorySet = g_build_filename(g_get_user_data_dir(), "webkit", "databases", NULL);
+ webkit_application_cache_set_database_directory_path(databaseDirectorySet);
+
+ // Creating a WebView - make sure that it didn't change anything
+ WebKitWebView* webView = WEBKIT_WEB_VIEW(webkit_web_view_new());
+ g_object_ref_sink(webView);
+ g_object_unref(webView);
+
+ const gchar* databaseDirectoryGet = webkit_application_cache_get_database_directory_path();
+ g_assert_cmpstr(databaseDirectorySet, ==, databaseDirectoryGet);
+
+ g_free(databaseDirectorySet);
+}
+
+int main(int argc, char** argv)
+{
+ g_thread_init(NULL);
+ gtk_test_init(&argc, &argv, NULL);
+
+ g_test_bug_base("https://bugs.webkit.org/");
+ g_test_add_func("/webkit/application_cache/maximum_size",
+ test_application_cache_maximum_size);
+ g_test_add_func("/webkit/application_cache/database_directory_path",
+ test_application_cache_database_directory_path);
+
+ return g_test_run();
+}
+
+#else
+int main(int argc, char** argv)
+{
+ g_critical("You will need gtk-2.14.0 to run the unit tests. Doing nothing now.");
+ return 0;
+}
+
+#endif
diff --git a/Source/WebKit/gtk/tests/testatk.c b/Source/WebKit/gtk/tests/testatk.c
index 6508638..79ca67d 100644
--- a/Source/WebKit/gtk/tests/testatk.c
+++ b/Source/WebKit/gtk/tests/testatk.c
@@ -62,7 +62,7 @@ static const char* listsOfItems = "<html><body><ul><li>text only</li><li><a href
static const char* textForCaretBrowsing = "<html><body><h1>A text header</h1><p>A paragraph <a href='http://foo.bar.baz/'>with a link</a> in the middle</p><ol><li>A list item</li></ol><select><option selected value='foo'>An option in a combo box</option></select></body></html>";
-static const char* textForSelections = "<html><body><p>A paragraph with plain text</p><p>A paragraph with <a href='http://webkit.org'>a link</a> in the middle</p></body></html>";
+static const char* textForSelections = "<html><body><p>A paragraph with plain text</p><p>A paragraph with <a href='http://webkit.org'>a link</a> in the middle</p><ol><li>A list item</li></ol><select></body></html>";
static const char* textWithAttributes = "<html><head><style>.st1 {font-family: monospace; color:rgb(120,121,122);} .st2 {text-decoration:underline; background-color:rgb(80,81,82);}</style></head><body><p style=\"font-size:14; text-align:right;\">This is the <i>first</i><b> sentence of this text.</b></p><p class=\"st1\">This sentence should have an style applied <span class=\"st2\">and this part should have another one</span>.</p><p>x<sub>1</sub><sup>2</sup>=x<sub>2</sub><sup>3</sup></p><p style=\"text-align:center;\">This sentence is the <strike>last</strike> one.</p></body></html>";
@@ -996,11 +996,19 @@ static void testWebkitAtkTextSelections()
AtkText* paragraph1 = ATK_TEXT(atk_object_ref_accessible_child(object, 0));
g_assert(ATK_IS_TEXT(paragraph1));
+
AtkText* paragraph2 = ATK_TEXT(atk_object_ref_accessible_child(object, 1));
g_assert(ATK_IS_TEXT(paragraph2));
+
AtkText* link = ATK_TEXT(atk_object_ref_accessible_child(ATK_OBJECT(paragraph2), 0));
g_assert(ATK_IS_TEXT(link));
+ AtkObject* list = atk_object_ref_accessible_child(object, 2);
+ g_assert(ATK_OBJECT(list));
+
+ AtkText* listItem = ATK_TEXT(atk_object_ref_accessible_child(list, 0));
+ g_assert(ATK_IS_TEXT(listItem));
+
/* First paragraph (simple text). */
/* Basic initial checks. */
@@ -1096,8 +1104,36 @@ static void testWebkitAtkTextSelections()
g_assert_cmpstr(selectedText, ==, 0);
g_free (selectedText);
+ /* List item */
+
+ g_assert(atk_object_get_role(list) == ATK_ROLE_LIST);
+ g_assert_cmpint(atk_object_get_n_accessible_children(list), ==, 1);
+
+ gchar* text = atk_text_get_text(listItem, 0, -1);
+ g_assert_cmpstr(text, ==, "1. A list item");
+ g_free (text);
+
+ /* It's not possible to select text inside an item's marker. */
+ result = atk_text_set_selection (listItem, 0, 0, 9);
+ g_assert(!result);
+ result = atk_text_set_selection (listItem, 0, 9, 1);
+ g_assert(!result);
+
+ /* It should be possible to select text inside an item's text. */
+ result = atk_text_set_selection (listItem, 0, 3, 9);
+ g_assert(result);
+
+ g_assert_cmpint(atk_text_get_n_selections(listItem), ==, 1);
+ selectedText = atk_text_get_selection(listItem, 0, &startOffset, &endOffset);
+ g_assert_cmpint(startOffset, ==, 3);
+ g_assert_cmpint(endOffset, ==, 9);
+ g_assert_cmpstr(selectedText, ==, "A list");
+ g_free (selectedText);
+
g_object_unref(paragraph1);
g_object_unref(paragraph2);
+ g_object_unref(list);
+ g_object_unref(listItem);
g_object_unref(webView);
}
diff --git a/Source/WebKit/gtk/tests/testwebdatasource.c b/Source/WebKit/gtk/tests/testwebdatasource.c
index 96d95e4..d69819f 100644
--- a/Source/WebKit/gtk/tests/testwebdatasource.c
+++ b/Source/WebKit/gtk/tests/testwebdatasource.c
@@ -89,13 +89,13 @@ static void notify_load_status_cb(WebKitWebView* view, GParamSpec* pspec, GMainL
/* Test get_request */
g_test_message("Testing webkit_web_data_source_get_request");
WebKitNetworkRequest* request = webkit_web_data_source_get_request(dataSource);
- g_assert_cmpstr(webkit_network_request_get_uri(request), ==, "http://webkit.org/");
+ g_assert_cmpstr(webkit_network_request_get_uri(request), ==, "http://www.webkit.org/");
/* Test get_main_resource */
g_test_message("Testing webkit_web_data_source_get_main_resource");
WebKitWebResource* resource = webkit_web_data_source_get_main_resource(dataSource);
g_assert_cmpstr("text/html", ==, webkit_web_resource_get_mime_type(resource));
- g_assert_cmpstr("http://webkit.org/", ==, webkit_web_resource_get_uri(resource));
+ g_assert_cmpstr("http://www.webkit.org/", ==, webkit_web_resource_get_uri(resource));
/* Test get_data. We just test if data has certain size for the mean time */
g_test_message("Testing webkit_web_data_source_get_data has certain size");
@@ -124,7 +124,7 @@ static void test_webkit_web_data_source()
g_object_ref_sink(view);
loop = g_main_loop_new(NULL, TRUE);
g_signal_connect(view, "notify::load-status", G_CALLBACK(notify_load_status_cb), loop);
- webkit_web_view_load_uri(view, "http://webkit.org");
+ webkit_web_view_load_uri(view, "http://www.webkit.org");
waitTimer = g_timeout_add_seconds(defaultTimeout, (GSourceFunc)wait_timer_fired, loop);
@@ -163,7 +163,7 @@ static void test_webkit_web_data_source_lifetime()
g_object_ref_sink(view);
loop = g_main_loop_new(NULL, TRUE);
g_signal_connect(view, "notify::load-status", G_CALLBACK(notify_load_status_lifetime_cb), loop);
- webkit_web_view_load_uri(view, "http://webkit.org");
+ webkit_web_view_load_uri(view, "http://www.webkit.org");
waitTimer = g_timeout_add_seconds(defaultTimeout, (GSourceFunc)wait_timer_fired, loop);
diff --git a/Source/WebKit/gtk/webkit/webkit.h b/Source/WebKit/gtk/webkit/webkit.h
index d93fae1..d85d698 100644
--- a/Source/WebKit/gtk/webkit/webkit.h
+++ b/Source/WebKit/gtk/webkit/webkit.h
@@ -22,31 +22,32 @@
#define __WEBKIT_H__
#include <webkit/webkitversion.h>
+#include <webkit/webkitapplicationcache.h>
#include <webkit/webkitdefines.h>
#include <webkit/webkitdom.h>
#include <webkit/webkitdownload.h>
+#include <webkit/webkitenumtypes.h>
#include <webkit/webkitgeolocationpolicydecision.h>
#include <webkit/webkitglobals.h>
#include <webkit/webkithittestresult.h>
#include <webkit/webkitnetworkrequest.h>
#include <webkit/webkitnetworkresponse.h>
+#include <webkit/webkitsecurityorigin.h>
#include <webkit/webkitsoupauthdialog.h>
#include <webkit/webkitviewportattributes.h>
+#include <webkit/webkitwebbackforwardlist.h>
+#include <webkit/webkitwebdatabase.h>
#include <webkit/webkitwebdatasource.h>
#include <webkit/webkitwebframe.h>
-#include <webkit/webkitwebsettings.h>
-#include <webkit/webkitwebinspector.h>
-#include <webkit/webkitwebwindowfeatures.h>
-#include <webkit/webkitwebview.h>
-#include <webkit/webkitwebbackforwardlist.h>
#include <webkit/webkitwebhistoryitem.h>
+#include <webkit/webkitwebinspector.h>
+#include <webkit/webkitwebnavigationaction.h>
#include <webkit/webkitwebplugin.h>
#include <webkit/webkitwebplugindatabase.h>
#include <webkit/webkitwebpolicydecision.h>
-#include <webkit/webkitwebnavigationaction.h>
#include <webkit/webkitwebresource.h>
-#include <webkit/webkitwebdatabase.h>
-#include <webkit/webkitsecurityorigin.h>
-#include <webkit/webkitenumtypes.h>
+#include <webkit/webkitwebsettings.h>
+#include <webkit/webkitwebview.h>
+#include <webkit/webkitwebwindowfeatures.h>
#endif /* __WEBKIT_H__ */
diff --git a/Source/WebKit/gtk/webkit/webkitapplicationcache.cpp b/Source/WebKit/gtk/webkit/webkitapplicationcache.cpp
index 87f3ab5..ab179b5 100644
--- a/Source/WebKit/gtk/webkit/webkitapplicationcache.cpp
+++ b/Source/WebKit/gtk/webkit/webkitapplicationcache.cpp
@@ -1,5 +1,6 @@
/*
* Copyright (C) 2009 Jan Michael Alonzo <jmalonzo@gmail.com>
+ * Copyright (C) 2011 Lukasz Slachciak
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
@@ -18,18 +19,103 @@
*/
#include "config.h"
+#include "webkitapplicationcache.h"
#include "ApplicationCacheStorage.h"
-#include "webkitapplicationcacheprivate.h"
+#include "FileSystem.h"
#include <wtf/UnusedParam.h>
+#include <wtf/text/CString.h>
+// keeps current directory path to offline web applications cache database
+static WTF::CString cacheDirectoryPath = "";
+// web application cache maximum storage size
+static unsigned long long cacheMaxSize = UINT_MAX;
+
+/**
+ * webkit_application_cache_get_maximum_size:
+ *
+ * Returns the maximum size of the cache storage.
+ * By default it is set to UINT_MAX i.e. no quota.
+ *
+ * Returns: the current application cache maximum storage size
+ *
+ * Since: 1.3.13
+ **/
+unsigned long long webkit_application_cache_get_maximum_size()
+{
+#if ENABLE(OFFLINE_WEB_APPLICATIONS)
+ return (cacheMaxSize = WebCore::cacheStorage().maximumSize());
+#else
+ return 0;
+#endif
+}
+
+/**
+ * webkit_application_cache_set_maximum_size:
+ * @size: the new web application cache maximum storage size
+ *
+ * Sets new application cache maximum storage size.
+ * Changing the application cache storage size will clear the cache
+ * and rebuild cache storage.
+ *
+ * Since: 1.3.13
+ **/
void webkit_application_cache_set_maximum_size(unsigned long long size)
{
#if ENABLE(OFFLINE_WEB_APPLICATIONS)
- WebCore::cacheStorage().empty();
- WebCore::cacheStorage().vacuumDatabaseFile();
- WebCore::cacheStorage().setMaximumSize(size);
+ if (size != cacheMaxSize) {
+ WebCore::cacheStorage().empty();
+ WebCore::cacheStorage().vacuumDatabaseFile();
+ WebCore::cacheStorage().setMaximumSize(size);
+ cacheMaxSize = size;
+ }
#else
UNUSED_PARAM(size);
#endif
}
+
+/**
+ * webkit_spplication_cache_get_database_directory_path:
+ *
+ * Returns the current path to the directory WebKit will write web application
+ * cache databases. By default this path is set to $XDG_DATA_HOME/webkit/databases
+ * with webkit_application_cache_set_database_directory_path
+ *
+ * Returns: the current application cache database directory path
+ *
+ * Since: 1.3.13
+ **/
+G_CONST_RETURN gchar* webkit_application_cache_get_database_directory_path()
+{
+#if ENABLE(OFFLINE_WEB_APPLICATIONS)
+ CString path = WebCore::fileSystemRepresentation(WebCore::cacheStorage().cacheDirectory());
+
+ if (path != cacheDirectoryPath)
+ cacheDirectoryPath = path;
+
+ return cacheDirectoryPath.data();
+#else
+ return "";
+#endif
+}
+
+/**
+ * webkit_application_cache_set_database_directory_path:
+ * @path: the new web application cache database path
+ *
+ * Sets the current path to the directory WebKit will write web aplication cache
+ * databases.
+ *
+ * Since: 1.3.13
+ **/
+void webkit_application_cache_set_database_directory_path(const gchar* path)
+{
+#if ENABLE(OFFLINE_WEB_APPLICATIONS)
+ WTF::CString pathString(path);
+ if (pathString != cacheDirectoryPath)
+ cacheDirectoryPath = pathString;
+
+ WebCore::cacheStorage().setCacheDirectory(WebCore::filenameToString(cacheDirectoryPath.data()));
+#endif
+}
+
diff --git a/Source/WebKit/gtk/webkit/webkitapplicationcache.h b/Source/WebKit/gtk/webkit/webkitapplicationcache.h
new file mode 100644
index 0000000..810a5d6
--- /dev/null
+++ b/Source/WebKit/gtk/webkit/webkitapplicationcache.h
@@ -0,0 +1,41 @@
+/*
+ * Copyright (C) 2011 Lukasz Slachciak
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2,1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public License
+ * along with this library; see the file COPYING.LIB. If not, write to
+ * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ * Boston, MA 02110-1301, USA.
+ */
+
+#ifndef webkitapplicationcache_h
+#define webkitapplicationcache_h
+
+#include <webkit/webkitdefines.h>
+
+G_BEGIN_DECLS
+
+WEBKIT_API unsigned long long
+webkit_application_cache_get_maximum_size();
+
+WEBKIT_API void
+webkit_application_cache_set_maximum_size(unsigned long long size);
+
+WEBKIT_API G_CONST_RETURN gchar*
+webkit_application_cache_get_database_directory_path (void);
+
+WEBKIT_API void
+webkit_application_cache_set_database_directory_path (const gchar* path);
+
+G_END_DECLS
+
+#endif /* webkitapplicationcache_h */
diff --git a/Source/WebKit/gtk/webkit/webkitapplicationcacheprivate.h b/Source/WebKit/gtk/webkit/webkitapplicationcacheprivate.h
deleted file mode 100644
index cbf3759..0000000
--- a/Source/WebKit/gtk/webkit/webkitapplicationcacheprivate.h
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * Copyright (C) 2007, 2008, 2009 Holger Hans Peter Freyther
- * Copyright (C) 2008 Jan Michael C. Alonzo
- * Copyright (C) 2008 Collabora Ltd.
- * Copyright (C) 2010 Igalia S.L.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB. If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#ifndef webkitapplicationcacheprivate_h
-#define webkitapplicationcacheprivate_h
-
-#include "webkitdefines.h"
-#include <glib.h>
-
-extern "C" {
-
-WEBKIT_API void webkit_application_cache_set_maximum_size(unsigned long long size);
-
-}
-
-#endif
diff --git a/Source/WebKit/gtk/webkit/webkitglobals.cpp b/Source/WebKit/gtk/webkit/webkitglobals.cpp
index c23824c..4d07ceb 100644
--- a/Source/WebKit/gtk/webkit/webkitglobals.cpp
+++ b/Source/WebKit/gtk/webkit/webkitglobals.cpp
@@ -38,6 +38,7 @@
#include "ResourceHandleClient.h"
#include "ResourceHandleInternal.h"
#include "ResourceResponse.h"
+#include "webkitapplicationcache.h"
#include "webkitglobalsprivate.h"
#include "webkitsoupauthdialog.h"
#include "webkitwebdatabase.h"
@@ -224,7 +225,7 @@ static GtkWidget* currentToplevelCallback(WebKitSoupAuthDialog* feature, SoupMes
static void closeIconDatabaseOnExit()
{
- iconDatabase()->close();
+ iconDatabase().close();
}
void webkitInit()
@@ -248,11 +249,8 @@ void webkitInit()
gchar* databaseDirectory = g_build_filename(g_get_user_data_dir(), "webkit", "databases", NULL);
webkit_set_web_database_directory_path(databaseDirectory);
+ webkit_application_cache_set_database_directory_path(databaseDirectory);
-#if ENABLE(OFFLINE_WEB_APPLICATIONS)
- // FIXME: It should be possible for client applications to override the default appcache location
- WebCore::cacheStorage().setCacheDirectory(databaseDirectory);
-#endif
g_free(databaseDirectory);
PageGroup::setShouldTrackVisitedLinks(true);
@@ -291,14 +289,14 @@ void setIconDatabaseEnabled(bool enabled)
}
if (enabled) {
- iconDatabase()->setEnabled(true);
+ iconDatabase().setEnabled(true);
GOwnPtr<gchar> iconDatabasePath(g_build_filename(g_get_user_data_dir(), "webkit", "icondatabase", NULL));
- iconDatabase()->open(iconDatabasePath.get());
+ iconDatabase().open(iconDatabasePath.get());
return;
}
- iconDatabase()->setEnabled(false);
- iconDatabase()->close();
+ iconDatabase().setEnabled(false);
+ iconDatabase().close();
}
diff --git a/Source/WebKit/gtk/webkit/webkitwebnavigationaction.cpp b/Source/WebKit/gtk/webkit/webkitwebnavigationaction.cpp
index 9f13f28..868e49c 100644
--- a/Source/WebKit/gtk/webkit/webkitwebnavigationaction.cpp
+++ b/Source/WebKit/gtk/webkit/webkitwebnavigationaction.cpp
@@ -131,13 +131,6 @@ static void webkit_web_navigation_action_class_init(WebKitWebNavigationActionCla
{
GObjectClass* objectClass = G_OBJECT_CLASS(requestClass);
- COMPILE_ASSERT(static_cast<int>(WEBKIT_WEB_NAVIGATION_REASON_LINK_CLICKED) == static_cast<int>(WebCore::NavigationTypeLinkClicked), navigation_type_link_clicked_enum_match);
- COMPILE_ASSERT(static_cast<int>(WEBKIT_WEB_NAVIGATION_REASON_FORM_SUBMITTED) == static_cast<int>(WebCore::NavigationTypeFormSubmitted), navigation_type_form_submitted_enum_match);
- COMPILE_ASSERT(static_cast<int>(WEBKIT_WEB_NAVIGATION_REASON_BACK_FORWARD) == static_cast<int>(WebCore::NavigationTypeBackForward), navigation_type_back_forward_enum_match);
- COMPILE_ASSERT(static_cast<int>(WEBKIT_WEB_NAVIGATION_REASON_RELOAD) == static_cast<int>(WebCore::NavigationTypeReload), navigation_type_reload_enum_match);
- COMPILE_ASSERT(static_cast<int>(WEBKIT_WEB_NAVIGATION_REASON_FORM_RESUBMITTED) == static_cast<int>(WebCore::NavigationTypeFormResubmitted), navigation_type_form_resubmitted_enum_match);
- COMPILE_ASSERT(static_cast<int>(WEBKIT_WEB_NAVIGATION_REASON_OTHER) == static_cast<int>(WebCore::NavigationTypeOther), navigation_type_other_enum_match);
-
objectClass->get_property = webkit_web_navigation_action_get_property;
objectClass->set_property = webkit_web_navigation_action_set_property;
objectClass->dispose = webkit_web_navigation_action_finalize;
diff --git a/Source/WebKit/gtk/webkit/webkitwebsettings.cpp b/Source/WebKit/gtk/webkit/webkitwebsettings.cpp
index 492c7b6..7e7a506 100644
--- a/Source/WebKit/gtk/webkit/webkitwebsettings.cpp
+++ b/Source/WebKit/gtk/webkit/webkitwebsettings.cpp
@@ -28,13 +28,11 @@
#include "EditingBehavior.h"
#include "FileSystem.h"
-#include "Language.h"
#include "PluginDatabase.h"
#include "webkitenumtypes.h"
#include "webkitglobalsprivate.h"
#include "webkitversion.h"
#include "webkitwebsettingsprivate.h"
-#include <enchant.h>
#include <wtf/text/CString.h>
#include <wtf/text/StringConcatenate.h>
#include <glib/gi18n-lib.h>
@@ -90,7 +88,6 @@ struct _WebKitWebSettingsPrivate {
gboolean enable_private_browsing;
gboolean enable_spell_checking;
gchar* spell_checking_languages;
- GSList* enchant_dicts;
gboolean enable_caret_browsing;
gboolean enable_html5_database;
gboolean enable_html5_local_storage;
@@ -174,15 +171,15 @@ enum {
static String webkitPlatform()
{
#if PLATFORM(X11)
- DEFINE_STATIC_LOCAL(const String, uaPlatform, (String("X11")));
+ DEFINE_STATIC_LOCAL(const String, uaPlatform, (String("X11; ")));
#elif OS(WINDOWS)
- DEFINE_STATIC_LOCAL(const String, uaPlatform, (String("Windows")));
+ DEFINE_STATIC_LOCAL(const String, uaPlatform, (String("")));
#elif PLATFORM(MAC)
- DEFINE_STATIC_LOCAL(const String, uaPlatform, (String("Macintosh")));
+ DEFINE_STATIC_LOCAL(const String, uaPlatform, (String("Macintosh; ")));
#elif defined(GDK_WINDOWING_DIRECTFB)
- DEFINE_STATIC_LOCAL(const String, uaPlatform, (String("DirectFB")));
+ DEFINE_STATIC_LOCAL(const String, uaPlatform, (String("DirectFB; ")));
#else
- DEFINE_STATIC_LOCAL(const String, uaPlatform, (String("Unknown")));
+ DEFINE_STATIC_LOCAL(const String, uaPlatform, (String("Unknown; ")));
#endif
return uaPlatform;
@@ -225,7 +222,7 @@ String webkitUserAgent()
// We re-use the WebKit version, though it doesn't seem to matter much in practice
DEFINE_STATIC_LOCAL(const String, uaVersion, (makeString(String::number(WEBKIT_USER_AGENT_MAJOR_VERSION), '.', String::number(WEBKIT_USER_AGENT_MINOR_VERSION), '+')));
- DEFINE_STATIC_LOCAL(const String, staticUA, (makeString("Mozilla/5.0 (", webkitPlatform(), "; U; ", webkitOSVersion(), "; ", defaultLanguage(), ") AppleWebKit/", uaVersion) +
+ DEFINE_STATIC_LOCAL(const String, staticUA, (makeString("Mozilla/5.0 (", webkitPlatform(), webkitOSVersion(), ") AppleWebKit/", uaVersion) +
makeString(" (KHTML, like Gecko) Version/5.0 Safari/", uaVersion)));
return staticUA;
@@ -536,7 +533,7 @@ static void webkit_web_settings_class_init(WebKitWebSettingsClass* klass)
PROP_ENABLE_CARET_BROWSING,
g_param_spec_boolean("enable-caret-browsing",
_("Enable Caret Browsing"),
- _("Whether to enable accesibility enhanced keyboard navigation"),
+ _("Whether to enable accessibility enhanced keyboard navigation"),
FALSE,
flags));
/**
@@ -691,9 +688,6 @@ static void webkit_web_settings_class_init(WebKitWebSettingsClass* klass)
TRUE,
flags));
- COMPILE_ASSERT(static_cast<int>(WEBKIT_EDITING_BEHAVIOR_MAC) == static_cast<int>(WebCore::EditingMacBehavior), editing_behavior_type_mac_match);
- COMPILE_ASSERT(static_cast<int>(WEBKIT_EDITING_BEHAVIOR_WINDOWS) == static_cast<int>(WebCore::EditingWindowsBehavior), editing_behavior_type_windows_match);
- COMPILE_ASSERT(static_cast<int>(WEBKIT_EDITING_BEHAVIOR_UNIX) == static_cast<int>(WebCore::EditingUnixBehavior), editing_behavior_type_unix_match);
/**
* WebKitWebSettings:editing-behavior
@@ -923,23 +917,6 @@ static void webkit_web_settings_init(WebKitWebSettings* web_settings)
web_settings->priv = G_TYPE_INSTANCE_GET_PRIVATE(web_settings, WEBKIT_TYPE_WEB_SETTINGS, WebKitWebSettingsPrivate);
}
-static EnchantBroker* get_enchant_broker()
-{
- static EnchantBroker* broker = 0;
- if (!broker)
- broker = enchant_broker_init();
-
- return broker;
-}
-
-static void free_spell_checking_language(gpointer data, gpointer user_data)
-{
- EnchantDict* dict = static_cast<EnchantDict*>(data);
- EnchantBroker* broker = get_enchant_broker();
-
- enchant_broker_free_dict(broker, dict);
-}
-
static void webkit_web_settings_finalize(GObject* object)
{
WebKitWebSettings* web_settings = WEBKIT_WEB_SETTINGS(object);
@@ -955,28 +932,15 @@ static void webkit_web_settings_finalize(GObject* object)
g_free(priv->user_stylesheet_uri);
g_free(priv->spell_checking_languages);
- g_slist_foreach(priv->enchant_dicts, free_spell_checking_language, 0);
- g_slist_free(priv->enchant_dicts);
-
g_free(priv->user_agent);
G_OBJECT_CLASS(webkit_web_settings_parent_class)->finalize(object);
}
-static void getAvailableDictionariesCallback(const char* const languageTag, const char* const, const char* const, const char* const, void* data)
-{
- Vector<CString>* dicts = static_cast<Vector<CString>*>(data);
-
- dicts->append(languageTag);
-}
-
static void webkit_web_settings_set_property(GObject* object, guint prop_id, const GValue* value, GParamSpec* pspec)
{
WebKitWebSettings* web_settings = WEBKIT_WEB_SETTINGS(object);
WebKitWebSettingsPrivate* priv = web_settings->priv;
- EnchantBroker* broker;
- EnchantDict* dict;
- GSList* spellDictionaries = 0;
switch(prop_id) {
case PROP_DEFAULT_ENCODING:
@@ -1068,35 +1032,6 @@ static void webkit_web_settings_set_property(GObject* object, guint prop_id, con
case PROP_SPELL_CHECKING_LANGUAGES:
g_free(priv->spell_checking_languages);
priv->spell_checking_languages = g_strdup(g_value_get_string(value));
-
- broker = get_enchant_broker();
- if (priv->spell_checking_languages) {
- char** langs = g_strsplit(priv->spell_checking_languages, ",", -1);
- for (int i = 0; langs[i]; i++) {
- if (enchant_broker_dict_exists(broker, langs[i])) {
- dict = enchant_broker_request_dict(broker, langs[i]);
- spellDictionaries = g_slist_append(spellDictionaries, dict);
- }
- }
- g_strfreev(langs);
- } else {
- const char* language = pango_language_to_string(gtk_get_default_language());
- if (enchant_broker_dict_exists(broker, language)) {
- dict = enchant_broker_request_dict(broker, language);
- spellDictionaries = g_slist_append(spellDictionaries, dict);
- } else {
- // No dictionaries selected, we get one from the list
- Vector<CString> allDictionaries;
- enchant_broker_list_dicts(broker, getAvailableDictionariesCallback, &allDictionaries);
- if (!allDictionaries.isEmpty()) {
- dict = enchant_broker_request_dict(broker, allDictionaries[0].data());
- spellDictionaries = g_slist_append(spellDictionaries, dict);
- }
- }
- }
- g_slist_foreach(priv->enchant_dicts, free_spell_checking_language, 0);
- g_slist_free(priv->enchant_dicts);
- priv->enchant_dicts = spellDictionaries;
break;
case PROP_ENABLE_XSS_AUDITOR:
priv->enable_xss_auditor = g_value_get_boolean(value);
@@ -1424,15 +1359,6 @@ G_CONST_RETURN gchar* webkit_web_settings_get_user_agent(WebKitWebSettings* webS
return priv->user_agent;
}
-GSList* webkitWebViewGetEnchantDicts(WebKitWebView* webView)
-{
- g_return_val_if_fail(WEBKIT_IS_WEB_VIEW(webView), 0);
-
- WebKitWebSettings* settings = webkit_web_view_get_settings(webView);
-
- return settings->priv->enchant_dicts;
-}
-
namespace WebKit {
WebCore::EditingBehaviorType core(WebKitEditingBehavior type)
diff --git a/Source/WebKit/gtk/webkit/webkitwebview.cpp b/Source/WebKit/gtk/webkit/webkitwebview.cpp
index d2b0ae0..0ffc9d9 100644
--- a/Source/WebKit/gtk/webkit/webkitwebview.cpp
+++ b/Source/WebKit/gtk/webkit/webkitwebview.cpp
@@ -397,7 +397,7 @@ static gboolean webkit_web_view_popup_menu_handler(GtkWidget* widget)
int rightAligned = FALSE;
IntPoint location;
- if (!start.node() || !end.node()
+ if (!start.deprecatedNode() || !end.deprecatedNode()
|| (frame->selection()->selection().isCaret() && !frame->selection()->selection().isContentEditable())) {
// If there's a focused elment, use its location.
if (Node* focusedNode = getFocusedNode(frame)) {
@@ -406,7 +406,7 @@ static gboolean webkit_web_view_popup_menu_handler(GtkWidget* widget)
} else
location = IntPoint(rightAligned ? view->contentsWidth() - contextMenuMargin : contextMenuMargin, contextMenuMargin);
} else {
- RenderObject* renderer = start.node()->renderer();
+ RenderObject* renderer = start.deprecatedNode()->renderer();
if (!renderer)
return FALSE;
@@ -708,9 +708,8 @@ static gboolean webkit_web_view_expose_event(GtkWidget* widget, GdkEventExpose*
if (frame->contentRenderer() && frame->view()) {
frame->view()->updateLayoutAndStyleIfNeededRecursive();
- cairo_t* cr = gdk_cairo_create(event->window);
- GraphicsContext ctx(cr);
- cairo_destroy(cr);
+ RefPtr<cairo_t> cr = adoptRef(gdk_cairo_create(event->window));
+ GraphicsContext ctx(cr.get());
ctx.setGdkExposeEvent(event);
int rectCount;
@@ -3283,7 +3282,7 @@ static void webkit_web_view_update_settings(WebKitWebView* webView)
WebKitWebSettings* webSettings = priv->webSettings.get();
Settings* settings = core(webView)->settings();
- gchar* defaultEncoding, *cursiveFontFamily, *defaultFontFamily, *fantasyFontFamily, *monospaceFontFamily, *sansSerifFontFamily, *serifFontFamily, *userStylesheetUri;
+ gchar* defaultEncoding, *cursiveFontFamily, *defaultFontFamily, *fantasyFontFamily, *monospaceFontFamily, *sansSerifFontFamily, *serifFontFamily, *userStylesheetUri, *defaultSpellCheckingLanguages;
gboolean autoLoadImages, autoShrinkImages, printBackgrounds,
enableScripts, enablePlugins, enableDeveloperExtras, resizableTextAreas,
enablePrivateBrowsing, enableCaretBrowsing, enableHTML5Database, enableHTML5LocalStorage,
@@ -3330,6 +3329,7 @@ static void webkit_web_view_update_settings(WebKitWebView* webView)
"enable-page-cache", &usePageCache,
"enable-java-applet", &enableJavaApplet,
"enable-hyperlink-auditing", &enableHyperlinkAuditing,
+ "spell-checking-languages", &defaultSpellCheckingLanguages,
"enable-fullscreen", &enableFullscreen,
NULL);
@@ -3371,6 +3371,11 @@ static void webkit_web_view_update_settings(WebKitWebView* webView)
#if ENABLE(FULLSCREEN_API)
settings->setFullScreenEnabled(enableFullscreen);
#endif
+#if ENABLE(SPELLCHECK)
+ WebKit::EditorClient* client = static_cast<WebKit::EditorClient*>(core(webView)->editorClient());
+ static_cast<WebKit::TextCheckerClientEnchant*>(client->textChecker())->updateSpellCheckingLanguage(defaultSpellCheckingLanguages);
+#endif
+
Page* page = core(webView);
if (page)
page->setTabKeyCyclesThroughElements(tabKeyCyclesThroughElements);
@@ -3485,6 +3490,12 @@ static void webkit_web_view_settings_notify(WebKitWebSettings* webSettings, GPar
settings->setJavaEnabled(g_value_get_boolean(&value));
else if (name == g_intern_string("enable-hyperlink-auditing"))
settings->setHyperlinkAuditingEnabled(g_value_get_boolean(&value));
+#if ENABLE(SPELLCHECK)
+ else if (name == g_intern_string("spell-checking-languages")) {
+ WebKit::EditorClient* client = static_cast<WebKit::EditorClient*>(core(webView)->editorClient());
+ static_cast<WebKit::TextCheckerClientEnchant*>(client->textChecker())->updateSpellCheckingLanguage(g_value_get_string(&value));
+ }
+#endif
else if (!g_object_class_find_property(G_OBJECT_GET_CLASS(webSettings), name))
g_warning("Unexpected setting '%s'", name);
g_value_unset(&value);
@@ -3533,7 +3544,6 @@ static void webkit_web_view_init(WebKitWebView* webView)
gtk_widget_set_can_focus(GTK_WIDGET(webView), TRUE);
priv->mainFrame = WEBKIT_WEB_FRAME(webkit_web_frame_new(webView));
priv->lastPopupXPosition = priv->lastPopupYPosition = -1;
- priv->editable = false;
priv->backForwardList = adoptGRef(webkit_web_back_forward_list_new_with_web_view(webView));
@@ -4327,9 +4337,8 @@ gboolean webkit_web_view_get_editable(WebKitWebView* webView)
{
g_return_val_if_fail(WEBKIT_IS_WEB_VIEW(webView), FALSE);
- WebKitWebViewPrivate* priv = webView->priv;
-
- return priv->editable;
+ Frame* frame = core(webView)->mainFrame();
+ return frame && frame->document()->inDesignMode();
}
/**
@@ -4354,17 +4363,15 @@ void webkit_web_view_set_editable(WebKitWebView* webView, gboolean flag)
{
g_return_if_fail(WEBKIT_IS_WEB_VIEW(webView));
- WebKitWebViewPrivate* priv = webView->priv;
-
Frame* frame = core(webView)->mainFrame();
g_return_if_fail(frame);
// TODO: What happens when the frame is replaced?
flag = flag != FALSE;
- if (flag == priv->editable)
+ if (flag == webkit_web_view_get_editable(webView))
return;
- priv->editable = flag;
+ frame->document()->setDesignMode(flag ? WebCore::Document::on : WebCore::Document::off);
if (flag) {
frame->editor()->applyEditingStyleToBodyElement();
@@ -5051,7 +5058,7 @@ WebKitHitTestResult* webkit_web_view_get_hit_test_result(WebKitWebView* webView,
G_CONST_RETURN gchar* webkit_web_view_get_icon_uri(WebKitWebView* webView)
{
g_return_val_if_fail(WEBKIT_IS_WEB_VIEW(webView), 0);
- String iconURL = iconDatabase()->iconURLForPageURL(core(webView)->mainFrame()->document()->url().prettyURL());
+ String iconURL = iconDatabase().iconURLForPageURL(core(webView)->mainFrame()->document()->url().prettyURL());
webView->priv->iconURI = iconURL.utf8();
return webView->priv->iconURI.data();
}
diff --git a/Source/WebKit/gtk/webkit/webkitwebviewprivate.h b/Source/WebKit/gtk/webkit/webkitwebviewprivate.h
index 03e632a..a355a53 100644
--- a/Source/WebKit/gtk/webkit/webkitwebviewprivate.h
+++ b/Source/WebKit/gtk/webkit/webkitwebviewprivate.h
@@ -65,7 +65,6 @@ struct _WebKitWebViewPrivate {
gint lastPopupYPosition;
HashSet<GtkWidget*> children;
- bool editable;
GRefPtr<GtkIMContext> imContext;
gboolean transparent;