2011-03-07 Sam Weinig 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 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 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 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 Reviewed by Darin Adler. REGRESSION (WebKit2): Tab keys no longer observe Full Keyboard Access https://bugs.webkit.org/show_bug.cgi?id=55633 * 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 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 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 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 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 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 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 Reviewed by Martin Robinson. [GTK] Convert use of cairo_t to RefPtr in webkitwebiew.cpp https://bugs.webkit.org/show_bug.cgi?id=55437 * webkit/webkitwebview.cpp: Convert use of cairo_t to RefPtr. (webkit_web_view_expose_event): 2011-02-28 Chang Shu 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 Unreviewed, rolling out r78331. http://trac.webkit.org/changeset/78331 https://bugs.webkit.org/show_bug.cgi?id=54295 This patch broke 11 tests in GTK bots (Requested by svillar on #webkit). * WebCoreSupport/FrameLoaderClientGtk.cpp: (WebKit::notifyStatus): 2011-02-10 Nate Chapin Reviewed by Adam Barth. Update calls to DocumentWriter. https://bugs.webkit.org/show_bug.cgi?id=50489 * WebCoreSupport/FrameLoaderClientGtk.cpp: (WebKit::FrameLoaderClient::FrameLoaderClient): (WebKit::FrameLoaderClient::didRunInsecureContent): (WebKit::FrameLoaderClient::dispatchDidLoadMainResource): (WebKit::FrameLoaderClient::finishedLoading): * WebCoreSupport/FrameLoaderClientGtk.h: * webkit/webkitwebview.cpp: (webkit_web_view_get_encoding): 2011-02-11 Mario Sanchez Prada Reviewed by Xan Lopez. [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-08 Martin Robinson Reviewed by Xan Lopez. [GTK] DRT needs an implementation of LayoutTestController.setIconDatabaseEnabled https://bugs.webkit.org/show_bug.cgi?id=54033 Add a DumpRenderTreeSupportGtk method for turning the icon database on and off. This is a likely candidate for a new API point. * WebCoreSupport/DumpRenderTreeSupportGtk.cpp: (DumpRenderTreeSupportGtk::setIconDatabaseEnabled): Added. * WebCoreSupport/DumpRenderTreeSupportGtk.h: * webkit/webkitglobals.cpp: (webkitInit): Call setIconDatabaseEnabled(true) on startup, instead of initializing the database manually. (WebKit::setIconDatabaseEnabled): Added. * webkit/webkitglobalsprivate.h: Added declarations. 2011-02-08 Adam Barth Reviewed by Eric Seidel. Remove orphan code from old parser https://bugs.webkit.org/show_bug.cgi?id=53984 * WebCoreSupport/ChromeClientGtk.h: 2011-02-02 Ilya Tikhonovsky Reviewed by Yury Semikhatsky. Web Inspector: move InspectorController's methods from InspectorAgent to InspectorController. https://bugs.webkit.org/show_bug.cgi?id=53169 Minor change enforced by major changes in WebCore/inspector/InspectorController. * WebCoreSupport/InspectorClientGtk.cpp: * webkit/webkitwebinspector.cpp: (webkit_web_inspector_get_property): 2011-02-08 Carlos Garcia Campos Reviewed by Martin Robinson. [GTK] DRT's TextInputController is unimplemented on GTK https://bugs.webkit.org/show_bug.cgi?id=52997 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp: (DumpRenderTreeSupportGtk::setComposition): (DumpRenderTreeSupportGtk::confirmComposition): (DumpRenderTreeSupportGtk::firstRectForCharacterRange): (DumpRenderTreeSupportGtk::selectedRange): New methods needed by TextInputController. * WebCoreSupport/DumpRenderTreeSupportGtk.h: 2011-02-07 Enrica Casucci Reviewed Adam Roben and Darin Adler. WebKit2: drag and drop support on Windows. https://bugs.webkit.org/show_bug.cgi?id=52775 Removed createDragImageForLink from DragClient. * WebCoreSupport/DragClientGtk.cpp: * WebCoreSupport/DragClientGtk.h: 2011-02-07 Joone Hur Reviewed by Martin Robinson. [Gtk] Implement layoutTestController.findString https://bugs.webkit.org/show_bug.cgi?id=50237 * GNUmakefile.am: Add AssertMatchingEnums.cpp. * WebCoreSupport/AssertMatchingEnums.cpp: Add this file to assert that various WebKit API enum values continue matching WebCore defined enum values. * WebCoreSupport/DumpRenderTreeSupportGtk.cpp: (DumpRenderTreeSupportGtk::findString): * WebCoreSupport/DumpRenderTreeSupportGtk.h: 2011-02-07 Martin Robinson Reviewed by Daniel Bates. [GTK] fast/history/history-subframe-with-name.html fails with GTK DRT https://bugs.webkit.org/show_bug.cgi?id=44784 Call FrameLoader::loadURLIntoChildFrame on the parent frame's loader, not the child's. * WebCoreSupport/FrameLoaderClientGtk.cpp: (WebKit::FrameLoaderClient::createFrame): Fix the call to FrameLoader::loadURLIntoChildFrame. 2011-02-07 Mario Sanchez Prada Reviewed by Xan Lopez. [Gtk] atk_text_get_caret_offset fails for list items https://bugs.webkit.org/show_bug.cgi?id=53436 Update unit test to check the fix for this bug. * tests/testatk.c: (testWebkitAtkCaretOffsets): Check that the caret offset returned match the value previously set. 2011-02-04 Joone Hur Unreviewed, Fix compilation warning. Constructor initialization list should follow the declaration order. * WebCoreSupport/FrameLoaderClientGtk.cpp: (WebKit::FrameLoaderClient::FrameLoaderClient): m_hasRepresentation is moved to the last position in the initialization list. 2011-02-04 Martin Robinson Reviewed by Xan Lopez. [GTK] WebKitWebFrame can return a stale frame name when calling webkit_web_frame_get_name https://bugs.webkit.org/show_bug.cgi?id=53797 When the frame name changes between different calls to webkit_web_frame_get_name on the same frame, return the new frame name instead of the one valid during the previous call. * webkit/webkitwebframe.cpp: (webkit_web_frame_init): Initialize the frame name to 0. (webkit_web_frame_get_name): Check the current frame name first before returning the cached value. 2011-02-04 Martin Robinson Reviewed by Gustavo Noronha Silva. [GTK] fast/events/pagehide-timeout.html fails https://bugs.webkit.org/show_bug.cgi?id=53771 Add the document browser cache model. This model is optimized for viewing a series of local files, while the document viewer is optimized for only viewing one local file. Improve the documentation on the mapping of these enum values to actual cache settings. * webkit/webkitglobals.cpp: (webkit_set_cache_model): Add support for the document browser cache model and improve comments in this section better explaining where the magic numbers come from. * webkit/webkitglobals.h: Added an enum value for the document browser cache model. 2011-02-03 Yury Semikhatsky Reviewed by Pavel Feldman. Web Inspector: remove settings related methods from InspectorClient https://bugs.webkit.org/show_bug.cgi?id=53686 * WebCoreSupport/InspectorClientGtk.cpp: (WebKit::InspectorFrontendClient::InspectorFrontendClient): * WebCoreSupport/InspectorClientGtk.h: 2011-02-03 Adam Langley Reviewed by Adam Barth. Plumb mixed script URL to FrameLoaderClient https://bugs.webkit.org/show_bug.cgi?id=52384 Regressions covered by http/tests/security/mixedContent/* * WebCoreSupport/FrameLoaderClientGtk.cpp: (WebKit::FrameLoaderClient::didRunInsecureContent): * WebCoreSupport/FrameLoaderClientGtk.h: 2011-02-03 Joone Hur Reviewed by Martin Robinson. [Gtk] No need to set text encoding in the provisional phase https://bugs.webkit.org/show_bug.cgi?id=53487 According to changeset 67253, setEncoding could be called multiple times from committedLoad, finishedLoading, dispatchDidFailLoading, and setMainDocumentError in FrameLoaderClient. To fix this, the relevant code was removed from FrameLoaderClient and moved to DocumentLoader::commitData. However, that code was not removed from FrameLoaderClient::finishedLoading in WebKitGtk+. Due to this reason, after loading a html document, other ports initialize the text encoding from FrameLoaderClient::finishedLoading, but WebKitGtk+ sets the same encoding again, even tries to set encoding in the provisional phase. This causes unnecessary encoding setting. * WebCoreSupport/FrameLoaderClientGtk.cpp: (WebKit::FrameLoaderClient::FrameLoaderClient): Set m_hasRepresentation to false. (WebKit::FrameLoaderClient::makeRepresentation): Set m_hasRepresentation to true. (WebKit::FrameLoaderClient::revertToProvisionalState): Set m_hasRepresentation to true. (WebKit::FrameLoaderClient::finishedLoading): Skip the encoding setting when m_hasRepresentation is false. * WebCoreSupport/FrameLoaderClientGtk.h: Added m_hasRepresentation. 2011-02-02 Alejandro G. Castro Reviewed by Martin Robinson. Update the NEWS file in preparation for the 1.3.11 release. * NEWS: Update the NEWS. 2011-02-02 Dan Winship Reviewed by Martin Robinson. [GTK] drop soup cache stuff, which has been moved to libsoup https://bugs.webkit.org/show_bug.cgi?id=50747 * GNUmakefile.am: Remove old cache files. 2011-02-02 David Hyatt Reviewed by Darin Adler. Removal of right()/bottom(), converting to maxX()/maxY(). * webkit/webkitwebview.cpp: (webkit_web_view_popup_menu_handler): 2011-02-01 Mario Sanchez Prada Reviewed by Martin Robinson. [Gtk] atk_text_set_caret_offset fails for list items https://bugs.webkit.org/show_bug.cgi?id=53388 Update unit test to check the fix for this bug. * tests/testatk.c: (testWebkitAtkCaretOffsets): Ensure setting the caret in a list item through the AtkText interface is possible. 2011-02-01 Mario Sanchez Prada Reviewed by Martin Robinson. [GTK] character range extents is off when the end of a wrapped line is included https://bugs.webkit.org/show_bug.cgi?id=53323 Update unit test to check the fix for this bug. * tests/testatk.c: (testWebkitAtkGetExtents): Check that the extent for a full line are the same height than for a partial section of the same line. 2011-02-01 Mario Sanchez Prada Reviewed by Martin Robinson. [GTK] Caret Offset is one off at the end of wrapped lines https://bugs.webkit.org/show_bug.cgi?id=53300 Update unit test to check the fix for this bug. * tests/testatk.c: (testWebkitAtkCaretOffsetsAndExtranousWhiteSpaces): Set and get the caret offset at the edge of the line. 2011-01-31 Mario Sanchez Prada Reviewed by Martin Robinson. [Gtk] atk_text_set_caret_offset returns True even when it is unsuccessful https://bugs.webkit.org/show_bug.cgi?id=53389 New unit test to check the fix for this bug. * tests/testatk.c: (testWebkitAtkCaretOffsets): New. (main): Add new test. 2011-01-29 Dan Winship Reviewed by Xan Lopez. [GTK] Remove HAVE_LIBSOUP_2_29_90 and HAVE_GSETTINGS conditionals; we depend on glib 2.27.4 and libsoup 2.33.1 now. https://bugs.webkit.org/show_bug.cgi?id=50675 * GNUmakefile.am: * WebCoreSupport/InspectorClientGtk.cpp: (WebKit::InspectorClient::storeSetting): * webkit/webkitprivate.cpp: (inspectorGSettings): * webkit/webkitprivate.h: 2011-01-28 Dan Bernstein Reviewed by Sam Weinig.