2010-08-31 Dave Hyatt 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 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 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 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 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 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 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 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 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 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 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 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 [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 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 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 [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 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 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 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 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 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 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 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 Roll out http://trac.webkit.org/changeset/64801, which broke the Safari Windows Build. Unreviewed. * WebCoreSupport/InspectorClientEfl.h: 2010-08-03 Leandro Pereira 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 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 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 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 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 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 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 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 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 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 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 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 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 Reviewed by Gustavo Noronha Silva. Creating ChangeLog for the EFL port.