2012-11-30 Mihai Maerean [CSSRegions] when WebKit uses V8, there should be a single variable to store if the CSS Regions feature is enabled https://bugs.webkit.org/show_bug.cgi?id=101192 Reviewed by Hajime Morita. Removed the CSS Regions flag in Settings and switched to using the new flag I have added in RuntimeEnabledFeatures. Tests: No new tests because there is no functional change. * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: (DumpRenderTreeSupportEfl::setCSSRegionsEnabled): * ewk/ewk_view.cpp: (_ewk_view_priv_new): 2012-11-29 Alexey Proskuryakov [WK2] Forward cookie jar calls to NetworkProcess https://bugs.webkit.org/show_bug.cgi?id=103457 Reviewed by Darin Adler. * WebCoreSupport/PlatformStrategiesEfl.cpp: (PlatformStrategiesEfl::cookiesForDOM): (PlatformStrategiesEfl::setCookiesFromDOM): (PlatformStrategiesEfl::cookiesEnabled): (PlatformStrategiesEfl::cookieRequestHeaderFieldValue): (PlatformStrategiesEfl::getRawCookies): (PlatformStrategiesEfl::deleteCookie): (PlatformStrategiesEfl::getHostnamesWithCookies): (PlatformStrategiesEfl::deleteCookiesForHostname): (PlatformStrategiesEfl::deleteAllCookies): 2012-11-29 Ryuan Choi [EFL] Broken rendering occurs when scrolling in ewk_view_single. https://bugs.webkit.org/show_bug.cgi?id=77325 Reviewed by Gyuyoung Kim. After r104687, broken rendering occurs when scrolling contents. It's because scrollWidth can be smaller than width of image buffer. This patch fixes it and renames parameter to avoid confusion. * ewk/ewk_view_single.cpp: (_ewk_view_screen_move): (_ewk_view_single_scroll_process_single): 2012-11-28 Ryuan Choi [EFL] Generate big_button_theme.edj https://bugs.webkit.org/show_bug.cgi?id=103511 Reviewed by Gyuyoung Kim. big_button_theme.edj, binary file which is used for test, should be generated. * DefaultTheme/CMakeLists.txt: Introduced macro and new target to share files of default theme instead of adding many files for big_button_theme. * DefaultTheme/widget/button/button.edc: Implemented for big_button_theme. 2012-11-28 Ryuan Choi [EFL] Refactor theme to choose whether to support foreground color of selection https://bugs.webkit.org/show_bug.cgi?id=102037 Reviewed by Kenneth Rohde Christiansen. * DefaultTheme/default.edc: Refactored color classes from active/inactive to foreground/background. 2012-11-27 James Simonsen Consolidate FrameLoader::load() into one function taking a FrameLoadRequest https://bugs.webkit.org/show_bug.cgi?id=102151 Reviewed by Adam Barth. * ewk/ewk_frame.cpp: (_ewk_frame_contents_set_internal): 2012-11-27 Sheriff Bot Unreviewed, rolling out r135786. http://trac.webkit.org/changeset/135786 https://bugs.webkit.org/show_bug.cgi?id=103379 It made 3 plugin tests timeout on several platforms (Requested by Ossy on #webkit). * ewk/ewk_frame.cpp: (ewk_frame_uri_set): (_ewk_frame_contents_set_internal): 2012-11-26 James Simonsen Consolidate FrameLoader::load() into one function taking a FrameLoadRequest https://bugs.webkit.org/show_bug.cgi?id=102151 Reviewed by Adam Barth. * ewk/ewk_frame.cpp: (_ewk_frame_contents_set_internal): 2012-11-24 Viatcheslav Ostapenko [EFL] Layout test comes to crash on WK1 https://bugs.webkit.org/show_bug.cgi?id=103170 Reviewed by Kenneth Rohde Christiansen. Switch off accelerated compositing for WK1 because GraphicsContext3D is missing direct rendering implementation that is required for EFL WK1. * ewk/ewk_view.cpp: (_ewk_view_priv_new): 2012-11-21 Allan Sandfeld Jensen Disambiguate innerNodeFramePoint and mainFramePoint https://bugs.webkit.org/show_bug.cgi?id=98139 Reviewed by Julien Chaffraix. * ewk/ewk_frame.cpp: (ewk_frame_hit_test_new): 2012-11-20 Sheriff Bot Unreviewed, rolling out r135295. http://trac.webkit.org/changeset/135295 https://bugs.webkit.org/show_bug.cgi?id=102834 This patch causes assertion to some layout tests on chromium (Requested by jianli on #webkit). * ewk/ewk_frame.cpp: (ewk_frame_uri_set): (_ewk_frame_contents_set_internal): 2012-11-20 James Simonsen Consolidate FrameLoader::load() into one function taking a FrameLoadRequest https://bugs.webkit.org/show_bug.cgi?id=102151 Reviewed by Adam Barth. * ewk/ewk_frame.cpp: (_ewk_frame_contents_set_internal): 2012-11-19 Tony Chang Remove 'is' prefix from WebSettings::isWebSecurityEnabled and WebSettings::isSpatialNavigationEnabled https://bugs.webkit.org/show_bug.cgi?id=102548 Reviewed by Adam Barth. Rename call to WebCore::Settings. * ewk/ewk_view.cpp: (_ewk_view_priv_new): 2012-11-16 Sheriff Bot Unreviewed, rolling out r134694. http://trac.webkit.org/changeset/134694 https://bugs.webkit.org/show_bug.cgi?id=102481 it made API test crash on EFL port (Requested by gyuyoung on #webkit). * DefaultTheme/default.edc: 2012-11-15 Kenneth Rohde Christiansen Rename member vars in ViewportArgument to match css-device-adapt https://bugs.webkit.org/show_bug.cgi?id=102355 Reviewed by Gyuyoung Kim. * ewk/ewk_view.cpp: (_ewk_view_priv_new): Update to reflect name change. 2012-11-15 Gyuyoung Kim Unreviewed. Fix build break when using --no-tiled-backing-store option. * ewk/ewk_frame_private.h: (WebCore): 2012-11-14 Ryuan Choi [EFL] Port tiled backing store https://bugs.webkit.org/show_bug.cgi?id=71352 Reviewed by Gyuyoung Kim. Added ewk_view_setting_tiled_backing_store_enabled_{get|set} to give possibility to use WebCore's tiled backing store in WebKit/Efl port. This makes WebKit/Efl compliant with WebKit's generic solution of tiled backing store. * WebCoreSupport/ChromeClientEfl.cpp: (WebCore::ChromeClientEfl::invalidateRootView): (WebCore): (WebCore::ChromeClientEfl::visibleRectForTiledBackingStore): * WebCoreSupport/ChromeClientEfl.h: (ChromeClientEfl): * ewk/ewk_frame_private.h: Declared missing classes which used in this file. * ewk/ewk_paint_context.cpp: (ewk_paint_context_paint): Implemented to paint tiled backing store * ewk/ewk_view.cpp: (ewk_view_setting_tiled_backing_store_enabled_set): Added API to enable/disable the WebCore's tiled backing store. (ewk_view_setting_tiled_backing_store_enabled_get): Added API to query if the WebCore's tiled backing store is enabled. (ewk_view_tiled_backing_store_invalidate): * ewk/ewk_view.h: * ewk/ewk_view_private.h: * ewk/ewk_view_single.cpp: (_ewk_view_single_smart_repaints_process): Implemented to update visible area of tiled backing store. * tests/test_ewk_view.cpp: Added test case of ewk_view_setting_tiled_backing_store. (TEST_F): 2012-11-14 Ryuan Choi [EFL] Refactor theme to choose whether to support foreground color of selection https://bugs.webkit.org/show_bug.cgi?id=102037 Reviewed by Gyuyoung Kim. * DefaultTheme/default.edc: Refactored color classes from active/inactive to foreground/background. 2012-11-12 KyungTae Kim [EFL] In ewk_tiled_backing_store_pre_render_region, the 'slicer' may be uninitialized https://bugs.webkit.org/show_bug.cgi?id=102038 Reviewed by Gyuyoung Kim. To fix build warning -Wuninitialized, initialize the 'slicer' in ewk_tiled_backing_store_pre_render_region. * ewk/ewk_tiled_backing_store.cpp: (ewk_tiled_backing_store_pre_render_region): 2012-11-09 Raphael Kubo da Costa [EFL][DRT] Force a repaint before tracking repaint rects. https://bugs.webkit.org/show_bug.cgi?id=101743 Reviewed by Kenneth Rohde Christiansen. * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: (DumpRenderTreeSupportEfl::forceLayout): Added. * WebCoreSupport/DumpRenderTreeSupportEfl.h: 2012-11-07 Emil A Eklund Unreviewed EFL build fix. * ewk/ewk_view.cpp: 2012-11-01 Seonae Kim [EFL][DRT] Support Geolocation https://bugs.webkit.org/show_bug.cgi?id=97427 Reviewed by Gyuyoung Kim. Implement methods to use GeolocationClientMock in DumpRenderTree. This client attaches to the page whenever a view is created. * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: (DumpRenderTreeSupportEfl::attachClientToPage): (DumpRenderTreeSupportEfl::resetGeolocationClientMock): (DumpRenderTreeSupportEfl::setMockGeolocationPermission): (DumpRenderTreeSupportEfl::setMockGeolocationPosition): (DumpRenderTreeSupportEfl::setMockGeolocationPositionUnavailableError): (DumpRenderTreeSupportEfl::numberOfPendingGeolocationPermissionRequests): * WebCoreSupport/DumpRenderTreeSupportEfl.h: 2012-10-31 Michał Pakuła vel Rutka [EFL][DRT] EventSender requires contextClick implementation https://bugs.webkit.org/show_bug.cgi?id=86091 Reviewed by Gyuyoung Kim. Add a pointer to parent menu in Ewk_Context_Menu_Item and a getter function to allow selecting a context menu item without having parent menu pointer in DumpRenderTree EventSender. Three unit tests added due ewk API changes. * ewk/ewk_contextmenu.cpp: (_Ewk_Context_Menu_Item): (ewk_context_menu_item_new): (ewk_context_menu_item_parent_get): (ewk_context_menu_item_append): * ewk/ewk_contextmenu.h: * ewk/ewk_view.cpp: (ewk_view_context_menu_get): * ewk/ewk_view.h: * tests/test_ewk_contextmenu.cpp: Added. (TEST_F): * tests/test_ewk_view.cpp: (TEST_F): 2012-10-30 Seokju Kwon [EFL] Fix failure to highlight nodes on web inspector https://bugs.webkit.org/show_bug.cgi?id=100303 Reviewed by Gyuyoung Kim. It is not working to highlight nodes on web inspector when using 'Single Backing Store'. Add code for drawing it if there is the highlighted node. * ewk/ewk_view_single.cpp: (_ewk_view_single_smart_repaints_process): 2012-10-30 Jinwoo Song [EFL] Refactor tooltip callback signal in WebKit1 https://bugs.webkit.org/show_bug.cgi?id=100571 Reviewed by Gyuyoung Kim. Separate tooltip callback signal into 'tooltip,text,set' and 'tooltip,text,unset' to be consistent with WebKit2. * ewk/ewk_view.cpp: (ewk_view_tooltip_text_set): * ewk/ewk_view.h: 2012-10-26 Hyowon Kim [Texmap][EFL] Implementation of AC related functions in ChromeClientEfl and ewkView. https://bugs.webkit.org/show_bug.cgi?id=82315 Reviewed by Kenneth Rohde Christiansen. This patch implements accelerated-compositing-related functions to enter accelerated-compositing mode and sync layers in ChromeClientEfl and ewkView. * WebCoreSupport/ChromeClientEfl.cpp: (WebCore::ChromeClientEfl::attachRootGraphicsLayer): (WebCore::ChromeClientEfl::setNeedsOneShotDrawingSynchronization): (WebCore::ChromeClientEfl::scheduleCompositingLayerFlush): (WebCore::ChromeClientEfl::allowedCompositingTriggers): * ewk/ewk_view.cpp: (_Ewk_View_Private_Data): (_ewk_view_priv_new): (_ewk_view_priv_del): (_ewk_view_accelerated_compositing_cb): Sync and render layers. (_ewk_view_accelerated_compositing_context_create_if_needed): Create a new AcceleratedCompositingContext. (ewk_view_accelerated_compositing_object_create): Create a new evas_image_object act as render target surface. (ewk_view_accelerated_compositing_context_get): Return the GraphicsContext3D for accelerated compositing. (ewk_view_root_graphics_layer_set): Set the root layer to AcceleratedCompositingContext. (ewk_view_mark_for_sync): Mark the evas_image_object for accelerated compositing as dirty to make it update. * ewk/ewk_view_private.h: (WebCore): 2012-10-24 Brady Eidson Add a strategy for loader customization. https://bugs.webkit.org/show_bug.cgi?id=100278 Reviewed by Alexey Proskuryakov. * WebCoreSupport/PlatformStrategiesEfl.cpp: (PlatformStrategiesEfl::createLoaderStrategy): * WebCoreSupport/PlatformStrategiesEfl.h: (PlatformStrategiesEfl): 2012-10-23 Alexey Proskuryakov Add a strategy for shared workers https://bugs.webkit.org/show_bug.cgi?id=100165 Reviewed by Brady Eidson. * WebCoreSupport/PlatformStrategiesEfl.cpp: (PlatformStrategiesEfl::createPasteboardStrategy): (PlatformStrategiesEfl::createSharedWorkerStrategy): (PlatformStrategiesEfl::createVisitedLinkStrategy): * WebCoreSupport/PlatformStrategiesEfl.h: 2012-10-23 Hyowon Kim [Texmap][EFL] Add AcceleratedCompositingContextEfl to the build system. https://bugs.webkit.org/show_bug.cgi?id=88630 Reviewed by Gyuyoung Kim. * WebCoreSupport/AcceleratedCompositingContextEfl.cpp: Modify the #include file. 2012-10-23 Andras Becsi Remove devicePixelRatio from ViewportAttributes https://bugs.webkit.org/show_bug.cgi?id=99845 Reviewed by Adam Barth. * ewk/ewk_view.cpp: (_ewk_view_viewport_attributes_compute): Pass the device pixel ratio as a function argument. 2012-10-22 Ryuan Choi [EFL] pc files should use DATA_INSTALL_DIR for datadir https://bugs.webkit.org/show_bug.cgi?id=99961 Reviewed by Gyuyoung Kim. * ewebkit.pc.in: Used DATA_INSTALL_DIR instead of hardcoded `shared/XXX` 2012-10-22 Jocelyn Turcotte [Qt] Fix "ASSERTION FAILED: !document->inPageCache()" when loading a page https://bugs.webkit.org/show_bug.cgi?id=98514 Reviewed by Kenneth Rohde Christiansen. * ewk/ewk_frame.cpp: (ewk_frame_view_create_for_view): 2012-10-21 Seokju Kwon [EFL] Fix failure to access the inspector resources https://bugs.webkit.org/show_bug.cgi?id=99816 Reviewed by Gyuyoung Kim. access() returns -1, if path has a file protocol like "file://". And I have removed it from the first argument of access(). If not, inspectorBaseURL() or inspectorFilesPath() always returns WEB_INSPECTOR_DIR. Then all layout test related to inspector can fail after installing webkit package. * WebCoreSupport/InspectorClientEfl.cpp: (WebCore::InspectorClientEfl::inspectorFilesPath): 2012-10-20 Raphael Kubo da Costa [EFL][DRT] Implement tracking and painting repaint rectangles. https://bugs.webkit.org/show_bug.cgi?id=99838 Reviewed by Gyuyoung Kim. Add the required DumpRenderTreeSupport plumbing functions to interact with FrameView and track/obtain repaint rectangles for DumpRenderTree. * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: (DumpRenderTreeSupportEfl::setSelectTrailingWhitespaceEnabled): (DumpRenderTreeSupportEfl::setTracksRepaints): (DumpRenderTreeSupportEfl::resetTrackedRepaints): (DumpRenderTreeSupportEfl::isTrackingRepaints): (DumpRenderTreeSupportEfl::trackedRepaintRects): * WebCoreSupport/DumpRenderTreeSupportEfl.h: 2012-10-18 Kangil Han [EFL] Add unit test for ewk_frame_source_get. https://bugs.webkit.org/show_bug.cgi?id=95984 Reviewed by Gyuyoung Kim. Add three unit test cases to verify ewk_frame_source_get function. Additionally, insert code to check if uri exists in order to return error since view itself has blank html. * ewk/ewk_frame.cpp: (ewk_frame_source_get): * tests/test_ewk_frame.cpp: Added. (initBuffer): (TEST_F): 2012-10-17 Byungwoo Lee Fix build warnings : -Wunused-parameter, -Wunused-variable https://bugs.webkit.org/show_bug.cgi?id=99539 Reviewed by Kentaro Hara. Fix build warnings about unused parameter or unused variable when WTF_USE_TILED_BACKING_STORE option is enabled. * WebCoreSupport/ChromeClientEfl.cpp: (WebCore::ChromeClientEfl::attachRootGraphicsLayer): (WebCore::ChromeClientEfl::delegatedScrollRequested): 2012-10-17 Byungwoo Lee [EFL] Add background color to the checkbox theme. https://bugs.webkit.org/show_bug.cgi?id=98788 Reviewed by Gyuyoung Kim. Background color is added to the checkbox theme for identifying checkbox status easily. Checkbox theme uses images which has transparent background, and the theme itself doesn't have the background color. When the background of checkbox is black, checked/unchecked status cannot be distinguished because check mark color is black. And it is hard to identify whether the checkbox is disabled or not, because there is no background color in the checkbox theme. Instead of adding background color to the edc script, background images are added because the shape of the check box can be various. * DefaultTheme/widget/check/check.edc: * DefaultTheme/widget/check/img_check_bg_enabled.png: Added. * DefaultTheme/widget/check/img_check_bg_disabled.png: Added. 2012-10-17 Byungwoo Lee [EFL] Add background color to the radio button theme. https://bugs.webkit.org/show_bug.cgi?id=98852 Reviewed by Gyuyoung Kim. Background color is added to the radio button theme for identifying radio button status easily. Radio button theme uses images which has transparent background. When the background of radio button is black, checked/unchecked status cannot be distinguished because check mark color is black. And it is hard to identify whether the radio button is disabled or not, because there is no background color in the radio button theme. * DefaultTheme/widget/radio/img_radio_bg_disabled.png: Added. * DefaultTheme/widget/radio/img_radio_bg_enabled.png: Added. * DefaultTheme/widget/radio/radio.edc: 2012-10-15 Christophe Dumez [EFL][WK2] Implement Favicons API https://bugs.webkit.org/show_bug.cgi?id=99087 Reviewed by Kenneth Rohde Christiansen. Remove ewk_util now that its code has been moved to CairoUtilitiesEfl in WebCore. * ewk/ewk_history.cpp: (ewk_history_item_icon_object_add): * ewk/ewk_settings.cpp: (ewk_settings_icon_database_icon_object_get): 2012-10-15 Dongwoo Joshua Im [EFL] Set the basepath of the File System API. https://bugs.webkit.org/show_bug.cgi?id=98344 Reviewed by Gyuyoung Kim. Set the basepath of the File System API using the internal setter function. * ewk/ewk_main.cpp: (_ewk_init_body): Call the setter function with the default path. * ewk/ewk_settings.cpp: (ewk_settings_file_system_path_set): Set the given path as the base path of the file system. * ewk/ewk_settings_private.h: Add ewk_settings_file_system_path_set. 2012-10-14 Sam Weinig Make UserScript and UserStyleSheet value objects that are copyable https://bugs.webkit.org/show_bug.cgi?id=99275 Reviewed by Tim Horton. * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: (DumpRenderTreeSupportEfl::addUserScript): (DumpRenderTreeSupportEfl::addUserStyleSheet): Update for new PageGroup function signatures. 2012-10-11 Gyuyoung Kim [EFL] Remove "web" word in web inspector https://bugs.webkit.org/show_bug.cgi?id=98724 Reviewed by Laszlo Gombos. *web* word is redundant in web inspector. Beside r130494 and r130479 removed *web* from EFL WK2. * WebCoreSupport/InspectorClientEfl.cpp: (WebCore::notifyInspectorDestroy): (WebCore::InspectorClientEfl::openInspectorFrontend): (WebCore::InspectorFrontendClientEfl::InspectorFrontendClientEfl): (WebCore::InspectorFrontendClientEfl::~InspectorFrontendClientEfl): * ewk/ewk_view.cpp: (ewk_view_inspector_show): (ewk_view_inspector_close): (ewk_view_inspector_view_get): (ewk_view_inspector_view_set): * ewk/ewk_view.h: 2012-10-10 Jon Lee [WK2] Activate plugins when user clicks on snapshot https://bugs.webkit.org/show_bug.cgi?id=98328 Reviewed by Brady Eidson. * WebCoreSupport/FrameLoaderClientEfl.h: (WebCore::FrameLoaderClientEfl::recreatePlugin): Stub implementation of recreatePlugin(). 2012-10-10 Ryuan Choi [EFL] Use ewk_view_paint instead of ewk_view_paint_contents in ewk_view_single. https://bugs.webkit.org/show_bug.cgi?id=98716 Reviewed by Kenneth Rohde Christiansen. ewk_view_paint is the wrapper of ScrollView::paint and ewk_view_paint_contents is the wrapper of FrameView::paintContents. Because FrameView::paintContents just draw contents, ewk_view_single should use ewk_view_paint instead of ewk_view_paint_contents like other ports. * ewk/ewk_view.cpp: (ewk_view_paint): Moved updateLayoutAndStyleIfNeededRecursive to share ewk_view_paint. * ewk/ewk_view_single.cpp: (_ewk_view_single_smart_repaints_process): Modified to call ewk_view_paint. 2012-10-10 Jaehun Lim [EFL] Use Evas function instead of memcpy https://bugs.webkit.org/show_bug.cgi?id=98483 Reviewed by Gyuyoung Kim. Evas supports evas_object_image_data_copy_set() to copy raw image data. Change memcpy() with evas_object_image_data_copy_set(). Spell out variable names and refactor variable declaration statements. No new tests, no functionality was changed. * ewk/ewk_util.cpp: (ewk_util_image_from_cairo_surface_add): 2012-10-07 Caio Marcelo de Oliveira Filho Rename first/second to key/value in HashMap iterators https://bugs.webkit.org/show_bug.cgi?id=82784 Reviewed by Eric Seidel. * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: (DumpRenderTreeSupportEfl::evaluateScriptInIsolatedWorld): * WebCoreSupport/PlatformStrategiesEfl.cpp: (PlatformStrategiesEfl::getPluginInfo): * ewk/ewk_intent.cpp: (ewk_intent_extra_get): 2012-10-05 Christophe Dumez [EFL] Fix window resizing / moving in WK1 and WKTR https://bugs.webkit.org/show_bug.cgi?id=98486 Reviewed by Gyuyoung Kim. Fix ChromeClientEfl::windowRect() code to use ecore_evas_request_geometry_get() instead of evas_object_geometry_get() and therefore avoid returning incorrect values when the engine has not processed a call to ecore_evas_move_resize() yet. This fixes a couple of layout tests. The code was also refactored a bit for consistency with the WebKit2 EFL implementation. * WebCoreSupport/ChromeClientEfl.cpp: (WebCore::ChromeClientEfl::windowRect): (WebCore::ChromeClientEfl::setWindowRect): 2012-10-04 Simon Fraser Final part of "sync" to "flush" renaming https://bugs.webkit.org/show_bug.cgi?id=98430 Reviewed by Tim Horton. Change method names on GraphicsLayer and GraphicsLayerClient that refer to "sync" to use the term "flush" instead, to be consistent with the rest of the code. * WebCoreSupport/AcceleratedCompositingContextEfl.cpp: (WebCore::AcceleratedCompositingContext::syncLayersNow): (WebCore::AcceleratedCompositingContext::attachRootGraphicsLayer): 2012-10-04 Simon Fraser Standardize on "flush" terminology for compositing layer flushing/syncing https://bugs.webkit.org/show_bug.cgi?id=98321 Reviewed by Simon Fraser. Rename compositing-related methods that refer to "syncing" to instead refer to "flushing". * WebCoreSupport/ChromeClientEfl.cpp: (WebCore::ChromeClientEfl::scheduleCompositingLayerFlush): * WebCoreSupport/ChromeClientEfl.h: (ChromeClientEfl): 2012-10-04 Christophe Dumez [EFL] webintents/web-intents-failure.html is failing https://bugs.webkit.org/show_bug.cgi?id=98349 Reviewed by Gyuyoung Kim. After r130344, OpaqueJSString().string() returns an empty string instead of a null one. Therefore, we need to update the check in DumpRenderTreeSupportEfl::sendWebIntentResponse(). * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: (DumpRenderTreeSupportEfl::sendWebIntentResponse): 2012-10-04 Christophe Dumez Regression(r130363): Broke unit tests https://bugs.webkit.org/show_bug.cgi?id=98341 Reviewed by Gyuyoung Kim. Fix WebKitEFL unit tests to use X11 as well. * tests/UnitTestUtils/EWKTestBase.cpp: (EWKUnitTests::EWKTestBase::SetUp): * tests/UnitTestUtils/EWKTestEnvironment.h: (EWKTestEnvironment): * tests/UnitTestUtils/EWKTestView.cpp: (EWKUnitTests::EWKTestView::init): * tests/UnitTestUtils/EWKTestView.h: (EWKTestView): 2012-10-03 Ryuan Choi [EFL] Default.edj should be generated although ENABLE_WEBKIT disabled. https://bugs.webkit.org/show_bug.cgi?id=97753 Reviewed by Laszlo Gombos. default.edj is used in both webkit/efl and webkit2/efl. However, it has been generated only when ENABLE_WEBKIT is enabled. This patch separates the script which generates default.edj from source/webkit/platformefl.cmake. * DefaultTheme/CMakeLists.txt: Extracted from Source/WebKit/PlatformEfl.cmake and sanitized. 2012-10-03 Christophe Dumez [EFL] Enable use of X11 in DumpRenderTree / WebKitTestRunner https://bugs.webkit.org/show_bug.cgi?id=98231 Reviewed by Gyuyoung Kim. Initialize ecore_x library in ewk_main since it is used by WebKitEFL. * ewk/ewk_main.cpp: (ewk_init): (ewk_shutdown): 2012-10-03 Kangil Han Fix unused parameter compile warnings. https://bugs.webkit.org/show_bug.cgi?id=98243 Reviewed by Alexey Proskuryakov. Fixed unused parameter compile warning by removing page parameter name and UNUSED_PARAM usage. * WebCoreSupport/PlatformStrategiesEfl.cpp: (PlatformStrategiesEfl::getPluginInfo): 2012-10-03 Jinwoo Song [EFL] Change the reversed expected and actual parameter in WebKit1 unit tests https://bugs.webkit.org/show_bug.cgi?id=98276 Reviewed by Laszlo Gombos. Expected value should be at first and actual value be followed in ASSERT_STREQ(). * tests/test_ewk_view.cpp: (TEST_F): 2012-10-02 Carlos Garcia Campos [GTK] Add API to get the web view that initiated a custom URI request to WebKit2 GTK+ https://bugs.webkit.org/show_bug.cgi?id=97895 Reviewed by Martin Robinson. * WebCoreSupport/FrameNetworkingContextEfl.cpp: (WebCore::FrameNetworkingContextEfl::initiatingPageID): Stub implementation. * WebCoreSupport/FrameNetworkingContextEfl.h: (FrameNetworkingContextEfl): Added. 2012-10-02 Krzysztof Czech [EFL][UT] Refactoring an implementation of testing framework for wk1. https://bugs.webkit.org/show_bug.cgi?id=94925 Reviewed by Gyuyoung Kim. The reason of changing, was to adjust current implementation to use gtest features related to cleaning (SetUp, TearDown), cleaning code in terms of useless methods and lastly to make framework easier to use. * tests/UnitTestUtils/EWKTestBase.cpp: (EWKUnitTests::EWKTestBase::EWKTestBase): (EWKUnitTests::EWKTestBase::webView): Returns current webview. (EWKUnitTests::EWKTestBase::SetUp): Before test is started, SetUp is called. Used this to initialize test view. (EWKUnitTests::EWKTestBase::onLoadFinished): (EWKUnitTests::EWKTestBase::waitUntilLoadFinished): It waits till test page will be properly loaded. (EWKUnitTests::EWKTestBase::loadUrl): Starts loading test page. * tests/UnitTestUtils/EWKTestBase.h: * tests/UnitTestUtils/EWKTestEnvironment.cpp: Used to have global SetUp and TearDown. Global SetUp starts initialization of webkit wherease global TearDown shuts it down. Generally we would like to have only one initialization of webkit while tests are executed. (EWKUnitTests): (EWKUnitTests::EWKTestEnvironment::EWKTestEnvironment): (EWKUnitTests::EWKTestEnvironment::SetUp): Starts initialization of webkit. (EWKUnitTests::EWKTestEnvironment::TearDown): Shuts down of webkit. * tests/UnitTestUtils/EWKTestEnvironment.h: (EWKUnitTests): (EWKTestEnvironment): (EWKUnitTests::EWKTestEnvironment::useX11Window): * tests/UnitTestUtils/EWKTestView.cpp: (EWKUnitTests::EWKTestView::EWKTestView): (EWKUnitTests::EWKTestView::init): Starts initialization of test view. * tests/UnitTestUtils/EWKTestView.h: (EWKTestView): * tests/test_ewk_view.cpp: adjusted current unit tests to new implementation. (TEST_F): * tests/test_runner.cpp: entry point of all tests. (parseCustomArguments): (main): 2012-10-01 Brady Eidson Remove the Safari 2 -> Safari 3 icon database import code. https://bugs.webkit.org/show_bug.cgi?id=98113 Reviewed by Maciej Stachowiak. Nuke the performImport() IconDatabaseClient method. * WebCoreSupport/IconDatabaseClientEfl.cpp: * WebCoreSupport/IconDatabaseClientEfl.h: 2012-09-28 Mikhail Pozdnyakov Code inside FrameLoaderClient::canShowMIMEType() implementations can be shared among different WK ports https://bugs.webkit.org/show_bug.cgi?id=97547 Reviewed by Adam Barth. Newly added WebCore::MIMETypeRegistry::canShowMIMEType() function is used inside WebCore::FrameLoaderClientEfl::canShowMIMEType(). * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::canShowMIMEType): 2012-09-28 Mikhail Pozdnyakov [EFL][DRT] EFL DRT should disable visited links tracking by default https://bugs.webkit.org/show_bug.cgi?id=97881 Reviewed by Kenneth Rohde Christiansen. Added aux DumpRenderTreeSupportEfl::setShouldTrackVisitedLinks() function. * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: (DumpRenderTreeSupportEfl::setShouldTrackVisitedLinks): * WebCoreSupport/DumpRenderTreeSupportEfl.h: 2012-09-27 Christophe Dumez [EFL] No way to exit video fullscreen mode once entered https://bugs.webkit.org/show_bug.cgi?id=97631 Reviewed by Kenneth Rohde Christiansen. Fix default theme so that we have 2 fullscreen buttons, one to enter fullscreen mode and another to exit it. New icon by Alexander Shalamov. * DefaultTheme/widget/mediacontrol/fullscreenbutton/enterfullscreenbutton.png: Added. * DefaultTheme/widget/mediacontrol/fullscreenbutton/exitfullscreenbutton.png: Added. * DefaultTheme/widget/mediacontrol/fullscreenbutton/fullscreen_button.edc: * DefaultTheme/widget/mediacontrol/fullscreenbutton/fullscreenbutton.png: Removed. 2012-09-26 Jinwoo Song [EFL] Fix the typo in the ewk_view_fullscreen_exit() https://bugs.webkit.org/show_bug.cgi?id=97635 Reviewed by Gyuyoung Kim. Fix the silly typo in the ewk_view_fullscreen_exit() API. * ewk/ewk_view.cpp: (ewk_view_fullscreen_exit): 2012-09-25 Jinwoo Song [EFL] Add fullscreen set/get APIs and callbacks https://bugs.webkit.org/show_bug.cgi?id=97421 Reviewed by Gyuyoung Kim. Add setting APIs for JavaScript Fullscreen API and also add two callbacks to ewk_view API, so that UI could customise behavior when fullscreen mode is requested. * WebCoreSupport/ChromeClientEfl.cpp: (WebCore::ChromeClientEfl::enterFullScreenForElement): (WebCore::ChromeClientEfl::exitFullScreenForElement): * ewk/ewk_view.cpp: (_Ewk_View_Private_Data): (_ewk_view_priv_new): (ewk_view_setting_enable_fullscreen_get): (ewk_view_setting_enable_fullscreen_set): (ewk_view_fullscreen_enter): (ewk_view_fullscreen_exit): * ewk/ewk_view.h: * ewk/ewk_view_private.h: * tests/test_ewk_view.cpp: (ewkViewEnableFullscreenCb): (TEST): 2012-09-25 Beth Dakin https://bugs.webkit.org/show_bug.cgi?id=95397 Need to merge didFirstVisuallyNonEmptyLayout and didNewFirstVisuallyNonEmptyLayout -and corresponding- Reviewed by Sam Weinig. Remove dispatchDidFirstLayout, dispatchDidFirstVisuallyNonEmptyLayout, and dispatchDidNewFirstVisuallyNonEmptyLayout. Their functionality is now replaced by dispatchDidLayout(LayoutMilestoneOptions) * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::dispatchDidLayout): * WebCoreSupport/FrameLoaderClientEfl.h: (FrameLoaderClientEfl): It is now necessary to opt into getting any of the "layout milestone" notifications. * ewk/ewk_view.cpp: (_ewk_view_priv_new): 2012-09-24 Dominik Röttsches [EFL][DRT] Enable Regions support https://bugs.webkit.org/show_bug.cgi?id=83897 Reviewed by Kenneth Rohde Christiansen. Activating CSS regions by default for EWK views. * ewk/ewk_view.cpp: Switch CSS regions on by default. (_ewk_view_priv_new): 2012-09-23 Byungwoo Lee Fix build warnings : -Wunused-parameter, -Wparentheses, -Wuninitialized. https://bugs.webkit.org/show_bug.cgi?id=97306 Reviewed by Benjamin Poulain. Fix build warning about -Wunused-parameter on FrameLoaderClientEfl.cpp by using ASSERT_UNUSED() macro. Fix build warning aboug -Wparentheses on ewk_frame.cpp by adding additional brace for the assign statement. * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::dispatchDidChangeIcons): * ewk/ewk_frame.cpp: (ewk_frame_resources_location_get): 2012-09-21 Christophe Dumez [EFL] EventSender should mimic CTRL+o emacs shortcut https://bugs.webkit.org/show_bug.cgi?id=97224 Reviewed by Kenneth Rohde Christiansen. Fix bad use of temporary object causing wrong editing callback dumping. * WebCoreSupport/EditorClientEfl.cpp: (WebCore::EditorClientEfl::shouldInsertText): 2012-09-20 Jinwoo Song [EFL] Change the log macro names to be more consistent with EINA LOG https://bugs.webkit.org/show_bug.cgi?id=97158 Reviewed by Kenneth Rohde Christiansen. Some log macro names in WebKit1 are inconsistent with EINA LOG names such as WRN/INF not WARN/INFO. #define WRN(...) EINA_LOG_DOM_WARN(_ewk_log_dom, __VA_ARGS__) #define INF(...) EINA_LOG_DOM_INFO(_ewk_log_dom, __VA_ARGS__) This patch changes the such names to be consistent with EINA LOG's names. * ewk/ewk_frame.cpp: (_ewk_frame_smart_resize): (ewk_frame_source_get): (ewk_frame_uri_changed): * ewk/ewk_main.cpp: (_ewk_init_body): * ewk/ewk_private.h: * ewk/ewk_tiled_backing_store.cpp: (_ewk_tiled_backing_store_render): (_ewk_tiled_backing_store_recalc_renderers): (_ewk_tiled_backing_store_smart_calculate_offset_force): (_ewk_tiled_backing_store_smart_calculate_offset): (ewk_tiled_backing_store_pre_render_relative_radius): * ewk/ewk_tiled_matrix.cpp: (ewk_tile_matrix_free): (ewk_tile_matrix_tile_exact_get): (_ewk_tile_matrix_slicer_setup): * ewk/ewk_view.cpp: (_ewk_view_smart_add_console_message): (_ewk_view_smart_run_javascript_alert): (_ewk_view_smart_run_javascript_confirm): (_ewk_view_smart_should_interrupt_javascript): (_ewk_view_smart_run_javascript_prompt): (_ewk_view_smart_pre_render_region): (_ewk_view_smart_pre_render_relative_radius): (_ewk_view_smart_pre_render_start): (_ewk_view_smart_pre_render_cancel): (_ewk_view_smart_disable_render): (_ewk_view_smart_enable_render): (ewk_view_bg_color_set): (ewk_view_zoom_set): (ewk_view_zoom_weak_set): (ewk_view_zoom_animated_set): (ewk_view_statusbar_text_set): (ewk_view_exceeded_application_cache_quota): (ewk_view_exceeded_database_quota): (ewk_view_scroll): (ewk_view_popup_new): (ewk_view_popup_destroy): (ewk_view_popup_selected_set): (ewk_view_color_chooser_new): (ewk_view_color_chooser_destroy): (ewk_view_color_chooser_color_set): (ewk_view_color_chooser_changed): (ewk_view_zoom_range_set): * ewk/ewk_view_private.h: 2012-09-19 Jinwoo Song Fix unused parameter compile warnings in WebKit/WebKit2 https://bugs.webkit.org/show_bug.cgi?id=96742 Reviewed by Gyuyoung Kim. Fix unused parameter compile warning messages(-Wunused-parameter) in WebKit during EFL build. WebCore's warning messages were fixed in r128570. * WebCoreSupport/ChromeClientEfl.cpp: (WebCore::ChromeClientEfl::createWindow): (WebCore::ChromeClientEfl::mouseDidMoveOverElement): (WebCore::ChromeClientEfl::print): (WebCore::ChromeClientEfl::reachedMaxAppCacheSize): (WebCore::ChromeClientEfl::invalidateContents): (WebCore::ChromeClientEfl::invalidateRootView): (WebCore::ChromeClientEfl::invalidateContentsAndRootView): * WebCoreSupport/EditorClientEfl.cpp: (WebCore::EditorClientEfl::handleInputMethodKeydown): (WebCore::EditorClientEfl::getGuessesForWord): * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::dispatchDidReceiveAuthenticationChallenge): (WebCore::FrameLoaderClientEfl::dispatchDidCancelAuthenticationChallenge): (WebCore::FrameLoaderClientEfl::dispatchDecidePolicyForNewWindowAction): (WebCore::FrameLoaderClientEfl::createFrame): (WebCore::FrameLoaderClientEfl::createJavaAppletWidget): (WebCore::FrameLoaderClientEfl::shouldStopLoadingForHistoryItem): (WebCore::FrameLoaderClientEfl::canShowMIMETypeAsHTML): (WebCore::FrameLoaderClientEfl::setTitle): (WebCore::FrameLoaderClientEfl::dispatchDidReceiveContentLength): (WebCore::FrameLoaderClientEfl::dispatchDidLoadResourceFromMemoryCache): (WebCore::FrameLoaderClientEfl::setMainDocumentError): * WebCoreSupport/FullscreenVideoControllerEfl.cpp: (FullscreenVideoController::showHud): (FullscreenVideoController::setVolume): (FullscreenVideoController::setCurrentTime): * WebCoreSupport/InspectorClientEfl.cpp: (WebCore::notifyWebInspectorDestroy): (WebCore::InspectorFrontendSettingsEfl::getProperty): (WebCore::InspectorFrontendSettingsEfl::setProperty): * WebCoreSupport/PlatformStrategiesEfl.cpp: (PlatformStrategiesEfl::getPluginInfo): * ewk/ewk_auth_soup.cpp: (ewk_auth_soup_dialog_class_init): (ewk_auth_soup_dialog_init): (ewk_auth_soup_dialog_session_feature_init): (session_authenticate): * ewk/ewk_file_chooser.cpp: (ewk_file_chooser_allows_directory_upload_get): * ewk/ewk_frame.cpp: (ewk_frame_feed_focus_out): (ewk_frame_view_state_save): (ewk_frame_plugin_create): * ewk/ewk_js.cpp: (ewk_js_object_new): (ewk_js_object_free): (ewk_js_object_view_get): (ewk_js_object_properties_get): (ewk_js_object_name_get): (ewk_js_object_invoke): (ewk_js_object_type_get): (ewk_js_object_type_set): (ewk_js_variant_free): (ewk_js_variant_array_free): * ewk/ewk_tiled_model.cpp: (tile_account): (_ewk_tile_account_allocated): (_ewk_tile_account_freed): * ewk/ewk_view.cpp: (_ewk_view_smart_add_console_message): (_ewk_view_smart_run_javascript_alert): (_ewk_view_smart_run_javascript_confirm): (_ewk_view_smart_should_interrupt_javascript): (_ewk_view_smart_run_javascript_prompt): (_ewk_view_smart_move): (_ewk_view_smart_contents_resize): (_ewk_view_editor_command_string_get): (ewk_view_popup_new): (ewk_view_js_object_add): (ewk_view_accelerated_compositing_object_create): (ewk_view_accelerated_compositing_context_get): (ewk_view_setting_web_audio_get): (ewk_view_setting_web_audio_set): * ewk/ewk_view_single.cpp: (_ewk_view_single_smart_bg_color_set): * ewk/ewk_view_tiled.cpp: (_ewk_view_tiled_updates_process_pre): (_ewk_view_tiled_contents_size_changed_cb): (_ewk_view_tiled_smart_bg_color_set): 2012-09-19 Sheriff Bot Unreviewed, rolling out r128995. http://trac.webkit.org/changeset/128995 https://bugs.webkit.org/show_bug.cgi?id=97114 Causes the api tests to segfault. (Requested by rakuco on #webkit). * tests/UnitTestUtils/EWKTestBase.cpp: (EWKUnitTests::EWKTestBase::init): (EWKUnitTests::EWKTestBase::shutdownAll): (EWKUnitTests::EWKTestBase::startTest): (EWKUnitTests::EWKTestBase::endTest): (EWKUnitTests::EWKTestBase::createTest): (EWKUnitTests): (EWKUnitTests::EWKTestBase::runTest): * tests/UnitTestUtils/EWKTestBase.h: (EWKUnitTests): (EWKTestBase): * tests/UnitTestUtils/EWKTestView.cpp: (EWKUnitTests::EWKTestEcoreEvas::EWKTestEcoreEvas): (EWKUnitTests::EWKTestEcoreEvas::evas): (EWKUnitTests): (EWKUnitTests::EWKTestEcoreEvas::show): (EWKUnitTests::EWKTestView::EWKTestView): (EWKUnitTests::EWKTestView::init): (EWKUnitTests::EWKTestView::show): (EWKUnitTests::EWKTestView::mainFrame): (EWKUnitTests::EWKTestView::evas): (EWKUnitTests::EWKTestView::bindEvents): * tests/UnitTestUtils/EWKTestView.h: (EWKTestEcoreEvas): (EWKUnitTests): (EWKTestView): * tests/test_ewk_view.cpp: (ewkViewEditableGetCb): (TEST): (ewkViewUriGetCb): * tests/test_runner.cpp: (main): 2012-09-19 Krzysztof Czech [EFL][UT] Refactoring an implementation of testing framework for wk1. https://bugs.webkit.org/show_bug.cgi?id=94925 Reviewed by Gyuyoung Kim. The reason of changing, was to adjust current implementation to use gtest features related to cleaning (SetUp, TearDown), cleaning code in terms of useless methods and lastly to make framework easier to use. * tests/UnitTestUtils/EWKTestBase.cpp: (EWKUnitTests::EWKTestBase::EWKTestBase): Added to initialize test view. (EWKUnitTests::EWKTestBase::webView): Returns current webview. (EWKUnitTests::EWKTestBase::SetUp): Before test is started, SetUp is called. Used this to initialize efl and test view. (EWKUnitTests::EWKTestBase::TearDown): TearDown is called as soon as test is completed. Used this to properly shutdown efl and clean test view. (EWKUnitTests::EWKTestBase::onLoadFinished): (EWKUnitTests::EWKTestBase::waitUntilLoadFinished): It waits till test page will be properly loaded. (EWKUnitTests::EWKTestBase::loadUrl): Starts loading test page. * tests/UnitTestUtils/EWKTestBase.h: * tests/UnitTestUtils/EWKTestView.cpp: (EWKUnitTests::EWKTestView::EWKTestView): (EWKUnitTests::EWKTestView::init): Initialize test view. * tests/UnitTestUtils/EWKTestView.h: (EWKTestView): * tests/test_ewk_view.cpp: (TEST_F): * tests/test_runner.cpp: (main): 2012-09-19 Christophe Dumez [EFL] EFL's DRT does not support overriding 'WebKitCSSRegionsEnabled' preference https://bugs.webkit.org/show_bug.cgi?id=97100 Reviewed by Gyuyoung Kim. Add DumpRenderTree support method to set the 'WebKitCSSRegionsEnabled' preference. * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: (DumpRenderTreeSupportEfl::setCSSRegionsEnabled): * WebCoreSupport/DumpRenderTreeSupportEfl.h: 2012-09-13 Kenneth Rohde Christiansen Evas_Object* is a ref'ed structure, so tread it as such https://bugs.webkit.org/show_bug.cgi?id=96659 Reviewed by Adam Barth. Replace OwnPtr with RefPtr. * tests/UnitTestUtils/EWKTestView.cpp: (EWKUnitTests::EWKTestView::init): * tests/UnitTestUtils/EWKTestView.h: (EWKTestView): 2012-09-14 Gyuyoung Kim Unreviewed, rolling out r128507. http://trac.webkit.org/changeset/128507 https://bugs.webkit.org/show_bug.cgi?id=96659 Revert. r128507 makes too many crashes in EFL layout test bots. * tests/UnitTestUtils/EWKTestView.cpp: (EWKUnitTests::EWKTestView::init): * tests/UnitTestUtils/EWKTestView.h: (EWKTestView): 2012-09-13 Christophe Dumez [EFL] Remove a lot of C'ism from Ewk_Tiled_Matrix https://bugs.webkit.org/show_bug.cgi?id=96638 Reviewed by Gyuyoung Kim. Remove a lot of C'ism from Ewk_Tiled_Matrix and fix the code so that it follows coding style. * ewk/ewk_tiled_matrix.cpp: (_Ewk_Tile_Matrix): (ewk_tile_matrix_entry_get): (_ewk_tile_matrix_cell_free): (_ewk_tile_matrix_tile_free): (ewk_tile_matrix_zoom_level_set): (ewk_tile_matrix_entry_new): (ewk_tile_matrix_invalidate): (ewk_tile_matrix_free): (ewk_tile_matrix_resize): (ewk_tile_matrix_size_get): (ewk_tile_matrix_unused_cache_get): (ewk_tile_matrix_tile_exact_get): (ewk_tile_matrix_tile_exact_exists): (ewk_tile_matrix_tile_new): (ewk_tile_matrix_tile_put): (ewk_tile_matrix_tile_updates_clear): (_ewk_tile_matrix_slicer_setup): (ewk_tile_matrix_update): (ewk_tile_matrix_updates_process): (ewk_tile_matrix_updates_clear): (ewk_tile_matrix_dbg): (ewk_tile_matrix_freeze): (ewk_tile_matrix_thaw): * ewk/ewk_tiled_matrix_private.h: 2012-09-13 Kenneth Rohde Christiansen Evas_Object* is a ref'ed structure, so tread it as such https://bugs.webkit.org/show_bug.cgi?id=96659 Reviewed by Adam Barth. Replace OwnPtr with RefPtr. * tests/UnitTestUtils/EWKTestView.cpp: (EWKUnitTests::EWKTestView::init): * tests/UnitTestUtils/EWKTestView.h: (EWKTestView): 2012-09-13 Christophe Dumez [EFL] Remove a lot of C'ism from Ewk_Tiled_Backing_Store https://bugs.webkit.org/show_bug.cgi?id=96631 Reviewed by Kenneth Rohde Christiansen. Remove a lot of C'ism from Ewk_Tiled_Backing_Store and fix coding style. * ewk/ewk_tiled_backing_store.cpp: (_Ewk_Tiled_Backing_Store_Item): (_Ewk_Tiled_Backing_Store_Data): (_ewk_tiled_backing_store_updates_process): (_ewk_tiled_backing_store_flush): (_ewk_tiled_backing_store_tile_new): (_ewk_tiled_backing_store_item_resize): (_ewk_tiled_backing_store_tile_associate): (_ewk_tiled_backing_store_tile_dissociate): (_ewk_tiled_backing_store_tile_dissociate_all): (_ewk_tiled_backing_store_pre_render_request_add): (_ewk_tiled_backing_store_pre_render_request_del): (_ewk_tiled_backing_store_pre_render_request_first): (_ewk_tiled_backing_store_pre_render_request_clear): (_ewk_tiled_backing_store_pre_render_request_process_single): (_ewk_tiled_backing_store_item_process_idler_start): (_ewk_tiled_backing_store_disable_render): (_ewk_tiled_backing_store_enable_render): (_ewk_tiled_backing_store_item_fill): (_ewk_tiled_backing_store_item_add): (_ewk_tiled_backing_store_item_smooth_scale_set): (_ewk_tiled_backing_store_changed): (_ewk_tiled_backing_store_view_cols_end_del): (_ewk_tiled_backing_store_view_cols_end_add): (_ewk_tiled_backing_store_view_row_del): (_ewk_tiled_backing_store_view_rows_range_del): (_ewk_tiled_backing_store_view_rows_all_del): (_ewk_tiled_backing_store_smart_member_del): (_ewk_tiled_backing_store_smart_member_add): (_ewk_tiled_backing_store_mem_dbg): (_ewk_tiled_backing_store_sig_usr): (_ewk_tiled_backing_store_smart_add): (_ewk_tiled_backing_store_smart_del): (_ewk_tiled_backing_store_smart_show): (_ewk_tiled_backing_store_smart_hide): (_ewk_tiled_backing_store_recalc_renderers): (_ewk_tiled_backing_store_smart_calculate_size): (_ewk_tiled_backing_store_view_dbg): (_ewk_tiled_backing_store_view_wrap_up): (_ewk_tiled_backing_store_view_wrap_down): (_ewk_tiled_backing_store_view_wrap_left): (_ewk_tiled_backing_store_view_wrap_right): (_ewk_tiled_backing_store_view_refill): (_ewk_tiled_backing_store_view_pos_apply): (_ewk_tiled_backing_store_smart_calculate_offset_force): (_ewk_tiled_backing_store_smart_calculate_offset): (_ewk_tiled_backing_store_smart_calculate_pos): (_ewk_tiled_backing_store_fill_renderers): (_ewk_tiled_backing_store_smart_calculate): (ewk_tiled_backing_store_render_cb_set): (ewk_tiled_backing_store_tile_unused_cache_get): (_ewk_tiled_backing_store_scroll_full_offset_set_internal): (ewk_tiled_backing_store_scroll_full_offset_set): (ewk_tiled_backing_store_scroll_full_offset_add): (_ewk_tiled_backing_store_zoom_set_internal): (ewk_tiled_backing_store_zoom_set): (ewk_tiled_backing_store_zoom_weak_set): (ewk_tiled_backing_store_fix_offsets): (ewk_tiled_backing_store_zoom_weak_smooth_scale_set): (ewk_tiled_backing_store_alpha_set): (ewk_tiled_backing_store_update): (ewk_tiled_backing_store_updates_process_pre_set): (ewk_tiled_backing_store_updates_process_post_set): (ewk_tiled_backing_store_disabled_update_set): (ewk_tiled_backing_store_flush): (ewk_tiled_backing_store_pre_render_tile_add): (ewk_tiled_backing_store_pre_render_spiral_queue): (ewk_tiled_backing_store_pre_render_region): (ewk_tiled_backing_store_pre_render_relative_radius): (ewk_tiled_backing_store_pre_render_cancel): (ewk_tiled_backing_store_disable_render): (ewk_tiled_backing_store_enable_render): * ewk/ewk_tiled_backing_store_private.h: (_Ewk_Tile_Stats): (_Ewk_Tile): * ewk/ewk_view_tiled.cpp: (_ewk_view_tiled_render_cb): (_ewk_view_tiled_smart_backing_store_add): 2012-09-13 Kenneth Rohde Christiansen [EFL][DRT] Implement LayoutTestController::layerTreeAsText https://bugs.webkit.org/show_bug.cgi?id=82294 Reviewed by Gyuyoung Kim. Add a support method for getting layerTreeAsText. * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: (DumpRenderTreeSupportEfl::layerTreeAsText): * WebCoreSupport/DumpRenderTreeSupportEfl.h: 2012-09-12 Sheriff Bot Unreviewed, rolling out r127876. http://trac.webkit.org/changeset/127876 https://bugs.webkit.org/show_bug.cgi?id=96600 mouse click doesn't work for spin button if spin button in iframe (Requested by yosin on #webkit). * ewk/ewk_frame.cpp: (ewk_frame_hit_test_new): 2012-09-12 KyungTae Kim [EFL] Support download attribute feature https://bugs.webkit.org/show_bug.cgi?id=96462 Reviewed by Gyuyoung Kim. Add suggested_name field on _Ewk_Download and set it on startDownload to get suggested name passed as a download attribute. * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::download): (WebCore::FrameLoaderClientEfl::startDownload): * ewk/ewk_view.h: 2012-09-10 Christophe Dumez [EFL] Create a toggle button for closed captions https://bugs.webkit.org/show_bug.cgi?id=96259 Reviewed by Kenneth Rohde Christiansen. Add closed caption toggling button to default WebKitEFL theme. * DefaultTheme/default.edc: * DefaultTheme/widget/mediacontrol/togglecaptionsbutton/closedcaption.png: Added. * DefaultTheme/widget/mediacontrol/togglecaptionsbutton/closedcaption_disabled.png: Added. * DefaultTheme/widget/mediacontrol/togglecaptionsbutton/toggle_captions_button.edc: Added. 2012-09-09 Emil A Eklund Rename Node::getRect/getPixelSnappedRect and remove ContainerNode::getRect https://bugs.webkit.org/show_bug.cgi?id=81413 Reviewed by David Hyatt. Update ewk_frame to call pixelSnappedBoundingBox. * ewk/ewk_frame.cpp: (ewk_frame_focused_element_geometry_get): 2012-09-07 Benjamin Poulain Rename the ustring() accessor to string() https://bugs.webkit.org/show_bug.cgi?id=95919 Reviewed by Geoffrey Garen. * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: (DumpRenderTreeSupportEfl::sendWebIntentResponse): (DumpRenderTreeSupportEfl::deliverWebIntent): Aslo update the code from the UString->String conversion through StringImpl. 2012-09-07 Christophe Dumez [EFL] Use same default minimum logical font size in DRT and WTR https://bugs.webkit.org/show_bug.cgi?id=96116 Reviewed by Martin Robinson. Add DRT helper function to set the minimum logical font size setting. * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: (DumpRenderTreeSupportEfl::setMinimumLogicalFontSize): * WebCoreSupport/DumpRenderTreeSupportEfl.h: 2012-09-07 Allan Sandfeld Jensen Simplify hitTestResultAtPoint and nodesFromRect APIs https://bugs.webkit.org/show_bug.cgi?id=95720 Reviewed by Antonio Gomes. Update calls to new API. * ewk/ewk_frame.cpp: (ewk_frame_hit_test_new): 2012-09-07 Gyuyoung Kim Unreviewed, rolling out r127839. http://trac.webkit.org/changeset/127839 https://bugs.webkit.org/show_bug.cgi?id=90603 This patch was landed with wrong implementation and policy. * WebCoreSupport/NotificationPresenterClientEfl.cpp: (WebCore::NotificationPresenterClientEfl::NotificationPresenterClientEfl): (WebCore::NotificationPresenterClientEfl::requestPermission): (WebCore::NotificationPresenterClientEfl::checkPermission): (WebCore::NotificationPresenterClientEfl::cancelRequestsForPermission): * WebCoreSupport/NotificationPresenterClientEfl.h: (NotificationPresenterClientEfl): * ewk/ewk_view.cpp: (_ewk_view_priv_new): * ewk/ewk_view.h: * ewk/ewk_view_private.h: 2012-09-07 Kihong Kwon [EFL] Support the permission function of the Web Notification. https://bugs.webkit.org/show_bug.cgi?id=90603 Reviewed by Gyuyoung Kim. Implement permission related functions of Web Notifications. checkPermission for Notification.permissionLevel(). requestPermission for Notification.requestPermission(). In addition, if the application(like a browser) has permitted domains already, it can be cached using ewk_view_notification_permissions_store. * WebCoreSupport/NotificationPresenterClientEfl.cpp: (WebCore::NotificationPresenterClientEfl::NotificationPresenterClientEfl): (WebCore::NotificationPresenterClientEfl::requestPermission): (WebCore::NotificationPresenterClientEfl::checkPermission): (WebCore::NotificationPresenterClientEfl::addToPermissionCache): (WebCore): (WebCore::NotificationPresenterClientEfl::setPermission): * WebCoreSupport/NotificationPresenterClientEfl.h: (WebCore): (NotificationPresenterClientEfl): (WebCore::NotificationPresenterClientEfl::requestPermission): (WebCore::NotificationPresenterClientEfl::cancelRequestsForPermission): * ewk/ewk_view.cpp: (_ewk_view_priv_new): (ewk_view_notification_permission_store): (ewk_view_notification_permissions_set): (ewk_view_notification_permission_request): * ewk/ewk_view.h: * ewk/ewk_view_private.h: 2012-09-05 Sam Weinig Part 2 of removing PlatformString.h, remove PlatformString.h https://bugs.webkit.org/show_bug.cgi?id=95931 Reviewed by Adam Barth. Remove PlatformString.h * WebCoreSupport/ChromeClientEfl.cpp: * WebCoreSupport/InspectorClientEfl.cpp: 2012-09-06 Kangil Han [EFL] Remove unnecessary logic in ewk_frame_source_get. https://bugs.webkit.org/show_bug.cgi?id=95828 Reviewed by Kenneth Rohde Christiansen. Removed unnecessary logic that checks if tag exists in document. WebKit automatically fill out tags if they are not existed. * ewk/ewk_frame.cpp: (ewk_frame_source_get): 2012-09-05 Kangil Han [EFL] Remove '+=' usage in String https://bugs.webkit.org/show_bug.cgi?id=95808 Reviewed by Benjamin Poulain. Replaced use of String operator '+=' with StringBuilder.append*() in order to adopt efficient String concatenation. * ewk/ewk_frame.cpp: (ewk_frame_source_get): Removed unnecessary strlen usage. 2012-09-05 Kaustubh Atrawalkar [DRT] LTC:: Move printing related APIs from LayoutTestController to Internals https://bugs.webkit.org/show_bug.cgi?id=92735 Reviewed by Hajime Morita. Move numberOfPages, pageProperty & pageSizeAndMarginsInPixels in Internals and remove duplicated code from DumprenderTree & WebkitTestRunner. * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: * WebCoreSupport/DumpRenderTreeSupportEfl.h: 2012-09-04 Michał Pakuła vel Rutka [EFL] Context menu restore. https://bugs.webkit.org/show_bug.cgi?id=74179 Reviewed by Gyuyoung Kim. Adds context menu support for EFL port using non-CROSS_PLATFORM_CONTEXT_MENUS approach, the same as used in WebKit2. * WebCoreSupport/ContextMenuClientEfl.cpp: Added. (WebCore): (WebCore::ContextMenuClientEfl::contextMenuDestroyed): (WebCore::ContextMenuClientEfl::getCustomMenuFromDefaultItems): (WebCore::ContextMenuClientEfl::contextMenuItemSelected): (WebCore::ContextMenuClientEfl::downloadURL): (WebCore::ContextMenuClientEfl::lookUpInDictionary): (WebCore::ContextMenuClientEfl::speak): (WebCore::ContextMenuClientEfl::isSpeaking): (WebCore::ContextMenuClientEfl::stopSpeaking): (WebCore::ContextMenuClientEfl::searchWithGoogle): * WebCoreSupport/ContextMenuClientEfl.h: Added. (WebCore): (ContextMenuClientEfl): * ewk/ewk_contextmenu.cpp: Removed ewk_context_menu_customize implementation. (ewk_context_menu_destroy): Added freeing context menu. (ewk_context_menu_new): Added filling ewk_contextmenu list. (ewk_context_menu_item_append): * ewk/ewk_contextmenu_private.h: Removed ewk_context_menu_customize and changed ewk_context_menu_new definition. * ewk/ewk_view.cpp: (_Ewk_View_Private_Data): (_ewk_view_priv_new): (_ewk_view_priv_del): (ewk_view_context_menu_forward_event): 2012-09-04 Ryuan Choi [EFL] Drop default theme concept https://bugs.webkit.org/show_bug.cgi?id=94778 Reviewed by Gyuyoung Kim. * ewk/ewk_view.h: Updated doxygen document not to mention default theme. 2012-09-03 Jinwoo Song [EFL] Fix e_dbus_shutdown() error when exiting the Minibrowser https://bugs.webkit.org/show_bug.cgi?id=95636 Reviewed by Gyuyoung Kim. Invoke stopUpdating() in the destructor of BatteryClinetEfl() to call e_ukit_shutdown() and e_dbus_shutdown() if and when stopUpdating() has not been called explicitly. * WebCoreSupport/BatteryClientEfl.cpp: (BatteryClientEfl::~BatteryClientEfl): * WebCoreSupport/BatteryClientEfl.h: (BatteryClientEfl): 2012-09-03 Jinwoo Song [EFL] Use WebKitVersion.h to get version information https://bugs.webkit.org/show_bug.cgi?id=95669 Reviewed by Gyuyoung Kim. Use WEBKIT_MAJOR_VERSION and WEBKIT_MINOR_VERSION in the WebKitVersion.h Relocate the StorageTracker.h to keep the sorted order. * ewk/ewk_settings.cpp: (ewk_settings_default_user_agent_get): 2012-09-01 Jinwoo Song [EFL] Refactoring the DumpRenderTreeSupportEfl https://bugs.webkit.org/show_bug.cgi?id=95544 Reviewed by Gyuyoung Kim. There are lots of repeated codes for getting the WebCore::Frame and WebCore::Page. To reduce these duplications, simple macros are added. No new tests, just refactoring. * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: (DumpRenderTreeSupportEfl::activeAnimationsCount): (DumpRenderTreeSupportEfl::callShouldCloseOnWebView): (DumpRenderTreeSupportEfl::clearFrameName): (DumpRenderTreeSupportEfl::clearOpener): (DumpRenderTreeSupportEfl::elementDoesAutoCompleteForElementWithId): (DumpRenderTreeSupportEfl::frameChildren): (DumpRenderTreeSupportEfl::frameParent): (DumpRenderTreeSupportEfl::layoutFrame): (DumpRenderTreeSupportEfl::numberOfPages): (DumpRenderTreeSupportEfl::pageSizeAndMarginsInPixels): (DumpRenderTreeSupportEfl::pageProperty): (DumpRenderTreeSupportEfl::pauseAnimation): (DumpRenderTreeSupportEfl::pauseTransition): (DumpRenderTreeSupportEfl::pendingUnloadEventCount): (DumpRenderTreeSupportEfl::renderTreeDump): (DumpRenderTreeSupportEfl::responseMimeType): (DumpRenderTreeSupportEfl::selectionRectangle): (DumpRenderTreeSupportEfl::suitableDRTFrameName): (DumpRenderTreeSupportEfl::setDefersLoading): (DumpRenderTreeSupportEfl::setLoadsSiteIconsIgnoringImageLoadingSetting): (DumpRenderTreeSupportEfl::addUserScript): (DumpRenderTreeSupportEfl::clearUserScripts): (DumpRenderTreeSupportEfl::addUserStyleSheet): (DumpRenderTreeSupportEfl::clearUserStyleSheets): (DumpRenderTreeSupportEfl::executeCoreCommandByName): (DumpRenderTreeSupportEfl::findString): (DumpRenderTreeSupportEfl::setCSSGridLayoutEnabled): (DumpRenderTreeSupportEfl::isCommandEnabled): (DumpRenderTreeSupportEfl::setSmartInsertDeleteEnabled): (DumpRenderTreeSupportEfl::setSelectTrailingWhitespaceEnabled): (DumpRenderTreeSupportEfl::evaluateInWebInspector): (DumpRenderTreeSupportEfl::evaluateScriptInIsolatedWorld): (DumpRenderTreeSupportEfl::globalContextRefForFrame): (DumpRenderTreeSupportEfl::setInteractiveFormValidationEnabled): (DumpRenderTreeSupportEfl::setValidationMessageTimerMagnification): (DumpRenderTreeSupportEfl::setAuthorAndUserStylesEnabled): (DumpRenderTreeSupportEfl::setComposition): (DumpRenderTreeSupportEfl::hasComposition): (DumpRenderTreeSupportEfl::compositionRange): (DumpRenderTreeSupportEfl::confirmComposition): (DumpRenderTreeSupportEfl::firstRectForCharacterRange): (DumpRenderTreeSupportEfl::selectedRange): 2012-08-31 Christophe Dumez [EFL] Add proper support for navigator.onLine and associated events https://bugs.webkit.org/show_bug.cgi?id=95532 Reviewed by Kenneth Rohde Christiansen. Remove ewk_network_state_notifier_online_set() API since the EFL port no longer relies on the client application to provide it with the online state. * ewk/ewk_network.cpp: * ewk/ewk_network.h: 2012-08-31 Jinwoo Song [EFL] Simplify FrameLoaderClinetEfl by adding a private method. https://bugs.webkit.org/show_bug.cgi?id=95444 Reviewed by Gyuyoung Kim. In the FrameLoaderClientEfl, the codes which checks that if current frame is main frame are frequently used. This patch adds a private method and replaces those codes with the method to simplify. * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::dispatchDidChangeLocationWithinPage): (WebCore::FrameLoaderClientEfl::dispatchDidReceiveIcon): (WebCore::FrameLoaderClientEfl::dispatchDidStartProvisionalLoad): (WebCore::FrameLoaderClientEfl::dispatchDidReceiveTitle): (WebCore::FrameLoaderClientEfl::dispatchDidCommitLoad): (WebCore::FrameLoaderClientEfl::dispatchDidFailProvisionalLoad): (WebCore::FrameLoaderClientEfl::transitionToCommittedForNewPage): * WebCoreSupport/FrameLoaderClientEfl.h: (WebCore::FrameLoaderClientEfl::isLoadingMainFrame): 2012-08-30 Benjamin Poulain Replace JSC::UString by WTF::String https://bugs.webkit.org/show_bug.cgi?id=95271 Reviewed by Geoffrey Garen. Replace UString by String. * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: (DumpRenderTreeSupportEfl::sendWebIntentResponse): * ewk/ewk_frame.cpp: (ewk_frame_script_execute): 2012-08-29 Kamil Blank [EFL] Add setting API for allow universal/file access from file URLs. https://bugs.webkit.org/show_bug.cgi?id=83121 Reviewed by Eric Seidel. Make it possible to enable allow universal/file access from file URLs. Default value for both settings is true. * ewk/ewk_view.cpp: (_Ewk_View_Private_Data): (_ewk_view_priv_new): (ewk_view_setting_allow_universal_access_from_file_urls_set): Function sets if locally loaded documents are allowed to access remote urls. (ewk_view_setting_allow_universal_access_from_file_urls_get): (ewk_view_setting_allow_file_access_from_file_urls_set): Function sets if locally loaded documents are allowed to access other local urls. (ewk_view_setting_allow_file_access_from_file_urls_get): * ewk/ewk_view.h: 2012-08-29 Ryuan Choi [EFL] Add *explicit* keyword to constructors in WebCoreSupport https://bugs.webkit.org/show_bug.cgi?id=95307 Reviewed by Kentaro Hara. Added explicit keyword in constructors in order to avoid implicit type conversion. * WebCoreSupport/ColorChooserEfl.h: (ColorChooserEfl): * WebCoreSupport/PopupMenuEfl.h: (PopupMenuEfl): * WebCoreSupport/SearchPopupMenuEfl.h: (SearchPopupMenuEfl): 2012-08-29 Ryuan Choi [EFL] Move several files to remove webkit1 dependency from WebCore. https://bugs.webkit.org/show_bug.cgi?id=95264 Reviewed by Gyuyoung Kim. ColorChooserEfl.cpp, PopupMenuEfl.cpp and SearchPopupMenuEfl.cpp are WebKit1/Efl specific files and they can not be shared with WebKit2/Efl. In order to remove WebKit dependency from WebCore, this patch moves them to WebKit/efl/WebCoreSupport. * WebCoreSupport/ColorChooserEfl.cpp: Renamed from Source/WebCore/platform/efl/ColorChooserEfl.cpp. (WebCore): (WebCore::ColorChooserEfl::ColorChooserEfl): (WebCore::ColorChooserEfl::~ColorChooserEfl): (WebCore::ColorChooserEfl::setSelectedColor): (WebCore::ColorChooserEfl::endChooser): * WebCoreSupport/ColorChooserEfl.h: Renamed from Source/WebCore/platform/efl/ColorChooserEfl.h. (WebCore): (ColorChooserEfl): * WebCoreSupport/PopupMenuEfl.cpp: Renamed from Source/WebCore/platform/efl/PopupMenuEfl.cpp. (WebCore): (WebCore::PopupMenuEfl::PopupMenuEfl): (WebCore::PopupMenuEfl::~PopupMenuEfl): (WebCore::PopupMenuEfl::show): (WebCore::PopupMenuEfl::hide): (WebCore::PopupMenuEfl::updateFromElement): (WebCore::PopupMenuEfl::disconnectClient): * WebCoreSupport/PopupMenuEfl.h: Renamed from Source/WebCore/platform/efl/PopupMenuEfl.h. (WebCore): (PopupMenuEfl): (WebCore::PopupMenuEfl::client): * WebCoreSupport/SearchPopupMenuEfl.cpp: Renamed from Source/WebCore/platform/efl/SearchPopupMenuEfl.cpp. (WebCore): (WebCore::SearchPopupMenuEfl::SearchPopupMenuEfl): (WebCore::SearchPopupMenuEfl::popupMenu): (WebCore::SearchPopupMenuEfl::saveRecentSearches): (WebCore::SearchPopupMenuEfl::loadRecentSearches): (WebCore::SearchPopupMenuEfl::enabled): * WebCoreSupport/SearchPopupMenuEfl.h: Renamed from Source/WebCore/platform/efl/SearchPopupMenuEfl.h. (WebCore): (SearchPopupMenuEfl): 2012-08-28 Seokju Kwon [EFL] Add support for localization to the Web Inspector https://bugs.webkit.org/show_bug.cgi?id=92961 Reviewed by Gyuyoung Kim. Implement InspectorFrontendClientEfl::localizedStringsURL() to return the URL of the localizedStrings.js. * WebCoreSupport/InspectorClientEfl.cpp: (WebCore::InspectorClientEfl::openInspectorFrontend): (WebCore::InspectorClientEfl::inspectorFilesPath): (WebCore::InspectorFrontendClientEfl::localizedStringsURL): 2012-08-28 Sheriff Bot Unreviewed, rolling out r126914. http://trac.webkit.org/changeset/126914 https://bugs.webkit.org/show_bug.cgi?id=95239 it breaks everything and fixes nothing (Requested by pizlo on #webkit). * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: (DumpRenderTreeSupportEfl::evaluateScriptInIsolatedWorld): * WebCoreSupport/PlatformStrategiesEfl.cpp: (PlatformStrategiesEfl::getPluginInfo): * ewk/ewk_intent.cpp: (ewk_intent_extra_get): 2012-08-28 Caio Marcelo de Oliveira Filho Rename first/second to key/value in HashMap iterators https://bugs.webkit.org/show_bug.cgi?id=82784 Reviewed by Eric Seidel. * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: (DumpRenderTreeSupportEfl::evaluateScriptInIsolatedWorld): * WebCoreSupport/PlatformStrategiesEfl.cpp: (PlatformStrategiesEfl::getPluginInfo): * ewk/ewk_intent.cpp: (ewk_intent_extra_get): 2012-08-28 Christophe Dumez [EFL] WebKit EFL updates view on HTTP 204 response https://bugs.webkit.org/show_bug.cgi?id=95199 Reviewed by Kenneth Rohde Christiansen. Ignore HTTP responses which have status code equal to 204 (No Content). * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::dispatchDecidePolicyForResponse): 2012-08-28 Thiago Marcos P. Santos [EFL] Rename knob images to thumb on the default theme https://bugs.webkit.org/show_bug.cgi?id=95186 Reviewed by Kenneth Rohde Christiansen. WebKit reefers to these handles as thumb instead of knob. Let's make it coherent on EFL. * DefaultTheme/widget/slider/slider.edc: * DefaultTheme/widget/slider/slider_thumb_h.png: Renamed from Source/WebKit/efl/DefaultTheme/widget/slider/slider_knob_h.png. * DefaultTheme/widget/slider/slider_thumb_press_h.png: Renamed from Source/WebKit/efl/DefaultTheme/widget/slider/slider_knob_press_h.png. * DefaultTheme/widget/slider/slider_thumb_press_v.png: Renamed from Source/WebKit/efl/DefaultTheme/widget/slider/slider_knob_press_v.png. * DefaultTheme/widget/slider/slider_thumb_v.png: Renamed from Source/WebKit/efl/DefaultTheme/widget/slider/slider_knob_v.png. 2012-08-28 Thiago Marcos P. Santos [EFL] Range input ignores padding https://bugs.webkit.org/show_bug.cgi?id=94595 Reviewed by Kenneth Rohde Christiansen. Updated default theme to paint the slider thumb in a different step. This was done by splitting the thumb into a separated group. * DefaultTheme/widget/slider/slider.edc: 2012-08-27 Sheriff Bot Unreviewed, rolling out r126836. http://trac.webkit.org/changeset/126836 https://bugs.webkit.org/show_bug.cgi?id=95163 Broke all Apple ports, EFL, and Qt. (Requested by tkent on #webkit). * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: (DumpRenderTreeSupportEfl::evaluateScriptInIsolatedWorld): * WebCoreSupport/PlatformStrategiesEfl.cpp: (PlatformStrategiesEfl::getPluginInfo): * ewk/ewk_intent.cpp: (ewk_intent_extra_get): 2012-08-27 Caio Marcelo de Oliveira Filho Rename first/second to key/value in HashMap iterators https://bugs.webkit.org/show_bug.cgi?id=82784 Reviewed by Eric Seidel. * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: (DumpRenderTreeSupportEfl::evaluateScriptInIsolatedWorld): * WebCoreSupport/PlatformStrategiesEfl.cpp: (PlatformStrategiesEfl::getPluginInfo): * ewk/ewk_intent.cpp: (ewk_intent_extra_get): 2012-08-27 Mikhail Pozdnyakov Rename RegisterProtocolHandler API to NavigatorContentUtils https://bugs.webkit.org/show_bug.cgi?id=94920 Reviewed by Adam Barth. Renaming whatever RegisterProtocolHandler-prefixed to NavigatorContentUtils-prefixed. RegisterProtocolHandlerClientEfl is renamed to NavigatorContentUtilsClientEfl. * WebCoreSupport/NavigatorContentUtilsClientEfl.cpp: Renamed from Source/WebKit/efl/WebCoreSupport/RegisterProtocolHandlerClientEfl.cpp. (WebCore): (WebCore::customHandlerDataCreate): (WebCore::customHandlerDataDelete): (WebCore::NavigatorContentUtilsClientEfl::create): (WebCore::NavigatorContentUtilsClientEfl::NavigatorContentUtilsClientEfl): (WebCore::NavigatorContentUtilsClientEfl::registerProtocolHandler): (WebCore::NavigatorContentUtilsClientEfl::isProtocolHandlerRegistered): (WebCore::NavigatorContentUtilsClientEfl::unregisterProtocolHandler): * WebCoreSupport/NavigatorContentUtilsClientEfl.h: Renamed from Source/WebKit/efl/WebCoreSupport/RegisterProtocolHandlerClientEfl.h. (NavigatorContentUtilsClientEfl): (WebCore::NavigatorContentUtilsClientEfl::~NavigatorContentUtilsClientEfl): * ewk/ewk_custom_handler.cpp: * ewk/ewk_custom_handler_private.h: * ewk/ewk_view.cpp: (_Ewk_View_Private_Data): (_ewk_view_priv_new): 2012-08-23 Ryuan Choi [EFL] Remove ewk_tile_matrix_tile_update. https://bugs.webkit.org/show_bug.cgi?id=63437 Reviewed by Gyuyoung Kim. * ewk/ewk_tiled_matrix.cpp: Removed ewk_tile_matrix_tile_update and ewk_tile_matrix_tile_update_full which are dead code. * ewk/ewk_tiled_matrix_private.h: Ditto. 2012-08-21 Kihong Kwon [EFL][GTK][BlackBerry] Fix build error in the DeviceOrientationClient https://bugs.webkit.org/show_bug.cgi?id=94586 Reviewed by Kentaro Hara. Fix build error in the DeviceOrientationClientEfl.cpp. It is occured because DeviceOrientation is changed to DeviceOrientationData in the WebCore. * WebCoreSupport/DeviceOrientationClientEfl.cpp: (WebCore::DeviceOrientationClientEfl::lastOrientation): 2012-08-20 Thiago Marcos P. Santos Regression(r124945): Build is broken when touch events is disabled https://bugs.webkit.org/show_bug.cgi?id=94466 Reviewed by Kenneth Rohde Christiansen. Added missing guards around touch events code. * ewk/ewk_touch_event.cpp: * ewk/ewk_touch_event_private.h: 2012-08-17 Thiago Marcos P. Santos [EFL] Change font family/script on layout tests causes flakiness https://bugs.webkit.org/show_bug.cgi?id=94327 Reviewed by Kenneth Rohde Christiansen. Always set the font on WebCore even if the font family is the same. It has to be done because the script value might have also changed. Settings::set*FontFamily() has an implicit UScriptCode parameter that will set the script back to the defaults. * ewk/ewk_view.cpp: (ewk_view_font_family_name_set): 2012-08-14 Adam Barth Delete Frame::domWindow() and Frame::existingDOMWindow() https://bugs.webkit.org/show_bug.cgi?id=93990 Reviewed by Eric Seidel. * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: (DumpRenderTreeSupportEfl::pendingUnloadEventCount): * ewk/ewk_frame.cpp: (ewk_frame_intent_deliver): 2012-08-13 Tom Sepez [chromium] release FrameLoaderClientImpl::m_pluginWidget refptr upon Plugin Document detach. https://bugs.webkit.org/show_bug.cgi?id=93283 Reviewed by Eric Seidel. Change the client redirectDataToPlugin method(s) to expect the possibility of a NULL argument, keeping existing behaviour otherwise. * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::redirectDataToPlugin): 2012-08-12 Krzysztof Czech [EFL][UT] Delete shutdown method. https://bugs.webkit.org/show_bug.cgi?id=90785 Reviewed by Eric Seidel. EWKTestBase class already has a shutdownAll method that can be used instead of shutdown. * tests/UnitTestUtils/EWKTestBase.cpp: * tests/UnitTestUtils/EWKTestBase.h: (EWKTestBase): 2012-08-09 Carlos Garcia Campos Handle SSL errors for SOUP https://bugs.webkit.org/show_bug.cgi?id=90267 Reviewed by Martin Robinson. Ignore SSL errors by default for compatibility. * ewk/ewk_main.cpp: (_ewk_init_body): 2012-08-07 Ryuan Choi [EFL] Remove PlatformTouchEventEfl and PlatformTouchPointEfl https://bugs.webkit.org/show_bug.cgi?id=93270 Reviewed by Eric Seidel. * ewk/ewk_frame.cpp: (ewk_frame_feed_touch_event): * ewk/ewk_touch_event.cpp: Added. (WebKitPlatformTouchPoint): (WebKitPlatformTouchPoint::WebKitPlatformTouchPoint): Added to initialize members of PlatformTouchPoint. (WebKitPlatformTouchEvent): (WebKitPlatformTouchEvent::WebKitPlatformTouchEvent): Added to initialize members of PlatformTouchEvent. (EWKPrivate): (EWKPrivate::platformTouchEvent): Converted Ewk_Touch_Event to PlatformTouchEvent. * ewk/ewk_touch_event_private.h: (EWKPrivate): 2012-08-07 Mikhail Pozdnyakov CUSTOM_SCHEME_HANDLER flag should depend on REGISTER_PROTOCOL_HANDLER https://bugs.webkit.org/show_bug.cgi?id=93081 Reviewed by Adam Barth. CUSTOM_SCHEME_HANDLER #if guards are enclosed in the REGISTER_PROTOCOL_HANDLER guards. * WebCoreSupport/RegisterProtocolHandlerClientEfl.cpp: (WebCore::RegisterProtocolHandlerClientEfl::registerProtocolHandler): * WebCoreSupport/RegisterProtocolHandlerClientEfl.h: * ewk/ewk_custom_handler.cpp: (ewk_custom_handler_register_protocol_handler): * ewk/ewk_custom_handler_private.h: * ewk/ewk_view.cpp: (_ewk_view_priv_new): 2012-08-06 Mikhail Pozdnyakov [EFL] [GTK] Register Protocol Handler Client is never deleted https://bugs.webkit.org/show_bug.cgi?id=92745 Reviewed by Gustavo Noronha Silva. Added usage of OwnPtr to manage register protocol handler client pointer. * WebCoreSupport/RegisterProtocolHandlerClientEfl.cpp: (WebCore::RegisterProtocolHandlerClientEfl::create): Factory function returning smart pointer. (WebCore): * WebCoreSupport/RegisterProtocolHandlerClientEfl.h: (RegisterProtocolHandlerClientEfl): * ewk/ewk_view.cpp: (_Ewk_View_Private_Data): (_ewk_view_priv_new): 2012-08-01 Ryuan Choi [EFL][Regression] Build break with NETSCAPE_PLUGIN_API after r123604 https://bugs.webkit.org/show_bug.cgi?id=92937 Unreviewed build fix. r123604 replaced strdup to eina_stringshare, but related codes are not changed properly. This patch changes remained code to use eina_stringshare. * ewk/ewk_js.cpp: (ewk_js_variant_to_npvariant): (ewk_js_property_free): (ewk_js_npvariant_to_variant): (ewk_js_variant_free): (ewk_js_variant_array_free): * ewk/ewk_js.h: 2012-07-29 YoungTaeck Song [WK2][EFL] TILED_BACKING_STORE support on Efl WebKit2 https://bugs.webkit.org/show_bug.cgi?id=91582 Reviewed by Noam Rosenthal. Add a dummy function for fixing building error when enabling TILED_BACKING_STORE. * WebCoreSupport/ChromeClientEfl.cpp: (WebCore): (WebCore::ChromeClientEfl::delegatedScrollRequested): * WebCoreSupport/ChromeClientEfl.h: (ChromeClientEfl): 2012-07-27 Christophe Dumez [EFL] Regression(r123858): Default navigation policy decision was switched to "reject" https://bugs.webkit.org/show_bug.cgi?id=92507 Reviewed by Kentaro Hara. After r92466, the default navigation policy is to reject the request if the client does not make a decision explicitly. The default policy should be to accept. This broke ewk_view unit tests. * ewk/ewk_view.cpp: (ewk_view_navigation_policy_decision): 2012-07-27 Gyuyoung Kim [EFL] Fix wrong return value in EWK_VIEW_XXX macro. https://bugs.webkit.org/show_bug.cgi?id=92466 Reviewed by Simon Hausmann. There are wrong return values in EWK_VIEW_XXX macros. The wrong return values should be fixed. In addition, API description is also modified according to returned value change. * ewk/ewk_view.cpp: (ewk_view_setting_minimum_timer_interval_get): (ewk_view_navigation_policy_decision): (ewk_view_page_rect_get): (ewk_view_setting_enable_xss_auditor_get): * ewk/ewk_view.h: 2012-07-27 Kihong Kwon [EFL] Change prototype of run_open_panel https://bugs.webkit.org/show_bug.cgi?id=91956 Reviewed by Kentaro Hara. In order to support all of the file chooser attributes, change the types of parameters in run_open_panel method. i.e., change "Eina_Bool allows_multiple_files, Eina_List *accept_types" to "Ewk_File_Chooser *file_chooser" In addition, Efl can support the capture attribute for HTML media capture. * WebCoreSupport/ChromeClientEfl.cpp: (WebCore::ChromeClientEfl::runOpenPanel): * ewk/ewk_view.cpp: (ewk_view_run_open_panel): * ewk/ewk_view.h: * ewk/ewk_view_private.h: 2012-07-26 Seokju Kwon [EFL] Highlight the element under mouse on web inspector https://bugs.webkit.org/show_bug.cgi?id=91592 Reviewed by Kentaro Hara. Implement highlighting the nodes when using the web inspector. * WebCoreSupport/InspectorClientEfl.cpp: (WebCore::InspectorClientEfl::highlight): (WebCore::InspectorClientEfl::hideHighlight): (WebCore::InspectorClientEfl::invalidateView): (WebCore): * WebCoreSupport/InspectorClientEfl.h: (InspectorClientEfl): * ewk/ewk_paint_context.cpp: (ewk_paint_context_paint_contents): 2012-07-26 Christophe Dumez [EFL][WK2] Implement Network Information provider https://bugs.webkit.org/show_bug.cgi?id=92343 Reviewed by Kenneth Rohde Christiansen. Make NetworkInfoClientEfl use NetworkInfoProviderEfl from WebCore to avoid code duplication with WebKit2. * WebCoreSupport/NetworkInfoClientEfl.cpp: (WebCore::NetworkInfoClientEfl::startUpdating): (WebCore::NetworkInfoClientEfl::stopUpdating): (WebCore::NetworkInfoClientEfl::bandwidth): (WebCore::NetworkInfoClientEfl::metered): (WebCore): * WebCoreSupport/NetworkInfoClientEfl.h: (WebCore): (NetworkInfoClientEfl): 2012-07-26 Zoltan Nyul [EFL] EFL port should use XDG paths https://bugs.webkit.org/show_bug.cgi?id=91719 Reviewed by Kenneth Rohde Christiansen. Using xdg paths instead of home/.webkit directory for application cache, web-database and local-storage. * ewk/ewk_main.cpp: (_ewk_init_body): 2012-07-26 Kaustubh Atrawalkar [DRT] LTC:: pageNumberForElementById() could be moved to Internals https://bugs.webkit.org/show_bug.cgi?id=92091 Reviewed by Adam Barth. Move the pageNumberForElementById from LayoutTestCotroller to Internals and remove the old platform specific implementations as it exclusively tests WebCore functionality. * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: 2012-07-25 Gyuyoung Kim [EFL] Use eina_stringshare_add instead of strdup. https://bugs.webkit.org/show_bug.cgi?id=92072 Reviewed by Kentaro Hara. Eina of EFL libraries supports a string functionality that replaces strdup. So, EFL port needs to replace strdup with eina_stringshare_add function. In addition, some API descriptions need to be modified according to ewk APIs's parameter and return type change. * WebCoreSupport/ChromeClientEfl.cpp: (WebCore::ChromeClientEfl::runJavaScriptPrompt): * ewk/ewk_cookies.cpp: (ewk_cookies_get_all): (ewk_cookies_cookie_free): * ewk/ewk_cookies.h: * ewk/ewk_frame.cpp: (ewk_frame_script_execute): (ewk_frame_selection_get): (ewk_frame_resources_location_get): (ewk_frame_plain_text_get): * ewk/ewk_frame.h: * ewk/ewk_intent.cpp: (ewk_intent_suggestions_get): (ewk_intent_extra_get): (ewk_intent_extra_names_get): * ewk/ewk_intent.h: * ewk/ewk_js.cpp: (ewk_js_variant_to_npvariant): (ewk_js_object_new): * ewk/ewk_view.cpp: (_ewk_view_smart_run_javascript_prompt): (ewk_view_selection_get): (ewk_view_run_javascript_prompt): (ewk_view_run_open_panel): * ewk/ewk_view.h: * ewk/ewk_view_private.h: 2012-07-25 Kihong Kwon [EFL] Add File Chooser API https://bugs.webkit.org/show_bug.cgi?id=91957 Reviewed by Hajime Morita. Add APIs for file chooser. These APIs allow an application(like a browser) queries informations about multiple files allowed, directory upload allowed, accept mimetypes list, accept file extentions list, selected files list and capture to support HTML media capture. * ewk/EWebKit.h: * ewk/ewk_file_chooser.cpp: Added. (_Ewk_File_Chooser): (ewk_file_chooser_allows_multiple_files_get): (ewk_file_chooser_allows_directory_upload_get): (ewk_file_chooser_accept_mimetypes_get): (ewk_file_chooser_accept_file_extentions_get): (ewk_file_chooser_selected_files_get): (ewk_file_chooser_capture_get): (ewk_file_chooser_new): (ewk_file_chooser_free): * ewk/ewk_file_chooser.h: Added. * ewk/ewk_file_chooser_private.h: Added. (WebCore): 2012-07-23 Pierre Rossi Unify numTouchEventHandlersChanged and needTouchEvents in the chrome client https://bugs.webkit.org/show_bug.cgi?id=91006 Reviewed by Ryosuke Niwa. Removed numTouchEventHandlersChanged stub. * WebCoreSupport/ChromeClientEfl.h: 2012-07-22 Kent Tamura Rename ENABLE_METER_TAG and ENABLE_PROGRESS_TAG to ENABLE_METER_ELEMENT and ENABLE_PROGRESS_ELEMENT respectively https://bugs.webkit.org/show_bug.cgi?id=91941 Reviewed by Kentaro Hara. A flag name for an elmement should be ENABLE_*_ELEMENT. * DefaultTheme/default.edc: 2012-07-20 Kihong Kwon [EFL] Remove unused headers from ewk_security_origin https://bugs.webkit.org/show_bug.cgi?id=91914 Reviewed by Noam Rosenthal. There are some unused header in the ewk_security_origin.h/cpp We need to remove them. * ewk/ewk_security_origin.cpp: * ewk/ewk_security_origin.h: 2012-07-20 Christophe Dumez [EFL] Proxy configuration should honor the no_proxy environment variable https://bugs.webkit.org/show_bug.cgi?id=91747 Reviewed by Kenneth Rohde Christiansen. Use the new custom proxy resolver from WebCore in WebKit1-EFL's ewk_network_proxy_uri_set() / get(), instead of the less flexible SOUP_SESSION_PROXY_URI SoupSession property. * ewk/ewk_network.cpp: (ewk_network_proxy_uri_set): (ewk_network_proxy_uri_get): 2012-07-20 Thiago Marcos P. Santos [EFL] Fix build when protocol handler and custom scheme is disabled https://bugs.webkit.org/show_bug.cgi?id=91840 Reviewed by Kenneth Rohde Christiansen. Fixed namespace closing bracket positioning. * WebCoreSupport/RegisterProtocolHandlerClientEfl.cpp: (WebCore): 2012-07-20 Kihong Kwon [EFL] Check parameters of ewk APIs in ewk_security_origin https://bugs.webkit.org/show_bug.cgi?id=91833 Reviewed by Kentaro Hara. For preventing crash, check parameters of ewk APIs in the ewk_security_origin.cpp. * ewk/ewk_security_origin.cpp: (ewk_security_origin_port_get): (ewk_security_origin_web_database_usage_get): (ewk_security_origin_web_database_quota_get): (ewk_security_origin_web_database_quota_set): (ewk_security_origin_application_cache_quota_set): (ewk_security_origin_application_cache_clear): (ewk_security_origin_web_database_get_all): (ewk_security_origin_free): * ewk/ewk_security_origin.h: 2012-07-19 Kihong Kwon [EFL] Enable interactive form validation https://bugs.webkit.org/show_bug.cgi?id=91711 Reviewed by Ryosuke Niwa. Enable interactive form validation on the Efl. This makes we can validate data at form elements. In addition, it is already enabled in the DRT. * ewk/ewk_view.cpp: (_ewk_view_priv_new): 2012-07-18 Christophe Dumez [EFL] Add central error management to EFL port https://bugs.webkit.org/show_bug.cgi?id=91598 Reviewed by Kenneth Rohde Christiansen. Make use of ErrorsEfl header from WebCore in EFL's FrameLoaderClient now that we have a central place for errors. * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::cancelledError): (WebCore::FrameLoaderClientEfl::blockedError): (WebCore::FrameLoaderClientEfl::cannotShowURLError): (WebCore::FrameLoaderClientEfl::interruptedForPolicyChangeError): (WebCore::FrameLoaderClientEfl::cannotShowMIMETypeError): (WebCore::FrameLoaderClientEfl::fileDoesNotExistError): (WebCore::FrameLoaderClientEfl::pluginWillHandleLoadError): (WebCore::FrameLoaderClientEfl::shouldFallBack): 2012-07-18 Seokju Kwon [EFL][DRT] Add support for Web Inspector in WebKit-EFL DRT https://bugs.webkit.org/show_bug.cgi?id=87935 Reviewed by Andreas Kling. Add implementation of DumpRenderTreeSupportEfl::evaluateInWebInspector(). Some scripts for test should be evaluated in frontend. * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: (DumpRenderTreeSupportEfl::evaluateInWebInspector): * WebCoreSupport/DumpRenderTreeSupportEfl.h: 2012-07-17 Christophe Dumez [EFL] Replace 0 by NULL in public headers documentation https://bugs.webkit.org/show_bug.cgi?id=91470 Reviewed by Dirk Pranke. Use NULL instead of 0 for pointer types in public C headers. * ewk/ewk_contextmenu.h: * ewk/ewk_cookies.h: * ewk/ewk_frame.h: * ewk/ewk_intent.h: * ewk/ewk_intent_request.h: * ewk/ewk_network.h: * ewk/ewk_security_origin.h: * ewk/ewk_settings.h: * ewk/ewk_view.h: * ewk/ewk_window_features.h: 2012-07-17 Vivek Galatage Web Inspector: refactor InspectorController::connectFrontend() to accept InspectorFrontendChannel. https://bugs.webkit.org/show_bug.cgi?id=91196 Reviewed by Pavel Feldman. Refactoring InspectorClients. InspectorClient::openInspectorFrontend now returning the InspectorFrontendChannel. * WebCoreSupport/InspectorClientEfl.cpp: (WebCore::InspectorClientEfl::openInspectorFrontend): * WebCoreSupport/InspectorClientEfl.h: (InspectorClientEfl): 2012-07-17 Ryuan Choi [EFL] Move codes related to theme setting from Widget to RenderTheme https://bugs.webkit.org/show_bug.cgi?id=89842 Reviewed by Kenneth Rohde Christiansen. * ewk/ewk_frame.cpp: (ewk_frame_view_create_for_view): Removed codes which set theme in FrameView. * ewk/ewk_view.cpp: (ewk_view_theme_set): Called RenderThemeEfl::setThemePath instead of setting theme in FrameView. 2012-07-16 Gyuyoung Kim Add RegisterProtocolHandlerClient to the Modules/protocolhandler https://bugs.webkit.org/show_bug.cgi?id=90940 Reviewed by Hajime Morita. As a step to let protocol handler be moved to the modules, RegisterProtocolHandlerClient needs to be added to the Modules/protocolhandler. Because ChromeClient has some virtual functions for protocol handlers, virtual functions should be moved to RegisterProtocolHandlerClient In order to support this, RegisterProtocolHandlerClientEfl class is added and ewk_view registers RegisterProtocolHandlerClientEfl. In addition, existing concrete functions in ChromeClientEfl are moved to RegisterProtocolHandlerClientEfl. * WebCoreSupport/ChromeClientEfl.cpp: (WebCore): * WebCoreSupport/ChromeClientEfl.h: * WebCoreSupport/RegisterProtocolHandlerClientEfl.cpp: Added. (WebCore): (WebCore::customHandlerDataCreate): (WebCore::customHandlerDataDelete): (WebCore::RegisterProtocolHandlerClientEfl::RegisterProtocolHandlerClientEfl): (WebCore::RegisterProtocolHandlerClientEfl::registerProtocolHandler): (WebCore::RegisterProtocolHandlerClientEfl::isProtocolHandlerRegistered): (WebCore::RegisterProtocolHandlerClientEfl::unregisterProtocolHandler): * WebCoreSupport/RegisterProtocolHandlerClientEfl.h: Added. (RegisterProtocolHandlerClientEfl): (WebCore::RegisterProtocolHandlerClientEfl::~RegisterProtocolHandlerClientEfl): * ewk/ewk_view.cpp: (_ewk_view_priv_new): 2012-07-16 Kihong Kwon Remove setController from BatteryClient https://bugs.webkit.org/show_bug.cgi?id=90944 Reviewed by Adam Barth. BatteryClient doesn't need to keep m_controller, because BatteryController can be accessed using BatteryController::from(). Remove m_controller and Add ewk view evas object to BatteryClientEfl. And change all m_controller to BatteryController::from. * WebCoreSupport/BatteryClientEfl.cpp: (BatteryClientEfl::BatteryClientEfl): (BatteryClientEfl::didChangeBatteryStatus): * WebCoreSupport/BatteryClientEfl.h: (BatteryClientEfl): * ewk/ewk_view.cpp: (_ewk_view_priv_new): 2012-07-15 Kihong Kwon [EFL] Add a API for getting security origin string https://bugs.webkit.org/show_bug.cgi?id=90936 Reviewed by Ryosuke Niwa. Support to change from Ewk_Security_Origin to string on the API level. Add ewk_security_origin_string_get for getting security origin string. * ewk/ewk_security_origin.cpp: (_Ewk_Security_Origin): (ewk_security_origin_string_get): (ewk_security_origin_free): (ewk_security_origin_new): * ewk/ewk_security_origin.h: 2012-07-15 Gyuyoung Kim [EFL] Move files guarded by #ifdef to existing file list. https://bugs.webkit.org/show_bug.cgi?id=91336 Reviewed by Ryosuke Niwa. Some EFL files are already guared by #ifdef. So, cmake files doesn't need to guard them again. In addition, some files are missing #ifdef guard its header files. * WebCoreSupport/DeviceMotionClientEfl.h: * WebCoreSupport/InspectorClientEfl.h: * WebCoreSupport/NetworkInfoClientEfl.h: * WebCoreSupport/VibrationClientEfl.h: 2012-07-13 Kihong Kwon [EFL] Add const to the parameter of getters in ewk_security_origin https://bugs.webkit.org/show_bug.cgi?id=90954 Reviewed by Kentaro Hara. Move initialization of strings for protocol and host to the ewk_security_origin_new method, which allows to add const qualifier for ewk_security_origin_protocol_get and ewk_security_origin_host_get. In addition, add null checks to the getters. * ewk/ewk_security_origin.cpp: (ewk_security_origin_protocol_get): (ewk_security_origin_host_get): (ewk_security_origin_new): * ewk/ewk_security_origin.h: 2012-07-13 Gyuyoung Kim [EFL] Add *explicit* keyword to constructor which has a parameter https://bugs.webkit.org/show_bug.cgi?id=91207 Reviewed by Zoltan Herczeg. Add *explicit* keyword to contructor which has a parameter in order to avoid implicit type conversion. * WebCoreSupport/EditorClientEfl.h: (EditorClientEfl): * WebCoreSupport/InspectorClientEfl.h: (InspectorClientEfl): * WebCoreSupport/PageClientEfl.h: (PageClientEfl): * WebCoreSupport/VibrationClientEfl.h: (VibrationClientEfl): 2012-07-10 Adam Barth LayoutTestController.dumpConfigurationForViewport should move to Internals https://bugs.webkit.org/show_bug.cgi?id=45652 Reviewed by Eric Seidel. * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: * WebCoreSupport/DumpRenderTreeSupportEfl.h: 2012-07-09 Christophe Dumez [EFL] Battery status code needs refactoring to be reused in WebKit2 https://bugs.webkit.org/show_bug.cgi?id=90760 Reviewed by Hajime Morita. Add BatteryClientEfl to WebKit, which uses BatteryProviderEfl from WebCore internally. * WebCoreSupport/BatteryClientEfl.cpp: Added. (BatteryClientEfl::BatteryClientEfl): (BatteryClientEfl::setController): (BatteryClientEfl::startUpdating): (BatteryClientEfl::stopUpdating): (BatteryClientEfl::batteryControllerDestroyed): (BatteryClientEfl::didChangeBatteryStatus): * WebCoreSupport/BatteryClientEfl.h: Renamed from Source/WebCore/platform/efl/BatteryClientEfl.h. (WebCore): (BatteryClientEfl): (BatteryClientEfl::~BatteryClientEfl): * ewk/ewk_view.cpp: (_ewk_view_priv_new): 2012-07-09 Adam Klein Rename WebCore::WebKitMutationObserver to WebCore::MutationObserver https://bugs.webkit.org/show_bug.cgi?id=90810 Reviewed by Ojan Vafai. * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: (DumpRenderTreeSupportEfl::deliverAllMutationsIfNecessary): 2012-07-09 Krzysztof Czech [EFL] Simplify runTest function by defining default arguments. https://bugs.webkit.org/show_bug.cgi?id=90525 Reviewed by Chang Shu. Default arguments will simplify macro RUN_TEST. Function will only have one mandatory argument, callback test function. Added static modifiers to callback functions. * tests/UnitTestUtils/EWKTestBase.h: (EWKTestBase): * tests/test_ewk_view.cpp: (ewkViewEditableGetCb): (TEST): (ewkViewUriGetCb): 2012-07-08 Christophe Dumez [EFL] REGRESSION (r122035): fullscreen/exit-full-screen-iframe.html is crashing https://bugs.webkit.org/show_bug.cgi?id=90735 Reviewed by Antonio Gomes. Keep a reference to the Element passed to enterFullScreenForElement() so that we can reuse it later in exitFullScreenForElement(). This is needed because the Element passed to exitFullScreenForElement() may be null. This fixes the crash for the fullscreen/exit-full-screen-iframe.html test introduced in r122035. * WebCoreSupport/ChromeClientEfl.cpp: (WebCore::ChromeClientEfl::enterFullScreenForElement): (WebCore::ChromeClientEfl::exitFullScreenForElement): * WebCoreSupport/ChromeClientEfl.h: (ChromeClientEfl): 2012-07-07 Jinwoo Song [EFL] Fix build break when Accelerated Compositing is on. https://bugs.webkit.org/show_bug.cgi?id=90718 Unreviewed build fix. ewk_view_accelerated_compositing_XXX APIs are in ewk_view_private.h * WebCoreSupport/PageClientEfl.cpp: (PageClientEfl::createEvasObjectForAcceleratedCompositing): (PageClientEfl::acceleratedCompositingContext): * WebCoreSupport/PageClientEfl.h: (PageClientEfl): 2012-07-06 Seokju Kwon [EFL] Add Web Inspector to WebKit-EFL https://bugs.webkit.org/show_bug.cgi?id=83865 Reviewed by Pavel Feldman. EFL port implementation for Web Inspector. Implementation of InspectorClientEfl and InspectorFrontendClientEfl for using the Web Inspector in WebKit-EFL with new EWK APIs. * WebCoreSupport/InspectorClientEfl.cpp: (WebCore::notifyWebInspectorDestroy): (WebCore): (InspectorFrontendSettingsEfl): (WebCore::InspectorFrontendSettingsEfl::getProperty): (WebCore::InspectorFrontendSettingsEfl::setProperty): (WebCore::InspectorClientEfl::InspectorClientEfl): (WebCore::InspectorClientEfl::~InspectorClientEfl): (WebCore::InspectorClientEfl::inspectorDestroyed): (WebCore::InspectorClientEfl::openInspectorFrontend): (WebCore::InspectorClientEfl::closeInspectorFrontend): (WebCore::InspectorClientEfl::bringFrontendToFront): (WebCore::InspectorClientEfl::sendMessageToFrontend): (WebCore::InspectorClientEfl::releaseFrontendPage): (WebCore::InspectorClientEfl::inspectorFilesPath): (WebCore::InspectorFrontendClientEfl::InspectorFrontendClientEfl): (WebCore::InspectorFrontendClientEfl::~InspectorFrontendClientEfl): (WebCore::InspectorFrontendClientEfl::localizedStringsURL): (WebCore::InspectorFrontendClientEfl::hiddenPanels): (WebCore::InspectorFrontendClientEfl::bringToFront): (WebCore::InspectorFrontendClientEfl::closeWindow): (WebCore::InspectorFrontendClientEfl::inspectedURLChanged): (WebCore::InspectorFrontendClientEfl::attachWindow): (WebCore::InspectorFrontendClientEfl::detachWindow): (WebCore::InspectorFrontendClientEfl::setAttachedWindowHeight): (WebCore::InspectorFrontendClientEfl::destroyInspectorWindow): * WebCoreSupport/InspectorClientEfl.h: (WebCore): (InspectorClientEfl): (InspectorFrontendClientEfl): (WebCore::InspectorFrontendClientEfl::disconnectInspectorClient): * ewk/ewk_view.cpp: (_Ewk_View_Private_Data): (_ewk_view_priv_new): (ewk_view_web_inspector_show): (ewk_view_web_inspector_close): (ewk_view_web_inspector_view_get): (ewk_view_web_inspector_view_set): * ewk/ewk_view.h: 2012-07-05 Kihong Kwon [EFL] Change class name from NotificationClientEfl to NotificationPresenterClientEfl. https://bugs.webkit.org/show_bug.cgi?id=90542 Reviewed by Kenneth Rohde Christiansen. Change class name from NotificationClientEfl to NotificationPresenterClientEfl to be in line with other ports.(qt, chromium, blackberry) * WebCoreSupport/ChromeClientEfl.cpp: * WebCoreSupport/NotificationPresenterClientEfl.cpp: Renamed from Source/WebKit/efl/WebCoreSupport/NotificationClientEfl.cpp. (WebCore): (WebCore::NotificationPresenterClientEfl::NotificationPresenterClientEfl): (WebCore::NotificationPresenterClientEfl::~NotificationPresenterClientEfl): (WebCore::NotificationPresenterClientEfl::show): (WebCore::NotificationPresenterClientEfl::cancel): (WebCore::NotificationPresenterClientEfl::notificationObjectDestroyed): (WebCore::NotificationPresenterClientEfl::notificationControllerDestroyed): (WebCore::NotificationPresenterClientEfl::requestPermission): (WebCore::NotificationPresenterClientEfl::checkPermission): (WebCore::NotificationPresenterClientEfl::cancelRequestsForPermission): * WebCoreSupport/NotificationPresenterClientEfl.h: Renamed from Source/WebKit/efl/WebCoreSupport/NotificationClientEfl.h. (WebCore): (NotificationPresenterClientEfl): 2012-07-02 Benjamin Poulain Do not do any logging initialization when logging is disabled https://bugs.webkit.org/show_bug.cgi?id=90228 Reviewed by Simon Fraser. * ewk/ewk_main.cpp: (_ewk_init_body): 2012-07-02 Gyuyoung Kim [EFL] Rename NotificationPresenterEfl with NotificationClientEfl https://bugs.webkit.org/show_bug.cgi?id=90370 Reviewed by Csaba Osztrogonác. Bug 80488 renamed NotificationPresenter with NotificationClient. So, EFL port needs to adjust it as well. * WebCoreSupport/ChromeClientEfl.cpp: * WebCoreSupport/NotificationClientEfl.cpp: Renamed from Source/WebKit/efl/WebCoreSupport/NotificationPresenterClientEfl.cpp. (WebCore): (WebCore::NotificationClientEfl::NotificationClientEfl): (WebCore::NotificationClientEfl::~NotificationClientEfl): (WebCore::NotificationClientEfl::show): (WebCore::NotificationClientEfl::cancel): (WebCore::NotificationClientEfl::notificationObjectDestroyed): (WebCore::NotificationClientEfl::notificationControllerDestroyed): (WebCore::NotificationClientEfl::requestPermission): (WebCore::NotificationClientEfl::checkPermission): (WebCore::NotificationClientEfl::cancelRequestsForPermission): * WebCoreSupport/NotificationClientEfl.h: Renamed from Source/WebKit/efl/WebCoreSupport/NotificationPresenterClientEfl.h. (WebCore): (NotificationClientEfl): 2012-06-29 Krzysztof Czech , Tomasz Morawski [EFL] Implementation of testing framework and unit tests for WebKit-EFL port. https://bugs.webkit.org/show_bug.cgi?id=68509 Reviewed by Chang Shu. Testing framework is based on gtest library. Gtest library is part of the WebKit project. Framework is devided into base part and view part. Base part takes care of efl initialization, defines test macros and prepares test to run. View part is a context of each test. * tests/UnitTestUtils/EWKTestBase.cpp: Added. (EWKUnitTests): (EWKUnitTests::EWKTestBase::init): (EWKUnitTests::EWKTestBase::shutdown): (EWKUnitTests::EWKTestBase::shutdownAll): (EWKUnitTests::EWKTestBase::startTest): (EWKUnitTests::EWKTestBase::endTest): (EWKUnitTests::EWKTestBase::createTest): (EWKUnitTests::EWKTestBase::runTest): * tests/UnitTestUtils/EWKTestBase.h: Added. (EWKUnitTests): (EWKTestBase): * tests/UnitTestUtils/EWKTestConfig.h: Added. (Config): * tests/UnitTestUtils/EWKTestView.cpp: Added. (EWKUnitTests): (EWKUnitTests::EWKTestEcoreEvas::EWKTestEcoreEvas): (EWKUnitTests::EWKTestEcoreEvas::evas): (EWKUnitTests::EWKTestEcoreEvas::show): (EWKUnitTests::EWKTestView::EWKTestView): (EWKUnitTests::EWKTestView::init): (EWKUnitTests::EWKTestView::show): (EWKUnitTests::EWKTestView::mainFrame): (EWKUnitTests::EWKTestView::evas): (EWKUnitTests::EWKTestView::bindEvents): * tests/UnitTestUtils/EWKTestView.h: Added. (EWKUnitTests): (EWKTestEcoreEvas): (EWKTestView): (EWKUnitTests::EWKTestView::webView): * tests/resources/default_test_page.html: Added. * tests/test_ewk_view.cpp: Added. (ewkViewEditableGetCb): (TEST): (ewkViewUriGetCb): * tests/test_runner.cpp: Added. (parseCustomArguments): (main): 2012-06-29 Konrad Piascik Don't hardcode target dpi of 160 (it should be 96 on desktop) https://bugs.webkit.org/show_bug.cgi?id=88114 Reviewed by Adam Barth. Updated the call to computeViewportAttributes. * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: (DumpRenderTreeSupportEfl::dumpConfigurationForViewport): * ewk/ewk_view.cpp: (_ewk_view_viewport_attributes_compute): 2012-06-27 Sheriff Bot Unreviewed, rolling out r121398. http://trac.webkit.org/changeset/121398 https://bugs.webkit.org/show_bug.cgi?id=90136 broke efl build (Requested by ryuan on #webkit). * tests/UnitTestUtils/EWKTestBase.cpp: Removed. * tests/UnitTestUtils/EWKTestBase.h: Removed. * tests/UnitTestUtils/EWKTestConfig.h: Removed. * tests/UnitTestUtils/EWKTestView.cpp: Removed. * tests/UnitTestUtils/EWKTestView.h: Removed. * tests/resources/default_test_page.html: Removed. * tests/test_ewk_view.cpp: Removed. * tests/test_runner.cpp: Removed. 2012-06-27 Krzysztof Czech [EFL] Implementation of testing framework and unit tests for WebKit-EFL port. https://bugs.webkit.org/show_bug.cgi?id=68509 Reviewed by Chang Shu. Testing framework is based on gtest library. Gtest library is part of the WebKit project. Framework is devided into base part and view part. Base part takes care of efl initialization, defines test macros and prepares test to run. View part is a context of each test. * tests/UnitTestUtils/EWKTestBase.cpp: Added. (EWKUnitTests): (EWKUnitTests::EWKTestBase::init): (EWKUnitTests::EWKTestBase::shutdown): (EWKUnitTests::EWKTestBase::shutdownAll): (EWKUnitTests::EWKTestBase::startTest): (EWKUnitTests::EWKTestBase::endTest): (EWKUnitTests::EWKTestBase::createTest): (EWKUnitTests::EWKTestBase::runTest): * tests/UnitTestUtils/EWKTestBase.h: Added. (EWKUnitTests): (EWKTestBase): * tests/UnitTestUtils/EWKTestConfig.h: Added. (Config): * tests/UnitTestUtils/EWKTestView.cpp: Added. (EWKUnitTests): (EWKUnitTests::EWKTestEcoreEvas::EWKTestEcoreEvas): (EWKUnitTests::EWKTestEcoreEvas::evas): (EWKUnitTests::EWKTestEcoreEvas::show): (EWKUnitTests::EWKTestView::EWKTestView): (EWKUnitTests::EWKTestView::init): (EWKUnitTests::EWKTestView::show): (EWKUnitTests::EWKTestView::mainFrame): (EWKUnitTests::EWKTestView::evas): (EWKUnitTests::EWKTestView::bindEvents): * tests/UnitTestUtils/EWKTestView.h: Added. (EWKUnitTests): (EWKTestEcoreEvas): (EWKTestView): (EWKUnitTests::EWKTestView::webView): * tests/resources/default_test_page.html: Added. * tests/test_ewk_view.cpp: Added. (ewkViewEditableGetCb): (TEST): (ewkViewUriGetCb): * tests/test_runner.cpp: Added. (parseCustomArguments): (main): 2012-06-25 Mark Hahnenberg JSLock should be per-JSGlobalData https://bugs.webkit.org/show_bug.cgi?id=89123 Reviewed by Geoffrey Garen. Changed all sites that used JSLock to instead use the new JSLockHolder and pass in the correct JS context that the code is about to interact with that needs protection. Also added a couple JSLocks to places that didn't already have it that needed it. * ewk/ewk_frame.cpp: (ewk_frame_script_execute): * ewk/ewk_view.cpp: (ewk_view_js_object_add): 2012-06-26 Gyuyoung Kim Change return type in bandwidth attribute of network information API https://bugs.webkit.org/show_bug.cgi?id=89959 Reviewed by Adam Barth. According to network information API spec, bandwidth attribute should return double type. But, existing implementation has used *long* and *unsigned int* types. * WebCoreSupport/NetworkInfoClientEfl.cpp: (WebCore::NetworkInfoClientEfl::bandwidth): * WebCoreSupport/NetworkInfoClientEfl.h: (NetworkInfoClientEfl): 2012-06-25 Gyuyoung Kim [EFL] Implement Network Information API https://bugs.webkit.org/show_bug.cgi?id=87067 Reviewed by Kenneth Rohde Christiansen. Implement NetworkInfoClientEfl.cpp using eeze library. However, this patch only supports this feature on ethernet interface. * WebCoreSupport/NetworkInfoClientEfl.cpp: (WebCore): (WebCore::NetworkInfoClientEfl::NetworkInfoClientEfl): (WebCore::NetworkInfoClientEfl::startUpdating): (WebCore::NetworkInfoClientEfl::stopUpdating): (WebCore::NetworkInfoClientEfl::bandwidth): (WebCore::NetworkInfoClientEfl::metered): * WebCoreSupport/NetworkInfoClientEfl.h: (NetworkInfoClientEfl): 2012-06-23 Sheriff Bot Unreviewed, rolling out r121058. http://trac.webkit.org/changeset/121058 https://bugs.webkit.org/show_bug.cgi?id=89809 Patch causes plugins tests to crash in GTK debug builds (Requested by zdobersek on #webkit). * ewk/ewk_frame.cpp: (ewk_frame_script_execute): * ewk/ewk_view.cpp: (ewk_view_js_object_add): 2012-06-22 Ryuan Choi [EFL][WK2] Support keyboard event https://bugs.webkit.org/show_bug.cgi?id=89268 Reviewed by Chang Shu. Extract keyDownCommandsMap and keyPressCommandsMap to share WebKit1/Efl and WebKit2/Efl. * WebCoreSupport/EditorClientEfl.cpp: (WebCore::EditorClientEfl::interpretKeyEvent): 2012-06-20 Mark Hahnenberg JSLock should be per-JSGlobalData https://bugs.webkit.org/show_bug.cgi?id=89123 Reviewed by Gavin Barraclough. Changed all sites that used JSLock to instead use the new JSLockHolder and pass in the correct JS context that the code is about to interact with that needs protection. * ewk/ewk_frame.cpp: (ewk_frame_script_execute): * ewk/ewk_view.cpp: (ewk_view_js_object_add): 2012-06-22 Amy Ousterhout Renamed DeviceOrientation to DeviceOrientationData https://bugs.webkit.org/show_bug.cgi?id=88663 Reviewed by Steve Block. Updated files to use the renamed DeviceOrientationData instead of DeviceOrientation. This change makes DeviceOrientationData consistent with DeviceMotionData. * WebCoreSupport/DeviceOrientationClientEfl.h: (DeviceOrientationClientEfl): 2012-06-19 Sergio Villar Senin Calling nativeImageForCurrentFrame() causes assertion failure: m_verifier.isSafeToUse() https://bugs.webkit.org/show_bug.cgi?id=67582 Reviewed by David Levin. Use synchronousNativeIconForPageURL() to retrieve favicons. * 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): 2012-06-19 Christophe Dumez [EFL] EFL's LayoutTestController does not support setTextDirection https://bugs.webkit.org/show_bug.cgi?id=87481 Reviewed by Hajime Morita. Add new Ewk_View method to set the text direction, by calling Editor::setBaseWritingDirection() internally, as Mac and Chromium ports do. * WebCoreSupport/AssertMatchingEnums.cpp: * ewk/ewk_view.cpp: (ewk_view_text_direction_set): * ewk/ewk_view.h: 2012-06-15 Christophe Dumez [EFL] EFL's LayoutTestController does not support titleTextDirection https://bugs.webkit.org/show_bug.cgi?id=86475 Reviewed by Hajime Morita. Emit the "title,changed" signal even if the title direction has changed but not its text. * ewk/ewk_frame.cpp: (ewk_frame_title_set): 2012-06-14 Ryuan Choi [EFL] Move cursor related code from WidgetEfl to ewk_view and EflScreenUtilities. https://bugs.webkit.org/show_bug.cgi?id=88803 Reviewed by Chang Shu. Because WebProcess can not control cursor, setCursor should be passed to ChromeClient like other ports. * WebCoreSupport/ChromeClientEfl.cpp: (WebCore::ChromeClientEfl::setCursor): * ewk/ewk_view.cpp: (_Ewk_View_Private_Data): (_ewk_view_priv_new): Check whether ecore_x can be used. (_ewk_view_priv_del): (_ewk_view_smart_add): Change order of initialization to use base structure in _ewk_view_priv_new. (ewk_view_cursor_set): Moved from Widget::applyCursor. * ewk/ewk_view_private.h: (WebCore): 2012-06-14 Sudarsana Nagineni [EFL] [DRT] Implement setDomainRelaxationForbiddenForURLScheme in EFL DRT https://bugs.webkit.org/show_bug.cgi?id=84577 Reviewed by Ryosuke Niwa. Add missing implementation setDomainRelaxationForbiddenForURLScheme to EFL's DumpRenderTreeSupport to allow disabling domain relaxation. * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: (DumpRenderTreeSupportEfl::setDomainRelaxationForbiddenForURLScheme): * WebCoreSupport/DumpRenderTreeSupportEfl.h: 2012-06-13 Amy Ousterhout Rename currentDeviceMotion to lastMotion in DeviceMotionClient https://bugs.webkit.org/show_bug.cgi?id=88854 Reviewed by Adam Barth. Rename the function currentDeviceMotion to lastMotion in DeviceMotionClient. This makes it consistent with the similar function lastOrientation in DeviceOrientationClient. * WebCoreSupport/DeviceMotionClientEfl.cpp: (WebCore::DeviceMotionClientEfl::lastMotion): * WebCoreSupport/DeviceMotionClientEfl.h: (DeviceMotionClientEfl): 2012-06-12 Christophe Dumez [EFL] Enable SHADOW_DOM flag https://bugs.webkit.org/show_bug.cgi?id=87732 Reviewed by Kentaro Hara. Add Ewk setting to toggle Shadow DOM support at runtime. * ewk/ewk_settings.cpp: (ewk_settings_shadow_dom_enable_get): (ewk_settings_shadow_dom_enable_set): * ewk/ewk_settings.h: 2012-06-11 Kaustubh Atrawalkar [DRT] LTC:: counterValueForElementById() could be moved to Internals. https://bugs.webkit.org/show_bug.cgi?id=84406 Reviewed by Hajime Morita. Move the counterValueForElementById from LayoutTestCotroller to Internals and remove the old platform specific implementations as it exclusively tests WebCore functionality. * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: 2012-06-05 Adam Barth Remove support for target-densitydpi in the viewport meta tag https://bugs.webkit.org/show_bug.cgi?id=88047 Reviewed by Kenneth Rohde Christiansen. * ewk/ewk_view.cpp: (_ewk_view_priv_new): 2012-06-05 Dongwoo Im Add 'isProtocolHandlerRegistered' and 'unregisterProtocolHandler'. https://bugs.webkit.org/show_bug.cgi?id=73176 Reviewed by Adam Barth. Two more APIs are added in Custom Scheme Handler specification. http://dev.w3.org/html5/spec/Overview.html#custom-handlers One is 'isProtocolHandlerRegistered' to query whether the specific URL is registered or not. The other is 'unregisterProtocolHandler' to remove the registered URL. * WebCoreSupport/ChromeClientEfl.cpp: (WebCore::customHandlerDataCreate): (WebCore::customHandlerDataDelete): (WebCore::ChromeClientEfl::registerProtocolHandler): (WebCore): (WebCore::ChromeClientEfl::isProtocolHandlerRegistered): Query if the handler is registered. (WebCore::ChromeClientEfl::unregisterProtocolHandler): Unregister the registered handler. * WebCoreSupport/ChromeClientEfl.h: (ChromeClientEfl): * ewk/ewk_custom_handler.cpp: (ewk_custom_handler_is_protocol_handler_registered): Query if the handler is registered. (ewk_custom_handler_unregister_protocol_handler): Unregister the registered handler. * ewk/ewk_custom_handler_private.h: Adds private function. * ewk/ewk_view.h: Adds enumeration. 2012-06-04 Tomasz Morawski [EFL] Refactor ewk_view_context_paint code. https://bugs.webkit.org/show_bug.cgi?id=85588 Reviewed by Hajime Morita. The main purpose of this change is reduce size of ewk_view.h/cpp files and make use of ewk_view_context_paint object by ewk_view_single and ewk_view_tiled instead of direct operations on cairo. The code is more objective and looks very simple now. Remove ewk_view_context_paint code from ewk_view h/cpp file and move it to separate new ewk_context_paint file. The ewk_view_context_paint has been renamed to ewk_context_paint and it is not binded to view on creation time. * ewk/ewk_paint_context.cpp: Added. Functions renamed and moved from ewk_view to ewk_paint_context file. (ewk_paint_context_new): (ewk_paint_context_from_image_new): New function. (ewk_paint_context_from_image_data_new): New function. (ewk_paint_context_free): (ewk_paint_context_save): (ewk_paint_context_restore): (ewk_paint_context_clip): (ewk_paint_context_scale): (ewk_paint_context_translate): (ewk_paint_context_paint): Added FrameView parameter. (ewk_paint_context_paint_contents): Added FrameView parameter. * ewk/ewk_paint_context_private.h: Added. (_Ewk_Paint_Context): * ewk/ewk_private.h: Functions ewk_view_paint and ewk_view_paint_contents moved from ewk_view.h. * ewk/ewk_tiled_backing_store.h: Removed unused include. * ewk/ewk_view.cpp: Moved all function releated to paint context object to new ewk_paint_context file. (_Ewk_View_Private_Data): (ewk_view_paint): Changed function according change in ewk_paint_context_paint function. (ewk_view_paint_contents): Changed function according change in ewk_paint_context_paint_contents function. * ewk/ewk_view.h: Removed all paint context functions and ewk_view_paint, ewk_view_paint_contents function from public API. * ewk/ewk_view_single.cpp: (_ewk_view_single_smart_repaints_process): Refactor of _ewk_view_single_smart_repaints_process function. Removed goto statements. Removed variables declaration from function beginning. * ewk/ewk_view_tiled.cpp: (_ewk_view_tiled_render_cb): Make use of ewk_paint_context object instead of direction operation on cairo. Looks simpler and more objective. 2012-06-03 Gyuyoung Kim Add ewk_custom_handler_private.h for ewk_custom_handler.cpp https://bugs.webkit.org/show_bug.cgi?id=88163 Reviewed by Ryosuke Niwa. EFL WK1 decided to divide up ewk_private.h into each file's XXX_private.h file in order to maintain internal functions more easily. Bug 73176 is adding new internal functions to ewk_custom_hanlder.cpp. So, ewk_custom_handler.cpp needs to have _private.h file as well. * WebCoreSupport/ChromeClientEfl.cpp: * ewk/ewk_custom_handler.cpp: * ewk/ewk_custom_handler_private.h: Added. * ewk/ewk_view_private.h: 2012-06-01 Christophe Dumez [EFL] EFL port does not enable WEB_INTENTS_TAG flag https://bugs.webkit.org/show_bug.cgi?id=86866 Reviewed by Adam Barth. Implement registerIntentService() in EFL's FrameLoaderClient. Emit a "intent,service,register" signal on the frame when a new Web Intent service registers. * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore): (WebCore::FrameLoaderClientEfl::registerIntentService): * WebCoreSupport/FrameLoaderClientEfl.h: (FrameLoaderClientEfl): * ewk/ewk_frame.cpp: (ewk_frame_intent_service_register): * ewk/ewk_frame.h: * ewk/ewk_frame_private.h: 2012-06-01 Christophe Dumez [EFL] ewk_intent_data_get() is not needed and can be removed https://bugs.webkit.org/show_bug.cgi?id=88072 Reviewed by Adam Barth. Remove ewk_intent_data_get() method from Ewk_Intent. Intent data is serialized and does not need to be publicly exposed. The browser only needs action and type to match with services. * ewk/ewk_intent.cpp: (_Ewk_Intent): (ewk_intent_action_get): (ewk_intent_type_get): (ewk_intent_service_get): (ewk_intent_free): * ewk/ewk_intent.h: 2012-06-01 Christophe Dumez [EFL] EFL's LayoutTestController needs to implement deliverWebIntent https://bugs.webkit.org/show_bug.cgi?id=86865 Reviewed by Adam Barth. Add method on Ewk_Frame to deliver an intent. Add helper function to DumpRenderTreeSupportEfl to deliver a Web Intent. * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: (DumpRenderTreeSupportEfl::deliverWebIntent): * WebCoreSupport/DumpRenderTreeSupportEfl.h: * ewk/ewk_frame.cpp: (ewk_frame_intent_deliver): * ewk/ewk_frame.h: 2012-06-01 Sheriff Bot Unreviewed, rolling out r119228. http://trac.webkit.org/changeset/119228 https://bugs.webkit.org/show_bug.cgi?id=88098 Caused the EFL debug bot to crash. (Requested by rakuco on #webkit). * ewk/ewk_main.cpp: (ewk_init): 2012-06-01 Christophe Dumez [EFL] [DRT] editing/execCommand/paste-and-match-style-event.html crashes https://bugs.webkit.org/show_bug.cgi?id=86961 Reviewed by Csaba Osztrogonác. Call ecore_x_init() in ewk_init() to initialize the ecore_x library. This avoids crashing upong calling WebCore::systemBeep() which uses ecore_x_bell() internally. * ewk/ewk_main.cpp: (ewk_init): 2012-06-01 Mikhail Pozdnyakov [EFL] New signals in ewk_view to enable global history delegate functionality https://bugs.webkit.org/show_bug.cgi?id=86343 Reviewed by Kenneth Rohde Christiansen. Global history delegate is an interface for WebKit clients to manage their own global history store. The new ewk_view signals do the following: 1) report that a navigation happened within the view and give the navigation details. 2) report that view performed a client redirect and give source and destination uris. 3) report that view performed a server redirect and give source and destination uris. * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::updateGlobalHistoryRedirectLinks): implementation added. (WebCore::FrameLoaderClientEfl::updateGlobalHistory): implementation added. * ewk/ewk_view.h: Added new signals and data types. 2012-06-01 Sudarsana Nagineni [EFL] Implement PlatformStrategies https://bugs.webkit.org/show_bug.cgi?id=86946 Reviewed by Carlos Garcia Campos. Enable PLATFORM_STRATEGIES for EFL platform. * WebCoreSupport/PlatformStrategiesEfl.cpp: Added, code was moved from platform/PluginDataEfl. (PlatformStrategiesEfl::initialize): Initialize platform strategies. (PlatformStrategiesEfl::PlatformStrategiesEfl): (PlatformStrategiesEfl::createCookiesStrategy): Return this. (PlatformStrategiesEfl::createPluginStrategy): Ditto. (PlatformStrategiesEfl::createVisitedLinkStrategy): Ditto. (PlatformStrategiesEfl::createPasteboardStrategy): Return 0, since PasteboardStrategy is only used by mac code for now. (PlatformStrategiesEfl::notifyCookiesChanged): (PlatformStrategiesEfl::refreshPlugins): Refresh the plugin database. Code executes only when NETSCAPE_PLUGIN_API is ON. (PlatformStrategiesEfl::getPluginInfo): Initialize plugins and populate the given vector with plugins information. Code executes only when NETSCAPE_PLUGIN_API is ON. (PlatformStrategiesEfl::isLinkVisited): Return whether the given hash is a visited link of the page group. (PlatformStrategiesEfl::addVisitedLink): Add the given hash to the page group visited links. * WebCoreSupport/PlatformStrategiesEfl.h: Added. (PlatformStrategiesEfl): * ewk/ewk_main.cpp: Initialize PlatformStrategiesEfl. (_ewk_init_body): 2012-05-31 Alexander Shalamov [EFL] is not a spinbutton https://bugs.webkit.org/show_bug.cgi?id=86846 Reviewed by Kenneth Rohde Christiansen. Implemented spinner widget. * DefaultTheme/default.edc: * DefaultTheme/widget/spinner/sp_bg.png: Added. * DefaultTheme/widget/spinner/sp_down_default.png: Added. * DefaultTheme/widget/spinner/sp_down_hover.png: Added. * DefaultTheme/widget/spinner/sp_down_pressed.png: Added. * DefaultTheme/widget/spinner/sp_up_default.png: Added. * DefaultTheme/widget/spinner/sp_up_hover.png: Added. * DefaultTheme/widget/spinner/sp_up_pressed.png: Added. * DefaultTheme/widget/spinner/spinner.edc: Added. 2012-05-31 Hajime Morrita REGRESSION(r117572): editing/spelling/spellcheck-async-remove-frame.html crashes on Mac https://bugs.webkit.org/show_bug.cgi?id=86859 Reviewed by Ryosuke Niwa. * WebCoreSupport/EditorClientEfl.h: (WebCore::EditorClientEfl::requestCheckingOfString): 2012-05-31 Jussi Kukkonen [EFL][DRT] LayoutTestController does not implement clearApplicationCacheForOrigin https://bugs.webkit.org/show_bug.cgi?id=86195 Reviewed by Gustavo Noronha Silva. add new function to clear security origin application cache, and a function to create a security origin from url string. Reindent the header to match new longer return signature. * ewk/ewk_security_origin.cpp: (ewk_security_origin_application_cache_clear): (ewk_security_origin_new_from_string): * ewk/ewk_security_origin.h: 2012-05-30 Christophe Dumez [EFL] EFL's DRT should print the number of MessagePorts for new each new intent https://bugs.webkit.org/show_bug.cgi?id=86841 Reviewed by Adam Barth. Add EWKPrivate method to retrieve the internal WebCore object for a Ewk_Intent. Add helper function to DumpRenderTreeSupportEfl that returns the MessagePorts for a Ewk_Intent object so that the DRT can print information about them. * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: (DumpRenderTreeSupportEfl::intentMessagePorts): * WebCoreSupport/DumpRenderTreeSupportEfl.h: (WebCore): * ewk/ewk_intent.cpp: (EWKPrivate): (EWKPrivate::coreIntent): * ewk/ewk_intent_private.h: (EWKPrivate): 2012-05-30 Christophe Dumez [EFL] Ewk_Intent_Request's postResult/postFailure should take serialized script values in argument https://bugs.webkit.org/show_bug.cgi?id=87829 Reviewed by Adam Barth. Ewk_Intent_Request's postResult/postFailure methods now take SerializedScriptValues in argument instead of strings. The client can now post results of any type, not just strings, which is according to spec. Those methods are now moved to private header and a helper function was added to DumpRenderTreeSupportEfl so that the DRT can still send intent results. * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: (DumpRenderTreeSupportEfl::sendWebIntentResponse): * WebCoreSupport/DumpRenderTreeSupportEfl.h: * ewk/ewk_intent_private.h: (WebCore): * ewk/ewk_intent_request.cpp: (ewk_intent_request_result_post): (ewk_intent_request_failure_post): * ewk/ewk_intent_request.h: 2012-05-29 Christophe Dumez [EFL] Compilation warning in DumpRenderTreeView.cpp https://bugs.webkit.org/show_bug.cgi?id=87636 Reviewed by Filip Pizlo. Fix return type of exceeded_application_cache_quota callback, it should be int64_t, not uint64_t. * ewk/ewk_view.h: 2012-05-25 Jesus Sanchez-Palencia WebKitTestRunner needs to support layoutTestController.setJavaScriptProfilingEnabled https://bugs.webkit.org/show_bug.cgi?id=42328 Reviewed by Eric Seidel. Removed unneeded setJavaScriptProfilingEnabled function from DRT after its move to windows.internals.settings. * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: * WebCoreSupport/DumpRenderTreeSupportEfl.h: 2012-05-25 Mikhail Pozdnyakov [EFL] API for PageGroup visited links hash populating https://bugs.webkit.org/show_bug.cgi?id=86370 Reviewed by Kenneth Rohde Christiansen. Added "populate,visited,links" ewk_view signal that tells to the client managing persistent history storage to fill the visited links cache. Added API for the PageGroup visited links hash populating. * WebCoreSupport/ChromeClientEfl.cpp: (WebCore::ChromeClientEfl::populateVisitedLinks): Implementation added (sends notification). (WebCore): * WebCoreSupport/ChromeClientEfl.h: (ChromeClientEfl): * ewk/ewk_view.cpp: (_Ewk_View_Private_Data): (ewk_view_visited_link_add): PageGroup visited links hash populating. * ewk/ewk_view.h: 2012-05-24 Mikhail Pozdnyakov [EFL][DRT] LayoutTestController's setCacheModel() implementation https://bugs.webkit.org/show_bug.cgi?id=86840 Reviewed by Csaba Osztrogonác. * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: (DumpRenderTreeSupportEfl::setDeadDecodedDataDeletionInterval): Aux wrapper function for DRT. * WebCoreSupport/DumpRenderTreeSupportEfl.h: 2012-05-24 Christophe Dumez [EFL] EFL's LayoutTestController needs to implement sendWebIntentResponse https://bugs.webkit.org/show_bug.cgi?id=86867 Reviewed by Adam Barth. ewk_intent_request_failure_post() should call WebCore::IntentRequest::postFailure(), not WebCore::IntentRequest::postResult(). * ewk/ewk_intent_request.cpp: (ewk_intent_request_failure_post): 2012-05-24 Christophe Dumez [EFL] The EFL port has no support for title directionality https://bugs.webkit.org/show_bug.cgi?id=86462 Reviewed by Gustavo Noronha Silva. Define a new Ewk_Text_With_Direction type to store the direction of the text along with the text itself. This is needed to support text directionality in EFL port. Use the new Ewk_Text_With_Direction type for the frame title. Updated "title,changed" signal, title getter/setter and Ewk_Hit_Test struct. * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::dispatchDidReceiveTitle): * ewk/ewk_frame.cpp: (Ewk_Frame_Smart_Data): (_ewk_frame_smart_del): (ewk_frame_title_get): (ewk_frame_hit_test_free): (ewk_frame_hit_test_new): (ewk_frame_title_set): * ewk/ewk_frame.h: * ewk/ewk_frame_private.h: * ewk/ewk_view.cpp: (_Ewk_View_Private_Data): (ewk_view_title_get): (ewk_view_title_set): * ewk/ewk_view.h: * ewk/ewk_view_private.h: 2012-05-23 Christophe Dumez [EFL] EFL's DRT does not print didFailProvisionalLoadWithError messages https://bugs.webkit.org/show_bug.cgi?id=85956 Reviewed by Gustavo Noronha Silva. Add new "load,provisional,failed" signal on the frame and the view to complement the "load,provisional" one. * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::dispatchDidFailProvisionalLoad): * ewk/ewk_frame.cpp: (ewk_frame_load_provisional_failed): * ewk/ewk_frame.h: * ewk/ewk_frame_private.h: * ewk/ewk_view.cpp: (ewk_view_load_provisional_failed): * ewk/ewk_view.h: * ewk/ewk_view_private.h: 2012-05-23 Christophe Dumez [EFL] EFL's DRT needs to call Settings::setValidationMessageTimerMagnification(-1) https://bugs.webkit.org/show_bug.cgi?id=86366 Reviewed by Antonio Gomes. Add helper function to DumpRenderTreeSupportEfl to set the validation message timer magnification. * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: (DumpRenderTreeSupportEfl::setValidationMessageTimerMagnification): * WebCoreSupport/DumpRenderTreeSupportEfl.h: 2012-05-22 Dongwoo Im [EFL] Implements the registerProtocolHandler method and option. https://bugs.webkit.org/show_bug.cgi?id=73638 Reviewed by Andreas Kling. The registerProtocolHandler() method allows Web sites to register themselves as possible handlers for particular schemes. http://dev.w3.org/html5/spec/Overview.html#dom-navigator-registerprotocolhandler * WebCoreSupport/ChromeClientEfl.cpp: Adds a new function. (WebCore): (WebCore::customHandlersDataCreate): Creates and fills the data object. (WebCore::customHandlersDataDelete): Deletes the data object. (WebCore::ChromeClientEfl::registerProtocolHandler): Registers a protocol and the handler of it. * WebCoreSupport/ChromeClientEfl.h: Adds a prototype. (ChromeClientEfl): * ewk/ewk_custom_handlers.cpp: Added. (ewk_custom_handlers_register_protocol_handler): * ewk/ewk_view.h: Adds Data structure. * ewk/ewk_view_private.h: Adds private function. 2012-05-22 Kangil Han [EFL][DRT] Implement touch event https://bugs.webkit.org/show_bug.cgi?id=86720 Reviewed by Hajime Morita. Currently EFL DRT doesn't support touch event. Therefore, this patch enabled it and implemented some eventSender function callbacks. * ewebkit.pc.in: * ewk/ewk_frame.cpp: (ewk_frame_feed_touch_event): * ewk/ewk_frame.h: 2012-05-22 Christophe Dumez [EFL] EFL's DRT needs to print information about received Web Intents https://bugs.webkit.org/show_bug.cgi?id=86864 Reviewed by Adam Barth. * ewk/ewk_intent.cpp: (ewk_intent_suggestions_get): Add function to retrieve suggested service URLs for an intent. (ewk_intent_extra_names_get): Add function to retrieve names of extra metadata for an intent. (ewk_intent_new): Correctly initialize Ewk_Intent members to avoid crashes. (ewk_intent_free): Unref shared strings. * ewk/ewk_intent.h: 2012-05-22 Sudarsana Nagineni [EFL] Add support to enable/disable DOM paste https://bugs.webkit.org/show_bug.cgi?id=85040 Reviewed by Gustavo Noronha Silva. Add support to enable/disable DOM paste setting so that document.execCommand() allows paste command when this setting is enabled. Also, update documentation for scripts_can_access_clipboard setting in ewk_view. * ewk/ewk_view.cpp: (_ewk_view_priv_new): (ewk_view_setting_scripts_can_access_clipboard_set): * ewk/ewk_view.h: 2012-05-21 Mikhail Pozdnyakov [EFL] Clients should be able to set page cache capacity. https://bugs.webkit.org/show_bug.cgi?id=86960 Reviewed by Csaba Osztrogonác. Exported memory page cache capacity getter and setter functions. Those will be used both by clients and DRT Layout Test Controller. * ewk/ewk_settings.cpp: (ewk_settings_page_cache_capacity_get): (ewk_settings_page_cache_capacity_set): * ewk/ewk_settings.h: 2012-05-21 Caio Marcelo de Oliveira Filho Move setEditingBehavior() from layoutTestController to window.internals https://bugs.webkit.org/show_bug.cgi?id=42689 Reviewed by Hajime Morita and Kenneth Rohde Christiansen. * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: * WebCoreSupport/DumpRenderTreeSupportEfl.h: 2012-05-21 Christophe Dumez [EFL] Minor style fixes in web intents code are needed https://bugs.webkit.org/show_bug.cgi?id=86986 Reviewed by Adam Barth. * ewk/EWebKit.h: Add new intent headers. * ewk/ewk_frame.h: Add missing underscores to EwkIntentRequest type. 2012-05-20 Mikhail Pozdnyakov [EFL] ewk_view navigation_policy_decision() input parameters should be extended https://bugs.webkit.org/show_bug.cgi?id=85048 Reviewed by Antonio Gomes. Introduced new enum Ewk_Navigation_Type cloning WebCore::NavigationType. Extended ewk_view navigation_policy_decision() input parameters with new navigationType parameter. This paramater gives more data for making a navigation policy decision and also provides dumping necessary for many Layout testcases. * WebCoreSupport/AssertMatchingEnums.cpp: * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::dispatchDecidePolicyForNavigationAction): * ewk/ewk_frame.h: * ewk/ewk_view_private.h: * ewk/ewk_view.cpp: (_Ewk_View_Private_Data): (ewk_view_navigation_policy_decision): * ewk/ewk_view.h: 2012-05-18 Raphael Kubo da Costa [EFL][DRT] Make it possible to enable CSS Grid Layout. https://bugs.webkit.org/show_bug.cgi?id=86921 Reviewed by Tony Chang. * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: (DumpRenderTreeSupportEfl::setCSSGridLayoutEnabled): * WebCoreSupport/DumpRenderTreeSupportEfl.h: 2012-05-18 Christophe Dumez [EFL] Web Intents code is not compiling https://bugs.webkit.org/show_bug.cgi?id=85364 Reviewed by Adam Barth. * WebCoreSupport/FrameLoaderClientEfl.cpp: Add missing header include. * ewk/ewk_intent_private.h: Ditto. * ewk/ewk_intent_request.cpp: (ewk_intent_request_new): Do not PassRefPtr after it becomes 0. 2012-05-18 Christophe Dumez [EFL] Default values for ewk_view video tracks settings should be documented https://bugs.webkit.org/show_bug.cgi?id=85169 Reviewed by Antonio Gomes. Document default values for video tracks settings in ewk_view. * ewk/ewk_view.h: 2012-05-18 Mikhail Pozdnyakov [EFL] Text input events are emitted for nodes that do not allow editing. https://bugs.webkit.org/show_bug.cgi?id=86836 Reviewed by Kenneth Rohde Christiansen. Text input events are not anymore emitted for nodes that do not allow editing. This can be checked with fast/events/key-events-in-input-button.html test output. * WebCoreSupport/EditorClientEfl.cpp: (WebCore::EditorClientEfl::handleEditingKeyboardEvent): Returns false if the node cannot edit. 2012-05-18 MORITA Hajime https://bugs.webkit.org/show_bug.cgi?id=85515 Stale frame in WebCore::SpellChecker::didCheckSucceeded Reviewed by Ryosuke Niwa. * WebCoreSupport/EditorClientEfl.h: (WebCore::EditorClientEfl::frameWillDetachPage): 2012-05-18 Sudarsana Nagineni [EFL] DRT needs an implementation of layoutTestController.setSerializeHTTPLoads https://bugs.webkit.org/show_bug.cgi?id=86101 Reviewed by Ryosuke Niwa. Add missing implementation setSerializeHTTPLoads to EFL's DumpRenderTreeSupport to allow testing resource load order. * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: (DumpRenderTreeSupportEfl::setSerializeHTTPLoads): * WebCoreSupport/DumpRenderTreeSupportEfl.h: 2012-05-18 Christophe Dumez [EFL] appcache tests are flaky https://bugs.webkit.org/show_bug.cgi?id=86619 Reviewed by Ryosuke Niwa. No longer set the application cache path in ewk_main since the path can only be set once and this prevents DRT (or apps) to set it. Update the ewk_settings documentation to reflect these changes. * ewk/ewk_main.cpp: (_ewk_init_body): * ewk/ewk_settings.h: 2012-05-18 Christophe Dumez [EFL] Add simple implementation of Web Intents https://bugs.webkit.org/show_bug.cgi?id=86354 Reviewed by Eric Seidel. Add new EFL wrappers for WebCore's Intent and IntentRequest. Implement dispatchIntent() in EFL's FrameLoaderClient and emit a new "intent,new" signal on the frame to notify clients of new intent requests. * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore): (WebCore::FrameLoaderClientEfl::dispatchIntent): * WebCoreSupport/FrameLoaderClientEfl.h: (FrameLoaderClientEfl): * ewk/ewk_frame.cpp: (ewk_frame_intent_new): * ewk/ewk_frame.h: * ewk/ewk_frame_private.h: * ewk/ewk_intent.cpp: Added. (_Ewk_Intent): (ewk_intent_action_get): (ewk_intent_type_get): (ewk_intent_data_get): (ewk_intent_service_get): (ewk_intent_extra_get): (ewk_intent_new): (ewk_intent_free): * ewk/ewk_intent.h: Added. * ewk/ewk_intent_private.h: Added. (WebCore): * ewk/ewk_intent_request.cpp: Added. (_Ewk_Intent_Request): (ewk_intent_request_ref): (ewk_intent_request_unref): (ewk_intent_request_intent_get): (ewk_intent_request_result_post): (ewk_intent_request_failure_post): (ewk_intent_request_new): * ewk/ewk_intent_request.h: Added. 2012-05-17 Raphael Kubo da Costa [EFL][DRT] Call resetInternalsObject() after each test. https://bugs.webkit.org/show_bug.cgi?id=86793 Reviewed by Antonio Gomes. We need to reset the internals object's settings after running each test so that there are no interferences between each test's results. * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: (DumpRenderTreeSupportEfl::globalContextRefForFrame): * WebCoreSupport/DumpRenderTreeSupportEfl.h: 2012-05-17 Sudarsana Nagineni Memory leak in NetworkInfoClient https://bugs.webkit.org/show_bug.cgi?id=86603 Reviewed by Adam Barth. Fix a memory leak in NetworkInfoClient by using OwnPtr and making the client to be owned by the View. * ewk/ewk_view.cpp: (_Ewk_View_Private_Data): (_ewk_view_priv_new): 2012-05-17 Hironori Bono [Refactoring] Move platform-specific code in Editor::respondToChangedSelection to the WebKit layer https://bugs.webkit.org/show_bug.cgi?id=86591 Reviewed by Ryosuke Niwa. This change adds a TextCheckerClient::shouldEraseMarkersAfterChangeSelection function to remove platform-specific code from Editor::respondToChangedSelection function. No new tests, no change in behavior. * WebCoreSupport/EditorClientEfl.cpp: (WebCore::EditorClientEfl::shouldEraseMarkersAfterChangeSelection): (WebCore): * WebCoreSupport/EditorClientEfl.h: (EditorClientEfl): 2012-05-17 Thiago Marcos P. Santos [EFL] Add API for Web Database handling https://bugs.webkit.org/show_bug.cgi?id=85178 Reviewed by Antonio Gomes. Add API for Web Database. This API will allow a browser to query information about size, name, filename and remove databases based on the origin. It will be also possible to list all databases for a given origin. * ewk/EWebKit.h: * ewk/ewk_security_origin.cpp: (ewk_security_origin_web_database_get_all): * ewk/ewk_security_origin.h: * ewk/ewk_settings.cpp: * ewk/ewk_settings.h: * ewk/ewk_web_database.cpp: Added. (_Ewk_Web_Database): (ewk_web_database_display_name_get): (ewk_web_database_expected_size_get): (ewk_web_database_filename_get): (ewk_web_database_name_get): (ewk_web_database_security_origin_get): (ewk_web_database_size_get): (ewk_web_database_remove): (ewk_web_database_remove_all): (ewk_web_database_free): (ewk_web_database_list_free): (ewk_web_database_new): * ewk/ewk_web_database.h: Added. * ewk/ewk_web_database_private.h: Copied from Source/WebKit/efl/ewk/EWebKit.h. (WebCore): 2012-05-17 Mariusz Grzegorczyk [EFL] [DRT] EFL's DumpRenderTree should support LayoutTestController's dumpEditingCallbacks() https://bugs.webkit.org/show_bug.cgi?id=84835 Reviewed by Eric Seidel. * WebCoreSupport/EditorClientEfl.cpp: Call appropriate callbacks for editing actions. (WebCore::EditorClientEfl::shouldDeleteRange): (WebCore::EditorClientEfl::shouldBeginEditing): (WebCore::EditorClientEfl::shouldEndEditing): (WebCore::EditorClientEfl::shouldInsertText): (WebCore::EditorClientEfl::shouldChangeSelectedRange): (WebCore::EditorClientEfl::shouldApplyStyle): (WebCore::EditorClientEfl::didBeginEditing): (WebCore::EditorClientEfl::didEndEditing): (WebCore::EditorClientEfl::shouldInsertNode): * WebCoreSupport/EditorClientEfl.h: Add structures needed by editing callbacks. (Ewk_Should_Insert_Node_Event): (Ewk_Should_Insert_Text_Event): (Ewk_Should_Change_Selected_Range_Event): (Ewk_Should_Apply_Style_Event): 2012-05-17 Grzegorz Czajkowski [EFL] Do not check NULL pointer allocated by new. https://bugs.webkit.org/show_bug.cgi?id=86610 Reviewed by Ryosuke Niwa. WebKit-Efl doesn't check pointers that are initialized by new. Those checks are not needed because new operator doesn't return NULL. Only an overloaded version of new returns NULL pointer. * ewk/ewk_tiled_matrix.cpp: (ewk_tile_matrix_entry_new): * ewk/ewk_view.cpp: (_ewk_view_core_frame_new): 2012-05-17 Mikhail Pozdnyakov [EFL] fast/frames/frame-crash-with-page-cache.html is crashing https://bugs.webkit.org/show_bug.cgi?id=85879 Reviewed by Noam Rosenthal. _ewk_frame_smart_del() is considering now that the frame can be present in cache. loader()->detachFromParent() is only applied for the main frame. loader()->cancelAndClear() is not used anymore. * ewk/ewk_frame.cpp: (_ewk_frame_smart_del): 2012-05-16 Tomasz Morawski [EFL] Restore accidentally changed copyrights. https://bugs.webkit.org/show_bug.cgi?id=86471 Reviewed by Antonio Gomes. Restore accidentally changed copyrights. * ewk/ewk_js_private.h: * ewk/ewk_security_origin_private.h: * ewk/ewk_view_private.h: 2012-05-16 Kihong Kwon [EFL] Support for Battery Status API on the WebKit-Efl https://bugs.webkit.org/show_bug.cgi?id=83254 Reviewed by Chang Shu. The set of e_dbus libraries, e_ukit library in particular, enables to support all types of battery status events (e.g., charging, chargingTime, dischargingTime, level). * WebCoreSupport/BatteryClientEfl.cpp: (WebCore::BatteryClientEfl::BatteryClientEfl): (WebCore::BatteryClientEfl::startUpdating): (WebCore::BatteryClientEfl::stopUpdating): (WebCore::BatteryClientEfl::setBatteryStatus): (WebCore): (WebCore::BatteryClientEfl::timerFired): (WebCore::BatteryClientEfl::getBatteryStatus): (WebCore::BatteryClientEfl::setBatteryClient): * WebCoreSupport/BatteryClientEfl.h: (WebCore::BatteryClientEfl::batteryStatus): (BatteryClientEfl): 2012-05-16 Thiago Marcos P. Santos [EFL] Fix uninitialized struct member added by r117258 https://bugs.webkit.org/show_bug.cgi?id=86611 Reviewed by Gustavo Noronha Silva. When adding a new member to _Ewk_View_Smart_Class, EWK_VIEW_SMART_CLASS_VERSION needs to be updated. * ewk/ewk_view.h: 2012-05-16 Christophe Dumez [EFL] EFL's LayoutTestController does not implement setApplicationCacheOriginQuota https://bugs.webkit.org/show_bug.cgi?id=85585 Reviewed by Gustavo Noronha Silva. Add new function to Ewk_Security_Origin to set the application cache quota. Implement reachedApplicationCacheOriginQuota in ChromeClientEfl. Add function to the Ewk_View to report that the application cache quota was reached. * WebCoreSupport/ChromeClientEfl.cpp: (WebCore::ChromeClientEfl::reachedApplicationCacheOriginQuota): * ewk/ewk_security_origin.cpp: (ewk_security_origin_application_cache_quota_set): * ewk/ewk_security_origin.h: * ewk/ewk_view.cpp: (_Ewk_View_Private_Data): (ewk_view_exceeded_application_cache_quota): * ewk/ewk_view.h: * ewk/ewk_view_private.h: 2012-05-16 Mikhail Pozdnyakov [EFL] EFL's LayoutTestController evaluateScriptInIsolatedWorld implementation https://bugs.webkit.org/show_bug.cgi?id=83776 Reviewed by Tor Arne Vestbø. Added helper new function implementing JS script evaluation in an isolated world. Worlds are cached by their id. * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: (DumpRenderTreeSupportEfl::evaluateScriptInIsolatedWorld): * WebCoreSupport/DumpRenderTreeSupportEfl.h: 2012-05-16 Michał Pakuła vel Rutka [EFL] Add new commands for Ewk_Editor_Command. https://bugs.webkit.org/show_bug.cgi?id=74921 Reviewed by Hajime Morita. Add new commands for Ewk_Editor_Command enum and introduce new table to keep enum and string values in sync. * ewk/ewk_view.cpp: Added a table with EditorCommand struct elements. (EditorCommand): Added structure consisting of enum and string value. (_Ewk_View_Private_Data): (_ewk_view_editor_command_string_get): Added. (ewk_view_editor_command_execute): * ewk/ewk_view.h: Ewk_Editor_Command enum extended. 2012-05-15 Kihong Kwon [EFL] Enable Fullscreen API https://bugs.webkit.org/show_bug.cgi?id=85870 Reviewed by Antonio Gomes. * WebCoreSupport/ChromeClientEfl.cpp: (WebCore::ChromeClientEfl::supportsFullScreenForElement): Add check routine if the full screen is enabled by page setting. * ewk/ewk_view.cpp: (_Ewk_View_Private_Data): (_ewk_view_priv_new): Add full screen setting to be true. 2012-05-15 Tomasz Morawski [EFL] Split ewk_private.h file to multiple private files. https://bugs.webkit.org/show_bug.cgi?id=84572 Reviewed by Antonio Gomes. Split ewk_private file to multiple private files. Delete ewk_logging.h and ewk_tiled_private.h files and removed tiled_backing_store logging domain. * WebCoreSupport/ChromeClientEfl.cpp: * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: * WebCoreSupport/EditorClientEfl.cpp: * WebCoreSupport/FrameLoaderClientEfl.cpp: * ewk/ewk_auth.cpp: * ewk/ewk_auth_soup.cpp: (detach): * ewk/ewk_auth_soup_private.h: Renamed from Source/WebKit/efl/ewk/ewk_auth_soup.h. * ewk/ewk_contextmenu_private.h: Copied from Source/WebKit/efl/ewk/ewk_private.h. (WebCore): * ewk/ewk_frame.cpp: * ewk/ewk_frame_private.h: Added. (WebCore): (EWKPrivate): * ewk/ewk_history.cpp: * ewk/ewk_history_private.h: Copied from Source/WebKit/efl/ewk/ewk_private.h. (WebCore): (EWKPrivate): * ewk/ewk_js.cpp: * ewk/ewk_js_private.h: Copied from Source/WebKit/efl/ewk/ewk_private.h. (_Ewk_JS_Object): * ewk/ewk_main.cpp: * ewk/ewk_network.cpp: * ewk/ewk_private.h: (WebCore): * ewk/ewk_security_origin_private.h: Copied from Source/WebKit/efl/ewk/ewk_private.h. (WebCore): * ewk/ewk_settings.cpp: * ewk/ewk_settings_private.h: Copied from Source/WebKit/efl/ewk/ewk_private.h. * ewk/ewk_tiled_backing_store.cpp: (_Ewk_Tiled_Backing_Store_Item): (ewk_tiled_backing_store_add): * ewk/ewk_tiled_backing_store_private.h: Renamed from Source/WebKit/efl/ewk/ewk_tiled_backing_store.h. (_Ewk_Tile_Stats): (_Ewk_Tile): * ewk/ewk_tiled_matrix.cpp: * ewk/ewk_tiled_matrix_private.h: Renamed from Source/WebKit/efl/ewk/ewk_tiled_matrix.h. * ewk/ewk_tiled_model.cpp: (tile_account): * ewk/ewk_tiled_model_private.h: Renamed from Source/WebKit/efl/ewk/ewk_tiled_model.h. * ewk/ewk_util.cpp: * ewk/ewk_util_private.h: Renamed from Source/WebKit/efl/ewk/ewk_util.h. * ewk/ewk_view.cpp: (_Ewk_View_Private_Data): * ewk/ewk_view_private.h: Copied from Source/WebKit/efl/ewk/ewk_private.h. (WebCore): (EWKPrivate): * ewk/ewk_view_single.cpp: * ewk/ewk_view_tiled.cpp: * ewk/ewk_window_features.cpp: * ewk/ewk_window_features_private.h: Copied from Source/WebKit/efl/ewk/ewk_private.h. 2012-05-14 Raphael Kubo da Costa [EFL] Remove ewk_view_core_page_get(). https://bugs.webkit.org/show_bug.cgi?id=86326 Reviewed by Antonio Gomes. Right now, we have both ewk_view_core_page_get() and EWKPrivate::corePage() doing the same thing, but the latter is better encapsulated. Remove the former then. * WebCoreSupport/AcceleratedCompositingContextEfl.cpp: (WebCore::AcceleratedCompositingContext::syncLayersNow): Add missing ewk_private.h and use EWKPrivate::corePage(). * WebCoreSupport/ChromeClientEfl.cpp: (WebCore::ChromeClientEfl::createWindow): Use EWKPrivate::corePage(). * ewk/ewk_private.h: Remove ewk_view_core_page_get() declaration. * ewk/ewk_view.cpp: (_Ewk_View_Private_Data): (EWKPrivate::corePage): Fix coding style while here. 2012-05-11 Dominik Röttsches [EFL][DRT] Input Attribute Placeholder RefTests failing https://bugs.webkit.org/show_bug.cgi?id=85603 Reviewed by Hajime Morita. Removing color classes which we don't need anymore after RenderThemeEfl.cpp is less aggressively overriding styling. * DefaultTheme/default.edc: 2012-05-10 Gyuyoung Kim Move resumeAnimations to use Internals interface https://bugs.webkit.org/show_bug.cgi?id=86063 Reviewed by Alexey Proskuryakov. Remove resumeAnimations functions, because it is able to work in the cross-port way through the Internals interface. * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: * WebCoreSupport/DumpRenderTreeSupportEfl.h: 2012-05-10 Kangil Han [EFL][DRT] Editor doesn't cancel composition as change of value https://bugs.webkit.org/show_bug.cgi?id=85122 Reviewed by Martin Robinson. IME composition should be cancelled when the value of input element is changed programmatically. However, EFL port doesn't cancel as change of value. Therefore, this patch will fix the bug. * WebCoreSupport/EditorClientEfl.cpp: (WebCore::EditorClientEfl::respondToChangedSelection): 2012-05-10 Dominik Röttsches [EFL][DRT] ewk_view_paint_contents may trigger assertion failure https://bugs.webkit.org/show_bug.cgi?id=85058 Reviewed by Gustavo Noronha Silva. Fixing assertion failure triggered in media/media-fragment cases. The assertion is hit because of a race between scheduleRelayout() and the EWK's idle tiling painting. This is exposed by test cases that rapidly insert child nodes to the document which lead to scheduleRelayout() calls. Using the general purpose defensive layout function, not causing any extra relayout work if there's nothing to be done, but still avoiding the assertion failure if layout is needed. * ewk/ewk_view.cpp: (ewk_view_paint): (ewk_view_paint_contents): 2012-05-10 Sheriff Bot Unreviewed, rolling out r116633. http://trac.webkit.org/changeset/116633 https://bugs.webkit.org/show_bug.cgi?id=86093 Breaks EFL tests (Requested by kov on #webkit). * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: * WebCoreSupport/DumpRenderTreeSupportEfl.h: 2012-05-10 Alexander Shalamov [EFL] LayoutTestController needs implementation of setTabKeyCyclesThroughElements https://bugs.webkit.org/show_bug.cgi?id=82864 Reviewed by Gustavo Noronha Silva. Add missing implementation for setTabKeyCyclesThroughElements to EFL's DumpRenderTreeSupport. * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: (DumpRenderTreeSupportEfl::setTabKeyCyclesThroughElements): * WebCoreSupport/DumpRenderTreeSupportEfl.h: 2012-05-10 Mikhail Pozdnyakov [EFL][DRT] Clear added user style sheets before a new testcase execution. https://bugs.webkit.org/show_bug.cgi?id=84792 Reviewed by Gustavo Noronha Silva. Add a helper function for clearing of the added user style sheets. * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: (DumpRenderTreeSupportEfl::clearUserStyleSheets): * WebCoreSupport/DumpRenderTreeSupportEfl.h: 2012-05-09 Gyuyoung Kim Move suspendAnimations to use Internals interface. https://bugs.webkit.org/show_bug.cgi?id=85986 Reviewed by Ryosuke Niwa. Remove suspendAnimations functions, because it is able to work in the cross-port way through the Internals interface. * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: * WebCoreSupport/DumpRenderTreeSupportEfl.h: 2012-05-09 Christophe Dumez [EFL][DRT] EFL's DRT needs to support LayoutTestController.dumpIconChanges() https://bugs.webkit.org/show_bug.cgi?id=84435 Reviewed by Antonio Gomes. Emit a "icon,changed" signal on the frame when its favion changed. Clarify that the "icon,loaded" signal is only emitted for the main frame. * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::dispatchDidReceiveIcon): (WebCore::FrameLoaderClientEfl::dispatchDidChangeIcons): * ewk/ewk_frame.cpp: (ewk_frame_icon_changed): * ewk/ewk_frame.h: * ewk/ewk_private.h: 2012-05-09 Mikhail Pozdnyakov [EFL][DRT] LayoutTestController addUserScript implementation https://bugs.webkit.org/show_bug.cgi?id=84718 Reviewed by Antonio Gomes. Added helper functions for adding/clearing of user scripts. * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: (DumpRenderTreeSupportEfl::addUserScript): (DumpRenderTreeSupportEfl::clearUserScripts): * WebCoreSupport/DumpRenderTreeSupportEfl.h: 2012-05-08 Kangil Han [EFL][DRT] Implement TextInputController. https://bugs.webkit.org/show_bug.cgi?id=78559 Reviewed by Martin Robinson. TextInputController has been created for an input emulation purpose in DRT. However, not like other ports, EFL doesn't have it. Therefore, this patch will enable EFL port to have an input emulation in DRT. * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: (DumpRenderTreeSupportEfl::setComposition): (DumpRenderTreeSupportEfl::hasComposition): (DumpRenderTreeSupportEfl::compositionRange): (DumpRenderTreeSupportEfl::confirmComposition): (DumpRenderTreeSupportEfl::firstRectForCharacterRange): (DumpRenderTreeSupportEfl::selectedRange): * WebCoreSupport/DumpRenderTreeSupportEfl.h: 2012-04-23 Raphael Kubo da Costa [EFL] Pass a WTF::String directly from DRT to ewebkit when possible https://bugs.webkit.org/show_bug.cgi?id=84634 Reviewed by Gustavo Noronha Silva. Drop unnecessary const char* -> WTF::String conversions by creating String objects directly in LayoutTestController out of JSStringRef's and passing them to DumpRenderTreeSupportEfl. * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: (DumpRenderTreeSupportEfl::setValueForUser): (DumpRenderTreeSupportEfl::addUserStyleSheet): (DumpRenderTreeSupportEfl::findString): * WebCoreSupport/DumpRenderTreeSupportEfl.h: 2012-05-08 Krzysztof Czech [EFL] Update documentation of ewk_frame_contents_alternate_set and ewk_view_zoom_range_set. https://bugs.webkit.org/show_bug.cgi?id=84588 Reviewed by Eric Seidel. In ewk_frame_contents_alternate_set, param unreachableUri is required, must not be 0. In ewk_view_zoom_range_set, function returns EINA_FALSE only on failure, not when zoom range is changed. * ewk/ewk_frame.h: * ewk/ewk_view.h: 2012-05-07 Mikhail Pozdnyakov [EFL] Page caching permission from EFL's FrameLoaderClient https://bugs.webkit.org/show_bug.cgi?id=85620 Reviewed by Gustavo Noronha Silva. FrameLoaderClientEfl::canCachePage() returns true. * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::canCachePage): 2012-05-07 Grzegorz Czajkowski [EFL] Icon database path may be NULL when a new path was set. https://bugs.webkit.org/show_bug.cgi?id=82456 Reviewed by Andreas Kling. ewk_settings_icon_database_path_set calls asynchronous method WebCore::iconDatabase().open(). There is no notification when the new path is set by WebCore. Moreover ewk_settings_icon_database_path_set keeps the new path in a local variable. To retrieve path to icon database ewk_settings_icon_database_path_get can be called. It first checks flags whether icon databse is opened and enabled. There is possibility that icon database has been set through API but it hasn't been opened by WebCore yet. So as a result ewk_settings_icon_database_path_get returns NULL because WebCore hasn't set an appropriate flag yet. It may happen while icon database set/get sequences. Information whether icon database is opened/enabled should be exposed by separate API. * ewk/ewk_settings.cpp: (ewk_settings_icon_database_path_get): Skip checking whether icon database is opened, enabled. * ewk/ewk_settings.h: 2012-05-07 Sudarsana Nagineni [EFL][DRT] Implement LayoutTestController::execCommand https://bugs.webkit.org/show_bug.cgi?id=82286 Reviewed by Antonio Gomes. Add missing implementation execCommand and isCommandEnabled to EFL's DumpRenderTreeSupport to execute an internal command and check if the command is enabled. * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: (DumpRenderTreeSupportEfl::executeCoreCommandByName): (DumpRenderTreeSupportEfl::isCommandEnabled): * WebCoreSupport/DumpRenderTreeSupportEfl.h: 2012-05-06 Mikhail Pozdnyakov [EFL] EFL's LayoutTestController setJavaScriptCanAccessClipboard implementation https://bugs.webkit.org/show_bug.cgi?id=83687 Reviewed by Antonio Gomes. * ewk/ewk_view.cpp: (_Ewk_View_Private_Data): (_ewk_view_priv_new): (ewk_view_setting_scripts_can_access_clipboard_get): (ewk_view_setting_scripts_can_access_clipboard_set): * ewk/ewk_view.h: 2012-05-06 Gyuyoung Kim Convert isPageBoxVisible to use Internals interface. https://bugs.webkit.org/show_bug.cgi?id=85692 Reviewed by Darin Adler. Remove isPageBoxVisible functions, because it is able to work in the cross-port way through the Internals interface. * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: * WebCoreSupport/DumpRenderTreeSupportEfl.h: 2012-05-04 Christophe Dumez [EFL] Implement layoutTestController.dumpResourceResponseMIMETypes https://bugs.webkit.org/show_bug.cgi?id=84941 Reviewed by Martin Robinson. Extend Ewk_Frame_Resource_Response structure to pass resource MIME type information. * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::dispatchWillSendRequest): (WebCore::FrameLoaderClientEfl::dispatchDidReceiveResponse): * ewk/ewk_frame.h: 2012-05-04 Nate Chapin Don't require FrameLoaderClient to manufacture a commitData() call for empty documents. https://bugs.webkit.org/show_bug.cgi?id=85533 Reviewed by Alexey Proskuryakov. * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::FrameLoaderClientEfl): (WebCore): (WebCore::FrameLoaderClientEfl::finishedLoading): * WebCoreSupport/FrameLoaderClientEfl.h: (WebCore::FrameLoaderClientEfl::makeRepresentation): (WebCore::FrameLoaderClientEfl::revertToProvisionalState): (FrameLoaderClientEfl): 2012-05-04 Christophe Dumez [EFL] Frame load callbacks output is missing for redirections https://bugs.webkit.org/show_bug.cgi?id=85173 Reviewed by Antonio Gomes. Add a few redirection-related signals on the ewk_frame so that EFL's DumpRenderTree can print the expected output when LayoutTestController's dumpFrameLoadCallbacks() returns true. * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::dispatchWillSendRequest): (WebCore::FrameLoaderClientEfl::dispatchDidReceiveResponse): (WebCore::FrameLoaderClientEfl::dispatchDidReceiveServerRedirectForProvisionalLoad): (WebCore::FrameLoaderClientEfl::dispatchWillPerformClientRedirect): * ewk/ewk_frame.cpp: (ewk_frame_redirect_provisional_load): (ewk_frame_redirect_requested): * ewk/ewk_frame.h: * ewk/ewk_private.h: 2012-05-04 Christophe Dumez [EFL] LayoutTestController does not support overriding WebKitLoadSiteIconsKey https://bugs.webkit.org/show_bug.cgi?id=85171 Reviewed by Andreas Kling. Add a helper function to DumpRenderTreeSupportEfl to override the "WebKitLoadSiteIconsKey" setting on the view page. * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: (DumpRenderTreeSupportEfl::setLoadsSiteIconsIgnoringImageLoadingSetting): * WebCoreSupport/DumpRenderTreeSupportEfl.h: 2012-05-03 Fady Samuel Removing line in computeViewportAttributes that enforces a minimum scale factor to never allow zooming out more than viewport https://bugs.webkit.org/show_bug.cgi?id=70609 Reviewed by Kenneth Rohde Christiansen. * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: (DumpRenderTreeSupportEfl::dumpConfigurationForViewport): 2012-04-18 Jon Honeycutt FrameLoaderClient::dispatchWillSendSubmitEvent() should be given more information about the form being submitted https://bugs.webkit.org/show_bug.cgi?id=84297 Reviewed by Andy Estes. * WebCoreSupport/FrameLoaderClientEfl.h: (WebCore::FrameLoaderClientEfl::dispatchWillSendSubmitEvent): Updated method declaration. 2012-05-02 Emil A Eklund Fix usage of layout types in platform code https://bugs.webkit.org/show_bug.cgi?id=85392 Reviewed by Eric Seidel. * ewk/ewk_frame.cpp: (ewk_frame_focused_element_geometry_get): * ewk/ewk_view.cpp: (_Ewk_View_Private_Data): (ewk_view_scale_set): 2012-05-02 Mikhail Pozdnyakov [EFL] Hyperlink auditing ewk_view setting https://bugs.webkit.org/show_bug.cgi?id=84451 Reviewed by Antonio Gomes. Exporting new ewk_view setting: hyperlinkAuditingEnabled - enbles/disables hyperlink auditing. * ewk/ewk_view.cpp: (_Ewk_View_Private_Data): (_ewk_view_priv_new): (ewk_view_setting_enable_hyperlink_auditing_get): (ewk_view_setting_enable_hyperlink_auditing_set): * ewk/ewk_view.h: 2012-05-02 Dongwoo Im [EFL] Fix typo introduced in r115800. https://bugs.webkit.org/show_bug.cgi?id=85354 Reviewed by Nikolas Zimmermann. * ewk/ewk_view.cpp: (_Ewk_View_Private_Data): Assign 1 bit to the boolean attribute, webAudio. 2012-05-02 Dongwoo Im [EFL] Implement the Web Audio API feature. https://bugs.webkit.org/show_bug.cgi?id=78688 Reviewed by Philippe Normand. Implement the Web Audio API feature on the EFL port. https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html * ewk/ewk_view.cpp: Add the setter/getter of the webaudio feature. (_Ewk_View_Private_Data): (_ewk_view_priv_new): (ewk_view_setting_web_audio_get): Enable/disable the Web Audio API feature. (ewk_view_setting_web_audio_set): Query if the Web Audio API feature is enabled. * ewk/ewk_view.h: Add the prototypes. 2012-04-27 Christophe Dumez [EFL] ResourceError domain needs to be properly set in FrameLoaderClient https://bugs.webkit.org/show_bug.cgi?id=84129 Reviewed by Nate Chapin. Properly set ResourceError objects' domain instead of using a generic one. This allows WebKit and NSURL errors to be distinguished, which is required to properly print out information in EFL's DumpRenderTree when dumpResourceLoadCallbacks() returns true. * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::cancelledError): (WebCore::FrameLoaderClientEfl::blockedError): (WebCore::FrameLoaderClientEfl::cannotShowURLError): (WebCore::FrameLoaderClientEfl::interruptedForPolicyChangeError): (WebCore::FrameLoaderClientEfl::cannotShowMIMETypeError): (WebCore::FrameLoaderClientEfl::fileDoesNotExistError): (WebCore::FrameLoaderClientEfl::pluginWillHandleLoadError): 2012-04-27 Mikhail Pozdnyakov [EFL] tabsToLinks ewk_view setting https://bugs.webkit.org/show_bug.cgi?id=84340 Exporting new ewk_view setting: tabsToLinks - enbles/disables tab key focusing of page elements. Reviewed by Antonio Gomes. * WebCoreSupport/ChromeClientEfl.cpp: (WebCore::ChromeClientEfl::keyboardUIMode): * ewk/ewk_view.cpp: (_Ewk_View_Private_Data): (_ewk_view_priv_new): (ewk_view_setting_include_links_in_focus_chain_get): (ewk_view_setting_include_links_in_focus_chain_set): * ewk/ewk_view.h: 2012-04-27 Christophe Dumez [EFL] DRT should support LayoutTestController's dumpResourceLoadCallbacks() https://bugs.webkit.org/show_bug.cgi?id=81891 Reviewed by Philippe Normand. New "load,resource,finished", "load,resource,failed", and "resource,response,received" signals were added to notify about different resource load events. These additional signals are needed for proper support of LayoutTestController's dumpResourceLoadCallbacks() in EFL's DumpRenderTree. * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::assignIdentifierToInitialRequest): (WebCore::FrameLoaderClientEfl::dispatchDidReceiveResponse): (WebCore::FrameLoaderClientEfl::dispatchDidFinishLoading): (WebCore::FrameLoaderClientEfl::dispatchDidFailLoading): * ewk/ewk_frame.cpp: (ewk_frame_response_received): (ewk_frame_load_finished): (ewk_frame_load_resource_finished): (ewk_frame_load_resource_failed): (ewk_frame_load_error): * ewk/ewk_frame.h: * ewk/ewk_private.h: * ewk/ewk_view.h: 2012-04-26 Martin Robinson [Cairo] Wrap cairo surfaces in a class when storing native images https://bugs.webkit.org/show_bug.cgi?id=83611 Reviewed by Alejandro G. Castro. * ewk/ewk_history.cpp: Updated to reflect addition of NativeImageCario. * ewk/ewk_settings.cpp: Ditto. 2012-04-26 Christophe Dumez [EFL] Enable VIDEO_TRACK feature https://bugs.webkit.org/show_bug.cgi?id=84830 Reviewed by Gustavo Noronha Silva. Add functions on the ewk_view to toggle runtime support for text tracks in HTML5 video. * ewk/ewk_view.cpp: (_Ewk_View_Private_Data): (_ewk_view_priv_new): (ewk_view_setting_should_display_subtitles_get): (ewk_view_setting_should_display_subtitles_set): (ewk_view_setting_should_display_captions_get): (ewk_view_setting_should_display_captions_set): (ewk_view_setting_should_display_text_descriptions_get): (ewk_view_setting_should_display_text_descriptions_set): * ewk/ewk_view.h: 2012-04-26 Sudarsana Nagineni [EFL] [DRT] LayoutTestController needs implementation of setJavaScriptProfilingEnabled https://bugs.webkit.org/show_bug.cgi?id=84576 Reviewed by Martin Robinson. Add missing implementation setJavaScriptProfilingEnabled to EFL's DumpRenderTreeSupport. This setting allows layout tests to start JavaScript profiling. * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: (DumpRenderTreeSupportEfl::setJavaScriptProfilingEnabled): * WebCoreSupport/DumpRenderTreeSupportEfl.h: 2012-04-26 Mikhail Pozdnyakov [EFL] WebGL support ewk_view setting https://bugs.webkit.org/show_bug.cgi?id=84534 Reviewed by Antonio Gomes. Exporting new ewk_view setting: webGLEnabled - enbles/disables WebGL support. * ewk/ewk_view.cpp: (_Ewk_View_Private_Data): (_ewk_view_priv_new): (ewk_view_setting_enable_webgl_get): (ewk_view_setting_enable_webgl_set): * ewk/ewk_view.h: 2012-04-26 Christophe Dumez [EFL][DRT] "resource,request,willsend" signal needs to provide more information https://bugs.webkit.org/show_bug.cgi?id=84670 Reviewed by Andreas Kling. The "resource,request,willsend" signal now provides more information about the network request as well as information about the possible redirect response. This extra information will be needed to support LayoutTestController's dumpResourceLoadCallbacks() in EFL's DumpRenderTree. * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::dispatchWillSendRequest): (WebCore::FrameLoaderClientEfl::assignIdentifierToInitialRequest): (WebCore::FrameLoaderClientEfl::dispatchDecidePolicyForNavigationAction): * ewk/ewk_frame.cpp: (ewk_frame_request_will_send): * ewk/ewk_frame.h: * ewk/ewk_private.h: * ewk/ewk_view.h: 2012-04-23 Christophe Dumez [EFL] EFL's LayoutTestController does not implement elementDoesAutoCompleteForElementWithId https://bugs.webkit.org/show_bug.cgi?id=84425 Reviewed by Antonio Gomes. Add a helper function to DumpRenderTreeSupportEfl, returning whether or not an element does perform autocompletion. * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: (DumpRenderTreeSupportEfl::elementDoesAutoCompleteForElementWithId): * WebCoreSupport/DumpRenderTreeSupportEfl.h: 2012-04-20 Thiago Marcos P. Santos [EFL] Add Security Origin API https://bugs.webkit.org/show_bug.cgi?id=84023 Added an API to get a Security Origin handle from a Ewk_Frame. This is needed for fine grained security policy. This new API will also allow to define quota and get usage information of a Web Storage based on its Security Origin. Reviewed by Antonio Gomes. * ewk/EWebKit.h: * ewk/ewk_frame.cpp: (ewk_frame_security_origin_get): * ewk/ewk_frame.h: * ewk/ewk_security_origin.cpp: Added. (ewk_security_origin_protocol_get): (ewk_security_origin_host_get): (ewk_security_origin_port_get): (ewk_security_origin_web_database_usage_get): (ewk_security_origin_web_database_quota_get): (ewk_security_origin_web_database_quota_set): (ewk_security_origin_free): (ewk_security_origin_new): * ewk/ewk_security_origin.h: Added. 2012-04-20 Kamil Blank [EFL] Add setting API for author and user styles. https://bugs.webkit.org/show_bug.cgi?id=82860 Reviewed by Daniel Bates. Add missing implementation setAuthorAndUserStylesEnabled to EFL's DumpRenderTreeSupport. * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: 2012-04-19 Christophe Dumez [EFL] dispatchDidCancelClientRedirect needs implementation https://bugs.webkit.org/show_bug.cgi?id=83669 Reviewed by Antonio Gomes. Emit a new "redirect,cancelled" signal on the ewk_frame when a redirect is cancelled. This is needed by EFL's DumpRenderTree to dump frame load callbacks information. * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::dispatchDidCancelClientRedirect): * ewk/ewk_frame.cpp: (ewk_frame_redirect_cancelled): * ewk/ewk_frame.h: * ewk/ewk_private.h: 2012-04-17 Christophe Dumez EFL's LayoutTestController does not implement callShouldCloseOnWebView https://bugs.webkit.org/show_bug.cgi?id=82301 Reviewed by Martin Robinson. Implement callShouldCloseOnWebView in EFL's LayoutTestController by calling shouldClose() on the FrameLoader, allowing the related test to be removed from the skip list. * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: (DumpRenderTreeSupportEfl::callShouldCloseOnWebView): * WebCoreSupport/DumpRenderTreeSupportEfl.h: 2012-04-17 Christophe Dumez [EFL] FrameLoaderClient should send "load,finished" signal for all frame, not just the main one https://bugs.webkit.org/show_bug.cgi?id=84052 Reviewed by Antonio Gomes. Emit the "load,finished" signal from dispatchDidFinishLoad() / instead of postProgressFinishedNotification() in order to send notifications all frames, not just the main one. * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::postProgressFinishedNotification): (WebCore::FrameLoaderClientEfl::dispatchDidFinishLoad): (WebCore::FrameLoaderClientEfl::dispatchDidFailLoad): 2012-04-17 Sudarsana Nagineni [EFL] Add setting API to enable/disable XSSAuditor https://bugs.webkit.org/show_bug.cgi?id=83281 Add setting API to enable or disable WebKit's XSSAuditor to protect from reflective cross-site scripting attacks. Also, emit the signal 'xss,detected' and provide addition information received from XSSAuditor when reflected XSS is encountered in the page. Reviewed by Antonio Gomes. * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::didDetectXSS): * ewk/ewk_frame.cpp: (ewk_frame_xss_detected): * ewk/ewk_frame.h: * ewk/ewk_private.h: * ewk/ewk_view.cpp: (_Ewk_View_Private_Data): (_ewk_view_priv_new): (ewk_view_setting_enable_xss_auditor_get): (ewk_view_setting_enable_xss_auditor_set): * ewk/ewk_view.h: 2012-04-17 Christophe Dumez [EFL] DRT should support LayoutTestController's dumpFrameLoadCallbacks() https://bugs.webkit.org/show_bug.cgi?id=83030 Reviewed by Antonio Gomes. Emit "load,started" and "onload,event" signals needed to support LayoutTestController's dumpFrameLoadCallbacks() in EFL's DumpRenderTree. * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::dispatchDidHandleOnloadEvents): (WebCore::FrameLoaderClientEfl::dispatchDidCommitLoad): (WebCore::FrameLoaderClientEfl::dispatchDidFailLoad): * ewk/ewk_frame.cpp: (ewk_frame_load_committed): (ewk_frame_load_started): * ewk/ewk_frame.h: * ewk/ewk_private.h: * ewk/ewk_view.cpp: (_Ewk_View_Private_Data): (ewk_view_load_started): (ewk_view_onload_event): * ewk/ewk_view.h: 2012-04-17 Sheriff Bot Unreviewed, rolling out r114376. http://trac.webkit.org/changeset/114376 https://bugs.webkit.org/show_bug.cgi?id=84155 Wrong patch version committed, asked by the patch author. (Requested by rakuco on #webkit). * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::postProgressFinishedNotification): (WebCore::FrameLoaderClientEfl::dispatchDidFinishLoad): (WebCore::FrameLoaderClientEfl::dispatchDidHandleOnloadEvents): (WebCore::FrameLoaderClientEfl::dispatchDidCommitLoad): (WebCore::FrameLoaderClientEfl::dispatchDidFailLoad): * WebCoreSupport/FrameLoaderClientEfl.h: (FrameLoaderClientEfl): * ewk/ewk_frame.cpp: * ewk/ewk_frame.h: * ewk/ewk_private.h: * ewk/ewk_view.cpp: (_Ewk_View_Private_Data): * ewk/ewk_view.h: 2012-04-17 Christophe Dumez [EFL] DRT should support LayoutTestController's dumpFrameLoadCallbacks() https://bugs.webkit.org/show_bug.cgi?id=83030 Reviewed by Antonio Gomes. Implement support for LayoutTestController's dumpFrameLoadCallbacks() in EFL's DumpRenderTree. We no longer emit the "load,finished" signal from postProgressFinishedNotification() since it is already emitted from dispatchDidFinishLoad(). This avoids unwanted extra signals we prevent some tests from passing (e.g. http/tests/security/mixedContent/about-blank-iframe-in-main-frame.html). * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::postProgressFinishedNotification): (WebCore::FrameLoaderClientEfl::dispatchDidFinishLoad): (WebCore::FrameLoaderClientEfl::dispatchDidHandleOnloadEvents): (WebCore::FrameLoaderClientEfl::dispatchDidCommitLoad): (WebCore::FrameLoaderClientEfl::dispatchDidFailLoad): * WebCoreSupport/FrameLoaderClientEfl.h: (FrameLoaderClientEfl): * ewk/ewk_frame.cpp: (ewk_frame_load_committed): * ewk/ewk_frame.h: * ewk/ewk_private.h: * ewk/ewk_view.cpp: (_Ewk_View_Private_Data): (ewk_view_onload_event): * ewk/ewk_view.h: 2012-04-17 Mariusz Grzegorczyk [EFL][WK2] Fix build break when CONTEXT_MENUS is disabled. https://bugs.webkit.org/show_bug.cgi?id=83285 Reviewed by Ryosuke Niwa. Remove WebCore namespace from PageClientEfl. * WebCoreSupport/PageClientEfl.cpp: (WebCore): * WebCoreSupport/PageClientEfl.h: * ewk/ewk_private.h: (EWKPrivate): * ewk/ewk_view.cpp: (_Ewk_View_Private_Data): (_ewk_view_priv_new): (EWKPrivate::corePageClient): 2012-04-13 Thiago Marcos P. Santos [EFL] Add API for color chooser https://bugs.webkit.org/show_bug.cgi?id=83692 Added new API to enable browsers to display a custom color picker when an input field of type "color" is activated. Reviewed by Kenneth Rohde Christiansen. * WebCoreSupport/ChromeClientEfl.cpp: (WebCore): (WebCore::ChromeClientEfl::createColorChooser): (WebCore::ChromeClientEfl::removeColorChooser): (WebCore::ChromeClientEfl::updateColorChooser): * WebCoreSupport/ChromeClientEfl.h: (ChromeClientEfl): * ewk/ewk_private.h: (WebCore): * ewk/ewk_view.cpp: (_Ewk_View_Private_Data): (ewk_view_color_chooser_new): (ewk_view_color_chooser_destroy): (ewk_view_color_chooser_color_set): (ewk_view_color_chooser_changed): * ewk/ewk_view.h: 2012-04-11 Sudarsana Nagineni [EFL] LayoutTestController needs implementation of pageProperty https://bugs.webkit.org/show_bug.cgi?id=82449 Add missing implementation pageProperty to EFL's DumpRenderTreeSupport. Reviewed by Antonio Gomes. * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: (DumpRenderTreeSupportEfl::pageProperty): * WebCoreSupport/DumpRenderTreeSupportEfl.h: 2012-04-10 Sudarsana Nagineni [EFL] LayoutTestController needs implementation of addUserStyleSheet https://bugs.webkit.org/show_bug.cgi?id=82446 Add missing implementation addUserStyleSheet to EFL's DumpRenderTreeSupport. Reviewed by Antonio Gomes. * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: (DumpRenderTreeSupportEfl::addUserStyleSheet): * WebCoreSupport/DumpRenderTreeSupportEfl.h: 2012-04-04 Raphael Kubo da Costa Another unreviewed attempt at getting the EFL build bot to a healthy state by forcing a rebuild. * ewk/ewk_cookies.h: 2012-04-04 Raphael Kubo da Costa Unreviewed; touch a file to check if the EFL build bot is back to normal. * ewk/ewk_cookies.h: 2012-04-04 Christophe Dumez [EFL][DRT] Catch the "resource,request,willsend" signal https://bugs.webkit.org/show_bug.cgi?id=82192 Reviewed by Gustavo Noronha Silva. EFL's FrameLoaderClient now emits the "resource,request,willsend" signal on the view for all resources about to be loaded, not just the main frame. Also adds a boolean flag to Ewk_Frame_Resource_Request to distinguish the request for the main frame from those for sub-resources. * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::dispatchWillSendRequest): (WebCore::FrameLoaderClientEfl::assignIdentifierToInitialRequest): (WebCore::FrameLoaderClientEfl::dispatchDecidePolicyForNavigationAction): * ewk/ewk_frame.h: * ewk/ewk_view.h: 2012-04-04 Sudarsana Nagineni [EFL] DRT support for computedStyleIncludingVisitedInfo https://bugs.webkit.org/show_bug.cgi?id=82190 Add missing implementation computedStyleIncludingVisitedInfo to EFL's DumpRenderTreeSupport. Reviewed by Antonio Gomes. * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: (DumpRenderTreeSupportEfl::computedStyleIncludingVisitedInfo): * WebCoreSupport/DumpRenderTreeSupportEfl.h: 2012-04-04 Dominik Röttsches [EFL][DRT] FrameloaderClientEfl needs to handle media content correctly https://bugs.webkit.org/show_bug.cgi?id=83020 Reviewed by Hajime Morita. Implementing handling of media content type and media documents in the respective FrameLoaderClientEfl callbacks. * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::committedLoad): Cancel loading for media documents. (WebCore::FrameLoaderClientEfl::canShowMIMEType): Let media content types through. (WebCore): (WebCore::FrameLoaderClientEfl::pluginWillHandleLoadError): Returning appropriate error type. (WebCore::FrameLoaderClientEfl::shouldFallBack): Falling back as well for media handled by media player. 2012-04-04 Grzegorz Czajkowski [EFL] Change ewk_settings_icon_database_icon_object_add to proper API name. https://bugs.webkit.org/show_bug.cgi?id=82438 Reviewed by Andreas Kling. The purpose of ewk_settings_icon_database_icon_object_add is to get icon for the given URL. This function doesn't add anything to database. Documentation and API name are adjusted. * ewk/ewk_settings.cpp: (ewk_settings_icon_database_icon_object_get): * ewk/ewk_settings.h: 2012-04-03 Sudarsana Nagineni [EFL] DRT support for setInteractiveFormValidationEnabled https://bugs.webkit.org/show_bug.cgi?id=82050 Add a setting setInteractiveFormValidationEnabled to EFL's DumpRenderTreeSupport. Reviewed by Antonio Gomes. * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: (DumpRenderTreeSupportEfl::setInteractiveFormValidationEnabled): * WebCoreSupport/DumpRenderTreeSupportEfl.h: 2012-04-03 Christophe Dumez [EFL] LayoutTestController needs implementation of setDefersLoading https://bugs.webkit.org/show_bug.cgi?id=82890 Reviewed by Philippe Normand. Implement setDefersLoading() in EFL's LayoutTestController so that the corresponding test case can be removed from the skip list. * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: (DumpRenderTreeSupportEfl::setDefersLoading): * WebCoreSupport/DumpRenderTreeSupportEfl.h: 2012-04-03 Alexander Shalamov [EFL] LayoutTestController needs implementation of pageSizeAndMarginsInPixels https://bugs.webkit.org/show_bug.cgi?id=82589 Add missing implementation for pageSizeAndMarginsInPixels to EFL's DumpRenderTreeSupport. Reviewed by Philippe Normand. * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: (DumpRenderTreeSupportEfl::pageSizeAndMarginsInPixels): * WebCoreSupport/DumpRenderTreeSupportEfl.h: 2012-04-02 Alexander Shalamov [EFL] LayoutTestController needs implementation of isPageBoxVisible https://bugs.webkit.org/show_bug.cgi?id=82591 Add missing implementation for isPageBoxVisible to EFL's DumpRenderTreeSupport. Reviewed by Hajime Morita. * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: (DumpRenderTreeSupportEfl::isPageBoxVisible): * WebCoreSupport/DumpRenderTreeSupportEfl.h: 2012-04-01 Gyuyoung Kim Support the Network Information API https://bugs.webkit.org/show_bug.cgi?id=73528 Reviewed by Adam Barth. Add NetworkInfoClientEfl to support network information API. However, functions are not implemented yet. * WebCoreSupport/NetworkInfoClientEfl.cpp: Added. (WebCore::NetworkInfoClientEfl::NetworkInfoClientEfl): (WebCore): (WebCore::NetworkInfoClientEfl::~NetworkInfoClientEfl): (WebCore::NetworkInfoClientEfl::startUpdating): (WebCore::NetworkInfoClientEfl::stopUpdating): (WebCore::NetworkInfoClientEfl::bandwidth): (WebCore::NetworkInfoClientEfl::metered): * WebCoreSupport/NetworkInfoClientEfl.h: Added. (NetworkInfoClientEfl): * ewk/ewk_view.cpp: (_Ewk_View_Private_Data): (_ewk_view_priv_new): 2012-03-30 Patrick Gansterer [EFL] Correct include paths. https://bugs.webkit.org/show_bug.cgi?id=82741 Reviewed by Andreas Kling. Modify the #include declarations for several EFL-related files so that the wtf types are included using the full path. * ewk/ewk_frame.cpp: * ewk/ewk_tiled_backing_store.cpp: (_Ewk_Tiled_Backing_Store_Item): * ewk/ewk_tiled_matrix.cpp: 2012-03-30 Jesus Sanchez-Palencia Add a "preview" state to Page Visibility API implementation https://bugs.webkit.org/show_bug.cgi?id=81355 Reviewed by Adam Barth. Updating the Page Visibility API implementation to the current spec version. * WebCoreSupport/AssertMatchingEnums.cpp: * ewk/ewk_view.h: 2012-03-28 Nate Chapin Remove dispatchDidLoadMainResource callback, since no port implements it. https://bugs.webkit.org/show_bug.cgi?id=82539 Reviewed by Alexey Proskuryakov. * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore): * WebCoreSupport/FrameLoaderClientEfl.h: (FrameLoaderClientEfl): 2012-03-27 Carlos Garcia Campos [SOUP] Implement missing methods in CookieJarSoup https://bugs.webkit.org/show_bug.cgi?id=82082 Reviewed by Martin Robinson. * ewk/ewk_cookies.cpp: (ewk_cookies_clear): Use soupCookieJar() instead of defaultCookieJar(). (ewk_cookies_get_all): Ditto. (ewk_cookies_cookie_del): Ditto. (ewk_cookies_policy_set): Ditto. (ewk_cookies_policy_get): Ditto. 2012-03-23 Grzegorz Czajkowski [EFL][DRT] Implement LayoutTestController's methods related with editing. https://bugs.webkit.org/show_bug.cgi?id=80136 Reviewed by Ryosuke Niwa. Implements DumpRenderTreeSupportEfl's and EditorClientEfl's methods related with editing. * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: (DumpRenderTreeSupportEfl::setSmartInsertDeleteEnabled): New function. (DumpRenderTreeSupportEfl::setSelectTrailingWhitespaceEnabled): New function. * WebCoreSupport/DumpRenderTreeSupportEfl.h: * WebCoreSupport/EditorClientEfl.cpp: (WebCore::EditorClientEfl::setSmartInsertDeleteEnabled): New function. (WebCore): (WebCore::EditorClientEfl::smartInsertDeleteEnabled): Add implementation. (WebCore::EditorClientEfl::setSelectTrailingWhitespaceEnabled): New function. (WebCore::EditorClientEfl::isSelectTrailingWhitespaceEnabled): Add implementation. (WebCore::EditorClientEfl::EditorClientEfl): * WebCoreSupport/EditorClientEfl.h: (EditorClientEfl): 2012-03-22 Sudarsana Nagineni [EFL] [DRT] Implement LayoutTestController::markerTextForListItem() https://bugs.webkit.org/show_bug.cgi?id=81512 Add missing implementation markerTextForListItem to EFL's DumpRenderTreeSupport. Reviewed by Antonio Gomes. * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: (DumpRenderTreeSupportEfl::markerTextForListItem): * WebCoreSupport/DumpRenderTreeSupportEfl.h: 2012-03-22 Sudarsana Nagineni [EFL] Implement LayoutTestController::setEditingBehavior https://bugs.webkit.org/show_bug.cgi?id=81124 Add missing implementation setEditingBehavior to EFL's DumpRenderTreeSupport. This setting controls various editing behaviors that differ between platforms. Reviewed by Martin Robinson. * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: (DumpRenderTreeSupportEfl::setEditingBehavior): * WebCoreSupport/DumpRenderTreeSupportEfl.h: 2012-03-22 Krzysztof Czech [EFL] Change returned view mode in case of NULL of ewkView. https://bugs.webkit.org/show_bug.cgi?id=81636 Reviewed by Eric Seidel. Function ewk_view_mode_get returns wrong view mode in case of NULL of ewkView. * ewk/ewk_view.cpp: (_Ewk_View_Private_Data): (ewk_view_mode_get): 2012-03-22 Hyowon Kim [EFL] Add PageClientEfl to WebCoreSupport. https://bugs.webkit.org/show_bug.cgi?id=80748 Reviewed by Noam Rosenthal. This patch adds PageClientEfl for implementaion of accelerated compositing. * WebCoreSupport/ChromeClientEfl.cpp: (WebCore::ChromeClientEfl::platformPageClient): * WebCoreSupport/PageClientEfl.cpp: Added. (WebCore): (WebCore::PageClientEfl::PageClientEfl): (WebCore::PageClientEfl::~PageClientEfl): (WebCore::PageClientEfl::createEvasObjectForAcceleratedCompositing): Just call ewk_view_accelerated_compositing_object_create(). (WebCore::PageClientEfl::acceleratedCompositingContext): Just call ewk_view_accelerated_compositing_context_get(). * WebCoreSupport/PageClientEfl.h: Added. (WebCore): (PageClientEfl): (WebCore::PageClientEfl::view): Return ewkView. * ewk/ewk_private.h: (WebCore): (EWKPrivate): * ewk/ewk_view.cpp: (_Ewk_View_Private_Data): Add OwnPtr. (_ewk_view_priv_new): Create a new PageClientEfl. (ewk_view_accelerated_compositing_object_create): Not implemented. (ewk_view_accelerated_compositing_context_get): Not implemented. (EWKPrivate::corePageClient): Return the PageClientEfl pointer. (EWKPrivate): 2012-03-19 Adam Barth Remove support for "magic" iframe https://bugs.webkit.org/show_bug.cgi?id=81590 Reviewed by Eric Seidel. Remove FrameLoaderClient methods that no longer exist. * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore): * WebCoreSupport/FrameLoaderClientEfl.h: (FrameLoaderClientEfl): 2012-03-16 Kihong Kwon Support for Battery Status API https://bugs.webkit.org/show_bug.cgi?id=62698 Add BatteryClientEfl class implementation for the layout tests now. BatteryClientEfl class is not fully implemented in this patch. (It will be completed by other patch as necessary in the Efl port.) http://www.w3.org/TR/battery-status/ Reviewed by Adam Barth. * WebCoreSupport/BatteryClientEfl.cpp: Added. (WebCore): (WebCore::BatteryClientEfl::BatteryClientEfl): (WebCore::BatteryClientEfl::setController): (WebCore::BatteryClientEfl::startUpdating): (WebCore::BatteryClientEfl::stopUpdating): (WebCore::BatteryClientEfl::batteryControllerDestroyed): (WebCore::BatteryClientEfl::setBatteryStatus): * WebCoreSupport/BatteryClientEfl.h: Added. (WebCore): (BatteryClientEfl): (WebCore::BatteryClientEfl::~BatteryClientEfl): * ewk/ewk_view.cpp: (_Ewk_View_Private_Data): (_ewk_view_priv_new): 2012-03-13 Jon Lee Separate NOTIFICATIONS and LEGACY_NOTIFICATIONS https://bugs.webkit.org/show_bug.cgi?id=80922 Reviewed by Jian Li. You can include either NOTIFICATIONS or LEGACY_NOTIFICATIONS and have a complete API. LEGACY_NOTIFICATIONS should cover all of the previous functionality, and NOTIFICATIONS will cover the new API. Therefore, APIs that are common between the two will have: #if ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS) This patch initially sets both to be exactly the same. As other bugs with patches begin to migrate to the new API, the defines will begin to split. This allows ports to decide which set of APIs to include. Update everything to be #if ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS) * WebCoreSupport/ChromeClientEfl.cpp: (WebCore): * WebCoreSupport/ChromeClientEfl.h: (ChromeClientEfl): * WebCoreSupport/NotificationPresenterClientEfl.cpp: * WebCoreSupport/NotificationPresenterClientEfl.h: 2012-03-13 Adam Barth && Benjamin Poulain Always enable ENABLE(CLIENT_BASED_GEOLOCATION) https://bugs.webkit.org/show_bug.cgi?id=78853 Reviewed by Adam Barth. * WebCoreSupport/ChromeClientEfl.cpp: (WebCore): * WebCoreSupport/ChromeClientEfl.h: (ChromeClientEfl): 2012-03-13 ChangSeok Oh [EFL] [DRT] Implement scheduleAsynchronousKeyDown. https://bugs.webkit.org/show_bug.cgi?id=79601 Reviewed by Gustavo Noronha Silva. Added a new API to deliver all mutations explicitly. * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: (DumpRenderTreeSupportEfl::deliverAllMutationsIfNecessary): * WebCoreSupport/DumpRenderTreeSupportEfl.h: 2012-03-13 JungJik Lee [EFL] Remove a duplicate allocation of matrix entry. https://bugs.webkit.org/show_bug.cgi?id=79362 Reviewed by Zoltan Herczeg. A matrix entry is created when calling ewk_matrix_new. Another matrix is created inside ewk_tile_matrix_zoom_level_set. This patch is for getting rid of a duplicated creation of the matrix. * ewk/ewk_tiled_backing_store.cpp: (_Ewk_Tiled_Backing_Store_Item): (_ewk_tiled_backing_store_zoom_set_internal): * ewk/ewk_tiled_matrix.cpp: (ewk_tile_matrix_new): (ewk_tile_matrix_zoom_level_set): (ewk_tile_matrix_entry_new): (ewk_tile_matrix_size_get): * ewk/ewk_tiled_matrix.h: 2012-03-09 Jon Lee Rename NotificationPresenter to NotificationClient https://bugs.webkit.org/show_bug.cgi?id=80488 Reviewed by Kentaro Hara. Refactor to use renamed WebCore::NotificationClient. * WebCoreSupport/ChromeClientEfl.cpp: (WebCore::ChromeClientEfl::notificationPresenter): * WebCoreSupport/ChromeClientEfl.h: (ChromeClientEfl): 2012-03-08 Hyowon Kim [Texmap][EFL] Implementation of AcceleratedCompositingContext for EFL port https://bugs.webkit.org/show_bug.cgi?id=80266 Reviewed by Noam Rosenthal. This patch adds EFL's implementation of AcceleratedCompositingContext to WebCoreSupport. * WebCoreSupport/AcceleratedCompositingContextEfl.cpp: Added. (WebCore): (WebCore::AcceleratedCompositingContext::create): (WebCore::AcceleratedCompositingContext::AcceleratedCompositingContext): (WebCore::AcceleratedCompositingContext::~AcceleratedCompositingContext): (WebCore::AcceleratedCompositingContext::initialize): (WebCore::AcceleratedCompositingContext::syncLayersNow): (WebCore::AcceleratedCompositingContext::renderLayers): (WebCore::AcceleratedCompositingContext::attachRootGraphicsLayer): (WebCore::AcceleratedCompositingContext::context): * WebCoreSupport/AcceleratedCompositingContextEfl.h: Added. (WebCore): (AcceleratedCompositingContext): 2012-03-02 Grzegorz Czajkowski [EFL] Enabling 'Inspect Element' in Ewk_Context_Menu_Action. https://bugs.webkit.org/show_bug.cgi?id=79646 Reviewed by Andreas Kling. INSPECTOR feature is already enabled for WebKit-Efl port (OptionsEfl.cmake). As a result WebCore's ContextMenuAction contains ContextMenuItemTagInspectElement and enums order has been changed. WebKit-Efl has to synchronize ContextMenuAction with Ewk_Context_Menu_Action. To avoid similar case in the feature I added checks between WebCore and WebKit-EFL's enums by using COMPILE_ASSERT_MATCHING_ENUM. * WebCoreSupport/AssertMatchingEnums.cpp: * ewk/ewk_contextmenu.h: 2012-02-29 Tomasz Morawski [EFL] Replace malloc/calloc/free to new/delete. https://bugs.webkit.org/show_bug.cgi?id=75848 Reviewed by Hajime Morita. Replaced almost all malloc/calloc/free to new/delete operator and where it was possible smart pointers were also used. Left few c memory allocation by intention to not mix c and c++ memory managment. Left malloc for Ewk_Tile object due to const fields present in Ewk_tile structure. * ewk/ewk_auth_soup.cpp: * ewk/ewk_contextmenu.cpp: (ewk_context_menu_unref): (ewk_context_menu_item_new): (ewk_context_menu_item_free): (ewk_context_menu_new): * ewk/ewk_cookies.cpp: (ewk_cookies_get_all): (ewk_cookies_cookie_free): * ewk/ewk_frame.cpp: (ewk_frame_hit_test_free): (ewk_frame_hit_test_new): * ewk/ewk_history.cpp: (ewk_history_item_new_from_core): (_ewk_history_item_free): (ewk_history_new): (ewk_history_free): * ewk/ewk_tiled_backing_store.cpp: (_Ewk_Tiled_Backing_Store_Item): (_ewk_tiled_backing_store_pre_render_request_add): (_ewk_tiled_backing_store_pre_render_request_del): (_ewk_tiled_backing_store_pre_render_request_flush): (_ewk_tiled_backing_store_pre_render_request_clear): (_ewk_tiled_backing_store_item_add): (_ewk_tiled_backing_store_item_del): * ewk/ewk_tiled_matrix.cpp: (_ewk_tile_matrix_tile_free): (ewk_tile_matrix_new): (ewk_tile_matrix_zoom_level_set): (ewk_tile_matrix_invalidate): (ewk_tile_matrix_free): * ewk/ewk_tiled_model.cpp: (tile_account): (ewk_tile_unused_cache_new): (_ewk_tile_unused_cache_free): (ewk_tile_unused_cache_clear): (ewk_tile_unused_cache_flush): (ewk_tile_unused_cache_tile_get): (ewk_tile_unused_cache_tile_put): * ewk/ewk_tiled_private.h: * ewk/ewk_view.cpp: (_Ewk_View_Private_Data): (_ewk_view_core_frame_new): (_ewk_view_priv_new): (_ewk_view_priv_del): (ewk_view_core_page_get): (ewk_view_popup_new): (ewk_view_popup_destroy): (EWKPrivate::corePage): * ewk/ewk_window_features.cpp: (ewk_window_features_unref): (ewk_window_features_new_from_core): 2012-02-27 JungJik Lee [EFL] Pairing up between evas_object_image_data_get and evas_object_image_data_set. https://bugs.webkit.org/show_bug.cgi?id=79031 Reviewed by Zoltan Herczeg. - Get the pixel data when the cairo surface is created. - evas_object_image_data_get increases the reference count and returns the image buffer pointer. evas_object_image_data_set decreases the reference count and when the ref count become zero, the function releases the cached image inside evas engine. We should make a pair between evas_object_image_data_set/get to return evas resource. * ewk/ewk_tiled_backing_store.h: (_Ewk_Tile): * ewk/ewk_tiled_model.cpp: (tile_account): (ewk_tile_new): * ewk/ewk_view_tiled.cpp: (_ewk_view_tiled_render_cb): 2012-02-26 Hajime Morrita Move ChromeClient::showContextMenu() to ContextMenuClient https://bugs.webkit.org/show_bug.cgi?id=79427 Reviewed by Adam Barth. * WebCoreSupport/ChromeClientEfl.h: (ChromeClientEfl): 2012-02-24 Grzegorz Czajkowski [EFL][DRT] Implement setValueForUser and setAutofilled. https://bugs.webkit.org/show_bug.cgi?id=79237 Reviewed by Andreas Kling. Adds missing implementation setValueForUser and setAutofilled to EFL's DumpRenderTreeSupport. * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: (DumpRenderTreeSupportEfl::setValueForUser): (DumpRenderTreeSupportEfl::setAutofilled): * WebCoreSupport/DumpRenderTreeSupportEfl.h: 2012-02-24 Shinya Kawanaka SpellCheckRequest needs to know the context where the spellcheck happened. https://bugs.webkit.org/show_bug.cgi?id=79320 Reviewed by Hajime Morita. * WebCoreSupport/EditorClientEfl.h: (WebCore::EditorClientEfl::requestCheckingOfString): 2012-02-21 Ryosuke Niwa Remove the remaining uses of CSSStyleDeclaration in Editor https://bugs.webkit.org/show_bug.cgi?id=78939 Reviewed by Enrica Casucci. * WebCoreSupport/EditorClientEfl.cpp: (WebCore::EditorClientEfl::shouldApplyStyle): * WebCoreSupport/EditorClientEfl.h: (EditorClientEfl): 2012-02-22 Ryosuke Niwa Remove the remaining uses of CSSStyleDeclaration in Editor https://bugs.webkit.org/show_bug.cgi?id=78939 Reviewed by Enrica Casucci. * WebCoreSupport/EditorClientEfl.cpp: (WebCore::EditorClientEfl::shouldApplyStyle): * WebCoreSupport/EditorClientEfl.h: (EditorClientEfl): 2012-02-20 Kihong Kwon Add a new API for the Vibration API(W3C). https://bugs.webkit.org/show_bug.cgi?id=72010 Reviewed by Hajime Morita. Implementation for the Vibration API feature to the EFL-port layer. http://dev.w3.org/2009/dap/vibration/ There are two methods for vibration API. - vibrate : Vibrate device for receiving as a parameter. - cancelVibrate : Cancel current vibration. * CMakeListsEfl.txt: * WebCoreSupport/VibrationClientEfl.cpp: Added. (WebCore): (WebCore::VibrationClientEfl::VibrationClientEfl): (WebCore::VibrationClientEfl::vibrate): (WebCore::VibrationClientEfl::cancelVibration): (WebCore::VibrationClientEfl::vibrationDestroyed): * WebCoreSupport/VibrationClientEfl.h: Added. (WebCore): (VibrationClientEfl): (WebCore::VibrationClientEfl::~VibrationClientEfl): * ewk/ewk_view.cpp: (_Ewk_View_Private_Data): (_ewk_view_priv_new): 2012-02-17 Raphael Kubo da Costa [EFL] Unreviewed, adapt to the changes introduced in r107973. SVN r107973 moved some libsoup feature initialization code to WebCore, but only changed the GTK+ bits in WebKit. * ewk/ewk_main.cpp: (_ewk_init_body): Do not initialize the content sniffer and the decoder here, the initialization is now done in WebCore. 2012-02-17 Raphael Kubo da Costa Unreviewed, fix the build with ENABLE(DEVICE_ORIENTATION) after r107518. The EFL EWS bot doesn't enable that flag, so the breakage was not spotted earlier. * ewk/ewk_view.cpp: (_Ewk_View_Private_Data): (_ewk_view_priv_new): 2012-01-31 Raphael Kubo da Costa [soup] Add support for multiple SoupSessions. https://bugs.webkit.org/show_bug.cgi?id=77341 Add the necessary infrastructure to support multiple SoupSessions. Each WebView now has a "session" property, which defaults to ResourceHandle::defaultSession() and can be changed to another SoupSession by the user. Some API in ewk_network and ewk_view which required SoupSession to be a valid type in the headers has now been moved inside #if USE(SOUP) ifdefs so we can actually the required Soup header and avoid build problems with duplicate typedefs. * CMakeListsEfl.txt: * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::createNetworkingContext): * WebCoreSupport/FrameNetworkingContextEfl.cpp: Copied from Source/WebKit/efl/WebCoreSupport/FrameNetworkingContextEfl.h. (WebCore): (WebCore::FrameNetworkingContextEfl::create): (WebCore::FrameNetworkingContextEfl::FrameNetworkingContextEfl): (WebCore::FrameNetworkingContextEfl::soupSession): * WebCoreSupport/FrameNetworkingContextEfl.h: (FrameNetworkingContextEfl): * ewk/ewk_cookies.h: Mention this API is only valid with the default SoupSession. * ewk/ewk_network.cpp: (ewk_network_default_soup_session_get): Define only if USE(SOUP) is set. * ewk/ewk_network.h: Ditto, and mention this API is only valid with the default SoupSession. * ewk/ewk_view.cpp: (_Ewk_View_Private_Data): (_ewk_view_priv_new): (ewk_view_soup_session_get): (ewk_view_soup_session_set): * ewk/ewk_view.h: (): 2012-02-15 Sadrul Habib Chowdhury Notify ChromeClient when touch-event handlers are installed/removed. https://bugs.webkit.org/show_bug.cgi?id=77440 Reviewed by Darin Fisher and Ryosuke Niwa. * WebCoreSupport/ChromeClientEfl.h: (WebCore::ChromeClientEfl::numTouchEventHandlersChanged): 2012-02-15 Gustavo Lima Chaves [EFL] Add missing libsoup to (pkgconfig) dependency requirements https://bugs.webkit.org/show_bug.cgi?id=78702 Unreviewed build fix. * ewebkit.pc.in: Now that bug 77874 had its patch landed, we always require libsoup as a dependency for the EFL port. The 'Require' session of this file has to contemplate that, otherwise code linking with ewebkit will fail to lookup to libsoup's header files. 2012-02-13 Raphael Kubo da Costa [CMake] Merge WebKitEfl.cmake into FindEFL.cmake. https://bugs.webkit.org/show_bug.cgi?id=78566 Reviewed by Daniel Bates. * CMakeListsEfl.txt: Do not include WebKitEfl.cmake. 2012-02-11 Nikolas Zimmermann Convert svg/animations to use SMIL methods for driving the timeline https://bugs.webkit.org/show_bug.cgi?id=78422 Reviewed by Dirk Schulze. Remove SVG animation sampling functionality provided for DRT, which no longer uses it. Instead we switched the svg/animations tests to use SVGSVGElement.setCurrentTime. * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: * WebCoreSupport/DumpRenderTreeSupportEfl.h: 2012-02-06 Raphael Kubo da Costa [EFL] Drop support for the Curl network backend. https://bugs.webkit.org/show_bug.cgi?id=77874 Reviewed by Eric Seidel. Nobody seems to be maintaining the Curl backend in WebCore, the EFL port developers all seem to be using the Soup backend and the port itself has many features which are only implemented for the latter. * CMakeListsEfl.txt: Unconditionally build soup-dependent files and always add the glib/soup include directories and libraries. * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::dispatchDidReceiveResponse): Remove USE(SOUP) checks. * ewk/ewk_auth.cpp: (ewk_auth_show_dialog_callback_set): Ditto. (ewk_auth_credentials_set): Ditto. * ewk/ewk_cookies.cpp: (ewk_cookies_file_set): Ditto. (ewk_cookies_clear): Ditto. (ewk_cookies_get_all): Ditto. (ewk_cookies_cookie_del): Ditto. (ewk_cookies_cookie_free): Ditto. (ewk_cookies_policy_set): Ditto. (ewk_cookies_policy_get): Ditto. * ewk/ewk_frame.cpp: (ewk_frame_certificate_status_get): Ditto. * ewk/ewk_main.cpp: (_ewk_init_body): Ditto. * ewk/ewk_network.cpp: (ewk_network_proxy_uri_set): Ditto. (ewk_network_proxy_uri_get): Ditto. (ewk_network_tls_certificate_check_get): Ditto. (ewk_network_tls_certificate_check_set): Ditto. (ewk_network_tls_ca_certificates_path_get): Ditto. (ewk_network_tls_ca_certificates_path_set): Ditto. (ewk_network_default_soup_session_get): Ditto. * ewk/ewk_network.h: Update apidox for ewk_network_default_soup_session_get() now that libsoup is the only available backend. 2012-02-09 Gustavo Lima Chaves [EFL] Introducing functions to set local storage db path and clear those dbs. https://bugs.webkit.org/show_bug.cgi?id=77107 This patch exposes the web local storage tracker database path setting cabability, introduced on bug 77006, to the EFL port of WebKit. Particularly, we have our own storage tracker client object, to initialize the storage tracker backend on ewk_init(). Reviewed by Kenneth Rohde Christiansen. * CMakeListsEfl.txt: * WebCoreSupport/StorageTrackerClientEfl.cpp: Added. (WebCore): (WebCore::StorageTrackerClientEfl::dispatchDidModifyOrigin): (WebCore::StorageTrackerClientEfl::didFinishLoadingOrigins): * WebCoreSupport/StorageTrackerClientEfl.h: Added. (WebCore): (StorageTrackerClientEfl): * ewk/ewk_main.cpp: (trackerClient): (_ewk_init_body): * ewk/ewk_settings.cpp: (ewk_settings_local_storage_path_set): (ewk_settings_local_storage_path_get): (ewk_settings_local_storage_database_clear): (ewk_settings_local_storage_database_origin_clear): * ewk/ewk_settings.h: 2012-02-07 Krzysztof Czech [EFL] Add missing initialization of editable variable. https://bugs.webkit.org/show_bug.cgi?id=77948 Reviewed by Eric Seidel. The value of editable in Ewk_Frame_Smart_Data struct is not set. * ewk/ewk_frame.cpp: (ewk_frame_editable_set): 2012-02-06 JungJik Lee [EFL] Define to prevent a single backing-store application from calling the tiled view function. https://bugs.webkit.org/show_bug.cgi?id=77842 Reviewed by Andreas Kling. The define prevents an application using single backing store from calling tiled cache function. The tiled APIs opened to outer should check the view type before being called. * ewk/ewk_private.h: * ewk/ewk_view.cpp: (_Ewk_View_Private_Data): (ewk_view_frame_view_creation_notify): * ewk/ewk_view_tiled.cpp: (ewk_view_tiled_unused_cache_get): (ewk_view_tiled_unused_cache_set): 2012-02-06 JungJik Lee [EFL] Adopt C++ style using camelCase and full variable names. https://bugs.webkit.org/show_bug.cgi?id=76378 Reviewed by Andreas Kling. Modify the code to use camelCase and spell out variable names instead of using abbreviations. Modify the comments which do not match with actual parameters and correct misspelled words. Adopt EFL Coding style in header files. The logic of the code is not changed. * ewk/ewk_cookies.h: * ewk/ewk_frame.cpp: (ewk_frame_selection_get): (ewk_frame_feed_focus_in): (EWKPrivate::coreFrame): * ewk/ewk_frame.h: * ewk/ewk_history.cpp: (ewk_history_item_new): (ewk_history_item_title_get): (ewk_history_item_title_alternate_get): (ewk_history_item_uri_get): (ewk_history_item_uri_original_get): * ewk/ewk_network.h: * ewk/ewk_tiled_backing_store.cpp: (_Ewk_Tiled_Backing_Store_Item): (_Ewk_Tiled_Backing_Store_Data): (_ewk_tiled_backing_store_tile_associate): (_ewk_tiled_backing_store_tile_dissociate): (_ewk_tiled_backing_store_pre_render_request_clear): (_ewk_tiled_backing_store_pre_render_request_process_single): (_ewk_tiled_backing_store_item_fill): (_ewk_tiled_backing_store_item_add): (_ewk_tiled_backing_store_item_smooth_scale_set): (_ewk_tiled_backing_store_view_cols_end_add): (_ewk_tiled_backing_store_view_rows_all_del): (_ewk_tiled_backing_store_render): (_ewk_tiled_backing_store_mem_dbg): (_ewk_tiled_backing_store_sig_usr): (_ewk_tiled_backing_store_smart_add): (_ewk_tiled_backing_store_smart_del): (_ewk_tiled_backing_store_smart_move): (_ewk_tiled_backing_store_smart_resize): (_ewk_tiled_backing_store_recalc_renderers): (_ewk_tiled_backing_store_view_dbg): (_ewk_tiled_backing_store_view_wrap_up): (_ewk_tiled_backing_store_view_wrap_down): (_ewk_tiled_backing_store_view_wrap_left): (_ewk_tiled_backing_store_view_refill): (_ewk_tiled_backing_store_view_pos_apply): (_ewk_tiled_backing_store_smart_calculate_offset_force): (_ewk_tiled_backing_store_smart_calculate_offset): (_ewk_tiled_backing_store_smart_calculate_pos): (_ewk_tiled_backing_store_smart_calculate): (_ewk_tiled_backing_store_scroll_full_offset_set_internal): (ewk_tiled_backing_store_scroll_full_offset_set): (ewk_tiled_backing_store_scroll_full_offset_add): (_ewk_tiled_backing_store_zoom_set_internal): (ewk_tiled_backing_store_zoom_set): (ewk_tiled_backing_store_zoom_weak_set): (ewk_tiled_backing_store_fix_offsets): (ewk_tiled_backing_store_flush): (ewk_tiled_backing_store_pre_render_region): (ewk_tiled_backing_store_pre_render_relative_radius): * ewk/ewk_tiled_backing_store.h: (_Ewk_Tile): * ewk/ewk_tiled_matrix.cpp: (_Ewk_Tile_Matrix): (_ewk_tile_matrix_cell_free): (_ewk_tile_matrix_tile_free): (ewk_tile_matrix_new): (ewk_tile_matrix_free): (ewk_tile_matrix_unused_cache_get): (ewk_tile_matrix_tile_exact_get): (ewk_tile_matrix_tile_new): (ewk_tile_matrix_tile_put): (ewk_tile_matrix_dbg): (ewk_tile_matrix_freeze): (ewk_tile_matrix_thaw): * ewk/ewk_tiled_matrix.h: * ewk/ewk_tiled_model.cpp: (tile_account): (ewk_tile_updates_process): (ewk_tile_unused_cache_tile_put): (ewk_tile_unused_cache_dbg): * ewk/ewk_tiled_model.h: * ewk/ewk_util.h: * ewk/ewk_view.cpp: (_Ewk_View_Private_Data): (_ewk_view_smart_focus_in): (_ewk_view_smart_pre_render_region): (ewk_view_pre_render_region): (ewk_view_toolbars_visible_get): (ewk_view_statusbar_visible_get): (ewk_view_scrollbars_visible_get): (ewk_view_menubar_visible_get): (ewk_view_zoom_range_set): * ewk/ewk_view.h: * ewk/ewk_view_single.cpp: (_ewk_view_single_smart_repaints_process): * ewk/ewk_view_tiled.cpp: (_ewk_view_tiled_smart_backing_store_add): (_ewk_view_tiled_smart_add): (ewk_view_tiled_unused_cache_get): (ewk_view_tiled_unused_cache_set): 2012-02-05 ChangSeok Oh [EFL] Enable WebGL with glx backend https://bugs.webkit.org/show_bug.cgi?id=77308 Reviewed by Martin Robinson. Activated WebGL feature. * ewk/ewk_view.cpp: (_Ewk_View_Private_Data): (_ewk_view_priv_new): 2012-02-05 Gyuyoung Kim [EFL] Remove g_thread_init() calls https://bugs.webkit.org/show_bug.cgi?id=77828 Reviewed by Andreas Kling. g_thread_init has been deprecated since glib 2.32. This function is no longer necessary. The GLib threading system is automatically initialized at the start of your program. * ewk/ewk_main.cpp: (_ewk_init_body): 2012-02-02 KwangHyuk Kim [EFL] Add contentsSize flag into ewk_tiled_backing_store's private data. https://bugs.webkit.org/show_bug.cgi?id=77586 Reviewed by Andreas Kling. As both zoom and content size change are identified by model flag, ewk_tiled_backing_store can not detect the conflict between them. In order to prevent conflict between zoom and contents size change, contentsSize flag is newly added. * ewk/ewk_tiled_backing_store.cpp: (_Ewk_Tiled_Backing_Store_Item): (_Ewk_Tiled_Backing_Store_Data): (_ewk_tiled_backing_store_smart_calculate): (ewk_tiled_backing_store_contents_resize): 2012-02-02 Raphael Kubo da Costa [EFL] Remove check for ENABLE_GTK_PLUGINS_SUPPORT https://bugs.webkit.org/show_bug.cgi?id=77647 Reviewed by Martin Robinson. There is no clear reason why this check was in place (it came with the upstreaming of the port), but ENABLE_GTK_PLUGINS_SUPPORT is not set anywhere, and the build system does not even check for the presence of GTK+ when building. * ewk/ewk_main.cpp: (_ewk_init_body): 2012-01-31 Ryuan Choi [EFL] Add basic DRT/Efl implementation to support viewport test. https://bugs.webkit.org/show_bug.cgi?id=77320 Reviewed by Andreas Kling. Add dumpConfigurationForViewport. * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: (DumpRenderTreeSupportEfl::dumpConfigurationForViewport): * WebCoreSupport/DumpRenderTreeSupportEfl.h: 2012-01-31 KwangHyuk Kim [EFL] Set content hint information for ewk_view_single. https://bugs.webkit.org/show_bug.cgi?id=77319 Reviewed by Ryosuke Niwa. The content hint information corresponding to opengl_x11 engine is set for the image object which ewk_view_single owns when evas is based on opengl_x11 engine. * ewk/ewk_view_single.cpp: (_ewk_view_single_smart_backing_store_add): 2012-01-30 Eunsol Park [EFL] Define the names of view smart class https://bugs.webkit.org/show_bug.cgi?id=76370 Reviewed by Andreas Kling. Strings of ewk_tiled_view's name were defined differently, so the definitions were modified to make users not confused. * ewk/ewk_private.h: * ewk/ewk_view.cpp: * ewk/ewk_view_single.cpp: (_ewk_view_single_smart_class_new): * ewk/ewk_view_tiled.cpp: (ewk_view_tiled_smart_set): (_ewk_view_tiled_smart_class_new): 2012-01-26 Tomasz Morawski [EFL] Added missing NETSCAPE_PLUGIN_API macro. https://bugs.webkit.org/show_bug.cgi?id=77093 Reviewed by Andreas Kling. The ewk_view_js_window_object_clear function should be inside ENABLE(NETSCAPE_PLUGIN_API) macro. * ewk/ewk_view.cpp: 2012-01-17 Gyuyoung Kim [EFL] Use static const insted of #define macro. https://bugs.webkit.org/show_bug.cgi?id=76499 Reviewed by Hajime Morita. WebKit coding style prefers const to #define. EFL port needs to use const insted of #define macro. This patch replace global variables defined by #define with const. * ewk/ewk_tiled_backing_store.cpp: (_ewk_tiled_backing_store_smart_add): (_ewk_tiled_backing_store_zoom_set_internal): * ewk/ewk_tiled_backing_store.h: * ewk/ewk_tiled_matrix.cpp: (ewk_tile_matrix_new): * ewk/ewk_view.cpp: (_ewk_view_repaint_add): (_ewk_view_repaints_flush): (_ewk_view_scroll_add): (_ewk_view_scrolls_flush): (_ewk_view_priv_new): (ewk_view_base_smart_set): * ewk/ewk_view_tiled.cpp: (_ewk_view_tiled_smart_pre_render_start): 2012-01-13 Raphael Kubo da Costa [EFL] Emit "resource,request,willsend" from ewk_view. https://bugs.webkit.org/show_bug.cgi?id=76292 Reviewed by Andreas Kling. Make ewk_view dispatch the "resource,request,willsend" signal as well, so that it is possible to know whether the request is for the main frame itself or for anything else. * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::dispatchWillSendRequest): * ewk/ewk_view.h: 2012-01-16 Ryuan Choi [EFL] Build fix when using pango as font backends. https://bugs.webkit.org/show_bug.cgi?id=76368 Unreviewed build fix. * ewk/ewk_view.cpp: include RefPtrCairo.h 2012-01-13 Leandro Pereira [EFL] SecurityPolicy whitelist interface should be exposed to EWebKit https://bugs.webkit.org/show_bug.cgi?id=76082 Reviewed by Andreas Kling. * CMakeListsEfl.txt: Added reference to ewk_security_policy.{cpp,h}. * ewk/EWebKit.h: Include ewk_security_policy.h. * ewk/ewk_security_policy.cpp: Added. (ewk_security_policy_whitelist_origin_add): Implemented thin layer around SecurityPolicy::addOriginAccessWhitelistEntry(). (ewk_security_policy_whitelist_origin_del): Implemented thin layer around SecurityPolicy::removeOriginAccessWhitelistEntry(). (ewk_security_policy_whitelist_origin_reset): Implemented thin layer around SecurityPolicy::resetOriginAccessWhitelists(). * ewk/ewk_security_policy.h: Added. 2012-01-13 Gyuyoung Kim [EFL] Remove extern "C" from ewk_private.h https://bugs.webkit.org/show_bug.cgi?id=76250 Reviewed by Andreas Kling. ewk_private.h defines internal functions used by WebKit itself. There is no chance to be used by C application. So, extern "C" keyword is unneeded in ewk_private.h. * ewk/ewk_private.h: 2012-01-13 Grzegorz Czajkowski [EFL] Add 'Copy Image Address' to context menu. https://bugs.webkit.org/show_bug.cgi?id=76153 Reviewed by Andreas Kling. Adds EWK_CONTEXT_MENU_ITEM_TAG_COPY_IMAGE_URL_TO_CLIPBOARD to Ewk_Context_Menu_Action to synchronize it with ContextMenuItem.h * ewk/ewk_contextmenu.h: 2012-01-13 KwangHyuk Kim [EFL] Add visible field into ewk_tiled_backing_store's data. https://bugs.webkit.org/show_bug.cgi?id=76165 Reviewed by Nikolas Zimmermann. Using of evas_object_visible_get() API can't gurantee the correctness of evas_object's visible status if it's called inside of evas_object's smart_show() method. So, a visible flag for the ewk_tiled_backing_store is added. In addition, as tiles are not visible, ewk_tiled_backing_store will push its own tiles into the cache when it disapear. * ewk/ewk_tiled_backing_store.cpp: (_ewk_tiled_backing_store_updates_process): (_ewk_tiled_backing_store_item_process_idler_start): (_ewk_tiled_backing_store_item_fill): (_ewk_tiled_backing_store_smart_member_add): (_ewk_tiled_backing_store_smart_show): (_ewk_tiled_backing_store_smart_hide): 2012-01-13 KwangHyuk Kim [EFL] Unused code cleanup on ewk_tiled_model.cpp. https://bugs.webkit.org/show_bug.cgi?id=76031 Reviewed by Ryosuke Niwa. Remove unused code from ewk_tiled_model.cpp. * ewk/ewk_tiled_model.cpp: 2012-01-12 Grzegorz Czajkowski [EFL] Move macro checking to functions' definition in ewk_js.cpp. https://bugs.webkit.org/show_bug.cgi?id=76037 Reviewed by Andreas Kling. Moves macro checking to functions' definition instead of duplicate them in source depending on macro value. It's known practice in WebKit and EFL port. Duplicating functions in the same file whose return value is different may confuse user, especially if macro isn't included in a patch. * ewk/ewk_js.cpp: (ewk_js_object_new): (ewk_js_object_free): (ewk_js_object_view_get): (ewk_js_object_properties_get): (ewk_js_object_name_get): (ewk_js_object_invoke): (ewk_js_object_type_get): (ewk_js_object_type_set): (ewk_js_variant_free): (ewk_js_variant_array_free): 2012-01-12 KwangHyuk Kim [EFL] Modify some API's implementation to let it directly pass Eina_Rectangle into IntRect. https://bugs.webkit.org/show_bug.cgi?id=75695 Reviewed by Andreas Kling. Dereference Eina_Rectangle pointers so the shorter IntRect constructor can be used. * ewk/ewk_view.cpp: (ewk_view_paint_context_clip): (ewk_view_paint_context_paint): (ewk_view_paint_context_paint_contents): (ewk_view_paint): (ewk_view_paint_contents): 2012-01-11 JungJik Lee [EFL] Refactor single backing store scroll code. https://bugs.webkit.org/show_bug.cgi?id=75243 Reviewed by Zoltan Herczeg. Remove the duplicated code and refactor the scroll procedure. Wherever the page is scrolled, there are one screen copy and two updates. This patch optimises the scroll procedure by less calculation. * ewk/ewk_view_single.cpp: (_ewk_view_screen_move): (_ewk_view_single_scroll_process_single): 2012-01-11 KwangHyuk Kim [EFL] Fix page rendering issue on ewk_view_tiled. https://bugs.webkit.org/show_bug.cgi?id=75686 Reviewed by Andreas Kling. As for now the discard of ewk_tiled_backing_store doesn't reset its own contents size information and ewk_tiled_backing_store just ignores the request if new contents size change request would contain the same size compared to the one that it owns, contents size change request coming from ChromeClientEfl::contentsSizeChanged() API can be skipped and therefore web page can't be presented properly. In order to resolve this, I just add code to reset contents size information which ewk_tiled_backing_store owns when it discards its own data. * ewk/ewk_tiled_backing_store.cpp: (ewk_tiled_backing_store_flush): 2012-01-10 Tomasz Morawski [EFL] Added smart pointers to Ewk_View_Paint_Context class and done minor refactoring. https://bugs.webkit.org/show_bug.cgi?id=75837 Reviewed by Ryosuke Niwa. Changed graphicContext raw pointer to OwnPtr smart pointer. Renamed cr to cairo and made it a RefPtr. * ewk/ewk_view.cpp: (ewk_view_paint_context_new): Adjust to auto pointers use. (ewk_view_paint_context_free): Removed explicit raw pointers delete. Adjust to auto pointers use: (ewk_view_paint_context_save): (ewk_view_paint_context_restore): (ewk_view_paint_context_clip): (ewk_view_paint_context_paint): (ewk_view_paint_context_paint_contents): 2012-01-09 Raphael Kubo da Costa [EFL] Add getter for Ewk_JS_Object::view. https://bugs.webkit.org/show_bug.cgi?id=75868 Reviewed by Andreas Kling. So far the view associated with a given JS object was a private property only accessible to ewk itself. This does not make much sense, as one often needs to know which view a certain method was invoked from, for example. * ewk/ewk_js.cpp: (ewk_js_object_view_get): * ewk/ewk_js.h: 2012-01-06 JungJik Lee [EFL] Add new pre-rendering code. https://bugs.webkit.org/show_bug.cgi?id=73430 Reviewed by Zoltan Herczeg. Add new pre-rendering code to pre-render the view area more efficiently. At first find centered view position where backing store starts to queuing the render request from. And append the request into the tiled backing store in spiral order. * ewk/ewk_private.h: * ewk/ewk_tiled_backing_store.cpp: (ewk_tiled_backing_store_pre_render_tile_add): (ewk_tiled_backing_store_pre_render_spiral_queue): * ewk/ewk_tiled_backing_store.h: * ewk/ewk_view.cpp: (_ewk_view_smart_pre_render_start): (ewk_view_base_smart_set): (ewk_view_pre_render_start): * ewk/ewk_view.h: * ewk/ewk_view_tiled.cpp: (_ewk_view_tiled_rect_collision_check): (_ewk_view_tiled_rect_collision_resolve): (_ewk_view_tiled_smart_pre_render_start): (ewk_view_tiled_smart_set): 2012-01-05 KwangHyuk Kim [EFL] Invalidation request for ewk_view can be discarded without rendering. https://bugs.webkit.org/show_bug.cgi?id=71564 Reviewed by Hajime Morita. As ewk_view discards a queue for invalidation requests as soon as it proceeds the repaint step, the newly produced invalidation requests from ewk_view_layout_if_needed_recursive API can be discarded and unpainted dirty area can occur. As this issue is just caused by use of flush API in repaint step, (internal API) ewk_view_repaints_get is replaced with ewk_view_repaints_pop in order to make sure that old invalidation requests are removed from queue. And in addition to that, ewk_view_repaint_add is modified in order to let queue of invalidation requests keep a proper size. As a result flush API won't be used for the repaint step. * ewk/ewk_private.h: * ewk/ewk_view.cpp: (_ewk_view_repaint_add): (_ewk_view_smart_calculate): (ewk_view_repaints_pop): * ewk/ewk_view_single.cpp: (_ewk_view_single_smart_repaints_process): * ewk/ewk_view_tiled.cpp: (_ewk_view_tiled_smart_repaints_process): 2012-01-04 KwangHyuk Kim [EFL] Refactor the way using cairo in ewk_tiled_backing_store. https://bugs.webkit.org/show_bug.cgi?id=74993 Reviewed by Nikolas Zimmermann. For now there are cairo related code scattered around the ewk_tiled_backing_store. From the point of code complexity view, it doesn't look good and I couldn't notice any benefit of it. So, this patch will let cairo related code be used only for painting operation. * ewk/ewk_tiled_backing_store.h: * ewk/ewk_tiled_matrix.cpp: (ewk_tile_matrix_tile_new): * ewk/ewk_tiled_model.cpp: (ewk_tile_new): (ewk_tile_free): * ewk/ewk_view_tiled.cpp: (_ewk_view_tiled_render_cb): 2012-01-03 Jon Lee Leak of WebNotificationClient when page is destroyed https://bugs.webkit.org/show_bug.cgi?id=74980 Reviewed by Mark Rowe. * WebCoreSupport/NotificationPresenterClientEfl.cpp: (WebCore::NotificationPresenterClientEfl::notificationControllerDestroyed): Stub implementation, because the notification presenter is unimplemented. * WebCoreSupport/NotificationPresenterClientEfl.h: 2012-01-02 Gyuyoung Kim [EFL] Remove whitespace/declaration style exception https://bugs.webkit.org/show_bug.cgi?id=75424 Reviewed by David Levin. EFL port doesn't need to avoid *whitespace/declaration* exception because of coding style change. However, EWebLauncher and MiniBrowser need to use EFL coding style because they are EFL application. * WebCoreSupport/FrameLoaderClientEfl.cpp: * ewk/ewk_frame.cpp: (ewk_frame_feed_touch_event): * ewk/ewk_tiled_matrix.cpp: (ewk_tile_matrix_invalidate): * ewk/ewk_view.cpp: 2012-01-01 Eunmi Lee [EFL] Move function to get dpi to the WebCore/platform/efl/EflScreenUtilities.cpp. https://bugs.webkit.org/show_bug.cgi?id=75292 Reviewed by Andreas Kling. Move ewk_util_dpi_get() function in the ewk_util.cpp to the WebCore/platform/efl/EflScreenUtilities.cpp in order to use it in the WebKit2. The function's name is changed to getDPI(). * ewk/ewk_private.h: * ewk/ewk_util.cpp: (ewk_util_image_from_cairo_surface_add): * ewk/ewk_view.cpp: (_ewk_view_viewport_attributes_compute): 2011-12-27 JungJik Lee [EFL] Remove duplicate code and remove entry after freeing the matrix. https://bugs.webkit.org/show_bug.cgi?id=75073 Reviewed by Ryosuke Niwa. Remove duplicate ewk_tile_unused_cache_freeze code. Entry matrix should free first before removing entry in inlist, because in eina_matrixsparce_free callback entry pointer is referenced to decrease the reference count. * ewk/ewk_tiled_matrix.cpp: (ewk_tile_matrix_free): 2011-12-26 Ryuan Choi [EFL] Last parameter of ewk_view_scroll is always true. https://bugs.webkit.org/show_bug.cgi?id=75157 Reviewed by Andreas Kling. Remove unnecessary parameter in ewk_view_scroll and related code, because it's always true and ewk_view_tile can scroll when it is only true. * WebCoreSupport/ChromeClientEfl.cpp: (WebCore::ChromeClientEfl::scroll): * ewk/ewk_private.h: * ewk/ewk_view.cpp: (_ewk_view_scroll_add): (ewk_view_scroll): * ewk/ewk_view.h: * ewk/ewk_view_tiled.cpp: (_ewk_view_tiled_smart_scrolls_process): 2011-12-23 Raphael Kubo da Costa Unreviewed; fix build with ENABLE(NETSCAPE_PLUGIN_API). * ewk/ewk_js.cpp: Include ewk_logging.h for ERR(). 2011-12-22 Mariusz Grzegorczyk [EFL] Missing plugins support for efl port https://bugs.webkit.org/show_bug.cgi?id=44505 Reviewed by Anders Carlsson. Implementation of ewk_frame_plugin_create() - creating PluginView. * ewk/ewk_frame.cpp: (ewk_frame_plugin_create): 2011-12-22 Eunmi Lee [EFL] Remove unused parameter names. https://bugs.webkit.org/show_bug.cgi?id=74702 Reviewed by Eric Seidel. * ewk/ewk_view.cpp: (_ewk_view_on_focus_in): (_ewk_view_on_focus_out): (_ewk_view_on_mouse_wheel): (_ewk_view_on_mouse_down): (_ewk_view_on_mouse_up): (_ewk_view_on_mouse_move): (_ewk_view_on_key_down): (_ewk_view_on_key_up): * ewk/ewk_view_single.cpp: (_ewk_view_single_on_del): 2011-12-22 KwangHyuk Kim [EFL] Invalidation request for outside of visible area doesn't seem to occur when tiled view is used. https://bugs.webkit.org/show_bug.cgi?id=70873 Reviewed by Anders Carlsson. In order to guarantee the paint outside of viewport when ewk_view_tiled is used, ewk_frame_paint_full_set should be called by ewk_frame_view_create_for_view when frame is created because frame view can be created newly as soon as page is created. But for the ewk_view_single, as it doesn't need to paint outside of viewport, ewk_frame_paint_full_set must not be called for ewk_view_single. * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::transitionToCommittedForNewPage): * ewk/ewk_private.h: * ewk/ewk_view.cpp: (ewk_view_frame_view_creation_notify): * ewk/ewk_view_tiled.cpp: (_ewk_view_tiled_smart_add): (ewk_view_tiled_smart_set): 2011-12-21 Michał Pakuła vel Rutka [EFL] Add 'Select All' option to context menus in WebKit-EFL. https://bugs.webkit.org/show_bug.cgi?id=74920 Reviewed by Eric Seidel. Enable 'Select All' option to context menus called on input fields in WebKit-EFL as it is enabled in GTK and QT ports. * ewk/ewk_contextmenu.h: Add new context menu option 'Select All'. 2011-12-19 Ryuan Choi [EFL] Change the behavior of ewk_view_scale_set. https://bugs.webkit.org/show_bug.cgi?id=70078 Reviewed by Eric Seidel. Remove center point basis zoom alignment from ewk_view_scale_set to call Page::setPageScaleFactor without any adjustment. * ewk/ewk_view.cpp: (ewk_view_scale_set): * ewk/ewk_view.h: 2011-12-19 Raphael Kubo da Costa Unreviewed; fix the build with ENABLE(TOUCH_EVENTS) after r103167. This partly reverts r102297: the Touch{Start,Move,End,Cancel} events are not in a separate enum anymore (they are part of WebCore::PlatformEvent), so the assertions in AssertMatchingEnums.cpp always fail. Setting EWK_TOUCH_START to TouchStart feels even more hackish, so we just convert the types manually again for now. * WebCoreSupport/AssertMatchingEnums.cpp: * ewk/ewk_frame.cpp: (ewk_frame_feed_touch_event): 2011-12-17 Sam Weinig Make PlatformTouchEvent inherit from PlatformEvent https://bugs.webkit.org/show_bug.cgi?id=74777 Reviewed by Andreas Kling. * ewk/ewk_frame.cpp: (ewk_frame_feed_touch_event): Rename TouchEventType to PlatformEvent::Type. 2011-12-16 Ryosuke Niwa Rename registerCommandFor(Undo|Redo) to register(Undo|Redo)Step https://bugs.webkit.org/show_bug.cgi?id=74748 Reviewed by Eric Seidel. * WebCoreSupport/EditorClientEfl.cpp: (WebCore::EditorClientEfl::registerUndoStep): (WebCore::EditorClientEfl::registerRedoStep): * WebCoreSupport/EditorClientEfl.h: 2011-12-16 Sam Weinig Give PlatformEvents a base class https://bugs.webkit.org/show_bug.cgi?id=74685 Reviewed by Anders Carlsson. Add a base class for PlatformMouseEvent, PlatformKeyboardEvent, PlatformWheelEvent and PlatformGestureEvent and move Type enumeration and modifiers down to it. * WebCoreSupport/EditorClientEfl.cpp: (WebCore::EditorClientEfl::handleEditingKeyboardEvent): 2011-12-16 Ryosuke Niwa Only EditCommandComposition should implement unapply and reapply https://bugs.webkit.org/show_bug.cgi?id=74490 Reviewed by Eric Seidel. * WebCoreSupport/EditorClientEfl.cpp: (WebCore::EditorClientEfl::registerCommandForUndo): (WebCore::EditorClientEfl::registerCommandForRedo): (WebCore::EditorClientEfl::undo): (WebCore::EditorClientEfl::redo): * WebCoreSupport/EditorClientEfl.h: 2011-12-15 Raphael Kubo da Costa [EFL] Clean up and refactor the memory cache functions in ewk_settings. https://bugs.webkit.org/show_bug.cgi?id=72140 Reviewed by Antonio Gomes. Use a better naming prefix, as "ewk_settings_cache" was too general, and make it possible to pass all parameters to MemoryCache::setCapacities(). * ewk/ewk_settings.cpp: (ewk_settings_object_cache_capacity_set): (ewk_settings_object_cache_enable_get): (ewk_settings_object_cache_enable_set): * ewk/ewk_settings.h: 2011-12-15 Raphael Kubo da Costa [EFL] Add a few more web database functions to ewk_settings. https://bugs.webkit.org/show_bug.cgi?id=72148 Reviewed by Antonio Gomes. Add code to change the default quota (there as only a getter so far) and one to clear the databases. * ewk/ewk_settings.cpp: (ewk_settings_web_database_default_quota_set): (ewk_settings_web_database_clear): * ewk/ewk_settings.h: 2011-12-14 Gyuyoung Kim [EFL] Change efl style variable name with WebKit style for internal functions. https://bugs.webkit.org/show_bug.cgi?id=74474 Reviewed by Ryosuke Niwa. In order to be more compliant with WebKit coding style, variable names of internal functions should be changed with WebKit coding style. * ewk/ewk_private.h: * ewk/ewk_view.cpp: (ewk_view_scroll): 2011-12-14 Jing Zhao Opening two popup menus by dispatchEvent() makes problems. https://bugs.webkit.org/show_bug.cgi?id=73304 Reviewed by Kent Tamura. * WebCoreSupport/ChromeClientEfl.cpp: (WebCore::ChromeClientEfl::hasOpenedPopup): Not implemented. * WebCoreSupport/ChromeClientEfl.h: Overrides hasOpenedPopup(). 2011-12-12 Raphael Kubo da Costa [EFL] Add API to query the validity of a frame's SSL certificate. https://bugs.webkit.org/show_bug.cgi?id=74302 Reviewed by Gustavo Noronha Silva. * ewk/ewk_frame.cpp: (ewk_frame_certificate_status_get): * ewk/ewk_frame.h: 2011-12-12 Raphael Kubo da Costa [EFL] Add API to notify that mixed content has been loaded. https://bugs.webkit.org/show_bug.cgi?id=74301 Reviewed by Gustavo Noronha Silva. When mixed content is displayed/run, both frames and views emit the proper signals to notify API users. * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::didDisplayInsecureContent): (WebCore::FrameLoaderClientEfl::didRunInsecureContent): * ewk/ewk_frame.cpp: (ewk_frame_view_create_for_view): (ewk_frame_mixed_content_displayed_get): (ewk_frame_mixed_content_run_get): (ewk_frame_mixed_content_displayed_set): (ewk_frame_mixed_content_run_set): * ewk/ewk_frame.h: * ewk/ewk_private.h: * ewk/ewk_view.cpp: (ewk_view_frame_main_cleared): (ewk_view_mixed_content_displayed_get): (ewk_view_mixed_content_run_get): (ewk_view_mixed_content_displayed_set): (ewk_view_mixed_content_run_set): * ewk/ewk_view.h: 2011-12-12 Raphael Kubo da Costa [EFL] Add API to manage root X.509 CA certificates. https://bugs.webkit.org/show_bug.cgi?id=74300 Reviewed by Martin Robinson. * ewk/ewk_network.cpp: (ewk_network_tls_ca_certificates_path_get): (ewk_network_tls_ca_certificates_path_set): * ewk/ewk_network.h: 2011-12-12 Raphael Kubo da Costa [EFL] Add API to control whether SSL certificates should be checked. https://bugs.webkit.org/show_bug.cgi?id=74299 Reviewed by Martin Robinson. * ewk/ewk_main.cpp: (_ewk_init_body): Explicitly disable certificate checks by default. * ewk/ewk_network.cpp: (ewk_network_tls_certificate_check_get): (ewk_network_tls_certificate_check_set): * ewk/ewk_network.h: 2011-12-07 Ryuan Choi [EFL] Introduce AssertMatchingEnums.cpp. https://bugs.webkit.org/show_bug.cgi?id=65238 Reviewed by Filip Pizlo. Add AssertMatchingEnums.cpp to assert that various WebKit API enum values match to WebCore defined enum values. * CMakeListsEfl.txt: add AssertMatchingEnums.cpp. * WebCoreSupport/AssertMatchingEnums.cpp: Added. * ewk/ewk_frame.cpp: (ewk_frame_feed_touch_event): remove switch statement wichi convert WebKit API enum value to WebCore defined enum values. (ewk_frame_text_selection_type_get): Ditto. * ewk/ewk_view.cpp: (ewk_view_mode_set): Ditto. (ewk_view_mode_get): Ditto. (ewk_view_visibility_state_set): Ditto. (ewk_view_visibility_state_get): Ditto. * ewk/ewk_frame.h: fix order of enum values. * ewk/ewk_view.h: add missing enum value. 2011-12-07 Mary Wu Change function name InitializeLoggingChannelsIfNecessary to follow coding style guideline https://bugs.webkit.org/show_bug.cgi?id=73986 Reviewed by Kenneth Rohde Christiansen. * ewk/ewk_main.cpp: (_ewk_init_body): 2011-12-05 Raphael Kubo da Costa [EFL] Do not lose message flags when converting to/from Soup Requests/Responses https://bugs.webkit.org/show_bug.cgi?id=73924 Reviewed by Gustavo Noronha Silva. Apply the same change added to the GTK+ port in r55086 to prevent soup message flags from being lost by updating the request flags when a response is received. * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::dispatchDidReceiveResponse): 2011-12-04 Kangil Han [EFL] Fix broken UTF-8 characters issue on editor command. https://bugs.webkit.org/show_bug.cgi?id=73516 Reviewed by Ryosuke Niwa. The issue has been described that Korean character is broken on pasting copied text. In my analysis, this is from lack of format change between C style UTF-8 character pointer and C++ style String reference. Therefore, this patch will convert types to resolve the problem. * ewk/ewk_view.cpp: (_ewk_view_editor_command): 2011-12-03 ChangSeok Oh [EFL] Revise ewk_view_fixed_layout_size_set https://bugs.webkit.org/show_bug.cgi?id=73401 Reviewed by Eric Seidel. Improve readability and replace forceLayout to setNeedsLayout, since it sometimes causes double drawing. * ewk/ewk_view.cpp: (ewk_view_fixed_layout_size_set): 2011-12-02 JungJik Lee [EFL] Remove entry pointer before freeing it from matrix. https://bugs.webkit.org/show_bug.cgi?id=73625 Reviewed by Ryosuke Niwa. To prevent leaving dangling pointer on the matrix, remove the entry before freeing it. * ewk/ewk_tiled_matrix.cpp: (ewk_tile_matrix_free): 2011-12-01 Ryuan Choi [EFL] Cleanup includes to reduce code complexity. https://bugs.webkit.org/show_bug.cgi?id=73540 Reviewed by Gustavo Noronha Silva. EWebKit.h is a list of public header files for application to use WebKit/Efl. This patch removes EWebKit.h in internal files to reduce unnecessary includes. In addition, reorders optional includes to fix style. * WebCoreSupport/ChromeClientEfl.cpp: * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: * WebCoreSupport/EditorClientEfl.cpp: * WebCoreSupport/FrameLoaderClientEfl.cpp: * ewk/ewk_auth_soup.cpp: * ewk/ewk_contextmenu.cpp: * ewk/ewk_cookies.cpp: * ewk/ewk_frame.cpp: * ewk/ewk_history.cpp: * ewk/ewk_main.cpp: * ewk/ewk_private.h: * ewk/ewk_settings.cpp: * ewk/ewk_util.cpp: * ewk/ewk_view.cpp: * ewk/ewk_view_single.cpp: * ewk/ewk_view_tiled.cpp: * ewk/ewk_window_features.cpp: 2011-12-01 Raphael Kubo da Costa [EFL] Remove the ewk_protocol_handler-related code https://bugs.webkit.org/show_bug.cgi?id=73018 Reviewed by Martin Robinson. This functionality has been broken since r99364, which stopped setting the "webkit-resource" property needed by ewk_protocol_handler_soup.cpp. After giving it some thought, it looks clear that this code should not be in ewk at all: it is very backend-specific (even in the function signatures it expects), and it only allows callers to register schemes once and provide a single handler to all of them, which does not make much sense. Client code using WebKit-EFL with the soup backend should be responsible for creating their own request handlers (ie. subclass SoupRequest) instead. For that to be possible, a function which returns the default SoupSession used by WebKit has been added. * CMakeListsEfl.txt: * ewk/ewk_network.cpp: (ewk_network_default_soup_session_get): * ewk/ewk_network.h: * ewk/ewk_private.h: * ewk/ewk_protocol_handler.cpp: Removed. * ewk/ewk_protocol_handler.h: Removed. * ewk/ewk_protocol_handler_soup.cpp: Removed. * ewk/ewk_protocol_handler_soup.h: Removed. * ewk/ewk_view.cpp: * ewk/ewk_view.h: 2011-11-30 Gyuyoung Kim Unreviewed. Fix build error when NOTIFICATIONS feature is enabled. * WebCoreSupport/ChromeClientEfl.h: 2011-11-30 Alexey Proskuryakov Remove an unneeded argument from FrameLoaderClient::download https://bugs.webkit.org/show_bug.cgi?id=73486 Reviewed by Andreas Kling. * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::download): * WebCoreSupport/FrameLoaderClientEfl.h: Updated for the change. 2011-11-30 JungJik Lee [EFL] Apply alpha channel into ewk_tiled_backing_store's tile objects. https://bugs.webkit.org/show_bug.cgi?id=73015 Reviewed by Chang Shu. Add alpha_set API to tiled backing store to apply alpha channel on tile objects. * ewk/ewk_tiled_backing_store.cpp: (_ewk_tiled_backing_store_tile_associate): (ewk_tiled_backing_store_alpha_set): * ewk/ewk_tiled_backing_store.h: * ewk/ewk_view.h: * ewk/ewk_view_tiled.cpp: (_ewk_view_tiled_smart_bg_color_set): (ewk_view_tiled_smart_set): 2011-11-30 Gyuyoung Kim [EFL] Remove duplicated UA information function. https://bugs.webkit.org/show_bug.cgi?id=73104 Reviewed by Filip Pizlo. Though ewk_setting already implemented an internal function for UA(user agent) information, FrameLoaderClientEfl has used duplicated function for UA information. So, this patch removes the UA information function of FrameLoaderClientEfl and uses an internal UA information function of ewk_setting. In addition, UA infomation function is enhanced for other ports. * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::composeUserAgent): * ewk/ewk_settings.cpp: (ewk_settings_default_user_agent_get): 2011-11-30 Tomasz Morawski [EFL] Added DEFAULT_CACHE_SIZE define. https://bugs.webkit.org/show_bug.cgi?id=73120 Reviewed by Filip Pizlo. Remove form code 40960000 value used in code directly and replaced it by DEFAULT_CACHE_SIZE define. The code looks cleaner now. * ewk/ewk_tiled_matrix.cpp: (ewk_tile_matrix_new): 2011-11-28 JungJik Lee [EFL] Rename abbreviated value names to cpp style names. https://bugs.webkit.org/show_bug.cgi?id=73193 Reviewed by Andreas Kling. Rename abbreviated values name to cpp style names in ewk_single/tiled_view.cpp. * ewk/ewk_view_single.cpp: (_ewk_view_4b_move_region_up): (_ewk_view_4b_move_region_down): (_ewk_view_4b_move_line_left): (_ewk_view_4b_move_line_right): (_ewk_view_4b_move_region_left): (_ewk_view_4b_move_region_right): (_ewk_view_4b_move_region): (_ewk_view_single_scroll_process_single): (_ewk_view_single_smart_repaints_process): * ewk/ewk_view_tiled.cpp: (_ewk_view_tiled_smart_scrolls_process): (_ewk_view_tiled_smart_repaints_process): 2011-11-26 Sheriff Bot Unreviewed, rolling out r101193. http://trac.webkit.org/changeset/101193 https://bugs.webkit.org/show_bug.cgi?id=73158 Breaks Windows and Qt minimal. (Requested by pfeldman on #webkit). * WebCoreSupport/InspectorClientEfl.cpp: * WebCoreSupport/InspectorClientEfl.h: 2011-11-24 KwangHyuk Kim [EFL] Add implementation considering ewk_tiled_backing_store's visible status. https://bugs.webkit.org/show_bug.cgi?id=71791 Reviewed by Gustavo Noronha Silva. In order to prevent rendering and pre-rendering while backing store is hidden, its visibility is checked and pre-rendering is handled whenever backing store is shown or hidden. * ewk/ewk_tiled_backing_store.cpp: (_ewk_tiled_backing_store_item_process_idler_start): (_ewk_tiled_backing_store_item_fill): (_ewk_tiled_backing_store_smart_show): (_ewk_tiled_backing_store_smart_hide): (ewk_tiled_backing_store_add): 2011-11-22 Pavel Feldman Web Inspector: remove Inspector::bringToFront from the protocol. https://bugs.webkit.org/show_bug.cgi?id=72937 Reviewed by Yury Semikhatsky. * WebCoreSupport/InspectorClientEfl.cpp: (WebCore::InspectorClientEfl::bringFrontendToFront): * WebCoreSupport/InspectorClientEfl.h: 2011-11-21 Raphael Kubo da Costa [EFL] Add more appcache functions to ewk_settings. https://bugs.webkit.org/show_bug.cgi?id=72143 Reviewed by Kenneth Rohde Christiansen. Add a few more functions to make it possible to have more control over the offline web application features. * ewk/ewk_settings.cpp: (ewk_settings_application_cache_max_quota_get): (ewk_settings_application_cache_max_quota_set): (ewk_settings_application_cache_clear): * ewk/ewk_settings.h: 2011-10-17 Antonio Gomes Pass a Frame* parameter in EditorClient::respondToChangedSelection https://bugs.webkit.org/show_bug.cgi?id=70248 Reviewed by Ryosuke Niwa. * WebCoreSupport/EditorClientEfl.cpp: Make use of the newly added Frame* parameter. (WebCore::EditorClientEfl::respondToChangedSelection): * WebCoreSupport/EditorClientEfl.h: 2011-11-17 KwangHyuk Kim [EFL] Add matrix list to reuse tile matrix for each different zoom level. https://bugs.webkit.org/show_bug.cgi?id=68595 Reviewed by Kenneth Rohde Christiansen. Add matrix list to keep each tile matrix corresponding to each different zoom level when zoom level is changed. Then backing store can reuse tile matrix by getting it from this matrix list. * ewk/ewk_tiled_backing_store.cpp: (_ewk_tiled_backing_store_model_matrix_create): (_ewk_tiled_backing_store_smart_calculate): (_ewk_tiled_backing_store_zoom_set_internal): * ewk/ewk_tiled_matrix.cpp: (ewk_tile_matrix_entry_get): (_ewk_tile_matrix_cell_free): (_ewk_tile_matrix_tile_free): (ewk_tile_matrix_new): (ewk_tile_matrix_zoom_level_set): (ewk_tile_matrix_invalidate): (ewk_tile_matrix_free): (ewk_tile_matrix_tile_new): * ewk/ewk_tiled_matrix.h: 2011-11-17 Raphael Kubo da Costa [EFL] Clean up the use of DATA_DIR in the buildsystem https://bugs.webkit.org/show_bug.cgi?id=72681 Reviewed by Daniel Bates. Instead of messing with BUILD_DATA_DIR and PARENT_SCOPE, just use THEME_BINARY_DIR as defined in OptionsEfl.cmake. * CMakeListsEfl.txt: 2011-11-16 Gyuyoung Kim [EFL] Use standard booleand data type in struct. https://bugs.webkit.org/show_bug.cgi?id=72565 Reviewed by Martin Robinson. Change *Eina_Bool* usages with *bool* in member variables of internal struct. * ewk/ewk_contextmenu.cpp: * ewk/ewk_frame.cpp: * ewk/ewk_tiled_backing_store.cpp: * ewk/ewk_view.cpp: 2011-11-16 Raphael Kubo da Costa [EFL] Add ewk_settings_memory_cache_clear(). https://bugs.webkit.org/show_bug.cgi?id=72141 Reviewed by Kenneth Rohde Christiansen. This is the same as Qt's QWebSettings::clearMemoryCaches() and is responsible for clearing, among others, the page, memory and font caches. * ewk/ewk_settings.cpp: (ewk_settings_memory_cache_clear): * ewk/ewk_settings.h: 2011-11-16 Raphael Kubo da Costa [EFL] Clean up the web database-related functions in ewk_settings. https://bugs.webkit.org/show_bug.cgi?id=72139 Reviewed by Kenneth Rohde Christiansen. Mostly remove some unnecessary ENABLE(SQL_DATABASE) checks and use a more standard naming scheme for the related static variables. * ewk/ewk_settings.cpp: (ewk_settings_web_database_default_quota_get): (ewk_settings_web_database_path_set): (ewk_settings_web_database_path_get): * ewk/ewk_settings.h: Document the default web database path on disk. 2011-11-16 Raphael Kubo da Costa [EFL] Clean up the offline apps-related functions in ewk_settings. https://bugs.webkit.org/show_bug.cgi?id=72132 Reviewed by Kenneth Rohde Christiansen. `ewk_settings_cache' and `ewk_view_setting_cache' are too common prefixes for code that is related only to the HTML5 app cache features. Use `ewk_settings_application_cache' and `ewk_view_setting_application_cache' instead. While here, improve the documentation and use a more common naming scheme for the static variable which holds the cache path. * ewk/ewk_main.cpp: (_ewk_init_body): * ewk/ewk_settings.cpp: (ewk_settings_application_cache_path_set): (ewk_settings_application_cache_path_get): * ewk/ewk_settings.h: * ewk/ewk_view.cpp: (ewk_view_setting_application_cache_get): (ewk_view_setting_application_cache_set): * ewk/ewk_view.h: 2011-11-15 Anders Carlsson HostWindow screenToWindow/windowToScreen should be screenToRootView/rootViewToScreen https://bugs.webkit.org/show_bug.cgi?id=72397 Reviewed by Dan Bernstein. * WebCoreSupport/ChromeClientEfl.cpp: (WebCore::ChromeClientEfl::rootViewToScreen): (WebCore::ChromeClientEfl::screenToRootView): * WebCoreSupport/ChromeClientEfl.h: 2011-11-14 Anders Carlsson HostWindow invalidation functions should use root view coordinates https://bugs.webkit.org/show_bug.cgi?id=72338 Reviewed by Dan Bernstein. * WebCoreSupport/ChromeClientEfl.cpp: (WebCore::ChromeClientEfl::invalidateRootView): (WebCore::ChromeClientEfl::invalidateContentsAndRootView): (WebCore::ChromeClientEfl::invalidateContentsForSlowScroll): * WebCoreSupport/ChromeClientEfl.h: 2011-11-15 Grzegorz Czajkowski [EFL] Use EINA_SAFETY_ON_NULL_RETURN_VAL for NULL checks instead of EINA_SAFETY_ON_FALSE_RETURN_VAL. https://bugs.webkit.org/show_bug.cgi?id=70091 Reviewed by Filip Pizlo. Replaces EINA_SAFETY_ON_FALSE_RETURN_VAL by EINA_SAFETY_ON_NULL_RETURN_VAL for NULL checks in compliance with WebKit-EFL functions. * ewk/ewk_frame.cpp: (ewk_frame_contents_set): (ewk_frame_contents_alternate_set): 2011-11-14 Jongseok Yang [EFL] Update ewk_frame_script_execute to return the result for JavaScript https://bugs.webkit.org/show_bug.cgi?id=65972 Reviewed by Antonio Gomes. It executes the javascript and converts the result to a string using toString. And it returns the memory-allocated pointer for the value. * ewk/ewk_frame.cpp: (ewk_frame_script_execute): * ewk/ewk_frame.h: 2011-11-13 Raphael Kubo da Costa [EFL] Improve the documentation of ewk_view_setting_local_storage_*. https://bugs.webkit.org/show_bug.cgi?id=72135 Reviewed by Kenneth Rohde Christiansen. Add some "see also" pointers, mention the default paths used for local storage and document how things will not be persisted to disk if a storage path is not set. * ewk/ewk_view.h: 2011-11-13 Raphael Kubo da Costa [EFL] Simplify eina_stringshare usage in ewk_settings. https://bugs.webkit.org/show_bug.cgi?id=72127 Reviewed by Kenneth Rohde Christiansen. Actually use the eina_stringshare functions in a sane way. * ewk/ewk_settings.cpp: (ewk_settings_web_database_path_set): Just use eina_stringshare_replace instead of doing needless checks and using eina_stringshare_add. (ewk_settings_cache_directory_path_set): Ditto. (ewk_settings_icon_database_path_set): Ditto and always call eina_stringshare_del, as passing NULL to it is just a NOP. 2011-11-11 JungJik Lee [EFL] Remove unused flags in pre-render implementation https://bugs.webkit.org/show_bug.cgi?id=65504 The high priority pre-render flag was not used anywhere, so we can get rid of the whole concept and always consider the requests have low priority Reviewed by Daniel Bates. * ewk/ewk_tiled_backing_store.cpp: (_ewk_tiled_backing_store_pre_render_request_add): (ewk_tiled_backing_store_pre_render_region): (ewk_tiled_backing_store_pre_render_relative_radius): 2011-11-09 Raphael Kubo da Costa [EFL] Remove unnecessary casts when creating the WebCoreSupport objects in ewk_view. https://bugs.webkit.org/show_bug.cgi?id=71891 Reviewed by Antonio Gomes. This is C++ code, there is no need to cast the new objects to their parents when creating them. * ewk/ewk_view.cpp: (_ewk_view_priv_new): 2011-11-09 Tomasz Morawski [EFL] Removed unused variable https://bugs.webkit.org/show_bug.cgi?id=71877 Reviewed by Andreas Kling. Removed unused rect variable declaration and renamed rect1 variable to rect. * ewk/ewk_tiled_backing_store.cpp: (_ewk_tiled_backing_store_smart_calculate): 2011-11-07 Gyuyoung Kim [EFL] Need to replace api's object parameter with proper name. https://bugs.webkit.org/show_bug.cgi?id=71553 Fix wrong parameter names in tiled backing store functions and ewk_view_xxx files. Reviewed by Filip Pizlo. * ewk/ewk_tiled_backing_store.cpp: * ewk/ewk_view_single.cpp: * ewk/ewk_view_tiled.cpp: 2011-11-07 Raphael Kubo da Costa [EFL] Emit the "frame,created" signal earlier. https://bugs.webkit.org/show_bug.cgi?id=71696 Reviewed by Kenneth Rohde Christiansen. FrameLoader::loadURLIntoChildFrame will trigger the machinery that will call FrameLoaderClientEfl::dispatchDidStartProvisionalLoad. However, since we were emitting the "frame,created" signal after that, applications would connect to it after some other frame signals had already been emitted. Should help tests such as http/tests/loading/empty-subframe.html pass. * ewk/ewk_frame.cpp: (ewk_frame_child_add): * ewk/ewk_view.cpp: (ewk_view_frame_create): 2011-11-04 Raphael Kubo da Costa [EFL] DRT: Fix the order of the items in the dumped history list. https://bugs.webkit.org/show_bug.cgi?id=71562 It did not make much sense to hold the history list in a map, as we do not need the keys. And the printed items must be sorted by target, which is more easily done with a vector. Should make tests such as http/tests/navigation/error404-frames.html pass. Reviewed by Antonio Gomes. * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: (DumpRenderTreeSupportEfl::childHistoryItems): * WebCoreSupport/DumpRenderTreeSupportEfl.h: 2011-11-04 Gyuyoung Kim [EFL] Use standard booleand data type. https://bugs.webkit.org/show_bug.cgi?id=71433 This is a fourth step in order to be more compliant with WebKit coding style. Use standard boolean data type instead of efl boolean data type. It makes efl port is more close to webkit coding style. Reviewed by Zoltan Herczeg. * WebCoreSupport/ChromeClientEfl.cpp: * WebCoreSupport/FrameLoaderClientEfl.cpp: * ewk/ewk_contextmenu.cpp: * ewk/ewk_cookies.cpp: * ewk/ewk_frame.cpp: * ewk/ewk_history.cpp: * ewk/ewk_js.cpp: * ewk/ewk_main.cpp: * ewk/ewk_network.cpp: * ewk/ewk_private.h: * ewk/ewk_protocol_handler.cpp: * ewk/ewk_protocol_handler_soup.cpp: * ewk/ewk_settings.cpp: * ewk/ewk_tiled_backing_store.cpp: * ewk/ewk_tiled_matrix.cpp: * ewk/ewk_tiled_model.cpp: * ewk/ewk_util.cpp: * ewk/ewk_view.cpp: * ewk/ewk_view_single.cpp: * ewk/ewk_view_tiled.cpp: 2011-11-03 Tomasz Morawski [EFL] Added ewk_tile_memory_size_get function https://bugs.webkit.org/show_bug.cgi?id=71213 Reviewed by Anders Carlsson. Added the ewk_tile_memory_size_get function returns size of used memory by given tile. Simplify and cleanup the code. * ewk/ewk_tiled_model.cpp: (ewk_tile_memory_size_get): (ewk_tile_unused_cache_flush): (ewk_tile_unused_cache_tile_get): (ewk_tile_unused_cache_tile_put): * ewk/ewk_tiled_model.h: 2011-11-03 Darin Adler Change remaining callers of releaseRef to call leakRef https://bugs.webkit.org/show_bug.cgi?id=71422 Reviewed by Darin Fisher. * ewk/ewk_history.cpp: (ewk_history_item_new): Use leakRef. 2011-11-02 Darin Adler Change remaining callers of releaseRef to call leakRef https://bugs.webkit.org/show_bug.cgi?id=71422 Reviewed by Darin Fisher. * ewk/ewk_history.cpp: (ewk_history_item_new): Use leakRef. 2011-11-03 Mark Hahnenberg De-virtualize JSObject::className https://bugs.webkit.org/show_bug.cgi?id=71428 Reviewed by Sam Weinig. Added className to the MethodTable, changed all the virtual implementations of className to static ones, and replaced all call sites with corresponding lookups in the MethodTable. * ewk/ewk_js.cpp: (ewk_js_npobject_to_object): 2011-11-03 Fady Samuel Removing line in computeViewportAttributes that enforces a minimum scale factor to never allow zooming out more than viewport https://bugs.webkit.org/show_bug.cgi?id=70609 Reviewed by Kenneth Rohde Christiansen. * ewk/ewk_view.cpp: (_ewk_view_viewport_attributes_compute): 2011-11-03 Dongwoo Im [EFL] Enable the Page Visibility API. https://bugs.webkit.org/show_bug.cgi?id=69127 Reviewed by Adam Barth. Implement methods to enable the Page Visibility API on EFL port. (http://www.w3.org/TR/page-visibility) When the visibility status of the page is changed, browser could inform the status to WebKit using the APIs below. * ewk/ewk_view.cpp: Add setter/getter functions to query/set page visibility state. (ewk_view_visibility_state_set): Sets the page visibility status. (ewk_view_visibility_state_get): Gets the page visibility status. * ewk/ewk_view.h: Add public prototypes. 2011-11-02 Tom Sepez XSSAuditor is silent https://bugs.webkit.org/show_bug.cgi?id=70973 Reviewed by Adam Barth. * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::didDetectXSS): * WebCoreSupport/FrameLoaderClientEfl.h: 2011-11-02 Ryuan Choi [EFL] Fix build break when DEBUG_MEM_LEAKS is enabled. https://bugs.webkit.org/show_bug.cgi?id=71349 Unreviewed build fix. * ewk/ewk_tiled_backing_store.cpp: (_ewk_tiled_backing_store_smart_del): remove wrong assignment * ewk/ewk_tiled_matrix.cpp: define __STDC_FORMAT_MACROS to use PRIu64 (ewk_tile_matrix_free): s/tileMatrixm/tileMatrix (ewk_tile_matrix_dbg): s/tm/tileMatrix * ewk/ewk_tiled_model.cpp: define __STDC_FORMAT_MACROS to use PRIu64 (_ewk_tile_account_get): remove REALLOC_OR_OOM_RET 2011-11-02 ChangSeok Oh [EFL] Dirty area is not updated with requestAnimationFrame. https://bugs.webkit.org/show_bug.cgi?id=70170 Some additional dirty areas caused by re-layout have ignored since updateLayoutAndSytleIfNeedeRecursive is called after gathering dirty area to repaint. So ewk_view_layout_if_needed_recursive is relocated before getting dirty areas. Reviewed by Eric Seidel. * ewk/ewk_view_single.cpp: (_ewk_view_single_smart_repaints_process): 2011-10-31 Raphael Kubo da Costa [EFL] Rename ewk_view_setting_scripts_window_open_{get,set} after r93833 https://bugs.webkit.org/show_bug.cgi?id=71228 Reviewed by Antonio Gomes. r93833 has introduced ewk_view_setting_scripts_can_close_windows_{get,set}, but its counterpart to allow scripts to open windows kept its weird name. This makes the functions to allow windows to open and close windows to have confusingly different name patterns. * ewk/ewk_view.cpp: (_ewk_view_priv_new): (ewk_view_setting_scripts_can_open_windows_get): (ewk_view_setting_scripts_can_open_windows_set): * ewk/ewk_view.h: 2011-10-31 Tomasz Morawski [EFL] Make cache flush when max size of cache has been changed https://bugs.webkit.org/show_bug.cgi?id=70805 Reviewed by Ryosuke Niwa. Calls the ewk_tile_unused_cache_auto_flush function after changing max size of cache when ewk_tile_unused_cache_max_set is called. Without this change when new value is lower than the old one the cache may use more memory than max value set. This situation is not expected by the user. * ewk/ewk_tiled_model.cpp: (ewk_tile_unused_cache_max_set): 2011-10-28 Jochen Eisinger Rename a number of methods mentioning JavaScript to just Script instead https://bugs.webkit.org/show_bug.cgi?id=71105 Reviewed by Adam Barth. * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::dispatchDidClearWindowObjectInWorld): * ewk/ewk_view.cpp: (_ewk_view_priv_new): (ewk_view_setting_enable_scripts_set): 2011-10-27 Gustavo Lima Chaves [EFL] Fix variable renaming issue inside ewk_view.cpp https://bugs.webkit.org/show_bug.cgi?id=71020 Unreviewed build fix. * ewk/ewk_view.cpp: (ewk_view_js_object_add): 2011-10-26 Zalan Bujtas Name viewport change event consistently. https://bugs.webkit.org/show_bug.cgi?id=70901 Reviewed by Kenneth Rohde Christiansen. Use ViewportPropertiesDidChange term consistently throughout WebKit. * WebCoreSupport/ChromeClientEfl.cpp: (WebCore::ChromeClientEfl::dispatchViewportPropertiesDidChange): * WebCoreSupport/ChromeClientEfl.h: 2011-10-26 Grzegorz Czajkowski [EFL] Private function _ewk_view_viewport_attributes_compute takes an internal data of ewk_view. https://bugs.webkit.org/show_bug.cgi?id=66366 Reviewed by Ryosuke Niwa. Passes to _ewk_view_viewport_attributes_compute an internal data of ewk_view instead of the view object. Adds to ewk_view_viewport_attributes_get NULL checks to avoid unexpected results since this is API. * ewk/ewk_view.cpp: (_ewk_view_viewport_attributes_compute): (ewk_view_viewport_attributes_get): 2011-10-25 KwangHyuk Kim Fix occurrence of unpainted tiles while scrolling and zooming. https://bugs.webkit.org/show_bug.cgi?id=70711 Reviewed by Adam Barth. Cast one of operatees to float type when ewk_tiled_backing_store calculate tiles list on viewport. For the proper calculation to generate a float number, at least one of operatees must be a float type. But, currently both two operatees to calculate the number of tiles on viewport routine aren't float type, so it generates smaller result than expected result when it is using ceil API. As a result, it can lose a line of tiles which should be displayed in viewport area while scrolling and zooming. * ewk/ewk_tiled_backing_store.cpp: (_ewk_tiled_backing_store_recalc_renderers): (ewk_tiled_backing_store_zoom_weak_set): 2011-10-25 KwangHyuk Kim [EFL] Move assignment of some variables out of loop for ewk_tiled_backing_store. https://bugs.webkit.org/show_bug.cgi?id=67588 Some of variables which aren't related with loop count or other variables inside of loop are moved out of loop. Reviewed by Adam Barth. * ewk/ewk_tiled_backing_store.cpp: (_ewk_tiled_backing_store_view_wrap_up): (_ewk_tiled_backing_store_view_wrap_down): (_ewk_tiled_backing_store_view_wrap_left): (_ewk_tiled_backing_store_view_wrap_right): 2011-10-25 Mark Hahnenberg Remove putVirtual https://bugs.webkit.org/show_bug.cgi?id=70740 Reviewed by Geoffrey Garen. Removed all declarations and definitions of putVirtual. Also replaced all call sites to putVirtual with a corresponding lookup in the MethodTable. * ewk/ewk_view.cpp: (ewk_view_js_object_add): 2011-10-25 Ivan Briano [EFL] Add function to get geometry of focused element https://bugs.webkit.org/show_bug.cgi?id=70728 Reviewed by Antonio Gomes. Added function to ewk_frame to get the geometry of the focused element within the frame object. * ewk/ewk_frame.cpp: (ewk_frame_focused_element_geometry_get): Retrieves the geometry of the focused element within the given frame object. * ewk/ewk_frame.h: 2011-10-25 Ivan Briano [EFL] Add necessary information for callback instropection https://bugs.webkit.org/show_bug.cgi?id=70735 Reviewed by Antonio Gomes. Provide the information about smart callbacks emitted by the ewk_view object, so that these can be easily forwarded by other objects or used by bindings in other languages without having to keep track of all of them manually. * ewk/ewk_view.cpp: (ewk_view_base_smart_set): 2011-10-24 Ivan Briano [EFL] Build fix. Rename all instances of a variable when it gets changed https://bugs.webkit.org/show_bug.cgi?id=70732 Unreviewed build fix. * ewk/ewk_js.cpp: (ewk_js_property_set): s/obj/object/ * ewk/ewk_view.cpp: (ewk_view_js_object_add): s/exec/executeState/ 2011-10-21 Gyuyoung Kim [EFL] Change efl style local variables with WebKit coding Style. https://bugs.webkit.org/show_bug.cgi?id=69988 Reviewed by Antonio Gomes. Change *sd* variable name with *smartData*. Some variables were changed by Bug 69988. * ewk/ewk_frame.cpp: (ewk_frame_view_get): (ewk_frame_uri_set): (ewk_frame_uri_get): (ewk_frame_contents_size_get): (ewk_frame_load_document_finished): (ewk_frame_load_error): (ewk_frame_title_set): (ewk_frame_uri_changed): (ewk_frame_editor_client_selection_changed): (ewk_frame_editor_client_contents_changed): (EWKPrivate::coreFrame): * ewk/ewk_view.cpp: (_ewk_view_smart_pre_render_region): (_ewk_view_smart_pre_render_relative_radius): (_ewk_view_smart_pre_render_cancel): (_ewk_view_smart_disable_render): (_ewk_view_smart_enable_render): (EWKPrivate::corePage): * ewk/ewk_view_single.cpp: (_ewk_view_single_smart_add): (_ewk_view_single_smart_resize): 2011-10-21 Gyuyoung Kim [EFL] Change efl style local variables with WebKit coding Style. https://bugs.webkit.org/show_bug.cgi?id=69988 Reviewed by Antonio Gomes. In common with Bug 69073, this is a third step in order to be more compliant with WebKit coding style. We have used one-letter| two-letter local variable according to efl style. However, it's more difficult for other reviewers to review EFL patches. So, this patch changes efl style local variable with meaningful one. - Use *menu* instead of *o* in comment of ewk_contextmenu.cpp. - Use *list* instead of *l* local variable - Use *ewkPolicy* instead of *ewk_policy* in ewk_cookies.cpp - Use *smartData* instead of *sd* local variable for Ewk_XXXX_Smart_Data struct. - Use *width*, *height* instead of *w*, *h* local variables. - Use *scrollX*, *scrollY*, *scrollWidth*, *scrollHeight*, *centerX*, *centerY*, *deltaX*, *deltaY*, *baseX*, *baseY* instead of *sx*, *sy*, *sw*, *sh*, *cx*, *cy*, *dx*, *dy*, *bx*, *by*. - Use *red*, *green*, *blue*, *alpha*, *contentRed*, *contentGreen*, *contentBlue* and *contentAlpha* instead of *r*,*g*,*b*,*a*,*cr*,*cg*,*cb*,*ca*. - Use *tilePositionX*, *tilePositionY* instead of *ox*,*oy* in tiled backingstore files. - Use *object* instead of *obj* - Use *length* instead of *len* - Use *coreFrame* instead of *cf* - Use *buffer* instead of *buf* - Use *item* instead of *i* - Use *currentColumn*, *currentRow* instead of *m_col*, *m_row* - Remove "_" in local variable. - And so on. * ewk/ewk_auth_soup.cpp: * ewk/ewk_contextmenu.cpp: * ewk/ewk_cookies.cpp: * ewk/ewk_frame.cpp: * ewk/ewk_history.cpp: * ewk/ewk_js.cpp: * ewk/ewk_main.cpp: * ewk/ewk_settings.cpp: * ewk/ewk_tiled_backing_store.cpp: * ewk/ewk_tiled_matrix.cpp: * ewk/ewk_tiled_model.cpp: * ewk/ewk_view.cpp: 2011-10-21 Grzegorz Czajkowski [EFL] ewk_view_mode_get uses dedicated macros instead of standard NULL checking. https://bugs.webkit.org/show_bug.cgi?id=65680 Reviewed by Ryosuke Niwa. Generally API methods using macros NULL checking in WebKit-EFL. The macros ensure that code is smaller, version of view object is checked and error message is displayed if NULL is passed. * ewk/ewk_view.cpp: (ewk_view_mode_get): 2011-10-19 Rafael Antognolli [EFL] Fix typos on ewk_view and ewk_js. https://bugs.webkit.org/show_bug.cgi?id=70430 Unreviewed build fix. Fixes for typos that were introduced when renaming variables to follow webkit coding style. * ewk/ewk_js.cpp: (ewk_js_property_set): (ewk_js_class_new): (ewk_js_npobject_to_object): (ewk_js_object_new): (ewk_js_object_invoke): (ewk_js_object_type_get): (ewk_js_object_type_set): (ewk_js_variant_free): * ewk/ewk_view.cpp: (ewk_view_js_object_add): 2011-10-18 Raphael Kubo da Costa [EFL] DRT: Clear list of visited pages before each test. https://bugs.webkit.org/show_bug.cgi?id=70355 Reviewed by Antonio Gomes. Add ewk_history_clear as a way to clear the list of visited pages in a Ewk_History, in a similar fashion to Qt's QWebHistory::clear(). * ewk/ewk_history.cpp: (ewk_history_clear): * ewk/ewk_history.h: 2011-10-18 Grzegorz Czajkowski [EFL] Remove const modifier from ctx_menu functions. https://bugs.webkit.org/show_bug.cgi?id=70090 Reviewed by Andreas Kling. Functions ewk_context_menu_show and ewk_context_menu_custom_get have got const modifer to ensure that Ewk_Context_Menu won't be changed. The methods emit events through evas_object_smart_callback_call with Ewk_Context_Menu as parameter which is converted to void *. In this case an application which receives those events may change Ewk_Context_Menu. Additionaly the name of ewk_context_menu_custom_get has been changed to ewk_context_menu_customize because an application is able to modify the items of context menu. * ewk/ewk_contextmenu.cpp: (ewk_context_menu_customize): (ewk_context_menu_show): * ewk/ewk_private.h: 2011-10-17 Raphael Kubo da Costa [EFL] Expose the kit() frame function to the rest of ewk. https://bugs.webkit.org/show_bug.cgi?id=70253 Reviewed by Antonio Gomes. Now that we have the EWKPrivate namespace, it makes sense to make the kit() function accessible there instead of having it as a static local function in ewk_frame. While on it, get rid of ewk_frame_core_get, which is obsolete after EWKPrivate::coreFrame. * WebCoreSupport/EditorClientEfl.cpp: (WebCore::EditorClientEfl::respondToChangedSelection): * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::callPolicyFunction): (WebCore::FrameLoaderClientEfl::dispatchDecidePolicyForNewWindowAction): (WebCore::FrameLoaderClientEfl::dispatchDecidePolicyForNavigationAction): (WebCore::FrameLoaderClientEfl::didTransferChildFrameToNewDocument): (WebCore::FrameLoaderClientEfl::dispatchDidClearWindowObjectInWorld): (WebCore::FrameLoaderClientEfl::dispatchCreatePage): (WebCore::FrameLoaderClientEfl::createNetworkingContext): * ewk/ewk_frame.cpp: (_ewk_frame_loader_efl_get): (_ewk_frame_children_iterator_next): (ewk_frame_child_find): (ewk_frame_hit_test_new): (EWKPrivate::kitFrame): * ewk/ewk_private.h: * ewk/ewk_view.cpp: (ewk_view_setting_encoding_custom_get): (ewk_view_setting_encoding_custom_set): 2011-10-17 Raphael Kubo da Costa [EFL] Do not check for Frame::contentRenderer() in ewk_view_repaint. https://bugs.webkit.org/show_bug.cgi?id=70118 Reviewed by Kenneth Rohde Christiansen. When we have a scrollbar with an actual width, there might be a call to ChromeClientEfl::invalidateContentsAndWindow() after Document::detach() was called, making the call to contentRenderer() return 0 even though everything is fine. Example test case: animations/animation-shorthand.html. * ewk/ewk_view.cpp: (ewk_view_repaint): 2011-10-17 Raphael Kubo da Costa [EFL] Set a default charset when creating a view. https://bugs.webkit.org/show_bug.cgi?id=69771 Reviewed by Antonio Gomes. Most (or all) ports default to iso-8859-1 when creating a view (or their equivalent of a view), so we should do that too. This makes fast/dom/Document/document-charset.html pass. * ewk/ewk_view.cpp: (_ewk_view_priv_new): 2011-10-14 Mark Hahnenberg Rename virtual put to putVirtual https://bugs.webkit.org/show_bug.cgi?id=69851 Reviewed by Darin Adler. Renamed virtual versions of put to putVirtual in prepration for adding the static put to the MethodTable in ClassInfo since the compiler gets mad if the virtual and static versions have the same name. * ewk/ewk_view.cpp: (ewk_view_js_object_add): 2011-10-14 Mark Hahnenberg Rename virtual put to putVirtual https://bugs.webkit.org/show_bug.cgi?id=69851 Reviewed by Darin Adler. Renamed virtual versions of put to putVirtual in prepration for adding the static put to the MethodTable in ClassInfo since the compiler gets mad if the virtual and static versions have the same name. * ewk/ewk_view.cpp: (ewk_view_js_object_add): 2011-10-14 Raphael Kubo da Costa [EFL] Bump class version after r97421. https://bugs.webkit.org/show_bug.cgi?id=70102 Reviewed by Joseph Pecoraro. r97421 changed the signature of the run_open_panel virtual method in Ewk_Smart_Class, so we need to bump the class version. * ewk/ewk_view.h: 2011-10-14 Raphael Kubo da Costa [EFL] Add DumpRenderTreeSupportEfl https://bugs.webkit.org/show_bug.cgi?id=68458 Reviewed by Kenneth Rohde Christiansen. This class is similar to their counterparts present in the Qt and GTK+ ports, and it is responsible for providing an interface to certain WebCore methods needed by DumpRenderTree. * CMakeListsEfl.txt: Conditionally add the svg directories to the include path. * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: Added. (DumpRenderTreeSupportEfl::DumpRenderTreeSupportEfl): (DumpRenderTreeSupportEfl::~DumpRenderTreeSupportEfl): (DumpRenderTreeSupportEfl::activeAnimationsCount): (DumpRenderTreeSupportEfl::clearFrameName): (DumpRenderTreeSupportEfl::clearOpener): (DumpRenderTreeSupportEfl::counterValueByElementId): (DumpRenderTreeSupportEfl::frameChildren): (DumpRenderTreeSupportEfl::frameParent): (DumpRenderTreeSupportEfl::layoutFrame): (DumpRenderTreeSupportEfl::numberOfPages): (DumpRenderTreeSupportEfl::numberOfPagesForElementId): (DumpRenderTreeSupportEfl::pauseAnimation): (DumpRenderTreeSupportEfl::pauseSVGAnimation): (DumpRenderTreeSupportEfl::pauseTransition): (DumpRenderTreeSupportEfl::pendingUnloadEventCount): (DumpRenderTreeSupportEfl::renderTreeDump): (DumpRenderTreeSupportEfl::responseMimeType): (DumpRenderTreeSupportEfl::resumeAnimations): (DumpRenderTreeSupportEfl::selectionRectangle): (DumpRenderTreeSupportEfl::suitableDRTFrameName): (DumpRenderTreeSupportEfl::suspendAnimations): (DumpRenderTreeSupportEfl::findString): (DumpRenderTreeSupportEfl::garbageCollectorCollect): (DumpRenderTreeSupportEfl::garbageCollectorCollectOnAlternateThread): (DumpRenderTreeSupportEfl::javaScriptObjectsCount): (DumpRenderTreeSupportEfl::workerThreadCount): (DumpRenderTreeSupportEfl::childHistoryItems): (DumpRenderTreeSupportEfl::historyItemTarget): (DumpRenderTreeSupportEfl::isTargetItem): (DumpRenderTreeSupportEfl::setMockScrollbarsEnabled): * WebCoreSupport/DumpRenderTreeSupportEfl.h: Added. * ewk/ewk_frame.cpp: (EWKPrivate::coreFrame): Export the WebCore::Frame* related to an ewk_frame. * ewk/ewk_history.cpp: Remove functions which have been moved to DumpRenderTreeSupportEfl. (_ewk_history_item_list_get): _ewk_history_item_new -> ewk_history_item_new_from_core. (ewk_history_history_item_back_get): Ditto. (ewk_history_history_item_current_get): Ditto. (ewk_history_history_item_forward_get): Ditto. (ewk_history_history_item_nth_get): Ditto. (ewk_history_item_new): Ditto. (ewk_history_item_new_from_core): Rename from _ewk_history_item_new. (EWKPrivate::coreHistoryItem): Export the WebCore::HistoryItem* related to an Ewk_History_Item. * ewk/ewk_private.h: Create the EWKPrivate namespace, remove functions which have been moved to DumpRenderTreeSupportEfl. * ewk/ewk_util.cpp: Remove functions which have been moved to DumpRenderTreeSupportEfl. * ewk/ewk_view.cpp: (EWKPrivate::corePage): Export the WebCore::Page* related to an ewk_view. 2011-10-13 Raphael Kubo da Costa [EFL]: Move from FileChooserSettings deprecatedAcceptType to acceptMIMETypes https://bugs.webkit.org/show_bug.cgi?id=70002 Reviewed by Joseph Pecoraro. Adapt to the changes introduced in r97336 and r97338 by using a vector of strings instead of a single string in runOpenPanel(). * WebCoreSupport/ChromeClientEfl.cpp: (WebCore::ChromeClientEfl::runOpenPanel): * ewk/ewk_private.h: * ewk/ewk_view.cpp: (ewk_view_run_open_panel): Change signature; accept a Vector instead of a char*. Build an Eina_List to pass for child classes. * ewk/ewk_view.h: 2011-10-13 Leandro Pereira Unreviewed; revert some changes introduced in r97329 which are unrelated to the patch and reverted other patches themselves. * ewk/ewk_frame.cpp: (_ewk_frame_smart_del): Remove warning again. (ewk_frame_contents_size_get): Check for Frame and FrameView again. * ewk/ewk_view.cpp: (_ewk_view_priv_new): Revert back default font size change. 2011-10-12 Joseph Pecoraro Pass Parsed Accept Attribute MIME Types to WebKit Clients https://bugs.webkit.org/show_bug.cgi?id=69598 Reviewed by Kent Tamura. EFL uses the deprecated accept string. They can switch to an Eina_List if they want to update their API. * src/ChromeClientImpl.cpp: (WebKit::ChromeClientImpl::runOpenPanel): 2011-10-12 Gyuyoung Kim [EFL] Change efl style parameter variables with WebKit coding Style https://bugs.webkit.org/show_bug.cgi?id=69073 Reviewed by Antonio Gomes. This is a third step in order to be more compliant with WebKit coding style. We have used one-letter| two-letter parameter according to efl style. However, it's more difficult for other reviewers to review EFL patches. So, this patch changes efl style parameters with meaningful one. Majors changes are listed below, - Use ewkFrame instead of o parameter in ewk_frame.cpp. - Use ewkView instead of o parameter in ewk_view.cpp. - Use menu and item instead of o parameter in ewk_contextmenu.cpp. - Use ewkTile instead of o parameter in ewk_tile_xxx.cpp. - Use tile parameter name instead of t parameter in ewk_tile_xxx.cpp. - Use smartData instead of sd parameter for Ewk_XXXX_Smart_Data struct. - Use width, height instead of w, h parameter. - Use xxxEvent instead of ev parameter for event. (e.g. downEvent, upEvent, wheelEvent) - Use scrollX, scrollY, scrollWidth, scrollHeight, centerX, centerY, deltaX, deltaY instead of sx, xy, sw, sh, cx, cy, dx, dy. - Use tileUnusedCache instead of tuc parameter in tiled backing store. - Use red, green, blue and alpha instead of r,g,b,a. - Remove "_" from parameter variable. - Run demarchi's coding style script for ewk_tile_xxx.cpp files. - Remove *void* parameter in ewk_tile_xxx.cpp's internal functions. * ewk/ewk_auth_soup.cpp: * ewk/ewk_contextmenu.cpp: * ewk/ewk_cookies.cpp: * ewk/ewk_frame.cpp: * ewk/ewk_history.cpp: * ewk/ewk_js.cpp: * ewk/ewk_protocol_handler_soup.cpp: * ewk/ewk_settings.cpp: * ewk/ewk_tiled_backing_store.cpp: * ewk/ewk_tiled_backing_store.h: * ewk/ewk_tiled_matrix.cpp: * ewk/ewk_tiled_matrix.h: * ewk/ewk_tiled_model.cpp: * ewk/ewk_tiled_model.h: * ewk/ewk_view.cpp: * ewk/ewk_view_single.cpp: * ewk/ewk_view_tiled.cpp: * ewk/ewk_window_features.cpp: 2011-10-10 Raphael Kubo da Costa [EFL] Do not cache a frame's contents size. https://bugs.webkit.org/show_bug.cgi?id=69772 Reviewed by Antonio Gomes. As part of the process of experimenting with having scrollbars with an actual size, it became clear that setting the contents size via ChromeClient::contentsSizeChanged() and keeping the value around does not work. Case in point: FrameView::adjustViewSize() can result in nested ScrollView::updateScrollbars() calls in which the innermost ones run ChromeClient::contentsSizeChanged() before the outermost ones. This means the ewk_frame's smart data will store an old value. * ewk/ewk_frame.cpp: (ewk_frame_contents_size_get): (ewk_frame_contents_size_changed): 2011-10-09 Ryuan Choi [EFL] Refactor zoom related APIs. https://bugs.webkit.org/show_bug.cgi?id=62842 Current zoom apis can't support the case of using both page zoom and text zoom. As a first step to refactor, this split ewk_{view|frame}_zoom_{get|set} to use both page_zoom and text zoom individually. In addition, introduce ewk_view_scale_{get|set} to support proportional scaling. ewk_view_zoom_{get|set} will remain unchanged until the behavior of smart_zoom was changed. Reviewed by Antonio Gomes. * ewk/ewk_frame.cpp: Remove ewk_frame_zoom_text_only_{get|set}. (ewk_frame_page_zoom_get): Renamed from ewk_frame_zoom_get(). (ewk_frame_page_zoom_set): Renamed from ewk_frame_zoom_set(). (ewk_frame_text_zoom_get): Extracted from ewk_frame_zoom_get(). (ewk_frame_text_zoom_set): Extracted from ewk_frame_zoom_set(). * ewk/ewk_frame.h: * ewk/ewk_view.cpp: Remove ewk_view_zoom_text_only_{get|set} (_ewk_view_smart_zoom_set): Change ewk_frame_zoom_get() to ewk_frame_page_zoom_get(). (ewk_view_zoom_get): Change ewk_frame_zoom_get() to ewk_frame_page_zoom_get(). (ewk_view_page_zoom_get): Extracted from ewk_view_zoom_get(). (ewk_view_page_zoom_set): Extracted from ewk_view_zoom_set(). (ewk_view_scale_get): Added. (ewk_view_scale_set): Added. (ewk_view_text_zoom_get): Extracted from ewk_view_zoom_get(). (ewk_view_text_zoom_set): Extracted from ewk_view_zoom_set(). (ewk_view_zoom_weak_set): Change ewk_frame_zoom_get to ewk_frame_page_zoom_get(). (ewk_view_zoom_animated_set): Change ewk_frame_zoom_get() to ewk_frame_page_zoom_get(). (ewk_view_pre_render_region): Change ewk_frame_zoom_get() to ewk_frame_page_zoom_get(). (ewk_view_pre_render_relative_radius): Change ewk_frame_zoom_get() to ewk_frame_page_zoom_get(). * ewk/ewk_view.h: 2011-10-06 Gyuyoung Kim [EFL] Change data type of parameter in ewk_view_viewport_attributes_get(). https://bugs.webkit.org/show_bug.cgi?id=69505 Reviewed by Andreas Kling. ewk_view_viewport_attributes_get() has used implicit casting for width and height of viewport. However, it is better to use *int* data type as parameter data type instead of *float* casting. * ewk/ewk_view.cpp: (ewk_view_viewport_attributes_get): * ewk/ewk_view.h: 2011-10-04 Gyuyoung Kim [EFL] Only set when the custom encoding is different from existing value https://bugs.webkit.org/show_bug.cgi?id=69061 Reviewed by Hajime Morita. Only set the custom encoding value if it is different from the current value, to avoid reloading the page. * ewk/ewk_view.cpp: (ewk_view_setting_encoding_custom_set): 2011-10-04 Rémi Duraffort [EFL] Fix compilation when SQLite and/or libxslt are not installed in /usr/include https://bugs.webkit.org/show_bug.cgi?id=69338 Unreviewed build fix * CMakeListsEfl.txt: 2011-10-03 Ryuan Choi [EFL] Rename ewk_tiled_*.c to ewk_tiled_*.cpp https://bugs.webkit.org/show_bug.cgi?id=68599 Use a C++ compiler for these files and fix compile issues and coding style. Reviewed by Hajime Morita. * CMakeListsEfl.txt: * ewk/ewk_tiled_backing_store.cpp: Renamed from Source/WebKit/efl/ewk/ewk_tiled_backing_store.c. * ewk/ewk_tiled_backing_store.h: * ewk/ewk_tiled_matrix.cpp: Renamed from Source/WebKit/efl/ewk/ewk_tiled_matrix.c. * ewk/ewk_tiled_model.cpp: Renamed from Source/WebKit/efl/ewk/ewk_tiled_model.c. 2011-09-29 Gyuyoung Kim [EFL] Use C++ type cast instead of C style type cast https://bugs.webkit.org/show_bug.cgi?id=68321 Reviewed by Martin Robinson. This is a second step in order to be more compliant with WebKit coding style. The second step is to change C-type casting with C++-type casting in .cpp files. In addition, remained efl style '*' pointer placements are moved to the right place as well. * ewk/ewk_auth_soup.cpp: * ewk/ewk_contextmenu.cpp: * ewk/ewk_frame.cpp: * ewk/ewk_history.cpp: * ewk/ewk_view.cpp: * ewk/ewk_view_single.cpp: * ewk/ewk_view_tiled.cpp: 2011-09-29 Raphael Kubo da Costa [EFL] API to get plain text of the frame https://bugs.webkit.org/show_bug.cgi?id=67114 Reviewed by Ryosuke Niwa. Add a function to return a frame's contents converted to plain text, as already exposed by other ports and needed by DRT when dumping a frame's contents. * ewk/ewk_frame.cpp: (ewk_frame_plain_text_get): * ewk/ewk_frame.h: 2011-09-28 KwangHyuk Kim [EFL] Remove useless assignment code in _ewk_tiled_backing_store_zoom_set_internal. https://bugs.webkit.org/show_bug.cgi?id=68594 As the 1st assignment of local variable bx in _ewk_tiled_backing_store_zoom_set_internal isn't effective at all, this patch just removes it. Reviewed by Ryosuke Niwa. * ewk/ewk_tiled_backing_store.c: (_ewk_tiled_backing_store_zoom_set_internal): 2011-09-28 Gyuyoung Kim [EFL] Remove *void* parameter in internal functions https://bugs.webkit.org/show_bug.cgi?id=68867 Reviewed by Andreas Kling. As a step to let ewk be compliant with webkit coding style, we need to remove *void* parameter in internal functions. * ewk/ewk_private.h: * ewk/ewk_settings.cpp: (ewk_settings_web_database_default_quota_get): * ewk/ewk_util.cpp: (ewk_util_dpi_get): 2011-09-28 Grzegorz Czajkowski [EFL] Allow to skip count parameter in ewk_view_repaints_get and ewk_view_scroll_requests_get. https://bugs.webkit.org/show_bug.cgi?id=65842 Reviewed by Ryosuke Niwa. Makes the count parameter in ewk_view_repaints_get and ewk_view_scroll_requests_get as an optional parameter. Developer may pass NULL to skip returning the number of elements of the requested array. * ewk/ewk_view.cpp: (ewk_view_repaints_get): (ewk_view_scroll_requests_get): 2011-09-28 Grzegorz Czajkowski [EFL] URL of resources are not decoded. https://bugs.webkit.org/show_bug.cgi?id=66540 Reviewed by Ryosuke Niwa. Fix ewk_frame_resources_location_get which was returning the encoded URL of resources. As a result characters for instance, %20 occurred. For now returned strings are decoded. * ewk/ewk_frame.cpp: (ewk_frame_resources_location_get): 2011-09-27 Raphael Kubo da Costa [EFL] Make ewk_view emit the "load,document,finished" signal. https://bugs.webkit.org/show_bug.cgi?id=66782 Reviewed by Antonio Gomes. Currently, only ewk_frame emits the "load,document,finished" signal when FrameLoaderClientEfl::dispatchDidFinishDocumentLoad() calls ewk_frame_load_document_finished(). However, in some cases it is not even possible to connect to the "frame,created" signal to properly monitor the "load,document,finished" signal, as the former is not emitted. fast/frames/frame-unload-crash.html, for example, has a page with an iframe inside an iframe, and this innermost iframe does not seem to be loaded via FrameLoaderClientEfl::createFrame (which calls all the machinery which then emits the "frame,created" signal). We now make ewk_frame_load_document_finished() call the newly-created ewk_view_load_document_finished() function, whose job is to emit the "load,document,signal" with the frame as its parameter. This way, one can just connect to the view and make sure all the signals will get delivered. * ewk/ewk_frame.cpp: (ewk_frame_load_document_finished): * ewk/ewk_private.h: * ewk/ewk_view.cpp: (ewk_view_load_document_finished): * ewk/ewk_view.h: 2011-09-26 Raphael Kubo da Costa [CMake] Remove FindFreetype.cmake https://bugs.webkit.org/show_bug.cgi?id=68778 Reviewed by Adam Barth. CMake has provided its own FindFreetype.cmake forever, so there is no need to have another implementation in WebKit. * CMakeListsEfl.txt: Use FREETYPE_{LIBRARIES,INCLUDE_DIRS} instead of Freetype_{LIBRARIES,INCLUDE_DIRS}. 2011-09-26 Lucas De Marchi [EFL] Add virtual method to notify user when wrapping focus https://bugs.webkit.org/show_bug.cgi?id=68699 Reviewed by Antonio Gomes. Add a virtual method to ewk_view, so the Chrome gets notified if we finished focusing all the items and would start over. This way the browser can decide to handle the subsequent focus changes among its widgets. * WebCoreSupport/ChromeClientEfl.cpp: call ewk_view's virtual method to give it a chance to grab focus (WebCore::ChromeClientEfl::canTakeFocus): * ewk/ewk_private.h: * ewk/ewk_view.cpp: add virtual method (ewk_view_focus_can_cycle): * ewk/ewk_view.h: add focus direction enum and virtual method 2011-09-24 Adam Barth Always enable ENABLE(OFFLINE_WEB_APPLICATIONS) https://bugs.webkit.org/show_bug.cgi?id=68767 Reviewed by Eric Seidel. * WebCoreSupport/ChromeClientEfl.cpp: (WebCore::ChromeClientEfl::reachedApplicationCacheOriginQuota): * WebCoreSupport/ChromeClientEfl.h: * ewk/ewk_main.cpp: (_ewk_init_body): * ewk/ewk_settings.cpp: (ewk_settings_cache_directory_path_set): (ewk_settings_cache_directory_path_get): 2011-09-21 Lucas De Marchi [EFL] Revert pointer operator coding style in ewk https://bugs.webkit.org/show_bug.cgi?id=68231 Reviewed by Antonio Gomes. The WebKit coding style mandates that "(...) in C++ code - Both pointer types and reference types should be written with no space between the type name and the * or &.". Until now EFL port was using the coding-style of the library for platform code instead of WebKit's. We are now trying to be more compliant with WebKit coding-style so it's easier for other reviewers to review EFL code. The first step in this direction is to move the '*' and '&' of pointers and references to the right place. This patch was generated with 'uncrustify' with the configure file attached to the respective but report. There was one fix that had to be manually made in order to keep the 'check-webkit-style' happy: a function definition with a meaningless name. Other functions like this exist but they will be fixed by a later patch. Some nice side-effects of using uncrustify: - Whitespace cleanup on comments - Function parameters are aligned to the open parenthesis - Remove tab characters 2011-09-21 Lucas De Marchi [EFL] Don't try to free user-provided list https://bugs.webkit.org/show_bug.cgi?id=68356 Reviewed by Antonio Gomes. A coding-style cleanup revealed that we were using EINA_LIST_FREE in a wrong manner. If we intended to free the data, we should call free() (or whatever function is required to destroy it). However not only did it use the wrong EFL api but it also introduced a change in behavior, freeing user-provided data. * ewk/ewk_frame.cpp: (ewk_frame_feed_touch_event): do not free user-provided data. 2011-09-21 Gyuyoung Kim [EFL] Fix alphabetical sorting problem https://bugs.webkit.org/show_bug.cgi?id=68505 Reviewed by Philippe Normand. * ewk/ewk_util.cpp: Fix wrong alphabetical sorting problem. 2011-09-20 Raphael Kubo da Costa [EFL] Call FrameLoader::detachFromParent() when destroying a frame. https://bugs.webkit.org/show_bug.cgi?id=66855 Reviewed by Antonio Gomes. Most other ports call this method somewhere when the frame is being removed, as it performs some destruction calls which, in our case, at least makes sure onunload events get delivered properly in fast/frames/iframe-reparenting-adopt-node.html. * ewk/ewk_frame.cpp: (_ewk_frame_smart_del): Call FrameLoader::detachFromParent() 2011-09-17 Mihai Parparita FrameLoaderClient BackForwardList-related methods are unsued https://bugs.webkit.org/show_bug.cgi?id=68293 Reviewed by Darin Adler. Remove FrameLoaderClient methods that were added by r51629, since only the old (since-deleted) Android port needed them. * WebCoreSupport/FrameLoaderClientEfl.cpp: * WebCoreSupport/FrameLoaderClientEfl.h: 2011-09-15 Adam Barth Rename ENABLE(DATABASE) to ENABLE(SQL_DATABASE) https://bugs.webkit.org/show_bug.cgi?id=68205 Reviewed by Eric Seidel. * WebCoreSupport/ChromeClientEfl.cpp: * WebCoreSupport/ChromeClientEfl.h: * ewk/ewk_settings.cpp: (ewk_settings_web_database_default_quota_get): (ewk_settings_web_database_path_set): (ewk_settings_web_database_path_get): 2011-09-14 Grzegorz Czajkowski [EFL] Add NULL checks to ewk_window_features_new_from_core and ewk_view_window_create. https://bugs.webkit.org/show_bug.cgi?id=64932 Reviewed by Eric Seidel. It prevents the crash while allocating memory for the new window. * ewk/ewk_view.cpp: (ewk_view_window_create): * ewk/ewk_window_features.cpp: (ewk_window_features_new_from_core): 2011-09-13 Raphael Kubo da Costa [EFL] Do not always return the cached frame name. https://bugs.webkit.org/show_bug.cgi?id=66856 Reviewed by Antonio Gomes. When a frame has its parent changed (via adoptNode and appendChild, for example), the frame name will change, so we need to account for that case and change the cached name when needed. This should make fast/frames/iframe-reparenting-unique-name.html pass. * ewk/ewk_frame.cpp: (ewk_frame_name_get): 2011-09-12 Flavio Ceolin Reviewed by Martin Robinson. [EFL] Add custom network resource handler https://bugs.webkit.org/show_bug.cgi?id=44759 This patch adds support for handling user-specific protocols. It allows browsers to intercept and handle non-standard url schemes (such as preferences://) allowing to load some resource from non-http/file storage, like a tar/zip/eet. * CMakeListsEfl.txt: * ewk/ewk_protocol_handler.cpp: Added. * ewk/ewk_protocol_handler.h: Added. * ewk/ewk_protocol_handler_soup.cpp: Added. * ewk/ewk_protocol_handler_soup.h: Added. * ewk/ewk_private.h: * ewk/ewk_view.cpp: (ewk_view_protocol_handler_set): (ewk_view_protocol_handler_unset): (ewk_view_protocol_handler_resource_get): * ewk/ewk_view.h: 2011-09-04 Ryuan Choi [EFL] Rename ewk_view_(single|tiled).c to ewk_view_(single|tiled).cpp https://bugs.webkit.org/show_bug.cgi?id=66542 Use a C++ compiler for these files, so that they can include the C++-using ewk_private.h. Reviewed by Daniel Bates. * CMakeListsEfl.txt: * ewk/ewk_view_single.cpp: Renamed from Source/WebKit/efl/ewk/ewk_view_single.c. (_ewk_view_single_on_del): (_ewk_view_single_smart_add): (_ewk_view_single_smart_backing_store_add): (_ewk_view_single_smart_resize): (_ewk_view_4b_move_region_up): (_ewk_view_4b_move_region_down): (_ewk_view_4b_move_line_left): (_ewk_view_4b_move_line_right): (_ewk_view_4b_move_region_left): (_ewk_view_4b_move_region_right): (_ewk_view_4b_move_region): (_ewk_view_single_scroll_process_single): (_ewk_view_single_smart_scrolls_process): (_ewk_view_single_smart_repaints_process): (_ewk_view_single_smart_zoom_weak_set): (_ewk_view_single_smart_zoom_weak_smooth_scale_set): (_ewk_view_single_smart_bg_color_set): (ewk_view_single_smart_set): (_ewk_view_single_smart_class_new): (ewk_view_single_add): * ewk/ewk_view_tiled.cpp: Renamed from Source/WebKit/efl/ewk/ewk_view_tiled.c. (_ewk_view_tiled_render_cb): (_ewk_view_tiled_updates_process_pre): (_ewk_view_tiled_smart_backing_store_add): (_ewk_view_tiled_contents_size_changed_cb): (_ewk_view_tiled_smart_add): (_ewk_view_tiled_smart_scrolls_process): (_ewk_view_tiled_smart_repaints_process): (_ewk_view_tiled_smart_contents_resize): (_ewk_view_tiled_smart_zoom_set): (_ewk_view_tiled_smart_zoom_weak_set): (_ewk_view_tiled_smart_zoom_weak_smooth_scale_set): (_ewk_view_tiled_smart_flush): (_ewk_view_tiled_smart_pre_render_region): (_ewk_view_tiled_smart_pre_render_relative_radius): (_ewk_view_tiled_smart_pre_render_cancel): (_ewk_view_tiled_smart_disable_render): (_ewk_view_tiled_smart_enable_render): (ewk_view_tiled_smart_set): (_ewk_view_tiled_smart_class_new): (ewk_view_tiled_add): (ewk_view_tiled_unused_cache_get): (ewk_view_tiled_unused_cache_set): 2011-09-02 Leandro Pereira Unreviewed build fix after r67110. * ewk/ewk_view.cpp: (ewk_view_need_touch_events_get): Make the function signature match its declaration. 2011-09-01 Gyuyoung Kim [EFL] Allow controlling minimum DOMTimer interval on a per-page basis https://bugs.webkit.org/show_bug.cgi?id=67012 Reviewed by Kenneth Russell. Set default minimum DOMTimer interval to 4ms instead of 10ms. Because, 4ms is known to better minimum value for performance. Mac, android, chromium and window ports already use 4ms instead of 10ms. It is desirable to be able to change the minimum DOMTimer interval on per-page basis in order to avoid consuming excessive CPU and battery life on mobile devices. In addition, other ports have already used this setting by means of Bug 54312. * ewk/ewk_main.cpp: (_ewk_init_body): * ewk/ewk_settings.cpp: (ewk_settings_default_timer_interval_get): * ewk/ewk_settings.h: * ewk/ewk_view.cpp: (_ewk_view_priv_new): (ewk_view_setting_minimum_timer_interval_set): (ewk_view_setting_minimum_timer_interval_get): * ewk/ewk_view.h: 2011-09-01 KwangHyuk Kim [EFL] Remove unused code related with priv->render.process_entire_queue in ewk_tiled_backing_store. https://bugs.webkit.org/show_bug.cgi?id=63377 priv->render.process_entire_queue affects no logical flow of ewk_tiled_backing_store, But, ewk_view_tiled_process_entire_queue_set is now provided as setter api for it. So removal of this api and some codes related with it is required. Reviewed by Antonio Gomes. * ewk/ewk_tiled_backing_store.c: (_ewk_tiled_backing_store_smart_add): (ewk_tiled_backing_store_enable_render): * ewk/ewk_tiled_backing_store.h: * ewk/ewk_view.h: * ewk/ewk_view_tiled.c: (ewk_view_tiled_unused_cache_set): 2011-08-31 Grzegorz Czajkowski [EFL] Fonts API refactoring. https://bugs.webkit.org/show_bug.cgi?id=66654 Reviewed by Hajime Morita. There are too many similar API regarding to fonts. Add one consistent API to set/get the font name for the font family. Remove the previous font API. * ewk/ewk_view.cpp: (ewk_view_font_family_name_get): (ewk_view_font_family_name_set): * ewk/ewk_view.h: 2011-08-30 Kaustubh Atrawalkar The unused ScrollView* argument can and should be removed from scrollRectIntoView. https://bugs.webkit.org/show_bug.cgi?id=67117 Reviewed by Darin Adler. * WebCoreSupport/ChromeClientEfl.h: (WebCore::ChromeClientEfl::scrollRectIntoView): 2011-08-30 Grzegorz Czajkowski [EFL] Add const modifier to passed objects where it's recommended https://bugs.webkit.org/show_bug.cgi?id=67110 Reviewed by Kent Tamura. Add const modifier to passed Evas_Object if the function doesn't change its property (the most cases to the getter functions). * ewk/ewk_contextmenu.cpp: (ewk_context_menu_item_list_get): (ewk_context_menu_item_type_get): (ewk_context_menu_item_action_get): (ewk_context_menu_item_title_get): (ewk_context_menu_item_checked_get): (ewk_context_menu_item_enabled_get): (ewk_context_menu_custom_get): (ewk_context_menu_show): * ewk/ewk_contextmenu.h: * ewk/ewk_frame.cpp: (ewk_frame_text_matches_nth_pos_get): (ewk_frame_text_selection_type_get): (ewk_frame_source_get): (ewk_frame_resources_location_get): * ewk/ewk_frame.h: * ewk/ewk_private.h: * ewk/ewk_view.cpp: (_ewk_view_viewport_attributes_compute): (ewk_view_fixed_layout_size_get): (ewk_view_theme_get): (ewk_view_imh_get): (ewk_view_setting_encoding_detector_get): (ewk_view_setting_enable_developer_extras_get): (ewk_view_setting_spatial_navigation_get): (ewk_view_setting_local_storage_get): (ewk_view_setting_page_cache_get): (ewk_view_viewport_attributes_get): (ewk_view_zoom_range_min_get): (ewk_view_zoom_range_max_get): (ewk_view_user_scalable_get): (ewk_view_device_pixel_ratio_get): (ewk_view_page_rect_get): (ewk_view_mode_get): * ewk/ewk_view.h: * ewk/ewk_window_features.cpp: (ewk_window_features_bool_property_get): (ewk_window_features_int_property_get): * ewk/ewk_window_features.h: 2011-08-29 Grzegorz Czajkowski [EFL] Add missing API documentation. https://bugs.webkit.org/show_bug.cgi?id=66927 Reviewed by Kent Tamura. Adds missing documentation for ewk_context_menu_item_checked_get/set. Moves API documentation from cpp to the headers. Adds brief and file commands for ewk_js.h. * ewk/ewk_contextmenu.h: * ewk/ewk_cookies.cpp: * ewk/ewk_cookies.h: * ewk/ewk_frame.cpp: * ewk/ewk_frame.h: * ewk/ewk_js.h: 2011-08-29 Ryuan Choi REGRESSION(r93637) Build break because header file is missing. https://bugs.webkit.org/show_bug.cgi?id=67113 Unreviewed build fix after r93637. * CMakeListsEfl.txt: Add ewk_js.h in EWebKit_HEADERS. 2011-08-25 Raphael Kubo da Costa [EFL] Add API to allow scripts to close windows automatically via JavaScript. https://bugs.webkit.org/show_bug.cgi?id=66777 Reviewed by Antonio Gomes. Make it possible to allow or prevent scripts from closing windows automatically (via window.close, for example). Besides being useful in general, this is required by DRT. * ewk/ewk_view.cpp: (_ewk_view_priv_new): (ewk_view_setting_scripts_can_close_windows_get): (ewk_view_setting_scripts_can_close_windows_set): * ewk/ewk_view.h: 2011-08-25 Raphael Kubo da Costa [EFL] Implement FrameLoaderClient::didTransferChildFrameToNewDocument https://bugs.webkit.org/show_bug.cgi?id=66690 Reviewed by Antonio Gomes. The implementation is mostly based on the GTK+ port's, as we just need to transfer the ownership of the frame to a new view and adjust the smart object part accordingly. This should help make fast/frames/iframe-reparenting-adopt-node.html pass. * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::didTransferChildFrameToNewDocument): * ewk/ewk_frame.cpp: (ewk_frame_view_set): (ewk_frame_view_create_for_view): * ewk/ewk_private.h: 2011-08-24 Jaehun Lim [EFL] Add dummy IconDatabaseClientEfl. http://bugs.webkit.org/show_bug.cgi?id=65596 Implements a dummy IconDatabaseClientEfl class. Adds two files, IconDatabaseClientEfl.h | .cpp. Reviewed by Kent Tamura. * CMakeListsEfl.txt: * WebCoreSupport/IconDatabaseClientEfl.cpp: Added. (WebCore::IconDatabaseClientEfl::performImport): (WebCore::IconDatabaseClientEfl::didRemoveAllIcons): (WebCore::IconDatabaseClientEfl::didImportIconURLForPageURL): (WebCore::IconDatabaseClientEfl::didImportIconDataForPageURL): (WebCore::IconDatabaseClientEfl::didChangeIconForPageURL): (WebCore::IconDatabaseClientEfl::didFinishURLImport): * WebCoreSupport/IconDatabaseClientEfl.h: Added. 2011-08-23 KwangHyuk Kim [EFL] Change parameter type for some APIs in ewk_tile_matrix. https://bugs.webkit.org/show_bug.cgi?id=66639 As type of both col and row parameter for ewk_tile_matrix's some APIs listed by this patch are different from each other and eina_matrixsparse associated with ewk_tile_matrix is now using unsigned long type for both col and row parameter, row parameter for ewk_tile_matrix is also better to be specified as unsigned long type. Reviewed by Anders Carlsson. * ewk/ewk_tiled_matrix.c: (ewk_tile_matrix_tile_exact_get): (ewk_tile_matrix_tile_exact_exists): (ewk_tile_matrix_tile_new): (ewk_tile_matrix_tile_update): (ewk_tile_matrix_tile_update_full): * ewk/ewk_tiled_matrix.h: 2011-08-23 Raphael Kubo da Costa [EFL] Get the default value for `scripts_window_open' from the right method. https://bugs.webkit.org/show_bug.cgi?id=66775 Reviewed by Kent Tamura. For some unknown reason, the default value for this setting was being obtained from Settings::allowScriptsToCloseWindows() instead of Settings::javaScriptCanOpenWindowsAutomatically(), which makes no sense at all. * ewk/ewk_view.cpp: (_ewk_view_priv_new): 2011-08-23 KwangHyuk Kim [EFL] Change the tiled backing store to use constant size of tile. https://bugs.webkit.org/show_bug.cgi?id=65848 As current tiled backing store in Webkit EFL is using variable tile size according to the zoom level, the number of tiles in viewport is not same always and the speed of panning is also not consistent whenever zoom level is changed. Therefore, tile size should be constant size in order to make sure the consistent panning speed. Reviewed by Anders Carlsson. * ewk/ewk_tiled_backing_store.c: (_ewk_tiled_backing_store_model_matrix_create): (_ewk_tiled_backing_store_smart_add): (_ewk_tiled_backing_store_smart_calculate): (_ewk_tiled_backing_store_zoom_set_internal): (ewk_tiled_backing_store_zoom_weak_set): (ewk_tiled_backing_store_flush): (ewk_tiled_backing_store_pre_render_region): (ewk_tiled_backing_store_pre_render_relative_radius): * ewk/ewk_tiled_backing_store.h: * ewk/ewk_tiled_matrix.c: (_ewk_tile_matrix_cell_free): (_ewk_tile_matrix_tile_free): (ewk_tile_matrix_new): (ewk_tile_matrix_tile_exact_get): (ewk_tile_matrix_tile_exact_exists): (ewk_tile_matrix_tile_new): (ewk_tile_matrix_tile_update): (ewk_tile_matrix_tile_update_full): (_ewk_tile_matrix_slicer_setup): (ewk_tile_matrix_update): (ewk_tile_matrix_dbg): * ewk/ewk_tiled_matrix.h: * ewk/ewk_tiled_model.c: (ewk_tile_new): 2011-08-23 Jonas M. Gastal [EFL] Exporting JavaScript objects for EFL port https://bugs.webkit.org/show_bug.cgi?id=43446 Reviewed by Antonio Gomes. This patch allows to export objects to JavaScript API, just like qt does, but it uses the netscape api to do the convertion to javascript object. * CMakeLists.txt: * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::dispatchDidClearWindowObjectInWorld): * ewk/EWebKit.h: * ewk/ewk_js.cpp: Added. (ewk_js_variant_to_npvariant): (ewk_js_npvariant_to_variant): (ewk_js_property_has): (ewk_js_property_get): (ewk_js_property_set): (ewk_js_property_remove): (ewk_js_properties_enumerate): (ewk_js_method_has): (ewk_js_method_invoke): (ewk_js_class_new): (ewk_js_class_free): (ewk_js_object_new): (ewk_js_object_free): (ewk_js_object_properties_get): (ewk_js_object_name_get): (ewk_js_variant_free): * ewk/ewk_js.h: Added. * ewk/ewk_main.cpp: (ewk_init): * ewk/ewk_private.h: * ewk/ewk_view.cpp: (ewk_view_js_window_object_clear): (ewk_view_js_object_add): * ewk/ewk_view.h: 2011-08-23 Raphael Kubo da Costa [EFL] Do not treat valid cases in ewk_frame_child_add() as failures. https://bugs.webkit.org/show_bug.cgi?id=66692 Rubber-stamped by Kenneth Rohde Christiansen. Frame::page() and FrameTree::parent() returning 0 were being considered failure cases, however it is possible for them to return 0 when some arbitrary JavaScript is run. The function's return type has been changed to make it easier to convey these cases to the caller (which is only ewk_view_frame_create). This should make tests like fast/dom/null-page-show-modal-dialog-crash.html stop outputting erroneous messages to stderr. * ewk/ewk_frame.cpp: (ewk_frame_child_add): * ewk/ewk_private.h: 2011-08-23 Leandro Pereira Unreviewed build fix after r66685. * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::dispatchDidClearWindowObjectInWorld): Assert using the right variable name. 2011-08-23 Raphael Kubo da Costa [EFL] Treat the case of WebCore::History->currentItem() returning NULL. https://bugs.webkit.org/show_bug.cgi?id=66698 Reviewed by Kenneth Rohde Christiansen. WebCore::History->currentItem() may return NULL, and we'd better treat it in ewk_history_history_item_current_get itself than propagate the issue to _ewk_history_item_new. * ewk/ewk_history.cpp: (ewk_history_history_item_current_get): * ewk/ewk_history.h: 2011-08-23 Raphael Kubo da Costa [EFL] Add auxiliary history functions for DRT https://bugs.webkit.org/show_bug.cgi?id=66700 Reviewed by Kent Tamura. EFL's DumpRenderTree implementation needs some private, auxiliary functions in ewk in order to iterate and dump the history tree when necessary. * ewk/ewk_history.cpp: (ewk_history_item_target_get): (ewk_history_item_target_is): (ewk_history_item_children_get): * ewk/ewk_private.h: 2011-08-23 Raphael Kubo da Costa [EFL] Add auxiliary ewk_util functions for DRT. https://bugs.webkit.org/show_bug.cgi?id=66702 Reviewed by Kenneth Rohde Christiansen. Add some auxiliary functions needed by EFL's DRT implementation. They all revolve around talking to the garbage collector and counting the worker threads. * ewk/ewk_private.h: * ewk/ewk_util.cpp: (ewk_util_javascript_gc_collect): (ewk_util_javascript_gc_alternate_thread_collect): (ewk_util_javascript_gc_object_count_get): (ewk_util_worker_thread_count): (ewk_util_dpi_get): 2011-08-22 Raphael Kubo da Costa [EFL] Implement FrameLoaderClient::dispatchDidClearWindowObjectInWorld https://bugs.webkit.org/show_bug.cgi?id=66685 Reviewed by Kent Tamura. Implement dispatchDidClearWindowObjectInWorld, as it is needed by DumpRenderTree to, among other things, properly install the event sender in the window object. This implementation works by emitting a "window,object,cleared" signal with a private struct containing the required information (context, window object and frame). * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::dispatchDidClearWindowObjectInWorld): * WebCoreSupport/FrameLoaderClientEfl.h: * ewk/ewk_private.h: 2011-08-20 Grzegorz Czajkowski [EFL] Fix and update doxygen documentation for ewk_view. https://bugs.webkit.org/show_bug.cgi?id=66293 Reviewed by Kent Tamura. * ewk/ewk_view.h: Fixes description of method, parameters and returned value of API related to settings. 2011-08-20 Grzegorz Czajkowski [EFL] Fix and update doxygen documentation for ewk_view. https://bugs.webkit.org/show_bug.cgi?id=66293 Reviewed by Kent Tamura. Fixes description of methods, parameters and returned value of API related to cache of unused tiles, text searching and zoom matter. * ewk/ewk_view.h: 2011-08-20 Grzegorz Czajkowski [EFL] Fix and update doxygen documentation for ewk_view. https://bugs.webkit.org/show_bug.cgi?id=66293 Reviewed by Kent Tamura. Adds doxygen documentation for typedefs, defines and structures in ewk_view.h. Moves includes and defines below a brief of file. * ewk/ewk_view.h: 2011-08-19 KwangHyuk Kim [EFL] Add "return" statement corresponding to abnormal condition on _ewk_frame_smart_add. https://bugs.webkit.org/show_bug.cgi?id=65408 Bail out when we fail to allocate an Ewk_Frame_Smart_Data object rather than continuing on as if the allocation had succeeded. Reviewed by Adam Roben. * ewk/ewk_frame.cpp: (_ewk_frame_smart_add): 2011-08-19 KwangHyuk Kim [EFL] Change condition checking logic related with both change of position and offset for backing store. https://bugs.webkit.org/show_bug.cgi?id=66028 As backing store's position and offset change can occur at the same time, the checking of offset change shouldn't be "else if" statement. Reviewed by Adam Roben. * ewk/ewk_tiled_backing_store.c: (_ewk_tiled_backing_store_smart_calculate): 2011-08-19 Grzegorz Czajkowski [EFL] Fix and update doxygen documentation for ewk_view. https://bugs.webkit.org/show_bug.cgi?id=66293 Reviewed by Kent Tamura. Adds doxygen documentation to the structures in ewk_view.cpp. * ewk/ewk_view.cpp: 2011-08-19 KwangHyuk Kim [EFL] Modify type of both col and row parameters for backing store's internal api. https://bugs.webkit.org/show_bug.cgi?id=65302 As both col and row parameter's type for both _ewk_tiled_backing_store_item_fill and ewk_tiled_backing_store_item_add are different from each other, I modify type of them. Reviewed by Adam Roben. * ewk/ewk_tiled_backing_store.c: (_ewk_tiled_backing_store_item_fill): (_ewk_tiled_backing_store_item_add): 2011-08-18 Ryuan Choi [EFL] Broken rendering occured when resized in ewk_view_single. https://bugs.webkit.org/show_bug.cgi?id=66271 Force rendering when ewk_view resized. It's because Evas_Object doesn't generate any rendering request although it was changed. Reviewed by Tony Chang. * ewk/ewk_view.cpp: (_ewk_view_smart_calculate): 2011-08-17 Adam Roben Make WebCore keep track of the current device scale factor Fixes WebCore requires every WebKit port to keep track of the device scale factor Reviewed by Darin Adler. * WebCoreSupport/ChromeClientEfl.cpp: * WebCoreSupport/ChromeClientEfl.h: Removed deviceScaleFactor. 2011-08-15 Dmitry Titov FrameLoaderClient::transferLoadingResourceFromPage does not have enough parameters https://bugs.webkit.org/show_bug.cgi?id=66165 Reviewed by Darin Fisher. * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::transferLoadingResourceFromPage): * WebCoreSupport/FrameLoaderClientEfl.h: 2011-08-10 Adam Roben Clear up scale factor terminology WebKit by and large deals with two scale factors: one intrinsic to the device on which the software is running, and one that is per-Page and can be controlled via API calls. This patch names the former "deviceScaleFactor" and the latter "pageScaleFactor", and makes the code use those names. It should introduce no behavior changes. Fixes WebKit uses multiple conflicting names to refer to the device scale factor Reviewed by Simon Fraser. * WebCoreSupport/ChromeClientEfl.cpp: * WebCoreSupport/ChromeClientEfl.h: 2011-08-12 Grzegorz Czajkowski [EFL] Fix after r91815 - restore changes from r91659. https://bugs.webkit.org/show_bug.cgi?id=64682 Reviewed by Kenneth Rohde Christiansen. Restore patch for fix ewk_view_context_menu_forward_event which has been overwrititen by mistake. * ewk/ewk_view.cpp: (ewk_view_context_menu_forward_event): 2011-08-12 Grzegorz Czajkowski [EFL] HTML Saving feature. https://bugs.webkit.org/show_bug.cgi?id=55455 Reviewed by Antonio Gomes. Gets the source and location of resources for document. TODO: 1. Support others resources (css, plugins, media files). 2. Currently only HTML documents are supported. * ewk/ewk_frame.cpp: (ewk_frame_source_get): (ewk_frame_resources_location_get): * ewk/ewk_frame.h: 2011-08-10 Grzegorz Czajkowski [EFL] Return from _ewk_view_smart_add if smart data can not be allocated https://bugs.webkit.org/show_bug.cgi?id=65853 Reviewed by Kenneth Rohde Christiansen. It prevents the crash while allocating a memory for view's smart data. Others checking are needed for support single and tiled backing store. As a result an empty window will be displayed. * ewk/ewk_view.cpp: (_ewk_view_smart_add): (_ewk_view_smart_resize): (_ewk_view_smart_move): (_ewk_view_smart_show): (_ewk_view_smart_hide): * ewk/ewk_view_single.c: (_ewk_view_single_smart_add): (_ewk_view_single_smart_resize): * ewk/ewk_view_tiled.c: (_ewk_view_tiled_smart_add): 2011-08-10 Grzegorz Czajkowski [EFL] API methods check NULL and return proper value. https://bugs.webkit.org/show_bug.cgi?id=65844 Reviewed by Kenneth Rohde Christiansen. Check NULL before access to the smart and private data of the view object and return the proper value if error occurred. * ewk/ewk_view.cpp: (ewk_view_zoom_range_set): (ewk_view_zoom_range_min_get): (ewk_view_zoom_range_max_get): (ewk_view_user_scalable_set): (ewk_view_user_scalable_get): (ewk_view_device_pixel_ratio_get): * ewk/ewk_view.h: 2011-08-10 KwangHyuk Kim [EFL] Remove unused local variable from _ewk_tiled_backing_store_item_process_idler_cb. https://bugs.webkit.org/show_bug.cgi?id=65846 As Ewk_Tiled_Backing_Store_Item *it is declared as local variable, but it's never referenced anywhere, it is better to be removed from _ewk_tiled_backing_store_item_process_idler_cb. Reviewed by Kenneth Rohde Christiansen. * ewk/ewk_tiled_backing_store.c: (_ewk_tiled_backing_store_item_process_idler_cb): 2011-08-09 Gyuyoung Kim [EFL] Sort signal comments by alphabetical order. http://bugs.webkit.org/show_bug.cgi?id=65520 Reviewed by Kent Tamura. Signals caused by ewk still are listed without any specific rule. It sure isn't a nice thing to understand the signal list. So, this patch lists signals by alphabetical order. * ewk/ewk_contextmenu.h: * ewk/ewk_frame.h: * ewk/ewk_view.h: 2011-08-09 KwangHyuk Kim [EFL] Fix warning caused by undefined static api. https://bugs.webkit.org/show_bug.cgi?id=65301 Both _ewk_tiled_backing_store_item_request_add and _ewk_tiled_backing_store_item_request_del are declared, but their bodies are not defined and they are not referenced anywhere. Therefore, I remove both two API's declaration in order to resolve warning message caused by them. Reviewed by Kenneth Rohde Christiansen. * ewk/ewk_tiled_backing_store.c: 2011-08-05 Grzegorz Czajkowski [EFL] Move API documentation of ewk files to the headers https://bugs.webkit.org/show_bug.cgi?id=65373 There are two arguments for this: 1. Developers using webkit-efl from packages probably won't have the C/CPP files with them and the doxygen documentation can be generated from the headers without the need for the whole source files. 2. It will be consistent with structures descriptions. Reviewed by Kent Tamura. * ewk/ewk_auth.cpp: * ewk/ewk_auth.h: * ewk/ewk_contextmenu.cpp: * ewk/ewk_contextmenu.h: * ewk/ewk_cookies.cpp: * ewk/ewk_cookies.h: * ewk/ewk_frame.cpp: * ewk/ewk_frame.h: * ewk/ewk_history.cpp: * ewk/ewk_history.h: * ewk/ewk_main.cpp: * ewk/ewk_main.h: * ewk/ewk_network.cpp: * ewk/ewk_network.h: * ewk/ewk_settings.cpp: * ewk/ewk_settings.h: * ewk/ewk_window_features.cpp: * ewk/ewk_window_features.h: 2011-08-03 Pavel Feldman Web Inspector: remove Node parameter from the InspectorClient::highlight https://bugs.webkit.org/show_bug.cgi?id=65549 Reviewed by Yury Semikhatsky. * WebCoreSupport/InspectorClientEfl.cpp: (WebCore::InspectorClientEfl::highlight): * WebCoreSupport/InspectorClientEfl.h: 2011-08-02 Raphael Kubo da Costa [EFL] Ignore empty requests on policy decisions. https://bugs.webkit.org/show_bug.cgi?id=64536 Reviewed by Kenneth Rohde Christiansen. This is the same fix introduced in the GTK+ port in r41313: empty request should be ignored, so tests such as fast/loader/empty-embed-src-attribute.html do not crash. * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::dispatchDecidePolicyForResponse): (WebCore::FrameLoaderClientEfl::dispatchDecidePolicyForNewWindowAction): (WebCore::FrameLoaderClientEfl::dispatchDecidePolicyForNavigationAction): 2011-08-02 Eunsol Park [EFL] Remove overlapping recursive layout function https://bugs.webkit.org/show_bug.cgi?id=63241 First, _ewk_view_layout_if_needed_recursive is called twice in _ewk_view_smart_calculate and _ewk_view_tiled_updates_process_pre,so it is no problem removing one of them. Second, In tiled backingstore configuration, _ewk_view_layout_if_needed_recursive called in _ewk_view_smart_calculate will result in generating repaints for dirty areas located outside of viewport since m_paintEntireContents is set. But, the areas will not be actually painted. Thus, the layout is unnecessary except when there is something to paint inside of viewport, which will consume CPU unnecessarily. So,the layout func was removed from _ewk_view_smart_calculate and added to _ewk_view_single_smart_repaints_process for single backingstore. Reviewed by Antonio Gomes. * ewk/ewk_view.cpp: (_ewk_view_smart_calculate): * ewk/ewk_view_single.c: (_ewk_view_single_smart_repaints_process): 2011-08-02 Gyuyoung Kim [EFL] Add fullscreen button to media control UI. https://bugs.webkit.org/show_bug.cgi?id=64428 Implement functions for full screen in ChromeClientEfl in order to display a full screen button on media control UI. When full screen mode is activated by pressing the button, the functions are called by Document. So, if there is no implemented function, full screen button will not be shown. In addition, a .edc file and an image file are added for full screen button. Reviewed by Antonio Gomes. * DefaultTheme/default.edc: * DefaultTheme/widget/mediacontrol/fullscreenbutton/fullscreen_button.edc: Added. * DefaultTheme/widget/mediacontrol/fullscreenbutton/fullscreenbutton.png: Added. * WebCoreSupport/ChromeClientEfl.cpp: (WebCore::ChromeClientEfl::supportsFullScreenForElement): (WebCore::ChromeClientEfl::enterFullScreenForElement): (WebCore::ChromeClientEfl::exitFullScreenForElement): * WebCoreSupport/ChromeClientEfl.h: 2011-07-29 Michal Pakula vel Rutka [EFL] Implement EditorClientEfl::respondToChangedContents http://bugs.webkit.org/show_bug.cgi?id=64259 Implements respondToChangedContents by calling callback both from ewk_frame and ewk_view with frame and view objects respectively. Reviewed by Antonio Gomes. * WebCoreSupport/EditorClientEfl.cpp: (WebCore::EditorClientEfl::respondToChangedContents): * ewk/ewk_frame.cpp: (ewk_frame_editor_client_contents_changed): * ewk/ewk_frame.h: * ewk/ewk_private.h: * ewk/ewk_view.cpp: (ewk_view_editor_client_contents_changed): * ewk/ewk_view.h: 2011-07-29 Grzegorz Czajkowski [EFL] Move ewk_view API documentation to the header file https://bugs.webkit.org/show_bug.cgi?id=65305 There are two arguments for this: 1. Developers using webkit-efl from packages probably won't have the C/CPP files with them and the doxygen documentation can be generated from the headers without the need for the whole source files. 2. It will be consistent with structures descriptions. Reviewed by Kent Tamura. * ewk/ewk_tiled_model.c: * ewk/ewk_view.cpp: * ewk/ewk_view.h: * ewk/ewk_view_single.c: * ewk/ewk_view_tiled.c: 2011-07-28 Kangil Han [EFL] Removes EAPI attribute in internal headers. https://bugs.webkit.org/show_bug.cgi?id=65251 Removes EAPI attribute in three header files because API in these files is internally used. Reviewed by Anders Carlsson. * ewk/ewk_tiled_backing_store.h: * ewk/ewk_tiled_matrix.h: * ewk/ewk_tiled_model.h: 2011-07-28 Kangil Han [EFL] Defines header files will be publicly installed explicitly. https://bugs.webkit.org/show_bug.cgi?id=64923 This patch modifies a way to define open header list from black-list to white-list. Plus, 'ewk/ewk_util.h' will not be installed anymore because it only has internal API. Reviewed by Anders Carlsson. * CMakeListsEfl.txt: 2011-07-28 Gyuyoung Kim [EFL] Fix coding style of pointer type in ewk files. https://bugs.webkit.org/show_bug.cgi?id=65358 Move '*' operator to variable side according to efl coding style. Because, '*' operator is next to variable in EFL coding style. Reviewed by Kent Tamura. * ewk/ewk_auth.cpp: (ewk_auth_credentials_set): * ewk/ewk_auth.h: * ewk/ewk_auth_soup.cpp: (_Ewk_Auth_Data::ewk_auth_soup_dialog_class_init): (_Ewk_Auth_Data::ewk_auth_soup_dialog_init): (_Ewk_Auth_Data::ewk_auth_soup_credentials_set): (_Ewk_Auth_Data::session_authenticate): (_Ewk_Auth_Data::free_auth_data): (_Ewk_Auth_Data::attach): (_Ewk_Auth_Data::detach): * ewk/ewk_auth_soup.h: * ewk/ewk_contextmenu.cpp: (ewk_context_menu_ref): (ewk_context_menu_unref): (ewk_context_menu_destroy): (ewk_context_menu_item_list_get): (ewk_context_menu_item_new): (ewk_context_menu_item_select): (ewk_context_menu_item_free): (ewk_context_menu_item_type_get): (ewk_context_menu_item_type_set): (ewk_context_menu_item_action_get): (ewk_context_menu_item_action_set): (ewk_context_menu_item_title_get): (ewk_context_menu_item_title_set): (ewk_context_menu_item_checked_get): (ewk_context_menu_item_checked_set): (ewk_context_menu_item_enabled_get): (ewk_context_menu_new): (ewk_context_menu_free): (ewk_context_menu_item_append): (ewk_context_menu_custom_get): (ewk_context_menu_show): * ewk/ewk_contextmenu.h: * ewk/ewk_cookies.cpp: (ewk_cookies_file_set): (ewk_cookies_clear): (ewk_cookies_get_all): (ewk_cookies_cookie_del): (ewk_cookies_policy_set): (ewk_cookies_policy_get): * ewk/ewk_history.cpp: (_ewk_history_item_new): (_ewk_history_item_list_get): (ewk_history_forward): (ewk_history_back): (ewk_history_history_item_add): (ewk_history_history_item_set): (ewk_history_history_item_back_get): (ewk_history_history_item_current_get): (ewk_history_history_item_forward_get): (ewk_history_history_item_nth_get): (ewk_history_history_item_contains): (ewk_history_forward_list_get): (ewk_history_forward_list_get_with_limit): (ewk_history_forward_list_length): (ewk_history_back_list_get): (ewk_history_back_list_get_with_limit): (ewk_history_back_list_length): (ewk_history_limit_get): (ewk_history_limit_set): (ewk_history_item_new): (_ewk_history_item_free): (ewk_history_item_free): (ewk_history_item_list_free): (ewk_history_item_title_get): (ewk_history_item_title_alternate_get): (ewk_history_item_title_alternate_set): (ewk_history_item_uri_get): (ewk_history_item_uri_original_get): (ewk_history_item_time_last_visited_get): (ewk_history_item_icon_surface_get): (ewk_history_item_icon_object_add): (ewk_history_item_page_cache_exists): (ewk_history_item_visit_count): (ewk_history_item_visit_last_failed): (ewk_history_new): (ewk_history_free): * ewk/ewk_main.cpp: (_ewk_init_body): * ewk/ewk_network.cpp: (ewk_network_proxy_uri_set): (ewk_network_proxy_uri_get): * ewk/ewk_network.h: * ewk/ewk_private.h: * ewk/ewk_settings.cpp: (ewk_settings_icon_database_path_get): (ewk_settings_icon_database_icon_surface_get): (ewk_settings_icon_database_icon_object_add): (ewk_settings_default_user_agent_get): * ewk/ewk_util.cpp: (ewk_util_image_from_cairo_surface_add): * ewk/ewk_util.h: * ewk/ewk_window_features.cpp: (ewk_window_features_unref): (ewk_window_features_ref): (ewk_window_features_bool_property_get): (ewk_window_features_int_property_get): (ewk_window_features_new_from_core): * ewk/ewk_window_features.h: 2011-07-28 Gyuyoung Kim [EFL] Fix pointer operator coding style in ewk_frame. https://bugs.webkit.org/show_bug.cgi?id=65357 Move '*' operator to variable according to efl coding style. Because, '*' operator is next to variable in EFL coding style. Reviewed by Kent Tamura. * ewk/ewk_frame.cpp: (_ewk_frame_debug): (_ewk_frame_loader_efl_get): (kit): (_ewk_frame_children_iterator_next): (_ewk_frame_children_iterator_get_container): (_ewk_frame_smart_add): (_ewk_frame_smart_del): (_ewk_frame_smart_resize): (_ewk_frame_smart_set): (_ewk_frame_smart_class_new): (ewk_frame_view_get): (ewk_frame_children_iterator_new): (ewk_frame_child_find): (ewk_frame_uri_set): (ewk_frame_uri_get): (ewk_frame_title_get): (ewk_frame_name_get): (ewk_frame_contents_size_get): (_ewk_frame_contents_set_internal): (ewk_frame_contents_set): (ewk_frame_contents_alternate_set): (ewk_frame_script_execute): (ewk_frame_editable_get): (ewk_frame_editable_set): (ewk_frame_selection_get): (ewk_frame_text_search): (ewk_frame_text_matches_mark): (ewk_frame_text_matches_unmark_all): (ewk_frame_text_matches_highlight_set): (ewk_frame_text_matches_highlight_get): (_ewk_frame_rect_cmp_less_than): (_ewk_frame_rect_is_negative_value): (ewk_frame_text_matches_nth_pos_get): (ewk_frame_stop): (ewk_frame_reload): (ewk_frame_reload_full): (ewk_frame_back): (ewk_frame_forward): (ewk_frame_navigate): (ewk_frame_back_possible): (ewk_frame_forward_possible): (ewk_frame_navigate_possible): (ewk_frame_zoom_get): (ewk_frame_zoom_set): (ewk_frame_zoom_text_only_get): (ewk_frame_zoom_text_only_set): (ewk_frame_hit_test_free): (ewk_frame_hit_test_new): (ewk_frame_scroll_add): (ewk_frame_scroll_set): (ewk_frame_scroll_size_get): (ewk_frame_scroll_pos_get): (ewk_frame_visible_content_geometry_get): (ewk_frame_paint_full_get): (ewk_frame_paint_full_set): (ewk_frame_feed_focus_in): (ewk_frame_feed_focus_out): (ewk_frame_feed_mouse_wheel): (ewk_frame_feed_mouse_down): (ewk_frame_feed_mouse_up): (ewk_frame_feed_mouse_move): (ewk_frame_feed_touch_event): (_ewk_frame_handle_key_scrolling): (ewk_frame_feed_key_down): (ewk_frame_feed_key_up): (ewk_frame_text_selection_type_get): (ewk_frame_add): (ewk_frame_init): (ewk_frame_child_add): (ewk_frame_core_gone): (ewk_frame_core_get): (ewk_frame_load_started): (ewk_frame_load_provisional): (ewk_frame_load_finished): (ewk_frame_load_error): (ewk_frame_load_progress_changed): (ewk_frame_contents_size_changed): (ewk_frame_title_set): (ewk_frame_view_create_for_view): (ewk_frame_uri_changed): (ewk_frame_force_layout): (ewk_frame_plugin_create): (ewk_frame_editor_client_selection_changed): * ewk/ewk_frame.h: 2011-07-27 Gyuyoung Kim [EFL] Add dummy NotificationPresenterClientEfl https://bugs.webkit.org/show_bug.cgi?id=64064 Add dummy files for HTML5 Notification. And also, notificationPresenter() is added to ChromeClientEfl. Without this function implemented, there would be a build break when ENABLE_NOTIFICATION is enabled. Reviewed by Antonio Gomes. * CMakeListsEfl.txt: * WebCoreSupport/ChromeClientEfl.cpp: (WebCore::ChromeClientEfl::notificationPresenter): * WebCoreSupport/ChromeClientEfl.h: * WebCoreSupport/NotificationPresenterClientEfl.cpp: Added. (WebCore::NotificationPresenterClientEfl::NotificationPresenterClientEfl): (WebCore::NotificationPresenterClientEfl::~NotificationPresenterClientEfl): (WebCore::NotificationPresenterClientEfl::show): (WebCore::NotificationPresenterClientEfl::cancel): (WebCore::NotificationPresenterClientEfl::notificationObjectDestroyed): (WebCore::NotificationPresenterClientEfl::requestPermission): (WebCore::NotificationPresenterClientEfl::checkPermission): (WebCore::NotificationPresenterClientEfl::cancelRequestsForPermission): * WebCoreSupport/NotificationPresenterClientEfl.h: Added. 2011-07-26 Gyuyoung Kim [EFL] Fix pointer operator coding style in ewk_view. https://bugs.webkit.org/show_bug.cgi?id=65163 Move '*' operator to variable according to efl coding style. In addition, add a space between * and variable in type casting. Reviewed by Kent Tamura. * ewk/ewk_view.cpp: (_ewk_view_smart_changed): (_ewk_view_repaints_resize): (_ewk_view_repaint_add): (_ewk_view_repaints_flush): (_ewk_view_scrolls_resize): (_ewk_view_scroll_add): (_ewk_view_scrolls_flush): (_ewk_view_smart_focus_in): (_ewk_view_smart_focus_out): (_ewk_view_smart_mouse_wheel): (_ewk_view_smart_mouse_down): (_ewk_view_smart_mouse_up): (_ewk_view_smart_mouse_move): (_ewk_view_smart_key_down): (_ewk_view_smart_key_up): (_ewk_view_smart_add_console_message): (_ewk_view_smart_run_javascript_alert): (_ewk_view_smart_run_javascript_confirm): (_ewk_view_smart_should_interrupt_javascript): (_ewk_view_smart_run_javascript_prompt): (_ewk_view_on_focus_in): (_ewk_view_on_focus_out): (_ewk_view_on_mouse_wheel): (_ewk_view_on_mouse_down): (_ewk_view_on_mouse_up): (_ewk_view_on_mouse_move): (_ewk_view_on_key_down): (_ewk_view_on_key_up): (_ewk_view_core_frame_new): (_ewk_view_priv_new): (_ewk_view_priv_del): (_ewk_view_smart_add): (_ewk_view_smart_del): (_ewk_view_smart_resize): (_ewk_view_smart_move): (_ewk_view_smart_calculate): (_ewk_view_smart_contents_resize): (_ewk_view_smart_zoom_set): (_ewk_view_smart_flush): (_ewk_view_smart_pre_render_region): (_ewk_view_smart_pre_render_relative_radius): (_ewk_view_smart_pre_render_cancel): (_ewk_view_zoom_animated_mark_stop): (_ewk_view_zoom_animated_finish): (_ewk_view_zoom_animated_current): (_ewk_view_zoom_animator_cb): (_ewk_view_zoom_animation_start): (_ewk_view_viewport_attributes_compute): (ewk_view_base_smart_set): (ewk_view_fixed_layout_size_set): (ewk_view_fixed_layout_size_get): (ewk_view_theme_set): (ewk_view_theme_get): (ewk_view_frame_main_get): (ewk_view_frame_focused_get): (ewk_view_uri_set): (ewk_view_uri_get): (ewk_view_title_get): (ewk_view_editable_get): (ewk_view_bg_color_set): (ewk_view_bg_color_get): (ewk_view_text_search): (ewk_view_text_matches_mark): (ewk_view_text_matches_unmark_all): (ewk_view_text_matches_highlight_set): (ewk_view_text_matches_highlight_get): (ewk_view_editable_set): (ewk_view_selection_get): (_ewk_view_editor_command): (ewk_view_execute_editor_command): (ewk_view_context_menu_forward_event): (ewk_view_load_progress_get): (ewk_view_stop): (ewk_view_reload): (ewk_view_reload_full): (ewk_view_back): (ewk_view_forward): (ewk_view_navigate): (ewk_view_back_possible): (ewk_view_forward_possible): (ewk_view_navigate_possible): (ewk_view_history_enable_get): (ewk_view_history_enable_set): (ewk_view_history_get): (ewk_view_zoom_get): (ewk_view_zoom_set): (ewk_view_zoom_weak_smooth_scale_get): (ewk_view_zoom_weak_smooth_scale_set): (ewk_view_zoom_weak_set): (ewk_view_zoom_animated_mark_start): (ewk_view_zoom_animated_mark_end): (ewk_view_zoom_animated_mark_current): (ewk_view_zoom_animated_mark_stop): (ewk_view_zoom_animated_set): (ewk_view_zoom_text_only_get): (ewk_view_zoom_text_only_set): (ewk_view_pre_render_region): (ewk_view_pre_render_relative_radius): (ewk_view_pre_render_cancel): (ewk_view_setting_user_agent_get): (ewk_view_setting_user_agent_set): (ewk_view_setting_user_stylesheet_get): (ewk_view_setting_user_stylesheet_set): (ewk_view_setting_auto_load_images_get): (ewk_view_setting_auto_load_images_set): (ewk_view_setting_auto_shrink_images_get): (ewk_view_setting_auto_shrink_images_set): (ewk_view_setting_enable_auto_resize_window_get): (ewk_view_setting_enable_auto_resize_window_set): (ewk_view_setting_enable_scripts_get): (ewk_view_setting_enable_scripts_set): (ewk_view_setting_enable_plugins_get): (ewk_view_setting_enable_plugins_set): (ewk_view_setting_enable_frame_flattening_get): (ewk_view_setting_enable_frame_flattening_set): (ewk_view_setting_scripts_window_open_get): (ewk_view_setting_scripts_window_open_set): (ewk_view_setting_resizable_textareas_get): (ewk_view_setting_resizable_textareas_set): (ewk_view_setting_private_browsing_get): (ewk_view_setting_private_browsing_set): (ewk_view_setting_offline_app_cache_get): (ewk_view_setting_offline_app_cache_set): (ewk_view_setting_caret_browsing_get): (ewk_view_setting_caret_browsing_set): (ewk_view_setting_encoding_custom_get): (ewk_view_setting_encoding_custom_set): (ewk_view_setting_encoding_default_get): (ewk_view_setting_encoding_default_set): (ewk_view_setting_encoding_detector_set): (ewk_view_setting_encoding_detector_get): (ewk_view_setting_enable_developer_extras_get): (ewk_view_setting_enable_developer_extras_set): (ewk_view_setting_font_minimum_size_get): (ewk_view_setting_font_minimum_size_set): (ewk_view_setting_font_minimum_logical_size_get): (ewk_view_setting_font_minimum_logical_size_set): (ewk_view_setting_font_default_size_get): (ewk_view_setting_font_default_size_set): (ewk_view_setting_font_monospace_size_get): (ewk_view_setting_font_monospace_size_set): (ewk_view_setting_font_standard_get): (ewk_view_setting_font_standard_set): (ewk_view_setting_font_cursive_get): (ewk_view_setting_font_cursive_set): (ewk_view_setting_font_fantasy_get): (ewk_view_setting_font_fantasy_set): (ewk_view_setting_font_monospace_get): (ewk_view_setting_font_monospace_set): (ewk_view_setting_font_serif_get): (ewk_view_setting_font_serif_set): (ewk_view_setting_font_sans_serif_get): (ewk_view_setting_font_sans_serif_set): (ewk_view_setting_spatial_navigation_get): (ewk_view_setting_spatial_navigation_set): (ewk_view_setting_local_storage_get): (ewk_view_setting_local_storage_set): (ewk_view_setting_page_cache_get): (ewk_view_setting_page_cache_set): (ewk_view_setting_local_storage_database_path_get): (ewk_view_setting_local_storage_database_path_set): (ewk_view_smart_data_get): (ewk_view_repaints_get): (ewk_view_scroll_requests_get): (ewk_view_repaint_add): (ewk_view_layout_if_needed_recursive): (ewk_view_scrolls_process): (ewk_view_paint_context_new): (ewk_view_paint_context_free): (ewk_view_paint_context_save): (ewk_view_paint_context_restore): (ewk_view_paint_context_clip): (ewk_view_paint_context_paint): (ewk_view_paint_context_paint_contents): (ewk_view_paint_context_scale): (ewk_view_paint_context_translate): (ewk_view_paint): (ewk_view_paint_contents): (ewk_view_ready): (ewk_view_input_method_state_set): (ewk_view_title_set): (ewk_view_uri_changed): (ewk_view_load_started): (ewk_view_frame_main_load_started): (ewk_view_load_provisional): (ewk_view_load_show): (ewk_view_frame_main_cleared): (ewk_view_frame_main_icon_received): (ewk_view_load_finished): (ewk_view_load_error): (ewk_view_load_progress_changed): (ewk_view_restore_state): (ewk_view_window_create): (ewk_view_window_close): (ewk_view_mouse_link_hover_in): (ewk_view_mouse_link_hover_out): (ewk_view_toolbars_visible_set): (ewk_view_toolbars_visible_get): (ewk_view_statusbar_visible_set): (ewk_view_statusbar_visible_get): (ewk_view_statusbar_text_set): (ewk_view_scrollbars_visible_set): (ewk_view_scrollbars_visible_get): (ewk_view_menubar_visible_set): (ewk_view_menubar_visible_get): (ewk_view_tooltip_text_set): (ewk_view_add_console_message): (ewk_view_run_javascript_alert): (ewk_view_run_javascript_confirm): (ewk_view_run_javascript_prompt): (ewk_view_should_interrupt_javascript): (ewk_view_exceeded_database_quota): (ewk_view_run_open_panel): (ewk_view_repaint): (ewk_view_scroll): (ewk_view_core_page_get): (ewk_view_frame_create): (ewk_view_plugin_create): (ewk_view_popup_new): (ewk_view_popup_destroy): (ewk_view_popup_selected_set): (ewk_view_download_request): (ewk_view_viewport_attributes_set): (ewk_view_viewport_attributes_get): (ewk_view_zoom_range_set): (ewk_view_zoom_range_min_get): (ewk_view_zoom_range_max_get): (ewk_view_user_scalable_set): (ewk_view_user_scalable_get): (ewk_view_device_pixel_ratio_get): (ewk_view_navigation_policy_decision): (ewk_view_page_rect_get): (ewk_view_need_touch_events_set): (ewk_view_need_touch_events_get): (ewk_view_mode_set): (ewk_view_mode_get): (ewk_view_editor_client_selection_changed): * ewk/ewk_view.h: 2011-07-26 Sadrul Habib Chowdhury Add support for download='filename' attribute in anchors. https://bugs.webkit.org/show_bug.cgi?id=64580 Reviewed by Adam Barth. * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::startDownload): * WebCoreSupport/FrameLoaderClientEfl.h: 2011-07-25 JungJik Lee [EFL] Remove unused code in ewk_tile_model.c https://bugs.webkit.org/show_bug.cgi?id=64521 Remove unused code in ewk_tile_model.c. Dirty flag is not referenced anywhere. Reviewed by Daniel Bates. * ewk/ewk_tiled_model.c: (ewk_tile_unused_cache_clear): (ewk_tile_unused_cache_flush): (ewk_tile_unused_cache_tile_get): (ewk_tile_unused_cache_tile_put): 2011-07-25 Grzegorz Czajkowski [EFL] Move macro checking inside ewk_view_context_menu_forward_event https://bugs.webkit.org/show_bug.cgi?id=64682 When CONTEXT_MENUS macro is disabled method ewk_view_context_menu_forward_event just returns EINA_FALSE and it avoid undefined reference during building. Reviewed by Kent Tamura. * ewk/ewk_view.cpp: (ewk_view_context_menu_forward_event): 2011-07-25 Grzegorz Czajkowski [EFL] Method ewk_context_menu_destroy returns EINA_FALSE if CONTEXT_MENUS macro is disabled https://bugs.webkit.org/show_bug.cgi?id=64683 Fix returned value and omit NULL checking if CONTEXT_MENUS macro is disabled in ewk_context_menu_destroy. Reviewed by Kent Tamura. * ewk/ewk_contextmenu.cpp: (ewk_context_menu_destroy): 2011-07-22 Michal Pakula vel Rutka [EFL] ewk_frame_hit_test_new enhancement https://bugs.webkit.org/show_bug.cgi?id=64260 Replaces structure 'flags' with enum 'context' containing more hit test result types and adds new char* fields to Ewk_Hit_Test structure: image_uri and media_uri. Reviewed by Antonio Gomes. * ewk/ewk_frame.cpp: (ewk_frame_hit_test_free): (ewk_frame_hit_test_new): * ewk/ewk_frame.h: 2011-07-19 Gyuyoung Kim [EFL] Add ewk_network.cpp|h files. https://bugs.webkit.org/show_bug.cgi?id=63315 ewk_network.cpp|h files are added to ewk in order to support APIs related to networking. In addition, ewk_network_state_notifier_online_set() is added to ewk_network.cpp in order to notify NetworkStateNotifier of network status. Reviewed by Antonio Gomes. * CMakeListsEfl.txt: * ewk/EWebKit.h: * ewk/ewk_network.cpp: Added. (ewk_network_proxy_uri_set): (ewk_network_proxy_uri_get): (ewk_network_state_notifier_online_set): * ewk/ewk_network.h: * ewk/ewk_settings.cpp: * ewk/ewk_settings.h: 2011-07-15 Dan Bernstein REGRESSION: Mouse cursor doesn’t hide when full screen video HUD hides https://bugs.webkit.org/show_bug.cgi?id=64615 Reviewed by Anders Carlsson. * WebCoreSupport/ChromeClientEfl.cpp: (WebCore::ChromeClientEfl::setCursorHiddenUntilMouseMoves): Added this stub. * WebCoreSupport/ChromeClientEfl.h: 2011-07-14 Jaehun Lim Reviewed by Adam Barth. [EFL] Remove IconDatabase initialization in _ewk_init_body() https://bugs.webkit.org/show_bug.cgi?id=63491 Make IconDatabase feature optional by removing its initialization from _ewk_init_body(). Now IconDatabase must be fully managed by an application: if it doesn't want to use it, there's nothing to do. Otherwise, just call ewk_settings_icon_database_path_set() with the directory path. * ewk/ewk_main.cpp: (_ewk_init_body): * ewk/ewk_settings.cpp: (ewk_settings_icon_database_path_set): 2011-07-12 Joseph Pecoraro ApplicationCache update should not immediately fail when reaching per-origin quota https://bugs.webkit.org/show_bug.cgi?id=64177 Reviewed by Alexey Proskuryakov. * WebCoreSupport/ChromeClientEfl.cpp: (WebCore::ChromeClientEfl::reachedApplicationCacheOriginQuota): * WebCoreSupport/ChromeClientEfl.h: 2011-07-11 Jaehun Lim Reviewed by Ryosuke Niwa. [EFL] Supports to execute "redo" command. https://bugs.webkit.org/show_bug.cgi?id=62536 Implements basic functions for "redo" command. * WebCoreSupport/EditorClientEfl.cpp: (WebCore::EditorClientEfl::registerCommandForUndo): (WebCore::EditorClientEfl::registerCommandForRedo): (WebCore::EditorClientEfl::clearUndoRedoOperations): (WebCore::EditorClientEfl::canRedo): (WebCore::EditorClientEfl::undo): (WebCore::EditorClientEfl::redo): (WebCore::EditorClientEfl::EditorClientEfl): * WebCoreSupport/EditorClientEfl.h: 2011-06-29 Kangil Han Reviewed by Kenneth Rohde Christiansen. [EFL] Add APIs to get/set view mode https://bugs.webkit.org/show_bug.cgi?id=63229 Implement public API for getting/setting the view-mode media feature as specified in W3C. * ewk/ewk_view.cpp: (ewk_view_mode_set): (ewk_view_mode_get): * ewk/ewk_view.h: 2011-06-29 Michal Pakula vel Rutka Reviewed by Kenneth Rohde Christiansen. [EFL] Add ewk_frame_text_selection_type_get function https://bugs.webkit.org/show_bug.cgi?id=63462 Add a method to obtain current WebCore::VisibleSelection text selection type. * ewk/ewk_frame.cpp: (ewk_frame_text_selection_type_get): * ewk/ewk_frame.h: 2011-06-28 Michal Pakula vel Rutka Reviewed by Kenneth Rohde Christiansen. [EFL] Implement EditorClientEfl::respondToChangedSelection https://bugs.webkit.org/show_bug.cgi?id=63525 This patch: - implements EditorClientEfl::respondToChangedSelection, - adds ewk_frame_editor_client_selection_changed and - ewk_view_editor_client_selection_changed * WebCoreSupport/EditorClientEfl.cpp: (WebCore::EditorClientEfl::respondToChangedSelection): * ewk/ewk_frame.cpp: (ewk_frame_editor_client_selection_changed): * ewk/ewk_private.h: * ewk/ewk_view.cpp: (ewk_view_editor_client_selection_changed): 2011-06-28 Gyuyoung Kim Reviewed by Kent Tamura. [EFL] Change permission of some ewk files. https://bugs.webkit.org/show_bug.cgi?id=63517 Change some file's permission same with other file's. * ewk/ewk_tiled_backing_store.c: * ewk/ewk_tiled_model.c: * ewk/ewk_view_single.c: 2011-06-27 Ryuan Choi Reviewed by Antonio Gomes. [EFL] Remove private header files from EWebKit_HEADERS. https://bugs.webkit.org/show_bug.cgi?id=63441 Remove ewk_tiled_private.h, ewk_tiled_backing_store.h, ewk_tiled_matrix.h, ewk_tiled_model.h and check WTF_USE_SOUP to remove ewk_auth_soup.h. * CMakeListsEfl.txt: 2011-06-27 Jongseok Yang Reviewed by Kent Tamura. [EFL] Use accept attribute when executing the file picker for input element https://bugs.webkit.org/show_bug.cgi?id=63063 This patch: - remove the argument "suggested_filenames" from ewk_view_run_open_panel - add the argument "accept" to ewk_view_run_open_panel - get the accept attribute and pass to ewk_view_run_open_panel within runOpenPanel * WebCoreSupport/ChromeClientEfl.cpp: (WebCore::ChromeClientEfl::runOpenPanel): * ewk/ewk_view.cpp: (ewk_view_run_open_panel): * ewk/ewk_view.h: 2011-06-27 Gyuyoung Kim Unreviewed. Fix style error. Remove meaningless parameter from WebCoreSupport's header files. * WebCoreSupport/ChromeClientEfl.h: (WebCore::ChromeClientEfl::scrollRectIntoView): * WebCoreSupport/DragClientEfl.h: * WebCoreSupport/FrameLoaderClientEfl.h: (WebCore::FrameLoaderClientEfl::setWebFrame): 2011-06-27 KwangHyuk Kim Reviewed by Kenneth Rohde Christiansen. [EFL] Remove ewk_tile_matrix_updates_process() call from _ewk_tiled_backing_store_item_process_idler_cb(). https://bugs.webkit.org/show_bug.cgi?id=62963 As repaint_process on ewk_view_tiled already takes care of dirty area in visible area and in order to let pre-render work more efficiently, _ewk_tiled_backing_store_item_process_idler_cb() better not call ewk_tile_matrix_updates_process(). * ewk/ewk_tiled_backing_store.c: (_ewk_tiled_backing_store_item_process_idler_cb): 2011-06-27 KwangHyuk Kim Reviewed by Kenneth Rohde Christiansen. [EFL] Remove dead code related with Ewk_Tiled_Backing_Store_Item's update field. https://bugs.webkit.org/show_bug.cgi?id=62967 As some code do not affect any logical flow of tiled backing store except condition check, I would like to clean dead code related with Ewk_Tiled_Backing_Store_Item's update field and Ewk_Tiled_Backing_Store_Data's queue field * ewk/ewk_tiled_backing_store.c: (_ewk_tiled_backing_store_item_process_idler_cb): (_ewk_tiled_backing_store_item_fill): (_ewk_tiled_backing_store_item_add): (_ewk_tiled_backing_store_item_del): 2011-06-26 Ryuan Choi Reviewed by Antonio Gomes. [EFL] Functions needing Ewk_View_Private_Data as parameter are not part of public API. https://bugs.webkit.org/show_bug.cgi?id=62688 Move functions which use Ewk_View_Private_Data and may not be required by applications to ewk_private.h. * ewk/ewk_private.h: * ewk/ewk_view.h: 2011-06-24 Ryuan Choi Reviewed by Antonio Gomes. [EFL] Remove ewk_frame_theme_get/set. https://bugs.webkit.org/show_bug.cgi?id=63370 Remove ewk_frame_theme_get/set to avoid confusion. Setting theme on each frame is meaningless and ewk_view_thjeme_set can do same thing. * ewk/ewk_frame.cpp: * ewk/ewk_frame.h: * ewk/ewk_view.cpp: (ewk_view_theme_set): 2011-06-24 Gyuyoung Kim Reviewed by Kent Tamura. [EFL] Add ewk_auth.h to EWebKit.h https://bugs.webkit.org/show_bug.cgi?id=63311 * ewk/EWebKit.h: Add ewk_auth.h 2011-06-23 Ryuan Choi Reviewed by Antonio Gomes. [EFL] Crash when running EWebLauncher https://bugs.webkit.org/show_bug.cgi?id=62628 Call DocumentWriter::setEncoding when FrameLoaderClientEfl::finishedLoading() like other ports. It will clear parser not to crash when called endIfNotLoadingMainResource(). * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::FrameLoaderClientEfl): (WebCore::FrameLoaderClientEfl::makeRepresentation): (WebCore::FrameLoaderClientEfl::revertToProvisionalState): (WebCore::FrameLoaderClientEfl::finishedLoading): * WebCoreSupport/FrameLoaderClientEfl.h: 2011-06-22 Ryuan Choi Reviewed by Antonio Gomes. [EFL] Add an option to enable Device Orientation Event. https://bugs.webkit.org/show_bug.cgi?id=63120 * CMakeListsEfl.txt: Add files to build with ENABLE_DEVICE_ORIENTATION. * ewk/ewk_view.cpp: (_ewk_view_priv_new): Create DeviceOrientationClientEfl and DeviceMotionClientEfl. 2011-06-22 Ryuan Choi Reviewed by Antonio Gomes. [EFL] Add DeviceOrientationClientEfl and DeviceMotionClientEfl. https://bugs.webkit.org/show_bug.cgi?id=63125 Add dummy files to build with ENABLE_DEVICE_ORIENTATION. * WebCoreSupport/DeviceMotionClientEfl.cpp: Added. (WebCore::DeviceMotionClientEfl::DeviceMotionClientEfl): (WebCore::DeviceMotionClientEfl::~DeviceMotionClientEfl): (WebCore::DeviceMotionClientEfl::deviceMotionControllerDestroyed): (WebCore::DeviceMotionClientEfl::setController): (WebCore::DeviceMotionClientEfl::startUpdating): (WebCore::DeviceMotionClientEfl::stopUpdating): (WebCore::DeviceMotionClientEfl::currentDeviceMotion): * WebCoreSupport/DeviceMotionClientEfl.h: Added. * WebCoreSupport/DeviceOrientationClientEfl.cpp: Added. (WebCore::DeviceOrientationClientEfl::DeviceOrientationClientEfl): (WebCore::DeviceOrientationClientEfl::~DeviceOrientationClientEfl): (WebCore::DeviceOrientationClientEfl::deviceOrientationControllerDestroyed): (WebCore::DeviceOrientationClientEfl::setController): (WebCore::DeviceOrientationClientEfl::startUpdating): (WebCore::DeviceOrientationClientEfl::stopUpdating): (WebCore::DeviceOrientationClientEfl::lastOrientation): * WebCoreSupport/DeviceOrientationClientEfl.h: Added. 2011-06-20 Dimitri Glazkov Reviewed by Kent Tamura. FileChooser should be only created when we need to choose files. https://bugs.webkit.org/show_bug.cgi?id=63039 * WebCoreSupport/ChromeClientEfl.cpp: (WebCore::ChromeClientEfl::runOpenPanel): Changed to use settings. 2011-06-20 Gyuyoung Kim Unreviewed. Fix style error. * WebCoreSupport/EditorClientEfl.h: (WebCore::EditorClientEfl::requestCheckingOfString): 2011-06-20 Ryuan Choi Reviewed by Antonio Gomes. [EFL] ChromeClientEfl doesn't need to check whether m_view is null. https://bugs.webkit.org/show_bug.cgi?id=62978 Remove unnecessary check routines of m_view because ChromeClientEfl have valid m_view always. * WebCoreSupport/ChromeClientEfl.cpp: (WebCore::ChromeClientEfl::ChromeClientEfl): Add ASSERT(m_view) (WebCore::ChromeClientEfl::windowRect): (WebCore::ChromeClientEfl::setWindowRect): (WebCore::ChromeClientEfl::pageRect): 2011-06-20 Ryosuke Niwa EFL build fix after r89293. * WebCoreSupport/EditorClientEfl.cpp: (WebCore::EditorClientEfl::handleEditingKeyboardEvent): 2011-06-18 Dimitri Glazkov Reviewed by Darin Adler. Separate concerns of loading file icons and choosing files. https://bugs.webkit.org/show_bug.cgi?id=62931 * WebCoreSupport/ChromeClientEfl.cpp: (WebCore::ChromeClientEfl::loadIconForFiles): Renamed. * WebCoreSupport/ChromeClientEfl.h: 2011-06-15 Grzegorz Czajkowski Reviewed by Antonio Gomes. [EFL] Fix and update doxygen documentation for ewk_frame. https://bugs.webkit.org/show_bug.cgi?id=62533 This patch: - fixes method descriptions, - adds briefs for structure and typdef, - replaces NULL to 0 in doxygen documentation (webkit's style required it), - removes dots from the end of params and return description (see EFL's documentation), - moves includes and defines below a brief of ewk_frame.h - moves internal methods to the end of ewk_frame.cpp. * ewk/ewk_frame.cpp: (ewk_frame_add): * ewk/ewk_frame.h: 2011-06-15 Kamil Blank Reviewed by Kenneth Rohde Christiansen. [EFL] Soup authentication feature implementation. https://bugs.webkit.org/show_bug.cgi?id=54752 This implementation is based on GTK implementation. During ewk initialization SoupSessionFeature is added which provides possibility to handle HTTP basic auth. To support authentication we have to set function (callback) via ewk_auth_show_dialog_callback_set() which will be responsible for session authentication. If callback is set and authentication required - webkit pauses soup message, calls previously set callback and waits for authentication data (username/password) which should be passed by ewk_auth_credentials_set(). * CMakeListsEfl.txt: * ewk/ewk_auth.cpp: Added. (ewk_auth_show_dialog_callback_set): Setting callback which should be called when authentication is required. (ewk_auth_credentials_set): Passing authentication data. * ewk/ewk_auth.h: Added. Authentication API. * ewk/ewk_auth_soup.cpp: Added. Soup authentication implementation. (_Ewk_Auth_Data::ewk_auth_soup_dialog_class_init): (_Ewk_Auth_Data::ewk_auth_soup_dialog_init): (_Ewk_Auth_Data::ewk_auth_soup_dialog_session_feature_init): (_Ewk_Auth_Data::ewk_auth_soup_show_dialog_callback_set): (_Ewk_Auth_Data::ewk_auth_soup_credentials_set): (_Ewk_Auth_Data::session_authenticate): (_Ewk_Auth_Data::free_auth_data): (_Ewk_Auth_Data::attach): (_Ewk_Auth_Data::detach): * ewk/ewk_auth_soup.h: Added. * ewk/ewk_main.cpp: (_ewk_init_body): SoupSessionFeature responsible for authentication added to SoupSession. 2011-06-15 Sheriff Bot Unreviewed, rolling out r88723. http://trac.webkit.org/changeset/88723 https://bugs.webkit.org/show_bug.cgi?id=62726 Stack can be empty, so it needs to be checked before as pointed out in the comments of the bug. (Requested by demarchi on #webkit). * WebCoreSupport/EditorClientEfl.cpp: (WebCore::EditorClientEfl::registerCommandForUndo): (WebCore::EditorClientEfl::registerCommandForRedo): (WebCore::EditorClientEfl::clearUndoRedoOperations): (WebCore::EditorClientEfl::canRedo): (WebCore::EditorClientEfl::redo): * WebCoreSupport/EditorClientEfl.h: 2011-06-13 Michal Pakula vel Rutka Reviewed by Eric Seidel. [EFL] Input method hints not updated while clicking non-input field editable area https://bugs.webkit.org/show_bug.cgi?id=62539 This fixes a minor bug when input method hints are not updated while focus is changed from editable area with input tags to other which are does not have input tag i.e. textarea. * ewk/ewk_view.cpp: (ewk_view_input_method_state_set): 2011-06-13 Jaehun Lim Reviewed by Eric Seidel. [EFL] Supports to execute "redo" command. https://bugs.webkit.org/show_bug.cgi?id=62536 Implements basic functions for "redo" command. * WebCoreSupport/EditorClientEfl.cpp: (WebCore::EditorClientEfl::registerCommandForUndo): (WebCore::EditorClientEfl::registerCommandForRedo): (WebCore::EditorClientEfl::clearUndoRedoOperations): (WebCore::EditorClientEfl::canRedo): (WebCore::EditorClientEfl::redo): * WebCoreSupport/EditorClientEfl.h: 2011-06-13 Grzegorz Czajkowski Reviewed by Eric Seidel. [EFL] Remove ewk_frame_select_* functions from ewk_frame.cpp https://bugs.webkit.org/show_bug.cgi?id=62365 These functions do not exist in any public headers and they are not used internally. Moreover ewk_view has the same functionality added https://bugs.webkit.org/show_bug.cgi?id=60435 * ewk/ewk_frame.cpp: 2011-06-13 Raphael Kubo da Costa Reviewed by Kenneth Rohde Christiansen. [efl] Disable tiled backing store debug messages by default. https://bugs.webkit.org/show_bug.cgi?id=61745 These messages pollute the output and are only useful to people working on TBS itself. It makes more sense to have them disabled by default. * ewk/ewk_tiled_backing_store.h: 2011-06-13 KwangHyuk Kim Reviewed by Kenneth Rohde Christiansen. [EFL] change of cairo_format_t corresponding to EVAS_COLORSPACE_ARGB8888 color space https://bugs.webkit.org/show_bug.cgi?id=62448 Use CAIRO_FORMAT_ARGB32 for EWK as pixman does not support the fast path for converting from ARGB32 to AGB24 when using source over operation in combination with a bilinear filter * ewk/ewk_tiled_model.c: (ewk_tile_new): * ewk/ewk_view_single.c: (_ewk_view_single_smart_repaints_process): 2011-06-12 Adam Barth Reviewed by Alexey Proskuryakov. Rename FrameLoaderClient::interruptForPolicyChangeError to use the past tense https://bugs.webkit.org/show_bug.cgi?id=62516 * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::interruptedForPolicyChangeError): * WebCoreSupport/FrameLoaderClientEfl.h: 2011-06-10 KwangHyuk Kim Reviewed by Kenneth Rohde Christiansen. [EFL]add image content hint information for tile image object when it is created https://bugs.webkit.org/show_bug.cgi?id=62436 When application is using opengl_x11 Ecore_Evas, it can be working as gl texture. In order to support this enhanced feature, image content hint information must be specified as EVAS_IMAGE_CONTENT_HINT_DYNAMIC * ewk/ewk_tiled_model.c: (ewk_tile_new): 2011-06-10 Grzegorz Czajkowski Reviewed by Kenneth Rohde Christiansen. [EFL] Repaint throttling API. https://bugs.webkit.org/show_bug.cgi?id=56178 The API allows to set the values for repaint throttling. It should ensure displaying a content with many css/gif animations. * ewk/ewk_settings.cpp: (ewk_settings_repaint_throttling_set): * ewk/ewk_settings.h: 2011-06-10 Gyuyoung Kim Reviewed by Kent Tamura. [EFL] Use makeString() when getting os version https://bugs.webkit.org/show_bug.cgi?id=62434 When os version string is created, to use makeString() is better than String operation. * ewk/ewk_settings.cpp: (_ewk_settings_webkit_os_version_get): 2011-06-09 Hyowon Kim Reviewed by Antonio Gomes. [EFL] Make accelerated compositing build in Webkit-EFL https://bugs.webkit.org/show_bug.cgi?id=62361 Add functions for accelerated compositing to ChromeClientEfl. * WebCoreSupport/ChromeClientEfl.cpp: (WebCore::ChromeClientEfl::attachRootGraphicsLayer): (WebCore::ChromeClientEfl::setNeedsOneShotDrawingSynchronization): (WebCore::ChromeClientEfl::scheduleCompositingLayerSync): (WebCore::ChromeClientEfl::allowedCompositingTriggers): * WebCoreSupport/ChromeClientEfl.h: 2011-05-30 Raphael Kubo da Costa Reviewed by Brent Fulgham. [efl] Do not enable the encoding detector by default. https://bugs.webkit.org/show_bug.cgi?id=61744 This should match the behaviour of other ports more closely, and makes at least dom/xhtml/level3/core/documentgetinputencoding01.xhtml pass. * ewk/ewk_view.cpp: (_ewk_view_priv_new): 2011-06-08 Jaehun Lim Reviewed by Antonio Gomes. [EFL] Implements "undo" command execution https://bugs.webkit.org/show_bug.cgi?id=62201 Supports to execute "Undo" command. * WebCoreSupport/EditorClientEfl.cpp: (WebCore::EditorClientEfl::registerCommandForUndo): (WebCore::EditorClientEfl::clearUndoRedoOperations): (WebCore::EditorClientEfl::canUndo): (WebCore::EditorClientEfl::undo): * WebCoreSupport/EditorClientEfl.h: 2011-06-08 Eunmi Lee Reviewed by Antonio Gomes. [EFL] remove adjusting codes for zoom's center coordinate https://bugs.webkit.org/show_bug.cgi?id=62266 It is possible that the application developers don't want to limit zoom's center coordinate to the viewport for implementing some effects and center coordinate out of the viewport does not affect to the zoom operation. So, It is better to leave zoom's center coordinate freely. * ewk/ewk_view.cpp: (ewk_view_zoom_set): (ewk_view_zoom_weak_set): 2011-06-07 Ryuan Choi Reviewed by Antonio Gomes. [EFL] Remove JSC dependency from WebKit/efl https://bugs.webkit.org/show_bug.cgi?id=62173 Change JSC::initializeThreading() and WTF::initializeMainThread() to WebCore::ScriptController::initializeThreading() which contains these functions and remove JSC dependency to build webkit/efl with v8. * ewk/ewk_main.cpp: (_ewk_init_body): 2011-06-06 Gyuyoung Kim Unreviewed build fix. * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::startDownload): Change prettyURL() with string(). 2011-06-06 Gyuyoung Kim Reviewed by Antonio Gomes. [EFL] Implement startDownload() in FrameLoaderClientEfl https://bugs.webkit.org/show_bug.cgi?id=61998 Implement startDownload() with download(). * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::startDownload): 2011-06-03 Sheriff Bot Unreviewed, rolling out r88014. http://trac.webkit.org/changeset/88014 https://bugs.webkit.org/show_bug.cgi?id=62017 Broken EFL build (Requested by tonikitoo on #webkit). * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::startDownload): 2011-06-03 Gyuyoung Kim Reviewed by Antonio Gomes. [EFL] Implement startDownload() in FrameLoaderClientEfl https://bugs.webkit.org/show_bug.cgi?id=61998 Implement startDownload() with download(). * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::startDownload): 2011-06-02 Gyuyoung Kim Reviewed by Kenneth Rohde Christiansen. [EFL] Implement hasWebView() in FrameLoaderClientEfl https://bugs.webkit.org/show_bug.cgi?id=61905 * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::hasWebView): Implement hasWebView() function. 2011-06-02 Ryuan Choi Reviewed by Kenneth Rohde Christiansen. [EFL] No need to invalidate empty areas in ChromeClientEfl::invalidateContentsAndWindow https://bugs.webkit.org/show_bug.cgi?id=61902 Just return to reduce unnecessary calls when invalidateContentsAndWindow received empty area. * WebCoreSupport/ChromeClientEfl.cpp: (WebCore::ChromeClientEfl::invalidateContentsAndWindow): 2011-06-01 Gyuyoung Kim Reviewed by Kent Tamura. [EFL] Add null checking condition to EditorClientEfl.cpp https://bugs.webkit.org/show_bug.cgi?id=61846 Add null checking condition for using settings() of frame. * WebCoreSupport/EditorClientEfl.cpp: (WebCore::EditorClientEfl::handleEditingKeyboardEvent): 2011-05-31 Raphael Kubo da Costa Reviewed by Adam Barth. [efl] Add ewk API to enable/disable developer extras. https://bugs.webkit.org/show_bug.cgi?id=61746 Add ewk_view_setting_enable_developer_extras_{get,set}, which is used to enable or disable developer extras (currently, the Web Inspector) in a given view. * ewk/ewk_view.cpp: (_ewk_view_priv_new): (ewk_view_setting_enable_developer_extras_get): (ewk_view_setting_enable_developer_extras_set): * ewk/ewk_view.h: 2011-05-30 Raphael Kubo da Costa Reviewed by Kent Tamura. [efl] Fix _ewk_frame_children_iterator_next(). https://bugs.webkit.org/show_bug.cgi?id=61749 The iterator was returning always the first child, making tests like fast/history/history-back-initial-vs-final-url.html to timeout and eventually run out of memory. * ewk/ewk_frame.cpp: (_ewk_frame_children_iterator_next): (ewk_frame_children_iterator_new): 2011-05-28 Adam Barth Reviewed by Alexey Proskuryakov. Audit all uses of KURL::prettyURL https://bugs.webkit.org/show_bug.cgi?id=61201 Update callers of prettyURL to just call string. * WebCoreSupport/ChromeClientEfl.cpp: (WebCore::ChromeClientEfl::mouseDidMoveOverElement): * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::dispatchWillSendRequest): (WebCore::FrameLoaderClientEfl::assignIdentifierToInitialRequest): (WebCore::FrameLoaderClientEfl::dispatchDecidePolicyForNavigationAction): (WebCore::FrameLoaderClientEfl::download): (WebCore::FrameLoaderClientEfl::cancelledError): (WebCore::FrameLoaderClientEfl::blockedError): * ewk/ewk_frame.cpp: (ewk_frame_hit_test_new): (ewk_frame_uri_changed): * ewk/ewk_view.cpp: (_ewk_view_priv_new): (ewk_view_frame_create): (ewk_view_plugin_create): 2011-05-16 Jon Lee Reviewed by Simon Fraser. Can't horizontally scroll iframes and overflow because wheel events are always accepted https://bugs.webkit.org/show_bug.cgi?id=60779 * WebCoreSupport/ChromeClientEfl.h: (WebCore::ChromeClientEfl::shouldRubberBandInDirection): Default impl of new ChromeClient method (WebCore::ChromeClientEfl::numWheelEventHandlersChanged): Default impl of new ChromeClient method 2011-05-16 Grzegorz Czajkowski Reviewed by Antonio Gomes. [EFL] Remove EAPI macro from functions definition https://bugs.webkit.org/show_bug.cgi?id=60754 This macro should be used in header files only. It's not necessary to have it in definitions. * 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_window_features.cpp: (ewk_window_features_unref): (ewk_window_features_ref): (ewk_window_features_bool_property_get): (ewk_window_features_int_property_get): 2011-05-13 Gyuyoung Kim Unreviewed. Fix style error. * ewk/ewk_history.cpp: 2011-05-13 Gyuyoung Kim Reviewed by Kenneth Rohde Christiansen. [EFL] Move ewk_view_dpi_get() to ewk_util.cpp https://bugs.webkit.org/show_bug.cgi?id=60753 Move ewk_view_dpi_get() to ewk_util.cpp * ewk/ewk_private.h: * ewk/ewk_util.cpp: (ewk_util_dpi_get): * ewk/ewk_view.cpp: (_ewk_view_viewport_attributes_compute): 2011-05-11 Gyuyoung Kim Reviewed by Antonio Gomes. [EFL] Remove fixed_layout structure in ewk_view https://bugs.webkit.org/show_bug.cgi?id=60615 Remove unnecessary fixed_layout structure. The ewk_view_fixed_layout_size_set/get() use WebCore's functions directly. * ewk/ewk_view.cpp: (ewk_view_fixed_layout_size_set): (ewk_view_fixed_layout_size_get): 2011-05-11 Tomasz Morawski Rubber-stamped by Daniel Bates. Added missing DATABASE macro https://bugs.webkit.org/show_bug.cgi?id=60437 * ewk/ewk_settings.cpp: (ewk_settings_web_database_default_quota_get): 2011-05-08 Kamil Blank Reviewed by Antonio Gomes. Added new commands to be called by ewk_view_editor_command. Due to this change ewk_view_select_* functions have been removed. https://bugs.webkit.org/show_bug.cgi?id=60435 * ewk/ewk_view.cpp: (ewk_view_execute_editor_command): * ewk/ewk_view.h: 2011-05-07 Tomasz Morawski Reviewed by Daniel Bates. [EFL] Remove ewk_tile_unused_cache_free function from public API https://bugs.webkit.org/show_bug.cgi?id=60151 The ewk_tile_unused_cache_free function should be only called by ewk_tile_unused_cache_unref function. Calling this function without considering reference counting may lead to fatal results. * ewk/ewk_tiled_model.c: (_ewk_tile_unused_cache_free): (ewk_tile_unused_cache_unref): * ewk/ewk_tiled_model.h: 2011-05-05 Ryosuke Niwa Reviewed by Eric Seidel. Rename SelectionController to FrameSelection https://bugs.webkit.org/show_bug.cgi?id=60234 * WebCoreSupport/EditorClientEfl.cpp: (WebCore::EditorClientEfl::handleEditingKeyboardEvent): 2011-05-04 Cris Neckar Reviewed by Adam Barth. Expose WebView directly through ChromeClient. https://bugs.webkit.org/show_bug.cgi?id=49902 * WebCoreSupport/ChromeClientEfl.h: (WebCore::ChromeClientEfl::webView): 2011-05-04 Tomasz Morawski Reviewed by Kenneth Rohde Christiansen. [EFL] Added error check for _ewk_init_body result. https://bugs.webkit.org/show_bug.cgi?id=60149 The ewk_init function should be failed when _ewk_init_body function return false. * ewk/ewk_main.cpp: (ewk_init): 2011-05-04 Tao Bai Reviewed by David Kilzer. Populate touch-icon url to FrameLoaderClient https://bugs.webkit.org/show_bug.cgi?id=59143 Respect the interface change in FrameLoaderClient * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::dispatchDidChangeIcons): * WebCoreSupport/FrameLoaderClientEfl.h: 2011-05-04 Gyuyoung Kim Reviewed by Kenneth Rohde Christiansen. [EFL] Initialize viewport argument in ewk_view.cpp https://bugs.webkit.org/show_bug.cgi?id=60147 viewport computation logic can't be worked correctly because viewport argument isn't initialized. So, we need to initialize viewport argument. * ewk/ewk_view.cpp: (_ewk_view_priv_new): 2011-05-03 Leandro Pereira [EFL] Unreviewed build fix for NETWORK_BACKEND=curl. Force linking with zlib so that uncompress() exists. * CMakeListsEfl.txt: Append zlib libraries. 2011-05-02 Gyuyoung Kim Unreviewed. Style error fix. * WebCoreSupport/ChromeClientEfl.cpp: 2011-04-28 Kamil Blank Reviewed by Antonio Gomes. New API for executing Editor Commands: InsertText, InsertImage. https://bugs.webkit.org/show_bug.cgi?id=54439 * ewk/ewk_view.cpp: (_ewk_view_editor_command): Added value parameter. (ewk_view_execute_editor_command): Added. * ewk/ewk_view.h: New API added. 2011-04-26 Grzegorz Czajkowski Reviewed by Antonio Gomes. [EFL] Update signals description https://bugs.webkit.org/show_bug.cgi?id=56904 Add, fix signals description that are emitted by evas_object_smart_callcabck_call in ewk_view, ewk_frame, ewk_contextmenu. * ewk/ewk_contextmenu.h: * ewk/ewk_frame.h: * ewk/ewk_view.h: 2011-04-25 Ryuan Choi Reviewed by Antonio Gomes. [EFL] Remove ewk_eapi.h https://bugs.webkit.org/show_bug.cgi?id=59091 * ewk/EWebKit.h: * ewk/ewk_contextmenu.h: * ewk/ewk_cookies.h: * ewk/ewk_eapi.h: Removed. * ewk/ewk_frame.h: * ewk/ewk_history.h: * ewk/ewk_main.h: * ewk/ewk_settings.h: * ewk/ewk_tiled_matrix.h: * ewk/ewk_tiled_model.h: * ewk/ewk_window_features.h: 2011-04-21 Ryosuke Niwa Reviewed by Sam Weinig. Add Frame* to the argument lists of canCopyCut and canPaste https://bugs.webkit.org/show_bug.cgi?id=59153 * WebCoreSupport/EditorClientEfl.cpp: (WebCore::EditorClientEfl::canCopyCut): (WebCore::EditorClientEfl::canPaste): * WebCoreSupport/EditorClientEfl.h: 2011-04-19 Vsevolod Vlasov Reviewed by Pavel Feldman. Web Inspector: Rename lengthReceived to encodedDataLength/dataLength https://bugs.webkit.org/show_bug.cgi?id=58883 * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::dispatchDidReceiveContentLength): * WebCoreSupport/FrameLoaderClientEfl.h: 2011-04-18 Sheriff Bot Unreviewed, rolling out r84155. http://trac.webkit.org/changeset/84155 https://bugs.webkit.org/show_bug.cgi?id=58802 "paintEntireContents flag is used for painting outside of the screen. It's not the right way to fix EFL tiled backing store." (Requested by demarchi on #webkit). * ewk/ewk_view_tiled.c: (_ewk_view_tiled_smart_add): 2011-04-18 Eunsol Park Reviewed by Eric Seidel. [EFL] Scroll doesn't work on tiled backing store https://bugs.webkit.org/show_bug.cgi?id=55021 Scroll doesn't work on tiled backing store, but it works on single. If ewk_frame_paint_full_set() set True, view size return content size and scroll can't be made. so, ewk_frame_paint_full_set() is removed from ewk_tiled_smart_add(). * ewk/ewk_view_tiled.c: (_ewk_view_tiled_smart_add): 2011-04-14 Grzegorz Czajkowski Reviewed by Antonio Gomes. Memory cache API https://bugs.webkit.org/show_bug.cgi?id=58016 * ewk/ewk_settings.cpp: (ewk_settings_cache_enable_get): (ewk_settings_cache_enable_set): (ewk_settings_cache_capacity_set): * ewk/ewk_settings.h: 2011-04-13 Grzegorz Czajkowski Reviewed by Kent Tamura. [EFL] Doxygen documentation for ewk_main, ewk_history and tools https://bugs.webkit.org/show_bug.cgi?id=58428 * ewk/EWebKit.h: * ewk/ewk_eapi.h: * ewk/ewk_history.h: * ewk/ewk_logging.h: * ewk/ewk_main.cpp: * ewk/ewk_main.h: * ewk/ewk_private.h: * ewk/ewk_util.cpp: * ewk/ewk_util.h: 2011-04-11 Gyuyoung Kim Reviewed by Kenneth Rohde Christiansen. [EFL] Adjust dpi value to viewport computation. https://bugs.webkit.org/show_bug.cgi?id=58130 In viewport computation, EFL port have used 160 value for DPI since now. But, we have to use device's dpi value for viewport meta tag computation. * ewk/ewk_view.cpp: (_ewk_view_viewport_attributes_compute): 2011-04-10 Gyuyoung Kim Reviewed by Eric Carlson. [EFL] Add seek forward / backward buttons to MediaControl UI. https://bugs.webkit.org/show_bug.cgi?id=56810 Add seek forward / backward buttons to media control. * DefaultTheme/default.edc: * DefaultTheme/widget/mediacontrol/seekbackwardbutton/seekbackward_button.edc: Added. * DefaultTheme/widget/mediacontrol/seekbackwardbutton/seekbackwardbutton.png: Added. * DefaultTheme/widget/mediacontrol/seekforwardbutton/seekforward_button.edc: Added. * DefaultTheme/widget/mediacontrol/seekforwardbutton/seekforwardbutton.png: Added. 2011-04-04 MORITA Hajime Reviewed by Ryosuke Niwa. [Refactoring] SpellCheckingResult should be replaced with TextCheckingResult https://bugs.webkit.org/show_bug.cgi?id=56085 * WebCoreSupport/EditorClientEfl.h: (WebCore::EditorClientEfl::requestCheckingOfString): 2011-04-01 Grzegorz Czajkowski Reviewed by Kenneth Rohde Christiansen. [EFL] Synchronization between WebCore's ContextMenuItem.h and ewk_contextmenu.h https://bugs.webkit.org/show_bug.cgi?id=57000 * ewk/ewk_contextmenu.h: 2011-03-31 Evan Martin Reviewed by Eric Seidel. should support dir attribute https://bugs.webkit.org/show_bug.cgi?id=50961 Update to new FrameLoaderClient interface. * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::dispatchDidReceiveTitle): (WebCore::FrameLoaderClientEfl::setTitle): * WebCoreSupport/FrameLoaderClientEfl.h: 2011-03-29 Gyuyoung Kim <gyuyoung.kim@samsung.com> 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 <paroga@webkit.org> 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 <paroga@webkit.org> 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 <aestes@apple.com> 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 <gyuyoung.kim@samsung.com> 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 <webkit.review.bot@gmail.com> 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 <aestes@apple.com> 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 <beidson@apple.com> 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 <gyuyoung.kim@samsung.com> 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 <gyuyoung.kim@samsung.com> 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 <g.czajkowski@samsung.com> 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 <beidson@apple.com> 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 <joepeck@webkit.org> 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 <beidson@apple.com> 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 <beidson@apple.com> 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 <ryuan.choi@samsung.com> 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 <ryuan.choi@samsung.com> 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 <ryuan.choi@samsung.com> 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 <g.czajkowski@samsung.com> 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 <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/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::dispatchDecidePolicyForResponse): * WebCoreSupport/FrameLoaderClientEfl.h: 2011-03-04 Grzegorz Czajkowski <g.czajkowski@samsung.com> 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 <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 * 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 <ap@apple.com> 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 <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/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 <joepeck@webkit.org> 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 <joepeck@webkit.org> 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 <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. * WebCoreSupport/EditorClientEfl.cpp: * WebCoreSupport/EditorClientEfl.h: 2011-02-27 Gyuyoung Kim <gyuyoung.kim@samsung.com> 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 <gyuyoung.kim@samsung.com> 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 <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 * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::composeUserAgent): * ewk/ewk_settings.cpp: (ewk_settings_default_user_agent_get): 2011-02-23 Patrick Gansterer <paroga@webkit.org> 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 <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 * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::composeUserAgent): * ewk/ewk_settings.cpp: (ewk_settings_default_user_agent_get): 2011-02-21 Lukasz Slachciak <l.slachciak@samsung.com> 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 <gyuyoung.kim@samsung.com> 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 <l.slachciak@samsung.com> 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 <l.slachciak@samsung.com> 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 <l.slachciak@samsung.com> 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 <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/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::shouldStopLoadingForHistoryItem): Added. * WebCoreSupport/FrameLoaderClientEfl.h: 2011-02-18 Gyuyoung Kim <gyuyoung.kim@samsung.com> 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 <gyuyoung.kim@samsung.com> 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 <gyuyoung.kim@samsung.com> 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 <paroga@webkit.org> Unreviewed build fix after r78634 and r78786. * CMakeListsEfl.txt: 2011-02-17 Ryuan Choi <ryuan.choi@samsung.com> 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 <g.czajkowski@samsung.com> 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 <gyuyoung.kim@samsung.com> 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 <morrita@google.com> 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 <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/EditorClientEfl.cpp: (WebCore::EditorClientEfl::canCopyCut): Added. (WebCore::EditorClientEfl::canPaste): Added. * WebCoreSupport/EditorClientEfl.h: 2011-02-08 Adam Barth <abarth@webkit.org> 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 <lucas.demarchi@profusion.mobi> Unreviewed build fix. [EFL] Fix when building with curl backend. * ewk/ewk_settings.cpp: (ewk_settings_proxy_uri_get): 2011-02-07 Enrica Casucci <enrica@apple.com> 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 <paroga@webkit.org> 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 <agl@chromium.org> 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 <gyuyoung.kim@samsung.com> 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 <danw@gnome.org> 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 <mitz@apple.com> Reviewed by Sam Weinig. <select> can't display right-to-left (rtl) languages https://bugs.webkit.org/show_bug.cgi?id=19785 * WebCoreSupport/ChromeClientEfl.cpp: (WebCore::ChromeClientEfl::selectItemAlignmentFollowsMenuWritingDirection): Added. * WebCoreSupport/ChromeClientEfl.h: 2011-01-27 Nate Chapin <japhet@chromium.org> Reviewed by Adam Barth. Use Document::url() instead of FrameLoader::url(). https://bugs.webkit.org/show_bug.cgi?id=41165 * ewk/ewk_frame.cpp: (ewk_frame_uri_changed): 2011-01-14 Patrick Gansterer <paroga@webkit.org> Unreviewed. Try to fix EFL build. * ewk/ewk_frame.cpp: (ewk_frame_scroll_add): Added WebCore namespace to IntSize. * ewk/ewk_view.cpp: (_ewk_view_viewport_attributes_compute): Ditto. 2011-01-14 Tony Gentilcore <tonyg@chromium.org> Unreviewed build fix. Fix Qt build after r75837 https://bugs.webkit.org/show_bug.cgi?id=52494 * ewk/ewk_view.cpp: 2011-01-09 Xianzhu Wang <phnixwxz@gmail.com> Reviewed by Darin Fisher. https://bugs.webkit.org/show_bug.cgi?id=41441 createWindow method should only do window-creating without URL navigation * WebCoreSupport/ChromeClientEfl.cpp: (WebCore::ChromeClientEfl::createWindow): 2010-12-27 Rafael Antognolli <antognolli@profusion.mobi> Reviewed by Kenneth Rohde Christiansen. [EFL] Set the frame smart object base clipper to non-static. https://bugs.webkit.org/show_bug.cgi?id=51552 The base clipper of the clipped smart object, which is the parent class of the ewk_frame class is a static clipper. It's normally only used for showing/hiding the object, but in the case of the ewk_frame, it needs to clip the object to its dimension, in order to clip scrollbars of inner frames. Setting it to non-static makes the clipper to be automatically moved by the parent class, thus staying on the correct position when the frame is moved. This change needed to be done after the adoption of the static clipper on the clipped smart base class. * ewk/ewk_frame.cpp: (_ewk_frame_smart_add): 2010-12-24 Ryuan Choi <ryuan.choi@samsung.com> Reviewed by Kenneth Rohde Christiansen. [EFL] Add option to enable Touch Events. https://bugs.webkit.org/show_bug.cgi?id=49125 Implement ewk_frame_feed_touch_event to feed touch events. Because EFL doesn't have touch events, Application should generate and pass it. * WebCoreSupport/ChromeClientEfl.h: (WebCore::ChromeClientEfl::needTouchEvents): * ewk/ewk_frame.cpp: (ewk_frame_feed_touch_event): * ewk/ewk_frame.h: 2010-12-22 Sam Weinig <sam@webkit.org> Reviewed by Darin Adler. WebKit2 needs to mirror the frame tree in the UIProcess https://bugs.webkit.org/show_bug.cgi?id=51546 - Add client functions to notify that a frame has been added or removed from the page cache. * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::didSaveToPageCache): (WebCore::FrameLoaderClientEfl::didRestoreFromPageCache): * WebCoreSupport/FrameLoaderClientEfl.h: 2010-12-22 Ryosuke Niwa <rniwa@webkit.org> Reviewed by Eric Seidel. Editor.h doesn't need to include SelectionController.h https://bugs.webkit.org/show_bug.cgi?id=51441 Renamed SelectionController::EDirection to SelectionDirection. * WebCoreSupport/EditorClientEfl.cpp: (WebCore::EditorClientEfl::handleEditingKeyboardEvent): 2010-12-23 Lucas De Marchi <lucas.demarchi@profusion.mobi> Reviewed by Kenneth Rohde Christiansen. [EFL] Fix ContextMenu removal https://bugs.webkit.org/show_bug.cgi?id=51530 Fix ContextMenu removal In r74207 the support for ContextMenu was removed from EFL while the code is being ported to the new CROSS_PLATFORM_MENUS due to build breakage. However there were some missing removals in the shutdown logic that introduced a bug, leading to a segmentation fault when ContexController was destroyed. The best way to effectively disable the ContextMenu is to conditionally compile the meaningful stuff by surrounding with "#if ENABLE(CONTEXT_MENUS)" and then disabling it in CMake. * ewk/ewk_contextmenu.cpp: surround need parts with #if ENABLE(CONTEXT_MENUS). (ewk_context_menu_destroy): ditto. (ewk_context_menu_item_select): ditto. * ewk/ewk_private.h: ditto. * ewk/ewk_view.cpp: ditto. 2010-12-23 Lucas De Marchi <lucas.demarchi@profusion.mobi> Reviewed by Kenneth Rohde Christiansen. [EFL] Clean warnings in Tiled Backing Store https://bugs.webkit.org/show_bug.cgi?id=51529 Tiled backing store in EFL was giving the following warnings that are gone now: - Static function defined but not used; - Comparison between signed and unsigned integer expressions; * ewk/ewk_tiled_backing_store.c: (_ewk_tiled_backing_store_item_fill): (_ewk_tiled_backing_store_smart_calculate): * ewk/ewk_tiled_matrix.c: (_ewk_tile_matrix_slicer_setup): 2010-12-23 Gyuyoung Kim <gyuyoung.kim@samsung.com> Unreviewed build warning fix. [EFL] Remove warning messages during the webkit efl compiling https://bugs.webkit.org/show_bug.cgi?id=51520 Remove build warning messages. * ewk/ewk_view.cpp: (_ewk_view_smart_show): (_ewk_view_smart_hide): * ewk/ewk_view.h: 2010-12-22 Gyuyoung Kim <gyuyoung.kim@samsung.com> Reviewed by Antonio Gomes. [EFL] Sets default user agent https://bugs.webkit.org/show_bug.cgi?id=47903 If applcation(e.g EWebLauncher) doesn't set user agent, WebKit EFL doesn't set user agent. However, we need to set user agent by default. Because, some web sites send different pages according to user agent. * ewk/ewk_private.h: * ewk/ewk_settings.cpp: (_ewk_settings_webkit_platform): (_ewk_settings_webkit_os_version): (ewk_settings_default_user_agent_get): * ewk/ewk_view.cpp: (_ewk_view_priv_new): 2010-12-16 Leandro Pereira <leandro@profusion.mobi> [EFL] Unreviewed build fix. Disable ContextMenu support for now while support for CROSS_PLATFORM_MENUS is written. * CMakeListsEfl.txt: * WebCoreSupport/ContextMenuClientEfl.cpp: Removed. * WebCoreSupport/ContextMenuClientEfl.h: Removed. * ewk/ewk_contextmenu.cpp: (ewk_context_menu_item_append): * ewk/ewk_view.cpp: (_ewk_view_priv_new): 2010-12-13 Alex Bredariol Grilo <abgrilo@profusion.mobi> Reviewed by Andreas Kling. Remove adjacent tiles rendering queue. https://bugs.webkit.org/show_bug.cgi?id=50023 In the current implementation of the tiled backing store, one extra row and column of tiles are needed to render the entire viewport. These extra row/col proved to be expensive when being rendered, and were postponed to a queue that would render them after rendering the other tiles of the viewport first. This approach complicated unnecessarily the logics with no gain for keeping the extra row and column. This change removes this rendering queue, for later removing the extra row and column of tiles. * ewk/ewk_tiled_backing_store.c: (_ewk_tiled_backing_store_pre_render_request_add): (_ewk_tiled_backing_store_pre_render_request_flush): (_ewk_tiled_backing_store_pre_render_request_clear): (_ewk_tiled_backing_store_pre_render_request_process_single): (_ewk_tiled_backing_store_item_fill): (_ewk_tiled_backing_store_item_add): (_ewk_tiled_backing_store_item_del): (_ewk_tiled_backing_store_recalc_renderers): (ewk_tiled_backing_store_pre_render_region): (ewk_tiled_backing_store_pre_render_relative_radius): (ewk_tiled_backing_store_pre_render_cancel): 2010-12-13 Alex Bredariol Grilo <abgrilo@profusion.mobi> Reviewed by Andreas Kling. Remove one row/column of renderers. https://bugs.webkit.org/show_bug.cgi?id=50456 This changes the algorithm in a way that it will require one less column and row of renderers to fill the viewport. The direct result of this is that now less tiles need to be rendered at once when displaying the viewport. * ewk/ewk_tiled_backing_store.c: (_ewk_tiled_backing_store_smart_add): (_ewk_tiled_backing_store_recalc_renderers): (_ewk_tiled_backing_store_view_wrap_up): (_ewk_tiled_backing_store_view_wrap_down): (_ewk_tiled_backing_store_view_wrap_left): (_ewk_tiled_backing_store_view_wrap_right): (_ewk_tiled_backing_store_smart_calculate_offset_force): (_ewk_tiled_backing_store_smart_calculate_offset): (_ewk_tiled_backing_store_smart_calculate): (_ewk_tiled_backing_store_zoom_set_internal): (ewk_tiled_backing_store_zoom_weak_set): (ewk_tiled_backing_store_fix_offsets): (ewk_tiled_backing_store_flush): 2010-10-28 MORITA Hajime <morrita@google.com> Reviewed by Ojan Vafai. spellcheck does not check pasted text https://bugs.webkit.org/show_bug.cgi?id=40092 Added a stub implememntation. * WebCoreSupport/EditorClientEfl.h: (WebCore::EditorClientEfl::requestCheckingOfString): 2010-12-09 Alex Bredariol Grilo <abgrilo@profusion.mobi> Reviewed by Antonio Gomes. [EFL] Add missing function in WebKit-EFL API Add ewk_tiled_backing_store_zoom_weak_smooth_scale_set function in WebKit-EFL API. This function was already implemented but missing in header file. * ewk/ewk_tiled_backing_store.h: 2010-12-09 Alex Bredariol Grilo <abgrilo@profusion.mobi> Reviewed by Antonio Gomes. [EFL] Fix scroll operation in WebKit-EFL https://bugs.webkit.org/show_bug.cgi?id=50752 Add the _ewk_view_scroll_add call in WebKit-EFL scroll function. This call was wrongly removed in previous commit and performs the scroll operation on the page. * ewk/ewk_view.cpp: (ewk_view_scroll): 2010-12-03 Alex Bredariol Grilo <abgrilo@profusion.mobi> Reviewed by Andreas Kling. Update usage of Eina_Iterator due to EFL changes. https://bugs.webkit.org/show_bug.cgi?id=50457 * ewk/ewk_tiled_model.c: (ewk_tile_updates_process): 2010-12-01 Jia Pu <jpu@apple.com> Reviewed by Darin Adler. Support multiple correction candidates panel for misspelled word on Mac OS X. https://bugs.webkit.org/show_bug.cgi?id=50137 <rdar://problem/8568059> Adopted new function signature defined in base class. * WebCoreSupport/EditorClientEfl.cpp: (WebCore::EditorClientEfl::getGuessesForWord): * WebCoreSupport/EditorClientEfl.h: 2010-11-22 Alex Grilo <abgrilo@profusion.mobi> Reviewed by Kenneth Rohde Christiansen. [EFL] Tiled Backing Store for Webkit-Efl https://bugs.webkit.org/show_bug.cgi?id=45397 This tile based backing store is a grid of tiles where each tile is an Evas_Object showing a piece of the page content. The new ewk_view_tiled.c is an implementation of some of the functions of the original ewk_view, that makes calls to the Tiled Backing Store specific functions. The rendering occurs in the pixels stored in each tile (Evas_Object), in the same way as the previous single backing store. Tiles not being shown in the viewport are stored in a cache, and can be reused later to avoid having to be rendered again. Scrolling occurs as just moving the tiles, using Evas move operations, and when more than one tile size is scrolled, a shift of rows or columns needs to be done. * CMakeListsEfl.txt: * ewk/ewk_tiled_backing_store.c: Added. (_ewk_tiled_backing_store_updates_process): (_ewk_tiled_backing_store_flush): (_ewk_tiled_backing_store_tile_new): (_ewk_tiled_backing_store_item_move): (_ewk_tiled_backing_store_item_resize): (_ewk_tiled_backing_store_tile_associate): (_ewk_tiled_backing_store_tile_dissociate): (_ewk_tiled_backing_store_tile_dissociate_all): (_ewk_tiled_backing_store_pre_render_request_add): (_ewk_tiled_backing_store_pre_render_request_del): (_ewk_tiled_backing_store_pre_render_request_first): (_ewk_tiled_backing_store_pre_render_request_flush): (_ewk_tiled_backing_store_pre_render_request_remove_unassociated): (_ewk_tiled_backing_store_pre_render_request_remove_associated): (_ewk_tiled_backing_store_pre_render_request_process_single): (_ewk_tiled_backing_store_item_process_idler_cb): (_ewk_tiled_backing_store_item_process_idler_stop): (_ewk_tiled_backing_store_item_process_idler_start): (_ewk_tiled_backing_store_item_request_del): (_ewk_tiled_backing_store_item_request_add): (_ewk_tiled_backing_store_disable_render): (_ewk_tiled_backing_store_enable_render): (_ewk_tiled_backing_store_visible_tiles_rect): (_ewk_tiled_backing_store_tile_is_inside_viewport): (_ewk_tiled_backing_store_tile_is_adjacent_to_viewport): (_ewk_tiled_backing_store_item_fill): (_ewk_tiled_backing_store_item_add): (_ewk_tiled_backing_store_item_del): (_ewk_tiled_backing_store_item_smooth_scale_set): (_ewk_tiled_backing_store_changed): (_ewk_tiled_backing_store_view_cols_end_del): (_ewk_tiled_backing_store_view_cols_end_add): (_ewk_tiled_backing_store_view_row_del): (_ewk_tiled_backing_store_view_rows_range_del): (_ewk_tiled_backing_store_view_rows_all_del): (_ewk_tiled_backing_store_render): (_ewk_tiled_backing_store_model_matrix_create): (_ewk_tiled_backing_store_smart_member_del): (_ewk_tiled_backing_store_smart_member_add): (_ewk_tiled_backing_store_mem_dbg): (_ewk_tiled_backing_store_sig_usr): (_ewk_tiled_backing_store_smart_add): (_ewk_tiled_backing_store_smart_del): (_ewk_tiled_backing_store_smart_move): (_ewk_tiled_backing_store_smart_resize): (_ewk_tiled_backing_store_recalc_renderers): (_ewk_tiled_backing_store_smart_calculate_size): (_ewk_tiled_backing_store_view_dbg): (_ewk_tiled_backing_store_view_wrap_up): (_ewk_tiled_backing_store_view_wrap_down): (_ewk_tiled_backing_store_view_wrap_left): (_ewk_tiled_backing_store_view_wrap_right): (_ewk_tiled_backing_store_view_refill): (_ewk_tiled_backing_store_view_pos_apply): (_ewk_tiled_backing_store_smart_calculate_offset_force): (_ewk_tiled_backing_store_smart_calculate_offset): (_ewk_tiled_backing_store_smart_calculate_pos): (_ewk_tiled_backing_store_fill_renderers): (_ewk_tiled_backing_store_smart_calculate): (ewk_tiled_backing_store_add): (ewk_tiled_backing_store_render_cb_set): (ewk_tiled_backing_store_tile_unused_cache_get): (ewk_tiled_backing_store_tile_unused_cache_set): (_ewk_tiled_backing_store_scroll_full_offset_set_internal): (ewk_tiled_backing_store_scroll_full_offset_set): (ewk_tiled_backing_store_scroll_full_offset_add): (_ewk_tiled_backing_store_zoom_set_internal): (ewk_tiled_backing_store_zoom_set): (ewk_tiled_backing_store_zoom_weak_set): (ewk_tiled_backing_store_fix_offsets): (ewk_tiled_backing_store_zoom_weak_smooth_scale_set): (ewk_tiled_backing_store_update): (ewk_tiled_backing_store_updates_process_pre_set): (ewk_tiled_backing_store_updates_process_post_set): (ewk_tiled_backing_store_updates_process): (ewk_tiled_backing_store_updates_clear): (ewk_tiled_backing_store_contents_resize): (ewk_tiled_backing_store_disabled_update_set): (ewk_tiled_backing_store_flush): (ewk_tiled_backing_store_pre_render_region): (ewk_tiled_backing_store_pre_render_relative_radius): (ewk_tiled_backing_store_pre_render_cancel): (ewk_tiled_backing_store_disable_render): (ewk_tiled_backing_store_enable_render): (ewk_tiled_backing_store_process_entire_queue_set): * ewk/ewk_tiled_backing_store.h: Added. * ewk/ewk_tiled_matrix.c: Added. (_ewk_tile_matrix_cell_free): (_ewk_tile_matrix_tile_free): (ewk_tile_matrix_new): (ewk_tile_matrix_free): (ewk_tile_matrix_resize): (ewk_tile_matrix_unused_cache_get): (ewk_tile_matrix_tile_exact_get): (ewk_tile_matrix_tile_exact_exists): (ewk_tile_matrix_tile_nearest_get): (ewk_tile_matrix_tile_new): (ewk_tile_matrix_tile_put): (ewk_tile_matrix_tile_update): (ewk_tile_matrix_tile_update_full): (ewk_tile_matrix_tile_updates_clear): (_ewk_tile_matrix_slicer_setup): (ewk_tile_matrix_update): (ewk_tile_matrix_updates_process): (ewk_tile_matrix_updates_clear): (ewk_tile_matrix_dbg): (ewk_tile_matrix_freeze): (ewk_tile_matrix_thaw): * ewk/ewk_tiled_matrix.h: Added. * ewk/ewk_tiled_model.c: Added. (_ewk_tile_account_get): (_ewk_tile_account_allocated): (_ewk_tile_account_freed): (ewk_tile_accounting_dbg): (_ewk_tile_paint_rgb888): (_ewk_tile_paint_rgb565): (_ewk_tile_paint): (ewk_tile_new): (ewk_tile_free): (ewk_tile_show): (ewk_tile_hide): (ewk_tile_visible_get): (ewk_tile_update_full): (ewk_tile_update_area): (ewk_tile_updates_process): (ewk_tile_updates_clear): (ewk_tile_unused_cache_new): (ewk_tile_unused_cache_lock_area): (ewk_tile_unused_cache_unlock_area): (ewk_tile_unused_cache_free): (ewk_tile_unused_cache_clear): (ewk_tile_unused_cache_ref): (ewk_tile_unused_cache_unref): (ewk_tile_unused_cache_max_set): (ewk_tile_unused_cache_max_get): (ewk_tile_unused_cache_used_get): (ewk_tile_unused_cache_flush): (ewk_tile_unused_cache_auto_flush): (ewk_tile_unused_cache_dirty): (ewk_tile_unused_cache_freeze): (ewk_tile_unused_cache_thaw): (ewk_tile_unused_cache_tile_get): (ewk_tile_unused_cache_tile_put): (ewk_tile_unused_cache_dbg): * ewk/ewk_tiled_model.h: Added. * ewk/ewk_tiled_private.h: Added. * ewk/ewk_view.cpp: (_ewk_view_smart_add): (_ewk_view_smart_calculate): (_ewk_view_smart_show): (_ewk_view_smart_hide): (_ewk_view_smart_pre_render_relative_radius): (_ewk_view_zoom_animator_cb): (_ewk_view_smart_disable_render): (_ewk_view_smart_enable_render): (ewk_view_base_smart_set): (ewk_view_pre_render_region): (ewk_view_pre_render_relative_radius): (ewk_view_enable_render): (ewk_view_disable_render): (ewk_view_scroll): (ewk_view_did_first_visually_nonempty_layout): (ewk_view_dispatch_did_finish_loading): (ewk_view_transition_to_commited_for_newpage): * ewk/ewk_view.h: * ewk/ewk_view_tiled.c: Added. (_ewk_view_tiled_render_cb): (_ewk_view_tiled_updates_process_pre): (_ewk_view_tiled_smart_backing_store_add): (_ewk_view_tiled_contents_size_changed_cb): (_ewk_view_tiled_smart_add): (_ewk_view_tiled_smart_scrolls_process): (_ewk_view_tiled_smart_repaints_process): (_ewk_view_tiled_smart_contents_resize): (_ewk_view_tiled_smart_zoom_set): (_ewk_view_tiled_smart_zoom_weak_set): (_ewk_view_tiled_smart_zoom_weak_smooth_scale_set): (_ewk_view_tiled_smart_flush): (_ewk_view_tiled_smart_pre_render_region): (_ewk_view_tiled_smart_pre_render_relative_radius): (_ewk_view_tiled_smart_pre_render_cancel): (_ewk_view_tiled_smart_disable_render): (_ewk_view_tiled_smart_enable_render): (ewk_view_tiled_smart_set): (_ewk_view_tiled_smart_class_new): (ewk_view_tiled_add): (ewk_view_tiled_unused_cache_get): (ewk_view_tiled_unused_cache_set): (ewk_view_tiled_process_entire_queue_set): 2010-11-16 Leandro Pereira <leandro@profusion.mobi> [EFL] Unreviewed. Build fix. * WebCoreSupport/FrameLoaderClientEfl.h: Also include ResourceError.h. 2010-11-16 Patrick Gansterer <paroga@webkit.org> Reviewed by Andreas Kling. [CMake] Add platform dependent include directories https://bugs.webkit.org/show_bug.cgi?id=49553 * CMakeListsEfl.txt: 2010-11-14 Ryuan Choi <ryuan.choi@samsung.com> Reviewed by Martin Robinson. [EFL] add pango support https://bugs.webkit.org/show_bug.cgi?id=46029 Add pango in include and libs. * CMakeListsEfl.txt: 2010-11-11 Ryuan Choi <ryuan.choi@samsung.com> Reviewed by Adam Barth. [GTK] Move font related files. https://bugs.webkit.org/show_bug.cgi?id=48116 Add freetype/ to include path. * CMakeListsEfl.txt: 2010-11-08 Rafael Antognolli <antognolli@profusion.mobi> Reviewed by Antonio Gomes. [EFL] Change the usage of eina_iterator_next due to latest EFL changes. https://bugs.webkit.org/show_bug.cgi?id=49082 A change on how the iterator for a tiler is used in EFL needs to be reflected in WebKit-EFL. The iterator now receives a pointer to an Eina_Rectangle and makes it point to its internal structure. The old usage was to receive a reference to a pre-allocated Eina_Rectangle. * ewk/ewk_view_single.c: (_ewk_view_single_smart_repaints_process): 2010-11-08 Alexey Proskuryakov <ap@apple.com> Reviewed by Darin Adler. https://bugs.webkit.org/show_bug.cgi?id=48685 Notify UI process about focused frame Added an empty implementation of the new ChromeClient method. * WebCoreSupport/ChromeClientEfl.cpp: (WebCore::ChromeClientEfl::focusedFrameChanged): * WebCoreSupport/ChromeClientEfl.h: 2010-11-05 Patrick Gansterer <paroga@webkit.org> Reviewed by David Kilzer. Replace ARRAYSIZE with WTF_ARRAY_LENGTH https://bugs.webkit.org/show_bug.cgi?id=48903 * WebCoreSupport/EditorClientEfl.cpp: (WebCore::EditorClientEfl::interpretKeyEvent): 2010-11-04 Ryuan Choi <ryuan.choi@samsung.com> Reviewed by Adam Barth. [EFL] Reflect latest EFL changes related to stride. https://bugs.webkit.org/show_bug.cgi?id=48971 Remove adjustment code to compare stride of cairo_image_surfece and evas_object_image, as following changes of latest EFL. * ewk/ewk_util.cpp: (ewk_util_image_from_cairo_surface_add): 2010-11-03 Daniel Bates <dbates@rim.com> For unnamed frames, window.name returns a generated name https://bugs.webkit.org/show_bug.cgi?id=6751 Part 1 of 2. Substitute FrameTree::uniqueName() for FrameTree::name() in the EFL port. * ewk/ewk_frame.cpp: (ewk_frame_name_get): 2010-11-02 Daniel Bates <dbates@rim.com> Reviewed by Martin Robinson. Set frame name before appending it to the frame tree in the Apple Windows, GTK, and EFL ports https://bugs.webkit.org/show_bug.cgi?id=48806 Make the frame creation process in the EFL-port consistent with the Mac, Qt, and Haiku ports. In particular, set the name of the new frame before it's appended to the frame tree. At this time we cannot test this change since it is being masked by HTMLFrameElementBase::setName() <http://trac.webkit.org/browser/trunk/WebCore/html/HTMLFrameElementBase.cpp?rev=70976#L160>. We'll be able to test this once we fix bug #6751. * ewk/ewk_frame.cpp: (ewk_frame_child_add): 2010-11-01 Brady Eidson <beidson@apple.com> Reviewed by Anders Carlsson. <rdar://problem/7660547> and https://bugs.webkit.org/show_bug.cgi?id=48699 Context menu support for WebKit 2. * WebCoreSupport/ChromeClientEfl.h: (WebCore::ChromeClientEfl::showContextMenu): 2010-10-29 Daniel Bates <dbates@rim.com> No review, rolling out 70971. http://trac.webkit.org/changeset/70971 https://bugs.webkit.org/show_bug.cgi?id=6751 Rolling out changeset 70971 <http://trac.webkit.org/changeset/70971> since it caused layout test failures on all bots. In particular, the child count in a generated frame name differs after this patch. We need to look into this further. * ewk/ewk_frame.cpp: (ewk_frame_name_get): 2010-10-29 Daniel Bates <dbates@rim.com> Reviewed by Adam Barth. For unnamed frames, window.name returns a generated name https://bugs.webkit.org/show_bug.cgi?id=6751 Modified EFL-port to use FrameTree::uniqueName(). * ewk/ewk_frame.cpp: (ewk_frame_name_get): 2010-10-29 Darin Adler <darin@apple.com> Reviewed by Sam Weinig. Change BackForwardList clients to use BackForwardListImpl to prepare for further refactoring https://bugs.webkit.org/show_bug.cgi?id=48574 * ewk/ewk_history.cpp: (ewk_history_new): * ewk/ewk_private.h: * ewk/ewk_view.cpp: (_ewk_view_priv_new): (ewk_view_history_enable_get): (ewk_view_history_enable_set): (ewk_view_history_get): Use BackForwardListImpl. 2010-10-29 Alexey Proskuryakov <ap@apple.com> Reviewed by Darin Adler. https://bugs.webkit.org/show_bug.cgi?id=48576 Let WebKit2 client know when a frame is a frameset Added a blank implementation of the new FrameLoaderClient method. * WebCoreSupport/FrameLoaderClientEfl.h: * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::dispatchDidBecomeFrameset): 2010-10-26 Jenn Braithwaite <jennb@chromium.org> Reviewed by Dmitry Titov. Resource tracking failure when trying to move a frame between documents https://bugs.webkit.org/show_bug.cgi?id=44713 * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::transferLoadingResourceFromPage): Empty method. * WebCoreSupport/FrameLoaderClientEfl.h: 2010-10-22 Sam Weinig <sam@webkit.org> Reviewed by Anders Carlsson. WebKit2 needs to pass the current event modifier flags when requesting a new window https://bugs.webkit.org/show_bug.cgi?id=48140 * WebCoreSupport/ChromeClientEfl.cpp: (WebCore::ChromeClientEfl::createWindow): * WebCoreSupport/ChromeClientEfl.h: * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::dispatchCreatePage): * WebCoreSupport/FrameLoaderClientEfl.h: Add NavigationAction parameter. 2010-10-19 Ryuan Choi <ryuan.choi@samsung.com> Reviewed by Eric Seidel. [EFL] Add setting api for disabling auto resize window https://bugs.webkit.org/show_bug.cgi?id=47787 * WebCoreSupport/ChromeClientEfl.cpp: (WebCore::ChromeClientEfl::setWindowRect): Return when auto_resize_window was disabled. * ewk/ewk_view.cpp: (_ewk_view_priv_new): (ewk_view_setting_enable_auto_resize_window_get): Added. (ewk_view_setting_enable_auto_resize_window_set): Added. * ewk/ewk_view.h: 2010-10-15 Nikolas Zimmermann <nzimmermann@rim.com> Reviewed by Dirk Schulze. Replace some String::format() usages by StringConcatenate in WebKit https://bugs.webkit.org/show_bug.cgi?id=47714 * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::agentOS): 2010-10-14 Rafael Antognolli <antognolli@profusion.mobi> Reviewed by Eric Seidel. [EFL] Use data_set after data_get to keep refcount correct. https://bugs.webkit.org/show_bug.cgi?id=47110 The call to evas_object_image_data_set was missed in this function, which caused the refcount of the data being always increased on every scroll. * ewk/ewk_view_single.c: (_ewk_view_single_smart_scrolls_process): 2010-10-14 Ryuan Choi <ryuan.choi@samsung.com> Reviewed by Eric Seidel. [EFL] Add setting api for enabling encoding detector https://bugs.webkit.org/show_bug.cgi?id=45427 Add settings api for enabling encoding detector. * ewk/ewk_view.cpp: (_ewk_view_priv_new): (ewk_view_setting_encoding_detector_set): (ewk_view_setting_encoding_detector_get): * ewk/ewk_view.h: 2010-10-13 Leandro Pereira <leandro@profusion.mobi> [EFL] Unreviewed. Build fix. * WebCoreSupport/FrameLoaderClientEfl.h: Use String instead of WebCore::String. 2010-10-13 Gavin Barraclough <barraclough@apple.com> Reviewed by Oliver Hunt. https://bugs.webkit.org/show_bug.cgi?id=43987 Switch XMLHttpRequest, FileReader, and FileReaderSync to use a Stringbuilder to construct their internal result string. Remove ScriptString (this is now redundant). * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::dispatchDidLoadResourceByXMLHttpRequest): * WebCoreSupport/FrameLoaderClientEfl.h: 2010-10-13 Gyuyoung Kim <gyuyoung.kim@samsung.com> Reviewed by Kenneth Rohde Christiansen. [EFL] Support viewport configuration and add new arguments for WebKit EFL https://bugs.webkit.org/show_bug.cgi?id=47084 Opera spec regarding to viewport meta tag was adjusted to WebCore. So, EFL port needs to be modified according to the changes. * WebCoreSupport/ChromeClientEfl.cpp: (WebCore::ChromeClientEfl::dispatchViewportDataDidChange): * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::dispatchDidCommitLoad): * ewk/ewk_private.h: * ewk/ewk_view.cpp: (_ewk_view_priv_new): (_ewk_view_viewport_attributes_compute): (ewk_view_viewport_attributes_set): (ewk_view_viewport_attributes_get): (ewk_view_device_pixel_ratio_get): * ewk/ewk_view.h: 2010-10-12 Gyuyoung Kim <gyuyoung.kim@samsung.com> Reviewed by Kenneth Rohde Christiansen. [EFL] Add a method to get target's dpi value https://bugs.webkit.org/show_bug.cgi?id=47537 Add a method to get target dpi value using Ecore_X. When we set layout size, we need to use the dpi value. * ewk/ewk_private.h: * ewk/ewk_view.cpp: (ewk_view_page_rect_get): (ewk_view_dpi_get): 2010-10-07 Gyuyoung Kim <gyuyoung.kim@samsung.com> Reviewed by Antonio Gomes. [EFL] Implement pageRect() function https://bugs.webkit.org/show_bug.cgi?id=47395 Implement pageRect() in ChromeClientEfl using frameRect(). * CMakeListsEfl.txt: * WebCoreSupport/ChromeClientEfl.cpp: (WebCore::ChromeClientEfl::pageRect): * ewk/ewk_private.h: * ewk/ewk_view.cpp: (ewk_view_page_rect_get): Added. 2010-10-06 Ryuan Choi <ryuan.choi@samsung.com> Reviewed by Antonio Gomes. [EFL] Support Progress Tag https://bugs.webkit.org/show_bug.cgi?id=45951 Implement progressbar.edc to support progress tag * CMakeListsEfl.txt: * DefaultTheme/default.edc: * DefaultTheme/widget/progressbar: Added. * DefaultTheme/widget/progressbar/bt_base.png: Added. * DefaultTheme/widget/progressbar/progressbar.edc: Added. * DefaultTheme/widget/progressbar/shelf_inset.png: Added. 2010-10-05 Ryuan Choi <ryuan.choi@samsung.com> Reviewed by Antonio Gomes. [EFL] Remove strdup in ewk_setting.cpp using eina_stringshare https://bugs.webkit.org/show_bug.cgi?id=46613 Add variables shared by eina_stringshare and remove strdup. * ewk/ewk_main.cpp: (_ewk_init_body): * ewk/ewk_settings.cpp: (ewk_settings_web_database_path_set): (ewk_settings_web_database_path_get): (ewk_settings_icon_database_path_set): (ewk_settings_icon_database_path_get): * ewk/ewk_settings.h: 2010-10-04 Gyuyoung Kim <gyuyoung.kim@samsung.com> Reviewed by Kenneth Rohde Christiansen. [EFL] Viewport data change notification by Bug 46755 https://bugs.webkit.org/show_bug.cgi?id=46772 Bug 46755 changes virtual function regarding to viewport metatag. Thus, EFL port should change the function as well in order to get viewport arguments. And, setInitLayoutCompleted / getInitLayoutCompleted() are removed because these functions aren't needed anymore. * WebCoreSupport/ChromeClientEfl.cpp: (WebCore::ChromeClientEfl::dispatchViewportDataDidChange): * WebCoreSupport/ChromeClientEfl.h: * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::FrameLoaderClientEfl): (WebCore::FrameLoaderClientEfl::dispatchDidCommitLoad): (WebCore::FrameLoaderClientEfl::dispatchDidFirstLayout): * WebCoreSupport/FrameLoaderClientEfl.h: 2010-10-01 Rafael Antognolli <antognolli@profusion.mobi> Reviewed by Kenneth Rohde Christiansen. [EFL] Remove check for InitLayoutCompleted on fixed_layout_size_set. https://bugs.webkit.org/show_bug.cgi?id=47006 This check isn't needed and isn't done on the other ports. The fixed layout property can be set before we have the first layout. * ewk/ewk_view.cpp: (ewk_view_fixed_layout_size_set): 2010-10-01 Rafael Antognolli <antognolli@profusion.mobi> Reviewed by Kenneth Rohde Christiansen. [EFL] Call contents_resize when the main frame gets resized. https://bugs.webkit.org/show_bug.cgi?id=47004 The previous implementation was just calling contents_resize when the viewport size had changed. That's not enough, and contents_resize shouldn't be called if the contents size didn't change. Now the contents_size_changed function is called directly from the ChromeClientEfl. * WebCoreSupport/ChromeClientEfl.cpp: (WebCore::ChromeClientEfl::contentsSizeChanged): * ewk/ewk_private.h: * ewk/ewk_view.cpp: (_ewk_view_smart_calculate): (ewk_view_fixed_layout_size_set): (ewk_view_contents_size_changed): 2010-09-29 João Paulo Rechi Vita <jprvita@profusion.mobi> Reviewed by Antonio Gomes. [EFL] General small fixes. https://bugs.webkit.org/show_bug.cgi?id=46813 This commit spots a comparison between signed and unsigned integer expressions, a missing return and a never-called function. * WebCoreSupport/FullscreenVideoControllerEfl.cpp: (FullscreenVideoController::canPlay): 2010-09-28 Jenn Braithwaite <jennb@chromium.org> Reviewed by Dmitry Titov. Added oldPage param to FrameLoaderClient::didTransferChildFrameToNewDocument. https://bugs.webkit.org/show_bug.cgi?id=46663 * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::didTransferChildFrameToNewDocument): * WebCoreSupport/FrameLoaderClientEfl.h: 2010-09-26 Gyuyoung Kim <gyuyoung.kim@samsung.com> Reviewed by Antonio Gomes. [EFL] Add setting API to set a local storage database path. https://bugs.webkit.org/show_bug.cgi?id=45446 Add a setting API to set local storage database path. * ewk/ewk_view.cpp: (_ewk_view_priv_new): (_ewk_view_priv_del): (ewk_view_setting_local_storage_database_path_get): Added. (ewk_view_setting_local_storage_database_path_set): Added. * ewk/ewk_view.h: 2010-09-23 Lucas De Marchi <lucas.demarchi@profusion.mobi> Reviewed by Csaba Osztrogonác. [EFL] Fix warnings during build https://bugs.webkit.org/show_bug.cgi?id=46354 * ewk/ewk_frame.cpp: (ewk_frame_text_matches_nth_pos_get): Change argument type because it's meant to be always positive. * ewk/ewk_frame.h: Ditto. * ewk/ewk_view.cpp: (ewk_view_exceeded_database_quota): Add missing "%" causing warning about number of arguments to printf-like function. * ewk/ewk_view.h: Add missing initialization. 2010-09-21 Lucas De Marchi <lucas.demarchi@profusion.mobi> Reviewed by Kenneth Rohde Christiansen. [EFL] Get fresh theme when running EWebLauncher https://bugs.webkit.org/show_bug.cgi?id=46210 If user tried to run EWebLauncher outside of the build tree, it would not find the theme and fallback to the installed one. However, since EWebLauncher is not installed, we always want to take the theme from the just compiled source code. If user had never installed WebKit's EFL port it could even receive a segv since no theme would be found. Now EWebLauncher does not fallback to the installed theme and CMake gives as DATA_DIR the directory of the theme it has just built. * CMakeListsEfl.txt: export DATA_DIR to parent CMakeLists.txt in order to be used by EWebLauncher. 2010-09-17 Darin Adler <darin@apple.com> Reviewed by Sam Weinig. REGRESSION (r60104): Zoom level is unexpectedly reset on page reload https://bugs.webkit.org/show_bug.cgi?id=42863 * ewk/ewk_frame.cpp: (ewk_frame_zoom_get): (ewk_frame_zoom_set): (ewk_frame_zoom_text_only_set): Call functions on Frame instead of FrameView. 2010-09-16 Darin Adler <darin@apple.com> Fix build. * ewk/ewk_view.cpp: (ewk_view_input_method_state_set): Updated for change in name of isUrlField to isURLField. 2010-09-14 Ryuan Choi <ryuan.choi@samsung.com> Reviewed by Kenneth Rohde Christiansen. [EFL] ewk_frame_view_create_for_view set null as theme. https://bugs.webkit.org/show_bug.cgi?id=45741 Add theme in ewk_view to use instead of frame's theme which is null in ewk_frame_view_create_for_view. * ewk/ewk_frame.cpp: (ewk_frame_view_create_for_view): * ewk/ewk_view.cpp: (ewk_view_theme_set): (ewk_view_theme_get): 2010-09-14 Leandro Pereira <leandro@profusion.mobi> [EFL] Unreviewed build fix: remove "virtual" keyword from implementation file. * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::canShowMIMETypeAsHTML): 2010-09-13 Rafael Antognolli <antognolli@profusion.mobi> Unreviewed build fix. [EFL] Fix build break when enabling HTML5 video support https://bugs.webkit.org/show_bug.cgi?id=45674 The correct include variable for LibXml2 in cmake is LIBXML2_INCLUDE_DIR instead of LIBXML2_INCLUDE_DIRS. * CMakeListsEfl.txt: 2010-09-13 Gyuyoung Kim <gyuyoung.kim@samsung.com> Reviewed by Kenneth Rohde Christiansen. [EFL] Add setting API for enabling page cache https://bugs.webkit.org/show_bug.cgi?id=44931 * ewk/ewk_view.cpp: (_ewk_view_priv_new): (ewk_view_setting_page_cache_get): Added. (ewk_view_setting_page_cache_set): Added. * ewk/ewk_view.h: 2010-09-13 Enrica Casucci <enrica@apple.com> Reviewed by Sam Weinig. Paste should be implemented in WebCore like Copy and Cut for Mac also. https://bugs.webkit.org/show_bug.cgi?id=45494 <rdar://problem/7660537> On the Mac platform, the implementation of the paste operation is all done at the WebKit level. In order to support it on WebKit2 it is necessary to refactor the code and move this functionality at the level of WebCore like we already have on Windows. The original code relies on some in AppKit functions that call back into WebKit causing problems in WebKit2. All this functionality has been moved at the level of the editor client where it can be dealt with appropriately. * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::canShowMIMETypeAsHTML): Added stub. * WebCoreSupport/FrameLoaderClientEfl.h: 2010-09-11 Ryuan Choi <ryuan.choi@samsung.com> Reviewed by Antonio Gomes. [EFL] Fix EFL build after r67274 https://bugs.webkit.org/show_bug.cgi?id=45584 Remove include of ZoomMode.h and change setZoomFactor and zoomFactor to proper apis chaged by r67264. * ewk/ewk_frame.cpp: (ewk_frame_zoom_get): (ewk_frame_zoom_set): (ewk_frame_zoom_text_only_get): (ewk_frame_zoom_text_only_set): 2010-09-10 Adam Barth <abarth@webkit.org> Reviewed by Darin Fisher. Move code from WebKit-layer to DocumentLoader https://bugs.webkit.org/show_bug.cgi?id=45569 This code didn't know that setEncoding could be called multiple times safely. * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::FrameLoaderClientEfl): (WebCore::FrameLoaderClientEfl::committedLoad): (WebCore::FrameLoaderClientEfl::dispatchDidReceiveResponse): (WebCore::FrameLoaderClientEfl::finishedLoading): (WebCore::FrameLoaderClientEfl::dispatchDidFailLoading): (WebCore::FrameLoaderClientEfl::setMainDocumentError): * WebCoreSupport/FrameLoaderClientEfl.h: 2010-09-10 Adam Barth <abarth@webkit.org> Reviewed by Eric Seidel. Main resource bytes shouldn't bounce through FrameLoader https://bugs.webkit.org/show_bug.cgi?id=45496 Now return the bytes to the DocumentLoader. * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::committedLoad): 2010-09-08 Darin Adler <darin@apple.com> Reviewed by Adam Barth. Move functions from Frame to Editor as planned https://bugs.webkit.org/show_bug.cgi?id=45218 * ewk/ewk_frame.cpp: (ewk_frame_editable_set): (ewk_frame_selection_get): (ewk_frame_text_search): (ewk_frame_text_matches_mark): (ewk_frame_text_matches_highlight_set): (ewk_frame_text_matches_highlight_get): * ewk/ewk_view.cpp: (ewk_view_selection_get): Changed call sites to use editor(). 2010-09-09 Gyuyoung Kim <gyuyoung.kim@samsung.com> Unreviewed build fix. [EFL] Fix duplicate gstreamer macro in CMakeListEfl.txt https://bugs.webkit.org/show_bug.cgi?id=45433 In WebKit/efl/CMakeListEfl.txt, duplicated ENABLE_VIDEO macros were added. So, unnecessary ENABLE_VIDEO macro is deleted. * CMakeListsEfl.txt: 2010-09-08 Ryuan Choi <ryuan.choi@samsung.com> Unreviewed build fix. [EFL] Need to add custom dependencies. https://bugs.webkit.org/show_bug.cgi?id=45247 Add WebKit_Theme into WebKit_SOURCES to make it while building. * CMakeListsEfl.txt: 2010-09-08 Lucas De Marchi <lucas.demarchi@profusion.mobi> Reviewed by Kenneth Rohde Christiansen. [EFL] Export data directory through pkg-config https://bugs.webkit.org/show_bug.cgi?id=45385 Using pkg-config it's possible for a browser to know the location of installed themes. When compiling the browser, a variable might be defined with the datadir, like below: gcc -o browser browser.c $(pkg-config --libs --cflags ewebkit) \ -DEWEBKIT_DATA_DIR=$(pkg-config --variable=datadir) * ewebkit.pc.in: Export datadir variable. 2010-09-06 Ryuan Choi <ryuan.choi@samsung.com> Unreviewed build fix. [EFL] REGRESSION(66794) Need to fix build break. https://bugs.webkit.org/show_bug.cgi?id=45241 Add dummy class(FrameNetworkingContextEfl) like GTK+ port and implement as EFL style. * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::createNetworkingContext): * WebCoreSupport/FrameNetworkingContextEfl.h: Added. (WebCore::FrameNetworkingContextEfl::create): (WebCore::FrameNetworkingContextEfl::coreFrame): (WebCore::FrameNetworkingContextEfl::FrameNetworkingContextEfl): 2010-09-04 Lucas De Marchi <lucas.demarchi@profusion.mobi> Reviewed by Kenneth Rohde Christiansen. [EFL] Move test browser to WebKitTools directory https://bugs.webkit.org/show_bug.cgi?id=45212 Follow other ports like QT and GTK which moved the test browser to WebKitTools directory. * CMakeListsEfl.txt: Remove build for test browser. * EWebLauncher/main.c: Removed. 2010-09-03 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org> Reviewed by Darin Adler. Add NetworkingContext to avoid layer violations https://bugs.webkit.org/show_bug.cgi?id=42292 Add createNetworkingContext to EFL's FrameLoaderClient. * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::createNetworkingContext): * WebCoreSupport/FrameLoaderClientEfl.h: 2010-09-03 Lucas De Marchi <lucas.demarchi@profusion.mobi> Reviewed by Martin Robinson. [EFL] Regression (66531) Build break with Glib Support https://bugs.webkit.org/show_bug.cgi?id=45011 Move GtkTypedefs.h to GTypedefs.h and let it inside gobject directory since when glib is enabled, EFL port needs it, too. * CMakeListsEfl.txt: Include gobject directory to find new header file. 2010-09-03 Lucas De Marchi <lucas.demarchi@profusion.mobi> Reviewed by Antonio Gomes. [EFL] Install default theme https://bugs.webkit.org/show_bug.cgi?id=45154 Since a theme is needed in order to create a new browser, install the default one to serve as example and fall-back. * CMakeListsEfl.txt: 2010-09-02 Lucas De Marchi <lucas.demarchi@profusion.mobi> Reviewed by Antonio Gomes. [EFL] Name install directories according to library name https://bugs.webkit.org/show_bug.cgi?id=45126 * CMakeListsEfl.txt: include diretory follows library name. * ewebkit.pc.in: Ditto. 2010-08-31 Dave Hyatt <hyatt@apple.com> Reviewed by Sam Weinig. https://bugs.webkit.org/show_bug.cgi?id=44863, disentangle style recalc from layout, so that the former can occur in more places without having to do the latter. * ewk/ewk_view.cpp: (ewk_view_layout_if_needed_recursive): 2010-08-31 Sam Weinig <sam@webkit.org> Reviewed by Darin Adler. Add ability to count text matches without marking https://bugs.webkit.org/show_bug.cgi?id=43996 * ewk/ewk_frame.cpp: (ewk_frame_text_matches_mark): Switched to call countMatchesForText() instead of markAllMatchesForText(). 2010-08-31 Gyuyoung Kim <gyuyoung.kim@samsung.com> Unreviewed build fix. [EFL] Build break for r66456 https://bugs.webkit.org/post_bug.cgi Replace firstRectsForMarkers with renderedRectsForMarkers. * ewk/ewk_frame.cpp: (ewk_frame_text_matches_nth_pos_get): 2010-08-30 Kamil Blank <k.blank@samsung.com> Reviewed by Adam Barth. [EFL] Added API which returns position of n-th text matches mark https://bugs.webkit.org/show_bug.cgi?id=44258 * ewk/ewk_frame.cpp: (_ewk_frame_rect_cmp_less_than): Private. (_ewk_frame_rect_is_negative_value): Private. (ewk_frame_text_matches_nth_pos_get): Added. Function returns position of n-th text match in frame. * ewk/ewk_frame.h: 2010-08-30 Ryuan Choi <ryuan.choi@samsung.com> Reviewed by Adam Barth. [EFL]Url of HistoryItem was broken for special character like korean https://bugs.webkit.org/show_bug.cgi?id=44495 Remove unnecessary code. This makes a bug with complicated URL. * ewk/ewk_frame.cpp: (ewk_frame_view_state_save): 2010-08-30 Mikołaj Małecki <m.malecki@samsung.com> Reviewed by Kenneth Rohde Christiansen [EFL] Added initial setting to turn on offline pages. https://bugs.webkit.org/show_bug.cgi?id=44239 * ewk/ewk_main.cpp: Torn off non-EFL init to _ewk_init_body (ewk_init): Changed non-EFL init to call _ewk_init_body (_ewk_init_body): Moved internal init here and added cache directory path setting. * ewk/ewk_view.cpp: Added new config items: offline_app_cache and cache_directory (_ewk_view_priv_new): creating cache_directory string (_ewk_view_priv_del): deleting cache_directory string (ewk_view_setting_offline_app_cache_get): (ewk_view_setting_offline_app_cache_set): (ewk_view_setting_cache_directory_get): (ewk_view_setting_cache_directory_set): * ewk/ewk_view.h: added offline_app_cache and cache_directory props to ewk API 2010-08-26 Miroslaw Szymanski <miroslaw.s@samsung.com> Reviewed by Kenneth Rohde Christiansen. [EFL] Added new callback when view's size is changed to fix issue with changing layout size https://bugs.webkit.org/show_bug.cgi?id=44337 * ewk/ewk_view.cpp: (_ewk_view_smart_calculate): 2010-08-25 Gyuyoung Kim <gyuyoung.kim@samsung.com> Reviewed by Antonio Gomes. [EFL] Add dummy FullScreenVideoControllerEfl to WebKit EFL https://bugs.webkit.org/show_bug.cgi?id=44590 Add FullScreenVideoControllerEfl to WebCoreSupport. However, this is not implemented yet. * CMakeListsEfl.txt: * WebCoreSupport/FullscreenVideoControllerEfl.cpp: Added. (FullscreenVideoController::FullscreenVideoController): (FullscreenVideoController::~FullscreenVideoController): (FullscreenVideoController::setMediaElement): (FullscreenVideoController::showHud): (FullscreenVideoController::hideHud): (FullscreenVideoController::enterFullscreen): (FullscreenVideoController::updateHudPosition): (FullscreenVideoController::exitOnUserRequest): (FullscreenVideoController::exitFullscreen): (FullscreenVideoController::canPlay): (FullscreenVideoController::play): (FullscreenVideoController::pause): (FullscreenVideoController::playStateChanged): (FullscreenVideoController::togglePlay): (FullscreenVideoController::volume): (FullscreenVideoController::muted): (FullscreenVideoController::setVolume): (FullscreenVideoController::volumeChanged): (FullscreenVideoController::muteChanged): (FullscreenVideoController::currentTime): (FullscreenVideoController::setCurrentTime): (FullscreenVideoController::duration): (FullscreenVideoController::percentLoaded): (FullscreenVideoController::beginSeek): (FullscreenVideoController::doSeek): (FullscreenVideoController::endSeek): (timeToString): (FullscreenVideoController::updateHudProgressBar): (FullscreenVideoController::createHud): * WebCoreSupport/FullscreenVideoControllerEfl.h: Added. (FullscreenVideoController::mediaElement): 2010-08-25 Gyuyoung Kim <gyuyoung.kim@samsung.com> Reviewed by Antonio Gomes. [EFL] Add setting API for enabling local storage. https://bugs.webkit.org/show_bug.cgi?id=44319 Add API for enabling/disabling local storage. * ewk/ewk_view.cpp: (_ewk_view_priv_new): (ewk_view_setting_local_storage_get): Added (ewk_view_setting_local_storage_set): Added * ewk/ewk_view.h: 2010-08-25 Jaehun Lim <ljaehun.lim@samsung.com> Reviewed by Antonio Gomes. [EFL] enable libsoup's content decode feature https://bugs.webkit.org/show_bug.cgi?id=44147 libsoup's content decode feature is enabled during initializaton. * ewk/ewk_main.cpp: (ewk_init): 2010-08-25 Rafael Antognolli <antognolli@profusion.mobi> Unreviewed build fix. [EFL] Build fix for revision 65332 https://bugs.webkit.org/show_bug.cgi?id=44543 Use Gthread_LIBRARIES instead of GTHREAD_LIBRARIES. This fix the build when using ENABLE_GLIB_SUPPORT=ON and NETWORK_BACKEND=curl. * CMakeListsEfl.txt: 2010-08-24 Lukasz Slachciak <l.slachciak@samsung.com> Reviewed by Antonio Gomes. [EFL] Extended EFL WebView API to allow enable/disable Frame Flattening https://bugs.webkit.org/show_bug.cgi?id=44253 * ewk/ewk_view.cpp: (ewk_view_setting_enable_frame_flattening_get): (ewk_view_setting_enable_frame_flattening_set): * ewk/ewk_view.h: 2010-08-23 Leandro Pereira <leandro@profusion.mobi> [EFL] Build fix for platforms that do not require linking with "dl". CMake includes the variable CMAKE_DL_LIBS that evaluates to the platform-specific libraries. * CMakeListsEfl.txt: Use ${CMAKE_DL_LIBS} instead of dl. 2010-08-22 Rafael Antognolli <antognolli@profusion.mobi> Reviewed by Antonio Gomes. [EFL] Remove duplicated include entry from default theme. https://bugs.webkit.org/show_bug.cgi?id=44345 This used to create the group webkit/widget/entry twice in the theme. It's leading to a bug with the newer versions of EFL. * DefaultTheme/default.edc: 2010-08-22 Daniel Bates <dbates@rim.com> Reviewed by Eric Seidel. Encapsulate document marker management into DocumentMarkerController https://bugs.webkit.org/show_bug.cgi?id=44383 Modify call sites in the EFL port to use DocumentMarkerController. No functionality was changed, so no new tests. * ewk/ewk_frame.cpp: (ewk_frame_text_matches_unmark_all): 2010-08-20 Leandro Pereira <leandro@profusion.mobi> [EFL] Unreviewed. Fix build when using GNU gold. When linking with GNU gold, some symbols are not found: explicitly link with the required libraries. * CMakeListsEfl.txt: Depend on Fontconfig, PNG, JPEG and dl libraries. 2010-08-15 Gyuyoung Kim <gyuyoung.kim@samsung.com> Reviewed by Antonio Gomes. [EFL] Enable localStorage of HTML5 for WebKit EFL https://bugs.webkit.org/show_bug.cgi?id=44020 * ewk/ewk_view.cpp: (_ewk_view_priv_new): 2010-08-11 Rafael Antognolli <antognolli@profusion.mobi> Reviewed by Kenneth Rohde Christiansen. [EFL] Adding new theme for widgets. https://bugs.webkit.org/show_bug.cgi?id=43860 Original theme was there for a long time. This is a new fresh one. * DefaultTheme/default.edc: * DefaultTheme/widget/button/button.edc: * DefaultTheme/widget/button/img_button_focus.png: * DefaultTheme/widget/button/img_button_hover.png: * DefaultTheme/widget/button/img_button_normal.png: * DefaultTheme/widget/button/img_button_press.png: * DefaultTheme/widget/check/check.edc: * DefaultTheme/widget/check/img_check_off.png: * DefaultTheme/widget/check/img_check_off_focus.png: * DefaultTheme/widget/check/img_check_off_hover.png: * DefaultTheme/widget/check/img_check_on.png: * DefaultTheme/widget/check/img_check_on_focus.png: * DefaultTheme/widget/check/img_check_on_hover.png: * DefaultTheme/widget/combo/combo.edc: * DefaultTheme/widget/combo/combo_focus.png: * DefaultTheme/widget/combo/combo_focus_button.png: * DefaultTheme/widget/combo/combo_hover.png: * DefaultTheme/widget/combo/combo_hover_button.png: * DefaultTheme/widget/combo/combo_normal.png: * DefaultTheme/widget/combo/combo_normal_button.png: * DefaultTheme/widget/combo/combo_press.png: * DefaultTheme/widget/combo/combo_press_button.png: * DefaultTheme/widget/combo/icon.png: * DefaultTheme/widget/entry/img_focused.png: * DefaultTheme/widget/entry/img_hovered.png: * DefaultTheme/widget/entry/img_normal.png: * DefaultTheme/widget/file/file_focus.png: * DefaultTheme/widget/file/file_hover.png: * DefaultTheme/widget/file/file_normal.png: * DefaultTheme/widget/file/file_press.png: * DefaultTheme/widget/radio/img_radio_off.png: * DefaultTheme/widget/radio/img_radio_off_focus.png: * DefaultTheme/widget/radio/img_radio_off_hover.png: * DefaultTheme/widget/radio/img_radio_on.png: * DefaultTheme/widget/radio/img_radio_on_focus.png: * DefaultTheme/widget/radio/img_radio_on_hover.png: * DefaultTheme/widget/radio/radio.edc: * DefaultTheme/widget/scrollbar/scrollbar.edc: * DefaultTheme/widget/scrollbar/scrollbar_h.png: * DefaultTheme/widget/scrollbar/scrollbar_hilight.png: Removed. * DefaultTheme/widget/scrollbar/scrollbar_knob_h.png: * DefaultTheme/widget/scrollbar/scrollbar_knob_v.png: * DefaultTheme/widget/scrollbar/scrollbar_v.png: * DefaultTheme/widget/search/cancel/cancel_normal_button2.png: * DefaultTheme/widget/search/decoration/decoration_normal_button.png: * DefaultTheme/widget/search/field/field_focused.png: * DefaultTheme/widget/search/field/field_hovered.png: * DefaultTheme/widget/search/field/field_normal.png: * DefaultTheme/widget/slider/slider.edc: * DefaultTheme/widget/slider/slider_fill_h.png: Added. * DefaultTheme/widget/slider/slider_fill_v.png: Added. * DefaultTheme/widget/slider/slider_h.png: * DefaultTheme/widget/slider/slider_hilight.png: Removed. * DefaultTheme/widget/slider/slider_knob_h.png: * DefaultTheme/widget/slider/slider_knob_press_h.png: Added. * DefaultTheme/widget/slider/slider_knob_press_v.png: Added. * DefaultTheme/widget/slider/slider_knob_v.png: * DefaultTheme/widget/slider/slider_v.png: 2010-08-12 Rafael Antognolli <antognolli@profusion.mobi> Reviewed by Kenneth Rohde Christiansen. [EFL] Making CMake keep track of theme dependencies. https://bugs.webkit.org/show_bug.cgi?id=43862 Adding theme source files and images as dependencies of the theme. * CMakeListsEfl.txt: 2010-08-11 Rafael Antognolli <antognolli@profusion.mobi> Reviewed by Kenneth Rohde Christiansen. [EFL] Add setting for enabling spatial navigation. https://bugs.webkit.org/show_bug.cgi?id=43569 Adding api for enabling/disabling spatial navigation. * ewk/ewk_view.cpp: Both functions below added. (ewk_view_setting_spatial_navigation_get): (ewk_view_setting_spatial_navigation_set): * ewk/ewk_view.h: same as ewk_view.cpp. 2010-08-11 Ryuan Choi <ryuan.choi@samsung.com> Reviewed by Antonio Gomes. Implementation dispatchDecidePolicyForNavigationAction https://bugs.webkit.org/show_bug.cgi?id=43544 Add ewk_view_navigation_policy_decision to decide whether url which user clicked will be loaded or not. * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::dispatchDecidePolicyForNavigationAction): * ewk/ewk_private.h: * ewk/ewk_view.cpp: (ewk_view_navigation_policy_decision): * ewk/ewk_view.h: 2010-08-10 Ryuan Choi <ryuan.choi@samsung.com> Unreviewed build fix. [EFL]REGRESSION(65021) need to fix build break https://bugs.webkit.org/show_bug.cgi?id=43767 Remove AtomicStringWTF and change namespace TextCaseInsensitive. * ewk/ewk_frame.cpp: (ewk_frame_plugin_create): * ewk/ewk_view.cpp: (ewk_view_text_search): (ewk_view_text_matches_mark): (ewk_view_setting_font_cursive_set): 2010-08-06 Gavin Barraclough <barraclough@apple.com> Rubber stamped by Sam Weinig Bug 43594 - Add string forwards to Forward.h This allows us to remove forward declarations for these classes from WebCore/WebKit (a step in moving these class from WebCore:: to WTF::). * WebCoreSupport/InspectorClientEfl.h: 2010-08-06 Jessie Berlin <jberlin@apple.com> Roll out http://trac.webkit.org/changeset/64801, which broke the Safari Windows Build. Unreviewed. * WebCoreSupport/InspectorClientEfl.h: 2010-08-03 Leandro Pereira <leandro@profusion.mobi> Reviewed by Kenneth Rohde Christiansen. Implement HTML5 slider theme (using the scrollbar theme as base). https://bugs.webkit.org/show_bug.cgi?id=43430 * DefaultTheme/default.edc: Include slider.edc. * DefaultTheme/widget/slider/slider.edc: Added. * DefaultTheme/widget/slider/slider_h.png: Copied from WebKit/efl/DefaultTheme/widget/scrollbar/scrollbar_h.png. * DefaultTheme/widget/slider/slider_hilight.png: Copied from WebKit/efl/DefaultTheme/widget/scrollbar/scrollbar_hilight.png. * DefaultTheme/widget/slider/slider_knob_h.png: Copied from WebKit/efl/DefaultTheme/widget/scrollbar/scrollbar_knob_h.png. * DefaultTheme/widget/slider/slider_knob_v.png: Copied from WebKit/efl/DefaultTheme/widget/scrollbar/scrollbar_knob_v.png. * DefaultTheme/widget/slider/slider_v.png: Copied from WebKit/efl/DefaultTheme/widget/scrollbar/scrollbar_v.png. 2010-08-03 ryuan choi <ryuan.choi@samsung.com> Reviewed by Darin Adler. [EFL] REGRESSION(64425) need to fix build break https://bugs.webkit.org/show_bug.cgi?id=43322 just add include path missed after r64425 * CMakeListsEfl.txt: 2010-07-27 Luiz Agostini <luiz.agostini@openbossa.org> Reviewed by Darin Fisher. PopupMenu refactoring in preparation to WebKit2 https://bugs.webkit.org/show_bug.cgi?id=42592 As ChromeClient was made responsible for providing PopupMenu and SearchPopupMenu instances, concrete classes that inherit from ChromeClient needed to be changed to implement the new methods. * WebCoreSupport/ChromeClientEfl.cpp: (WebCore::ChromeClientEfl::selectItemWritingDirectionIsNatural): (WebCore::ChromeClientEfl::createPopupMenu): (WebCore::ChromeClientEfl::createSearchPopupMenu): * WebCoreSupport/ChromeClientEfl.h: 2010-08-02 Jeremy Orlow <jorlow@chromium.org> Speculative revert of 64425 due to Chromium instability https://bugs.webkit.org/show_bug.cgi?id=43347 * WebCoreSupport/ChromeClientEfl.cpp: * WebCoreSupport/ChromeClientEfl.h: 2010-07-27 Luiz Agostini <luiz.agostini@openbossa.org> Reviewed by Darin Fisher. PopupMenu refactoring in preparation to WebKit2 https://bugs.webkit.org/show_bug.cgi?id=42592 As ChromeClient was made responsible for providing PopupMenu and SearchPopupMenu instances, concrete classes that inherit from ChromeClient needed to be changed to implement the new methods. * WebCoreSupport/ChromeClientEfl.cpp: (WebCore::ChromeClientEfl::selectItemWritingDirectionIsNatural): (WebCore::ChromeClientEfl::createPopupMenu): (WebCore::ChromeClientEfl::createSearchPopupMenu): * WebCoreSupport/ChromeClientEfl.h: 2010-07-31 Sheriff Bot <webkit.review.bot@gmail.com> Unreviewed, rolling out r64422. http://trac.webkit.org/changeset/64422 https://bugs.webkit.org/show_bug.cgi?id=43304 Build fixes are needed for Snow Leopard and Windows. (Requested by lca on #webkit). * WebCoreSupport/ChromeClientEfl.cpp: * WebCoreSupport/ChromeClientEfl.h: 2010-07-27 Luiz Agostini <luiz.agostini@openbossa.org> Reviewed by Darin Fisher. PopupMenu refactoring in preparation to WebKit2 https://bugs.webkit.org/show_bug.cgi?id=42592 As ChromeClient was made responsible for providing PopupMenu and SearchPopupMenu instances, concrete classes that inherit from ChromeClient needed to be changed to implement the new methods. * WebCoreSupport/ChromeClientEfl.cpp: (WebCore::ChromeClientEfl::selectItemWritingDirectionIsNatural): (WebCore::ChromeClientEfl::createPopupMenu): (WebCore::ChromeClientEfl::createSearchPopupMenu): * WebCoreSupport/ChromeClientEfl.h: 2010-07-26 Steve Block <steveblock@google.com> Reviewed by Jeremy Orlow. Page clients should be passed to Page constructor via structure of pointers https://bugs.webkit.org/show_bug.cgi?id=42834 * ewk/ewk_view.cpp: (_ewk_view_priv_new): 2010-07-26 Rafael Antognolli <antognolli@profusion.mobi> Reviewed by Antonio Gomes. [EFL] Move CMakeListsEfl.txt to WebKit/efl/ https://bugs.webkit.org/show_bug.cgi?id=43002 This should reduce the noise in WebKit/ChangeLog that comes from EFL port. Most of the changes on EFL port should be logged in WebKit/efl/ChangeLog. * CMakeListsEfl.txt: Renamed from WebKit/CMakeListsEfl.txt. 2010-07-23 Rafael Antognolli <antognolli@profusion.mobi> Reviewed by Antonio Gomes. [EFL] Cleanup glib support (make it optional) https://bugs.webkit.org/show_bug.cgi?id=42480 Put some ifdefs on glib calls. * ewk/ewk_main.cpp: (ewk_init): 2010-07-23 Rafael Antognolli <antognolli@profusion.mobi> Reviewed by Antonio Gomes. [EFL] Add support for using libcurl network backend. https://bugs.webkit.org/show_bug.cgi?id=42286 Put some ifdefs around soup calls. * 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): 2010-07-23 Lucas De Marchi <lucas.demarchi@profusion.mobi> Reviewed by Kenneth Rohde Christiansen. Notify browser when window shall be closed. This is used for window.close() events Javascript, though it would be triggered for any event on WebCore that might ask for the window to be closed. https://bugs.webkit.org/show_bug.cgi?id=42890 * WebCoreSupport/ChromeClientEfl.cpp: (WebCore::ChromeClientEfl::closeWindowSoon): call new function and moves its previous functionality there. * ewk/ewk_private.h: * ewk/ewk_view.cpp: (ewk_view_window_close): stop all loaders as was being done previously and notify browser afterwards. * ewk/ewk_view.h: declare new virtual method. 2010-07-23 Gyuyoung Kim <gyuyoung.kim@samsung.com> Reviewed by Kenneth Rohde Christiansen. [EFL] Set proxy address for Soup https://bugs.webkit.org/show_bug.cgi?id=42721 Sets the given proxy URI for libsoup network backend. This method will support libcurl network backend later. * EWebLauncher/main.c: (main): Invoke proxy set method * ewk/ewk_settings.cpp: (ewk_settings_proxy_uri_set): Sets proxy URI. * ewk/ewk_settings.h: 2010-07-16 Leandro Pereira <leandro@profusion.mobi> Reviewed by Gustavo Noronha Silva. Creating ChangeLog for the EFL port.