2011-03-29 Gyuyoung Kim Reviewed by Antonio Gomes. [EFL] Remove unnecessary ewk_view_viewport_attributes_set() invocation https://bugs.webkit.org/show_bug.cgi?id=57222 WebCore sends viewport signal whenever viewport is changed by Page::updateViewportArguments(). Thus, we don't need to call ewk_view_viewport_attributes_set() with dummy viewport data anymore. * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::dispatchDidCommitLoad): 2011-03-27 Patrick Gansterer Reviewed by Andreas Kling. Fix agentOS() in FrameLoaderClientEfl https://bugs.webkit.org/show_bug.cgi?id=57177 Replace old PLATFORM macro with OS and CPU. * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::agentOS): 2011-03-27 Patrick Gansterer Reviewed by Andreas Kling. [EFL] Use an appropriate user agent string https://bugs.webkit.org/show_bug.cgi?id=57176 * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::composeUserAgent): 2011-03-25 Andy Estes Reviewed by Adele Peterson. REGRESSION (r70748): latest nightly builds kills AC_QuickTime.js https://bugs.webkit.org/show_bug.cgi?id=49016 Update objectContentType() implementation to handle the shouldPreferPlugInsForImages flag. * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::objectContentType): * WebCoreSupport/FrameLoaderClientEfl.h: 2011-03-24 Gyuyoung Kim Reviewed by Antonio Gomes. [EFL] Add sound / mute button to MediaControl UI https://bugs.webkit.org/show_bug.cgi?id=56726 Add sound / mute button to MediaControl UI. * DefaultTheme/default.edc: * DefaultTheme/widget/mediacontrol/mutebutton/mute_button.edc: Added. * DefaultTheme/widget/mediacontrol/mutebutton/mutebutton.png: Added. * DefaultTheme/widget/mediacontrol/mutebutton/unmutebutton.png: Added. 2011-03-24 Sheriff Bot Unreviewed, rolling out r81916 and r81917. http://trac.webkit.org/changeset/81916 http://trac.webkit.org/changeset/81917 https://bugs.webkit.org/show_bug.cgi?id=57071 broke a test on platforms that do not have QuickTime installed (Requested by estes on #webkit). * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::objectContentType): * WebCoreSupport/FrameLoaderClientEfl.h: 2011-03-24 Andy Estes Reviewed by Darin Adler. REGRESSION (r70748): latest nightly builds kills AC_QuickTime.js https://bugs.webkit.org/show_bug.cgi?id=49016 Update objectContentType() implementation to handle the shouldPreferPlugInsForImages flag. * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::objectContentType): * WebCoreSupport/FrameLoaderClientEfl.h: 2011-03-23 Brady Eidson Reviewed by Sam Weinig. Change IconDatabase opening to allow for arbitrary filenames https://bugs.webkit.org/show_bug.cgi?id=56977 * ewk/ewk_settings.cpp: (ewk_settings_icon_database_path_set): 2011-03-23 Gyuyoung Kim Reviewed by Antonio Gomes. [EFL] Add play / pause button to media control https://bugs.webkit.org/show_bug.cgi?id=55463 Add play|pause button to media control. * DefaultTheme/default.edc: * DefaultTheme/widget/mediacontrol/playpausebutton/pausebutton.png: Added. * DefaultTheme/widget/mediacontrol/playpausebutton/playbutton.png: Added. * DefaultTheme/widget/mediacontrol/playpausebutton/playpause_button.edc: Added. 2011-03-22 Gyuyoung Kim Reviewed by Antonio Gomes. [EFL] Change return values with better one in ewk_setting's functions https://bugs.webkit.org/show_bug.cgi?id=56819 In ewk_settings_cache_directory_path_set_xxx, they return false value when soup is disabled. It is better to use EINA_SAFETY_ON_TRUE_RETURN_XXX. * ewk/ewk_settings.cpp: (ewk_settings_proxy_uri_get): (ewk_settings_cache_directory_path_set): (ewk_settings_cache_directory_path_get): 2011-03-22 Grzegorz Czajkowski Reviewed by Kent Tamura. Add void to function without parameters https://bugs.webkit.org/show_bug.cgi?id=56821 * ewk/ewk_cookies.cpp: (ewk_cookies_clear): (ewk_cookies_policy_get): * ewk/ewk_cookies.h: * ewk/ewk_private.h: * ewk/ewk_settings.cpp: (ewk_settings_web_database_default_quota_get): (ewk_settings_web_database_path_get): (ewk_settings_proxy_uri_get): (ewk_settings_default_user_agent_get): * ewk/ewk_settings.h: * ewk/ewk_view.cpp: (ewk_view_dpi_get): 2011-03-17 Brady Eidson Reviewed by Sam Weinig. https://bugs.webkit.org/show_bug.cgi?id=56425 More groundwork for WebKit2 IconDatabase Update already-used function names: * ewk/ewk_history.cpp: (ewk_history_item_icon_surface_get): (ewk_history_item_icon_object_add): * ewk/ewk_settings.cpp: (ewk_settings_icon_database_icon_surface_get): (ewk_settings_icon_database_icon_object_add): 2011-03-16 Joseph Pecoraro Reviewed by Kenneth Rohde Christiansen. Viewport no longer allows an auto value for "user-scalable" https://bugs.webkit.org/show_bug.cgi?id=55416 Make the default value for userScalable be true. * ewk/ewk_view.cpp: (ewk_view_viewport_attributes_get): 2011-03-14 Brady Eidson Try to fix the EFL build-bustage that their EWS bot did not see, but their core-builder did. (sigh) * ewk/ewk_history.cpp: (ewk_history_item_icon_surface_get): (ewk_history_item_icon_object_add): 2011-03-14 Brady Eidson Reviewed by Anders Carlsson. https://bugs.webkit.org/show_bug.cgi?id=56320 Remove HistoryItem::icon() and the WebCore dependency on "IconDatabaseBase::defaultIcon()" * ewk/ewk_history.cpp: (ewk_history_item_icon_surface_get): Use IconDatabase directly. 2011-03-14 Ryuan Choi Reviewed by Kenneth Rohde Christiansen. [EFL] Move cache_directory api https://bugs.webkit.org/show_bug.cgi?id=52139 Move cache directory related apis from ewk_view to ewk_settings because those are not related to ewk_view. * ewk/ewk_main.cpp: (_ewk_init_body): * ewk/ewk_settings.cpp: (ewk_settings_cache_directory_path_set): (ewk_settings_cache_directory_path_get): * ewk/ewk_settings.h: * ewk/ewk_view.cpp: (_ewk_view_priv_new): (_ewk_view_priv_del): * ewk/ewk_view.h: 2011-03-12 Ryuan Choi Unreviewed build fix. [EFL] Fix build break because of several reason. https://bugs.webkit.org/show_bug.cgi?id=56244 * ewk/ewk_settings.cpp: (ewk_settings_icon_database_path_set): 2011-03-10 Ryuan Choi Reviewed by Antonio Gomes. [EFL] Limit touch events when only page required touch events. https://bugs.webkit.org/show_bug.cgi?id=54857 Block touch events when ChromeClient::needTouchEvents got false. * WebCoreSupport/ChromeClientEfl.cpp: (WebCore::ChromeClientEfl::needTouchEvents): * WebCoreSupport/ChromeClientEfl.h: * ewk/ewk_frame.cpp: (ewk_frame_feed_touch_event): * ewk/ewk_private.h: * ewk/ewk_view.cpp: (ewk_view_need_touch_events_set): (ewk_view_need_touch_events_get): 2011-03-08 Grzegorz Czajkowski Reviewed by Kent Tamura. [EFL] Doxygen documentation for ewk_window_features and ewk_context_menu https://bugs.webkit.org/show_bug.cgi?id=55026 * ewk/ewk_contextmenu.cpp: (ewk_context_menu_item_select): returns EINA_FALSE when CONTEXT_MENU is disabled * ewk/ewk_contextmenu.h: * ewk/ewk_window_features.cpp: * ewk/ewk_window_features.h: 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/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::dispatchDecidePolicyForResponse): * WebCoreSupport/FrameLoaderClientEfl.h: 2011-03-04 Grzegorz Czajkowski Reviewed by Kent Tamura. [EFL] Doxygen documentation for ewk_settings https://bugs.webkit.org/show_bug.cgi?id=55667 * ewk/ewk_settings.cpp: (ewk_settings_default_user_agent_get): only style is fixed * ewk/ewk_settings.h: 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 * ewk/ewk_settings.cpp: (ewk_settings_icon_database_path_set): (ewk_settings_icon_database_path_get): (ewk_settings_icon_database_clear): (ewk_settings_icon_database_icon_surface_get): (ewk_settings_icon_database_icon_object_add): 2011-03-03 Alexey Proskuryakov Removing an include of WebCoreKeyboardUIMode.h that Ive just added. It's already included via ChromeClient.h * WebCoreSupport/ChromeClientEfl.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/ChromeClientEfl.cpp: (WebCore::ChromeClientEfl::keyboardUIMode): * WebCoreSupport/ChromeClientEfl.h: Implement keyboardUIMode() instead of tabsToLinks(). No change in functionality, since this platform doesn't observe or have full keyboard access state. 2011-03-01 Joseph Pecoraro Unreviewed. Roll out r80068 and r80073 due to breaking WebKit2 Qt port. * ewk/ewk_view.cpp: (_ewk_view_viewport_attributes_compute): 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 * ewk/ewk_view.cpp: (_ewk_view_viewport_attributes_compute): pass a Document into computeViewportAttributes for warnings to be reported to. 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. * WebCoreSupport/EditorClientEfl.cpp: * WebCoreSupport/EditorClientEfl.h: 2011-02-27 Gyuyoung Kim Reviewed by Kent Tamura. [EFL] Restore parameters of efl header files. https://bugs.webkit.org/show_bug.cgi?id=55292 Restore parameters in efl header files. * ewk/ewk_frame.h: * ewk/ewk_tiled_backing_store.h: * ewk/ewk_tiled_matrix.h: * ewk/ewk_tiled_model.h: * ewk/ewk_view.cpp: (ewk_view_pre_render_relative_radius): * ewk/ewk_view.h: * ewk/ewk_window_features.h: 2011-02-26 Gyuyoung Kim Reviewed by Kent Tamura. [EFL] Replace WTF_USE_SOUP macro with USE(SOUP) https://bugs.webkit.org/show_bug.cgi?id=55296 ewk_cookies.cpp and ewk_main.cpp are using WTF_USE_SOUP macro. So, according to policy decision macro usage, the macro needs to be changed with USE(SOUP). * ewk/ewk_cookies.cpp: (ewk_cookies_file_set): (ewk_cookies_clear): (ewk_cookies_get_all): (ewk_cookies_cookie_del): (ewk_cookies_cookie_free): (ewk_cookies_policy_set): (ewk_cookies_policy_get): * ewk/ewk_main.cpp: (_ewk_init_body): 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 * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::composeUserAgent): * ewk/ewk_settings.cpp: (ewk_settings_default_user_agent_get): 2011-02-23 Patrick Gansterer Reviewed by Alexey Proskuryakov. Use AtomicString::fromUTF8 instead of String::fromUTF8 for AtomicStrings https://bugs.webkit.org/show_bug.cgi?id=54992 Also remove the WTF namespace from AtomicString and String. * ewk/ewk_view.cpp: 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 * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::composeUserAgent): * ewk/ewk_settings.cpp: (ewk_settings_default_user_agent_get): 2011-02-21 Lukasz Slachciak Reviewed by Antonio Gomes. [EFL] Fixed missing spatial navigation setting initialization. Doxygen comments added. https://bugs.webkit.org/show_bug.cgi?id=54806 * ewk/ewk_view.cpp: (_ewk_view_priv_new): spatial navigation setting initialization added 2011-02-20 Gyuyoung Kim Reviewed by Kent Tamura. [EFL] Fix coding style errors in tiled BS and ewk_window_feature.h https://bugs.webkit.org/show_bug.cgi?id=54842 Fix style errors in ewk files. * ewk/ewk_tiled_backing_store.h: * ewk/ewk_tiled_matrix.h: * ewk/ewk_tiled_model.h: * ewk/ewk_window_features.h: 2011-02-19 Lukasz Slachciak Reviewed by Andreas Kling. [EFL] Eliminated error when .webkit directory doesn't exist. https://bugs.webkit.org/show_bug.cgi?id=54813 * ewk/ewk_main.cpp: (_ewk_init_body): 2011-02-19 Lukasz Slachciak Unreviewed build fix. SoupSession build break fix https://bugs.webkit.org/show_bug.cgi?id=54796 * ewk/ewk_settings.cpp: (ewk_settings_proxy_uri_set): 2011-02-19 Lukasz Slachciak Reviewed by Andreas Kling. [EFL] Use standard WebCore::homeDirectoryPath method instead of reimplementing it https://webkit.org/b/54781 * ewk/ewk_main.cpp: (_ewk_init_body): 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/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::shouldStopLoadingForHistoryItem): Added. * WebCoreSupport/FrameLoaderClientEfl.h: 2011-02-18 Gyuyoung Kim Reviewed by Kent Tamura. [EFL] Fix coding style errors in ewk_frame.h https://bugs.webkit.org/show_bug.cgi?id=54718 Fix style errors in ewk_frame.h. * ewk/ewk_frame.h: 2011-02-18 Gyuyoung Kim Reviewed by Antonio Gomes. [EFL] Remove proxy feature of soup when proxy is null https://bugs.webkit.org/show_bug.cgi?id=54621 When proxy value is NULL, remove proxy feature in soup. * ewk/ewk_settings.cpp: (ewk_settings_proxy_uri_set): 2011-02-18 Gyuyoung Kim Reviewed by Kent Tamura. [EFL] Fix coding style errors in ewk_view.h https://bugs.webkit.org/show_bug.cgi?id=54624 Fix style errors in ewk_view.h. * ewk/ewk_view.cpp: (ewk_view_pre_render_relative_radius): * ewk/ewk_view.h: 2011-02-18 Patrick Gansterer Unreviewed build fix after r78634 and r78786. * CMakeListsEfl.txt: 2011-02-17 Ryuan Choi Reviewed by Kent Tamura. [EFL] Possible crash of ewk_frame_contents_set https://bugs.webkit.org/show_bug.cgi?id=54091 Use length of contents if contents_size parameter is bigger than length of contents. * ewk/ewk_frame.cpp: (_ewk_frame_contents_set_internal): 2011-02-17 Grzegorz Czajkowski Reviewed by Kent Tamura. Doxygen documentation for ewk cookies https://bugs.webkit.org/show_bug.cgi?id=54553 * ewk/ewk_cookies.cpp: (ewk_cookies_file_set): (ewk_cookies_policy_set): (ewk_cookies_policy_get): * ewk/ewk_cookies.h: 2011-02-16 Gyuyoung Kim Unreviewed build fix. [EFL] Build break on r78634 https://bugs.webkit.org/show_bug.cgi?id=54602 Build error because of r78634. * CMakeListsEfl.txt: 2011-01-26 MORITA Hajime Reviewed by Ryosuke Niwa. Refactoring: Extract TextCheckerClient from EditorClient https://bugs.webkit.org/show_bug.cgi?id=53213 * WebCoreSupport/EditorClientEfl.h: (WebCore::EditorClientEfl::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/EditorClientEfl.cpp: (WebCore::EditorClientEfl::canCopyCut): Added. (WebCore::EditorClientEfl::canPaste): Added. * WebCoreSupport/EditorClientEfl.h: 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/ChromeClientEfl.h: 2011-02-08 Lucas De Marchi Unreviewed build fix. [EFL] Fix when building with curl backend. * ewk/ewk_settings.cpp: (ewk_settings_proxy_uri_get): 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/DragClientEfl.cpp: * WebCoreSupport/DragClientEfl.h: 2011-02-07 Patrick Gansterer Reviewed by Andreas Kling. [EFL] FrameLoaderClient calls loadURLInChildFrame on the child's frame loader https://bugs.webkit.org/show_bug.cgi?id=53892 * ewk/ewk_frame.cpp: (ewk_frame_child_add): Use the loader of the core frame instead. 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/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::didRunInsecureContent): * WebCoreSupport/FrameLoaderClientEfl.h: 2011-02-01 Gyuyoung Kim Reviewed by Antonio Gomes. [EFL] Add an API to get proxy address. https://bugs.webkit.org/show_bug.cgi?id=52990 Gets the proxy URI from network backend. This API returns a proxy URI which is set up by ewk_settings_proxy_uri_set(). But, it only implements this API for libsoup backend. * ewk/ewk_settings.cpp: (ewk_settings_proxy_uri_get): * ewk/ewk_settings.h: 2011-01-29 Dan Winship Reviewed by Xan Lopez. [GTK] Remove HAVE_LIBSOUP_2_29_90 conditionals; we depend on libsoup 2.33.1 now. https://bugs.webkit.org/show_bug.cgi?id=50675 * ewk/ewk_cookies.cpp: (ewk_cookies_file_set): (ewk_cookies_policy_set): (ewk_cookies_policy_get): 2011-01-28 Dan Bernstein Reviewed by Sam Weinig.