71b3ce2c90808b45ce5cbe588034e2f3c6bfa747
[WebKit-https.git] / Source / WebKit / gtk / ChangeLog
1 2014-02-26  Joseph Pecoraro  <pecoraro@apple.com>
2
3         Web Inspector: Remove console.profiles from window.console API
4         https://bugs.webkit.org/show_bug.cgi?id=116883
5
6         Reviewed by Timothy Hatcher.
7
8         * webkit/webkitwebinspector.cpp:
9         (webkit_web_inspector_class_init):
10         Removed stale part of comment.
11
12 2014-02-26  Martin Robinson  <mrobinson@igalia.com>
13
14         [GTK] generate-gtkdoc can fail with WebKit1 or WebKit2 only builds
15         https://bugs.webkit.org/show_bug.cgi?id=129319
16
17         Reviewed by Carlos Garcia Campos.
18
19         * GNUmakefile.am: Do not generate the documentation configuration file if the port
20         is disabled.
21
22 2014-02-25  Anders Carlsson  <andersca@apple.com>
23
24         Get rid of VisitedLinkStrategy
25         https://bugs.webkit.org/show_bug.cgi?id=129324
26
27         Reviewed by Dan Bernstein.
28
29         * WebCoreSupport/PlatformStrategiesGtk.cpp:
30         (PlatformStrategiesGtk::getPluginInfo):
31         * WebCoreSupport/PlatformStrategiesGtk.h:
32
33 2014-02-24  Carlos Garcia Campos  <cgarcia@igalia.com>
34
35         [GTK] Mark view source mode methods as deprecated
36         https://bugs.webkit.org/show_bug.cgi?id=128920
37
38         Reviewed by Martin Robinson.
39
40         * webkit/webkitwebview.cpp: Mark set/get_view_source_mode as
41         deprecated in the documentation.
42         * webkit/webkitwebview.h: Add deprecation guards.
43
44 2014-02-24  Martin Robinson  <mrobinson@igalia.com>
45
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
48
49         Reviewed by Carlos Garcia Campos.
50
51         * GNUmakefile.am: Generate a config file for generate-gtkdoc.
52
53 2014-02-24  Enrique Ocaña González  <eocanha@igalia.com>
54
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
57
58         Reviewed by Carlos Garcia Campos.
59
60         * WebCoreSupport/FrameLoaderClientGtk.cpp: Manage error values not present in WebCore
61         (WebKit::toWebKitNetworkError):
62
63 2014-02-24  Renata Hodovan  <rhodovan.u-szeged@partner.samsung.com>
64
65         Get rid of the unused 'immediate' parameters from repaint related functions
66         https://bugs.webkit.org/show_bug.cgi?id=129111
67
68         Reviewed by Simon Fraser.
69
70         Removing the 'immediate' parameters from repaint related functions - accoring
71         to the FIXME in RenderView::repaintViewRectangle() - since they have no effect.
72
73         * WebCoreSupport/ChromeClientGtk.cpp:
74         (WebKit::ChromeClient::invalidateRootView):
75         (WebKit::ChromeClient::invalidateContentsAndRootView):
76         (WebKit::ChromeClient::invalidateContentsForSlowScroll):
77         * WebCoreSupport/ChromeClientGtk.h:
78
79 2014-02-23  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
80
81         Change a url parameter type with URL in NavigatorContentUtils
82         https://bugs.webkit.org/show_bug.cgi?id=129202
83
84         Reviewed by Sam Weinig.
85
86         It would be good if we use *URL* for url parameters instead of using String.
87
88         Merge from blink. https://src.chromium.org/viewvc/blink?view=rev&revision=165458.
89
90         * WebCoreSupport/NavigatorContentUtilsClientGtk.cpp:
91         (WebKit::NavigatorContentUtilsClient::registerProtocolHandler):
92         * WebCoreSupport/NavigatorContentUtilsClientGtk.h:
93
94 2014-02-20  Enrique Ocaña González  <eocanha@igalia.com>
95
96         WebKitGTK+ should stop using COMPILE_ASSERT_MATCHING_ENUM macros
97         https://bugs.webkit.org/show_bug.cgi?id=127800
98
99         Reviewed by Martin Robinson.
100
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.
112         (WebKit::kit):
113         (WebKit::core):
114         * webkit/webkitwebsettings.cpp: Defined and applied type conversions.
115         (WebKit::core):
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
123
124 2014-02-17  Sergio Correia  <sergio.correia@openbossa.org>
125
126         Replace uses of PassOwnPtr/OwnPtr with std::unique_ptr in WebCore/inspector
127         https://bugs.webkit.org/show_bug.cgi?id=128681
128
129         Reviewed by Timothy Hatcher.
130
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.
135
136         * WebCoreSupport/InspectorClientGtk.cpp:
137
138 2014-02-17  Anders Carlsson  <andersca@apple.com>
139
140         WebKitGTK+ should stop calling functions to set the view source mode
141         https://bugs.webkit.org/show_bug.cgi?id=128919
142
143         Reviewed by Carlos Garcia Campos.
144
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.
148
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.
153
154 2014-02-11  Zalan Bujtas  <zalan@apple.com>
155
156         Subpixel rendering: Make GraphicsLayerClient::paintContents's clip rect subpixel based.
157         https://bugs.webkit.org/show_bug.cgi?id=128460
158
159         Reviewed by Simon Fraser.
160
161         GraphicsClient::paintContents takes clipRect as FloatRect now so that we can paint on
162         subpixel position.
163
164         No change in functionality.
165
166         * WebCoreSupport/AcceleratedCompositingContext.h:
167         * WebCoreSupport/AcceleratedCompositingContextGL.cpp:
168         (WebKit::AcceleratedCompositingContext::paintContents):
169
170 2014-02-10  Carlos Garcia Campos  <cgarcia@igalia.com>
171
172         [GLIB] Add GUniqueOutPtr and use it instead of GOwnPtr
173         https://bugs.webkit.org/show_bug.cgi?id=127554
174
175         Reviewed by Gustavo Noronha Silva.
176
177         Use GUniqueOutPtr instead of GOwnPtr.
178
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):
190
191 2014-02-09  Carlos Garnacho  <carlosg@gnome.org>
192
193         [GTK] Allow building with touch events enabled
194         https://bugs.webkit.org/show_bug.cgi?id=98931
195
196         Reviewed by Carlos Garcia Campos.
197
198         Even though WebKit1 GTK code doesn't implement touch events,
199         Fix build if ENABLE_TOUCH_EVENTS is present for WK2.
200
201         * WebCoreSupport/ChromeClientGtk.h:
202         (WebKit::ChromeClient::needTouchEvents): Add empty stub
203
204 2014-02-08  Ryosuke Niwa  <rniwa@webkit.org>
205
206         Cleanup the interface of FrameSelection
207         https://bugs.webkit.org/show_bug.cgi?id=128481
208
209         Reviewed by Andreas Kling.
210
211         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
212         (DumpRenderTreeSupportGtk::rectangleForSelection):
213
214 2014-02-08  Darin Adler  <darin@apple.com>
215
216         Change TextIterator to use StringView, preparing to wean it from deprecatedCharacters
217         https://bugs.webkit.org/show_bug.cgi?id=128233
218
219         Reviewed by Anders Carlsson.
220
221         * WebCoreSupport/TextCheckerClientGtk.cpp:
222         (WebKit::TextCheckerClientGtk::checkSpellingOfString): Use StringView.
223         (WebKit::TextCheckerClientGtk::checkGrammarOfString): Ditto.
224         * WebCoreSupport/TextCheckerClientGtk.h: Ditto.
225
226 2014-02-07  Gavin Barraclough  <barraclough@apple.com>
227
228         Remove isInitialState flag from Page::setViewState
229         https://bugs.webkit.org/show_bug.cgi?id=128428
230
231         Reviewed by Sam Weinig.
232
233         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
234         (DumpRenderTreeSupportGtk::setPageVisibility):
235             - don't pass isInitialState to setViewState.
236
237 2014-02-06  Joseph Pecoraro  <pecoraro@apple.com>
238
239         Web Inspector: Add Console support to JSContext Inspection
240         https://bugs.webkit.org/show_bug.cgi?id=127941
241
242         Reviewed by Geoffrey Garen.
243
244         * WebCoreSupport/ChromeClientGtk.cpp:
245         (WebKit::ChromeClient::addMessageToConsole):
246
247 2014-02-05  Csaba Osztrogonác  <ossy@webkit.org>
248
249         Remove ENABLE(SVG) guards
250         https://bugs.webkit.org/show_bug.cgi?id=127991
251
252         Reviewed by Sam Weinig.
253
254         * GNUmakefile.am:
255         * webkit/webkitwebframe.cpp:
256
257 2014-02-05  Zan Dobersek  <zdobersek@igalia.com>
258
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
261
262         Reviewed by Martin Robinson.
263
264         Use static NeverDestroyed<T> variables instead of the DEFINE_STATIC_LOCAL macro.
265
266         * WebCoreSupport/PlatformStrategiesGtk.cpp:
267         (PlatformStrategiesGtk::initialize):
268         * WebCoreSupport/PlatformStrategiesGtk.h:
269         * webkit/webkitwebsettings.cpp:
270         (isGoogleDomain):
271
272 2014-02-04  Andreas Kling  <akling@apple.com>
273
274         Remove <iframe seamless> support.
275         <https://webkit.org/b/128213>
276
277         Rubber-stamped by Antti Koivisto.
278
279         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
280         * WebCoreSupport/DumpRenderTreeSupportGtk.h:
281
282 2014-01-31  Zan Dobersek  <zdobersek@igalia.com>
283
284         Unreviewed. Fixing the GTK build after r163232.
285
286         * WebCoreSupport/EditorClientGtk.cpp:
287         (WebKit::collapseSelection): Add an additional FrameSelection::selection() call.
288
289 2014-01-31  Ryosuke Niwa  <rniwa@webkit.org>
290
291         Remove inline member functions of FrameSelection that access m_selection
292         https://bugs.webkit.org/show_bug.cgi?id=127986
293
294         Reviewed by Enrica Casucci.
295
296         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
297         (DumpRenderTreeSupportGtk::selectedRange):
298         * WebCoreSupport/EditorClientGtk.cpp:
299         (WebKit::collapseSelection):
300
301 2014-01-30  Andrei Bucur  <abucur@adobe.com>
302
303         Remove the ACCELERATED_COMPOSITING flag
304         https://bugs.webkit.org/show_bug.cgi?id=127833
305
306         Reviewed by Antti Koivisto.
307
308         Remove the USE(ACCELERATED_COMPOSITING) conditionals from the code base and make AC
309         mandatory.
310
311         Another patch will be required to remove the flag support from the GTK build system.
312
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:
328
329 2014-01-29  Csaba Osztrogonác  <ossy@webkit.org>
330
331         Remove ENABLE(JAVASCRIPT_DEBUGGER) guards
332         https://bugs.webkit.org/show_bug.cgi?id=127840
333
334         Reviewed by Mark Lam.
335
336         * webkit/webkitwebinspector.cpp:
337         (webkit_web_inspector_set_property):
338         (webkit_web_inspector_get_property):
339
340 2014-01-27  Carlos Garcia Campos  <cgarcia@igalia.com>
341
342         [GTK] Make webkit_uri_scheme_request_get_web_view() work with CustomProtocols
343         https://bugs.webkit.org/show_bug.cgi?id=127614
344
345         Reviewed by Gustavo Noronha Silva.
346
347         Remove initiatingPageID() method from FrameNetworkingContext.
348
349         * WebCoreSupport/FrameNetworkingContextGtk.cpp:
350         * WebCoreSupport/FrameNetworkingContextGtk.h:
351
352 2014-01-27  Carlos Garcia Campos  <cgarcia@igalia.com>
353
354         Unreviewed. Fix GTK+ build after r162808.
355
356         * webkit/webkitwebhistoryitem.cpp:
357         (webkit_web_history_item_new_with_data):
358         (webkit_web_history_item_get_last_visited_time):
359
360 2014-01-25  Anders Carlsson  <andersca@apple.com>
361
362         Remove an unused FrameLoaderClient function
363         https://bugs.webkit.org/show_bug.cgi?id=127628
364
365         Reviewed by Andreas Kling.
366
367         * WebCoreSupport/FrameLoaderClientGtk.cpp:
368         * WebCoreSupport/FrameLoaderClientGtk.h:
369
370 2014-01-24  Anders Carlsson  <andersca@apple.com>
371
372         GTK+ build fix.
373
374         * webkit/webkitwebview.cpp:
375         (webkit_web_view_can_go_back):
376
377 2014-01-24  Anders Carlsson  <andersca@apple.com>
378
379         Remove back/forward list related functions from Page
380         https://bugs.webkit.org/show_bug.cgi?id=127596
381
382         Reviewed by Andreas Kling.
383
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):
392
393 2014-01-24  Enrique Ocaña González  <eocanha@igalia.com>
394
395         [GTK] Put cache files in XDG_CACHE_HOME
396         https://bugs.webkit.org/show_bug.cgi?id=123458
397
398         Reviewed by Martin Robinson.
399
400         * webkit/webkitglobals.cpp:
401         (webkitInit):
402         * webkit/webkiticondatabase.cpp:
403
404 2014-01-23  Joseph Pecoraro  <pecoraro@apple.com>
405
406         Web Inspector: Remove recompileAllJSFunctions timer in ScriptDebugServer
407         https://bugs.webkit.org/show_bug.cgi?id=127409
408
409         Reviewed by Geoffrey Garen.
410
411         * WebCoreSupport/InspectorClientGtk.cpp:
412         (WebKit::InspectorFrontendClient::destroyInspectorWindow):
413         Include InspectorDisconnectReason.
414
415 2014-01-23  Max Vujovic  <mvujovic@adobe.com>
416
417         Remove CSS Custom Filters code and tests
418         https://bugs.webkit.org/show_bug.cgi?id=127382
419
420         Reviewed by Simon Fraser.
421
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):
432
433 2014-01-22  Carlos Garcia Campos  <cgarcia@igalia.com>
434
435         [GLIB] Use GUniquePtr instead of GOwnPtr
436         https://bugs.webkit.org/show_bug.cgi?id=127431
437
438         Reviewed by Martin Robinson.
439
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.
443
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:
466         (webkitInit):
467         * webkit/webkithittestresult.cpp:
468         (WebKit::kit):
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:
483
484 2014-01-22  Thiago de Barros Lacerda  <thiago.lacerda@openbossa.org>
485
486         [EFL][GTK] Get EFL and GTK compiling with ACCESSIBILITY disabled
487         https://bugs.webkit.org/show_bug.cgi?id=127119
488
489         Reviewed by Mario Sanchez Prada.
490
491         Guarding ACCESSIBILITY code with HAVE(ACCESSIBILITY).
492
493         * webkit/webkitwebview.cpp:
494         (webkit_web_view_class_init):
495
496 2014-01-18  Brian Burg  <bburg@apple.com>
497
498         Web Inspector: Page should use std::unique_ptr for InspectorController
499         https://bugs.webkit.org/show_bug.cgi?id=127068
500
501         Reviewed by Joseph Pecoraro.
502
503         Convert call sites to use a InspectorController reference.
504         Convert instantiations of InspectorFrontendClient to use std::unique_ptr.
505
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):
518
519 2014-01-17  Anders Carlsson  <andersca@apple.com>
520
521         Remove another unused FrameLoaderClient callback
522         https://bugs.webkit.org/show_bug.cgi?id=127192
523
524         Reviewed by Dan Bernstein.
525
526         * WebCoreSupport/FrameLoaderClientGtk.cpp:
527         * WebCoreSupport/FrameLoaderClientGtk.h:
528
529 2014-01-17  Anders Carlsson  <andersca@apple.com>
530
531         Remove didPerformFirstNavigation from all FrameLoaderClient subclasses
532         https://bugs.webkit.org/show_bug.cgi?id=127190
533
534         Reviewed by Dan Bernstein.
535
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.
538
539         * WebCoreSupport/FrameLoaderClientGtk.cpp:
540         * WebCoreSupport/FrameLoaderClientGtk.h:
541
542 2014-01-16  Jaehun Lim  <ljaehun.lim@samsung.com>
543
544         Use final instead of FINAL
545
546         Unreviewed build fix.
547
548         * WebCoreSupport/ProgressTrackerClientGtk.h:
549
550 2014-01-16  Peter Molnar  <pmolnar.u-szeged@partner.samsung.com>
551
552         Remove workaround for compilers not supporting explicit override control
553         https://bugs.webkit.org/show_bug.cgi?id=127111
554
555         Reviewed by Anders Carlsson.
556
557         Now all compilers support explicit override control, this workaround can be removed.
558
559         * WebCoreSupport/EditorClientGtk.h:
560         * WebCoreSupport/InspectorClientGtk.h:
561         * WebCoreSupport/ProgressTrackerClientGtk.h:
562
563 2014-01-15  Zan Dobersek  <zdobersek@igalia.com>
564
565         [GTK][WK1] Add ProgressTrackerClient implementation
566         https://bugs.webkit.org/show_bug.cgi?id=127048
567
568         Reviewed by Anders Carlsson.
569
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.
574
575         * GNUmakefile.am:
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):
587
588 2014-01-13  Carlos Garcia Campos  <cgarcia@igalia.com>
589
590         [SOUP] Add SoupNetworkSession class to wrap a SoupSession
591         https://bugs.webkit.org/show_bug.cgi?id=126813
592
593         Reviewed by Gustavo Noronha Silva.
594
595         * webkit/webkitglobals.cpp:
596         (webkit_get_default_session): Use the new SoupNetworkSession API
597         to get the default SoupSession
598
599 2014-01-13  Carlos Garcia Campos  <cgarcia@igalia.com>
600
601         Unreviewed. Update NEWS and Versions.m4 for 2.3.4 release.
602
603         * NEWS: Added release notes for 2.3.4.
604
605 2014-01-13  Commit Queue  <commit-queue@webkit.org>
606
607         Unreviewed, rolling out r161808.
608         http://trac.webkit.org/changeset/161808
609         https://bugs.webkit.org/show_bug.cgi?id=126874
610
611         This patch make several files to be always regenerated on
612         every make (Requested by KaL on #webkit).
613
614         * GNUmakefile.am:
615
616 2014-01-12  Carlos Garcia Campos  <cgarcia@igalia.com>
617
618         Unreviewed. Fix make distcheck.
619
620         * GNUmakefile.am: Add enum types template files to EXTRA_DIST.
621
622 2014-01-12  Tobias Mueller  <tobiasmue@gnome.org>
623
624         --disable-dependency-tracking causes build failure due to missing directories
625         https://bugs.webkit.org/show_bug.cgi?id=94488
626
627         Reviewed by Gustavo Noronha Silva.
628
629         Autotools build fix: Ensure output directory existing
630         before generating DerivedSources. This allows for
631         --disable-dependency-tracking to be run.
632
633         * GNUmakefile.am: Added a new target of the directory in which files are meant to be stored ($(GENSOURCES_WEBKIT)).
634
635 2014-01-10  Anders Carlsson  <andersca@apple.com>
636
637         Tweak ProgressTrackerClient functions
638         https://bugs.webkit.org/show_bug.cgi?id=126808
639
640         Reviewed by Sam Weinig.
641
642         * WebCoreSupport/FrameLoaderClientGtk.cpp:
643         (WebKit::FrameLoaderClient::progressStarted):
644         (WebKit::FrameLoaderClient::progressEstimateChanged):
645         (WebKit::FrameLoaderClient::progressFinished):
646         * WebCoreSupport/FrameLoaderClientGtk.h:
647
648 2014-01-10  Anders Carlsson  <andersca@apple.com>
649
650         Move progress tracking functions from FrameLoaderClient to a new ProgressTrackerClient
651         https://bugs.webkit.org/show_bug.cgi?id=126801
652
653         Reviewed by Sam Weinig.
654
655         * WebCoreSupport/FrameLoaderClientGtk.h:
656         * webkit/webkitwebview.cpp:
657         (webkit_web_view_init):
658
659 2014-01-08  Claudio Saavedra  <csaavedra@igalia.com>
660
661         [GTK] Add xdg.origin.url extended attribute to downloads
662         https://bugs.webkit.org/show_bug.cgi?id=126638
663
664         Reviewed by Carlos Garcia Campos.
665
666         This is proposed by fdo in
667         http://www.freedesktop.org/wiki/CommonExtendedAttributes/
668
669         * webkit/webkitdownload.cpp:
670         (webkit_download_open_stream_for_uri):
671
672 2014-01-04  Carlos Garcia Campos  <cgarcia@igalia.com>
673
674         [GTK] Move all GTK/GObject unit tests to Tools/TestWebKitAPI
675         https://bugs.webkit.org/show_bug.cgi?id=126342
676
677         Reviewed by Gustavo Noronha Silva.
678
679         * tests/CMakeLists.txt: Removed.
680         * tests/GNUmakefile.am: Removed.
681
682 2014-01-06  László Langó  <lango@inf.u-szeged.hu>
683
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
686
687         Reviewed by Anders Carlsson.
688
689         * webkit/webkitdownload.cpp:
690         (DownloadClient::didReceiveData):
691
692 2014-01-02  Carlos Garcia Campos  <cgarcia@igalia.com>
693
694         REGRESSION(r160304): [GTK] Disable libtool fast install
695         https://bugs.webkit.org/show_bug.cgi?id=126381
696
697         Reviewed by Martin Robinson.
698
699         * tests/GNUmakefile.am:
700
701 2014-01-02  Gavin Barraclough  <barraclough@apple.com>
702
703         Merge didMoveOnscreen / page visibility to isVisible
704         https://bugs.webkit.org/show_bug.cgi?id=126268
705
706         Reviewed by Tim Horton.
707
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.
712
713         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
714         (DumpRenderTreeSupportGtk::setPageVisibility):
715             - setVisibilityState -> setIsVisible/setIsPrerender.
716
717 2014-01-02  Zan Dobersek  <zdobersek@igalia.com>
718
719         [GTK] Fix mismatched header guards in private WK1 header files
720         https://bugs.webkit.org/show_bug.cgi?id=126390
721
722         Reviewed by Martin Robinson.
723
724         Fix three mismatched header guards that are producing warnings when building with Clang.
725
726         * webkit/webkitsecurityoriginprivate.h:
727         * webkit/webkitviewportattributesprivate.h:
728         * webkit/webkitwebnavigationactionprivate.h:
729
730 2013-12-30  Martin Robinson  <mrobinson@igalia.com>
731
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
734
735         Reviewed by Philippe Normand.
736
737         * tests/GNUmakefile.am: Build the tests in the new directory.
738
739 2013-12-26  Martin Robinson  <mrobinson@igalia.com>
740
741         Small build fix for the GTK+ CMake port
742
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.
745
746 2013-12-23  Martin Robinson  <mrobinson@igalia.com>
747
748         [GTK] [CMake] Build the WebKit1 GObject API tests
749         https://bugs.webkit.org/show_bug.cgi?id=125684
750
751         Reviewed by Daniel Bates.
752
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.
782
783 2013-12-20  Enrique Ocaña González  <eocanha@igalia.com>
784
785         [GTK] The fullscreen API should be enabled by default
786         https://bugs.webkit.org/show_bug.cgi?id=125993
787
788         Reviewed by Gustavo Noronha Silva.
789
790         Set the WebSettings property to TRUE
791
792         * webkit/webkitwebsettings.cpp:
793         (webkit_web_settings_class_init):
794
795 2013-12-16  Martin Robinson  <mrobinson@igalia.com>
796
797         [GTK] [CMake] Add support for building WebKit1
798         https://bugs.webkit.org/show_bug.cgi?id=116377
799
800         Reviewed by Gustavo Noronha Silva.
801
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.
805
806 2013-12-18  Carlos Garcia Campos  <cgarcia@igalia.com>
807
808         Unreviewed. Update NEWS and Versions.m4 for 2.3.3 release.
809
810         * NEWS: Added release notes for 2.3.3.
811
812 2013-12-11  Joseph Pecoraro  <pecoraro@apple.com>
813
814         Web Inspector: Push More Inspector Required Classes Down into JavaScriptCore
815         https://bugs.webkit.org/show_bug.cgi?id=125324
816
817         Reviewed by Timothy Hatcher.
818
819         * webkit/webkitwebview.cpp:
820
821 2013-12-11  José Dapena Paz  <jdapena@igalia.com> and Zan Dobersek  <zdobersek@igalia.com>
822
823         [GTK] Add a UPower-based BatteryProvider
824         https://bugs.webkit.org/show_bug.cgi?id=115719
825
826         Reviewed by Martin Robinson.
827
828         * GNUmakefile.am: Link the libwebkigtk library against the upower-glib library.
829
830 2013-12-11  José Dapena Paz  <jdapena@igalia.com> and Zan Dobersek  <zdobersek@igalia.com>
831
832         [GTK][WK1] Add an empty BatteryClientGtk
833         https://bugs.webkit.org/show_bug.cgi?id=115628
834
835         Reviewed by Martin Robinson.
836
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
842         state.
843
844         * GNUmakefile.am: Add the BatteryClientGtk source files to the build.
845         * WebCoreSupport/BatteryClientGtk.cpp: Added.
846         (WebKit):
847         (WebKit::BatteryClientGtk::BatteryClientGtk):
848         (WebKit::BatteryClientGtk::startUpdating):
849         (WebKit::BatteryClientGtk::stopUpdating):
850         (WebKit::BatteryClientGtk::batteryControllerDestroyed):
851         * WebCoreSupport/BatteryClientGtk.h: Added.
852         (WebKit):
853         (BatteryClientGtk):
854         * webkit/webkitwebview.cpp:
855         (webkit_web_view_init): Set up the BatteryClientGtk for the new WebCore::Page object.
856
857 2013-12-11  Brendan Long  <b.long@cablelabs.com>
858
859         [GTK] Add "enable-mediasource" property to WebKitWebSettings
860         https://bugs.webkit.org/show_bug.cgi?id=125566
861
862         Reviewed by Philippe Normand.
863
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):
874
875 2013-12-10  Joanmarie Diggs  <jdiggs@igalia.com>
876
877         AX: [ATK] Convert the get_text atktest.c unit tests to layout tests
878         https://bugs.webkit.org/show_bug.cgi?id=125497
879
880         Reviewed by Mario Sanchez Prada.
881
882         * tests/testatk.c: Remove the portions of the remaining tests which now exist as
883         layout tests.
884         (testWebkitAtkCaretOffsets):
885         (testWebkitAtkCaretOffsetsAndExtranousWhiteSpaces):
886         (testWebkitAtkComboBox):
887         (testWebkitAtkEmbeddedObjects):
888         (testWebkitAtkTextSelections):
889         (testWebkitAtkListsOfItems):
890         (main):
891
892 2013-12-09  Joanmarie Diggs  <jdiggs@igalia.com>
893
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
896
897         Reviewed by Mario Sanchez Prada.
898
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):
904         (main):
905
906 2013-12-08  Martin Robinson  <mrobinson@igalia.com>
907
908         [WK2][Soup] Use didReceiveBuffer instead of didReceiveData
909         https://bugs.webkit.org/show_bug.cgi?id=118598
910
911         Reviewed by Gustavo Noronha Silva.
912
913         Original patch by Kwang Yul Seo  <skyul@company100.net> and Csaba Osztrogonác  <ossy@webkit.org>.
914
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.
918
919         * webkit/webkitdownload.cpp:
920         (DownloadClient::didReceiveData): Replace with ASSERT_NOT_REACHED.
921         (DownloadClient::didReceiveBuffer): Use this to process incoming data.
922
923 2013-12-07  Gustavo Noronha Silva  <gns@gnome.org>
924
925         Fix API test expectation following 160220.
926
927         Rubber-stamped by Martin Robinson.
928
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.
950
951 2013-12-05  Carlos Garcia Campos  <cgarcia@igalia.com>
952
953         [GTK] Fix GObject introspection warnings in webkitspellchecker
954         https://bugs.webkit.org/show_bug.cgi?id=125299
955
956         Reviewed by Philippe Normand.
957
958         * webkit/webkitspellchecker.cpp: Add missing ':' after some
959         gobject-introspection annotations.
960
961 2013-12-03  Joseph Pecoraro  <pecoraro@apple.com>
962
963         Web Inspector: Push Remote Inspector debugging connection management into JavaScriptCore
964         https://bugs.webkit.org/show_bug.cgi?id=124613
965
966         Reviewed by Timothy Hatcher.
967
968         * WebCoreSupport/InspectorClientGtk.h:
969
970 2013-12-02  Gustavo Noronha Silva  <gustavo.noronha@collabora.com>
971
972         [GTK] GTK2 paint code path does not render AC layers
973         https://bugs.webkit.org/show_bug.cgi?id=124967
974
975         Reviewed by Carlos Garcia Campos.
976
977         * webkit/webkitwebview.cpp:
978         (webkit_web_view_expose_event): also paint AC layers when painting the widget,
979         when AC is on.
980
981 2013-11-28  Gustavo Noronha Silva  <gustavo.noronha@collabora.com>
982
983         REGRESSION(r154658): webkit_web_view_get_view_source_mode always returns false
984         https://bugs.webkit.org/show_bug.cgi?id=124954
985
986         Reviewed by Carlos Garcia Campos.
987
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.
991
992 2013-11-18  Carlos Garcia Campos  <cgarcia@igalia.com>
993
994         Unreviewed. Update NEWS and Versions.m4 for 2.3.2 release.
995
996         * NEWS: Added release notes for 2.3.2.
997
998 2013-11-05  Xabier Rodriguez Calvar  <calvaris@igalia.com>
999
1000         [GStreamer] Remove NATIVE_FULLSCREEN_VIDEO support
1001         https://bugs.webkit.org/show_bug.cgi?id=123437
1002
1003         Reviewed by Philippe Normand.
1004
1005         Removed some dead code as no GStreamer port is using the native
1006         fullscreen video support.
1007
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.
1013
1014 2013-11-04  Manuel Rego Casasnovas  <rego@igalia.com>
1015
1016         [GTK][WK1] Enable CSS Regions if feature flag is set to TRUE
1017         https://bugs.webkit.org/show_bug.cgi?id=123739
1018
1019         Reviewed by Martin Robinson.
1020
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.
1023
1024         * webkit/webkitwebview.cpp:
1025         (webkit_web_view_update_settings): Enable CSS Regions if feautre flag is
1026         set to TRUE.
1027
1028 2013-10-29  Carlos Garcia Campos  <cgarcia@igalia.com>
1029
1030         Unreviewed. Update NEWS and Versions.m4 for 2.3.1 release.
1031
1032         * NEWS: Added release notes for 2.3.1.
1033
1034 2013-10-28  Bastien Nocera <hadess@hadess.net>
1035
1036         Name all the GLib timeout sources
1037         https://bugs.webkit.org/show_bug.cgi?id=123229
1038
1039         Reviewed by Anders Carlsson.
1040
1041         Give a name to GLib timeout sources, this is helpful when
1042         profiling WebKitGTK applications.
1043
1044 2013-10-28  Bastien Nocera <hadess@hadess.net>
1045
1046         Replace 0 timeouts g_timeout_add() by g_idle_add()
1047         https://bugs.webkit.org/show_bug.cgi?id=123260
1048
1049         Reviewed by Carlos Garcia Campos.
1050
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.
1053
1054         * WebCoreSupport/ChromeClientGtk.cpp: Use g_idle_add() instead
1055         of 0-timer.
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):
1062
1063 2013-10-21  Zan Dobersek  <zdobersek@igalia.com>
1064
1065         [GTK] g-ir-scanner should use the configured C compiler
1066         https://bugs.webkit.org/show_bug.cgi?id=123088
1067
1068         Reviewed by Carlos Garcia Campos.
1069
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.
1073
1074 2013-10-17  Andreas Kling  <akling@apple.com>
1075
1076         Massage the Gtk build.
1077
1078         * WebCoreSupport/EditorClientGtk.cpp:
1079         (WebKit::EditorClient::shouldApplyStyle):
1080
1081 2013-10-16  Jochen Eisinger  <jochen@chromium.org>
1082
1083         A page should exit fullscreen mode if it opens a new popup
1084         https://bugs.webkit.org/show_bug.cgi?id=122865
1085
1086         Reviewed by Jer Noble.
1087
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.
1091
1092         * WebCoreSupport/ChromeClientGtk.cpp:
1093         (WebKit::ChromeClient::createWindow):
1094
1095 2013-10-09  Mario Sanchez Prada  <mario.prada@samsung.com>
1096
1097         [ATK] Implement new API in AtkText: atk_text_get_string_at_offset()
1098         https://bugs.webkit.org/show_bug.cgi?id=120638
1099
1100         Reviewed by Gustavo Noronha Silva.
1101
1102         Update ATK unit test to check the new API as well if the version
1103         of ATK is new enough.
1104
1105         * tests/testatk.c:
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.
1120
1121 2013-10-07  Sam Weinig  <sam@webkit.org>
1122
1123         Consolidate findString functions
1124         https://bugs.webkit.org/show_bug.cgi?id=122480
1125
1126         Reviewed by Darin Adler.
1127
1128         * webkit/webkitwebview.cpp:
1129         (webkit_web_view_search_text):
1130
1131 2013-10-07  Sam Weinig  <sam@webkit.org>
1132
1133         CTTE: Use references in and around DragController
1134         https://bugs.webkit.org/show_bug.cgi?id=122427
1135
1136         Reviewed by Andreas Kling.
1137
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):
1149
1150 2013-10-04  Philippe Normand  <pnormand@igalia.com>
1151
1152         [GTK] UserMediaClientGtk needs API update
1153         https://bugs.webkit.org/show_bug.cgi?id=122324
1154
1155         Reviewed by Martin Robinson.
1156
1157         Update UserMediaClientGtk API after changes made in the parent
1158         class in r156473.
1159
1160         * WebCoreSupport/UserMediaClientGtk.cpp:
1161         (WebKit::UserMediaClientGtk::requestPermission):
1162         (WebKit::UserMediaClientGtk::cancelRequest):
1163         * WebCoreSupport/UserMediaClientGtk.h:
1164
1165 2013-10-05  Zan Dobersek  <zdobersek@igalia.com>
1166
1167         Unreviewed GTK build fix after r156946. The framePolicyFunction is an attribute
1168         on the WebKitWebPolicyDecisionPrivate object.
1169
1170         * webkit/webkitwebpolicydecision.cpp:
1171         (webkit_web_policy_decision_use):
1172         (webkit_web_policy_decision_ignore):
1173         (webkit_web_policy_decision_download):
1174
1175 2013-10-04  Darin Adler  <darin@apple.com>
1176
1177         text-transform: lowercase is not lang-dependent (Turkish languages : tr,az)
1178         https://bugs.webkit.org/show_bug.cgi?id=21312
1179
1180         Reviewed by Ryosuke Niwa.
1181
1182         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
1183         (DumpRenderTreeSupportGtk::doCommand): Use StringImpl::upper instead of
1184         StringImpl::makeUpper.
1185
1186 2013-10-04  Anders Carlsson  <andersca@apple.com>
1187
1188         FramePolicyFunction should be an std::function
1189         https://bugs.webkit.org/show_bug.cgi?id=122362
1190
1191         Reviewed by Darin Adler.
1192
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):
1202
1203 2013-10-03  Sam Weinig  <sam@webkit.org>
1204
1205         Remove shouldRubberBandInDirection from the WKBundlePageUIClient
1206         https://bugs.webkit.org/show_bug.cgi?id=122309
1207
1208         Reviewed by Andreas Kling.
1209
1210         * WebCoreSupport/ChromeClientGtk.h:
1211
1212 2013-10-01  Sam Weinig  <sam@webkit.org>
1213
1214         CTTE: DOMWrapperWorlds should be passed around by reference
1215         https://bugs.webkit.org/show_bug.cgi?id=122206
1216
1217         Reviewed by Andreas Kling.
1218
1219         * WebCoreSupport/FrameLoaderClientGtk.cpp:
1220         (WebKit::FrameLoaderClient::dispatchDidClearWindowObjectInWorld):
1221         * WebCoreSupport/FrameLoaderClientGtk.h:
1222
1223 2013-09-30  Benjamin Poulain  <benjamin@webkit.org>
1224
1225         Remove the code guarded by STYLE_SCOPED
1226         https://bugs.webkit.org/show_bug.cgi?id=122123
1227
1228         Reviewed by Anders Carlsson.
1229
1230         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
1231         * WebCoreSupport/DumpRenderTreeSupportGtk.h:
1232
1233 2013-09-28  Darin Adler  <darin@apple.com>
1234
1235         Add Frame::mainFrame and Frame::isMainFrame
1236         https://bugs.webkit.org/show_bug.cgi?id=122064
1237
1238         Reviewed by Andreas Kling.
1239
1240         * WebCoreSupport/FrameLoaderClientGtk.cpp:
1241         (WebKit::FrameLoaderClient::assignIdentifierToInitialRequest):
1242         Call isMainFrame.
1243
1244 2013-09-28  Philippe Normand  <pnormand@igalia.com>
1245
1246         Unreviewed GTK build fix after r156560.
1247
1248         * WebCoreSupport/AcceleratedCompositingContext.h:
1249
1250 2013-09-26  Darin Adler  <darin@apple.com>
1251
1252         rename KURL to URL
1253         https://bugs.webkit.org/show_bug.cgi?id=16214
1254
1255         Reviewed by Andreas Kling.
1256
1257         * many files: Renamed, using script.
1258
1259 2013-09-27  Darin Adler  <darin@apple.com>
1260
1261         Add empty MainFrame class
1262         https://bugs.webkit.org/show_bug.cgi?id=121770
1263
1264         Reviewed by Andreas Kling.
1265
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.
1274
1275 2013-09-25  Brent Fulgham  <bfulgham@apple.com>
1276
1277         Refactor RuntimeEnabledFeatures as a Singleton.
1278         https://bugs.webkit.org/show_bug.cgi?id=121883.
1279
1280         Reviewed by Jer Noble.
1281
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.
1290
1291 2013-09-24  Lorenzo Tilve  <ltilve@igalia.com>
1292
1293         [GTK] Fix compilation problems when setting ENABLE_DRAG_SUPPORT = FALSE
1294         https://bugs.webkit.org/show_bug.cgi?id=121782
1295
1296         Reviewed by Martin Robinson.
1297
1298         Disabled drag functions.
1299
1300         * WebCoreSupport/DragClientGtk.cpp:
1301         * WebCoreSupport/DragClientGtk.h:
1302
1303 2013-09-24  Zan Dobersek  <zdobersek@igalia.com>
1304
1305         [GTK] Fix accelerated compositing disabling under Wayland displays
1306         https://bugs.webkit.org/show_bug.cgi?id=121788
1307
1308         Reviewed by Gustavo Noronha Silva.
1309
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.
1314
1315 2013-09-22  Zan Dobersek  <zdobersek@igalia.com>
1316
1317         Unreviewed, GTK build fix when building with GTK+ 2.0.
1318         Patch provided by Dominique Leuenberger <dimstar@opensuse.org>.
1319
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.
1322
1323 2013-09-20  Mario Sanchez Prada  <mario.prada@samsung.com>
1324
1325         [ATK] Do not expose aria-help in ATK based platforms
1326         https://bugs.webkit.org/show_bug.cgi?id=121675
1327
1328         Reviewed by Chris Fleizach.
1329
1330         Removed accessibilityHelpText() helper method from
1331         DumpRenderSupportGtk's API, since it's not longer needed.
1332
1333         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp: Removed method.
1334         * WebCoreSupport/DumpRenderTreeSupportGtk.h: Ditto.
1335
1336 2013-09-16  Enrica Casucci  <enrica@apple.com>
1337
1338         Remove unused function didSetSelectionTypesForPasteboard from EditorClient.
1339         https://bugs.webkit.org/show_bug.cgi?id=121464
1340
1341         Reviewed by Darin Adler.
1342
1343         * WebCoreSupport/EditorClientGtk.cpp:
1344         * WebCoreSupport/EditorClientGtk.h:
1345
1346 2013-09-16  Gustavo Noronha Silva  <gns@gnome.org>
1347
1348         [GTK] Make symbol export filter more strict, and disable for dev/test builds
1349         https://bugs.webkit.org/show_bug.cgi?id=120586
1350
1351         Reviewed by Martin Robinson.
1352
1353         * GNUmakefile.am: only use the version script when in developer mode..
1354
1355 2013-09-14  Alberto Garcia  <berto@igalia.com>
1356
1357         [GTK] WebKitGTK+ is linking against libxslt in too many places
1358         https://bugs.webkit.org/show_bug.cgi?id=121356
1359
1360         Reviewed by Martin Robinson.
1361
1362         Don't use LIBXSLT_CFLAGS when compiling libwebkitgtk, no source
1363         files use libxslt there.
1364
1365         The webkit tests don't use libxslt, so we shouldn't link against
1366         it.
1367
1368         * GNUmakefile.am:
1369
1370 2013-09-13  Gustavo Noronha Silva  <gustavo.noronha@collabora.com>
1371
1372         [GTK] Move to the new web inspector
1373         https://bugs.webkit.org/show_bug.cgi?id=120647
1374
1375         Reviewed by Carlos Garcia Campos.
1376
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.
1385
1386 2013-09-13  Alberto Garcia  <berto@igalia.com>
1387
1388         download-requested arg should be WEBKIT_TYPE_DOWNLOAD not G_TYPE_OBJECT
1389         https://bugs.webkit.org/show_bug.cgi?id=57634
1390
1391         Reviewed by Darin Adler.
1392
1393         * webkit/webkitwebview.cpp:
1394         (webkit_web_view_class_init):
1395
1396 2013-09-12  Zan Dobersek  <zdobersek@igalia.com>
1397
1398         [GTK][WK1] Block accelerated compositing under non-X11 displays
1399         https://bugs.webkit.org/show_bug.cgi?id=121165
1400
1401         Reviewed by Martin Robinson.
1402
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.
1405
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.
1421
1422 2013-09-11  Mario Sanchez Prada  <mario.prada@samsung.com>
1423
1424         [GTK] Remove Gail dependency from build system for GTK3
1425         https://bugs.webkit.org/show_bug.cgi?id=119673
1426
1427         Reviewed by Gustavo Noronha Silva.
1428
1429         * GNUmakefile.am: Removed GAIL_CFLAGS and GAIL_LIBS.
1430
1431 2013-09-10  Mario Sanchez Prada  <mario.prada@samsung.com>
1432
1433         [GTK] Reimplement atk_text_get_text_*_offset for LINE boundaries
1434         https://bugs.webkit.org/show_bug.cgi?id=114872
1435
1436         Reviewed by Gustavo Noronha Silva.
1437
1438         Fixed wrong unit test.
1439
1440         * tests/testatk.c:
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.
1448
1449 2013-09-11  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
1450
1451         Generate more HTML type checks and casting
1452         https://bugs.webkit.org/show_bug.cgi?id=121080
1453
1454         Reviewed by Andreas Kling.
1455
1456         Clean-up remained functions of HTML elements using auto-generated isFooElement(),
1457         and replace toFooElement() with ELEMENT_TYPE_CASTS() macro.
1458
1459         Besides this patch clean-up unnecessary checks which are being supported by
1460         auto-generated isFooElement().
1461
1462         No new tests, no behavior change.
1463
1464         * WebCoreSupport/ChromeClientGtk.cpp:
1465         (WebKit::ChromeClient::supportsFullscreenForNode):
1466
1467 2013-09-04  Zan Dobersek  <zdobersek@igalia.com>
1468
1469         [GTK] Add support for the Wayland build target
1470         https://bugs.webkit.org/show_bug.cgi?id=120627
1471
1472         Reviewed by Gustavo Noronha Silva.
1473
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.
1478
1479 2013-09-02  Brian Holt  <brian.holt@samsung.com>
1480
1481         [ATK] Leak: Leaks in testatk.c
1482         https://bugs.webkit.org/show_bug.cgi?id=118675
1483
1484         Reviewed by Mario Sanchez Prada.
1485
1486         Fixed memory leaks by matching ref calls with unrefs.
1487
1488         * tests/testatk.c:
1489         (testWebkitAtkCaretOffsets):
1490         (testWebkitAtkCaretOffsetsAndExtranousWhiteSpaces):
1491         (testWebkitAtkGetTextAtOffset):
1492         (testWebkitAtkGetTextAtOffsetNewlines):
1493         (testWebkitAtkGetTextAtOffsetTextarea):
1494         (testWebkitAtkGetTextAtOffsetTextInput):
1495         (testWebkitAtkGetTextInParagraphAndBodySimple):
1496         (testWebkitAtkGetTextInParagraphAndBodyModerate):
1497         (testWebkitAtkTextAttributes):
1498         (testWebkitAtkTextSelections):
1499         (testWebkitAtkListsOfItems):
1500
1501 2013-08-29  Zan Dobersek  <zdobersek@igalia.com>
1502
1503         [Automake] libWebCoreDOM.la could use a better name
1504         https://bugs.webkit.org/show_bug.cgi?id=120232
1505
1506         Reviewed by Martin Robinson.
1507
1508         * GNUmakefile.am: libWebCoreDOM has a new name - libGObjectDOMBindings.
1509
1510 2013-08-29  Arnaud Renevier  <a.renevier@samsung.com>
1511
1512         [cairo] canvas drawing on itself doesn't work with accelerated canvas
1513         https://bugs.webkit.org/show_bug.cgi?id=118808
1514
1515         Reviewed by Martin Robinson.
1516
1517         Change cairoImageSurfaceToGdkPixbuf to cairoSurfaceToGdkPixbuf.
1518
1519         * webkit/webkitfavicondatabase.cpp:
1520         (getIconPixbufSynchronously):
1521
1522 2013-08-26  Zan Dobersek  <zdobersek@igalia.com>
1523
1524         Unreviewed GTK build fix.
1525
1526         * WebCoreSupport/FrameLoaderClientGtk.cpp:
1527         (WebKit::FrameLoaderClient::FrameLoaderClient): Remove an assertion that was not removed in r154658.
1528
1529 2013-08-26  Ryosuke Niwa  <rniwa@webkit.org>
1530
1531         Another GTK+ build fix.
1532
1533         * WebCoreSupport/FrameLoaderClientGtk.cpp:
1534
1535 2013-08-26  Ryosuke Niwa  <rniwa@webkit.org>
1536
1537         GTK+ build fix. Like r154620.
1538
1539         * webkit/webkitwebframe.cpp:
1540         (webkit_web_frame_new):
1541
1542 2013-08-26  Pratik Solanki  <psolanki@apple.com>
1543
1544         PageGroup::groupSettings() should return a reference
1545         https://bugs.webkit.org/show_bug.cgi?id=120319
1546
1547         Reviewed by Andreas Kling.
1548
1549         PageGroup::m_groupSettings is never NULL so we can just return a reference from groupSettings().
1550
1551         * webkit/webkitwebdatabase.cpp:
1552         (webkit_set_web_database_directory_path):
1553
1554 2013-08-26  Andreas Kling  <akling@apple.com>
1555
1556         WebCore: Let Page create the main Frame.
1557         <https://webkit.org/b/119964>
1558
1559         Tweak WebKit1/GTK for changes in WebCore.
1560
1561         Patch by Zan Dobersek <zdobersek@igalia.com>
1562         Reviewed by Gustavo Noronha Silva.
1563
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):
1570
1571 2013-08-24  Darin Adler  <darin@apple.com>
1572
1573         Frame::tree should return a reference instead of a pointer
1574         https://bugs.webkit.org/show_bug.cgi?id=120259
1575
1576         Reviewed by Andreas Kling.
1577
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()->.
1590
1591 2013-08-21  Zan Dobersek  <zdobersek@igalia.com>
1592
1593         <https://webkit.org/b/119836> [GTK] ChromeClient::paint is susceptible to system time changes
1594
1595         Reviewed by Martin Robinson.
1596
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.
1600
1601         * WebCoreSupport/ChromeClientGtk.cpp:
1602         (WebKit::ChromeClient::paint):
1603
1604 2013-08-19  Pratik Solanki  <psolanki@apple.com>
1605
1606         <https://webkit.org/b/119918> Frame::selection() should return a reference
1607
1608         Reviewed by Darin Adler.
1609
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.
1612
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):
1626
1627 2013-08-17  Darin Adler  <darin@apple.com>
1628
1629         <https://webkit.org/b/119941> Make Page::dragController return a reference
1630
1631         Reviewed by Andreas Kling.
1632
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):
1638         Updated call sites.
1639
1640 2013-08-16  Pratik Solanki  <psolanki@apple.com>
1641
1642         <https://webkit.org/b/119852> Frame::scriptController() should return a reference
1643
1644         Reviewed by Andreas Kling.
1645
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.
1648
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):
1655
1656 2013-08-15  Zan Dobersek  <zdobersek@igalia.com>
1657
1658         Unreviewed GTK build fix for debug configurations.
1659
1660         * webkit/webkitwebframe.cpp:
1661         (WebKit::kit): Remove the bogus assertion for Frame::loader() that now returns a reference.
1662
1663 2013-08-15  Anders Carlsson  <andersca@apple.com>
1664
1665         <https://webkit.org/b/119859> Frame::loader() should return a reference
1666
1667         Reviewed by Andreas Kling.
1668
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):
1691         (WebKit::kit):
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):
1705
1706 2013-08-15  Simon Pena  <simon.pena@samsung.com>
1707
1708         <https://webkit.org/b/119584> [Gtk] URL printing code in DumpRenderTree doesn't match WTR or Mac DRT
1709
1710         Reviewed by Gustavo Noronha Silva.
1711
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)".
1716
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.
1721
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.
1732
1733 2013-08-13  Xabier Rodriguez Calvar  <calvaris@igalia.com>
1734
1735         [GTK] WK does not link properly against libxslt
1736         https://bugs.webkit.org/show_bug.cgi?id=119688
1737
1738         Reviewed by Gustavo Noronha Silva.
1739
1740         * GNUmakefile.am: Added LIBXSLT_LIBS to the unit tests.
1741
1742 2013-08-13  Alberto Garcia  <berto@igalia.com>
1743
1744         [GTK] Closing inspector window crashes wk
1745         https://bugs.webkit.org/show_bug.cgi?id=110865
1746
1747         Reviewed by Carlos Garcia Campos.
1748
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.
1752
1753         * webkit/webkitwebview.cpp:
1754         (webkit_web_view_dispose):
1755
1756 2013-08-13  Alberto Garcia  <berto@igalia.com>
1757
1758         [GTK] Closing inspector window crashes wk
1759         https://bugs.webkit.org/show_bug.cgi?id=110865
1760
1761         Reviewed by Carlos Garcia Campos.
1762
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.
1767
1768         The solution is to wait until webkit_web_view_dispose finishes
1769         before deleting priv->corePage.
1770
1771         * webkit/webkitwebview.cpp:
1772         (webkit_web_view_dispose):
1773
1774 2013-08-12  Anton Obzhirov  <a.obzhirov@samsung.com>
1775
1776         [GTK] Don't load GAIL when using GTK 3.2 or greater
1777         https://bugs.webkit.org/show_bug.cgi?id=72735
1778
1779         Reviewed by Carlos Garcia Campos.
1780
1781         * tests/testatk.c:
1782         (initializeTestingFramework):
1783         (main):
1784
1785 2013-08-11  Carlos Garcia Campos  <cgarcia@igalia.com>
1786
1787         Unreviewed. Update NEWS and Versions.m4 for 2.1.4 release.
1788
1789         * NEWS: Update release notes.
1790
1791 2013-08-09  Alexey Proskuryakov  <ap@apple.com>
1792
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
1795
1796         Reviewed by Darin Adler.
1797
1798         * WebCoreSupport/ChromeClientGtk.cpp: (WebKit::ChromeClient::setWindowRect):
1799         Once again, the passed rect cannot be empty.
1800
1801 2013-07-27  Mark Rowe  <mrowe@apple.com>
1802
1803         Logging should be configurable using human-readable channel names rather than crazy bitmasks
1804         <http://webkit.org/b/119031>
1805
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.
1808
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.
1813
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.
1818
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.
1821
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.
1824
1825         Reviewed by Sam Weinig.
1826
1827         * webkit/webkitglobals.cpp: Switch from WebCore's InitializeLogging.h to Logging.h.
1828
1829 2013-08-02  Mario Sanchez Prada  <mario.prada@samsung.com>
1830
1831         Implement atk_text_get_text_*_offset for WORD
1832         https://bugs.webkit.org/show_bug.cgi?id=114871
1833
1834         Reviewed by Martin Robinson.
1835
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.
1838
1839         * tests/testatk.c:
1840         (testWebkitAtkGetTextAtOffsetWithEmbeddedObjects): New.
1841         (main): Added new test to the test suite.
1842
1843 2013-07-30  Carlos Garcia Campos  <cgarcia@igalia.com>
1844
1845         Unreviewed. Update NEWS and Versions.m4 for 2.1.4 release.
1846
1847         * NEWS: Added release notes for 2.1.4.
1848
1849 2013-07-29  Mario Sanchez Prada  <mario.prada@samsung.com>
1850
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
1853
1854         Reviewed by Martin Robinson.
1855
1856         * tests/testatk.c:
1857         (runGetTextTests): Updated unit tests to check more cases of
1858         calling the atk_text_get_text_*_offset() functions for WORD.
1859
1860 2013-07-25  Andreas Kling  <akling@apple.com>
1861
1862         ChromeClient::focusedNodeChanged() should be focusedElementChanged().
1863         <http://webkit.org/b/119110>
1864
1865         Reviewed by Anders Carlsson.
1866
1867         * WebCoreSupport/ChromeClientGtk.cpp:
1868         (WebKit::ChromeClient::focusedElementChanged):
1869         * WebCoreSupport/ChromeClientGtk.h:
1870
1871 2013-07-23  Carlos Garcia Campos  <cgarcia@igalia.com>
1872
1873         [GTK] GtkAdjustmentWatcher idle source not correctly handled
1874         https://bugs.webkit.org/show_bug.cgi?id=119003
1875
1876         Reviewed by Martin Robinson.
1877
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.
1889
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:
1896
1897 2013-07-17  Kangil Han  <kangil.han@samsung.com>
1898
1899         Use toHTMLMediaElement
1900         https://bugs.webkit.org/show_bug.cgi?id=118727
1901
1902         Reviewed by Ryosuke Niwa.
1903
1904         To avoid direct use of static_cast, this patch uses toHTMLMediaElement for code cleanup.
1905
1906         * WebCoreSupport/ChromeClientGtk.cpp:
1907         (WebKit::ChromeClient::enterFullscreenForNode):
1908         (WebKit::ChromeClient::exitFullscreenForNode):
1909         (WebKit::ChromeClient::enterFullScreenForElement):
1910         (WebKit::ChromeClient::exitFullScreenForElement):
1911
1912 2013-07-09  Carlos Garcia Campos  <cgarcia@igalia.com>
1913
1914         Unreviewed. Update NEWS and Versions.m4 for 2.1.3 release.
1915
1916         * NEWS: Added release notes for 2.1.3.
1917
1918 2013-07-08  Carlos Garcia Campos  <cgarcia@igalia.com>
1919
1920         [GTK] webkit_set_cache_model is not turning the cache off
1921         https://bugs.webkit.org/show_bug.cgi?id=118345
1922
1923         Reviewed by Gustavo Noronha Silva.
1924
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.
1930
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.
1934
1935 2013-07-08  Brian Holt  <brian.holt@samsung.com>
1936
1937         [GTK] FrameLoaderClient: Refactor naked pointers to use smart pointers
1938         https://bugs.webkit.org/show_bug.cgi?id=118417
1939
1940         Reviewed by Carlos Garcia Campos.
1941
1942         Use GOwnPtr and GRefPtr where possible.
1943
1944         * WebCoreSupport/FrameLoaderClientGtk.cpp:
1945         (WebKit::FrameLoaderClient::dispatchDidFailLoad):
1946
1947 2013-07-04  Mario Sanchez Prada  <mario.prada@samsung.com>
1948
1949         [ATK] Do not expose '\n' for wrapped lines with ATK_TEXT_BOUNDARY_CHAR
1950         https://bugs.webkit.org/show_bug.cgi?id=118359
1951
1952         Reviewed by Carlos Garcia Campos.
1953
1954         Added new unit test to make sure we exposed line breaks properly.
1955
1956         * tests/testatk.c:
1957         (testWebkitAtkGetTextAtOffsetWithWrappedLines): New unit test.
1958         (main): Added new test to the test suite.
1959
1960 2013-07-01  Gustavo Noronha Silva  <gustavo.noronha@collabora.com>
1961
1962         [GTK] Remove unsupported AC backends
1963         https://bugs.webkit.org/show_bug.cgi?id=117362
1964
1965         Reviewed by Martin Robinson.
1966
1967         * GNUmakefile.am:
1968         * WebCoreSupport/AcceleratedCompositingContext.h: removed clutter and cairo
1969         additions.
1970         * WebCoreSupport/AcceleratedCompositingContextCairo.cpp: Removed.
1971         * WebCoreSupport/AcceleratedCompositingContextClutter.cpp: Removed.
1972         * webkit/webkitglobals.cpp:
1973         (webkitInit): removed clutter-gtk initialization.
1974
1975 2013-07-01  ChangSeok Oh  <changseok.oh@collabora.com>
1976
1977         [GTK] Use PassOwnPtr for the returned value of createBackingStore
1978         https://bugs.webkit.org/show_bug.cgi?id=118230
1979
1980         Reviewed by Andreas Kling.
1981
1982         It would be better that createBackingStore returns PassOwnPtr instread of OwnPtr
1983         to keep compatibility with c++0x.
1984
1985         * WebCoreSupport/ChromeClientGtk.cpp:
1986         (WebKit::createBackingStore):
1987
1988 2013-06-28  Iago Toral Quiroga  <itoral@igalia.com>
1989
1990         Use gtk_widget_get_preferred_size instead of deprecated gtk_widget_get_requisition
1991         https://bugs.webkit.org/show_bug.cgi?id=118177
1992
1993         Reviewed by Carlos Garcia Campos.
1994
1995         * WebCoreSupport/ChromeClientGtk.cpp:
1996         (WebKit::ChromeClient::contentsSizeChanged):
1997
1998 2013-06-27  Iago Toral Quiroga  <itoral@igalia.com>
1999
2000         Use consistent file names for WidgetBackingStoreGtkX11 class
2001         https://bugs.webkit.org/show_bug.cgi?id=118124
2002
2003         Reviewed by Carlos Garcia Campos.
2004
2005         * WebCoreSupport/ChromeClientGtk.cpp:
2006
2007 2013-06-21  Christophe Dumez  <ch.dumez@sisa.samsung.com>
2008
2009         REGRESSION (r150663): Using webkitAudioContext in Inspector makes it undefined everywhere
2010         https://bugs.webkit.org/show_bug.cgi?id=117825
2011
2012         Reviewed by Kentaro Hara.
2013
2014         Use Settings to enable Web Audio instead of RuntimeEnabledFeatures.
2015
2016         * webkit/webkitwebview.cpp:
2017         (webkit_web_view_update_settings):
2018         (webkit_web_view_settings_notify):
2019
2020 2013-06-18  Carlos Garcia Campos  <cgarcia@igalia.com>
2021
2022         Unreviewed. Update NEWS and Versions.m4 for 2.1.2 release.
2023
2024         * NEWS: Added release notes for 2.1.2.
2025
2026 2013-06-17  Grzegorz Czajkowski  <g.czajkowski@samsung.com>
2027
2028         Unreviewed, rolling out r151632.
2029         http://trac.webkit.org/changeset/151632
2030         https://bugs.webkit.org/show_bug.cgi?id=117585
2031
2032         Debug build error ASSERT(WTF_USE_GRAMMAR_CHECKING) for non MAC
2033         platforms
2034
2035         * webkit/webkitglobals.cpp:
2036         (webkit_context_menu_item_get_action):
2037
2038 2013-06-14  Grzegorz Czajkowski  <g.czajkowski@samsung.com>
2039
2040         Context menu grammar checking items are available when GRAMMAR_CHECKING macro is off
2041         https://bugs.webkit.org/show_bug.cgi?id=117585
2042
2043         Reviewed by Anders Carlsson.
2044
2045         Add GRAMMAR_CHECKING guard to the context menu grammar items.
2046
2047         * webkit/webkitglobals.cpp:
2048         (webkit_context_menu_item_get_action):
2049
2050 2013-06-12  Diego Pino Garcia  <dpino@igalia.com>
2051
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
2054
2055         Reviewed by Xan Lopez.
2056
2057         Add test for function 'webkit_dom_dom_window_get_computed_style'.
2058
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'.
2064         (loadedCallback):
2065         (test_dom_dom_window_get_computed_style): Checks function
2066         'dom_dom_window_get_computed_style'.
2067         (main):
2068
2069 2013-06-10  Iago Toral Quiroga  <itoral@igalia.com>
2070
2071         Use Cairo implementation of the WidgetBackingStore instead of X11 when running on Wayland
2072         https://bugs.webkit.org/show_bug.cgi?id=116717
2073
2074         Reviewed by Martin Robinson.
2075
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.
2079
2080         * WebCoreSupport/ChromeClientGtk.cpp:
2081         (WebKit::createBackingStore):
2082         (WebKit):
2083         (WebKit::ChromeClient::widgetSizeChanged):
2084         (WebKit::ChromeClient::attachRootGraphicsLayer):
2085
2086 2013-06-06  Diego Pino Garcia  <dpino@igalia.com>
2087
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
2090
2091         Reviewed by Xan Lopez.
2092
2093         Add test for function 'webkit_dom_node_insert_before'.
2094
2095         * tests/testdomnode.c: Checks function dom_document_node_insert_before
2096         (test_dom_node_insertion):
2097
2098 2013-06-06  Diego Pino Garcia  <dpino@igalia.com>
2099
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
2102
2103         Reviewed by Xan Lopez.
2104
2105         Add test for function 'webkit_dom_document_evaluate'.
2106
2107         * tests/testdomdocument.c:
2108         (test_dom_document_evaluate): Checks function dom_document_evaluate,
2109         executes an XPath expression on a HTML document.
2110         (main): 
2111
2112 2013-06-05  Alberto Garcia  <agarcia@igalia.com>
2113
2114         [GTK] AcceleratedCompositingContext: fix layerFlushTimerFiredCallback condition
2115         https://bugs.webkit.org/show_bug.cgi?id=117258
2116
2117         Reviewed by Martin Robinson.
2118
2119         The expressions were incorrectly grouped, a timeout handler can
2120         only be added only if there's none running already.
2121
2122         * WebCoreSupport/AcceleratedCompositingContextGL.cpp:
2123         (WebKit::AcceleratedCompositingContext::renderLayersToWindow):
2124
2125 2013-06-04  Alberto Garcia  <agarcia@igalia.com>
2126
2127         [GTK] Make precedence of logical operators explicit
2128         https://bugs.webkit.org/show_bug.cgi?id=117216
2129
2130         Reviewed by Martin Robinson.
2131
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.
2135
2136         * WebCoreSupport/AcceleratedCompositingContextGL.cpp:
2137         (WebKit::AcceleratedCompositingContext::renderLayersToWindow):
2138         * WebCoreSupport/ChromeClientGtk.cpp:
2139         (WebKit::ChromeClient::contentsSizeChanged):
2140
2141 2013-05-30  Enrique Ocana Gonzalez  <eocanha@igalia.com>
2142
2143         [GTK] Fix pass_by_value coverity warning in ChromeClientGtk
2144         https://bugs.webkit.org/show_bug.cgi?id=117021
2145
2146         Reviewed by Anders Carlsson.
2147
2148         Pass dirtyRegion parameter in paintWebView() by reference to avoid object copying.
2149
2150         * WebCoreSupport/ChromeClientGtk.cpp:
2151         (WebKit::paintWebView):
2152
2153 2013-05-29  Carlos Garcia Campos  <cgarcia@igalia.com>
2154
2155         Unreviewed. Update NEWS and Versions.m4 for 2.1.1 release.
2156
2157         * NEWS: Added release notes for 2.1.1.
2158
2159 2013-05-28  Andreas Kling  <akling@apple.com>
2160
2161         Document::setFocusedNode() should be setFocusedElement().
2162         <http://webkit.org/b/116857>
2163
2164         Reviewed by Antti Koivisto.
2165
2166         * webkit/webkitwebview.cpp:
2167         (getFocusedNode):
2168
2169 2013-05-24  Christophe Dumez  <ch.dumez@sisa.samsung.com>
2170
2171         Remove custom code for webkitAudioContext global constructor getter
2172         https://bugs.webkit.org/show_bug.cgi?id=116530
2173
2174         Reviewed by Geoffrey Garen.
2175
2176         Use RuntimeEnabledFeatures instead of Settings to toggle Web Audio support.
2177
2178         * webkit/webkitwebview.cpp:
2179         (webkit_web_view_update_settings):
2180         (webkit_web_view_settings_notify):
2181
2182 2013-05-19  Anders Carlsson  <andersca@apple.com>
2183
2184         Remove ChromeClient::webView()
2185         https://bugs.webkit.org/show_bug.cgi?id=116054
2186
2187         Reviewed by Darin Adler.
2188
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.
2191
2192         * WebCoreSupport/ChromeClientGtk.h:
2193         (ChromeClient):
2194
2195 2013-05-18  Carlos Garcia Campos  <cgarcia@igalia.com>
2196
2197         [GTK] Move GTK port off legacy clipboard
2198         https://bugs.webkit.org/show_bug.cgi?id=116221
2199
2200         Reviewed by Martin Robinson.
2201
2202         * WebCoreSupport/DragClientGtk.cpp:
2203         (WebKit::DragClient::startDrag): Get the DataObjectGtk from the
2204         Pasteboard associated to the given Clipboard.
2205
2206 2013-05-17  Gustavo Noronha Silva  <gustavo.noronha@collabora.com>
2207
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.
2210
2211         * webkit/webkitwebview.cpp:
2212         (WebKit::kit):
2213
2214 2013-05-16  Andreas Kling  <akling@apple.com>
2215
2216         Page::chrome() should return a reference.
2217         <http://webkit.org/b/116185>
2218
2219         Reviewed by Anders Carlsson.
2220
2221 2013-05-16  Martin Robinson  <mrobinson@igalia.com>
2222
2223         [GTK] Documentation for WEBKIT_DEBUG logging channels is out of date
2224         https://bugs.webkit.org/show_bug.cgi?id=114764
2225
2226         Reviewed by Gustavo Noronha Silva.
2227
2228         * docs/webkitenvironment.xml: Update documentation to reflect current list of
2229         logging channels.
2230
2231 2013-05-16  Allan Sandfeld Jensen  <allan.jensen@digia.com>
2232
2233         [GTK] TargetFrame and innerNodeFrame confused
2234         https://bugs.webkit.org/show_bug.cgi?id=102907
2235
2236         Reviewed by Martin Robinson.
2237
2238         * webkit/webkithittestresult.cpp:
2239         (WebKit::kit):
2240
2241 2013-05-15  Anders Carlsson  <andersca@apple.com>
2242
2243         Fix build.
2244
2245         * webkit/webkitwebview.cpp:
2246         (webkitWebViewDirectionChanged):
2247
2248 2013-05-13  Anders Carlsson  <andersca@apple.com>
2249
2250         Frame::editor() should return a reference
2251         https://bugs.webkit.org/show_bug.cgi?id=116037
2252
2253         Reviewed by Darin Adler.
2254
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):
2289
2290 2013-05-14  Zan Dobersek  <zdobersek@igalia.com>
2291
2292         [GTK] Move generated ColorData.cpp, WebKitFontFamilyNames.(cpp|h) build targets into libPlatform
2293         https://bugs.webkit.org/show_bug.cgi?id=115921
2294
2295         Reviewed by Gustavo Noronha Silva.
2296
2297         * GNUmakefile.am: Add platform_cppflags to the list of CPPFLAGS for libwebkit2gtk, libWebCoreGtk2,
2298         libPlatformGtk2 and WebKitPluginProcess.
2299
2300 2013-05-12  Timothy Hatcher  <timothy@apple.com>
2301
2302         Add support for updating the Web Inspector toolbar height.
2303
2304         https://bugs.webkit.org/show_bug.cgi?id=115996
2305
2306         Reviewed by Joseph Pecoraro and Benjamin Poulain.
2307
2308         * WebCoreSupport/InspectorClientGtk.cpp:
2309         (WebKit::InspectorFrontendClient::setToolbarHeight):
2310         * WebCoreSupport/InspectorClientGtk.h:
2311
2312 2013-05-12  Anders Carlsson  <andersca@apple.com>
2313
2314         Stop including UnusedParam.h
2315         https://bugs.webkit.org/show_bug.cgi?id=116003
2316
2317         Reviewed by Sam Weinig.
2318
2319         UnusedParam.h is empty now so there's no need to include it anymore.
2320
2321         * webkit/webkitapplicationcache.cpp:
2322
2323 2013-05-12  Carlos Garcia Campos  <cgarcia@igalia.com>
2324
2325         [GTK] Remove unnecessary GTK_CHECK_VERSION #ifdefs
2326         https://bugs.webkit.org/show_bug.cgi?id=115914
2327
2328         Reviewed by Martin Robinson.
2329
2330         * WebCoreSupport/ChromeClientGtk.cpp:
2331         (WebKit::ChromeClient::contentsSizeChanged):
2332         * WebCoreSupport/FrameLoaderClientGtk.cpp:
2333         (WebKit::FrameLoaderClient::transitionToCommittedForNewPage):
2334         * tests/testapplicationcache.c:
2335         * tests/testatk.c:
2336         * tests/testatkroles.c:
2337         (main):
2338         * tests/testcontextmenu.c:
2339         * tests/testcopyandpaste.c:
2340         (main):
2341         * tests/testdomdocument.c:
2342         * tests/testdomdomwindow.c:
2343         * tests/testdomnode.c:
2344         * tests/testdownload.c:
2345         (main):
2346         * tests/testfavicondatabase.c:
2347         (main):
2348         * tests/testglobals.c:
2349         * tests/testhittestresult.c:
2350         * tests/testhttpbackend.c:
2351         (main):
2352         * tests/testkeyevents.c:
2353         (main):
2354         * tests/testloading.c:
2355         * tests/testmimehandling.c:
2356         (main):
2357         * tests/testnetworkrequest.c:
2358         (main):
2359         * tests/testnetworkresponse.c:
2360         (main):
2361         * tests/testwebbackforwardlist.c:
2362         (main):
2363         * tests/testwebdatasource.c:
2364         (main):
2365         * tests/testwebframe.c:
2366         (main):
2367         * tests/testwebhistoryitem.c:
2368         (main):
2369         * tests/testwebinspector.c:
2370         (main):
2371         * tests/testwebplugindatabase.c:
2372         (main):
2373         * tests/testwebresource.c:
2374         (main):
2375         * tests/testwebsettings.c:
2376         (main):
2377         * tests/testwebview.c:
2378         * tests/testwindow.c:
2379         (main):
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):
2385
2386 2013-05-07  Tomas Popela  <tpopela@redhat.com>
2387
2388         [GTK] Initialize WebKitWebPlugin path to prevent double-free
2389         https://bugs.webkit.org/show_bug.cgi?id=115624
2390
2391         Reviewed by Carlos Garcia Campos.
2392
2393         Use GOwnPtr for WebKitWebPlugin path to prevent double-free
2394         situations. Also use GOwnPtr for GError in webkit_web_plugin_get_path.
2395
2396         * webkit/webkitwebplugin.cpp:
2397         (webkit_web_plugin_finalize):
2398         (webkit_web_plugin_get_path):
2399         * webkit/webkitwebpluginprivate.h:
2400
2401 2013-05-06  Zan Dobersek  <zdobersek@igalia.com>
2402
2403         [GTK] Move GeolocationProviderGeoclue into libPlatform
2404         https://bugs.webkit.org/show_bug.cgi?id=115591
2405
2406         Reviewed by Martin Robinson.
2407
2408         * GNUmakefile.am: Add platform_webcore_cppflags to the list of libwebkitgtk's CPPFLAGS.
2409
2410 2013-05-02  Zan Dobersek  <zdobersek@igalia.com>
2411
2412         Segmentation Fault with Romanian locale. Evolution not starting.
2413         https://bugs.webkit.org/show_bug.cgi?id=115484
2414
2415         Reviewed by Darin Adler.
2416
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.
2419
2420         * webkit/webkitviewportattributes.cpp:
2421         (webkit_viewport_attributes_class_init):
2422
2423 2013-04-30  Ed Bartosh  <bartosh@gmail.com>
2424
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
2427
2428         Reviewed by Martin Robinson.
2429
2430         Wrapped code, related to drag&drop in #if ENABLE(DRAG_SUPPORT)
2431
2432         * webkit/webkitwebview.cpp:
2433         (webkit_web_view_class_init):
2434         (webkit_web_view_init):
2435
2436 2013-04-25  Joseph Pecoraro  <pecoraro@apple.com>
2437
2438         Web Inspector: ConsoleMessage should include line and column number where possible
2439         https://bugs.webkit.org/show_bug.cgi?id=114929
2440
2441         Reviewed by Timothy Hatcher.
2442
2443         * WebCoreSupport/ChromeClientGtk.cpp:
2444         (WebKit::ChromeClient::addMessageToConsole):
2445         * WebCoreSupport/ChromeClientGtk.h:
2446         (ChromeClient):
2447
2448 2013-04-22  Martin Robinson  <mrobinson@igalia.com>
2449
2450         Try to fix the build after enabling gobject-introspection
2451
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.
2455
2456 2013-04-22  Martin Robinson  <mrobinson@igalia.com>
2457
2458         [GTK] Enable introspection always for developer builds
2459         https://bugs.webkit.org/show_bug.cgi?id=114983
2460
2461         Reviewed by Gustavo Noronha Silva.
2462
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
2466         non-verbose builds.
2467
2468 2013-04-22  Martin Robinson  <mrobinson@igalia.com>
2469
2470         [GTK] Fix remaining introspection warnings
2471         https://bugs.webkit.org/show_bug.cgi?id=114980
2472
2473         Reviewed by Gustavo Noronha Silva.
2474
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.
2480
2481 2013-04-22  Zan Dobersek  <zdobersek@igalia.com>
2482
2483         [GTK] Set up libPlatform.la
2484         https://bugs.webkit.org/show_bug.cgi?id=114168
2485
2486         Reviewed by Martin Robinson.
2487
2488         * GNUmakefile.am: Add the new libPlatform.la library to the libwebkitgtk library.
2489
2490 2013-04-19  Martin Robinson  <mrobinson@igalia.com>
2491
2492         [GTK] JSCore.gir.in has a few problems
2493         https://bugs.webkit.org/show_bug.cgi?id=114710
2494
2495         Reviewed by Philippe Normand.
2496
2497         * GNUmakefile.am: Updated to reflect new name and location of JavaScriptCore-x.0.gir.
2498         * JSCore.gir.in: Removed.
2499
2500 2013-04-17  Geoffrey Garen  <ggaren@apple.com>
2501
2502         Renamed JSGlobalData to VM
2503         https://bugs.webkit.org/show_bug.cgi?id=114777
2504
2505         Reviewed by Phil Pizlo.
2506
2507         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
2508         (DumpRenderTreeSupportGtk::gcCountJavascriptObjects):
2509
2510 2013-04-16  Anders Carlsson  <andersca@apple.com>
2511
2512         Fix speling error.
2513
2514         * WebCoreSupport/WebViewInputMethodFilter.cpp:
2515
2516 2013-04-16  Ryosuke Niwa  <rniwa@webkit.org>
2517
2518         Another GTK+ build fix.
2519
2520         * WebCoreSupport/WebViewInputMethodFilter.cpp:
2521
2522 2013-04-16  Ryosuke Niwa  <rniwa@webkit.org>
2523
2524         GTK+ build fix attempt.
2525
2526         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
2527         * WebCoreSupport/WebViewInputMethodFilter.cpp:
2528         * webkit/webkitwebframe.cpp:
2529
2530 2013-04-14  Andreas Kling  <akling@apple.com>
2531
2532         Move CSSOM classes to using MutableStylePropertySet over StylePropertySet.
2533         <http://webkit.org/b/114581>
2534
2535         Reviewed by Anders Carlsson.
2536
2537         * WebCoreSupport/EditorClientGtk.cpp:
2538         (WebKit::EditorClient::shouldApplyStyle):
2539
2540 2013-04-12  Carlos Garcia Campos  <cgarcia@igalia.com>
2541
2542         [GTK] Split GtkAuthenticationDialog in two widgets
2543         https://bugs.webkit.org/show_bug.cgi?id=103644
2544
2545         Reviewed by Xan Lopez.
2546
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
2551         auth dialog.
2552         * webkit/webkitauthenticationdialog.cpp: Added.
2553         (authenticationDialogResponseCallback):
2554         (createAuthenticationDialog):
2555         * webkit/webkitauthenticationdialog.h: Added.
2556         * webkit/webkitsoupauthdialog.cpp:
2557         (sessionAuthenticate): Ditto.
2558
2559 2013-04-10  Benjamin Poulain  <bpoulain@apple.com>
2560
2561         Mass remove all the empty directories
2562
2563         Rubberstamped by Ryosuke Niwa.
2564
2565         * gyp: Removed.
2566         * po: Removed.
2567
2568 2013-04-10  Anton Obzhirov  <a.obzhirov@samsung.com>
2569
2570         [GTK] Add support for Page Visibility
2571         https://bugs.webkit.org/show_bug.cgi?id=97324
2572
2573         Reviewed by Sam Weinig.
2574
2575         Implemented access to page visibility API for GTK test runner.
2576
2577         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
2578         (DumpRenderTreeSupportGtk::setPageVisibility):
2579         * WebCoreSupport/DumpRenderTreeSupportGtk.h:
2580
2581 2013-04-08  Carlos Garcia Campos  <cgarcia@igalia.com>
2582
2583         [GTK] DOM objects created wrapping a base class have incorrect GObject type
2584         https://bugs.webkit.org/show_bug.cgi?id=113132
2585
2586         Reviewed by Gustavo Noronha Silva.
2587
2588         Remove WebKitDOMBindindg.h include from several files because it's
2589         been renamed and it was not actually needed.
2590
2591         * WebCoreSupport/ChromeClientGtk.cpp:
2592         * WebCoreSupport/EditorClientGtk.cpp:
2593         * webkit/webkithittestresult.cpp:
2594
2595 2013-04-04  Martin Robinson  <mrobinson@igalia.com>
2596
2597         [GTK] Remove the gyp build
2598         https://bugs.webkit.org/show_bug.cgi?id=113942
2599
2600         Reviewed by Gustavo Noronha Silva.
2601
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.
2608
2609 2013-04-04  Christophe Dumez  <ch.dumez@sisa.samsung.com>
2610
2611         [Cairo] Fix canvas drawing of SVG-based patterns and remove NativeImageCairo
2612         https://bugs.webkit.org/show_bug.cgi?id=113929
2613
2614         Reviewed by Martin Robinson.
2615
2616         Update code now that PassNativeImagePtr is now a typedef to PassRefPtr<cairo_surface_t>
2617         instead of NativeImageCairo*.
2618
2619         * webkit/webkitfavicondatabase.cpp:
2620         (getIconPixbufSynchronously):
2621
2622 2013-04-03  Alban Crequy  <alban.crequy@collabora.co.uk>
2623
2624         [GTK] WebKitWebNavigationAction: fix mix between dispose and finalize
2625         https://bugs.webkit.org/show_bug.cgi?id=113794
2626
2627         Reviewed by Gustavo Noronha Silva.
2628
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.
2632
2633         * webkit/webkitwebnavigationaction.cpp:
2634         (webkit_web_navigation_action_class_init):
2635
2636 2013-03-28  Zan Dobersek  <zdobersek@igalia.com>
2637
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
2640
2641         Reviewed by Martin Robinson.
2642
2643         * GNUmakefile.am: The GtkVersioning.c file has moved back under Source/WebCore/platform.
2644
2645 2013-03-26  Martin Robinson  <mrobinson@igalia.com>
2646
2647         [GTK] [gyp] Improve support for rerunning gyp automatically
2648         https://bugs.webkit.org/show_bug.cgi?id=113360
2649
2650         Reviewed by Gustavo Noronha Silva.
2651
2652         Add support for automatically rerunning gyp when input file changes are detected
2653         while running make.
2654
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.
2660
2661 2013-03-27  Timothy Hatcher  <timothy@apple.com>
2662
2663         Add support for dock-to-right of the Web Inspector in the Mac port.
2664
2665         Unfortunately this requires Safari changes, so it is disabled in the nightly builds.
2666
2667         https://webkit.org/b/113341
2668         rdar://problem/10368152
2669
2670         Reviewed by Joseph Pecoraro.
2671
2672         * WebCoreSupport/InspectorClientGtk.cpp:
2673         (WebKit::InspectorFrontendClient::attachWindow):
2674         (WebKit::InspectorFrontendClient::setAttachedWindowWidth):
2675         * WebCoreSupport/InspectorClientGtk.h:
2676         (InspectorFrontendClient):
2677
2678 2013-03-26  Hayato Ito  <hayato@chromium.org>
2679
2680         Allow ShadowContents in HitTests by default.
2681         https://bugs.webkit.org/show_bug.cgi?id=113171
2682
2683         Reviewed by Dimitri Glazkov.
2684
2685         * webkit/webkitwebinspector.cpp:
2686         (webkit_web_inspector_inspect_coordinates):
2687         * webkit/webkitwebview.cpp:
2688         (prepareMouseEventForFrame):
2689         (webkit_web_view_get_hit_test_result):
2690
2691 2013-03-26  Tony Chang  <tony@chromium.org>
2692
2693         Autogenerate the scrollAnimatorEnabled setting in Settings.in
2694         https://bugs.webkit.org/show_bug.cgi?id=113253
2695
2696         Reviewed by James Robinson.
2697
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).
2701
2702 2013-03-23  Carlos Garcia Campos  <cgarcia@igalia.com>
2703
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
2706
2707         Reviewed by Martin Robinson.
2708
2709         Add test that checks webkit_dom_html_table_element_insert_row() to
2710         also preproduce this issue.
2711
2712         * tests/testdomdocument.c:
2713         (test_dom_document_insert_row):
2714         (main):
2715
2716 2013-03-22  Gustavo Noronha Silva  <gns@gnome.org>
2717
2718         Trivial fixes to the gyp-build autogen.sh script.
2719
2720         Reviewed by Martin Robinson (mrobinson).
2721
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.
2725
2726 2013-03-19  Martin Robinson  <mrobinson@igalia.com>
2727
2728         [GTK] Add support for building the WebCore bindings to the gyp build
2729         https://bugs.webkit.org/show_bug.cgi?id=112638
2730
2731         Reviewed by Nico Weber.
2732
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.
2737
2738 2013-03-22  Martin Robinson  <mrobinson@igalia.com>
2739
2740         [GTK] [gyp] Expose a few more compiler defines for the gyp build
2741         https://bugs.webkit.org/show_bug.cgi?id=113109
2742
2743         Reviewed by Gustavo Noronha Silva.
2744
2745         * gyp/Configuration.gypi.in: Expose the version number string and data
2746         directory to the gyp build as command-line arguments.
2747
2748 2013-03-22  Martin Robinson  <mrobinson@igalia.com>
2749
2750         [GTK] [gyp] Feature defines are not space separated
2751         https://bugs.webkit.org/show_bug.cgi?id=113108
2752
2753         Reviewed by Gustavo Noronha Silva.
2754
2755         * gyp/configure.ac: Properly export feature defines for gyp during
2756         configure phase.
2757
2758 2013-03-22  Mario Sanchez Prada  <mario.prada@samsung.com>
2759
2760         [GTK] Include the right GL header for GLES2
2761         https://bugs.webkit.org/show_bug.cgi?id=113034
2762
2763         Reviewed by Martin Robinson.
2764
2765         Include GLES2/gl2.h when using GLES2.
2766
2767         * WebCoreSupport/AcceleratedCompositingContextGL.cpp:
2768
2769 2013-03-20  Zan Dobersek  <zdobersek@igalia.com>
2770
2771         [GTK] Build ANGLE sources into a separate library from libWebCore.la
2772         https://bugs.webkit.org/show_bug.cgi?id=112778
2773
2774         Reviewed by Martin Robinson.
2775
2776         * GNUmakefile.am: Add libLevelDB.la to the libwebkitgtk library if using the OpenGL accelerated backend.
2777
2778 2013-03-17  Gustavo Noronha Silva  <gns@gnome.org>
2779
2780         [GTK] Fix and improve dist hooks for translations
2781         https://bugs.webkit.org/show_bug.cgi?id=112519
2782
2783         Reviewed by Carlos Garcia Campos.
2784
2785         * GNUmakefile.am: removed left-over translation files from EXTRA_DIST
2786
2787 2013-03-15  Nate Chapin  <japhet@chromium.org>
2788
2789         Hide MainResourceLoader from the outside world
2790         https://bugs.webkit.org/show_bug.cgi?id=109971
2791
2792         Reviewed by Adam Barth.
2793
2794         * WebCoreSupport/FrameLoaderClientGtk.cpp:
2795         (WebKit::FrameLoaderClient::convertMainResourceLoadToDownload):
2796         * WebCoreSupport/FrameLoaderClientGtk.h:
2797         (FrameLoaderClient):
2798
2799 2013-03-15  Abhishek Arya  <inferno@chromium.org>
2800
2801         Replace static_casts with to* helper functions.
2802         https://bugs.webkit.org/show_bug.cgi?id=112401
2803
2804         Reviewed by Stephen Chenney.
2805
2806         to* helper functions are preferred over static_cast calls since they
2807         help to catch bad casts easily on the testing infrastructure.
2808
2809         * WebCoreSupport/FrameLoaderClientGtk.cpp:
2810         (WebKit::FrameLoaderClient::redirectDataToPlugin):
2811
2812 2013-03-14  Manuel Rego Casasnovas  <rego@igalia.com>
2813
2814         Add selectTrailingWhitespaceEnabled setting to WebCore::Page
2815         https://bugs.webkit.org/show_bug.cgi?id=109404
2816
2817         Reviewed by Tony Chang.
2818
2819         Use new settings for smartInsertDeleteEnabled and
2820         selectTrailingWhitespaceEnabled.
2821
2822         Remove code related to DRT as it is not needed anymore.
2823
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:
2832         (EditorClient):
2833
2834 2013-03-14  Abhishek Arya  <inferno@chromium.org>
2835
2836         Replace static_casts with to* helper functions.
2837         https://bugs.webkit.org/show_bug.cgi?id=112296
2838
2839         Reviewed by Kentaro Hara.
2840
2841         to* helper functions are preferred over static_cast calls since they
2842         help to catch bad casts easily on the testing infrastructure.
2843
2844         * webkit/webkitwebview.cpp:
2845         (webkit_web_view_query_tooltip):
2846
2847 2013-03-13  Tomas Popela  <tpopela@redhat.com>
2848
2849         [GTK][Introspection] Fix of gtk doc annotation warnings
2850         https://bugs.webkit.org/show_bug.cgi?id=109182
2851
2852         Reviewed by Martin Robinson.
2853
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
2857         style. 
2858
2859
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):
2894
2895 2013-03-13  Pavel Feldman  <pfeldman@chromium.org>
2896
2897         Web Inspector: get rid of hiddenPanels filter
2898         https://bugs.webkit.org/show_bug.cgi?id=112252
2899
2900         Reviewed by Vsevolod Vlasov.
2901
2902         * WebCoreSupport/InspectorClientGtk.cpp:
2903         * WebCoreSupport/InspectorClientGtk.h:
2904         (InspectorFrontendClient):
2905
2906 2013-03-12  Zan Dobersek  <zdobersek@igalia.com>
2907
2908         [GTK] Set up the libPlatformGtk.la library
2909         https://bugs.webkit.org/show_bug.cgi?id=111738
2910
2911         Reviewed by Martin Robinson.
2912
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.
2915
2916 2013-03-07  Zan Dobersek  <zdobersek@igalia.com>
2917
2918         [GTK] Limit the supported compilers to GCC >= 4.7 and Clang >= 3.0
2919         https://bugs.webkit.org/show_bug.cgi?id=109932
2920
2921         Reviewed by Martin Robinson.
2922
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.
2925
2926 2013-03-06  Gustavo Noronha Silva  <gns@gnome.org>
2927
2928         [GTK] Enable translations for WebKit2
2929         https://bugs.webkit.org/show_bug.cgi?id=111398
2930
2931         Reviewed by Martin Robinson.
2932
2933         * GNUmakefile.am: no longer distribute po files from here, they've moved to
2934         Sources/WebCore/platform/gtk.
2935
2936 2013-03-07  Tomas Popela  <tpopela@redhat.com>
2937
2938         [GTK] Expose "ShouldRespectImageOrientation" setting into WebKitWebSettings
2939         https://bugs.webkit.org/show_bug.cgi?id=111414
2940
2941         Reviewed by Carlos Garcia Campos.
2942
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.
2946
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):
2955
2956 2013-03-06  Benjamin Poulain  <benjamin@webkit.org>
2957
2958         WebKitTestRunner needs layoutTestController.elementDoesAutoCompleteForElementWithId
2959         https://bugs.webkit.org/show_bug.cgi?id=42696
2960
2961         Reviewed by Andreas Kling.
2962
2963         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
2964         * WebCoreSupport/DumpRenderTreeSupportGtk.h:
2965         (DumpRenderTreeSupportGtk):
2966
2967 2013-03-06  Sudarsana Nagineni  <sudarsana.nagineni@intel.com>
2968
2969         [GTK] Return m_inspectorFilesPath if it is not null
2970         https://bugs.webkit.org/show_bug.cgi?id=111633
2971
2972         Reviewed by Martin Robinson.
2973
2974         Added missing return in InspectorClient::inspectorFilesPath().
2975
2976         * WebCoreSupport/InspectorClientGtk.cpp:
2977         (WebKit::InspectorClient::inspectorFilesPath):
2978
2979 2013-03-06  Dominique Leuenberger  <dimstar@opensuse.org>
2980
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
2990
2991         https://bugs.webkit.org/show_bug.cgi?id=111572
2992
2993         Reviewed by Gustavo Noronha Silva.
2994
2995         * GNUmakefile.am:
2996
2997 2013-03-03  Adam Barth  <abarth@webkit.org>
2998
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.
3003
3004         * webkit/webkitwebpolicydecision.cpp:
3005
3006 2013-03-02  Benjamin Poulain  <bpoulain@apple.com>
3007
3008         Move computedStyleIncludingVisitedInfo from TestRunner to Internals
3009         https://bugs.webkit.org/show_bug.cgi?id=109772
3010
3011         Reviewed by Andreas Kling.
3012
3013         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
3014         * WebCoreSupport/DumpRenderTreeSupportGtk.h:
3015         (DumpRenderTreeSupportGtk):
3016
3017 2013-02-28  Alexey Proskuryakov  <ap@apple.com>
3018
3019         Reduce amount of rebuilding when touching networking headers
3020         https://bugs.webkit.org/show_bug.cgi?id=111035
3021
3022         Reviewed by Eric Seidel.
3023
3024         Adding includes that are now necessary because WebCore headers don't have them
3025         any more.
3026
3027         * webkit/webkitwebpolicydecision.cpp:
3028
3029 2013-03-01  Jason Anderssen  <janderssen@gmail.com>
3030
3031         Move markerTextForListItem from TestRunner to Internals
3032         https://bugs.webkit.org/show_bug.cgi?id=110939
3033
3034         Reviewed by Benjamin Poulain.
3035
3036         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
3037         * WebCoreSupport/DumpRenderTreeSupportGtk.h:
3038         (DumpRenderTreeSupportGtk):
3039
3040 2013-03-01  Martin Robinson  <mrobinson@igalia.com>
3041
3042         [GTK] Expose more of the configuration step to the gyp build
3043         https://bugs.webkit.org/show_bug.cgi?id=111213
3044
3045         Reviewed by Dirk Pranke.
3046
3047         Expose more of the configuration phase to the gyp build, including WebKit features
3048         and binary paths.
3049
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.
3054
3055 2013-03-01  Sheriff Bot  <webkit.review.bot@gmail.com>
3056
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
3061
3062         Caused over 20 tests to fail assertion on Chromium Win port as
3063         ASSERTION FAILED: m_platformRequestUpdated (Requested by
3064         toyoshim on #webkit).
3065
3066         * webkit/webkitwebpolicydecision.cpp:
3067
3068 2013-02-28  Alexey Proskuryakov  <ap@apple.com>
3069
3070         Reduce amount of rebuilding when touching networking headers
3071         https://bugs.webkit.org/show_bug.cgi?id=111035
3072
3073         Reviewed by Eric Seidel.
3074
3075         Adding includes that are now necessary because WebCore headers don't have them
3076         any more.
3077
3078         * webkit/webkitwebpolicydecision.cpp:
3079
3080 2013-02-26  Martin Robinson  <mrobinson@igalia.com>
3081
3082         REGRESSION (r143619): Crashes in three layout tests
3083         https://bugs.webkit.org/show_bug.cgi?id=110588
3084
3085         Reviewed by Gustavo Noronha Silva.
3086
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.
3090
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.
3099
3100 2013-02-25  Andreas Kling  <akling@apple.com>
3101
3102         Reduce amount of code that includes StylePropertySet.h
3103         <http://webkit.org/b/101149>
3104
3105         Reviewed by Antti Koivisto.
3106
3107         * WebCoreSupport/EditorClientGtk.cpp:
3108
3109 2013-02-24  Gustavo Noronha Silva  <gns@gnome.org>
3110
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
3113
3114         Reviewed by Martin Robinson.
3115
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.
3144
3145 2013-02-23  Jason Anderssen  <janderssen@gmail.com>
3146
3147         Move setAutofilled from TestRunner to WebCore
3148         https://bugs.webkit.org/show_bug.cgi?id=110521
3149
3150         Reviewed by Benjamin Poulain.
3151
3152         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
3153         * WebCoreSupport/DumpRenderTreeSupportGtk.h:
3154         (DumpRenderTreeSupportGtk):
3155
3156 2013-02-22  Martin Robinson  <mrobinson@igalia.com>
3157
3158         [GTK] Expose all dependencies to the gyp build
3159         https://bugs.webkit.org/show_bug.cgi?id=110498
3160
3161         Reviewed by Dirk Pranke.
3162
3163         * gyp/Configuration.gypi.in: Add the missing configuration cflags here.
3164         * gyp/Dependencies.gyp: Add targets for all missing dependencies.
3165
3166 2013-02-21  George McCollister  <george.mccollister@gmail.com>
3167
3168         [GTK] Remove subresource leaks from WebKit1 and WebKit2
3169         https://bugs.webkit.org/show_bug.cgi?id=108960
3170
3171         Reviewed by Martin Robinson.
3172
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.
3182
3183 2013-02-21  Carlos Garcia Campos  <cgarcia@igalia.com>
3184
3185         Unreviewed. Fix make distcheck.
3186
3187         * GNUmakefile.am: Add -DBUILDING_WEBKIT flags to introspection
3188         scanner.
3189
3190 2013-02-15  Martin Robinson  <mrobinson@igalia.com>
3191
3192         [GTK] Spread the gyp build files throughout the tree
3193         https://bugs.webkit.org/show_bug.cgi?id=109960
3194
3195         Reviewed by Dirk Pranke.
3196
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.
3199
3200 2013-02-15  Martin Robinson  <mrobinson@igalia.com>
3201
3202         Unreviewed, rolling out parts of r142731.
3203         http://trac.webkit.org/changeset/142731
3204         https://bugs.webkit.org/show_bug.cgi?id=109672
3205
3206         This patch broke the GTK+ gyp build. Roll out the changes there,
3207         since they were actually unnecessary.
3208
3209         * gyp/Configuration.gypi.in:
3210         * gyp/Dependencies.gyp:
3211         * gyp/JavaScriptCore.gyp:
3212         * gyp/WTF.gyp:
3213
3214 2013-02-13  Allan Sandfeld Jensen  <allan.jensen@digia.com>
3215
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
3218
3219         Reviewed by Kenneth Rohde Christiansen.
3220
3221         Do not resize window when default size is requested.
3222
3223         * WebCoreSupport/ChromeClientGtk.cpp:
3224         (WebKit::ChromeClient::setWindowRect):
3225
3226 2013-02-13  Andrew Wilson  <atwilson@chromium.org>
3227
3228         Unreviewed Chromium gyp-file cleanup after glib backend removal.
3229         https://bugs.webkit.org/show_bug.cgi?id=109672
3230
3231         Removed references to GLib unicode backend:
3232
3233         * gyp/Configuration.gypi.in:
3234         * gyp/Dependencies.gyp:
3235         * gyp/JavaScriptCore.gyp:
3236         * gyp/WTF.gyp:
3237
3238 2013-02-12  Martin Robinson  <mrobinson@igalia.com>
3239
3240         2013-02-10  Martin Robinson  <mrobinson@igalia.com>
3241
3242         [GTK] Connect the gyp build to autoconf
3243         https://bugs.webkit.org/show_bug.cgi?id=109360
3244
3245         Reviewed by Dirk Pranke.
3246
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.
3251
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
3257         future.
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
3264         by autoconf.
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.
3269
3270 2013-02-12  Huang Dongsung  <luxtella@company100.net>
3271
3272         [TexMap] Apply frames-per-second debug counter to WK1.
3273         https://bugs.webkit.org/show_bug.cgi?id=109540
3274
3275         Reviewed by Noam Rosenthal.
3276
3277         Make AcceleratedCompositingContext use TextureMapperFPSCounter.
3278
3279         * WebCoreSupport/AcceleratedCompositingContext.h:
3280         * WebCoreSupport/AcceleratedCompositingContextGL.cpp:
3281         (WebKit::AcceleratedCompositingContext::compositeLayersToContext):
3282
3283 2013-02-11  Ryosuke Niwa  <rniwa@webkit.org>
3284
3285         Disable delete button controller on non-Mac ports and delete EditorClient::shouldShowDeleteInterface
3286         https://bugs.webkit.org/show_bug.cgi?id=109534
3287
3288         Reviewed by Anders Carlsson.
3289
3290         * WebCoreSupport/EditorClientGtk.cpp:
3291         (WebKit):
3292         * WebCoreSupport/EditorClientGtk.h:
3293         (EditorClient):
3294         * webkit/webkitwebview.cpp:
3295         (webkit_web_view_class_init):
3296
3297 2013-02-11  Benjamin Poulain  <benjamin@webkit.org>
3298
3299         Kill TestRunner::setMinimumTimerInterval; implement the feature with InternalSettings
3300         https://bugs.webkit.org/show_bug.cgi?id=109349
3301
3302         Reviewed by Sam Weinig.
3303
3304         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
3305         * WebCoreSupport/DumpRenderTreeSupportGtk.h:
3306         (DumpRenderTreeSupportGtk):
3307
3308 2013-02-10  Jae Hyun Park  <jae.park08@gmail.com>
3309
3310         Rename ENABLE(GLIB_SUPPORT) to USE(GLIB)
3311         https://bugs.webkit.org/show_bug.cgi?id=104266
3312
3313         Reviewed by Philippe Normand.
3314
3315         Using USE(GLIB) instead of ENABLE(GLIB_SUPPORT) is more consistent with
3316         the existing macro naming conventions.
3317
3318         From Platform.h
3319         USE() - use a particular third-party library or optional OS service
3320         ENABLE() - turn on a specific feature of WebKit
3321
3322         * gyp/Configuration.gypi:
3323
3324 2013-02-08  Benjamin Poulain  <bpoulain@apple.com>
3325
3326         Move workerThreadCount from TestRunner to WebCore Internals
3327         https://bugs.webkit.org/show_bug.cgi?id=109239
3328
3329         Reviewed by Darin Adler.
3330
3331         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
3332         * WebCoreSupport/DumpRenderTreeSupportGtk.h:
3333         (DumpRenderTreeSupportGtk):
3334
3335 2013-02-08  Martin Robinson  <mrobinson@igalia.com>
3336
3337         [GTK] Add an experimental gyp build
3338         https://bugs.webkit.org/show_bug.cgi?id=109003
3339
3340         Reviewed by Gustavo Noronha Silva.
3341
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
3344         build simply run:
3345
3346         $ gyp --generator-output=build --depth=. Source/WebKit/gtk/gyp/JavaScriptCore.gyp
3347
3348         Then enter the build directory and run make.
3349
3350         * gyp/Configuration.gypi: Added.
3351         * gyp/JavaScriptCore.gyp: Added.
3352         * gyp/WTF.gyp: Added.
3353         * gyp/generate-derived-sources.sh: Added.
3354
3355 2013-02-07  Martin Robinson  <mrobinson@igalia.com>
3356
3357         [GTK] Cleanup command-line defines
3358         https://bugs.webkit.org/show_bug.cgi?id=109213
3359
3360         Reviewed by Xan Lopez.
3361
3362         * GNUmakefile.am: Remove references to flags that are now provided
3363         by autotoolsconfig.h
3364
3365 2013-02-07  Benjamin Poulain  <bpoulain@apple.com>
3366
3367         Move pauseAnimation/pauseTransition from TestRunner to Internals
3368         https://bugs.webkit.org/show_bug.cgi?id=109107
3369
3370         Reviewed by Anders Carlsson.
3371
3372         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
3373         * WebCoreSupport/DumpRenderTreeSupportGtk.h:
3374         (DumpRenderTreeSupportGtk):
3375
3376 2013-02-07  ChangSeok Oh  <shivamidow@gmail.com>
3377
3378         [GTK][AC] Implement opacity animation with clutter ac backend
3379         https://bugs.webkit.org/show_bug.cgi?id=108961
3380
3381         Reviewed by Gustavo Noronha Silva.
3382
3383         Add AnimationTrigger for ac compositing.
3384
3385         * WebCoreSupport/ChromeClientGtk.cpp:
3386         (WebKit::ChromeClient::allowedCompositingTriggers):
3387
3388 2013-02-05  Martin Robinson  <mrobinson@igalia.com>
3389
3390         Update the NEWS and configuration in preparation for 1.11.5.
3391
3392         Reviewed by Philippe Normand.
3393
3394         * NEWS:
3395
3396 2013-02-04  Benjamin Poulain  <bpoulain@apple.com>
3397
3398         Kill suspendAnimation(), resumeAnimation() and numberOfActiveAnimations() from DRT/WTR; use Internals
3399         https://bugs.webkit.org/show_bug.cgi?id=108741
3400
3401         Reviewed by Tony Chang.
3402
3403         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
3404         * WebCoreSupport/DumpRenderTreeSupportGtk.h:
3405         (DumpRenderTreeSupportGtk):
3406
3407 2013-02-04  Gustavo Noronha Silva  <gns@gnome.org>
3408
3409         Made the documentation on the confirmed argument for the
3410         WebView::script-confirm signal clearer about its type.
3411
3412         Reviewed by Martin Robinson.
3413
3414         * webkit/webkitwebview.cpp:
3415         (webkit_web_view_class_init):
3416
3417 2013-02-04  Balazs Kelemen  <kbalazs@webkit.org>
3418
3419         [Soup] Wrap SoupSession by NetworkStorageSession
3420         https://bugs.webkit.org/show_bug.cgi?id=108615
3421
3422         Reviewed by Alexey Proskuryakov.
3423
3424         * WebCoreSupport/FrameNetworkingContextGtk.cpp:
3425         (WebKit::FrameNetworkingContextGtk::storageSession):
3426         * WebCoreSupport/FrameNetworkingContextGtk.h:
3427         (FrameNetworkingContextGtk):
3428
3429 2013-02-03  KwangYong Choi  <ky0.choi@samsung.com>
3430
3431         Fix build warning after r141473
3432         https://bugs.webkit.org/show_bug.cgi?id=108782
3433
3434         Reviewed by Kentaro Hara.
3435
3436         Fix -Wunused-parameter build warning.
3437
3438         * WebCoreSupport/EditorClientGtk.cpp:
3439         (WebKit::EditorClient::getClientPasteboardDataForRange):
3440
3441 2013-02-01  Philippe Normand  <pnormand@igalia.com>
3442
3443         [GTK][GStreamer] FullscreenVideoControllerGtk implementation
3444         https://bugs.webkit.org/show_bug.cgi?id=107398
3445
3446         Reviewed by Gustavo Noronha Silva.
3447
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.
3452
3453         * GNUmakefile.am: Remove FullscreenVideoController.
3454         * WebCoreSupport/ChromeClientGtk.cpp:
3455         (WebKit):
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:
3462         (ChromeClient):
3463         * WebCoreSupport/FullscreenVideoController.cpp: Removed.
3464         * WebCoreSupport/FullscreenVideoController.h: Removed.
3465         * webkit/webkitwebview.cpp: Remove FullscreenVideoController support.
3466         * webkit/webkitwebviewprivate.h: Ditto
3467
3468 2013-01-31  Aurimas Liutikas  <aurimas@chromium.org>
3469
3470         Editor::m_compositionNode not updated on HTMLInputElement::setValue()
3471         https://bugs.webkit.org/show_bug.cgi?id=107737
3472
3473         Reviewed by Ryosuke Niwa.
3474
3475         * WebCoreSupport/EditorClientGtk.cpp:
3476         (WebKit::EditorClient::respondToChangedSelection):
3477             Adding a call to the newly refactored Editor method.
3478
3479 2013-01-31  Sheriff Bot  <webkit.review.bot@gmail.com>
3480
3481         Unreviewed, rolling out r141479.
3482         http://trac.webkit.org/changeset/141479
3483         https://bugs.webkit.org/show_bug.cgi?id=108564
3484
3485         breaks chromium test (Requested by morrita on #webkit).
3486
3487         * WebCoreSupport/EditorClientGtk.cpp:
3488         (WebKit::EditorClient::respondToChangedSelection):
3489
3490 2013-01-31  Aurimas Liutikas  <aurimas@chromium.org>
3491
3492         Editor::m_compositionNode not updated on HTMLInputElement::setValue()
3493         https://bugs.webkit.org/show_bug.cgi?id=107737
3494
3495         Reviewed by Ryosuke Niwa.
3496
3497         * WebCoreSupport/EditorClientGtk.cpp:
3498         (WebKit::EditorClient::respondToChangedSelection):
3499             Adding a call to the newly refactored Editor method.
3500
3501 2013-01-31  Enrica Casucci  <enrica@apple.com>
3502
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>
3506
3507         Reviewed by Alexey Proskuryakov.
3508
3509         Adds stub implementation for WebKit of the new EditorClient methods.
3510
3511         * WebCoreSupport/EditorClientGtk.cpp:
3512         (WebKit::EditorClient::willWriteSelectionToPasteboard):
3513         (WebKit::EditorClient::getClientPasteboardDataForRange):
3514         * WebCoreSupport/EditorClientGtk.h:
3515
3516 2013-01-30  Huang Dongsung  <luxtella@company100.net>
3517
3518         [TexMap] Remove GraphicsLayer in TextureMapperLayer.
3519         https://bugs.webkit.org/show_bug.cgi?id=107073
3520
3521         Reviewed by Noam Rosenthal.
3522
3523         Include GraphicsLayerTextureMapper.h to use toTextureMapperLayer().
3524
3525         * WebCoreSupport/AcceleratedCompositingContextGL.cpp:
3526
3527 2013-01-29  Mario Sanchez Prada  <mario.prada@samsung.com>
3528
3529         [GTK] Missing build flags when building with Harfbuzz
3530         https://bugs.webkit.org/show_bug.cgi?id=108174
3531
3532         Reviewed by Martin Robinson.
3533
3534         Add FREETYPE_CFLAGS and FREETYPE_LIBS to makefiles so -lharfbuzz
3535         parameter will be added to linking lines when needed.
3536
3537         * GNUmakefile.am: Added FREETYPE_CFLAGS and FREETYPE_LIBS.
3538
3539 2013-01-28  Huang Dongsung  <luxtella@company100.net>
3540
3541         [TexMap] Enable debug borders and repaint counter via Settings.
3542         https://bugs.webkit.org/show_bug.cgi?id=107198
3543
3544         Reviewed by Benjamin Poulain.
3545
3546         If WEBKIT_SHOW_COMPOSITING_DEBUG_VISUALS is set to 1, set
3547         showDebugBorders and showRepaintCounter in Settings to true.
3548
3549         * webkit/webkitwebview.cpp:
3550         (webkit_web_view_update_settings):
3551
3552 2013-01-25  Joone Hur  <joone.hur@intel.com>
3553
3554         [GTK][AC] Use new Clutter APIs instead of deprecated APIs
3555         https://bugs.webkit.org/show_bug.cgi?id=105736
3556
3557         Reviewed by Gustavo Noronha Silva.
3558
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.
3562
3563         * WebCoreSupport/AcceleratedCompositingContextClutter.cpp:
3564         (WebKit::AcceleratedCompositingContext::setRootCompositingLayer):
3565
3566 2013-01-25  Martin Robinson  <mrobinson@igalia.com>
3567
3568         [GTK] LDFLAGS are being incorrectly used at compile time (rather than linking)
3569         https://bugs.webkit.org/show_bug.cgi?id=100616
3570
3571         Unreviewed, since this is just a build fix.
3572
3573         * GNUmakefile.am: use PACKAGE_CFLAGS instead of PACKAGE_LIBS when appending pkg-config
3574         variables to build target _CFLAGS.
3575
3576 2013-01-24  Mark Hahnenberg  <mhahnenberg@apple.com>
3577
3578         Objective-C API: Rename JSValue.h/APIJSValue.h to JSCJSValue.h/JSValue.h
3579         https://bugs.webkit.org/show_bug.cgi?id=107327
3580
3581         Reviewed by Filip Pizlo.
3582
3583         We're renaming these two files, so we have to replace the names everywhere.
3584
3585         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
3586
3587 2013-01-23  Manuel Rego Casasnovas  <rego@igalia.com>
3588
3589         [GTK] Avoid reset title for navigation within the page
3590         https://bugs.webkit.org/show_bug.cgi?id=106908
3591
3592         Reviewed by Martin Robinson.
3593
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
3605         not.
3606
3607 2013-01-22  Anders Carlsson  <andersca@apple.com>
3608
3609         Use a platforom strategy for local storage
3610         https://bugs.webkit.org/show_bug.cgi?id=107600
3611
3612         Reviewed by Andreas Kling.
3613
3614         Update for new storage strategy.
3615
3616         * WebCoreSupport/PlatformStrategiesGtk.cpp:
3617         (PlatformStrategiesGtk::createStorageStrategy):
3618         * WebCoreSupport/PlatformStrategiesGtk.h:
3619         (PlatformStrategiesGtk):
3620
3621 2013-01-22  Manuel Rego Casasnovas  <rego@igalia.com>
3622
3623         [GTK] Add listener for direction-changed signal in WebKitWebView
3624         https://bugs.webkit.org/show_bug.cgi?id=107131
3625
3626         Reviewed by Philippe Normand.
3627
3628         * webkit/webkitwebview.cpp:
3629         (webkit_web_view_init): Add listener for direction-changed signal.
3630         (webkitWebViewDirectionChanged): Implement listener using
3631         Editor::setBaseWritingDirection().
3632
3633 2013-01-21  Oleg Smirnov  <oleg.smirnov@lge.com>
3634
3635         [Gtk] Dispatching event list into input element.
3636         https://bugs.webkit.org/show_bug.cgi?id=107259
3637
3638         Reviewed by Martin Robinson.
3639
3640         Clear pending command list after dispatching events.
3641
3642         * WebCoreSupport/EditorClientGtk.cpp:
3643         (WebKit::EditorClient::handleKeyboardEvent):
3644
3645 2013-01-18  Martin Robinson  <mrobinson@igalia.com>
3646
3647         [GTK] Add property for IndexedDB database path to WebKitGTK+
3648         https://bugs.webkit.org/show_bug.cgi?id=106136
3649
3650         Reviewed by Gustavo Noronha Silva.
3651
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.
3655
3656         * webkit/webkitglobals.cpp:
3657         (webkitPageGroupName): Added this helper to get the default page
3658         group name.
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
3664         database paths.
3665         * webkit/webkitwebview.cpp:
3666         (webkit_web_view_init): Use the new page group name helper.
3667
3668 2013-01-18  Seokju Kwon  <seokju.kwon@gmail.com>
3669
3670         Add explicit keyword to constructors in platform-specific InspectorClient
3671         https://bugs.webkit.org/show_bug.cgi?id=107255
3672
3673         Reviewed by Kentaro Hara.
3674
3675         Add explicit keyword to constructors that take one argument
3676         in platform-specific implementation of InspectorClient.
3677         And fix some coding style.
3678
3679         * WebCoreSupport/InspectorClientGtk.h:
3680         (WebCore):
3681         (WebKit):
3682         (InspectorClient):
3683         (WebKit::InspectorClient::disconnectFrontendClient):
3684         (InspectorFrontendClient):
3685         (WebKit::InspectorFrontendClient::disconnectInspectorClient):
3686
3687 2013-01-18  Manuel Rego Casasnovas  <rego@igalia.com>
3688
3689         [GTK] Add new method to support addUserScript in DumpRenderTree
3690         https://bugs.webkit.org/show_bug.cgi?id=107275
3691
3692         Reviewed by Philippe Normand.
3693
3694         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
3695         (DumpRenderTreeSupportGtk::addUserScript): Implement new method using
3696         PageGroup::addUserScriptToWorld.
3697         * WebCoreSupport/DumpRenderTreeSupportGtk.h:
3698         (DumpRenderTreeSupportGtk): Define method header.
3699
3700 2013-01-17  Martin Robinson  <mrobinson@igalia.com>
3701
3702         [GTK] Build with LevelDB when IndexedDB is enabled
3703         https://bugs.webkit.org/show_bug.cgi?id=103220
3704
3705         Reviewed by Gustavo Noronha Silva.
3706
3707         * GNUmakefile.am: When IndexedDatabase is enabled add the leveldb convenience
3708         library to the shared library link phase.
3709
3710 2013-01-15  Zan Dobersek  <zandobersek@gmail.com>
3711
3712         [Autotools] Add support for WebKit2-only builds
3713         https://bugs.webkit.org/show_bug.cgi?id=106889
3714
3715         Reviewed by Gustavo Noronha Silva.
3716
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
3720         conditional.
3721
3722 2013-01-11  Carlos Garcia Campos  <cgarcia@igalia.com>
3723
3724         Unreviewed. Update NEWS and configure.ac for 1.11.4 release
3725
3726         * NEWS: Added release notes for 1.11.4.
3727
3728 2013-01-08  Mark Lam  <mark.lam@apple.com>
3729
3730         Removed the need for the ProposedDatabase mechanism.
3731         https://bugs.webkit.org/show_bug.cgi?id=106292.
3732
3733         Reviewed by Sam Weinig.
3734
3735         * WebCoreSupport/ChromeClientGtk.cpp:
3736         (WebKit::ChromeClient::exceededDatabaseQuota):
3737         * WebCoreSupport/ChromeClientGtk.h:
3738         (ChromeClient):
3739
3740 2013-01-03  Sergio Villar Senin  <svillar@igalia.com>
3741
3742         [GTK] Add WebP image support
3743         https://bugs.webkit.org/show_bug.cgi?id=105915
3744
3745         Reviewed by Martin Robinson.
3746
3747         * GNUmakefile.am: link against WebP library.
3748
3749 2013-01-07  Mike West  <mkwst@chromium.org>
3750
3751         Make the IFRAME_SEAMLESS flag runtime-enabled.
3752         https://bugs.webkit.org/show_bug.cgi?id=106213
3753
3754         Reviewed by Ojan Vafai.
3755
3756         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
3757         * WebCoreSupport/DumpRenderTreeSupportGtk.h:
3758         (DumpRenderTreeSupportGtk):
3759             Add a toggle for seamless IFrames to GTK's DRTSuport.
3760
3761 2013-01-04  Adam Klein  <adamk@chromium.org>
3762
3763         Remove ENABLE_MUTATION_OBSERVERS #define
3764         https://bugs.webkit.org/show_bug.cgi?id=105459
3765
3766         Reviewed by Ryosuke Niwa.
3767
3768         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
3769         (DumpRenderTreeSupportGtk::deliverAllMutationsIfNecessary):
3770
3771 2012-12-28  Martin Robinson  <mrobinson@igalia.com>
3772
3773         [GTK][WK2] Add support for IME Composition
3774         https://bugs.webkit.org/show_bug.cgi?id=65093
3775
3776         Reviewed by Carlos Garcia Campos.
3777
3778         Update the method signatures for concrete WebKit1 implementation of
3779         the GtkInputMethodFilter.
3780
3781         * WebCoreSupport/WebViewInputMethodFilter.cpp:
3782         (WebKit::WebViewInputMethodFilter::sendSimpleKeyEvent):
3783         (WebKit::WebViewInputMethodFilter::sendKeyEventWithCompositionResults):
3784         * WebCoreSupport/WebViewInputMethodFilter.h:
3785         (WebViewInputMethodFilter):
3786
3787 2012-12-27  ChangSeok Oh  <shivamidow@gmail.com>
3788
3789         [GTK] invalid use of incomplete type WebCore::ResourceResponse in webkitwebviewprivate.h
3790         https://bugs.webkit.org/show_bug.cgi?id=105720
3791
3792         Reviewed by Martin Robinson.
3793
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()'.
3798
3799         * webkit/webkitwebviewprivate.h:
3800
3801 2012-12-23  Alexey Proskuryakov  <ap@apple.com>
3802
3803         <rdar://problem/12808377> Network process should respect cookie accept policy
3804         https://bugs.webkit.org/show_bug.cgi?id=105684
3805
3806         Reviewed by Sam Weinig.
3807
3808         * WebCoreSupport/PlatformStrategiesGtk.cpp:
3809         * WebCoreSupport/PlatformStrategiesGtk.h:
3810         CookiesStrategy no longer has notifyCookiesChanged(). This port didn't use it anyway.
3811
3812 2012-12-22  Alexey Proskuryakov  <ap@apple.com>
3813
3814         Add a separate class for networking related storage
3815         https://bugs.webkit.org/show_bug.cgi?id=105676
3816
3817         Reviewed by Sam Weinig.
3818
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.
3828
3829 2012-12-18  Alexey Proskuryakov  <ap@apple.com>
3830
3831         Remove unnecessary functions from CookiesStrategy
3832         https://bugs.webkit.org/show_bug.cgi?id=105369
3833
3834         Reviewed by Brady Eidson.
3835
3836         * WebCoreSupport/PlatformStrategiesGtk.cpp:
3837         * WebCoreSupport/PlatformStrategiesGtk.h:
3838
3839 2012-12-18  ChangSeok Oh  <shivamidow@gmail.com>
3840
3841         [GTK][AC] Fix assertion failures for AC with clutter
3842         https://bugs.webkit.org/show_bug.cgi?id=105039
3843
3844         Reviewed by Gustavo Noronha Silva.
3845
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.
3852
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()
3857
3858 2012-12-15  Anders Carlsson  <andersca@apple.com>
3859
3860         Rename FrameLoaderClient::download to convertMainResourceLoadToDownload
3861         https://bugs.webkit.org/show_bug.cgi?id=105122
3862
3863         Reviewed by Andreas Kling.
3864
3865         Update for WebCore changes.
3866
3867         * WebCoreSupport/FrameLoaderClientGtk.cpp:
3868         (WebKit::FrameLoaderClient::convertMainResourceLoadToDownload):
3869         * WebCoreSupport/FrameLoaderClientGtk.h:
3870         (FrameLoaderClient):
3871
3872 2012-12-15  Mark Lam  <mark.lam@apple.com>
3873
3874         Re-landing patch for "Introducing the DatabaseStrategy and database servers".
3875         https://bugs.webkit.org/show_bug.cgi?id=104934.
3876
3877         Not reviewed.
3878
3879         Merged from r137767. Previously reviewed by Sam Weinig.
3880
3881         * WebCoreSupport/PlatformStrategiesGtk.cpp:
3882         (PlatformStrategiesGtk::createDatabaseStrategy):
3883         * WebCoreSupport/PlatformStrategiesGtk.h:
3884         (PlatformStrategiesGtk):
3885
3886 2012-12-14  Sheriff Bot  <webkit.review.bot@gmail.com>
3887
3888         Unreviewed, rolling out r137767.
3889         http://trac.webkit.org/changeset/137767
3890         https://bugs.webkit.org/show_bug.cgi?id=105062
3891
3892         Broke Mac builds. (Requested by mlam on #webkit).
3893
3894         * WebCoreSupport/PlatformStrategiesGtk.cpp:
3895         * WebCoreSupport/PlatformStrategiesGtk.h:
3896         (PlatformStrategiesGtk):
3897
3898 2012-12-14  Mark Lam  <mark.lam@apple.com>
3899
3900         Introducing the DatabaseStrategy and database servers.
3901         https://bugs.webkit.org/show_bug.cgi?id=104934.
3902
3903         Reviewed by Sam Weinig.
3904
3905         The database server is currently a placeholder that does nothing.
3906
3907         * WebCoreSupport/PlatformStrategiesGtk.cpp:
3908         (PlatformStrategiesGtk::createDatabaseStrategy):
3909         * WebCoreSupport/PlatformStrategiesGtk.h:
3910         (PlatformStrategiesGtk):
3911
3912 2012-12-14  Alberto Garcia  <agarcia@igalia.com>
3913
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
3916
3917         Reviewed by Martin Robinson.
3918
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
3923         page.
3924
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.
3929
3930 2012-12-12  Mark Lam  <mark.lam@apple.com>
3931
3932         Encapsulate externally used webdatabase APIs in DatabaseManager.
3933         https://bugs.webkit.org/show_bug.cgi?id=104741.
3934
3935         Reviewed by Sam Weinig.
3936
3937         Use DatabaseManager instead of accessing DatabaseTracker, AbstractDatabase,
3938         and DatabaseContext directly. This is to prepare for upcoming webkit2
3939         refactoring.
3940
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):
3962
3963 2012-12-12  Martin Robinson  <mrobinson@igalia.com>
3964
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
3967
3968         Reviewed by Gustavo Noronha Silva.
3969
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+.
3973
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.
3982
3983 2012-12-12  Alexey Proskuryakov  <ap@apple.com>
3984
3985         Make LOG() work in WebProcess and NetworkProcess
3986         https://bugs.webkit.org/show_bug.cgi?id=104718
3987
3988         Reviewed by Tim Horton.
3989
3990         * webkit/webkitglobals.cpp: Include InitializeLogging.h
3991
3992 2012-12-12  Joone Hur  <joone.hur@intel.com>
3993
3994         [GTK][AC] The non-composited content is not painted
3995         https://bugs.webkit.org/show_bug.cgi?id=104819
3996
3997         Reviewed by Gustavo Noronha Silva.
3998
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
4002
4003         * WebCoreSupport/AcceleratedCompositingContext.h: Add m_nonCompositedContentLayer.
4004         * WebCoreSupport/AcceleratedCompositingContextClutter.cpp:
4005         (WebKit::AcceleratedCompositingContext::AcceleratedCompositingContext):
4006         (WebKit::AcceleratedCompositingContext::initialize):
4007         (WebKit):
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 
4014         content scroll.
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.
4020
4021 2012-12-12  Joone Hur  <joone.hur@intel.com>
4022
4023         [GTK][AC] GraphicsLayers are not shown on the viewport
4024         https://bugs.webkit.org/show_bug.cgi?id=104670
4025
4026         Reviewed by Gustavo Noronha Silva.
4027
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.
4030
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):
4038
4039 2012-12-11  Carlos Garcia Campos  <cgarcia@igalia.com>
4040
4041         [GTK] Install GObject DOM bindings headers in its own directory
4042         https://bugs.webkit.org/show_bug.cgi?id=104663
4043
4044         Reviewed by Gustavo Noronha Silva.
4045
4046         * GNUmakefile.am: Add webkitdom.h.
4047         * webkit/webkitdom.h: Compatibility header just including the new
4048         one.
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.
4055
4056 2012-12-11  Mike West  <mkwst@chromium.org>
4057
4058         Web Inspector: ConsoleTypes should not expose MessageType - it should be private to inspector.
4059         https://bugs.webkit.org/show_bug.cgi?id=66371
4060
4061         Reviewed by Pavel Feldman.
4062
4063         Drops WebCore::MessageType from the addMessageToConsole method.
4064
4065         * WebCoreSupport/ChromeClientGtk.cpp:
4066         (WebKit::ChromeClient::addMessageToConsole):
4067         * WebCoreSupport/ChromeClientGtk.h:
4068         (ChromeClient):
4069
4070 2012-12-11  Martin Robinson  <mrobinson@igalia.com>
4071
4072         [GTK] Implement some missing FrameLoaderClient message in DRT
4073         https://bugs.webkit.org/show_bug.cgi?id=104444
4074
4075         Reviewed by Gustavo Noronha Silva.
4076
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.
4080
4081         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
4082         (DumpRenderTreeSupportGtk::setFrameLoadEventCallback): Added.
4083         * WebCoreSupport/DumpRenderTreeSupportGtk.h:
4084         * WebCoreSupport/FrameLoaderClientGtk.cpp: Use the new callback to deliver
4085         events to DRT.
4086
4087 2012-12-11  Martin Robinson  <mrobinson@igalia.com>
4088
4089         [Coverity] [GTK] Remove some redundant null checks in DumpRenderTree
4090         https://bugs.webkit.org/show_bug.cgi?id=104570
4091
4092         Reviewed by Daniel Bates.
4093
4094         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
4095         (DumpRenderTreeSupportGtk::elementDoesAutoCompleteForElementWithId): Remove a redundant null check.
4096
4097 2012-12-10  Carlos Garcia Campos  <cgarcia@igalia.com>
4098
4099         [GTK] Build GObject DOM bindings as a separate library
4100         https://bugs.webkit.org/show_bug.cgi?id=104527
4101
4102         Reviewed by Xan Lopez.
4103
4104         * GNUmakefile.am: Link to libWebCoreDOM.la.
4105
4106 2012-12-10  Martin Robinson  <mrobinson@igalia.com>
4107
4108         [GTK] Bring Harfbuzz-ng support to Gtk
4109         https://bugs.webkit.org/show_bug.cgi?id=92098
4110
4111         Reviewed by Gustavo Noronha Silva.
4112
4113         Add HarfBuzz dependency.
4114
4115         * GNUmakefile.am: Add FreeType/HarfBuzz CFLAGS to the library.
4116
4117 2012-12-05  Arnaud Renevier  <a.renevier@sisa.samsung.com>
4118
4119         [Gtk] navigator.plugins contains too many plugin entries. First one are garbages
4120         https://bugs.webkit.org/show_bug.cgi?id=102438
4121
4122         Reviewed by Xan Lopez.
4123
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.
4128
4129         * WebCoreSupport/PlatformStrategiesGtk.cpp:
4130         (PlatformStrategiesGtk::getPluginInfo):
4131
4132 2012-12-04  Carlos Garcia Campos  <cgarcia@igalia.com>
4133
4134         [GTK] Avoid unnecessary heap allocations during drag and drop operations
4135         https://bugs.webkit.org/show_bug.cgi?id=87938
4136
4137         Reviewed by Martin Robinson.
4138
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.
4144
4145 2012-12-02  Mike West  <mkwst@chromium.org>
4146
4147         [gtk] Enable the CSP_NEXT runtime flag.
4148         https://bugs.webkit.org/show_bug.cgi?id=103810
4149
4150         Reviewed by Adam Barth.
4151
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.
4154
4155         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
4156         (DumpRenderTreeSupportGtk::setExperimentalContentSecurityPolicyFeaturesEnabled):
4157         * WebCoreSupport/DumpRenderTreeSupportGtk.h:
4158         (DumpRenderTreeSupportGtk):
4159
4160 2012-11-30  Mihai Maerean  <mmaerean@adobe.com>
4161
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
4164
4165         Reviewed by Hajime Morita.
4166
4167         Removed the CSS Regions flag in Settings and switched to using the new flag I have added in RuntimeEnabledFeatures.
4168
4169         Tests: No new tests because there is no functional change.
4170
4171         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
4172         (DumpRenderTreeSupportGtk::setCSSRegionsEnabled):
4173
4174 2012-11-29  Alexey Proskuryakov  <ap@apple.com>
4175
4176         [WK2] Forward cookie jar calls to NetworkProcess
4177         https://bugs.webkit.org/show_bug.cgi?id=103457
4178
4179         Reviewed by Darin Adler.
4180
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):
4191
4192 2012-11-27  James Simonsen  <simonjam@chromium.org>
4193
4194         Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
4195         https://bugs.webkit.org/show_bug.cgi?id=102151
4196
4197         Reviewed by Adam Barth.
4198
4199         * webkit/webkitwebframe.cpp:
4200         (webkit_web_frame_load_uri):
4201         (webkit_web_frame_load_data):
4202         (webkit_web_frame_load_request):
4203
4204 2012-11-27  Sheriff Bot  <webkit.review.bot@gmail.com>
4205
4206         Unreviewed, rolling out r135786.
4207         http://trac.webkit.org/changeset/135786
4208         https://bugs.webkit.org/show_bug.cgi?id=103379
4209
4210         It made 3 plugin tests timeout on several platforms (Requested
4211         by Ossy on #webkit).
4212
4213         * webkit/webkitwebframe.cpp: