1 2011-12-02 JungJik Lee <jungjik.lee@samsung.com>
3 [EFL] Remove entry pointer before freeing it from matrix.
4 https://bugs.webkit.org/show_bug.cgi?id=73625
6 Reviewed by Ryosuke Niwa.
8 To prevent leaving dangling pointer on the matrix, remove the entry before freeing it.
10 * ewk/ewk_tiled_matrix.cpp:
11 (ewk_tile_matrix_free):
13 2011-12-01 Ryuan Choi <ryuan.choi@samsung.com>
15 [EFL] Cleanup includes to reduce code complexity.
16 https://bugs.webkit.org/show_bug.cgi?id=73540
18 Reviewed by Gustavo Noronha Silva.
20 EWebKit.h is a list of public header files for application to use WebKit/Efl.
21 This patch removes EWebKit.h in internal files to reduce unnecessary includes.
22 In addition, reorders optional includes to fix style.
24 * WebCoreSupport/ChromeClientEfl.cpp:
25 * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
26 * WebCoreSupport/EditorClientEfl.cpp:
27 * WebCoreSupport/FrameLoaderClientEfl.cpp:
28 * ewk/ewk_auth_soup.cpp:
29 * ewk/ewk_contextmenu.cpp:
30 * ewk/ewk_cookies.cpp:
32 * ewk/ewk_history.cpp:
35 * ewk/ewk_settings.cpp:
38 * ewk/ewk_view_single.cpp:
39 * ewk/ewk_view_tiled.cpp:
40 * ewk/ewk_window_features.cpp:
42 2011-12-01 Raphael Kubo da Costa <kubo@profusion.mobi>
44 [EFL] Remove the ewk_protocol_handler-related code
45 https://bugs.webkit.org/show_bug.cgi?id=73018
47 Reviewed by Martin Robinson.
49 This functionality has been broken since r99364, which stopped setting
50 the "webkit-resource" property needed by
51 ewk_protocol_handler_soup.cpp.
53 After giving it some thought, it looks clear that this code should not
54 be in ewk at all: it is very backend-specific (even in the function
55 signatures it expects), and it only allows callers to register schemes
56 once and provide a single handler to all of them, which does not make
59 Client code using WebKit-EFL with the soup backend should be
60 responsible for creating their own request handlers (ie. subclass
63 For that to be possible, a function which returns the default
64 SoupSession used by WebKit has been added.
67 * ewk/ewk_network.cpp:
68 (ewk_network_default_soup_session_get):
71 * ewk/ewk_protocol_handler.cpp: Removed.
72 * ewk/ewk_protocol_handler.h: Removed.
73 * ewk/ewk_protocol_handler_soup.cpp: Removed.
74 * ewk/ewk_protocol_handler_soup.h: Removed.
78 2011-11-30 Gyuyoung Kim <gyuyoung.kim@samsung.com>
80 Unreviewed. Fix build error when NOTIFICATIONS feature is enabled.
82 * WebCoreSupport/ChromeClientEfl.h:
84 2011-11-30 Alexey Proskuryakov <ap@apple.com>
86 Remove an unneeded argument from FrameLoaderClient::download
87 https://bugs.webkit.org/show_bug.cgi?id=73486
89 Reviewed by Andreas Kling.
91 * WebCoreSupport/FrameLoaderClientEfl.cpp:
92 (WebCore::FrameLoaderClientEfl::download):
93 * WebCoreSupport/FrameLoaderClientEfl.h:
94 Updated for the change.
96 2011-11-30 JungJik Lee <jungjik.lee@samsung.com>
98 [EFL] Apply alpha channel into ewk_tiled_backing_store's tile objects.
99 https://bugs.webkit.org/show_bug.cgi?id=73015
101 Reviewed by Chang Shu.
103 Add alpha_set API to tiled backing store to apply alpha channel on tile objects.
105 * ewk/ewk_tiled_backing_store.cpp:
106 (_ewk_tiled_backing_store_tile_associate):
107 (ewk_tiled_backing_store_alpha_set):
108 * ewk/ewk_tiled_backing_store.h:
110 * ewk/ewk_view_tiled.cpp:
111 (_ewk_view_tiled_smart_bg_color_set):
112 (ewk_view_tiled_smart_set):
114 2011-11-30 Gyuyoung Kim <gyuyoung.kim@samsung.com>
116 [EFL] Remove duplicated UA information function.
117 https://bugs.webkit.org/show_bug.cgi?id=73104
119 Reviewed by Filip Pizlo.
121 Though ewk_setting already implemented an internal function for UA(user agent) information,
122 FrameLoaderClientEfl has used duplicated function for UA information. So, this patch removes
123 the UA information function of FrameLoaderClientEfl and uses an internal UA information function
124 of ewk_setting. In addition, UA infomation function is enhanced for other ports.
126 * WebCoreSupport/FrameLoaderClientEfl.cpp:
127 (WebCore::composeUserAgent):
128 * ewk/ewk_settings.cpp:
129 (ewk_settings_default_user_agent_get):
131 2011-11-30 Tomasz Morawski <t.morawski@samsung.com>
133 [EFL] Added DEFAULT_CACHE_SIZE define.
134 https://bugs.webkit.org/show_bug.cgi?id=73120
136 Reviewed by Filip Pizlo.
138 Remove form code 40960000 value used in code directly and replaced it by DEFAULT_CACHE_SIZE define. The code
141 * ewk/ewk_tiled_matrix.cpp:
142 (ewk_tile_matrix_new):
144 2011-11-28 JungJik Lee <jungjik.lee@samsung.com>
146 [EFL] Rename abbreviated value names to cpp style names.
147 https://bugs.webkit.org/show_bug.cgi?id=73193
149 Reviewed by Andreas Kling.
151 Rename abbreviated values name to cpp style names in ewk_single/tiled_view.cpp.
153 * ewk/ewk_view_single.cpp:
154 (_ewk_view_4b_move_region_up):
155 (_ewk_view_4b_move_region_down):
156 (_ewk_view_4b_move_line_left):
157 (_ewk_view_4b_move_line_right):
158 (_ewk_view_4b_move_region_left):
159 (_ewk_view_4b_move_region_right):
160 (_ewk_view_4b_move_region):
161 (_ewk_view_single_scroll_process_single):
162 (_ewk_view_single_smart_repaints_process):
163 * ewk/ewk_view_tiled.cpp:
164 (_ewk_view_tiled_smart_scrolls_process):
165 (_ewk_view_tiled_smart_repaints_process):
167 2011-11-26 Sheriff Bot <webkit.review.bot@gmail.com>
169 Unreviewed, rolling out r101193.
170 http://trac.webkit.org/changeset/101193
171 https://bugs.webkit.org/show_bug.cgi?id=73158
173 Breaks Windows and Qt minimal. (Requested by pfeldman on
176 * WebCoreSupport/InspectorClientEfl.cpp:
177 * WebCoreSupport/InspectorClientEfl.h:
179 2011-11-24 KwangHyuk Kim <hyuki.kim@samsung.com>
181 [EFL] Add implementation considering ewk_tiled_backing_store's visible status.
182 https://bugs.webkit.org/show_bug.cgi?id=71791
184 Reviewed by Gustavo Noronha Silva.
186 In order to prevent rendering and pre-rendering while backing store is hidden,
187 its visibility is checked and pre-rendering is handled whenever backing store is shown or hidden.
189 * ewk/ewk_tiled_backing_store.cpp:
190 (_ewk_tiled_backing_store_item_process_idler_start):
191 (_ewk_tiled_backing_store_item_fill):
192 (_ewk_tiled_backing_store_smart_show):
193 (_ewk_tiled_backing_store_smart_hide):
194 (ewk_tiled_backing_store_add):
196 2011-11-22 Pavel Feldman <pfeldman@google.com>
198 Web Inspector: remove Inspector::bringToFront from the protocol.
199 https://bugs.webkit.org/show_bug.cgi?id=72937
201 Reviewed by Yury Semikhatsky.
203 * WebCoreSupport/InspectorClientEfl.cpp:
204 (WebCore::InspectorClientEfl::bringFrontendToFront):
205 * WebCoreSupport/InspectorClientEfl.h:
207 2011-11-21 Raphael Kubo da Costa <kubo@profusion.mobi>
209 [EFL] Add more appcache functions to ewk_settings.
210 https://bugs.webkit.org/show_bug.cgi?id=72143
212 Reviewed by Kenneth Rohde Christiansen.
214 Add a few more functions to make it possible to have more control over
215 the offline web application features.
217 * ewk/ewk_settings.cpp:
218 (ewk_settings_application_cache_max_quota_get):
219 (ewk_settings_application_cache_max_quota_set):
220 (ewk_settings_application_cache_clear):
221 * ewk/ewk_settings.h:
223 2011-10-17 Antonio Gomes <agomes@rim.com>
225 Pass a Frame* parameter in EditorClient::respondToChangedSelection
226 https://bugs.webkit.org/show_bug.cgi?id=70248
228 Reviewed by Ryosuke Niwa.
230 * WebCoreSupport/EditorClientEfl.cpp: Make use of the newly added Frame* parameter.
231 (WebCore::EditorClientEfl::respondToChangedSelection):
232 * WebCoreSupport/EditorClientEfl.h:
234 2011-11-17 KwangHyuk Kim <hyuki.kim@samsung.com>
236 [EFL] Add matrix list to reuse tile matrix for each different zoom level.
237 https://bugs.webkit.org/show_bug.cgi?id=68595
239 Reviewed by Kenneth Rohde Christiansen.
241 Add matrix list to keep each tile matrix corresponding to each different zoom level when zoom level is changed.
242 Then backing store can reuse tile matrix by getting it from this matrix list.
244 * ewk/ewk_tiled_backing_store.cpp:
245 (_ewk_tiled_backing_store_model_matrix_create):
246 (_ewk_tiled_backing_store_smart_calculate):
247 (_ewk_tiled_backing_store_zoom_set_internal):
248 * ewk/ewk_tiled_matrix.cpp:
249 (ewk_tile_matrix_entry_get):
250 (_ewk_tile_matrix_cell_free):
251 (_ewk_tile_matrix_tile_free):
252 (ewk_tile_matrix_new):
253 (ewk_tile_matrix_zoom_level_set):
254 (ewk_tile_matrix_invalidate):
255 (ewk_tile_matrix_free):
256 (ewk_tile_matrix_tile_new):
257 * ewk/ewk_tiled_matrix.h:
259 2011-11-17 Raphael Kubo da Costa <kubo@profusion.mobi>
261 [EFL] Clean up the use of DATA_DIR in the buildsystem
262 https://bugs.webkit.org/show_bug.cgi?id=72681
264 Reviewed by Daniel Bates.
266 Instead of messing with BUILD_DATA_DIR and PARENT_SCOPE, just use
267 THEME_BINARY_DIR as defined in OptionsEfl.cmake.
271 2011-11-16 Gyuyoung Kim <gyuyoung.kim@samsung.com>
273 [EFL] Use standard booleand data type in struct.
274 https://bugs.webkit.org/show_bug.cgi?id=72565
276 Reviewed by Martin Robinson.
278 Change *Eina_Bool* usages with *bool* in member variables of internal struct.
280 * ewk/ewk_contextmenu.cpp:
282 * ewk/ewk_tiled_backing_store.cpp:
285 2011-11-16 Raphael Kubo da Costa <kubo@profusion.mobi>
287 [EFL] Add ewk_settings_memory_cache_clear().
288 https://bugs.webkit.org/show_bug.cgi?id=72141
290 Reviewed by Kenneth Rohde Christiansen.
292 This is the same as Qt's QWebSettings::clearMemoryCaches() and is
293 responsible for clearing, among others, the page, memory and font
296 * ewk/ewk_settings.cpp:
297 (ewk_settings_memory_cache_clear):
298 * ewk/ewk_settings.h:
300 2011-11-16 Raphael Kubo da Costa <kubo@profusion.mobi>
302 [EFL] Clean up the web database-related functions in ewk_settings.
303 https://bugs.webkit.org/show_bug.cgi?id=72139
305 Reviewed by Kenneth Rohde Christiansen.
307 Mostly remove some unnecessary ENABLE(SQL_DATABASE) checks and use a
308 more standard naming scheme for the related static variables.
310 * ewk/ewk_settings.cpp:
311 (ewk_settings_web_database_default_quota_get):
312 (ewk_settings_web_database_path_set):
313 (ewk_settings_web_database_path_get):
314 * ewk/ewk_settings.h: Document the default web database path on disk.
316 2011-11-16 Raphael Kubo da Costa <kubo@profusion.mobi>
318 [EFL] Clean up the offline apps-related functions in ewk_settings.
319 https://bugs.webkit.org/show_bug.cgi?id=72132
321 Reviewed by Kenneth Rohde Christiansen.
323 `ewk_settings_cache' and `ewk_view_setting_cache' are too common
324 prefixes for code that is related only to the HTML5 app cache
327 Use `ewk_settings_application_cache' and
328 `ewk_view_setting_application_cache' instead.
330 While here, improve the documentation and use a more common naming
331 scheme for the static variable which holds the cache path.
335 * ewk/ewk_settings.cpp:
336 (ewk_settings_application_cache_path_set):
337 (ewk_settings_application_cache_path_get):
338 * ewk/ewk_settings.h:
340 (ewk_view_setting_application_cache_get):
341 (ewk_view_setting_application_cache_set):
344 2011-11-15 Anders Carlsson <andersca@apple.com>
346 HostWindow screenToWindow/windowToScreen should be screenToRootView/rootViewToScreen
347 https://bugs.webkit.org/show_bug.cgi?id=72397
349 Reviewed by Dan Bernstein.
351 * WebCoreSupport/ChromeClientEfl.cpp:
352 (WebCore::ChromeClientEfl::rootViewToScreen):
353 (WebCore::ChromeClientEfl::screenToRootView):
354 * WebCoreSupport/ChromeClientEfl.h:
356 2011-11-14 Anders Carlsson <andersca@apple.com>
358 HostWindow invalidation functions should use root view coordinates
359 https://bugs.webkit.org/show_bug.cgi?id=72338
361 Reviewed by Dan Bernstein.
363 * WebCoreSupport/ChromeClientEfl.cpp:
364 (WebCore::ChromeClientEfl::invalidateRootView):
365 (WebCore::ChromeClientEfl::invalidateContentsAndRootView):
366 (WebCore::ChromeClientEfl::invalidateContentsForSlowScroll):
367 * WebCoreSupport/ChromeClientEfl.h:
369 2011-11-15 Grzegorz Czajkowski <g.czajkowski@samsung.com>
371 [EFL] Use EINA_SAFETY_ON_NULL_RETURN_VAL for NULL checks instead of EINA_SAFETY_ON_FALSE_RETURN_VAL.
372 https://bugs.webkit.org/show_bug.cgi?id=70091
374 Reviewed by Filip Pizlo.
376 Replaces EINA_SAFETY_ON_FALSE_RETURN_VAL by EINA_SAFETY_ON_NULL_RETURN_VAL for NULL checks in compliance
377 with WebKit-EFL functions.
380 (ewk_frame_contents_set):
381 (ewk_frame_contents_alternate_set):
383 2011-11-14 Jongseok Yang <js45.yang@samsung.com>
385 [EFL] Update ewk_frame_script_execute to return the result for JavaScript
386 https://bugs.webkit.org/show_bug.cgi?id=65972
388 Reviewed by Antonio Gomes.
390 It executes the javascript and converts the result to a string using toString.
391 And it returns the memory-allocated pointer for the value.
394 (ewk_frame_script_execute):
397 2011-11-13 Raphael Kubo da Costa <kubo@profusion.mobi>
399 [EFL] Improve the documentation of ewk_view_setting_local_storage_*.
400 https://bugs.webkit.org/show_bug.cgi?id=72135
402 Reviewed by Kenneth Rohde Christiansen.
404 Add some "see also" pointers, mention the default paths used for local
405 storage and document how things will not be persisted to disk if a
406 storage path is not set.
410 2011-11-13 Raphael Kubo da Costa <kubo@profusion.mobi>
412 [EFL] Simplify eina_stringshare usage in ewk_settings.
413 https://bugs.webkit.org/show_bug.cgi?id=72127
415 Reviewed by Kenneth Rohde Christiansen.
417 Actually use the eina_stringshare functions in a sane way.
419 * ewk/ewk_settings.cpp:
420 (ewk_settings_web_database_path_set): Just use
421 eina_stringshare_replace instead of doing needless checks and using
422 eina_stringshare_add.
423 (ewk_settings_cache_directory_path_set): Ditto.
424 (ewk_settings_icon_database_path_set): Ditto and always call
425 eina_stringshare_del, as passing NULL to it is just a NOP.
427 2011-11-11 JungJik Lee <jungjik.lee@samsung.com>
429 [EFL] Remove unused flags in pre-render implementation
430 https://bugs.webkit.org/show_bug.cgi?id=65504
432 The high priority pre-render flag was not used anywhere,
433 so we can get rid of the whole concept and always consider the requests have low priority
435 Reviewed by Daniel Bates.
437 * ewk/ewk_tiled_backing_store.cpp:
438 (_ewk_tiled_backing_store_pre_render_request_add):
439 (ewk_tiled_backing_store_pre_render_region):
440 (ewk_tiled_backing_store_pre_render_relative_radius):
442 2011-11-09 Raphael Kubo da Costa <kubo@profusion.mobi>
444 [EFL] Remove unnecessary casts when creating the WebCoreSupport objects in ewk_view.
445 https://bugs.webkit.org/show_bug.cgi?id=71891
447 Reviewed by Antonio Gomes.
449 This is C++ code, there is no need to cast the new objects to their
450 parents when creating them.
453 (_ewk_view_priv_new):
455 2011-11-09 Tomasz Morawski <t.morawski@samsung.com>
457 [EFL] Removed unused variable
458 https://bugs.webkit.org/show_bug.cgi?id=71877
460 Reviewed by Andreas Kling.
462 Removed unused rect variable declaration and renamed rect1 variable to rect.
464 * ewk/ewk_tiled_backing_store.cpp:
465 (_ewk_tiled_backing_store_smart_calculate):
467 2011-11-07 Gyuyoung Kim <gyuyoung.kim@samsung.com>
469 [EFL] Need to replace api's object parameter with proper name.
470 https://bugs.webkit.org/show_bug.cgi?id=71553
472 Fix wrong parameter names in tiled backing store functions and ewk_view_xxx files.
474 Reviewed by Filip Pizlo.
476 * ewk/ewk_tiled_backing_store.cpp:
477 * ewk/ewk_view_single.cpp:
478 * ewk/ewk_view_tiled.cpp:
480 2011-11-07 Raphael Kubo da Costa <kubo@profusion.mobi>
482 [EFL] Emit the "frame,created" signal earlier.
483 https://bugs.webkit.org/show_bug.cgi?id=71696
485 Reviewed by Kenneth Rohde Christiansen.
487 FrameLoader::loadURLIntoChildFrame will trigger the machinery that will call
488 FrameLoaderClientEfl::dispatchDidStartProvisionalLoad. However, since we were
489 emitting the "frame,created" signal after that, applications would connect to
490 it after some other frame signals had already been emitted. Should help tests
491 such as http/tests/loading/empty-subframe.html pass.
494 (ewk_frame_child_add):
496 (ewk_view_frame_create):
498 2011-11-04 Raphael Kubo da Costa <kubo@profusion.mobi>
500 [EFL] DRT: Fix the order of the items in the dumped history list.
501 https://bugs.webkit.org/show_bug.cgi?id=71562
503 It did not make much sense to hold the history list in a map, as we do not need
504 the keys. And the printed items must be sorted by target, which is more easily
507 Should make tests such as http/tests/navigation/error404-frames.html pass.
509 Reviewed by Antonio Gomes.
511 * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
512 (DumpRenderTreeSupportEfl::childHistoryItems):
513 * WebCoreSupport/DumpRenderTreeSupportEfl.h:
515 2011-11-04 Gyuyoung Kim <gyuyoung.kim@samsung.com>
517 [EFL] Use standard booleand data type.
518 https://bugs.webkit.org/show_bug.cgi?id=71433
520 This is a fourth step in order to be more compliant with WebKit coding style.
521 Use standard boolean data type instead of efl boolean data type. It makes efl port
522 is more close to webkit coding style.
524 Reviewed by Zoltan Herczeg.
526 * WebCoreSupport/ChromeClientEfl.cpp:
527 * WebCoreSupport/FrameLoaderClientEfl.cpp:
528 * ewk/ewk_contextmenu.cpp:
529 * ewk/ewk_cookies.cpp:
531 * ewk/ewk_history.cpp:
534 * ewk/ewk_network.cpp:
536 * ewk/ewk_protocol_handler.cpp:
537 * ewk/ewk_protocol_handler_soup.cpp:
538 * ewk/ewk_settings.cpp:
539 * ewk/ewk_tiled_backing_store.cpp:
540 * ewk/ewk_tiled_matrix.cpp:
541 * ewk/ewk_tiled_model.cpp:
544 * ewk/ewk_view_single.cpp:
545 * ewk/ewk_view_tiled.cpp:
547 2011-11-03 Tomasz Morawski <t.morawski@samsung.com>
549 [EFL] Added ewk_tile_memory_size_get function
550 https://bugs.webkit.org/show_bug.cgi?id=71213
552 Reviewed by Anders Carlsson.
554 Added the ewk_tile_memory_size_get function returns size of used memory by given tile. Simplify and cleanup
557 * ewk/ewk_tiled_model.cpp:
558 (ewk_tile_memory_size_get):
559 (ewk_tile_unused_cache_flush):
560 (ewk_tile_unused_cache_tile_get):
561 (ewk_tile_unused_cache_tile_put):
562 * ewk/ewk_tiled_model.h:
564 2011-11-03 Darin Adler <darin@apple.com>
566 Change remaining callers of releaseRef to call leakRef
567 https://bugs.webkit.org/show_bug.cgi?id=71422
569 Reviewed by Darin Fisher.
571 * ewk/ewk_history.cpp:
572 (ewk_history_item_new): Use leakRef.
574 2011-11-02 Darin Adler <darin@apple.com>
576 Change remaining callers of releaseRef to call leakRef
577 https://bugs.webkit.org/show_bug.cgi?id=71422
579 Reviewed by Darin Fisher.
581 * ewk/ewk_history.cpp:
582 (ewk_history_item_new): Use leakRef.
584 2011-11-03 Mark Hahnenberg <mhahnenberg@apple.com>
586 De-virtualize JSObject::className
587 https://bugs.webkit.org/show_bug.cgi?id=71428
589 Reviewed by Sam Weinig.
591 Added className to the MethodTable, changed all the virtual
592 implementations of className to static ones, and replaced
593 all call sites with corresponding lookups in the MethodTable.
596 (ewk_js_npobject_to_object):
598 2011-11-03 Fady Samuel <fsamuel@chromium.org>
600 Removing line in computeViewportAttributes that enforces a minimum scale factor to never allow zooming out more than viewport
601 https://bugs.webkit.org/show_bug.cgi?id=70609
603 Reviewed by Kenneth Rohde Christiansen.
606 (_ewk_view_viewport_attributes_compute):
608 2011-11-03 Dongwoo Im <dw.im@samsung.com>
610 [EFL] Enable the Page Visibility API.
611 https://bugs.webkit.org/show_bug.cgi?id=69127
613 Reviewed by Adam Barth.
615 Implement methods to enable the Page Visibility API on EFL port.
616 (http://www.w3.org/TR/page-visibility)
618 When the visibility status of the page is changed, browser could
619 inform the status to WebKit using the APIs below.
621 * ewk/ewk_view.cpp: Add setter/getter functions to query/set page visibility state.
622 (ewk_view_visibility_state_set): Sets the page visibility status.
623 (ewk_view_visibility_state_get): Gets the page visibility status.
624 * ewk/ewk_view.h: Add public prototypes.
626 2011-11-02 Tom Sepez <tsepez@chromium.org>
629 https://bugs.webkit.org/show_bug.cgi?id=70973
631 Reviewed by Adam Barth.
633 * WebCoreSupport/FrameLoaderClientEfl.cpp:
634 (WebCore::FrameLoaderClientEfl::didDetectXSS):
635 * WebCoreSupport/FrameLoaderClientEfl.h:
637 2011-11-02 Ryuan Choi <ryuan.choi@samsung.com>
639 [EFL] Fix build break when DEBUG_MEM_LEAKS is enabled.
640 https://bugs.webkit.org/show_bug.cgi?id=71349
642 Unreviewed build fix.
644 * ewk/ewk_tiled_backing_store.cpp:
645 (_ewk_tiled_backing_store_smart_del): remove wrong assignment
646 * ewk/ewk_tiled_matrix.cpp: define __STDC_FORMAT_MACROS to use PRIu64
647 (ewk_tile_matrix_free): s/tileMatrixm/tileMatrix
648 (ewk_tile_matrix_dbg): s/tm/tileMatrix
649 * ewk/ewk_tiled_model.cpp: define __STDC_FORMAT_MACROS to use PRIu64
650 (_ewk_tile_account_get): remove REALLOC_OR_OOM_RET
652 2011-11-02 ChangSeok Oh <shivamidow@gmail.com>
654 [EFL] Dirty area is not updated with requestAnimationFrame.
655 https://bugs.webkit.org/show_bug.cgi?id=70170
657 Some additional dirty areas caused by re-layout have ignored
658 since updateLayoutAndSytleIfNeedeRecursive is called after gathering dirty area to repaint.
659 So ewk_view_layout_if_needed_recursive is relocated before getting dirty areas.
661 Reviewed by Eric Seidel.
663 * ewk/ewk_view_single.cpp:
664 (_ewk_view_single_smart_repaints_process):
666 2011-10-31 Raphael Kubo da Costa <kubo@profusion.mobi>
668 [EFL] Rename ewk_view_setting_scripts_window_open_{get,set} after r93833
669 https://bugs.webkit.org/show_bug.cgi?id=71228
671 Reviewed by Antonio Gomes.
673 r93833 has introduced
674 ewk_view_setting_scripts_can_close_windows_{get,set}, but its
675 counterpart to allow scripts to open windows kept its weird name.
677 This makes the functions to allow windows to open and close windows to
678 have confusingly different name patterns.
681 (_ewk_view_priv_new):
682 (ewk_view_setting_scripts_can_open_windows_get):
683 (ewk_view_setting_scripts_can_open_windows_set):
686 2011-10-31 Tomasz Morawski <t.morawski@samsung.com>
688 [EFL] Make cache flush when max size of cache has been changed
689 https://bugs.webkit.org/show_bug.cgi?id=70805
691 Reviewed by Ryosuke Niwa.
693 Calls the ewk_tile_unused_cache_auto_flush function after changing max
694 size of cache when ewk_tile_unused_cache_max_set is called. Without
695 this change when new value is lower than the old one the cache may use
696 more memory than max value set. This situation is not expected by the
699 * ewk/ewk_tiled_model.cpp:
700 (ewk_tile_unused_cache_max_set):
702 2011-10-28 Jochen Eisinger <jochen@chromium.org>
704 Rename a number of methods mentioning JavaScript to just Script instead
705 https://bugs.webkit.org/show_bug.cgi?id=71105
707 Reviewed by Adam Barth.
709 * WebCoreSupport/FrameLoaderClientEfl.cpp:
710 (WebCore::FrameLoaderClientEfl::dispatchDidClearWindowObjectInWorld):
712 (_ewk_view_priv_new):
713 (ewk_view_setting_enable_scripts_set):
715 2011-10-27 Gustavo Lima Chaves <glima@profusion.mobi>
717 [EFL] Fix variable renaming issue inside ewk_view.cpp
718 https://bugs.webkit.org/show_bug.cgi?id=71020
720 Unreviewed build fix.
723 (ewk_view_js_object_add):
725 2011-10-26 Zalan Bujtas <zbujtas@gmail.com>
727 Name viewport change event consistently.
728 https://bugs.webkit.org/show_bug.cgi?id=70901
730 Reviewed by Kenneth Rohde Christiansen.
732 Use ViewportPropertiesDidChange term consistently throughout WebKit.
734 * WebCoreSupport/ChromeClientEfl.cpp:
735 (WebCore::ChromeClientEfl::dispatchViewportPropertiesDidChange):
736 * WebCoreSupport/ChromeClientEfl.h:
738 2011-10-26 Grzegorz Czajkowski <g.czajkowski@samsung.com>
740 [EFL] Private function _ewk_view_viewport_attributes_compute takes an internal data of ewk_view.
741 https://bugs.webkit.org/show_bug.cgi?id=66366
743 Reviewed by Ryosuke Niwa.
745 Passes to _ewk_view_viewport_attributes_compute an internal data of ewk_view instead of the view object.
746 Adds to ewk_view_viewport_attributes_get NULL checks to avoid unexpected results since this is API.
749 (_ewk_view_viewport_attributes_compute):
750 (ewk_view_viewport_attributes_get):
752 2011-10-25 KwangHyuk Kim <hyuki.kim@samsung.com>
754 Fix occurrence of unpainted tiles while scrolling and zooming.
755 https://bugs.webkit.org/show_bug.cgi?id=70711
757 Reviewed by Adam Barth.
759 Cast one of operatees to float type when ewk_tiled_backing_store calculate tiles list on viewport.
760 For the proper calculation to generate a float number, at least one of operatees must be a float type.
761 But, currently both two operatees to calculate the number of tiles on viewport routine aren't float type,
762 so it generates smaller result than expected result when it is using ceil API.
763 As a result, it can lose a line of tiles which should be displayed in viewport area while scrolling and zooming.
765 * ewk/ewk_tiled_backing_store.cpp:
766 (_ewk_tiled_backing_store_recalc_renderers):
767 (ewk_tiled_backing_store_zoom_weak_set):
769 2011-10-25 KwangHyuk Kim <hyuki.kim@samsung.com>
771 [EFL] Move assignment of some variables out of loop for ewk_tiled_backing_store.
772 https://bugs.webkit.org/show_bug.cgi?id=67588
774 Some of variables which aren't related with loop count or other variables
775 inside of loop are moved out of loop.
777 Reviewed by Adam Barth.
779 * ewk/ewk_tiled_backing_store.cpp:
780 (_ewk_tiled_backing_store_view_wrap_up):
781 (_ewk_tiled_backing_store_view_wrap_down):
782 (_ewk_tiled_backing_store_view_wrap_left):
783 (_ewk_tiled_backing_store_view_wrap_right):
785 2011-10-25 Mark Hahnenberg <mhahnenberg@apple.com>
788 https://bugs.webkit.org/show_bug.cgi?id=70740
790 Reviewed by Geoffrey Garen.
792 Removed all declarations and definitions of putVirtual.
793 Also replaced all call sites to putVirtual with a
794 corresponding lookup in the MethodTable.
797 (ewk_view_js_object_add):
799 2011-10-25 Ivan Briano <ivan@profusion.mobi>
801 [EFL] Add function to get geometry of focused element
802 https://bugs.webkit.org/show_bug.cgi?id=70728
804 Reviewed by Antonio Gomes.
806 Added function to ewk_frame to get the geometry of the focused
807 element within the frame object.
810 (ewk_frame_focused_element_geometry_get): Retrieves the geometry of
811 the focused element within the given frame object.
814 2011-10-25 Ivan Briano <ivan@profusion.mobi>
816 [EFL] Add necessary information for callback instropection
817 https://bugs.webkit.org/show_bug.cgi?id=70735
819 Reviewed by Antonio Gomes.
821 Provide the information about smart callbacks emitted by the ewk_view
822 object, so that these can be easily forwarded by other objects or used
823 by bindings in other languages without having to keep track of all of
827 (ewk_view_base_smart_set):
829 2011-10-24 Ivan Briano <ivan@profusion.mobi>
831 [EFL] Build fix. Rename all instances of a variable when it gets changed
832 https://bugs.webkit.org/show_bug.cgi?id=70732
834 Unreviewed build fix.
837 (ewk_js_property_set): s/obj/object/
839 (ewk_view_js_object_add): s/exec/executeState/
841 2011-10-21 Gyuyoung Kim <gyuyoung.kim@samsung.com>
843 [EFL] Change efl style local variables with WebKit coding Style.
844 https://bugs.webkit.org/show_bug.cgi?id=69988
846 Reviewed by Antonio Gomes.
848 Change *sd* variable name with *smartData*. Some variables were changed by Bug 69988.
851 (ewk_frame_view_get):
854 (ewk_frame_contents_size_get):
855 (ewk_frame_load_document_finished):
856 (ewk_frame_load_error):
857 (ewk_frame_title_set):
858 (ewk_frame_uri_changed):
859 (ewk_frame_editor_client_selection_changed):
860 (ewk_frame_editor_client_contents_changed):
861 (EWKPrivate::coreFrame):
863 (_ewk_view_smart_pre_render_region):
864 (_ewk_view_smart_pre_render_relative_radius):
865 (_ewk_view_smart_pre_render_cancel):
866 (_ewk_view_smart_disable_render):
867 (_ewk_view_smart_enable_render):
868 (EWKPrivate::corePage):
869 * ewk/ewk_view_single.cpp:
870 (_ewk_view_single_smart_add):
871 (_ewk_view_single_smart_resize):
873 2011-10-21 Gyuyoung Kim <gyuyoung.kim@samsung.com>
875 [EFL] Change efl style local variables with WebKit coding Style.
876 https://bugs.webkit.org/show_bug.cgi?id=69988
878 Reviewed by Antonio Gomes.
880 In common with Bug 69073, this is a third step in order to be more compliant with WebKit coding style.
881 We have used one-letter| two-letter local variable according to efl style. However, it's
882 more difficult for other reviewers to review EFL patches. So, this patch changes efl style
883 local variable with meaningful one.
885 - Use *menu* instead of *o* in comment of ewk_contextmenu.cpp.
886 - Use *list* instead of *l* local variable
887 - Use *ewkPolicy* instead of *ewk_policy* in ewk_cookies.cpp
888 - Use *smartData* instead of *sd* local variable for Ewk_XXXX_Smart_Data struct.
889 - Use *width*, *height* instead of *w*, *h* local variables.
890 - Use *scrollX*, *scrollY*, *scrollWidth*, *scrollHeight*, *centerX*, *centerY*, *deltaX*, *deltaY*,
891 *baseX*, *baseY* instead of *sx*, *sy*, *sw*, *sh*, *cx*, *cy*, *dx*, *dy*, *bx*, *by*.
892 - Use *red*, *green*, *blue*, *alpha*, *contentRed*, *contentGreen*, *contentBlue* and *contentAlpha*
893 instead of *r*,*g*,*b*,*a*,*cr*,*cg*,*cb*,*ca*.
894 - Use *tilePositionX*, *tilePositionY* instead of *ox*,*oy* in tiled backingstore files.
895 - Use *object* instead of *obj*
896 - Use *length* instead of *len*
897 - Use *coreFrame* instead of *cf*
898 - Use *buffer* instead of *buf*
899 - Use *item* instead of *i*
900 - Use *currentColumn*, *currentRow* instead of *m_col*, *m_row*
901 - Remove "_" in local variable.
904 * ewk/ewk_auth_soup.cpp:
905 * ewk/ewk_contextmenu.cpp:
906 * ewk/ewk_cookies.cpp:
908 * ewk/ewk_history.cpp:
911 * ewk/ewk_settings.cpp:
912 * ewk/ewk_tiled_backing_store.cpp:
913 * ewk/ewk_tiled_matrix.cpp:
914 * ewk/ewk_tiled_model.cpp:
917 2011-10-21 Grzegorz Czajkowski <g.czajkowski@samsung.com>
919 [EFL] ewk_view_mode_get uses dedicated macros instead of standard NULL checking.
920 https://bugs.webkit.org/show_bug.cgi?id=65680
922 Reviewed by Ryosuke Niwa.
924 Generally API methods using macros NULL checking in WebKit-EFL.
925 The macros ensure that code is smaller, version of view object
926 is checked and error message is displayed if NULL is passed.
931 2011-10-19 Rafael Antognolli <antognolli@profusion.mobi>
933 [EFL] Fix typos on ewk_view and ewk_js.
934 https://bugs.webkit.org/show_bug.cgi?id=70430
936 Unreviewed build fix.
938 Fixes for typos that were introduced when renaming variables to follow
942 (ewk_js_property_set):
944 (ewk_js_npobject_to_object):
946 (ewk_js_object_invoke):
947 (ewk_js_object_type_get):
948 (ewk_js_object_type_set):
949 (ewk_js_variant_free):
951 (ewk_view_js_object_add):
953 2011-10-18 Raphael Kubo da Costa <kubo@profusion.mobi>
955 [EFL] DRT: Clear list of visited pages before each test.
956 https://bugs.webkit.org/show_bug.cgi?id=70355
958 Reviewed by Antonio Gomes.
960 Add ewk_history_clear as a way to clear the list of visited pages in a
961 Ewk_History, in a similar fashion to Qt's QWebHistory::clear().
963 * ewk/ewk_history.cpp:
967 2011-10-18 Grzegorz Czajkowski <g.czajkowski@samsung.com>
969 [EFL] Remove const modifier from ctx_menu functions.
970 https://bugs.webkit.org/show_bug.cgi?id=70090
972 Reviewed by Andreas Kling.
974 Functions ewk_context_menu_show and ewk_context_menu_custom_get
975 have got const modifer to ensure that Ewk_Context_Menu won't be
976 changed. The methods emit events through
977 evas_object_smart_callback_call with Ewk_Context_Menu as parameter
978 which is converted to void *. In this case an application which
979 receives those events may change Ewk_Context_Menu.
981 Additionaly the name of ewk_context_menu_custom_get has been changed
982 to ewk_context_menu_customize because an application is able to
983 modify the items of context menu.
985 * ewk/ewk_contextmenu.cpp:
986 (ewk_context_menu_customize):
987 (ewk_context_menu_show):
990 2011-10-17 Raphael Kubo da Costa <kubo@profusion.mobi>
992 [EFL] Expose the kit() frame function to the rest of ewk.
993 https://bugs.webkit.org/show_bug.cgi?id=70253
995 Reviewed by Antonio Gomes.
997 Now that we have the EWKPrivate namespace, it makes sense to make the
998 kit() function accessible there instead of having it as a static local
999 function in ewk_frame.
1001 While on it, get rid of ewk_frame_core_get, which is obsolete after
1002 EWKPrivate::coreFrame.
1004 * WebCoreSupport/EditorClientEfl.cpp:
1005 (WebCore::EditorClientEfl::respondToChangedSelection):
1006 * WebCoreSupport/FrameLoaderClientEfl.cpp:
1007 (WebCore::FrameLoaderClientEfl::callPolicyFunction):
1008 (WebCore::FrameLoaderClientEfl::dispatchDecidePolicyForNewWindowAction):
1009 (WebCore::FrameLoaderClientEfl::dispatchDecidePolicyForNavigationAction):
1010 (WebCore::FrameLoaderClientEfl::didTransferChildFrameToNewDocument):
1011 (WebCore::FrameLoaderClientEfl::dispatchDidClearWindowObjectInWorld):
1012 (WebCore::FrameLoaderClientEfl::dispatchCreatePage):
1013 (WebCore::FrameLoaderClientEfl::createNetworkingContext):
1014 * ewk/ewk_frame.cpp:
1015 (_ewk_frame_loader_efl_get):
1016 (_ewk_frame_children_iterator_next):
1017 (ewk_frame_child_find):
1018 (ewk_frame_hit_test_new):
1019 (EWKPrivate::kitFrame):
1020 * ewk/ewk_private.h:
1022 (ewk_view_setting_encoding_custom_get):
1023 (ewk_view_setting_encoding_custom_set):
1025 2011-10-17 Raphael Kubo da Costa <kubo@profusion.mobi>
1027 [EFL] Do not check for Frame::contentRenderer() in ewk_view_repaint.
1028 https://bugs.webkit.org/show_bug.cgi?id=70118
1030 Reviewed by Kenneth Rohde Christiansen.
1032 When we have a scrollbar with an actual width, there might be a call
1033 to ChromeClientEfl::invalidateContentsAndWindow() after
1034 Document::detach() was called, making the call to contentRenderer()
1035 return 0 even though everything is fine.
1037 Example test case: animations/animation-shorthand.html.
1042 2011-10-17 Raphael Kubo da Costa <kubo@profusion.mobi>
1044 [EFL] Set a default charset when creating a view.
1045 https://bugs.webkit.org/show_bug.cgi?id=69771
1047 Reviewed by Antonio Gomes.
1049 Most (or all) ports default to iso-8859-1 when creating a view (or their
1050 equivalent of a view), so we should do that too.
1052 This makes fast/dom/Document/document-charset.html pass.
1055 (_ewk_view_priv_new):
1057 2011-10-14 Mark Hahnenberg <mhahnenberg@apple.com>
1059 Rename virtual put to putVirtual
1060 https://bugs.webkit.org/show_bug.cgi?id=69851
1062 Reviewed by Darin Adler.
1064 Renamed virtual versions of put to putVirtual in prepration for
1065 adding the static put to the MethodTable in ClassInfo since the
1066 compiler gets mad if the virtual and static versions have the same
1070 (ewk_view_js_object_add):
1072 2011-10-14 Mark Hahnenberg <mhahnenberg@apple.com>
1074 Rename virtual put to putVirtual
1075 https://bugs.webkit.org/show_bug.cgi?id=69851
1077 Reviewed by Darin Adler.
1079 Renamed virtual versions of put to putVirtual in prepration for
1080 adding the static put to the MethodTable in ClassInfo since the
1081 compiler gets mad if the virtual and static versions have the same
1085 (ewk_view_js_object_add):
1087 2011-10-14 Raphael Kubo da Costa <kubo@profusion.mobi>
1089 [EFL] Bump class version after r97421.
1090 https://bugs.webkit.org/show_bug.cgi?id=70102
1092 Reviewed by Joseph Pecoraro.
1094 r97421 changed the signature of the run_open_panel virtual method in
1095 Ewk_Smart_Class, so we need to bump the class version.
1099 2011-10-14 Raphael Kubo da Costa <kubo@profusion.mobi>
1101 [EFL] Add DumpRenderTreeSupportEfl
1102 https://bugs.webkit.org/show_bug.cgi?id=68458
1104 Reviewed by Kenneth Rohde Christiansen.
1106 This class is similar to their counterparts present in the Qt and GTK+
1107 ports, and it is responsible for providing an interface to certain
1108 WebCore methods needed by DumpRenderTree.
1110 * CMakeListsEfl.txt: Conditionally add the svg directories to the
1112 * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: Added.
1113 (DumpRenderTreeSupportEfl::DumpRenderTreeSupportEfl):
1114 (DumpRenderTreeSupportEfl::~DumpRenderTreeSupportEfl):
1115 (DumpRenderTreeSupportEfl::activeAnimationsCount):
1116 (DumpRenderTreeSupportEfl::clearFrameName):
1117 (DumpRenderTreeSupportEfl::clearOpener):
1118 (DumpRenderTreeSupportEfl::counterValueByElementId):
1119 (DumpRenderTreeSupportEfl::frameChildren):
1120 (DumpRenderTreeSupportEfl::frameParent):
1121 (DumpRenderTreeSupportEfl::layoutFrame):
1122 (DumpRenderTreeSupportEfl::numberOfPages):
1123 (DumpRenderTreeSupportEfl::numberOfPagesForElementId):
1124 (DumpRenderTreeSupportEfl::pauseAnimation):
1125 (DumpRenderTreeSupportEfl::pauseSVGAnimation):
1126 (DumpRenderTreeSupportEfl::pauseTransition):
1127 (DumpRenderTreeSupportEfl::pendingUnloadEventCount):
1128 (DumpRenderTreeSupportEfl::renderTreeDump):
1129 (DumpRenderTreeSupportEfl::responseMimeType):
1130 (DumpRenderTreeSupportEfl::resumeAnimations):
1131 (DumpRenderTreeSupportEfl::selectionRectangle):
1132 (DumpRenderTreeSupportEfl::suitableDRTFrameName):
1133 (DumpRenderTreeSupportEfl::suspendAnimations):
1134 (DumpRenderTreeSupportEfl::findString):
1135 (DumpRenderTreeSupportEfl::garbageCollectorCollect):
1136 (DumpRenderTreeSupportEfl::garbageCollectorCollectOnAlternateThread):
1137 (DumpRenderTreeSupportEfl::javaScriptObjectsCount):
1138 (DumpRenderTreeSupportEfl::workerThreadCount):
1139 (DumpRenderTreeSupportEfl::childHistoryItems):
1140 (DumpRenderTreeSupportEfl::historyItemTarget):
1141 (DumpRenderTreeSupportEfl::isTargetItem):
1142 (DumpRenderTreeSupportEfl::setMockScrollbarsEnabled):
1143 * WebCoreSupport/DumpRenderTreeSupportEfl.h: Added.
1144 * ewk/ewk_frame.cpp:
1145 (EWKPrivate::coreFrame): Export the WebCore::Frame* related to an
1147 * ewk/ewk_history.cpp: Remove functions which have been moved to
1148 DumpRenderTreeSupportEfl.
1149 (_ewk_history_item_list_get): _ewk_history_item_new ->
1150 ewk_history_item_new_from_core.
1151 (ewk_history_history_item_back_get): Ditto.
1152 (ewk_history_history_item_current_get): Ditto.
1153 (ewk_history_history_item_forward_get): Ditto.
1154 (ewk_history_history_item_nth_get): Ditto.
1155 (ewk_history_item_new): Ditto.
1156 (ewk_history_item_new_from_core): Rename from _ewk_history_item_new.
1157 (EWKPrivate::coreHistoryItem): Export the WebCore::HistoryItem*
1158 related to an Ewk_History_Item.
1159 * ewk/ewk_private.h: Create the EWKPrivate namespace, remove functions
1160 which have been moved to DumpRenderTreeSupportEfl.
1161 * ewk/ewk_util.cpp: Remove functions which have been moved to
1162 DumpRenderTreeSupportEfl.
1164 (EWKPrivate::corePage): Export the WebCore::Page* related to an
1167 2011-10-13 Raphael Kubo da Costa <kubo@profusion.mobi>
1169 [EFL]: Move from FileChooserSettings deprecatedAcceptType to acceptMIMETypes
1170 https://bugs.webkit.org/show_bug.cgi?id=70002
1172 Reviewed by Joseph Pecoraro.
1174 Adapt to the changes introduced in r97336 and r97338 by using a vector
1175 of strings instead of a single string in runOpenPanel().
1177 * WebCoreSupport/ChromeClientEfl.cpp:
1178 (WebCore::ChromeClientEfl::runOpenPanel):
1179 * ewk/ewk_private.h:
1181 (ewk_view_run_open_panel): Change signature; accept a Vector<String>
1182 instead of a char*. Build an Eina_List to pass for child classes.
1185 2011-10-13 Leandro Pereira <leandro@profusion.mobi>
1187 Unreviewed; revert some changes introduced in r97329 which are
1188 unrelated to the patch and reverted other patches themselves.
1190 * ewk/ewk_frame.cpp:
1191 (_ewk_frame_smart_del): Remove warning again.
1192 (ewk_frame_contents_size_get): Check for Frame and FrameView again.
1194 (_ewk_view_priv_new): Revert back default font size change.
1196 2011-10-12 Joseph Pecoraro <joepeck@webkit.org>
1198 Pass Parsed Accept Attribute MIME Types to WebKit Clients
1199 https://bugs.webkit.org/show_bug.cgi?id=69598
1201 Reviewed by Kent Tamura.
1203 EFL uses the deprecated accept string. They can switch
1204 to an Eina_List if they want to update their API.
1206 * src/ChromeClientImpl.cpp:
1207 (WebKit::ChromeClientImpl::runOpenPanel):
1209 2011-10-12 Gyuyoung Kim <gyuyoung.kim@samsung.com>
1211 [EFL] Change efl style parameter variables with WebKit coding Style
1212 https://bugs.webkit.org/show_bug.cgi?id=69073
1214 Reviewed by Antonio Gomes.
1216 This is a third step in order to be more compliant with WebKit coding style.
1217 We have used one-letter| two-letter parameter according to efl style. However, it's more difficult
1218 for other reviewers to review EFL patches. So, this patch changes efl style parameters
1219 with meaningful one.
1221 Majors changes are listed below,
1223 - Use ewkFrame instead of o parameter in ewk_frame.cpp.
1224 - Use ewkView instead of o parameter in ewk_view.cpp.
1225 - Use menu and item instead of o parameter in ewk_contextmenu.cpp.
1226 - Use ewkTile instead of o parameter in ewk_tile_xxx.cpp.
1227 - Use tile parameter name instead of t parameter in ewk_tile_xxx.cpp.
1228 - Use smartData instead of sd parameter for Ewk_XXXX_Smart_Data struct.
1229 - Use width, height instead of w, h parameter.
1230 - Use xxxEvent instead of ev parameter for event. (e.g. downEvent, upEvent, wheelEvent)
1231 - Use scrollX, scrollY, scrollWidth, scrollHeight, centerX, centerY, deltaX, deltaY instead of sx, xy, sw,
1233 - Use tileUnusedCache instead of tuc parameter in tiled backing store.
1234 - Use red, green, blue and alpha instead of r,g,b,a.
1235 - Remove "_" from parameter variable.
1236 - Run demarchi's coding style script for ewk_tile_xxx.cpp files.
1237 - Remove *void* parameter in ewk_tile_xxx.cpp's internal functions.
1239 * ewk/ewk_auth_soup.cpp:
1240 * ewk/ewk_contextmenu.cpp:
1241 * ewk/ewk_cookies.cpp:
1242 * ewk/ewk_frame.cpp:
1243 * ewk/ewk_history.cpp:
1245 * ewk/ewk_protocol_handler_soup.cpp:
1246 * ewk/ewk_settings.cpp:
1247 * ewk/ewk_tiled_backing_store.cpp:
1248 * ewk/ewk_tiled_backing_store.h:
1249 * ewk/ewk_tiled_matrix.cpp:
1250 * ewk/ewk_tiled_matrix.h:
1251 * ewk/ewk_tiled_model.cpp:
1252 * ewk/ewk_tiled_model.h:
1254 * ewk/ewk_view_single.cpp:
1255 * ewk/ewk_view_tiled.cpp:
1256 * ewk/ewk_window_features.cpp:
1258 2011-10-10 Raphael Kubo da Costa <kubo@profusion.mobi>
1260 [EFL] Do not cache a frame's contents size.
1261 https://bugs.webkit.org/show_bug.cgi?id=69772
1263 Reviewed by Antonio Gomes.
1265 As part of the process of experimenting with having scrollbars with
1266 an actual size, it became clear that setting the contents size via
1267 ChromeClient::contentsSizeChanged() and keeping the value around does
1270 Case in point: FrameView::adjustViewSize() can result in nested
1271 ScrollView::updateScrollbars() calls in which the innermost ones run
1272 ChromeClient::contentsSizeChanged() before the outermost ones. This
1273 means the ewk_frame's smart data will store an old value.
1275 * ewk/ewk_frame.cpp:
1276 (ewk_frame_contents_size_get):
1277 (ewk_frame_contents_size_changed):
1279 2011-10-09 Ryuan Choi <ryuan.choi@samsung.com>
1281 [EFL] Refactor zoom related APIs.
1282 https://bugs.webkit.org/show_bug.cgi?id=62842
1284 Current zoom apis can't support the case of using both page zoom and text
1287 As a first step to refactor, this split ewk_{view|frame}_zoom_{get|set}
1288 to use both page_zoom and text zoom individually.
1289 In addition, introduce ewk_view_scale_{get|set} to support proportional scaling.
1291 ewk_view_zoom_{get|set} will remain unchanged until the behavior of smart_zoom
1294 Reviewed by Antonio Gomes.
1296 * ewk/ewk_frame.cpp: Remove ewk_frame_zoom_text_only_{get|set}.
1297 (ewk_frame_page_zoom_get): Renamed from ewk_frame_zoom_get().
1298 (ewk_frame_page_zoom_set): Renamed from ewk_frame_zoom_set().
1299 (ewk_frame_text_zoom_get): Extracted from ewk_frame_zoom_get().
1300 (ewk_frame_text_zoom_set): Extracted from ewk_frame_zoom_set().
1302 * ewk/ewk_view.cpp: Remove ewk_view_zoom_text_only_{get|set}
1303 (_ewk_view_smart_zoom_set): Change ewk_frame_zoom_get() to ewk_frame_page_zoom_get().
1304 (ewk_view_zoom_get): Change ewk_frame_zoom_get() to ewk_frame_page_zoom_get().
1305 (ewk_view_page_zoom_get): Extracted from ewk_view_zoom_get().
1306 (ewk_view_page_zoom_set): Extracted from ewk_view_zoom_set().
1307 (ewk_view_scale_get): Added.
1308 (ewk_view_scale_set): Added.
1309 (ewk_view_text_zoom_get): Extracted from ewk_view_zoom_get().
1310 (ewk_view_text_zoom_set): Extracted from ewk_view_zoom_set().
1311 (ewk_view_zoom_weak_set): Change ewk_frame_zoom_get to ewk_frame_page_zoom_get().
1312 (ewk_view_zoom_animated_set): Change ewk_frame_zoom_get() to ewk_frame_page_zoom_get().
1313 (ewk_view_pre_render_region): Change ewk_frame_zoom_get() to ewk_frame_page_zoom_get().
1314 (ewk_view_pre_render_relative_radius): Change ewk_frame_zoom_get() to ewk_frame_page_zoom_get().
1317 2011-10-06 Gyuyoung Kim <gyuyoung.kim@samsung.com>
1319 [EFL] Change data type of parameter in ewk_view_viewport_attributes_get().
1320 https://bugs.webkit.org/show_bug.cgi?id=69505
1322 Reviewed by Andreas Kling.
1324 ewk_view_viewport_attributes_get() has used implicit casting for width and height of viewport.
1325 However, it is better to use *int* data type as parameter data type instead of *float* casting.
1328 (ewk_view_viewport_attributes_get):
1331 2011-10-04 Gyuyoung Kim <gyuyoung.kim@samsung.com>
1333 [EFL] Only set when the custom encoding is different from existing value
1334 https://bugs.webkit.org/show_bug.cgi?id=69061
1336 Reviewed by Hajime Morita.
1338 Only set the custom encoding value if it is different from the current value, to avoid
1342 (ewk_view_setting_encoding_custom_set):
1344 2011-10-04 Rémi Duraffort <remi.duraffort@st.com>
1346 [EFL] Fix compilation when SQLite and/or libxslt are not installed in /usr/include
1347 https://bugs.webkit.org/show_bug.cgi?id=69338
1349 Unreviewed build fix
1351 * CMakeListsEfl.txt:
1353 2011-10-03 Ryuan Choi <ryuan.choi@samsung.com>
1355 [EFL] Rename ewk_tiled_*.c to ewk_tiled_*.cpp
1356 https://bugs.webkit.org/show_bug.cgi?id=68599
1358 Use a C++ compiler for these files and fix compile issues and coding style.
1360 Reviewed by Hajime Morita.
1362 * CMakeListsEfl.txt:
1363 * ewk/ewk_tiled_backing_store.cpp: Renamed from Source/WebKit/efl/ewk/ewk_tiled_backing_store.c.
1364 * ewk/ewk_tiled_backing_store.h:
1365 * ewk/ewk_tiled_matrix.cpp: Renamed from Source/WebKit/efl/ewk/ewk_tiled_matrix.c.
1366 * ewk/ewk_tiled_model.cpp: Renamed from Source/WebKit/efl/ewk/ewk_tiled_model.c.
1368 2011-09-29 Gyuyoung Kim <gyuyoung.kim@samsung.com>
1370 [EFL] Use C++ type cast instead of C style type cast
1371 https://bugs.webkit.org/show_bug.cgi?id=68321
1373 Reviewed by Martin Robinson.
1375 This is a second step in order to be more compliant with WebKit coding style.
1376 The second step is to change C-type casting with C++-type casting in .cpp files.
1378 In addition, remained efl style '*' pointer placements are moved to the right place as well.
1380 * ewk/ewk_auth_soup.cpp:
1381 * ewk/ewk_contextmenu.cpp:
1382 * ewk/ewk_frame.cpp:
1383 * ewk/ewk_history.cpp:
1385 * ewk/ewk_view_single.cpp:
1386 * ewk/ewk_view_tiled.cpp:
1388 2011-09-29 Raphael Kubo da Costa <kubo@profusion.mobi>
1390 [EFL] API to get plain text of the frame
1391 https://bugs.webkit.org/show_bug.cgi?id=67114
1393 Reviewed by Ryosuke Niwa.
1395 Add a function to return a frame's contents converted to plain text,
1396 as already exposed by other ports and needed by DRT when dumping a
1399 * ewk/ewk_frame.cpp:
1400 (ewk_frame_plain_text_get):
1403 2011-09-28 KwangHyuk Kim <hyuki.kim@samsung.com>
1405 [EFL] Remove useless assignment code in _ewk_tiled_backing_store_zoom_set_internal.
1406 https://bugs.webkit.org/show_bug.cgi?id=68594
1408 As the 1st assignment of local variable bx in _ewk_tiled_backing_store_zoom_set_internal
1409 isn't effective at all, this patch just removes it.
1411 Reviewed by Ryosuke Niwa.
1413 * ewk/ewk_tiled_backing_store.c:
1414 (_ewk_tiled_backing_store_zoom_set_internal):
1416 2011-09-28 Gyuyoung Kim <gyuyoung.kim@samsung.com>
1418 [EFL] Remove *void* parameter in internal functions
1419 https://bugs.webkit.org/show_bug.cgi?id=68867
1421 Reviewed by Andreas Kling.
1423 As a step to let ewk be compliant with webkit coding style,
1424 we need to remove *void* parameter in internal functions.
1426 * ewk/ewk_private.h:
1427 * ewk/ewk_settings.cpp:
1428 (ewk_settings_web_database_default_quota_get):
1432 2011-09-28 Grzegorz Czajkowski <g.czajkowski@samsung.com>
1434 [EFL] Allow to skip count parameter in ewk_view_repaints_get and ewk_view_scroll_requests_get.
1435 https://bugs.webkit.org/show_bug.cgi?id=65842
1437 Reviewed by Ryosuke Niwa.
1439 Makes the count parameter in ewk_view_repaints_get and ewk_view_scroll_requests_get
1440 as an optional parameter. Developer may pass NULL to skip returning the number of elements
1441 of the requested array.
1444 (ewk_view_repaints_get):
1445 (ewk_view_scroll_requests_get):
1447 2011-09-28 Grzegorz Czajkowski <g.czajkowski@samsung.com>
1449 [EFL] URL of resources are not decoded.
1450 https://bugs.webkit.org/show_bug.cgi?id=66540
1452 Reviewed by Ryosuke Niwa.
1454 Fix ewk_frame_resources_location_get which was returning the encoded URL of resources.
1455 As a result characters for instance, %20 occurred. For now returned strings are decoded.
1457 * ewk/ewk_frame.cpp:
1458 (ewk_frame_resources_location_get):
1460 2011-09-27 Raphael Kubo da Costa <kubo@profusion.mobi>
1462 [EFL] Make ewk_view emit the "load,document,finished" signal.
1463 https://bugs.webkit.org/show_bug.cgi?id=66782
1465 Reviewed by Antonio Gomes.
1467 Currently, only ewk_frame emits the "load,document,finished" signal
1468 when FrameLoaderClientEfl::dispatchDidFinishDocumentLoad() calls
1469 ewk_frame_load_document_finished().
1471 However, in some cases it is not even possible to connect to the
1472 "frame,created" signal to properly monitor the
1473 "load,document,finished" signal, as the former is not emitted.
1474 fast/frames/frame-unload-crash.html, for example, has a page with an
1475 iframe inside an iframe, and this innermost iframe does not seem to be
1476 loaded via FrameLoaderClientEfl::createFrame (which calls all the
1477 machinery which then emits the "frame,created" signal).
1479 We now make ewk_frame_load_document_finished() call the newly-created
1480 ewk_view_load_document_finished() function, whose job is to emit the
1481 "load,document,signal" with the frame as its parameter. This way, one
1482 can just connect to the view and make sure all the signals will get
1485 * ewk/ewk_frame.cpp:
1486 (ewk_frame_load_document_finished):
1487 * ewk/ewk_private.h:
1489 (ewk_view_load_document_finished):
1492 2011-09-26 Raphael Kubo da Costa <kubo@profusion.mobi>
1494 [CMake] Remove FindFreetype.cmake
1495 https://bugs.webkit.org/show_bug.cgi?id=68778
1497 Reviewed by Adam Barth.
1499 CMake has provided its own FindFreetype.cmake forever, so there is no
1500 need to have another implementation in WebKit.
1502 * CMakeListsEfl.txt: Use FREETYPE_{LIBRARIES,INCLUDE_DIRS} instead of
1503 Freetype_{LIBRARIES,INCLUDE_DIRS}.
1505 2011-09-26 Lucas De Marchi <lucas.demarchi@profusion.mobi>
1507 [EFL] Add virtual method to notify user when wrapping focus
1508 https://bugs.webkit.org/show_bug.cgi?id=68699
1510 Reviewed by Antonio Gomes.
1512 Add a virtual method to ewk_view, so the Chrome gets notified if we
1513 finished focusing all the items and would start over. This way the
1514 browser can decide to handle the subsequent focus changes among its
1517 * WebCoreSupport/ChromeClientEfl.cpp: call ewk_view's virtual method to
1518 give it a chance to grab focus
1519 (WebCore::ChromeClientEfl::canTakeFocus):
1520 * ewk/ewk_private.h:
1521 * ewk/ewk_view.cpp: add virtual method
1522 (ewk_view_focus_can_cycle):
1523 * ewk/ewk_view.h: add focus direction enum and virtual method
1525 2011-09-24 Adam Barth <abarth@webkit.org>
1527 Always enable ENABLE(OFFLINE_WEB_APPLICATIONS)
1528 https://bugs.webkit.org/show_bug.cgi?id=68767
1530 Reviewed by Eric Seidel.
1532 * WebCoreSupport/ChromeClientEfl.cpp:
1533 (WebCore::ChromeClientEfl::reachedApplicationCacheOriginQuota):
1534 * WebCoreSupport/ChromeClientEfl.h:
1537 * ewk/ewk_settings.cpp:
1538 (ewk_settings_cache_directory_path_set):
1539 (ewk_settings_cache_directory_path_get):
1541 2011-09-21 Lucas De Marchi <lucas.demarchi@profusion.mobi>
1543 [EFL] Revert pointer operator coding style in ewk
1544 https://bugs.webkit.org/show_bug.cgi?id=68231
1546 Reviewed by Antonio Gomes.
1548 The WebKit coding style mandates that "(...) in C++ code - Both pointer
1549 types and reference types should be written with no space between the
1550 type name and the * or &.". Until now EFL port was using the
1551 coding-style of the library for platform code instead of WebKit's.
1553 We are now trying to be more compliant with WebKit coding-style so it's
1554 easier for other reviewers to review EFL code. The first step in this
1555 direction is to move the '*' and '&' of pointers and references to the
1558 This patch was generated with 'uncrustify' with the configure file
1559 attached to the respective but report. There was one fix that had to be
1560 manually made in order to keep the 'check-webkit-style' happy: a
1561 function definition with a meaningless name. Other functions like this
1562 exist but they will be fixed by a later patch.
1564 Some nice side-effects of using uncrustify:
1566 - Whitespace cleanup on comments
1567 - Function parameters are aligned to the open parenthesis
1568 - Remove tab characters
1570 2011-09-21 Lucas De Marchi <lucas.demarchi@profusion.mobi>
1572 [EFL] Don't try to free user-provided list
1573 https://bugs.webkit.org/show_bug.cgi?id=68356
1575 Reviewed by Antonio Gomes.
1577 A coding-style cleanup revealed that we were using EINA_LIST_FREE in a
1578 wrong manner. If we intended to free the data, we should call free()
1579 (or whatever function is required to destroy it). However not only did
1580 it use the wrong EFL api but it also introduced a change in behavior,
1581 freeing user-provided data.
1583 * ewk/ewk_frame.cpp:
1584 (ewk_frame_feed_touch_event): do not free user-provided data.
1586 2011-09-21 Gyuyoung Kim <gyuyoung.kim@samsung.com>
1588 [EFL] Fix alphabetical sorting problem
1589 https://bugs.webkit.org/show_bug.cgi?id=68505
1591 Reviewed by Philippe Normand.
1593 * ewk/ewk_util.cpp: Fix wrong alphabetical sorting problem.
1595 2011-09-20 Raphael Kubo da Costa <kubo@profusion.mobi>
1597 [EFL] Call FrameLoader::detachFromParent() when destroying a frame.
1598 https://bugs.webkit.org/show_bug.cgi?id=66855
1600 Reviewed by Antonio Gomes.
1602 Most other ports call this method somewhere when the frame is being
1603 removed, as it performs some destruction calls which, in our case, at
1604 least makes sure onunload events get delivered properly in
1605 fast/frames/iframe-reparenting-adopt-node.html.
1607 * ewk/ewk_frame.cpp:
1608 (_ewk_frame_smart_del): Call FrameLoader::detachFromParent()
1610 2011-09-17 Mihai Parparita <mihaip@chromium.org>
1612 FrameLoaderClient BackForwardList-related methods are unsued
1613 https://bugs.webkit.org/show_bug.cgi?id=68293
1615 Reviewed by Darin Adler.
1617 Remove FrameLoaderClient methods that were added by r51629, since only
1618 the old (since-deleted) Android port needed them.
1620 * WebCoreSupport/FrameLoaderClientEfl.cpp:
1621 * WebCoreSupport/FrameLoaderClientEfl.h:
1623 2011-09-15 Adam Barth <abarth@webkit.org>
1625 Rename ENABLE(DATABASE) to ENABLE(SQL_DATABASE)
1626 https://bugs.webkit.org/show_bug.cgi?id=68205
1628 Reviewed by Eric Seidel.
1630 * WebCoreSupport/ChromeClientEfl.cpp:
1631 * WebCoreSupport/ChromeClientEfl.h:
1632 * ewk/ewk_settings.cpp:
1633 (ewk_settings_web_database_default_quota_get):
1634 (ewk_settings_web_database_path_set):
1635 (ewk_settings_web_database_path_get):
1637 2011-09-14 Grzegorz Czajkowski <g.czajkowski@samsung.com>
1639 [EFL] Add NULL checks to ewk_window_features_new_from_core and ewk_view_window_create.
1640 https://bugs.webkit.org/show_bug.cgi?id=64932
1642 Reviewed by Eric Seidel.
1644 It prevents the crash while allocating memory for the new window.
1647 (ewk_view_window_create):
1648 * ewk/ewk_window_features.cpp:
1649 (ewk_window_features_new_from_core):
1651 2011-09-13 Raphael Kubo da Costa <kubo@profusion.mobi>
1653 [EFL] Do not always return the cached frame name.
1654 https://bugs.webkit.org/show_bug.cgi?id=66856
1656 Reviewed by Antonio Gomes.
1658 When a frame has its parent changed (via adoptNode and appendChild,
1659 for example), the frame name will change, so we need to account for
1660 that case and change the cached name when needed.
1662 This should make fast/frames/iframe-reparenting-unique-name.html pass.
1664 * ewk/ewk_frame.cpp:
1665 (ewk_frame_name_get):
1667 2011-09-12 Flavio Ceolin <flavio.ceolin@profusion.mobi>
1669 Reviewed by Martin Robinson.
1671 [EFL] Add custom network resource handler
1672 https://bugs.webkit.org/show_bug.cgi?id=44759
1674 This patch adds support for handling user-specific protocols.
1675 It allows browsers to intercept and handle non-standard url schemes (such as preferences://)
1676 allowing to load some resource from non-http/file storage, like a tar/zip/eet.
1678 * CMakeListsEfl.txt:
1679 * ewk/ewk_protocol_handler.cpp: Added.
1680 * ewk/ewk_protocol_handler.h: Added.
1681 * ewk/ewk_protocol_handler_soup.cpp: Added.
1682 * ewk/ewk_protocol_handler_soup.h: Added.
1683 * ewk/ewk_private.h:
1685 (ewk_view_protocol_handler_set):
1686 (ewk_view_protocol_handler_unset):
1687 (ewk_view_protocol_handler_resource_get):
1690 2011-09-04 Ryuan Choi <ryuan.choi@samsung.com>
1692 [EFL] Rename ewk_view_(single|tiled).c to ewk_view_(single|tiled).cpp
1693 https://bugs.webkit.org/show_bug.cgi?id=66542
1695 Use a C++ compiler for these files, so that they can include the C++-using
1698 Reviewed by Daniel Bates.
1700 * CMakeListsEfl.txt:
1701 * ewk/ewk_view_single.cpp: Renamed from Source/WebKit/efl/ewk/ewk_view_single.c.
1702 (_ewk_view_single_on_del):
1703 (_ewk_view_single_smart_add):
1704 (_ewk_view_single_smart_backing_store_add):
1705 (_ewk_view_single_smart_resize):
1706 (_ewk_view_4b_move_region_up):
1707 (_ewk_view_4b_move_region_down):
1708 (_ewk_view_4b_move_line_left):
1709 (_ewk_view_4b_move_line_right):
1710 (_ewk_view_4b_move_region_left):
1711 (_ewk_view_4b_move_region_right):
1712 (_ewk_view_4b_move_region):
1713 (_ewk_view_single_scroll_process_single):
1714 (_ewk_view_single_smart_scrolls_process):
1715 (_ewk_view_single_smart_repaints_process):
1716 (_ewk_view_single_smart_zoom_weak_set):
1717 (_ewk_view_single_smart_zoom_weak_smooth_scale_set):
1718 (_ewk_view_single_smart_bg_color_set):
1719 (ewk_view_single_smart_set):
1720 (_ewk_view_single_smart_class_new):
1721 (ewk_view_single_add):
1722 * ewk/ewk_view_tiled.cpp: Renamed from Source/WebKit/efl/ewk/ewk_view_tiled.c.
1723 (_ewk_view_tiled_render_cb):
1724 (_ewk_view_tiled_updates_process_pre):
1725 (_ewk_view_tiled_smart_backing_store_add):
1726 (_ewk_view_tiled_contents_size_changed_cb):
1727 (_ewk_view_tiled_smart_add):
1728 (_ewk_view_tiled_smart_scrolls_process):
1729 (_ewk_view_tiled_smart_repaints_process):
1730 (_ewk_view_tiled_smart_contents_resize):
1731 (_ewk_view_tiled_smart_zoom_set):
1732 (_ewk_view_tiled_smart_zoom_weak_set):
1733 (_ewk_view_tiled_smart_zoom_weak_smooth_scale_set):
1734 (_ewk_view_tiled_smart_flush):
1735 (_ewk_view_tiled_smart_pre_render_region):
1736 (_ewk_view_tiled_smart_pre_render_relative_radius):
1737 (_ewk_view_tiled_smart_pre_render_cancel):
1738 (_ewk_view_tiled_smart_disable_render):
1739 (_ewk_view_tiled_smart_enable_render):
1740 (ewk_view_tiled_smart_set):
1741 (_ewk_view_tiled_smart_class_new):
1742 (ewk_view_tiled_add):
1743 (ewk_view_tiled_unused_cache_get):
1744 (ewk_view_tiled_unused_cache_set):
1746 2011-09-02 Leandro Pereira <leandro@profusion.mobi>
1748 Unreviewed build fix after r67110.
1751 (ewk_view_need_touch_events_get): Make the function signature match
1754 2011-09-01 Gyuyoung Kim <gyuyoung.kim@samsung.com>
1756 [EFL] Allow controlling minimum DOMTimer interval on a per-page basis
1757 https://bugs.webkit.org/show_bug.cgi?id=67012
1759 Reviewed by Kenneth Russell.
1761 Set default minimum DOMTimer interval to 4ms instead of 10ms. Because, 4ms is known
1762 to better minimum value for performance. Mac, android, chromium and window ports already
1763 use 4ms instead of 10ms.
1765 It is desirable to be able to change the minimum DOMTimer interval on per-page basis
1766 in order to avoid consuming excessive CPU and battery life on mobile devices. In addition,
1767 other ports have already used this setting by means of Bug 54312.
1771 * ewk/ewk_settings.cpp:
1772 (ewk_settings_default_timer_interval_get):
1773 * ewk/ewk_settings.h:
1775 (_ewk_view_priv_new):
1776 (ewk_view_setting_minimum_timer_interval_set):
1777 (ewk_view_setting_minimum_timer_interval_get):
1780 2011-09-01 KwangHyuk Kim <hyuki.kim@samsung.com>
1782 [EFL] Remove unused code related with priv->render.process_entire_queue in ewk_tiled_backing_store.
1783 https://bugs.webkit.org/show_bug.cgi?id=63377
1785 priv->render.process_entire_queue affects no logical flow of ewk_tiled_backing_store,
1786 But, ewk_view_tiled_process_entire_queue_set is now provided as setter api for it.
1787 So removal of this api and some codes related with it is required.
1789 Reviewed by Antonio Gomes.
1791 * ewk/ewk_tiled_backing_store.c:
1792 (_ewk_tiled_backing_store_smart_add):
1793 (ewk_tiled_backing_store_enable_render):
1794 * ewk/ewk_tiled_backing_store.h:
1796 * ewk/ewk_view_tiled.c:
1797 (ewk_view_tiled_unused_cache_set):
1799 2011-08-31 Grzegorz Czajkowski <g.czajkowski@samsung.com>
1801 [EFL] Fonts API refactoring.
1802 https://bugs.webkit.org/show_bug.cgi?id=66654
1804 Reviewed by Hajime Morita.
1806 There are too many similar API regarding to fonts.
1807 Add one consistent API to set/get the font name for the font family.
1808 Remove the previous font API.
1811 (ewk_view_font_family_name_get):
1812 (ewk_view_font_family_name_set):
1815 2011-08-30 Kaustubh Atrawalkar <kaustubh@motorola.com>
1817 The unused ScrollView* argument can and should be removed from
1819 https://bugs.webkit.org/show_bug.cgi?id=67117
1821 Reviewed by Darin Adler.
1823 * WebCoreSupport/ChromeClientEfl.h:
1824 (WebCore::ChromeClientEfl::scrollRectIntoView):
1826 2011-08-30 Grzegorz Czajkowski <g.czajkowski@samsung.com>
1828 [EFL] Add const modifier to passed objects where it's recommended
1829 https://bugs.webkit.org/show_bug.cgi?id=67110
1831 Reviewed by Kent Tamura.
1833 Add const modifier to passed Evas_Object if the function doesn't change its
1834 property (the most cases to the getter functions).
1836 * ewk/ewk_contextmenu.cpp:
1837 (ewk_context_menu_item_list_get):
1838 (ewk_context_menu_item_type_get):
1839 (ewk_context_menu_item_action_get):
1840 (ewk_context_menu_item_title_get):
1841 (ewk_context_menu_item_checked_get):
1842 (ewk_context_menu_item_enabled_get):
1843 (ewk_context_menu_custom_get):
1844 (ewk_context_menu_show):
1845 * ewk/ewk_contextmenu.h:
1846 * ewk/ewk_frame.cpp:
1847 (ewk_frame_text_matches_nth_pos_get):
1848 (ewk_frame_text_selection_type_get):
1849 (ewk_frame_source_get):
1850 (ewk_frame_resources_location_get):
1852 * ewk/ewk_private.h:
1854 (_ewk_view_viewport_attributes_compute):
1855 (ewk_view_fixed_layout_size_get):
1856 (ewk_view_theme_get):
1858 (ewk_view_setting_encoding_detector_get):
1859 (ewk_view_setting_enable_developer_extras_get):
1860 (ewk_view_setting_spatial_navigation_get):
1861 (ewk_view_setting_local_storage_get):
1862 (ewk_view_setting_page_cache_get):
1863 (ewk_view_viewport_attributes_get):
1864 (ewk_view_zoom_range_min_get):
1865 (ewk_view_zoom_range_max_get):
1866 (ewk_view_user_scalable_get):
1867 (ewk_view_device_pixel_ratio_get):
1868 (ewk_view_page_rect_get):
1869 (ewk_view_mode_get):
1871 * ewk/ewk_window_features.cpp:
1872 (ewk_window_features_bool_property_get):
1873 (ewk_window_features_int_property_get):
1874 * ewk/ewk_window_features.h:
1876 2011-08-29 Grzegorz Czajkowski <g.czajkowski@samsung.com>
1878 [EFL] Add missing API documentation.
1879 https://bugs.webkit.org/show_bug.cgi?id=66927
1881 Reviewed by Kent Tamura.
1883 Adds missing documentation for ewk_context_menu_item_checked_get/set.
1884 Moves API documentation from cpp to the headers.
1885 Adds brief and file commands for ewk_js.h.
1887 * ewk/ewk_contextmenu.h:
1888 * ewk/ewk_cookies.cpp:
1889 * ewk/ewk_cookies.h:
1890 * ewk/ewk_frame.cpp:
1894 2011-08-29 Ryuan Choi <ryuan.choi@samsung.com>
1896 REGRESSION(r93637) Build break because header file is missing.
1897 https://bugs.webkit.org/show_bug.cgi?id=67113
1899 Unreviewed build fix after r93637.
1901 * CMakeListsEfl.txt: Add ewk_js.h in EWebKit_HEADERS.
1903 2011-08-25 Raphael Kubo da Costa <kubo@profusion.mobi>
1905 [EFL] Add API to allow scripts to close windows automatically via JavaScript.
1906 https://bugs.webkit.org/show_bug.cgi?id=66777
1908 Reviewed by Antonio Gomes.
1910 Make it possible to allow or prevent scripts from closing windows
1911 automatically (via window.close, for example).
1913 Besides being useful in general, this is required by DRT.
1916 (_ewk_view_priv_new):
1917 (ewk_view_setting_scripts_can_close_windows_get):
1918 (ewk_view_setting_scripts_can_close_windows_set):
1921 2011-08-25 Raphael Kubo da Costa <kubo@profusion.mobi>
1923 [EFL] Implement FrameLoaderClient::didTransferChildFrameToNewDocument
1924 https://bugs.webkit.org/show_bug.cgi?id=66690
1926 Reviewed by Antonio Gomes.
1928 The implementation is mostly based on the GTK+ port's, as we just need
1929 to transfer the ownership of the frame to a new view and adjust the
1930 smart object part accordingly.
1932 This should help make fast/frames/iframe-reparenting-adopt-node.html
1935 * WebCoreSupport/FrameLoaderClientEfl.cpp:
1936 (WebCore::FrameLoaderClientEfl::didTransferChildFrameToNewDocument):
1937 * ewk/ewk_frame.cpp:
1938 (ewk_frame_view_set):
1939 (ewk_frame_view_create_for_view):
1940 * ewk/ewk_private.h:
1942 2011-08-24 Jaehun Lim <ljaehun.lim@samsung.com>
1944 [EFL] Add dummy IconDatabaseClientEfl.
1945 http://bugs.webkit.org/show_bug.cgi?id=65596
1947 Implements a dummy IconDatabaseClientEfl class.
1948 Adds two files, IconDatabaseClientEfl.h | .cpp.
1950 Reviewed by Kent Tamura.
1952 * CMakeListsEfl.txt:
1953 * WebCoreSupport/IconDatabaseClientEfl.cpp: Added.
1954 (WebCore::IconDatabaseClientEfl::performImport):
1955 (WebCore::IconDatabaseClientEfl::didRemoveAllIcons):
1956 (WebCore::IconDatabaseClientEfl::didImportIconURLForPageURL):
1957 (WebCore::IconDatabaseClientEfl::didImportIconDataForPageURL):
1958 (WebCore::IconDatabaseClientEfl::didChangeIconForPageURL):
1959 (WebCore::IconDatabaseClientEfl::didFinishURLImport):
1960 * WebCoreSupport/IconDatabaseClientEfl.h: Added.
1962 2011-08-23 KwangHyuk Kim <hyuki.kim@samsung.com>
1964 [EFL] Change parameter type for some APIs in ewk_tile_matrix.
1965 https://bugs.webkit.org/show_bug.cgi?id=66639
1967 As type of both col and row parameter for ewk_tile_matrix's some APIs listed by this patch
1968 are different from each other and eina_matrixsparse associated with ewk_tile_matrix is now
1969 using unsigned long type for both col and row parameter, row parameter for ewk_tile_matrix
1970 is also better to be specified as unsigned long type.
1972 Reviewed by Anders Carlsson.
1974 * ewk/ewk_tiled_matrix.c:
1975 (ewk_tile_matrix_tile_exact_get):
1976 (ewk_tile_matrix_tile_exact_exists):
1977 (ewk_tile_matrix_tile_new):
1978 (ewk_tile_matrix_tile_update):
1979 (ewk_tile_matrix_tile_update_full):
1980 * ewk/ewk_tiled_matrix.h:
1982 2011-08-23 Raphael Kubo da Costa <kubo@profusion.mobi>
1984 [EFL] Get the default value for `scripts_window_open' from the right method.
1985 https://bugs.webkit.org/show_bug.cgi?id=66775
1987 Reviewed by Kent Tamura.
1989 For some unknown reason, the default value for this setting was being
1990 obtained from Settings::allowScriptsToCloseWindows() instead of
1991 Settings::javaScriptCanOpenWindowsAutomatically(), which makes no
1995 (_ewk_view_priv_new):
1997 2011-08-23 KwangHyuk Kim <hyuki.kim@samsung.com>
1999 [EFL] Change the tiled backing store to use constant size of tile.
2000 https://bugs.webkit.org/show_bug.cgi?id=65848
2002 As current tiled backing store in Webkit EFL is using variable tile size according to the zoom level,
2003 the number of tiles in viewport is not same always and the speed of panning is also not consistent
2004 whenever zoom level is changed.
2005 Therefore, tile size should be constant size in order to make sure the consistent panning speed.
2007 Reviewed by Anders Carlsson.
2009 * ewk/ewk_tiled_backing_store.c:
2010 (_ewk_tiled_backing_store_model_matrix_create):
2011 (_ewk_tiled_backing_store_smart_add):
2012 (_ewk_tiled_backing_store_smart_calculate):
2013 (_ewk_tiled_backing_store_zoom_set_internal):
2014 (ewk_tiled_backing_store_zoom_weak_set):
2015 (ewk_tiled_backing_store_flush):
2016 (ewk_tiled_backing_store_pre_render_region):
2017 (ewk_tiled_backing_store_pre_render_relative_radius):
2018 * ewk/ewk_tiled_backing_store.h:
2019 * ewk/ewk_tiled_matrix.c:
2020 (_ewk_tile_matrix_cell_free):
2021 (_ewk_tile_matrix_tile_free):
2022 (ewk_tile_matrix_new):
2023 (ewk_tile_matrix_tile_exact_get):
2024 (ewk_tile_matrix_tile_exact_exists):
2025 (ewk_tile_matrix_tile_new):
2026 (ewk_tile_matrix_tile_update):
2027 (ewk_tile_matrix_tile_update_full):
2028 (_ewk_tile_matrix_slicer_setup):
2029 (ewk_tile_matrix_update):
2030 (ewk_tile_matrix_dbg):
2031 * ewk/ewk_tiled_matrix.h:
2032 * ewk/ewk_tiled_model.c:
2035 2011-08-23 Jonas M. Gastal <jgastal@profusion.mobi>
2037 [EFL] Exporting JavaScript objects for EFL port
2038 https://bugs.webkit.org/show_bug.cgi?id=43446
2040 Reviewed by Antonio Gomes.
2042 This patch allows to export objects to JavaScript API,
2043 just like qt does, but it uses the netscape api
2044 to do the convertion to javascript object.
2047 * WebCoreSupport/FrameLoaderClientEfl.cpp:
2048 (WebCore::FrameLoaderClientEfl::dispatchDidClearWindowObjectInWorld):
2050 * ewk/ewk_js.cpp: Added.
2051 (ewk_js_variant_to_npvariant):
2052 (ewk_js_npvariant_to_variant):
2053 (ewk_js_property_has):
2054 (ewk_js_property_get):
2055 (ewk_js_property_set):
2056 (ewk_js_property_remove):
2057 (ewk_js_properties_enumerate):
2058 (ewk_js_method_has):
2059 (ewk_js_method_invoke):
2061 (ewk_js_class_free):
2062 (ewk_js_object_new):
2063 (ewk_js_object_free):
2064 (ewk_js_object_properties_get):
2065 (ewk_js_object_name_get):
2066 (ewk_js_variant_free):
2067 * ewk/ewk_js.h: Added.
2070 * ewk/ewk_private.h:
2072 (ewk_view_js_window_object_clear):
2073 (ewk_view_js_object_add):
2076 2011-08-23 Raphael Kubo da Costa <kubo@profusion.mobi>
2078 [EFL] Do not treat valid cases in ewk_frame_child_add() as failures.
2079 https://bugs.webkit.org/show_bug.cgi?id=66692
2081 Rubber-stamped by Kenneth Rohde Christiansen.
2083 Frame::page() and FrameTree::parent() returning 0 were being considered
2084 failure cases, however it is possible for them to return 0 when some
2085 arbitrary JavaScript is run.
2087 The function's return type has been changed to make it easier to convey
2088 these cases to the caller (which is only ewk_view_frame_create).
2090 This should make tests like
2091 fast/dom/null-page-show-modal-dialog-crash.html stop outputting
2092 erroneous messages to stderr.
2094 * ewk/ewk_frame.cpp:
2095 (ewk_frame_child_add):
2096 * ewk/ewk_private.h:
2098 2011-08-23 Leandro Pereira <leandro@profusion.mobi>
2100 Unreviewed build fix after r66685.
2102 * WebCoreSupport/FrameLoaderClientEfl.cpp:
2103 (WebCore::FrameLoaderClientEfl::dispatchDidClearWindowObjectInWorld):
2104 Assert using the right variable name.
2106 2011-08-23 Raphael Kubo da Costa <kubo@profusion.mobi>
2108 [EFL] Treat the case of WebCore::History->currentItem() returning NULL.
2109 https://bugs.webkit.org/show_bug.cgi?id=66698
2111 Reviewed by Kenneth Rohde Christiansen.
2113 WebCore::History->currentItem() may return NULL, and we'd better treat
2114 it in ewk_history_history_item_current_get itself than propagate the
2115 issue to _ewk_history_item_new.
2117 * ewk/ewk_history.cpp:
2118 (ewk_history_history_item_current_get):
2119 * ewk/ewk_history.h:
2121 2011-08-23 Raphael Kubo da Costa <kubo@profusion.mobi>
2123 [EFL] Add auxiliary history functions for DRT
2124 https://bugs.webkit.org/show_bug.cgi?id=66700
2126 Reviewed by Kent Tamura.
2128 EFL's DumpRenderTree implementation needs some private, auxiliary
2129 functions in ewk in order to iterate and dump the history tree when
2132 * ewk/ewk_history.cpp:
2133 (ewk_history_item_target_get):
2134 (ewk_history_item_target_is):
2135 (ewk_history_item_children_get):
2136 * ewk/ewk_private.h:
2138 2011-08-23 Raphael Kubo da Costa <kubo@profusion.mobi>
2140 [EFL] Add auxiliary ewk_util functions for DRT.
2141 https://bugs.webkit.org/show_bug.cgi?id=66702
2143 Reviewed by Kenneth Rohde Christiansen.
2145 Add some auxiliary functions needed by EFL's DRT implementation. They
2146 all revolve around talking to the garbage collector and counting the
2149 * ewk/ewk_private.h:
2151 (ewk_util_javascript_gc_collect):
2152 (ewk_util_javascript_gc_alternate_thread_collect):
2153 (ewk_util_javascript_gc_object_count_get):
2154 (ewk_util_worker_thread_count):
2157 2011-08-22 Raphael Kubo da Costa <kubo@profusion.mobi>
2159 [EFL] Implement FrameLoaderClient::dispatchDidClearWindowObjectInWorld
2160 https://bugs.webkit.org/show_bug.cgi?id=66685
2162 Reviewed by Kent Tamura.
2164 Implement dispatchDidClearWindowObjectInWorld, as it is needed by
2165 DumpRenderTree to, among other things, properly install the event
2166 sender in the window object.
2168 This implementation works by emitting a "window,object,cleared" signal
2169 with a private struct containing the required information (context,
2170 window object and frame).
2172 * WebCoreSupport/FrameLoaderClientEfl.cpp:
2173 (WebCore::FrameLoaderClientEfl::dispatchDidClearWindowObjectInWorld):
2174 * WebCoreSupport/FrameLoaderClientEfl.h:
2175 * ewk/ewk_private.h:
2177 2011-08-20 Grzegorz Czajkowski <g.czajkowski@samsung.com>
2179 [EFL] Fix and update doxygen documentation for ewk_view.
2180 https://bugs.webkit.org/show_bug.cgi?id=66293
2182 Reviewed by Kent Tamura.
2186 Fixes description of method, parameters and returned value of API
2187 related to settings.
2189 2011-08-20 Grzegorz Czajkowski <g.czajkowski@samsung.com>
2191 [EFL] Fix and update doxygen documentation for ewk_view.
2192 https://bugs.webkit.org/show_bug.cgi?id=66293
2194 Reviewed by Kent Tamura.
2196 Fixes description of methods, parameters and returned value of API
2197 related to cache of unused tiles, text searching and zoom matter.
2201 2011-08-20 Grzegorz Czajkowski <g.czajkowski@samsung.com>
2203 [EFL] Fix and update doxygen documentation for ewk_view.
2204 https://bugs.webkit.org/show_bug.cgi?id=66293
2206 Reviewed by Kent Tamura.
2208 Adds doxygen documentation for typedefs, defines and structures in ewk_view.h.
2209 Moves includes and defines below a brief of file.
2213 2011-08-19 KwangHyuk Kim <hyuki.kim@samsung.com>
2215 [EFL] Add "return" statement corresponding to abnormal condition on _ewk_frame_smart_add.
2216 https://bugs.webkit.org/show_bug.cgi?id=65408
2218 Bail out when we fail to allocate an Ewk_Frame_Smart_Data object rather than continuing on as if the allocation had succeeded.
2220 Reviewed by Adam Roben.
2222 * ewk/ewk_frame.cpp:
2223 (_ewk_frame_smart_add):
2225 2011-08-19 KwangHyuk Kim <hyuki.kim@samsung.com>
2227 [EFL] Change condition checking logic related with both change of position and offset for backing store.
2228 https://bugs.webkit.org/show_bug.cgi?id=66028
2230 As backing store's position and offset change can occur at the same time,
2231 the checking of offset change shouldn't be "else if" statement.
2233 Reviewed by Adam Roben.
2235 * ewk/ewk_tiled_backing_store.c:
2236 (_ewk_tiled_backing_store_smart_calculate):
2238 2011-08-19 Grzegorz Czajkowski <g.czajkowski@samsung.com>
2240 [EFL] Fix and update doxygen documentation for ewk_view.
2241 https://bugs.webkit.org/show_bug.cgi?id=66293
2243 Reviewed by Kent Tamura.
2245 Adds doxygen documentation to the structures in ewk_view.cpp.
2249 2011-08-19 KwangHyuk Kim <hyuki.kim@samsung.com>
2251 [EFL] Modify type of both col and row parameters for backing store's internal api.
2252 https://bugs.webkit.org/show_bug.cgi?id=65302
2254 As both col and row parameter's type for both _ewk_tiled_backing_store_item_fill
2255 and ewk_tiled_backing_store_item_add are different from each other, I modify type of them.
2257 Reviewed by Adam Roben.
2259 * ewk/ewk_tiled_backing_store.c:
2260 (_ewk_tiled_backing_store_item_fill):
2261 (_ewk_tiled_backing_store_item_add):
2263 2011-08-18 Ryuan Choi <ryuan.choi@samsung.com>
2265 [EFL] Broken rendering occured when resized in ewk_view_single.
2266 https://bugs.webkit.org/show_bug.cgi?id=66271
2268 Force rendering when ewk_view resized.
2269 It's because Evas_Object doesn't generate any rendering request although
2272 Reviewed by Tony Chang.
2275 (_ewk_view_smart_calculate):
2277 2011-08-17 Adam Roben <aroben@apple.com>
2279 Make WebCore keep track of the current device scale factor
2281 Fixes <http://webkit.org/b/66413> WebCore requires every WebKit port to keep track of the
2284 Reviewed by Darin Adler.
2286 * WebCoreSupport/ChromeClientEfl.cpp:
2287 * WebCoreSupport/ChromeClientEfl.h:
2288 Removed deviceScaleFactor.
2290 2011-08-15 Dmitry Titov <dimich@chromium.org>
2292 FrameLoaderClient::transferLoadingResourceFromPage does not have enough parameters
2293 https://bugs.webkit.org/show_bug.cgi?id=66165
2295 Reviewed by Darin Fisher.
2297 * WebCoreSupport/FrameLoaderClientEfl.cpp:
2298 (WebCore::FrameLoaderClientEfl::transferLoadingResourceFromPage):
2299 * WebCoreSupport/FrameLoaderClientEfl.h:
2301 2011-08-10 Adam Roben <aroben@apple.com>
2303 Clear up scale factor terminology
2305 WebKit by and large deals with two scale factors: one intrinsic to the device on which the
2306 software is running, and one that is per-Page and can be controlled via API calls. This
2307 patch names the former "deviceScaleFactor" and the latter "pageScaleFactor", and makes the
2308 code use those names. It should introduce no behavior changes.
2310 Fixes <http://webkit.org/b/55787> WebKit uses multiple conflicting names to refer to the
2313 Reviewed by Simon Fraser.
2315 * WebCoreSupport/ChromeClientEfl.cpp:
2316 * WebCoreSupport/ChromeClientEfl.h:
2318 2011-08-12 Grzegorz Czajkowski <g.czajkowski@samsung.com>
2320 [EFL] Fix after r91815 - restore changes from r91659.
2321 https://bugs.webkit.org/show_bug.cgi?id=64682
2323 Reviewed by Kenneth Rohde Christiansen.
2325 Restore patch for fix ewk_view_context_menu_forward_event which
2326 has been overwrititen by mistake.
2329 (ewk_view_context_menu_forward_event):
2331 2011-08-12 Grzegorz Czajkowski <g.czajkowski@samsung.com>
2333 [EFL] HTML Saving feature.
2334 https://bugs.webkit.org/show_bug.cgi?id=55455
2336 Reviewed by Antonio Gomes.
2338 Gets the source and location of resources for document.
2340 1. Support others resources (css, plugins, media files).
2341 2. Currently only HTML documents are supported.
2343 * ewk/ewk_frame.cpp:
2344 (ewk_frame_source_get):
2345 (ewk_frame_resources_location_get):
2348 2011-08-10 Grzegorz Czajkowski <g.czajkowski@samsung.com>
2350 [EFL] Return from _ewk_view_smart_add if smart data can not be allocated
2351 https://bugs.webkit.org/show_bug.cgi?id=65853
2353 Reviewed by Kenneth Rohde Christiansen.
2355 It prevents the crash while allocating a memory for view's smart data.
2356 Others checking are needed for support single and tiled backing store.
2357 As a result an empty window will be displayed.
2360 (_ewk_view_smart_add):
2361 (_ewk_view_smart_resize):
2362 (_ewk_view_smart_move):
2363 (_ewk_view_smart_show):
2364 (_ewk_view_smart_hide):
2365 * ewk/ewk_view_single.c:
2366 (_ewk_view_single_smart_add):
2367 (_ewk_view_single_smart_resize):
2368 * ewk/ewk_view_tiled.c:
2369 (_ewk_view_tiled_smart_add):
2371 2011-08-10 Grzegorz Czajkowski <g.czajkowski@samsung.com>
2373 [EFL] API methods check NULL and return proper value.
2374 https://bugs.webkit.org/show_bug.cgi?id=65844
2376 Reviewed by Kenneth Rohde Christiansen.
2378 Check NULL before access to the smart and private data of the view object
2379 and return the proper value if error occurred.
2382 (ewk_view_zoom_range_set):
2383 (ewk_view_zoom_range_min_get):
2384 (ewk_view_zoom_range_max_get):
2385 (ewk_view_user_scalable_set):
2386 (ewk_view_user_scalable_get):
2387 (ewk_view_device_pixel_ratio_get):
2390 2011-08-10 KwangHyuk Kim <hyuki.kim@samsung.com>
2392 [EFL] Remove unused local variable from _ewk_tiled_backing_store_item_process_idler_cb.
2393 https://bugs.webkit.org/show_bug.cgi?id=65846
2395 As Ewk_Tiled_Backing_Store_Item *it is declared as local variable, but it's never referenced anywhere,
2396 it is better to be removed from _ewk_tiled_backing_store_item_process_idler_cb.
2398 Reviewed by Kenneth Rohde Christiansen.
2400 * ewk/ewk_tiled_backing_store.c:
2401 (_ewk_tiled_backing_store_item_process_idler_cb):
2403 2011-08-09 Gyuyoung Kim <gyuyoung.kim@samsung.com>
2405 [EFL] Sort signal comments by alphabetical order.
2406 http://bugs.webkit.org/show_bug.cgi?id=65520
2408 Reviewed by Kent Tamura.
2410 Signals caused by ewk still are listed without any specific rule.
2411 It sure isn't a nice thing to understand the signal list. So, this patch
2412 lists signals by alphabetical order.
2414 * ewk/ewk_contextmenu.h:
2418 2011-08-09 KwangHyuk Kim <hyuki.kim@samsung.com>
2420 [EFL] Fix warning caused by undefined static api.
2421 https://bugs.webkit.org/show_bug.cgi?id=65301
2423 Both _ewk_tiled_backing_store_item_request_add and _ewk_tiled_backing_store_item_request_del
2424 are declared, but their bodies are not defined and they are not referenced anywhere.
2425 Therefore, I remove both two API's declaration in order to resolve warning message caused by them.
2427 Reviewed by Kenneth Rohde Christiansen.
2429 * ewk/ewk_tiled_backing_store.c:
2431 2011-08-05 Grzegorz Czajkowski <g.czajkowski@samsung.com>
2433 [EFL] Move API documentation of ewk files to the headers
2434 https://bugs.webkit.org/show_bug.cgi?id=65373
2436 There are two arguments for this:
2437 1. Developers using webkit-efl from packages probably won't have the C/CPP files with them
2438 and the doxygen documentation can be generated from the headers without the need
2439 for the whole source files.
2440 2. It will be consistent with structures descriptions.
2442 Reviewed by Kent Tamura.
2446 * ewk/ewk_contextmenu.cpp:
2447 * ewk/ewk_contextmenu.h:
2448 * ewk/ewk_cookies.cpp:
2449 * ewk/ewk_cookies.h:
2450 * ewk/ewk_frame.cpp:
2452 * ewk/ewk_history.cpp:
2453 * ewk/ewk_history.h:
2456 * ewk/ewk_network.cpp:
2457 * ewk/ewk_network.h:
2458 * ewk/ewk_settings.cpp:
2459 * ewk/ewk_settings.h:
2460 * ewk/ewk_window_features.cpp:
2461 * ewk/ewk_window_features.h:
2463 2011-08-03 Pavel Feldman <pfeldman@chromium.org>
2465 Web Inspector: remove Node parameter from the InspectorClient::highlight
2466 https://bugs.webkit.org/show_bug.cgi?id=65549
2468 Reviewed by Yury Semikhatsky.
2470 * WebCoreSupport/InspectorClientEfl.cpp:
2471 (WebCore::InspectorClientEfl::highlight):
2472 * WebCoreSupport/InspectorClientEfl.h:
2474 2011-08-02 Raphael Kubo da Costa <kubo@profusion.mobi>
2476 [EFL] Ignore empty requests on policy decisions.
2477 https://bugs.webkit.org/show_bug.cgi?id=64536
2479 Reviewed by Kenneth Rohde Christiansen.
2481 This is the same fix introduced in the GTK+ port in r41313: empty
2482 request should be ignored, so tests such as
2483 fast/loader/empty-embed-src-attribute.html do not crash.
2485 * WebCoreSupport/FrameLoaderClientEfl.cpp:
2486 (WebCore::FrameLoaderClientEfl::dispatchDecidePolicyForResponse):
2487 (WebCore::FrameLoaderClientEfl::dispatchDecidePolicyForNewWindowAction):
2488 (WebCore::FrameLoaderClientEfl::dispatchDecidePolicyForNavigationAction):
2490 2011-08-02 Eunsol Park <eunsol47.park@samsung.com>
2492 [EFL] Remove overlapping recursive layout function
2493 https://bugs.webkit.org/show_bug.cgi?id=63241
2495 First, _ewk_view_layout_if_needed_recursive is called twice in _ewk_view_smart_calculate
2496 and _ewk_view_tiled_updates_process_pre,so it is no problem removing one of them.
2497 Second, In tiled backingstore configuration, _ewk_view_layout_if_needed_recursive called
2498 in _ewk_view_smart_calculate will result in generating repaints for dirty areas
2499 located outside of viewport since m_paintEntireContents is set.
2500 But, the areas will not be actually painted. Thus, the layout is unnecessary except
2501 when there is something to paint inside of viewport, which will consume CPU unnecessarily.
2502 So,the layout func was removed from _ewk_view_smart_calculate
2503 and added to _ewk_view_single_smart_repaints_process for single backingstore.
2505 Reviewed by Antonio Gomes.
2508 (_ewk_view_smart_calculate):
2509 * ewk/ewk_view_single.c:
2510 (_ewk_view_single_smart_repaints_process):
2512 2011-08-02 Gyuyoung Kim <gyuyoung.kim@samsung.com>
2514 [EFL] Add fullscreen button to media control UI.
2515 https://bugs.webkit.org/show_bug.cgi?id=64428
2517 Implement functions for full screen in ChromeClientEfl in order to display a full screen button on media control UI.
2518 When full screen mode is activated by pressing the button, the functions are called by Document. So, if there is no implemented
2519 function, full screen button will not be shown.
2520 In addition, a .edc file and an image file are added for full screen button.
2522 Reviewed by Antonio Gomes.
2524 * DefaultTheme/default.edc:
2525 * DefaultTheme/widget/mediacontrol/fullscreenbutton/fullscreen_button.edc: Added.
2526 * DefaultTheme/widget/mediacontrol/fullscreenbutton/fullscreenbutton.png: Added.
2527 * WebCoreSupport/ChromeClientEfl.cpp:
2528 (WebCore::ChromeClientEfl::supportsFullScreenForElement):
2529 (WebCore::ChromeClientEfl::enterFullScreenForElement):
2530 (WebCore::ChromeClientEfl::exitFullScreenForElement):
2531 * WebCoreSupport/ChromeClientEfl.h:
2533 2011-07-29 Michal Pakula vel Rutka <m.pakula@samsung.com>
2535 [EFL] Implement EditorClientEfl::respondToChangedContents
2536 http://bugs.webkit.org/show_bug.cgi?id=64259
2538 Implements respondToChangedContents by calling callback both from
2539 ewk_frame and ewk_view with frame and view objects respectively.
2541 Reviewed by Antonio Gomes.
2543 * WebCoreSupport/EditorClientEfl.cpp:
2544 (WebCore::EditorClientEfl::respondToChangedContents):
2545 * ewk/ewk_frame.cpp:
2546 (ewk_frame_editor_client_contents_changed):
2548 * ewk/ewk_private.h:
2550 (ewk_view_editor_client_contents_changed):
2553 2011-07-29 Grzegorz Czajkowski <g.czajkowski@samsung.com>
2555 [EFL] Move ewk_view API documentation to the header file
2556 https://bugs.webkit.org/show_bug.cgi?id=65305
2558 There are two arguments for this:
2559 1. Developers using webkit-efl from packages probably won't have the C/CPP files with them
2560 and the doxygen documentation can be generated from the headers without the need
2561 for the whole source files.
2562 2. It will be consistent with structures descriptions.
2564 Reviewed by Kent Tamura.
2566 * ewk/ewk_tiled_model.c:
2569 * ewk/ewk_view_single.c:
2570 * ewk/ewk_view_tiled.c:
2572 2011-07-28 Kangil Han <kangil.han@samsung.com>
2574 [EFL] Removes EAPI attribute in internal headers.
2575 https://bugs.webkit.org/show_bug.cgi?id=65251
2577 Removes EAPI attribute in three header files because API in these files is internally used.
2579 Reviewed by Anders Carlsson.
2581 * ewk/ewk_tiled_backing_store.h:
2582 * ewk/ewk_tiled_matrix.h:
2583 * ewk/ewk_tiled_model.h:
2585 2011-07-28 Kangil Han <kangil.han@samsung.com>
2587 [EFL] Defines header files will be publicly installed explicitly.
2588 https://bugs.webkit.org/show_bug.cgi?id=64923
2590 This patch modifies a way to define open header list from black-list to white-list.
2591 Plus, 'ewk/ewk_util.h' will not be installed anymore because it only has internal API.
2593 Reviewed by Anders Carlsson.
2595 * CMakeListsEfl.txt:
2597 2011-07-28 Gyuyoung Kim <gyuyoung.kim@samsung.com>
2599 [EFL] Fix coding style of pointer type in ewk files.
2600 https://bugs.webkit.org/show_bug.cgi?id=65358
2602 Move '*' operator to variable side according to efl coding style.
2603 Because, '*' operator is next to variable in EFL coding style.
2605 Reviewed by Kent Tamura.
2608 (ewk_auth_credentials_set):
2610 * ewk/ewk_auth_soup.cpp:
2611 (_Ewk_Auth_Data::ewk_auth_soup_dialog_class_init):
2612 (_Ewk_Auth_Data::ewk_auth_soup_dialog_init):
2613 (_Ewk_Auth_Data::ewk_auth_soup_credentials_set):
2614 (_Ewk_Auth_Data::session_authenticate):
2615 (_Ewk_Auth_Data::free_auth_data):
2616 (_Ewk_Auth_Data::attach):
2617 (_Ewk_Auth_Data::detach):
2618 * ewk/ewk_auth_soup.h:
2619 * ewk/ewk_contextmenu.cpp:
2620 (ewk_context_menu_ref):
2621 (ewk_context_menu_unref):
2622 (ewk_context_menu_destroy):
2623 (ewk_context_menu_item_list_get):
2624 (ewk_context_menu_item_new):
2625 (ewk_context_menu_item_select):
2626 (ewk_context_menu_item_free):
2627 (ewk_context_menu_item_type_get):
2628 (ewk_context_menu_item_type_set):
2629 (ewk_context_menu_item_action_get):
2630 (ewk_context_menu_item_action_set):
2631 (ewk_context_menu_item_title_get):
2632 (ewk_context_menu_item_title_set):
2633 (ewk_context_menu_item_checked_get):
2634 (ewk_context_menu_item_checked_set):
2635 (ewk_context_menu_item_enabled_get):
2636 (ewk_context_menu_new):
2637 (ewk_context_menu_free):
2638 (ewk_context_menu_item_append):
2639 (ewk_context_menu_custom_get):
2640 (ewk_context_menu_show):
2641 * ewk/ewk_contextmenu.h:
2642 * ewk/ewk_cookies.cpp:
2643 (ewk_cookies_file_set):
2644 (ewk_cookies_clear):
2645 (ewk_cookies_get_all):
2646 (ewk_cookies_cookie_del):
2647 (ewk_cookies_policy_set):
2648 (ewk_cookies_policy_get):
2649 * ewk/ewk_history.cpp:
2650 (_ewk_history_item_new):
2651 (_ewk_history_item_list_get):
2652 (ewk_history_forward):
2654 (ewk_history_history_item_add):
2655 (ewk_history_history_item_set):
2656 (ewk_history_history_item_back_get):
2657 (ewk_history_history_item_current_get):
2658 (ewk_history_history_item_forward_get):
2659 (ewk_history_history_item_nth_get):
2660 (ewk_history_history_item_contains):
2661 (ewk_history_forward_list_get):
2662 (ewk_history_forward_list_get_with_limit):
2663 (ewk_history_forward_list_length):
2664 (ewk_history_back_list_get):
2665 (ewk_history_back_list_get_with_limit):
2666 (ewk_history_back_list_length):
2667 (ewk_history_limit_get):
2668 (ewk_history_limit_set):
2669 (ewk_history_item_new):
2670 (_ewk_history_item_free):
2671 (ewk_history_item_free):
2672 (ewk_history_item_list_free):
2673 (ewk_history_item_title_get):
2674 (ewk_history_item_title_alternate_get):
2675 (ewk_history_item_title_alternate_set):
2676 (ewk_history_item_uri_get):
2677 (ewk_history_item_uri_original_get):
2678 (ewk_history_item_time_last_visited_get):
2679 (ewk_history_item_icon_surface_get):
2680 (ewk_history_item_icon_object_add):
2681 (ewk_history_item_page_cache_exists):
2682 (ewk_history_item_visit_count):
2683 (ewk_history_item_visit_last_failed):
2688 * ewk/ewk_network.cpp:
2689 (ewk_network_proxy_uri_set):
2690 (ewk_network_proxy_uri_get):
2691 * ewk/ewk_network.h:
2692 * ewk/ewk_private.h:
2693 * ewk/ewk_settings.cpp:
2694 (ewk_settings_icon_database_path_get):
2695 (ewk_settings_icon_database_icon_surface_get):
2696 (ewk_settings_icon_database_icon_object_add):
2697 (ewk_settings_default_user_agent_get):
2699 (ewk_util_image_from_cairo_surface_add):
2701 * ewk/ewk_window_features.cpp:
2702 (ewk_window_features_unref):
2703 (ewk_window_features_ref):
2704 (ewk_window_features_bool_property_get):
2705 (ewk_window_features_int_property_get):
2706 (ewk_window_features_new_from_core):
2707 * ewk/ewk_window_features.h:
2709 2011-07-28 Gyuyoung Kim <gyuyoung.kim@samsung.com>
2711 [EFL] Fix pointer operator coding style in ewk_frame.
2712 https://bugs.webkit.org/show_bug.cgi?id=65357
2714 Move '*' operator to variable according to efl coding style.
2715 Because, '*' operator is next to variable in EFL coding style.
2717 Reviewed by Kent Tamura.
2719 * ewk/ewk_frame.cpp:
2721 (_ewk_frame_loader_efl_get):
2723 (_ewk_frame_children_iterator_next):
2724 (_ewk_frame_children_iterator_get_container):
2725 (_ewk_frame_smart_add):
2726 (_ewk_frame_smart_del):
2727 (_ewk_frame_smart_resize):
2728 (_ewk_frame_smart_set):
2729 (_ewk_frame_smart_class_new):
2730 (ewk_frame_view_get):
2731 (ewk_frame_children_iterator_new):
2732 (ewk_frame_child_find):
2733 (ewk_frame_uri_set):
2734 (ewk_frame_uri_get):
2735 (ewk_frame_title_get):
2736 (ewk_frame_name_get):
2737 (ewk_frame_contents_size_get):
2738 (_ewk_frame_contents_set_internal):
2739 (ewk_frame_contents_set):
2740 (ewk_frame_contents_alternate_set):
2741 (ewk_frame_script_execute):
2742 (ewk_frame_editable_get):
2743 (ewk_frame_editable_set):
2744 (ewk_frame_selection_get):
2745 (ewk_frame_text_search):
2746 (ewk_frame_text_matches_mark):
2747 (ewk_frame_text_matches_unmark_all):
2748 (ewk_frame_text_matches_highlight_set):
2749 (ewk_frame_text_matches_highlight_get):
2750 (_ewk_frame_rect_cmp_less_than):
2751 (_ewk_frame_rect_is_negative_value):
2752 (ewk_frame_text_matches_nth_pos_get):
2755 (ewk_frame_reload_full):
2757 (ewk_frame_forward):
2758 (ewk_frame_navigate):
2759 (ewk_frame_back_possible):
2760 (ewk_frame_forward_possible):
2761 (ewk_frame_navigate_possible):
2762 (ewk_frame_zoom_get):
2763 (ewk_frame_zoom_set):
2764 (ewk_frame_zoom_text_only_get):
2765 (ewk_frame_zoom_text_only_set):
2766 (ewk_frame_hit_test_free):
2767 (ewk_frame_hit_test_new):
2768 (ewk_frame_scroll_add):
2769 (ewk_frame_scroll_set):
2770 (ewk_frame_scroll_size_get):
2771 (ewk_frame_scroll_pos_get):
2772 (ewk_frame_visible_content_geometry_get):
2773 (ewk_frame_paint_full_get):
2774 (ewk_frame_paint_full_set):
2775 (ewk_frame_feed_focus_in):
2776 (ewk_frame_feed_focus_out):
2777 (ewk_frame_feed_mouse_wheel):
2778 (ewk_frame_feed_mouse_down):
2779 (ewk_frame_feed_mouse_up):
2780 (ewk_frame_feed_mouse_move):
2781 (ewk_frame_feed_touch_event):
2782 (_ewk_frame_handle_key_scrolling):
2783 (ewk_frame_feed_key_down):
2784 (ewk_frame_feed_key_up):
2785 (ewk_frame_text_selection_type_get):
2788 (ewk_frame_child_add):
2789 (ewk_frame_core_gone):
2790 (ewk_frame_core_get):
2791 (ewk_frame_load_started):
2792 (ewk_frame_load_provisional):
2793 (ewk_frame_load_finished):
2794 (ewk_frame_load_error):
2795 (ewk_frame_load_progress_changed):
2796 (ewk_frame_contents_size_changed):
2797 (ewk_frame_title_set):
2798 (ewk_frame_view_create_for_view):
2799 (ewk_frame_uri_changed):
2800 (ewk_frame_force_layout):
2801 (ewk_frame_plugin_create):
2802 (ewk_frame_editor_client_selection_changed):
2805 2011-07-27 Gyuyoung Kim <gyuyoung.kim@samsung.com>
2807 [EFL] Add dummy NotificationPresenterClientEfl
2808 https://bugs.webkit.org/show_bug.cgi?id=64064
2810 Add dummy files for HTML5 Notification. And also, notificationPresenter() is added to
2811 ChromeClientEfl. Without this function implemented, there would be a build break when
2812 ENABLE_NOTIFICATION is enabled.
2814 Reviewed by Antonio Gomes.
2816 * CMakeListsEfl.txt:
2817 * WebCoreSupport/ChromeClientEfl.cpp:
2818 (WebCore::ChromeClientEfl::notificationPresenter):
2819 * WebCoreSupport/ChromeClientEfl.h:
2820 * WebCoreSupport/NotificationPresenterClientEfl.cpp: Added.
2821 (WebCore::NotificationPresenterClientEfl::NotificationPresenterClientEfl):
2822 (WebCore::NotificationPresenterClientEfl::~NotificationPresenterClientEfl):
2823 (WebCore::NotificationPresenterClientEfl::show):
2824 (WebCore::NotificationPresenterClientEfl::cancel):
2825 (WebCore::NotificationPresenterClientEfl::notificationObjectDestroyed):
2826 (WebCore::NotificationPresenterClientEfl::requestPermission):
2827 (WebCore::NotificationPresenterClientEfl::checkPermission):
2828 (WebCore::NotificationPresenterClientEfl::cancelRequestsForPermission):
2829 * WebCoreSupport/NotificationPresenterClientEfl.h: Added.
2831 2011-07-26 Gyuyoung Kim <gyuyoung.kim@samsung.com>
2833 [EFL] Fix pointer operator coding style in ewk_view.
2834 https://bugs.webkit.org/show_bug.cgi?id=65163
2836 Move '*' operator to variable according to efl coding style. In addition,
2837 add a space between * and variable in type casting.
2839 Reviewed by Kent Tamura.
2842 (_ewk_view_smart_changed):
2843 (_ewk_view_repaints_resize):
2844 (_ewk_view_repaint_add):
2845 (_ewk_view_repaints_flush):
2846 (_ewk_view_scrolls_resize):
2847 (_ewk_view_scroll_add):
2848 (_ewk_view_scrolls_flush):
2849 (_ewk_view_smart_focus_in):
2850 (_ewk_view_smart_focus_out):
2851 (_ewk_view_smart_mouse_wheel):
2852 (_ewk_view_smart_mouse_down):
2853 (_ewk_view_smart_mouse_up):
2854 (_ewk_view_smart_mouse_move):
2855 (_ewk_view_smart_key_down):
2856 (_ewk_view_smart_key_up):
2857 (_ewk_view_smart_add_console_message):
2858 (_ewk_view_smart_run_javascript_alert):
2859 (_ewk_view_smart_run_javascript_confirm):
2860 (_ewk_view_smart_should_interrupt_javascript):
2861 (_ewk_view_smart_run_javascript_prompt):
2862 (_ewk_view_on_focus_in):
2863 (_ewk_view_on_focus_out):
2864 (_ewk_view_on_mouse_wheel):
2865 (_ewk_view_on_mouse_down):
2866 (_ewk_view_on_mouse_up):
2867 (_ewk_view_on_mouse_move):
2868 (_ewk_view_on_key_down):
2869 (_ewk_view_on_key_up):
2870 (_ewk_view_core_frame_new):
2871 (_ewk_view_priv_new):
2872 (_ewk_view_priv_del):
2873 (_ewk_view_smart_add):
2874 (_ewk_view_smart_del):
2875 (_ewk_view_smart_resize):
2876 (_ewk_view_smart_move):
2877 (_ewk_view_smart_calculate):
2878 (_ewk_view_smart_contents_resize):
2879 (_ewk_view_smart_zoom_set):
2880 (_ewk_view_smart_flush):
2881 (_ewk_view_smart_pre_render_region):
2882 (_ewk_view_smart_pre_render_relative_radius):
2883 (_ewk_view_smart_pre_render_cancel):
2884 (_ewk_view_zoom_animated_mark_stop):
2885 (_ewk_view_zoom_animated_finish):
2886 (_ewk_view_zoom_animated_current):
2887 (_ewk_view_zoom_animator_cb):
2888 (_ewk_view_zoom_animation_start):
2889 (_ewk_view_viewport_attributes_compute):
2890 (ewk_view_base_smart_set):
2891 (ewk_view_fixed_layout_size_set):
2892 (ewk_view_fixed_layout_size_get):
2893 (ewk_view_theme_set):
2894 (ewk_view_theme_get):
2895 (ewk_view_frame_main_get):
2896 (ewk_view_frame_focused_get):
2899 (ewk_view_title_get):
2900 (ewk_view_editable_get):
2901 (ewk_view_bg_color_set):
2902 (ewk_view_bg_color_get):
2903 (ewk_view_text_search):
2904 (ewk_view_text_matches_mark):
2905 (ewk_view_text_matches_unmark_all):
2906 (ewk_view_text_matches_highlight_set):
2907 (ewk_view_text_matches_highlight_get):
2908 (ewk_view_editable_set):
2909 (ewk_view_selection_get):
2910 (_ewk_view_editor_command):
2911 (ewk_view_execute_editor_command):
2912 (ewk_view_context_menu_forward_event):
2913 (ewk_view_load_progress_get):
2916 (ewk_view_reload_full):
2919 (ewk_view_navigate):
2920 (ewk_view_back_possible):
2921 (ewk_view_forward_possible):
2922 (ewk_view_navigate_possible):
2923 (ewk_view_history_enable_get):
2924 (ewk_view_history_enable_set):
2925 (ewk_view_history_get):
2926 (ewk_view_zoom_get):
2927 (ewk_view_zoom_set):
2928 (ewk_view_zoom_weak_smooth_scale_get):
2929 (ewk_view_zoom_weak_smooth_scale_set):
2930 (ewk_view_zoom_weak_set):
2931 (ewk_view_zoom_animated_mark_start):
2932 (ewk_view_zoom_animated_mark_end):
2933 (ewk_view_zoom_animated_mark_current):
2934 (ewk_view_zoom_animated_mark_stop):
2935 (ewk_view_zoom_animated_set):
2936 (ewk_view_zoom_text_only_get):
2937 (ewk_view_zoom_text_only_set):
2938 (ewk_view_pre_render_region):
2939 (ewk_view_pre_render_relative_radius):
2940 (ewk_view_pre_render_cancel):
2941 (ewk_view_setting_user_agent_get):
2942 (ewk_view_setting_user_agent_set):
2943 (ewk_view_setting_user_stylesheet_get):
2944 (ewk_view_setting_user_stylesheet_set):
2945 (ewk_view_setting_auto_load_images_get):
2946 (ewk_view_setting_auto_load_images_set):
2947 (ewk_view_setting_auto_shrink_images_get):
2948 (ewk_view_setting_auto_shrink_images_set):
2949 (ewk_view_setting_enable_auto_resize_window_get):
2950 (ewk_view_setting_enable_auto_resize_window_set):
2951 (ewk_view_setting_enable_scripts_get):
2952 (ewk_view_setting_enable_scripts_set):
2953 (ewk_view_setting_enable_plugins_get):
2954 (ewk_view_setting_enable_plugins_set):
2955 (ewk_view_setting_enable_frame_flattening_get):
2956 (ewk_view_setting_enable_frame_flattening_set):
2957 (ewk_view_setting_scripts_window_open_get):
2958 (ewk_view_setting_scripts_window_open_set):
2959 (ewk_view_setting_resizable_textareas_get):
2960 (ewk_view_setting_resizable_textareas_set):
2961 (ewk_view_setting_private_browsing_get):
2962 (ewk_view_setting_private_browsing_set):
2963 (ewk_view_setting_offline_app_cache_get):
2964 (ewk_view_setting_offline_app_cache_set):
2965 (ewk_view_setting_caret_browsing_get):
2966 (ewk_view_setting_caret_browsing_set):
2967 (ewk_view_setting_encoding_custom_get):
2968 (ewk_view_setting_encoding_custom_set):
2969 (ewk_view_setting_encoding_default_get):
2970 (ewk_view_setting_encoding_default_set):
2971 (ewk_view_setting_encoding_detector_set):
2972 (ewk_view_setting_encoding_detector_get):
2973 (ewk_view_setting_enable_developer_extras_get):
2974 (ewk_view_setting_enable_developer_extras_set):
2975 (ewk_view_setting_font_minimum_size_get):
2976 (ewk_view_setting_font_minimum_size_set):
2977 (ewk_view_setting_font_minimum_logical_size_get):
2978 (ewk_view_setting_font_minimum_logical_size_set):
2979 (ewk_view_setting_font_default_size_get):
2980 (ewk_view_setting_font_default_size_set):
2981 (ewk_view_setting_font_monospace_size_get):
2982 (ewk_view_setting_font_monospace_size_set):
2983 (ewk_view_setting_font_standard_get):
2984 (ewk_view_setting_font_standard_set):
2985 (ewk_view_setting_font_cursive_get):
2986 (ewk_view_setting_font_cursive_set):
2987 (ewk_view_setting_font_fantasy_get):
2988 (ewk_view_setting_font_fantasy_set):
2989 (ewk_view_setting_font_monospace_get):
2990 (ewk_view_setting_font_monospace_set):
2991 (ewk_view_setting_font_serif_get):
2992 (ewk_view_setting_font_serif_set):
2993 (ewk_view_setting_font_sans_serif_get):
2994 (ewk_view_setting_font_sans_serif_set):
2995 (ewk_view_setting_spatial_navigation_get):
2996 (ewk_view_setting_spatial_navigation_set):
2997 (ewk_view_setting_local_storage_get):
2998 (ewk_view_setting_local_storage_set):
2999 (ewk_view_setting_page_cache_get):
3000 (ewk_view_setting_page_cache_set):
3001 (ewk_view_setting_local_storage_database_path_get):
3002 (ewk_view_setting_local_storage_database_path_set):
3003 (ewk_view_smart_data_get):
3004 (ewk_view_repaints_get):
3005 (ewk_view_scroll_requests_get):
3006 (ewk_view_repaint_add):
3007 (ewk_view_layout_if_needed_recursive):
3008 (ewk_view_scrolls_process):
3009 (ewk_view_paint_context_new):
3010 (ewk_view_paint_context_free):
3011 (ewk_view_paint_context_save):
3012 (ewk_view_paint_context_restore):
3013 (ewk_view_paint_context_clip):
3014 (ewk_view_paint_context_paint):
3015 (ewk_view_paint_context_paint_contents):
3016 (ewk_view_paint_context_scale):
3017 (ewk_view_paint_context_translate):
3019 (ewk_view_paint_contents):
3021 (ewk_view_input_method_state_set):
3022 (ewk_view_title_set):
3023 (ewk_view_uri_changed):
3024 (ewk_view_load_started):
3025 (ewk_view_frame_main_load_started):
3026 (ewk_view_load_provisional):
3027 (ewk_view_load_show):
3028 (ewk_view_frame_main_cleared):
3029 (ewk_view_frame_main_icon_received):
3030 (ewk_view_load_finished):
3031 (ewk_view_load_error):
3032 (ewk_view_load_progress_changed):
3033 (ewk_view_restore_state):
3034 (ewk_view_window_create):
3035 (ewk_view_window_close):
3036 (ewk_view_mouse_link_hover_in):
3037 (ewk_view_mouse_link_hover_out):
3038 (ewk_view_toolbars_visible_set):
3039 (ewk_view_toolbars_visible_get):
3040 (ewk_view_statusbar_visible_set):
3041 (ewk_view_statusbar_visible_get):
3042 (ewk_view_statusbar_text_set):
3043 (ewk_view_scrollbars_visible_set):
3044 (ewk_view_scrollbars_visible_get):
3045 (ewk_view_menubar_visible_set):
3046 (ewk_view_menubar_visible_get):
3047 (ewk_view_tooltip_text_set):
3048 (ewk_view_add_console_message):
3049 (ewk_view_run_javascript_alert):
3050 (ewk_view_run_javascript_confirm):
3051 (ewk_view_run_javascript_prompt):
3052 (ewk_view_should_interrupt_javascript):
3053 (ewk_view_exceeded_database_quota):
3054 (ewk_view_run_open_panel):
3057 (ewk_view_core_page_get):
3058 (ewk_view_frame_create):
3059 (ewk_view_plugin_create):
3060 (ewk_view_popup_new):
3061 (ewk_view_popup_destroy):
3062 (ewk_view_popup_selected_set):
3063 (ewk_view_download_request):
3064 (ewk_view_viewport_attributes_set):
3065 (ewk_view_viewport_attributes_get):
3066 (ewk_view_zoom_range_set):
3067 (ewk_view_zoom_range_min_get):
3068 (ewk_view_zoom_range_max_get):
3069 (ewk_view_user_scalable_set):
3070 (ewk_view_user_scalable_get):
3071 (ewk_view_device_pixel_ratio_get):
3072 (ewk_view_navigation_policy_decision):
3073 (ewk_view_page_rect_get):
3074 (ewk_view_need_touch_events_set):
3075 (ewk_view_need_touch_events_get):
3076 (ewk_view_mode_set):
3077 (ewk_view_mode_get):
3078 (ewk_view_editor_client_selection_changed):
3081 2011-07-26 Sadrul Habib Chowdhury <sadrul@chromium.org>
3083 Add support for download='filename' attribute in anchors.
3084 https://bugs.webkit.org/show_bug.cgi?id=64580
3086 Reviewed by Adam Barth.
3088 * WebCoreSupport/FrameLoaderClientEfl.cpp:
3089 (WebCore::FrameLoaderClientEfl::startDownload):
3090 * WebCoreSupport/FrameLoaderClientEfl.h:
3092 2011-07-25 JungJik Lee <jungjik.lee@samsung.com>
3094 [EFL] Remove unused code in ewk_tile_model.c
3095 https://bugs.webkit.org/show_bug.cgi?id=64521
3097 Remove unused code in ewk_tile_model.c. Dirty flag is not referenced anywhere.
3099 Reviewed by Daniel Bates.
3101 * ewk/ewk_tiled_model.c:
3102 (ewk_tile_unused_cache_clear):
3103 (ewk_tile_unused_cache_flush):
3104 (ewk_tile_unused_cache_tile_get):
3105 (ewk_tile_unused_cache_tile_put):
3107 2011-07-25 Grzegorz Czajkowski <g.czajkowski@samsung.com>
3109 [EFL] Move macro checking inside ewk_view_context_menu_forward_event
3110 https://bugs.webkit.org/show_bug.cgi?id=64682
3112 When CONTEXT_MENUS macro is disabled method ewk_view_context_menu_forward_event just
3113 returns EINA_FALSE and it avoid undefined reference during building.
3115 Reviewed by Kent Tamura.
3118 (ewk_view_context_menu_forward_event):
3120 2011-07-25 Grzegorz Czajkowski <g.czajkowski@samsung.com>
3122 [EFL] Method ewk_context_menu_destroy returns EINA_FALSE if CONTEXT_MENUS macro is disabled
3123 https://bugs.webkit.org/show_bug.cgi?id=64683
3125 Fix returned value and omit NULL checking if CONTEXT_MENUS macro is disabled
3126 in ewk_context_menu_destroy.
3128 Reviewed by Kent Tamura.
3130 * ewk/ewk_contextmenu.cpp:
3131 (ewk_context_menu_destroy):
3133 2011-07-22 Michal Pakula vel Rutka <m.pakula@samsung.com>
3135 [EFL] ewk_frame_hit_test_new enhancement
3136 https://bugs.webkit.org/show_bug.cgi?id=64260
3138 Replaces structure 'flags' with enum 'context' containing more hit test
3139 result types and adds new char* fields to Ewk_Hit_Test structure:
3140 image_uri and media_uri.
3142 Reviewed by Antonio Gomes.
3144 * ewk/ewk_frame.cpp:
3145 (ewk_frame_hit_test_free):
3146 (ewk_frame_hit_test_new):
3149 2011-07-19 Gyuyoung Kim <gyuyoung.kim@samsung.com>
3151 [EFL] Add ewk_network.cpp|h files.
3152 https://bugs.webkit.org/show_bug.cgi?id=63315
3154 ewk_network.cpp|h files are added to ewk in order to support APIs related to networking.
3155 In addition, ewk_network_state_notifier_online_set() is added to ewk_network.cpp in order
3156 to notify NetworkStateNotifier of network status.
3158 Reviewed by Antonio Gomes.
3160 * CMakeListsEfl.txt:
3162 * ewk/ewk_network.cpp: Added.
3163 (ewk_network_proxy_uri_set):
3164 (ewk_network_proxy_uri_get):
3165 (ewk_network_state_notifier_online_set):
3166 * ewk/ewk_network.h:
3167 * ewk/ewk_settings.cpp:
3168 * ewk/ewk_settings.h:
3170 2011-07-15 Dan Bernstein <mitz@apple.com>
3172 REGRESSION: Mouse cursor doesn’t hide when full screen video HUD hides
3173 https://bugs.webkit.org/show_bug.cgi?id=64615
3175 Reviewed by Anders Carlsson.
3177 * WebCoreSupport/ChromeClientEfl.cpp:
3178 (WebCore::ChromeClientEfl::setCursorHiddenUntilMouseMoves): Added this stub.
3179 * WebCoreSupport/ChromeClientEfl.h:
3181 2011-07-14 Jaehun Lim <ljaehun.lim@samsung.com>
3183 Reviewed by Adam Barth.
3185 [EFL] Remove IconDatabase initialization in _ewk_init_body()
3186 https://bugs.webkit.org/show_bug.cgi?id=63491
3188 Make IconDatabase feature optional by removing its initialization from _ewk_init_body().
3189 Now IconDatabase must be fully managed by an application:
3190 if it doesn't want to use it, there's nothing to do. Otherwise, just call
3191 ewk_settings_icon_database_path_set() with the directory path.
3195 * ewk/ewk_settings.cpp:
3196 (ewk_settings_icon_database_path_set):
3198 2011-07-12 Joseph Pecoraro <joepeck@webkit.org>
3200 ApplicationCache update should not immediately fail when reaching per-origin quota
3201 https://bugs.webkit.org/show_bug.cgi?id=64177
3203 Reviewed by Alexey Proskuryakov.
3205 * WebCoreSupport/ChromeClientEfl.cpp:
3206 (WebCore::ChromeClientEfl::reachedApplicationCacheOriginQuota):
3207 * WebCoreSupport/ChromeClientEfl.h:
3209 2011-07-11 Jaehun Lim <ljaehun.lim@samsung.com>
3211 Reviewed by Ryosuke Niwa.
3213 [EFL] Supports to execute "redo" command.
3214 https://bugs.webkit.org/show_bug.cgi?id=62536
3216 Implements basic functions for "redo" command.
3218 * WebCoreSupport/EditorClientEfl.cpp:
3219 (WebCore::EditorClientEfl::registerCommandForUndo):
3220 (WebCore::EditorClientEfl::registerCommandForRedo):
3221 (WebCore::EditorClientEfl::clearUndoRedoOperations):
3222 (WebCore::EditorClientEfl::canRedo):
3223 (WebCore::EditorClientEfl::undo):
3224 (WebCore::EditorClientEfl::redo):
3225 (WebCore::EditorClientEfl::EditorClientEfl):
3226 * WebCoreSupport/EditorClientEfl.h:
3228 2011-06-29 Kangil Han <kangil.han@samsung.com>
3230 Reviewed by Kenneth Rohde Christiansen.
3232 [EFL] Add APIs to get/set view mode
3233 https://bugs.webkit.org/show_bug.cgi?id=63229
3235 Implement public API for getting/setting the view-mode media feature as specified in W3C.
3238 (ewk_view_mode_set):
3239 (ewk_view_mode_get):
3242 2011-06-29 Michal Pakula vel Rutka <m.pakula@samsung.com>
3244 Reviewed by Kenneth Rohde Christiansen.
3246 [EFL] Add ewk_frame_text_selection_type_get function
3247 https://bugs.webkit.org/show_bug.cgi?id=63462
3249 Add a method to obtain current WebCore::VisibleSelection text
3252 * ewk/ewk_frame.cpp:
3253 (ewk_frame_text_selection_type_get):
3256 2011-06-28 Michal Pakula vel Rutka <m.pakula@samsung.com>
3258 Reviewed by Kenneth Rohde Christiansen.
3260 [EFL] Implement EditorClientEfl::respondToChangedSelection
3261 https://bugs.webkit.org/show_bug.cgi?id=63525
3264 - implements EditorClientEfl::respondToChangedSelection,
3265 - adds ewk_frame_editor_client_selection_changed and
3266 - ewk_view_editor_client_selection_changed
3268 * WebCoreSupport/EditorClientEfl.cpp:
3269 (WebCore::EditorClientEfl::respondToChangedSelection):
3270 * ewk/ewk_frame.cpp:
3271 (ewk_frame_editor_client_selection_changed):
3272 * ewk/ewk_private.h:
3274 (ewk_view_editor_client_selection_changed):
3276 2011-06-28 Gyuyoung Kim <gyuyoung.kim@samsung.com>
3278 Reviewed by Kent Tamura.
3280 [EFL] Change permission of some ewk files.
3281 https://bugs.webkit.org/show_bug.cgi?id=63517
3283 Change some file's permission same with other file's.
3285 * ewk/ewk_tiled_backing_store.c:
3286 * ewk/ewk_tiled_model.c:
3287 * ewk/ewk_view_single.c:
3289 2011-06-27 Ryuan Choi <ryuan.choi@samsung.com>
3291 Reviewed by Antonio Gomes.
3293 [EFL] Remove private header files from EWebKit_HEADERS.
3294 https://bugs.webkit.org/show_bug.cgi?id=63441
3296 Remove ewk_tiled_private.h, ewk_tiled_backing_store.h, ewk_tiled_matrix.h,
3297 ewk_tiled_model.h and check WTF_USE_SOUP to remove ewk_auth_soup.h.
3299 * CMakeListsEfl.txt:
3301 2011-06-27 Jongseok Yang <js45.yang@samsung.com>
3303 Reviewed by Kent Tamura.
3305 [EFL] Use accept attribute when executing the file picker for input element
3306 https://bugs.webkit.org/show_bug.cgi?id=63063
3309 - remove the argument "suggested_filenames" from ewk_view_run_open_panel
3310 - add the argument "accept" to ewk_view_run_open_panel
3311 - get the accept attribute and pass to ewk_view_run_open_panel within runOpenPanel
3313 * WebCoreSupport/ChromeClientEfl.cpp:
3314 (WebCore::ChromeClientEfl::runOpenPanel):
3316 (ewk_view_run_open_panel):
3319 2011-06-27 Gyuyoung Kim <gyuyoung.kim@samsung.com>
3321 Unreviewed. Fix style error.
3323 Remove meaningless parameter from WebCoreSupport's header files.
3325 * WebCoreSupport/ChromeClientEfl.h:
3326 (WebCore::ChromeClientEfl::scrollRectIntoView):
3327 * WebCoreSupport/DragClientEfl.h:
3328 * WebCoreSupport/FrameLoaderClientEfl.h:
3329 (WebCore::FrameLoaderClientEfl::setWebFrame):
3331 2011-06-27 KwangHyuk Kim <hyuki.kim@samsung.com>
3333 Reviewed by Kenneth Rohde Christiansen.
3335 [EFL] Remove ewk_tile_matrix_updates_process() call from _ewk_tiled_backing_store_item_process_idler_cb().
3336 https://bugs.webkit.org/show_bug.cgi?id=62963
3338 As repaint_process on ewk_view_tiled already takes care of dirty area in visible area
3339 and in order to let pre-render work more efficiently,
3340 _ewk_tiled_backing_store_item_process_idler_cb() better not call ewk_tile_matrix_updates_process().
3342 * ewk/ewk_tiled_backing_store.c:
3343 (_ewk_tiled_backing_store_item_process_idler_cb):
3345 2011-06-27 KwangHyuk Kim <hyuki.kim@samsung.com>
3347 Reviewed by Kenneth Rohde Christiansen.
3349 [EFL] Remove dead code related with Ewk_Tiled_Backing_Store_Item's update field.
3350 https://bugs.webkit.org/show_bug.cgi?id=62967
3352 As some code do not affect any logical flow of tiled backing store except condition check,
3353 I would like to clean dead code related with Ewk_Tiled_Backing_Store_Item's update field
3354 and Ewk_Tiled_Backing_Store_Data's queue field
3356 * ewk/ewk_tiled_backing_store.c:
3357 (_ewk_tiled_backing_store_item_process_idler_cb):
3358 (_ewk_tiled_backing_store_item_fill):
3359 (_ewk_tiled_backing_store_item_add):
3360 (_ewk_tiled_backing_store_item_del):
3362 2011-06-26 Ryuan Choi <ryuan.choi@samsung.com>
3364 Reviewed by Antonio Gomes.
3366 [EFL] Functions needing Ewk_View_Private_Data as parameter are not part of public API.
3367 https://bugs.webkit.org/show_bug.cgi?id=62688
3369 Move functions which use Ewk_View_Private_Data and may not be required by
3370 applications to ewk_private.h.
3372 * ewk/ewk_private.h:
3375 2011-06-24 Ryuan Choi <ryuan.choi@samsung.com>
3377 Reviewed by Antonio Gomes.
3379 [EFL] Remove ewk_frame_theme_get/set.
3380 https://bugs.webkit.org/show_bug.cgi?id=63370
3382 Remove ewk_frame_theme_get/set to avoid confusion.
3383 Setting theme on each frame is meaningless and ewk_view_thjeme_set can
3386 * ewk/ewk_frame.cpp:
3389 (ewk_view_theme_set):
3391 2011-06-24 Gyuyoung Kim <gyuyoung.kim@samsung.com>
3393 Reviewed by Kent Tamura.
3395 [EFL] Add ewk_auth.h to EWebKit.h
3396 https://bugs.webkit.org/show_bug.cgi?id=63311
3398 * ewk/EWebKit.h: Add ewk_auth.h
3400 2011-06-23 Ryuan Choi <ryuan.choi@samsung.com>
3402 Reviewed by Antonio Gomes.
3404 [EFL] Crash when running EWebLauncher
3405 https://bugs.webkit.org/show_bug.cgi?id=62628
3407 Call DocumentWriter::setEncoding when FrameLoaderClientEfl::finishedLoading()
3409 It will clear parser not to crash when called endIfNotLoadingMainResource().
3411 * WebCoreSupport/FrameLoaderClientEfl.cpp:
3412 (WebCore::FrameLoaderClientEfl::FrameLoaderClientEfl):
3413 (WebCore::FrameLoaderClientEfl::makeRepresentation):
3414 (WebCore::FrameLoaderClientEfl::revertToProvisionalState):
3415 (WebCore::FrameLoaderClientEfl::finishedLoading):
3416 * WebCoreSupport/FrameLoaderClientEfl.h:
3418 2011-06-22 Ryuan Choi <ryuan.choi@samsung.com>
3420 Reviewed by Antonio Gomes.
3422 [EFL] Add an option to enable Device Orientation Event.
3423 https://bugs.webkit.org/show_bug.cgi?id=63120
3425 * CMakeListsEfl.txt: Add files to build with ENABLE_DEVICE_ORIENTATION.
3427 (_ewk_view_priv_new): Create DeviceOrientationClientEfl and DeviceMotionClientEfl.
3429 2011-06-22 Ryuan Choi <ryuan.choi@samsung.com>
3431 Reviewed by Antonio Gomes.
3433 [EFL] Add DeviceOrientationClientEfl and DeviceMotionClientEfl.
3434 https://bugs.webkit.org/show_bug.cgi?id=63125
3436 Add dummy files to build with ENABLE_DEVICE_ORIENTATION.
3438 * WebCoreSupport/DeviceMotionClientEfl.cpp: Added.
3439 (WebCore::DeviceMotionClientEfl::DeviceMotionClientEfl):
3440 (WebCore::DeviceMotionClientEfl::~DeviceMotionClientEfl):
3441 (WebCore::DeviceMotionClientEfl::deviceMotionControllerDestroyed):
3442 (WebCore::DeviceMotionClientEfl::setController):
3443 (WebCore::DeviceMotionClientEfl::startUpdating):
3444 (WebCore::DeviceMotionClientEfl::stopUpdating):
3445 (WebCore::DeviceMotionClientEfl::currentDeviceMotion):
3446 * WebCoreSupport/DeviceMotionClientEfl.h: Added.
3447 * WebCoreSupport/DeviceOrientationClientEfl.cpp: Added.
3448 (WebCore::DeviceOrientationClientEfl::DeviceOrientationClientEfl):
3449 (WebCore::DeviceOrientationClientEfl::~DeviceOrientationClientEfl):
3450 (WebCore::DeviceOrientationClientEfl::deviceOrientationControllerDestroyed):
3451 (WebCore::DeviceOrientationClientEfl::setController):
3452 (WebCore::DeviceOrientationClientEfl::startUpdating):
3453 (WebCore::DeviceOrientationClientEfl::stopUpdating):
3454 (WebCore::DeviceOrientationClientEfl::lastOrientation):
3455 * WebCoreSupport/DeviceOrientationClientEfl.h: Added.
3457 2011-06-20 Dimitri Glazkov <dglazkov@chromium.org>
3459 Reviewed by Kent Tamura.
3461 FileChooser should be only created when we need to choose files.
3462 https://bugs.webkit.org/show_bug.cgi?id=63039
3464 * WebCoreSupport/ChromeClientEfl.cpp:
3465 (WebCore::ChromeClientEfl::runOpenPanel): Changed to use settings.
3467 2011-06-20 Gyuyoung Kim <gyuyoung.kim@samsung.com>
3469 Unreviewed. Fix style error.
3471 * WebCoreSupport/EditorClientEfl.h:
3472 (WebCore::EditorClientEfl::requestCheckingOfString):
3474 2011-06-20 Ryuan Choi <ryuan.choi@samsung.com>
3476 Reviewed by Antonio Gomes.
3478 [EFL] ChromeClientEfl doesn't need to check whether m_view is null.
3479 https://bugs.webkit.org/show_bug.cgi?id=62978
3481 Remove unnecessary check routines of m_view because ChromeClientEfl have
3482 valid m_view always.
3484 * WebCoreSupport/ChromeClientEfl.cpp:
3485 (WebCore::ChromeClientEfl::ChromeClientEfl): Add ASSERT(m_view)
3486 (WebCore::ChromeClientEfl::windowRect):
3487 (WebCore::ChromeClientEfl::setWindowRect):
3488 (WebCore::ChromeClientEfl::pageRect):
3490 2011-06-20 Ryosuke Niwa <rniwa@webkit.org>
3492 EFL build fix after r89293.
3494 * WebCoreSupport/EditorClientEfl.cpp:
3495 (WebCore::EditorClientEfl::handleEditingKeyboardEvent):
3497 2011-06-18 Dimitri Glazkov <dglazkov@chromium.org>
3499 Reviewed by Darin Adler.
3501 Separate concerns of loading file icons and choosing files.
3502 https://bugs.webkit.org/show_bug.cgi?id=62931
3504 * WebCoreSupport/ChromeClientEfl.cpp:
3505 (WebCore::ChromeClientEfl::loadIconForFiles): Renamed.
3506 * WebCoreSupport/ChromeClientEfl.h:
3508 2011-06-15 Grzegorz Czajkowski <g.czajkowski@samsung.com>
3510 Reviewed by Antonio Gomes.
3512 [EFL] Fix and update doxygen documentation for ewk_frame.
3513 https://bugs.webkit.org/show_bug.cgi?id=62533
3516 - fixes method descriptions,
3517 - adds briefs for structure and typdef,
3518 - replaces NULL to 0 in doxygen documentation (webkit's style required it),
3519 - removes dots from the end of params and return description (see EFL's documentation),
3520 - moves includes and defines below a brief of ewk_frame.h
3521 - moves internal methods to the end of ewk_frame.cpp.
3523 * ewk/ewk_frame.cpp:
3527 2011-06-15 Kamil Blank <k.blank@samsung.com>
3529 Reviewed by Kenneth Rohde Christiansen.
3531 [EFL] Soup authentication feature implementation.
3532 https://bugs.webkit.org/show_bug.cgi?id=54752
3534 This implementation is based on GTK implementation.
3535 During ewk initialization SoupSessionFeature is added which provides possibility to handle&nb