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.