1 2012-03-23 Zan Dobersek <zandobersek@gmail.com>
3 [Gtk] Webkit fails to build with --disable-geolocation
4 https://bugs.webkit.org/show_bug.cgi?id=81451
6 Reviewed by Benjamin Poulain.
8 Wrap uses of WebCore::Geolocation in WebKitGeolocationPolicyDecision
9 and WebKitWebView in ifdefs, removing compilation errors when compiling
10 with geolocation support disabled. Affected public API methods are then
11 stubs, throwing a warning that feature was not enabled at compile-time.
13 * webkit/webkitgeolocationpolicydecision.cpp:
14 (_WebKitGeolocationPolicyDecisionPrivate):
15 (webkit_geolocation_policy_decision_new):
16 (webkit_geolocation_policy_allow):
17 (webkit_geolocation_policy_deny):
18 * webkit/webkitgeolocationpolicydecisionprivate.h:
19 * webkit/webkitwebview.cpp:
20 (webkit_web_view_init):
22 2012-03-23 Zan Dobersek <zandobersek@gmail.com>
24 [GObject bindings] Supplemental interfaces are not disabled with the "Conditional" attribute
25 https://bugs.webkit.org/show_bug.cgi?id=80030
27 Reviewed by Martin Robinson.
29 Add a private macro that can be used when necessary to throw a warning
30 about a future not enabled at compile-time.
32 * webkit/webkitglobalsprivate.h:
34 2012-03-23 Carlos Garcia Campos <cgarcia@igalia.com>
36 [GTK] Add a way to expose well known names for items in the default context menu
37 https://bugs.webkit.org/show_bug.cgi?id=67660
39 Reviewed by Martin Robinson.
41 Add WebKitContextMenuAction enum containing all possible context
44 * GNUmakefile.am: Add new files to compilation.
45 * WebCoreSupport/ContextMenuClientGtk.cpp:
46 (WebKit::inputMethodsMenuItem): Use WebCore context menu classes
47 to create the context menu and its items to make sure all items
48 have a GtkAction associated.
49 (WebKit::insertControlCharacter):
50 (WebKit::unicodeMenuItem): Ditto.
51 * tests/testcontextmenu.c: Added.
54 (contextMenuFixtureSetup):
55 (contextMenuFixtureTeardown):
57 (checkActionWithSubmenu):
59 (contextMenuCallback):
64 (contextMenuCustomItemCallback):
65 (testContextMenuCustomItem):
67 * webkit/webkitglobals.cpp:
68 (webkit_context_menu_item_get_action): Return the
69 WebKitContextMenuAction for the given context menu item.
70 * webkit/webkitglobals.h:
72 2012-03-23 Carlos Garcia Campos <cgarcia@igalia.com>
74 Unreviewed. Rename a variable name in API documentation.
76 Rename keyboard_mode to triggered_with_keyboard in
77 WebKitWebView::context-menu signal documentation as suggested by
78 Martin and Gustavo. I forgot to make this change before landing
81 * webkit/webkitwebview.cpp:
82 (webkit_web_view_class_init):
84 2012-03-23 Carlos Garcia Campos <cgarcia@igalia.com>
86 [GTK] Add a signal to allow applications to handle its own context menu
87 https://bugs.webkit.org/show_bug.cgi?id=49904
89 Reviewed by Gustavo Noronha Silva.
91 * tests/testhittestresult.c:
92 (load_status_cb): Test x, y properties of WebKitHitTestResult.
93 * webkit/webkithittestresult.cpp:
94 (webkit_hit_test_result_get_property):
95 (webkit_hit_test_result_set_property):
96 (webkit_hit_test_result_class_init): Add x and y construct only
97 properties to keep the coordinates of the event relative to view's
100 * webkit/webkitwebsettings.cpp:
101 (webkit_web_settings_class_init): Mark enable-default-context-menu
102 property as deprecated.
103 * webkit/webkitwebview.cpp:
104 (prepareMouseEventForFrame):
105 (defaultContextMenuEnabled): Helper function to check whether
106 default context menu setting is enabled or not.
107 (webkit_web_view_forward_context_menu_event): Emit the new
109 (webkit_web_view_popup_menu_handler):
110 (webkit_web_view_button_press_event):
111 (webkit_web_view_class_init): Add new context-menu signal and mark
112 populate-popup as deprecated.
113 * webkitmarshal.list:
115 2012-03-23 Carlos Garcia Campos <cgarcia@igalia.com>
117 Unreviewed. Fix GTK+ build after r111707.
119 * WebCoreSupport/UserMediaClientGtk.h:
121 2012-03-22 Mao Yujie <yujie.mao@intel.com>
123 [GTK] Add MediaStream feature to avoid MediaStream test failure
124 https://bugs.webkit.org/show_bug.cgi?id=81727
126 Reviewed by Martin Robinson.
129 * WebCoreSupport/UserMediaClientGtk.cpp: Added.
131 (WebKit::UserMediaClientGtk::UserMediaClientGtk):
132 (WebKit::UserMediaClientGtk::~UserMediaClientGtk):
133 (WebKit::UserMediaClientGtk::pageDestroyed):
134 (WebKit::UserMediaClientGtk::requestUserMedia):
135 (WebKit::UserMediaClientGtk::cancelUserMediaRequest):
136 * WebCoreSupport/UserMediaClientGtk.h: Added.
138 (UserMediaClientGtk):
139 * webkit/webkitwebview.cpp:
140 (webkit_web_view_init):
142 2012-03-22 Sergio Villar Senin <svillar@igalia.com>
144 [GTK] icon database requests not dispatched until new data arrives
145 https://bugs.webkit.org/show_bug.cgi?id=81665
147 Reviewed by Martin Robinson.
149 Wait for the import to finish before reporting that the favicon
150 cache does not have a pixbuf for an URL.
152 Changes already covered by the favicon database unit tests.
154 * webkit/webkitfavicondatabase.cpp:
155 (webkit_favicon_database_get_favicon_pixbuf):
157 2012-03-22 Carlos Garcia Campos <cgarcia@bb-webkit-rel-64.local.igalia.com>
159 [GTK] Use the angle-bracket form to include wtf headers
160 https://bugs.webkit.org/show_bug.cgi?id=81884
162 Reviewed by Eric Seidel.
164 Use #include <wtf/foo> instead of #include "foo".
166 * WebCoreSupport/DocumentLoaderGtk.cpp:
167 * WebCoreSupport/DragClientGtk.h:
168 * WebCoreSupport/FrameLoaderClientGtk.cpp:
169 * WebCoreSupport/FullscreenVideoController.h:
170 * WebCoreSupport/GeolocationClientGtk.h:
171 * WebCoreSupport/InspectorClientGtk.h:
172 * WebCoreSupport/TextCheckerClientGtk.cpp:
173 * WebCoreSupport/TextCheckerClientGtk.h:
174 * webkit/webkitdownload.cpp:
175 * webkit/webkitfavicondatabase.cpp:
176 * webkit/webkitglobals.cpp:
177 * webkit/webkithittestresult.cpp:
178 * webkit/webkitnetworkrequest.cpp:
179 * webkit/webkitnetworkresponse.cpp:
180 * webkit/webkitspellcheckerenchant.cpp:
181 * webkit/webkitwebdatasourceprivate.h:
182 * webkit/webkitwebsettings.cpp:
183 * webkit/webkitwebsettingsprivate.h:
184 * webkit/webkitwebviewprivate.h:
186 2012-03-20 Gyuyoung Kim <gyuyoung.kim@samsung.com>
188 Convert hasSpellingMarker to use Internals interface.
189 https://bugs.webkit.org/show_bug.cgi?id=81300
191 Reviewed by Ryosuke Niwa.
193 Remove DumpRenderTreeSupportGtk::webkitWebFrameSelectionHasSpellingMarker support,
194 since it can support in the cross-port way through the Internals interface.
196 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
197 * WebCoreSupport/DumpRenderTreeSupportGtk.h:
198 (DumpRenderTreeSupportGtk):
200 2012-03-19 Adam Barth <abarth@webkit.org>
202 Remove support for "magic" iframe
203 https://bugs.webkit.org/show_bug.cgi?id=81590
205 Reviewed by Eric Seidel.
207 Remove FrameLoaderClient methods that no longer exist.
209 * WebCoreSupport/FrameLoaderClientGtk.cpp:
211 * WebCoreSupport/FrameLoaderClientGtk.h:
214 2012-03-19 Gustavo Noronha Silva <gns@gnome.org>
216 [GTK] libWebCore.la has become too big for make
217 https://bugs.webkit.org/show_bug.cgi?id=81582
219 Unreviewed build fix.
221 * GNUmakefile.am: link-in the new libDerivedWebCore.la
223 2012-03-16 Martin Robinson <mrobinson@igalia.com>
225 [GTK] Allow running run-gtk-tests during 'make dist'
226 https://bugs.webkit.org/show_bug.cgi?id=81415
228 Reviewed by Philippe Normand.
230 * GNUmakefile.am: Remove 'make check' rules from the makefile
231 Instead this functionality is now in the Tools makefile.
233 2012-03-16 Victor Lucero <victor.lucero@ipartner.cl>
235 [GTK] WebKitWebResource::load-failed uses the wrong marshaller
236 https://bugs.webkit.org/show_bug.cgi?id=81229
238 Reviewed by Philippe Normand.
240 * webkit/webkitwebresource.cpp:
241 (webkit_web_resource_class_init): load-failed signal in WebkitWebResource was using the wrong marshaller
243 2012-03-14 Landry Breuil <landry@openbsd.org>
245 WebKit/gtk/resources/error.html font-size error
246 https://bugs.webkit.org/show_bug.cgi?id=39232
248 Reviewed by Martin Robinson.
250 Fix font-size in the 404 error page. Apparently the % is filtered out,
251 so 120% becomes 120 and the error message is huge. Experienced in epiphany.
253 * resources/error.html: Double the % so it doesn't get filtered
255 2012-03-16 Carlos Garcia Campos <cgarcia@igalia.com> and Sergio Villar Senin <svillar@igalia.com>
257 [GTK] WebKitIconDatabase doesn't keep icons cached
258 https://bugs.webkit.org/show_bug.cgi?id=56200
260 Reviewed by Martin Robinson.
262 * GNUmakefile.am: Added new files to compilation.
263 * WebCoreSupport/FrameLoaderClientGtk.cpp:
264 (WebKit::FrameLoaderClient::registerForIconNotification): instruct
265 the WebView to listen to IconDatabase's notifications.
266 (WebKit::FrameLoaderClient::dispatchDidReceiveIcon): ask both
267 WebView and IconDatabase to issue notifications for a new icon.
268 * docs/webkitgtk-docs.sgml: updated docs.
269 * docs/webkitgtk-sections.txt: ditto.
270 * docs/webkitgtk.types: ditto.
271 * tests/testicondatabase.c: Added.
273 (deleteDatabaseFileIfExists):
274 (testWebkitIconDatabaseSetPath):
275 (iconDatabaseGetIconValidCallback):
276 (iconDatabaseGetIconInvalidCallback):
277 (iconDatabaseGetIconCancelledCallback):
278 (mainLoopQuitIfLoadCompleted):
279 (idleQuitLoopCallback):
280 (webkitWebViewIconLoaded):
282 (faviconDatabaseGetFaviconValidIdle):
283 (faviconDatabaseGetFaviconInvalidIdle):
284 (faviconDatabaseGetFaviconCancelledIdle):
285 (testWebKitFaviconDatabaseGetFavicon):
286 (testWebKitFaviconDatabaseGetFaviconURI):
287 (testWebKitFaviconDatabaseRemoveAll):
288 (testWebKitFaviconDatabaseCloseDatabase):
290 * webkit/webkit.h: added new API.
291 * webkit/webkitdefines.h: added WebKitFaviconDatabase.
292 * webkit/webkitfavicondatabase.cpp:
293 (IconDatabaseClientGtk): IconDatabaseClient implementation.
294 (IconDatabaseClientGtk::performImport):
295 (IconDatabaseClientGtk::didRemoveAllIcons):
296 (IconDatabaseClientGtk::didImportIconURLForPageURL):
297 (IconDatabaseClientGtk::didImportIconDataForPageURL):
298 (IconDatabaseClientGtk::didChangeIconForPageURL):
299 (IconDatabaseClientGtk::didFinishURLImport):
300 (PendingIconRequest): machinery for asynchronous calls.
301 (PendingIconRequest::PendingIconRequest):
302 (PendingIconRequest::~PendingIconRequest):
303 (PendingIconRequest::pageURI):
304 (PendingIconRequest::asyncResult):
305 (PendingIconRequest::asyncResultCancel):
306 (PendingIconRequest::asyncResultCompleteInIdle):
307 (PendingIconRequest::asyncResultComplete):
308 (_WebKitIconDatabasePrivate):
309 (webkit_favicon_database_dispose): GObject stuff.
310 (webkit_favicon_database_set_property): ditto.
311 (webkit_favicon_database_get_property): ditto.
312 (webkit_favicon_database_class_init): ditto.
313 (webkit_favicon_database_init): ditto.
314 (webkitFaviconDatabaseNotifyAndUpdateExpiration): notify about new
315 icons and update expiration times.
316 (webkitFaviconDatabaseDispatchDidReceiveIcon): "protected" method
317 called by the FrameLoaderClient to inform about new icons.
318 (webkit_favicon_database_get_path): retrieves database path.
319 (selectQueryCallback): releases expired icons to let IconDatabase
321 (webkitFaviconDatabasePruneExpiredIcons): selects the icons to be
322 pruned by the IconDatabase.
323 (webkitFaviconDatabaseClose): close the database.
324 (createExpirationTimesDatabaseTableIfNotExists): creates the
325 database used to control expiration times.
326 (webkit_favicon_database_set_path): opens the database delaying the
327 cleanup of icons until the import is complete.
328 (webkit_favicon_database_get_favicon_uri): returns the uri of the
330 (getIconPixbufSynchronously): helper function to call
331 IconDatabase::synchronousIconURLForPageURL().
332 (webkit_favicon_database_try_get_favicon_pixbuf): returns the
333 favicon if exists and is loaded from disk.
334 (webkitFaviconDatabaseGetOrCreateRequests): helper function to get
335 the vector of pending requests for the given uri.
336 (webkitfavicondatabaseDeleteRequests): helper function to remove the
337 vector of pending requests for the given uri.
338 (getIconPixbufCancelled):
339 (webkitFaviconDatabaseGetIconPixbufCancelled):
340 (webkit_favicon_database_get_favicon_pixbuf): asynchronously
341 retrieve icons from the database.
342 (webkit_favicon_database_get_favicon_pixbuf_finish): finishes an
343 operation started with webkit_icon_database_get_icon_pixbuf().
344 (webkitFaviconDatabaseProcessPendingIconsForURI): process pending
345 requests once the import is finished.
346 (webkitFaviconDatabaseImportFinished): check pending requests and
347 delete those that ask for icons that do not exist in the database.
348 (webkit_favicon_database_clear): clears the database.
349 * webkit/webkitfavicondatabase.h: added.
350 (_WebKitFaviconDatabase):
351 (_WebKitFaviconDatabaseClass):
352 * webkit/webkitfavicondatabaseprivate.h: Added.
353 * webkit/webkitglobals.cpp:
354 (webkit_get_favicon_database): retrieves the new
355 WebKitFaviconDatabase.
356 (webkitExit): unref icon database on exit.
357 * webkit/webkitglobals.h: added new API.
358 * webkit/webkiticondatabase.cpp: added deprecation documentation.
359 (webkit_icon_database_class_init):
360 * webkit/webkitwebview.cpp:
361 (webkit_web_view_try_get_icon_pixbuf): new API that uses the new
362 WebKitFaviconDatabase API.
363 (webkitWebViewIconLoaded): dispatch the icon-loaded signal when
364 requested by the FrameLoaderClient.
365 (webkitWebViewRegisterForIconNotification): starts/stops listening
366 to icon database notifications.
367 * webkit/webkitwebview.h: added new API.
368 * webkit/webkitwebviewprivate.h: added some protected methods.
370 2012-03-16 Zan Dobersek <zandobersek@gmail.com>
372 [Gtk] Add computedStyleIncludingVisitedInfo to DumpRenderTreeSupport
373 https://bugs.webkit.org/show_bug.cgi?id=81232
375 Reviewed by Philippe Normand.
377 Add computedStyleIncludingVisitedInfo helper method to
378 DumpRenderTreeSupportGtk.
380 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
381 (DumpRenderTreeSupportGtk::computedStyleIncludingVisitedInfo):
382 * WebCoreSupport/DumpRenderTreeSupportGtk.h:
383 (DumpRenderTreeSupportGtk):
385 2012-03-16 Zan Dobersek <zandobersek@gmail.com>
387 [Gtk] Properly set forms tests-specific settings
388 https://bugs.webkit.org/show_bug.cgi?id=81237
390 Reviewed by Philippe Normand.
392 Call Settings::setInteractiveFormValidationEnabled and
393 Settings::setValidationMessageTimerMagnification with
394 proper values when in testing mode.
396 * webkit/webkitwebview.cpp:
397 (webkit_web_view_init):
399 2012-03-15 Carlos Garcia Campos <cgarcia@igalia.com>
401 [GTK] Implement unicode submenu items
402 https://bugs.webkit.org/show_bug.cgi?id=81117
404 Reviewed by Martin Robinson.
406 * WebCoreSupport/ContextMenuClientGtk.cpp:
407 (WebKit::getUnicodeMenuItemPosition): Helper function to get the
408 position of the unicode menu item in the default context menu.
409 (WebKit::ContextMenuClient::getCustomMenuFromDefaultItems): Remove
410 code to build the unicode menu, since it's now built by WebCore.
411 * WebCoreSupport/EditorClientGtk.cpp:
412 (WebKit::EditorClient::shouldShowUnicodeMenu): Check whether
413 unicode menu should be shown based on gtk-show-unicode-menu GtkSetting.
414 * WebCoreSupport/EditorClientGtk.h:
416 2012-03-13 Adam Barth <abarth@webkit.org> && Benjamin Poulain <bpoulain@apple.com>
418 Always enable ENABLE(CLIENT_BASED_GEOLOCATION)
419 https://bugs.webkit.org/show_bug.cgi?id=78853
421 Reviewed by Adam Barth.
423 * WebCoreSupport/ChromeClientGtk.cpp:
425 * WebCoreSupport/ChromeClientGtk.h:
426 (WebKit::ChromeClient::scrollRectIntoView):
427 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
428 (DumpRenderTreeSupportGtk::resetGeolocationClientMock):
429 (DumpRenderTreeSupportGtk::setMockGeolocationPermission):
430 (DumpRenderTreeSupportGtk::setMockGeolocationPosition):
431 (DumpRenderTreeSupportGtk::setMockGeolocationError):
432 (DumpRenderTreeSupportGtk::numberOfPendingGeolocationPermissionRequests):
433 * WebCoreSupport/GeolocationClientGtk.cpp:
434 (WebKit::GeolocationClient::requestPermission):
435 (WebKit::GeolocationClient::cancelPermissionRequest):
436 * WebCoreSupport/GeolocationClientGtk.h:
438 * webkit/webkitwebview.cpp:
439 (webkit_web_view_init):
441 2012-03-12 Antonio Gomes <agomes@rim.com>
443 Convert nodesFromRect tests to use Internals interface
444 https://bugs.webkit.org/show_bug.cgi?id=80886
446 Reviewed by Ryosuke Niwa.
448 Removed DRTSupportGtk::nodesFromRect support, since
449 it can work in the cross-port way through the
452 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
453 * WebCoreSupport/DumpRenderTreeSupportGtk.h:
454 (DumpRenderTreeSupportGtk):
456 2012-03-07 Kangil Han <kangil.han@samsung.com>
458 [DRT] Remove PlainTextController implementations.
459 https://bugs.webkit.org/show_bug.cgi?id=79959
461 Reviewed by Hajime Morita.
463 PlainTextController usages in existing tests have been
464 replaced by internals API by bug 78570.
465 So this patch will remove PlainTextController implementations
466 to avoid further usage in new tests.
468 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
469 * WebCoreSupport/DumpRenderTreeSupportGtk.h:
470 (DumpRenderTreeSupportGtk):
472 2012-03-06 Martin Robinson <mrobinson@igalia.com>
474 Fix a compilation warning encountered during the GTK+ build.
476 Reviewed by Gustavo Noronha Silva.
478 * tests/testcopyandpaste.c:
479 (test_copy_and_paste): Cast the WebKitWebView to a GtkWidget.
481 2012-03-06 Philippe Normand <pnormand@igalia.com>
483 [GTK] FrameLoader signals: gtk-doc fixes
484 https://bugs.webkit.org/show_bug.cgi?id=79495
486 Reviewed by Martin Robinson.
488 * webkit/webkitwebframe.cpp:
489 (webkit_web_frame_class_init):
490 * webkit/webkitwebresource.cpp:
491 (webkit_web_resource_class_init):
492 * webkit/webkitwebview.cpp:
493 (webkit_web_view_class_init):
495 2012-01-26 Philippe Normand <pnormand@igalia.com>
497 [GStreamer] disable GStreamerGWorld when building against 0.11
498 https://bugs.webkit.org/show_bug.cgi?id=77088
500 Disable the FullscreenVideoController if we build against
501 GStreamer 0.11. This code depends on GStreamerGWorld which wasn't
502 ported to 0.11 because it will soon be removed anyway.
504 Reviewed by Martin Robinson.
506 * WebCoreSupport/FullscreenVideoController.cpp:
507 * WebCoreSupport/FullscreenVideoController.h:
508 * webkit/webkitwebview.cpp:
509 (webViewEnterFullscreen):
510 (webViewExitFullscreen):
511 * webkit/webkitwebviewprivate.h:
512 (_WebKitWebViewPrivate):
514 2012-03-05 Zan Dobersek <zandobersek@gmail.com>
516 [GTK] plugins/netscape-plugin-page-cache-works.html fails
517 https://bugs.webkit.org/show_bug.cgi?id=74409
519 Reviewed by Martin Robinson.
521 Add a method to override page-cache-for-plugins preference.
523 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
524 (DumpRenderTreeSupportGtk::setPageCacheSupportsPlugins):
525 * WebCoreSupport/DumpRenderTreeSupportGtk.h:
526 (DumpRenderTreeSupportGtk):
528 2012-03-04 Martin Robinson <mrobinson@igalia.com>
530 [GTK] "Console: undefined @0: ReferenceError: Can't find variable: WebInspector" during testwebinspector
531 https://bugs.webkit.org/show_bug.cgi?id=80235
533 Reviewed by Philippe Normand.
535 Wait to inspect the WebView until the page has finished loading. Also
536 clean up some minor style errors.
538 * tests/testwebinspector.c:
539 (closeInspector): Small style fixes.
540 (showInspector): Ditto.
541 (loadFinished): Ditto.
542 (test_webkit_web_inspector_close_and_inspect): Wait to inspect until the page has loaded.
543 (test_webkit_web_inspector_destroy_inspected_web_view): Ditto.
544 (main): Small style fixes.
546 2012-03-04 Martin Robinson <mrobinson@igalia.com>
548 [GTK] REGRESSION: r108278 broke some tests that expect focus
549 https://bugs.webkit.org/show_bug.cgi?id=79084
551 Reviewed by Philippe Normand.
553 Grab focus before running the test. This ensures that if the
554 WebView lost focus, it has it before sending events.
556 * tests/testcopyandpaste.c:
557 (test_copy_and_paste): Grab focus.
559 2012-02-18 Martin Robinson <mrobinson@igalia.com>
561 [GTK] [AC] Generalize WindowContextGL
562 https://bugs.webkit.org/show_bug.cgi?id=78969
564 Reviewed by Gustavo Noronha Silva.
566 Use GLContext instead of WindowContextGL. Remove a few unnecessary
567 namespace specifiers in the implementation of AcceleratedCompositingContext.
569 * WebCoreSupport/AcceleratedCompositingContext.h: Now we find the GLContext
570 of our widget, which is cached in WebCore. Remove m_initialized as it isn't needed.
571 (AcceleratedCompositingContext):
572 * WebCoreSupport/AcceleratedCompositingContextGL.cpp:
573 (WebKit::AcceleratedCompositingContext::AcceleratedCompositingContext): No longer initialize
575 (WebKit::AcceleratedCompositingContext::glContext): Added.
576 (WebKit::AcceleratedCompositingContext::renderLayersToWindow): Use glContext() now.
577 (WebKit::AcceleratedCompositingContext::attachRootGraphicsLayer): Ditto.
578 (WebKit::AcceleratedCompositingContext::notifyAnimationStarted): Remove unnecessary namespace specifier.
579 (WebKit::AcceleratedCompositingContext::notifySyncRequired): Ditto.
580 (WebKit::AcceleratedCompositingContext::paintContents): Ditto.
581 (WebKit::AcceleratedCompositingContext::showDebugBorders): Ditto.
582 (WebKit::AcceleratedCompositingContext::showRepaintCounter): Ditto.
584 2012-03-02 Zan Dobersek <zandobersek@gmail.com>
586 [GTK] Smooth scrolling support
587 https://bugs.webkit.org/show_bug.cgi?id=16123
589 Reviewed by Martin Robinson.
591 Add a new settings option to enable smooth scrolling.
593 * webkit/webkitwebsettings.cpp:
594 (webkit_web_settings_class_init):
595 (webkit_web_settings_set_property):
596 (webkit_web_settings_get_property):
597 * webkit/webkitwebsettingsprivate.h:
598 * webkit/webkitwebview.cpp:
599 (webkit_web_view_update_settings):
600 (webkit_web_view_settings_notify):
602 2012-03-01 Carlos Garcia Campos <cgarcia@igalia.com>
604 [GTK] Simplify the code to adjust font sizes depending on screen DPI
605 https://bugs.webkit.org/show_bug.cgi?id=80032
607 Reviewed by Martin Robinson.
609 * webkit/webkitwebview.cpp:
610 (screenDPI): Helper function to get the DPI of a given
611 GdkScreen. Added also fallback code when gdk_screen_resolution
613 (webViewGetDPI): Use screenDPI() from WebCore.
614 (webViewConvertFontSizeToPixels): This is the existing
615 pixelsFromSize(), renamed and moved to be used also in
616 webkit_web_view_screen_changed().
617 (webkit_web_view_screen_changed): Use
618 webViewConvertFontSizeToPixels() instead of duplicating the code.
619 (webkit_web_view_settings_notify): Use
620 webViewConvertFontSizeToPixels() instead of pixelsFromSize().
622 2012-02-27 Vincent Untz <vuntz@gnome.org>> and Gustavo Noronha Silva <gns@gnome.org>
624 Build fix for building with GTK+ 2.x.
626 * tests/testwebview.c:
628 2012-02-26 Hajime Morrita <morrita@chromium.org>
630 Move ChromeClient::showContextMenu() to ContextMenuClient
631 https://bugs.webkit.org/show_bug.cgi?id=79427
633 Reviewed by Adam Barth.
635 * WebCoreSupport/ChromeClientGtk.h:
638 2012-02-24 Shinya Kawanaka <shinyak@chromium.org>
640 SpellCheckRequest needs to know the context where the spellcheck happened.
641 https://bugs.webkit.org/show_bug.cgi?id=79320
643 Reviewed by Hajime Morita.
645 * WebCoreSupport/TextCheckerClientGtk.h:
646 (WebKit::TextCheckerClientGtk::requestCheckingOfString):
648 2012-02-23 ChangSeok Oh <shivamidow@gmail.com>
650 [GTK] DRT doesn't support scheduleAsynchronousKeyDown.
651 https://bugs.webkit.org/show_bug.cgi?id=78481
653 Reviewed by Gustavo Noronha Silva.
655 Added a new API to deliver all mutations explicitly.
657 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
658 (DumpRenderTreeSupportGtk::deliverAllMutationsIfNecessary):
659 * WebCoreSupport/DumpRenderTreeSupportGtk.h:
660 (DumpRenderTreeSupportGtk):
662 2012-02-23 Philippe Normand <pnormand@igalia.com>
664 [GTK] FullScreen signals
665 https://bugs.webkit.org/show_bug.cgi?id=76181
667 Reviewed by Martin Robinson.
669 Added entering-fullscreen and leaving-fullscreen signals, meant to
670 be used by the user agent to be notified when an element requests
671 full screen display and when the full screen display is to be
674 * WebCoreSupport/ChromeClientGtk.cpp:
675 (WebKit::ChromeClient::supportsFullScreenForElement):
676 (WebKit::onFullscreenGtkKeyPressEvent):
677 (WebKit::ChromeClient::cancelFullScreen):
678 (WebKit::ChromeClient::enterFullScreenForElement):
679 (WebKit::ChromeClient::exitFullScreenForElement):
680 * WebCoreSupport/ChromeClientGtk.h:
681 * tests/testwebview.c:
682 * webkit/webkitwebview.cpp:
683 (webkit_web_view_real_entering_fullscreen):
684 (webkit_web_view_real_leaving_fullscreen):
685 (webkit_web_view_class_init):
686 * webkit/webkitwebview.h:
688 2012-02-21 Ryosuke Niwa <rniwa@webkit.org>
690 Remove the remaining uses of CSSStyleDeclaration in Editor
691 https://bugs.webkit.org/show_bug.cgi?id=78939
693 Reviewed by Enrica Casucci.
695 * WebCoreSupport/EditorClientGtk.cpp:
696 (WebKit::EditorClient::shouldApplyStyle):
697 * WebCoreSupport/EditorClientGtk.h:
700 2012-02-22 Philippe Normand <pnormand@igalia.com>
702 Unreviewed, rolling out r108522.
703 http://trac.webkit.org/changeset/108522
704 https://bugs.webkit.org/show_bug.cgi?id=76181
706 Broke 4 fullscreen tests on GTK.
708 * WebCoreSupport/ChromeClientGtk.cpp:
709 (WebKit::ChromeClient::supportsFullScreenForElement):
710 (WebKit::ChromeClient::enterFullScreenForElement):
711 (WebKit::ChromeClient::exitFullScreenForElement):
712 * WebCoreSupport/ChromeClientGtk.h:
714 * tests/testwebview.c:
715 * webkit/webkitwebview.cpp:
716 (webkit_web_view_class_init):
717 * webkit/webkitwebview.h:
718 (_WebKitWebViewClass):
720 2012-02-20 Philippe Normand <pnormand@igalia.com>
722 [GTK] FullScreen signals
723 https://bugs.webkit.org/show_bug.cgi?id=76181
725 Reviewed by Martin Robinson.
727 Added entering-fullscreen and leaving-fullscreen signals, meant to
728 be used by the user agent to be notified when an element requests
729 full screen display and when the full screen display is to be
732 * WebCoreSupport/ChromeClientGtk.cpp:
733 (WebKit::ChromeClient::supportsFullScreenForElement):
734 (WebKit::onFullscreenGtkKeyPressEvent):
735 (WebKit::ChromeClient::cancelFullScreen):
736 (WebKit::ChromeClient::enterFullScreenForElement):
737 (WebKit::ChromeClient::exitFullScreenForElement):
738 * WebCoreSupport/ChromeClientGtk.h:
739 * tests/testwebview.c:
740 * webkit/webkitwebview.cpp:
741 (webkit_web_view_real_entering_fullscreen):
742 (webkit_web_view_real_leaving_fullscreen):
743 (webkit_web_view_class_init):
744 * webkit/webkitwebview.h:
746 2012-02-22 Ryosuke Niwa <rniwa@webkit.org>
748 Remove the remaining uses of CSSStyleDeclaration in Editor
749 https://bugs.webkit.org/show_bug.cgi?id=78939
751 Reviewed by Enrica Casucci.
753 * WebCoreSupport/EditorClientGtk.cpp:
754 (WebKit::EditorClient::shouldApplyStyle):
755 * WebCoreSupport/EditorClientGtk.h:
758 2012-02-22 Carlos Garcia Campos <cgarcia@igalia.com>
760 Unreviewed, rolling out r107351.
761 http://trac.webkit.org/changeset/107351
762 https://bugs.webkit.org/show_bug.cgi?id=53600
764 Several issues introduced in WebKitGTK+ API
766 * WebCoreSupport/ChromeClientGtk.cpp:
767 (WebKit::ChromeClient::ChromeClient):
768 (WebKit::ChromeClient::chromeDestroyed):
769 (WebKit::ChromeClient::canRunModal):
770 (WebKit::ChromeClient::runModal):
771 * WebCoreSupport/ChromeClientGtk.h:
773 * webkit/webkitwebview.cpp:
774 (webkit_web_view_class_init):
776 2012-02-21 Philippe Normand <pnormand@igalia.com>
778 Fix one more GTK+ unit test after r108278.
780 Reviewed by Alejandro G. Castro.
782 * tests/testkeyevents.c:
783 (map_event_cb): No longer grab focus here.
784 (setup_keyevent_test): Grabbing focus here seems to be late enough in the process.
786 2012-02-20 Martin Robinson <mrobinson@igalia.com>
788 Fix GTK+ unit tests after r108281.
790 Reviewed by Alejandro G. Castro.
792 * tests/testwebplugindatabase.c:
793 (test_webkit_web_plugin_database_get_plugins): Update the description used
796 2012-02-20 Martin Robinson <mrobinson@igalia.com>
798 Fix GTK+ unit tests after r108278.
800 Reviewed by Alejandro G. Castro.
802 Now that WebCore is no longer stealing focus, we need to
803 adjust where we grab focus to ensure that it actually succeeds.
805 * tests/testcopyandpaste.c:
806 (map_event_cb): No longer grab focus here.
807 (runPasteTestCallback): Grabbing focus here seems to be late enough in the process.
809 2012-02-20 Martin Robinson <mrobinson@igalia.com>
811 [GTK] Web content oftens steals focus from other widgets
812 https://bugs.webkit.org/show_bug.cgi?id=77791
814 Reviewed by Gustavo Noronha Silva.
816 * tests/testwebview.c: Added a WebKit1 test to verify this behavior.
818 2012-02-20 Gustavo Noronha Silva <gns@gnome.org>
820 [GTK] Needs to claim being a more up-to-date Chrome
821 https://bugs.webkit.org/show_bug.cgi?id=79044
823 Reviewed by Martin Robinson.
825 * webkit/webkitwebsettings.cpp:
826 (chromeUserAgent): update the version of Chrome we claim to be
827 to avoid warnings from sites such as Wordpress saying that our
830 2012-02-19 Paweł Forysiuk <tuxator@o2.pl>
831 [GTK] Can't find webinspector and error page redirection on Windows
832 https://bugs.webkit.org/show_bug.cgi?id=51616
834 Use an abstraction for finding shared resources on Windows.
836 Reviewed by Martin Robinson.
838 * WebCoreSupport/FrameLoaderClientGtk.cpp:
839 (WebKit::FrameLoaderClient::dispatchDidFailLoad):
840 * WebCoreSupport/InspectorClientGtk.cpp:
841 (WebKit::InspectorClient::inspectorFilesPath):
843 2012-02-19 Gustavo Noronha Silva <gns@gnome.org>
845 Unreviewed. Remove gsettings schema from EXTRA_DIST.
849 2012-02-19 Gustavo Noronha Silva <gns@gnome.org>
851 [GTK] Remove unused GSettings stuff
852 https://bugs.webkit.org/show_bug.cgi?id=78995
854 Reviewed by Martin Robinson.
856 * GNUmakefile.am: remove GSettings-related stuff.
857 * WebCoreSupport/InspectorClientGtk.cpp:
858 (WebKit): Remove unused code.
859 * org.webkitgtk.gschema.xml.in: Removed.
860 * webkit/webkitwebinspector.cpp:
861 (webkit_web_inspector_execute_script): remove gsettings-related helper.
862 * webkit/webkitwebinspectorprivate.h: Ditto.
864 2012-02-17 Gyuyoung Kim <gyuyoung.kim@samsung.com>
866 [GTK] change the way of registering DeviceOrientation clients.
867 https://bugs.webkit.org/show_bug.cgi?id=78680
869 Reviewed by Gustavo Noronha Silva.
871 Bug 78085 removed deviceOrientationClient and deviceMotionClient from PageClients. Instead,
872 DeviceOrientationClient and DeviceMotionClient should be registered by PageSupplement class.
873 Chromium, mac and qt ports are already changed by Bug 78085.
875 * webkit/webkitwebview.cpp:
876 (webkit_web_view_init):
878 2012-02-16 Martin Robinson <mrobinson@igalia.com>
880 [GTK] [AC] Events can starve accelerated compositing updates
881 https://bugs.webkit.org/show_bug.cgi?id=78826
883 Reviewed by Gustavo Noronha Silva.
885 Instead of using a WebCore timer, which can be starved by GdkEvents,
886 use a raw GLib timer with GDK_PRIORITY_EVENTS to drive AC updates.
887 This prevents dragging from blocking rendering.
889 * WebCoreSupport/AcceleratedCompositingContext.h:
890 (AcceleratedCompositingContext): Store a GLib source tag instead of a WebCore timer.
891 * WebCoreSupport/AcceleratedCompositingContextClutter.cpp:
892 (WebKit::AcceleratedCompositingContext::AcceleratedCompositingContext):
893 (WebKit::AcceleratedCompositingContext::AcceleratedCompositingContext):
894 Remove the timer upon destruction.
895 (WebKit::syncLayersTimeoutCallback): Added this callback for the GLib timer.
896 (WebKit::AcceleratedCompositingContext::markForSync): Use a GLib timer.
897 (WebKit::AcceleratedCompositingContext::syncLayersTimeout): Ditto.
898 * WebCoreSupport/AcceleratedCompositingContextGL.cpp:
899 (WebKit::AcceleratedCompositingContext::AcceleratedCompositingContext):
900 (WebKit::AcceleratedCompositingContext::~AcceleratedCompositingContext):
901 Remove the timer upon destruction.
902 (WebKit::syncLayersTimeoutCallback): Added this callback for the GLib timer.
903 (WebKit::AcceleratedCompositingContext::markForSync): Use a GLib timer.
904 (WebKit::AcceleratedCompositingContext::syncLayersTimeout): Ditto.
906 2012-02-16 Adam Barth <abarth@webkit.org>
908 Attempt to fix the GTK build.
910 * WebCoreSupport/GeolocationClientGtk.cpp:
911 (WebKit::GeolocationClient::requestPermission):
912 (WebKit::GeolocationClient::cancelPermissionRequest):
914 2012-02-16 Sergio Villar Senin <svillar@igalia.com>
916 [soup] Move important SoupSession feature initialization to WebCore
917 https://bugs.webkit.org/show_bug.cgi?id=68602
919 Reviewed by Martin Robinson.
921 Moved content sniffer and decoder initialization from WebKit to
922 WebCore because network stuff will not work as expected without
925 No new tests required as we're just moving stuff from WebKit to
928 * webkit/webkitglobals.cpp:
931 2012-02-16 Philippe Normand <pnormand@igalia.com>
933 Unreviewed, rolling out r107941.
934 http://trac.webkit.org/changeset/107941
935 https://bugs.webkit.org/show_bug.cgi?id=68602
937 Broke 23 http tests on GTK
939 * webkit/webkitglobals.cpp:
942 2012-02-16 Sergio Villar Senin <svillar@igalia.com>
944 [soup] Move important SoupSession feature initialization to WebCore
945 https://bugs.webkit.org/show_bug.cgi?id=68602
947 Reviewed by Martin Robinson.
949 Moved content sniffer and decoder initialization from WebKit to
950 WebCore because network stuff will not work as expected without
953 No new tests required as we're just moving stuff from WebKit to
956 * webkit/webkitglobals.cpp:
959 2012-01-31 Raphael Kubo da Costa <kubo@profusion.mobi>
961 [soup] Add support for multiple SoupSessions.
962 https://bugs.webkit.org/show_bug.cgi?id=77341
964 Reviewed by Gustavo Noronha Silva.
966 Adapt to the changes to FrameNetworkingContext in WebCore.
969 * WebCoreSupport/FrameNetworkingContextGtk.cpp: Copied from Source/WebKit/gtk/WebCoreSupport/FrameNetworkingContextGtk.h.
971 (WebKit::FrameNetworkingContextGtk::soupSession): Always return ResourceHandle::defaultSession().
972 * WebCoreSupport/FrameNetworkingContextGtk.h:
973 (FrameNetworkingContextGtk):
975 2012-02-15 Sadrul Habib Chowdhury <sadrul@chromium.org>
977 Notify ChromeClient when touch-event handlers are installed/removed.
978 https://bugs.webkit.org/show_bug.cgi?id=77440
980 Reviewed by Darin Fisher and Ryosuke Niwa.
982 * WebCoreSupport/ChromeClientGtk.h:
983 (WebKit::ChromeClient::numTouchEventHandlersChanged):
985 2012-02-15 No'am Rosenthal <noam.rosenthal@nokia.com>
987 [Texmap] Divide TextureMapperNode.cpp to 3 files.
988 https://bugs.webkit.org/show_bug.cgi?id=76660
990 Rename TextureMapperNode to TextureMapperLayer.
992 Reviewed by Kenneth Rohde Christiansen.
994 * WebCoreSupport/AcceleratedCompositingContext.h:
995 (AcceleratedCompositingContext):
996 * WebCoreSupport/AcceleratedCompositingContextGL.cpp:
997 (WebKit::AcceleratedCompositingContext::AcceleratedCompositingContext):
998 (WebKit::AcceleratedCompositingContext::enabled):
999 (WebKit::AcceleratedCompositingContext::renderLayersToWindow):
1000 (WebKit::AcceleratedCompositingContext::attachRootGraphicsLayer):
1001 (WebKit::AcceleratedCompositingContext::syncLayersTimeout):
1003 2012-02-11 Nikolas Zimmermann <nzimmermann@rim.com>
1005 Convert svg/animations to use SMIL methods for driving the timeline
1006 https://bugs.webkit.org/show_bug.cgi?id=78422
1008 Reviewed by Dirk Schulze.
1010 Remove SVG animation sampling functionality provided for DRT, which no longer uses it.
1011 Instead we switched the svg/animations tests to use SVGSVGElement.setCurrentTime.
1013 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
1014 * WebCoreSupport/DumpRenderTreeSupportGtk.h:
1015 (DumpRenderTreeSupportGtk):
1017 2012-02-13 Mario Sanchez Prada <msanchez@igalia.com>
1019 [GTK] Add GSList to the list of GObject types in GOwnPtr
1020 https://bugs.webkit.org/show_bug.cgi?id=78487
1022 Reviewed by Philippe Normand.
1024 * WebCoreSupport/ChromeClientGtk.cpp:
1025 (WebKit::ChromeClient::runOpenPanel): Use GOwnPtr<GSList> for the
1026 list of filenames returned by gtk_file_chooser_get_filenames().
1028 2012-02-09 Zan Dobersek <zandobersek@gmail.com>
1030 [GTK] Add DRT support for modal dialogs
1031 https://bugs.webkit.org/show_bug.cgi?id=53600
1033 Reviewed by Martin Robinson.
1035 Add support for running modal dialogs.
1037 A new signal is added to the WebKitWebView. When emitted, the web view
1038 is requesting to be displayed as a modal dialog. If accepted, the
1039 ChromeClient then establishes a loop that is run until the chrome is destroyed.
1040 If denied, nothing is done.
1042 * WebCoreSupport/ChromeClientGtk.cpp:
1043 (WebKit::ChromeClient::ChromeClient):
1044 (WebKit::ChromeClient::chromeDestroyed):
1045 (WebKit::ChromeClient::canRunModal):
1046 (WebKit::ChromeClient::runModal):
1047 * WebCoreSupport/ChromeClientGtk.h:
1049 * webkit/webkitwebview.cpp:
1050 (webkit_web_view_class_init):
1052 2012-02-09 Zan Dobersek <zandobersek@gmail.com>
1054 [Gtk] security/set-form-autocomplete-attribute.html fails
1055 https://bugs.webkit.org/show_bug.cgi?id=78261
1057 Reviewed by Martin Robinson.
1059 Add a helper function to DumpRenderTreeSupportGtk, returning
1060 whether or not an element does perform autocompletion.
1062 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
1063 (DumpRenderTreeSupportGtk::elementDoesAutoCompleteForElementWithId):
1064 * WebCoreSupport/DumpRenderTreeSupportGtk.h:
1065 (DumpRenderTreeSupportGtk):
1067 2012-02-09 Martin Robinson <mrobinson@igalia.com>
1069 Build fix for GTK+ 2.x after my previous commit.
1071 * webkit/webkitwebview.cpp:
1072 (webkit_web_view_expose_event): The name of the event is expose_event and not expose.
1074 2012-02-08 Dan Vrátil <dvratil@redhat.com>, Milan Crha <mcrha@redhat.com>
1076 [GTK] Embedded GtkWidgets are not drawn
1077 https://bugs.webkit.org/show_bug.cgi?id=63451
1079 Insert plugin widgets to WebKitWebView container as it's children.
1080 Chain up to parent in webkit_web_view_draw() to ensure the child widgets are drawn.
1082 Reviewed by Martin Robinson.
1084 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1085 (WebKit::FrameLoaderClient::createPlugin):
1086 * webkit/webkitwebview.cpp:
1087 (webkit_web_view_draw):
1089 2012-02-08 Mario Sanchez Prada <msanchez@igalia.com>
1091 [Gtk] atk_text_get_text_at_offset() fails to provide the correct line for list items whose text wraps
1092 https://bugs.webkit.org/show_bug.cgi?id=73431
1094 Reviewed by Chris Fleizach.
1096 Updated unit test to check text wrapping accross different lines
1097 inside list items with bullet markers.
1100 (testWebkitAtkGetTextAtOffsetWithSpecialCharacters): Updated test.
1102 2012-02-06 Martin Robinson <mrobinson@igalia.com> and Nayan Kumar K <nayankk@motorola.com>
1104 [GTK] Add TextureMapperGL implementation
1105 https://bugs.webkit.org/show_bug.cgi?id=75308
1107 Reviewed by Alejandro G. Castro.
1109 * GNUmakefile.am: Add AcceleratedCompositingContextGL to the list.
1110 * WebCoreSupport/AcceleratedCompositingContext.h:
1111 (AcceleratedCompositingContext): Added some members for AcceleratedCompositingContextGL.
1112 * WebCoreSupport/AcceleratedCompositingContextClutter.cpp: Added empty implementations
1113 for GraphicsLayerClient. This is only used for the GL variant.
1114 * WebCoreSupport/AcceleratedCompositingContextGL.cpp: Added.
1115 * WebCoreSupport/ChromeClientGtk.cpp:
1116 (WebKit::ChromeClient::performAllPendingScrolls): Update the root layer while scrolling.
1117 (WebKit::ChromeClient::paint): Update the root layer after painting.
1118 * webkit/webkitwebsettings.cpp: Added an enable-accelerated-compositing setting.
1119 * webkit/webkitwebsettingsprivate.h: Ditto.
1120 * webkit/webkitwebview.cpp:
1121 (webkit_web_view_draw): Call into TextureMapper now.
1122 (webkit_web_view_realize): Use gdk_window_ensure_native here.
1123 (webkit_web_view_update_settings): Support the new enable-accelerated-compositing setting.
1124 (webkit_web_view_settings_notify): Ditto.
1126 2012-02-06 Gustavo Noronha Silva <gns@gnome.org>
1128 Do not try to chdir to the directory where the executable is in
1129 only if the path is absolute. This makes tests runnable from
1132 Reviewed by Martin Robinson.
1134 * tests/test_utils.c:
1135 (testutils_relative_chdir):
1137 2012-02-06 Gustavo Noronha Silva <gns@gnome.org>
1139 Unreviewed fix for the new API test that is failing -
1140 WEBKIT_INSPECTOR_PATH needs to be set, since we do not install our
1143 * tests/testwebinspector.c:
1146 2012-02-05 Gustavo Noronha Silva <gns@gnome.org>
1148 [GTK] Insta-crash when closing browser with inspector window opened
1149 https://bugs.webkit.org/show_bug.cgi?id=50744
1151 Reviewed by Martin Robinson.
1154 * WebCoreSupport/InspectorClientGtk.cpp:
1155 (WebKit::InspectorClient::releaseFrontendPage): also let go of the
1156 frontend client when releasing the frontend page;
1157 (WebKit::InspectorFrontendClient::~InspectorFrontendClient(): Call releaseFrontendPage()
1158 like other ports do instead of just disconnectFrontendClient().
1159 (WebKit::InspectorFrontendClient::destroyInspectorWindow): Use GRefPtr for the
1161 (WebKit::InspectorFrontendClient::bringToFront): Adjust for GRefPtr usage.
1162 (WebKit::InspectorFrontendClient::attachWindow): Ditto.
1163 (WebKit::InspectorFrontendClient::detachWindow): Ditto.
1164 (WebKit::InspectorFrontendClient::inspectedURLChanged): Ditto.
1165 * WebCoreSupport/InspectorClientGtk.h:
1166 (InspectorFrontendClient): Use GRefPtr for inspector member.
1167 * tests/testwebinspector.c: Added. Test that killing a WebView with the inspector
1168 open does not crash, and that closing and reinspecting works.
1170 (consoleMessageCallback):
1171 (inspectElementCallback):
1174 (test_webkit_web_inspector_close_and_inspect):
1175 (test_webkit_web_inspector_destroy_inspected_web_view):
1178 2012-02-06 Gustavo Noronha Silva <gns@gnome.org>
1180 Add a null check for the gdkwindow, that will happen if the window
1183 Reviewed by Martin Robinson.
1185 * WebCoreSupport/ChromeClientGtk.cpp:
1186 (WebKit::ChromeClient::setCursor):
1188 2012-02-06 Martin Robinson <mrobinson@igalia.com>
1190 [GTK] WebKitWebView does a lot of work during size_allocate when not mapped
1191 https://bugs.webkit.org/show_bug.cgi?id=77743
1193 Reviewed by Gustavo Noronha Silva.
1195 Instead of resizing the guts of a WebView when it's not mapped, wait
1196 until it's mapped and do one resize. This prevents unmapped WebViews
1197 from adding to a container's resize cost.
1199 * webkit/webkitwebview.cpp:
1200 (resizeWebViewFromAllocation): Abstracted out this helper.
1201 (webkit_web_view_size_allocate): Wait until map to resize umapped widgets.
1202 (webkitWebViewMap): Added this vmethod implementation.
1203 (webkit_web_view_class_init): Added vmethod.
1204 * webkit/webkitwebviewprivate.h: Added new needsResizeOnMap member.
1206 2012-02-06 Carlos Garcia Campos <cgarcia@igalia.com>
1208 [GTK] Update NEWS and configure.ac for 1.7.5 release
1209 https://bugs.webkit.org/show_bug.cgi?id=77859
1211 Reviewed by Philippe Normand.
1213 * NEWS: Added release notes for 1.7.5.
1215 2012-02-06 Carlos Garcia Campos <cgarcia@igalia.com>
1217 [GTK] Fix several gtkdoc-fixxref warnings
1218 https://bugs.webkit.org/show_bug.cgi?id=77613
1220 Reviewed by Martin Robinson.
1222 * docs/webkitgtk-docs.sgml: Remove webkitspellcheckerenchant
1224 * docs/webkitgtk-sections.txt: Remove webkitspellcheckerenchant
1225 symbols and move WebKitWebNavigationReason from the private
1226 section to the global section.
1227 * webkit/webkitwebnavigationaction.h: Document
1228 WebKitWebNavigationReason enum.
1230 2012-02-02 Kalev Lember <kalevlember@gmail.com>
1232 [GTK] Don't use uint
1233 https://bugs.webkit.org/show_bug.cgi?id=77678
1235 Reviewed by Martin Robinson.
1237 With the MingGW cross compiler toolchain in Fedora, uint wasn't
1238 defined, so use unsigned int instead.
1240 * WebCoreSupport/ChromeClientGtk.h:
1241 (ChromeClient): Use unsigned int instead of uint
1243 2012-02-02 Claudio Saavedra <csaavedra@igalia.com> and Martin Robinson <mrobinson@igalia.com>
1245 [GTK] WebKitWebView won't work in a GtkOffscreenWindow
1246 https://bugs.webkit.org/show_bug.cgi?id=76911
1248 Reviewed by Philippe Normand.
1250 * WebCoreSupport/ChromeClientGtk.cpp:
1251 (WebKit::ChromeClient::windowRect): Use the new widgetIsOnscreenToplevelWindow helper.
1252 (WebKit::ChromeClient::setWindowRect): Ditto.
1253 (WebKit::ChromeClient::unfocus): Ditto.
1254 (WebKit::ChromeClient::runOpenPanel): Ditto.
1255 * tests/testwebview.c: Added a test to ensure that loading a page in an offscreen window does not crash.
1256 * webkit/webkitglobals.cpp:
1257 (currentToplevelCallback):
1258 * webkit/webkitwebframe.cpp:
1259 (webkit_web_frame_print_full):
1260 (webkit_web_frame_print):
1261 * webkit/webkitwebview.cpp:
1262 (webkit_web_view_focus_in_event):
1263 (webkit_web_view_script_dialog):
1265 2012-02-02 Mario Sanchez Prada <msanchez@igalia.com>
1267 [Gtk] atk_text_get_text_at_offset() sometimes fails to provide the correct line
1268 https://bugs.webkit.org/show_bug.cgi?id=72382
1270 Reviewed by Martin Robinson.
1272 New unit test to ensure the right line is retrieved for the first
1273 position of each line in a multiline preformatted portion of text.
1276 (testWebkitAtkGetTextAtOffsetWithPreformattedText): New unit test.
1277 (main): Add the new unit test.
1279 2012-02-01 Philippe Normand <pnormand@igalia.com>
1281 [GStreamer] FFTFrame implementation
1282 https://bugs.webkit.org/show_bug.cgi?id=73545
1284 Reviewed by Chris Rogers.
1286 * GNUmakefile.am: Remove libfftw compilation flags.
1288 2012-02-01 Philippe Normand <pnormand@igalia.com>
1290 [GTK] unittests/testloading crashes
1291 https://bugs.webkit.org/show_bug.cgi?id=77544
1293 Reviewed by Xan Lopez.
1295 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1296 (WebKit::FrameLoaderClient::dispatchDidFailLoading): Bail out
1297 early from dispatchDidFailLoading if the error is the result of an
1300 2012-02-01 Philippe Normand <pnormand@igalia.com> and Sergio Villar Senin <svillar@igalia.com>
1302 Reviewed by Martin Robinson.
1304 [GTK] Improve FrameLoader signals. Resource loading
1305 https://bugs.webkit.org/show_bug.cgi?id=49543
1308 WebKitWebFrame::resource-request-starting
1309 WebKitWebFrame::resource-response-received
1310 WebKitWebFrame::resource-load-finished
1311 WebKitWebFrame::resource-content-length-received
1312 WebKitWebFrame::resource-load-failed
1313 WebKitWebResource::response-received
1314 WebKitWebResource::load-failed
1315 WebKitWebResource::load-finished
1316 WebKitWebResource::content-length-received
1317 WebKitWebView::resource-response-received
1318 WebKitWebView::resource-load-finished
1319 WebKitWebView::resource-content-length-received
1320 WebKitWebView::resource-load-failed
1322 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1323 (WebKit::FrameLoaderClient::dispatchWillSendRequest):
1324 (WebKit::FrameLoaderClient::dispatchDidReceiveResponse):
1325 (WebKit::FrameLoaderClient::dispatchDidReceiveContentLength):
1326 (WebKit::FrameLoaderClient::dispatchDidFinishLoading):
1327 (WebKit::FrameLoaderClient::dispatchDidFailLoading):
1328 * webkit/webkitwebframe.cpp:
1329 (webkit_web_frame_class_init):
1330 * webkit/webkitwebresource.cpp:
1331 (webkit_web_resource_class_init):
1332 * webkit/webkitwebview.cpp:
1333 (webkit_web_view_class_init):
1334 * webkitmarshal.list:
1336 2012-01-23 Mario Sanchez Prada <msanchez@igalia.com>
1338 [GTK] Refactor GTK's accessibilitity code to be more modular
1339 https://bugs.webkit.org/show_bug.cgi?id=76783
1341 Reviewed by Martin Robinson.
1343 Update callers to WebKitAccessible's public functions.
1345 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
1346 (DumpRenderTreeSupportGtk::getFocusedAccessibleElement):
1347 (modifyAccessibilityValue):
1348 (DumpRenderTreeSupportGtk::accessibilityHelpText):
1350 2012-01-22 Mario Sanchez Prada <msanchez@igalia.com>
1352 [GTK] Refactor GTK's accessibilitity code to be more modular
1353 https://bugs.webkit.org/show_bug.cgi?id=76783
1355 Reviewed by Martin Robinson.
1357 Update the include for the AccessibilityObject wrapper header.
1359 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp: Update include.
1360 * webkit/webkitwebframe.cpp: Ditto.
1362 2012-01-22 Mario Sanchez Prada <msanchez@igalia.com>
1364 [GTK] ATK text-caret-moved and text-selection-changed events not being emitted
1365 https://bugs.webkit.org/show_bug.cgi?id=76069
1367 Reviewed by Martin Robinson.
1369 Update caret browsing related unit tests to check emissions of
1370 'text-caret-moved' and 'text-selection-changed' signals.
1373 (textCaretMovedCallback): New callback for 'text-caret-moved'.
1374 (testWebkitAtkCaretOffsets): Check emissions of 'text-caret-moved'.
1375 (textSelectionChangedCallback): New callback for 'text-selection-changed'.
1376 (testWebkitAtkTextSelections): Check emissions of 'text-selection-changed'.
1378 2012-01-18 Evan Nemerson <evan@coeus-group.com>
1380 [GTK] WebKit-3.0.gir does not include information about C includes or exported packages
1381 https://bugs.webkit.org/show_bug.cgi?id=49875
1383 Reviewed by Martin Robinson.
1385 * GNUmakefile.am: Add some information to the GIR generator to fix
1386 Vala binding generation.
1388 2012-01-18 Carlos Garnacho <carlosg@gnome.org>
1390 [GTK] Listen to GDK_SCROLL_MASK
1391 https://bugs.webkit.org/show_bug.cgi?id=76529
1393 Set GDK_SCROLL_MASK explicitly, as WebKitWebView does handle
1394 scroll events, scrolling currently works because GTK+ happens
1395 to send such events to widgets listening to GDK_BUTTON_PRESS_MASK,
1396 but this isn't the intended behavior, so it's subject to change.
1398 Reviewed by Martin Robinson.
1400 * webkit/webkitwebview.cpp:
1401 (webkit_web_view_realize):
1403 2012-01-17 Martin Robinson <mrobinson@igalia.com>
1405 [Gtk] Input text field not repainted when value is changed
1406 https://bugs.webkit.org/show_bug.cgi?id=76279
1408 Reviewed by Gustavo Noronha Silva.
1410 Force pending relayouts before freezing the dirty region in a temporary.
1411 This prevents the following code from throwing the dirty updates away
1412 after the original paint is finished.
1414 * WebCoreSupport/ChromeClientGtk.cpp:
1415 (WebKit::paintWebView): Remove the relayout.
1416 (WebKit::ChromeClient::paint): Move the relayout here, before the
1417 dirty region is frozen.
1419 2012-01-16 Carlos Garcia Campos <cgarcia@igalia.com>
1421 [GTK] Update NEWS and configure.ac for 1.7.4 release
1422 https://bugs.webkit.org/show_bug.cgi?id=76375
1424 Reviewed by Philippe Normand.
1426 * NEWS: Added release notes for 1.7.4.
1428 2012-01-13 Mario Sanchez Prada <msanchez@igalia.com>
1430 Unreviewed, rolling out r104905.
1431 http://trac.webkit.org/changeset/104905
1432 https://bugs.webkit.org/show_bug.cgi?id=76267
1434 This patch broke tests in the GTK 64bit Debug bot (Requested
1435 by msanchez on #webkit).
1438 (testWebkitAtkCaretOffsets):
1439 (testWebkitAtkTextSelections):
1441 2012-01-13 Mario Sanchez Prada <msanchez@igalia.com>
1443 [GTK] ATK text-caret-moved and text-selection-changed events not being emitted
1444 https://bugs.webkit.org/show_bug.cgi?id=76069
1446 Reviewed by Martin Robinson.
1448 Update caret browsing related unit tests to check emissions of
1449 'text-caret-moved' and 'text-selection-changed' signals.
1452 (textCaretMovedCallback): New callback for 'text-caret-moved'.
1453 (testWebkitAtkCaretOffsets): Check emissions of 'text-caret-moved'.
1454 (textSelectionChangedCallback): New callback for 'text-selection-changed'.
1455 (testWebkitAtkTextSelections): Check emissions of 'text-selection-changed'.
1457 2012-01-12 Mario Sanchez Prada <msanchez@igalia.com>
1459 [Gtk] Removed duplicated unit test.
1461 The unit test testWebkitAtkGetTextAtOffsetForms is exactly the
1462 same test case than testWebkitAtkGetTextAtOffset, so it makes no
1463 sense to have it duplicated.
1465 Rubber-stamped by Martin Robinson.
1468 (main): Removed testWebkitAtkGetTextAtOffsetForms.
1470 2012-01-10 Mario Sanchez Prada <msanchez@igalia.com>
1472 AX: support helpText() in DumpRenderTree
1473 https://bugs.webkit.org/show_bug.cgi?id=40193
1475 Reviewed by Chris Fleizach.
1477 Add support for retrieving WebCore's AccessibilityObject's
1478 helpText from the GTK DumpRenderTree.
1480 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
1481 (DumpRenderTreeSupportGtk::accessibilityHelpText): Returns result
1482 of calling to helpText() over the core accessibility object's.
1483 * WebCoreSupport/DumpRenderTreeSupportGtk.h:
1485 2012-01-09 Mario Sanchez Prada <msanchez@igalia.com>
1487 [Gtk] Regression: text-inserted events lack text inserted and current line
1488 https://bugs.webkit.org/show_bug.cgi?id=72830
1490 Reviewed by Martin Robinson.
1492 Updated unit tests to check that both getting the current position
1493 for the caret and the exposed text at, before or after a given
1494 offset for an accessible object works as expected.
1497 (runGetTextTests): For objects implementing AtkEditableText, try
1498 to change the exposed text and retrieve it again as a full line.
1499 (testWebkitAtkCaretOffsets): For a text control (a text entry),
1500 set the caret offset to a value greater than 1 and retrieve it.
1502 2012-01-05 Martin Robinson <mrobinson@igalia.com>
1504 [GTK] [AC] Introduce AcceleratedCompositingContext to isolate different accelerated compositing implementations
1505 https://bugs.webkit.org/show_bug.cgi?id=75519
1507 Reviewed by Alejandro G. Castro.
1509 Add an AcceleratedCompositingContext which will isolate all the different accelerated compositing
1510 implementations from one another. For right now this just includes the Clutter version.
1512 * GNUmakefile.am: Add the new files to the source list.
1513 * WebCoreSupport/AcceleratedCompositingContext.h: Added.
1514 * WebCoreSupport/AcceleratedCompositingContextClutter.cpp: Added. Existing
1515 clutter AC code has moved here.
1516 * WebCoreSupport/ChromeClientGtk.cpp:
1517 (WebKit::ChromeClient::attachRootGraphicsLayer): Use the new AccleratedCompositingContext now
1518 instead of calling into the WebView.
1519 (WebKit::ChromeClient::setNeedsOneShotDrawingSynchronization):Ditto.
1520 (WebKit::ChromeClient::scheduleCompositingLayerSync): Ditto.
1521 * webkit/webkitwebview.cpp:
1522 (webkit_web_view_size_allocate): Call in the ACContext.
1523 (webkit_web_view_init): Initialize the ACContext.
1524 * webkit/webkitwebviewprivate.h: Add the ACContext as a private member.
1526 2012-01-03 Carlos Garcia Campos <cgarcia@igalia.com>
1528 [GTK] Use gdk_screen_get_monitor_workarea() when available for screenAvailableRect()
1529 https://bugs.webkit.org/show_bug.cgi?id=75435
1531 Reviewed by Martin Robinson.
1533 * GNUmakefile.am: Make sure unit tests link to X11.
1535 2011-12-20 Yuta Kitamura <yutak@chromium.org>
1537 [GTK] Change default WebSocket protocol to the latest one
1538 https://bugs.webkit.org/show_bug.cgi?id=74064
1540 Reviewed by Martin Robinson.
1542 * webkit/webkitwebview.cpp:
1543 (webkit_web_view_update_settings):
1544 Use hybi WebSocket protocol by default.
1546 2011-12-19 Sam Weinig <sam@webkit.org>
1548 More PlatformEvent cleanup
1549 https://bugs.webkit.org/show_bug.cgi?id=74831
1551 Reviewed by Dan Bernstein.
1553 * webkit/webkitwebview.cpp:
1554 (webkit_web_view_forward_context_menu_event):
1555 (webkit_web_view_get_hit_test_result):
1556 Update to use new names, access style.
1558 2011-12-16 Ryosuke Niwa <rniwa@webkit.org>
1560 Rename registerCommandFor(Undo|Redo) to register(Undo|Redo)Step
1561 https://bugs.webkit.org/show_bug.cgi?id=74748
1563 Reviewed by Eric Seidel.
1565 * WebCoreSupport/EditorClientGtk.cpp:
1566 (WebKit::EditorClient::registerUndoStep):
1567 (WebKit::EditorClient::registerRedoStep):
1568 * WebCoreSupport/EditorClientGtk.h:
1570 2011-12-16 Sam Weinig <sam@webkit.org>
1572 Give PlatformEvents a base class
1573 https://bugs.webkit.org/show_bug.cgi?id=74685
1575 Reviewed by Anders Carlsson.
1577 Add a base class for PlatformMouseEvent, PlatformKeyboardEvent, PlatformWheelEvent
1578 and PlatformGestureEvent and move Type enumeration and modifiers down to it.
1580 * WebCoreSupport/EditorClientGtk.cpp:
1581 (WebKit::EditorClient::handleKeyboardEvent):
1582 * webkit/webkitwebview.cpp:
1583 (webkit_web_view_popup_menu_handler):
1585 2011-12-16 Ryosuke Niwa <rniwa@webkit.org>
1587 Only EditCommandComposition should implement unapply and reapply
1588 https://bugs.webkit.org/show_bug.cgi?id=74490
1590 Reviewed by Eric Seidel.
1592 * WebCoreSupport/EditorClientGtk.cpp:
1593 (WebKit::EditorClient::registerCommandForUndo):
1594 (WebKit::EditorClient::registerCommandForRedo):
1595 (WebKit::EditorClient::undo):
1596 (WebKit::EditorClient::redo):
1597 * WebCoreSupport/EditorClientGtk.h:
1599 2011-12-16 Carlos Garcia Campos <cgarcia@igalia.com>
1601 [GTK] Update NEWS and configure.ac for 1.7.3 release
1602 https://bugs.webkit.org/show_bug.cgi?id=74699
1604 Reviewed by Philippe Normand.
1606 * NEWS: Added release notes for 1.7.3.
1608 2011-12-14 Jing Zhao <jingzhao@chromium.org>
1610 Opening two popup menus by dispatchEvent() makes problems.
1611 https://bugs.webkit.org/show_bug.cgi?id=73304
1613 Reviewed by Kent Tamura.
1615 * WebCoreSupport/ChromeClientGtk.cpp:
1616 (WebKit::ChromeClient::hasOpenedPopup): Not implemented.
1617 * WebCoreSupport/ChromeClientGtk.h: Overrides hasOpenedPopup().
1619 2011-12-12 Ryosuke Niwa <rniwa@webkit.org>
1621 WebKit code shouldn't be calling applyCommand directly
1622 https://bugs.webkit.org/show_bug.cgi?id=74337
1624 Reviewed by Darin Adler.
1626 * webkit/webkitwebframe.cpp:
1627 (webkit_web_frame_replace_selection):
1629 2011-12-12 Martin Robinson <mrobinson@igalia.com>
1631 [GTK] gtk_widget_size_allocate for plugin widgets should happen in the WebView size-allocate method
1632 https://bugs.webkit.org/show_bug.cgi?id=72805
1634 Reviewed by Gustavo Noronha Silva.
1636 Instead of immediately calling gtk_widget_size during painting, defer
1637 this until the size-allocate method of the WebView.
1639 * WebCoreSupport/ChromeClientGtk.cpp:
1640 (WebKit::ChromeClient::paint): If any child widgets have a pending allocation
1641 call gtk_widget_size_allocate.
1642 * webkit/webkitwebview.cpp:
1643 (updateChildAllocationFromPendingAllocation): Added this helper.
1644 (webkit_web_view_size_allocate): Call the helper on all child widgets.
1646 2011-12-09 Joone Hur <joone.hur@collabora.co.uk>
1648 [GTK] Initial implementation of Accelerated Compositing using Clutter
1649 https://bugs.webkit.org/show_bug.cgi?id=73319
1651 This patch allows to add a GtkClutterEmbed to embed Clutter Actors in WebKitWebView and
1652 set the root GraphicsLayer to WebKitWebView when Accelerated Compositing needs to be enabled.
1654 Reviewed by Gustavo Noronha Silva.
1657 * WebCoreSupport/ChromeClientGtk.cpp:
1658 (WebKit::ChromeClient::attachRootGraphicsLayer): Set the root GraphicsLayer to WebKitWebView.
1659 (WebKit::ChromeClient::allowedCompositingTriggers): Allow to support CSS 3D Transforms only.
1660 * webkit/webkitglobals.cpp:
1661 (webkitInit): Call gtk_clutter_init().
1662 * webkit/webkitwebview.cpp:
1663 (webkit_web_view_size_allocate): Set the size of GtkClutterEmbed when the view is changed.
1664 (webkit_web_view_init)
1665 (webViewSetRootGraphicsLayer): Add the GtkClutterEmbed to the WebKitWebView as a child.
1666 (webViewDetachRootGraphicsLayer): Remove the GtkClutterEmbed from the WebKitWebView.
1667 (webViewSyncLayers): Commit layer changes.
1668 (webViewMarkForSync): Set to call webViewSyncLayers using g_timeout_add.
1669 * webkit/webkitwebviewprivate.h:
1671 2011-12-07 Mary Wu <mary.wu@torchmobile.com.cn>
1673 Change function name InitializeLoggingChannelsIfNecessary to follow coding style guideline
1674 https://bugs.webkit.org/show_bug.cgi?id=73986
1676 Reviewed by Kenneth Rohde Christiansen.
1678 * webkit/webkitglobals.cpp:
1681 2011-12-05 Mario Sanchez Prada <msanchez@igalia.com>
1683 [GTK] Move emissions of AtkDocument signals down to WebCore
1684 https://bugs.webkit.org/show_bug.cgi?id=73750
1686 Reviewed by Chris Fleizach.
1688 Removed code for emission of AtkDocument signals.
1690 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1691 (WebKit::notifyStatus): Removed no longer used code.
1693 2011-12-04 Mario Sanchez Prada <msanchez@igalia.com>
1695 [Gtk] Check for the load-complete event only in the unit tests.
1697 There is currently a known issue happening in debug builds when
1698 reloading the webview if it was loaded before through the function
1699 webkit_web_view_load_string, resulting in a ASSERT failing (see
1700 bug 50331) so we can't check for the reload event here, since it
1701 makes the test to fail. Fortunately, checking for load-complete
1702 event is a good enough test, so this small patch is about that.
1704 Rubber-stamped by Philippe Normand.
1707 (testWebkitAtkDocumentLoadingEvents): Don't load and then reload
1708 to check events, just load once and check whether the
1709 'load-complete' event has happened.
1711 2011-12-03 Mario Sanchez Prada <msanchez@igalia.com>
1713 Removing document related events from DRT
1715 [GTK] Don't log document events in DRT
1716 https://bugs.webkit.org/show_bug.cgi?id=73746
1718 Reviewed by Martin Robinson.
1720 New unit test to check events when reloading a document. This
1721 replaces the former document-reload-events.html layout test.
1724 (updateLoadingEventsResult): New, updates a global variable to
1725 allow checking later on that the right signals were emmitted.
1726 (documentLoadingEventCallback): New, global listener for load-complete
1727 and reload signals over the document object (the web area).
1728 (testWebkitAtkDocumentLoadingEvents): New unit test, globally
1729 connects to document-related signals and check they are properly
1730 emitted when reloading the web view.
1731 (main): Added new test.
1733 2011-12-03 Xan Lopez <xlopez@igalia.com>
1735 [GTK] Implement History API FrameLoaderClient methods
1736 https://bugs.webkit.org/show_bug.cgi?id=59017
1738 Reviewed by Gustavo Noronha Silva.
1740 Fake the load process when the new HTML5 History APIs are
1741 used. Otherwise the UA does not have a chance of updating the URL
1742 entry, back/forward buttons, etc.
1744 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1745 (WebKit::FrameLoaderClient::dispatchDidNavigateWithinPage): fake a
1747 (WebKit::FrameLoaderClient::dispatchDidPushStateWithinPage): call
1748 dispatchDidNavigateWithinPage.
1749 (WebKit::FrameLoaderClient::dispatchDidReplaceStateWithinPage):
1751 (WebKit::FrameLoaderClient::dispatchDidPopStateWithinPage): do
1752 nothing, because push was already called, but note this in a
1754 * WebCoreSupport/FrameLoaderClientGtk.h: add the new method.
1756 2011-12-02 Philippe Normand <pnormand@igalia.com>
1758 [GStreamer] Fullscreen controller support for the new WebKit Fullscreen API
1759 https://bugs.webkit.org/show_bug.cgi?id=66968
1761 Reviewed by Martin Robinson.
1763 If the element being fullscreened is a video use the native
1764 fullscreen controls.
1766 * WebCoreSupport/ChromeClientGtk.cpp:
1767 (WebKit::ChromeClient::enterFullScreenForElement):
1768 (WebKit::ChromeClient::exitFullScreenForElement):
1770 2011-12-01 Philippe Normand <pnormand@igalia.com>
1772 [GTK] scrollbars interfering with fullscreen (in-window) video rendering
1773 https://bugs.webkit.org/show_bug.cgi?id=73577
1775 Reviewed by Martin Robinson.
1777 Disable scrollbars when switching to fullscreen.
1779 * WebCoreSupport/ChromeClientGtk.cpp:
1780 (WebKit::ChromeClient::contentsSizeChanged): Ignore size changes
1781 when an element is being displayed fullscreen.
1782 (WebKit::ChromeClient::enterFullScreenForElement): Disable
1783 scrollbars when entering fullscreen.
1784 * WebCoreSupport/GtkAdjustmentWatcher.cpp: Added 2 methods to
1785 enable/disable scrollbars and one method to know whether they are
1787 (WebKit::GtkAdjustmentWatcher::GtkAdjustmentWatcher):
1788 (WebKit::updateAdjustmentFromScrollbar):
1789 (WebKit::GtkAdjustmentWatcher::updateAdjustmentsFromScrollbars):
1790 (WebKit::GtkAdjustmentWatcher::updateAdjustmentsFromScrollbarsLater):
1791 (WebKit::GtkAdjustmentWatcher::disableAllScrollbars):
1792 (WebKit::GtkAdjustmentWatcher::enableAllScrollbars):
1793 * WebCoreSupport/GtkAdjustmentWatcher.h:
1794 (WebKit::GtkAdjustmentWatcher::scrollbarsDisabled):
1796 2011-11-21 Philippe Normand <pnormand@igalia.com>
1798 [GTK] enable-webaudio websetting
1799 https://bugs.webkit.org/show_bug.cgi?id=69836
1801 Reviewed by Martin Robinson.
1803 * webkit/webkitwebsettings.cpp: New enable-webaudio boolean
1804 setting, set to FALSE by default.
1805 (webkit_web_settings_class_init):
1806 (webkit_web_settings_set_property):
1807 (webkit_web_settings_get_property):
1808 * webkit/webkitwebsettingsprivate.h: Ditto.
1809 * webkit/webkitwebview.cpp: Update WebCore settings when
1810 enable-webaudio value changes.
1811 (webkit_web_view_update_settings):
1812 (webkit_web_view_settings_notify):
1814 2011-11-30 Alexey Proskuryakov <ap@apple.com>
1816 Remove an unneeded argument from FrameLoaderClient::download
1817 https://bugs.webkit.org/show_bug.cgi?id=73486
1819 Reviewed by Andreas Kling.
1821 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1822 (WebKit::FrameLoaderClient::download):
1823 * WebCoreSupport/FrameLoaderClientGtk.h:
1824 Updated for the change.
1826 2011-11-30 Alejandro G. Castro <alex@igalia.com>
1828 [GTK] Add TextureMapperCairo boilerplate implementation
1829 https://bugs.webkit.org/show_bug.cgi?id=73440
1831 Add texture mapper glue to the widget and chrome client.
1833 Reviewed by Martin Robinson.
1835 * WebCoreSupport/ChromeClientGtk.cpp:
1836 (WebKit::ChromeClient::attachRootGraphicsLayer):
1837 (WebKit::ChromeClient::setNeedsOneShotDrawingSynchronization):
1838 (WebKit::ChromeClient::scheduleCompositingLayerSync):
1839 (WebKit::ChromeClient::allowedCompositingTriggers):
1840 * webkit/webkitwebview.cpp:
1841 (webViewSetRootGraphicsLayer):
1842 (webViewMarkForSync):
1843 * webkit/webkitwebviewprivate.h:
1845 2011-11-30 Philippe Normand <pnormand@igalia.com>
1847 [GTK] HTML5 Youtube video fullscreen button doesn't work
1848 https://bugs.webkit.org/show_bug.cgi?id=73456
1850 Reviewed by Martin Robinson.
1852 * WebCoreSupport/ChromeClientGtk.cpp:
1853 (WebKit::ChromeClient::supportsFullScreenForElement): Ignore
1854 withKeyboard argument value, like Chrome's implementation.
1856 2011-11-29 Sergio Villar Senin <svillar@igalia.com>
1858 [GTK] SIGSEV when a WebKitDownload fails
1859 https://bugs.webkit.org/show_bug.cgi?id=72883
1861 Reviewed by Xan Lopez.
1863 After r100769 http status codes >= 400 trigger download
1864 failures. We must ensure that the download is properly cancelled
1865 before clearing the ResourceHandle client to avoid crashes.
1867 * webkit/webkitdownload.cpp:
1868 (DownloadClient::didReceiveResponse):
1870 2011-11-29 Martin Robinson <mrobinson@igalia.com>
1872 [GTK] Custom fonts on surlybikes.com and boingboing.net do not load
1873 https://bugs.webkit.org/show_bug.cgi?id=69115
1875 Reviewed by Gustavo Noronha Silva.
1877 Instead of pretending to be Safari/Linux, pretend to be a Linux Chrome.
1878 This fixes pages that assume that if a browser is Safari, but not OS X, it is
1879 the iOS version of Safari.
1881 * tests/testwebsettings.c:
1882 (test_webkit_web_settings_user_agent): Update the test to reflect that the
1883 user agent does not change.
1884 * webkit/webkitwebsettings.cpp:
1885 (chromeUserAgent): Renamed this from webkitUserAgent to more accurately
1886 describe what it is.
1887 (webkit_web_settings_class_init): Just use an empty string when initializing
1888 the user agent to reduce code duplication.
1889 (webkit_web_settings_set_property): Updated to reflect new method name.
1890 (userAgentForURL): We don't need to special case Google Calendar any longer.
1892 2011-11-29 Mario Sanchez Prada <msanchez@igalia.com>
1894 [Gtk] Regression: text-inserted events lack text inserted and current line
1895 https://bugs.webkit.org/show_bug.cgi?id=72830
1897 Reviewed by Chris Fleizach.
1899 Updated unit test to handle the new 'text-insert' and
1900 'text-remove' signals, instead of the 'text-changed' one.
1903 (textChangedCb): Update a global variable with the result of the
1904 text change, so we can check its value later.
1905 (testWebkitAtkTextChangedNotifications): Connect to the
1906 'text-insert' and 'text-remove' signals and check, in a way more
1907 carefully way than it was done before, that the signals are being
1908 properly emitted, and that the information attached to them is the
1909 right one for each case (insert/remove, offset, count and text).
1911 2011-11-28 Stefan Zwanenburg <stefanhetzwaantje@gmail.com>
1913 WebKitGTK+-1.7.2 build error due to a reference to gdk_disable_multidevice()
1914 https://bugs.webkit.org/show_bug.cgi?id=73206
1916 Reviewed by Martin Robinson.
1919 (initializeTestingFramework): Don't use gdk_disable_multidevice()
1922 2011-11-26 Pavel Feldman <pfeldman@google.com>
1924 Web Inspector: remove disconnectFromBackend from the protocol.
1925 https://bugs.webkit.org/show_bug.cgi?id=73127
1927 Reviewed by Yury Semikhatsky.
1929 * WebCoreSupport/InspectorClientGtk.cpp:
1930 (WebKit::InspectorClient::inspectorDestroyed):
1931 (WebKit::InspectorClient::closeInspectorFrontend):
1932 * WebCoreSupport/InspectorClientGtk.h:
1934 2011-11-26 Sheriff Bot <webkit.review.bot@gmail.com>
1936 Unreviewed, rolling out r101193.
1937 http://trac.webkit.org/changeset/101193
1938 https://bugs.webkit.org/show_bug.cgi?id=73158
1940 Breaks Windows and Qt minimal. (Requested by pfeldman on
1943 * WebCoreSupport/InspectorClientGtk.cpp:
1944 (WebKit::InspectorClient::inspectorDestroyed):
1945 (WebKit::InspectorFrontendClient::disconnectFromBackend):
1946 * WebCoreSupport/InspectorClientGtk.h:
1948 2011-11-26 Pavel Feldman <pfeldman@google.com>
1950 Web Inspector: remove disconnectFromBackend from the protocol.
1951 https://bugs.webkit.org/show_bug.cgi?id=73127
1953 Reviewed by Yury Semikhatsky.
1955 * WebCoreSupport/InspectorClientGtk.cpp:
1956 (WebKit::InspectorClient::inspectorDestroyed):
1957 (WebKit::InspectorClient::closeInspectorFrontend):
1958 * WebCoreSupport/InspectorClientGtk.h:
1960 2011-11-17 Martin Robinson <mrobinson@igalia.com>
1962 [GTK] Integrate build-gtkdoc into build-webkit and make
1963 https://bugs.webkit.org/show_bug.cgi?id=72626
1965 Reviewed by Philippe Normand.
1967 * docs/GNUmakefile.am: Removed.
1968 * docs/version.xml.in: Removed.
1970 2011-11-23 Kaustubh Atrawalkar <kaustubh@motorola.com>
1972 Documentation fix for load-committed in webkitwebframe
1973 https://bugs.webkit.org/show_bug.cgi?id=72927
1975 Reviewed by Martin Robinson.
1977 * webkit/webkitwebframe.cpp:
1978 (webkit_web_frame_class_init):
1980 2011-11-22 Pavel Feldman <pfeldman@google.com>
1982 Web Inspector: remove Inspector::bringToFront from the protocol.
1983 https://bugs.webkit.org/show_bug.cgi?id=72937
1985 Reviewed by Yury Semikhatsky.
1987 * WebCoreSupport/InspectorClientGtk.cpp:
1988 (WebKit::InspectorClient::bringFrontendToFront):
1989 * WebCoreSupport/InspectorClientGtk.h:
1991 2011-11-22 Pavel Feldman <pfeldman@google.com>
1993 Web Inspector: strip unused InspectorController methods.
1994 https://bugs.webkit.org/show_bug.cgi?id=72886
1996 Reviewed by Yury Semikhatsky.
1998 * webkit/webkitwebinspector.cpp:
1999 (webkit_web_inspector_set_property):
2000 (webkit_web_inspector_get_property):
2002 2011-11-21 Yuta Kitamura <yutak@chromium.org>
2004 [GTK] Enable WebSocket hybi tests
2005 https://bugs.webkit.org/show_bug.cgi?id=72870
2007 Reviewed by Xan Lopez.
2009 Change the settings value through DumpRenderTreeSupportGtk, because we do not
2010 want to expose this as a public API.
2012 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
2013 (DumpRenderTreeSupportGtk::setHixie76WebSocketProtocolEnabled):
2014 Change the value of a flag in WebCore::Settings.
2015 * WebCoreSupport/DumpRenderTreeSupportGtk.h:
2017 2011-11-21 Carlos Garcia Campos <cgarcia@igalia.com>
2019 [GTK] Update NEWS and configure.ac for 1.7.2 release
2020 https://bugs.webkit.org/show_bug.cgi?id=72868
2022 Reviewed by Xan Lopez.
2024 * NEWS: Added release notes for 1.7.2.
2026 2011-10-17 Antonio Gomes <agomes@rim.com>
2028 Pass a Frame* parameter in EditorClient::respondToChangedSelection
2029 https://bugs.webkit.org/show_bug.cgi?id=70248
2031 Reviewed by Ryosuke Niwa.
2033 * WebCoreSupport/EditorClientGtk.cpp: Make use of the newly added Frame* parameter.
2034 (WebKit::EditorClient::respondToChangedSelection):
2035 * WebCoreSupport/EditorClientGtk.h:
2037 2011-11-18 Martin Robinson <mrobinson@igalia.com>
2039 REGRESSION (r99924): broke 2 pasteboard tests on GTK
2040 https://bugs.webkit.org/show_bug.cgi?id=72131
2042 Reviewed by Tony Chang.
2044 * WebCoreSupport/EditorClientGtk.cpp:
2045 (WebKit::setSelectionPrimaryClipboardIfNeeded): Use the new clearAll method.
2047 2011-11-18 Mario Sanchez Prada <msanchez@igalia.com>
2049 [GTK] Accessibility API tests not loading Gtk's accessibility implementation
2050 https://bugs.webkit.org/show_bug.cgi?id=72732
2052 Reviewed by Philippe Normand.
2054 Ensure that the GAIL module is being loaded by avoiding using
2055 gtk_test_init() directly, but a modified version of it.
2058 (testWebkitAtkParentForRootObject): Use a normal GtkWidget (a
2059 GtkWindow) as the parent container for the webView, instead of
2060 using a dummy webView for that, which was hackish.
2061 (testWebkitAtkSetParentForObject): Use normal GtkWidgets instead
2062 of dummy webViews (a GtkWindow and a GtkButton).
2063 (initializeTestingFramework): New function, identical to
2064 gtk_test_init(), but loading GAIL as the only GTK module.
2065 (main): Use initializeTestingFramework().
2067 2011-11-18 Carlos Garcia Campos <cgarcia@igalia.com>
2069 [GTK] Downloads not started by WebView only fail for transport errors
2070 https://bugs.webkit.org/show_bug.cgi?id=72718
2072 Reviewed by Martin Robinson.
2074 Abort the download with an error if the response contains an
2075 error code. It adds a new test case to the download unit tests.
2077 * tests/testdownload.c:
2078 (notifyDownloadStatusCallback):
2080 (test_webkit_download_not_found):
2082 * webkit/webkitdownload.cpp:
2083 (DownloadClient::didReceiveResponse): Check whether http status of
2084 the response is an error code and emit error signal in such case.
2086 2011-11-18 Mario Sanchez Prada <msanchez@igalia.com>
2088 [GTK] Accessibility API tests failing because of using non-WebKit GtkWidgets
2089 https://bugs.webkit.org/show_bug.cgi?id=72708
2091 Reviewed by Xan Lopez.
2093 Do not use non-WebKit GtkWidget's in unit tests, to avoid problems
2094 when GTK's accessibility implementation is not being loaded.
2097 (testWebkitAtkParentForRootObject): Use a dummy WebKitWebView
2098 widget as the parent container needed for this unit test.
2099 (testWebkitAtkSetParentForObject): Ditto.
2101 2011-11-17 Martin Robinson <mrobinson@igalia.com>
2103 [GTK] Remove the last remaining WebKit1 gtkdoc warnings
2104 https://bugs.webkit.org/show_bug.cgi?id=72627
2106 Reviewed by Philippe Normand.
2108 * webkit/webkitdownload.h: Add missing enum documentation.
2109 * webkit/webkiterror.h: Ditto.
2110 * webkit/webkitwebview.h: Ditto.
2112 2011-11-17 Mario Sanchez Prada <msanchez@igalia.com>
2114 [Gtk] Ensure the parent for the webView's a11y object is set.
2116 This should fix some accessibility related GTK API tests.
2118 Rubber-stamped by Philippe Normand.
2120 * webkit/webkitwebview.cpp:
2121 (webkit_web_view_get_accessible): Always set the parent to make
2122 navigation across GTK and WebKit worlds work properly.
2124 2011-11-17 Mario Sanchez Prada <msanchez@igalia.com>
2126 [GTK] Consider parent AtkObject in webkit_accessible_get_parent(), if already set
2127 https://bugs.webkit.org/show_bug.cgi?id=72525
2129 Reviewed by Xan Lopez.
2132 (testWebkitAtkSetParentForObject): New unit test to check that
2133 calls to atk_object_get_parent() over a WebKitGTK's accessibility
2134 wrapper object returns its parent AtkObject if previously set.
2135 (main): Added new test.
2137 2011-11-17 Mario Sanchez Prada <msanchez@igalia.com>
2139 [GTK] ATK API tests failing because of patch for bug 72390
2140 https://bugs.webkit.org/show_bug.cgi?id=72592
2142 Reviewed by Philippe Normand.
2145 (testWebkitAtkParentForRootObject): Remove the offending line in
2146 the unit test, which is not actually required to test the new
2147 functionality and causes problems in some scenarios, due to the
2148 lazy creation mechanism of AtkObjects.
2150 * tests/testatkroles.c:
2151 (finish_loading): Reflect that the document frame object is no
2152 longer the root accessibility object (a scroll pane from now on),
2153 but the only child of that one. Thus, skip that root object.
2155 2011-11-16 Mario Sanchez Prada <msanchez@igalia.com>
2157 [GTK] Do not hide accessibility root object from AT's
2158 https://bugs.webkit.org/show_bug.cgi?id=72390
2160 Reviewed by Martin Robinson.
2163 (getWebAreaObject): New helper function, to bypass the new root
2164 object in the accessibility hierarchy, since it's not usually
2165 needed for the unit tests.
2166 (testWebkitAtkCaretOffsets): Use getWebAreaObject().
2167 (testWebkitAtkCaretOffsetsAndExtranousWhiteSpaces): Ditto.
2168 (testWebkitAtkComboBox): Ditto.
2169 (testWebkitAtkEmbeddedObjects): Ditto.
2170 (testWebkitAtkGetTextAtOffsetForms): Ditto.
2171 (testWebkitAtkGetTextAtOffset): Ditto.
2172 (testWebkitAtkGetTextAtOffsetNewlines): Ditto.
2173 (testWebkitAtkGetTextAtOffsetTextarea): Ditto.
2174 (testWebkitAtkGetTextAtOffsetTextInput): Ditto.
2175 (testWebkitAtkGetTextAtOffsetWithSpecialCharacters): Ditto.
2176 (testWebkitAtkGetTextInParagraphAndBodySimple): Ditto.
2177 (testWebkitAtkGetTextInParagraphAndBodyModerate): Ditto.
2178 (testWebkitAtkGetTextInTable): Ditto.
2179 (testWebkitAtkGetHeadersInTable): Ditto.
2180 (testWebkitAtkTextAttributes): Ditto.
2181 (testWebkitAtkTextSelections): Ditto.
2182 (testWebkitAtkGetExtents): Ditto.
2183 (testWebkitAtkLayoutAndDataTables): Ditto.
2184 (testWebkitAtkLinksWithInlineImages): Ditto.
2185 (testWebkitAtkHypertextAndHyperlinks): Ditto.
2186 (testWebkitAtkListsOfItems): Ditto.
2187 (testWebkitAtkTextChangedNotifications): Ditto.
2188 (testWebkitAtkParentForRootObject): New test, to make sure that
2189 both top-down and bottom-up navigation among GTK and WebKit worlds
2190 matches accordingly.
2191 (main): Added new test.
2193 * webkit/webkitwebview.cpp:
2194 (webkit_web_view_get_accessible): Remove the hack introduced
2195 because of bug 51932, to bypass the root object here.
2197 2011-11-15 Anders Carlsson <andersca@apple.com>
2199 HostWindow screenToWindow/windowToScreen should be screenToRootView/rootViewToScreen
2200 https://bugs.webkit.org/show_bug.cgi?id=72397
2202 Reviewed by Dan Bernstein.
2204 * WebCoreSupport/ChromeClientGtk.cpp:
2205 (WebKit::ChromeClient::rootViewToScreen):
2206 (WebKit::ChromeClient::screenToRootView):
2207 * WebCoreSupport/ChromeClientGtk.h:
2209 2011-11-14 Anders Carlsson <andersca@apple.com>
2211 HostWindow invalidation functions should use root view coordinates
2212 https://bugs.webkit.org/show_bug.cgi?id=72338
2214 Reviewed by Dan Bernstein.
2216 * WebCoreSupport/ChromeClientGtk.cpp:
2217 (WebKit::ChromeClient::invalidateRootView):
2218 (WebKit::ChromeClient::invalidateContentsAndRootView):
2219 (WebKit::ChromeClient::invalidateContentsForSlowScroll):
2220 * WebCoreSupport/ChromeClientGtk.h:
2222 2011-11-15 Carlos Garcia Campos <cgarcia@igalia.com>
2224 [GTK] Implement download support in WebKit2
2225 https://bugs.webkit.org/show_bug.cgi?id=72258
2227 Reviewed by Martin Robinson.
2229 Use errors from WebCore to emit the error signals.
2231 * webkit/webkitdownload.cpp:
2232 (webkitDownloadEmitError): Helper function that emits the error
2233 signal for the given ResourceError.
2234 (webkit_download_open_stream_for_uri): Use webkitDownloadEmitError().
2235 (webkit_download_cancel): Ditto.
2236 (webkit_download_set_destination_uri): Ditto.
2237 (webkit_download_received_data): Ditto.
2238 (webkit_download_error): Ditto.
2240 2011-11-14 Ryuan Choi <ryuan.choi@samsung.com>
2242 [GTK] Possible crash when destroying after called widgetSizeChanged.
2243 https://bugs.webkit.org/show_bug.cgi?id=72237
2245 Reviewed by Martin Robinson.
2247 Crash can occur when ChromeclientGtk is removed before calling repaintEverythingSoonTimeout
2248 registered by widgetSizeChanged.
2249 This patch remove the m_repaintSoonSourceId glib source before destruction
2250 of the ChromeClientGtk to prevent the above crash.
2252 * WebCoreSupport/ChromeClientGtk.cpp:
2253 (WebKit::ChromeClient::chromeDestroyed):
2255 2011-11-09 Philippe Normand <pnormand@igalia.com>
2257 [GTK][DRT] window internals object is not reset after each test
2258 https://bugs.webkit.org/show_bug.cgi?id=71890
2260 Reviewed by Martin Robinson.
2262 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp: Remove problematic
2263 calls to WebCoreSupport which belongs to libWebCoreInternals, not libwebkitgtk.
2264 * WebCoreSupport/DumpRenderTreeSupportGtk.h:
2266 2011-11-09 Philippe Normand <pnormand@igalia.com>
2268 [GTK][DRT] window internals object is not reset after each test
2269 https://bugs.webkit.org/show_bug.cgi?id=71890
2271 Reviewed by Xan Lopez.
2273 DRTSupport infrastructure to reset the Internals object, like in Qt.
2275 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
2276 (DumpRenderTreeSupportGtk::resetInternalsObject):
2277 * WebCoreSupport/DumpRenderTreeSupportGtk.h:
2279 2011-11-07 Adam Barth <abarth@webkit.org>
2281 Move static "policy" state from SecurityOrigin.cpp to SecurityPolicy.cpp
2282 https://bugs.webkit.org/show_bug.cgi?id=71755
2284 Reviewed by Eric Seidel.
2286 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
2287 (DumpRenderTreeSupportGtk::whiteListAccessFromOrigin):
2288 (DumpRenderTreeSupportGtk::resetOriginAccessWhiteLists):
2290 2011-11-08 Zan Dobersek <zandobersek@gmail.com>
2292 [WK][GTK] Application cache directory is incorrectly set
2293 https://bugs.webkit.org/show_bug.cgi?id=71769
2295 Reviewed by Martin Robinson.
2297 Set the application cache directory to be placed in current user's
2298 cache directory and update documentation for
2299 webkit_application_cache_get_database_directory_path after these
2300 changes and changes in r80715;
2302 * webkit/webkitapplicationcache.cpp:
2303 * webkit/webkitglobals.cpp:
2304 (webkitInit): Switch one string formation to use GOwnPtr<gchar>.
2306 2011-11-03 Darin Adler <darin@apple.com>
2308 Change remaining callers of releaseRef to call leakRef
2309 https://bugs.webkit.org/show_bug.cgi?id=71422
2311 Reviewed by Darin Fisher.
2313 * webkit/webkitwebdatasource.cpp:
2315 * webkit/webkitwebhistoryitem.cpp:
2316 (webkit_web_history_item_new):
2317 (webkit_web_history_item_new_with_data):
2318 (webkit_web_history_item_copy):
2320 * webkit/webkitwebresource.cpp:
2321 (webkit_web_resource_new_with_core_resource):
2322 (webkit_web_resource_init_with_core_resource):
2325 2011-11-02 Darin Adler <darin@apple.com>
2327 Change remaining callers of releaseRef to call leakRef
2328 https://bugs.webkit.org/show_bug.cgi?id=71422
2330 Reviewed by Darin Fisher.
2332 * webkit/webkitwebdatasource.cpp:
2334 * webkit/webkitwebhistoryitem.cpp:
2335 (webkit_web_history_item_new):
2336 (webkit_web_history_item_new_with_data):
2337 (webkit_web_history_item_copy):
2339 * webkit/webkitwebresource.cpp:
2340 (webkit_web_resource_new_with_core_resource):
2341 (webkit_web_resource_init_with_core_resource):
2344 2011-11-03 Fady Samuel <fsamuel@chromium.org>
2346 Removing line in computeViewportAttributes that enforces a minimum scale factor to never allow zooming out more than viewport
2347 https://bugs.webkit.org/show_bug.cgi?id=70609
2349 Reviewed by Kenneth Rohde Christiansen.
2351 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
2352 (DumpRenderTreeSupportGtk::dumpConfigurationForViewport):
2353 * webkit/webkitviewportattributes.cpp:
2354 (webkitViewportAttributesRecompute):
2356 2011-11-02 Jon Lee <jonlee@apple.com>
2358 Expand DragController to provide more information about the dragging session
2359 https://bugs.webkit.org/show_bug.cgi?id=71324
2360 <rdar://problem/10379175>
2362 Reviewed by Darin Adler.
2364 * webkit/webkitwebview.cpp:
2365 (webkit_web_view_drag_motion): Minor refactoring.
2366 (webkit_web_view_drag_data_received): Minor refactoring.
2368 2011-11-02 Tom Sepez <tsepez@chromium.org>
2370 XSSAuditor is silent
2371 https://bugs.webkit.org/show_bug.cgi?id=70973
2373 Reviewed by Adam Barth.
2375 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2376 (WebKit::FrameLoaderClient::didDetectXSS):
2377 * WebCoreSupport/FrameLoaderClientGtk.h:
2379 2011-11-02 Zan Dobersek <zandobersek@gmail.com>
2381 [GTK] Visited links of a page group should be removed when clearing back/forward list
2382 https://bugs.webkit.org/show_bug.cgi?id=71052
2384 Reviewed by Martin Robinson.
2386 When clearing back-forward list, also remove the visited links from page's page group.
2388 * webkit/webkitwebbackforwardlist.cpp:
2389 (webkit_web_back_forward_list_clear):
2391 2011-10-31 Carlos Garcia Campos <cgarcia@igalia.com>
2393 [GTK] Install html and tmpl dirs in a $(DOC_MODULE) dir in tarball
2394 https://bugs.webkit.org/show_bug.cgi?id=71224
2396 Reviewed by Martin Robinson.
2398 * GNUmakefile.gtk-doc.am: Copy html and tmpl dirs to
2399 $(distdir)/$(DOC_MODULE).
2401 2011-10-29 Martin Robinson <mrobinson@igalia.com>
2403 [GTK] Switch to a backing store approach for painting WebKitWebView
2404 https://bugs.webkit.org/show_bug.cgi?id=70213
2406 Reviewed by Gustavo Noronha Silva.
2408 Paint the WebView into a backing store. This prevents expose events from
2409 triggering a layout, making scrolling and resizing much smoother.
2411 * WebCoreSupport/ChromeClientGtk.cpp:
2412 (WebKit::ChromeClient::ChromeClient): Initialize new members.
2413 (WebKit::repaintEverythingSoonTimeout): Added this helper which repaints
2414 the WebView more quickly during resize events.
2415 (WebKit::clipOutOldWidgetArea): Clips out the old widget area, so that we
2416 can clear out invalid pixels when growing the widget into a pre-existing
2418 (WebKit::clearEverywhereInBackingStore): Clear out the entire backing store.
2419 (WebKit::ChromeClient::widgetSizeChanged): Handle widget size changes by
2420 intelligently resizing or reusing the existing backing store.
2421 (WebKit::coalesceRectsIfPossible): Moved this method from webkitwebview.cpp.
2422 (WebKit::paintWebView): Moved this method from webkitwebview.cpp.
2423 (WebKit::ChromeClient::performAllPendingScrolls): If there are any pending
2424 scrolling operations, perform them by scrolling the backing store.
2425 (WebKit::ChromeClient::paint): Added this timer callback, which paints the
2426 WebView after a short timeout.
2427 (WebKit::ChromeClient::invalidateWindow): No need to do anything here any longer.
2428 (WebKit::ChromeClient::invalidateContentsAndWindow): Now unite the rect with
2429 the existing dirty region and queue the paint timeout.
2430 (WebKit::ChromeClient::scroll): Now just queue a scroll event in the repaint timeout.
2431 Intelligently calculate the area to move and the dirty area using code derived
2433 * WebCoreSupport/ChromeClientGtk.h: Added new method definitions and also use
2434 the WebCore namespace to avoid lots of uses of "WebCore::".
2435 * webkit/webkitwebview.cpp:
2436 (webkit_web_view_draw): Now just blit the backing store into the widget.
2437 (webkit_web_view_expose): Ditto.
2438 (webkit_web_view_size_allocate): Let the ChromeClient know the widget size changed.
2439 (webkit_web_view_init): Turn off GDK double buffering as we have our own double
2441 * webkit/webkitwebviewprivate.h: Add the backing store member.
2443 2011-10-28 Jochen Eisinger <jochen@chromium.org>
2445 Rename a number of methods mentioning JavaScript to just Script instead
2446 https://bugs.webkit.org/show_bug.cgi?id=71105
2448 Reviewed by Adam Barth.
2450 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2451 (WebKit::FrameLoaderClient::dispatchDidClearWindowObjectInWorld):
2452 * webkit/webkitwebview.cpp:
2453 (webkit_web_view_update_settings):
2454 (webkit_web_view_settings_notify):
2456 2011-10-27 Martin Robinson <mrobinson@igalia.com>
2458 [GTK] Remove most of the documentation errors from WebKit1
2459 https://bugs.webkit.org/show_bug.cgi?id=70670
2461 Reviewed by Gustavo Noronha Silva.
2463 Fix most of the documentation errors for WebKit and make many
2464 missing symbols show up in the documentation.
2466 * webkit/webkitglobals.h: Doc fixes.
2467 * webkit/webkitspellchecker.h: Ditto.
2468 * webkit/webkitspellcheckerenchant.cpp: Ditto.
2469 * webkit/webkitwebbackforwardlist.h: Ditto.
2470 * webkit/webkitwebdatasource.cpp: Ditto.
2471 * webkit/webkitwebframe.cpp: Ditto.
2472 * webkit/webkitwebinspector.cpp: Ditto.
2473 * webkit/webkitwebinspector.h: Ditto.
2474 * webkit/webkitwebplugin.h: Ditto.
2475 * webkit/webkitwebplugindatabase.cpp: Ditto.
2476 * webkit/webkitwebplugindatabase.h: Ditto.
2477 * webkit/webkitwebsettings.h: Ditto.
2478 * webkit/webkitwebview.cpp: Ditto.
2479 (webkit_web_view_class_init): Ditto.
2480 * webkit/webkitwebview.h: Ditto.
2482 2011-10-27 Philippe Normand <pnormand@igalia.com>
2484 [GStreamer] WebAudio AudioFileReader implementation
2485 https://bugs.webkit.org/show_bug.cgi?id=69834
2487 Reviewed by Martin Robinson.
2489 * GNUmakefile.am: Link against libfftw.
2491 2011-10-26 Carlos Garcia Campos <cgarcia@igalia.com>
2493 [GTK] Update NEWS and configure.ac for 1.7.1 release
2494 https://bugs.webkit.org/show_bug.cgi?id=70932
2496 Reviewed by Martin Robinson.
2498 * NEWS: Added release notes.
2500 2011-10-26 Alejandro G. Castro <alex@igalia.com>
2502 [GTK] Fix distcheck compilation
2503 https://bugs.webkit.org/show_bug.cgi?id=70921
2505 Add new files required by doc compilation to the clean process.
2507 Reviewed by Martin Robinson.
2509 * docs/GNUmakefile.am:
2511 2011-10-26 Zalan Bujtas <zbujtas@gmail.com>
2513 Name viewport change event consistently.
2514 https://bugs.webkit.org/show_bug.cgi?id=70901
2516 Reviewed by Kenneth Rohde Christiansen.
2518 Use ViewportPropertiesDidChange term consistently throughout WebKit.
2520 * WebCoreSupport/ChromeClientGtk.cpp:
2521 (WebKit::ChromeClient::dispatchViewportPropertiesDidChange):
2522 * WebCoreSupport/ChromeClientGtk.h:
2524 2011-10-26 Carlos Garcia Campos <cgarcia@igalia.com>
2526 [GTK] Remove g_thread_init() calls from gtk-doc scanner too
2527 https://bugs.webkit.org/show_bug.cgi?id=70908
2529 Reviewed by Gustavo Noronha Silva.
2531 * docs/GNUmakefile.am:
2533 2011-10-25 Martin Robinson <mrobinson@igalia.com>
2535 [GTK] GtkAdjustment watcher updates adjustments too lazily
2536 https://bugs.webkit.org/show_bug.cgi?id=70180
2538 Reviewed by Gustavo Noronha Silva.
2540 Increase the priority of the GtkAdjustments update in GtkAdjustmentWatcher. This
2541 means that adjustments will more quickly represent the state of the WebKitWebView
2542 when it scrolls. This fixes out-of-sync scrollbars and some visual artifacts.
2544 * WebCoreSupport/GtkAdjustmentWatcher.cpp:
2545 (WebKit::GtkAdjustmentWatcher::updateAdjustmentsFromScrollbarsLater): Use a timeout
2546 with the default priority.
2548 2011-10-24 Carlos Garcia Campos <cgarcia@igalia.com>
2550 [GTK] Remove g_thread_init() calls
2551 https://bugs.webkit.org/show_bug.cgi?id=70717
2553 Reviewed by Xan Lopez.
2555 With newer glib it's not needed anymore and with previous versions
2556 it was already called by g_type_init().
2558 * tests/testapplicationcache.c:
2562 * tests/testatkroles.c:
2564 * tests/testcopyandpaste.c:
2566 * tests/testdomdocument.c:
2568 * tests/testdomdomwindow.c:
2570 * tests/testdomnode.c:
2572 * tests/testdownload.c:
2574 * tests/testglobals.c:
2576 * tests/testhittestresult.c:
2578 * tests/testhttpbackend.c:
2580 * tests/testkeyevents.c:
2582 * tests/testloading.c:
2584 * tests/testmimehandling.c:
2586 * tests/testnetworkrequest.c:
2588 * tests/testnetworkresponse.c:
2590 * tests/testwebbackforwardlist.c:
2592 * tests/testwebdatasource.c:
2594 * tests/testwebframe.c:
2596 * tests/testwebhistoryitem.c:
2598 * tests/testwebplugindatabase.c:
2600 * tests/testwebresource.c:
2602 * tests/testwebsettings.c:
2604 * tests/testwebview.c:
2605 * tests/testwindow.c:
2608 2011-10-20 Gustavo Noronha Silva <gns@gnome.org>
2610 [GTK] webkitgtk's pkgconfig file needs to require javascriptcoregtk
2611 https://bugs.webkit.org/show_bug.cgi?id=70500
2613 Reviewed by Philippe Normand.
2615 * webkit.pc.in: add javascriptcoregtk to Requires
2617 2011-10-19 Gustavo Noronha Silva <gns@gnome.org>
2619 GTK+ build fix. Rename the INCLUDES variable so it is not picked
2620 up by random bystanders. Also do some more cleanup on stuff we
2621 inherited from gtk-doc.make.
2623 * GNUmakefile.gtk-doc.am:
2624 * docs/GNUmakefile.am:
2626 2011-10-19 Gustavo Noronha Silva <gns@gnome.org>
2628 [GTK] Streamline wk1 documentation build
2629 https://bugs.webkit.org/show_bug.cgi?id=70447
2631 Reviewed by Martin Robinson.
2633 * GNUmakefile.am: move files pertaining to the docs build to the
2634 docs GNUmakefile.am;
2635 * GNUmakefile.gtk-doc.make: incorporate the gtk-doc makefile, and customize it
2636 to our non-recursive build;
2637 * docs/GNUmakefile.am: simplification and adaption to work with the
2638 rest of the build system.
2640 2011-10-19 Zan Dobersek <zandobersek@gmail.com>
2642 [Gtk][Geolocation] Build guards missing in geolocation clients
2643 https://bugs.webkit.org/show_bug.cgi?id=70420
2645 Reviewed by Gustavo Noronha Silva.
2647 Adds build guards that were forgotten when client-based
2648 geolocation was introduced in r97746. This should make builds
2649 without geolocation support succeed again.
2651 * WebCoreSupport/GeolocationClientGtk.cpp:
2652 * WebCoreSupport/GeolocationClientGtk.h:
2653 * webkit/webkitwebview.cpp:
2654 (webkit_web_view_init):
2656 2011-10-18 Zan Dobersek <zandobersek@gmail.com>
2658 [Gtk] Support for client-based geolocation
2659 https://bugs.webkit.org/show_bug.cgi?id=64970
2661 Reviewed by Martin Robinson.
2663 Add DumpRenderTree support functions for client-based geolocation tests
2664 and implement GeolocationClientGtk. The implementation is based on Zecke's
2665 implementation of GeolocationService class in WebCore, which is now redundant
2666 and subsequently removed.
2668 * GNUmakefile.am: Add GeolocationClientGtk.* files to compilation.
2669 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp: Add support functions to operate
2670 with GeolocationClientMock.
2671 (DumpRenderTreeSupportGtk::resetGeolocationClientMock):
2672 (DumpRenderTreeSupportGtk::setMockGeolocationPermission):
2673 (DumpRenderTreeSupportGtk::setMockGeolocationPosition):
2674 (DumpRenderTreeSupportGtk::setMockGeolocationError):
2675 (DumpRenderTreeSupportGtk::numberOfPendingGeolocationPermissionRequests):
2676 * WebCoreSupport/DumpRenderTreeSupportGtk.h:
2677 * WebCoreSupport/GeolocationClientGtk.cpp: Added.
2678 (WebKit::getPositionCallback):
2679 (WebKit::positionChangedCallback):
2680 (WebKit::GeolocationClient::GeolocationClient):
2681 (WebKit::GeolocationClient::geolocationDestroyed):
2682 (WebKit::GeolocationClient::startUpdating):
2683 (WebKit::GeolocationClient::stopUpdating):
2684 (WebKit::GeolocationClient::setEnableHighAccuracy):
2685 (WebKit::GeolocationClient::lastPosition):
2686 (WebKit::GeolocationClient::requestPermission):
2687 (WebKit::GeolocationClient::cancelPermissionRequest):
2688 (WebKit::GeolocationClient::positionChanged):
2689 (WebKit::GeolocationClient::updatePosition):
2690 (WebKit::GeolocationClient::errorOccured):
2691 * WebCoreSupport/GeolocationClientGtk.h: Added.
2692 * webkit/webkitwebview.cpp:
2693 (webkit_web_view_init): Use GeolocationClientMock as geolocation client
2694 when running in DumpRenderTree.
2696 2011-10-12 Ryosuke Niwa <rniwa@webkit.org>
2698 Make the interface of locationAndLengthFromRange and rangeFromLocationAndLength consistent
2699 https://bugs.webkit.org/show_bug.cgi?id=69964
2701 Reviewed by Enrica Casucci.
2703 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
2704 (DumpRenderTreeSupportGtk::firstRectForCharacterRange):
2706 2011-09-28 Martin Robinson <mrobinson@igalia.com>
2708 [GTK] Move drag-and-drop code which can be shared with WebKit2 to WebCore
2709 https://bugs.webkit.org/show_bug.cgi?id=66890
2711 Use the new GtkWidgetDragAndDropGlue class to hold the logic that will be
2712 common between WebKit1 and WebKit2. Modify WebKitWebView to use this class.
2714 Reviewed by Philippe Normand.
2716 * WebCoreSupport/DragClientGtk.cpp:
2717 (WebKit::DragClient::startDrag): Inform the drag-and-drop glue about the drag.
2718 * webkit/webkitwebview.cpp: Use GtkWidgetDragAndDropGlue wherever this class was
2719 maintaining drag-and-drop state itself.
2720 * webkit/webkitwebviewprivate.h: Swap out the drag-and-drop state for an instance
2723 2011-09-28 Kaustubh Atrawalkar <kaustubh@motorola.com>
2725 [Gtk] Implement textInputController.doCommand
2726 https://bugs.webkit.org/show_bug.cgi?id=66496
2728 Reviewed by Martin Robinson.
2730 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
2731 (DumpRenderTreeSupportGtk::doCommand): Function definition for doCommand
2732 callback. Converted Incoming command to match with WebCore::Editor CommandMap.
2733 * WebCoreSupport/DumpRenderTreeSupportGtk.h:
2735 2011-09-27 Carlos Garcia Campos <cgarcia@igalia.com>
2737 [GTK] Reorganize header files
2738 https://bugs.webkit.org/show_bug.cgi?id=65616
2740 Reviewed by Martin Robinson.
2742 Install header files under $libwebkitgtkincludedir/webkit.
2744 * GNUmakefile.am: Use $libwebkitgtkincludedir.
2745 * webkit.pc.in: Use webkitgtk-<api-version> as include dir.
2747 2011-09-26 Gustavo Noronha Silva <gustavo.noronha@collabora.com>
2749 Fix documentation generation by specifying the sources
2750 directory with $(top_srcdir).
2752 Reviewed by Xan Lopez.
2754 * docs/GNUmakefile.am:
2756 2011-09-26 Gustavo Noronha Silva <gustavo.noronha@collabora.com>
2758 REGRESSION: Empathy crashes when switching theme
2759 https://bugs.webkit.org/show_bug.cgi?id=68600
2761 Reviewed by Martin Robinson.
2763 * webkit/webkitwebview.cpp:
2764 (webkit_web_view_set_scroll_adjustments): use the existing
2765 set{Horizontal,Vertical}Adjustment functions, so the code is not
2767 (webkit_web_view_dispose): unset the adjustments during dispose,
2768 to avoid late adjustment change notifications hitting the
2771 2011-09-24 Adam Barth <abarth@webkit.org>
2773 Always enable ENABLE(OFFLINE_WEB_APPLICATIONS)
2774 https://bugs.webkit.org/show_bug.cgi?id=68767
2776 Reviewed by Eric Seidel.
2778 * WebCoreSupport/ChromeClientGtk.cpp:
2779 (WebKit::ChromeClient::reachedApplicationCacheOriginQuota):
2780 * WebCoreSupport/ChromeClientGtk.h:
2781 * webkit/webkitapplicationcache.cpp:
2782 (webkit_application_cache_get_maximum_size):
2783 (webkit_application_cache_set_maximum_size):
2784 (webkit_application_cache_get_database_directory_path):
2785 * webkit/webkitglobals.cpp:
2788 2011-09-22 Gustavo Noronha Silva <gustavo.noronha@collabora.com>
2790 Remove useless empty WebKit namespace.
2792 Reviewed by Xan Lopez.
2794 * webkit/webkitglobals.cpp:
2797 2011-09-20 Carlos Garcia Campos <cgarcia@igalia.com>
2799 [GTK] WebProcess shouldn't use the GTK+ API
2800 https://bugs.webkit.org/show_bug.cgi?id=68062
2802 Reviewed by Martin Robinson.
2804 Use WebCore API to create errors in frame loader.
2806 * WebCoreSupport/AssertMatchingEnums.cpp:
2807 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2808 (WebKit::FrameLoaderClient::cancelledError):
2809 (WebKit::FrameLoaderClient::blockedError):
2810 (WebKit::FrameLoaderClient::cannotShowURLError):
2811 (WebKit::FrameLoaderClient::interruptedForPolicyChangeError):
2812 (WebKit::FrameLoaderClient::cannotShowMIMETypeError):
2813 (WebKit::FrameLoaderClient::fileDoesNotExistError):
2814 (WebKit::FrameLoaderClient::pluginWillHandleLoadError):
2815 * webkit/webkiterror.cpp:
2816 (webkit_network_error_quark):
2817 (webkit_policy_error_quark):
2818 (webkit_plugin_error_quark):
2820 2011-09-20 Philippe Normand <pnormand@igalia.com>
2822 [GTK] Update NEWS and configure.ac for 1.5.90 release
2824 Reviewed by Martin Robinson.
2828 2011-09-19 Leandro Pereira <leandro@profusion.mobi>
2830 GTK DRT leaks memory while comparing history items
2831 https://bugs.webkit.org/show_bug.cgi?id=68086
2833 Reviewed by Martin Robinson.
2835 webkit_web_history_item_get_target() function returns a g_strdup()'d
2836 string, so it should return "gchar*" instead of "const gchar*".
2838 * webkit/webkitwebhistoryitem.cpp:
2839 (webkit_web_history_item_get_target): Change return type to "gchar*".
2840 * webkit/webkitwebhistoryitemprivate.h: Ditto.
2842 2011-09-19 Carlos Garcia Campos <cgarcia@igalia.com>
2844 [GTK] Fix distcheck build
2845 https://bugs.webkit.org/show_bug.cgi?id=68346
2847 Reviewed by Philippe Normand.
2849 * tests/testmimehandling.c: Remove ogg tests, since the behavious
2850 has changed in libsoup (https://bugzilla.gnome.org/show_bug.cgi?id=648846#c8)
2852 (mime_type_policy_decision_requested_cb):
2854 * webkit/webkitwebplugin.cpp: Fix introspection annotation.
2856 2011-09-17 Mihai Parparita <mihaip@chromium.org>
2858 FrameLoaderClient BackForwardList-related methods are unsued
2859 https://bugs.webkit.org/show_bug.cgi?id=68293
2861 Reviewed by Darin Adler.
2863 Remove FrameLoaderClient methods that were added by r51629, since only
2864 the old (since-deleted) Android port needed them.
2866 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2867 * WebCoreSupport/FrameLoaderClientGtk.h:
2869 2011-09-15 Adam Barth <abarth@webkit.org>
2871 Rename ENABLE(DATABASE) to ENABLE(SQL_DATABASE)
2872 https://bugs.webkit.org/show_bug.cgi?id=68205
2874 Reviewed by Eric Seidel.
2876 * WebCoreSupport/ChromeClientGtk.cpp:
2877 * WebCoreSupport/ChromeClientGtk.h:
2878 * webkit/webkitsecurityorigin.cpp:
2879 (webkit_security_origin_get_web_database_usage):
2880 (webkit_security_origin_get_web_database_quota):
2881 (webkit_security_origin_set_web_database_quota):
2882 (webkit_security_origin_get_all_web_databases):
2883 * webkit/webkitwebdatabase.cpp:
2884 (webkit_web_database_get_display_name):
2885 (webkit_web_database_get_expected_size):
2886 (webkit_web_database_get_size):
2887 (webkit_web_database_get_filename):
2888 (webkit_web_database_remove):
2889 (webkit_remove_all_web_databases):
2890 (webkit_get_web_database_directory_path):
2891 (webkit_set_web_database_directory_path):
2892 * webkit/webkitwebview.cpp:
2893 (webkit_web_view_update_settings):
2894 (webkit_web_view_settings_notify):
2896 2011-09-10 Adam Barth <abarth@webkit.org>
2900 * webkit/webkitwebview.cpp:
2901 (webkit_web_view_get_encoding):
2903 2011-09-09 Fady Samuel <fsamuel@chromium.org>
2905 Move pageScaleFactor code from Frame.{h|cpp} to Page.{h|cpp}
2906 https://bugs.webkit.org/show_bug.cgi?id=67250
2908 Reviewed by Simon Fraser.
2910 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
2911 (DumpRenderTreeSupportGtk::scalePageBy):
2913 2011-09-08 Daniel Bates <dbates@webkit.org>
2915 Fix the GTK build after <http://trac.webkit.org/changeset/94810>
2916 (https://bugs.webkit.org/show_bug.cgi?id=67807).
2918 * webkit/webkitwebview.cpp:
2919 (webkit_web_view_get_encoding): Substitute DocumentWriter::deprecatedFrameEncoding() for
2920 DocumentWriter::encoding().
2922 2011-09-06 Ryosuke Niwa <rniwa@webkit.org>
2924 Rename confirmCompositionWithoutDisturbingSelection to cancelComposition
2925 https://bugs.webkit.org/show_bug.cgi?id=67569
2927 Reviewed by Antonio Gomes.
2929 * WebCoreSupport/EditorClientGtk.cpp:
2930 (WebKit::EditorClient::respondToChangedSelection):
2932 2011-08-30 Sheriff Bot <webkit.review.bot@gmail.com>
2934 Unreviewed, rolling out r94142, r94144, r94145, and r94148.
2935 http://trac.webkit.org/changeset/94142
2936 http://trac.webkit.org/changeset/94144
2937 http://trac.webkit.org/changeset/94145
2938 http://trac.webkit.org/changeset/94148
2939 https://bugs.webkit.org/show_bug.cgi?id=67262
2941 Broke isindex element (Requested by rniwa on #webkit).
2943 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
2944 (DumpRenderTreeSupportGtk::setAutofilled):
2945 (DumpRenderTreeSupportGtk::setValueForUser):
2947 2011-08-30 Ryosuke Niwa <rniwa@webkit.org>
2949 GTK build fix after r94142.
2951 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
2952 (DumpRenderTreeSupportGtk::setAutofilled):
2953 (DumpRenderTreeSupportGtk::setValueForUser):
2955 2011-08-30 Kaustubh Atrawalkar <kaustubh@motorola.com>
2957 The unused ScrollView* argument can and should be removed from
2959 https://bugs.webkit.org/show_bug.cgi?id=67117
2961 Reviewed by Darin Adler.
2963 * WebCoreSupport/ChromeClientGtk.h:
2964 (WebKit::ChromeClient::scrollRectIntoView):
2966 2011-08-26 Gustavo Noronha Silva <gns@gnome.org>
2968 Minor style fix in the sample code for WebKitWebFrame.
2970 * webkit/webkitwebframe.cpp:
2972 2011-08-17 Alejandro G. Castro <alex@igalia.com>
2974 [GTK] Fix compilation problems with deprecations in gtk+
2975 https://bugs.webkit.org/show_bug.cgi?id=66073
2977 Reviewed by Martin Robinson.
2979 * WebCoreSupport/FullscreenVideoController.cpp:
2980 (FullscreenVideoController::createHud): Added gtk_box_new
2981 conditional compilation for gtk+-3.
2983 2011-08-18 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
2985 [GTK] Change webview API tests to use "load-status" signal instead of "load-progress"
2986 https://bugs.webkit.org/show_bug.cgi?id=66243
2988 Reviewed by Martin Robinson.
2990 The idle_quit_loop_cb() already checks the "load-status" flag, so it is enough to
2991 call it only when the "load-status" change.
2993 This change is important in the context of bug 28851, which aims to change the
2994 order in which "progress finished" and "load finished" callbacks are called. In
2995 this new scenario, at the progress callback the load will never be finished.
2997 * tests/testwebview.c:
2998 (test_webkit_web_view_grab_focus):
3000 2011-08-17 Adam Roben <aroben@apple.com>
3002 Make WebCore keep track of the current device scale factor
3004 Fixes <http://webkit.org/b/66413> WebCore requires every WebKit port to keep track of the
3007 Reviewed by Darin Adler.
3009 * WebCoreSupport/ChromeClientGtk.cpp:
3010 * WebCoreSupport/ChromeClientGtk.h:
3011 Removed deviceScaleFactor.
3013 2011-08-16 Gustavo Noronha Silva <gustavo.noronha@collabora.com>
3015 Add javascriptcoregtk to the introspection build, to fix it.
3017 Reviewed by Xan Lopez.
3021 2011-08-15 Dmitry Titov <dimich@chromium.org>
3023 FrameLoaderClient::transferLoadingResourceFromPage does not have enough parameters
3024 https://bugs.webkit.org/show_bug.cgi?id=66165
3026 Reviewed by Darin Fisher.
3028 * WebCoreSupport/FrameLoaderClientGtk.cpp:
3029 (WebKit::FrameLoaderClient::transferLoadingResourceFromPage):
3030 * WebCoreSupport/FrameLoaderClientGtk.h:
3032 2011-08-10 Adam Roben <aroben@apple.com>
3034 Clear up scale factor terminology
3036 WebKit by and large deals with two scale factors: one intrinsic to the device on which the
3037 software is running, and one that is per-Page and can be controlled via API calls. This
3038 patch names the former "deviceScaleFactor" and the latter "pageScaleFactor", and makes the
3039 code use those names. It should introduce no behavior changes.
3041 Fixes <http://webkit.org/b/55787> WebKit uses multiple conflicting names to refer to the
3044 Reviewed by Simon Fraser.
3046 * WebCoreSupport/ChromeClientGtk.cpp:
3047 * WebCoreSupport/ChromeClientGtk.h:
3049 2011-08-11 Gustavo Noronha Silva <gns@gnome.org>
3051 Add the javascript core dynamic library for gtk-doc's introspection helper.
3053 Reviewed by Xan Lopez.
3055 * docs/GNUmakefile.am:
3057 2011-08-11 Xan Lopez <xlopez@igalia.com>
3059 [GTK] Update NEWS and configure.ac for 1.5.2 release
3061 Reviewed by Gustavo Noronha.
3063 * NEWS: update for release.
3065 2011-08-10 Gustavo Noronha Silva <gns@gnome.org>
3067 [GTK] wrong annotation for the return value of webkit_web_view_get_hit_test_results()
3068 https://bugs.webkit.org/show_bug.cgi?id=65985
3070 Reviewed by Xan Lopez.
3072 * webkit/webkitwebview.cpp:
3074 2011-08-03 Pavel Feldman <pfeldman@google.com>
3076 Web Inspector: [Timeline] Hover on paint events and see rect outline around that area.
3077 https://bugs.webkit.org/show_bug.cgi?id=65510
3079 Reviewed by Yury Semikhatsky.
3081 * webkit/webkitwebview.cpp:
3084 2011-08-03 Pavel Feldman <pfeldman@chromium.org>
3086 Web Inspector: remove Node parameter from the InspectorClient::highlight
3087 https://bugs.webkit.org/show_bug.cgi?id=65549
3089 Reviewed by Yury Semikhatsky.
3091 * WebCoreSupport/InspectorClientGtk.cpp:
3092 (WebKit::InspectorClient::highlight):
3093 * WebCoreSupport/InspectorClientGtk.h:
3095 2011-08-03 Carlos Garcia Campos <cgarcia@igalia.com>
3097 [GTK] Reorganize pkg-config files
3098 https://bugs.webkit.org/show_bug.cgi?id=65548
3100 Reviewed by Martin Robinson.
3102 * GNUmakefile.am: Remove javascriptcore pc file references.
3104 2011-07-30 Patrick Gansterer <paroga@webkit.org>
3106 Remove inclusion of MainThread.h from Threading.h
3107 https://bugs.webkit.org/show_bug.cgi?id=65081
3109 Reviewed by Darin Adler.
3111 Add missing include statements for MainThread.
3113 * webkit/webkitglobals.cpp:
3115 2011-07-26 Sadrul Habib Chowdhury <sadrul@chromium.org>
3117 Add support for download='filename' attribute in anchors.
3118 https://bugs.webkit.org/show_bug.cgi?id=64580
3120 Reviewed by Adam Barth.
3122 * WebCoreSupport/FrameLoaderClientGtk.cpp:
3123 (WebKit::FrameLoaderClient::startDownload):
3124 * WebCoreSupport/FrameLoaderClientGtk.h:
3126 2011-07-26 Carlos Garcia Campos <cgarcia@igalia.com>
3128 [GTK] Remove header webkitwebviewcommon.h
3129 https://bugs.webkit.org/show_bug.cgi?id=65177
3131 Reviewed by Martin Robinson.
3133 Move webkitwebviewcommon.h contents back to webkitwebview.h.
3135 * GNUmakefile.am: Remove webkitwebviewcommon.h
3136 * webkit/webkitwebview.h:
3137 * webkit/webkitwebviewcommon.h: Removed.
3139 2011-06-07 Martin Robinson <mrobinson@igalia.com>
3141 Reviewed by Gustavo Noronha Silva.
3143 [GTK] Use WebCore scrollbars for the DRT instead of GtkScrolledWindow
3144 https://bugs.webkit.org/show_bug.cgi?id=62252
3146 Added an undocumented self-scrolling property to WebKitWebView which
3147 communicates to WebCore whether or not this widget is expected to draw
3148 its own main frame scrollbars or not.
3150 * webkit/webkitwebview.cpp: Add the self-scrolling property.
3151 * webkit/webkitwebviewprivate.h: Add the selfScrolling private member.
3153 2011-07-11 Gustavo Noronha Silva <gns@gnome.org>
3155 [GTK] Google Calendar thinks we're mobile
3156 https://bugs.webkit.org/show_bug.cgi?id=63994
3158 Reviewed by Xan Lopez.
3160 Further special-case Google Calendar, for it thinks WebKit+Linux
3161 means mobile, so we also have to spoof the OS.
3163 * WebCoreSupport/FrameLoaderClientGtk.cpp:
3164 (WebKit::FrameLoaderClient::userAgent): use the new WebKitGTK+
3165 private API that centralizes the logic now.
3166 * tests/testwebsettings.c: Add tests to make sure the Google
3167 special-cases only apply for the expected domains and when quirks
3168 special-casing is enabled.
3169 (test_non_quirky_user_agents):
3170 (test_webkit_web_settings_user_agent):
3171 * webkit/webkitwebsettings.cpp:
3172 (webkitUserAgent): make it static.
3173 (safariUserAgent): returns a fake Safari in Mac OS X User-Agent.
3174 (initializeDomainsList): moved from FrameLoaderClientGtk.
3175 (isGoogleDomain):ditto.
3176 (isGoogleCalendar): ditto.
3177 (userAgentForURL): ditto.
3178 (webkitWebSettingsUserAgentForUri): centralize the whole
3179 user agent spoofing logic in this new private API that can be used
3180 by the browser to know what's going to happen for a specific URI
3181 and also allows our API testing.
3182 * webkit/webkitwebsettingsprivate.h:
3184 2011-07-15 Dan Bernstein <mitz@apple.com>
3186 REGRESSION: Mouse cursor doesn’t hide when full screen video HUD hides
3187 https://bugs.webkit.org/show_bug.cgi?id=64615
3189 Reviewed by Anders Carlsson.
3191 * WebCoreSupport/ChromeClientGtk.cpp:
3192 (WebKit::ChromeClient::setCursorHiddenUntilMouseMoves): Added this stub.
3193 * WebCoreSupport/ChromeClientGtk.h:
3195 2011-07-15 Martin Robinson <mrobinson@igalia.com>
3197 Build fixes for WebKit2. Ensure that all generated sources are
3198 on nodist primaries, that they are on forward declared variables
3199 so that BUILT_SOURCES is calculated properly and that zlib is
3200 included during linking (for WOFF support).
3204 2011-07-14 Lukasz Slachciak <l.slachciak@samsung.com>
3206 Reviewed by Gustavo Noronha.
3208 [GTK] Fix GTK unit tests failures when WebKit is build outside repository directory.
3209 https://bugs.webkit.org/show_bug.cgi?id=62935
3211 WebKit can be build with WEBKITOUTPUTDIR env variable set using build-webkit script.
3212 In this case WEBKITOUTPUDIR may be outside repository structure. This causes testmimehandling and testwebview
3213 to fail because they use external test files in WebKit Source directory.
3214 This bug fixes this issue introducing optional environment variable WEBKITREPODIR
3215 Also coding style in existing functions is fixed.
3218 * tests/test_utils.c: Coding style fixes.
3219 (testutils_relative_chdir): If WEBKITREPODIR is set, change current directory to it.
3220 * tests/test_utils.h: Coding style fixes.
3222 2011-07-12 Joseph Pecoraro <joepeck@webkit.org>
3224 ApplicationCache update should not immediately fail when reaching per-origin quota
3225 https://bugs.webkit.org/show_bug.cgi?id=64177
3227 Reviewed by Alexey Proskuryakov.
3229 * WebCoreSupport/ChromeClientGtk.cpp:
3230 (WebKit::ChromeClient::reachedApplicationCacheOriginQuota):
3231 * WebCoreSupport/ChromeClientGtk.h:
3233 2011-06-14 Mike Stegeman <mrstegeman@gmail.com>
3235 Add API to WebKit-GTK to allow setting localStorage database path
3236 https://bugs.webkit.org/show_bug.cgi?id=62091
3238 Reviewed by Martin Robinson and Gustavo Noronha.
3240 Expose the path of the localStorage databases through a setting
3241 to allow HTML5 localStorage to be persistent. New setting is:
3242 html5-local-storage-database-path
3244 * webkit/webkitwebsettings.cpp:
3245 (webkit_web_settings_class_init):
3246 (webkit_web_settings_set_property):
3247 (webkit_web_settings_get_property):
3248 * webkit/webkitwebsettingsprivate.h:
3249 * webkit/webkitwebview.cpp:
3250 (webkit_web_view_update_settings):
3251 (webkit_web_view_settings_notify):
3253 2011-07-08 Gustavo Noronha Silva <gustavo.noronha@collabora.com>
3255 [GTK] testwebview API test fails after http://trac.webkit.org/changeset/90471
3256 https://bugs.webkit.org/show_bug.cgi?id=64159
3258 Rework the icon-uri change test so that the condition for quitting
3259 the mainloop is the icon-uri change itself, along with a timeout
3260 to avoid taking too long in case of failure. Since the conditions
3261 for considering a page loaded were changed we can't rely on that
3262 for this test anymore.
3264 Reviewed by Xan Lopez.
3266 * tests/testwebview.c:
3267 (timeout_cb): error out if it takes too long for the icon-uri
3269 (icon_uri_changed_cb): quit the loop here instead of waiting on
3270 the page being loaded.
3271 (test_webkit_web_view_icon_uri):
3273 2011-07-01 Joone Hur <joone.hur@collabora.co.uk>
3275 Reviewed by Martin Robinson.
3277 [GTK] Add DeviceOrientation feature
3278 https://bugs.webkit.org/show_bug.cgi?id=63720
3280 Add empty implementation of DeviceMotionClient and DeviceOrientationClient callback methods.
3283 * WebCoreSupport/DeviceMotionClientGtk.cpp: Added.
3284 (WebCore::DeviceMotionClientGtk::DeviceMotionClientGtk):
3285 (WebCore::DeviceMotionClientGtk::~DeviceMotionClientGtk):
3286 (WebCore::DeviceMotionClientGtk::deviceMotionControllerDestroyed):
3287 (WebCore::DeviceMotionClientGtk::setController):
3288 (WebCore::DeviceMotionClientGtk::startUpdating):
3289 (WebCore::DeviceMotionClientGtk::stopUpdating):
3290 (WebCore::DeviceMotionClientGtk::currentDeviceMotion):
3291 * WebCoreSupport/DeviceMotionClientGtk.h: Added.
3292 * WebCoreSupport/DeviceOrientationClientGtk.cpp: Added.
3293 (WebCore::DeviceOrientationClientGtk::DeviceOrientationClientGtk):
3294 (WebCore::DeviceOrientationClientGtk::~DeviceOrientationClientGtk):
3295 (WebCore::DeviceOrientationClientGtk::deviceOrientationControllerDestroyed):
3296 (WebCore::DeviceOrientationClientGtk::setController):
3297 (WebCore::DeviceOrientationClientGtk::startUpdating):
3298 (WebCore::DeviceOrientationClientGtk::stopUpdating):
3299 (WebCore::DeviceOrientationClientGtk::lastOrientation):
3300 * WebCoreSupport/DeviceOrientationClientGtk.h: Added.
3301 * webkit/webkitwebview.cpp:
3302 (webkit_web_view_init):
3304 2011-06-28 Joone Hur <joone.hur@collabora.co.uk>
3306 Reviewed by Martin Robinson.
3308 [GTK] Allow to build WebKitGtk+ with accelerated compositing
3309 https://bugs.webkit.org/show_bug.cgi?id=63404
3311 WebKitGtk+ needs to implement accelerated compositing for running CSS3 3D transforms
3312 and animation through GPU acceleration. We could implement GraphicsLayer using Clutter.
3314 * WebCoreSupport/ChromeClientGtk.cpp:
3315 (WebKit::ChromeClient::attachRootGraphicsLayer): not implemented yet.
3316 (WebKit::ChromeClient::setNeedsOneShotDrawingSynchronization): Ditto.
3317 (WebKit::ChromeClient::scheduleCompositingLayerSync): Ditto.
3318 (WebKit::ChromeClient::allowedCompositingTriggers): Ditto.
3319 * WebCoreSupport/ChromeClientGtk.h:
3321 2011-06-27 ChangSeok Oh <shivamidow@gmail.com>
3323 Reviewed by Martin Robinson.
3325 [GTK] Fix build break to support webgl
3326 https://bugs.webkit.org/show_bug.cgi?id=63425
3328 A member variable enableWebGL in WebKitWebSettingsPrivate is changed to enableWebgl
3330 * webkit/webkitwebview.cpp:
3331 (webkit_web_view_update_settings):
3333 2011-06-24 Dominic Cooney <dominicc@chromium.org>
3335 Reviewed by Dimitri Glazkov.
3337 Convert shadow DOM-related tests to use window.internals
3338 https://bugs.webkit.org/show_bug.cgi?id=61671
3340 Remove shadow-DOM related methods from GTK DRT API. These are not
3343 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
3344 * WebCoreSupport/DumpRenderTreeSupportGtk.h:
3346 2011-06-20 Dimitri Glazkov <dglazkov@chromium.org>
3348 Reviewed by Kent Tamura.
3350 FileChooser should be only created when we need to choose files.
3351 https://bugs.webkit.org/show_bug.cgi?id=63039
3353 * WebCoreSupport/ChromeClientGtk.cpp:
3354 (WebKit::ChromeClient::runOpenPanel): Changed to use settings.
3356 2011-06-22 Carlos Garcia Campos <cgarcia@igalia.com>
3358 Reviewed by Xan Lopez.
3360 [GTK] Make sure libsoup password manager macro is defined before including libsoup in webkitsoupauthdialog
3361 https://bugs.webkit.org/show_bug.cgi?id=63124
3363 Fixes a crash when building with --enable-debug.
3365 * webkit/webkitsoupauthdialog.h: Define
3366 LIBSOUP_I_HAVE_READ_BUG_594377_AND_KNOW_SOUP_PASSWORD_MANAGER_MIGHT_GO_AWAY
3367 before including libsoup.h.
3369 2011-06-10 Martin Robinson <mrobinson@igalia.com>
3371 Reviewed by Xan Lopez.
3373 [GTK] webkit_web_settings_copy does not copy all settings
3374 https://bugs.webkit.org/show_bug.cgi?id=62424
3376 Instead of trying to keep webkit_web_settings_copy up to date with
3377 property additions, create the object copy by dynamically initializing
3378 all webkit_web_settings properties at once.
3380 * tests/testwebsettings.c:
3381 (test_webkit_web_settings_copy): Create a test for webkit_web_settings copy.
3382 (main): Run the new test.
3383 * webkit/webkitwebsettings.cpp:
3384 (webkit_web_settings_copy): Dynamically initialize all properties of the copy.
3386 2011-06-20 Martin Robinson <mrobinson@igalia.com>
3388 Reviewed by Eric Seidel.
3390 [GTK] Clean up unecessary boilerplate from WebKitWebSettings and make private members meet WebKit style guidelines
3391 https://bugs.webkit.org/show_bug.cgi?id=61972
3393 Rename all private members of WebKitWebSettings to meet WebKit style guidelines and
3394 put the private struct definition in webkitwebsettingsprivate.h so it can be
3395 accessed from webkitwebview.cpp. This cuts down on the boilerplate immensely.
3397 * webkit/webkitwebsettings.cpp: Rename private members to meet WebKit style guidelines
3398 and allocate the private section with new/delete. This allows for using CString and removes
3399 the need for manual string memory management.
3400 * webkit/webkitwebsettingsprivate.h: Move the private struct definition here.
3401 * webkit/webkitwebview.cpp: Update to reflect new struct names. Remove boilerplate
3402 and other very small code cleanups.
3404 2011-06-20 Carlos Garcia Campos <cgarcia@igalia.com>
3406 Reviewed by Xan Lopez.
3408 [GTK] Split libWebCore into two libWebCore and libWebCoreGtk
3409 https://bugs.webkit.org/show_bug.cgi?id=60539
3411 * GNUmakefile.am: Link to libWebCoreGtk.la too.
3413 2011-06-18 Dimitri Glazkov <dglazkov@chromium.org>
3415 Reviewed by Darin Adler.
3417 Separate concerns of loading file icons and choosing files.
3418 https://bugs.webkit.org/show_bug.cgi?id=62931
3420 * WebCoreSupport/ChromeClientGtk.cpp:
3421 (WebKit::ChromeClient::loadIconForFiles): Renamed.
3422 * WebCoreSupport/ChromeClientGtk.h:
3424 2011-06-17 Joone Hur <joone.hur@collabora.co.uk>
3426 Reviewed by Martin Robinson.
3428 [GTK] Replace GdkRectangle by cairo_rectangle_int_t
3429 https://bugs.webkit.org/show_bug.cgi?id=60687
3431 Replace GdkRectangle by cairo_rectangle_int_t.
3433 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp: Replace GdkRectangle by cairo_rectangle_int_t.
3434 (DumpRenderTreeSupportGtk::firstRectForCharacterRange):
3435 (DumpRenderTreeSupportGtk::rectangleForSelection):
3436 * WebCoreSupport/DumpRenderTreeSupportGtk.h: Ditto.
3438 2011-06-16 Sheriff Bot <webkit.review.bot@gmail.com>
3440 Unreviewed, rolling out r89026.
3441 http://trac.webkit.org/changeset/89026
3442 https://bugs.webkit.org/show_bug.cgi?id=62804
3444 These patches were likely correct. I'll investigate the
3445 browser_test failures. (Requested by abarth on #webkit).
3447 * WebCoreSupport/FullscreenVideoController.cpp:
3448 (FullscreenVideoController::play):
3449 (FullscreenVideoController::pause):
3451 2011-06-16 Vitaly Repeshko <vitalyr@chromium.org>
3455 Revert Adam's user gesture patch series r89002, r89005, r89007, r89018
3456 https://bugs.webkit.org/show_bug.cgi?id=62796
3458 The patches broke chromium browser tests.
3459 2011-06-16 Adam Barth <abarth@webkit.org>
3461 Reviewed by Eric Seidel.
3463 Remove HTMLVideoElement::processingUserGesture
3464 https://bugs.webkit.org/show_bug.cgi?id=62784
3466 * WebCoreSupport/FullscreenVideoController.cpp:
3467 (FullscreenVideoController::play):
3468 (FullscreenVideoController::pause):
3470 2011-06-15 Claudio Saavedra <csaavedra@igalia.com>
3472 Reviewed by Xan Lopez.
3474 [GTK] Fix the build with introspection enabled
3475 https://bugs.webkit.org/show_bug.cgi?id=62705
3477 * GNUmakefile.am: Remove include of *.c files, since
3478 there are no such files anymore.
3480 2011-06-14 Xan Lopez <xlopez@igalia.com>
3482 Reviewed by Martin Robinson.
3484 [GTK] Remove G_CONST_RETURN usage
3485 https://bugs.webkit.org/show_bug.cgi?id=62673
3487 Change G_CONST_RETURN for a simple "const" throughout the
3488 codebase, since G_CONST_RETURN is deprecated now. This should be
3489 totally equivalent since for all practical purposes the macro is
3490 always expanded to const.
3492 * webkit/webkitapplicationcache.cpp:
3493 (webkit_application_cache_get_database_directory_path): use const
3494 instead of G_CONST_RETURN.
3495 * webkit/webkitapplicationcache.h:
3496 * webkit/webkiticondatabase.cpp:
3497 (webkit_icon_database_get_path): ditto.
3498 * webkit/webkiticondatabase.h:
3499 * webkit/webkitnetworkrequest.cpp:
3500 (webkit_network_request_get_uri): ditto.
3501 * webkit/webkitnetworkrequest.h:
3502 * webkit/webkitnetworkresponse.cpp:
3503 (webkit_network_response_get_uri): ditto.
3504 * webkit/webkitnetworkresponse.h:
3505 * webkit/webkitsecurityorigin.cpp:
3506 (webkit_security_origin_get_protocol): ditto.
3507 (webkit_security_origin_get_host): ditto.
3508 * webkit/webkitsecurityorigin.h:
3509 * webkit/webkitwebdatabase.cpp:
3510 (webkit_web_database_get_name): ditto.
3511 (webkit_web_database_get_display_name): ditto.
3512 (webkit_web_database_get_filename): ditto.
3513 (webkit_get_web_database_directory_path): ditto.
3514 * webkit/webkitwebdatabase.h:
3515 * webkit/webkitwebdatasource.cpp:
3516 (webkit_web_data_source_get_encoding): ditto.
3517 (webkit_web_data_source_get_unreachable_uri): ditto.
3518 * webkit/webkitwebdatasource.h:
3519 * webkit/webkitwebframe.cpp:
3520 (webkit_web_frame_get_title): ditto.
3521 (webkit_web_frame_get_uri): ditto.
3522 (webkit_web_frame_get_name): ditto.
3523 * webkit/webkitwebframe.h:
3524 * webkit/webkitwebhistoryitem.cpp:
3525 (webkit_web_history_item_get_title): ditto.
3526 (webkit_web_history_item_get_alternate_title): ditto.
3527 (webkit_web_history_item_get_uri): ditto.
3528 (webkit_web_history_item_get_original_uri): ditto.
3529 (webkit_web_history_item_get_target): ditto.
3530 * webkit/webkitwebhistoryitem.h:
3531 * webkit/webkitwebhistoryitemprivate.h:
3532 * webkit/webkitwebnavigationaction.cpp:
3533 (webkit_web_navigation_action_get_target_frame): ditto.
3534 * webkit/webkitwebnavigationaction.h:
3535 * webkit/webkitwebresource.cpp:
3536 (webkit_web_resource_get_uri): ditto.
3537 (webkit_web_resource_get_mime_type): ditto.
3538 (webkit_web_resource_get_encoding): ditto.
3539 (webkit_web_resource_get_frame_name): ditto.