1 2011-10-21 Gyuyoung Kim <gyuyoung.kim@samsung.com>
3 [EFL] Change efl style local variables with WebKit coding Style.
4 https://bugs.webkit.org/show_bug.cgi?id=69988
6 Reviewed by Antonio Gomes.
8 Change *sd* variable name with *smartData*. Some variables were changed by Bug 69988.
14 (ewk_frame_contents_size_get):
15 (ewk_frame_load_document_finished):
16 (ewk_frame_load_error):
17 (ewk_frame_title_set):
18 (ewk_frame_uri_changed):
19 (ewk_frame_editor_client_selection_changed):
20 (ewk_frame_editor_client_contents_changed):
21 (EWKPrivate::coreFrame):
23 (_ewk_view_smart_pre_render_region):
24 (_ewk_view_smart_pre_render_relative_radius):
25 (_ewk_view_smart_pre_render_cancel):
26 (_ewk_view_smart_disable_render):
27 (_ewk_view_smart_enable_render):
28 (EWKPrivate::corePage):
29 * ewk/ewk_view_single.cpp:
30 (_ewk_view_single_smart_add):
31 (_ewk_view_single_smart_resize):
33 2011-10-21 Gyuyoung Kim <gyuyoung.kim@samsung.com>
35 [EFL] Change efl style local variables with WebKit coding Style.
36 https://bugs.webkit.org/show_bug.cgi?id=69988
38 Reviewed by Antonio Gomes.
40 In common with Bug 69073, this is a third step in order to be more compliant with WebKit coding style.
41 We have used one-letter| two-letter local variable according to efl style. However, it's
42 more difficult for other reviewers to review EFL patches. So, this patch changes efl style
43 local variable with meaningful one.
45 - Use *menu* instead of *o* in comment of ewk_contextmenu.cpp.
46 - Use *list* instead of *l* local variable
47 - Use *ewkPolicy* instead of *ewk_policy* in ewk_cookies.cpp
48 - Use *smartData* instead of *sd* local variable for Ewk_XXXX_Smart_Data struct.
49 - Use *width*, *height* instead of *w*, *h* local variables.
50 - Use *scrollX*, *scrollY*, *scrollWidth*, *scrollHeight*, *centerX*, *centerY*, *deltaX*, *deltaY*,
51 *baseX*, *baseY* instead of *sx*, *sy*, *sw*, *sh*, *cx*, *cy*, *dx*, *dy*, *bx*, *by*.
52 - Use *red*, *green*, *blue*, *alpha*, *contentRed*, *contentGreen*, *contentBlue* and *contentAlpha*
53 instead of *r*,*g*,*b*,*a*,*cr*,*cg*,*cb*,*ca*.
54 - Use *tilePositionX*, *tilePositionY* instead of *ox*,*oy* in tiled backingstore files.
55 - Use *object* instead of *obj*
56 - Use *length* instead of *len*
57 - Use *coreFrame* instead of *cf*
58 - Use *buffer* instead of *buf*
59 - Use *item* instead of *i*
60 - Use *currentColumn*, *currentRow* instead of *m_col*, *m_row*
61 - Remove "_" in local variable.
64 * ewk/ewk_auth_soup.cpp:
65 * ewk/ewk_contextmenu.cpp:
66 * ewk/ewk_cookies.cpp:
68 * ewk/ewk_history.cpp:
71 * ewk/ewk_settings.cpp:
72 * ewk/ewk_tiled_backing_store.cpp:
73 * ewk/ewk_tiled_matrix.cpp:
74 * ewk/ewk_tiled_model.cpp:
77 2011-10-21 Grzegorz Czajkowski <g.czajkowski@samsung.com>
79 [EFL] ewk_view_mode_get uses dedicated macros instead of standard NULL checking.
80 https://bugs.webkit.org/show_bug.cgi?id=65680
82 Reviewed by Ryosuke Niwa.
84 Generally API methods using macros NULL checking in WebKit-EFL.
85 The macros ensure that code is smaller, version of view object
86 is checked and error message is displayed if NULL is passed.
91 2011-10-19 Rafael Antognolli <antognolli@profusion.mobi>
93 [EFL] Fix typos on ewk_view and ewk_js.
94 https://bugs.webkit.org/show_bug.cgi?id=70430
98 Fixes for typos that were introduced when renaming variables to follow
102 (ewk_js_property_set):
104 (ewk_js_npobject_to_object):
106 (ewk_js_object_invoke):
107 (ewk_js_object_type_get):
108 (ewk_js_object_type_set):
109 (ewk_js_variant_free):
111 (ewk_view_js_object_add):
113 2011-10-18 Raphael Kubo da Costa <kubo@profusion.mobi>
115 [EFL] DRT: Clear list of visited pages before each test.
116 https://bugs.webkit.org/show_bug.cgi?id=70355
118 Reviewed by Antonio Gomes.
120 Add ewk_history_clear as a way to clear the list of visited pages in a
121 Ewk_History, in a similar fashion to Qt's QWebHistory::clear().
123 * ewk/ewk_history.cpp:
127 2011-10-18 Grzegorz Czajkowski <g.czajkowski@samsung.com>
129 [EFL] Remove const modifier from ctx_menu functions.
130 https://bugs.webkit.org/show_bug.cgi?id=70090
132 Reviewed by Andreas Kling.
134 Functions ewk_context_menu_show and ewk_context_menu_custom_get
135 have got const modifer to ensure that Ewk_Context_Menu won't be
136 changed. The methods emit events through
137 evas_object_smart_callback_call with Ewk_Context_Menu as parameter
138 which is converted to void *. In this case an application which
139 receives those events may change Ewk_Context_Menu.
141 Additionaly the name of ewk_context_menu_custom_get has been changed
142 to ewk_context_menu_customize because an application is able to
143 modify the items of context menu.
145 * ewk/ewk_contextmenu.cpp:
146 (ewk_context_menu_customize):
147 (ewk_context_menu_show):
150 2011-10-17 Raphael Kubo da Costa <kubo@profusion.mobi>
152 [EFL] Expose the kit() frame function to the rest of ewk.
153 https://bugs.webkit.org/show_bug.cgi?id=70253
155 Reviewed by Antonio Gomes.
157 Now that we have the EWKPrivate namespace, it makes sense to make the
158 kit() function accessible there instead of having it as a static local
159 function in ewk_frame.
161 While on it, get rid of ewk_frame_core_get, which is obsolete after
162 EWKPrivate::coreFrame.
164 * WebCoreSupport/EditorClientEfl.cpp:
165 (WebCore::EditorClientEfl::respondToChangedSelection):
166 * WebCoreSupport/FrameLoaderClientEfl.cpp:
167 (WebCore::FrameLoaderClientEfl::callPolicyFunction):
168 (WebCore::FrameLoaderClientEfl::dispatchDecidePolicyForNewWindowAction):
169 (WebCore::FrameLoaderClientEfl::dispatchDecidePolicyForNavigationAction):
170 (WebCore::FrameLoaderClientEfl::didTransferChildFrameToNewDocument):
171 (WebCore::FrameLoaderClientEfl::dispatchDidClearWindowObjectInWorld):
172 (WebCore::FrameLoaderClientEfl::dispatchCreatePage):
173 (WebCore::FrameLoaderClientEfl::createNetworkingContext):
175 (_ewk_frame_loader_efl_get):
176 (_ewk_frame_children_iterator_next):
177 (ewk_frame_child_find):
178 (ewk_frame_hit_test_new):
179 (EWKPrivate::kitFrame):
182 (ewk_view_setting_encoding_custom_get):
183 (ewk_view_setting_encoding_custom_set):
185 2011-10-17 Raphael Kubo da Costa <kubo@profusion.mobi>
187 [EFL] Do not check for Frame::contentRenderer() in ewk_view_repaint.
188 https://bugs.webkit.org/show_bug.cgi?id=70118
190 Reviewed by Kenneth Rohde Christiansen.
192 When we have a scrollbar with an actual width, there might be a call
193 to ChromeClientEfl::invalidateContentsAndWindow() after
194 Document::detach() was called, making the call to contentRenderer()
195 return 0 even though everything is fine.
197 Example test case: animations/animation-shorthand.html.
202 2011-10-17 Raphael Kubo da Costa <kubo@profusion.mobi>
204 [EFL] Set a default charset when creating a view.
205 https://bugs.webkit.org/show_bug.cgi?id=69771
207 Reviewed by Antonio Gomes.
209 Most (or all) ports default to iso-8859-1 when creating a view (or their
210 equivalent of a view), so we should do that too.
212 This makes fast/dom/Document/document-charset.html pass.
215 (_ewk_view_priv_new):
217 2011-10-14 Mark Hahnenberg <mhahnenberg@apple.com>
219 Rename virtual put to putVirtual
220 https://bugs.webkit.org/show_bug.cgi?id=69851
222 Reviewed by Darin Adler.
224 Renamed virtual versions of put to putVirtual in prepration for
225 adding the static put to the MethodTable in ClassInfo since the
226 compiler gets mad if the virtual and static versions have the same
230 (ewk_view_js_object_add):
232 2011-10-14 Mark Hahnenberg <mhahnenberg@apple.com>
234 Rename virtual put to putVirtual
235 https://bugs.webkit.org/show_bug.cgi?id=69851
237 Reviewed by Darin Adler.
239 Renamed virtual versions of put to putVirtual in prepration for
240 adding the static put to the MethodTable in ClassInfo since the
241 compiler gets mad if the virtual and static versions have the same
245 (ewk_view_js_object_add):
247 2011-10-14 Raphael Kubo da Costa <kubo@profusion.mobi>
249 [EFL] Bump class version after r97421.
250 https://bugs.webkit.org/show_bug.cgi?id=70102
252 Reviewed by Joseph Pecoraro.
254 r97421 changed the signature of the run_open_panel virtual method in
255 Ewk_Smart_Class, so we need to bump the class version.
259 2011-10-14 Raphael Kubo da Costa <kubo@profusion.mobi>
261 [EFL] Add DumpRenderTreeSupportEfl
262 https://bugs.webkit.org/show_bug.cgi?id=68458
264 Reviewed by Kenneth Rohde Christiansen.
266 This class is similar to their counterparts present in the Qt and GTK+
267 ports, and it is responsible for providing an interface to certain
268 WebCore methods needed by DumpRenderTree.
270 * CMakeListsEfl.txt: Conditionally add the svg directories to the
272 * WebCoreSupport/DumpRenderTreeSupportEfl.cpp: Added.
273 (DumpRenderTreeSupportEfl::DumpRenderTreeSupportEfl):
274 (DumpRenderTreeSupportEfl::~DumpRenderTreeSupportEfl):
275 (DumpRenderTreeSupportEfl::activeAnimationsCount):
276 (DumpRenderTreeSupportEfl::clearFrameName):
277 (DumpRenderTreeSupportEfl::clearOpener):
278 (DumpRenderTreeSupportEfl::counterValueByElementId):
279 (DumpRenderTreeSupportEfl::frameChildren):
280 (DumpRenderTreeSupportEfl::frameParent):
281 (DumpRenderTreeSupportEfl::layoutFrame):
282 (DumpRenderTreeSupportEfl::numberOfPages):
283 (DumpRenderTreeSupportEfl::numberOfPagesForElementId):
284 (DumpRenderTreeSupportEfl::pauseAnimation):
285 (DumpRenderTreeSupportEfl::pauseSVGAnimation):
286 (DumpRenderTreeSupportEfl::pauseTransition):
287 (DumpRenderTreeSupportEfl::pendingUnloadEventCount):
288 (DumpRenderTreeSupportEfl::renderTreeDump):
289 (DumpRenderTreeSupportEfl::responseMimeType):
290 (DumpRenderTreeSupportEfl::resumeAnimations):
291 (DumpRenderTreeSupportEfl::selectionRectangle):
292 (DumpRenderTreeSupportEfl::suitableDRTFrameName):
293 (DumpRenderTreeSupportEfl::suspendAnimations):
294 (DumpRenderTreeSupportEfl::findString):
295 (DumpRenderTreeSupportEfl::garbageCollectorCollect):
296 (DumpRenderTreeSupportEfl::garbageCollectorCollectOnAlternateThread):
297 (DumpRenderTreeSupportEfl::javaScriptObjectsCount):
298 (DumpRenderTreeSupportEfl::workerThreadCount):
299 (DumpRenderTreeSupportEfl::childHistoryItems):
300 (DumpRenderTreeSupportEfl::historyItemTarget):
301 (DumpRenderTreeSupportEfl::isTargetItem):
302 (DumpRenderTreeSupportEfl::setMockScrollbarsEnabled):
303 * WebCoreSupport/DumpRenderTreeSupportEfl.h: Added.
305 (EWKPrivate::coreFrame): Export the WebCore::Frame* related to an
307 * ewk/ewk_history.cpp: Remove functions which have been moved to
308 DumpRenderTreeSupportEfl.
309 (_ewk_history_item_list_get): _ewk_history_item_new ->
310 ewk_history_item_new_from_core.
311 (ewk_history_history_item_back_get): Ditto.
312 (ewk_history_history_item_current_get): Ditto.
313 (ewk_history_history_item_forward_get): Ditto.
314 (ewk_history_history_item_nth_get): Ditto.
315 (ewk_history_item_new): Ditto.
316 (ewk_history_item_new_from_core): Rename from _ewk_history_item_new.
317 (EWKPrivate::coreHistoryItem): Export the WebCore::HistoryItem*
318 related to an Ewk_History_Item.
319 * ewk/ewk_private.h: Create the EWKPrivate namespace, remove functions
320 which have been moved to DumpRenderTreeSupportEfl.
321 * ewk/ewk_util.cpp: Remove functions which have been moved to
322 DumpRenderTreeSupportEfl.
324 (EWKPrivate::corePage): Export the WebCore::Page* related to an
327 2011-10-13 Raphael Kubo da Costa <kubo@profusion.mobi>
329 [EFL]: Move from FileChooserSettings deprecatedAcceptType to acceptMIMETypes
330 https://bugs.webkit.org/show_bug.cgi?id=70002
332 Reviewed by Joseph Pecoraro.
334 Adapt to the changes introduced in r97336 and r97338 by using a vector
335 of strings instead of a single string in runOpenPanel().
337 * WebCoreSupport/ChromeClientEfl.cpp:
338 (WebCore::ChromeClientEfl::runOpenPanel):
341 (ewk_view_run_open_panel): Change signature; accept a Vector<String>
342 instead of a char*. Build an Eina_List to pass for child classes.
345 2011-10-13 Leandro Pereira <leandro@profusion.mobi>
347 Unreviewed; revert some changes introduced in r97329 which are
348 unrelated to the patch and reverted other patches themselves.
351 (_ewk_frame_smart_del): Remove warning again.
352 (ewk_frame_contents_size_get): Check for Frame and FrameView again.
354 (_ewk_view_priv_new): Revert back default font size change.
356 2011-10-12 Joseph Pecoraro <joepeck@webkit.org>
358 Pass Parsed Accept Attribute MIME Types to WebKit Clients
359 https://bugs.webkit.org/show_bug.cgi?id=69598
361 Reviewed by Kent Tamura.
363 EFL uses the deprecated accept string. They can switch
364 to an Eina_List if they want to update their API.
366 * src/ChromeClientImpl.cpp:
367 (WebKit::ChromeClientImpl::runOpenPanel):
369 2011-10-12 Gyuyoung Kim <gyuyoung.kim@samsung.com>
371 [EFL] Change efl style parameter variables with WebKit coding Style
372 https://bugs.webkit.org/show_bug.cgi?id=69073
374 Reviewed by Antonio Gomes.
376 This is a third step in order to be more compliant with WebKit coding style.
377 We have used one-letter| two-letter parameter according to efl style. However, it's more difficult
378 for other reviewers to review EFL patches. So, this patch changes efl style parameters
381 Majors changes are listed below,
383 - Use ewkFrame instead of o parameter in ewk_frame.cpp.
384 - Use ewkView instead of o parameter in ewk_view.cpp.
385 - Use menu and item instead of o parameter in ewk_contextmenu.cpp.
386 - Use ewkTile instead of o parameter in ewk_tile_xxx.cpp.
387 - Use tile parameter name instead of t parameter in ewk_tile_xxx.cpp.
388 - Use smartData instead of sd parameter for Ewk_XXXX_Smart_Data struct.
389 - Use width, height instead of w, h parameter.
390 - Use xxxEvent instead of ev parameter for event. (e.g. downEvent, upEvent, wheelEvent)
391 - Use scrollX, scrollY, scrollWidth, scrollHeight, centerX, centerY, deltaX, deltaY instead of sx, xy, sw,
393 - Use tileUnusedCache instead of tuc parameter in tiled backing store.
394 - Use red, green, blue and alpha instead of r,g,b,a.
395 - Remove "_" from parameter variable.
396 - Run demarchi's coding style script for ewk_tile_xxx.cpp files.
397 - Remove *void* parameter in ewk_tile_xxx.cpp's internal functions.
399 * ewk/ewk_auth_soup.cpp:
400 * ewk/ewk_contextmenu.cpp:
401 * ewk/ewk_cookies.cpp:
403 * ewk/ewk_history.cpp:
405 * ewk/ewk_protocol_handler_soup.cpp:
406 * ewk/ewk_settings.cpp:
407 * ewk/ewk_tiled_backing_store.cpp:
408 * ewk/ewk_tiled_backing_store.h:
409 * ewk/ewk_tiled_matrix.cpp:
410 * ewk/ewk_tiled_matrix.h:
411 * ewk/ewk_tiled_model.cpp:
412 * ewk/ewk_tiled_model.h:
414 * ewk/ewk_view_single.cpp:
415 * ewk/ewk_view_tiled.cpp:
416 * ewk/ewk_window_features.cpp:
418 2011-10-10 Raphael Kubo da Costa <kubo@profusion.mobi>
420 [EFL] Do not cache a frame's contents size.
421 https://bugs.webkit.org/show_bug.cgi?id=69772
423 Reviewed by Antonio Gomes.
425 As part of the process of experimenting with having scrollbars with
426 an actual size, it became clear that setting the contents size via
427 ChromeClient::contentsSizeChanged() and keeping the value around does
430 Case in point: FrameView::adjustViewSize() can result in nested
431 ScrollView::updateScrollbars() calls in which the innermost ones run
432 ChromeClient::contentsSizeChanged() before the outermost ones. This
433 means the ewk_frame's smart data will store an old value.
436 (ewk_frame_contents_size_get):
437 (ewk_frame_contents_size_changed):
439 2011-10-09 Ryuan Choi <ryuan.choi@samsung.com>
441 [EFL] Refactor zoom related APIs.
442 https://bugs.webkit.org/show_bug.cgi?id=62842
444 Current zoom apis can't support the case of using both page zoom and text
447 As a first step to refactor, this split ewk_{view|frame}_zoom_{get|set}
448 to use both page_zoom and text zoom individually.
449 In addition, introduce ewk_view_scale_{get|set} to support proportional scaling.
451 ewk_view_zoom_{get|set} will remain unchanged until the behavior of smart_zoom
454 Reviewed by Antonio Gomes.
456 * ewk/ewk_frame.cpp: Remove ewk_frame_zoom_text_only_{get|set}.
457 (ewk_frame_page_zoom_get): Renamed from ewk_frame_zoom_get().
458 (ewk_frame_page_zoom_set): Renamed from ewk_frame_zoom_set().
459 (ewk_frame_text_zoom_get): Extracted from ewk_frame_zoom_get().
460 (ewk_frame_text_zoom_set): Extracted from ewk_frame_zoom_set().
462 * ewk/ewk_view.cpp: Remove ewk_view_zoom_text_only_{get|set}
463 (_ewk_view_smart_zoom_set): Change ewk_frame_zoom_get() to ewk_frame_page_zoom_get().
464 (ewk_view_zoom_get): Change ewk_frame_zoom_get() to ewk_frame_page_zoom_get().
465 (ewk_view_page_zoom_get): Extracted from ewk_view_zoom_get().
466 (ewk_view_page_zoom_set): Extracted from ewk_view_zoom_set().
467 (ewk_view_scale_get): Added.
468 (ewk_view_scale_set): Added.
469 (ewk_view_text_zoom_get): Extracted from ewk_view_zoom_get().
470 (ewk_view_text_zoom_set): Extracted from ewk_view_zoom_set().
471 (ewk_view_zoom_weak_set): Change ewk_frame_zoom_get to ewk_frame_page_zoom_get().
472 (ewk_view_zoom_animated_set): Change ewk_frame_zoom_get() to ewk_frame_page_zoom_get().
473 (ewk_view_pre_render_region): Change ewk_frame_zoom_get() to ewk_frame_page_zoom_get().
474 (ewk_view_pre_render_relative_radius): Change ewk_frame_zoom_get() to ewk_frame_page_zoom_get().
477 2011-10-06 Gyuyoung Kim <gyuyoung.kim@samsung.com>
479 [EFL] Change data type of parameter in ewk_view_viewport_attributes_get().
480 https://bugs.webkit.org/show_bug.cgi?id=69505
482 Reviewed by Andreas Kling.
484 ewk_view_viewport_attributes_get() has used implicit casting for width and height of viewport.
485 However, it is better to use *int* data type as parameter data type instead of *float* casting.
488 (ewk_view_viewport_attributes_get):
491 2011-10-04 Gyuyoung Kim <gyuyoung.kim@samsung.com>
493 [EFL] Only set when the custom encoding is different from existing value
494 https://bugs.webkit.org/show_bug.cgi?id=69061
496 Reviewed by Hajime Morita.
498 Only set the custom encoding value if it is different from the current value, to avoid
502 (ewk_view_setting_encoding_custom_set):
504 2011-10-04 Rémi Duraffort <remi.duraffort@st.com>
506 [EFL] Fix compilation when SQLite and/or libxslt are not installed in /usr/include
507 https://bugs.webkit.org/show_bug.cgi?id=69338
513 2011-10-03 Ryuan Choi <ryuan.choi@samsung.com>
515 [EFL] Rename ewk_tiled_*.c to ewk_tiled_*.cpp
516 https://bugs.webkit.org/show_bug.cgi?id=68599
518 Use a C++ compiler for these files and fix compile issues and coding style.
520 Reviewed by Hajime Morita.
523 * ewk/ewk_tiled_backing_store.cpp: Renamed from Source/WebKit/efl/ewk/ewk_tiled_backing_store.c.
524 * ewk/ewk_tiled_backing_store.h:
525 * ewk/ewk_tiled_matrix.cpp: Renamed from Source/WebKit/efl/ewk/ewk_tiled_matrix.c.
526 * ewk/ewk_tiled_model.cpp: Renamed from Source/WebKit/efl/ewk/ewk_tiled_model.c.
528 2011-09-29 Gyuyoung Kim <gyuyoung.kim@samsung.com>
530 [EFL] Use C++ type cast instead of C style type cast
531 https://bugs.webkit.org/show_bug.cgi?id=68321
533 Reviewed by Martin Robinson.
535 This is a second step in order to be more compliant with WebKit coding style.
536 The second step is to change C-type casting with C++-type casting in .cpp files.
538 In addition, remained efl style '*' pointer placements are moved to the right place as well.
540 * ewk/ewk_auth_soup.cpp:
541 * ewk/ewk_contextmenu.cpp:
543 * ewk/ewk_history.cpp:
545 * ewk/ewk_view_single.cpp:
546 * ewk/ewk_view_tiled.cpp:
548 2011-09-29 Raphael Kubo da Costa <kubo@profusion.mobi>
550 [EFL] API to get plain text of the frame
551 https://bugs.webkit.org/show_bug.cgi?id=67114
553 Reviewed by Ryosuke Niwa.
555 Add a function to return a frame's contents converted to plain text,
556 as already exposed by other ports and needed by DRT when dumping a
560 (ewk_frame_plain_text_get):
563 2011-09-28 KwangHyuk Kim <hyuki.kim@samsung.com>
565 [EFL] Remove useless assignment code in _ewk_tiled_backing_store_zoom_set_internal.
566 https://bugs.webkit.org/show_bug.cgi?id=68594
568 As the 1st assignment of local variable bx in _ewk_tiled_backing_store_zoom_set_internal
569 isn't effective at all, this patch just removes it.
571 Reviewed by Ryosuke Niwa.
573 * ewk/ewk_tiled_backing_store.c:
574 (_ewk_tiled_backing_store_zoom_set_internal):
576 2011-09-28 Gyuyoung Kim <gyuyoung.kim@samsung.com>
578 [EFL] Remove *void* parameter in internal functions
579 https://bugs.webkit.org/show_bug.cgi?id=68867
581 Reviewed by Andreas Kling.
583 As a step to let ewk be compliant with webkit coding style,
584 we need to remove *void* parameter in internal functions.
587 * ewk/ewk_settings.cpp:
588 (ewk_settings_web_database_default_quota_get):
592 2011-09-28 Grzegorz Czajkowski <g.czajkowski@samsung.com>
594 [EFL] Allow to skip count parameter in ewk_view_repaints_get and ewk_view_scroll_requests_get.
595 https://bugs.webkit.org/show_bug.cgi?id=65842
597 Reviewed by Ryosuke Niwa.
599 Makes the count parameter in ewk_view_repaints_get and ewk_view_scroll_requests_get
600 as an optional parameter. Developer may pass NULL to skip returning the number of elements
601 of the requested array.
604 (ewk_view_repaints_get):
605 (ewk_view_scroll_requests_get):
607 2011-09-28 Grzegorz Czajkowski <g.czajkowski@samsung.com>
609 [EFL] URL of resources are not decoded.
610 https://bugs.webkit.org/show_bug.cgi?id=66540
612 Reviewed by Ryosuke Niwa.
614 Fix ewk_frame_resources_location_get which was returning the encoded URL of resources.
615 As a result characters for instance, %20 occurred. For now returned strings are decoded.
618 (ewk_frame_resources_location_get):
620 2011-09-27 Raphael Kubo da Costa <kubo@profusion.mobi>
622 [EFL] Make ewk_view emit the "load,document,finished" signal.
623 https://bugs.webkit.org/show_bug.cgi?id=66782
625 Reviewed by Antonio Gomes.
627 Currently, only ewk_frame emits the "load,document,finished" signal
628 when FrameLoaderClientEfl::dispatchDidFinishDocumentLoad() calls
629 ewk_frame_load_document_finished().
631 However, in some cases it is not even possible to connect to the
632 "frame,created" signal to properly monitor the
633 "load,document,finished" signal, as the former is not emitted.
634 fast/frames/frame-unload-crash.html, for example, has a page with an
635 iframe inside an iframe, and this innermost iframe does not seem to be
636 loaded via FrameLoaderClientEfl::createFrame (which calls all the
637 machinery which then emits the "frame,created" signal).
639 We now make ewk_frame_load_document_finished() call the newly-created
640 ewk_view_load_document_finished() function, whose job is to emit the
641 "load,document,signal" with the frame as its parameter. This way, one
642 can just connect to the view and make sure all the signals will get
646 (ewk_frame_load_document_finished):
649 (ewk_view_load_document_finished):
652 2011-09-26 Raphael Kubo da Costa <kubo@profusion.mobi>
654 [CMake] Remove FindFreetype.cmake
655 https://bugs.webkit.org/show_bug.cgi?id=68778
657 Reviewed by Adam Barth.
659 CMake has provided its own FindFreetype.cmake forever, so there is no
660 need to have another implementation in WebKit.
662 * CMakeListsEfl.txt: Use FREETYPE_{LIBRARIES,INCLUDE_DIRS} instead of
663 Freetype_{LIBRARIES,INCLUDE_DIRS}.
665 2011-09-26 Lucas De Marchi <lucas.demarchi@profusion.mobi>
667 [EFL] Add virtual method to notify user when wrapping focus
668 https://bugs.webkit.org/show_bug.cgi?id=68699
670 Reviewed by Antonio Gomes.
672 Add a virtual method to ewk_view, so the Chrome gets notified if we
673 finished focusing all the items and would start over. This way the
674 browser can decide to handle the subsequent focus changes among its
677 * WebCoreSupport/ChromeClientEfl.cpp: call ewk_view's virtual method to
678 give it a chance to grab focus
679 (WebCore::ChromeClientEfl::canTakeFocus):
681 * ewk/ewk_view.cpp: add virtual method
682 (ewk_view_focus_can_cycle):
683 * ewk/ewk_view.h: add focus direction enum and virtual method
685 2011-09-24 Adam Barth <abarth@webkit.org>
687 Always enable ENABLE(OFFLINE_WEB_APPLICATIONS)
688 https://bugs.webkit.org/show_bug.cgi?id=68767
690 Reviewed by Eric Seidel.
692 * WebCoreSupport/ChromeClientEfl.cpp:
693 (WebCore::ChromeClientEfl::reachedApplicationCacheOriginQuota):
694 * WebCoreSupport/ChromeClientEfl.h:
697 * ewk/ewk_settings.cpp:
698 (ewk_settings_cache_directory_path_set):
699 (ewk_settings_cache_directory_path_get):
701 2011-09-21 Lucas De Marchi <lucas.demarchi@profusion.mobi>
703 [EFL] Revert pointer operator coding style in ewk
704 https://bugs.webkit.org/show_bug.cgi?id=68231
706 Reviewed by Antonio Gomes.
708 The WebKit coding style mandates that "(...) in C++ code - Both pointer
709 types and reference types should be written with no space between the
710 type name and the * or &.". Until now EFL port was using the
711 coding-style of the library for platform code instead of WebKit's.
713 We are now trying to be more compliant with WebKit coding-style so it's
714 easier for other reviewers to review EFL code. The first step in this
715 direction is to move the '*' and '&' of pointers and references to the
718 This patch was generated with 'uncrustify' with the configure file
719 attached to the respective but report. There was one fix that had to be
720 manually made in order to keep the 'check-webkit-style' happy: a
721 function definition with a meaningless name. Other functions like this
722 exist but they will be fixed by a later patch.
724 Some nice side-effects of using uncrustify:
726 - Whitespace cleanup on comments
727 - Function parameters are aligned to the open parenthesis
728 - Remove tab characters
730 2011-09-21 Lucas De Marchi <lucas.demarchi@profusion.mobi>
732 [EFL] Don't try to free user-provided list
733 https://bugs.webkit.org/show_bug.cgi?id=68356
735 Reviewed by Antonio Gomes.
737 A coding-style cleanup revealed that we were using EINA_LIST_FREE in a
738 wrong manner. If we intended to free the data, we should call free()
739 (or whatever function is required to destroy it). However not only did
740 it use the wrong EFL api but it also introduced a change in behavior,
741 freeing user-provided data.
744 (ewk_frame_feed_touch_event): do not free user-provided data.
746 2011-09-21 Gyuyoung Kim <gyuyoung.kim@samsung.com>
748 [EFL] Fix alphabetical sorting problem
749 https://bugs.webkit.org/show_bug.cgi?id=68505
751 Reviewed by Philippe Normand.
753 * ewk/ewk_util.cpp: Fix wrong alphabetical sorting problem.
755 2011-09-20 Raphael Kubo da Costa <kubo@profusion.mobi>
757 [EFL] Call FrameLoader::detachFromParent() when destroying a frame.
758 https://bugs.webkit.org/show_bug.cgi?id=66855
760 Reviewed by Antonio Gomes.
762 Most other ports call this method somewhere when the frame is being
763 removed, as it performs some destruction calls which, in our case, at
764 least makes sure onunload events get delivered properly in
765 fast/frames/iframe-reparenting-adopt-node.html.
768 (_ewk_frame_smart_del): Call FrameLoader::detachFromParent()
770 2011-09-17 Mihai Parparita <mihaip@chromium.org>
772 FrameLoaderClient BackForwardList-related methods are unsued
773 https://bugs.webkit.org/show_bug.cgi?id=68293
775 Reviewed by Darin Adler.
777 Remove FrameLoaderClient methods that were added by r51629, since only
778 the old (since-deleted) Android port needed them.
780 * WebCoreSupport/FrameLoaderClientEfl.cpp:
781 * WebCoreSupport/FrameLoaderClientEfl.h:
783 2011-09-15 Adam Barth <abarth@webkit.org>
785 Rename ENABLE(DATABASE) to ENABLE(SQL_DATABASE)
786 https://bugs.webkit.org/show_bug.cgi?id=68205
788 Reviewed by Eric Seidel.
790 * WebCoreSupport/ChromeClientEfl.cpp:
791 * WebCoreSupport/ChromeClientEfl.h:
792 * ewk/ewk_settings.cpp:
793 (ewk_settings_web_database_default_quota_get):
794 (ewk_settings_web_database_path_set):
795 (ewk_settings_web_database_path_get):
797 2011-09-14 Grzegorz Czajkowski <g.czajkowski@samsung.com>
799 [EFL] Add NULL checks to ewk_window_features_new_from_core and ewk_view_window_create.
800 https://bugs.webkit.org/show_bug.cgi?id=64932
802 Reviewed by Eric Seidel.
804 It prevents the crash while allocating memory for the new window.
807 (ewk_view_window_create):
808 * ewk/ewk_window_features.cpp:
809 (ewk_window_features_new_from_core):
811 2011-09-13 Raphael Kubo da Costa <kubo@profusion.mobi>
813 [EFL] Do not always return the cached frame name.
814 https://bugs.webkit.org/show_bug.cgi?id=66856
816 Reviewed by Antonio Gomes.
818 When a frame has its parent changed (via adoptNode and appendChild,
819 for example), the frame name will change, so we need to account for
820 that case and change the cached name when needed.
822 This should make fast/frames/iframe-reparenting-unique-name.html pass.
825 (ewk_frame_name_get):
827 2011-09-12 Flavio Ceolin <flavio.ceolin@profusion.mobi>
829 Reviewed by Martin Robinson.
831 [EFL] Add custom network resource handler
832 https://bugs.webkit.org/show_bug.cgi?id=44759
834 This patch adds support for handling user-specific protocols.
835 It allows browsers to intercept and handle non-standard url schemes (such as preferences://)
836 allowing to load some resource from non-http/file storage, like a tar/zip/eet.
839 * ewk/ewk_protocol_handler.cpp: Added.
840 * ewk/ewk_protocol_handler.h: Added.
841 * ewk/ewk_protocol_handler_soup.cpp: Added.
842 * ewk/ewk_protocol_handler_soup.h: Added.
845 (ewk_view_protocol_handler_set):
846 (ewk_view_protocol_handler_unset):
847 (ewk_view_protocol_handler_resource_get):
850 2011-09-04 Ryuan Choi <ryuan.choi@samsung.com>
852 [EFL] Rename ewk_view_(single|tiled).c to ewk_view_(single|tiled).cpp
853 https://bugs.webkit.org/show_bug.cgi?id=66542
855 Use a C++ compiler for these files, so that they can include the C++-using
858 Reviewed by Daniel Bates.
861 * ewk/ewk_view_single.cpp: Renamed from Source/WebKit/efl/ewk/ewk_view_single.c.
862 (_ewk_view_single_on_del):
863 (_ewk_view_single_smart_add):
864 (_ewk_view_single_smart_backing_store_add):
865 (_ewk_view_single_smart_resize):
866 (_ewk_view_4b_move_region_up):
867 (_ewk_view_4b_move_region_down):
868 (_ewk_view_4b_move_line_left):
869 (_ewk_view_4b_move_line_right):
870 (_ewk_view_4b_move_region_left):
871 (_ewk_view_4b_move_region_right):
872 (_ewk_view_4b_move_region):
873 (_ewk_view_single_scroll_process_single):
874 (_ewk_view_single_smart_scrolls_process):
875 (_ewk_view_single_smart_repaints_process):
876 (_ewk_view_single_smart_zoom_weak_set):
877 (_ewk_view_single_smart_zoom_weak_smooth_scale_set):
878 (_ewk_view_single_smart_bg_color_set):
879 (ewk_view_single_smart_set):
880 (_ewk_view_single_smart_class_new):
881 (ewk_view_single_add):
882 * ewk/ewk_view_tiled.cpp: Renamed from Source/WebKit/efl/ewk/ewk_view_tiled.c.
883 (_ewk_view_tiled_render_cb):
884 (_ewk_view_tiled_updates_process_pre):
885 (_ewk_view_tiled_smart_backing_store_add):
886 (_ewk_view_tiled_contents_size_changed_cb):
887 (_ewk_view_tiled_smart_add):
888 (_ewk_view_tiled_smart_scrolls_process):
889 (_ewk_view_tiled_smart_repaints_process):
890 (_ewk_view_tiled_smart_contents_resize):
891 (_ewk_view_tiled_smart_zoom_set):
892 (_ewk_view_tiled_smart_zoom_weak_set):
893 (_ewk_view_tiled_smart_zoom_weak_smooth_scale_set):
894 (_ewk_view_tiled_smart_flush):
895 (_ewk_view_tiled_smart_pre_render_region):
896 (_ewk_view_tiled_smart_pre_render_relative_radius):
897 (_ewk_view_tiled_smart_pre_render_cancel):
898 (_ewk_view_tiled_smart_disable_render):
899 (_ewk_view_tiled_smart_enable_render):
900 (ewk_view_tiled_smart_set):
901 (_ewk_view_tiled_smart_class_new):
902 (ewk_view_tiled_add):
903 (ewk_view_tiled_unused_cache_get):
904 (ewk_view_tiled_unused_cache_set):
906 2011-09-02 Leandro Pereira <leandro@profusion.mobi>
908 Unreviewed build fix after r67110.
911 (ewk_view_need_touch_events_get): Make the function signature match
914 2011-09-01 Gyuyoung Kim <gyuyoung.kim@samsung.com>
916 [EFL] Allow controlling minimum DOMTimer interval on a per-page basis
917 https://bugs.webkit.org/show_bug.cgi?id=67012
919 Reviewed by Kenneth Russell.
921 Set default minimum DOMTimer interval to 4ms instead of 10ms. Because, 4ms is known
922 to better minimum value for performance. Mac, android, chromium and window ports already
923 use 4ms instead of 10ms.
925 It is desirable to be able to change the minimum DOMTimer interval on per-page basis
926 in order to avoid consuming excessive CPU and battery life on mobile devices. In addition,
927 other ports have already used this setting by means of Bug 54312.
931 * ewk/ewk_settings.cpp:
932 (ewk_settings_default_timer_interval_get):
933 * ewk/ewk_settings.h:
935 (_ewk_view_priv_new):
936 (ewk_view_setting_minimum_timer_interval_set):
937 (ewk_view_setting_minimum_timer_interval_get):
940 2011-09-01 KwangHyuk Kim <hyuki.kim@samsung.com>
942 [EFL] Remove unused code related with priv->render.process_entire_queue in ewk_tiled_backing_store.
943 https://bugs.webkit.org/show_bug.cgi?id=63377
945 priv->render.process_entire_queue affects no logical flow of ewk_tiled_backing_store,
946 But, ewk_view_tiled_process_entire_queue_set is now provided as setter api for it.
947 So removal of this api and some codes related with it is required.
949 Reviewed by Antonio Gomes.
951 * ewk/ewk_tiled_backing_store.c:
952 (_ewk_tiled_backing_store_smart_add):
953 (ewk_tiled_backing_store_enable_render):
954 * ewk/ewk_tiled_backing_store.h:
956 * ewk/ewk_view_tiled.c:
957 (ewk_view_tiled_unused_cache_set):
959 2011-08-31 Grzegorz Czajkowski <g.czajkowski@samsung.com>
961 [EFL] Fonts API refactoring.
962 https://bugs.webkit.org/show_bug.cgi?id=66654
964 Reviewed by Hajime Morita.
966 There are too many similar API regarding to fonts.
967 Add one consistent API to set/get the font name for the font family.
968 Remove the previous font API.
971 (ewk_view_font_family_name_get):
972 (ewk_view_font_family_name_set):
975 2011-08-30 Kaustubh Atrawalkar <kaustubh@motorola.com>
977 The unused ScrollView* argument can and should be removed from
979 https://bugs.webkit.org/show_bug.cgi?id=67117
981 Reviewed by Darin Adler.
983 * WebCoreSupport/ChromeClientEfl.h:
984 (WebCore::ChromeClientEfl::scrollRectIntoView):
986 2011-08-30 Grzegorz Czajkowski <g.czajkowski@samsung.com>
988 [EFL] Add const modifier to passed objects where it's recommended
989 https://bugs.webkit.org/show_bug.cgi?id=67110
991 Reviewed by Kent Tamura.
993 Add const modifier to passed Evas_Object if the function doesn't change its
994 property (the most cases to the getter functions).
996 * ewk/ewk_contextmenu.cpp:
997 (ewk_context_menu_item_list_get):
998 (ewk_context_menu_item_type_get):
999 (ewk_context_menu_item_action_get):
1000 (ewk_context_menu_item_title_get):
1001 (ewk_context_menu_item_checked_get):
1002 (ewk_context_menu_item_enabled_get):
1003 (ewk_context_menu_custom_get):
1004 (ewk_context_menu_show):
1005 * ewk/ewk_contextmenu.h:
1006 * ewk/ewk_frame.cpp:
1007 (ewk_frame_text_matches_nth_pos_get):
1008 (ewk_frame_text_selection_type_get):
1009 (ewk_frame_source_get):
1010 (ewk_frame_resources_location_get):
1012 * ewk/ewk_private.h:
1014 (_ewk_view_viewport_attributes_compute):
1015 (ewk_view_fixed_layout_size_get):
1016 (ewk_view_theme_get):
1018 (ewk_view_setting_encoding_detector_get):
1019 (ewk_view_setting_enable_developer_extras_get):
1020 (ewk_view_setting_spatial_navigation_get):
1021 (ewk_view_setting_local_storage_get):
1022 (ewk_view_setting_page_cache_get):
1023 (ewk_view_viewport_attributes_get):
1024 (ewk_view_zoom_range_min_get):
1025 (ewk_view_zoom_range_max_get):
1026 (ewk_view_user_scalable_get):
1027 (ewk_view_device_pixel_ratio_get):
1028 (ewk_view_page_rect_get):
1029 (ewk_view_mode_get):
1031 * ewk/ewk_window_features.cpp:
1032 (ewk_window_features_bool_property_get):
1033 (ewk_window_features_int_property_get):
1034 * ewk/ewk_window_features.h:
1036 2011-08-29 Grzegorz Czajkowski <g.czajkowski@samsung.com>
1038 [EFL] Add missing API documentation.
1039 https://bugs.webkit.org/show_bug.cgi?id=66927
1041 Reviewed by Kent Tamura.
1043 Adds missing documentation for ewk_context_menu_item_checked_get/set.
1044 Moves API documentation from cpp to the headers.
1045 Adds brief and file commands for ewk_js.h.
1047 * ewk/ewk_contextmenu.h:
1048 * ewk/ewk_cookies.cpp:
1049 * ewk/ewk_cookies.h:
1050 * ewk/ewk_frame.cpp:
1054 2011-08-29 Ryuan Choi <ryuan.choi@samsung.com>
1056 REGRESSION(r93637) Build break because header file is missing.
1057 https://bugs.webkit.org/show_bug.cgi?id=67113
1059 Unreviewed build fix after r93637.
1061 * CMakeListsEfl.txt: Add ewk_js.h in EWebKit_HEADERS.
1063 2011-08-25 Raphael Kubo da Costa <kubo@profusion.mobi>
1065 [EFL] Add API to allow scripts to close windows automatically via JavaScript.
1066 https://bugs.webkit.org/show_bug.cgi?id=66777
1068 Reviewed by Antonio Gomes.
1070 Make it possible to allow or prevent scripts from closing windows
1071 automatically (via window.close, for example).
1073 Besides being useful in general, this is required by DRT.
1076 (_ewk_view_priv_new):
1077 (ewk_view_setting_scripts_can_close_windows_get):
1078 (ewk_view_setting_scripts_can_close_windows_set):
1081 2011-08-25 Raphael Kubo da Costa <kubo@profusion.mobi>
1083 [EFL] Implement FrameLoaderClient::didTransferChildFrameToNewDocument
1084 https://bugs.webkit.org/show_bug.cgi?id=66690
1086 Reviewed by Antonio Gomes.
1088 The implementation is mostly based on the GTK+ port's, as we just need
1089 to transfer the ownership of the frame to a new view and adjust the
1090 smart object part accordingly.
1092 This should help make fast/frames/iframe-reparenting-adopt-node.html
1095 * WebCoreSupport/FrameLoaderClientEfl.cpp:
1096 (WebCore::FrameLoaderClientEfl::didTransferChildFrameToNewDocument):
1097 * ewk/ewk_frame.cpp:
1098 (ewk_frame_view_set):
1099 (ewk_frame_view_create_for_view):
1100 * ewk/ewk_private.h:
1102 2011-08-24 Jaehun Lim <ljaehun.lim@samsung.com>
1104 [EFL] Add dummy IconDatabaseClientEfl.
1105 http://bugs.webkit.org/show_bug.cgi?id=65596
1107 Implements a dummy IconDatabaseClientEfl class.
1108 Adds two files, IconDatabaseClientEfl.h | .cpp.
1110 Reviewed by Kent Tamura.
1112 * CMakeListsEfl.txt:
1113 * WebCoreSupport/IconDatabaseClientEfl.cpp: Added.
1114 (WebCore::IconDatabaseClientEfl::performImport):
1115 (WebCore::IconDatabaseClientEfl::didRemoveAllIcons):
1116 (WebCore::IconDatabaseClientEfl::didImportIconURLForPageURL):
1117 (WebCore::IconDatabaseClientEfl::didImportIconDataForPageURL):
1118 (WebCore::IconDatabaseClientEfl::didChangeIconForPageURL):
1119 (WebCore::IconDatabaseClientEfl::didFinishURLImport):
1120 * WebCoreSupport/IconDatabaseClientEfl.h: Added.
1122 2011-08-23 KwangHyuk Kim <hyuki.kim@samsung.com>
1124 [EFL] Change parameter type for some APIs in ewk_tile_matrix.
1125 https://bugs.webkit.org/show_bug.cgi?id=66639
1127 As type of both col and row parameter for ewk_tile_matrix's some APIs listed by this patch
1128 are different from each other and eina_matrixsparse associated with ewk_tile_matrix is now
1129 using unsigned long type for both col and row parameter, row parameter for ewk_tile_matrix
1130 is also better to be specified as unsigned long type.
1132 Reviewed by Anders Carlsson.
1134 * ewk/ewk_tiled_matrix.c:
1135 (ewk_tile_matrix_tile_exact_get):
1136 (ewk_tile_matrix_tile_exact_exists):
1137 (ewk_tile_matrix_tile_new):
1138 (ewk_tile_matrix_tile_update):
1139 (ewk_tile_matrix_tile_update_full):
1140 * ewk/ewk_tiled_matrix.h:
1142 2011-08-23 Raphael Kubo da Costa <kubo@profusion.mobi>
1144 [EFL] Get the default value for `scripts_window_open' from the right method.
1145 https://bugs.webkit.org/show_bug.cgi?id=66775
1147 Reviewed by Kent Tamura.
1149 For some unknown reason, the default value for this setting was being
1150 obtained from Settings::allowScriptsToCloseWindows() instead of
1151 Settings::javaScriptCanOpenWindowsAutomatically(), which makes no
1155 (_ewk_view_priv_new):
1157 2011-08-23 KwangHyuk Kim <hyuki.kim@samsung.com>
1159 [EFL] Change the tiled backing store to use constant size of tile.
1160 https://bugs.webkit.org/show_bug.cgi?id=65848
1162 As current tiled backing store in Webkit EFL is using variable tile size according to the zoom level,
1163 the number of tiles in viewport is not same always and the speed of panning is also not consistent
1164 whenever zoom level is changed.
1165 Therefore, tile size should be constant size in order to make sure the consistent panning speed.
1167 Reviewed by Anders Carlsson.
1169 * ewk/ewk_tiled_backing_store.c:
1170 (_ewk_tiled_backing_store_model_matrix_create):
1171 (_ewk_tiled_backing_store_smart_add):
1172 (_ewk_tiled_backing_store_smart_calculate):
1173 (_ewk_tiled_backing_store_zoom_set_internal):
1174 (ewk_tiled_backing_store_zoom_weak_set):
1175 (ewk_tiled_backing_store_flush):
1176 (ewk_tiled_backing_store_pre_render_region):
1177 (ewk_tiled_backing_store_pre_render_relative_radius):
1178 * ewk/ewk_tiled_backing_store.h:
1179 * ewk/ewk_tiled_matrix.c:
1180 (_ewk_tile_matrix_cell_free):
1181 (_ewk_tile_matrix_tile_free):
1182 (ewk_tile_matrix_new):
1183 (ewk_tile_matrix_tile_exact_get):
1184 (ewk_tile_matrix_tile_exact_exists):
1185 (ewk_tile_matrix_tile_new):
1186 (ewk_tile_matrix_tile_update):
1187 (ewk_tile_matrix_tile_update_full):
1188 (_ewk_tile_matrix_slicer_setup):
1189 (ewk_tile_matrix_update):
1190 (ewk_tile_matrix_dbg):
1191 * ewk/ewk_tiled_matrix.h:
1192 * ewk/ewk_tiled_model.c:
1195 2011-08-23 Jonas M. Gastal <jgastal@profusion.mobi>
1197 [EFL] Exporting JavaScript objects for EFL port
1198 https://bugs.webkit.org/show_bug.cgi?id=43446
1200 Reviewed by Antonio Gomes.
1202 This patch allows to export objects to JavaScript API,
1203 just like qt does, but it uses the netscape api
1204 to do the convertion to javascript object.
1207 * WebCoreSupport/FrameLoaderClientEfl.cpp:
1208 (WebCore::FrameLoaderClientEfl::dispatchDidClearWindowObjectInWorld):
1210 * ewk/ewk_js.cpp: Added.
1211 (ewk_js_variant_to_npvariant):
1212 (ewk_js_npvariant_to_variant):
1213 (ewk_js_property_has):
1214 (ewk_js_property_get):
1215 (ewk_js_property_set):
1216 (ewk_js_property_remove):
1217 (ewk_js_properties_enumerate):
1218 (ewk_js_method_has):
1219 (ewk_js_method_invoke):
1221 (ewk_js_class_free):
1222 (ewk_js_object_new):
1223 (ewk_js_object_free):
1224 (ewk_js_object_properties_get):
1225 (ewk_js_object_name_get):
1226 (ewk_js_variant_free):
1227 * ewk/ewk_js.h: Added.
1230 * ewk/ewk_private.h:
1232 (ewk_view_js_window_object_clear):
1233 (ewk_view_js_object_add):
1236 2011-08-23 Raphael Kubo da Costa <kubo@profusion.mobi>
1238 [EFL] Do not treat valid cases in ewk_frame_child_add() as failures.
1239 https://bugs.webkit.org/show_bug.cgi?id=66692
1241 Rubber-stamped by Kenneth Rohde Christiansen.
1243 Frame::page() and FrameTree::parent() returning 0 were being considered
1244 failure cases, however it is possible for them to return 0 when some
1245 arbitrary JavaScript is run.
1247 The function's return type has been changed to make it easier to convey
1248 these cases to the caller (which is only ewk_view_frame_create).
1250 This should make tests like
1251 fast/dom/null-page-show-modal-dialog-crash.html stop outputting
1252 erroneous messages to stderr.
1254 * ewk/ewk_frame.cpp:
1255 (ewk_frame_child_add):
1256 * ewk/ewk_private.h:
1258 2011-08-23 Leandro Pereira <leandro@profusion.mobi>
1260 Unreviewed build fix after r66685.
1262 * WebCoreSupport/FrameLoaderClientEfl.cpp:
1263 (WebCore::FrameLoaderClientEfl::dispatchDidClearWindowObjectInWorld):
1264 Assert using the right variable name.
1266 2011-08-23 Raphael Kubo da Costa <kubo@profusion.mobi>
1268 [EFL] Treat the case of WebCore::History->currentItem() returning NULL.
1269 https://bugs.webkit.org/show_bug.cgi?id=66698
1271 Reviewed by Kenneth Rohde Christiansen.
1273 WebCore::History->currentItem() may return NULL, and we'd better treat
1274 it in ewk_history_history_item_current_get itself than propagate the
1275 issue to _ewk_history_item_new.
1277 * ewk/ewk_history.cpp:
1278 (ewk_history_history_item_current_get):
1279 * ewk/ewk_history.h:
1281 2011-08-23 Raphael Kubo da Costa <kubo@profusion.mobi>
1283 [EFL] Add auxiliary history functions for DRT
1284 https://bugs.webkit.org/show_bug.cgi?id=66700
1286 Reviewed by Kent Tamura.
1288 EFL's DumpRenderTree implementation needs some private, auxiliary
1289 functions in ewk in order to iterate and dump the history tree when
1292 * ewk/ewk_history.cpp:
1293 (ewk_history_item_target_get):
1294 (ewk_history_item_target_is):
1295 (ewk_history_item_children_get):
1296 * ewk/ewk_private.h:
1298 2011-08-23 Raphael Kubo da Costa <kubo@profusion.mobi>
1300 [EFL] Add auxiliary ewk_util functions for DRT.
1301 https://bugs.webkit.org/show_bug.cgi?id=66702
1303 Reviewed by Kenneth Rohde Christiansen.
1305 Add some auxiliary functions needed by EFL's DRT implementation. They
1306 all revolve around talking to the garbage collector and counting the
1309 * ewk/ewk_private.h:
1311 (ewk_util_javascript_gc_collect):
1312 (ewk_util_javascript_gc_alternate_thread_collect):
1313 (ewk_util_javascript_gc_object_count_get):
1314 (ewk_util_worker_thread_count):
1317 2011-08-22 Raphael Kubo da Costa <kubo@profusion.mobi>
1319 [EFL] Implement FrameLoaderClient::dispatchDidClearWindowObjectInWorld
1320 https://bugs.webkit.org/show_bug.cgi?id=66685
1322 Reviewed by Kent Tamura.
1324 Implement dispatchDidClearWindowObjectInWorld, as it is needed by
1325 DumpRenderTree to, among other things, properly install the event
1326 sender in the window object.
1328 This implementation works by emitting a "window,object,cleared" signal
1329 with a private struct containing the required information (context,
1330 window object and frame).
1332 * WebCoreSupport/FrameLoaderClientEfl.cpp:
1333 (WebCore::FrameLoaderClientEfl::dispatchDidClearWindowObjectInWorld):
1334 * WebCoreSupport/FrameLoaderClientEfl.h:
1335 * ewk/ewk_private.h:
1337 2011-08-20 Grzegorz Czajkowski <g.czajkowski@samsung.com>
1339 [EFL] Fix and update doxygen documentation for ewk_view.
1340 https://bugs.webkit.org/show_bug.cgi?id=66293
1342 Reviewed by Kent Tamura.
1346 Fixes description of method, parameters and returned value of API
1347 related to settings.
1349 2011-08-20 Grzegorz Czajkowski <g.czajkowski@samsung.com>
1351 [EFL] Fix and update doxygen documentation for ewk_view.
1352 https://bugs.webkit.org/show_bug.cgi?id=66293
1354 Reviewed by Kent Tamura.
1356 Fixes description of methods, parameters and returned value of API
1357 related to cache of unused tiles, text searching and zoom matter.
1361 2011-08-20 Grzegorz Czajkowski <g.czajkowski@samsung.com>
1363 [EFL] Fix and update doxygen documentation for ewk_view.
1364 https://bugs.webkit.org/show_bug.cgi?id=66293
1366 Reviewed by Kent Tamura.
1368 Adds doxygen documentation for typedefs, defines and structures in ewk_view.h.
1369 Moves includes and defines below a brief of file.
1373 2011-08-19 KwangHyuk Kim <hyuki.kim@samsung.com>
1375 [EFL] Add "return" statement corresponding to abnormal condition on _ewk_frame_smart_add.
1376 https://bugs.webkit.org/show_bug.cgi?id=65408
1378 Bail out when we fail to allocate an Ewk_Frame_Smart_Data object rather than continuing on as if the allocation had succeeded.
1380 Reviewed by Adam Roben.
1382 * ewk/ewk_frame.cpp:
1383 (_ewk_frame_smart_add):
1385 2011-08-19 KwangHyuk Kim <hyuki.kim@samsung.com>
1387 [EFL] Change condition checking logic related with both change of position and offset for backing store.
1388 https://bugs.webkit.org/show_bug.cgi?id=66028
1390 As backing store's position and offset change can occur at the same time,
1391 the checking of offset change shouldn't be "else if" statement.
1393 Reviewed by Adam Roben.
1395 * ewk/ewk_tiled_backing_store.c:
1396 (_ewk_tiled_backing_store_smart_calculate):
1398 2011-08-19 Grzegorz Czajkowski <g.czajkowski@samsung.com>
1400 [EFL] Fix and update doxygen documentation for ewk_view.
1401 https://bugs.webkit.org/show_bug.cgi?id=66293
1403 Reviewed by Kent Tamura.
1405 Adds doxygen documentation to the structures in ewk_view.cpp.
1409 2011-08-19 KwangHyuk Kim <hyuki.kim@samsung.com>
1411 [EFL] Modify type of both col and row parameters for backing store's internal api.
1412 https://bugs.webkit.org/show_bug.cgi?id=65302
1414 As both col and row parameter's type for both _ewk_tiled_backing_store_item_fill
1415 and ewk_tiled_backing_store_item_add are different from each other, I modify type of them.
1417 Reviewed by Adam Roben.
1419 * ewk/ewk_tiled_backing_store.c:
1420 (_ewk_tiled_backing_store_item_fill):
1421 (_ewk_tiled_backing_store_item_add):
1423 2011-08-18 Ryuan Choi <ryuan.choi@samsung.com>
1425 [EFL] Broken rendering occured when resized in ewk_view_single.
1426 https://bugs.webkit.org/show_bug.cgi?id=66271
1428 Force rendering when ewk_view resized.
1429 It's because Evas_Object doesn't generate any rendering request although
1432 Reviewed by Tony Chang.
1435 (_ewk_view_smart_calculate):
1437 2011-08-17 Adam Roben <aroben@apple.com>
1439 Make WebCore keep track of the current device scale factor
1441 Fixes <http://webkit.org/b/66413> WebCore requires every WebKit port to keep track of the
1444 Reviewed by Darin Adler.
1446 * WebCoreSupport/ChromeClientEfl.cpp:
1447 * WebCoreSupport/ChromeClientEfl.h:
1448 Removed deviceScaleFactor.
1450 2011-08-15 Dmitry Titov <dimich@chromium.org>
1452 FrameLoaderClient::transferLoadingResourceFromPage does not have enough parameters
1453 https://bugs.webkit.org/show_bug.cgi?id=66165
1455 Reviewed by Darin Fisher.
1457 * WebCoreSupport/FrameLoaderClientEfl.cpp:
1458 (WebCore::FrameLoaderClientEfl::transferLoadingResourceFromPage):
1459 * WebCoreSupport/FrameLoaderClientEfl.h:
1461 2011-08-10 Adam Roben <aroben@apple.com>
1463 Clear up scale factor terminology
1465 WebKit by and large deals with two scale factors: one intrinsic to the device on which the
1466 software is running, and one that is per-Page and can be controlled via API calls. This
1467 patch names the former "deviceScaleFactor" and the latter "pageScaleFactor", and makes the
1468 code use those names. It should introduce no behavior changes.
1470 Fixes <http://webkit.org/b/55787> WebKit uses multiple conflicting names to refer to the
1473 Reviewed by Simon Fraser.
1475 * WebCoreSupport/ChromeClientEfl.cpp:
1476 * WebCoreSupport/ChromeClientEfl.h:
1478 2011-08-12 Grzegorz Czajkowski <g.czajkowski@samsung.com>
1480 [EFL] Fix after r91815 - restore changes from r91659.
1481 https://bugs.webkit.org/show_bug.cgi?id=64682
1483 Reviewed by Kenneth Rohde Christiansen.
1485 Restore patch for fix ewk_view_context_menu_forward_event which
1486 has been overwrititen by mistake.
1489 (ewk_view_context_menu_forward_event):
1491 2011-08-12 Grzegorz Czajkowski <g.czajkowski@samsung.com>
1493 [EFL] HTML Saving feature.
1494 https://bugs.webkit.org/show_bug.cgi?id=55455
1496 Reviewed by Antonio Gomes.
1498 Gets the source and location of resources for document.
1500 1. Support others resources (css, plugins, media files).
1501 2. Currently only HTML documents are supported.
1503 * ewk/ewk_frame.cpp:
1504 (ewk_frame_source_get):
1505 (ewk_frame_resources_location_get):
1508 2011-08-10 Grzegorz Czajkowski <g.czajkowski@samsung.com>
1510 [EFL] Return from _ewk_view_smart_add if smart data can not be allocated
1511 https://bugs.webkit.org/show_bug.cgi?id=65853
1513 Reviewed by Kenneth Rohde Christiansen.
1515 It prevents the crash while allocating a memory for view's smart data.
1516 Others checking are needed for support single and tiled backing store.
1517 As a result an empty window will be displayed.
1520 (_ewk_view_smart_add):
1521 (_ewk_view_smart_resize):
1522 (_ewk_view_smart_move):
1523 (_ewk_view_smart_show):
1524 (_ewk_view_smart_hide):
1525 * ewk/ewk_view_single.c:
1526 (_ewk_view_single_smart_add):
1527 (_ewk_view_single_smart_resize):
1528 * ewk/ewk_view_tiled.c:
1529 (_ewk_view_tiled_smart_add):
1531 2011-08-10 Grzegorz Czajkowski <g.czajkowski@samsung.com>
1533 [EFL] API methods check NULL and return proper value.
1534 https://bugs.webkit.org/show_bug.cgi?id=65844
1536 Reviewed by Kenneth Rohde Christiansen.
1538 Check NULL before access to the smart and private data of the view object
1539 and return the proper value if error occurred.
1542 (ewk_view_zoom_range_set):
1543 (ewk_view_zoom_range_min_get):
1544 (ewk_view_zoom_range_max_get):
1545 (ewk_view_user_scalable_set):
1546 (ewk_view_user_scalable_get):
1547 (ewk_view_device_pixel_ratio_get):
1550 2011-08-10 KwangHyuk Kim <hyuki.kim@samsung.com>
1552 [EFL] Remove unused local variable from _ewk_tiled_backing_store_item_process_idler_cb.
1553 https://bugs.webkit.org/show_bug.cgi?id=65846
1555 As Ewk_Tiled_Backing_Store_Item *it is declared as local variable, but it's never referenced anywhere,
1556 it is better to be removed from _ewk_tiled_backing_store_item_process_idler_cb.
1558 Reviewed by Kenneth Rohde Christiansen.
1560 * ewk/ewk_tiled_backing_store.c:
1561 (_ewk_tiled_backing_store_item_process_idler_cb):
1563 2011-08-09 Gyuyoung Kim <gyuyoung.kim@samsung.com>
1565 [EFL] Sort signal comments by alphabetical order.
1566 http://bugs.webkit.org/show_bug.cgi?id=65520
1568 Reviewed by Kent Tamura.
1570 Signals caused by ewk still are listed without any specific rule.
1571 It sure isn't a nice thing to understand the signal list. So, this patch
1572 lists signals by alphabetical order.
1574 * ewk/ewk_contextmenu.h:
1578 2011-08-09 KwangHyuk Kim <hyuki.kim@samsung.com>
1580 [EFL] Fix warning caused by undefined static api.
1581 https://bugs.webkit.org/show_bug.cgi?id=65301
1583 Both _ewk_tiled_backing_store_item_request_add and _ewk_tiled_backing_store_item_request_del
1584 are declared, but their bodies are not defined and they are not referenced anywhere.
1585 Therefore, I remove both two API's declaration in order to resolve warning message caused by them.
1587 Reviewed by Kenneth Rohde Christiansen.
1589 * ewk/ewk_tiled_backing_store.c:
1591 2011-08-05 Grzegorz Czajkowski <g.czajkowski@samsung.com>
1593 [EFL] Move API documentation of ewk files to the headers
1594 https://bugs.webkit.org/show_bug.cgi?id=65373
1596 There are two arguments for this:
1597 1. Developers using webkit-efl from packages probably won't have the C/CPP files with them
1598 and the doxygen documentation can be generated from the headers without the need
1599 for the whole source files.
1600 2. It will be consistent with structures descriptions.
1602 Reviewed by Kent Tamura.
1606 * ewk/ewk_contextmenu.cpp:
1607 * ewk/ewk_contextmenu.h:
1608 * ewk/ewk_cookies.cpp:
1609 * ewk/ewk_cookies.h:
1610 * ewk/ewk_frame.cpp:
1612 * ewk/ewk_history.cpp:
1613 * ewk/ewk_history.h:
1616 * ewk/ewk_network.cpp:
1617 * ewk/ewk_network.h:
1618 * ewk/ewk_settings.cpp:
1619 * ewk/ewk_settings.h:
1620 * ewk/ewk_window_features.cpp:
1621 * ewk/ewk_window_features.h:
1623 2011-08-03 Pavel Feldman <pfeldman@chromium.org>
1625 Web Inspector: remove Node parameter from the InspectorClient::highlight
1626 https://bugs.webkit.org/show_bug.cgi?id=65549
1628 Reviewed by Yury Semikhatsky.
1630 * WebCoreSupport/InspectorClientEfl.cpp:
1631 (WebCore::InspectorClientEfl::highlight):
1632 * WebCoreSupport/InspectorClientEfl.h:
1634 2011-08-02 Raphael Kubo da Costa <kubo@profusion.mobi>
1636 [EFL] Ignore empty requests on policy decisions.
1637 https://bugs.webkit.org/show_bug.cgi?id=64536
1639 Reviewed by Kenneth Rohde Christiansen.
1641 This is the same fix introduced in the GTK+ port in r41313: empty
1642 request should be ignored, so tests such as
1643 fast/loader/empty-embed-src-attribute.html do not crash.
1645 * WebCoreSupport/FrameLoaderClientEfl.cpp:
1646 (WebCore::FrameLoaderClientEfl::dispatchDecidePolicyForResponse):
1647 (WebCore::FrameLoaderClientEfl::dispatchDecidePolicyForNewWindowAction):
1648 (WebCore::FrameLoaderClientEfl::dispatchDecidePolicyForNavigationAction):
1650 2011-08-02 Eunsol Park <eunsol47.park@samsung.com>
1652 [EFL] Remove overlapping recursive layout function
1653 https://bugs.webkit.org/show_bug.cgi?id=63241
1655 First, _ewk_view_layout_if_needed_recursive is called twice in _ewk_view_smart_calculate
1656 and _ewk_view_tiled_updates_process_pre,so it is no problem removing one of them.
1657 Second, In tiled backingstore configuration, _ewk_view_layout_if_needed_recursive called
1658 in _ewk_view_smart_calculate will result in generating repaints for dirty areas
1659 located outside of viewport since m_paintEntireContents is set.
1660 But, the areas will not be actually painted. Thus, the layout is unnecessary except
1661 when there is something to paint inside of viewport, which will consume CPU unnecessarily.
1662 So,the layout func was removed from _ewk_view_smart_calculate
1663 and added to _ewk_view_single_smart_repaints_process for single backingstore.
1665 Reviewed by Antonio Gomes.
1668 (_ewk_view_smart_calculate):
1669 * ewk/ewk_view_single.c:
1670 (_ewk_view_single_smart_repaints_process):
1672 2011-08-02 Gyuyoung Kim <gyuyoung.kim@samsung.com>
1674 [EFL] Add fullscreen button to media control UI.
1675 https://bugs.webkit.org/show_bug.cgi?id=64428
1677 Implement functions for full screen in ChromeClientEfl in order to display a full screen button on media control UI.
1678 When full screen mode is activated by pressing the button, the functions are called by Document. So, if there is no implemented
1679 function, full screen button will not be shown.
1680 In addition, a .edc file and an image file are added for full screen button.
1682 Reviewed by Antonio Gomes.
1684 * DefaultTheme/default.edc:
1685 * DefaultTheme/widget/mediacontrol/fullscreenbutton/fullscreen_button.edc: Added.
1686 * DefaultTheme/widget/mediacontrol/fullscreenbutton/fullscreenbutton.png: Added.
1687 * WebCoreSupport/ChromeClientEfl.cpp:
1688 (WebCore::ChromeClientEfl::supportsFullScreenForElement):
1689 (WebCore::ChromeClientEfl::enterFullScreenForElement):
1690 (WebCore::ChromeClientEfl::exitFullScreenForElement):
1691 * WebCoreSupport/ChromeClientEfl.h:
1693 2011-07-29 Michal Pakula vel Rutka <m.pakula@samsung.com>
1695 [EFL] Implement EditorClientEfl::respondToChangedContents
1696 http://bugs.webkit.org/show_bug.cgi?id=64259
1698 Implements respondToChangedContents by calling callback both from
1699 ewk_frame and ewk_view with frame and view objects respectively.
1701 Reviewed by Antonio Gomes.
1703 * WebCoreSupport/EditorClientEfl.cpp:
1704 (WebCore::EditorClientEfl::respondToChangedContents):
1705 * ewk/ewk_frame.cpp:
1706 (ewk_frame_editor_client_contents_changed):
1708 * ewk/ewk_private.h:
1710 (ewk_view_editor_client_contents_changed):
1713 2011-07-29 Grzegorz Czajkowski <g.czajkowski@samsung.com>
1715 [EFL] Move ewk_view API documentation to the header file
1716 https://bugs.webkit.org/show_bug.cgi?id=65305
1718 There are two arguments for this:
1719 1. Developers using webkit-efl from packages probably won't have the C/CPP files with them
1720 and the doxygen documentation can be generated from the headers without the need
1721 for the whole source files.
1722 2. It will be consistent with structures descriptions.
1724 Reviewed by Kent Tamura.
1726 * ewk/ewk_tiled_model.c:
1729 * ewk/ewk_view_single.c:
1730 * ewk/ewk_view_tiled.c:
1732 2011-07-28 Kangil Han <kangil.han@samsung.com>
1734 [EFL] Removes EAPI attribute in internal headers.
1735 https://bugs.webkit.org/show_bug.cgi?id=65251
1737 Removes EAPI attribute in three header files because API in these files is internally used.
1739 Reviewed by Anders Carlsson.
1741 * ewk/ewk_tiled_backing_store.h:
1742 * ewk/ewk_tiled_matrix.h:
1743 * ewk/ewk_tiled_model.h:
1745 2011-07-28 Kangil Han <kangil.han@samsung.com>
1747 [EFL] Defines header files will be publicly installed explicitly.
1748 https://bugs.webkit.org/show_bug.cgi?id=64923
1750 This patch modifies a way to define open header list from black-list to white-list.
1751 Plus, 'ewk/ewk_util.h' will not be installed anymore because it only has internal API.
1753 Reviewed by Anders Carlsson.
1755 * CMakeListsEfl.txt:
1757 2011-07-28 Gyuyoung Kim <gyuyoung.kim@samsung.com>
1759 [EFL] Fix coding style of pointer type in ewk files.
1760 https://bugs.webkit.org/show_bug.cgi?id=65358
1762 Move '*' operator to variable side according to efl coding style.
1763 Because, '*' operator is next to variable in EFL coding style.
1765 Reviewed by Kent Tamura.
1768 (ewk_auth_credentials_set):
1770 * ewk/ewk_auth_soup.cpp:
1771 (_Ewk_Auth_Data::ewk_auth_soup_dialog_class_init):
1772 (_Ewk_Auth_Data::ewk_auth_soup_dialog_init):
1773 (_Ewk_Auth_Data::ewk_auth_soup_credentials_set):
1774 (_Ewk_Auth_Data::session_authenticate):
1775 (_Ewk_Auth_Data::free_auth_data):
1776 (_Ewk_Auth_Data::attach):
1777 (_Ewk_Auth_Data::detach):
1778 * ewk/ewk_auth_soup.h:
1779 * ewk/ewk_contextmenu.cpp:
1780 (ewk_context_menu_ref):
1781 (ewk_context_menu_unref):
1782 (ewk_context_menu_destroy):
1783 (ewk_context_menu_item_list_get):
1784 (ewk_context_menu_item_new):
1785 (ewk_context_menu_item_select):
1786 (ewk_context_menu_item_free):
1787 (ewk_context_menu_item_type_get):
1788 (ewk_context_menu_item_type_set):
1789 (ewk_context_menu_item_action_get):
1790 (ewk_context_menu_item_action_set):
1791 (ewk_context_menu_item_title_get):
1792 (ewk_context_menu_item_title_set):
1793 (ewk_context_menu_item_checked_get):
1794 (ewk_context_menu_item_checked_set):
1795 (ewk_context_menu_item_enabled_get):
1796 (ewk_context_menu_new):
1797 (ewk_context_menu_free):
1798 (ewk_context_menu_item_append):
1799 (ewk_context_menu_custom_get):
1800 (ewk_context_menu_show):
1801 * ewk/ewk_contextmenu.h:
1802 * ewk/ewk_cookies.cpp:
1803 (ewk_cookies_file_set):
1804 (ewk_cookies_clear):
1805 (ewk_cookies_get_all):
1806 (ewk_cookies_cookie_del):
1807 (ewk_cookies_policy_set):
1808 (ewk_cookies_policy_get):
1809 * ewk/ewk_history.cpp:
1810 (_ewk_history_item_new):
1811 (_ewk_history_item_list_get):
1812 (ewk_history_forward):
1814 (ewk_history_history_item_add):
1815 (ewk_history_history_item_set):
1816 (ewk_history_history_item_back_get):
1817 (ewk_history_history_item_current_get):
1818 (ewk_history_history_item_forward_get):
1819 (ewk_history_history_item_nth_get):
1820 (ewk_history_history_item_contains):
1821 (ewk_history_forward_list_get):
1822 (ewk_history_forward_list_get_with_limit):
1823 (ewk_history_forward_list_length):
1824 (ewk_history_back_list_get):
1825 (ewk_history_back_list_get_with_limit):
1826 (ewk_history_back_list_length):
1827 (ewk_history_limit_get):
1828 (ewk_history_limit_set):
1829 (ewk_history_item_new):
1830 (_ewk_history_item_free):
1831 (ewk_history_item_free):
1832 (ewk_history_item_list_free):
1833 (ewk_history_item_title_get):
1834 (ewk_history_item_title_alternate_get):
1835 (ewk_history_item_title_alternate_set):
1836 (ewk_history_item_uri_get):
1837 (ewk_history_item_uri_original_get):
1838 (ewk_history_item_time_last_visited_get):
1839 (ewk_history_item_icon_surface_get):
1840 (ewk_history_item_icon_object_add):
1841 (ewk_history_item_page_cache_exists):
1842 (ewk_history_item_visit_count):
1843 (ewk_history_item_visit_last_failed):
1848 * ewk/ewk_network.cpp:
1849 (ewk_network_proxy_uri_set):
1850 (ewk_network_proxy_uri_get):
1851 * ewk/ewk_network.h:
1852 * ewk/ewk_private.h:
1853 * ewk/ewk_settings.cpp:
1854 (ewk_settings_icon_database_path_get):
1855 (ewk_settings_icon_database_icon_surface_get):
1856 (ewk_settings_icon_database_icon_object_add):
1857 (ewk_settings_default_user_agent_get):
1859 (ewk_util_image_from_cairo_surface_add):
1861 * ewk/ewk_window_features.cpp:
1862 (ewk_window_features_unref):
1863 (ewk_window_features_ref):
1864 (ewk_window_features_bool_property_get):
1865 (ewk_window_features_int_property_get):
1866 (ewk_window_features_new_from_core):
1867 * ewk/ewk_window_features.h:
1869 2011-07-28 Gyuyoung Kim <gyuyoung.kim@samsung.com>
1871 [EFL] Fix pointer operator coding style in ewk_frame.
1872 https://bugs.webkit.org/show_bug.cgi?id=65357
1874 Move '*' operator to variable according to efl coding style.
1875 Because, '*' operator is next to variable in EFL coding style.
1877 Reviewed by Kent Tamura.
1879 * ewk/ewk_frame.cpp:
1881 (_ewk_frame_loader_efl_get):
1883 (_ewk_frame_children_iterator_next):
1884 (_ewk_frame_children_iterator_get_container):
1885 (_ewk_frame_smart_add):
1886 (_ewk_frame_smart_del):
1887 (_ewk_frame_smart_resize):
1888 (_ewk_frame_smart_set):
1889 (_ewk_frame_smart_class_new):
1890 (ewk_frame_view_get):
1891 (ewk_frame_children_iterator_new):
1892 (ewk_frame_child_find):
1893 (ewk_frame_uri_set):
1894 (ewk_frame_uri_get):
1895 (ewk_frame_title_get):
1896 (ewk_frame_name_get):
1897 (ewk_frame_contents_size_get):
1898 (_ewk_frame_contents_set_internal):
1899 (ewk_frame_contents_set):
1900 (ewk_frame_contents_alternate_set):
1901 (ewk_frame_script_execute):
1902 (ewk_frame_editable_get):
1903 (ewk_frame_editable_set):
1904 (ewk_frame_selection_get):
1905 (ewk_frame_text_search):
1906 (ewk_frame_text_matches_mark):
1907 (ewk_frame_text_matches_unmark_all):
1908 (ewk_frame_text_matches_highlight_set):
1909 (ewk_frame_text_matches_highlight_get):
1910 (_ewk_frame_rect_cmp_less_than):
1911 (_ewk_frame_rect_is_negative_value):
1912 (ewk_frame_text_matches_nth_pos_get):
1915 (ewk_frame_reload_full):
1917 (ewk_frame_forward):
1918 (ewk_frame_navigate):
1919 (ewk_frame_back_possible):
1920 (ewk_frame_forward_possible):
1921 (ewk_frame_navigate_possible):
1922 (ewk_frame_zoom_get):
1923 (ewk_frame_zoom_set):
1924 (ewk_frame_zoom_text_only_get):
1925 (ewk_frame_zoom_text_only_set):
1926 (ewk_frame_hit_test_free):
1927 (ewk_frame_hit_test_new):
1928 (ewk_frame_scroll_add):
1929 (ewk_frame_scroll_set):
1930 (ewk_frame_scroll_size_get):
1931 (ewk_frame_scroll_pos_get):
1932 (ewk_frame_visible_content_geometry_get):
1933 (ewk_frame_paint_full_get):
1934 (ewk_frame_paint_full_set):
1935 (ewk_frame_feed_focus_in):
1936 (ewk_frame_feed_focus_out):
1937 (ewk_frame_feed_mouse_wheel):
1938 (ewk_frame_feed_mouse_down):
1939 (ewk_frame_feed_mouse_up):
1940 (ewk_frame_feed_mouse_move):
1941 (ewk_frame_feed_touch_event):
1942 (_ewk_frame_handle_key_scrolling):
1943 (ewk_frame_feed_key_down):
1944 (ewk_frame_feed_key_up):
1945 (ewk_frame_text_selection_type_get):
1948 (ewk_frame_child_add):
1949 (ewk_frame_core_gone):
1950 (ewk_frame_core_get):
1951 (ewk_frame_load_started):
1952 (ewk_frame_load_provisional):
1953 (ewk_frame_load_finished):
1954 (ewk_frame_load_error):
1955 (ewk_frame_load_progress_changed):
1956 (ewk_frame_contents_size_changed):
1957 (ewk_frame_title_set):
1958 (ewk_frame_view_create_for_view):
1959 (ewk_frame_uri_changed):
1960 (ewk_frame_force_layout):
1961 (ewk_frame_plugin_create):
1962 (ewk_frame_editor_client_selection_changed):
1965 2011-07-27 Gyuyoung Kim <gyuyoung.kim@samsung.com>
1967 [EFL] Add dummy NotificationPresenterClientEfl
1968 https://bugs.webkit.org/show_bug.cgi?id=64064
1970 Add dummy files for HTML5 Notification. And also, notificationPresenter() is added to
1971 ChromeClientEfl. Without this function implemented, there would be a build break when
1972 ENABLE_NOTIFICATION is enabled.
1974 Reviewed by Antonio Gomes.
1976 * CMakeListsEfl.txt:
1977 * WebCoreSupport/ChromeClientEfl.cpp:
1978 (WebCore::ChromeClientEfl::notificationPresenter):
1979 * WebCoreSupport/ChromeClientEfl.h:
1980 * WebCoreSupport/NotificationPresenterClientEfl.cpp: Added.
1981 (WebCore::NotificationPresenterClientEfl::NotificationPresenterClientEfl):
1982 (WebCore::NotificationPresenterClientEfl::~NotificationPresenterClientEfl):
1983 (WebCore::NotificationPresenterClientEfl::show):
1984 (WebCore::NotificationPresenterClientEfl::cancel):
1985 (WebCore::NotificationPresenterClientEfl::notificationObjectDestroyed):
1986 (WebCore::NotificationPresenterClientEfl::requestPermission):
1987 (WebCore::NotificationPresenterClientEfl::checkPermission):
1988 (WebCore::NotificationPresenterClientEfl::cancelRequestsForPermission):
1989 * WebCoreSupport/NotificationPresenterClientEfl.h: Added.
1991 2011-07-26 Gyuyoung Kim <gyuyoung.kim@samsung.com>
1993 [EFL] Fix pointer operator coding style in ewk_view.
1994 https://bugs.webkit.org/show_bug.cgi?id=65163
1996 Move '*' operator to variable according to efl coding style. In addition,
1997 add a space between * and variable in type casting.
1999 Reviewed by Kent Tamura.
2002 (_ewk_view_smart_changed):
2003 (_ewk_view_repaints_resize):
2004 (_ewk_view_repaint_add):
2005 (_ewk_view_repaints_flush):
2006 (_ewk_view_scrolls_resize):
2007 (_ewk_view_scroll_add):
2008 (_ewk_view_scrolls_flush):
2009 (_ewk_view_smart_focus_in):
2010 (_ewk_view_smart_focus_out):
2011 (_ewk_view_smart_mouse_wheel):
2012 (_ewk_view_smart_mouse_down):
2013 (_ewk_view_smart_mouse_up):
2014 (_ewk_view_smart_mouse_move):
2015 (_ewk_view_smart_key_down):
2016 (_ewk_view_smart_key_up):
2017 (_ewk_view_smart_add_console_message):
2018 (_ewk_view_smart_run_javascript_alert):
2019 (_ewk_view_smart_run_javascript_confirm):
2020 (_ewk_view_smart_should_interrupt_javascript):
2021 (_ewk_view_smart_run_javascript_prompt):
2022 (_ewk_view_on_focus_in):
2023 (_ewk_view_on_focus_out):
2024 (_ewk_view_on_mouse_wheel):
2025 (_ewk_view_on_mouse_down):
2026 (_ewk_view_on_mouse_up):
2027 (_ewk_view_on_mouse_move):
2028 (_ewk_view_on_key_down):
2029 (_ewk_view_on_key_up):
2030 (_ewk_view_core_frame_new):
2031 (_ewk_view_priv_new):
2032 (_ewk_view_priv_del):
2033 (_ewk_view_smart_add):
2034 (_ewk_view_smart_del):
2035 (_ewk_view_smart_resize):
2036 (_ewk_view_smart_move):
2037 (_ewk_view_smart_calculate):
2038 (_ewk_view_smart_contents_resize):
2039 (_ewk_view_smart_zoom_set):
2040 (_ewk_view_smart_flush):
2041 (_ewk_view_smart_pre_render_region):
2042 (_ewk_view_smart_pre_render_relative_radius):
2043 (_ewk_view_smart_pre_render_cancel):
2044 (_ewk_view_zoom_animated_mark_stop):
2045 (_ewk_view_zoom_animated_finish):
2046 (_ewk_view_zoom_animated_current):
2047 (_ewk_view_zoom_animator_cb):
2048 (_ewk_view_zoom_animation_start):
2049 (_ewk_view_viewport_attributes_compute):
2050 (ewk_view_base_smart_set):
2051 (ewk_view_fixed_layout_size_set):
2052 (ewk_view_fixed_layout_size_get):
2053 (ewk_view_theme_set):
2054 (ewk_view_theme_get):
2055 (ewk_view_frame_main_get):
2056 (ewk_view_frame_focused_get):
2059 (ewk_view_title_get):
2060 (ewk_view_editable_get):
2061 (ewk_view_bg_color_set):
2062 (ewk_view_bg_color_get):
2063 (ewk_view_text_search):
2064 (ewk_view_text_matches_mark):
2065 (ewk_view_text_matches_unmark_all):
2066 (ewk_view_text_matches_highlight_set):
2067 (ewk_view_text_matches_highlight_get):
2068 (ewk_view_editable_set):
2069 (ewk_view_selection_get):
2070 (_ewk_view_editor_command):
2071 (ewk_view_execute_editor_command):
2072 (ewk_view_context_menu_forward_event):
2073 (ewk_view_load_progress_get):
2076 (ewk_view_reload_full):
2079 (ewk_view_navigate):
2080 (ewk_view_back_possible):
2081 (ewk_view_forward_possible):
2082 (ewk_view_navigate_possible):
2083 (ewk_view_history_enable_get):
2084 (ewk_view_history_enable_set):
2085 (ewk_view_history_get):
2086 (ewk_view_zoom_get):
2087 (ewk_view_zoom_set):
2088 (ewk_view_zoom_weak_smooth_scale_get):
2089 (ewk_view_zoom_weak_smooth_scale_set):
2090 (ewk_view_zoom_weak_set):
2091 (ewk_view_zoom_animated_mark_start):
2092 (ewk_view_zoom_animated_mark_end):
2093 (ewk_view_zoom_animated_mark_current):
2094 (ewk_view_zoom_animated_mark_stop):
2095 (ewk_view_zoom_animated_set):
2096 (ewk_view_zoom_text_only_get):
2097 (ewk_view_zoom_text_only_set):
2098 (ewk_view_pre_render_region):
2099 (ewk_view_pre_render_relative_radius):
2100 (ewk_view_pre_render_cancel):
2101 (ewk_view_setting_user_agent_get):
2102 (ewk_view_setting_user_agent_set):
2103 (ewk_view_setting_user_stylesheet_get):
2104 (ewk_view_setting_user_stylesheet_set):
2105 (ewk_view_setting_auto_load_images_get):
2106 (ewk_view_setting_auto_load_images_set):
2107 (ewk_view_setting_auto_shrink_images_get):
2108 (ewk_view_setting_auto_shrink_images_set):
2109 (ewk_view_setting_enable_auto_resize_window_get):
2110 (ewk_view_setting_enable_auto_resize_window_set):
2111 (ewk_view_setting_enable_scripts_get):
2112 (ewk_view_setting_enable_scripts_set):
2113 (ewk_view_setting_enable_plugins_get):
2114 (ewk_view_setting_enable_plugins_set):
2115 (ewk_view_setting_enable_frame_flattening_get):
2116 (ewk_view_setting_enable_frame_flattening_set):
2117 (ewk_view_setting_scripts_window_open_get):
2118 (ewk_view_setting_scripts_window_open_set):
2119 (ewk_view_setting_resizable_textareas_get):
2120 (ewk_view_setting_resizable_textareas_set):
2121 (ewk_view_setting_private_browsing_get):
2122 (ewk_view_setting_private_browsing_set):
2123 (ewk_view_setting_offline_app_cache_get):
2124 (ewk_view_setting_offline_app_cache_set):
2125 (ewk_view_setting_caret_browsing_get):
2126 (ewk_view_setting_caret_browsing_set):
2127 (ewk_view_setting_encoding_custom_get):
2128 (ewk_view_setting_encoding_custom_set):
2129 (ewk_view_setting_encoding_default_get):
2130 (ewk_view_setting_encoding_default_set):
2131 (ewk_view_setting_encoding_detector_set):
2132 (ewk_view_setting_encoding_detector_get):
2133 (ewk_view_setting_enable_developer_extras_get):
2134 (ewk_view_setting_enable_developer_extras_set):
2135 (ewk_view_setting_font_minimum_size_get):
2136 (ewk_view_setting_font_minimum_size_set):
2137 (ewk_view_setting_font_minimum_logical_size_get):
2138 (ewk_view_setting_font_minimum_logical_size_set):
2139 (ewk_view_setting_font_default_size_get):
2140 (ewk_view_setting_font_default_size_set):
2141 (ewk_view_setting_font_monospace_size_get):
2142 (ewk_view_setting_font_monospace_size_set):
2143 (ewk_view_setting_font_standard_get):
2144 (ewk_view_setting_font_standard_set):
2145 (ewk_view_setting_font_cursive_get):
2146 (ewk_view_setting_font_cursive_set):
2147 (ewk_view_setting_font_fantasy_get):
2148 (ewk_view_setting_font_fantasy_set):
2149 (ewk_view_setting_font_monospace_get):
2150 (ewk_view_setting_font_monospace_set):
2151 (ewk_view_setting_font_serif_get):
2152 (ewk_view_setting_font_serif_set):
2153 (ewk_view_setting_font_sans_serif_get):
2154 (ewk_view_setting_font_sans_serif_set):
2155 (ewk_view_setting_spatial_navigation_get):
2156 (ewk_view_setting_spatial_navigation_set):
2157 (ewk_view_setting_local_storage_get):
2158 (ewk_view_setting_local_storage_set):
2159 (ewk_view_setting_page_cache_get):
2160 (ewk_view_setting_page_cache_set):
2161 (ewk_view_setting_local_storage_database_path_get):
2162 (ewk_view_setting_local_storage_database_path_set):
2163 (ewk_view_smart_data_get):
2164 (ewk_view_repaints_get):
2165 (ewk_view_scroll_requests_get):
2166 (ewk_view_repaint_add):
2167 (ewk_view_layout_if_needed_recursive):
2168 (ewk_view_scrolls_process):
2169 (ewk_view_paint_context_new):
2170 (ewk_view_paint_context_free):
2171 (ewk_view_paint_context_save):
2172 (ewk_view_paint_context_restore):
2173 (ewk_view_paint_context_clip):
2174 (ewk_view_paint_context_paint):
2175 (ewk_view_paint_context_paint_contents):
2176 (ewk_view_paint_context_scale):
2177 (ewk_view_paint_context_translate):
2179 (ewk_view_paint_contents):
2181 (ewk_view_input_method_state_set):
2182 (ewk_view_title_set):
2183 (ewk_view_uri_changed):
2184 (ewk_view_load_started):
2185 (ewk_view_frame_main_load_started):
2186 (ewk_view_load_provisional):
2187 (ewk_view_load_show):
2188 (ewk_view_frame_main_cleared):
2189 (ewk_view_frame_main_icon_received):
2190 (ewk_view_load_finished):
2191 (ewk_view_load_error):
2192 (ewk_view_load_progress_changed):
2193 (ewk_view_restore_state):
2194 (ewk_view_window_create):
2195 (ewk_view_window_close):
2196 (ewk_view_mouse_link_hover_in):
2197 (ewk_view_mouse_link_hover_out):
2198 (ewk_view_toolbars_visible_set):
2199 (ewk_view_toolbars_visible_get):
2200 (ewk_view_statusbar_visible_set):
2201 (ewk_view_statusbar_visible_get):
2202 (ewk_view_statusbar_text_set):
2203 (ewk_view_scrollbars_visible_set):
2204 (ewk_view_scrollbars_visible_get):
2205 (ewk_view_menubar_visible_set):
2206 (ewk_view_menubar_visible_get):
2207 (ewk_view_tooltip_text_set):
2208 (ewk_view_add_console_message):
2209 (ewk_view_run_javascript_alert):
2210 (ewk_view_run_javascript_confirm):
2211 (ewk_view_run_javascript_prompt):
2212 (ewk_view_should_interrupt_javascript):
2213 (ewk_view_exceeded_database_quota):
2214 (ewk_view_run_open_panel):
2217 (ewk_view_core_page_get):
2218 (ewk_view_frame_create):
2219 (ewk_view_plugin_create):
2220 (ewk_view_popup_new):
2221 (ewk_view_popup_destroy):
2222 (ewk_view_popup_selected_set):
2223 (ewk_view_download_request):
2224 (ewk_view_viewport_attributes_set):
2225 (ewk_view_viewport_attributes_get):
2226 (ewk_view_zoom_range_set):
2227 (ewk_view_zoom_range_min_get):
2228 (ewk_view_zoom_range_max_get):
2229 (ewk_view_user_scalable_set):
2230 (ewk_view_user_scalable_get):
2231 (ewk_view_device_pixel_ratio_get):
2232 (ewk_view_navigation_policy_decision):
2233 (ewk_view_page_rect_get):
2234 (ewk_view_need_touch_events_set):
2235 (ewk_view_need_touch_events_get):
2236 (ewk_view_mode_set):
2237 (ewk_view_mode_get):
2238 (ewk_view_editor_client_selection_changed):
2241 2011-07-26 Sadrul Habib Chowdhury <sadrul@chromium.org>
2243 Add support for download='filename' attribute in anchors.
2244 https://bugs.webkit.org/show_bug.cgi?id=64580
2246 Reviewed by Adam Barth.
2248 * WebCoreSupport/FrameLoaderClientEfl.cpp:
2249 (WebCore::FrameLoaderClientEfl::startDownload):
2250 * WebCoreSupport/FrameLoaderClientEfl.h:
2252 2011-07-25 JungJik Lee <jungjik.lee@samsung.com>
2254 [EFL] Remove unused code in ewk_tile_model.c
2255 https://bugs.webkit.org/show_bug.cgi?id=64521
2257 Remove unused code in ewk_tile_model.c. Dirty flag is not referenced anywhere.
2259 Reviewed by Daniel Bates.
2261 * ewk/ewk_tiled_model.c:
2262 (ewk_tile_unused_cache_clear):
2263 (ewk_tile_unused_cache_flush):
2264 (ewk_tile_unused_cache_tile_get):
2265 (ewk_tile_unused_cache_tile_put):
2267 2011-07-25 Grzegorz Czajkowski <g.czajkowski@samsung.com>
2269 [EFL] Move macro checking inside ewk_view_context_menu_forward_event
2270 https://bugs.webkit.org/show_bug.cgi?id=64682
2272 When CONTEXT_MENUS macro is disabled method ewk_view_context_menu_forward_event just
2273 returns EINA_FALSE and it avoid undefined reference during building.
2275 Reviewed by Kent Tamura.
2278 (ewk_view_context_menu_forward_event):
2280 2011-07-25 Grzegorz Czajkowski <g.czajkowski@samsung.com>
2282 [EFL] Method ewk_context_menu_destroy returns EINA_FALSE if CONTEXT_MENUS macro is disabled
2283 https://bugs.webkit.org/show_bug.cgi?id=64683
2285 Fix returned value and omit NULL checking if CONTEXT_MENUS macro is disabled
2286 in ewk_context_menu_destroy.
2288 Reviewed by Kent Tamura.
2290 * ewk/ewk_contextmenu.cpp:
2291 (ewk_context_menu_destroy):
2293 2011-07-22 Michal Pakula vel Rutka <m.pakula@samsung.com>
2295 [EFL] ewk_frame_hit_test_new enhancement
2296 https://bugs.webkit.org/show_bug.cgi?id=64260
2298 Replaces structure 'flags' with enum 'context' containing more hit test
2299 result types and adds new char* fields to Ewk_Hit_Test structure:
2300 image_uri and media_uri.
2302 Reviewed by Antonio Gomes.
2304 * ewk/ewk_frame.cpp:
2305 (ewk_frame_hit_test_free):
2306 (ewk_frame_hit_test_new):
2309 2011-07-19 Gyuyoung Kim <gyuyoung.kim@samsung.com>
2311 [EFL] Add ewk_network.cpp|h files.
2312 https://bugs.webkit.org/show_bug.cgi?id=63315
2314 ewk_network.cpp|h files are added to ewk in order to support APIs related to networking.
2315 In addition, ewk_network_state_notifier_online_set() is added to ewk_network.cpp in order
2316 to notify NetworkStateNotifier of network status.
2318 Reviewed by Antonio Gomes.
2320 * CMakeListsEfl.txt:
2322 * ewk/ewk_network.cpp: Added.
2323 (ewk_network_proxy_uri_set):
2324 (ewk_network_proxy_uri_get):
2325 (ewk_network_state_notifier_online_set):
2326 * ewk/ewk_network.h:
2327 * ewk/ewk_settings.cpp:
2328 * ewk/ewk_settings.h:
2330 2011-07-15 Dan Bernstein <mitz@apple.com>
2332 REGRESSION: Mouse cursor doesn’t hide when full screen video HUD hides
2333 https://bugs.webkit.org/show_bug.cgi?id=64615
2335 Reviewed by Anders Carlsson.
2337 * WebCoreSupport/ChromeClientEfl.cpp:
2338 (WebCore::ChromeClientEfl::setCursorHiddenUntilMouseMoves): Added this stub.
2339 * WebCoreSupport/ChromeClientEfl.h:
2341 2011-07-14 Jaehun Lim <ljaehun.lim@samsung.com>
2343 Reviewed by Adam Barth.
2345 [EFL] Remove IconDatabase initialization in _ewk_init_body()
2346 https://bugs.webkit.org/show_bug.cgi?id=63491
2348 Make IconDatabase feature optional by removing its initialization from _ewk_init_body().
2349 Now IconDatabase must be fully managed by an application:
2350 if it doesn't want to use it, there's nothing to do. Otherwise, just call
2351 ewk_settings_icon_database_path_set() with the directory path.
2355 * ewk/ewk_settings.cpp:
2356 (ewk_settings_icon_database_path_set):
2358 2011-07-12 Joseph Pecoraro <joepeck@webkit.org>
2360 ApplicationCache update should not immediately fail when reaching per-origin quota
2361 https://bugs.webkit.org/show_bug.cgi?id=64177
2363 Reviewed by Alexey Proskuryakov.
2365 * WebCoreSupport/ChromeClientEfl.cpp:
2366 (WebCore::ChromeClientEfl::reachedApplicationCacheOriginQuota):
2367 * WebCoreSupport/ChromeClientEfl.h:
2369 2011-07-11 Jaehun Lim <ljaehun.lim@samsung.com>
2371 Reviewed by Ryosuke Niwa.
2373 [EFL] Supports to execute "redo" command.
2374 https://bugs.webkit.org/show_bug.cgi?id=62536
2376 Implements basic functions for "redo" command.
2378 * WebCoreSupport/EditorClientEfl.cpp:
2379 (WebCore::EditorClientEfl::registerCommandForUndo):
2380 (WebCore::EditorClientEfl::registerCommandForRedo):
2381 (WebCore::EditorClientEfl::clearUndoRedoOperations):
2382 (WebCore::EditorClientEfl::canRedo):
2383 (WebCore::EditorClientEfl::undo):
2384 (WebCore::EditorClientEfl::redo):
2385 (WebCore::EditorClientEfl::EditorClientEfl):
2386 * WebCoreSupport/EditorClientEfl.h:
2388 2011-06-29 Kangil Han <kangil.han@samsung.com>
2390 Reviewed by Kenneth Rohde Christiansen.
2392 [EFL] Add APIs to get/set view mode
2393 https://bugs.webkit.org/show_bug.cgi?id=63229
2395 Implement public API for getting/setting the view-mode media feature as specified in W3C.
2398 (ewk_view_mode_set):
2399 (ewk_view_mode_get):
2402 2011-06-29 Michal Pakula vel Rutka <m.pakula@samsung.com>
2404 Reviewed by Kenneth Rohde Christiansen.
2406 [EFL] Add ewk_frame_text_selection_type_get function
2407 https://bugs.webkit.org/show_bug.cgi?id=63462
2409 Add a method to obtain current WebCore::VisibleSelection text
2412 * ewk/ewk_frame.cpp:
2413 (ewk_frame_text_selection_type_get):
2416 2011-06-28 Michal Pakula vel Rutka <m.pakula@samsung.com>
2418 Reviewed by Kenneth Rohde Christiansen.
2420 [EFL] Implement EditorClientEfl::respondToChangedSelection
2421 https://bugs.webkit.org/show_bug.cgi?id=63525
2424 - implements EditorClientEfl::respondToChangedSelection,
2425 - adds ewk_frame_editor_client_selection_changed and
2426 - ewk_view_editor_client_selection_changed
2428 * WebCoreSupport/EditorClientEfl.cpp:
2429 (WebCore::EditorClientEfl::respondToChangedSelection):
2430 * ewk/ewk_frame.cpp:
2431 (ewk_frame_editor_client_selection_changed):
2432 * ewk/ewk_private.h:
2434 (ewk_view_editor_client_selection_changed):
2436 2011-06-28 Gyuyoung Kim <gyuyoung.kim@samsung.com>
2438 Reviewed by Kent Tamura.
2440 [EFL] Change permission of some ewk files.
2441 https://bugs.webkit.org/show_bug.cgi?id=63517
2443 Change some file's permission same with other file's.
2445 * ewk/ewk_tiled_backing_store.c:
2446 * ewk/ewk_tiled_model.c:
2447 * ewk/ewk_view_single.c:
2449 2011-06-27 Ryuan Choi <ryuan.choi@samsung.com>
2451 Reviewed by Antonio Gomes.
2453 [EFL] Remove private header files from EWebKit_HEADERS.
2454 https://bugs.webkit.org/show_bug.cgi?id=63441
2456 Remove ewk_tiled_private.h, ewk_tiled_backing_store.h, ewk_tiled_matrix.h,
2457 ewk_tiled_model.h and check WTF_USE_SOUP to remove ewk_auth_soup.h.
2459 * CMakeListsEfl.txt:
2461 2011-06-27 Jongseok Yang <js45.yang@samsung.com>
2463 Reviewed by Kent Tamura.
2465 [EFL] Use accept attribute when executing the file picker for input element
2466 https://bugs.webkit.org/show_bug.cgi?id=63063
2469 - remove the argument "suggested_filenames" from ewk_view_run_open_panel
2470 - add the argument "accept" to ewk_view_run_open_panel
2471 - get the accept attribute and pass to ewk_view_run_open_panel within runOpenPanel
2473 * WebCoreSupport/ChromeClientEfl.cpp:
2474 (WebCore::ChromeClientEfl::runOpenPanel):
2476 (ewk_view_run_open_panel):
2479 2011-06-27 Gyuyoung Kim <gyuyoung.kim@samsung.com>
2481 Unreviewed. Fix style error.
2483 Remove meaningless parameter from WebCoreSupport's header files.
2485 * WebCoreSupport/ChromeClientEfl.h:
2486 (WebCore::ChromeClientEfl::scrollRectIntoView):
2487 * WebCoreSupport/DragClientEfl.h:
2488 * WebCoreSupport/FrameLoaderClientEfl.h:
2489 (WebCore::FrameLoaderClientEfl::setWebFrame):
2491 2011-06-27 KwangHyuk Kim <hyuki.kim@samsung.com>
2493 Reviewed by Kenneth Rohde Christiansen.
2495 [EFL] Remove ewk_tile_matrix_updates_process() call from _ewk_tiled_backing_store_item_process_idler_cb().
2496 https://bugs.webkit.org/show_bug.cgi?id=62963
2498 As repaint_process on ewk_view_tiled already takes care of dirty area in visible area
2499 and in order to let pre-render work more efficiently,
2500 _ewk_tiled_backing_store_item_process_idler_cb() better not call ewk_tile_matrix_updates_process().
2502 * ewk/ewk_tiled_backing_store.c:
2503 (_ewk_tiled_backing_store_item_process_idler_cb):
2505 2011-06-27 KwangHyuk Kim <hyuki.kim@samsung.com>
2507 Reviewed by Kenneth Rohde Christiansen.
2509 [EFL] Remove dead code related with Ewk_Tiled_Backing_Store_Item's update field.
2510 https://bugs.webkit.org/show_bug.cgi?id=62967
2512 As some code do not affect any logical flow of tiled backing store except condition check,
2513 I would like to clean dead code related with Ewk_Tiled_Backing_Store_Item's update field
2514 and Ewk_Tiled_Backing_Store_Data's queue field
2516 * ewk/ewk_tiled_backing_store.c:
2517 (_ewk_tiled_backing_store_item_process_idler_cb):
2518 (_ewk_tiled_backing_store_item_fill):
2519 (_ewk_tiled_backing_store_item_add):
2520 (_ewk_tiled_backing_store_item_del):
2522 2011-06-26 Ryuan Choi <ryuan.choi@samsung.com>
2524 Reviewed by Antonio Gomes.
2526 [EFL] Functions needing Ewk_View_Private_Data as parameter are not part of public API.
2527 https://bugs.webkit.org/show_bug.cgi?id=62688
2529 Move functions which use Ewk_View_Private_Data and may not be required by
2530 applications to ewk_private.h.
2532 * ewk/ewk_private.h:
2535 2011-06-24 Ryuan Choi <ryuan.choi@samsung.com>
2537 Reviewed by Antonio Gomes.
2539 [EFL] Remove ewk_frame_theme_get/set.
2540 https://bugs.webkit.org/show_bug.cgi?id=63370
2542 Remove ewk_frame_theme_get/set to avoid confusion.
2543 Setting theme on each frame is meaningless and ewk_view_thjeme_set can
2546 * ewk/ewk_frame.cpp:
2549 (ewk_view_theme_set):
2551 2011-06-24 Gyuyoung Kim <gyuyoung.kim@samsung.com>
2553 Reviewed by Kent Tamura.
2555 [EFL] Add ewk_auth.h to EWebKit.h
2556 https://bugs.webkit.org/show_bug.cgi?id=63311
2558 * ewk/EWebKit.h: Add ewk_auth.h
2560 2011-06-23 Ryuan Choi <ryuan.choi@samsung.com>
2562 Reviewed by Antonio Gomes.
2564 [EFL] Crash when running EWebLauncher
2565 https://bugs.webkit.org/show_bug.cgi?id=62628
2567 Call DocumentWriter::setEncoding when FrameLoaderClientEfl::finishedLoading()
2569 It will clear parser not to crash when called endIfNotLoadingMainResource().
2571 * WebCoreSupport/FrameLoaderClientEfl.cpp:
2572 (WebCore::FrameLoaderClientEfl::FrameLoaderClientEfl):
2573 (WebCore::FrameLoaderClientEfl::makeRepresentation):
2574 (WebCore::FrameLoaderClientEfl::revertToProvisionalState):
2575 (WebCore::FrameLoaderClientEfl::finishedLoading):
2576 * WebCoreSupport/FrameLoaderClientEfl.h:
2578 2011-06-22 Ryuan Choi <ryuan.choi@samsung.com>
2580 Reviewed by Antonio Gomes.
2582 [EFL] Add an option to enable Device Orientation Event.
2583 https://bugs.webkit.org/show_bug.cgi?id=63120
2585 * CMakeListsEfl.txt: Add files to build with ENABLE_DEVICE_ORIENTATION.
2587 (_ewk_view_priv_new): Create DeviceOrientationClientEfl and DeviceMotionClientEfl.
2589 2011-06-22 Ryuan Choi <ryuan.choi@samsung.com>
2591 Reviewed by Antonio Gomes.
2593 [EFL] Add DeviceOrientationClientEfl and DeviceMotionClientEfl.
2594 https://bugs.webkit.org/show_bug.cgi?id=63125
2596 Add dummy files to build with ENABLE_DEVICE_ORIENTATION.
2598 * WebCoreSupport/DeviceMotionClientEfl.cpp: Added.
2599 (WebCore::DeviceMotionClientEfl::DeviceMotionClientEfl):
2600 (WebCore::DeviceMotionClientEfl::~DeviceMotionClientEfl):
2601 (WebCore::DeviceMotionClientEfl::deviceMotionControllerDestroyed):
2602 (WebCore::DeviceMotionClientEfl::setController):
2603 (WebCore::DeviceMotionClientEfl::startUpdating):
2604 (WebCore::DeviceMotionClientEfl::stopUpdating):
2605 (WebCore::DeviceMotionClientEfl::currentDeviceMotion):
2606 * WebCoreSupport/DeviceMotionClientEfl.h: Added.
2607 * WebCoreSupport/DeviceOrientationClientEfl.cpp: Added.
2608 (WebCore::DeviceOrientationClientEfl::DeviceOrientationClientEfl):
2609 (WebCore::DeviceOrientationClientEfl::~DeviceOrientationClientEfl):
2610 (WebCore::DeviceOrientationClientEfl::deviceOrientationControllerDestroyed):
2611 (WebCore::DeviceOrientationClientEfl::setController):
2612 (WebCore::DeviceOrientationClientEfl::startUpdating):
2613 (WebCore::DeviceOrientationClientEfl::stopUpdating):
2614 (WebCore::DeviceOrientationClientEfl::lastOrientation):
2615 * WebCoreSupport/DeviceOrientationClientEfl.h: Added.
2617 2011-06-20 Dimitri Glazkov <dglazkov@chromium.org>
2619 Reviewed by Kent Tamura.
2621 FileChooser should be only created when we need to choose files.
2622 https://bugs.webkit.org/show_bug.cgi?id=63039
2624 * WebCoreSupport/ChromeClientEfl.cpp:
2625 (WebCore::ChromeClientEfl::runOpenPanel): Changed to use settings.
2627 2011-06-20 Gyuyoung Kim <gyuyoung.kim@samsung.com>
2629 Unreviewed. Fix style error.
2631 * WebCoreSupport/EditorClientEfl.h:
2632 (WebCore::EditorClientEfl::requestCheckingOfString):
2634 2011-06-20 Ryuan Choi <ryuan.choi@samsung.com>
2636 Reviewed by Antonio Gomes.
2638 [EFL] ChromeClientEfl doesn't need to check whether m_view is null.
2639 https://bugs.webkit.org/show_bug.cgi?id=62978
2641 Remove unnecessary check routines of m_view because ChromeClientEfl have
2642 valid m_view always.
2644 * WebCoreSupport/ChromeClientEfl.cpp:
2645 (WebCore::ChromeClientEfl::ChromeClientEfl): Add ASSERT(m_view)
2646 (WebCore::ChromeClientEfl::windowRect):
2647 (WebCore::ChromeClientEfl::setWindowRect):
2648 (WebCore::ChromeClientEfl::pageRect):
2650 2011-06-20 Ryosuke Niwa <rniwa@webkit.org>
2652 EFL build fix after r89293.
2654 * WebCoreSupport/EditorClientEfl.cpp:
2655 (WebCore::EditorClientEfl::handleEditingKeyboardEvent):
2657 2011-06-18 Dimitri Glazkov <dglazkov@chromium.org>
2659 Reviewed by Darin Adler.
2661 Separate concerns of loading file icons and choosing files.
2662 https://bugs.webkit.org/show_bug.cgi?id=62931
2664 * WebCoreSupport/ChromeClientEfl.cpp:
2665 (WebCore::ChromeClientEfl::loadIconForFiles): Renamed.
2666 * WebCoreSupport/ChromeClientEfl.h:
2668 2011-06-15 Grzegorz Czajkowski <g.czajkowski@samsung.com>
2670 Reviewed by Antonio Gomes.
2672 [EFL] Fix and update doxygen documentation for ewk_frame.
2673 https://bugs.webkit.org/show_bug.cgi?id=62533
2676 - fixes method descriptions,
2677 - adds briefs for structure and typdef,
2678 - replaces NULL to 0 in doxygen documentation (webkit's style required it),
2679 - removes dots from the end of params and return description (see EFL's documentation),
2680 - moves includes and defines below a brief of ewk_frame.h
2681 - moves internal methods to the end of ewk_frame.cpp.
2683 * ewk/ewk_frame.cpp:
2687 2011-06-15 Kamil Blank <k.blank@samsung.com>
2689 Reviewed by Kenneth Rohde Christiansen.
2691 [EFL] Soup authentication feature implementation.
2692 https://bugs.webkit.org/show_bug.cgi?id=54752
2694 This implementation is based on GTK implementation.
2695 During ewk initialization SoupSessionFeature is added which provides possibility to handle HTTP basic auth.
2697 To support authentication we have to set function (callback) via ewk_auth_show_dialog_callback_set()
2698 which will be responsible for session authentication.
2699 If callback is set and authentication required - webkit pauses soup message, calls previously set callback
2700 and waits for authentication data (username/password) which should be passed by ewk_auth_credentials_set().
2702 * CMakeListsEfl.txt:
2703 * ewk/ewk_auth.cpp: Added.
2704 (ewk_auth_show_dialog_callback_set): Setting callback which should be called when authentication is required.
2705 (ewk_auth_credentials_set): Passing authentication data.
2706 * ewk/ewk_auth.h: Added. Authentication API.
2707 * ewk/ewk_auth_soup.cpp: Added. Soup authentication implementation.
2708 (_Ewk_Auth_Data::ewk_auth_soup_dialog_class_init):
2709 (_Ewk_Auth_Data::ewk_auth_soup_dialog_init):
2710 (_Ewk_Auth_Data::ewk_auth_soup_dialog_session_feature_init):
2711 (_Ewk_Auth_Data::ewk_auth_soup_show_dialog_callback_set):
2712 (_Ewk_Auth_Data::ewk_auth_soup_credentials_set):
2713 (_Ewk_Auth_Data::session_authenticate):
2714 (_Ewk_Auth_Data::free_auth_data):
2715 (_Ewk_Auth_Data::attach):
2716 (_Ewk_Auth_Data::detach):
2717 * ewk/ewk_auth_soup.h: Added.
2719 (_ewk_init_body): SoupSessionFeature responsible for authentication added to SoupSession.
2721 2011-06-15 Sheriff Bot <webkit.review.bot@gmail.com>
2723 Unreviewed, rolling out r88723.
2724 http://trac.webkit.org/changeset/88723
2725 https://bugs.webkit.org/show_bug.cgi?id=62726
2727 Stack can be empty, so it needs to be checked before as
2728 pointed out in the comments of the bug. (Requested by demarchi
2731 * WebCoreSupport/EditorClientEfl.cpp:
2732 (WebCore::EditorClientEfl::registerCommandForUndo):
2733 (WebCore::EditorClientEfl::registerCommandForRedo):
2734 (WebCore::EditorClientEfl::clearUndoRedoOperations):
2735 (WebCore::EditorClientEfl::canRedo):
2736 (WebCore::EditorClientEfl::redo):
2737 * WebCoreSupport/EditorClientEfl.h:
2739 2011-06-13 Michal Pakula vel Rutka <m.pakula@samsung.com>
2741 Reviewed by Eric Seidel.
2743 [EFL] Input method hints not updated while clicking non-input field editable area
2744 https://bugs.webkit.org/show_bug.cgi?id=62539
2746 This fixes a minor bug when input method hints are not updated while focus is
2747 changed from editable area with input tags to other which are does not have input
2751 (ewk_view_input_method_state_set):
2753 2011-06-13 Jaehun Lim <ljaehun.lim@samsung.com>
2755 Reviewed by Eric Seidel.
2757 [EFL] Supports to execute "redo" command.
2758 https://bugs.webkit.org/show_bug.cgi?id=62536
2760 Implements basic functions for "redo" command.
2762 * WebCoreSupport/EditorClientEfl.cpp:
2763 (WebCore::EditorClientEfl::registerCommandForUndo):
2764 (WebCore::EditorClientEfl::registerCommandForRedo):
2765 (WebCore::EditorClientEfl::clearUndoRedoOperations):
2766 (WebCore::EditorClientEfl::canRedo):
2767 (WebCore::EditorClientEfl::redo):
2768 * WebCoreSupport/EditorClientEfl.h:
2770 2011-06-13 Grzegorz Czajkowski <g.czajkowski@samsung.com>
2772 Reviewed by Eric Seidel.
2774 [EFL] Remove ewk_frame_select_* functions from ewk_frame.cpp
2775 https://bugs.webkit.org/show_bug.cgi?id=62365
2777 These functions do not exist in any public headers and
2778 they are not used internally.
2779 Moreover ewk_view has the same functionality added
2780 https://bugs.webkit.org/show_bug.cgi?id=60435
2782 * ewk/ewk_frame.cpp:
2784 2011-06-13 Raphael Kubo da Costa <kubo@profusion.mobi>
2786 Reviewed by Kenneth Rohde Christiansen.
2788 [efl] Disable tiled backing store debug messages by default.
2789 https://bugs.webkit.org/show_bug.cgi?id=61745
2791 These messages pollute the output and are only useful to people
2792 working on TBS itself. It makes more sense to have them disabled by
2795 * ewk/ewk_tiled_backing_store.h:
2797 2011-06-13 KwangHyuk Kim <hyuki.kim@samsung.com>
2799 Reviewed by Kenneth Rohde Christiansen.
2801 [EFL] change of cairo_format_t corresponding to EVAS_COLORSPACE_ARGB8888 color space
2802 https://bugs.webkit.org/show_bug.cgi?id=62448
2804 Use CAIRO_FORMAT_ARGB32 for EWK as pixman does not support the fast path for converting
2805 from ARGB32 to AGB24 when using source over operation in combination with a bilinear filter
2807 * ewk/ewk_tiled_model.c:
2809 * ewk/ewk_view_single.c:
2810 (_ewk_view_single_smart_repaints_process):
2812 2011-06-12 Adam Barth <abarth@webkit.org>
2814 Reviewed by Alexey Proskuryakov.
2816 Rename FrameLoaderClient::interruptForPolicyChangeError to use the past tense
2817 https://bugs.webkit.org/show_bug.cgi?id=62516
2819 * WebCoreSupport/FrameLoaderClientEfl.cpp:
2820 (WebCore::FrameLoaderClientEfl::interruptedForPolicyChangeError):
2821 * WebCoreSupport/FrameLoaderClientEfl.h:
2823 2011-06-10 KwangHyuk Kim <hyuki.kim@samsung.com>
2825 Reviewed by Kenneth Rohde Christiansen.
2827 [EFL]add image content hint information for tile image object when it is created
2828 https://bugs.webkit.org/show_bug.cgi?id=62436
2830 When application is using opengl_x11 Ecore_Evas, it can be working as gl texture.
2831 In order to support this enhanced feature, image content hint information must be
2832 specified as EVAS_IMAGE_CONTENT_HINT_DYNAMIC
2834 * ewk/ewk_tiled_model.c:
2837 2011-06-10 Grzegorz Czajkowski <g.czajkowski@samsung.com>
2839 Reviewed by Kenneth Rohde Christiansen.
2841 [EFL] Repaint throttling API.
2842 https://bugs.webkit.org/show_bug.cgi?id=56178
2844 The API allows to set the values for repaint throttling.
2845 It should ensure displaying a content with many css/gif animations.
2847 * ewk/ewk_settings.cpp:
2848 (ewk_settings_repaint_throttling_set):
2849 * ewk/ewk_settings.h:
2851 2011-06-10 Gyuyoung Kim <gyuyoung.kim@samsung.com>
2853 Reviewed by Kent Tamura.
2855 [EFL] Use makeString() when getting os version
2856 https://bugs.webkit.org/show_bug.cgi?id=62434
2858 When os version string is created, to use makeString() is better than
2861 * ewk/ewk_settings.cpp:
2862 (_ewk_settings_webkit_os_version_get):
2864 2011-06-09 Hyowon Kim <hw1008.kim@samsung.com>
2866 Reviewed by Antonio Gomes.
2868 [EFL] Make accelerated compositing build in Webkit-EFL
2869 https://bugs.webkit.org/show_bug.cgi?id=62361
2871 Add functions for accelerated compositing to ChromeClientEfl.
2873 * WebCoreSupport/ChromeClientEfl.cpp:
2874 (WebCore::ChromeClientEfl::attachRootGraphicsLayer):
2875 (WebCore::ChromeClientEfl::setNeedsOneShotDrawingSynchronization):
2876 (WebCore::ChromeClientEfl::scheduleCompositingLayerSync):
2877 (WebCore::ChromeClientEfl::allowedCompositingTriggers):
2878 * WebCoreSupport/ChromeClientEfl.h:
2880 2011-05-30 Raphael Kubo da Costa <kubo@profusion.mobi>
2882 Reviewed by Brent Fulgham.
2884 [efl] Do not enable the encoding detector by default.
2885 https://bugs.webkit.org/show_bug.cgi?id=61744
2887 This should match the behaviour of other ports more closely, and makes
2888 at least dom/xhtml/level3/core/documentgetinputencoding01.xhtml pass.
2891 (_ewk_view_priv_new):
2893 2011-06-08 Jaehun Lim <ljaehun.lim@samsung.com>
2895 Reviewed by Antonio Gomes.
2897 [EFL] Implements "undo" command execution
2898 https://bugs.webkit.org/show_bug.cgi?id=62201
2900 Supports to execute "Undo" command.
2902 * WebCoreSupport/EditorClientEfl.cpp:
2903 (WebCore::EditorClientEfl::registerCommandForUndo):
2904 (WebCore::EditorClientEfl::clearUndoRedoOperations):
2905 (WebCore::EditorClientEfl::canUndo):
2906 (WebCore::EditorClientEfl::undo):
2907 * WebCoreSupport/EditorClientEfl.h:
2909 2011-06-08 Eunmi Lee <eunmi15.lee@samsung.com>
2911 Reviewed by Antonio Gomes.
2913 [EFL] remove adjusting codes for zoom's center coordinate
2914 https://bugs.webkit.org/show_bug.cgi?id=62266
2916 It is possible that the application developers don't want to limit
2917 zoom's center coordinate to the viewport for implementing some effects
2918 and center coordinate out of the viewport does not affect to the zoom operation.
2919 So, It is better to leave zoom's center coordinate freely.
2922 (ewk_view_zoom_set):
2923 (ewk_view_zoom_weak_set):
2925 2011-06-07 Ryuan Choi <ryuan.choi@samsung.com>
2927 Reviewed by Antonio Gomes.
2929 [EFL] Remove JSC dependency from WebKit/efl
2930 https://bugs.webkit.org/show_bug.cgi?id=62173
2932 Change JSC::initializeThreading() and WTF::initializeMainThread() to
2933 WebCore::ScriptController::initializeThreading() which contains these
2934 functions and remove JSC dependency to build webkit/efl with v8.
2939 2011-06-06 Gyuyoung Kim <gyuyoung.kim@samsung.com>
2941 Unreviewed build fix.
2943 * WebCoreSupport/FrameLoaderClientEfl.cpp:
2944 (WebCore::FrameLoaderClientEfl::startDownload): Change prettyURL() with string().
2946 2011-06-06 Gyuyoung Kim <gyuyoung.kim@samsung.com>
2948 Reviewed by Antonio Gomes.
2950 [EFL] Implement startDownload() in FrameLoaderClientEfl
2951 https://bugs.webkit.org/show_bug.cgi?id=61998
2953 Implement startDownload() with download().
2955 * WebCoreSupport/FrameLoaderClientEfl.cpp:
2956 (WebCore::FrameLoaderClientEfl::startDownload):
2958 2011-06-03 Sheriff Bot <webkit.review.bot@gmail.com>
2960 Unreviewed, rolling out r88014.
2961 http://trac.webkit.org/changeset/88014
2962 https://bugs.webkit.org/show_bug.cgi?id=62017
2964 Broken EFL build (Requested by tonikitoo on #webkit).
2966 * WebCoreSupport/FrameLoaderClientEfl.cpp:
2967 (WebCore::FrameLoaderClientEfl::startDownload):
2969 2011-06-03 Gyuyoung Kim <gyuyoung.kim@samsung.com>
2971 Reviewed by Antonio Gomes.
2973 [EFL] Implement startDownload() in FrameLoaderClientEfl
2974 https://bugs.webkit.org/show_bug.cgi?id=61998
2976 Implement startDownload() with download().
2978 * WebCoreSupport/FrameLoaderClientEfl.cpp:
2979 (WebCore::FrameLoaderClientEfl::startDownload):
2981 2011-06-02 Gyuyoung Kim <gyuyoung.kim@samsung.com>
2983 Reviewed by Kenneth Rohde Christiansen.
2985 [EFL] Implement hasWebView() in FrameLoaderClientEfl
2986 https://bugs.webkit.org/show_bug.cgi?id=61905
2988 * WebCoreSupport/FrameLoaderClientEfl.cpp:
2989 (WebCore::FrameLoaderClientEfl::hasWebView): Implement hasWebView() function.
2991 2011-06-02 Ryuan Choi <ryuan.choi@samsung.com>
2993 Reviewed by Kenneth Rohde Christiansen.
2995 [EFL] No need to invalidate empty areas in ChromeClientEfl::invalidateContentsAndWindow
2996 https://bugs.webkit.org/show_bug.cgi?id=61902
2998 Just return to reduce unnecessary calls when invalidateContentsAndWindow
2999 received empty area.
3001 * WebCoreSupport/ChromeClientEfl.cpp:
3002 (WebCore::ChromeClientEfl::invalidateContentsAndWindow):
3004 2011-06-01 Gyuyoung Kim <gyuyoung.kim@samsung.com>
3006 Reviewed by Kent Tamura.
3008 [EFL] Add null checking condition to EditorClientEfl.cpp
3009 https://bugs.webkit.org/show_bug.cgi?id=61846
3011 Add null checking condition for using settings() of frame.
3013 * WebCoreSupport/EditorClientEfl.cpp:
3014 (WebCore::EditorClientEfl::handleEditingKeyboardEvent):
3016 2011-05-31 Raphael Kubo da Costa <kubo@profusion.mobi>
3018 Reviewed by Adam Barth.
3020 [efl] Add ewk API to enable/disable developer extras.
3021 https://bugs.webkit.org/show_bug.cgi?id=61746
3023 Add ewk_view_setting_enable_developer_extras_{get,set}, which is used
3024 to enable or disable developer extras (currently, the Web Inspector)
3028 (_ewk_view_priv_new):
3029 (ewk_view_setting_enable_developer_extras_get):
3030 (ewk_view_setting_enable_developer_extras_set):
3033 2011-05-30 Raphael Kubo da Costa <kubo@profusion.mobi>
3035 Reviewed by Kent Tamura.
3037 [efl] Fix _ewk_frame_children_iterator_next().
3038 https://bugs.webkit.org/show_bug.cgi?id=61749
3040 The iterator was returning always the first child, making tests like
3041 fast/history/history-back-initial-vs-final-url.html to timeout and
3042 eventually run out of memory.
3044 * ewk/ewk_frame.cpp:
3045 (_ewk_frame_children_iterator_next):
3046 (ewk_frame_children_iterator_new):
3048 2011-05-28 Adam Barth <abarth@webkit.org>
3050 Reviewed by Alexey Proskuryakov.
3052 Audit all uses of KURL::prettyURL
3053 https://bugs.webkit.org/show_bug.cgi?id=61201
3055 Update callers of prettyURL to just call string.
3057 * WebCoreSupport/ChromeClientEfl.cpp:
3058 (WebCore::ChromeClientEfl::mouseDidMoveOverElement):
3059 * WebCoreSupport/FrameLoaderClientEfl.cpp:
3060 (WebCore::FrameLoaderClientEfl::dispatchWillSendRequest):
3061 (WebCore::FrameLoaderClientEfl::assignIdentifierToInitialRequest):
3062 (WebCore::FrameLoaderClientEfl::dispatchDecidePolicyForNavigationAction):
3063 (WebCore::FrameLoaderClientEfl::download):
3064 (WebCore::FrameLoaderClientEfl::cancelledError):
3065 (WebCore::FrameLoaderClientEfl::blockedError):
3066 * ewk/ewk_frame.cpp:
3067 (ewk_frame_hit_test_new):
3068 (ewk_frame_uri_changed):
3070 (_ewk_view_priv_new):
3071 (ewk_view_frame_create):
3072 (ewk_view_plugin_create):
3074 2011-05-16 Jon Lee <jonlee@apple.com>
3076 Reviewed by Simon Fraser.
3078 Can't horizontally scroll iframes and overflow because wheel events are always accepted
3079 https://bugs.webkit.org/show_bug.cgi?id=60779
3081 * WebCoreSupport/ChromeClientEfl.h:
3082 (WebCore::ChromeClientEfl::shouldRubberBandInDirection): Default impl of new ChromeClient method
3083 (WebCore::ChromeClientEfl::numWheelEventHandlersChanged): Default impl of new ChromeClient method
3085 2011-05-16 Grzegorz Czajkowski <g.czajkowski@samsung.com>
3087 Reviewed by Antonio Gomes.
3089 [EFL] Remove EAPI macro from functions definition
3090 https://bugs.webkit.org/show_bug.cgi?id=60754
3092 This macro should be used in header files only.
3093 It's not necessary to have it in definitions.
3095 * ewk/ewk_cookies.cpp:
3096 (ewk_cookies_file_set):
3097 (ewk_cookies_clear):
3098 (ewk_cookies_get_all):
3099 (ewk_cookies_cookie_del):
3100 (ewk_cookies_cookie_free):
3101 (ewk_cookies_policy_set):
3102 (ewk_cookies_policy_get):
3103 * ewk/ewk_window_features.cpp:
3104 (ewk_window_features_unref):
3105 (ewk_window_features_ref):
3106 (ewk_window_features_bool_property_get):
3107 (ewk_window_features_int_property_get):
3109 2011-05-13 Gyuyoung Kim <gyuyoung.kim@samsung.com>
3111 Unreviewed. Fix style error.
3113 * ewk/ewk_history.cpp:
3115 2011-05-13 Gyuyoung Kim <gyuyoung.kim@samsung.com>
3117 Reviewed by Kenneth Rohde Christiansen.
3119 [EFL] Move ewk_view_dpi_get() to ewk_util.cpp
3120 https://bugs.webkit.org/show_bug.cgi?id=60753
3122 Move ewk_view_dpi_get() to ewk_util.cpp
3124 * ewk/ewk_private.h:
3128 (_ewk_view_viewport_attributes_compute):
3130 2011-05-11 Gyuyoung Kim <gyuyoung.kim@samsung.com>
3132 Reviewed by Antonio Gomes.
3134 [EFL] Remove fixed_layout structure in ewk_view
3135 https://bugs.webkit.org/show_bug.cgi?id=60615
3137 Remove unnecessary fixed_layout structure. The ewk_view_fixed_layout_size_set/get()
3138 use WebCore's functions directly.
3141 (ewk_view_fixed_layout_size_set):
3142 (ewk_view_fixed_layout_size_get):
3144 2011-05-11 Tomasz Morawski <t.morawski@samsung.com>
3146 Rubber-stamped by Daniel Bates.
3148 Added missing DATABASE macro
3149 https://bugs.webkit.org/show_bug.cgi?id=60437
3151 * ewk/ewk_settings.cpp:
3152 (ewk_settings_web_database_default_quota_get):
3154 2011-05-08 Kamil Blank <k.blank@samsung.com>
3156 Reviewed by Antonio Gomes.
3158 Added new commands to be called by ewk_view_editor_command.
3159 Due to this change ewk_view_select_* functions have been removed.
3160 https://bugs.webkit.org/show_bug.cgi?id=60435
3163 (ewk_view_execute_editor_command):
3166 2011-05-07 Tomasz Morawski <t.morawski@samsung.com>
3168 Reviewed by Daniel Bates.
3170 [EFL] Remove ewk_tile_unused_cache_free function from public API
3171 https://bugs.webkit.org/show_bug.cgi?id=60151
3173 The ewk_tile_unused_cache_free function should be only called by
3174 ewk_tile_unused_cache_unref function. Calling this function without
3175 considering reference counting may lead to fatal results.
3177 * ewk/ewk_tiled_model.c:
3178 (_ewk_tile_unused_cache_free):
3179 (ewk_tile_unused_cache_unref):
3180 * ewk/ewk_tiled_model.h:
3182 2011-05-05 Ryosuke Niwa <rniwa@webkit.org>
3184 Reviewed by Eric Seidel.
3186 Rename SelectionController to FrameSelection
3187 https://bugs.webkit.org/show_bug.cgi?id=60234
3189 * WebCoreSupport/EditorClientEfl.cpp:
3190 (WebCore::EditorClientEfl::handleEditingKeyboardEvent):
3192 2011-05-04 Cris Neckar <cdn@chromium.org>
3194 Reviewed by Adam Barth.
3196 Expose WebView directly through ChromeClient.
3197 https://bugs.webkit.org/show_bug.cgi?id=49902
3199 * WebCoreSupport/ChromeClientEfl.h:
3200 (WebCore::ChromeClientEfl::webView):
3202 2011-05-04 Tomasz Morawski <t.morawski@samsung.com>
3204 Reviewed by Kenneth Rohde Christiansen.
3206 [EFL] Added error check for _ewk_init_body result.
3207 https://bugs.webkit.org/show_bug.cgi?id=60149
3209 The ewk_init function should be failed when _ewk_init_body function
3215 2011-05-04 Tao Bai <michaelbai@chromium.org>
3217 Reviewed by David Kilzer.
3219 Populate touch-icon url to FrameLoaderClient
3220 https://bugs.webkit.org/show_bug.cgi?id=59143
3222 Respect the interface change in FrameLoaderClient
3224 * WebCoreSupport/FrameLoaderClientEfl.cpp:
3225 (WebCore::FrameLoaderClientEfl::dispatchDidChangeIcons):
3226 * WebCoreSupport/FrameLoaderClientEfl.h:
3228 2011-05-04 Gyuyoung Kim <gyuyoung.kim@samsung.com>
3230 Reviewed by Kenneth Rohde Christiansen.
3232 [EFL] Initialize viewport argument in ewk_view.cpp
3233 https://bugs.webkit.org/show_bug.cgi?id=60147
3235 viewport computation logic can't be worked correctly because viewport argument
3236 isn't initialized. So, we need to initialize viewport argument.
3239 (_ewk_view_priv_new):
3241 2011-05-03 Leandro Pereira <leandro@profusion.mobi>
3243 [EFL] Unreviewed build fix for NETWORK_BACKEND=curl.
3245 Force linking with zlib so that uncompress() exists.
3247 * CMakeListsEfl.txt: Append zlib libraries.
3249 2011-05-02 Gyuyoung Kim <gyuyoung.kim@samsung.com>
3251 Unreviewed. Style error fix.
3253 * WebCoreSupport/ChromeClientEfl.cpp:
3255 2011-04-28 Kamil Blank <k.blank@samsung.com>
3257 Reviewed by Antonio Gomes.
3259 New API for executing Editor Commands: InsertText, InsertImage.
3260 https://bugs.webkit.org/show_bug.cgi?id=54439
3263 (_ewk_view_editor_command): Added value parameter.
3264 (ewk_view_execute_editor_command): Added.
3265 * ewk/ewk_view.h: New API added.
3267 2011-04-26 Grzegorz Czajkowski <g.czajkowski@samsung.com>
3269 Reviewed by Antonio Gomes.
3271 [EFL] Update signals description
3272 https://bugs.webkit.org/show_bug.cgi?id=56904
3274 Add, fix signals description that are emitted by evas_object_smart_callcabck_call in
3275 ewk_view, ewk_frame, ewk_contextmenu.
3277 * ewk/ewk_contextmenu.h:
3281 2011-04-25 Ryuan Choi <ryuan.choi@samsung.com>
3283 Reviewed by Antonio Gomes.
3285 [EFL] Remove ewk_eapi.h
3286 https://bugs.webkit.org/show_bug.cgi?id=59091
3289 * ewk/ewk_contextmenu.h:
3290 * ewk/ewk_cookies.h:
3291 * ewk/ewk_eapi.h: Removed.
3293 * ewk/ewk_history.h:
3295 * ewk/ewk_settings.h:
3296 * ewk/ewk_tiled_matrix.h:
3297 * ewk/ewk_tiled_model.h:
3298 * ewk/ewk_window_features.h:
3300 2011-04-21 Ryosuke Niwa <rniwa@webkit.org>
3302 Reviewed by Sam Weinig.
3304 Add Frame* to the argument lists of canCopyCut and canPaste
3305 https://bugs.webkit.org/show_bug.cgi?id=59153
3307 * WebCoreSupport/EditorClientEfl.cpp:
3308 (WebCore::EditorClientEfl::canCopyCut):
3309 (WebCore::EditorClientEfl::canPaste):
3310 * WebCoreSupport/EditorClientEfl.h:
3312 2011-04-19 Vsevolod Vlasov <vsevik@chromium.org>
3314 Reviewed by Pavel Feldman.
3316 Web Inspector: Rename lengthReceived to encodedDataLength/dataLength
3317 https://bugs.webkit.org/show_bug.cgi?id=58883
3319 * WebCoreSupport/FrameLoaderClientEfl.cpp:
3320 (WebCore::FrameLoaderClientEfl::dispatchDidReceiveContentLength):
3321 * WebCoreSupport/FrameLoaderClientEfl.h:
3323 2011-04-18 Sheriff Bot <webkit.review.bot@gmail.com>
3325 Unreviewed, rolling out r84155.
3326 http://trac.webkit.org/changeset/84155
3327 https://bugs.webkit.org/show_bug.cgi?id=58802
3329 "paintEntireContents flag is used for painting outside of the
3330 screen. It's not the right way to fix EFL tiled backing
3331 store." (Requested by demarchi on #webkit).
3333 * ewk/ewk_view_tiled.c:
3334 (_ewk_view_tiled_smart_add):
3336 2011-04-18 Eunsol Park <eunsol47.park@samsung.com>
3338 Reviewed by Eric Seidel.
3340 [EFL] Scroll doesn't work on tiled backing store
3341 https://bugs.webkit.org/show_bug.cgi?id=55021
3343 Scroll doesn't work on tiled backing store, but it works on single.
3344 If ewk_frame_paint_full_set() set True, view size return content size and scroll can't be made.
3345 so, ewk_frame_paint_full_set() is removed from ewk_tiled_smart_add().
3347 * ewk/ewk_view_tiled.c:
3348 (_ewk_view_tiled_smart_add):
3350 2011-04-14 Grzegorz Czajkowski <g.czajkowski@samsung.com>
3352 Reviewed by Antonio Gomes.
3355 https://bugs.webkit.org/show_bug.cgi?id=58016
3357 * ewk/ewk_settings.cpp:
3358 (ewk_settings_cache_enable_get):
3359 (ewk_settings_cache_enable_set):
3360 (ewk_settings_cache_capacity_set):
3361 * ewk/ewk_settings.h:
3363 2011-04-13 Grzegorz Czajkowski <g.czajkowski@samsung.com>
3365 Reviewed by Kent Tamura.
3367 [EFL] Doxygen documentation for ewk_main, ewk_history and tools
3368 https://bugs.webkit.org/show_bug.cgi?id=58428
3372 * ewk/ewk_history.h:
3373 * ewk/ewk_logging.h:
3376 * ewk/ewk_private.h:
3380 2011-04-11 Gyuyoung Kim <gyuyoung.kim@samsung.com>
3382 Reviewed by Kenneth Rohde Christiansen.
3384 [EFL] Adjust dpi value to viewport computation.
3385 https://bugs.webkit.org/show_bug.cgi?id=58130
3387 In viewport computation, EFL port have used 160 value for DPI since now.
3388 But, we have to use device's dpi value for viewport meta tag computation.
3391 (_ewk_view_viewport_attributes_compute):
3393 2011-04-10 Gyuyoung Kim <gyuyoung.kim@samsung.com>
3395 Reviewed by Eric Carlson.
3397 [EFL] Add seek forward / backward buttons to MediaControl UI.
3398 https://bugs.webkit.org/show_bug.cgi?id=56810
3400 Add seek forward / backward buttons to media control.
3402 * DefaultTheme/default.edc:
3403 * DefaultTheme/widget/mediacontrol/seekbackwardbutton/seekbackward_button.edc: Added.
3404 * DefaultTheme/widget/mediacontrol/seekbackwardbutton/seekbackwardbutton.png: Added.
3405 * DefaultTheme/widget/mediacontrol/seekforwardbutton/seekforward_button.edc: Added.
3406 * DefaultTheme/widget/mediacontrol/seekforwardbutton/seekforwardbutton.png: Added.
3408 2011-04-04 MORITA Hajime <morrita@google.com>
3410 Reviewed by Ryosuke Niwa.
3412 [Refactoring] SpellCheckingResult should be replaced with TextCheckingResult
3413 https://bugs.webkit.org/show_bug.cgi?id=56085
3415 * WebCoreSupport/EditorClientEfl.h:
3416 (WebCore::EditorClientEfl::requestCheckingOfString):
3418 2011-04-01 Grzegorz Czajkowski <g.czajkowski@samsung.com>
3420 Reviewed by Kenneth Rohde Christiansen.
3422 [EFL] Synchronization between WebCore's ContextMenuItem.h and ewk_contextmenu.h
3423 https://bugs.webkit.org/show_bug.cgi?id=57000
3425 * ewk/ewk_contextmenu.h:
3427 2011-03-31 Evan Martin <evan@chromium.org>
3429 Reviewed by Eric Seidel.
3431 <title> should support dir attribute
3432 https://bugs.webkit.org/show_bug.cgi?id=50961
3434 Update to new FrameLoaderClient interface.
3436 * WebCoreSupport/FrameLoaderClientEfl.cpp:
3437 (WebCore::FrameLoaderClientEfl::dispatchDidReceiveTitle):
3438 (WebCore::FrameLoaderClientEfl::setTitle):
3439 * WebCoreSupport/FrameLoaderClientEfl.h:
3441 2011-03-29 Gyuyoung Kim <gyuyoung.kim@samsung.com>
3443 Reviewed by Antonio Gomes.
3445 [EFL] Remove unnecessary ewk_view_viewport_attributes_set() invocation
3446 https://bugs.webkit.org/show_bug.cgi?id=57222
3448 WebCore sends viewport signal whenever viewport is changed by Page::updateViewportArguments().
3449 Thus, we don't need to call ewk_view_viewport_attributes_set() with dummy viewport data
3452 * WebCoreSupport/FrameLoaderClientEfl.cpp:
3453 (WebCore::FrameLoaderClientEfl::dispatchDidCommitLoad):
3455 2011-03-27 Patrick Gansterer <paroga@webkit.org>
3457 Reviewed by Andreas Kling.
3459 Fix agentOS() in FrameLoaderClientEfl
3460 https://bugs.webkit.org/show_bug.cgi?id=57177
3462 Replace old PLATFORM macro with OS and CPU.
3464 * WebCoreSupport/FrameLoaderClientEfl.cpp:
3467 2011-03-27 Patrick Gansterer <paroga@webkit.org>
3469 Reviewed by Andreas Kling.
3471 [EFL] Use an appropriate user agent string
3472 https://bugs.webkit.org/show_bug.cgi?id=57176
3474 * WebCoreSupport/FrameLoaderClientEfl.cpp:
3475 (WebCore::composeUserAgent):
3477 2011-03-25 Andy Estes <aestes@apple.com>
3479 Reviewed by Adele Peterson.
3481 REGRESSION (r70748): latest nightly builds kills AC_QuickTime.js
3482 https://bugs.webkit.org/show_bug.cgi?id=49016
3484 Update objectContentType() implementation to handle the
3485 shouldPreferPlugInsForImages flag.
3487 * WebCoreSupport/FrameLoaderClientEfl.cpp:
3488 (WebCore::FrameLoaderClientEfl::objectContentType):
3489 * WebCoreSupport/FrameLoaderClientEfl.h:
3491 2011-03-24 Gyuyoung Kim <gyuyoung.kim@samsung.com>
3493 Reviewed by Antonio Gomes.
3495 [EFL] Add sound / mute button to MediaControl UI
3496 https://bugs.webkit.org/show_bug.cgi?id=56726
3498 Add sound / mute button to MediaControl UI.
3500 * DefaultTheme/default.edc:
3501 * DefaultTheme/widget/mediacontrol/mutebutton/mute_button.edc: Added.
3502 * DefaultTheme/widget/mediacontrol/mutebutton/mutebutton.png: Added.
3503 * DefaultTheme/widget/mediacontrol/mutebutton/unmutebutton.png: Added.
3505 2011-03-24 Sheriff Bot <webkit.review.bot@gmail.com>
3507 Unreviewed, rolling out r81916 and r81917.
3508 http://trac.webkit.org/changeset/81916
3509 http://trac.webkit.org/changeset/81917
3510 https://bugs.webkit.org/show_bug.cgi?id=57071
3512 broke a test on platforms that do not have QuickTime installed
3513 (Requested by estes on #webkit).
3515 * WebCoreSupport/FrameLoaderClientEfl.cpp:
3516 (WebCore::FrameLoaderClientEfl::objectContentType):
3517 * WebCoreSupport/FrameLoaderClientEfl.h:
3519 2011-03-24 Andy Estes <aestes@apple.com>
3521 Reviewed by Darin Adler.
3523 REGRESSION (r70748): latest nightly builds kills AC_QuickTime.js
3524 https://bugs.webkit.org/show_bug.cgi?id=49016
3526 Update objectContentType() implementation to handle the
3527 shouldPreferPlugInsForImages flag.
3529 * WebCoreSupport/FrameLoaderClientEfl.cpp:
3530 (WebCore::FrameLoaderClientEfl::objectContentType):
3531 * WebCoreSupport/FrameLoaderClientEfl.h:
3533 2011-03-23 Brady Eidson <beidson@apple.com>
3535 Reviewed by Sam Weinig.
3537 Change IconDatabase opening to allow for arbitrary filenames
3538 https://bugs.webkit.org/show_bug.cgi?id=56977
3540 * ewk/ewk_settings.cpp:
3541 (ewk_settings_icon_database_path_set):
3543 2011-03-23 Gyuyoung Kim <gyuyoung.kim@samsung.com>
3545 Reviewed by Antonio Gomes.
3547 [EFL] Add play / pause button to media control
3548 https://bugs.webkit.org/show_bug.cgi?id=55463
3550 Add play|pause button to media control.