1 2012-04-20 Zan Dobersek <zandobersek@gmail.com>
3 [Gtk][WK1] Use mock scrollbars when testing
4 https://bugs.webkit.org/show_bug.cgi?id=79577
6 Reviewed by Daniel Bates.
8 Enable mock scrollbars if running DumpRenderTree.
10 * webkit/webkitwebview.cpp:
11 (webkit_web_view_update_settings):
13 2012-04-18 Sheriff Bot <webkit.review.bot@gmail.com>
15 Unreviewed, rolling out r114506.
16 http://trac.webkit.org/changeset/114506
17 https://bugs.webkit.org/show_bug.cgi?id=84254
19 Seems to be making gtk's DumpRenderTree crash occasionally
20 (Requested by tomz on #webkit).
22 * webkit/webkitwebsettings.cpp:
23 (webkit_web_settings_class_init):
24 (webkit_web_settings_set_property):
25 (webkit_web_settings_get_property):
26 * webkit/webkitwebsettingsprivate.h:
27 * webkit/webkitwebview.cpp:
28 (webkit_web_view_update_settings):
29 (webkit_web_view_settings_notify):
31 2012-04-18 Simon Pena <spena@igalia.com>
33 [GTK] r114021 triggered media flakyness
34 https://bugs.webkit.org/show_bug.cgi?id=83874
36 Reviewed by Philippe Normand.
38 When the MediaPlaybackRequiresUserGesture setting was added, no gtk
39 API was implemented to access it.
41 This adds a property to gtk WebKit WebSettings, and connects it to
42 WebKit WebView, thus allowing clients to programmatically modify it.
44 * webkit/webkitwebsettings.cpp:
45 (webkit_web_settings_class_init):
46 (webkit_web_settings_set_property):
47 (webkit_web_settings_get_property):
48 * webkit/webkitwebsettingsprivate.h:
49 * webkit/webkitwebview.cpp:
50 (webkit_web_view_update_settings):
51 (webkit_web_view_settings_notify):
53 2012-04-17 Carlos Garnacho <carlos@lanedo.com>
55 [GTK] Enable back double buffering on WebKitWebView to fix flickering
56 https://bugs.webkit.org/show_bug.cgi?id=84149
58 Reviewed by Martin Robinson.
60 Despite having WebKitWebView its own backing buffer, calling
61 gtk_widget_set_double_buffered(...,FALSE) may still pose side
62 effects, such as ensuring that all drawing operations are
63 flushed to the X server before rendering a non-double buffered
64 widget, which may translate into flickering of the parent
65 GdkWindow before the WebKitWebView itself is rendered.
67 Enabling back double buffering solves this as all contents are
68 first composited together before getting to the front buffer,
69 but effectively acts as 3rd buffer. This is sort of unavoidable
70 unless GTK+ gains a "let me take ownership of the backing buffer
71 for this widget", which currently lacks.
73 * webkit/webkitwebview.cpp:
74 (webkit_web_view_init): Remove call to gtk_widget_set_double_buffered(..., FALSE)
76 2012-04-06 Martin Robinson <mrobinson@igalia.com>
78 [GTK] Accelerated compositing is broken after recent TextureMapper reorganizations
79 https://bugs.webkit.org/show_bug.cgi?id=83393
81 Reviewed by Noam Rosenthal.
83 Ensure that the layer tree is synced when the root layer is resized.
85 * WebCoreSupport/AcceleratedCompositingContextGL.cpp:
86 (WebKit::AcceleratedCompositingContext::resizeRootLayer): Ensure that the layer
87 tree is synced when the root layer resizes and remove a call to recomposite
88 the tree, as it happens anyway.
90 2012-04-05 Martin Robinson <mrobinson@igalia.com>
92 [GTK] Scrolling some iframes that are partially out of the viewport leads to repaint errors
93 https://bugs.webkit.org/show_bug.cgi?id=83309
95 Reviewed by Gustavo Noronha Silva.
97 Instead of only updating scrollRect - preservedRegion, update
98 scrollRect - (preservedRegion - offscreenPreservedRegion). This ensures that
99 when part of the scroll rect is moved onscreen from offscreen that part is
102 * WebCoreSupport/ChromeClientGtk.cpp:
103 (WebKit::ChromeClient::scroll): Properly calculate the area to repaint.
105 2012-04-04 Mariusz Grzegorczyk <mariusz.g@samsung.com>
107 Fix build break when CONTEXT_MENUS is disabled.
108 https://bugs.webkit.org/show_bug.cgi?id=82342
110 Reviewed by Andreas Kling.
112 Fixes build break in WebKit-Gtk, and WebKit-EFL ports when CONTEXT_MENUS macro is disabled.
114 * WebCoreSupport/ContextMenuClientGtk.cpp:
115 * WebCoreSupport/ContextMenuClientGtk.h:
116 * webkit/webkitglobals.cpp:
117 (webkit_context_menu_item_get_action):
118 * webkit/webkitwebview.cpp:
119 (webkit_web_view_button_press_event):
120 (webkit_web_view_class_init):
121 (webkit_web_view_init):
123 2012-04-03 Simon Pena <spena@igalia.com>
125 [GTK] DRT missing didRunInsecureContent notification
126 https://bugs.webkit.org/show_bug.cgi?id=59367
128 Reviewed by Philippe Normand.
130 Add a new signal "insecure-content-run" to the WebFrame to notify
131 when insecure HTTP content (such as CSS, an iframe or a script) is
132 run from a secure HTTPS WebFrame. Implement didRunInsecureContent
133 in gtk's FrameLoaderClient by means of emitting that signal.
135 * WebCoreSupport/FrameLoaderClientGtk.cpp: Implement
136 didRunInsecureContent by emitting WebFrame's
137 "insecure-content-run" signal
138 (WebKit::FrameLoaderClient::didRunInsecureContent):
139 * webkit/webkitwebframe.cpp: Add "insecure-content-run" signal
140 (webkit_web_frame_class_init):
142 2012-03-30 Mark Pilgrim <pilgrim@chromium.org>
144 GEOLOCATION should be implemented as Page Supplement
145 https://bugs.webkit.org/show_bug.cgi?id=82228
147 Reviewed by Adam Barth.
149 Geolocation is now a Supplement in Page so the interface
150 has changed for setting up the page's geolocation client
151 initially and accessing the controller later.
153 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
154 (DumpRenderTreeSupportGtk::resetGeolocationClientMock):
155 (DumpRenderTreeSupportGtk::setMockGeolocationPermission):
156 (DumpRenderTreeSupportGtk::setMockGeolocationPosition):
157 (DumpRenderTreeSupportGtk::setMockGeolocationError):
158 (DumpRenderTreeSupportGtk::numberOfPendingGeolocationPermissionRequests):
159 * WebCoreSupport/GeolocationClientGtk.cpp:
160 (WebKit::GeolocationClient::updatePosition):
161 (WebKit::GeolocationClient::errorOccured):
162 * webkit/webkitwebview.cpp:
163 (webkit_web_view_init):
165 2012-03-29 Sheriff Bot <webkit.review.bot@gmail.com>
167 Unreviewed, rolling out r112553.
168 http://trac.webkit.org/changeset/112553
169 https://bugs.webkit.org/show_bug.cgi?id=82638
171 It made all tests crash on Qt WK2 (Requested by Ossy_away on
174 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
175 (DumpRenderTreeSupportGtk::resetGeolocationClientMock):
176 (DumpRenderTreeSupportGtk::setMockGeolocationPermission):
177 (DumpRenderTreeSupportGtk::setMockGeolocationPosition):
178 (DumpRenderTreeSupportGtk::setMockGeolocationError):
179 (DumpRenderTreeSupportGtk::numberOfPendingGeolocationPermissionRequests):
180 * WebCoreSupport/GeolocationClientGtk.cpp:
181 (WebKit::GeolocationClient::updatePosition):
182 (WebKit::GeolocationClient::errorOccured):
183 * webkit/webkitwebview.cpp:
184 (webkit_web_view_init):
186 2012-03-29 Mark Pilgrim <pilgrim@chromium.org>
188 GEOLOCATION should be implemented as Page Supplement
189 https://bugs.webkit.org/show_bug.cgi?id=82228
191 Reviewed by Adam Barth.
193 Geolocation is now a Supplement in Page so the interface
194 has changed for setting up the page's geolocation client
195 initially and accessing the controller later.
197 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
198 (DumpRenderTreeSupportGtk::resetGeolocationClientMock):
199 (DumpRenderTreeSupportGtk::setMockGeolocationPermission):
200 (DumpRenderTreeSupportGtk::setMockGeolocationPosition):
201 (DumpRenderTreeSupportGtk::setMockGeolocationError):
202 (DumpRenderTreeSupportGtk::numberOfPendingGeolocationPermissionRequests):
203 * WebCoreSupport/GeolocationClientGtk.cpp:
204 (WebKit::GeolocationClient::updatePosition):
205 (WebKit::GeolocationClient::errorOccured):
206 * webkit/webkitwebview.cpp:
207 (webkit_web_view_init):
209 2012-03-28 Nate Chapin <japhet@chromium.org>
211 Remove dispatchDidLoadMainResource callback, since no
213 https://bugs.webkit.org/show_bug.cgi?id=82539
215 Reviewed by Alexey Proskuryakov.
217 * WebCoreSupport/FrameLoaderClientGtk.cpp:
219 * WebCoreSupport/FrameLoaderClientGtk.h:
222 2012-03-28 Carlos Garcia Campos <cgarcia@igalia.com>
224 [GTK] Implement PlatformStrategies
225 https://bugs.webkit.org/show_bug.cgi?id=82454
227 Reviewed by Xan Lopez.
229 * GNUmakefile.am: Add new files to compilation.
230 * WebCoreSupport/PlatformStrategiesGtk.cpp: Added.
231 (PlatformStrategiesGtk::initialize): Initialize platform
233 (PlatformStrategiesGtk::PlatformStrategiesGtk):
234 (PlatformStrategiesGtk::createCookiesStrategy): Return this.
235 (PlatformStrategiesGtk::createPluginStrategy): Ditto.
236 (PlatformStrategiesGtk::createVisitedLinkStrategy): Ditto.
237 (PlatformStrategiesGtk::createPasteboardStrategy): Return 0, since
238 PasteboardStrategy is only used by mac code for now.
239 (PlatformStrategiesGtk::notifyCookiesChanged):
240 (PlatformStrategiesGtk::refreshPlugins): Refresh the plugin
242 (PlatformStrategiesGtk::getPluginInfo): Initialize plugins and
243 populate the given vector with plugins information.
244 (PlatformStrategiesGtk::isLinkVisited): Return whether the given
245 hash is a visited link of the page group.
246 (PlatformStrategiesGtk::addVisitedLink): Add the given hash to the
247 page group visited links.
248 * WebCoreSupport/PlatformStrategiesGtk.h: Added.
249 * webkit/webkitglobals.cpp:
250 (webkitInit): Initialize PlatformStrategiesGtk.
252 2012-03-26 Joone Hur <joone.hur@collabora.co.uk>
254 [GTK] Build fix for Accelerated Compositing with Clutter
255 https://bugs.webkit.org/show_bug.cgi?id=81785
257 Reviewed by Martin Robinson.
259 AcceleratedCompositingContext was introduced to isolate different accelerated
260 compositing implementations(r104194), but the Clutter implementation doesn't
261 build with it. This fixes the build error.
263 * WebCoreSupport/AcceleratedCompositingContext.h:
264 (AcceleratedCompositingContext):
265 * WebCoreSupport/AcceleratedCompositingContextClutter.cpp:
266 (WebKit::AcceleratedCompositingContext::AcceleratedCompositingContext):
267 (WebKit::AcceleratedCompositingContext::renderLayersToWindow):
268 (WebKit::AcceleratedCompositingContext::resizeRootLayer):
269 (WebKit::AcceleratedCompositingContext::syncLayersNow):
270 (WebKit::AcceleratedCompositingContext::syncLayersTimeout):
273 2012-03-26 Gary Kramlich <grim@reaperworld.com>
275 WebKitWebView signals with GError parameters cause crashes when using GObject Introspection
276 https://bugs.webkit.org/show_bug.cgi?id=81977
278 Reviewed by Martin Robinson.
280 Added marshalers for BOOLEAN:OBJECT,STRING,BOXED and VOID:OBJECT,OBJECT,BOXED
281 and changed the signal signatures for WebKitWebView::load-fail and
282 WebKitWebView::resource-load-failed to use the new marshalers since
283 GError has been a GBoxed type since Gtk 2.26. This fixes these signals
284 for the gobject-introspection bindings.
286 * webkit/webkitwebview.cpp:
287 (webkit_web_view_class_init):
288 * webkitmarshal.list:
290 2012-03-24 Martin Robinson <mrobinson@igalia.com>
292 [GTK] Replace occurrences of "uri" in the documentation with "URI"
293 https://bugs.webkit.org/show_bug.cgi?id=82025
295 Reviewed by Gustavo Noronha Silva.
297 In documentation "uri" should really be written as "URI" so
298 we should fix all existing strings.
300 * webkit/webkitdownload.cpp: Replace "uri" with "URI."
301 * webkit/webkitnetworkrequest.cpp: Ditto.
302 * webkit/webkitnetworkresponse.cpp: Ditto.
303 * webkit/webkitwebhistoryitem.cpp: Ditto.
304 * webkit/webkitwebresource.cpp: Ditto.
305 (webkit_web_resource_class_init):
307 2012-03-23 Zan Dobersek <zandobersek@gmail.com>
309 [Gtk] Webkit fails to build with --disable-geolocation
310 https://bugs.webkit.org/show_bug.cgi?id=81451
312 Reviewed by Benjamin Poulain.
314 Wrap uses of WebCore::Geolocation in WebKitGeolocationPolicyDecision
315 and WebKitWebView in ifdefs, removing compilation errors when compiling
316 with geolocation support disabled. Affected public API methods are then
317 stubs, throwing a warning that feature was not enabled at compile-time.
319 * webkit/webkitgeolocationpolicydecision.cpp:
320 (_WebKitGeolocationPolicyDecisionPrivate):
321 (webkit_geolocation_policy_decision_new):
322 (webkit_geolocation_policy_allow):
323 (webkit_geolocation_policy_deny):
324 * webkit/webkitgeolocationpolicydecisionprivate.h:
325 * webkit/webkitwebview.cpp:
326 (webkit_web_view_init):
328 2012-03-23 Zan Dobersek <zandobersek@gmail.com>
330 [GObject bindings] Supplemental interfaces are not disabled with the "Conditional" attribute
331 https://bugs.webkit.org/show_bug.cgi?id=80030
333 Reviewed by Martin Robinson.
335 Add a private macro that can be used when necessary to throw a warning
336 about a future not enabled at compile-time.
338 * webkit/webkitglobalsprivate.h:
340 2012-03-23 Carlos Garcia Campos <cgarcia@igalia.com>
342 [GTK] Add a way to expose well known names for items in the default context menu
343 https://bugs.webkit.org/show_bug.cgi?id=67660
345 Reviewed by Martin Robinson.
347 Add WebKitContextMenuAction enum containing all possible context
350 * GNUmakefile.am: Add new files to compilation.
351 * WebCoreSupport/ContextMenuClientGtk.cpp:
352 (WebKit::inputMethodsMenuItem): Use WebCore context menu classes
353 to create the context menu and its items to make sure all items
354 have a GtkAction associated.
355 (WebKit::insertControlCharacter):
356 (WebKit::unicodeMenuItem): Ditto.
357 * tests/testcontextmenu.c: Added.
360 (contextMenuFixtureSetup):
361 (contextMenuFixtureTeardown):
363 (checkActionWithSubmenu):
365 (contextMenuCallback):
367 (loadStatusCallback):
370 (contextMenuCustomItemCallback):
371 (testContextMenuCustomItem):
373 * webkit/webkitglobals.cpp:
374 (webkit_context_menu_item_get_action): Return the
375 WebKitContextMenuAction for the given context menu item.
376 * webkit/webkitglobals.h:
378 2012-03-23 Carlos Garcia Campos <cgarcia@igalia.com>
380 Unreviewed. Rename a variable name in API documentation.
382 Rename keyboard_mode to triggered_with_keyboard in
383 WebKitWebView::context-menu signal documentation as suggested by
384 Martin and Gustavo. I forgot to make this change before landing
387 * webkit/webkitwebview.cpp:
388 (webkit_web_view_class_init):
390 2012-03-23 Carlos Garcia Campos <cgarcia@igalia.com>
392 [GTK] Add a signal to allow applications to handle its own context menu
393 https://bugs.webkit.org/show_bug.cgi?id=49904
395 Reviewed by Gustavo Noronha Silva.
397 * tests/testhittestresult.c:
398 (load_status_cb): Test x, y properties of WebKitHitTestResult.
399 * webkit/webkithittestresult.cpp:
400 (webkit_hit_test_result_get_property):
401 (webkit_hit_test_result_set_property):
402 (webkit_hit_test_result_class_init): Add x and y construct only
403 properties to keep the coordinates of the event relative to view's
406 * webkit/webkitwebsettings.cpp:
407 (webkit_web_settings_class_init): Mark enable-default-context-menu
408 property as deprecated.
409 * webkit/webkitwebview.cpp:
410 (prepareMouseEventForFrame):
411 (defaultContextMenuEnabled): Helper function to check whether
412 default context menu setting is enabled or not.
413 (webkit_web_view_forward_context_menu_event): Emit the new
415 (webkit_web_view_popup_menu_handler):
416 (webkit_web_view_button_press_event):
417 (webkit_web_view_class_init): Add new context-menu signal and mark
418 populate-popup as deprecated.
419 * webkitmarshal.list:
421 2012-03-23 Carlos Garcia Campos <cgarcia@igalia.com>
423 Unreviewed. Fix GTK+ build after r111707.
425 * WebCoreSupport/UserMediaClientGtk.h:
427 2012-03-22 Mao Yujie <yujie.mao@intel.com>
429 [GTK] Add MediaStream feature to avoid MediaStream test failure
430 https://bugs.webkit.org/show_bug.cgi?id=81727
432 Reviewed by Martin Robinson.
435 * WebCoreSupport/UserMediaClientGtk.cpp: Added.
437 (WebKit::UserMediaClientGtk::UserMediaClientGtk):
438 (WebKit::UserMediaClientGtk::~UserMediaClientGtk):
439 (WebKit::UserMediaClientGtk::pageDestroyed):
440 (WebKit::UserMediaClientGtk::requestUserMedia):
441 (WebKit::UserMediaClientGtk::cancelUserMediaRequest):
442 * WebCoreSupport/UserMediaClientGtk.h: Added.
444 (UserMediaClientGtk):
445 * webkit/webkitwebview.cpp:
446 (webkit_web_view_init):
448 2012-03-22 Sergio Villar Senin <svillar@igalia.com>
450 [GTK] icon database requests not dispatched until new data arrives
451 https://bugs.webkit.org/show_bug.cgi?id=81665
453 Reviewed by Martin Robinson.
455 Wait for the import to finish before reporting that the favicon
456 cache does not have a pixbuf for an URL.
458 Changes already covered by the favicon database unit tests.
460 * webkit/webkitfavicondatabase.cpp:
461 (webkit_favicon_database_get_favicon_pixbuf):
463 2012-03-22 Carlos Garcia Campos <cgarcia@bb-webkit-rel-64.local.igalia.com>
465 [GTK] Use the angle-bracket form to include wtf headers
466 https://bugs.webkit.org/show_bug.cgi?id=81884
468 Reviewed by Eric Seidel.
470 Use #include <wtf/foo> instead of #include "foo".
472 * WebCoreSupport/DocumentLoaderGtk.cpp:
473 * WebCoreSupport/DragClientGtk.h:
474 * WebCoreSupport/FrameLoaderClientGtk.cpp:
475 * WebCoreSupport/FullscreenVideoController.h:
476 * WebCoreSupport/GeolocationClientGtk.h:
477 * WebCoreSupport/InspectorClientGtk.h:
478 * WebCoreSupport/TextCheckerClientGtk.cpp:
479 * WebCoreSupport/TextCheckerClientGtk.h:
480 * webkit/webkitdownload.cpp:
481 * webkit/webkitfavicondatabase.cpp:
482 * webkit/webkitglobals.cpp:
483 * webkit/webkithittestresult.cpp:
484 * webkit/webkitnetworkrequest.cpp:
485 * webkit/webkitnetworkresponse.cpp:
486 * webkit/webkitspellcheckerenchant.cpp:
487 * webkit/webkitwebdatasourceprivate.h:
488 * webkit/webkitwebsettings.cpp:
489 * webkit/webkitwebsettingsprivate.h:
490 * webkit/webkitwebviewprivate.h:
492 2012-03-20 Gyuyoung Kim <gyuyoung.kim@samsung.com>
494 Convert hasSpellingMarker to use Internals interface.
495 https://bugs.webkit.org/show_bug.cgi?id=81300
497 Reviewed by Ryosuke Niwa.
499 Remove DumpRenderTreeSupportGtk::webkitWebFrameSelectionHasSpellingMarker support,
500 since it can support in the cross-port way through the Internals interface.
502 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
503 * WebCoreSupport/DumpRenderTreeSupportGtk.h:
504 (DumpRenderTreeSupportGtk):
506 2012-03-19 Adam Barth <abarth@webkit.org>
508 Remove support for "magic" iframe
509 https://bugs.webkit.org/show_bug.cgi?id=81590
511 Reviewed by Eric Seidel.
513 Remove FrameLoaderClient methods that no longer exist.
515 * WebCoreSupport/FrameLoaderClientGtk.cpp:
517 * WebCoreSupport/FrameLoaderClientGtk.h:
520 2012-03-19 Gustavo Noronha Silva <gns@gnome.org>
522 [GTK] libWebCore.la has become too big for make
523 https://bugs.webkit.org/show_bug.cgi?id=81582
525 Unreviewed build fix.
527 * GNUmakefile.am: link-in the new libDerivedWebCore.la
529 2012-03-16 Martin Robinson <mrobinson@igalia.com>
531 [GTK] Allow running run-gtk-tests during 'make dist'
532 https://bugs.webkit.org/show_bug.cgi?id=81415
534 Reviewed by Philippe Normand.
536 * GNUmakefile.am: Remove 'make check' rules from the makefile
537 Instead this functionality is now in the Tools makefile.
539 2012-03-16 Victor Lucero <victor.lucero@ipartner.cl>
541 [GTK] WebKitWebResource::load-failed uses the wrong marshaller
542 https://bugs.webkit.org/show_bug.cgi?id=81229
544 Reviewed by Philippe Normand.
546 * webkit/webkitwebresource.cpp:
547 (webkit_web_resource_class_init): load-failed signal in WebkitWebResource was using the wrong marshaller
549 2012-03-14 Landry Breuil <landry@openbsd.org>
551 WebKit/gtk/resources/error.html font-size error
552 https://bugs.webkit.org/show_bug.cgi?id=39232
554 Reviewed by Martin Robinson.
556 Fix font-size in the 404 error page. Apparently the % is filtered out,
557 so 120% becomes 120 and the error message is huge. Experienced in epiphany.
559 * resources/error.html: Double the % so it doesn't get filtered
561 2012-03-16 Carlos Garcia Campos <cgarcia@igalia.com> and Sergio Villar Senin <svillar@igalia.com>
563 [GTK] WebKitIconDatabase doesn't keep icons cached
564 https://bugs.webkit.org/show_bug.cgi?id=56200
566 Reviewed by Martin Robinson.
568 * GNUmakefile.am: Added new files to compilation.
569 * WebCoreSupport/FrameLoaderClientGtk.cpp:
570 (WebKit::FrameLoaderClient::registerForIconNotification): instruct
571 the WebView to listen to IconDatabase's notifications.
572 (WebKit::FrameLoaderClient::dispatchDidReceiveIcon): ask both
573 WebView and IconDatabase to issue notifications for a new icon.
574 * docs/webkitgtk-docs.sgml: updated docs.
575 * docs/webkitgtk-sections.txt: ditto.
576 * docs/webkitgtk.types: ditto.
577 * tests/testicondatabase.c: Added.
579 (deleteDatabaseFileIfExists):
580 (testWebkitIconDatabaseSetPath):
581 (iconDatabaseGetIconValidCallback):
582 (iconDatabaseGetIconInvalidCallback):
583 (iconDatabaseGetIconCancelledCallback):
584 (mainLoopQuitIfLoadCompleted):
585 (idleQuitLoopCallback):
586 (webkitWebViewIconLoaded):
588 (faviconDatabaseGetFaviconValidIdle):
589 (faviconDatabaseGetFaviconInvalidIdle):
590 (faviconDatabaseGetFaviconCancelledIdle):
591 (testWebKitFaviconDatabaseGetFavicon):
592 (testWebKitFaviconDatabaseGetFaviconURI):
593 (testWebKitFaviconDatabaseRemoveAll):
594 (testWebKitFaviconDatabaseCloseDatabase):
596 * webkit/webkit.h: added new API.
597 * webkit/webkitdefines.h: added WebKitFaviconDatabase.
598 * webkit/webkitfavicondatabase.cpp:
599 (IconDatabaseClientGtk): IconDatabaseClient implementation.
600 (IconDatabaseClientGtk::performImport):
601 (IconDatabaseClientGtk::didRemoveAllIcons):
602 (IconDatabaseClientGtk::didImportIconURLForPageURL):
603 (IconDatabaseClientGtk::didImportIconDataForPageURL):
604 (IconDatabaseClientGtk::didChangeIconForPageURL):
605 (IconDatabaseClientGtk::didFinishURLImport):
606 (PendingIconRequest): machinery for asynchronous calls.
607 (PendingIconRequest::PendingIconRequest):
608 (PendingIconRequest::~PendingIconRequest):
609 (PendingIconRequest::pageURI):
610 (PendingIconRequest::asyncResult):
611 (PendingIconRequest::asyncResultCancel):
612 (PendingIconRequest::asyncResultCompleteInIdle):
613 (PendingIconRequest::asyncResultComplete):
614 (_WebKitIconDatabasePrivate):
615 (webkit_favicon_database_dispose): GObject stuff.
616 (webkit_favicon_database_set_property): ditto.
617 (webkit_favicon_database_get_property): ditto.
618 (webkit_favicon_database_class_init): ditto.
619 (webkit_favicon_database_init): ditto.
620 (webkitFaviconDatabaseNotifyAndUpdateExpiration): notify about new
621 icons and update expiration times.
622 (webkitFaviconDatabaseDispatchDidReceiveIcon): "protected" method
623 called by the FrameLoaderClient to inform about new icons.
624 (webkit_favicon_database_get_path): retrieves database path.
625 (selectQueryCallback): releases expired icons to let IconDatabase
627 (webkitFaviconDatabasePruneExpiredIcons): selects the icons to be
628 pruned by the IconDatabase.
629 (webkitFaviconDatabaseClose): close the database.
630 (createExpirationTimesDatabaseTableIfNotExists): creates the
631 database used to control expiration times.
632 (webkit_favicon_database_set_path): opens the database delaying the
633 cleanup of icons until the import is complete.
634 (webkit_favicon_database_get_favicon_uri): returns the uri of the
636 (getIconPixbufSynchronously): helper function to call
637 IconDatabase::synchronousIconURLForPageURL().
638 (webkit_favicon_database_try_get_favicon_pixbuf): returns the
639 favicon if exists and is loaded from disk.
640 (webkitFaviconDatabaseGetOrCreateRequests): helper function to get
641 the vector of pending requests for the given uri.
642 (webkitfavicondatabaseDeleteRequests): helper function to remove the
643 vector of pending requests for the given uri.
644 (getIconPixbufCancelled):
645 (webkitFaviconDatabaseGetIconPixbufCancelled):
646 (webkit_favicon_database_get_favicon_pixbuf): asynchronously
647 retrieve icons from the database.
648 (webkit_favicon_database_get_favicon_pixbuf_finish): finishes an
649 operation started with webkit_icon_database_get_icon_pixbuf().
650 (webkitFaviconDatabaseProcessPendingIconsForURI): process pending
651 requests once the import is finished.
652 (webkitFaviconDatabaseImportFinished): check pending requests and
653 delete those that ask for icons that do not exist in the database.
654 (webkit_favicon_database_clear): clears the database.
655 * webkit/webkitfavicondatabase.h: added.
656 (_WebKitFaviconDatabase):
657 (_WebKitFaviconDatabaseClass):
658 * webkit/webkitfavicondatabaseprivate.h: Added.
659 * webkit/webkitglobals.cpp:
660 (webkit_get_favicon_database): retrieves the new
661 WebKitFaviconDatabase.
662 (webkitExit): unref icon database on exit.
663 * webkit/webkitglobals.h: added new API.
664 * webkit/webkiticondatabase.cpp: added deprecation documentation.
665 (webkit_icon_database_class_init):
666 * webkit/webkitwebview.cpp:
667 (webkit_web_view_try_get_icon_pixbuf): new API that uses the new
668 WebKitFaviconDatabase API.
669 (webkitWebViewIconLoaded): dispatch the icon-loaded signal when
670 requested by the FrameLoaderClient.
671 (webkitWebViewRegisterForIconNotification): starts/stops listening
672 to icon database notifications.
673 * webkit/webkitwebview.h: added new API.
674 * webkit/webkitwebviewprivate.h: added some protected methods.
676 2012-03-16 Zan Dobersek <zandobersek@gmail.com>
678 [Gtk] Add computedStyleIncludingVisitedInfo to DumpRenderTreeSupport
679 https://bugs.webkit.org/show_bug.cgi?id=81232
681 Reviewed by Philippe Normand.
683 Add computedStyleIncludingVisitedInfo helper method to
684 DumpRenderTreeSupportGtk.
686 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
687 (DumpRenderTreeSupportGtk::computedStyleIncludingVisitedInfo):
688 * WebCoreSupport/DumpRenderTreeSupportGtk.h:
689 (DumpRenderTreeSupportGtk):
691 2012-03-16 Zan Dobersek <zandobersek@gmail.com>
693 [Gtk] Properly set forms tests-specific settings
694 https://bugs.webkit.org/show_bug.cgi?id=81237
696 Reviewed by Philippe Normand.
698 Call Settings::setInteractiveFormValidationEnabled and
699 Settings::setValidationMessageTimerMagnification with
700 proper values when in testing mode.
702 * webkit/webkitwebview.cpp:
703 (webkit_web_view_init):
705 2012-03-15 Carlos Garcia Campos <cgarcia@igalia.com>
707 [GTK] Implement unicode submenu items
708 https://bugs.webkit.org/show_bug.cgi?id=81117
710 Reviewed by Martin Robinson.
712 * WebCoreSupport/ContextMenuClientGtk.cpp:
713 (WebKit::getUnicodeMenuItemPosition): Helper function to get the
714 position of the unicode menu item in the default context menu.
715 (WebKit::ContextMenuClient::getCustomMenuFromDefaultItems): Remove
716 code to build the unicode menu, since it's now built by WebCore.
717 * WebCoreSupport/EditorClientGtk.cpp:
718 (WebKit::EditorClient::shouldShowUnicodeMenu): Check whether
719 unicode menu should be shown based on gtk-show-unicode-menu GtkSetting.
720 * WebCoreSupport/EditorClientGtk.h:
722 2012-03-13 Adam Barth <abarth@webkit.org> && Benjamin Poulain <bpoulain@apple.com>
724 Always enable ENABLE(CLIENT_BASED_GEOLOCATION)
725 https://bugs.webkit.org/show_bug.cgi?id=78853
727 Reviewed by Adam Barth.
729 * WebCoreSupport/ChromeClientGtk.cpp:
731 * WebCoreSupport/ChromeClientGtk.h:
732 (WebKit::ChromeClient::scrollRectIntoView):
733 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
734 (DumpRenderTreeSupportGtk::resetGeolocationClientMock):
735 (DumpRenderTreeSupportGtk::setMockGeolocationPermission):
736 (DumpRenderTreeSupportGtk::setMockGeolocationPosition):
737 (DumpRenderTreeSupportGtk::setMockGeolocationError):
738 (DumpRenderTreeSupportGtk::numberOfPendingGeolocationPermissionRequests):
739 * WebCoreSupport/GeolocationClientGtk.cpp:
740 (WebKit::GeolocationClient::requestPermission):
741 (WebKit::GeolocationClient::cancelPermissionRequest):
742 * WebCoreSupport/GeolocationClientGtk.h:
744 * webkit/webkitwebview.cpp:
745 (webkit_web_view_init):
747 2012-03-12 Antonio Gomes <agomes@rim.com>
749 Convert nodesFromRect tests to use Internals interface
750 https://bugs.webkit.org/show_bug.cgi?id=80886
752 Reviewed by Ryosuke Niwa.
754 Removed DRTSupportGtk::nodesFromRect support, since
755 it can work in the cross-port way through the
758 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
759 * WebCoreSupport/DumpRenderTreeSupportGtk.h:
760 (DumpRenderTreeSupportGtk):
762 2012-03-07 Kangil Han <kangil.han@samsung.com>
764 [DRT] Remove PlainTextController implementations.
765 https://bugs.webkit.org/show_bug.cgi?id=79959
767 Reviewed by Hajime Morita.
769 PlainTextController usages in existing tests have been
770 replaced by internals API by bug 78570.
771 So this patch will remove PlainTextController implementations
772 to avoid further usage in new tests.
774 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
775 * WebCoreSupport/DumpRenderTreeSupportGtk.h:
776 (DumpRenderTreeSupportGtk):
778 2012-03-06 Martin Robinson <mrobinson@igalia.com>
780 Fix a compilation warning encountered during the GTK+ build.
782 Reviewed by Gustavo Noronha Silva.
784 * tests/testcopyandpaste.c:
785 (test_copy_and_paste): Cast the WebKitWebView to a GtkWidget.
787 2012-03-06 Philippe Normand <pnormand@igalia.com>
789 [GTK] FrameLoader signals: gtk-doc fixes
790 https://bugs.webkit.org/show_bug.cgi?id=79495
792 Reviewed by Martin Robinson.
794 * webkit/webkitwebframe.cpp:
795 (webkit_web_frame_class_init):
796 * webkit/webkitwebresource.cpp:
797 (webkit_web_resource_class_init):
798 * webkit/webkitwebview.cpp:
799 (webkit_web_view_class_init):
801 2012-01-26 Philippe Normand <pnormand@igalia.com>
803 [GStreamer] disable GStreamerGWorld when building against 0.11
804 https://bugs.webkit.org/show_bug.cgi?id=77088
806 Disable the FullscreenVideoController if we build against
807 GStreamer 0.11. This code depends on GStreamerGWorld which wasn't
808 ported to 0.11 because it will soon be removed anyway.
810 Reviewed by Martin Robinson.
812 * WebCoreSupport/FullscreenVideoController.cpp:
813 * WebCoreSupport/FullscreenVideoController.h:
814 * webkit/webkitwebview.cpp:
815 (webViewEnterFullscreen):
816 (webViewExitFullscreen):
817 * webkit/webkitwebviewprivate.h:
818 (_WebKitWebViewPrivate):
820 2012-03-05 Zan Dobersek <zandobersek@gmail.com>
822 [GTK] plugins/netscape-plugin-page-cache-works.html fails
823 https://bugs.webkit.org/show_bug.cgi?id=74409
825 Reviewed by Martin Robinson.
827 Add a method to override page-cache-for-plugins preference.
829 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
830 (DumpRenderTreeSupportGtk::setPageCacheSupportsPlugins):
831 * WebCoreSupport/DumpRenderTreeSupportGtk.h:
832 (DumpRenderTreeSupportGtk):
834 2012-03-04 Martin Robinson <mrobinson@igalia.com>
836 [GTK] "Console: undefined @0: ReferenceError: Can't find variable: WebInspector" during testwebinspector
837 https://bugs.webkit.org/show_bug.cgi?id=80235
839 Reviewed by Philippe Normand.
841 Wait to inspect the WebView until the page has finished loading. Also
842 clean up some minor style errors.
844 * tests/testwebinspector.c:
845 (closeInspector): Small style fixes.
846 (showInspector): Ditto.
847 (loadFinished): Ditto.
848 (test_webkit_web_inspector_close_and_inspect): Wait to inspect until the page has loaded.
849 (test_webkit_web_inspector_destroy_inspected_web_view): Ditto.
850 (main): Small style fixes.
852 2012-03-04 Martin Robinson <mrobinson@igalia.com>
854 [GTK] REGRESSION: r108278 broke some tests that expect focus
855 https://bugs.webkit.org/show_bug.cgi?id=79084
857 Reviewed by Philippe Normand.
859 Grab focus before running the test. This ensures that if the
860 WebView lost focus, it has it before sending events.
862 * tests/testcopyandpaste.c:
863 (test_copy_and_paste): Grab focus.
865 2012-02-18 Martin Robinson <mrobinson@igalia.com>
867 [GTK] [AC] Generalize WindowContextGL
868 https://bugs.webkit.org/show_bug.cgi?id=78969
870 Reviewed by Gustavo Noronha Silva.
872 Use GLContext instead of WindowContextGL. Remove a few unnecessary
873 namespace specifiers in the implementation of AcceleratedCompositingContext.
875 * WebCoreSupport/AcceleratedCompositingContext.h: Now we find the GLContext
876 of our widget, which is cached in WebCore. Remove m_initialized as it isn't needed.
877 (AcceleratedCompositingContext):
878 * WebCoreSupport/AcceleratedCompositingContextGL.cpp:
879 (WebKit::AcceleratedCompositingContext::AcceleratedCompositingContext): No longer initialize
881 (WebKit::AcceleratedCompositingContext::glContext): Added.
882 (WebKit::AcceleratedCompositingContext::renderLayersToWindow): Use glContext() now.
883 (WebKit::AcceleratedCompositingContext::attachRootGraphicsLayer): Ditto.
884 (WebKit::AcceleratedCompositingContext::notifyAnimationStarted): Remove unnecessary namespace specifier.
885 (WebKit::AcceleratedCompositingContext::notifySyncRequired): Ditto.
886 (WebKit::AcceleratedCompositingContext::paintContents): Ditto.
887 (WebKit::AcceleratedCompositingContext::showDebugBorders): Ditto.
888 (WebKit::AcceleratedCompositingContext::showRepaintCounter): Ditto.
890 2012-03-02 Zan Dobersek <zandobersek@gmail.com>
892 [GTK] Smooth scrolling support
893 https://bugs.webkit.org/show_bug.cgi?id=16123
895 Reviewed by Martin Robinson.
897 Add a new settings option to enable smooth scrolling.
899 * webkit/webkitwebsettings.cpp:
900 (webkit_web_settings_class_init):
901 (webkit_web_settings_set_property):
902 (webkit_web_settings_get_property):
903 * webkit/webkitwebsettingsprivate.h:
904 * webkit/webkitwebview.cpp:
905 (webkit_web_view_update_settings):
906 (webkit_web_view_settings_notify):
908 2012-03-01 Carlos Garcia Campos <cgarcia@igalia.com>
910 [GTK] Simplify the code to adjust font sizes depending on screen DPI
911 https://bugs.webkit.org/show_bug.cgi?id=80032
913 Reviewed by Martin Robinson.
915 * webkit/webkitwebview.cpp:
916 (screenDPI): Helper function to get the DPI of a given
917 GdkScreen. Added also fallback code when gdk_screen_resolution
919 (webViewGetDPI): Use screenDPI() from WebCore.
920 (webViewConvertFontSizeToPixels): This is the existing
921 pixelsFromSize(), renamed and moved to be used also in
922 webkit_web_view_screen_changed().
923 (webkit_web_view_screen_changed): Use
924 webViewConvertFontSizeToPixels() instead of duplicating the code.
925 (webkit_web_view_settings_notify): Use
926 webViewConvertFontSizeToPixels() instead of pixelsFromSize().
928 2012-02-27 Vincent Untz <vuntz@gnome.org>> and Gustavo Noronha Silva <gns@gnome.org>
930 Build fix for building with GTK+ 2.x.
932 * tests/testwebview.c:
934 2012-02-26 Hajime Morrita <morrita@chromium.org>
936 Move ChromeClient::showContextMenu() to ContextMenuClient
937 https://bugs.webkit.org/show_bug.cgi?id=79427
939 Reviewed by Adam Barth.
941 * WebCoreSupport/ChromeClientGtk.h:
944 2012-02-24 Shinya Kawanaka <shinyak@chromium.org>
946 SpellCheckRequest needs to know the context where the spellcheck happened.
947 https://bugs.webkit.org/show_bug.cgi?id=79320
949 Reviewed by Hajime Morita.
951 * WebCoreSupport/TextCheckerClientGtk.h:
952 (WebKit::TextCheckerClientGtk::requestCheckingOfString):
954 2012-02-23 ChangSeok Oh <shivamidow@gmail.com>
956 [GTK] DRT doesn't support scheduleAsynchronousKeyDown.
957 https://bugs.webkit.org/show_bug.cgi?id=78481
959 Reviewed by Gustavo Noronha Silva.
961 Added a new API to deliver all mutations explicitly.
963 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
964 (DumpRenderTreeSupportGtk::deliverAllMutationsIfNecessary):
965 * WebCoreSupport/DumpRenderTreeSupportGtk.h:
966 (DumpRenderTreeSupportGtk):
968 2012-02-23 Philippe Normand <pnormand@igalia.com>
970 [GTK] FullScreen signals
971 https://bugs.webkit.org/show_bug.cgi?id=76181
973 Reviewed by Martin Robinson.
975 Added entering-fullscreen and leaving-fullscreen signals, meant to
976 be used by the user agent to be notified when an element requests
977 full screen display and when the full screen display is to be
980 * WebCoreSupport/ChromeClientGtk.cpp:
981 (WebKit::ChromeClient::supportsFullScreenForElement):
982 (WebKit::onFullscreenGtkKeyPressEvent):
983 (WebKit::ChromeClient::cancelFullScreen):
984 (WebKit::ChromeClient::enterFullScreenForElement):
985 (WebKit::ChromeClient::exitFullScreenForElement):
986 * WebCoreSupport/ChromeClientGtk.h:
987 * tests/testwebview.c:
988 * webkit/webkitwebview.cpp:
989 (webkit_web_view_real_entering_fullscreen):
990 (webkit_web_view_real_leaving_fullscreen):
991 (webkit_web_view_class_init):
992 * webkit/webkitwebview.h:
994 2012-02-21 Ryosuke Niwa <rniwa@webkit.org>
996 Remove the remaining uses of CSSStyleDeclaration in Editor
997 https://bugs.webkit.org/show_bug.cgi?id=78939
999 Reviewed by Enrica Casucci.
1001 * WebCoreSupport/EditorClientGtk.cpp:
1002 (WebKit::EditorClient::shouldApplyStyle):
1003 * WebCoreSupport/EditorClientGtk.h:
1006 2012-02-22 Philippe Normand <pnormand@igalia.com>
1008 Unreviewed, rolling out r108522.
1009 http://trac.webkit.org/changeset/108522
1010 https://bugs.webkit.org/show_bug.cgi?id=76181
1012 Broke 4 fullscreen tests on GTK.
1014 * WebCoreSupport/ChromeClientGtk.cpp:
1015 (WebKit::ChromeClient::supportsFullScreenForElement):
1016 (WebKit::ChromeClient::enterFullScreenForElement):
1017 (WebKit::ChromeClient::exitFullScreenForElement):
1018 * WebCoreSupport/ChromeClientGtk.h:
1020 * tests/testwebview.c:
1021 * webkit/webkitwebview.cpp:
1022 (webkit_web_view_class_init):
1023 * webkit/webkitwebview.h:
1024 (_WebKitWebViewClass):
1026 2012-02-20 Philippe Normand <pnormand@igalia.com>
1028 [GTK] FullScreen signals
1029 https://bugs.webkit.org/show_bug.cgi?id=76181
1031 Reviewed by Martin Robinson.
1033 Added entering-fullscreen and leaving-fullscreen signals, meant to
1034 be used by the user agent to be notified when an element requests
1035 full screen display and when the full screen display is to be
1038 * WebCoreSupport/ChromeClientGtk.cpp:
1039 (WebKit::ChromeClient::supportsFullScreenForElement):
1040 (WebKit::onFullscreenGtkKeyPressEvent):
1041 (WebKit::ChromeClient::cancelFullScreen):
1042 (WebKit::ChromeClient::enterFullScreenForElement):
1043 (WebKit::ChromeClient::exitFullScreenForElement):
1044 * WebCoreSupport/ChromeClientGtk.h:
1045 * tests/testwebview.c:
1046 * webkit/webkitwebview.cpp:
1047 (webkit_web_view_real_entering_fullscreen):
1048 (webkit_web_view_real_leaving_fullscreen):
1049 (webkit_web_view_class_init):
1050 * webkit/webkitwebview.h:
1052 2012-02-22 Ryosuke Niwa <rniwa@webkit.org>
1054 Remove the remaining uses of CSSStyleDeclaration in Editor
1055 https://bugs.webkit.org/show_bug.cgi?id=78939
1057 Reviewed by Enrica Casucci.
1059 * WebCoreSupport/EditorClientGtk.cpp:
1060 (WebKit::EditorClient::shouldApplyStyle):
1061 * WebCoreSupport/EditorClientGtk.h:
1064 2012-02-22 Carlos Garcia Campos <cgarcia@igalia.com>
1066 Unreviewed, rolling out r107351.
1067 http://trac.webkit.org/changeset/107351
1068 https://bugs.webkit.org/show_bug.cgi?id=53600
1070 Several issues introduced in WebKitGTK+ API
1072 * WebCoreSupport/ChromeClientGtk.cpp:
1073 (WebKit::ChromeClient::ChromeClient):
1074 (WebKit::ChromeClient::chromeDestroyed):
1075 (WebKit::ChromeClient::canRunModal):
1076 (WebKit::ChromeClient::runModal):
1077 * WebCoreSupport/ChromeClientGtk.h:
1079 * webkit/webkitwebview.cpp:
1080 (webkit_web_view_class_init):
1082 2012-02-21 Philippe Normand <pnormand@igalia.com>
1084 Fix one more GTK+ unit test after r108278.
1086 Reviewed by Alejandro G. Castro.
1088 * tests/testkeyevents.c:
1089 (map_event_cb): No longer grab focus here.
1090 (setup_keyevent_test): Grabbing focus here seems to be late enough in the process.
1092 2012-02-20 Martin Robinson <mrobinson@igalia.com>
1094 Fix GTK+ unit tests after r108281.
1096 Reviewed by Alejandro G. Castro.
1098 * tests/testwebplugindatabase.c:
1099 (test_webkit_web_plugin_database_get_plugins): Update the description used
1102 2012-02-20 Martin Robinson <mrobinson@igalia.com>
1104 Fix GTK+ unit tests after r108278.
1106 Reviewed by Alejandro G. Castro.
1108 Now that WebCore is no longer stealing focus, we need to
1109 adjust where we grab focus to ensure that it actually succeeds.
1111 * tests/testcopyandpaste.c:
1112 (map_event_cb): No longer grab focus here.
1113 (runPasteTestCallback): Grabbing focus here seems to be late enough in the process.
1115 2012-02-20 Martin Robinson <mrobinson@igalia.com>
1117 [GTK] Web content oftens steals focus from other widgets
1118 https://bugs.webkit.org/show_bug.cgi?id=77791
1120 Reviewed by Gustavo Noronha Silva.
1122 * tests/testwebview.c: Added a WebKit1 test to verify this behavior.
1124 2012-02-20 Gustavo Noronha Silva <gns@gnome.org>
1126 [GTK] Needs to claim being a more up-to-date Chrome
1127 https://bugs.webkit.org/show_bug.cgi?id=79044
1129 Reviewed by Martin Robinson.
1131 * webkit/webkitwebsettings.cpp:
1132 (chromeUserAgent): update the version of Chrome we claim to be
1133 to avoid warnings from sites such as Wordpress saying that our
1134 browser is outdated.
1136 2012-02-19 Paweł Forysiuk <tuxator@o2.pl>
1137 [GTK] Can't find webinspector and error page redirection on Windows
1138 https://bugs.webkit.org/show_bug.cgi?id=51616
1140 Use an abstraction for finding shared resources on Windows.
1142 Reviewed by Martin Robinson.
1144 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1145 (WebKit::FrameLoaderClient::dispatchDidFailLoad):
1146 * WebCoreSupport/InspectorClientGtk.cpp:
1147 (WebKit::InspectorClient::inspectorFilesPath):
1149 2012-02-19 Gustavo Noronha Silva <gns@gnome.org>
1151 Unreviewed. Remove gsettings schema from EXTRA_DIST.
1155 2012-02-19 Gustavo Noronha Silva <gns@gnome.org>
1157 [GTK] Remove unused GSettings stuff
1158 https://bugs.webkit.org/show_bug.cgi?id=78995
1160 Reviewed by Martin Robinson.
1162 * GNUmakefile.am: remove GSettings-related stuff.
1163 * WebCoreSupport/InspectorClientGtk.cpp:
1164 (WebKit): Remove unused code.
1165 * org.webkitgtk.gschema.xml.in: Removed.
1166 * webkit/webkitwebinspector.cpp:
1167 (webkit_web_inspector_execute_script): remove gsettings-related helper.
1168 * webkit/webkitwebinspectorprivate.h: Ditto.
1170 2012-02-17 Gyuyoung Kim <gyuyoung.kim@samsung.com>
1172 [GTK] change the way of registering DeviceOrientation clients.
1173 https://bugs.webkit.org/show_bug.cgi?id=78680
1175 Reviewed by Gustavo Noronha Silva.
1177 Bug 78085 removed deviceOrientationClient and deviceMotionClient from PageClients. Instead,
1178 DeviceOrientationClient and DeviceMotionClient should be registered by PageSupplement class.
1179 Chromium, mac and qt ports are already changed by Bug 78085.
1181 * webkit/webkitwebview.cpp:
1182 (webkit_web_view_init):
1184 2012-02-16 Martin Robinson <mrobinson@igalia.com>
1186 [GTK] [AC] Events can starve accelerated compositing updates
1187 https://bugs.webkit.org/show_bug.cgi?id=78826
1189 Reviewed by Gustavo Noronha Silva.
1191 Instead of using a WebCore timer, which can be starved by GdkEvents,
1192 use a raw GLib timer with GDK_PRIORITY_EVENTS to drive AC updates.
1193 This prevents dragging from blocking rendering.
1195 * WebCoreSupport/AcceleratedCompositingContext.h:
1196 (AcceleratedCompositingContext): Store a GLib source tag instead of a WebCore timer.
1197 * WebCoreSupport/AcceleratedCompositingContextClutter.cpp:
1198 (WebKit::AcceleratedCompositingContext::AcceleratedCompositingContext):
1199 (WebKit::AcceleratedCompositingContext::AcceleratedCompositingContext):
1200 Remove the timer upon destruction.
1201 (WebKit::syncLayersTimeoutCallback): Added this callback for the GLib timer.
1202 (WebKit::AcceleratedCompositingContext::markForSync): Use a GLib timer.
1203 (WebKit::AcceleratedCompositingContext::syncLayersTimeout): Ditto.
1204 * WebCoreSupport/AcceleratedCompositingContextGL.cpp:
1205 (WebKit::AcceleratedCompositingContext::AcceleratedCompositingContext):
1206 (WebKit::AcceleratedCompositingContext::~AcceleratedCompositingContext):
1207 Remove the timer upon destruction.
1208 (WebKit::syncLayersTimeoutCallback): Added this callback for the GLib timer.
1209 (WebKit::AcceleratedCompositingContext::markForSync): Use a GLib timer.
1210 (WebKit::AcceleratedCompositingContext::syncLayersTimeout): Ditto.
1212 2012-02-16 Adam Barth <abarth@webkit.org>
1214 Attempt to fix the GTK build.
1216 * WebCoreSupport/GeolocationClientGtk.cpp:
1217 (WebKit::GeolocationClient::requestPermission):
1218 (WebKit::GeolocationClient::cancelPermissionRequest):
1220 2012-02-16 Sergio Villar Senin <svillar@igalia.com>
1222 [soup] Move important SoupSession feature initialization to WebCore
1223 https://bugs.webkit.org/show_bug.cgi?id=68602
1225 Reviewed by Martin Robinson.
1227 Moved content sniffer and decoder initialization from WebKit to
1228 WebCore because network stuff will not work as expected without
1231 No new tests required as we're just moving stuff from WebKit to
1234 * webkit/webkitglobals.cpp:
1237 2012-02-16 Philippe Normand <pnormand@igalia.com>
1239 Unreviewed, rolling out r107941.
1240 http://trac.webkit.org/changeset/107941
1241 https://bugs.webkit.org/show_bug.cgi?id=68602
1243 Broke 23 http tests on GTK
1245 * webkit/webkitglobals.cpp:
1248 2012-02-16 Sergio Villar Senin <svillar@igalia.com>
1250 [soup] Move important SoupSession feature initialization to WebCore
1251 https://bugs.webkit.org/show_bug.cgi?id=68602
1253 Reviewed by Martin Robinson.
1255 Moved content sniffer and decoder initialization from WebKit to
1256 WebCore because network stuff will not work as expected without
1259 No new tests required as we're just moving stuff from WebKit to
1262 * webkit/webkitglobals.cpp:
1265 2012-01-31 Raphael Kubo da Costa <kubo@profusion.mobi>
1267 [soup] Add support for multiple SoupSessions.
1268 https://bugs.webkit.org/show_bug.cgi?id=77341
1270 Reviewed by Gustavo Noronha Silva.
1272 Adapt to the changes to FrameNetworkingContext in WebCore.
1275 * WebCoreSupport/FrameNetworkingContextGtk.cpp: Copied from Source/WebKit/gtk/WebCoreSupport/FrameNetworkingContextGtk.h.
1277 (WebKit::FrameNetworkingContextGtk::soupSession): Always return ResourceHandle::defaultSession().
1278 * WebCoreSupport/FrameNetworkingContextGtk.h:
1279 (FrameNetworkingContextGtk):
1281 2012-02-15 Sadrul Habib Chowdhury <sadrul@chromium.org>
1283 Notify ChromeClient when touch-event handlers are installed/removed.
1284 https://bugs.webkit.org/show_bug.cgi?id=77440
1286 Reviewed by Darin Fisher and Ryosuke Niwa.
1288 * WebCoreSupport/ChromeClientGtk.h:
1289 (WebKit::ChromeClient::numTouchEventHandlersChanged):
1291 2012-02-15 No'am Rosenthal <noam.rosenthal@nokia.com>
1293 [Texmap] Divide TextureMapperNode.cpp to 3 files.
1294 https://bugs.webkit.org/show_bug.cgi?id=76660
1296 Rename TextureMapperNode to TextureMapperLayer.
1298 Reviewed by Kenneth Rohde Christiansen.
1300 * WebCoreSupport/AcceleratedCompositingContext.h:
1301 (AcceleratedCompositingContext):
1302 * WebCoreSupport/AcceleratedCompositingContextGL.cpp:
1303 (WebKit::AcceleratedCompositingContext::AcceleratedCompositingContext):
1304 (WebKit::AcceleratedCompositingContext::enabled):
1305 (WebKit::AcceleratedCompositingContext::renderLayersToWindow):
1306 (WebKit::AcceleratedCompositingContext::attachRootGraphicsLayer):
1307 (WebKit::AcceleratedCompositingContext::syncLayersTimeout):
1309 2012-02-11 Nikolas Zimmermann <nzimmermann@rim.com>
1311 Convert svg/animations to use SMIL methods for driving the timeline
1312 https://bugs.webkit.org/show_bug.cgi?id=78422
1314 Reviewed by Dirk Schulze.
1316 Remove SVG animation sampling functionality provided for DRT, which no longer uses it.
1317 Instead we switched the svg/animations tests to use SVGSVGElement.setCurrentTime.
1319 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
1320 * WebCoreSupport/DumpRenderTreeSupportGtk.h:
1321 (DumpRenderTreeSupportGtk):
1323 2012-02-13 Mario Sanchez Prada <msanchez@igalia.com>
1325 [GTK] Add GSList to the list of GObject types in GOwnPtr
1326 https://bugs.webkit.org/show_bug.cgi?id=78487
1328 Reviewed by Philippe Normand.
1330 * WebCoreSupport/ChromeClientGtk.cpp:
1331 (WebKit::ChromeClient::runOpenPanel): Use GOwnPtr<GSList> for the
1332 list of filenames returned by gtk_file_chooser_get_filenames().
1334 2012-02-09 Zan Dobersek <zandobersek@gmail.com>
1336 [GTK] Add DRT support for modal dialogs
1337 https://bugs.webkit.org/show_bug.cgi?id=53600
1339 Reviewed by Martin Robinson.
1341 Add support for running modal dialogs.
1343 A new signal is added to the WebKitWebView. When emitted, the web view
1344 is requesting to be displayed as a modal dialog. If accepted, the
1345 ChromeClient then establishes a loop that is run until the chrome is destroyed.
1346 If denied, nothing is done.
1348 * WebCoreSupport/ChromeClientGtk.cpp:
1349 (WebKit::ChromeClient::ChromeClient):
1350 (WebKit::ChromeClient::chromeDestroyed):
1351 (WebKit::ChromeClient::canRunModal):
1352 (WebKit::ChromeClient::runModal):
1353 * WebCoreSupport/ChromeClientGtk.h:
1355 * webkit/webkitwebview.cpp:
1356 (webkit_web_view_class_init):
1358 2012-02-09 Zan Dobersek <zandobersek@gmail.com>
1360 [Gtk] security/set-form-autocomplete-attribute.html fails
1361 https://bugs.webkit.org/show_bug.cgi?id=78261
1363 Reviewed by Martin Robinson.
1365 Add a helper function to DumpRenderTreeSupportGtk, returning
1366 whether or not an element does perform autocompletion.
1368 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
1369 (DumpRenderTreeSupportGtk::elementDoesAutoCompleteForElementWithId):
1370 * WebCoreSupport/DumpRenderTreeSupportGtk.h:
1371 (DumpRenderTreeSupportGtk):
1373 2012-02-09 Martin Robinson <mrobinson@igalia.com>
1375 Build fix for GTK+ 2.x after my previous commit.
1377 * webkit/webkitwebview.cpp:
1378 (webkit_web_view_expose_event): The name of the event is expose_event and not expose.
1380 2012-02-08 Dan Vrátil <dvratil@redhat.com>, Milan Crha <mcrha@redhat.com>
1382 [GTK] Embedded GtkWidgets are not drawn
1383 https://bugs.webkit.org/show_bug.cgi?id=63451
1385 Insert plugin widgets to WebKitWebView container as it's children.
1386 Chain up to parent in webkit_web_view_draw() to ensure the child widgets are drawn.
1388 Reviewed by Martin Robinson.
1390 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1391 (WebKit::FrameLoaderClient::createPlugin):
1392 * webkit/webkitwebview.cpp:
1393 (webkit_web_view_draw):
1395 2012-02-08 Mario Sanchez Prada <msanchez@igalia.com>
1397 [Gtk] atk_text_get_text_at_offset() fails to provide the correct line for list items whose text wraps
1398 https://bugs.webkit.org/show_bug.cgi?id=73431
1400 Reviewed by Chris Fleizach.
1402 Updated unit test to check text wrapping accross different lines
1403 inside list items with bullet markers.
1406 (testWebkitAtkGetTextAtOffsetWithSpecialCharacters): Updated test.
1408 2012-02-06 Martin Robinson <mrobinson@igalia.com> and Nayan Kumar K <nayankk@motorola.com>
1410 [GTK] Add TextureMapperGL implementation
1411 https://bugs.webkit.org/show_bug.cgi?id=75308
1413 Reviewed by Alejandro G. Castro.
1415 * GNUmakefile.am: Add AcceleratedCompositingContextGL to the list.
1416 * WebCoreSupport/AcceleratedCompositingContext.h:
1417 (AcceleratedCompositingContext): Added some members for AcceleratedCompositingContextGL.
1418 * WebCoreSupport/AcceleratedCompositingContextClutter.cpp: Added empty implementations
1419 for GraphicsLayerClient. This is only used for the GL variant.
1420 * WebCoreSupport/AcceleratedCompositingContextGL.cpp: Added.
1421 * WebCoreSupport/ChromeClientGtk.cpp:
1422 (WebKit::ChromeClient::performAllPendingScrolls): Update the root layer while scrolling.
1423 (WebKit::ChromeClient::paint): Update the root layer after painting.
1424 * webkit/webkitwebsettings.cpp: Added an enable-accelerated-compositing setting.
1425 * webkit/webkitwebsettingsprivate.h: Ditto.
1426 * webkit/webkitwebview.cpp:
1427 (webkit_web_view_draw): Call into TextureMapper now.
1428 (webkit_web_view_realize): Use gdk_window_ensure_native here.
1429 (webkit_web_view_update_settings): Support the new enable-accelerated-compositing setting.
1430 (webkit_web_view_settings_notify): Ditto.
1432 2012-02-06 Gustavo Noronha Silva <gns@gnome.org>
1434 Do not try to chdir to the directory where the executable is in
1435 only if the path is absolute. This makes tests runnable from
1438 Reviewed by Martin Robinson.
1440 * tests/test_utils.c:
1441 (testutils_relative_chdir):
1443 2012-02-06 Gustavo Noronha Silva <gns@gnome.org>
1445 Unreviewed fix for the new API test that is failing -
1446 WEBKIT_INSPECTOR_PATH needs to be set, since we do not install our
1449 * tests/testwebinspector.c:
1452 2012-02-05 Gustavo Noronha Silva <gns@gnome.org>
1454 [GTK] Insta-crash when closing browser with inspector window opened
1455 https://bugs.webkit.org/show_bug.cgi?id=50744
1457 Reviewed by Martin Robinson.
1460 * WebCoreSupport/InspectorClientGtk.cpp:
1461 (WebKit::InspectorClient::releaseFrontendPage): also let go of the
1462 frontend client when releasing the frontend page;
1463 (WebKit::InspectorFrontendClient::~InspectorFrontendClient(): Call releaseFrontendPage()
1464 like other ports do instead of just disconnectFrontendClient().
1465 (WebKit::InspectorFrontendClient::destroyInspectorWindow): Use GRefPtr for the
1467 (WebKit::InspectorFrontendClient::bringToFront): Adjust for GRefPtr usage.
1468 (WebKit::InspectorFrontendClient::attachWindow): Ditto.
1469 (WebKit::InspectorFrontendClient::detachWindow): Ditto.
1470 (WebKit::InspectorFrontendClient::inspectedURLChanged): Ditto.
1471 * WebCoreSupport/InspectorClientGtk.h:
1472 (InspectorFrontendClient): Use GRefPtr for inspector member.
1473 * tests/testwebinspector.c: Added. Test that killing a WebView with the inspector
1474 open does not crash, and that closing and reinspecting works.
1476 (consoleMessageCallback):
1477 (inspectElementCallback):
1480 (test_webkit_web_inspector_close_and_inspect):
1481 (test_webkit_web_inspector_destroy_inspected_web_view):
1484 2012-02-06 Gustavo Noronha Silva <gns@gnome.org>
1486 Add a null check for the gdkwindow, that will happen if the window
1489 Reviewed by Martin Robinson.
1491 * WebCoreSupport/ChromeClientGtk.cpp:
1492 (WebKit::ChromeClient::setCursor):
1494 2012-02-06 Martin Robinson <mrobinson@igalia.com>
1496 [GTK] WebKitWebView does a lot of work during size_allocate when not mapped
1497 https://bugs.webkit.org/show_bug.cgi?id=77743
1499 Reviewed by Gustavo Noronha Silva.
1501 Instead of resizing the guts of a WebView when it's not mapped, wait
1502 until it's mapped and do one resize. This prevents unmapped WebViews
1503 from adding to a container's resize cost.
1505 * webkit/webkitwebview.cpp:
1506 (resizeWebViewFromAllocation): Abstracted out this helper.
1507 (webkit_web_view_size_allocate): Wait until map to resize umapped widgets.
1508 (webkitWebViewMap): Added this vmethod implementation.
1509 (webkit_web_view_class_init): Added vmethod.
1510 * webkit/webkitwebviewprivate.h: Added new needsResizeOnMap member.
1512 2012-02-06 Carlos Garcia Campos <cgarcia@igalia.com>
1514 [GTK] Update NEWS and configure.ac for 1.7.5 release
1515 https://bugs.webkit.org/show_bug.cgi?id=77859
1517 Reviewed by Philippe Normand.
1519 * NEWS: Added release notes for 1.7.5.
1521 2012-02-06 Carlos Garcia Campos <cgarcia@igalia.com>
1523 [GTK] Fix several gtkdoc-fixxref warnings
1524 https://bugs.webkit.org/show_bug.cgi?id=77613
1526 Reviewed by Martin Robinson.
1528 * docs/webkitgtk-docs.sgml: Remove webkitspellcheckerenchant
1530 * docs/webkitgtk-sections.txt: Remove webkitspellcheckerenchant
1531 symbols and move WebKitWebNavigationReason from the private
1532 section to the global section.
1533 * webkit/webkitwebnavigationaction.h: Document
1534 WebKitWebNavigationReason enum.
1536 2012-02-02 Kalev Lember <kalevlember@gmail.com>
1538 [GTK] Don't use uint
1539 https://bugs.webkit.org/show_bug.cgi?id=77678
1541 Reviewed by Martin Robinson.
1543 With the MingGW cross compiler toolchain in Fedora, uint wasn't
1544 defined, so use unsigned int instead.
1546 * WebCoreSupport/ChromeClientGtk.h:
1547 (ChromeClient): Use unsigned int instead of uint
1549 2012-02-02 Claudio Saavedra <csaavedra@igalia.com> and Martin Robinson <mrobinson@igalia.com>
1551 [GTK] WebKitWebView won't work in a GtkOffscreenWindow
1552 https://bugs.webkit.org/show_bug.cgi?id=76911
1554 Reviewed by Philippe Normand.
1556 * WebCoreSupport/ChromeClientGtk.cpp:
1557 (WebKit::ChromeClient::windowRect): Use the new widgetIsOnscreenToplevelWindow helper.
1558 (WebKit::ChromeClient::setWindowRect): Ditto.
1559 (WebKit::ChromeClient::unfocus): Ditto.
1560 (WebKit::ChromeClient::runOpenPanel): Ditto.
1561 * tests/testwebview.c: Added a test to ensure that loading a page in an offscreen window does not crash.
1562 * webkit/webkitglobals.cpp:
1563 (currentToplevelCallback):
1564 * webkit/webkitwebframe.cpp:
1565 (webkit_web_frame_print_full):
1566 (webkit_web_frame_print):
1567 * webkit/webkitwebview.cpp:
1568 (webkit_web_view_focus_in_event):
1569 (webkit_web_view_script_dialog):
1571 2012-02-02 Mario Sanchez Prada <msanchez@igalia.com>
1573 [Gtk] atk_text_get_text_at_offset() sometimes fails to provide the correct line
1574 https://bugs.webkit.org/show_bug.cgi?id=72382
1576 Reviewed by Martin Robinson.
1578 New unit test to ensure the right line is retrieved for the first
1579 position of each line in a multiline preformatted portion of text.
1582 (testWebkitAtkGetTextAtOffsetWithPreformattedText): New unit test.
1583 (main): Add the new unit test.
1585 2012-02-01 Philippe Normand <pnormand@igalia.com>
1587 [GStreamer] FFTFrame implementation
1588 https://bugs.webkit.org/show_bug.cgi?id=73545
1590 Reviewed by Chris Rogers.
1592 * GNUmakefile.am: Remove libfftw compilation flags.
1594 2012-02-01 Philippe Normand <pnormand@igalia.com>
1596 [GTK] unittests/testloading crashes
1597 https://bugs.webkit.org/show_bug.cgi?id=77544
1599 Reviewed by Xan Lopez.
1601 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1602 (WebKit::FrameLoaderClient::dispatchDidFailLoading): Bail out
1603 early from dispatchDidFailLoading if the error is the result of an
1606 2012-02-01 Philippe Normand <pnormand@igalia.com> and Sergio Villar Senin <svillar@igalia.com>
1608 Reviewed by Martin Robinson.
1610 [GTK] Improve FrameLoader signals. Resource loading
1611 https://bugs.webkit.org/show_bug.cgi?id=49543
1614 WebKitWebFrame::resource-request-starting
1615 WebKitWebFrame::resource-response-received
1616 WebKitWebFrame::resource-load-finished
1617 WebKitWebFrame::resource-content-length-received
1618 WebKitWebFrame::resource-load-failed
1619 WebKitWebResource::response-received
1620 WebKitWebResource::load-failed
1621 WebKitWebResource::load-finished
1622 WebKitWebResource::content-length-received
1623 WebKitWebView::resource-response-received
1624 WebKitWebView::resource-load-finished
1625 WebKitWebView::resource-content-length-received
1626 WebKitWebView::resource-load-failed
1628 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1629 (WebKit::FrameLoaderClient::dispatchWillSendRequest):
1630 (WebKit::FrameLoaderClient::dispatchDidReceiveResponse):
1631 (WebKit::FrameLoaderClient::dispatchDidReceiveContentLength):
1632 (WebKit::FrameLoaderClient::dispatchDidFinishLoading):
1633 (WebKit::FrameLoaderClient::dispatchDidFailLoading):
1634 * webkit/webkitwebframe.cpp:
1635 (webkit_web_frame_class_init):
1636 * webkit/webkitwebresource.cpp:
1637 (webkit_web_resource_class_init):
1638 * webkit/webkitwebview.cpp:
1639 (webkit_web_view_class_init):
1640 * webkitmarshal.list:
1642 2012-01-23 Mario Sanchez Prada <msanchez@igalia.com>
1644 [GTK] Refactor GTK's accessibilitity code to be more modular
1645 https://bugs.webkit.org/show_bug.cgi?id=76783
1647 Reviewed by Martin Robinson.
1649 Update callers to WebKitAccessible's public functions.
1651 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
1652 (DumpRenderTreeSupportGtk::getFocusedAccessibleElement):
1653 (modifyAccessibilityValue):
1654 (DumpRenderTreeSupportGtk::accessibilityHelpText):
1656 2012-01-22 Mario Sanchez Prada <msanchez@igalia.com>
1658 [GTK] Refactor GTK's accessibilitity code to be more modular
1659 https://bugs.webkit.org/show_bug.cgi?id=76783
1661 Reviewed by Martin Robinson.
1663 Update the include for the AccessibilityObject wrapper header.
1665 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp: Update include.
1666 * webkit/webkitwebframe.cpp: Ditto.
1668 2012-01-22 Mario Sanchez Prada <msanchez@igalia.com>
1670 [GTK] ATK text-caret-moved and text-selection-changed events not being emitted
1671 https://bugs.webkit.org/show_bug.cgi?id=76069
1673 Reviewed by Martin Robinson.
1675 Update caret browsing related unit tests to check emissions of
1676 'text-caret-moved' and 'text-selection-changed' signals.
1679 (textCaretMovedCallback): New callback for 'text-caret-moved'.
1680 (testWebkitAtkCaretOffsets): Check emissions of 'text-caret-moved'.
1681 (textSelectionChangedCallback): New callback for 'text-selection-changed'.
1682 (testWebkitAtkTextSelections): Check emissions of 'text-selection-changed'.
1684 2012-01-18 Evan Nemerson <evan@coeus-group.com>
1686 [GTK] WebKit-3.0.gir does not include information about C includes or exported packages
1687 https://bugs.webkit.org/show_bug.cgi?id=49875
1689 Reviewed by Martin Robinson.
1691 * GNUmakefile.am: Add some information to the GIR generator to fix
1692 Vala binding generation.
1694 2012-01-18 Carlos Garnacho <carlosg@gnome.org>
1696 [GTK] Listen to GDK_SCROLL_MASK
1697 https://bugs.webkit.org/show_bug.cgi?id=76529
1699 Set GDK_SCROLL_MASK explicitly, as WebKitWebView does handle
1700 scroll events, scrolling currently works because GTK+ happens
1701 to send such events to widgets listening to GDK_BUTTON_PRESS_MASK,
1702 but this isn't the intended behavior, so it's subject to change.
1704 Reviewed by Martin Robinson.
1706 * webkit/webkitwebview.cpp:
1707 (webkit_web_view_realize):
1709 2012-01-17 Martin Robinson <mrobinson@igalia.com>
1711 [Gtk] Input text field not repainted when value is changed
1712 https://bugs.webkit.org/show_bug.cgi?id=76279
1714 Reviewed by Gustavo Noronha Silva.
1716 Force pending relayouts before freezing the dirty region in a temporary.
1717 This prevents the following code from throwing the dirty updates away
1718 after the original paint is finished.
1720 * WebCoreSupport/ChromeClientGtk.cpp:
1721 (WebKit::paintWebView): Remove the relayout.
1722 (WebKit::ChromeClient::paint): Move the relayout here, before the
1723 dirty region is frozen.
1725 2012-01-16 Carlos Garcia Campos <cgarcia@igalia.com>
1727 [GTK] Update NEWS and configure.ac for 1.7.4 release
1728 https://bugs.webkit.org/show_bug.cgi?id=76375
1730 Reviewed by Philippe Normand.
1732 * NEWS: Added release notes for 1.7.4.
1734 2012-01-13 Mario Sanchez Prada <msanchez@igalia.com>
1736 Unreviewed, rolling out r104905.
1737 http://trac.webkit.org/changeset/104905
1738 https://bugs.webkit.org/show_bug.cgi?id=76267
1740 This patch broke tests in the GTK 64bit Debug bot (Requested
1741 by msanchez on #webkit).
1744 (testWebkitAtkCaretOffsets):
1745 (testWebkitAtkTextSelections):
1747 2012-01-13 Mario Sanchez Prada <msanchez@igalia.com>
1749 [GTK] ATK text-caret-moved and text-selection-changed events not being emitted
1750 https://bugs.webkit.org/show_bug.cgi?id=76069
1752 Reviewed by Martin Robinson.
1754 Update caret browsing related unit tests to check emissions of
1755 'text-caret-moved' and 'text-selection-changed' signals.
1758 (textCaretMovedCallback): New callback for 'text-caret-moved'.
1759 (testWebkitAtkCaretOffsets): Check emissions of 'text-caret-moved'.
1760 (textSelectionChangedCallback): New callback for 'text-selection-changed'.
1761 (testWebkitAtkTextSelections): Check emissions of 'text-selection-changed'.
1763 2012-01-12 Mario Sanchez Prada <msanchez@igalia.com>
1765 [Gtk] Removed duplicated unit test.
1767 The unit test testWebkitAtkGetTextAtOffsetForms is exactly the
1768 same test case than testWebkitAtkGetTextAtOffset, so it makes no
1769 sense to have it duplicated.
1771 Rubber-stamped by Martin Robinson.
1774 (main): Removed testWebkitAtkGetTextAtOffsetForms.
1776 2012-01-10 Mario Sanchez Prada <msanchez@igalia.com>
1778 AX: support helpText() in DumpRenderTree
1779 https://bugs.webkit.org/show_bug.cgi?id=40193
1781 Reviewed by Chris Fleizach.
1783 Add support for retrieving WebCore's AccessibilityObject's
1784 helpText from the GTK DumpRenderTree.
1786 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
1787 (DumpRenderTreeSupportGtk::accessibilityHelpText): Returns result
1788 of calling to helpText() over the core accessibility object's.
1789 * WebCoreSupport/DumpRenderTreeSupportGtk.h:
1791 2012-01-09 Mario Sanchez Prada <msanchez@igalia.com>
1793 [Gtk] Regression: text-inserted events lack text inserted and current line
1794 https://bugs.webkit.org/show_bug.cgi?id=72830
1796 Reviewed by Martin Robinson.
1798 Updated unit tests to check that both getting the current position
1799 for the caret and the exposed text at, before or after a given
1800 offset for an accessible object works as expected.
1803 (runGetTextTests): For objects implementing AtkEditableText, try
1804 to change the exposed text and retrieve it again as a full line.
1805 (testWebkitAtkCaretOffsets): For a text control (a text entry),
1806 set the caret offset to a value greater than 1 and retrieve it.
1808 2012-01-05 Martin Robinson <mrobinson@igalia.com>
1810 [GTK] [AC] Introduce AcceleratedCompositingContext to isolate different accelerated compositing implementations
1811 https://bugs.webkit.org/show_bug.cgi?id=75519
1813 Reviewed by Alejandro G. Castro.
1815 Add an AcceleratedCompositingContext which will isolate all the different accelerated compositing
1816 implementations from one another. For right now this just includes the Clutter version.
1818 * GNUmakefile.am: Add the new files to the source list.
1819 * WebCoreSupport/AcceleratedCompositingContext.h: Added.
1820 * WebCoreSupport/AcceleratedCompositingContextClutter.cpp: Added. Existing
1821 clutter AC code has moved here.
1822 * WebCoreSupport/ChromeClientGtk.cpp:
1823 (WebKit::ChromeClient::attachRootGraphicsLayer): Use the new AccleratedCompositingContext now
1824 instead of calling into the WebView.
1825 (WebKit::ChromeClient::setNeedsOneShotDrawingSynchronization):Ditto.
1826 (WebKit::ChromeClient::scheduleCompositingLayerSync): Ditto.
1827 * webkit/webkitwebview.cpp:
1828 (webkit_web_view_size_allocate): Call in the ACContext.
1829 (webkit_web_view_init): Initialize the ACContext.
1830 * webkit/webkitwebviewprivate.h: Add the ACContext as a private member.
1832 2012-01-03 Carlos Garcia Campos <cgarcia@igalia.com>
1834 [GTK] Use gdk_screen_get_monitor_workarea() when available for screenAvailableRect()
1835 https://bugs.webkit.org/show_bug.cgi?id=75435
1837 Reviewed by Martin Robinson.
1839 * GNUmakefile.am: Make sure unit tests link to X11.
1841 2011-12-20 Yuta Kitamura <yutak@chromium.org>
1843 [GTK] Change default WebSocket protocol to the latest one
1844 https://bugs.webkit.org/show_bug.cgi?id=74064
1846 Reviewed by Martin Robinson.
1848 * webkit/webkitwebview.cpp:
1849 (webkit_web_view_update_settings):
1850 Use hybi WebSocket protocol by default.
1852 2011-12-19 Sam Weinig <sam@webkit.org>
1854 More PlatformEvent cleanup
1855 https://bugs.webkit.org/show_bug.cgi?id=74831
1857 Reviewed by Dan Bernstein.
1859 * webkit/webkitwebview.cpp:
1860 (webkit_web_view_forward_context_menu_event):
1861 (webkit_web_view_get_hit_test_result):
1862 Update to use new names, access style.
1864 2011-12-16 Ryosuke Niwa <rniwa@webkit.org>
1866 Rename registerCommandFor(Undo|Redo) to register(Undo|Redo)Step
1867 https://bugs.webkit.org/show_bug.cgi?id=74748
1869 Reviewed by Eric Seidel.
1871 * WebCoreSupport/EditorClientGtk.cpp:
1872 (WebKit::EditorClient::registerUndoStep):
1873 (WebKit::EditorClient::registerRedoStep):
1874 * WebCoreSupport/EditorClientGtk.h:
1876 2011-12-16 Sam Weinig <sam@webkit.org>
1878 Give PlatformEvents a base class
1879 https://bugs.webkit.org/show_bug.cgi?id=74685
1881 Reviewed by Anders Carlsson.
1883 Add a base class for PlatformMouseEvent, PlatformKeyboardEvent, PlatformWheelEvent
1884 and PlatformGestureEvent and move Type enumeration and modifiers down to it.
1886 * WebCoreSupport/EditorClientGtk.cpp:
1887 (WebKit::EditorClient::handleKeyboardEvent):
1888 * webkit/webkitwebview.cpp:
1889 (webkit_web_view_popup_menu_handler):
1891 2011-12-16 Ryosuke Niwa <rniwa@webkit.org>
1893 Only EditCommandComposition should implement unapply and reapply
1894 https://bugs.webkit.org/show_bug.cgi?id=74490
1896 Reviewed by Eric Seidel.
1898 * WebCoreSupport/EditorClientGtk.cpp:
1899 (WebKit::EditorClient::registerCommandForUndo):
1900 (WebKit::EditorClient::registerCommandForRedo):
1901 (WebKit::EditorClient::undo):
1902 (WebKit::EditorClient::redo):
1903 * WebCoreSupport/EditorClientGtk.h:
1905 2011-12-16 Carlos Garcia Campos <cgarcia@igalia.com>
1907 [GTK] Update NEWS and configure.ac for 1.7.3 release
1908 https://bugs.webkit.org/show_bug.cgi?id=74699
1910 Reviewed by Philippe Normand.
1912 * NEWS: Added release notes for 1.7.3.
1914 2011-12-14 Jing Zhao <jingzhao@chromium.org>
1916 Opening two popup menus by dispatchEvent() makes problems.
1917 https://bugs.webkit.org/show_bug.cgi?id=73304
1919 Reviewed by Kent Tamura.
1921 * WebCoreSupport/ChromeClientGtk.cpp:
1922 (WebKit::ChromeClient::hasOpenedPopup): Not implemented.
1923 * WebCoreSupport/ChromeClientGtk.h: Overrides hasOpenedPopup().
1925 2011-12-12 Ryosuke Niwa <rniwa@webkit.org>
1927 WebKit code shouldn't be calling applyCommand directly
1928 https://bugs.webkit.org/show_bug.cgi?id=74337
1930 Reviewed by Darin Adler.
1932 * webkit/webkitwebframe.cpp:
1933 (webkit_web_frame_replace_selection):
1935 2011-12-12 Martin Robinson <mrobinson@igalia.com>
1937 [GTK] gtk_widget_size_allocate for plugin widgets should happen in the WebView size-allocate method
1938 https://bugs.webkit.org/show_bug.cgi?id=72805
1940 Reviewed by Gustavo Noronha Silva.
1942 Instead of immediately calling gtk_widget_size during painting, defer
1943 this until the size-allocate method of the WebView.
1945 * WebCoreSupport/ChromeClientGtk.cpp:
1946 (WebKit::ChromeClient::paint): If any child widgets have a pending allocation
1947 call gtk_widget_size_allocate.
1948 * webkit/webkitwebview.cpp:
1949 (updateChildAllocationFromPendingAllocation): Added this helper.
1950 (webkit_web_view_size_allocate): Call the helper on all child widgets.
1952 2011-12-09 Joone Hur <joone.hur@collabora.co.uk>
1954 [GTK] Initial implementation of Accelerated Compositing using Clutter
1955 https://bugs.webkit.org/show_bug.cgi?id=73319
1957 This patch allows to add a GtkClutterEmbed to embed Clutter Actors in WebKitWebView and
1958 set the root GraphicsLayer to WebKitWebView when Accelerated Compositing needs to be enabled.
1960 Reviewed by Gustavo Noronha Silva.
1963 * WebCoreSupport/ChromeClientGtk.cpp:
1964 (WebKit::ChromeClient::attachRootGraphicsLayer): Set the root GraphicsLayer to WebKitWebView.
1965 (WebKit::ChromeClient::allowedCompositingTriggers): Allow to support CSS 3D Transforms only.
1966 * webkit/webkitglobals.cpp:
1967 (webkitInit): Call gtk_clutter_init().
1968 * webkit/webkitwebview.cpp:
1969 (webkit_web_view_size_allocate): Set the size of GtkClutterEmbed when the view is changed.
1970 (webkit_web_view_init)
1971 (webViewSetRootGraphicsLayer): Add the GtkClutterEmbed to the WebKitWebView as a child.
1972 (webViewDetachRootGraphicsLayer): Remove the GtkClutterEmbed from the WebKitWebView.
1973 (webViewSyncLayers): Commit layer changes.
1974 (webViewMarkForSync): Set to call webViewSyncLayers using g_timeout_add.
1975 * webkit/webkitwebviewprivate.h:
1977 2011-12-07 Mary Wu <mary.wu@torchmobile.com.cn>
1979 Change function name InitializeLoggingChannelsIfNecessary to follow coding style guideline
1980 https://bugs.webkit.org/show_bug.cgi?id=73986
1982 Reviewed by Kenneth Rohde Christiansen.
1984 * webkit/webkitglobals.cpp:
1987 2011-12-05 Mario Sanchez Prada <msanchez@igalia.com>
1989 [GTK] Move emissions of AtkDocument signals down to WebCore
1990 https://bugs.webkit.org/show_bug.cgi?id=73750
1992 Reviewed by Chris Fleizach.
1994 Removed code for emission of AtkDocument signals.
1996 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1997 (WebKit::notifyStatus): Removed no longer used code.
1999 2011-12-04 Mario Sanchez Prada <msanchez@igalia.com>
2001 [Gtk] Check for the load-complete event only in the unit tests.
2003 There is currently a known issue happening in debug builds when
2004 reloading the webview if it was loaded before through the function
2005 webkit_web_view_load_string, resulting in a ASSERT failing (see
2006 bug 50331) so we can't check for the reload event here, since it
2007 makes the test to fail. Fortunately, checking for load-complete
2008 event is a good enough test, so this small patch is about that.
2010 Rubber-stamped by Philippe Normand.
2013 (testWebkitAtkDocumentLoadingEvents): Don't load and then reload
2014 to check events, just load once and check whether the
2015 'load-complete' event has happened.
2017 2011-12-03 Mario Sanchez Prada <msanchez@igalia.com>
2019 Removing document related events from DRT
2021 [GTK] Don't log document events in DRT
2022 https://bugs.webkit.org/show_bug.cgi?id=73746
2024 Reviewed by Martin Robinson.
2026 New unit test to check events when reloading a document. This
2027 replaces the former document-reload-events.html layout test.
2030 (updateLoadingEventsResult): New, updates a global variable to
2031 allow checking later on that the right signals were emmitted.
2032 (documentLoadingEventCallback): New, global listener for load-complete
2033 and reload signals over the document object (the web area).
2034 (testWebkitAtkDocumentLoadingEvents): New unit test, globally
2035 connects to document-related signals and check they are properly
2036 emitted when reloading the web view.
2037 (main): Added new test.
2039 2011-12-03 Xan Lopez <xlopez@igalia.com>
2041 [GTK] Implement History API FrameLoaderClient methods
2042 https://bugs.webkit.org/show_bug.cgi?id=59017
2044 Reviewed by Gustavo Noronha Silva.
2046 Fake the load process when the new HTML5 History APIs are
2047 used. Otherwise the UA does not have a chance of updating the URL
2048 entry, back/forward buttons, etc.
2050 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2051 (WebKit::FrameLoaderClient::dispatchDidNavigateWithinPage): fake a
2053 (WebKit::FrameLoaderClient::dispatchDidPushStateWithinPage): call
2054 dispatchDidNavigateWithinPage.
2055 (WebKit::FrameLoaderClient::dispatchDidReplaceStateWithinPage):
2057 (WebKit::FrameLoaderClient::dispatchDidPopStateWithinPage): do
2058 nothing, because push was already called, but note this in a
2060 * WebCoreSupport/FrameLoaderClientGtk.h: add the new method.
2062 2011-12-02 Philippe Normand <pnormand@igalia.com>
2064 [GStreamer] Fullscreen controller support for the new WebKit Fullscreen API
2065 https://bugs.webkit.org/show_bug.cgi?id=66968
2067 Reviewed by Martin Robinson.
2069 If the element being fullscreened is a video use the native
2070 fullscreen controls.
2072 * WebCoreSupport/ChromeClientGtk.cpp:
2073 (WebKit::ChromeClient::enterFullScreenForElement):
2074 (WebKit::ChromeClient::exitFullScreenForElement):
2076 2011-12-01 Philippe Normand <pnormand@igalia.com>
2078 [GTK] scrollbars interfering with fullscreen (in-window) video rendering
2079 https://bugs.webkit.org/show_bug.cgi?id=73577
2081 Reviewed by Martin Robinson.
2083 Disable scrollbars when switching to fullscreen.
2085 * WebCoreSupport/ChromeClientGtk.cpp:
2086 (WebKit::ChromeClient::contentsSizeChanged): Ignore size changes
2087 when an element is being displayed fullscreen.
2088 (WebKit::ChromeClient::enterFullScreenForElement): Disable
2089 scrollbars when entering fullscreen.
2090 * WebCoreSupport/GtkAdjustmentWatcher.cpp: Added 2 methods to
2091 enable/disable scrollbars and one method to know whether they are
2093 (WebKit::GtkAdjustmentWatcher::GtkAdjustmentWatcher):
2094 (WebKit::updateAdjustmentFromScrollbar):
2095 (WebKit::GtkAdjustmentWatcher::updateAdjustmentsFromScrollbars):
2096 (WebKit::GtkAdjustmentWatcher::updateAdjustmentsFromScrollbarsLater):
2097 (WebKit::GtkAdjustmentWatcher::disableAllScrollbars):
2098 (WebKit::GtkAdjustmentWatcher::enableAllScrollbars):
2099 * WebCoreSupport/GtkAdjustmentWatcher.h:
2100 (WebKit::GtkAdjustmentWatcher::scrollbarsDisabled):
2102 2011-11-21 Philippe Normand <pnormand@igalia.com>
2104 [GTK] enable-webaudio websetting
2105 https://bugs.webkit.org/show_bug.cgi?id=69836
2107 Reviewed by Martin Robinson.
2109 * webkit/webkitwebsettings.cpp: New enable-webaudio boolean
2110 setting, set to FALSE by default.
2111 (webkit_web_settings_class_init):
2112 (webkit_web_settings_set_property):
2113 (webkit_web_settings_get_property):
2114 * webkit/webkitwebsettingsprivate.h: Ditto.
2115 * webkit/webkitwebview.cpp: Update WebCore settings when
2116 enable-webaudio value changes.
2117 (webkit_web_view_update_settings):
2118 (webkit_web_view_settings_notify):
2120 2011-11-30 Alexey Proskuryakov <ap@apple.com>
2122 Remove an unneeded argument from FrameLoaderClient::download
2123 https://bugs.webkit.org/show_bug.cgi?id=73486
2125 Reviewed by Andreas Kling.
2127 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2128 (WebKit::FrameLoaderClient::download):
2129 * WebCoreSupport/FrameLoaderClientGtk.h:
2130 Updated for the change.
2132 2011-11-30 Alejandro G. Castro <alex@igalia.com>
2134 [GTK] Add TextureMapperCairo boilerplate implementation
2135 https://bugs.webkit.org/show_bug.cgi?id=73440
2137 Add texture mapper glue to the widget and chrome client.
2139 Reviewed by Martin Robinson.
2141 * WebCoreSupport/ChromeClientGtk.cpp:
2142 (WebKit::ChromeClient::attachRootGraphicsLayer):
2143 (WebKit::ChromeClient::setNeedsOneShotDrawingSynchronization):
2144 (WebKit::ChromeClient::scheduleCompositingLayerSync):
2145 (WebKit::ChromeClient::allowedCompositingTriggers):
2146 * webkit/webkitwebview.cpp:
2147 (webViewSetRootGraphicsLayer):
2148 (webViewMarkForSync):
2149 * webkit/webkitwebviewprivate.h:
2151 2011-11-30 Philippe Normand <pnormand@igalia.com>
2153 [GTK] HTML5 Youtube video fullscreen button doesn't work
2154 https://bugs.webkit.org/show_bug.cgi?id=73456
2156 Reviewed by Martin Robinson.
2158 * WebCoreSupport/ChromeClientGtk.cpp:
2159 (WebKit::ChromeClient::supportsFullScreenForElement): Ignore
2160 withKeyboard argument value, like Chrome's implementation.
2162 2011-11-29 Sergio Villar Senin <svillar@igalia.com>
2164 [GTK] SIGSEV when a WebKitDownload fails
2165 https://bugs.webkit.org/show_bug.cgi?id=72883
2167 Reviewed by Xan Lopez.
2169 After r100769 http status codes >= 400 trigger download
2170 failures. We must ensure that the download is properly cancelled
2171 before clearing the ResourceHandle client to avoid crashes.
2173 * webkit/webkitdownload.cpp:
2174 (DownloadClient::didReceiveResponse):
2176 2011-11-29 Martin Robinson <mrobinson@igalia.com>
2178 [GTK] Custom fonts on surlybikes.com and boingboing.net do not load
2179 https://bugs.webkit.org/show_bug.cgi?id=69115
2181 Reviewed by Gustavo Noronha Silva.
2183 Instead of pretending to be Safari/Linux, pretend to be a Linux Chrome.
2184 This fixes pages that assume that if a browser is Safari, but not OS X, it is
2185 the iOS version of Safari.
2187 * tests/testwebsettings.c:
2188 (test_webkit_web_settings_user_agent): Update the test to reflect that the
2189 user agent does not change.
2190 * webkit/webkitwebsettings.cpp:
2191 (chromeUserAgent): Renamed this from webkitUserAgent to more accurately
2192 describe what it is.
2193 (webkit_web_settings_class_init): Just use an empty string when initializing
2194 the user agent to reduce code duplication.
2195 (webkit_web_settings_set_property): Updated to reflect new method name.
2196 (userAgentForURL): We don't need to special case Google Calendar any longer.
2198 2011-11-29 Mario Sanchez Prada <msanchez@igalia.com>
2200 [Gtk] Regression: text-inserted events lack text inserted and current line
2201 https://bugs.webkit.org/show_bug.cgi?id=72830
2203 Reviewed by Chris Fleizach.
2205 Updated unit test to handle the new 'text-insert' and
2206 'text-remove' signals, instead of the 'text-changed' one.
2209 (textChangedCb): Update a global variable with the result of the
2210 text change, so we can check its value later.
2211 (testWebkitAtkTextChangedNotifications): Connect to the
2212 'text-insert' and 'text-remove' signals and check, in a way more
2213 carefully way than it was done before, that the signals are being
2214 properly emitted, and that the information attached to them is the
2215 right one for each case (insert/remove, offset, count and text).
2217 2011-11-28 Stefan Zwanenburg <stefanhetzwaantje@gmail.com>
2219 WebKitGTK+-1.7.2 build error due to a reference to gdk_disable_multidevice()
2220 https://bugs.webkit.org/show_bug.cgi?id=73206
2222 Reviewed by Martin Robinson.
2225 (initializeTestingFramework): Don't use gdk_disable_multidevice()
2228 2011-11-26 Pavel Feldman <pfeldman@google.com>
2230 Web Inspector: remove disconnectFromBackend from the protocol.
2231 https://bugs.webkit.org/show_bug.cgi?id=73127
2233 Reviewed by Yury Semikhatsky.
2235 * WebCoreSupport/InspectorClientGtk.cpp:
2236 (WebKit::InspectorClient::inspectorDestroyed):
2237 (WebKit::InspectorClient::closeInspectorFrontend):
2238 * WebCoreSupport/InspectorClientGtk.h:
2240 2011-11-26 Sheriff Bot <webkit.review.bot@gmail.com>
2242 Unreviewed, rolling out r101193.
2243 http://trac.webkit.org/changeset/101193
2244 https://bugs.webkit.org/show_bug.cgi?id=73158
2246 Breaks Windows and Qt minimal. (Requested by pfeldman on
2249 * WebCoreSupport/InspectorClientGtk.cpp:
2250 (WebKit::InspectorClient::inspectorDestroyed):
2251 (WebKit::InspectorFrontendClient::disconnectFromBackend):
2252 * WebCoreSupport/InspectorClientGtk.h:
2254 2011-11-26 Pavel Feldman <pfeldman@google.com>
2256 Web Inspector: remove disconnectFromBackend from the protocol.
2257 https://bugs.webkit.org/show_bug.cgi?id=73127
2259 Reviewed by Yury Semikhatsky.
2261 * WebCoreSupport/InspectorClientGtk.cpp:
2262 (WebKit::InspectorClient::inspectorDestroyed):
2263 (WebKit::InspectorClient::closeInspectorFrontend):
2264 * WebCoreSupport/InspectorClientGtk.h:
2266 2011-11-17 Martin Robinson <mrobinson@igalia.com>
2268 [GTK] Integrate build-gtkdoc into build-webkit and make
2269 https://bugs.webkit.org/show_bug.cgi?id=72626
2271 Reviewed by Philippe Normand.
2273 * docs/GNUmakefile.am: Removed.
2274 * docs/version.xml.in: Removed.
2276 2011-11-23 Kaustubh Atrawalkar <kaustubh@motorola.com>
2278 Documentation fix for load-committed in webkitwebframe
2279 https://bugs.webkit.org/show_bug.cgi?id=72927
2281 Reviewed by Martin Robinson.
2283 * webkit/webkitwebframe.cpp:
2284 (webkit_web_frame_class_init):
2286 2011-11-22 Pavel Feldman <pfeldman@google.com>
2288 Web Inspector: remove Inspector::bringToFront from the protocol.
2289 https://bugs.webkit.org/show_bug.cgi?id=72937
2291 Reviewed by Yury Semikhatsky.
2293 * WebCoreSupport/InspectorClientGtk.cpp:
2294 (WebKit::InspectorClient::bringFrontendToFront):
2295 * WebCoreSupport/InspectorClientGtk.h:
2297 2011-11-22 Pavel Feldman <pfeldman@google.com>
2299 Web Inspector: strip unused InspectorController methods.
2300 https://bugs.webkit.org/show_bug.cgi?id=72886
2302 Reviewed by Yury Semikhatsky.
2304 * webkit/webkitwebinspector.cpp:
2305 (webkit_web_inspector_set_property):
2306 (webkit_web_inspector_get_property):
2308 2011-11-21 Yuta Kitamura <yutak@chromium.org>
2310 [GTK] Enable WebSocket hybi tests
2311 https://bugs.webkit.org/show_bug.cgi?id=72870
2313 Reviewed by Xan Lopez.
2315 Change the settings value through DumpRenderTreeSupportGtk, because we do not
2316 want to expose this as a public API.
2318 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
2319 (DumpRenderTreeSupportGtk::setHixie76WebSocketProtocolEnabled):
2320 Change the value of a flag in WebCore::Settings.
2321 * WebCoreSupport/DumpRenderTreeSupportGtk.h:
2323 2011-11-21 Carlos Garcia Campos <cgarcia@igalia.com>
2325 [GTK] Update NEWS and configure.ac for 1.7.2 release
2326 https://bugs.webkit.org/show_bug.cgi?id=72868
2328 Reviewed by Xan Lopez.
2330 * NEWS: Added release notes for 1.7.2.
2332 2011-10-17 Antonio Gomes <agomes@rim.com>
2334 Pass a Frame* parameter in EditorClient::respondToChangedSelection
2335 https://bugs.webkit.org/show_bug.cgi?id=70248
2337 Reviewed by Ryosuke Niwa.
2339 * WebCoreSupport/EditorClientGtk.cpp: Make use of the newly added Frame* parameter.
2340 (WebKit::EditorClient::respondToChangedSelection):
2341 * WebCoreSupport/EditorClientGtk.h:
2343 2011-11-18 Martin Robinson <mrobinson@igalia.com>
2345 REGRESSION (r99924): broke 2 pasteboard tests on GTK
2346 https://bugs.webkit.org/show_bug.cgi?id=72131
2348 Reviewed by Tony Chang.
2350 * WebCoreSupport/EditorClientGtk.cpp:
2351 (WebKit::setSelectionPrimaryClipboardIfNeeded): Use the new clearAll method.
2353 2011-11-18 Mario Sanchez Prada <msanchez@igalia.com>
2355 [GTK] Accessibility API tests not loading Gtk's accessibility implementation
2356 https://bugs.webkit.org/show_bug.cgi?id=72732
2358 Reviewed by Philippe Normand.
2360 Ensure that the GAIL module is being loaded by avoiding using
2361 gtk_test_init() directly, but a modified version of it.
2364 (testWebkitAtkParentForRootObject): Use a normal GtkWidget (a
2365 GtkWindow) as the parent container for the webView, instead of
2366 using a dummy webView for that, which was hackish.
2367 (testWebkitAtkSetParentForObject): Use normal GtkWidgets instead
2368 of dummy webViews (a GtkWindow and a GtkButton).
2369 (initializeTestingFramework): New function, identical to
2370 gtk_test_init(), but loading GAIL as the only GTK module.
2371 (main): Use initializeTestingFramework().
2373 2011-11-18 Carlos Garcia Campos <cgarcia@igalia.com>
2375 [GTK] Downloads not started by WebView only fail for transport errors
2376 https://bugs.webkit.org/show_bug.cgi?id=72718
2378 Reviewed by Martin Robinson.
2380 Abort the download with an error if the response contains an
2381 error code. It adds a new test case to the download unit tests.
2383 * tests/testdownload.c:
2384 (notifyDownloadStatusCallback):
2386 (test_webkit_download_not_found):
2388 * webkit/webkitdownload.cpp:
2389 (DownloadClient::didReceiveResponse): Check whether http status of
2390 the response is an error code and emit error signal in such case.
2392 2011-11-18 Mario Sanchez Prada <msanchez@igalia.com>
2394 [GTK] Accessibility API tests failing because of using non-WebKit GtkWidgets
2395 https://bugs.webkit.org/show_bug.cgi?id=72708
2397 Reviewed by Xan Lopez.
2399 Do not use non-WebKit GtkWidget's in unit tests, to avoid problems
2400 when GTK's accessibility implementation is not being loaded.
2403 (testWebkitAtkParentForRootObject): Use a dummy WebKitWebView
2404 widget as the parent container needed for this unit test.
2405 (testWebkitAtkSetParentForObject): Ditto.
2407 2011-11-17 Martin Robinson <mrobinson@igalia.com>
2409 [GTK] Remove the last remaining WebKit1 gtkdoc warnings
2410 https://bugs.webkit.org/show_bug.cgi?id=72627
2412 Reviewed by Philippe Normand.
2414 * webkit/webkitdownload.h: Add missing enum documentation.
2415 * webkit/webkiterror.h: Ditto.
2416 * webkit/webkitwebview.h: Ditto.
2418 2011-11-17 Mario Sanchez Prada <msanchez@igalia.com>
2420 [Gtk] Ensure the parent for the webView's a11y object is set.
2422 This should fix some accessibility related GTK API tests.
2424 Rubber-stamped by Philippe Normand.
2426 * webkit/webkitwebview.cpp:
2427 (webkit_web_view_get_accessible): Always set the parent to make
2428 navigation across GTK and WebKit worlds work properly.
2430 2011-11-17 Mario Sanchez Prada <msanchez@igalia.com>
2432 [GTK] Consider parent AtkObject in webkit_accessible_get_parent(), if already set
2433 https://bugs.webkit.org/show_bug.cgi?id=72525
2435 Reviewed by Xan Lopez.
2438 (testWebkitAtkSetParentForObject): New unit test to check that
2439 calls to atk_object_get_parent() over a WebKitGTK's accessibility
2440 wrapper object returns its parent AtkObject if previously set.
2441 (main): Added new test.
2443 2011-11-17 Mario Sanchez Prada <msanchez@igalia.com>
2445 [GTK] ATK API tests failing because of patch for bug 72390
2446 https://bugs.webkit.org/show_bug.cgi?id=72592
2448 Reviewed by Philippe Normand.
2451 (testWebkitAtkParentForRootObject): Remove the offending line in
2452 the unit test, which is not actually required to test the new
2453 functionality and causes problems in some scenarios, due to the
2454 lazy creation mechanism of AtkObjects.
2456 * tests/testatkroles.c:
2457 (finish_loading): Reflect that the document frame object is no
2458 longer the root accessibility object (a scroll pane from now on),
2459 but the only child of that one. Thus, skip that root object.
2461 2011-11-16 Mario Sanchez Prada <msanchez@igalia.com>
2463 [GTK] Do not hide accessibility root object from AT's
2464 https://bugs.webkit.org/show_bug.cgi?id=72390
2466 Reviewed by Martin Robinson.
2469 (getWebAreaObject): New helper function, to bypass the new root
2470 object in the accessibility hierarchy, since it's not usually
2471 needed for the unit tests.
2472 (testWebkitAtkCaretOffsets): Use getWebAreaObject().
2473 (testWebkitAtkCaretOffsetsAndExtranousWhiteSpaces): Ditto.
2474 (testWebkitAtkComboBox): Ditto.
2475 (testWebkitAtkEmbeddedObjects): Ditto.
2476 (testWebkitAtkGetTextAtOffsetForms): Ditto.
2477 (testWebkitAtkGetTextAtOffset): Ditto.
2478 (testWebkitAtkGetTextAtOffsetNewlines): Ditto.
2479 (testWebkitAtkGetTextAtOffsetTextarea): Ditto.
2480 (testWebkitAtkGetTextAtOffsetTextInput): Ditto.
2481 (testWebkitAtkGetTextAtOffsetWithSpecialCharacters): Ditto.
2482 (testWebkitAtkGetTextInParagraphAndBodySimple): Ditto.
2483 (testWebkitAtkGetTextInParagraphAndBodyModerate): Ditto.
2484 (testWebkitAtkGetTextInTable): Ditto.
2485 (testWebkitAtkGetHeadersInTable): Ditto.
2486 (testWebkitAtkTextAttributes): Ditto.
2487 (testWebkitAtkTextSelections): Ditto.
2488 (testWebkitAtkGetExtents): Ditto.
2489 (testWebkitAtkLayoutAndDataTables): Ditto.
2490 (testWebkitAtkLinksWithInlineImages): Ditto.
2491 (testWebkitAtkHypertextAndHyperlinks): Ditto.
2492 (testWebkitAtkListsOfItems): Ditto.
2493 (testWebkitAtkTextChangedNotifications): Ditto.
2494 (testWebkitAtkParentForRootObject): New test, to make sure that
2495 both top-down and bottom-up navigation among GTK and WebKit worlds
2496 matches accordingly.
2497 (main): Added new test.
2499 * webkit/webkitwebview.cpp:
2500 (webkit_web_view_get_accessible): Remove the hack introduced
2501 because of bug 51932, to bypass the root object here.
2503 2011-11-15 Anders Carlsson <andersca@apple.com>
2505 HostWindow screenToWindow/windowToScreen should be screenToRootView/rootViewToScreen
2506 https://bugs.webkit.org/show_bug.cgi?id=72397
2508 Reviewed by Dan Bernstein.
2510 * WebCoreSupport/ChromeClientGtk.cpp:
2511 (WebKit::ChromeClient::rootViewToScreen):
2512 (WebKit::ChromeClient::screenToRootView):
2513 * WebCoreSupport/ChromeClientGtk.h:
2515 2011-11-14 Anders Carlsson <andersca@apple.com>
2517 HostWindow invalidation functions should use root view coordinates
2518 https://bugs.webkit.org/show_bug.cgi?id=72338
2520 Reviewed by Dan Bernstein.
2522 * WebCoreSupport/ChromeClientGtk.cpp:
2523 (WebKit::ChromeClient::invalidateRootView):
2524 (WebKit::ChromeClient::invalidateContentsAndRootView):
2525 (WebKit::ChromeClient::invalidateContentsForSlowScroll):
2526 * WebCoreSupport/ChromeClientGtk.h:
2528 2011-11-15 Carlos Garcia Campos <cgarcia@igalia.com>
2530 [GTK] Implement download support in WebKit2
2531 https://bugs.webkit.org/show_bug.cgi?id=72258
2533 Reviewed by Martin Robinson.
2535 Use errors from WebCore to emit the error signals.
2537 * webkit/webkitdownload.cpp:
2538 (webkitDownloadEmitError): Helper function that emits the error
2539 signal for the given ResourceError.
2540 (webkit_download_open_stream_for_uri): Use webkitDownloadEmitError().
2541 (webkit_download_cancel): Ditto.
2542 (webkit_download_set_destination_uri): Ditto.
2543 (webkit_download_received_data): Ditto.
2544 (webkit_download_error): Ditto.
2546 2011-11-14 Ryuan Choi <ryuan.choi@samsung.com>
2548 [GTK] Possible crash when destroying after called widgetSizeChanged.
2549 https://bugs.webkit.org/show_bug.cgi?id=72237
2551 Reviewed by Martin Robinson.
2553 Crash can occur when ChromeclientGtk is removed before calling repaintEverythingSoonTimeout
2554 registered by widgetSizeChanged.
2555 This patch remove the m_repaintSoonSourceId glib source before destruction
2556 of the ChromeClientGtk to prevent the above crash.
2558 * WebCoreSupport/ChromeClientGtk.cpp:
2559 (WebKit::ChromeClient::chromeDestroyed):
2561 2011-11-09 Philippe Normand <pnormand@igalia.com>
2563 [GTK][DRT] window internals object is not reset after each test
2564 https://bugs.webkit.org/show_bug.cgi?id=71890
2566 Reviewed by Martin Robinson.
2568 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp: Remove problematic
2569 calls to WebCoreSupport which belongs to libWebCoreInternals, not libwebkitgtk.
2570 * WebCoreSupport/DumpRenderTreeSupportGtk.h:
2572 2011-11-09 Philippe Normand <pnormand@igalia.com>
2574 [GTK][DRT] window internals object is not reset after each test
2575 https://bugs.webkit.org/show_bug.cgi?id=71890
2577 Reviewed by Xan Lopez.
2579 DRTSupport infrastructure to reset the Internals object, like in Qt.
2581 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
2582 (DumpRenderTreeSupportGtk::resetInternalsObject):
2583 * WebCoreSupport/DumpRenderTreeSupportGtk.h:
2585 2011-11-07 Adam Barth <abarth@webkit.org>
2587 Move static "policy" state from SecurityOrigin.cpp to SecurityPolicy.cpp
2588 https://bugs.webkit.org/show_bug.cgi?id=71755
2590 Reviewed by Eric Seidel.
2592 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
2593 (DumpRenderTreeSupportGtk::whiteListAccessFromOrigin):
2594 (DumpRenderTreeSupportGtk::resetOriginAccessWhiteLists):
2596 2011-11-08 Zan Dobersek <zandobersek@gmail.com>
2598 [WK][GTK] Application cache directory is incorrectly set
2599 https://bugs.webkit.org/show_bug.cgi?id=71769
2601 Reviewed by Martin Robinson.
2603 Set the application cache directory to be placed in current user's
2604 cache directory and update documentation for
2605 webkit_application_cache_get_database_directory_path after these
2606 changes and changes in r80715;
2608 * webkit/webkitapplicationcache.cpp:
2609 * webkit/webkitglobals.cpp:
2610 (webkitInit): Switch one string formation to use GOwnPtr<gchar>.
2612 2011-11-03 Darin Adler <darin@apple.com>
2614 Change remaining callers of releaseRef to call leakRef
2615 https://bugs.webkit.org/show_bug.cgi?id=71422
2617 Reviewed by Darin Fisher.
2619 * webkit/webkitwebdatasource.cpp:
2621 * webkit/webkitwebhistoryitem.cpp:
2622 (webkit_web_history_item_new):
2623 (webkit_web_history_item_new_with_data):
2624 (webkit_web_history_item_copy):
2626 * webkit/webkitwebresource.cpp:
2627 (webkit_web_resource_new_with_core_resource):
2628 (webkit_web_resource_init_with_core_resource):
2631 2011-11-02 Darin Adler <darin@apple.com>
2633 Change remaining callers of releaseRef to call leakRef
2634 https://bugs.webkit.org/show_bug.cgi?id=71422
2636 Reviewed by Darin Fisher.
2638 * webkit/webkitwebdatasource.cpp:
2640 * webkit/webkitwebhistoryitem.cpp:
2641 (webkit_web_history_item_new):
2642 (webkit_web_history_item_new_with_data):
2643 (webkit_web_history_item_copy):
2645 * webkit/webkitwebresource.cpp:
2646 (webkit_web_resource_new_with_core_resource):
2647 (webkit_web_resource_init_with_core_resource):
2650 2011-11-03 Fady Samuel <fsamuel@chromium.org>
2652 Removing line in computeViewportAttributes that enforces a minimum scale factor to never allow zooming out more than viewport
2653 https://bugs.webkit.org/show_bug.cgi?id=70609
2655 Reviewed by Kenneth Rohde Christiansen.
2657 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
2658 (DumpRenderTreeSupportGtk::dumpConfigurationForViewport):
2659 * webkit/webkitviewportattributes.cpp:
2660 (webkitViewportAttributesRecompute):
2662 2011-11-02 Jon Lee <jonlee@apple.com>
2664 Expand DragController to provide more information about the dragging session
2665 https://bugs.webkit.org/show_bug.cgi?id=71324
2666 <rdar://problem/10379175>
2668 Reviewed by Darin Adler.
2670 * webkit/webkitwebview.cpp:
2671 (webkit_web_view_drag_motion): Minor refactoring.
2672 (webkit_web_view_drag_data_received): Minor refactoring.
2674 2011-11-02 Tom Sepez <tsepez@chromium.org>
2676 XSSAuditor is silent
2677 https://bugs.webkit.org/show_bug.cgi?id=70973
2679 Reviewed by Adam Barth.
2681 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2682 (WebKit::FrameLoaderClient::didDetectXSS):
2683 * WebCoreSupport/FrameLoaderClientGtk.h:
2685 2011-11-02 Zan Dobersek <zandobersek@gmail.com>
2687 [GTK] Visited links of a page group should be removed when clearing back/forward list
2688 https://bugs.webkit.org/show_bug.cgi?id=71052
2690 Reviewed by Martin Robinson.
2692 When clearing back-forward list, also remove the visited links from page's page group.
2694 * webkit/webkitwebbackforwardlist.cpp:
2695 (webkit_web_back_forward_list_clear):
2697 2011-10-31 Carlos Garcia Campos <cgarcia@igalia.com>
2699 [GTK] Install html and tmpl dirs in a $(DOC_MODULE) dir in tarball
2700 https://bugs.webkit.org/show_bug.cgi?id=71224
2702 Reviewed by Martin Robinson.
2704 * GNUmakefile.gtk-doc.am: Copy html and tmpl dirs to
2705 $(distdir)/$(DOC_MODULE).
2707 2011-10-29 Martin Robinson <mrobinson@igalia.com>
2709 [GTK] Switch to a backing store approach for painting WebKitWebView
2710 https://bugs.webkit.org/show_bug.cgi?id=70213
2712 Reviewed by Gustavo Noronha Silva.
2714 Paint the WebView into a backing store. This prevents expose events from
2715 triggering a layout, making scrolling and resizing much smoother.
2717 * WebCoreSupport/ChromeClientGtk.cpp:
2718 (WebKit::ChromeClient::ChromeClient): Initialize new members.
2719 (WebKit::repaintEverythingSoonTimeout): Added this helper which repaints
2720 the WebView more quickly during resize events.
2721 (WebKit::clipOutOldWidgetArea): Clips out the old widget area, so that we
2722 can clear out invalid pixels when growing the widget into a pre-existing
2724 (WebKit::clearEverywhereInBackingStore): Clear out the entire backing store.
2725 (WebKit::ChromeClient::widgetSizeChanged): Handle widget size changes by
2726 intelligently resizing or reusing the existing backing store.
2727 (WebKit::coalesceRectsIfPossible): Moved this method from webkitwebview.cpp.
2728 (WebKit::paintWebView): Moved this method from webkitwebview.cpp.
2729 (WebKit::ChromeClient::performAllPendingScrolls): If there are any pending
2730 scrolling operations, perform them by scrolling the backing store.
2731 (WebKit::ChromeClient::paint): Added this timer callback, which paints the
2732 WebView after a short timeout.
2733 (WebKit::ChromeClient::invalidateWindow): No need to do anything here any longer.
2734 (WebKit::ChromeClient::invalidateContentsAndWindow): Now unite the rect with
2735 the existing dirty region and queue the paint timeout.
2736 (WebKit::ChromeClient::scroll): Now just queue a scroll event in the repaint timeout.
2737 Intelligently calculate the area to move and the dirty area using code derived
2739 * WebCoreSupport/ChromeClientGtk.h: Added new method definitions and also use
2740 the WebCore namespace to avoid lots of uses of "WebCore::".
2741 * webkit/webkitwebview.cpp:
2742 (webkit_web_view_draw): Now just blit the backing store into the widget.
2743 (webkit_web_view_expose): Ditto.
2744 (webkit_web_view_size_allocate): Let the ChromeClient know the widget size changed.
2745 (webkit_web_view_init): Turn off GDK double buffering as we have our own double
2747 * webkit/webkitwebviewprivate.h: Add the backing store member.
2749 2011-10-28 Jochen Eisinger <jochen@chromium.org>
2751 Rename a number of methods mentioning JavaScript to just Script instead
2752 https://bugs.webkit.org/show_bug.cgi?id=71105
2754 Reviewed by Adam Barth.
2756 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2757 (WebKit::FrameLoaderClient::dispatchDidClearWindowObjectInWorld):
2758 * webkit/webkitwebview.cpp:
2759 (webkit_web_view_update_settings):
2760 (webkit_web_view_settings_notify):
2762 2011-10-27 Martin Robinson <mrobinson@igalia.com>
2764 [GTK] Remove most of the documentation errors from WebKit1
2765 https://bugs.webkit.org/show_bug.cgi?id=70670
2767 Reviewed by Gustavo Noronha Silva.
2769 Fix most of the documentation errors for WebKit and make many
2770 missing symbols show up in the documentation.
2772 * webkit/webkitglobals.h: Doc fixes.
2773 * webkit/webkitspellchecker.h: Ditto.
2774 * webkit/webkitspellcheckerenchant.cpp: Ditto.
2775 * webkit/webkitwebbackforwardlist.h: Ditto.
2776 * webkit/webkitwebdatasource.cpp: Ditto.
2777 * webkit/webkitwebframe.cpp: Ditto.
2778 * webkit/webkitwebinspector.cpp: Ditto.
2779 * webkit/webkitwebinspector.h: Ditto.
2780 * webkit/webkitwebplugin.h: Ditto.
2781 * webkit/webkitwebplugindatabase.cpp: Ditto.
2782 * webkit/webkitwebplugindatabase.h: Ditto.
2783 * webkit/webkitwebsettings.h: Ditto.
2784 * webkit/webkitwebview.cpp: Ditto.
2785 (webkit_web_view_class_init): Ditto.
2786 * webkit/webkitwebview.h: Ditto.
2788 2011-10-27 Philippe Normand <pnormand@igalia.com>
2790 [GStreamer] WebAudio AudioFileReader implementation
2791 https://bugs.webkit.org/show_bug.cgi?id=69834
2793 Reviewed by Martin Robinson.
2795 * GNUmakefile.am: Link against libfftw.
2797 2011-10-26 Carlos Garcia Campos <cgarcia@igalia.com>
2799 [GTK] Update NEWS and configure.ac for 1.7.1 release
2800 https://bugs.webkit.org/show_bug.cgi?id=70932
2802 Reviewed by Martin Robinson.
2804 * NEWS: Added release notes.
2806 2011-10-26 Alejandro G. Castro <alex@igalia.com>
2808 [GTK] Fix distcheck compilation
2809 https://bugs.webkit.org/show_bug.cgi?id=70921
2811 Add new files required by doc compilation to the clean process.
2813 Reviewed by Martin Robinson.
2815 * docs/GNUmakefile.am:
2817 2011-10-26 Zalan Bujtas <zbujtas@gmail.com>
2819 Name viewport change event consistently.
2820 https://bugs.webkit.org/show_bug.cgi?id=70901
2822 Reviewed by Kenneth Rohde Christiansen.
2824 Use ViewportPropertiesDidChange term consistently throughout WebKit.
2826 * WebCoreSupport/ChromeClientGtk.cpp:
2827 (WebKit::ChromeClient::dispatchViewportPropertiesDidChange):
2828 * WebCoreSupport/ChromeClientGtk.h:
2830 2011-10-26 Carlos Garcia Campos <cgarcia@igalia.com>
2832 [GTK] Remove g_thread_init() calls from gtk-doc scanner too
2833 https://bugs.webkit.org/show_bug.cgi?id=70908
2835 Reviewed by Gustavo Noronha Silva.
2837 * docs/GNUmakefile.am:
2839 2011-10-25 Martin Robinson <mrobinson@igalia.com>
2841 [GTK] GtkAdjustment watcher updates adjustments too lazily
2842 https://bugs.webkit.org/show_bug.cgi?id=70180
2844 Reviewed by Gustavo Noronha Silva.
2846 Increase the priority of the GtkAdjustments update in GtkAdjustmentWatcher. This
2847 means that adjustments will more quickly represent the state of the WebKitWebView
2848 when it scrolls. This fixes out-of-sync scrollbars and some visual artifacts.
2850 * WebCoreSupport/GtkAdjustmentWatcher.cpp:
2851 (WebKit::GtkAdjustmentWatcher::updateAdjustmentsFromScrollbarsLater): Use a timeout
2852 with the default priority.
2854 2011-10-24 Carlos Garcia Campos <cgarcia@igalia.com>
2856 [GTK] Remove g_thread_init() calls
2857 https://bugs.webkit.org/show_bug.cgi?id=70717
2859 Reviewed by Xan Lopez.
2861 With newer glib it's not needed anymore and with previous versions
2862 it was already called by g_type_init().
2864 * tests/testapplicationcache.c:
2868 * tests/testatkroles.c:
2870 * tests/testcopyandpaste.c:
2872 * tests/testdomdocument.c:
2874 * tests/testdomdomwindow.c:
2876 * tests/testdomnode.c:
2878 * tests/testdownload.c:
2880 * tests/testglobals.c:
2882 * tests/testhittestresult.c:
2884 * tests/testhttpbackend.c:
2886 * tests/testkeyevents.c:
2888 * tests/testloading.c:
2890 * tests/testmimehandling.c:
2892 * tests/testnetworkrequest.c:
2894 * tests/testnetworkresponse.c:
2896 * tests/testwebbackforwardlist.c:
2898 * tests/testwebdatasource.c:
2900 * tests/testwebframe.c:
2902 * tests/testwebhistoryitem.c:
2904 * tests/testwebplugindatabase.c:
2906 * tests/testwebresource.c:
2908 * tests/testwebsettings.c:
2910 * tests/testwebview.c:
2911 * tests/testwindow.c:
2914 2011-10-20 Gustavo Noronha Silva <gns@gnome.org>
2916 [GTK] webkitgtk's pkgconfig file needs to require javascriptcoregtk
2917 https://bugs.webkit.org/show_bug.cgi?id=70500
2919 Reviewed by Philippe Normand.
2921 * webkit.pc.in: add javascriptcoregtk to Requires
2923 2011-10-19 Gustavo Noronha Silva <gns@gnome.org>
2925 GTK+ build fix. Rename the INCLUDES variable so it is not picked
2926 up by random bystanders. Also do some more cleanup on stuff we
2927 inherited from gtk-doc.make.
2929 * GNUmakefile.gtk-doc.am:
2930 * docs/GNUmakefile.am:
2932 2011-10-19 Gustavo Noronha Silva <gns@gnome.org>
2934 [GTK] Streamline wk1 documentation build
2935 https://bugs.webkit.org/show_bug.cgi?id=70447
2937 Reviewed by Martin Robinson.
2939 * GNUmakefile.am: move files pertaining to the docs build to the
2940 docs GNUmakefile.am;
2941 * GNUmakefile.gtk-doc.make: incorporate the gtk-doc makefile, and customize it
2942 to our non-recursive build;
2943 * docs/GNUmakefile.am: simplification and adaption to work with the
2944 rest of the build system.
2946 2011-10-19 Zan Dobersek <zandobersek@gmail.com>
2948 [Gtk][Geolocation] Build guards missing in geolocation clients
2949 https://bugs.webkit.org/show_bug.cgi?id=70420
2951 Reviewed by Gustavo Noronha Silva.
2953 Adds build guards that were forgotten when client-based
2954 geolocation was introduced in r97746. This should make builds
2955 without geolocation support succeed again.
2957 * WebCoreSupport/GeolocationClientGtk.cpp:
2958 * WebCoreSupport/GeolocationClientGtk.h:
2959 * webkit/webkitwebview.cpp:
2960 (webkit_web_view_init):
2962 2011-10-18 Zan Dobersek <zandobersek@gmail.com>
2964 [Gtk] Support for client-based geolocation
2965 https://bugs.webkit.org/show_bug.cgi?id=64970
2967 Reviewed by Martin Robinson.
2969 Add DumpRenderTree support functions for client-based geolocation tests
2970 and implement GeolocationClientGtk. The implementation is based on Zecke's
2971 implementation of GeolocationService class in WebCore, which is now redundant
2972 and subsequently removed.
2974 * GNUmakefile.am: Add GeolocationClientGtk.* files to compilation.
2975 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp: Add support functions to operate
2976 with GeolocationClientMock.
2977 (DumpRenderTreeSupportGtk::resetGeolocationClientMock):
2978 (DumpRenderTreeSupportGtk::setMockGeolocationPermission):
2979 (DumpRenderTreeSupportGtk::setMockGeolocationPosition):
2980 (DumpRenderTreeSupportGtk::setMockGeolocationError):
2981 (DumpRenderTreeSupportGtk::numberOfPendingGeolocationPermissionRequests):
2982 * WebCoreSupport/DumpRenderTreeSupportGtk.h:
2983 * WebCoreSupport/GeolocationClientGtk.cpp: Added.
2984 (WebKit::getPositionCallback):
2985 (WebKit::positionChangedCallback):
2986 (WebKit::GeolocationClient::GeolocationClient):
2987 (WebKit::GeolocationClient::geolocationDestroyed):
2988 (WebKit::GeolocationClient::startUpdating):
2989 (WebKit::GeolocationClient::stopUpdating):
2990 (WebKit::GeolocationClient::setEnableHighAccuracy):
2991 (WebKit::GeolocationClient::lastPosition):
2992 (WebKit::GeolocationClient::requestPermission):
2993 (WebKit::GeolocationClient::cancelPermissionRequest):
2994 (WebKit::GeolocationClient::positionChanged):
2995 (WebKit::GeolocationClient::updatePosition):
2996 (WebKit::GeolocationClient::errorOccured):
2997 * WebCoreSupport/GeolocationClientGtk.h: Added.
2998 * webkit/webkitwebview.cpp:
2999 (webkit_web_view_init): Use GeolocationClientMock as geolocation client
3000 when running in DumpRenderTree.
3002 2011-10-12 Ryosuke Niwa <rniwa@webkit.org>
3004 Make the interface of locationAndLengthFromRange and rangeFromLocationAndLength consistent
3005 https://bugs.webkit.org/show_bug.cgi?id=69964
3007 Reviewed by Enrica Casucci.
3009 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
3010 (DumpRenderTreeSupportGtk::firstRectForCharacterRange):
3012 2011-09-28 Martin Robinson <mrobinson@igalia.com>
3014 [GTK] Move drag-and-drop code which can be shared with WebKit2 to WebCore
3015 https://bugs.webkit.org/show_bug.cgi?id=66890
3017 Use the new GtkWidgetDragAndDropGlue class to hold the logic that will be
3018 common between WebKit1 and WebKit2. Modify WebKitWebView to use this class.
3020 Reviewed by Philippe Normand.
3022 * WebCoreSupport/DragClientGtk.cpp:
3023 (WebKit::DragClient::startDrag): Inform the drag-and-drop glue about the drag.
3024 * webkit/webkitwebview.cpp: Use GtkWidgetDragAndDropGlue wherever this class was
3025 maintaining drag-and-drop state itself.
3026 * webkit/webkitwebviewprivate.h: Swap out the drag-and-drop state for an instance
3029 2011-09-28 Kaustubh Atrawalkar <kaustubh@motorola.com>
3031 [Gtk] Implement textInputController.doCommand
3032 https://bugs.webkit.org/show_bug.cgi?id=66496
3034 Reviewed by Martin Robinson.
3036 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
3037 (DumpRenderTreeSupportGtk::doCommand): Function definition for doCommand
3038 callback. Converted Incoming command to match with WebCore::Editor CommandMap.
3039 * WebCoreSupport/DumpRenderTreeSupportGtk.h:
3041 2011-09-27 Carlos Garcia Campos <cgarcia@igalia.com>
3043 [GTK] Reorganize header files
3044 https://bugs.webkit.org/show_bug.cgi?id=65616
3046 Reviewed by Martin Robinson.
3048 Install header files under $libwebkitgtkincludedir/webkit.
3050 * GNUmakefile.am: Use $libwebkitgtkincludedir.
3051 * webkit.pc.in: Use webkitgtk-<api-version> as include dir.
3053 2011-09-26 Gustavo Noronha Silva <gustavo.noronha@collabora.com>
3055 Fix documentation generation by specifying the sources
3056 directory with $(top_srcdir).
3058 Reviewed by Xan Lopez.
3060 * docs/GNUmakefile.am:
3062 2011-09-26 Gustavo Noronha Silva <gustavo.noronha@collabora.com>
3064 REGRESSION: Empathy crashes when switching theme
3065 https://bugs.webkit.org/show_bug.cgi?id=68600
3067 Reviewed by Martin Robinson.
3069 * webkit/webkitwebview.cpp:
3070 (webkit_web_view_set_scroll_adjustments): use the existing
3071 set{Horizontal,Vertical}Adjustment functions, so the code is not
3073 (webkit_web_view_dispose): unset the adjustments during dispose,
3074 to avoid late adjustment change notifications hitting the
3077 2011-09-24 Adam Barth <abarth@webkit.org>
3079 Always enable ENABLE(OFFLINE_WEB_APPLICATIONS)
3080 https://bugs.webkit.org/show_bug.cgi?id=68767
3082 Reviewed by Eric Seidel.
3084 * WebCoreSupport/ChromeClientGtk.cpp:
3085 (WebKit::ChromeClient::reachedApplicationCacheOriginQuota):
3086 * WebCoreSupport/ChromeClientGtk.h:
3087 * webkit/webkitapplicationcache.cpp:
3088 (webkit_application_cache_get_maximum_size):
3089 (webkit_application_cache_set_maximum_size):
3090 (webkit_application_cache_get_database_directory_path):
3091 * webkit/webkitglobals.cpp:
3094 2011-09-22 Gustavo Noronha Silva <gustavo.noronha@collabora.com>
3096 Remove useless empty WebKit namespace.
3098 Reviewed by Xan Lopez.
3100 * webkit/webkitglobals.cpp:
3103 2011-09-20 Carlos Garcia Campos <cgarcia@igalia.com>
3105 [GTK] WebProcess shouldn't use the GTK+ API
3106 https://bugs.webkit.org/show_bug.cgi?id=68062
3108 Reviewed by Martin Robinson.
3110 Use WebCore API to create errors in frame loader.
3112 * WebCoreSupport/AssertMatchingEnums.cpp:
3113 * WebCoreSupport/FrameLoaderClientGtk.cpp:
3114 (WebKit::FrameLoaderClient::cancelledError):
3115 (WebKit::FrameLoaderClient::blockedError):
3116 (WebKit::FrameLoaderClient::cannotShowURLError):
3117 (WebKit::FrameLoaderClient::interruptedForPolicyChangeError):
3118 (WebKit::FrameLoaderClient::cannotShowMIMETypeError):
3119 (WebKit::FrameLoaderClient::fileDoesNotExistError):
3120 (WebKit::FrameLoaderClient::pluginWillHandleLoadError):
3121 * webkit/webkiterror.cpp:
3122 (webkit_network_error_quark):
3123 (webkit_policy_error_quark):
3124 (webkit_plugin_error_quark):
3126 2011-09-20 Philippe Normand <pnormand@igalia.com>
3128 [GTK] Update NEWS and configure.ac for 1.5.90 release
3130 Reviewed by Martin Robinson.
3134 2011-09-19 Leandro Pereira <leandro@profusion.mobi>
3136 GTK DRT leaks memory while comparing history items
3137 https://bugs.webkit.org/show_bug.cgi?id=68086
3139 Reviewed by Martin Robinson.
3141 webkit_web_history_item_get_target() function returns a g_strdup()'d
3142 string, so it should return "gchar*" instead of "const gchar*".
3144 * webkit/webkitwebhistoryitem.cpp:
3145 (webkit_web_history_item_get_target): Change return type to "gchar*".
3146 * webkit/webkitwebhistoryitemprivate.h: Ditto.
3148 2011-09-19 Carlos Garcia Campos <cgarcia@igalia.com>
3150 [GTK] Fix distcheck build
3151 https://bugs.webkit.org/show_bug.cgi?id=68346
3153 Reviewed by Philippe Normand.
3155 * tests/testmimehandling.c: Remove ogg tests, since the behavious
3156 has changed in libsoup (https://bugzilla.gnome.org/show_bug.cgi?id=648846#c8)
3158 (mime_type_policy_decision_requested_cb):
3160 * webkit/webkitwebplugin.cpp: Fix introspection annotation.
3162 2011-09-17 Mihai Parparita <mihaip@chromium.org>
3164 FrameLoaderClient BackForwardList-related methods are unsued
3165 https://bugs.webkit.org/show_bug.cgi?id=68293
3167 Reviewed by Darin Adler.
3169 Remove FrameLoaderClient methods that were added by r51629, since only
3170 the old (since-deleted) Android port needed them.
3172 * WebCoreSupport/FrameLoaderClientGtk.cpp:
3173 * WebCoreSupport/FrameLoaderClientGtk.h:
3175 2011-09-15 Adam Barth <abarth@webkit.org>
3177 Rename ENABLE(DATABASE) to ENABLE(SQL_DATABASE)
3178 https://bugs.webkit.org/show_bug.cgi?id=68205
3180 Reviewed by Eric Seidel.
3182 * WebCoreSupport/ChromeClientGtk.cpp:
3183 * WebCoreSupport/ChromeClientGtk.h:
3184 * webkit/webkitsecurityorigin.cpp:
3185 (webkit_security_origin_get_web_database_usage):
3186 (webkit_security_origin_get_web_database_quota):
3187 (webkit_security_origin_set_web_database_quota):
3188 (webkit_security_origin_get_all_web_databases):
3189 * webkit/webkitwebdatabase.cpp:
3190 (webkit_web_database_get_display_name):
3191 (webkit_web_database_get_expected_size):
3192 (webkit_web_database_get_size):
3193 (webkit_web_database_get_filename):
3194 (webkit_web_database_remove):
3195 (webkit_remove_all_web_databases):
3196 (webkit_get_web_database_directory_path):
3197 (webkit_set_web_database_directory_path):
3198 * webkit/webkitwebview.cpp:
3199 (webkit_web_view_update_settings):
3200 (webkit_web_view_settings_notify):
3202 2011-09-10 Adam Barth <abarth@webkit.org>
3206 * webkit/webkitwebview.cpp:
3207 (webkit_web_view_get_encoding):
3209 2011-09-09 Fady Samuel <fsamuel@chromium.org>
3211 Move pageScaleFactor code from Frame.{h|cpp} to Page.{h|cpp}
3212 https://bugs.webkit.org/show_bug.cgi?id=67250
3214 Reviewed by Simon Fraser.
3216 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
3217 (DumpRenderTreeSupportGtk::scalePageBy):
3219 2011-09-08 Daniel Bates <dbates@webkit.org>
3221 Fix the GTK build after <http://trac.webkit.org/changeset/94810>
3222 (https://bugs.webkit.org/show_bug.cgi?id=67807).
3224 * webkit/webkitwebview.cpp:
3225 (webkit_web_view_get_encoding): Substitute DocumentWriter::deprecatedFrameEncoding() for
3226 DocumentWriter::encoding().
3228 2011-09-06 Ryosuke Niwa <rniwa@webkit.org>
3230 Rename confirmCompositionWithoutDisturbingSelection to cancelComposition
3231 https://bugs.webkit.org/show_bug.cgi?id=67569
3233 Reviewed by Antonio Gomes.
3235 * WebCoreSupport/EditorClientGtk.cpp:
3236 (WebKit::EditorClient::respondToChangedSelection):
3238 2011-08-30 Sheriff Bot <webkit.review.bot@gmail.com>
3240 Unreviewed, rolling out r94142, r94144, r94145, and r94148.
3241 http://trac.webkit.org/changeset/94142
3242 http://trac.webkit.org/changeset/94144
3243 http://trac.webkit.org/changeset/94145
3244 http://trac.webkit.org/changeset/94148
3245 https://bugs.webkit.org/show_bug.cgi?id=67262
3247 Broke isindex element (Requested by rniwa on #webkit).
3249 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
3250 (DumpRenderTreeSupportGtk::setAutofilled):
3251 (DumpRenderTreeSupportGtk::setValueForUser):
3253 2011-08-30 Ryosuke Niwa <rniwa@webkit.org>
3255 GTK build fix after r94142.
3257 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
3258 (DumpRenderTreeSupportGtk::setAutofilled):
3259 (DumpRenderTreeSupportGtk::setValueForUser):
3261 2011-08-30 Kaustubh Atrawalkar <kaustubh@motorola.com>
3263 The unused ScrollView* argument can and should be removed from
3265 https://bugs.webkit.org/show_bug.cgi?id=67117
3267 Reviewed by Darin Adler.
3269 * WebCoreSupport/ChromeClientGtk.h:
3270 (WebKit::ChromeClient::scrollRectIntoView):
3272 2011-08-26 Gustavo Noronha Silva <gns@gnome.org>
3274 Minor style fix in the sample code for WebKitWebFrame.
3276 * webkit/webkitwebframe.cpp:
3278 2011-08-17 Alejandro G. Castro <alex@igalia.com>
3280 [GTK] Fix compilation problems with deprecations in gtk+
3281 https://bugs.webkit.org/show_bug.cgi?id=66073
3283 Reviewed by Martin Robinson.
3285 * WebCoreSupport/FullscreenVideoController.cpp:
3286 (FullscreenVideoController::createHud): Added gtk_box_new
3287 conditional compilation for gtk+-3.
3289 2011-08-18 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
3291 [GTK] Change webview API tests to use "load-status" signal instead of "load-progress"
3292 https://bugs.webkit.org/show_bug.cgi?id=66243
3294 Reviewed by Martin Robinson.
3296 The idle_quit_loop_cb() already checks the "load-status" flag, so it is enough to
3297 call it only when the "load-status" change.
3299 This change is important in the context of bug 28851, which aims to change the
3300 order in which "progress finished" and "load finished" callbacks are called. In
3301 this new scenario, at the progress callback the load will never be finished.
3303 * tests/testwebview.c:
3304 (test_webkit_web_view_grab_focus):
3306 2011-08-17 Adam Roben <aroben@apple.com>
3308 Make WebCore keep track of the current device scale factor
3310 Fixes <http://webkit.org/b/66413> WebCore requires every WebKit port to keep track of the
3313 Reviewed by Darin Adler.
3315 * WebCoreSupport/ChromeClientGtk.cpp:
3316 * WebCoreSupport/ChromeClientGtk.h:
3317 Removed deviceScaleFactor.
3319 2011-08-16 Gustavo Noronha Silva <gustavo.noronha@collabora.com>
3321 Add javascriptcoregtk to the introspection build, to fix it.
3323 Reviewed by Xan Lopez.
3327 2011-08-15 Dmitry Titov <dimich@chromium.org>
3329 FrameLoaderClient::transferLoadingResourceFromPage does not have enough parameters
3330 https://bugs.webkit.org/show_bug.cgi?id=66165
3332 Reviewed by Darin Fisher.
3334 * WebCoreSupport/FrameLoaderClientGtk.cpp:
3335 (WebKit::FrameLoaderClient::transferLoadingResourceFromPage):
3336 * WebCoreSupport/FrameLoaderClientGtk.h:
3338 2011-08-10 Adam Roben <aroben@apple.com>
3340 Clear up scale factor terminology
3342 WebKit by and large deals with two scale factors: one intrinsic to the device on which the
3343 software is running, and one that is per-Page and can be controlled via API calls. This
3344 patch names the former "deviceScaleFactor" and the latter "pageScaleFactor", and makes the
3345 code use those names. It should introduce no behavior changes.
3347 Fixes <http://webkit.org/b/55787> WebKit uses multiple conflicting names to refer to the
3350 Reviewed by Simon Fraser.
3352 * WebCoreSupport/ChromeClientGtk.cpp:
3353 * WebCoreSupport/ChromeClientGtk.h:
3355 2011-08-11 Gustavo Noronha Silva <gns@gnome.org>
3357 Add the javascript core dynamic library for gtk-doc's introspection helper.
3359 Reviewed by Xan Lopez.
3361 * docs/GNUmakefile.am:
3363 2011-08-11 Xan Lopez <xlopez@igalia.com>
3365 [GTK] Update NEWS and configure.ac for 1.5.2 release
3367 Reviewed by Gustavo Noronha.
3369 * NEWS: update for release.
3371 2011-08-10 Gustavo Noronha Silva <gns@gnome.org>
3373 [GTK] wrong annotation for the return value of webkit_web_view_get_hit_test_results()
3374 https://bugs.webkit.org/show_bug.cgi?id=65985
3376 Reviewed by Xan Lopez.
3378 * webkit/webkitwebview.cpp:
3380 2011-08-03 Pavel Feldman <pfeldman@google.com>
3382 Web Inspector: [Timeline] Hover on paint events and see rect outline around that area.
3383 https://bugs.webkit.org/show_bug.cgi?id=65510
3385 Reviewed by Yury Semikhatsky.
3387 * webkit/webkitwebview.cpp:
3390 2011-08-03 Pavel Feldman <pfeldman@chromium.org>
3392 Web Inspector: remove Node parameter from the InspectorClient::highlight
3393 https://bugs.webkit.org/show_bug.cgi?id=65549
3395 Reviewed by Yury Semikhatsky.
3397 * WebCoreSupport/InspectorClientGtk.cpp:
3398 (WebKit::InspectorClient::highlight):
3399 * WebCoreSupport/InspectorClientGtk.h:
3401 2011-08-03 Carlos Garcia Campos <cgarcia@igalia.com>
3403 [GTK] Reorganize pkg-config files
3404 https://bugs.webkit.org/show_bug.cgi?id=65548
3406 Reviewed by Martin Robinson.
3408 * GNUmakefile.am: Remove javascriptcore pc file references.
3410 2011-07-30 Patrick Gansterer <paroga@webkit.org>
3412 Remove inclusion of MainThread.h from Threading.h
3413 https://bugs.webkit.org/show_bug.cgi?id=65081
3415 Reviewed by Darin Adler.
3417 Add missing include statements for MainThread.
3419 * webkit/webkitglobals.cpp:
3421 2011-07-26 Sadrul Habib Chowdhury <sadrul@chromium.org>
3423 Add support for download='filename' attribute in anchors.
3424 https://bugs.webkit.org/show_bug.cgi?id=64580
3426 Reviewed by Adam Barth.
3428 * WebCoreSupport/FrameLoaderClientGtk.cpp:
3429 (WebKit::FrameLoaderClient::startDownload):
3430 * WebCoreSupport/FrameLoaderClientGtk.h:
3432 2011-07-26 Carlos Garcia Campos <cgarcia@igalia.com>
3434 [GTK] Remove header webkitwebviewcommon.h
3435 https://bugs.webkit.org/show_bug.cgi?id=65177
3437 Reviewed by Martin Robinson.
3439 Move webkitwebviewcommon.h contents back to webkitwebview.h.
3441 * GNUmakefile.am: Remove webkitwebviewcommon.h
3442 * webkit/webkitwebview.h:
3443 * webkit/webkitwebviewcommon.h: Removed.
3445 2011-06-07 Martin Robinson <mrobinson@igalia.com>
3447 Reviewed by Gustavo Noronha Silva.
3449 [GTK] Use WebCore scrollbars for the DRT instead of GtkScrolledWindow
3450 https://bugs.webkit.org/show_bug.cgi?id=62252
3452 Added an undocumented self-scrolling property to WebKitWebView which
3453 communicates to WebCore whether or not this widget is expected to draw
3454 its own main frame scrollbars or not.
3456 * webkit/webkitwebview.cpp: Add the self-scrolling property.
3457 * webkit/webkitwebviewprivate.h: Add the selfScrolling private member.
3459 2011-07-11 Gustavo Noronha Silva <gns@gnome.org>
3461 [GTK] Google Calendar thinks we're mobile
3462 https://bugs.webkit.org/show_bug.cgi?id=63994
3464 Reviewed by Xan Lopez.
3466 Further special-case Google Calendar, for it thinks WebKit+Linux
3467 means mobile, so we also have to spoof the OS.
3469 * WebCoreSupport/FrameLoaderClientGtk.cpp:
3470 (WebKit::FrameLoaderClient::userAgent): use the new WebKitGTK+
3471 private API that centralizes the logic now.
3472 * tests/testwebsettings.c: Add tests to make sure the Google
3473 special-cases only apply for the expected domains and when quirks
3474 special-casing is enabled.
3475 (test_non_quirky_user_agents):
3476 (test_webkit_web_settings_user_agent):
3477 * webkit/webkitwebsettings.cpp:
3478 (webkitUserAgent): make it static.
3479 (safariUserAgent): returns a fake Safari in Mac OS X User-Agent.
3480 (initializeDomainsList): moved from FrameLoaderClientGtk.
3481 (isGoogleDomain):ditto.
3482 (isGoogleCalendar): ditto.
3483 (userAgentForURL): ditto.
3484 (webkitWebSettingsUserAgentForUri): centralize the whole
3485 user agent spoofing logic in this new private API that can be used
3486 by the browser to know what's going to happen for a specific URI
3487 and also allows our API testing.
3488 * webkit/webkitwebsettingsprivate.h:
3490 2011-07-15 Dan Bernstein <mitz@apple.com>
3492 REGRESSION: Mouse cursor doesn’t hide when full screen video HUD hides
3493 https://bugs.webkit.org/show_bug.cgi?id=64615
3495 Reviewed by Anders Carlsson.
3497 * WebCoreSupport/ChromeClientGtk.cpp:
3498 (WebKit::ChromeClient::setCursorHiddenUntilMouseMoves): Added this stub.
3499 * WebCoreSupport/ChromeClientGtk.h:
3501 2011-07-15 Martin Robinson <mrobinson@igalia.com>
3503 Build fixes for WebKit2. Ensure that all generated sources are
3504 on nodist primaries, that they are on forward declared variables
3505 so that BUILT_SOURCES is calculated properly and that zlib is
3506 included during linking (for WOFF support).
3510 2011-07-14 Lukasz Slachciak <l.slachciak@samsung.com>
3512 Reviewed by Gustavo Noronha.
3514 [GTK] Fix GTK unit tests failures when WebKit is build outside repository directory.
3515 https://bugs.webkit.org/show_bug.cgi?id=62935
3517 WebKit can be build with WEBKITOUTPUTDIR env variable set using build-webkit script.
3518 In this case WEBKITOUTPUDIR may be outside repository structure. This causes testmimehandling and testwebview
3519 to fail because they use external test files in WebKit Source directory.
3520 This bug fixes this issue introducing optional environment variable WEBKITREPODIR
3521 Also coding style in existing functions is fixed.
3524 * tests/test_utils.c: Coding style fixes.
3525 (testutils_relative_chdir): If WEBKITREPODIR is set, change current directory to it.
3526 * tests/test_utils.h: Coding style fixes.
3528 2011-07-12 Joseph Pecoraro <joepeck@webkit.org>
3530 ApplicationCache update should not immediately fail when reaching per-origin quota
3531 https://bugs.webkit.org/show_bug.cgi?id=64177
3533 Reviewed by Alexey Proskuryakov.
3535 * WebCoreSupport/ChromeClientGtk.cpp:
3536 (WebKit::ChromeClient::reachedApplicationCacheOriginQuota):