1 2014-02-26 Joseph Pecoraro <pecoraro@apple.com>
3 Web Inspector: Remove console.profiles from window.console API
4 https://bugs.webkit.org/show_bug.cgi?id=116883
6 Reviewed by Timothy Hatcher.
8 * webkit/webkitwebinspector.cpp:
9 (webkit_web_inspector_class_init):
10 Removed stale part of comment.
12 2014-02-26 Martin Robinson <mrobinson@igalia.com>
14 [GTK] generate-gtkdoc can fail with WebKit1 or WebKit2 only builds
15 https://bugs.webkit.org/show_bug.cgi?id=129319
17 Reviewed by Carlos Garcia Campos.
19 * GNUmakefile.am: Do not generate the documentation configuration file if the port
22 2014-02-25 Anders Carlsson <andersca@apple.com>
24 Get rid of VisitedLinkStrategy
25 https://bugs.webkit.org/show_bug.cgi?id=129324
27 Reviewed by Dan Bernstein.
29 * WebCoreSupport/PlatformStrategiesGtk.cpp:
30 (PlatformStrategiesGtk::getPluginInfo):
31 * WebCoreSupport/PlatformStrategiesGtk.h:
33 2014-02-24 Carlos Garcia Campos <cgarcia@igalia.com>
35 [GTK] Mark view source mode methods as deprecated
36 https://bugs.webkit.org/show_bug.cgi?id=128920
38 Reviewed by Martin Robinson.
40 * webkit/webkitwebview.cpp: Mark set/get_view_source_mode as
41 deprecated in the documentation.
42 * webkit/webkitwebview.h: Add deprecation guards.
44 2014-02-24 Martin Robinson <mrobinson@igalia.com>
46 [GTK] generate-gtkdoc should not generate documentation for source files for unbuilt source files
47 https://bugs.webkit.org/show_bug.cgi?id=128417
49 Reviewed by Carlos Garcia Campos.
51 * GNUmakefile.am: Generate a config file for generate-gtkdoc.
53 2014-02-24 Enrique Ocaña González <eocanha@igalia.com>
55 REGRESSION(r164438): [GTK] Tests /WebKitGtk/testcontextmenu, /WebKitGtk/testmimehandling, /WebKitGtk/testloading assert in Debug build
56 https://bugs.webkit.org/show_bug.cgi?id=129256
58 Reviewed by Carlos Garcia Campos.
60 * WebCoreSupport/FrameLoaderClientGtk.cpp: Manage error values not present in WebCore
61 (WebKit::toWebKitNetworkError):
63 2014-02-24 Renata Hodovan <rhodovan.u-szeged@partner.samsung.com>
65 Get rid of the unused 'immediate' parameters from repaint related functions
66 https://bugs.webkit.org/show_bug.cgi?id=129111
68 Reviewed by Simon Fraser.
70 Removing the 'immediate' parameters from repaint related functions - accoring
71 to the FIXME in RenderView::repaintViewRectangle() - since they have no effect.
73 * WebCoreSupport/ChromeClientGtk.cpp:
74 (WebKit::ChromeClient::invalidateRootView):
75 (WebKit::ChromeClient::invalidateContentsAndRootView):
76 (WebKit::ChromeClient::invalidateContentsForSlowScroll):
77 * WebCoreSupport/ChromeClientGtk.h:
79 2014-02-23 Gyuyoung Kim <gyuyoung.kim@samsung.com>
81 Change a url parameter type with URL in NavigatorContentUtils
82 https://bugs.webkit.org/show_bug.cgi?id=129202
84 Reviewed by Sam Weinig.
86 It would be good if we use *URL* for url parameters instead of using String.
88 Merge from blink. https://src.chromium.org/viewvc/blink?view=rev&revision=165458.
90 * WebCoreSupport/NavigatorContentUtilsClientGtk.cpp:
91 (WebKit::NavigatorContentUtilsClient::registerProtocolHandler):
92 * WebCoreSupport/NavigatorContentUtilsClientGtk.h:
94 2014-02-20 Enrique Ocaña González <eocanha@igalia.com>
96 WebKitGTK+ should stop using COMPILE_ASSERT_MATCHING_ENUM macros
97 https://bugs.webkit.org/show_bug.cgi?id=127800
99 Reviewed by Martin Robinson.
101 * GNUmakefile.am: Removed AssertMatchingEnums.cpp
102 * WebCoreSupport/AssertMatchingEnums.cpp: Removed.
103 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp: Defined and applied type conversions.
104 (toWebCoreFindOptions):
105 (DumpRenderTreeSupportGtk::findString):
106 * WebCoreSupport/FrameLoaderClientGtk.cpp: Defined and applied type conversions.
107 (WebKit::toWebKitNetworkError):
108 (WebKit::FrameLoaderClient::dispatchDidFailLoading):
109 (WebKit::FrameLoaderClient::dispatchDidFailLoad):
110 (WebKit::FrameLoaderClient::shouldFallBack):
111 * webkit/webkitwebnavigationaction.cpp: Defined and applied type conversions.
114 * webkit/webkitwebsettings.cpp: Defined and applied type conversions.
116 * webkit/webkitwebview.cpp: Defined and applied type conversions.
117 (copyGtkTargetListConvertingWebCoreEnumValuesToWebKitEnumValues):
118 (webkit_web_view_dispose):
119 (webkit_web_view_init):
120 (webkit_web_view_get_copy_target_list):
121 (webkit_web_view_get_paste_target_list):
122 * webkit/webkitwebviewprivate.h: Added targetList private field, which mirrors PasteboardHelper::defaultPasteboardHelper()->targetList() but with the flags converted to WebKitWebViewTargetInfo
124 2014-02-17 Sergio Correia <sergio.correia@openbossa.org>
126 Replace uses of PassOwnPtr/OwnPtr with std::unique_ptr in WebCore/inspector
127 https://bugs.webkit.org/show_bug.cgi?id=128681
129 Reviewed by Timothy Hatcher.
131 Another step towards getting rid of PassOwnPtr/OwnPtr, now targeting
132 WebCore/inspector/*. Besides files in there, a few other files in
133 JavaScriptCore/inspector, WebKit/, WebKit2/WebProcess/WebCoreSupport/
134 and WebCore/testing were touched.
136 * WebCoreSupport/InspectorClientGtk.cpp:
138 2014-02-17 Anders Carlsson <andersca@apple.com>
140 WebKitGTK+ should stop calling functions to set the view source mode
141 https://bugs.webkit.org/show_bug.cgi?id=128919
143 Reviewed by Carlos Garcia Campos.
145 This is a first step towards getting rid of the view source mode from WebCore.
146 View source shouldn't be a mode on the web page and can be implemented in other ways by
147 embedding apps. Furthermore, the inspector has an excellent view source mode.
149 * webkit/webkitwebview.cpp:
150 (webkit_web_view_set_view_source_mode):
151 (webkit_web_view_get_view_source_mode):
152 Turn these into no-ops.
154 2014-02-11 Zalan Bujtas <zalan@apple.com>
156 Subpixel rendering: Make GraphicsLayerClient::paintContents's clip rect subpixel based.
157 https://bugs.webkit.org/show_bug.cgi?id=128460
159 Reviewed by Simon Fraser.
161 GraphicsClient::paintContents takes clipRect as FloatRect now so that we can paint on
164 No change in functionality.
166 * WebCoreSupport/AcceleratedCompositingContext.h:
167 * WebCoreSupport/AcceleratedCompositingContextGL.cpp:
168 (WebKit::AcceleratedCompositingContext::paintContents):
170 2014-02-10 Carlos Garcia Campos <cgarcia@igalia.com>
172 [GLIB] Add GUniqueOutPtr and use it instead of GOwnPtr
173 https://bugs.webkit.org/show_bug.cgi?id=127554
175 Reviewed by Gustavo Noronha Silva.
177 Use GUniqueOutPtr instead of GOwnPtr.
179 * WebCoreSupport/FrameLoaderClientGtk.cpp:
180 (WebKit::FrameLoaderClient::dispatchDidFailLoad):
181 * WebCoreSupport/TextCheckerClientGtk.cpp:
182 * webkit/webkitdownload.cpp:
183 (webkit_download_open_stream_for_uri):
184 (webkit_download_set_destination_uri):
185 (webkit_download_received_data):
186 * webkit/webkitwebplugin.cpp:
187 (webkit_web_plugin_get_path):
188 * webkit/webkitwebview.cpp:
189 (webkit_web_view_expose_event):
191 2014-02-09 Carlos Garnacho <carlosg@gnome.org>
193 [GTK] Allow building with touch events enabled
194 https://bugs.webkit.org/show_bug.cgi?id=98931
196 Reviewed by Carlos Garcia Campos.
198 Even though WebKit1 GTK code doesn't implement touch events,
199 Fix build if ENABLE_TOUCH_EVENTS is present for WK2.
201 * WebCoreSupport/ChromeClientGtk.h:
202 (WebKit::ChromeClient::needTouchEvents): Add empty stub
204 2014-02-08 Ryosuke Niwa <rniwa@webkit.org>
206 Cleanup the interface of FrameSelection
207 https://bugs.webkit.org/show_bug.cgi?id=128481
209 Reviewed by Andreas Kling.
211 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
212 (DumpRenderTreeSupportGtk::rectangleForSelection):
214 2014-02-08 Darin Adler <darin@apple.com>
216 Change TextIterator to use StringView, preparing to wean it from deprecatedCharacters
217 https://bugs.webkit.org/show_bug.cgi?id=128233
219 Reviewed by Anders Carlsson.
221 * WebCoreSupport/TextCheckerClientGtk.cpp:
222 (WebKit::TextCheckerClientGtk::checkSpellingOfString): Use StringView.
223 (WebKit::TextCheckerClientGtk::checkGrammarOfString): Ditto.
224 * WebCoreSupport/TextCheckerClientGtk.h: Ditto.
226 2014-02-07 Gavin Barraclough <barraclough@apple.com>
228 Remove isInitialState flag from Page::setViewState
229 https://bugs.webkit.org/show_bug.cgi?id=128428
231 Reviewed by Sam Weinig.
233 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
234 (DumpRenderTreeSupportGtk::setPageVisibility):
235 - don't pass isInitialState to setViewState.
237 2014-02-06 Joseph Pecoraro <pecoraro@apple.com>
239 Web Inspector: Add Console support to JSContext Inspection
240 https://bugs.webkit.org/show_bug.cgi?id=127941
242 Reviewed by Geoffrey Garen.
244 * WebCoreSupport/ChromeClientGtk.cpp:
245 (WebKit::ChromeClient::addMessageToConsole):
247 2014-02-05 Csaba Osztrogonác <ossy@webkit.org>
249 Remove ENABLE(SVG) guards
250 https://bugs.webkit.org/show_bug.cgi?id=127991
252 Reviewed by Sam Weinig.
255 * webkit/webkitwebframe.cpp:
257 2014-02-05 Zan Dobersek <zdobersek@igalia.com>
259 [GTK] Replace DEFINE_STATIC_LOCAL with NeverDestroyed<T> in GTK WK1 and WK2 code
260 https://bugs.webkit.org/show_bug.cgi?id=128195
262 Reviewed by Martin Robinson.
264 Use static NeverDestroyed<T> variables instead of the DEFINE_STATIC_LOCAL macro.
266 * WebCoreSupport/PlatformStrategiesGtk.cpp:
267 (PlatformStrategiesGtk::initialize):
268 * WebCoreSupport/PlatformStrategiesGtk.h:
269 * webkit/webkitwebsettings.cpp:
272 2014-02-04 Andreas Kling <akling@apple.com>
274 Remove <iframe seamless> support.
275 <https://webkit.org/b/128213>
277 Rubber-stamped by Antti Koivisto.
279 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
280 * WebCoreSupport/DumpRenderTreeSupportGtk.h:
282 2014-01-31 Zan Dobersek <zdobersek@igalia.com>
284 Unreviewed. Fixing the GTK build after r163232.
286 * WebCoreSupport/EditorClientGtk.cpp:
287 (WebKit::collapseSelection): Add an additional FrameSelection::selection() call.
289 2014-01-31 Ryosuke Niwa <rniwa@webkit.org>
291 Remove inline member functions of FrameSelection that access m_selection
292 https://bugs.webkit.org/show_bug.cgi?id=127986
294 Reviewed by Enrica Casucci.
296 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
297 (DumpRenderTreeSupportGtk::selectedRange):
298 * WebCoreSupport/EditorClientGtk.cpp:
299 (WebKit::collapseSelection):
301 2014-01-30 Andrei Bucur <abucur@adobe.com>
303 Remove the ACCELERATED_COMPOSITING flag
304 https://bugs.webkit.org/show_bug.cgi?id=127833
306 Reviewed by Antti Koivisto.
308 Remove the USE(ACCELERATED_COMPOSITING) conditionals from the code base and make AC
311 Another patch will be required to remove the flag support from the GTK build system.
313 * WebCoreSupport/AcceleratedCompositingContext.h:
314 * WebCoreSupport/AcceleratedCompositingContextGL.cpp:
315 * WebCoreSupport/ChromeClientGtk.cpp:
316 (WebKit::ChromeClient::widgetSizeChanged):
317 (WebKit::ChromeClient::forcePaint):
318 (WebKit::ChromeClient::invalidateContentsAndRootView):
319 (WebKit::ChromeClient::invalidateContentsForSlowScroll):
320 (WebKit::ChromeClient::scroll):
321 (WebKit::ChromeClient::allowedCompositingTriggers):
322 * WebCoreSupport/ChromeClientGtk.h:
323 * webkit/webkitwebview.cpp:
324 (webkit_web_view_update_settings):
325 (webkit_web_view_settings_notify):
326 (webkit_web_view_init):
327 * webkit/webkitwebviewprivate.h:
329 2014-01-29 Csaba Osztrogonác <ossy@webkit.org>
331 Remove ENABLE(JAVASCRIPT_DEBUGGER) guards
332 https://bugs.webkit.org/show_bug.cgi?id=127840
334 Reviewed by Mark Lam.
336 * webkit/webkitwebinspector.cpp:
337 (webkit_web_inspector_set_property):
338 (webkit_web_inspector_get_property):
340 2014-01-27 Carlos Garcia Campos <cgarcia@igalia.com>
342 [GTK] Make webkit_uri_scheme_request_get_web_view() work with CustomProtocols
343 https://bugs.webkit.org/show_bug.cgi?id=127614
345 Reviewed by Gustavo Noronha Silva.
347 Remove initiatingPageID() method from FrameNetworkingContext.
349 * WebCoreSupport/FrameNetworkingContextGtk.cpp:
350 * WebCoreSupport/FrameNetworkingContextGtk.h:
352 2014-01-27 Carlos Garcia Campos <cgarcia@igalia.com>
354 Unreviewed. Fix GTK+ build after r162808.
356 * webkit/webkitwebhistoryitem.cpp:
357 (webkit_web_history_item_new_with_data):
358 (webkit_web_history_item_get_last_visited_time):
360 2014-01-25 Anders Carlsson <andersca@apple.com>
362 Remove an unused FrameLoaderClient function
363 https://bugs.webkit.org/show_bug.cgi?id=127628
365 Reviewed by Andreas Kling.
367 * WebCoreSupport/FrameLoaderClientGtk.cpp:
368 * WebCoreSupport/FrameLoaderClientGtk.h:
370 2014-01-24 Anders Carlsson <andersca@apple.com>
374 * webkit/webkitwebview.cpp:
375 (webkit_web_view_can_go_back):
377 2014-01-24 Anders Carlsson <andersca@apple.com>
379 Remove back/forward list related functions from Page
380 https://bugs.webkit.org/show_bug.cgi?id=127596
382 Reviewed by Andreas Kling.
384 * webkit/webkitwebview.cpp:
385 (webkit_web_view_set_maintains_back_forward_list):
386 (webkit_web_view_get_back_forward_list):
387 (webkit_web_view_go_back):
388 (webkit_web_view_go_back_or_forward):
389 (webkit_web_view_go_forward):
390 (webkit_web_view_can_go_back_or_forward):
391 (webkit_web_view_can_go_forward):
393 2014-01-24 Enrique Ocaña González <eocanha@igalia.com>
395 [GTK] Put cache files in XDG_CACHE_HOME
396 https://bugs.webkit.org/show_bug.cgi?id=123458
398 Reviewed by Martin Robinson.
400 * webkit/webkitglobals.cpp:
402 * webkit/webkiticondatabase.cpp:
404 2014-01-23 Joseph Pecoraro <pecoraro@apple.com>
406 Web Inspector: Remove recompileAllJSFunctions timer in ScriptDebugServer
407 https://bugs.webkit.org/show_bug.cgi?id=127409
409 Reviewed by Geoffrey Garen.
411 * WebCoreSupport/InspectorClientGtk.cpp:
412 (WebKit::InspectorFrontendClient::destroyInspectorWindow):
413 Include InspectorDisconnectReason.
415 2014-01-23 Max Vujovic <mvujovic@adobe.com>
417 Remove CSS Custom Filters code and tests
418 https://bugs.webkit.org/show_bug.cgi?id=127382
420 Reviewed by Simon Fraser.
422 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
423 * WebCoreSupport/DumpRenderTreeSupportGtk.h:
424 * webkit/webkitwebsettings.cpp:
425 (webkit_web_settings_class_init):
426 (webkit_web_settings_set_property):
427 (webkit_web_settings_get_property):
428 * webkit/webkitwebsettingsprivate.h:
429 * webkit/webkitwebview.cpp:
430 (webkit_web_view_update_settings):
431 (webkit_web_view_settings_notify):
433 2014-01-22 Carlos Garcia Campos <cgarcia@igalia.com>
435 [GLIB] Use GUniquePtr instead of GOwnPtr
436 https://bugs.webkit.org/show_bug.cgi?id=127431
438 Reviewed by Martin Robinson.
440 GUniquePtr is a template alias of std::unique_ptr with a custom
441 deleter that replaces GOwnPtr. GOwnPtr is still used for the cases
442 where the output pointer is needed, but it will also be replaced soon.
444 * WebCoreSupport/ContextMenuClientGtk.cpp:
445 (WebKit::getUnicodeMenuItemPosition):
446 * WebCoreSupport/DragClientGtk.cpp:
447 (WebKit::DragClient::startDrag):
448 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
449 (DumpRenderTreeSupportGtk::setValueForUser):
450 * WebCoreSupport/EditorClientGtk.h:
451 * WebCoreSupport/FrameLoaderClientGtk.cpp:
452 (WebKit::FrameLoaderClient::userAgent):
453 (WebKit::FrameLoaderClient::dispatchDidReceiveAuthenticationChallenge):
454 (WebKit::FrameLoaderClient::dispatchWillSendRequest):
455 (WebKit::FrameLoaderClient::assignIdentifierToInitialRequest):
456 (WebKit::FrameLoaderClient::dispatchDidReceiveResponse):
457 (WebKit::FrameLoaderClient::dispatchDidReceiveContentLength):
458 (WebKit::FrameLoaderClient::dispatchDidFinishLoading):
459 (WebKit::FrameLoaderClient::dispatchDidFailLoading):
460 (WebKit::FrameLoaderClient::dispatchDidFailLoad):
461 * WebCoreSupport/InspectorClientGtk.h:
462 * webkit/webkitfavicondatabase.cpp:
463 (webkit_favicon_database_set_path):
464 * webkit/webkitfilechooserrequest.cpp:
465 * webkit/webkitglobals.cpp:
467 * webkit/webkithittestresult.cpp:
469 * webkit/webkiticondatabase.cpp:
470 (webkit_icon_database_set_path):
471 * webkit/webkitspellcheckerenchant.cpp:
472 * webkit/webkitwebplugin.cpp:
473 (webkit_web_plugin_get_path):
474 * webkit/webkitwebpluginprivate.h:
475 * webkit/webkitwebsettings.cpp:
476 (webkit_web_settings_class_init):
477 (webkit_web_settings_copy):
478 * webkit/webkitwebview.cpp:
479 (webkit_web_view_forward_context_menu_event):
480 (fileChooserDialogResponseCallback):
481 (webkit_web_view_drag_end):
482 * webkit/webkitwebviewprivate.h:
484 2014-01-22 Thiago de Barros Lacerda <thiago.lacerda@openbossa.org>
486 [EFL][GTK] Get EFL and GTK compiling with ACCESSIBILITY disabled
487 https://bugs.webkit.org/show_bug.cgi?id=127119
489 Reviewed by Mario Sanchez Prada.
491 Guarding ACCESSIBILITY code with HAVE(ACCESSIBILITY).
493 * webkit/webkitwebview.cpp:
494 (webkit_web_view_class_init):
496 2014-01-18 Brian Burg <bburg@apple.com>
498 Web Inspector: Page should use std::unique_ptr for InspectorController
499 https://bugs.webkit.org/show_bug.cgi?id=127068
501 Reviewed by Joseph Pecoraro.
503 Convert call sites to use a InspectorController reference.
504 Convert instantiations of InspectorFrontendClient to use std::unique_ptr.
506 * WebCoreSupport/ChromeClientGtk.cpp:
507 (WebKit::paintWebView):
508 * WebCoreSupport/InspectorClientGtk.cpp:
509 (WebKit::InspectorClient::openInspectorFrontend):
510 * webkit/webkitwebinspector.cpp:
511 (webkit_web_inspector_set_property):
512 (webkit_web_inspector_get_property):
513 (webkit_web_inspector_show):
514 (webkit_web_inspector_inspect_node):
515 (webkit_web_inspector_inspect_coordinates):
516 (webkit_web_inspector_close):
517 (webkit_web_inspector_execute_script):
519 2014-01-17 Anders Carlsson <andersca@apple.com>
521 Remove another unused FrameLoaderClient callback
522 https://bugs.webkit.org/show_bug.cgi?id=127192
524 Reviewed by Dan Bernstein.
526 * WebCoreSupport/FrameLoaderClientGtk.cpp:
527 * WebCoreSupport/FrameLoaderClientGtk.h:
529 2014-01-17 Anders Carlsson <andersca@apple.com>
531 Remove didPerformFirstNavigation from all FrameLoaderClient subclasses
532 https://bugs.webkit.org/show_bug.cgi?id=127190
534 Reviewed by Dan Bernstein.
536 Removing this shouldn't have any bad effects, but if that is the case it's possible to
537 set the cache model in didCommitLoadForFrame, similar to what is done in r162224.
539 * WebCoreSupport/FrameLoaderClientGtk.cpp:
540 * WebCoreSupport/FrameLoaderClientGtk.h:
542 2014-01-16 Jaehun Lim <ljaehun.lim@samsung.com>
544 Use final instead of FINAL
546 Unreviewed build fix.
548 * WebCoreSupport/ProgressTrackerClientGtk.h:
550 2014-01-16 Peter Molnar <pmolnar.u-szeged@partner.samsung.com>
552 Remove workaround for compilers not supporting explicit override control
553 https://bugs.webkit.org/show_bug.cgi?id=127111
555 Reviewed by Anders Carlsson.
557 Now all compilers support explicit override control, this workaround can be removed.
559 * WebCoreSupport/EditorClientGtk.h:
560 * WebCoreSupport/InspectorClientGtk.h:
561 * WebCoreSupport/ProgressTrackerClientGtk.h:
563 2014-01-15 Zan Dobersek <zdobersek@igalia.com>
565 [GTK][WK1] Add ProgressTrackerClient implementation
566 https://bugs.webkit.org/show_bug.cgi?id=127048
568 Reviewed by Anders Carlsson.
570 In r162034, the progress tracker client was separated from FrameLoaderClient into the
571 ProgressTrackerClient class. This patch adds the WebKit layer implementation of that
572 class for GTK-WK1 that's practically identical to the client implementation that was
573 in use under WebKit::FrameLoaderClient.
576 * WebCoreSupport/FrameLoaderClientGtk.cpp:
577 * WebCoreSupport/FrameLoaderClientGtk.h:
578 * WebCoreSupport/ProgressTrackerClientGtk.cpp: Added.
579 (WebKit::ProgressTrackerClient::ProgressTrackerClient):
580 (WebKit::ProgressTrackerClient::progressTrackerDestroyed):
581 (WebKit::ProgressTrackerClient::progressStarted):
582 (WebKit::ProgressTrackerClient::progressEstimateChanged):
583 (WebKit::ProgressTrackerClient::progressFinished):
584 * WebCoreSupport/ProgressTrackerClientGtk.h: Added.
585 * webkit/webkitwebview.cpp:
586 (webkit_web_view_init):
588 2014-01-13 Carlos Garcia Campos <cgarcia@igalia.com>
590 [SOUP] Add SoupNetworkSession class to wrap a SoupSession
591 https://bugs.webkit.org/show_bug.cgi?id=126813
593 Reviewed by Gustavo Noronha Silva.
595 * webkit/webkitglobals.cpp:
596 (webkit_get_default_session): Use the new SoupNetworkSession API
597 to get the default SoupSession
599 2014-01-13 Carlos Garcia Campos <cgarcia@igalia.com>
601 Unreviewed. Update NEWS and Versions.m4 for 2.3.4 release.
603 * NEWS: Added release notes for 2.3.4.
605 2014-01-13 Commit Queue <commit-queue@webkit.org>
607 Unreviewed, rolling out r161808.
608 http://trac.webkit.org/changeset/161808
609 https://bugs.webkit.org/show_bug.cgi?id=126874
611 This patch make several files to be always regenerated on
612 every make (Requested by KaL on #webkit).
616 2014-01-12 Carlos Garcia Campos <cgarcia@igalia.com>
618 Unreviewed. Fix make distcheck.
620 * GNUmakefile.am: Add enum types template files to EXTRA_DIST.
622 2014-01-12 Tobias Mueller <tobiasmue@gnome.org>
624 --disable-dependency-tracking causes build failure due to missing directories
625 https://bugs.webkit.org/show_bug.cgi?id=94488
627 Reviewed by Gustavo Noronha Silva.
629 Autotools build fix: Ensure output directory existing
630 before generating DerivedSources. This allows for
631 --disable-dependency-tracking to be run.
633 * GNUmakefile.am: Added a new target of the directory in which files are meant to be stored ($(GENSOURCES_WEBKIT)).
635 2014-01-10 Anders Carlsson <andersca@apple.com>
637 Tweak ProgressTrackerClient functions
638 https://bugs.webkit.org/show_bug.cgi?id=126808
640 Reviewed by Sam Weinig.
642 * WebCoreSupport/FrameLoaderClientGtk.cpp:
643 (WebKit::FrameLoaderClient::progressStarted):
644 (WebKit::FrameLoaderClient::progressEstimateChanged):
645 (WebKit::FrameLoaderClient::progressFinished):
646 * WebCoreSupport/FrameLoaderClientGtk.h:
648 2014-01-10 Anders Carlsson <andersca@apple.com>
650 Move progress tracking functions from FrameLoaderClient to a new ProgressTrackerClient
651 https://bugs.webkit.org/show_bug.cgi?id=126801
653 Reviewed by Sam Weinig.
655 * WebCoreSupport/FrameLoaderClientGtk.h:
656 * webkit/webkitwebview.cpp:
657 (webkit_web_view_init):
659 2014-01-08 Claudio Saavedra <csaavedra@igalia.com>
661 [GTK] Add xdg.origin.url extended attribute to downloads
662 https://bugs.webkit.org/show_bug.cgi?id=126638
664 Reviewed by Carlos Garcia Campos.
666 This is proposed by fdo in
667 http://www.freedesktop.org/wiki/CommonExtendedAttributes/
669 * webkit/webkitdownload.cpp:
670 (webkit_download_open_stream_for_uri):
672 2014-01-04 Carlos Garcia Campos <cgarcia@igalia.com>
674 [GTK] Move all GTK/GObject unit tests to Tools/TestWebKitAPI
675 https://bugs.webkit.org/show_bug.cgi?id=126342
677 Reviewed by Gustavo Noronha Silva.
679 * tests/CMakeLists.txt: Removed.
680 * tests/GNUmakefile.am: Removed.
682 2014-01-06 László Langó <lango@inf.u-szeged.hu>
684 Use unsigned consistently, and check for invalid casts when calling into SharedBuffer from other code.
685 https://bugs.webkit.org/show_bug.cgi?id=124579
687 Reviewed by Anders Carlsson.
689 * webkit/webkitdownload.cpp:
690 (DownloadClient::didReceiveData):
692 2014-01-02 Carlos Garcia Campos <cgarcia@igalia.com>
694 REGRESSION(r160304): [GTK] Disable libtool fast install
695 https://bugs.webkit.org/show_bug.cgi?id=126381
697 Reviewed by Martin Robinson.
699 * tests/GNUmakefile.am:
701 2014-01-02 Gavin Barraclough <barraclough@apple.com>
703 Merge didMoveOnscreen / page visibility to isVisible
704 https://bugs.webkit.org/show_bug.cgi?id=126268
706 Reviewed by Tim Horton.
708 The onscreen state most closely tracks view visibility (though currently
709 also tracks a mix of in-window state). Make more consistent, simplify,
710 and move all animation suspension logic to Page, so it can be controlled
711 by the PageThrottler.
713 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
714 (DumpRenderTreeSupportGtk::setPageVisibility):
715 - setVisibilityState -> setIsVisible/setIsPrerender.
717 2014-01-02 Zan Dobersek <zdobersek@igalia.com>
719 [GTK] Fix mismatched header guards in private WK1 header files
720 https://bugs.webkit.org/show_bug.cgi?id=126390
722 Reviewed by Martin Robinson.
724 Fix three mismatched header guards that are producing warnings when building with Clang.
726 * webkit/webkitsecurityoriginprivate.h:
727 * webkit/webkitviewportattributesprivate.h:
728 * webkit/webkitwebnavigationactionprivate.h:
730 2013-12-30 Martin Robinson <mrobinson@igalia.com>
732 [GTK] Make the output directory of GObject unit tests binaries consistent with the CMake build
733 https://bugs.webkit.org/show_bug.cgi?id=126297
735 Reviewed by Philippe Normand.
737 * tests/GNUmakefile.am: Build the tests in the new directory.
739 2013-12-26 Martin Robinson <mrobinson@igalia.com>
741 Small build fix for the GTK+ CMake port
743 * tests/CMakeLists.txt: Output the WebKit1 GObject API unit tests to the proper directory
744 and fix the path to the generated API source.
746 2013-12-23 Martin Robinson <mrobinson@igalia.com>
748 [GTK] [CMake] Build the WebKit1 GObject API tests
749 https://bugs.webkit.org/show_bug.cgi?id=125684
751 Reviewed by Daniel Bates.
753 * tests/CMakeLists.txt: Added.
754 * tests/testapplicationcache.c: Use the WTF config.h instead of including the autotools configuration directly.
755 * tests/testatk.c: Ditto.
756 * tests/testatkroles.c: Ditto.
757 * tests/testcontextmenu.c: Ditto.
758 * tests/testcopyandpaste.c: Ditto.
759 * tests/testdomdocument.c: Ditto.
760 * tests/testdomdomwindow.c: Ditto.
761 * tests/testdomnode.c: Ditto.
762 * tests/testdownload.c: Ditto.
763 * tests/testfavicondatabase.c: Ditto.
764 * tests/testglobals.c: Ditto.
765 * tests/testhittestresult.c: Ditto.
766 * tests/testhttpbackend.c: Ditto.
767 * tests/testkeyevents.c: Ditto.
768 * tests/testloading.c: Ditto.
769 * tests/testmimehandling.c: Ditto.
770 * tests/testnetworkrequest.c: Ditto.
771 * tests/testnetworkresponse.c: Ditto.
772 * tests/testwebbackforwardlist.c: Ditto.
773 * tests/testwebdatasource.c: Ditto.
774 * tests/testwebframe.c: Ditto.
775 * tests/testwebhistoryitem.c: Ditto.
776 * tests/testwebinspector.c: Ditto.
777 * tests/testwebplugindatabase.c: Ditto.
778 * tests/testwebresource.c: Ditto.
779 * tests/testwebsettings.c: Ditto.
780 * tests/testwebview.c: Ditto.
781 * tests/testwindow.c: Ditto.
783 2013-12-20 Enrique Ocaña González <eocanha@igalia.com>
785 [GTK] The fullscreen API should be enabled by default
786 https://bugs.webkit.org/show_bug.cgi?id=125993
788 Reviewed by Gustavo Noronha Silva.
790 Set the WebSettings property to TRUE
792 * webkit/webkitwebsettings.cpp:
793 (webkit_web_settings_class_init):
795 2013-12-16 Martin Robinson <mrobinson@igalia.com>
797 [GTK] [CMake] Add support for building WebKit1
798 https://bugs.webkit.org/show_bug.cgi?id=116377
800 Reviewed by Gustavo Noronha Silva.
802 * GNUmakefile.am: Switch to using the templates for building the GObject enums.
803 * webkit/webkitenumtypes.cpp.template: Added.
804 * webkit/webkitenumtypes.h.template: Added.
806 2013-12-18 Carlos Garcia Campos <cgarcia@igalia.com>
808 Unreviewed. Update NEWS and Versions.m4 for 2.3.3 release.
810 * NEWS: Added release notes for 2.3.3.
812 2013-12-11 Joseph Pecoraro <pecoraro@apple.com>
814 Web Inspector: Push More Inspector Required Classes Down into JavaScriptCore
815 https://bugs.webkit.org/show_bug.cgi?id=125324
817 Reviewed by Timothy Hatcher.
819 * webkit/webkitwebview.cpp:
821 2013-12-11 José Dapena Paz <jdapena@igalia.com> and Zan Dobersek <zdobersek@igalia.com>
823 [GTK] Add a UPower-based BatteryProvider
824 https://bugs.webkit.org/show_bug.cgi?id=115719
826 Reviewed by Martin Robinson.
828 * GNUmakefile.am: Link the libwebkigtk library against the upower-glib library.
830 2013-12-11 José Dapena Paz <jdapena@igalia.com> and Zan Dobersek <zdobersek@igalia.com>
832 [GTK][WK1] Add an empty BatteryClientGtk
833 https://bugs.webkit.org/show_bug.cgi?id=115628
835 Reviewed by Martin Robinson.
837 Add an empty BatteryClientGtk, implementing the WebCore's BatteryClient interface.
838 The implementation is left empty intentionally as the WebKit1 port is now in maintenance
839 mode and there's no desire to support new features under it. It's still required as the
840 WebCore implementation of the Battery Status API expects an existing BatteryClient, even
841 if the latter does not set up a provider that would then serve information about the battery
844 * GNUmakefile.am: Add the BatteryClientGtk source files to the build.
845 * WebCoreSupport/BatteryClientGtk.cpp: Added.
847 (WebKit::BatteryClientGtk::BatteryClientGtk):
848 (WebKit::BatteryClientGtk::startUpdating):
849 (WebKit::BatteryClientGtk::stopUpdating):
850 (WebKit::BatteryClientGtk::batteryControllerDestroyed):
851 * WebCoreSupport/BatteryClientGtk.h: Added.
854 * webkit/webkitwebview.cpp:
855 (webkit_web_view_init): Set up the BatteryClientGtk for the new WebCore::Page object.
857 2013-12-11 Brendan Long <b.long@cablelabs.com>
859 [GTK] Add "enable-mediasource" property to WebKitWebSettings
860 https://bugs.webkit.org/show_bug.cgi?id=125566
862 Reviewed by Philippe Normand.
864 * tests/testwebsettings.c:
865 (test_webkit_web_settings_copy):
866 * webkit/webkitwebsettings.cpp:
867 (webkit_web_settings_class_init):
868 (webkit_web_settings_set_property):
869 (webkit_web_settings_get_property):
870 * webkit/webkitwebsettingsprivate.h:
871 * webkit/webkitwebview.cpp:
872 (webkit_web_view_update_settings):
873 (webkit_web_view_settings_notify):
875 2013-12-10 Joanmarie Diggs <jdiggs@igalia.com>
877 AX: [ATK] Convert the get_text atktest.c unit tests to layout tests
878 https://bugs.webkit.org/show_bug.cgi?id=125497
880 Reviewed by Mario Sanchez Prada.
882 * tests/testatk.c: Remove the portions of the remaining tests which now exist as
884 (testWebkitAtkCaretOffsets):
885 (testWebkitAtkCaretOffsetsAndExtranousWhiteSpaces):
886 (testWebkitAtkComboBox):
887 (testWebkitAtkEmbeddedObjects):
888 (testWebkitAtkTextSelections):
889 (testWebkitAtkListsOfItems):
892 2013-12-09 Joanmarie Diggs <jdiggs@igalia.com>
894 AX: [ATK] Convert the get_{string,text}_at_offset atktest.c unit tests to layout tests
895 https://bugs.webkit.org/show_bug.cgi?id=125451
897 Reviewed by Mario Sanchez Prada.
899 * tests/testatk.c: Remove the tests which now exist as layout tests. Note that the
900 tests for atk_text_get_text_{before,after}_offset were removed without equivalents
901 added to the layout tests. The same is true for the END AtkTextBoundary types. Both
902 have been deprecated in ATK and are not being used by AT-SPI2 assistive technologies.
903 (testGetTextFunction):
906 2013-12-08 Martin Robinson <mrobinson@igalia.com>
908 [WK2][Soup] Use didReceiveBuffer instead of didReceiveData
909 https://bugs.webkit.org/show_bug.cgi?id=118598
911 Reviewed by Gustavo Noronha Silva.
913 Original patch by Kwang Yul Seo <skyul@company100.net> and Csaba Osztrogonác <ossy@webkit.org>.
915 Switch from using didReceiveData to didReceiveBuffer for the Soup backend and
916 let SharedBuffer wrap a SoupBuffer. This is necessary because the NetworkProcess
917 only supports getting data via SharedBuffer.
919 * webkit/webkitdownload.cpp:
920 (DownloadClient::didReceiveData): Replace with ASSERT_NOT_REACHED.
921 (DownloadClient::didReceiveBuffer): Use this to process incoming data.
923 2013-12-07 Gustavo Noronha Silva <gns@gnome.org>
925 Fix API test expectation following 160220.
927 Rubber-stamped by Martin Robinson.
929 * tests/testatkroles.c:
930 (finish_loading): rename variable documentFrame -> document.
931 (test_webkit_atk_get_role_document_frame): check for ATK_ROLE_DOCUMENT_WEB instead of
932 ATK_ROLE_DOCUMENT_FRAME.
933 (test_webkit_atk_get_role_heading): rename variable documentFrame -> document.
934 (test_webkit_atk_get_role_image): ditto.
935 (test_webkit_atk_get_role_link): ditto.
936 (test_webkit_atk_get_role_list_and_item): ditto.
937 (test_webkit_atk_get_role_paragraph): ditto.
938 (test_webkit_atk_get_role_section): ditto.
939 (test_webkit_atk_get_role_table): ditto.
940 (test_webkit_atk_get_role_separator): ditto.
941 (test_webkit_atk_get_role_combobox): ditto.
942 (test_webkit_atk_get_role_form): ditto.
943 (test_webkit_atk_get_role_check_box): ditto.
944 (test_webkit_atk_get_role_entry): ditto.
945 (test_webkit_atk_get_role_label): ditto.
946 (test_webkit_atk_get_role_listbox): ditto.
947 (test_webkit_atk_get_role_password_text): ditto.
948 (test_webkit_atk_get_role_push_button): ditto.
949 (test_webkit_atk_get_role_radio_button): ditto.
951 2013-12-05 Carlos Garcia Campos <cgarcia@igalia.com>
953 [GTK] Fix GObject introspection warnings in webkitspellchecker
954 https://bugs.webkit.org/show_bug.cgi?id=125299
956 Reviewed by Philippe Normand.
958 * webkit/webkitspellchecker.cpp: Add missing ':' after some
959 gobject-introspection annotations.
961 2013-12-03 Joseph Pecoraro <pecoraro@apple.com>
963 Web Inspector: Push Remote Inspector debugging connection management into JavaScriptCore
964 https://bugs.webkit.org/show_bug.cgi?id=124613
966 Reviewed by Timothy Hatcher.
968 * WebCoreSupport/InspectorClientGtk.h:
970 2013-12-02 Gustavo Noronha Silva <gustavo.noronha@collabora.com>
972 [GTK] GTK2 paint code path does not render AC layers
973 https://bugs.webkit.org/show_bug.cgi?id=124967
975 Reviewed by Carlos Garcia Campos.
977 * webkit/webkitwebview.cpp:
978 (webkit_web_view_expose_event): also paint AC layers when painting the widget,
981 2013-11-28 Gustavo Noronha Silva <gustavo.noronha@collabora.com>
983 REGRESSION(r154658): webkit_web_view_get_view_source_mode always returns false
984 https://bugs.webkit.org/show_bug.cgi?id=124954
986 Reviewed by Carlos Garcia Campos.
988 * tests/testwebview.c: new test to ensure setting and getting source mode work as intended.
989 * webkit/webkitwebview.cpp:
990 (webkit_web_view_get_view_source_mode): actually return the value we query from WebCore.
992 2013-11-18 Carlos Garcia Campos <cgarcia@igalia.com>
994 Unreviewed. Update NEWS and Versions.m4 for 2.3.2 release.
996 * NEWS: Added release notes for 2.3.2.
998 2013-11-05 Xabier Rodriguez Calvar <calvaris@igalia.com>
1000 [GStreamer] Remove NATIVE_FULLSCREEN_VIDEO support
1001 https://bugs.webkit.org/show_bug.cgi?id=123437
1003 Reviewed by Philippe Normand.
1005 Removed some dead code as no GStreamer port is using the native
1006 fullscreen video support.
1008 * WebCoreSupport/ChromeClientGtk.cpp:
1009 (WebKit::ChromeClient::enterFullScreenForElement):
1010 (WebKit::ChromeClient::exitFullScreenForElement):
1011 * WebCoreSupport/ChromeClientGtk.h: Removed code related to
1012 GStreamer and NATIVE_FULLSCREEN_VIDEO.
1014 2013-11-04 Manuel Rego Casasnovas <rego@igalia.com>
1016 [GTK][WK1] Enable CSS Regions if feature flag is set to TRUE
1017 https://bugs.webkit.org/show_bug.cgi?id=123739
1019 Reviewed by Martin Robinson.
1021 In WK1 CSS Regions were always disabled even if you set the feature flag
1022 ENABLE_CSS_REGIONS to TRUE. Enabling CSS Regions support in that case.
1024 * webkit/webkitwebview.cpp:
1025 (webkit_web_view_update_settings): Enable CSS Regions if feautre flag is
1028 2013-10-29 Carlos Garcia Campos <cgarcia@igalia.com>
1030 Unreviewed. Update NEWS and Versions.m4 for 2.3.1 release.
1032 * NEWS: Added release notes for 2.3.1.
1034 2013-10-28 Bastien Nocera <hadess@hadess.net>
1036 Name all the GLib timeout sources
1037 https://bugs.webkit.org/show_bug.cgi?id=123229
1039 Reviewed by Anders Carlsson.
1041 Give a name to GLib timeout sources, this is helpful when
1042 profiling WebKitGTK applications.
1044 2013-10-28 Bastien Nocera <hadess@hadess.net>
1046 Replace 0 timeouts g_timeout_add() by g_idle_add()
1047 https://bugs.webkit.org/show_bug.cgi?id=123260
1049 Reviewed by Carlos Garcia Campos.
1051 A zero timeout should be equivalent to using g_idle_add_full(G_PRIORITY_DEFAULT, ...)
1052 without the nagging feeling that the wrong API was used.
1054 * WebCoreSupport/ChromeClientGtk.cpp: Use g_idle_add() instead
1056 (WebKit::ChromeClient::closeWindowSoon):
1057 (WebKit::ChromeClient::widgetSizeChanged):
1058 * WebCoreSupport/GtkAdjustmentWatcher.cpp: Ditto.
1059 (WebKit::GtkAdjustmentWatcher::updateAdjustmentsFromScrollbarsLater):
1060 * webkit/webkitwebview.cpp: Ditto.
1061 (webkit_web_view_get_subresources):
1063 2013-10-21 Zan Dobersek <zdobersek@igalia.com>
1065 [GTK] g-ir-scanner should use the configured C compiler
1066 https://bugs.webkit.org/show_bug.cgi?id=123088
1068 Reviewed by Carlos Garcia Campos.
1070 * GNUmakefile.am: Pass the C compiler that was detected at configuration to the g-ir-scanner command
1071 via the CC environment variable. This solves the issue of the scanner running the GCC compiler with
1072 the Clang-specific CFLAGS.
1074 2013-10-17 Andreas Kling <akling@apple.com>
1076 Massage the Gtk build.
1078 * WebCoreSupport/EditorClientGtk.cpp:
1079 (WebKit::EditorClient::shouldApplyStyle):
1081 2013-10-16 Jochen Eisinger <jochen@chromium.org>
1083 A page should exit fullscreen mode if it opens a new popup
1084 https://bugs.webkit.org/show_bug.cgi?id=122865
1086 Reviewed by Jer Noble.
1088 If a fullscreen page opens a popup, the popup would be hidden and
1089 therefore invisible to the user. To avoid this, exit fullscreen mode
1090 before opening a new window.
1092 * WebCoreSupport/ChromeClientGtk.cpp:
1093 (WebKit::ChromeClient::createWindow):
1095 2013-10-09 Mario Sanchez Prada <mario.prada@samsung.com>
1097 [ATK] Implement new API in AtkText: atk_text_get_string_at_offset()
1098 https://bugs.webkit.org/show_bug.cgi?id=120638
1100 Reviewed by Gustavo Noronha Silva.
1102 Update ATK unit test to check the new API as well if the version
1103 of ATK is new enough.
1106 (testGetStringFunction): New helper function, to check the new API.
1107 (runGetStringTests): Ditto.
1108 (testWebkitAtkGetStringAtOffset): New unit test, similar to the
1109 one already present to check the old API but focused in the new one.
1110 (testWebkitAtkGetStringAtOffsetNewlines): Ditto.
1111 (testWebkitAtkGetStringAtOffsetTextarea): Ditto.
1112 (testWebkitAtkGetStringAtOffsetTextInput): Ditto.
1113 (testWebkitAtkGetStringAtOffsetWithPreformattedText): Ditto.
1114 (testWebkitAtkGetStringAtOffsetWithSpecialCharacters): Ditto.
1115 (testWebkitAtkGetStringAtOffsetWithWrappedLines): Ditto.
1116 (testWebkitAtkGetStringAtOffsetWithEmbeddedObjects): Ditto.
1117 (testWebkitAtkGetExtents): Add checks for the new API, if possible.
1118 (testWebkitAtkLinksWithInlineImages): Ditto.
1119 (main): Add the new unit tests to check the new API, if possible.
1121 2013-10-07 Sam Weinig <sam@webkit.org>
1123 Consolidate findString functions
1124 https://bugs.webkit.org/show_bug.cgi?id=122480
1126 Reviewed by Darin Adler.
1128 * webkit/webkitwebview.cpp:
1129 (webkit_web_view_search_text):
1131 2013-10-07 Sam Weinig <sam@webkit.org>
1133 CTTE: Use references in and around DragController
1134 https://bugs.webkit.org/show_bug.cgi?id=122427
1136 Reviewed by Andreas Kling.
1138 * WebCoreSupport/DragClientGtk.cpp:
1139 (WebKit::DragClient::willPerformDragDestinationAction):
1140 (WebKit::DragClient::willPerformDragSourceAction):
1141 (WebKit::DragClient::actionMaskForDrag):
1142 (WebKit::DragClient::startDrag):
1143 * WebCoreSupport/DragClientGtk.h:
1144 * webkit/webkitwebview.cpp:
1145 (dragExitedCallback):
1146 (webkit_web_view_drag_motion):
1147 (webkit_web_view_drag_data_received):
1148 (webkit_web_view_drag_drop):
1150 2013-10-04 Philippe Normand <pnormand@igalia.com>
1152 [GTK] UserMediaClientGtk needs API update
1153 https://bugs.webkit.org/show_bug.cgi?id=122324
1155 Reviewed by Martin Robinson.
1157 Update UserMediaClientGtk API after changes made in the parent
1160 * WebCoreSupport/UserMediaClientGtk.cpp:
1161 (WebKit::UserMediaClientGtk::requestPermission):
1162 (WebKit::UserMediaClientGtk::cancelRequest):
1163 * WebCoreSupport/UserMediaClientGtk.h:
1165 2013-10-05 Zan Dobersek <zdobersek@igalia.com>
1167 Unreviewed GTK build fix after r156946. The framePolicyFunction is an attribute
1168 on the WebKitWebPolicyDecisionPrivate object.
1170 * webkit/webkitwebpolicydecision.cpp:
1171 (webkit_web_policy_decision_use):
1172 (webkit_web_policy_decision_ignore):
1173 (webkit_web_policy_decision_download):
1175 2013-10-04 Darin Adler <darin@apple.com>
1177 text-transform: lowercase is not lang-dependent (Turkish languages : tr,az)
1178 https://bugs.webkit.org/show_bug.cgi?id=21312
1180 Reviewed by Ryosuke Niwa.
1182 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
1183 (DumpRenderTreeSupportGtk::doCommand): Use StringImpl::upper instead of
1184 StringImpl::makeUpper.
1186 2013-10-04 Anders Carlsson <andersca@apple.com>
1188 FramePolicyFunction should be an std::function
1189 https://bugs.webkit.org/show_bug.cgi?id=122362
1191 Reviewed by Darin Adler.
1193 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1194 (WebKit::FrameLoaderClient::dispatchWillSubmitForm):
1195 (WebKit::FrameLoaderClient::dispatchDecidePolicyForResponse):
1196 (WebKit::FrameLoaderClient::dispatchDecidePolicyForNewWindowAction):
1197 * WebCoreSupport/FrameLoaderClientGtk.h:
1198 * webkit/webkitwebpolicydecision.cpp:
1199 (webkit_web_policy_decision_use):
1200 (webkit_web_policy_decision_ignore):
1201 (webkit_web_policy_decision_download):
1203 2013-10-03 Sam Weinig <sam@webkit.org>
1205 Remove shouldRubberBandInDirection from the WKBundlePageUIClient
1206 https://bugs.webkit.org/show_bug.cgi?id=122309
1208 Reviewed by Andreas Kling.
1210 * WebCoreSupport/ChromeClientGtk.h:
1212 2013-10-01 Sam Weinig <sam@webkit.org>
1214 CTTE: DOMWrapperWorlds should be passed around by reference
1215 https://bugs.webkit.org/show_bug.cgi?id=122206
1217 Reviewed by Andreas Kling.
1219 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1220 (WebKit::FrameLoaderClient::dispatchDidClearWindowObjectInWorld):
1221 * WebCoreSupport/FrameLoaderClientGtk.h:
1223 2013-09-30 Benjamin Poulain <benjamin@webkit.org>
1225 Remove the code guarded by STYLE_SCOPED
1226 https://bugs.webkit.org/show_bug.cgi?id=122123
1228 Reviewed by Anders Carlsson.
1230 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
1231 * WebCoreSupport/DumpRenderTreeSupportGtk.h:
1233 2013-09-28 Darin Adler <darin@apple.com>
1235 Add Frame::mainFrame and Frame::isMainFrame
1236 https://bugs.webkit.org/show_bug.cgi?id=122064
1238 Reviewed by Andreas Kling.
1240 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1241 (WebKit::FrameLoaderClient::assignIdentifierToInitialRequest):
1244 2013-09-28 Philippe Normand <pnormand@igalia.com>
1246 Unreviewed GTK build fix after r156560.
1248 * WebCoreSupport/AcceleratedCompositingContext.h:
1250 2013-09-26 Darin Adler <darin@apple.com>
1253 https://bugs.webkit.org/show_bug.cgi?id=16214
1255 Reviewed by Andreas Kling.
1257 * many files: Renamed, using script.
1259 2013-09-27 Darin Adler <darin@apple.com>
1261 Add empty MainFrame class
1262 https://bugs.webkit.org/show_bug.cgi?id=121770
1264 Reviewed by Andreas Kling.
1266 * WebCoreSupport/AcceleratedCompositingContextGL.cpp:
1267 * WebCoreSupport/ChromeClientGtk.cpp:
1268 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1269 * WebCoreSupport/GtkAdjustmentWatcher.cpp:
1270 * webkit/webkitwebframe.cpp:
1271 * webkit/webkitwebview.cpp:
1272 * webkit/webkitviewportattributes.cpp:
1273 Include MainFrame.h instead of Frame.h as needed.
1275 2013-09-25 Brent Fulgham <bfulgham@apple.com>
1277 Refactor RuntimeEnabledFeatures as a Singleton.
1278 https://bugs.webkit.org/show_bug.cgi?id=121883.
1280 Reviewed by Jer Noble.
1282 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
1283 (DumpRenderTreeSupportGtk::setCSSRegionsEnabled): Use singleton.
1284 (DumpRenderTreeSupportGtk::setExperimentalContentSecurityPolicyFeaturesEnabled):
1285 (DumpRenderTreeSupportGtk::setSeamlessIFramesEnabled):
1286 (DumpRenderTreeSupportGtk::setShadowDOMEnabled):
1287 (DumpRenderTreeSupportGtk::setStyleScopedEnabled):
1288 * webkit/webkitwebview.cpp:
1289 (webkit_web_view_update_settings): Ditto.
1291 2013-09-24 Lorenzo Tilve <ltilve@igalia.com>
1293 [GTK] Fix compilation problems when setting ENABLE_DRAG_SUPPORT = FALSE
1294 https://bugs.webkit.org/show_bug.cgi?id=121782
1296 Reviewed by Martin Robinson.
1298 Disabled drag functions.
1300 * WebCoreSupport/DragClientGtk.cpp:
1301 * WebCoreSupport/DragClientGtk.h:
1303 2013-09-24 Zan Dobersek <zdobersek@igalia.com>
1305 [GTK] Fix accelerated compositing disabling under Wayland displays
1306 https://bugs.webkit.org/show_bug.cgi?id=121788
1308 Reviewed by Gustavo Noronha Silva.
1310 * webkit/webkitwebview.cpp:
1311 (updateAcceleratedCompositingSetting): Fix a ridiculous early return in the case of disabling the accelerated
1312 compositing setting. There's no need to re-disable the setting if it was already disabled, but it should
1313 definitely be disabled if the setting was previously enabled.
1315 2013-09-22 Zan Dobersek <zdobersek@igalia.com>
1317 Unreviewed, GTK build fix when building with GTK+ 2.0.
1318 Patch provided by Dominique Leuenberger <dimstar@opensuse.org>.
1320 * WebCoreSupport/AcceleratedCompositingContextGL.cpp: Include GtkVersioning.h to set up
1321 the mock GDK_IS_X11_DISPLAY macro if it's not provided by the GTK+ headers.
1323 2013-09-20 Mario Sanchez Prada <mario.prada@samsung.com>
1325 [ATK] Do not expose aria-help in ATK based platforms
1326 https://bugs.webkit.org/show_bug.cgi?id=121675
1328 Reviewed by Chris Fleizach.
1330 Removed accessibilityHelpText() helper method from
1331 DumpRenderSupportGtk's API, since it's not longer needed.
1333 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp: Removed method.
1334 * WebCoreSupport/DumpRenderTreeSupportGtk.h: Ditto.
1336 2013-09-16 Enrica Casucci <enrica@apple.com>
1338 Remove unused function didSetSelectionTypesForPasteboard from EditorClient.
1339 https://bugs.webkit.org/show_bug.cgi?id=121464
1341 Reviewed by Darin Adler.
1343 * WebCoreSupport/EditorClientGtk.cpp:
1344 * WebCoreSupport/EditorClientGtk.h:
1346 2013-09-16 Gustavo Noronha Silva <gns@gnome.org>
1348 [GTK] Make symbol export filter more strict, and disable for dev/test builds
1349 https://bugs.webkit.org/show_bug.cgi?id=120586
1351 Reviewed by Martin Robinson.
1353 * GNUmakefile.am: only use the version script when in developer mode..
1355 2013-09-14 Alberto Garcia <berto@igalia.com>
1357 [GTK] WebKitGTK+ is linking against libxslt in too many places
1358 https://bugs.webkit.org/show_bug.cgi?id=121356
1360 Reviewed by Martin Robinson.
1362 Don't use LIBXSLT_CFLAGS when compiling libwebkitgtk, no source
1363 files use libxslt there.
1365 The webkit tests don't use libxslt, so we shouldn't link against
1370 2013-09-13 Gustavo Noronha Silva <gustavo.noronha@collabora.com>
1372 [GTK] Move to the new web inspector
1373 https://bugs.webkit.org/show_bug.cgi?id=120647
1375 Reviewed by Carlos Garcia Campos.
1377 * WebCoreSupport/InspectorClientGtk.cpp:
1378 (WebKit::InspectorClient::openInspectorFrontend): update paths to the internal resource ones.
1379 (WebKit::InspectorClient::inspectorFilesPath): ditto.
1380 * tests/testwebinspector.c:
1381 (consoleMessageCallback): the new inspector currently emits an error when loading, so add it to
1382 the list of messages which are not considered failures.
1383 * webkit/webkitglobals.cpp:
1384 (webkitInit): register resource as a local scheme; currently used by the inspector.
1386 2013-09-13 Alberto Garcia <berto@igalia.com>
1388 download-requested arg should be WEBKIT_TYPE_DOWNLOAD not G_TYPE_OBJECT
1389 https://bugs.webkit.org/show_bug.cgi?id=57634
1391 Reviewed by Darin Adler.
1393 * webkit/webkitwebview.cpp:
1394 (webkit_web_view_class_init):
1396 2013-09-12 Zan Dobersek <zdobersek@igalia.com>
1398 [GTK][WK1] Block accelerated compositing under non-X11 displays
1399 https://bugs.webkit.org/show_bug.cgi?id=121165
1401 Reviewed by Martin Robinson.
1403 This is analogous to the changes in r154728 and r154729 that enforce disabling accelerated compositing
1404 under Wayland displays and made the RedirectedXCompositeWindow use in WebKit2 limited only to the X11 displays.
1406 * WebCoreSupport/AcceleratedCompositingContextGL.cpp: Remove two unnecessary header includes that also
1407 introduce symbols that conflict with the symbols defined in the X headers. Include the <gdk/gdkx.h> header
1408 if the GTK+ dependency can provide it.
1409 (WebKit::AcceleratedCompositingContext::initialize): Only set up the RedirectedXCompositeWindow instance
1410 if running under an X11 display.
1411 (WebKit::AcceleratedCompositingContext::renderLayersToWindow): The removal of the unnecessary header
1412 inclusions also removed the std::max() injection into the global scope. Using std::max directly instead.
1413 (WebKit::AcceleratedCompositingContext::scheduleLayerFlush): Ditto.
1414 * webkit/webkitwebview.cpp:
1415 (updateAcceleratedCompositingSetting): A helper function that ensures the accelerated compositing feature
1416 stays disabled under Wayland displays. It also prints out a warning message the first time the user tries
1417 to enable accelerated compositing under Wayland displays, telling that the feature is not supported and
1418 will remain disabled.
1419 (webkit_web_view_update_settings): Call updateAcceleratedCompositingSetting() to enable the feature if possible.
1420 (webkit_web_view_settings_notify): Ditto.
1422 2013-09-11 Mario Sanchez Prada <mario.prada@samsung.com>
1424 [GTK] Remove Gail dependency from build system for GTK3
1425 https://bugs.webkit.org/show_bug.cgi?id=119673
1427 Reviewed by Gustavo Noronha Silva.
1429 * GNUmakefile.am: Removed GAIL_CFLAGS and GAIL_LIBS.
1431 2013-09-10 Mario Sanchez Prada <mario.prada@samsung.com>
1433 [GTK] Reimplement atk_text_get_text_*_offset for LINE boundaries
1434 https://bugs.webkit.org/show_bug.cgi?id=114872
1436 Reviewed by Gustavo Noronha Silva.
1438 Fixed wrong unit test.
1441 (testWebkitAtkGetTextAtOffsetWithPreformattedText): This test was
1442 reporting a trailing '\n' for some reason for a <pre> block, which
1443 is plainly wrong since, in order to return that, there should be
1444 at least a trailing empty space after that and before the </pre>
1445 closing tag. This is fixed now.
1446 (testWebkitAtkGetTextAtOffsetWithWrappedLines): Uncommented tests
1447 that were previously not passing due to a bug in GailTextUtil.
1449 2013-09-11 Gyuyoung Kim <gyuyoung.kim@samsung.com>
1451 Generate more HTML type checks and casting
1452 https://bugs.webkit.org/show_bug.cgi?id=121080
1454 Reviewed by Andreas Kling.
1456 Clean-up remained functions of HTML elements using auto-generated isFooElement(),
1457 and replace toFooElement() with ELEMENT_TYPE_CASTS() macro.
1459 Besides this patch clean-up unnecessary checks which are being supported by
1460 auto-generated isFooElement().
1462 No new tests, no behavior change.
1464 * WebCoreSupport/ChromeClientGtk.cpp:
1465 (WebKit::ChromeClient::supportsFullscreenForNode):
1467 2013-09-04 Zan Dobersek <zdobersek@igalia.com>
1469 [GTK] Add support for the Wayland build target
1470 https://bugs.webkit.org/show_bug.cgi?id=120627
1472 Reviewed by Gustavo Noronha Silva.
1474 * WebCoreSupport/ChromeClientGtk.cpp:
1475 (WebKit::createBackingStore): Additionally guard the <gdk/gdkx.h> inclusion and the inclusion and use of
1476 WidgetBackingStoreGtkX11 with PLATFORM(X11), ensuring this code is built when also building with X11 target
1477 enabled. GDK_WINDOWING_X11 macro can be defined even if the X11 target is disabled.
1479 2013-09-02 Brian Holt <brian.holt@samsung.com>
1481 [ATK] Leak: Leaks in testatk.c
1482 https://bugs.webkit.org/show_bug.cgi?id=118675
1484 Reviewed by Mario Sanchez Prada.
1486 Fixed memory leaks by matching ref calls with unrefs.
1489 (testWebkitAtkCaretOffsets):
1490 (testWebkitAtkCaretOffsetsAndExtranousWhiteSpaces):
1491 (testWebkitAtkGetTextAtOffset):
1492 (testWebkitAtkGetTextAtOffsetNewlines):
1493 (testWebkitAtkGetTextAtOffsetTextarea):
1494 (testWebkitAtkGetTextAtOffsetTextInput):
1495 (testWebkitAtkGetTextInParagraphAndBodySimple):
1496 (testWebkitAtkGetTextInParagraphAndBodyModerate):
1497 (testWebkitAtkTextAttributes):
1498 (testWebkitAtkTextSelections):
1499 (testWebkitAtkListsOfItems):
1501 2013-08-29 Zan Dobersek <zdobersek@igalia.com>
1503 [Automake] libWebCoreDOM.la could use a better name
1504 https://bugs.webkit.org/show_bug.cgi?id=120232
1506 Reviewed by Martin Robinson.
1508 * GNUmakefile.am: libWebCoreDOM has a new name - libGObjectDOMBindings.
1510 2013-08-29 Arnaud Renevier <a.renevier@samsung.com>
1512 [cairo] canvas drawing on itself doesn't work with accelerated canvas
1513 https://bugs.webkit.org/show_bug.cgi?id=118808
1515 Reviewed by Martin Robinson.
1517 Change cairoImageSurfaceToGdkPixbuf to cairoSurfaceToGdkPixbuf.
1519 * webkit/webkitfavicondatabase.cpp:
1520 (getIconPixbufSynchronously):
1522 2013-08-26 Zan Dobersek <zdobersek@igalia.com>
1524 Unreviewed GTK build fix.
1526 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1527 (WebKit::FrameLoaderClient::FrameLoaderClient): Remove an assertion that was not removed in r154658.
1529 2013-08-26 Ryosuke Niwa <rniwa@webkit.org>
1531 Another GTK+ build fix.
1533 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1535 2013-08-26 Ryosuke Niwa <rniwa@webkit.org>
1537 GTK+ build fix. Like r154620.
1539 * webkit/webkitwebframe.cpp:
1540 (webkit_web_frame_new):
1542 2013-08-26 Pratik Solanki <psolanki@apple.com>
1544 PageGroup::groupSettings() should return a reference
1545 https://bugs.webkit.org/show_bug.cgi?id=120319
1547 Reviewed by Andreas Kling.
1549 PageGroup::m_groupSettings is never NULL so we can just return a reference from groupSettings().
1551 * webkit/webkitwebdatabase.cpp:
1552 (webkit_set_web_database_directory_path):
1554 2013-08-26 Andreas Kling <akling@apple.com>
1556 WebCore: Let Page create the main Frame.
1557 <https://webkit.org/b/119964>
1559 Tweak WebKit1/GTK for changes in WebCore.
1561 Patch by Zan Dobersek <zdobersek@igalia.com>
1562 Reviewed by Gustavo Noronha Silva.
1564 * WebCoreSupport/FrameLoaderClientGtk.h:
1565 (WebKit::FrameLoaderClient::setWebFrame):
1566 * webkit/webkitwebframe.cpp:
1567 (webkit_web_frame_new):
1568 * webkit/webkitwebview.cpp:
1569 (webkit_web_view_init):
1571 2013-08-24 Darin Adler <darin@apple.com>
1573 Frame::tree should return a reference instead of a pointer
1574 https://bugs.webkit.org/show_bug.cgi?id=120259
1576 Reviewed by Andreas Kling.
1578 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
1579 (DumpRenderTreeSupportGtk::getFrameChildren):
1580 (DumpRenderTreeSupportGtk::clearMainFrameName):
1581 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1582 (WebKit::FrameLoaderClient::createFrame):
1583 * webkit/webkitwebframe.cpp:
1584 (webkit_web_frame_get_name):
1585 (webkit_web_frame_get_parent):
1586 (webkit_web_frame_find_frame):
1587 * webkit/webkitwebview.cpp:
1588 (webkit_web_view_set_highlight_text_matches):
1589 Use tree(). instead of tree()->.
1591 2013-08-21 Zan Dobersek <zdobersek@igalia.com>
1593 <https://webkit.org/b/119836> [GTK] ChromeClient::paint is susceptible to system time changes
1595 Reviewed by Martin Robinson.
1597 Instead of using WTF::currentTime() as the value of the last display occurrence,
1598 WTF::monotonicallyIncreasingTime() should be used. The latter is not affected by
1599 the changes is the system's time, which can cause a halt in the display updating.
1601 * WebCoreSupport/ChromeClientGtk.cpp:
1602 (WebKit::ChromeClient::paint):
1604 2013-08-19 Pratik Solanki <psolanki@apple.com>
1606 <https://webkit.org/b/119918> Frame::selection() should return a reference
1608 Reviewed by Darin Adler.
1610 m_selection is never NULL so return a reference from Frame::selection(). Also removed some
1611 unnecessary null checks and assert diff ts exposed as a result.
1613 * WebCoreSupport/ChromeClientGtk.cpp:
1614 (WebKit::ChromeClient::paint):
1615 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
1616 (DumpRenderTreeSupportGtk::firstRectForCharacterRange):
1617 (DumpRenderTreeSupportGtk::selectedRange):
1618 (DumpRenderTreeSupportGtk::rectangleForSelection):
1619 * WebCoreSupport/EditorClientGtk.cpp:
1620 (WebKit::collapseSelection):
1621 (WebKit::setSelectionPrimaryClipboardIfNeeded):
1622 * webkit/webkitwebframe.cpp:
1623 (webkit_web_frame_get_range_for_word_around_caret):
1624 * webkit/webkitwebview.cpp:
1625 (getLocationForKeyboardGeneratedContextMenu):
1627 2013-08-17 Darin Adler <darin@apple.com>
1629 <https://webkit.org/b/119941> Make Page::dragController return a reference
1631 Reviewed by Andreas Kling.
1633 * webkit/webkitwebview.cpp:
1634 (dragExitedCallback):
1635 (webkit_web_view_drag_motion):
1636 (webkit_web_view_drag_data_received):
1637 (webkit_web_view_drag_drop):
1640 2013-08-16 Pratik Solanki <psolanki@apple.com>
1642 <https://webkit.org/b/119852> Frame::scriptController() should return a reference
1644 Reviewed by Andreas Kling.
1646 m_script is never NULL so we can just return a reference. Also remove some pointless null
1647 checks as a result of doing this.
1649 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1650 (WebKit::FrameLoaderClient::dispatchDidClearWindowObjectInWorld):
1651 * webkit/webkitwebframe.cpp:
1652 (webkit_web_frame_get_global_context):
1653 * webkit/webkitwebview.cpp:
1654 (webkit_web_view_execute_script):
1656 2013-08-15 Zan Dobersek <zdobersek@igalia.com>
1658 Unreviewed GTK build fix for debug configurations.
1660 * webkit/webkitwebframe.cpp:
1661 (WebKit::kit): Remove the bogus assertion for Frame::loader() that now returns a reference.
1663 2013-08-15 Anders Carlsson <andersca@apple.com>
1665 <https://webkit.org/b/119859> Frame::loader() should return a reference
1667 Reviewed by Andreas Kling.
1669 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
1670 (DumpRenderTreeSupportGtk::clearOpener):
1671 (DumpRenderTreeSupportGtk::shouldClose):
1672 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1673 (WebKit::FrameLoaderClient::dispatchWillSubmitForm):
1674 (WebKit::FrameLoaderClient::committedLoad):
1675 (WebKit::FrameLoaderClient::dispatchDecidePolicyForResponse):
1676 (WebKit::FrameLoaderClient::dispatchDecidePolicyForNewWindowAction):
1677 (WebKit::FrameLoaderClient::dispatchDecidePolicyForNavigationAction):
1678 (WebKit::FrameLoaderClient::createFrame):
1679 (WebKit::FrameLoaderClient::dispatchDidCommitLoad):
1680 * webkit/webkitwebframe.cpp:
1681 (webkit_web_frame_finalize):
1682 (webkit_web_frame_load_uri):
1683 (webkit_web_frame_load_data):
1684 (webkit_web_frame_load_request):
1685 (webkit_web_frame_stop_loading):
1686 (webkit_web_frame_reload):
1687 (webkit_web_frame_get_data_source):
1688 (webkit_web_frame_get_provisional_data_source):
1689 (webkit_web_frame_get_response_mime_type):
1690 (webkit_web_frame_get_network_response):
1692 * webkit/webkitwebpolicydecision.cpp:
1693 (webkit_web_policy_decision_use):
1694 (webkit_web_policy_decision_ignore):
1695 (webkit_web_policy_decision_download):
1696 * webkit/webkitwebview.cpp:
1697 (webkit_web_view_dispose):
1698 (webkit_web_view_reload):
1699 (webkit_web_view_reload_bypass_cache):
1700 (webkit_web_view_stop_loading):
1701 (webkit_web_view_can_show_mime_type):
1702 (webkit_web_view_set_custom_encoding):
1703 (webkit_web_view_get_custom_encoding):
1704 (webkit_web_view_get_subresources):
1706 2013-08-15 Simon Pena <simon.pena@samsung.com>
1708 <https://webkit.org/b/119584> [Gtk] URL printing code in DumpRenderTree doesn't match WTR or Mac DRT
1710 Reviewed by Gustavo Noronha Silva.
1712 Following a similar approach as in r153977, return a path string
1713 that is relative to main frame URL or just file name if the
1714 resource is not in the same directory subtree, and replace empty
1715 strings with "(null)".
1717 Update the AuthenticationCallback used in DumpRenderTree so that
1718 it receives a WebKitWebResource, and update
1719 dispatchDidReceiveAuthenticationChallenge so that it retrieves the
1720 WebKitWebResource and passes it to the callback.
1722 * WebCoreSupport/DumpRenderTreeSupportGtk.h: Update the
1723 AuthenticationCallback adding a WebKitWebResource parameter.
1724 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1725 (WebKit::toString): Define this function earlier so we can use it
1726 to get the WebKitWebResource from the identifier in the
1727 AuthenticationChallenge.
1728 (WebKit::FrameLoaderClient::dispatchDidReceiveAuthenticationChallenge):
1729 Use toString to retrieve a WebKitWebResource from the identifier
1730 in the authentication challenge, and pass that WebKitWebResource
1731 to the AuthenticationCallback.
1733 2013-08-13 Xabier Rodriguez Calvar <calvaris@igalia.com>
1735 [GTK] WK does not link properly against libxslt
1736 https://bugs.webkit.org/show_bug.cgi?id=119688
1738 Reviewed by Gustavo Noronha Silva.
1740 * GNUmakefile.am: Added LIBXSLT_LIBS to the unit tests.
1742 2013-08-13 Alberto Garcia <berto@igalia.com>
1744 [GTK] Closing inspector window crashes wk
1745 https://bugs.webkit.org/show_bug.cgi?id=110865
1747 Reviewed by Carlos Garcia Campos.
1749 The previous fix for the inspector window crash breaks some unit
1750 tests. This one goes back to the original code and only moves the
1751 actual deletion of priv->corePage to the end of the function.
1753 * webkit/webkitwebview.cpp:
1754 (webkit_web_view_dispose):
1756 2013-08-13 Alberto Garcia <berto@igalia.com>
1758 [GTK] Closing inspector window crashes wk
1759 https://bugs.webkit.org/show_bug.cgi?id=110865
1761 Reviewed by Carlos Garcia Campos.
1763 Deleting priv->corePage during the destruction of a webView will
1764 trigger the deletion of InspectorFrontendClient. However that
1765 object is supposed to handle the webView's destroy signal first in
1766 order to do the necessary cleanup.
1768 The solution is to wait until webkit_web_view_dispose finishes
1769 before deleting priv->corePage.
1771 * webkit/webkitwebview.cpp:
1772 (webkit_web_view_dispose):
1774 2013-08-12 Anton Obzhirov <a.obzhirov@samsung.com>
1776 [GTK] Don't load GAIL when using GTK 3.2 or greater
1777 https://bugs.webkit.org/show_bug.cgi?id=72735
1779 Reviewed by Carlos Garcia Campos.
1782 (initializeTestingFramework):
1785 2013-08-11 Carlos Garcia Campos <cgarcia@igalia.com>
1787 Unreviewed. Update NEWS and Versions.m4 for 2.1.4 release.
1789 * NEWS: Update release notes.
1791 2013-08-09 Alexey Proskuryakov <ap@apple.com>
1793 REGRESSION (r142755): window.open creates an invisible window when width and height are 0
1794 https://bugs.webkit.org/show_bug.cgi?id=119633
1796 Reviewed by Darin Adler.
1798 * WebCoreSupport/ChromeClientGtk.cpp: (WebKit::ChromeClient::setWindowRect):
1799 Once again, the passed rect cannot be empty.
1801 2013-07-27 Mark Rowe <mrowe@apple.com>
1803 Logging should be configurable using human-readable channel names rather than crazy bitmasks
1804 <http://webkit.org/b/119031>
1806 Implement shared logic for initializing logging channels based on human-readable channel names in WTF,
1807 and rework the WebCore, WebKit and WebKit2 logging initialization on top of it.
1809 Logging channels may now be enabled by providing a comma-separated list of channel names, with the special
1810 "all" name enabling all channels. Channel names prefixed with a leading "-" will result in the named channel
1811 being disabled. For instance, specifying "all,-history,-loading" will result in all logging channels except
1812 for history and loading being enabled.
1814 For OS X developers, this also changes the name of the user defaults used to enable logging. This is done to allow
1815 the old user defaults to remain set for those people that need to switch between version of WebKit before and
1816 after this change. Where the old user default keys were WebCoreLogLevel, WebKitLogLevel and WebKit2LogLevel,
1817 the new user default keys are WebCoreLogging, WebKitLogging and WebKit2Logging.
1819 For GTK developers, this changes the separator used in the WEBKIT_DEBUG environment variable to a comma for
1820 consistency with the other platforms and to enable more code sharing.
1822 While doing this work I've also taken the opportunity to eliminate the need to touch multiple files when
1823 adding a new logging channel. Now only the header in the relevant project needs to be updated.
1825 Reviewed by Sam Weinig.
1827 * webkit/webkitglobals.cpp: Switch from WebCore's InitializeLogging.h to Logging.h.
1829 2013-08-02 Mario Sanchez Prada <mario.prada@samsung.com>
1831 Implement atk_text_get_text_*_offset for WORD
1832 https://bugs.webkit.org/show_bug.cgi?id=114871
1834 Reviewed by Martin Robinson.
1836 Updated current unit tests and add a new one specific for embedded
1837 objects, to ensure we are covering even more cases than before.
1840 (testWebkitAtkGetTextAtOffsetWithEmbeddedObjects): New.
1841 (main): Added new test to the test suite.
1843 2013-07-30 Carlos Garcia Campos <cgarcia@igalia.com>
1845 Unreviewed. Update NEWS and Versions.m4 for 2.1.4 release.
1847 * NEWS: Added release notes for 2.1.4.
1849 2013-07-29 Mario Sanchez Prada <mario.prada@samsung.com>
1851 [ATK] Issues with edge cases when getting offsets for a text range in AtkText
1852 https://bugs.webkit.org/show_bug.cgi?id=118908
1854 Reviewed by Martin Robinson.
1857 (runGetTextTests): Updated unit tests to check more cases of
1858 calling the atk_text_get_text_*_offset() functions for WORD.
1860 2013-07-25 Andreas Kling <akling@apple.com>
1862 ChromeClient::focusedNodeChanged() should be focusedElementChanged().
1863 <http://webkit.org/b/119110>
1865 Reviewed by Anders Carlsson.
1867 * WebCoreSupport/ChromeClientGtk.cpp:
1868 (WebKit::ChromeClient::focusedElementChanged):
1869 * WebCoreSupport/ChromeClientGtk.h:
1871 2013-07-23 Carlos Garcia Campos <cgarcia@igalia.com>
1873 [GTK] GtkAdjustmentWatcher idle source not correctly handled
1874 https://bugs.webkit.org/show_bug.cgi?id=119003
1876 Reviewed by Martin Robinson.
1878 GtkAdjustmentWatcher::updateAdjustmentsFromScrollbarsLater()
1879 creates a new idle source and initializes
1880 m_updateAdjustmentCallbackId, which is used everywhere and
1881 specially in the destructor to cancel the source when the
1882 GtkAdjustmentWatcher is deleted. However,
1883 m_updateAdjustmentCallbackId is reset to 0 in
1884 GtkAdjustmentWatcher::updateAdjustmentsFromScrollbars() only when
1885 not returning early. This method is public and not only called by
1886 the updateAdjustmentCallback, which means that a call to
1887 updateAdjustmentsFromScrollbars could reset the
1888 m_updateAdjustmentCallbackId without actually destroying the source.
1890 * WebCoreSupport/GtkAdjustmentWatcher.cpp:
1891 (WebKit::GtkAdjustmentWatcher::updateAdjustmentsFromScrollbars):
1892 Cancel the adjustment later idle if it has been scheduled.
1893 (WebKit::GtkAdjustmentWatcher::updateAdjustmentCallback): Reset
1894 m_updateAdjustmentCallbackId.
1895 * WebCoreSupport/GtkAdjustmentWatcher.h:
1897 2013-07-17 Kangil Han <kangil.han@samsung.com>
1899 Use toHTMLMediaElement
1900 https://bugs.webkit.org/show_bug.cgi?id=118727
1902 Reviewed by Ryosuke Niwa.
1904 To avoid direct use of static_cast, this patch uses toHTMLMediaElement for code cleanup.
1906 * WebCoreSupport/ChromeClientGtk.cpp:
1907 (WebKit::ChromeClient::enterFullscreenForNode):
1908 (WebKit::ChromeClient::exitFullscreenForNode):
1909 (WebKit::ChromeClient::enterFullScreenForElement):
1910 (WebKit::ChromeClient::exitFullScreenForElement):
1912 2013-07-09 Carlos Garcia Campos <cgarcia@igalia.com>
1914 Unreviewed. Update NEWS and Versions.m4 for 2.1.3 release.
1916 * NEWS: Added release notes for 2.1.3.
1918 2013-07-08 Carlos Garcia Campos <cgarcia@igalia.com>
1920 [GTK] webkit_set_cache_model is not turning the cache off
1921 https://bugs.webkit.org/show_bug.cgi?id=118345
1923 Reviewed by Gustavo Noronha Silva.
1925 Our documentation says that WEBKIT_CACHE_MODEL_DOCUMENT_VIEWER
1926 disables the cache completely, but we are only setting the cache
1927 capacities to 0. Cache capacities are not checked when resources
1928 are added to the cache, but when it's pruned. To disable the cache
1929 we need to call MemoryCache::setDisabled explicitly.
1931 * webkit/webkitglobals.cpp:
1932 (webkit_set_cache_model): Disable the cache when min dead, max
1933 dead and total capacities are all set to 0.
1935 2013-07-08 Brian Holt <brian.holt@samsung.com>
1937 [GTK] FrameLoaderClient: Refactor naked pointers to use smart pointers
1938 https://bugs.webkit.org/show_bug.cgi?id=118417
1940 Reviewed by Carlos Garcia Campos.
1942 Use GOwnPtr and GRefPtr where possible.
1944 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1945 (WebKit::FrameLoaderClient::dispatchDidFailLoad):
1947 2013-07-04 Mario Sanchez Prada <mario.prada@samsung.com>
1949 [ATK] Do not expose '\n' for wrapped lines with ATK_TEXT_BOUNDARY_CHAR
1950 https://bugs.webkit.org/show_bug.cgi?id=118359
1952 Reviewed by Carlos Garcia Campos.
1954 Added new unit test to make sure we exposed line breaks properly.
1957 (testWebkitAtkGetTextAtOffsetWithWrappedLines): New unit test.
1958 (main): Added new test to the test suite.
1960 2013-07-01 Gustavo Noronha Silva <gustavo.noronha@collabora.com>
1962 [GTK] Remove unsupported AC backends
1963 https://bugs.webkit.org/show_bug.cgi?id=117362
1965 Reviewed by Martin Robinson.
1968 * WebCoreSupport/AcceleratedCompositingContext.h: removed clutter and cairo
1970 * WebCoreSupport/AcceleratedCompositingContextCairo.cpp: Removed.
1971 * WebCoreSupport/AcceleratedCompositingContextClutter.cpp: Removed.
1972 * webkit/webkitglobals.cpp:
1973 (webkitInit): removed clutter-gtk initialization.
1975 2013-07-01 ChangSeok Oh <changseok.oh@collabora.com>
1977 [GTK] Use PassOwnPtr for the returned value of createBackingStore
1978 https://bugs.webkit.org/show_bug.cgi?id=118230
1980 Reviewed by Andreas Kling.
1982 It would be better that createBackingStore returns PassOwnPtr instread of OwnPtr
1983 to keep compatibility with c++0x.
1985 * WebCoreSupport/ChromeClientGtk.cpp:
1986 (WebKit::createBackingStore):
1988 2013-06-28 Iago Toral Quiroga <itoral@igalia.com>
1990 Use gtk_widget_get_preferred_size instead of deprecated gtk_widget_get_requisition
1991 https://bugs.webkit.org/show_bug.cgi?id=118177
1993 Reviewed by Carlos Garcia Campos.
1995 * WebCoreSupport/ChromeClientGtk.cpp:
1996 (WebKit::ChromeClient::contentsSizeChanged):
1998 2013-06-27 Iago Toral Quiroga <itoral@igalia.com>
2000 Use consistent file names for WidgetBackingStoreGtkX11 class
2001 https://bugs.webkit.org/show_bug.cgi?id=118124
2003 Reviewed by Carlos Garcia Campos.
2005 * WebCoreSupport/ChromeClientGtk.cpp:
2007 2013-06-21 Christophe Dumez <ch.dumez@sisa.samsung.com>
2009 REGRESSION (r150663): Using webkitAudioContext in Inspector makes it undefined everywhere
2010 https://bugs.webkit.org/show_bug.cgi?id=117825
2012 Reviewed by Kentaro Hara.
2014 Use Settings to enable Web Audio instead of RuntimeEnabledFeatures.
2016 * webkit/webkitwebview.cpp:
2017 (webkit_web_view_update_settings):
2018 (webkit_web_view_settings_notify):
2020 2013-06-18 Carlos Garcia Campos <cgarcia@igalia.com>
2022 Unreviewed. Update NEWS and Versions.m4 for 2.1.2 release.
2024 * NEWS: Added release notes for 2.1.2.
2026 2013-06-17 Grzegorz Czajkowski <g.czajkowski@samsung.com>
2028 Unreviewed, rolling out r151632.
2029 http://trac.webkit.org/changeset/151632
2030 https://bugs.webkit.org/show_bug.cgi?id=117585
2032 Debug build error ASSERT(WTF_USE_GRAMMAR_CHECKING) for non MAC
2035 * webkit/webkitglobals.cpp:
2036 (webkit_context_menu_item_get_action):
2038 2013-06-14 Grzegorz Czajkowski <g.czajkowski@samsung.com>
2040 Context menu grammar checking items are available when GRAMMAR_CHECKING macro is off
2041 https://bugs.webkit.org/show_bug.cgi?id=117585
2043 Reviewed by Anders Carlsson.
2045 Add GRAMMAR_CHECKING guard to the context menu grammar items.
2047 * webkit/webkitglobals.cpp:
2048 (webkit_context_menu_item_get_action):
2050 2013-06-12 Diego Pino Garcia <dpino@igalia.com>
2052 [GTK] Parameter 'pseudoElement' from function 'webkit_dom_dom_window_get_computed_style' should be allowed to be NULL
2053 https://bugs.webkit.org/show_bug.cgi?id=117332
2055 Reviewed by Xan Lopez.
2057 Add test for function 'webkit_dom_dom_window_get_computed_style'.
2059 * tests/testdomdomwindow.c:
2060 (dom_dom_window_fixture_setup): Test setup for function
2061 'dom_dom_window_get_computed_style'.
2062 (dom_dom_window_fixture_teardown): Test teardown for function
2063 'dom_dom_window_get_computed_style'.
2065 (test_dom_dom_window_get_computed_style): Checks function
2066 'dom_dom_window_get_computed_style'.
2069 2013-06-10 Iago Toral Quiroga <itoral@igalia.com>
2071 Use Cairo implementation of the WidgetBackingStore instead of X11 when running on Wayland
2072 https://bugs.webkit.org/show_bug.cgi?id=116717
2074 Reviewed by Martin Robinson.
2076 Decide which implementation of WidgetBackingStore to use (X11 or Cairo)
2077 depending on whether we are running on X11 or not. Select Cairo
2078 implementation when not running in X11.
2080 * WebCoreSupport/ChromeClientGtk.cpp:
2081 (WebKit::createBackingStore):
2083 (WebKit::ChromeClient::widgetSizeChanged):
2084 (WebKit::ChromeClient::attachRootGraphicsLayer):
2086 2013-06-06 Diego Pino Garcia <dpino@igalia.com>
2088 [GTK] Parameter 'refChild' from function 'webkit_dom_node_insert_before' should be allowed to be NULL
2089 https://bugs.webkit.org/show_bug.cgi?id=117303
2091 Reviewed by Xan Lopez.
2093 Add test for function 'webkit_dom_node_insert_before'.
2095 * tests/testdomnode.c: Checks function dom_document_node_insert_before
2096 (test_dom_node_insertion):
2098 2013-06-06 Diego Pino Garcia <dpino@igalia.com>
2100 [GTK] Parameters 'inResult' and 'resolver' from function 'webkit_dom_document_evaluate' should be allowed to be NULL
2101 https://bugs.webkit.org/show_bug.cgi?id=117129
2103 Reviewed by Xan Lopez.
2105 Add test for function 'webkit_dom_document_evaluate'.
2107 * tests/testdomdocument.c:
2108 (test_dom_document_evaluate): Checks function dom_document_evaluate,
2109 executes an XPath expression on a HTML document.
2112 2013-06-05 Alberto Garcia <agarcia@igalia.com>
2114 [GTK] AcceleratedCompositingContext: fix layerFlushTimerFiredCallback condition
2115 https://bugs.webkit.org/show_bug.cgi?id=117258
2117 Reviewed by Martin Robinson.
2119 The expressions were incorrectly grouped, a timeout handler can
2120 only be added only if there's none running already.
2122 * WebCoreSupport/AcceleratedCompositingContextGL.cpp:
2123 (WebKit::AcceleratedCompositingContext::renderLayersToWindow):
2125 2013-06-04 Alberto Garcia <agarcia@igalia.com>
2127 [GTK] Make precedence of logical operators explicit
2128 https://bugs.webkit.org/show_bug.cgi?id=117216
2130 Reviewed by Martin Robinson.
2132 There's a couple of cases where we mix && and || in the same
2133 expression. In ChromeClient::contentsSizeChanged() the lack of
2134 parentheses actually makes the expression wrong.
2136 * WebCoreSupport/AcceleratedCompositingContextGL.cpp:
2137 (WebKit::AcceleratedCompositingContext::renderLayersToWindow):
2138 * WebCoreSupport/ChromeClientGtk.cpp:
2139 (WebKit::ChromeClient::contentsSizeChanged):
2141 2013-05-30 Enrique Ocana Gonzalez <eocanha@igalia.com>
2143 [GTK] Fix pass_by_value coverity warning in ChromeClientGtk
2144 https://bugs.webkit.org/show_bug.cgi?id=117021
2146 Reviewed by Anders Carlsson.
2148 Pass dirtyRegion parameter in paintWebView() by reference to avoid object copying.
2150 * WebCoreSupport/ChromeClientGtk.cpp:
2151 (WebKit::paintWebView):
2153 2013-05-29 Carlos Garcia Campos <cgarcia@igalia.com>
2155 Unreviewed. Update NEWS and Versions.m4 for 2.1.1 release.
2157 * NEWS: Added release notes for 2.1.1.
2159 2013-05-28 Andreas Kling <akling@apple.com>
2161 Document::setFocusedNode() should be setFocusedElement().
2162 <http://webkit.org/b/116857>
2164 Reviewed by Antti Koivisto.
2166 * webkit/webkitwebview.cpp:
2169 2013-05-24 Christophe Dumez <ch.dumez@sisa.samsung.com>
2171 Remove custom code for webkitAudioContext global constructor getter
2172 https://bugs.webkit.org/show_bug.cgi?id=116530
2174 Reviewed by Geoffrey Garen.
2176 Use RuntimeEnabledFeatures instead of Settings to toggle Web Audio support.
2178 * webkit/webkitwebview.cpp:
2179 (webkit_web_view_update_settings):
2180 (webkit_web_view_settings_notify):
2182 2013-05-19 Anders Carlsson <andersca@apple.com>
2184 Remove ChromeClient::webView()
2185 https://bugs.webkit.org/show_bug.cgi?id=116054
2187 Reviewed by Darin Adler.
2189 This blatantly horrible layer violation was only used to know if a ChromeClient is an empty
2190 client or not. We already have a (slightly less horrible) way to do that.
2192 * WebCoreSupport/ChromeClientGtk.h:
2195 2013-05-18 Carlos Garcia Campos <cgarcia@igalia.com>
2197 [GTK] Move GTK port off legacy clipboard
2198 https://bugs.webkit.org/show_bug.cgi?id=116221
2200 Reviewed by Martin Robinson.
2202 * WebCoreSupport/DragClientGtk.cpp:
2203 (WebKit::DragClient::startDrag): Get the DataObjectGtk from the
2204 Pasteboard associated to the given Clipboard.
2206 2013-05-17 Gustavo Noronha Silva <gustavo.noronha@collabora.com>
2208 Unreviewed build fix. Remove assertion that doesn't make sense anymore since the
2209 page does not give us access to the Chrome pointer directly anymore.
2211 * webkit/webkitwebview.cpp:
2214 2013-05-16 Andreas Kling <akling@apple.com>
2216 Page::chrome() should return a reference.
2217 <http://webkit.org/b/116185>
2219 Reviewed by Anders Carlsson.
2221 2013-05-16 Martin Robinson <mrobinson@igalia.com>
2223 [GTK] Documentation for WEBKIT_DEBUG logging channels is out of date
2224 https://bugs.webkit.org/show_bug.cgi?id=114764
2226 Reviewed by Gustavo Noronha Silva.
2228 * docs/webkitenvironment.xml: Update documentation to reflect current list of
2231 2013-05-16 Allan Sandfeld Jensen <allan.jensen@digia.com>
2233 [GTK] TargetFrame and innerNodeFrame confused
2234 https://bugs.webkit.org/show_bug.cgi?id=102907
2236 Reviewed by Martin Robinson.
2238 * webkit/webkithittestresult.cpp:
2241 2013-05-15 Anders Carlsson <andersca@apple.com>
2245 * webkit/webkitwebview.cpp:
2246 (webkitWebViewDirectionChanged):
2248 2013-05-13 Anders Carlsson <andersca@apple.com>
2250 Frame::editor() should return a reference
2251 https://bugs.webkit.org/show_bug.cgi?id=116037
2253 Reviewed by Darin Adler.
2255 * WebCoreSupport/ChromeClientGtk.cpp:
2256 (WebKit::ChromeClient::paint):
2257 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
2258 (DumpRenderTreeSupportGtk::executeCoreCommandByName):
2259 (DumpRenderTreeSupportGtk::isCommandEnabled):
2260 * WebCoreSupport/EditorClientGtk.cpp:
2261 (WebKit::EditorClient::respondToChangedSelection):
2262 (WebKit::EditorClient::executePendingEditorCommands):
2263 (WebKit::EditorClient::handleKeyboardEvent):
2264 * WebCoreSupport/WebViewInputMethodFilter.cpp:
2265 (WebKit::WebViewInputMethodFilter::canEdit):
2266 (WebKit::WebViewInputMethodFilter::confirmCompositionText):
2267 (WebKit::WebViewInputMethodFilter::confirmCurrentComposition):
2268 (WebKit::WebViewInputMethodFilter::cancelCurrentComposition):
2269 (WebKit::WebViewInputMethodFilter::setPreedit):
2270 * webkit/webkitwebframe.cpp:
2271 (webkit_web_frame_replace_selection):
2272 * webkit/webkitwebview.cpp:
2273 (getLocationForKeyboardGeneratedContextMenu):
2274 (webkit_web_view_focus_in_event):
2275 (webkit_web_view_real_select_all):
2276 (webkit_web_view_real_cut_clipboard):
2277 (webkit_web_view_real_copy_clipboard):
2278 (webkit_web_view_real_undo):
2279 (webkit_web_view_real_redo):
2280 (webkit_web_view_real_paste_clipboard):
2281 (webkit_web_view_set_highlight_text_matches):
2282 (webkit_web_view_can_cut_clipboard):
2283 (webkit_web_view_can_copy_clipboard):
2284 (webkit_web_view_can_paste_clipboard):
2285 (webkit_web_view_delete_selection):
2286 (webkit_web_view_set_editable):
2287 (webkit_web_view_can_undo):
2288 (webkit_web_view_can_redo):
2290 2013-05-14 Zan Dobersek <zdobersek@igalia.com>
2292 [GTK] Move generated ColorData.cpp, WebKitFontFamilyNames.(cpp|h) build targets into libPlatform
2293 https://bugs.webkit.org/show_bug.cgi?id=115921
2295 Reviewed by Gustavo Noronha Silva.
2297 * GNUmakefile.am: Add platform_cppflags to the list of CPPFLAGS for libwebkit2gtk, libWebCoreGtk2,
2298 libPlatformGtk2 and WebKitPluginProcess.
2300 2013-05-12 Timothy Hatcher <timothy@apple.com>
2302 Add support for updating the Web Inspector toolbar height.
2304 https://bugs.webkit.org/show_bug.cgi?id=115996
2306 Reviewed by Joseph Pecoraro and Benjamin Poulain.
2308 * WebCoreSupport/InspectorClientGtk.cpp:
2309 (WebKit::InspectorFrontendClient::setToolbarHeight):
2310 * WebCoreSupport/InspectorClientGtk.h:
2312 2013-05-12 Anders Carlsson <andersca@apple.com>
2314 Stop including UnusedParam.h
2315 https://bugs.webkit.org/show_bug.cgi?id=116003
2317 Reviewed by Sam Weinig.
2319 UnusedParam.h is empty now so there's no need to include it anymore.
2321 * webkit/webkitapplicationcache.cpp:
2323 2013-05-12 Carlos Garcia Campos <cgarcia@igalia.com>
2325 [GTK] Remove unnecessary GTK_CHECK_VERSION #ifdefs
2326 https://bugs.webkit.org/show_bug.cgi?id=115914
2328 Reviewed by Martin Robinson.
2330 * WebCoreSupport/ChromeClientGtk.cpp:
2331 (WebKit::ChromeClient::contentsSizeChanged):
2332 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2333 (WebKit::FrameLoaderClient::transitionToCommittedForNewPage):
2334 * tests/testapplicationcache.c:
2336 * tests/testatkroles.c:
2338 * tests/testcontextmenu.c:
2339 * tests/testcopyandpaste.c:
2341 * tests/testdomdocument.c:
2342 * tests/testdomdomwindow.c:
2343 * tests/testdomnode.c:
2344 * tests/testdownload.c:
2346 * tests/testfavicondatabase.c:
2348 * tests/testglobals.c:
2349 * tests/testhittestresult.c:
2350 * tests/testhttpbackend.c:
2352 * tests/testkeyevents.c:
2354 * tests/testloading.c:
2355 * tests/testmimehandling.c:
2357 * tests/testnetworkrequest.c:
2359 * tests/testnetworkresponse.c:
2361 * tests/testwebbackforwardlist.c:
2363 * tests/testwebdatasource.c:
2365 * tests/testwebframe.c:
2367 * tests/testwebhistoryitem.c:
2369 * tests/testwebinspector.c:
2371 * tests/testwebplugindatabase.c:
2373 * tests/testwebresource.c:
2375 * tests/testwebsettings.c:
2377 * tests/testwebview.c:
2378 * tests/testwindow.c:
2380 * webkit/webkitwebview.cpp:
2381 (webkit_web_view_realize):
2382 (webkit_web_view_show_help):
2383 (webkit_web_view_class_init):
2384 (webkit_web_view_set_tooltip_text):
2386 2013-05-07 Tomas Popela <tpopela@redhat.com>
2388 [GTK] Initialize WebKitWebPlugin path to prevent double-free
2389 https://bugs.webkit.org/show_bug.cgi?id=115624
2391 Reviewed by Carlos Garcia Campos.
2393 Use GOwnPtr for WebKitWebPlugin path to prevent double-free
2394 situations. Also use GOwnPtr for GError in webkit_web_plugin_get_path.
2396 * webkit/webkitwebplugin.cpp:
2397 (webkit_web_plugin_finalize):
2398 (webkit_web_plugin_get_path):
2399 * webkit/webkitwebpluginprivate.h:
2401 2013-05-06 Zan Dobersek <zdobersek@igalia.com>
2403 [GTK] Move GeolocationProviderGeoclue into libPlatform
2404 https://bugs.webkit.org/show_bug.cgi?id=115591
2406 Reviewed by Martin Robinson.
2408 * GNUmakefile.am: Add platform_webcore_cppflags to the list of libwebkitgtk's CPPFLAGS.
2410 2013-05-02 Zan Dobersek <zdobersek@igalia.com>
2412 Segmentation Fault with Romanian locale. Evolution not starting.
2413 https://bugs.webkit.org/show_bug.cgi?id=115484
2415 Reviewed by Darin Adler.
2417 Do not translate the property names that are being passed to the g_param_spec_boolean
2418 method - it is not required and is causing segfaults with various locales.
2420 * webkit/webkitviewportattributes.cpp:
2421 (webkit_viewport_attributes_class_init):
2423 2013-04-30 Ed Bartosh <bartosh@gmail.com>
2425 [GTK] --minimal build fails with error: class WebCore::EventHandler' has no member named 'dragSourceEndedAt
2426 https://bugs.webkit.org/show_bug.cgi?id=114299
2428 Reviewed by Martin Robinson.
2430 Wrapped code, related to drag&drop in #if ENABLE(DRAG_SUPPORT)
2432 * webkit/webkitwebview.cpp:
2433 (webkit_web_view_class_init):
2434 (webkit_web_view_init):
2436 2013-04-25 Joseph Pecoraro <pecoraro@apple.com>
2438 Web Inspector: ConsoleMessage should include line and column number where possible
2439 https://bugs.webkit.org/show_bug.cgi?id=114929
2441 Reviewed by Timothy Hatcher.
2443 * WebCoreSupport/ChromeClientGtk.cpp:
2444 (WebKit::ChromeClient::addMessageToConsole):
2445 * WebCoreSupport/ChromeClientGtk.h:
2448 2013-04-22 Martin Robinson <mrobinson@igalia.com>
2450 Try to fix the build after enabling gobject-introspection
2452 * GNUmakefile.am: Disable --warn-error for WebKit1 until we can work out all gir failures.
2453 * webkit/webkitwebplugin.cpp: Skip this API for introspection because it return a GSList
2454 of pointer (non-boxed) types.
2456 2013-04-22 Martin Robinson <mrobinson@igalia.com>
2458 [GTK] Enable introspection always for developer builds
2459 https://bugs.webkit.org/show_bug.cgi?id=114983
2461 Reviewed by Gustavo Noronha Silva.
2463 * GNUmakefile.am: Make warnings during gir scanning cause the build to fail. Eliminate
2464 warnings about deprecated API that the g-ir-scanner uses when generating
2465 the scanner program. Use --quiet to avoid printing lots of output to
2468 2013-04-22 Martin Robinson <mrobinson@igalia.com>
2470 [GTK] Fix remaining introspection warnings
2471 https://bugs.webkit.org/show_bug.cgi?id=114980
2473 Reviewed by Gustavo Noronha Silva.
2475 * webkit/webkitspellchecker.h:
2476 (_WebKitSpellCheckerInterface): Align the name of the check_spelling_of_string virtual
2477 method with the concrete method to avoid a g-ir-scanner warning.
2478 * webkit/webkitversion.h.in: Skip WEBKITGTK_API_VERSION for introspection because it
2479 doesn't follow the appropriate namespace name.
2481 2013-04-22 Zan Dobersek <zdobersek@igalia.com>
2483 [GTK] Set up libPlatform.la
2484 https://bugs.webkit.org/show_bug.cgi?id=114168
2486 Reviewed by Martin Robinson.
2488 * GNUmakefile.am: Add the new libPlatform.la library to the libwebkitgtk library.
2490 2013-04-19 Martin Robinson <mrobinson@igalia.com>
2492 [GTK] JSCore.gir.in has a few problems
2493 https://bugs.webkit.org/show_bug.cgi?id=114710
2495 Reviewed by Philippe Normand.
2497 * GNUmakefile.am: Updated to reflect new name and location of JavaScriptCore-x.0.gir.
2498 * JSCore.gir.in: Removed.
2500 2013-04-17 Geoffrey Garen <ggaren@apple.com>
2502 Renamed JSGlobalData to VM
2503 https://bugs.webkit.org/show_bug.cgi?id=114777
2505 Reviewed by Phil Pizlo.
2507 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
2508 (DumpRenderTreeSupportGtk::gcCountJavascriptObjects):
2510 2013-04-16 Anders Carlsson <andersca@apple.com>
2514 * WebCoreSupport/WebViewInputMethodFilter.cpp:
2516 2013-04-16 Ryosuke Niwa <rniwa@webkit.org>
2518 Another GTK+ build fix.
2520 * WebCoreSupport/WebViewInputMethodFilter.cpp:
2522 2013-04-16 Ryosuke Niwa <rniwa@webkit.org>
2524 GTK+ build fix attempt.
2526 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
2527 * WebCoreSupport/WebViewInputMethodFilter.cpp:
2528 * webkit/webkitwebframe.cpp:
2530 2013-04-14 Andreas Kling <akling@apple.com>
2532 Move CSSOM classes to using MutableStylePropertySet over StylePropertySet.
2533 <http://webkit.org/b/114581>
2535 Reviewed by Anders Carlsson.
2537 * WebCoreSupport/EditorClientGtk.cpp:
2538 (WebKit::EditorClient::shouldApplyStyle):
2540 2013-04-12 Carlos Garcia Campos <cgarcia@igalia.com>
2542 [GTK] Split GtkAuthenticationDialog in two widgets
2543 https://bugs.webkit.org/show_bug.cgi?id=103644
2545 Reviewed by Xan Lopez.
2547 * GNUmakefile.am: Add new files to compilation.
2548 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2549 (WebKit::FrameLoaderClient::dispatchDidReceiveAuthenticationChallenge):
2550 Use helper createAuthenticationDialog() to create and show the
2552 * webkit/webkitauthenticationdialog.cpp: Added.
2553 (authenticationDialogResponseCallback):
2554 (createAuthenticationDialog):
2555 * webkit/webkitauthenticationdialog.h: Added.
2556 * webkit/webkitsoupauthdialog.cpp:
2557 (sessionAuthenticate): Ditto.
2559 2013-04-10 Benjamin Poulain <bpoulain@apple.com>
2561 Mass remove all the empty directories
2563 Rubberstamped by Ryosuke Niwa.
2568 2013-04-10 Anton Obzhirov <a.obzhirov@samsung.com>
2570 [GTK] Add support for Page Visibility
2571 https://bugs.webkit.org/show_bug.cgi?id=97324
2573 Reviewed by Sam Weinig.
2575 Implemented access to page visibility API for GTK test runner.
2577 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
2578 (DumpRenderTreeSupportGtk::setPageVisibility):
2579 * WebCoreSupport/DumpRenderTreeSupportGtk.h:
2581 2013-04-08 Carlos Garcia Campos <cgarcia@igalia.com>
2583 [GTK] DOM objects created wrapping a base class have incorrect GObject type
2584 https://bugs.webkit.org/show_bug.cgi?id=113132
2586 Reviewed by Gustavo Noronha Silva.
2588 Remove WebKitDOMBindindg.h include from several files because it's
2589 been renamed and it was not actually needed.
2591 * WebCoreSupport/ChromeClientGtk.cpp:
2592 * WebCoreSupport/EditorClientGtk.cpp:
2593 * webkit/webkithittestresult.cpp:
2595 2013-04-04 Martin Robinson <mrobinson@igalia.com>
2597 [GTK] Remove the gyp build
2598 https://bugs.webkit.org/show_bug.cgi?id=113942
2600 Reviewed by Gustavo Noronha Silva.
2602 * gyp/Configuration.gypi.in: Removed.
2603 * gyp/Dependencies.gyp: Removed.
2604 * gyp/GNUmakefile: Removed.
2605 * gyp/autogen.sh: Removed.
2606 * gyp/configure.ac: Removed.
2607 * gyp/run-gyp: Removed.
2609 2013-04-04 Christophe Dumez <ch.dumez@sisa.samsung.com>
2611 [Cairo] Fix canvas drawing of SVG-based patterns and remove NativeImageCairo
2612 https://bugs.webkit.org/show_bug.cgi?id=113929
2614 Reviewed by Martin Robinson.
2616 Update code now that PassNativeImagePtr is now a typedef to PassRefPtr<cairo_surface_t>
2617 instead of NativeImageCairo*.
2619 * webkit/webkitfavicondatabase.cpp:
2620 (getIconPixbufSynchronously):
2622 2013-04-03 Alban Crequy <alban.crequy@collabora.co.uk>
2624 [GTK] WebKitWebNavigationAction: fix mix between dispose and finalize
2625 https://bugs.webkit.org/show_bug.cgi?id=113794
2627 Reviewed by Gustavo Noronha Silva.
2629 WebKitWebNavigationAction's dispose function was named finalize and was calling
2630 the parent class's finalise function, causing a memory corruption. Change it to
2631 be a proper finalize function instead.
2633 * webkit/webkitwebnavigationaction.cpp:
2634 (webkit_web_navigation_action_class_init):
2636 2013-03-28 Zan Dobersek <zdobersek@igalia.com>
2638 [GTK] Build GTK-specific, non-layer-violating source code into WebCore-independent libPlatformGtk.la
2639 https://bugs.webkit.org/show_bug.cgi?id=112546
2641 Reviewed by Martin Robinson.
2643 * GNUmakefile.am: The GtkVersioning.c file has moved back under Source/WebCore/platform.
2645 2013-03-26 Martin Robinson <mrobinson@igalia.com>
2647 [GTK] [gyp] Improve support for rerunning gyp automatically
2648 https://bugs.webkit.org/show_bug.cgi?id=113360
2650 Reviewed by Gustavo Noronha Silva.
2652 Add support for automatically rerunning gyp when input file changes are detected
2655 * gyp/GNUmakefile: Added. A wrapper that invokes the generated makefile.
2656 * gyp/autogen.sh: Add a symlink to the wrapper script.
2657 * gyp/configure.ac: "Freeze" the TOPLEVEL_DIRECTORY command-line argument so that
2658 run-gyp reads it properly when configure is run independently of autogen.sh.
2659 * gyp/run-gyp: Prevent generation of auto-regeneration rules in gyp. They are buggy.
2661 2013-03-27 Timothy Hatcher <timothy@apple.com>
2663 Add support for dock-to-right of the Web Inspector in the Mac port.
2665 Unfortunately this requires Safari changes, so it is disabled in the nightly builds.
2667 https://webkit.org/b/113341
2668 rdar://problem/10368152
2670 Reviewed by Joseph Pecoraro.
2672 * WebCoreSupport/InspectorClientGtk.cpp:
2673 (WebKit::InspectorFrontendClient::attachWindow):
2674 (WebKit::InspectorFrontendClient::setAttachedWindowWidth):
2675 * WebCoreSupport/InspectorClientGtk.h:
2676 (InspectorFrontendClient):
2678 2013-03-26 Hayato Ito <hayato@chromium.org>
2680 Allow ShadowContents in HitTests by default.
2681 https://bugs.webkit.org/show_bug.cgi?id=113171
2683 Reviewed by Dimitri Glazkov.
2685 * webkit/webkitwebinspector.cpp:
2686 (webkit_web_inspector_inspect_coordinates):
2687 * webkit/webkitwebview.cpp:
2688 (prepareMouseEventForFrame):
2689 (webkit_web_view_get_hit_test_result):
2691 2013-03-26 Tony Chang <tony@chromium.org>
2693 Autogenerate the scrollAnimatorEnabled setting in Settings.in
2694 https://bugs.webkit.org/show_bug.cgi?id=113253
2696 Reviewed by James Robinson.
2698 * webkit/webkitwebview.cpp:
2699 (webkit_web_view_update_settings): Update call to WebCore to use setScrollAnimatorEnabled(bool).
2700 (webkit_web_view_settings_notify): Update call to WebCore to use setScrollAnimatorEnabled(bool).
2702 2013-03-23 Carlos Garcia Campos <cgarcia@igalia.com>
2704 [GTK][Regression] webkit_dom_html_table_element_insert_row returns value that doesn't pass WEBKIT_DOM_IS_HTML_TABLE_ROW_ELEMENT macro
2705 https://bugs.webkit.org/show_bug.cgi?id=111714
2707 Reviewed by Martin Robinson.
2709 Add test that checks webkit_dom_html_table_element_insert_row() to
2710 also preproduce this issue.
2712 * tests/testdomdocument.c:
2713 (test_dom_document_insert_row):
2716 2013-03-22 Gustavo Noronha Silva <gns@gnome.org>
2718 Trivial fixes to the gyp-build autogen.sh script.
2720 Reviewed by Martin Robinson (mrobinson).
2722 * gyp/autogen.sh: add /bin/sh -e as hashbang, so stricter shells will be happy to
2723 run the script; deal with automake exiting with an error code because there is no
2724 Makefile.am for it to work on.
2726 2013-03-19 Martin Robinson <mrobinson@igalia.com>
2728 [GTK] Add support for building the WebCore bindings to the gyp build
2729 https://bugs.webkit.org/show_bug.cgi?id=112638
2731 Reviewed by Nico Weber.
2733 * gyp/Configuration.gypi.in: Added options for enabling SVG and setting the location of
2734 the WebCore derived sources.
2735 * gyp/run-gyp: Include the gyp scripts directory on the Python path and make the WebCoreGTK
2736 gyp file the default for the build.
2738 2013-03-22 Martin Robinson <mrobinson@igalia.com>
2740 [GTK] [gyp] Expose a few more compiler defines for the gyp build
2741 https://bugs.webkit.org/show_bug.cgi?id=113109
2743 Reviewed by Gustavo Noronha Silva.
2745 * gyp/Configuration.gypi.in: Expose the version number string and data
2746 directory to the gyp build as command-line arguments.
2748 2013-03-22 Martin Robinson <mrobinson@igalia.com>
2750 [GTK] [gyp] Feature defines are not space separated
2751 https://bugs.webkit.org/show_bug.cgi?id=113108
2753 Reviewed by Gustavo Noronha Silva.
2755 * gyp/configure.ac: Properly export feature defines for gyp during
2758 2013-03-22 Mario Sanchez Prada <mario.prada@samsung.com>
2760 [GTK] Include the right GL header for GLES2
2761 https://bugs.webkit.org/show_bug.cgi?id=113034
2763 Reviewed by Martin Robinson.
2765 Include GLES2/gl2.h when using GLES2.
2767 * WebCoreSupport/AcceleratedCompositingContextGL.cpp:
2769 2013-03-20 Zan Dobersek <zdobersek@igalia.com>
2771 [GTK] Build ANGLE sources into a separate library from libWebCore.la
2772 https://bugs.webkit.org/show_bug.cgi?id=112778
2774 Reviewed by Martin Robinson.
2776 * GNUmakefile.am: Add libLevelDB.la to the libwebkitgtk library if using the OpenGL accelerated backend.
2778 2013-03-17 Gustavo Noronha Silva <gns@gnome.org>
2780 [GTK] Fix and improve dist hooks for translations
2781 https://bugs.webkit.org/show_bug.cgi?id=112519
2783 Reviewed by Carlos Garcia Campos.
2785 * GNUmakefile.am: removed left-over translation files from EXTRA_DIST
2787 2013-03-15 Nate Chapin <japhet@chromium.org>
2789 Hide MainResourceLoader from the outside world
2790 https://bugs.webkit.org/show_bug.cgi?id=109971
2792 Reviewed by Adam Barth.
2794 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2795 (WebKit::FrameLoaderClient::convertMainResourceLoadToDownload):
2796 * WebCoreSupport/FrameLoaderClientGtk.h:
2797 (FrameLoaderClient):
2799 2013-03-15 Abhishek Arya <inferno@chromium.org>
2801 Replace static_casts with to* helper functions.
2802 https://bugs.webkit.org/show_bug.cgi?id=112401
2804 Reviewed by Stephen Chenney.
2806 to* helper functions are preferred over static_cast calls since they
2807 help to catch bad casts easily on the testing infrastructure.
2809 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2810 (WebKit::FrameLoaderClient::redirectDataToPlugin):
2812 2013-03-14 Manuel Rego Casasnovas <rego@igalia.com>
2814 Add selectTrailingWhitespaceEnabled setting to WebCore::Page
2815 https://bugs.webkit.org/show_bug.cgi?id=109404
2817 Reviewed by Tony Chang.
2819 Use new settings for smartInsertDeleteEnabled and
2820 selectTrailingWhitespaceEnabled.
2822 Remove code related to DRT as it is not needed anymore.
2824 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
2825 * WebCoreSupport/DumpRenderTreeSupportGtk.h:
2826 (DumpRenderTreeSupportGtk):
2827 * WebCoreSupport/EditorClientGtk.cpp:
2828 (WebKit::EditorClient::smartInsertDeleteEnabled):
2829 (WebKit::EditorClient::isSelectTrailingWhitespaceEnabled):
2830 (WebKit::EditorClient::EditorClient):
2831 * WebCoreSupport/EditorClientGtk.h:
2834 2013-03-14 Abhishek Arya <inferno@chromium.org>
2836 Replace static_casts with to* helper functions.
2837 https://bugs.webkit.org/show_bug.cgi?id=112296
2839 Reviewed by Kentaro Hara.
2841 to* helper functions are preferred over static_cast calls since they
2842 help to catch bad casts easily on the testing infrastructure.
2844 * webkit/webkitwebview.cpp:
2845 (webkit_web_view_query_tooltip):
2847 2013-03-13 Tomas Popela <tpopela@redhat.com>
2849 [GTK][Introspection] Fix of gtk doc annotation warnings
2850 https://bugs.webkit.org/show_bug.cgi?id=109182
2852 Reviewed by Martin Robinson.
2854 Fixed some gtk doc annotation warnings that appears during
2855 compiling. Also some white characters were removed and some restyling
2856 was done - all the g_signal_new in webkit directory have now the same
2860 * webkit/webkitdownload.cpp:
2861 (webkit_download_class_init):
2862 * webkit/webkitfavicondatabase.cpp:
2863 (webkit_favicon_database_class_init):
2864 * webkit/webkitgeolocationpolicydecision.cpp:
2865 * webkit/webkitglobals.cpp:
2866 * webkit/webkithittestresult.h:
2867 * webkit/webkiticondatabase.cpp:
2868 (webkit_icon_database_class_init):
2869 * webkit/webkitsecurityorigin.cpp:
2870 * webkit/webkitsecurityorigin.h:
2871 * webkit/webkitsoupauthdialog.cpp:
2872 * webkit/webkitspellchecker.cpp:
2873 * webkit/webkitviewportattributes.cpp:
2874 (webkit_viewport_attributes_class_init):
2875 * webkit/webkitwebdatabase.cpp:
2876 * webkit/webkitwebframe.cpp:
2877 (webkit_web_frame_class_init):
2878 * webkit/webkitwebframe.h:
2879 * webkit/webkitwebinspector.cpp:
2880 (webkit_web_inspector_class_init):
2881 * webkit/webkitwebnavigationaction.cpp:
2882 (webkit_web_navigation_action_class_init):
2883 * webkit/webkitwebplugindatabase.cpp:
2884 * webkit/webkitwebpolicydecision.cpp:
2885 * webkit/webkitwebresource.cpp:
2886 (webkit_web_resource_class_init):
2887 * webkit/webkitwebsettings.cpp:
2888 (webkit_web_settings_class_init):
2889 * webkit/webkitwebview.cpp:
2890 (webkit_web_view_class_init):
2891 (webkit_web_view_apply_zoom_level):
2892 * webkit/webkitwebwindowfeatures.cpp:
2893 (webkit_web_window_features_equal):
2895 2013-03-13 Pavel Feldman <pfeldman@chromium.org>
2897 Web Inspector: get rid of hiddenPanels filter
2898 https://bugs.webkit.org/show_bug.cgi?id=112252
2900 Reviewed by Vsevolod Vlasov.
2902 * WebCoreSupport/InspectorClientGtk.cpp:
2903 * WebCoreSupport/InspectorClientGtk.h:
2904 (InspectorFrontendClient):
2906 2013-03-12 Zan Dobersek <zdobersek@igalia.com>
2908 [GTK] Set up the libPlatformGtk.la library
2909 https://bugs.webkit.org/show_bug.cgi?id=111738
2911 Reviewed by Martin Robinson.
2913 * GNUmakefile.am: Reference platformgtk_cppflags variable, libPlatformGtk.la along with webcoregtk_cppflags variable, libWebCoreGtk.la.
2914 Adjust the path to GtkVersioning.c, the file has moved under Source/Platform.
2916 2013-03-07 Zan Dobersek <zdobersek@igalia.com>
2918 [GTK] Limit the supported compilers to GCC >= 4.7 and Clang >= 3.0
2919 https://bugs.webkit.org/show_bug.cgi?id=109932
2921 Reviewed by Martin Robinson.
2923 * GNUmakefile.am: Replace references to SYMBOL_VISIBILITY_INLINES and SYMBOL_VISIBILITY variables with the actual flags.
2924 They are now available by default due to the limited set of supported compilers.
2926 2013-03-06 Gustavo Noronha Silva <gns@gnome.org>
2928 [GTK] Enable translations for WebKit2
2929 https://bugs.webkit.org/show_bug.cgi?id=111398
2931 Reviewed by Martin Robinson.
2933 * GNUmakefile.am: no longer distribute po files from here, they've moved to
2934 Sources/WebCore/platform/gtk.
2936 2013-03-07 Tomas Popela <tpopela@redhat.com>
2938 [GTK] Expose "ShouldRespectImageOrientation" setting into WebKitWebSettings
2939 https://bugs.webkit.org/show_bug.cgi?id=111414
2941 Reviewed by Carlos Garcia Campos.
2943 We should expose ShouldRespectImageOrientation setting into
2944 WebKitWebSettings. When it is enabled, the images are shown with right
2945 orientation regarding to images EXIF data.
2947 * webkit/webkitwebsettings.cpp:
2948 (webkit_web_settings_class_init):
2949 (webkit_web_settings_set_property):
2950 (webkit_web_settings_get_property):
2951 * webkit/webkitwebsettingsprivate.h:
2952 * webkit/webkitwebview.cpp:
2953 (webkit_web_view_update_settings):
2954 (webkit_web_view_settings_notify):
2956 2013-03-06 Benjamin Poulain <benjamin@webkit.org>
2958 WebKitTestRunner needs layoutTestController.elementDoesAutoCompleteForElementWithId
2959 https://bugs.webkit.org/show_bug.cgi?id=42696
2961 Reviewed by Andreas Kling.
2963 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
2964 * WebCoreSupport/DumpRenderTreeSupportGtk.h:
2965 (DumpRenderTreeSupportGtk):
2967 2013-03-06 Sudarsana Nagineni <sudarsana.nagineni@intel.com>
2969 [GTK] Return m_inspectorFilesPath if it is not null
2970 https://bugs.webkit.org/show_bug.cgi?id=111633
2972 Reviewed by Martin Robinson.
2974 Added missing return in InspectorClient::inspectorFilesPath().
2976 * WebCoreSupport/InspectorClientGtk.cpp:
2977 (WebKit::InspectorClient::inspectorFilesPath):
2979 2013-03-06 Dominique Leuenberger <dimstar@opensuse.org>
2981 Link the webkit_tests to XRENDER_LIBS.
2982 This solves the linking failure when building against gtk2 like:
2983 usr/lib/gcc/i586-suse-linux/4.7/../../../../i586-suse-linux/bin/ld:
2984 Source/WebCore/platform/gtk/Programs_unittests_testcopyandpaste-GtkVersioning.o:
2985 undefined reference to symbol 'XFree'
2986 /usr/lib/gcc/i586-suse-linux/4.7/../../../../i586-suse-linux/bin/ld:
2987 note: 'XFree' is defined in DSO /usr/lib/libX11.so.6 so try adding it
2988 to the linker command line
2989 /usr/lib/libX11.so.6: could not read symbols: Invalid operation
2991 https://bugs.webkit.org/show_bug.cgi?id=111572
2993 Reviewed by Gustavo Noronha Silva.
2997 2013-03-03 Adam Barth <abarth@webkit.org>
2999 Unreviewed rollout of http://trac.webkit.org/r144530
3000 As described in https://bugs.webkit.org/show_bug.cgi?id=111167 and
3001 https://bugs.webkit.org/show_bug.cgi?id=111035, this patch caused a
3002 large number of ASSERTs in chromium-win.
3004 * webkit/webkitwebpolicydecision.cpp:
3006 2013-03-02 Benjamin Poulain <bpoulain@apple.com>
3008 Move computedStyleIncludingVisitedInfo from TestRunner to Internals
3009 https://bugs.webkit.org/show_bug.cgi?id=109772
3011 Reviewed by Andreas Kling.
3013 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
3014 * WebCoreSupport/DumpRenderTreeSupportGtk.h:
3015 (DumpRenderTreeSupportGtk):
3017 2013-02-28 Alexey Proskuryakov <ap@apple.com>
3019 Reduce amount of rebuilding when touching networking headers
3020 https://bugs.webkit.org/show_bug.cgi?id=111035
3022 Reviewed by Eric Seidel.
3024 Adding includes that are now necessary because WebCore headers don't have them
3027 * webkit/webkitwebpolicydecision.cpp:
3029 2013-03-01 Jason Anderssen <janderssen@gmail.com>
3031 Move markerTextForListItem from TestRunner to Internals
3032 https://bugs.webkit.org/show_bug.cgi?id=110939
3034 Reviewed by Benjamin Poulain.
3036 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
3037 * WebCoreSupport/DumpRenderTreeSupportGtk.h:
3038 (DumpRenderTreeSupportGtk):
3040 2013-03-01 Martin Robinson <mrobinson@igalia.com>
3042 [GTK] Expose more of the configuration step to the gyp build
3043 https://bugs.webkit.org/show_bug.cgi?id=111213
3045 Reviewed by Dirk Pranke.
3047 Expose more of the configuration phase to the gyp build, including WebKit features
3050 * gyp/Configuration.gypi.in: Add templatized gyp variables for the new configuration bits.
3051 * gyp/autogen.sh: Properly link up the WebKit features script. So we can access it
3052 relatively as if we were at the top-level of the source directory.
3053 * gyp/configure.ac: Export the WebKit features.
3055 2013-03-01 Sheriff Bot <webkit.review.bot@gmail.com>
3057 Unreviewed, rolling out r144422 and r144424.
3058 http://trac.webkit.org/changeset/144422
3059 http://trac.webkit.org/changeset/144424
3060 https://bugs.webkit.org/show_bug.cgi?id=111167
3062 Caused over 20 tests to fail assertion on Chromium Win port as
3063 ASSERTION FAILED: m_platformRequestUpdated (Requested by
3064 toyoshim on #webkit).
3066 * webkit/webkitwebpolicydecision.cpp:
3068 2013-02-28 Alexey Proskuryakov <ap@apple.com>
3070 Reduce amount of rebuilding when touching networking headers
3071 https://bugs.webkit.org/show_bug.cgi?id=111035
3073 Reviewed by Eric Seidel.
3075 Adding includes that are now necessary because WebCore headers don't have them
3078 * webkit/webkitwebpolicydecision.cpp:
3080 2013-02-26 Martin Robinson <mrobinson@igalia.com>
3082 REGRESSION (r143619): Crashes in three layout tests
3083 https://bugs.webkit.org/show_bug.cgi?id=110588
3085 Reviewed by Gustavo Noronha Silva.
3087 Guard against null main resource identifiers. The main resource
3088 identifier can be null at various times during the load. A null
3089 identifier is never equal to the ones we are looking to remove.
3091 * WebCoreSupport/FrameLoaderClientGtk.cpp:
3092 (WebKit::FrameLoaderClient::dispatchDidFinishLoading): Use the new webkitWebViewRemoveSubresource helper.
3093 (WebKit::FrameLoaderClient::dispatchDidFailLoading): ditto.
3094 * webkit/webkitwebview.cpp:
3095 (webkitWebViewRemoveSubresource): Added this helper which removes a subresource, but
3096 never touches the main resource. This is adapted from the old method, for which the
3097 main resource branch was dead code.
3098 * webkit/webkitwebviewprivate.h: Update the method list.
3100 2013-02-25 Andreas Kling <akling@apple.com>
3102 Reduce amount of code that includes StylePropertySet.h
3103 <http://webkit.org/b/101149>
3105 Reviewed by Antti Koivisto.
3107 * WebCoreSupport/EditorClientGtk.cpp:
3109 2013-02-24 Gustavo Noronha Silva <gns@gnome.org>
3111 [GTK] GTK+ 2 build broken since GTK_API_VERSION_2 moved to autoconfig.h
3112 https://bugs.webkit.org/show_bug.cgi?id=110702
3114 Reviewed by Martin Robinson.
3116 * tests/testapplicationcache.c: include autotoolsconfig.h.
3117 * tests/testatk.c: ditto.
3118 * tests/testatkroles.c: ditto.
3119 * tests/testcontextmenu.c: ditto.
3120 * tests/testcopyandpaste.c: ditto.
3121 * tests/testdomdocument.c: ditto.
3122 * tests/testdomdomwindow.c: ditto.
3123 * tests/testdomnode.c: ditto.
3124 * tests/testdownload.c: ditto.
3125 * tests/testfavicondatabase.c: ditto.
3126 * tests/testglobals.c: ditto.
3127 * tests/testhittestresult.c: ditto.
3128 * tests/testhttpbackend.c: ditto.
3129 * tests/testkeyevents.c: ditto.
3130 * tests/testloading.c: ditto.
3131 * tests/testmimehandling.c: ditto.
3132 * tests/testnetworkrequest.c: ditto.
3133 * tests/testnetworkresponse.c: ditto.
3134 * tests/testwebbackforwardlist.c: ditto.
3135 * tests/testwebdatasource.c: ditto.
3136 * tests/testwebframe.c: ditto.
3137 * tests/testwebhistoryitem.c: ditto.
3138 * tests/testwebinspector.c: ditto.
3139 * tests/testwebplugindatabase.c: ditto.
3140 * tests/testwebresource.c: ditto.
3141 * tests/testwebsettings.c: ditto.
3142 * tests/testwebview.c: ditto.
3143 * tests/testwindow.c: ditto.
3145 2013-02-23 Jason Anderssen <janderssen@gmail.com>
3147 Move setAutofilled from TestRunner to WebCore
3148 https://bugs.webkit.org/show_bug.cgi?id=110521
3150 Reviewed by Benjamin Poulain.
3152 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
3153 * WebCoreSupport/DumpRenderTreeSupportGtk.h:
3154 (DumpRenderTreeSupportGtk):
3156 2013-02-22 Martin Robinson <mrobinson@igalia.com>
3158 [GTK] Expose all dependencies to the gyp build
3159 https://bugs.webkit.org/show_bug.cgi?id=110498
3161 Reviewed by Dirk Pranke.
3163 * gyp/Configuration.gypi.in: Add the missing configuration cflags here.
3164 * gyp/Dependencies.gyp: Add targets for all missing dependencies.
3166 2013-02-21 George McCollister <george.mccollister@gmail.com>
3168 [GTK] Remove subresource leaks from WebKit1 and WebKit2
3169 https://bugs.webkit.org/show_bug.cgi?id=108960
3171 Reviewed by Martin Robinson.
3173 * WebCoreSupport/FrameLoaderClientGtk.cpp:
3174 (WebKit::FrameLoaderClient::dispatchDidFinishLoading): Remove resource
3175 if it isn't the main resource to prevent leak.
3176 (WebKit::FrameLoaderClient::dispatchDidFailLoading): Ditto
3177 * webkit/webkitwebview.cpp:
3178 (cleanupTemporarilyCachedSubresources): Added to cleanup subresources.
3179 (webkit_web_view_get_subresources): Use getSubresources from the
3180 documentLoader to provide subresources since resources will be removed
3181 from webview after loading.
3183 2013-02-21 Carlos Garcia Campos <cgarcia@igalia.com>
3185 Unreviewed. Fix make distcheck.
3187 * GNUmakefile.am: Add -DBUILDING_WEBKIT flags to introspection
3190 2013-02-15 Martin Robinson <mrobinson@igalia.com>
3192 [GTK] Spread the gyp build files throughout the tree
3193 https://bugs.webkit.org/show_bug.cgi?id=109960
3195 Reviewed by Dirk Pranke.
3197 * gyp/Configuration.gypi.in: Remove the 'Source', since now it cannot be shared.
3198 * gyp/run-gyp: Update the path to the JavaScriptCore gypfile.
3200 2013-02-15 Martin Robinson <mrobinson@igalia.com>
3202 Unreviewed, rolling out parts of r142731.
3203 http://trac.webkit.org/changeset/142731
3204 https://bugs.webkit.org/show_bug.cgi?id=109672
3206 This patch broke the GTK+ gyp build. Roll out the changes there,
3207 since they were actually unnecessary.
3209 * gyp/Configuration.gypi.in:
3210 * gyp/Dependencies.gyp:
3211 * gyp/JavaScriptCore.gyp:
3214 2013-02-13 Allan Sandfeld Jensen <allan.jensen@digia.com>
3216 [Qt] window.open passes height and width parameters even if not defined in a page
3217 https://bugs.webkit.org/show_bug.cgi?id=107705
3219 Reviewed by Kenneth Rohde Christiansen.
3221 Do not resize window when default size is requested.
3223 * WebCoreSupport/ChromeClientGtk.cpp:
3224 (WebKit::ChromeClient::setWindowRect):
3226 2013-02-13 Andrew Wilson <atwilson@chromium.org>
3228 Unreviewed Chromium gyp-file cleanup after glib backend removal.
3229 https://bugs.webkit.org/show_bug.cgi?id=109672
3231 Removed references to GLib unicode backend:
3233 * gyp/Configuration.gypi.in:
3234 * gyp/Dependencies.gyp:
3235 * gyp/JavaScriptCore.gyp:
3238 2013-02-12 Martin Robinson <mrobinson@igalia.com>
3240 2013-02-10 Martin Robinson <mrobinson@igalia.com>
3242 [GTK] Connect the gyp build to autoconf
3243 https://bugs.webkit.org/show_bug.cgi?id=109360
3245 Reviewed by Dirk Pranke.
3247 Move Configuration.gypi to Configuration.gypi.in and allow autoconf to
3248 fill in variables during a configuration phase. Also add some scripts
3249 to support connecting autoconf up to the gyp build. This allows us
3250 to have a very autotools-esque experience.
3252 * gyp/Configuration.gypi: Removed.
3253 * gyp/Configuration.gypi.in: Added. Fleshed out Configuration.gypi to include
3254 dependency CFLAGS and LIBS directly from configure. Due to the way we are
3255 generating the gyp build now, we also need to include an absolute path to
3256 the build directory. Fixing bugs in gyp should allow us to avoid this in the
3258 * gyp/Dependencies.gyp: Added this file which holds external dependency targets.
3259 We could consider auto-generating this at some point.
3260 * gyp/JavaScriptCore.gyp: Remove references to the old Configuration.gypi.
3261 It's now included via the command-line -I flag. Update to support the new
3262 s/default/global/g terminology for variables.
3263 * gyp/WTF.gyp: Remove the dependency targets as this is now handled entirely
3265 * gyp/autogen.sh: Added. Set up the build directory and kick off autoconf.
3266 * gyp/configure.ac: Added. An autoconf build that re-uses much of our
3267 existing autoconf setup.
3268 * gyp/run-gyp: Added. Script for invoking gyp for out-of-tree builds.
3270 2013-02-12 Huang Dongsung <luxtella@company100.net>
3272 [TexMap] Apply frames-per-second debug counter to WK1.
3273 https://bugs.webkit.org/show_bug.cgi?id=109540
3275 Reviewed by Noam Rosenthal.
3277 Make AcceleratedCompositingContext use TextureMapperFPSCounter.
3279 * WebCoreSupport/AcceleratedCompositingContext.h:
3280 * WebCoreSupport/AcceleratedCompositingContextGL.cpp:
3281 (WebKit::AcceleratedCompositingContext::compositeLayersToContext):
3283 2013-02-11 Ryosuke Niwa <rniwa@webkit.org>
3285 Disable delete button controller on non-Mac ports and delete EditorClient::shouldShowDeleteInterface
3286 https://bugs.webkit.org/show_bug.cgi?id=109534
3288 Reviewed by Anders Carlsson.
3290 * WebCoreSupport/EditorClientGtk.cpp:
3292 * WebCoreSupport/EditorClientGtk.h:
3294 * webkit/webkitwebview.cpp:
3295 (webkit_web_view_class_init):
3297 2013-02-11 Benjamin Poulain <benjamin@webkit.org>
3299 Kill TestRunner::setMinimumTimerInterval; implement the feature with InternalSettings
3300 https://bugs.webkit.org/show_bug.cgi?id=109349
3302 Reviewed by Sam Weinig.
3304 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
3305 * WebCoreSupport/DumpRenderTreeSupportGtk.h:
3306 (DumpRenderTreeSupportGtk):
3308 2013-02-10 Jae Hyun Park <jae.park08@gmail.com>
3310 Rename ENABLE(GLIB_SUPPORT) to USE(GLIB)
3311 https://bugs.webkit.org/show_bug.cgi?id=104266
3313 Reviewed by Philippe Normand.
3315 Using USE(GLIB) instead of ENABLE(GLIB_SUPPORT) is more consistent with
3316 the existing macro naming conventions.
3319 USE() - use a particular third-party library or optional OS service
3320 ENABLE() - turn on a specific feature of WebKit
3322 * gyp/Configuration.gypi:
3324 2013-02-08 Benjamin Poulain <bpoulain@apple.com>
3326 Move workerThreadCount from TestRunner to WebCore Internals
3327 https://bugs.webkit.org/show_bug.cgi?id=109239
3329 Reviewed by Darin Adler.
3331 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
3332 * WebCoreSupport/DumpRenderTreeSupportGtk.h:
3333 (DumpRenderTreeSupportGtk):
3335 2013-02-08 Martin Robinson <mrobinson@igalia.com>
3337 [GTK] Add an experimental gyp build
3338 https://bugs.webkit.org/show_bug.cgi?id=109003
3340 Reviewed by Gustavo Noronha Silva.
3342 Add an experimental gyp build for WebKitGTK+. Currently only libjavascriptcoregtk,
3343 jsc, and minidom build (and only on platforms for that support bash). To use the
3346 $ gyp --generator-output=build --depth=. Source/WebKit/gtk/gyp/JavaScriptCore.gyp
3348 Then enter the build directory and run make.
3350 * gyp/Configuration.gypi: Added.
3351 * gyp/JavaScriptCore.gyp: Added.
3352 * gyp/WTF.gyp: Added.
3353 * gyp/generate-derived-sources.sh: Added.
3355 2013-02-07 Martin Robinson <mrobinson@igalia.com>
3357 [GTK] Cleanup command-line defines
3358 https://bugs.webkit.org/show_bug.cgi?id=109213
3360 Reviewed by Xan Lopez.
3362 * GNUmakefile.am: Remove references to flags that are now provided
3363 by autotoolsconfig.h
3365 2013-02-07 Benjamin Poulain <bpoulain@apple.com>
3367 Move pauseAnimation/pauseTransition from TestRunner to Internals
3368 https://bugs.webkit.org/show_bug.cgi?id=109107
3370 Reviewed by Anders Carlsson.
3372 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
3373 * WebCoreSupport/DumpRenderTreeSupportGtk.h:
3374 (DumpRenderTreeSupportGtk):
3376 2013-02-07 ChangSeok Oh <shivamidow@gmail.com>
3378 [GTK][AC] Implement opacity animation with clutter ac backend
3379 https://bugs.webkit.org/show_bug.cgi?id=108961
3381 Reviewed by Gustavo Noronha Silva.
3383 Add AnimationTrigger for ac compositing.
3385 * WebCoreSupport/ChromeClientGtk.cpp:
3386 (WebKit::ChromeClient::allowedCompositingTriggers):
3388 2013-02-05 Martin Robinson <mrobinson@igalia.com>
3390 Update the NEWS and configuration in preparation for 1.11.5.
3392 Reviewed by Philippe Normand.
3396 2013-02-04 Benjamin Poulain <bpoulain@apple.com>
3398 Kill suspendAnimation(), resumeAnimation() and numberOfActiveAnimations() from DRT/WTR; use Internals
3399 https://bugs.webkit.org/show_bug.cgi?id=108741
3401 Reviewed by Tony Chang.
3403 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
3404 * WebCoreSupport/DumpRenderTreeSupportGtk.h:
3405 (DumpRenderTreeSupportGtk):
3407 2013-02-04 Gustavo Noronha Silva <gns@gnome.org>
3409 Made the documentation on the confirmed argument for the
3410 WebView::script-confirm signal clearer about its type.
3412 Reviewed by Martin Robinson.
3414 * webkit/webkitwebview.cpp:
3415 (webkit_web_view_class_init):
3417 2013-02-04 Balazs Kelemen <kbalazs@webkit.org>
3419 [Soup] Wrap SoupSession by NetworkStorageSession
3420 https://bugs.webkit.org/show_bug.cgi?id=108615
3422 Reviewed by Alexey Proskuryakov.
3424 * WebCoreSupport/FrameNetworkingContextGtk.cpp:
3425 (WebKit::FrameNetworkingContextGtk::storageSession):
3426 * WebCoreSupport/FrameNetworkingContextGtk.h:
3427 (FrameNetworkingContextGtk):
3429 2013-02-03 KwangYong Choi <ky0.choi@samsung.com>
3431 Fix build warning after r141473
3432 https://bugs.webkit.org/show_bug.cgi?id=108782
3434 Reviewed by Kentaro Hara.
3436 Fix -Wunused-parameter build warning.
3438 * WebCoreSupport/EditorClientGtk.cpp:
3439 (WebKit::EditorClient::getClientPasteboardDataForRange):
3441 2013-02-01 Philippe Normand <pnormand@igalia.com>
3443 [GTK][GStreamer] FullscreenVideoControllerGtk implementation
3444 https://bugs.webkit.org/show_bug.cgi?id=107398
3446 Reviewed by Gustavo Noronha Silva.
3448 Remove the FullscreenVideoController as it moved to
3449 FullscreenVideoControllerGStreamer and its Gtk subclass in
3450 WebCore. Hook in NATIVE_FULLSCREEN_VIDEO in the ChromeClient in
3451 the two possible scenarios, wether FULLSCREEN_API is enabled or not.
3453 * GNUmakefile.am: Remove FullscreenVideoController.
3454 * WebCoreSupport/ChromeClientGtk.cpp:
3456 (WebKit::ChromeClient::enterFullscreenForNode): Hook
3457 NATIVE_FULLSCREEN_VIDEO support.
3458 (WebKit::ChromeClient::exitFullscreenForNode): Ditto
3459 (WebKit::ChromeClient::enterFullScreenForElement): Ditto
3460 (WebKit::ChromeClient::exitFullScreenForElement): Ditto
3461 * WebCoreSupport/ChromeClientGtk.h:
3463 * WebCoreSupport/FullscreenVideoController.cpp: Removed.
3464 * WebCoreSupport/FullscreenVideoController.h: Removed.
3465 * webkit/webkitwebview.cpp: Remove FullscreenVideoController support.
3466 * webkit/webkitwebviewprivate.h: Ditto
3468 2013-01-31 Aurimas Liutikas <aurimas@chromium.org>
3470 Editor::m_compositionNode not updated on HTMLInputElement::setValue()
3471 https://bugs.webkit.org/show_bug.cgi?id=107737
3473 Reviewed by Ryosuke Niwa.
3475 * WebCoreSupport/EditorClientGtk.cpp:
3476 (WebKit::EditorClient::respondToChangedSelection):
3477 Adding a call to the newly refactored Editor method.
3479 2013-01-31 Sheriff Bot <webkit.review.bot@gmail.com>
3481 Unreviewed, rolling out r141479.
3482 http://trac.webkit.org/changeset/141479
3483 https://bugs.webkit.org/show_bug.cgi?id=108564
3485 breaks chromium test (Requested by morrita on #webkit).
3487 * WebCoreSupport/EditorClientGtk.cpp:
3488 (WebKit::EditorClient::respondToChangedSelection):
3490 2013-01-31 Aurimas Liutikas <aurimas@chromium.org>
3492 Editor::m_compositionNode not updated on HTMLInputElement::setValue()
3493 https://bugs.webkit.org/show_bug.cgi?id=107737
3495 Reviewed by Ryosuke Niwa.
3497 * WebCoreSupport/EditorClientGtk.cpp:
3498 (WebKit::EditorClient::respondToChangedSelection):
3499 Adding a call to the newly refactored Editor method.
3501 2013-01-31 Enrica Casucci <enrica@apple.com>
3503 WebKit2: provide new bundle APIs to allow bundle clients to be notified of pasteboard access.
3504 https://bugs.webkit.org/show_bug.cgi?id=108396.
3505 <rdar://problem/12920461>
3507 Reviewed by Alexey Proskuryakov.
3509 Adds stub implementation for WebKit of the new EditorClient methods.
3511 * WebCoreSupport/EditorClientGtk.cpp:
3512 (WebKit::EditorClient::willWriteSelectionToPasteboard):
3513 (WebKit::EditorClient::getClientPasteboardDataForRange):
3514 * WebCoreSupport/EditorClientGtk.h:
3516 2013-01-30 Huang Dongsung <luxtella@company100.net>
3518 [TexMap] Remove GraphicsLayer in TextureMapperLayer.
3519 https://bugs.webkit.org/show_bug.cgi?id=107073
3521 Reviewed by Noam Rosenthal.
3523 Include GraphicsLayerTextureMapper.h to use toTextureMapperLayer().
3525 * WebCoreSupport/AcceleratedCompositingContextGL.cpp:
3527 2013-01-29 Mario Sanchez Prada <mario.prada@samsung.com>
3529 [GTK] Missing build flags when building with Harfbuzz
3530 https://bugs.webkit.org/show_bug.cgi?id=108174
3532 Reviewed by Martin Robinson.
3534 Add FREETYPE_CFLAGS and FREETYPE_LIBS to makefiles so -lharfbuzz
3535 parameter will be added to linking lines when needed.
3537 * GNUmakefile.am: Added FREETYPE_CFLAGS and FREETYPE_LIBS.
3539 2013-01-28 Huang Dongsung <luxtella@company100.net>
3541 [TexMap] Enable debug borders and repaint counter via Settings.
3542 https://bugs.webkit.org/show_bug.cgi?id=107198
3544 Reviewed by Benjamin Poulain.
3546 If WEBKIT_SHOW_COMPOSITING_DEBUG_VISUALS is set to 1, set
3547 showDebugBorders and showRepaintCounter in Settings to true.
3549 * webkit/webkitwebview.cpp:
3550 (webkit_web_view_update_settings):
3552 2013-01-25 Joone Hur <joone.hur@intel.com>
3554 [GTK][AC] Use new Clutter APIs instead of deprecated APIs
3555 https://bugs.webkit.org/show_bug.cgi?id=105736
3557 Reviewed by Gustavo Noronha Silva.
3559 Use clutter_actor_set_background_color instead of clutter_stage_set_color.
3560 Use clutter_actor_add_child instead of clutter_container_add_actor.
3561 Remove clutter_actor_show_all because Actors are visible by default.
3563 * WebCoreSupport/AcceleratedCompositingContextClutter.cpp:
3564 (WebKit::AcceleratedCompositingContext::setRootCompositingLayer):
3566 2013-01-25 Martin Robinson <mrobinson@igalia.com>
3568 [GTK] LDFLAGS are being incorrectly used at compile time (rather than linking)
3569 https://bugs.webkit.org/show_bug.cgi?id=100616
3571 Unreviewed, since this is just a build fix.
3573 * GNUmakefile.am: use PACKAGE_CFLAGS instead of PACKAGE_LIBS when appending pkg-config
3574 variables to build target _CFLAGS.
3576 2013-01-24 Mark Hahnenberg <mhahnenberg@apple.com>
3578 Objective-C API: Rename JSValue.h/APIJSValue.h to JSCJSValue.h/JSValue.h
3579 https://bugs.webkit.org/show_bug.cgi?id=107327
3581 Reviewed by Filip Pizlo.
3583 We're renaming these two files, so we have to replace the names everywhere.
3585 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
3587 2013-01-23 Manuel Rego Casasnovas <rego@igalia.com>
3589 [GTK] Avoid reset title for navigation within the page
3590 https://bugs.webkit.org/show_bug.cgi?id=106908
3592 Reviewed by Martin Robinson.
3594 * WebCoreSupport/FrameLoaderClientGtk.cpp:
3595 (WebKit::FrameLoaderClient::dispatchDidNavigateWithinPage): Call
3596 dispatchDidCommitLoad with true as param.
3597 (WebKit::FrameLoaderClient::dispatchDidCommitLoad): The method has been
3598 overloaded. The default implementation (without params) simply calls
3599 dispatchDidCommitLoad with false. The new private method with
3600 isNavigatingWithinPage as param will avoid to reset the title for
3601 navigation within the page.
3602 * WebCoreSupport/FrameLoaderClientGtk.h:
3603 (FrameLoaderClient): Add new private method dispatchDidCommitLoad with a
3604 boolean parameter to know if it is navigating withing the same page or
3607 2013-01-22 Anders Carlsson <andersca@apple.com>
3609 Use a platforom strategy for local storage
3610 https://bugs.webkit.org/show_bug.cgi?id=107600
3612 Reviewed by Andreas Kling.
3614 Update for new storage strategy.
3616 * WebCoreSupport/PlatformStrategiesGtk.cpp:
3617 (PlatformStrategiesGtk::createStorageStrategy):
3618 * WebCoreSupport/PlatformStrategiesGtk.h:
3619 (PlatformStrategiesGtk):
3621 2013-01-22 Manuel Rego Casasnovas <rego@igalia.com>
3623 [GTK] Add listener for direction-changed signal in WebKitWebView
3624 https://bugs.webkit.org/show_bug.cgi?id=107131
3626 Reviewed by Philippe Normand.
3628 * webkit/webkitwebview.cpp:
3629 (webkit_web_view_init): Add listener for direction-changed signal.
3630 (webkitWebViewDirectionChanged): Implement listener using
3631 Editor::setBaseWritingDirection().
3633 2013-01-21 Oleg Smirnov <oleg.smirnov@lge.com>
3635 [Gtk] Dispatching event list into input element.
3636 https://bugs.webkit.org/show_bug.cgi?id=107259
3638 Reviewed by Martin Robinson.
3640 Clear pending command list after dispatching events.
3642 * WebCoreSupport/EditorClientGtk.cpp:
3643 (WebKit::EditorClient::handleKeyboardEvent):
3645 2013-01-18 Martin Robinson <mrobinson@igalia.com>
3647 [GTK] Add property for IndexedDB database path to WebKitGTK+
3648 https://bugs.webkit.org/show_bug.cgi?id=106136
3650 Reviewed by Gustavo Noronha Silva.
3652 Make the web database directory affect both the legacy SQLite web
3653 database API and the newer indexed database API. This will allow us
3654 to run IDB tests in WebKit1.
3656 * webkit/webkitglobals.cpp:
3657 (webkitPageGroupName): Added this helper to get the default page
3659 * webkit/webkitglobalsprivate.h: Added a declaration for the helper.
3660 * webkit/webkitwebdatabase.cpp:
3661 (webkit_get_web_database_directory_path): Just return the cached value.
3662 This is always set by webkitInit.
3663 (webkit_set_web_database_directory_path): Set both the IDB and legacy
3665 * webkit/webkitwebview.cpp:
3666 (webkit_web_view_init): Use the new page group name helper.
3668 2013-01-18 Seokju Kwon <seokju.kwon@gmail.com>
3670 Add explicit keyword to constructors in platform-specific InspectorClient
3671 https://bugs.webkit.org/show_bug.cgi?id=107255
3673 Reviewed by Kentaro Hara.
3675 Add explicit keyword to constructors that take one argument
3676 in platform-specific implementation of InspectorClient.
3677 And fix some coding style.
3679 * WebCoreSupport/InspectorClientGtk.h:
3683 (WebKit::InspectorClient::disconnectFrontendClient):
3684 (InspectorFrontendClient):
3685 (WebKit::InspectorFrontendClient::disconnectInspectorClient):
3687 2013-01-18 Manuel Rego Casasnovas <rego@igalia.com>
3689 [GTK] Add new method to support addUserScript in DumpRenderTree
3690 https://bugs.webkit.org/show_bug.cgi?id=107275
3692 Reviewed by Philippe Normand.
3694 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
3695 (DumpRenderTreeSupportGtk::addUserScript): Implement new method using
3696 PageGroup::addUserScriptToWorld.
3697 * WebCoreSupport/DumpRenderTreeSupportGtk.h:
3698 (DumpRenderTreeSupportGtk): Define method header.
3700 2013-01-17 Martin Robinson <mrobinson@igalia.com>
3702 [GTK] Build with LevelDB when IndexedDB is enabled
3703 https://bugs.webkit.org/show_bug.cgi?id=103220
3705 Reviewed by Gustavo Noronha Silva.
3707 * GNUmakefile.am: When IndexedDatabase is enabled add the leveldb convenience
3708 library to the shared library link phase.
3710 2013-01-15 Zan Dobersek <zandobersek@gmail.com>
3712 [Autotools] Add support for WebKit2-only builds
3713 https://bugs.webkit.org/show_bug.cgi?id=106889
3715 Reviewed by Gustavo Noronha Silva.
3717 * GNUmakefile.am: Only build the WebKit1-specific targets if actually
3718 building WebKit1. This puts the libwebkitgtk library, the pkg-config file
3719 and the WebKit1-specific unit tests under the ENABLE_WEBKIT1 Automake
3722 2013-01-11 Carlos Garcia Campos <cgarcia@igalia.com>
3724 Unreviewed. Update NEWS and configure.ac for 1.11.4 release
3726 * NEWS: Added release notes for 1.11.4.
3728 2013-01-08 Mark Lam <mark.lam@apple.com>
3730 Removed the need for the ProposedDatabase mechanism.
3731 https://bugs.webkit.org/show_bug.cgi?id=106292.
3733 Reviewed by Sam Weinig.
3735 * WebCoreSupport/ChromeClientGtk.cpp:
3736 (WebKit::ChromeClient::exceededDatabaseQuota):
3737 * WebCoreSupport/ChromeClientGtk.h:
3740 2013-01-03 Sergio Villar Senin <svillar@igalia.com>
3742 [GTK] Add WebP image support
3743 https://bugs.webkit.org/show_bug.cgi?id=105915
3745 Reviewed by Martin Robinson.
3747 * GNUmakefile.am: link against WebP library.
3749 2013-01-07 Mike West <mkwst@chromium.org>
3751 Make the IFRAME_SEAMLESS flag runtime-enabled.
3752 https://bugs.webkit.org/show_bug.cgi?id=106213
3754 Reviewed by Ojan Vafai.
3756 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
3757 * WebCoreSupport/DumpRenderTreeSupportGtk.h:
3758 (DumpRenderTreeSupportGtk):
3759 Add a toggle for seamless IFrames to GTK's DRTSuport.
3761 2013-01-04 Adam Klein <adamk@chromium.org>
3763 Remove ENABLE_MUTATION_OBSERVERS #define
3764 https://bugs.webkit.org/show_bug.cgi?id=105459
3766 Reviewed by Ryosuke Niwa.
3768 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
3769 (DumpRenderTreeSupportGtk::deliverAllMutationsIfNecessary):
3771 2012-12-28 Martin Robinson <mrobinson@igalia.com>
3773 [GTK][WK2] Add support for IME Composition
3774 https://bugs.webkit.org/show_bug.cgi?id=65093
3776 Reviewed by Carlos Garcia Campos.
3778 Update the method signatures for concrete WebKit1 implementation of
3779 the GtkInputMethodFilter.
3781 * WebCoreSupport/WebViewInputMethodFilter.cpp:
3782 (WebKit::WebViewInputMethodFilter::sendSimpleKeyEvent):
3783 (WebKit::WebViewInputMethodFilter::sendKeyEventWithCompositionResults):
3784 * WebCoreSupport/WebViewInputMethodFilter.h:
3785 (WebViewInputMethodFilter):
3787 2012-12-27 ChangSeok Oh <shivamidow@gmail.com>
3789 [GTK] invalid use of incomplete type WebCore::ResourceResponse in webkitwebviewprivate.h
3790 https://bugs.webkit.org/show_bug.cgi?id=105720
3792 Reviewed by Martin Robinson.
3794 If the acceleration backend is clutter, then css_filter feature is disabled.
3795 So ResourceResponse.h could not be reached with only existing headers
3796 in webkitwebviewprivate.h. For this reason, I add ResourceResponse.h explicitly
3797 to fix a build failure using incomplete type 'WebCore::ResourceResponse()'.
3799 * webkit/webkitwebviewprivate.h:
3801 2012-12-23 Alexey Proskuryakov <ap@apple.com>
3803 <rdar://problem/12808377> Network process should respect cookie accept policy
3804 https://bugs.webkit.org/show_bug.cgi?id=105684
3806 Reviewed by Sam Weinig.
3808 * WebCoreSupport/PlatformStrategiesGtk.cpp:
3809 * WebCoreSupport/PlatformStrategiesGtk.h:
3810 CookiesStrategy no longer has notifyCookiesChanged(). This port didn't use it anyway.
3812 2012-12-22 Alexey Proskuryakov <ap@apple.com>
3814 Add a separate class for networking related storage
3815 https://bugs.webkit.org/show_bug.cgi?id=105676
3817 Reviewed by Sam Weinig.
3819 * WebCoreSupport/PlatformStrategiesGtk.cpp:
3820 (PlatformStrategiesGtk::cookiesForDOM):
3821 (PlatformStrategiesGtk::setCookiesFromDOM):
3822 (PlatformStrategiesGtk::cookiesEnabled):
3823 (PlatformStrategiesGtk::cookieRequestHeaderFieldValue):
3824 (PlatformStrategiesGtk::getRawCookies):
3825 (PlatformStrategiesGtk::deleteCookie):
3826 * WebCoreSupport/PlatformStrategiesGtk.h:
3827 Cookie functions now take a NetworkStorageSession, not a NetworkingContext.
3829 2012-12-18 Alexey Proskuryakov <ap@apple.com>
3831 Remove unnecessary functions from CookiesStrategy
3832 https://bugs.webkit.org/show_bug.cgi?id=105369
3834 Reviewed by Brady Eidson.
3836 * WebCoreSupport/PlatformStrategiesGtk.cpp:
3837 * WebCoreSupport/PlatformStrategiesGtk.h:
3839 2012-12-18 ChangSeok Oh <shivamidow@gmail.com>
3841 [GTK][AC] Fix assertion failures for AC with clutter
3842 https://bugs.webkit.org/show_bug.cgi?id=105039
3844 Reviewed by Gustavo Noronha Silva.
3846 AcceleratedCompositingContext could be a client of GraphicsLayerClutter
3847 not only RenderLayerBacking. So inserting ASSERT_NOT_REACH in notifyFlushRequired()
3848 causes a crash by calling GraphicsLayerClutter::noteLayerPropertyChanged in debug build.
3849 And also I added flushCompositingStateIncludingSubframes taken from
3850 AcceleratedCompositingContextGL to flushAndRenderLayers(). If not so,
3851 ASSERT(!needsLayout()) failed in FrameView::paintContents() too in debug build.
3853 * WebCoreSupport/AcceleratedCompositingContextClutter.cpp:
3854 (WebKit::AcceleratedCompositingContext::flushAndRenderLayers): Add updateLayoutAndStyleIfNeededRecursive()
3855 (WebKit::AcceleratedCompositingContext::notifyAnimationStarted): Removed ASSERT_NOT_REACHED()
3856 (WebKit::AcceleratedCompositingContext::notifyFlushRequired): Removed ASSERT_NOT_REACHED()
3858 2012-12-15 Anders Carlsson <andersca@apple.com>
3860 Rename FrameLoaderClient::download to convertMainResourceLoadToDownload
3861 https://bugs.webkit.org/show_bug.cgi?id=105122
3863 Reviewed by Andreas Kling.
3865 Update for WebCore changes.
3867 * WebCoreSupport/FrameLoaderClientGtk.cpp:
3868 (WebKit::FrameLoaderClient::convertMainResourceLoadToDownload):
3869 * WebCoreSupport/FrameLoaderClientGtk.h:
3870 (FrameLoaderClient):
3872 2012-12-15 Mark Lam <mark.lam@apple.com>
3874 Re-landing patch for "Introducing the DatabaseStrategy and database servers".
3875 https://bugs.webkit.org/show_bug.cgi?id=104934.
3879 Merged from r137767. Previously reviewed by Sam Weinig.
3881 * WebCoreSupport/PlatformStrategiesGtk.cpp:
3882 (PlatformStrategiesGtk::createDatabaseStrategy):
3883 * WebCoreSupport/PlatformStrategiesGtk.h:
3884 (PlatformStrategiesGtk):
3886 2012-12-14 Sheriff Bot <webkit.review.bot@gmail.com>
3888 Unreviewed, rolling out r137767.
3889 http://trac.webkit.org/changeset/137767
3890 https://bugs.webkit.org/show_bug.cgi?id=105062
3892 Broke Mac builds. (Requested by mlam on #webkit).
3894 * WebCoreSupport/PlatformStrategiesGtk.cpp:
3895 * WebCoreSupport/PlatformStrategiesGtk.h:
3896 (PlatformStrategiesGtk):
3898 2012-12-14 Mark Lam <mark.lam@apple.com>
3900 Introducing the DatabaseStrategy and database servers.
3901 https://bugs.webkit.org/show_bug.cgi?id=104934.
3903 Reviewed by Sam Weinig.
3905 The database server is currently a placeholder that does nothing.
3907 * WebCoreSupport/PlatformStrategiesGtk.cpp:
3908 (PlatformStrategiesGtk::createDatabaseStrategy):
3909 * WebCoreSupport/PlatformStrategiesGtk.h:
3910 (PlatformStrategiesGtk):
3912 2012-12-14 Alberto Garcia <agarcia@igalia.com>
3914 [GTK] When in private mode WebKitGTK+ should not save HTTP authentication credentials to the persistent storage
3915 https://bugs.webkit.org/show_bug.cgi?id=104910
3917 Reviewed by Martin Robinson.
3919 * WebCoreSupport/FrameLoaderClientGtk.cpp:
3920 (WebKit::FrameLoaderClient::dispatchDidReceiveAuthenticationChallenge):
3921 When creating the GtkAuthenticationDialog, set the credential
3922 storage mode using the private browsing setting from the current
3925 * webkit/webkitsoupauthdialog.cpp:
3926 (sessionAuthenticate):
3927 Create the GtkAuthenticationDialog with no persistent storage
3928 allowed, as we are not handling the credential persistence here.
3930 2012-12-12 Mark Lam <mark.lam@apple.com>
3932 Encapsulate externally used webdatabase APIs in DatabaseManager.
3933 https://bugs.webkit.org/show_bug.cgi?id=104741.
3935 Reviewed by Sam Weinig.
3937 Use DatabaseManager instead of accessing DatabaseTracker, AbstractDatabase,
3938 and DatabaseContext directly. This is to prepare for upcoming webkit2
3941 * WebCoreSupport/ChromeClientGtk.cpp:
3942 (WebKit::ChromeClient::exceededDatabaseQuota):
3943 * webkit/webkitfavicondatabase.cpp:
3944 * webkit/webkiticondatabase.cpp:
3945 * webkit/webkitsecurityorigin.cpp:
3946 (webkit_security_origin_get_web_database_usage):
3947 (webkit_security_origin_get_web_database_quota):
3948 (webkit_security_origin_set_web_database_quota):
3949 (webkit_security_origin_get_all_web_databases):
3950 * webkit/webkitwebdatabase.cpp:
3951 (webkit_web_database_get_display_name):
3952 (webkit_web_database_get_expected_size):
3953 (webkit_web_database_get_size):
3954 (webkit_web_database_get_filename):
3955 (webkit_web_database_remove):
3956 (webkit_remove_all_web_databases):
3957 (webkit_get_web_database_directory_path):
3958 (webkit_set_web_database_directory_path):
3959 * webkit/webkitwebview.cpp:
3960 (webkit_web_view_update_settings):
3961 (webkit_web_view_settings_notify):
3963 2012-12-12 Martin Robinson <mrobinson@igalia.com>
3965 [GTK] Add authentication support to DRT and fix exposed issues in the libsoup backend
3966 https://bugs.webkit.org/show_bug.cgi?id=104285
3968 Reviewed by Gustavo Noronha Silva.
3970 Add support to DumpRenderTree for running authentication tests. Since the DRT
3971 expects an authentication callback, we add one to DRTSupport to avoid #ifdefs
3972 in platform-independent code for GTK+.
3974 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
3975 (DumpRenderTreeSupportGtk::setAuthenticationCallback): Added.
3976 * WebCoreSupport/DumpRenderTreeSupportGtk.h:
3977 (DumpRenderTreeSupportGtk): Add a method to set the authentication callback.
3978 * WebCoreSupport/FrameLoaderClientGtk.cpp:
3979 (WebKit::FrameLoaderClient::dispatchDidReceiveAuthenticationChallenge): When
3980 in DRT mode we need to call the authentication callback instead of popping
3981 up the dialog or ignoring the request.
3983 2012-12-12 Alexey Proskuryakov <ap@apple.com>
3985 Make LOG() work in WebProcess and NetworkProcess
3986 https://bugs.webkit.org/show_bug.cgi?id=104718
3988 Reviewed by Tim Horton.
3990 * webkit/webkitglobals.cpp: Include InitializeLogging.h
3992 2012-12-12 Joone Hur <joone.hur@intel.com>
3994 [GTK][AC] The non-composited content is not painted
3995 https://bugs.webkit.org/show_bug.cgi?id=104819
3997 Reviewed by Gustavo Noronha Silva.
3999 When Accelerated Compositing is enabled, only GraphicsLayers are painted.
4000 This patch allows to paint the non-composited content on the viewport with
4001 GraphicsLayers. Most of the codes are the same as AcceleratedCompositingContextGL.cpp
4003 * WebCoreSupport/AcceleratedCompositingContext.h: Add m_nonCompositedContentLayer.
4004 * WebCoreSupport/AcceleratedCompositingContextClutter.cpp:
4005 (WebKit::AcceleratedCompositingContext::AcceleratedCompositingContext):
4006 (WebKit::AcceleratedCompositingContext::initialize):
4008 (WebKit::AcceleratedCompositingContext::~AcceleratedCompositingContext):
4009 (WebKit::AcceleratedCompositingContext::renderLayersToWindow):
4010 (WebKit::AcceleratedCompositingContext::setRootCompositingLayer):
4011 (WebKit::AcceleratedCompositingContext::setNonCompositedContentsNeedDisplay):
4012 (WebKit::AcceleratedCompositingContext::resizeRootLayer):
4013 (WebKit::AcceleratedCompositingContext::scrollNonCompositedContents): Make the non-composited
4015 (WebKit::AcceleratedCompositingContext::layerFlushTimerFiredCallback):
4016 (WebKit::AcceleratedCompositingContext::flushPendingLayerChanges):
4017 (WebKit::AcceleratedCompositingContext::flushAndRenderLayers):
4018 (WebKit::AcceleratedCompositingContext::notifyAnimationStarted):
4019 (WebKit::AcceleratedCompositingContext::paintContents): Paint the non-composited content.
4021 2012-12-12 Joone Hur <joone.hur@intel.com>
4023 [GTK][AC] GraphicsLayers are not shown on the viewport
4024 https://bugs.webkit.org/show_bug.cgi?id=104670
4026 Reviewed by Gustavo Noronha Silva.
4028 GraphicsLayers are not shown on the viewport because the container(GtkClutterEmbed)
4029 is not resized and shown, so this patch allows it to fit to the viewport.
4031 * WebCoreSupport/AcceleratedCompositingContext.h:
4032 * WebCoreSupport/AcceleratedCompositingContextClutter.cpp:
4033 (WebKit::AcceleratedCompositingContext::renderLayersToWindow):
4034 (WebKit::AcceleratedCompositingContext::setRootCompositingLayer):
4035 (WebKit::AcceleratedCompositingContext::resizeRootLayer):
4036 (WebKit::AcceleratedCompositingContext::layerFlushTimerFiredCallback):
4037 (WebKit::AcceleratedCompositingContext::scheduleLayerFlush):
4039 2012-12-11 Carlos Garcia Campos <cgarcia@igalia.com>
4041 [GTK] Install GObject DOM bindings headers in its own directory
4042 https://bugs.webkit.org/show_bug.cgi?id=104663
4044 Reviewed by Gustavo Noronha Silva.
4046 * GNUmakefile.am: Add webkitdom.h.
4047 * webkit/webkitdom.h: Compatibility header just including the new
4049 * webkit/webkitwebframe.cpp: Update includes.
4050 * webkit/webkitwebframe.h: Ditto.
4051 * webkit/webkitwebinspector.cpp: Ditto.
4052 * webkit/webkitwebinspector.h: Ditto.
4053 * webkit/webkitwebview.cpp: Ditto.
4054 * webkit/webkitwebview.h: Ditto.
4056 2012-12-11 Mike West <mkwst@chromium.org>
4058 Web Inspector: ConsoleTypes should not expose MessageType - it should be private to inspector.
4059 https://bugs.webkit.org/show_bug.cgi?id=66371
4061 Reviewed by Pavel Feldman.
4063 Drops WebCore::MessageType from the addMessageToConsole method.
4065 * WebCoreSupport/ChromeClientGtk.cpp:
4066 (WebKit::ChromeClient::addMessageToConsole):
4067 * WebCoreSupport/ChromeClientGtk.h:
4070 2012-12-11 Martin Robinson <mrobinson@igalia.com>
4072 [GTK] Implement some missing FrameLoaderClient message in DRT
4073 https://bugs.webkit.org/show_bug.cgi?id=104444
4075 Reviewed by Gustavo Noronha Silva.
4077 When in DumpRenderTree mode allow the DRT to install a FrameLoaderEvent callback
4078 for events that we do not expose in the API. This will allow us to share more
4079 results with WebKit2.
4081 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
4082 (DumpRenderTreeSupportGtk::setFrameLoadEventCallback): Added.
4083 * WebCoreSupport/DumpRenderTreeSupportGtk.h:
4084 * WebCoreSupport/FrameLoaderClientGtk.cpp: Use the new callback to deliver
4087 2012-12-11 Martin Robinson <mrobinson@igalia.com>
4089 [Coverity] [GTK] Remove some redundant null checks in DumpRenderTree
4090 https://bugs.webkit.org/show_bug.cgi?id=104570
4092 Reviewed by Daniel Bates.
4094 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
4095 (DumpRenderTreeSupportGtk::elementDoesAutoCompleteForElementWithId): Remove a redundant null check.
4097 2012-12-10 Carlos Garcia Campos <cgarcia@igalia.com>
4099 [GTK] Build GObject DOM bindings as a separate library
4100 https://bugs.webkit.org/show_bug.cgi?id=104527
4102 Reviewed by Xan Lopez.
4104 * GNUmakefile.am: Link to libWebCoreDOM.la.
4106 2012-12-10 Martin Robinson <mrobinson@igalia.com>
4108 [GTK] Bring Harfbuzz-ng support to Gtk
4109 https://bugs.webkit.org/show_bug.cgi?id=92098
4111 Reviewed by Gustavo Noronha Silva.
4113 Add HarfBuzz dependency.
4115 * GNUmakefile.am: Add FreeType/HarfBuzz CFLAGS to the library.
4117 2012-12-05 Arnaud Renevier <a.renevier@sisa.samsung.com>
4119 [Gtk] navigator.plugins contains too many plugin entries. First one are garbages
4120 https://bugs.webkit.org/show_bug.cgi?id=102438
4122 Reviewed by Xan Lopez.
4124 In getPluginInfo, outPlugins is resized to plugins.size and then,
4125 plugins are appended to it. So at the end, outPlugins will be twice
4126 too large, and first half will contain null objects. As outPlugins
4127 size is 0 when calling getPluginInfo, we don't need to resize it.
4129 * WebCoreSupport/PlatformStrategiesGtk.cpp:
4130 (PlatformStrategiesGtk::getPluginInfo):
4132 2012-12-04 Carlos Garcia Campos <cgarcia@igalia.com>
4134 [GTK] Avoid unnecessary heap allocations during drag and drop operations
4135 https://bugs.webkit.org/show_bug.cgi?id=87938
4137 Reviewed by Martin Robinson.
4139 * webkit/webkitwebview.cpp:
4140 (webkit_web_view_drag_motion): Create DragData for the given
4141 DataObjectGtk in the stack.
4142 (webkit_web_view_drag_data_received): Ditto.
4143 (webkit_web_view_drag_drop): Ditto.
4145 2012-12-02 Mike West <mkwst@chromium.org>
4147 [gtk] Enable the CSP_NEXT runtime flag.
4148 https://bugs.webkit.org/show_bug.cgi?id=103810
4150 Reviewed by Adam Barth.
4152 This patch adds methods to DumpRenderTreeSupport in order to ensure that
4153 CSP 1.1 features are enabled when running DRT tests in the GTK port.
4155 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
4156 (DumpRenderTreeSupportGtk::setExperimentalContentSecurityPolicyFeaturesEnabled):
4157 * WebCoreSupport/DumpRenderTreeSupportGtk.h:
4158 (DumpRenderTreeSupportGtk):
4160 2012-11-30 Mihai Maerean <mmaerean@adobe.com>
4162 [CSSRegions] when WebKit uses V8, there should be a single variable to store if the CSS Regions feature is enabled
4163 https://bugs.webkit.org/show_bug.cgi?id=101192
4165 Reviewed by Hajime Morita.
4167 Removed the CSS Regions flag in Settings and switched to using the new flag I have added in RuntimeEnabledFeatures.
4169 Tests: No new tests because there is no functional change.
4171 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
4172 (DumpRenderTreeSupportGtk::setCSSRegionsEnabled):
4174 2012-11-29 Alexey Proskuryakov <ap@apple.com>
4176 [WK2] Forward cookie jar calls to NetworkProcess
4177 https://bugs.webkit.org/show_bug.cgi?id=103457
4179 Reviewed by Darin Adler.
4181 * WebCoreSupport/PlatformStrategiesGtk.cpp:
4182 (PlatformStrategiesGtk::cookiesForDOM):
4183 (PlatformStrategiesGtk::setCookiesFromDOM):
4184 (PlatformStrategiesGtk::cookiesEnabled):
4185 (PlatformStrategiesGtk::cookieRequestHeaderFieldValue):
4186 (PlatformStrategiesGtk::getRawCookies):
4187 (PlatformStrategiesGtk::deleteCookie):
4188 (PlatformStrategiesGtk::getHostnamesWithCookies):
4189 (PlatformStrategiesGtk::deleteCookiesForHostname):
4190 (PlatformStrategiesGtk::deleteAllCookies):
4192 2012-11-27 James Simonsen <simonjam@chromium.org>
4194 Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
4195 https://bugs.webkit.org/show_bug.cgi?id=102151
4197 Reviewed by Adam Barth.
4199 * webkit/webkitwebframe.cpp:
4200 (webkit_web_frame_load_uri):
4201 (webkit_web_frame_load_data):
4202 (webkit_web_frame_load_request):
4204 2012-11-27 Sheriff Bot <webkit.review.bot@gmail.com>
4206 Unreviewed, rolling out r135786.
4207 http://trac.webkit.org/changeset/135786
4208 https://bugs.webkit.org/show_bug.cgi?id=103379
4210 It made 3 plugin tests timeout on several platforms (Requested
4211 by Ossy on #webkit).
4213 * webkit/webkitwebframe.cpp: