Unreviewed, rolling out r151632.
[WebKit-https.git] / Source / WebKit / gtk / ChangeLog
1 2013-06-17  Grzegorz Czajkowski  <g.czajkowski@samsung.com>
2
3         Unreviewed, rolling out r151632.
4         http://trac.webkit.org/changeset/151632
5         https://bugs.webkit.org/show_bug.cgi?id=117585
6
7         Debug build error ASSERT(WTF_USE_GRAMMAR_CHECKING) for non MAC
8         platforms
9
10         * webkit/webkitglobals.cpp:
11         (webkit_context_menu_item_get_action):
12
13 2013-06-14  Grzegorz Czajkowski  <g.czajkowski@samsung.com>
14
15         Context menu grammar checking items are available when GRAMMAR_CHECKING macro is off
16         https://bugs.webkit.org/show_bug.cgi?id=117585
17
18         Reviewed by Anders Carlsson.
19
20         Add GRAMMAR_CHECKING guard to the context menu grammar items.
21
22         * webkit/webkitglobals.cpp:
23         (webkit_context_menu_item_get_action):
24
25 2013-06-12  Diego Pino Garcia  <dpino@igalia.com>
26
27         [GTK] Parameter 'pseudoElement' from function 'webkit_dom_dom_window_get_computed_style' should be allowed to be NULL
28         https://bugs.webkit.org/show_bug.cgi?id=117332
29
30         Reviewed by Xan Lopez.
31
32         Add test for function 'webkit_dom_dom_window_get_computed_style'.
33
34         * tests/testdomdomwindow.c:
35         (dom_dom_window_fixture_setup): Test setup for function
36         'dom_dom_window_get_computed_style'.
37         (dom_dom_window_fixture_teardown): Test teardown for function
38         'dom_dom_window_get_computed_style'.
39         (loadedCallback):
40         (test_dom_dom_window_get_computed_style): Checks function
41         'dom_dom_window_get_computed_style'.
42         (main):
43
44 2013-06-10  Iago Toral Quiroga  <itoral@igalia.com>
45
46         Use Cairo implementation of the WidgetBackingStore instead of X11 when running on Wayland
47         https://bugs.webkit.org/show_bug.cgi?id=116717
48
49         Reviewed by Martin Robinson.
50
51         Decide which implementation of WidgetBackingStore to use (X11 or Cairo)
52         depending on whether we are running on X11 or not. Select Cairo
53         implementation when not running in X11.
54
55         * WebCoreSupport/ChromeClientGtk.cpp:
56         (WebKit::createBackingStore):
57         (WebKit):
58         (WebKit::ChromeClient::widgetSizeChanged):
59         (WebKit::ChromeClient::attachRootGraphicsLayer):
60
61 2013-06-06  Diego Pino Garcia  <dpino@igalia.com>
62
63         [GTK] Parameter 'refChild' from function 'webkit_dom_node_insert_before' should be allowed to be NULL
64         https://bugs.webkit.org/show_bug.cgi?id=117303
65
66         Reviewed by Xan Lopez.
67
68         Add test for function 'webkit_dom_node_insert_before'.
69
70         * tests/testdomnode.c: Checks function dom_document_node_insert_before
71         (test_dom_node_insertion):
72
73 2013-06-06  Diego Pino Garcia  <dpino@igalia.com>
74
75         [GTK] Parameters 'inResult' and 'resolver' from function 'webkit_dom_document_evaluate' should be allowed to be NULL
76         https://bugs.webkit.org/show_bug.cgi?id=117129
77
78         Reviewed by Xan Lopez.
79
80         Add test for function 'webkit_dom_document_evaluate'.
81
82         * tests/testdomdocument.c:
83         (test_dom_document_evaluate): Checks function dom_document_evaluate,
84         executes an XPath expression on a HTML document.
85         (main): 
86
87 2013-06-05  Alberto Garcia  <agarcia@igalia.com>
88
89         [GTK] AcceleratedCompositingContext: fix layerFlushTimerFiredCallback condition
90         https://bugs.webkit.org/show_bug.cgi?id=117258
91
92         Reviewed by Martin Robinson.
93
94         The expressions were incorrectly grouped, a timeout handler can
95         only be added only if there's none running already.
96
97         * WebCoreSupport/AcceleratedCompositingContextGL.cpp:
98         (WebKit::AcceleratedCompositingContext::renderLayersToWindow):
99
100 2013-06-04  Alberto Garcia  <agarcia@igalia.com>
101
102         [GTK] Make precedence of logical operators explicit
103         https://bugs.webkit.org/show_bug.cgi?id=117216
104
105         Reviewed by Martin Robinson.
106
107         There's a couple of cases where we mix && and || in the same
108         expression. In ChromeClient::contentsSizeChanged() the lack of
109         parentheses actually makes the expression wrong.
110
111         * WebCoreSupport/AcceleratedCompositingContextGL.cpp:
112         (WebKit::AcceleratedCompositingContext::renderLayersToWindow):
113         * WebCoreSupport/ChromeClientGtk.cpp:
114         (WebKit::ChromeClient::contentsSizeChanged):
115
116 2013-05-30  Enrique Ocana Gonzalez  <eocanha@igalia.com>
117
118         [GTK] Fix pass_by_value coverity warning in ChromeClientGtk
119         https://bugs.webkit.org/show_bug.cgi?id=117021
120
121         Reviewed by Anders Carlsson.
122
123         Pass dirtyRegion parameter in paintWebView() by reference to avoid object copying.
124
125         * WebCoreSupport/ChromeClientGtk.cpp:
126         (WebKit::paintWebView):
127
128 2013-05-29  Carlos Garcia Campos  <cgarcia@igalia.com>
129
130         Unreviewed. Update NEWS and Versions.m4 for 2.1.1 release.
131
132         * NEWS: Added release notes for 2.1.1.
133
134 2013-05-28  Andreas Kling  <akling@apple.com>
135
136         Document::setFocusedNode() should be setFocusedElement().
137         <http://webkit.org/b/116857>
138
139         Reviewed by Antti Koivisto.
140
141         * webkit/webkitwebview.cpp:
142         (getFocusedNode):
143
144 2013-05-24  Christophe Dumez  <ch.dumez@sisa.samsung.com>
145
146         Remove custom code for webkitAudioContext global constructor getter
147         https://bugs.webkit.org/show_bug.cgi?id=116530
148
149         Reviewed by Geoffrey Garen.
150
151         Use RuntimeEnabledFeatures instead of Settings to toggle Web Audio support.
152
153         * webkit/webkitwebview.cpp:
154         (webkit_web_view_update_settings):
155         (webkit_web_view_settings_notify):
156
157 2013-05-19  Anders Carlsson  <andersca@apple.com>
158
159         Remove ChromeClient::webView()
160         https://bugs.webkit.org/show_bug.cgi?id=116054
161
162         Reviewed by Darin Adler.
163
164         This blatantly horrible layer violation was only used to know if a ChromeClient is an empty
165         client or not. We already have a (slightly less horrible) way to do that.
166
167         * WebCoreSupport/ChromeClientGtk.h:
168         (ChromeClient):
169
170 2013-05-18  Carlos Garcia Campos  <cgarcia@igalia.com>
171
172         [GTK] Move GTK port off legacy clipboard
173         https://bugs.webkit.org/show_bug.cgi?id=116221
174
175         Reviewed by Martin Robinson.
176
177         * WebCoreSupport/DragClientGtk.cpp:
178         (WebKit::DragClient::startDrag): Get the DataObjectGtk from the
179         Pasteboard associated to the given Clipboard.
180
181 2013-05-17  Gustavo Noronha Silva  <gustavo.noronha@collabora.com>
182
183         Unreviewed build fix. Remove assertion that doesn't make sense anymore since the
184         page does not give us access to the Chrome pointer directly anymore.
185
186         * webkit/webkitwebview.cpp:
187         (WebKit::kit):
188
189 2013-05-16  Andreas Kling  <akling@apple.com>
190
191         Page::chrome() should return a reference.
192         <http://webkit.org/b/116185>
193
194         Reviewed by Anders Carlsson.
195
196 2013-05-16  Martin Robinson  <mrobinson@igalia.com>
197
198         [GTK] Documentation for WEBKIT_DEBUG logging channels is out of date
199         https://bugs.webkit.org/show_bug.cgi?id=114764
200
201         Reviewed by Gustavo Noronha Silva.
202
203         * docs/webkitenvironment.xml: Update documentation to reflect current list of
204         logging channels.
205
206 2013-05-16  Allan Sandfeld Jensen  <allan.jensen@digia.com>
207
208         [GTK] TargetFrame and innerNodeFrame confused
209         https://bugs.webkit.org/show_bug.cgi?id=102907
210
211         Reviewed by Martin Robinson.
212
213         * webkit/webkithittestresult.cpp:
214         (WebKit::kit):
215
216 2013-05-15  Anders Carlsson  <andersca@apple.com>
217
218         Fix build.
219
220         * webkit/webkitwebview.cpp:
221         (webkitWebViewDirectionChanged):
222
223 2013-05-13  Anders Carlsson  <andersca@apple.com>
224
225         Frame::editor() should return a reference
226         https://bugs.webkit.org/show_bug.cgi?id=116037
227
228         Reviewed by Darin Adler.
229
230         * WebCoreSupport/ChromeClientGtk.cpp:
231         (WebKit::ChromeClient::paint):
232         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
233         (DumpRenderTreeSupportGtk::executeCoreCommandByName):
234         (DumpRenderTreeSupportGtk::isCommandEnabled):
235         * WebCoreSupport/EditorClientGtk.cpp:
236         (WebKit::EditorClient::respondToChangedSelection):
237         (WebKit::EditorClient::executePendingEditorCommands):
238         (WebKit::EditorClient::handleKeyboardEvent):
239         * WebCoreSupport/WebViewInputMethodFilter.cpp:
240         (WebKit::WebViewInputMethodFilter::canEdit):
241         (WebKit::WebViewInputMethodFilter::confirmCompositionText):
242         (WebKit::WebViewInputMethodFilter::confirmCurrentComposition):
243         (WebKit::WebViewInputMethodFilter::cancelCurrentComposition):
244         (WebKit::WebViewInputMethodFilter::setPreedit):
245         * webkit/webkitwebframe.cpp:
246         (webkit_web_frame_replace_selection):
247         * webkit/webkitwebview.cpp:
248         (getLocationForKeyboardGeneratedContextMenu):
249         (webkit_web_view_focus_in_event):
250         (webkit_web_view_real_select_all):
251         (webkit_web_view_real_cut_clipboard):
252         (webkit_web_view_real_copy_clipboard):
253         (webkit_web_view_real_undo):
254         (webkit_web_view_real_redo):
255         (webkit_web_view_real_paste_clipboard):
256         (webkit_web_view_set_highlight_text_matches):
257         (webkit_web_view_can_cut_clipboard):
258         (webkit_web_view_can_copy_clipboard):
259         (webkit_web_view_can_paste_clipboard):
260         (webkit_web_view_delete_selection):
261         (webkit_web_view_set_editable):
262         (webkit_web_view_can_undo):
263         (webkit_web_view_can_redo):
264
265 2013-05-14  Zan Dobersek  <zdobersek@igalia.com>
266
267         [GTK] Move generated ColorData.cpp, WebKitFontFamilyNames.(cpp|h) build targets into libPlatform
268         https://bugs.webkit.org/show_bug.cgi?id=115921
269
270         Reviewed by Gustavo Noronha Silva.
271
272         * GNUmakefile.am: Add platform_cppflags to the list of CPPFLAGS for libwebkit2gtk, libWebCoreGtk2,
273         libPlatformGtk2 and WebKitPluginProcess.
274
275 2013-05-12  Timothy Hatcher  <timothy@apple.com>
276
277         Add support for updating the Web Inspector toolbar height.
278
279         https://bugs.webkit.org/show_bug.cgi?id=115996
280
281         Reviewed by Joseph Pecoraro and Benjamin Poulain.
282
283         * WebCoreSupport/InspectorClientGtk.cpp:
284         (WebKit::InspectorFrontendClient::setToolbarHeight):
285         * WebCoreSupport/InspectorClientGtk.h:
286
287 2013-05-12  Anders Carlsson  <andersca@apple.com>
288
289         Stop including UnusedParam.h
290         https://bugs.webkit.org/show_bug.cgi?id=116003
291
292         Reviewed by Sam Weinig.
293
294         UnusedParam.h is empty now so there's no need to include it anymore.
295
296         * webkit/webkitapplicationcache.cpp:
297
298 2013-05-12  Carlos Garcia Campos  <cgarcia@igalia.com>
299
300         [GTK] Remove unnecessary GTK_CHECK_VERSION #ifdefs
301         https://bugs.webkit.org/show_bug.cgi?id=115914
302
303         Reviewed by Martin Robinson.
304
305         * WebCoreSupport/ChromeClientGtk.cpp:
306         (WebKit::ChromeClient::contentsSizeChanged):
307         * WebCoreSupport/FrameLoaderClientGtk.cpp:
308         (WebKit::FrameLoaderClient::transitionToCommittedForNewPage):
309         * tests/testapplicationcache.c:
310         * tests/testatk.c:
311         * tests/testatkroles.c:
312         (main):
313         * tests/testcontextmenu.c:
314         * tests/testcopyandpaste.c:
315         (main):
316         * tests/testdomdocument.c:
317         * tests/testdomdomwindow.c:
318         * tests/testdomnode.c:
319         * tests/testdownload.c:
320         (main):
321         * tests/testfavicondatabase.c:
322         (main):
323         * tests/testglobals.c:
324         * tests/testhittestresult.c:
325         * tests/testhttpbackend.c:
326         (main):
327         * tests/testkeyevents.c:
328         (main):
329         * tests/testloading.c:
330         * tests/testmimehandling.c:
331         (main):
332         * tests/testnetworkrequest.c:
333         (main):
334         * tests/testnetworkresponse.c:
335         (main):
336         * tests/testwebbackforwardlist.c:
337         (main):
338         * tests/testwebdatasource.c:
339         (main):
340         * tests/testwebframe.c:
341         (main):
342         * tests/testwebhistoryitem.c:
343         (main):
344         * tests/testwebinspector.c:
345         (main):
346         * tests/testwebplugindatabase.c:
347         (main):
348         * tests/testwebresource.c:
349         (main):
350         * tests/testwebsettings.c:
351         (main):
352         * tests/testwebview.c:
353         * tests/testwindow.c:
354         (main):
355         * webkit/webkitwebview.cpp:
356         (webkit_web_view_realize):
357         (webkit_web_view_show_help):
358         (webkit_web_view_class_init):
359         (webkit_web_view_set_tooltip_text):
360
361 2013-05-07  Tomas Popela  <tpopela@redhat.com>
362
363         [GTK] Initialize WebKitWebPlugin path to prevent double-free
364         https://bugs.webkit.org/show_bug.cgi?id=115624
365
366         Reviewed by Carlos Garcia Campos.
367
368         Use GOwnPtr for WebKitWebPlugin path to prevent double-free
369         situations. Also use GOwnPtr for GError in webkit_web_plugin_get_path.
370
371         * webkit/webkitwebplugin.cpp:
372         (webkit_web_plugin_finalize):
373         (webkit_web_plugin_get_path):
374         * webkit/webkitwebpluginprivate.h:
375
376 2013-05-06  Zan Dobersek  <zdobersek@igalia.com>
377
378         [GTK] Move GeolocationProviderGeoclue into libPlatform
379         https://bugs.webkit.org/show_bug.cgi?id=115591
380
381         Reviewed by Martin Robinson.
382
383         * GNUmakefile.am: Add platform_webcore_cppflags to the list of libwebkitgtk's CPPFLAGS.
384
385 2013-05-02  Zan Dobersek  <zdobersek@igalia.com>
386
387         Segmentation Fault with Romanian locale. Evolution not starting.
388         https://bugs.webkit.org/show_bug.cgi?id=115484
389
390         Reviewed by Darin Adler.
391
392         Do not translate the property names that are being passed to the g_param_spec_boolean
393         method - it is not required and is causing segfaults with various locales.
394
395         * webkit/webkitviewportattributes.cpp:
396         (webkit_viewport_attributes_class_init):
397
398 2013-04-30  Ed Bartosh  <bartosh@gmail.com>
399
400         [GTK] --minimal build fails with error: class WebCore::EventHandler' has no member named 'dragSourceEndedAt
401         https://bugs.webkit.org/show_bug.cgi?id=114299
402
403         Reviewed by Martin Robinson.
404
405         Wrapped code, related to drag&drop in #if ENABLE(DRAG_SUPPORT)
406
407         * webkit/webkitwebview.cpp:
408         (webkit_web_view_class_init):
409         (webkit_web_view_init):
410
411 2013-04-25  Joseph Pecoraro  <pecoraro@apple.com>
412
413         Web Inspector: ConsoleMessage should include line and column number where possible
414         https://bugs.webkit.org/show_bug.cgi?id=114929
415
416         Reviewed by Timothy Hatcher.
417
418         * WebCoreSupport/ChromeClientGtk.cpp:
419         (WebKit::ChromeClient::addMessageToConsole):
420         * WebCoreSupport/ChromeClientGtk.h:
421         (ChromeClient):
422
423 2013-04-22  Martin Robinson  <mrobinson@igalia.com>
424
425         Try to fix the build after enabling gobject-introspection
426
427         * GNUmakefile.am: Disable --warn-error for WebKit1 until we can work out all gir failures.
428         * webkit/webkitwebplugin.cpp: Skip this API for introspection because it return a GSList
429         of pointer (non-boxed) types.
430
431 2013-04-22  Martin Robinson  <mrobinson@igalia.com>
432
433         [GTK] Enable introspection always for developer builds
434         https://bugs.webkit.org/show_bug.cgi?id=114983
435
436         Reviewed by Gustavo Noronha Silva.
437
438         * GNUmakefile.am: Make warnings during gir scanning cause the build to fail. Eliminate
439         warnings about deprecated API that the g-ir-scanner uses when generating
440         the scanner program. Use --quiet to avoid printing lots of output to
441         non-verbose builds.
442
443 2013-04-22  Martin Robinson  <mrobinson@igalia.com>
444
445         [GTK] Fix remaining introspection warnings
446         https://bugs.webkit.org/show_bug.cgi?id=114980
447
448         Reviewed by Gustavo Noronha Silva.
449
450         * webkit/webkitspellchecker.h:
451         (_WebKitSpellCheckerInterface): Align the name of the check_spelling_of_string virtual
452         method with the concrete method to avoid a g-ir-scanner warning.
453         * webkit/webkitversion.h.in: Skip WEBKITGTK_API_VERSION for introspection because it
454         doesn't follow the appropriate namespace name.
455
456 2013-04-22  Zan Dobersek  <zdobersek@igalia.com>
457
458         [GTK] Set up libPlatform.la
459         https://bugs.webkit.org/show_bug.cgi?id=114168
460
461         Reviewed by Martin Robinson.
462
463         * GNUmakefile.am: Add the new libPlatform.la library to the libwebkitgtk library.
464
465 2013-04-19  Martin Robinson  <mrobinson@igalia.com>
466
467         [GTK] JSCore.gir.in has a few problems
468         https://bugs.webkit.org/show_bug.cgi?id=114710
469
470         Reviewed by Philippe Normand.
471
472         * GNUmakefile.am: Updated to reflect new name and location of JavaScriptCore-x.0.gir.
473         * JSCore.gir.in: Removed.
474
475 2013-04-17  Geoffrey Garen  <ggaren@apple.com>
476
477         Renamed JSGlobalData to VM
478         https://bugs.webkit.org/show_bug.cgi?id=114777
479
480         Reviewed by Phil Pizlo.
481
482         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
483         (DumpRenderTreeSupportGtk::gcCountJavascriptObjects):
484
485 2013-04-16  Anders Carlsson  <andersca@apple.com>
486
487         Fix speling error.
488
489         * WebCoreSupport/WebViewInputMethodFilter.cpp:
490
491 2013-04-16  Ryosuke Niwa  <rniwa@webkit.org>
492
493         Another GTK+ build fix.
494
495         * WebCoreSupport/WebViewInputMethodFilter.cpp:
496
497 2013-04-16  Ryosuke Niwa  <rniwa@webkit.org>
498
499         GTK+ build fix attempt.
500
501         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
502         * WebCoreSupport/WebViewInputMethodFilter.cpp:
503         * webkit/webkitwebframe.cpp:
504
505 2013-04-14  Andreas Kling  <akling@apple.com>
506
507         Move CSSOM classes to using MutableStylePropertySet over StylePropertySet.
508         <http://webkit.org/b/114581>
509
510         Reviewed by Anders Carlsson.
511
512         * WebCoreSupport/EditorClientGtk.cpp:
513         (WebKit::EditorClient::shouldApplyStyle):
514
515 2013-04-12  Carlos Garcia Campos  <cgarcia@igalia.com>
516
517         [GTK] Split GtkAuthenticationDialog in two widgets
518         https://bugs.webkit.org/show_bug.cgi?id=103644
519
520         Reviewed by Xan Lopez.
521
522         * GNUmakefile.am: Add new files to compilation.
523         * WebCoreSupport/FrameLoaderClientGtk.cpp:
524         (WebKit::FrameLoaderClient::dispatchDidReceiveAuthenticationChallenge):
525         Use helper createAuthenticationDialog() to create and show the
526         auth dialog.
527         * webkit/webkitauthenticationdialog.cpp: Added.
528         (authenticationDialogResponseCallback):
529         (createAuthenticationDialog):
530         * webkit/webkitauthenticationdialog.h: Added.
531         * webkit/webkitsoupauthdialog.cpp:
532         (sessionAuthenticate): Ditto.
533
534 2013-04-10  Benjamin Poulain  <bpoulain@apple.com>
535
536         Mass remove all the empty directories
537
538         Rubberstamped by Ryosuke Niwa.
539
540         * gyp: Removed.
541         * po: Removed.
542
543 2013-04-10  Anton Obzhirov  <a.obzhirov@samsung.com>
544
545         [GTK] Add support for Page Visibility
546         https://bugs.webkit.org/show_bug.cgi?id=97324
547
548         Reviewed by Sam Weinig.
549
550         Implemented access to page visibility API for GTK test runner.
551
552         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
553         (DumpRenderTreeSupportGtk::setPageVisibility):
554         * WebCoreSupport/DumpRenderTreeSupportGtk.h:
555
556 2013-04-08  Carlos Garcia Campos  <cgarcia@igalia.com>
557
558         [GTK] DOM objects created wrapping a base class have incorrect GObject type
559         https://bugs.webkit.org/show_bug.cgi?id=113132
560
561         Reviewed by Gustavo Noronha Silva.
562
563         Remove WebKitDOMBindindg.h include from several files because it's
564         been renamed and it was not actually needed.
565
566         * WebCoreSupport/ChromeClientGtk.cpp:
567         * WebCoreSupport/EditorClientGtk.cpp:
568         * webkit/webkithittestresult.cpp:
569
570 2013-04-04  Martin Robinson  <mrobinson@igalia.com>
571
572         [GTK] Remove the gyp build
573         https://bugs.webkit.org/show_bug.cgi?id=113942
574
575         Reviewed by Gustavo Noronha Silva.
576
577         * gyp/Configuration.gypi.in: Removed.
578         * gyp/Dependencies.gyp: Removed.
579         * gyp/GNUmakefile: Removed.
580         * gyp/autogen.sh: Removed.
581         * gyp/configure.ac: Removed.
582         * gyp/run-gyp: Removed.
583
584 2013-04-04  Christophe Dumez  <ch.dumez@sisa.samsung.com>
585
586         [Cairo] Fix canvas drawing of SVG-based patterns and remove NativeImageCairo
587         https://bugs.webkit.org/show_bug.cgi?id=113929
588
589         Reviewed by Martin Robinson.
590
591         Update code now that PassNativeImagePtr is now a typedef to PassRefPtr<cairo_surface_t>
592         instead of NativeImageCairo*.
593
594         * webkit/webkitfavicondatabase.cpp:
595         (getIconPixbufSynchronously):
596
597 2013-04-03  Alban Crequy  <alban.crequy@collabora.co.uk>
598
599         [GTK] WebKitWebNavigationAction: fix mix between dispose and finalize
600         https://bugs.webkit.org/show_bug.cgi?id=113794
601
602         Reviewed by Gustavo Noronha Silva.
603
604         WebKitWebNavigationAction's dispose function was named finalize and was calling
605         the parent class's finalise function, causing a memory corruption. Change it to
606         be a proper finalize function instead.
607
608         * webkit/webkitwebnavigationaction.cpp:
609         (webkit_web_navigation_action_class_init):
610
611 2013-03-28  Zan Dobersek  <zdobersek@igalia.com>
612
613         [GTK] Build GTK-specific, non-layer-violating source code into WebCore-independent libPlatformGtk.la
614         https://bugs.webkit.org/show_bug.cgi?id=112546
615
616         Reviewed by Martin Robinson.
617
618         * GNUmakefile.am: The GtkVersioning.c file has moved back under Source/WebCore/platform.
619
620 2013-03-26  Martin Robinson  <mrobinson@igalia.com>
621
622         [GTK] [gyp] Improve support for rerunning gyp automatically
623         https://bugs.webkit.org/show_bug.cgi?id=113360
624
625         Reviewed by Gustavo Noronha Silva.
626
627         Add support for automatically rerunning gyp when input file changes are detected
628         while running make.
629
630         * gyp/GNUmakefile: Added. A wrapper that invokes the generated makefile.
631         * gyp/autogen.sh: Add a symlink to the wrapper script.
632         * gyp/configure.ac: "Freeze" the TOPLEVEL_DIRECTORY command-line argument so that
633         run-gyp reads it properly when configure is run independently of autogen.sh.
634         * gyp/run-gyp: Prevent generation of auto-regeneration rules in gyp. They are buggy.
635
636 2013-03-27  Timothy Hatcher  <timothy@apple.com>
637
638         Add support for dock-to-right of the Web Inspector in the Mac port.
639
640         Unfortunately this requires Safari changes, so it is disabled in the nightly builds.
641
642         https://webkit.org/b/113341
643         rdar://problem/10368152
644
645         Reviewed by Joseph Pecoraro.
646
647         * WebCoreSupport/InspectorClientGtk.cpp:
648         (WebKit::InspectorFrontendClient::attachWindow):
649         (WebKit::InspectorFrontendClient::setAttachedWindowWidth):
650         * WebCoreSupport/InspectorClientGtk.h:
651         (InspectorFrontendClient):
652
653 2013-03-26  Hayato Ito  <hayato@chromium.org>
654
655         Allow ShadowContents in HitTests by default.
656         https://bugs.webkit.org/show_bug.cgi?id=113171
657
658         Reviewed by Dimitri Glazkov.
659
660         * webkit/webkitwebinspector.cpp:
661         (webkit_web_inspector_inspect_coordinates):
662         * webkit/webkitwebview.cpp:
663         (prepareMouseEventForFrame):
664         (webkit_web_view_get_hit_test_result):
665
666 2013-03-26  Tony Chang  <tony@chromium.org>
667
668         Autogenerate the scrollAnimatorEnabled setting in Settings.in
669         https://bugs.webkit.org/show_bug.cgi?id=113253
670
671         Reviewed by James Robinson.
672
673         * webkit/webkitwebview.cpp:
674         (webkit_web_view_update_settings): Update call to WebCore to use setScrollAnimatorEnabled(bool).
675         (webkit_web_view_settings_notify): Update call to WebCore to use setScrollAnimatorEnabled(bool).
676
677 2013-03-23  Carlos Garcia Campos  <cgarcia@igalia.com>
678
679         [GTK][Regression] webkit_dom_html_table_element_insert_row returns value that doesn't pass WEBKIT_DOM_IS_HTML_TABLE_ROW_ELEMENT macro
680         https://bugs.webkit.org/show_bug.cgi?id=111714
681
682         Reviewed by Martin Robinson.
683
684         Add test that checks webkit_dom_html_table_element_insert_row() to
685         also preproduce this issue.
686
687         * tests/testdomdocument.c:
688         (test_dom_document_insert_row):
689         (main):
690
691 2013-03-22  Gustavo Noronha Silva  <gns@gnome.org>
692
693         Trivial fixes to the gyp-build autogen.sh script.
694
695         Reviewed by Martin Robinson (mrobinson).
696
697         * gyp/autogen.sh: add /bin/sh -e as hashbang, so stricter shells will be happy to
698         run the script; deal with automake exiting with an error code because there is no
699         Makefile.am for it to work on.
700
701 2013-03-19  Martin Robinson  <mrobinson@igalia.com>
702
703         [GTK] Add support for building the WebCore bindings to the gyp build
704         https://bugs.webkit.org/show_bug.cgi?id=112638
705
706         Reviewed by Nico Weber.
707
708         * gyp/Configuration.gypi.in: Added options for enabling SVG and setting the location of
709         the WebCore derived sources.
710         * gyp/run-gyp: Include the gyp scripts directory on the Python path and make the WebCoreGTK
711         gyp file the default for the build.
712
713 2013-03-22  Martin Robinson  <mrobinson@igalia.com>
714
715         [GTK] [gyp] Expose a few more compiler defines for the gyp build
716         https://bugs.webkit.org/show_bug.cgi?id=113109
717
718         Reviewed by Gustavo Noronha Silva.
719
720         * gyp/Configuration.gypi.in: Expose the version number string and data
721         directory to the gyp build as command-line arguments.
722
723 2013-03-22  Martin Robinson  <mrobinson@igalia.com>
724
725         [GTK] [gyp] Feature defines are not space separated
726         https://bugs.webkit.org/show_bug.cgi?id=113108
727
728         Reviewed by Gustavo Noronha Silva.
729
730         * gyp/configure.ac: Properly export feature defines for gyp during
731         configure phase.
732
733 2013-03-22  Mario Sanchez Prada  <mario.prada@samsung.com>
734
735         [GTK] Include the right GL header for GLES2
736         https://bugs.webkit.org/show_bug.cgi?id=113034
737
738         Reviewed by Martin Robinson.
739
740         Include GLES2/gl2.h when using GLES2.
741
742         * WebCoreSupport/AcceleratedCompositingContextGL.cpp:
743
744 2013-03-20  Zan Dobersek  <zdobersek@igalia.com>
745
746         [GTK] Build ANGLE sources into a separate library from libWebCore.la
747         https://bugs.webkit.org/show_bug.cgi?id=112778
748
749         Reviewed by Martin Robinson.
750
751         * GNUmakefile.am: Add libLevelDB.la to the libwebkitgtk library if using the OpenGL accelerated backend.
752
753 2013-03-17  Gustavo Noronha Silva  <gns@gnome.org>
754
755         [GTK] Fix and improve dist hooks for translations
756         https://bugs.webkit.org/show_bug.cgi?id=112519
757
758         Reviewed by Carlos Garcia Campos.
759
760         * GNUmakefile.am: removed left-over translation files from EXTRA_DIST
761
762 2013-03-15  Nate Chapin  <japhet@chromium.org>
763
764         Hide MainResourceLoader from the outside world
765         https://bugs.webkit.org/show_bug.cgi?id=109971
766
767         Reviewed by Adam Barth.
768
769         * WebCoreSupport/FrameLoaderClientGtk.cpp:
770         (WebKit::FrameLoaderClient::convertMainResourceLoadToDownload):
771         * WebCoreSupport/FrameLoaderClientGtk.h:
772         (FrameLoaderClient):
773
774 2013-03-15  Abhishek Arya  <inferno@chromium.org>
775
776         Replace static_casts with to* helper functions.
777         https://bugs.webkit.org/show_bug.cgi?id=112401
778
779         Reviewed by Stephen Chenney.
780
781         to* helper functions are preferred over static_cast calls since they
782         help to catch bad casts easily on the testing infrastructure.
783
784         * WebCoreSupport/FrameLoaderClientGtk.cpp:
785         (WebKit::FrameLoaderClient::redirectDataToPlugin):
786
787 2013-03-14  Manuel Rego Casasnovas  <rego@igalia.com>
788
789         Add selectTrailingWhitespaceEnabled setting to WebCore::Page
790         https://bugs.webkit.org/show_bug.cgi?id=109404
791
792         Reviewed by Tony Chang.
793
794         Use new settings for smartInsertDeleteEnabled and
795         selectTrailingWhitespaceEnabled.
796
797         Remove code related to DRT as it is not needed anymore.
798
799         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
800         * WebCoreSupport/DumpRenderTreeSupportGtk.h:
801         (DumpRenderTreeSupportGtk):
802         * WebCoreSupport/EditorClientGtk.cpp:
803         (WebKit::EditorClient::smartInsertDeleteEnabled):
804         (WebKit::EditorClient::isSelectTrailingWhitespaceEnabled):
805         (WebKit::EditorClient::EditorClient):
806         * WebCoreSupport/EditorClientGtk.h:
807         (EditorClient):
808
809 2013-03-14  Abhishek Arya  <inferno@chromium.org>
810
811         Replace static_casts with to* helper functions.
812         https://bugs.webkit.org/show_bug.cgi?id=112296
813
814         Reviewed by Kentaro Hara.
815
816         to* helper functions are preferred over static_cast calls since they
817         help to catch bad casts easily on the testing infrastructure.
818
819         * webkit/webkitwebview.cpp:
820         (webkit_web_view_query_tooltip):
821
822 2013-03-13  Tomas Popela  <tpopela@redhat.com>
823
824         [GTK][Introspection] Fix of gtk doc annotation warnings
825         https://bugs.webkit.org/show_bug.cgi?id=109182
826
827         Reviewed by Martin Robinson.
828
829         Fixed some gtk doc annotation warnings that appears during
830         compiling. Also some white characters were removed and some restyling
831         was done - all the g_signal_new in webkit directory have now the same
832         style. 
833
834
835         * webkit/webkitdownload.cpp:
836         (webkit_download_class_init):
837         * webkit/webkitfavicondatabase.cpp:
838         (webkit_favicon_database_class_init):
839         * webkit/webkitgeolocationpolicydecision.cpp:
840         * webkit/webkitglobals.cpp:
841         * webkit/webkithittestresult.h:
842         * webkit/webkiticondatabase.cpp:
843         (webkit_icon_database_class_init):
844         * webkit/webkitsecurityorigin.cpp:
845         * webkit/webkitsecurityorigin.h:
846         * webkit/webkitsoupauthdialog.cpp:
847         * webkit/webkitspellchecker.cpp:
848         * webkit/webkitviewportattributes.cpp:
849         (webkit_viewport_attributes_class_init):
850         * webkit/webkitwebdatabase.cpp:
851         * webkit/webkitwebframe.cpp:
852         (webkit_web_frame_class_init):
853         * webkit/webkitwebframe.h:
854         * webkit/webkitwebinspector.cpp:
855         (webkit_web_inspector_class_init):
856         * webkit/webkitwebnavigationaction.cpp:
857         (webkit_web_navigation_action_class_init):
858         * webkit/webkitwebplugindatabase.cpp:
859         * webkit/webkitwebpolicydecision.cpp:
860         * webkit/webkitwebresource.cpp:
861         (webkit_web_resource_class_init):
862         * webkit/webkitwebsettings.cpp:
863         (webkit_web_settings_class_init):
864         * webkit/webkitwebview.cpp:
865         (webkit_web_view_class_init):
866         (webkit_web_view_apply_zoom_level):
867         * webkit/webkitwebwindowfeatures.cpp:
868         (webkit_web_window_features_equal):
869
870 2013-03-13  Pavel Feldman  <pfeldman@chromium.org>
871
872         Web Inspector: get rid of hiddenPanels filter
873         https://bugs.webkit.org/show_bug.cgi?id=112252
874
875         Reviewed by Vsevolod Vlasov.
876
877         * WebCoreSupport/InspectorClientGtk.cpp:
878         * WebCoreSupport/InspectorClientGtk.h:
879         (InspectorFrontendClient):
880
881 2013-03-12  Zan Dobersek  <zdobersek@igalia.com>
882
883         [GTK] Set up the libPlatformGtk.la library
884         https://bugs.webkit.org/show_bug.cgi?id=111738
885
886         Reviewed by Martin Robinson.
887
888         * GNUmakefile.am: Reference platformgtk_cppflags variable, libPlatformGtk.la along with webcoregtk_cppflags variable, libWebCoreGtk.la.
889         Adjust the path to GtkVersioning.c, the file has moved under Source/Platform.
890
891 2013-03-07  Zan Dobersek  <zdobersek@igalia.com>
892
893         [GTK] Limit the supported compilers to GCC >= 4.7 and Clang >= 3.0
894         https://bugs.webkit.org/show_bug.cgi?id=109932
895
896         Reviewed by Martin Robinson.
897
898         * GNUmakefile.am: Replace references to SYMBOL_VISIBILITY_INLINES and SYMBOL_VISIBILITY variables with the actual flags.
899         They are now available by default due to the limited set of supported compilers.
900
901 2013-03-06  Gustavo Noronha Silva  <gns@gnome.org>
902
903         [GTK] Enable translations for WebKit2
904         https://bugs.webkit.org/show_bug.cgi?id=111398
905
906         Reviewed by Martin Robinson.
907
908         * GNUmakefile.am: no longer distribute po files from here, they've moved to
909         Sources/WebCore/platform/gtk.
910
911 2013-03-07  Tomas Popela  <tpopela@redhat.com>
912
913         [GTK] Expose "ShouldRespectImageOrientation" setting into WebKitWebSettings
914         https://bugs.webkit.org/show_bug.cgi?id=111414
915
916         Reviewed by Carlos Garcia Campos.
917
918         We should expose ShouldRespectImageOrientation setting into
919         WebKitWebSettings. When it is enabled, the images are shown with right
920         orientation regarding to images EXIF data.
921
922         * webkit/webkitwebsettings.cpp:
923         (webkit_web_settings_class_init):
924         (webkit_web_settings_set_property):
925         (webkit_web_settings_get_property):
926         * webkit/webkitwebsettingsprivate.h:
927         * webkit/webkitwebview.cpp:
928         (webkit_web_view_update_settings):
929         (webkit_web_view_settings_notify):
930
931 2013-03-06  Benjamin Poulain  <benjamin@webkit.org>
932
933         WebKitTestRunner needs layoutTestController.elementDoesAutoCompleteForElementWithId
934         https://bugs.webkit.org/show_bug.cgi?id=42696
935
936         Reviewed by Andreas Kling.
937
938         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
939         * WebCoreSupport/DumpRenderTreeSupportGtk.h:
940         (DumpRenderTreeSupportGtk):
941
942 2013-03-06  Sudarsana Nagineni  <sudarsana.nagineni@intel.com>
943
944         [GTK] Return m_inspectorFilesPath if it is not null
945         https://bugs.webkit.org/show_bug.cgi?id=111633
946
947         Reviewed by Martin Robinson.
948
949         Added missing return in InspectorClient::inspectorFilesPath().
950
951         * WebCoreSupport/InspectorClientGtk.cpp:
952         (WebKit::InspectorClient::inspectorFilesPath):
953
954 2013-03-06  Dominique Leuenberger  <dimstar@opensuse.org>
955
956         Link the webkit_tests to XRENDER_LIBS.
957         This solves the linking failure when building against gtk2 like:
958         usr/lib/gcc/i586-suse-linux/4.7/../../../../i586-suse-linux/bin/ld:
959         Source/WebCore/platform/gtk/Programs_unittests_testcopyandpaste-GtkVersioning.o:
960         undefined reference to symbol 'XFree'
961         /usr/lib/gcc/i586-suse-linux/4.7/../../../../i586-suse-linux/bin/ld:
962         note: 'XFree' is defined in DSO /usr/lib/libX11.so.6 so try adding it
963         to the linker command line
964         /usr/lib/libX11.so.6: could not read symbols: Invalid operation
965
966         https://bugs.webkit.org/show_bug.cgi?id=111572
967
968         Reviewed by Gustavo Noronha Silva.
969
970         * GNUmakefile.am:
971
972 2013-03-03  Adam Barth  <abarth@webkit.org>
973
974         Unreviewed rollout of http://trac.webkit.org/r144530
975         As described in https://bugs.webkit.org/show_bug.cgi?id=111167 and
976         https://bugs.webkit.org/show_bug.cgi?id=111035, this patch caused a
977         large number of ASSERTs in chromium-win.
978
979         * webkit/webkitwebpolicydecision.cpp:
980
981 2013-03-02  Benjamin Poulain  <bpoulain@apple.com>
982
983         Move computedStyleIncludingVisitedInfo from TestRunner to Internals
984         https://bugs.webkit.org/show_bug.cgi?id=109772
985
986         Reviewed by Andreas Kling.
987
988         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
989         * WebCoreSupport/DumpRenderTreeSupportGtk.h:
990         (DumpRenderTreeSupportGtk):
991
992 2013-02-28  Alexey Proskuryakov  <ap@apple.com>
993
994         Reduce amount of rebuilding when touching networking headers
995         https://bugs.webkit.org/show_bug.cgi?id=111035
996
997         Reviewed by Eric Seidel.
998
999         Adding includes that are now necessary because WebCore headers don't have them
1000         any more.
1001
1002         * webkit/webkitwebpolicydecision.cpp:
1003
1004 2013-03-01  Jason Anderssen  <janderssen@gmail.com>
1005
1006         Move markerTextForListItem from TestRunner to Internals
1007         https://bugs.webkit.org/show_bug.cgi?id=110939
1008
1009         Reviewed by Benjamin Poulain.
1010
1011         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
1012         * WebCoreSupport/DumpRenderTreeSupportGtk.h:
1013         (DumpRenderTreeSupportGtk):
1014
1015 2013-03-01  Martin Robinson  <mrobinson@igalia.com>
1016
1017         [GTK] Expose more of the configuration step to the gyp build
1018         https://bugs.webkit.org/show_bug.cgi?id=111213
1019
1020         Reviewed by Dirk Pranke.
1021
1022         Expose more of the configuration phase to the gyp build, including WebKit features
1023         and binary paths.
1024
1025         * gyp/Configuration.gypi.in: Add templatized gyp variables for the new configuration bits.
1026         * gyp/autogen.sh: Properly link up the WebKit features script. So we can access it
1027         relatively as if we were at the top-level of the source directory.
1028         * gyp/configure.ac: Export the WebKit features.
1029
1030 2013-03-01  Sheriff Bot  <webkit.review.bot@gmail.com>
1031
1032         Unreviewed, rolling out r144422 and r144424.
1033         http://trac.webkit.org/changeset/144422
1034         http://trac.webkit.org/changeset/144424
1035         https://bugs.webkit.org/show_bug.cgi?id=111167
1036
1037         Caused over 20 tests to fail assertion on Chromium Win port as
1038         ASSERTION FAILED: m_platformRequestUpdated (Requested by
1039         toyoshim on #webkit).
1040
1041         * webkit/webkitwebpolicydecision.cpp:
1042
1043 2013-02-28  Alexey Proskuryakov  <ap@apple.com>
1044
1045         Reduce amount of rebuilding when touching networking headers
1046         https://bugs.webkit.org/show_bug.cgi?id=111035
1047
1048         Reviewed by Eric Seidel.
1049
1050         Adding includes that are now necessary because WebCore headers don't have them
1051         any more.
1052
1053         * webkit/webkitwebpolicydecision.cpp:
1054
1055 2013-02-26  Martin Robinson  <mrobinson@igalia.com>
1056
1057         REGRESSION (r143619): Crashes in three layout tests
1058         https://bugs.webkit.org/show_bug.cgi?id=110588
1059
1060         Reviewed by Gustavo Noronha Silva.
1061
1062         Guard against null main resource identifiers. The main resource
1063         identifier can be null at various times during the load. A null
1064         identifier is never equal to the ones we are looking to remove.
1065
1066         * WebCoreSupport/FrameLoaderClientGtk.cpp:
1067         (WebKit::FrameLoaderClient::dispatchDidFinishLoading): Use the new webkitWebViewRemoveSubresource helper.
1068         (WebKit::FrameLoaderClient::dispatchDidFailLoading): ditto.
1069         * webkit/webkitwebview.cpp:
1070         (webkitWebViewRemoveSubresource): Added this helper which removes a subresource, but
1071         never touches the main resource. This is adapted from the old method, for which the
1072         main resource branch was dead code.
1073         * webkit/webkitwebviewprivate.h: Update the method list.
1074
1075 2013-02-25  Andreas Kling  <akling@apple.com>
1076
1077         Reduce amount of code that includes StylePropertySet.h
1078         <http://webkit.org/b/101149>
1079
1080         Reviewed by Antti Koivisto.
1081
1082         * WebCoreSupport/EditorClientGtk.cpp:
1083
1084 2013-02-24  Gustavo Noronha Silva  <gns@gnome.org>
1085
1086         [GTK] GTK+ 2 build broken since GTK_API_VERSION_2 moved to autoconfig.h
1087         https://bugs.webkit.org/show_bug.cgi?id=110702
1088
1089         Reviewed by Martin Robinson.
1090
1091         * tests/testapplicationcache.c: include autotoolsconfig.h.
1092         * tests/testatk.c: ditto.
1093         * tests/testatkroles.c: ditto.
1094         * tests/testcontextmenu.c: ditto.
1095         * tests/testcopyandpaste.c: ditto.
1096         * tests/testdomdocument.c: ditto.
1097         * tests/testdomdomwindow.c: ditto.
1098         * tests/testdomnode.c: ditto.
1099         * tests/testdownload.c: ditto.
1100         * tests/testfavicondatabase.c: ditto.
1101         * tests/testglobals.c: ditto.
1102         * tests/testhittestresult.c: ditto.
1103         * tests/testhttpbackend.c: ditto.
1104         * tests/testkeyevents.c: ditto.
1105         * tests/testloading.c: ditto.
1106         * tests/testmimehandling.c: ditto.
1107         * tests/testnetworkrequest.c: ditto.
1108         * tests/testnetworkresponse.c: ditto.
1109         * tests/testwebbackforwardlist.c: ditto.
1110         * tests/testwebdatasource.c: ditto.
1111         * tests/testwebframe.c: ditto.
1112         * tests/testwebhistoryitem.c: ditto.
1113         * tests/testwebinspector.c: ditto.
1114         * tests/testwebplugindatabase.c: ditto.
1115         * tests/testwebresource.c: ditto.
1116         * tests/testwebsettings.c: ditto.
1117         * tests/testwebview.c: ditto.
1118         * tests/testwindow.c: ditto.
1119
1120 2013-02-23  Jason Anderssen  <janderssen@gmail.com>
1121
1122         Move setAutofilled from TestRunner to WebCore
1123         https://bugs.webkit.org/show_bug.cgi?id=110521
1124
1125         Reviewed by Benjamin Poulain.
1126
1127         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
1128         * WebCoreSupport/DumpRenderTreeSupportGtk.h:
1129         (DumpRenderTreeSupportGtk):
1130
1131 2013-02-22  Martin Robinson  <mrobinson@igalia.com>
1132
1133         [GTK] Expose all dependencies to the gyp build
1134         https://bugs.webkit.org/show_bug.cgi?id=110498
1135
1136         Reviewed by Dirk Pranke.
1137
1138         * gyp/Configuration.gypi.in: Add the missing configuration cflags here.
1139         * gyp/Dependencies.gyp: Add targets for all missing dependencies.
1140
1141 2013-02-21  George McCollister  <george.mccollister@gmail.com>
1142
1143         [GTK] Remove subresource leaks from WebKit1 and WebKit2
1144         https://bugs.webkit.org/show_bug.cgi?id=108960
1145
1146         Reviewed by Martin Robinson.
1147
1148         * WebCoreSupport/FrameLoaderClientGtk.cpp:
1149         (WebKit::FrameLoaderClient::dispatchDidFinishLoading): Remove resource
1150         if it isn't the main resource to prevent leak.
1151         (WebKit::FrameLoaderClient::dispatchDidFailLoading): Ditto
1152         * webkit/webkitwebview.cpp:
1153         (cleanupTemporarilyCachedSubresources): Added to cleanup subresources.
1154         (webkit_web_view_get_subresources): Use getSubresources from the
1155         documentLoader to provide subresources since resources will be removed
1156         from webview after loading.
1157
1158 2013-02-21  Carlos Garcia Campos  <cgarcia@igalia.com>
1159
1160         Unreviewed. Fix make distcheck.
1161
1162         * GNUmakefile.am: Add -DBUILDING_WEBKIT flags to introspection
1163         scanner.
1164
1165 2013-02-15  Martin Robinson  <mrobinson@igalia.com>
1166
1167         [GTK] Spread the gyp build files throughout the tree
1168         https://bugs.webkit.org/show_bug.cgi?id=109960
1169
1170         Reviewed by Dirk Pranke.
1171
1172         * gyp/Configuration.gypi.in: Remove the 'Source', since now it cannot be shared.
1173         * gyp/run-gyp: Update the path to the JavaScriptCore gypfile.
1174
1175 2013-02-15  Martin Robinson  <mrobinson@igalia.com>
1176
1177         Unreviewed, rolling out parts of r142731.
1178         http://trac.webkit.org/changeset/142731
1179         https://bugs.webkit.org/show_bug.cgi?id=109672
1180
1181         This patch broke the GTK+ gyp build. Roll out the changes there,
1182         since they were actually unnecessary.
1183
1184         * gyp/Configuration.gypi.in:
1185         * gyp/Dependencies.gyp:
1186         * gyp/JavaScriptCore.gyp:
1187         * gyp/WTF.gyp:
1188
1189 2013-02-13  Allan Sandfeld Jensen  <allan.jensen@digia.com>
1190
1191         [Qt] window.open passes height and width parameters even if not defined in a page
1192         https://bugs.webkit.org/show_bug.cgi?id=107705
1193
1194         Reviewed by Kenneth Rohde Christiansen.
1195
1196         Do not resize window when default size is requested.
1197
1198         * WebCoreSupport/ChromeClientGtk.cpp:
1199         (WebKit::ChromeClient::setWindowRect):
1200
1201 2013-02-13  Andrew Wilson  <atwilson@chromium.org>
1202
1203         Unreviewed Chromium gyp-file cleanup after glib backend removal.
1204         https://bugs.webkit.org/show_bug.cgi?id=109672
1205
1206         Removed references to GLib unicode backend:
1207
1208         * gyp/Configuration.gypi.in:
1209         * gyp/Dependencies.gyp:
1210         * gyp/JavaScriptCore.gyp:
1211         * gyp/WTF.gyp:
1212
1213 2013-02-12  Martin Robinson  <mrobinson@igalia.com>
1214
1215         2013-02-10  Martin Robinson  <mrobinson@igalia.com>
1216
1217         [GTK] Connect the gyp build to autoconf
1218         https://bugs.webkit.org/show_bug.cgi?id=109360
1219
1220         Reviewed by Dirk Pranke.
1221
1222         Move Configuration.gypi to Configuration.gypi.in and allow autoconf to
1223         fill in variables during a configuration phase. Also add some scripts
1224         to support connecting autoconf up to the gyp build. This allows us
1225         to have a very autotools-esque experience.
1226
1227         * gyp/Configuration.gypi: Removed.
1228         * gyp/Configuration.gypi.in: Added. Fleshed out Configuration.gypi to include
1229         dependency CFLAGS and LIBS directly from configure. Due to the way we are
1230         generating the gyp build now, we also need to include an absolute path to
1231         the build directory. Fixing bugs in gyp should allow us to avoid this in the
1232         future.
1233         * gyp/Dependencies.gyp: Added this file which holds external dependency targets.
1234         We could consider auto-generating this at some point.
1235         * gyp/JavaScriptCore.gyp: Remove references to the old Configuration.gypi.
1236         It's now included via the command-line -I flag. Update to support the new
1237         s/default/global/g terminology for variables.
1238         * gyp/WTF.gyp: Remove the dependency targets as this is now handled entirely
1239         by autoconf.
1240         * gyp/autogen.sh: Added. Set up the build directory and kick off autoconf.
1241         * gyp/configure.ac: Added. An autoconf build that re-uses much of our
1242         existing autoconf setup.
1243         * gyp/run-gyp: Added. Script for invoking gyp for out-of-tree builds.
1244
1245 2013-02-12  Huang Dongsung  <luxtella@company100.net>
1246
1247         [TexMap] Apply frames-per-second debug counter to WK1.
1248         https://bugs.webkit.org/show_bug.cgi?id=109540
1249
1250         Reviewed by Noam Rosenthal.
1251
1252         Make AcceleratedCompositingContext use TextureMapperFPSCounter.
1253
1254         * WebCoreSupport/AcceleratedCompositingContext.h:
1255         * WebCoreSupport/AcceleratedCompositingContextGL.cpp:
1256         (WebKit::AcceleratedCompositingContext::compositeLayersToContext):
1257
1258 2013-02-11  Ryosuke Niwa  <rniwa@webkit.org>
1259
1260         Disable delete button controller on non-Mac ports and delete EditorClient::shouldShowDeleteInterface
1261         https://bugs.webkit.org/show_bug.cgi?id=109534
1262
1263         Reviewed by Anders Carlsson.
1264
1265         * WebCoreSupport/EditorClientGtk.cpp:
1266         (WebKit):
1267         * WebCoreSupport/EditorClientGtk.h:
1268         (EditorClient):
1269         * webkit/webkitwebview.cpp:
1270         (webkit_web_view_class_init):
1271
1272 2013-02-11  Benjamin Poulain  <benjamin@webkit.org>
1273
1274         Kill TestRunner::setMinimumTimerInterval; implement the feature with InternalSettings
1275         https://bugs.webkit.org/show_bug.cgi?id=109349
1276
1277         Reviewed by Sam Weinig.
1278
1279         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
1280         * WebCoreSupport/DumpRenderTreeSupportGtk.h:
1281         (DumpRenderTreeSupportGtk):
1282
1283 2013-02-10  Jae Hyun Park  <jae.park08@gmail.com>
1284
1285         Rename ENABLE(GLIB_SUPPORT) to USE(GLIB)
1286         https://bugs.webkit.org/show_bug.cgi?id=104266
1287
1288         Reviewed by Philippe Normand.
1289
1290         Using USE(GLIB) instead of ENABLE(GLIB_SUPPORT) is more consistent with
1291         the existing macro naming conventions.
1292
1293         From Platform.h
1294         USE() - use a particular third-party library or optional OS service
1295         ENABLE() - turn on a specific feature of WebKit
1296
1297         * gyp/Configuration.gypi:
1298
1299 2013-02-08  Benjamin Poulain  <bpoulain@apple.com>
1300
1301         Move workerThreadCount from TestRunner to WebCore Internals
1302         https://bugs.webkit.org/show_bug.cgi?id=109239
1303
1304         Reviewed by Darin Adler.
1305
1306         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
1307         * WebCoreSupport/DumpRenderTreeSupportGtk.h:
1308         (DumpRenderTreeSupportGtk):
1309
1310 2013-02-08  Martin Robinson  <mrobinson@igalia.com>
1311
1312         [GTK] Add an experimental gyp build
1313         https://bugs.webkit.org/show_bug.cgi?id=109003
1314
1315         Reviewed by Gustavo Noronha Silva.
1316
1317         Add an experimental gyp build for WebKitGTK+. Currently only libjavascriptcoregtk,
1318         jsc, and minidom build (and only on platforms for that support bash). To use the
1319         build simply run:
1320
1321         $ gyp --generator-output=build --depth=. Source/WebKit/gtk/gyp/JavaScriptCore.gyp
1322
1323         Then enter the build directory and run make.
1324
1325         * gyp/Configuration.gypi: Added.
1326         * gyp/JavaScriptCore.gyp: Added.
1327         * gyp/WTF.gyp: Added.
1328         * gyp/generate-derived-sources.sh: Added.
1329
1330 2013-02-07  Martin Robinson  <mrobinson@igalia.com>
1331
1332         [GTK] Cleanup command-line defines
1333         https://bugs.webkit.org/show_bug.cgi?id=109213
1334
1335         Reviewed by Xan Lopez.
1336
1337         * GNUmakefile.am: Remove references to flags that are now provided
1338         by autotoolsconfig.h
1339
1340 2013-02-07  Benjamin Poulain  <bpoulain@apple.com>
1341
1342         Move pauseAnimation/pauseTransition from TestRunner to Internals
1343         https://bugs.webkit.org/show_bug.cgi?id=109107
1344
1345         Reviewed by Anders Carlsson.
1346
1347         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
1348         * WebCoreSupport/DumpRenderTreeSupportGtk.h:
1349         (DumpRenderTreeSupportGtk):
1350
1351 2013-02-07  ChangSeok Oh  <shivamidow@gmail.com>
1352
1353         [GTK][AC] Implement opacity animation with clutter ac backend
1354         https://bugs.webkit.org/show_bug.cgi?id=108961
1355
1356         Reviewed by Gustavo Noronha Silva.
1357
1358         Add AnimationTrigger for ac compositing.
1359
1360         * WebCoreSupport/ChromeClientGtk.cpp:
1361         (WebKit::ChromeClient::allowedCompositingTriggers):
1362
1363 2013-02-05  Martin Robinson  <mrobinson@igalia.com>
1364
1365         Update the NEWS and configuration in preparation for 1.11.5.
1366
1367         Reviewed by Philippe Normand.
1368
1369         * NEWS:
1370
1371 2013-02-04  Benjamin Poulain  <bpoulain@apple.com>
1372
1373         Kill suspendAnimation(), resumeAnimation() and numberOfActiveAnimations() from DRT/WTR; use Internals
1374         https://bugs.webkit.org/show_bug.cgi?id=108741
1375
1376         Reviewed by Tony Chang.
1377
1378         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
1379         * WebCoreSupport/DumpRenderTreeSupportGtk.h:
1380         (DumpRenderTreeSupportGtk):
1381
1382 2013-02-04  Gustavo Noronha Silva  <gns@gnome.org>
1383
1384         Made the documentation on the confirmed argument for the
1385         WebView::script-confirm signal clearer about its type.
1386
1387         Reviewed by Martin Robinson.
1388
1389         * webkit/webkitwebview.cpp:
1390         (webkit_web_view_class_init):
1391
1392 2013-02-04  Balazs Kelemen  <kbalazs@webkit.org>
1393
1394         [Soup] Wrap SoupSession by NetworkStorageSession
1395         https://bugs.webkit.org/show_bug.cgi?id=108615
1396
1397         Reviewed by Alexey Proskuryakov.
1398
1399         * WebCoreSupport/FrameNetworkingContextGtk.cpp:
1400         (WebKit::FrameNetworkingContextGtk::storageSession):
1401         * WebCoreSupport/FrameNetworkingContextGtk.h:
1402         (FrameNetworkingContextGtk):
1403
1404 2013-02-03  KwangYong Choi  <ky0.choi@samsung.com>
1405
1406         Fix build warning after r141473
1407         https://bugs.webkit.org/show_bug.cgi?id=108782
1408
1409         Reviewed by Kentaro Hara.
1410
1411         Fix -Wunused-parameter build warning.
1412
1413         * WebCoreSupport/EditorClientGtk.cpp:
1414         (WebKit::EditorClient::getClientPasteboardDataForRange):
1415
1416 2013-02-01  Philippe Normand  <pnormand@igalia.com>
1417
1418         [GTK][GStreamer] FullscreenVideoControllerGtk implementation
1419         https://bugs.webkit.org/show_bug.cgi?id=107398
1420
1421         Reviewed by Gustavo Noronha Silva.
1422
1423         Remove the FullscreenVideoController as it moved to
1424         FullscreenVideoControllerGStreamer and its Gtk subclass in
1425         WebCore. Hook in NATIVE_FULLSCREEN_VIDEO in the ChromeClient in
1426         the two possible scenarios, wether FULLSCREEN_API is enabled or not.
1427
1428         * GNUmakefile.am: Remove FullscreenVideoController.
1429         * WebCoreSupport/ChromeClientGtk.cpp:
1430         (WebKit):
1431         (WebKit::ChromeClient::enterFullscreenForNode): Hook
1432         NATIVE_FULLSCREEN_VIDEO support.
1433         (WebKit::ChromeClient::exitFullscreenForNode): Ditto
1434         (WebKit::ChromeClient::enterFullScreenForElement): Ditto
1435         (WebKit::ChromeClient::exitFullScreenForElement): Ditto
1436         * WebCoreSupport/ChromeClientGtk.h:
1437         (ChromeClient):
1438         * WebCoreSupport/FullscreenVideoController.cpp: Removed.
1439         * WebCoreSupport/FullscreenVideoController.h: Removed.
1440         * webkit/webkitwebview.cpp: Remove FullscreenVideoController support.
1441         * webkit/webkitwebviewprivate.h: Ditto
1442
1443 2013-01-31  Aurimas Liutikas  <aurimas@chromium.org>
1444
1445         Editor::m_compositionNode not updated on HTMLInputElement::setValue()
1446         https://bugs.webkit.org/show_bug.cgi?id=107737
1447
1448         Reviewed by Ryosuke Niwa.
1449
1450         * WebCoreSupport/EditorClientGtk.cpp:
1451         (WebKit::EditorClient::respondToChangedSelection):
1452             Adding a call to the newly refactored Editor method.
1453
1454 2013-01-31  Sheriff Bot  <webkit.review.bot@gmail.com>
1455
1456         Unreviewed, rolling out r141479.
1457         http://trac.webkit.org/changeset/141479
1458         https://bugs.webkit.org/show_bug.cgi?id=108564
1459
1460         breaks chromium test (Requested by morrita on #webkit).
1461
1462         * WebCoreSupport/EditorClientGtk.cpp:
1463         (WebKit::EditorClient::respondToChangedSelection):
1464
1465 2013-01-31  Aurimas Liutikas  <aurimas@chromium.org>
1466
1467         Editor::m_compositionNode not updated on HTMLInputElement::setValue()
1468         https://bugs.webkit.org/show_bug.cgi?id=107737
1469
1470         Reviewed by Ryosuke Niwa.
1471
1472         * WebCoreSupport/EditorClientGtk.cpp:
1473         (WebKit::EditorClient::respondToChangedSelection):
1474             Adding a call to the newly refactored Editor method.
1475
1476 2013-01-31  Enrica Casucci  <enrica@apple.com>
1477
1478         WebKit2: provide new bundle APIs to allow bundle clients to be notified of pasteboard access.
1479         https://bugs.webkit.org/show_bug.cgi?id=108396.
1480         <rdar://problem/12920461>
1481
1482         Reviewed by Alexey Proskuryakov.
1483
1484         Adds stub implementation for WebKit of the new EditorClient methods.
1485
1486         * WebCoreSupport/EditorClientGtk.cpp:
1487         (WebKit::EditorClient::willWriteSelectionToPasteboard):
1488         (WebKit::EditorClient::getClientPasteboardDataForRange):
1489         * WebCoreSupport/EditorClientGtk.h:
1490
1491 2013-01-30  Huang Dongsung  <luxtella@company100.net>
1492
1493         [TexMap] Remove GraphicsLayer in TextureMapperLayer.
1494         https://bugs.webkit.org/show_bug.cgi?id=107073
1495
1496         Reviewed by Noam Rosenthal.
1497
1498         Include GraphicsLayerTextureMapper.h to use toTextureMapperLayer().
1499
1500         * WebCoreSupport/AcceleratedCompositingContextGL.cpp:
1501
1502 2013-01-29  Mario Sanchez Prada  <mario.prada@samsung.com>
1503
1504         [GTK] Missing build flags when building with Harfbuzz
1505         https://bugs.webkit.org/show_bug.cgi?id=108174
1506
1507         Reviewed by Martin Robinson.
1508
1509         Add FREETYPE_CFLAGS and FREETYPE_LIBS to makefiles so -lharfbuzz
1510         parameter will be added to linking lines when needed.
1511
1512         * GNUmakefile.am: Added FREETYPE_CFLAGS and FREETYPE_LIBS.
1513
1514 2013-01-28  Huang Dongsung  <luxtella@company100.net>
1515
1516         [TexMap] Enable debug borders and repaint counter via Settings.
1517         https://bugs.webkit.org/show_bug.cgi?id=107198
1518
1519         Reviewed by Benjamin Poulain.
1520
1521         If WEBKIT_SHOW_COMPOSITING_DEBUG_VISUALS is set to 1, set
1522         showDebugBorders and showRepaintCounter in Settings to true.
1523
1524         * webkit/webkitwebview.cpp:
1525         (webkit_web_view_update_settings):
1526
1527 2013-01-25  Joone Hur  <joone.hur@intel.com>
1528
1529         [GTK][AC] Use new Clutter APIs instead of deprecated APIs
1530         https://bugs.webkit.org/show_bug.cgi?id=105736
1531
1532         Reviewed by Gustavo Noronha Silva.
1533
1534         Use clutter_actor_set_background_color instead of clutter_stage_set_color.
1535         Use clutter_actor_add_child instead of clutter_container_add_actor.
1536         Remove clutter_actor_show_all because Actors are visible by default.
1537
1538         * WebCoreSupport/AcceleratedCompositingContextClutter.cpp:
1539         (WebKit::AcceleratedCompositingContext::setRootCompositingLayer):
1540
1541 2013-01-25  Martin Robinson  <mrobinson@igalia.com>
1542
1543         [GTK] LDFLAGS are being incorrectly used at compile time (rather than linking)
1544         https://bugs.webkit.org/show_bug.cgi?id=100616
1545
1546         Unreviewed, since this is just a build fix.
1547
1548         * GNUmakefile.am: use PACKAGE_CFLAGS instead of PACKAGE_LIBS when appending pkg-config
1549         variables to build target _CFLAGS.
1550
1551 2013-01-24  Mark Hahnenberg  <mhahnenberg@apple.com>
1552
1553         Objective-C API: Rename JSValue.h/APIJSValue.h to JSCJSValue.h/JSValue.h
1554         https://bugs.webkit.org/show_bug.cgi?id=107327
1555
1556         Reviewed by Filip Pizlo.
1557
1558         We're renaming these two files, so we have to replace the names everywhere.
1559
1560         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
1561
1562 2013-01-23  Manuel Rego Casasnovas  <rego@igalia.com>
1563
1564         [GTK] Avoid reset title for navigation within the page
1565         https://bugs.webkit.org/show_bug.cgi?id=106908
1566
1567         Reviewed by Martin Robinson.
1568
1569         * WebCoreSupport/FrameLoaderClientGtk.cpp:
1570         (WebKit::FrameLoaderClient::dispatchDidNavigateWithinPage): Call
1571         dispatchDidCommitLoad with true as param.
1572         (WebKit::FrameLoaderClient::dispatchDidCommitLoad): The method has been
1573         overloaded. The default implementation (without params) simply calls
1574         dispatchDidCommitLoad with false. The new private method with
1575         isNavigatingWithinPage as param will avoid to reset the title for
1576         navigation within the page.
1577         * WebCoreSupport/FrameLoaderClientGtk.h:
1578         (FrameLoaderClient): Add new private method dispatchDidCommitLoad with a
1579         boolean parameter to know if it is navigating withing the same page or
1580         not.
1581
1582 2013-01-22  Anders Carlsson  <andersca@apple.com>
1583
1584         Use a platforom strategy for local storage
1585         https://bugs.webkit.org/show_bug.cgi?id=107600
1586
1587         Reviewed by Andreas Kling.
1588
1589         Update for new storage strategy.
1590
1591         * WebCoreSupport/PlatformStrategiesGtk.cpp:
1592         (PlatformStrategiesGtk::createStorageStrategy):
1593         * WebCoreSupport/PlatformStrategiesGtk.h:
1594         (PlatformStrategiesGtk):
1595
1596 2013-01-22  Manuel Rego Casasnovas  <rego@igalia.com>
1597
1598         [GTK] Add listener for direction-changed signal in WebKitWebView
1599         https://bugs.webkit.org/show_bug.cgi?id=107131
1600
1601         Reviewed by Philippe Normand.
1602
1603         * webkit/webkitwebview.cpp:
1604         (webkit_web_view_init): Add listener for direction-changed signal.
1605         (webkitWebViewDirectionChanged): Implement listener using
1606         Editor::setBaseWritingDirection().
1607
1608 2013-01-21  Oleg Smirnov  <oleg.smirnov@lge.com>
1609
1610         [Gtk] Dispatching event list into input element.
1611         https://bugs.webkit.org/show_bug.cgi?id=107259
1612
1613         Reviewed by Martin Robinson.
1614
1615         Clear pending command list after dispatching events.
1616
1617         * WebCoreSupport/EditorClientGtk.cpp:
1618         (WebKit::EditorClient::handleKeyboardEvent):
1619
1620 2013-01-18  Martin Robinson  <mrobinson@igalia.com>
1621
1622         [GTK] Add property for IndexedDB database path to WebKitGTK+
1623         https://bugs.webkit.org/show_bug.cgi?id=106136
1624
1625         Reviewed by Gustavo Noronha Silva.
1626
1627         Make the web database directory affect both the legacy SQLite web
1628         database API and the newer indexed database API. This will allow us
1629         to run IDB tests in WebKit1.
1630
1631         * webkit/webkitglobals.cpp:
1632         (webkitPageGroupName): Added this helper to get the default page
1633         group name.
1634         * webkit/webkitglobalsprivate.h: Added a declaration for the helper.
1635         * webkit/webkitwebdatabase.cpp:
1636         (webkit_get_web_database_directory_path): Just return the cached value.
1637         This is always set by webkitInit.
1638         (webkit_set_web_database_directory_path): Set both the IDB and legacy
1639         database paths.
1640         * webkit/webkitwebview.cpp:
1641         (webkit_web_view_init): Use the new page group name helper.
1642
1643 2013-01-18  Seokju Kwon  <seokju.kwon@gmail.com>
1644
1645         Add explicit keyword to constructors in platform-specific InspectorClient
1646         https://bugs.webkit.org/show_bug.cgi?id=107255
1647
1648         Reviewed by Kentaro Hara.
1649
1650         Add explicit keyword to constructors that take one argument
1651         in platform-specific implementation of InspectorClient.
1652         And fix some coding style.
1653
1654         * WebCoreSupport/InspectorClientGtk.h:
1655         (WebCore):
1656         (WebKit):
1657         (InspectorClient):
1658         (WebKit::InspectorClient::disconnectFrontendClient):
1659         (InspectorFrontendClient):
1660         (WebKit::InspectorFrontendClient::disconnectInspectorClient):
1661
1662 2013-01-18  Manuel Rego Casasnovas  <rego@igalia.com>
1663
1664         [GTK] Add new method to support addUserScript in DumpRenderTree
1665         https://bugs.webkit.org/show_bug.cgi?id=107275
1666
1667         Reviewed by Philippe Normand.
1668
1669         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
1670         (DumpRenderTreeSupportGtk::addUserScript): Implement new method using
1671         PageGroup::addUserScriptToWorld.
1672         * WebCoreSupport/DumpRenderTreeSupportGtk.h:
1673         (DumpRenderTreeSupportGtk): Define method header.
1674
1675 2013-01-17  Martin Robinson  <mrobinson@igalia.com>
1676
1677         [GTK] Build with LevelDB when IndexedDB is enabled
1678         https://bugs.webkit.org/show_bug.cgi?id=103220
1679
1680         Reviewed by Gustavo Noronha Silva.
1681
1682         * GNUmakefile.am: When IndexedDatabase is enabled add the leveldb convenience
1683         library to the shared library link phase.
1684
1685 2013-01-15  Zan Dobersek  <zandobersek@gmail.com>
1686
1687         [Autotools] Add support for WebKit2-only builds
1688         https://bugs.webkit.org/show_bug.cgi?id=106889
1689
1690         Reviewed by Gustavo Noronha Silva.
1691
1692         * GNUmakefile.am: Only build the WebKit1-specific targets if actually
1693         building WebKit1. This puts the libwebkitgtk library, the pkg-config file
1694         and the WebKit1-specific unit tests under the ENABLE_WEBKIT1 Automake
1695         conditional.
1696
1697 2013-01-11  Carlos Garcia Campos  <cgarcia@igalia.com>
1698
1699         Unreviewed. Update NEWS and configure.ac for 1.11.4 release
1700
1701         * NEWS: Added release notes for 1.11.4.
1702
1703 2013-01-08  Mark Lam  <mark.lam@apple.com>
1704
1705         Removed the need for the ProposedDatabase mechanism.
1706         https://bugs.webkit.org/show_bug.cgi?id=106292.
1707
1708         Reviewed by Sam Weinig.
1709
1710         * WebCoreSupport/ChromeClientGtk.cpp:
1711         (WebKit::ChromeClient::exceededDatabaseQuota):
1712         * WebCoreSupport/ChromeClientGtk.h:
1713         (ChromeClient):
1714
1715 2013-01-03  Sergio Villar Senin  <svillar@igalia.com>
1716
1717         [GTK] Add WebP image support
1718         https://bugs.webkit.org/show_bug.cgi?id=105915
1719
1720         Reviewed by Martin Robinson.
1721
1722         * GNUmakefile.am: link against WebP library.
1723
1724 2013-01-07  Mike West  <mkwst@chromium.org>
1725
1726         Make the IFRAME_SEAMLESS flag runtime-enabled.
1727         https://bugs.webkit.org/show_bug.cgi?id=106213
1728
1729         Reviewed by Ojan Vafai.
1730
1731         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
1732         * WebCoreSupport/DumpRenderTreeSupportGtk.h:
1733         (DumpRenderTreeSupportGtk):
1734             Add a toggle for seamless IFrames to GTK's DRTSuport.
1735
1736 2013-01-04  Adam Klein  <adamk@chromium.org>
1737
1738         Remove ENABLE_MUTATION_OBSERVERS #define
1739         https://bugs.webkit.org/show_bug.cgi?id=105459
1740
1741         Reviewed by Ryosuke Niwa.
1742
1743         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
1744         (DumpRenderTreeSupportGtk::deliverAllMutationsIfNecessary):
1745
1746 2012-12-28  Martin Robinson  <mrobinson@igalia.com>
1747
1748         [GTK][WK2] Add support for IME Composition
1749         https://bugs.webkit.org/show_bug.cgi?id=65093
1750
1751         Reviewed by Carlos Garcia Campos.
1752
1753         Update the method signatures for concrete WebKit1 implementation of
1754         the GtkInputMethodFilter.
1755
1756         * WebCoreSupport/WebViewInputMethodFilter.cpp:
1757         (WebKit::WebViewInputMethodFilter::sendSimpleKeyEvent):
1758         (WebKit::WebViewInputMethodFilter::sendKeyEventWithCompositionResults):
1759         * WebCoreSupport/WebViewInputMethodFilter.h:
1760         (WebViewInputMethodFilter):
1761
1762 2012-12-27  ChangSeok Oh  <shivamidow@gmail.com>
1763
1764         [GTK] invalid use of incomplete type WebCore::ResourceResponse in webkitwebviewprivate.h
1765         https://bugs.webkit.org/show_bug.cgi?id=105720
1766
1767         Reviewed by Martin Robinson.
1768
1769         If the acceleration backend is clutter, then css_filter feature is disabled.
1770         So ResourceResponse.h could not be reached with only existing headers
1771         in webkitwebviewprivate.h. For this reason, I add ResourceResponse.h explicitly
1772         to fix a build failure using incomplete type 'WebCore::ResourceResponse()'.
1773
1774         * webkit/webkitwebviewprivate.h:
1775
1776 2012-12-23  Alexey Proskuryakov  <ap@apple.com>
1777
1778         <rdar://problem/12808377> Network process should respect cookie accept policy
1779         https://bugs.webkit.org/show_bug.cgi?id=105684
1780
1781         Reviewed by Sam Weinig.
1782
1783         * WebCoreSupport/PlatformStrategiesGtk.cpp:
1784         * WebCoreSupport/PlatformStrategiesGtk.h:
1785         CookiesStrategy no longer has notifyCookiesChanged(). This port didn't use it anyway.
1786
1787 2012-12-22  Alexey Proskuryakov  <ap@apple.com>
1788
1789         Add a separate class for networking related storage
1790         https://bugs.webkit.org/show_bug.cgi?id=105676
1791
1792         Reviewed by Sam Weinig.
1793
1794         * WebCoreSupport/PlatformStrategiesGtk.cpp:
1795         (PlatformStrategiesGtk::cookiesForDOM):
1796         (PlatformStrategiesGtk::setCookiesFromDOM):
1797         (PlatformStrategiesGtk::cookiesEnabled):
1798         (PlatformStrategiesGtk::cookieRequestHeaderFieldValue):
1799         (PlatformStrategiesGtk::getRawCookies):
1800         (PlatformStrategiesGtk::deleteCookie):
1801         * WebCoreSupport/PlatformStrategiesGtk.h:
1802         Cookie functions now take a NetworkStorageSession, not a NetworkingContext.
1803
1804 2012-12-18  Alexey Proskuryakov  <ap@apple.com>
1805
1806         Remove unnecessary functions from CookiesStrategy
1807         https://bugs.webkit.org/show_bug.cgi?id=105369
1808
1809         Reviewed by Brady Eidson.
1810
1811         * WebCoreSupport/PlatformStrategiesGtk.cpp:
1812         * WebCoreSupport/PlatformStrategiesGtk.h:
1813
1814 2012-12-18  ChangSeok Oh  <shivamidow@gmail.com>
1815
1816         [GTK][AC] Fix assertion failures for AC with clutter
1817         https://bugs.webkit.org/show_bug.cgi?id=105039
1818
1819         Reviewed by Gustavo Noronha Silva.
1820
1821         AcceleratedCompositingContext could be a client of GraphicsLayerClutter
1822         not only RenderLayerBacking. So inserting ASSERT_NOT_REACH in notifyFlushRequired()
1823         causes a crash by calling GraphicsLayerClutter::noteLayerPropertyChanged in debug build.
1824         And also I added flushCompositingStateIncludingSubframes taken from
1825         AcceleratedCompositingContextGL to flushAndRenderLayers(). If not so,
1826         ASSERT(!needsLayout()) failed in FrameView::paintContents() too in debug build.
1827
1828         * WebCoreSupport/AcceleratedCompositingContextClutter.cpp:
1829         (WebKit::AcceleratedCompositingContext::flushAndRenderLayers): Add updateLayoutAndStyleIfNeededRecursive()
1830         (WebKit::AcceleratedCompositingContext::notifyAnimationStarted): Removed ASSERT_NOT_REACHED()
1831         (WebKit::AcceleratedCompositingContext::notifyFlushRequired): Removed ASSERT_NOT_REACHED()
1832
1833 2012-12-15  Anders Carlsson  <andersca@apple.com>
1834
1835         Rename FrameLoaderClient::download to convertMainResourceLoadToDownload
1836         https://bugs.webkit.org/show_bug.cgi?id=105122
1837
1838         Reviewed by Andreas Kling.
1839
1840         Update for WebCore changes.
1841
1842         * WebCoreSupport/FrameLoaderClientGtk.cpp:
1843         (WebKit::FrameLoaderClient::convertMainResourceLoadToDownload):
1844         * WebCoreSupport/FrameLoaderClientGtk.h:
1845         (FrameLoaderClient):
1846
1847 2012-12-15  Mark Lam  <mark.lam@apple.com>
1848
1849         Re-landing patch for "Introducing the DatabaseStrategy and database servers".
1850         https://bugs.webkit.org/show_bug.cgi?id=104934.
1851
1852         Not reviewed.
1853
1854         Merged from r137767. Previously reviewed by Sam Weinig.
1855
1856         * WebCoreSupport/PlatformStrategiesGtk.cpp:
1857         (PlatformStrategiesGtk::createDatabaseStrategy):
1858         * WebCoreSupport/PlatformStrategiesGtk.h:
1859         (PlatformStrategiesGtk):
1860
1861 2012-12-14  Sheriff Bot  <webkit.review.bot@gmail.com>
1862
1863         Unreviewed, rolling out r137767.
1864         http://trac.webkit.org/changeset/137767
1865         https://bugs.webkit.org/show_bug.cgi?id=105062
1866
1867         Broke Mac builds. (Requested by mlam on #webkit).
1868
1869         * WebCoreSupport/PlatformStrategiesGtk.cpp:
1870         * WebCoreSupport/PlatformStrategiesGtk.h:
1871         (PlatformStrategiesGtk):
1872
1873 2012-12-14  Mark Lam  <mark.lam@apple.com>
1874
1875         Introducing the DatabaseStrategy and database servers.
1876         https://bugs.webkit.org/show_bug.cgi?id=104934.
1877
1878         Reviewed by Sam Weinig.
1879
1880         The database server is currently a placeholder that does nothing.
1881
1882         * WebCoreSupport/PlatformStrategiesGtk.cpp:
1883         (PlatformStrategiesGtk::createDatabaseStrategy):
1884         * WebCoreSupport/PlatformStrategiesGtk.h:
1885         (PlatformStrategiesGtk):
1886
1887 2012-12-14  Alberto Garcia  <agarcia@igalia.com>
1888
1889         [GTK] When in private mode WebKitGTK+ should not save HTTP authentication credentials to the persistent storage
1890         https://bugs.webkit.org/show_bug.cgi?id=104910
1891
1892         Reviewed by Martin Robinson.
1893
1894         * WebCoreSupport/FrameLoaderClientGtk.cpp:
1895         (WebKit::FrameLoaderClient::dispatchDidReceiveAuthenticationChallenge):
1896         When creating the GtkAuthenticationDialog, set the credential
1897         storage mode using the private browsing setting from the current
1898         page.
1899
1900         * webkit/webkitsoupauthdialog.cpp:
1901         (sessionAuthenticate):
1902         Create the GtkAuthenticationDialog with no persistent storage
1903         allowed, as we are not handling the credential persistence here.
1904
1905 2012-12-12  Mark Lam  <mark.lam@apple.com>
1906
1907         Encapsulate externally used webdatabase APIs in DatabaseManager.
1908         https://bugs.webkit.org/show_bug.cgi?id=104741.
1909
1910         Reviewed by Sam Weinig.
1911
1912         Use DatabaseManager instead of accessing DatabaseTracker, AbstractDatabase,
1913         and DatabaseContext directly. This is to prepare for upcoming webkit2
1914         refactoring.
1915
1916         * WebCoreSupport/ChromeClientGtk.cpp:
1917         (WebKit::ChromeClient::exceededDatabaseQuota):
1918         * webkit/webkitfavicondatabase.cpp:
1919         * webkit/webkiticondatabase.cpp:
1920         * webkit/webkitsecurityorigin.cpp:
1921         (webkit_security_origin_get_web_database_usage):
1922         (webkit_security_origin_get_web_database_quota):
1923         (webkit_security_origin_set_web_database_quota):
1924         (webkit_security_origin_get_all_web_databases):
1925         * webkit/webkitwebdatabase.cpp:
1926         (webkit_web_database_get_display_name):
1927         (webkit_web_database_get_expected_size):
1928         (webkit_web_database_get_size):
1929         (webkit_web_database_get_filename):
1930         (webkit_web_database_remove):
1931         (webkit_remove_all_web_databases):
1932         (webkit_get_web_database_directory_path):
1933         (webkit_set_web_database_directory_path):
1934         * webkit/webkitwebview.cpp:
1935         (webkit_web_view_update_settings):
1936         (webkit_web_view_settings_notify):
1937
1938 2012-12-12  Martin Robinson  <mrobinson@igalia.com>
1939
1940         [GTK] Add authentication support to DRT and fix exposed issues in the libsoup backend
1941         https://bugs.webkit.org/show_bug.cgi?id=104285
1942
1943         Reviewed by Gustavo Noronha Silva.
1944
1945         Add support to DumpRenderTree for running authentication tests. Since the DRT
1946         expects an authentication callback, we add one to DRTSupport to avoid #ifdefs
1947         in platform-independent code for GTK+.
1948
1949         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
1950         (DumpRenderTreeSupportGtk::setAuthenticationCallback): Added.
1951         * WebCoreSupport/DumpRenderTreeSupportGtk.h:
1952         (DumpRenderTreeSupportGtk): Add a method to set the authentication callback.
1953         * WebCoreSupport/FrameLoaderClientGtk.cpp:
1954         (WebKit::FrameLoaderClient::dispatchDidReceiveAuthenticationChallenge): When
1955         in DRT mode we need to call the authentication callback instead of popping
1956         up the dialog or ignoring the request.
1957
1958 2012-12-12  Alexey Proskuryakov  <ap@apple.com>
1959
1960         Make LOG() work in WebProcess and NetworkProcess
1961         https://bugs.webkit.org/show_bug.cgi?id=104718
1962
1963         Reviewed by Tim Horton.
1964
1965         * webkit/webkitglobals.cpp: Include InitializeLogging.h
1966
1967 2012-12-12  Joone Hur  <joone.hur@intel.com>
1968
1969         [GTK][AC] The non-composited content is not painted
1970         https://bugs.webkit.org/show_bug.cgi?id=104819
1971
1972         Reviewed by Gustavo Noronha Silva.
1973
1974         When Accelerated Compositing is enabled, only GraphicsLayers are painted.
1975         This patch allows to paint the non-composited content on the viewport with 
1976         GraphicsLayers. Most of the codes are the same as AcceleratedCompositingContextGL.cpp
1977
1978         * WebCoreSupport/AcceleratedCompositingContext.h: Add m_nonCompositedContentLayer.
1979         * WebCoreSupport/AcceleratedCompositingContextClutter.cpp:
1980         (WebKit::AcceleratedCompositingContext::AcceleratedCompositingContext):
1981         (WebKit::AcceleratedCompositingContext::initialize):
1982         (WebKit):
1983         (WebKit::AcceleratedCompositingContext::~AcceleratedCompositingContext):
1984         (WebKit::AcceleratedCompositingContext::renderLayersToWindow):
1985         (WebKit::AcceleratedCompositingContext::setRootCompositingLayer):
1986         (WebKit::AcceleratedCompositingContext::setNonCompositedContentsNeedDisplay):
1987         (WebKit::AcceleratedCompositingContext::resizeRootLayer):
1988         (WebKit::AcceleratedCompositingContext::scrollNonCompositedContents): Make the non-composited 
1989         content scroll.
1990         (WebKit::AcceleratedCompositingContext::layerFlushTimerFiredCallback):
1991         (WebKit::AcceleratedCompositingContext::flushPendingLayerChanges):
1992         (WebKit::AcceleratedCompositingContext::flushAndRenderLayers):
1993         (WebKit::AcceleratedCompositingContext::notifyAnimationStarted):
1994         (WebKit::AcceleratedCompositingContext::paintContents): Paint the non-composited content.
1995
1996 2012-12-12  Joone Hur  <joone.hur@intel.com>
1997
1998         [GTK][AC] GraphicsLayers are not shown on the viewport
1999         https://bugs.webkit.org/show_bug.cgi?id=104670
2000
2001         Reviewed by Gustavo Noronha Silva.
2002
2003         GraphicsLayers are not shown on the viewport because the container(GtkClutterEmbed) 
2004         is not resized and shown, so this patch allows it to fit to the viewport.
2005
2006         * WebCoreSupport/AcceleratedCompositingContext.h:
2007         * WebCoreSupport/AcceleratedCompositingContextClutter.cpp:
2008         (WebKit::AcceleratedCompositingContext::renderLayersToWindow):
2009         (WebKit::AcceleratedCompositingContext::setRootCompositingLayer):
2010         (WebKit::AcceleratedCompositingContext::resizeRootLayer):
2011         (WebKit::AcceleratedCompositingContext::layerFlushTimerFiredCallback):
2012         (WebKit::AcceleratedCompositingContext::scheduleLayerFlush):
2013
2014 2012-12-11  Carlos Garcia Campos  <cgarcia@igalia.com>
2015
2016         [GTK] Install GObject DOM bindings headers in its own directory
2017         https://bugs.webkit.org/show_bug.cgi?id=104663
2018
2019         Reviewed by Gustavo Noronha Silva.
2020
2021         * GNUmakefile.am: Add webkitdom.h.
2022         * webkit/webkitdom.h: Compatibility header just including the new
2023         one.
2024         * webkit/webkitwebframe.cpp: Update includes.
2025         * webkit/webkitwebframe.h: Ditto.
2026         * webkit/webkitwebinspector.cpp: Ditto.
2027         * webkit/webkitwebinspector.h: Ditto.
2028         * webkit/webkitwebview.cpp: Ditto.
2029         * webkit/webkitwebview.h: Ditto.
2030
2031 2012-12-11  Mike West  <mkwst@chromium.org>
2032
2033         Web Inspector: ConsoleTypes should not expose MessageType - it should be private to inspector.
2034         https://bugs.webkit.org/show_bug.cgi?id=66371
2035
2036         Reviewed by Pavel Feldman.
2037
2038         Drops WebCore::MessageType from the addMessageToConsole method.
2039
2040         * WebCoreSupport/ChromeClientGtk.cpp:
2041         (WebKit::ChromeClient::addMessageToConsole):
2042         * WebCoreSupport/ChromeClientGtk.h:
2043         (ChromeClient):
2044
2045 2012-12-11  Martin Robinson  <mrobinson@igalia.com>
2046
2047         [GTK] Implement some missing FrameLoaderClient message in DRT
2048         https://bugs.webkit.org/show_bug.cgi?id=104444
2049
2050         Reviewed by Gustavo Noronha Silva.
2051
2052         When in DumpRenderTree mode allow the DRT to install a FrameLoaderEvent callback
2053         for events that we do not expose in the API. This will allow us to share more
2054         results with WebKit2.
2055
2056         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
2057         (DumpRenderTreeSupportGtk::setFrameLoadEventCallback): Added.
2058         * WebCoreSupport/DumpRenderTreeSupportGtk.h:
2059         * WebCoreSupport/FrameLoaderClientGtk.cpp: Use the new callback to deliver
2060         events to DRT.
2061
2062 2012-12-11  Martin Robinson  <mrobinson@igalia.com>
2063
2064         [Coverity] [GTK] Remove some redundant null checks in DumpRenderTree
2065         https://bugs.webkit.org/show_bug.cgi?id=104570
2066
2067         Reviewed by Daniel Bates.
2068
2069         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
2070         (DumpRenderTreeSupportGtk::elementDoesAutoCompleteForElementWithId): Remove a redundant null check.
2071
2072 2012-12-10  Carlos Garcia Campos  <cgarcia@igalia.com>
2073
2074         [GTK] Build GObject DOM bindings as a separate library
2075         https://bugs.webkit.org/show_bug.cgi?id=104527
2076
2077         Reviewed by Xan Lopez.
2078
2079         * GNUmakefile.am: Link to libWebCoreDOM.la.
2080
2081 2012-12-10  Martin Robinson  <mrobinson@igalia.com>
2082
2083         [GTK] Bring Harfbuzz-ng support to Gtk
2084         https://bugs.webkit.org/show_bug.cgi?id=92098
2085
2086         Reviewed by Gustavo Noronha Silva.
2087
2088         Add HarfBuzz dependency.
2089
2090         * GNUmakefile.am: Add FreeType/HarfBuzz CFLAGS to the library.
2091
2092 2012-12-05  Arnaud Renevier  <a.renevier@sisa.samsung.com>
2093
2094         [Gtk] navigator.plugins contains too many plugin entries. First one are garbages
2095         https://bugs.webkit.org/show_bug.cgi?id=102438
2096
2097         Reviewed by Xan Lopez.
2098
2099         In getPluginInfo, outPlugins is resized to plugins.size and then,
2100         plugins are appended to it. So at the end, outPlugins will be twice
2101         too large, and first half will contain null objects. As outPlugins
2102         size is 0 when calling getPluginInfo, we don't need to resize it.
2103
2104         * WebCoreSupport/PlatformStrategiesGtk.cpp:
2105         (PlatformStrategiesGtk::getPluginInfo):
2106
2107 2012-12-04  Carlos Garcia Campos  <cgarcia@igalia.com>
2108
2109         [GTK] Avoid unnecessary heap allocations during drag and drop operations
2110         https://bugs.webkit.org/show_bug.cgi?id=87938
2111
2112         Reviewed by Martin Robinson.
2113
2114         * webkit/webkitwebview.cpp:
2115         (webkit_web_view_drag_motion): Create DragData for the given
2116         DataObjectGtk in the stack.
2117         (webkit_web_view_drag_data_received): Ditto.
2118         (webkit_web_view_drag_drop): Ditto.
2119
2120 2012-12-02  Mike West  <mkwst@chromium.org>
2121
2122         [gtk] Enable the CSP_NEXT runtime flag.
2123         https://bugs.webkit.org/show_bug.cgi?id=103810
2124
2125         Reviewed by Adam Barth.
2126
2127         This patch adds methods to DumpRenderTreeSupport in order to ensure that
2128         CSP 1.1 features are enabled when running DRT tests in the GTK port.
2129
2130         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
2131         (DumpRenderTreeSupportGtk::setExperimentalContentSecurityPolicyFeaturesEnabled):
2132         * WebCoreSupport/DumpRenderTreeSupportGtk.h:
2133         (DumpRenderTreeSupportGtk):
2134
2135 2012-11-30  Mihai Maerean  <mmaerean@adobe.com>
2136
2137         [CSSRegions] when WebKit uses V8, there should be a single variable to store if the CSS Regions feature is enabled
2138         https://bugs.webkit.org/show_bug.cgi?id=101192
2139
2140         Reviewed by Hajime Morita.
2141
2142         Removed the CSS Regions flag in Settings and switched to using the new flag I have added in RuntimeEnabledFeatures.
2143
2144         Tests: No new tests because there is no functional change.
2145
2146         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
2147         (DumpRenderTreeSupportGtk::setCSSRegionsEnabled):
2148
2149 2012-11-29  Alexey Proskuryakov  <ap@apple.com>
2150
2151         [WK2] Forward cookie jar calls to NetworkProcess
2152         https://bugs.webkit.org/show_bug.cgi?id=103457
2153
2154         Reviewed by Darin Adler.
2155
2156         * WebCoreSupport/PlatformStrategiesGtk.cpp:
2157         (PlatformStrategiesGtk::cookiesForDOM):
2158         (PlatformStrategiesGtk::setCookiesFromDOM):
2159         (PlatformStrategiesGtk::cookiesEnabled):
2160         (PlatformStrategiesGtk::cookieRequestHeaderFieldValue):
2161         (PlatformStrategiesGtk::getRawCookies):
2162         (PlatformStrategiesGtk::deleteCookie):
2163         (PlatformStrategiesGtk::getHostnamesWithCookies):
2164         (PlatformStrategiesGtk::deleteCookiesForHostname):
2165         (PlatformStrategiesGtk::deleteAllCookies):
2166
2167 2012-11-27  James Simonsen  <simonjam@chromium.org>
2168
2169         Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
2170         https://bugs.webkit.org/show_bug.cgi?id=102151
2171
2172         Reviewed by Adam Barth.
2173
2174         * webkit/webkitwebframe.cpp:
2175         (webkit_web_frame_load_uri):
2176         (webkit_web_frame_load_data):
2177         (webkit_web_frame_load_request):
2178
2179 2012-11-27  Sheriff Bot  <webkit.review.bot@gmail.com>
2180
2181         Unreviewed, rolling out r135786.
2182         http://trac.webkit.org/changeset/135786
2183         https://bugs.webkit.org/show_bug.cgi?id=103379
2184
2185         It made 3 plugin tests timeout on several platforms (Requested
2186         by Ossy on #webkit).
2187
2188         * webkit/webkitwebframe.cpp:
2189         (webkit_web_frame_load_uri):
2190         (webkit_web_frame_load_data):
2191         (webkit_web_frame_load_request):
2192
2193 2012-11-26  James Simonsen  <simonjam@chromium.org>
2194
2195         Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
2196         https://bugs.webkit.org/show_bug.cgi?id=102151
2197
2198         Reviewed by Adam Barth.
2199
2200         * webkit/webkitwebframe.cpp:
2201         (webkit_web_frame_load_uri):
2202         (webkit_web_frame_load_data):
2203         (webkit_web_frame_load_request):
2204
2205 2012-11-25  Kaustubh Atrawalkar  <kaustubh@motorola.com>
2206
2207         Remove deprecated load-done signal
2208         https://bugs.webkit.org/show_bug.cgi?id=72712
2209
2210         Reviewed by Brent Fulgham.
2211
2212         Remove deprecated load-done signal and migrate to load-status.
2213
2214         * WebCoreSupport/FrameLoaderClientGtk.cpp:
2215         (WebKit):
2216         (WebKit::FrameLoaderClient::dispatchDidFinishLoad):
2217         * webkit/webkitwebframe.cpp:
2218         (webkit_web_frame_class_init):
2219
2220 2012-09-26  Gustavo Noronha Silva  <gns@gnome.org>
2221
2222         [GTK] Split SVG from WebCore to work-around make limitation
2223         https://bugs.webkit.org/show_bug.cgi?id=97735
2224
2225         Reviewed by Carlos Garcia Campos.
2226
2227         Add a new libtool convenience library, libWebCoreSVG.la, to work-around
2228         make limitation when linking libWebCore.
2229
2230         * GNUmakefile.am: link libWebCoreSVG.la into libwebkitgtk.
2231
2232 2012-11-21  Allan Sandfeld Jensen  <allan.jensen@digia.com>
2233
2234         Disambiguate innerNodeFramePoint and mainFramePoint
2235         https://bugs.webkit.org/show_bug.cgi?id=98139
2236
2237         Reviewed by Julien Chaffraix.
2238
2239         Switched to using point in innerNodeFrame. While the use here seems wrong it has been
2240         left functionally unchanged to be fixed by a later patch.
2241
2242         * webkit/webkithittestresult.cpp:
2243         (WebKit::kit):
2244
2245 2012-11-20  Sheriff Bot  <webkit.review.bot@gmail.com>
2246
2247         Unreviewed, rolling out r135295.
2248         http://trac.webkit.org/changeset/135295
2249         https://bugs.webkit.org/show_bug.cgi?id=102834
2250
2251         This patch causes assertion to some layout tests on chromium
2252         (Requested by jianli on #webkit).
2253
2254         * webkit/webkitwebframe.cpp:
2255         (webkit_web_frame_load_uri):
2256         (webkit_web_frame_load_data):
2257         (webkit_web_frame_load_request):
2258
2259 2012-11-20  James Simonsen  <simonjam@chromium.org>
2260
2261         Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
2262         https://bugs.webkit.org/show_bug.cgi?id=102151
2263
2264         Reviewed by Adam Barth.
2265
2266         * webkit/webkitwebframe.cpp:
2267         (webkit_web_frame_load_uri):
2268         (webkit_web_frame_load_data):
2269         (webkit_web_frame_load_request):
2270
2271 2012-11-20  Carlos Garcia Campos  <cgarcia@igalia.com>
2272
2273         Unreviewed. Update NEWS and configure.ac for 1.11.2 release
2274
2275         * NEWS: Added release notes for 1.11.2.
2276
2277 2012-11-16  Martin Robinson  <mrobinson@igalia.com>
2278
2279         [GTK] Move CredentialBackingStore usage from GtkAuthenticationDialog to ResourceHandleSoup
2280         https://bugs.webkit.org/show_bug.cgi?id=101840
2281
2282         Reviewed by Gustavo Noronha Silva.
2283
2284         Enable the CredentialStore by default for the WebKit1 GTK+ port. Before this value
2285         didn't have an bearing on whether or not the persistent credential storage was used.
2286         Now is does.
2287
2288         * WebCoreSupport/FrameLoaderClientGtk.cpp:
2289         (WebKit::FrameLoaderClient::shouldUseCredentialStorage): Enable credential storage by default.
2290
2291 2012-11-15  Gustavo Noronha Silva  <gns@gnome.org>
2292
2293         [GTK] Split WebCore/platform into a separate library
2294         https://bugs.webkit.org/show_bug.cgi?id=94435
2295
2296         Reviewed by Martin Robinson.
2297
2298         More people have been reporting problems when linking WebCore because
2299         the command line limit is being exceeded. Splitting WebCore a bit more
2300         is in order.
2301
2302         * GNUmakefile.am: link libWebCorePlatform into libwebkitgtk
2303
2304 2012-11-15  Zan Dobersek  <zandobersek@gmail.com>
2305
2306         Unreviewed build fix attempt after r134765.
2307
2308         * webkit/webkitviewportattributes.cpp:
2309         (webkitViewportAttributesRecompute):
2310
2311 2012-11-12  Josh Rickmar  <jrick@devio.us>
2312
2313         Add WebCore::Setting to block displaying and/or running insecure content on secure pages
2314         https://bugs.webkit.org/show_bug.cgi?id=58378
2315
2316         Reviewed by Martin Robinson.
2317
2318         * webkit/webkitwebsettings.cpp:
2319         (webkit_web_settings_class_init):
2320         (webkit_web_settings_set_property):
2321         (webkit_web_settings_get_property):
2322         (webkit_web_settings_copy):
2323         * webkit/webkitwebview.cpp:
2324         (webkit_web_view_update_settings):
2325         (webkit_web_view_settings_notify):
2326
2327 2012-11-05  Simon Fraser  <simon.fraser@apple.com>
2328
2329         Fix layer borders to cleaning appear and disappear on switching
2330         https://bugs.webkit.org/show_bug.cgi?id=101136
2331
2332         Reviewed by Sam Weinig.
2333
2334         Remove the GraphicsLayerClient methods showDebugBorders() and
2335         showRepaintCounter().
2336
2337         * WebCoreSupport/AcceleratedCompositingContext.h:
2338         (AcceleratedCompositingContext):
2339         * WebCoreSupport/AcceleratedCompositingContextCairo.cpp:
2340         * WebCoreSupport/AcceleratedCompositingContextClutter.cpp:
2341         * WebCoreSupport/AcceleratedCompositingContextGL.cpp:
2342
2343 2012-10-25  Martin Robinson  <mrobinson@igalia.com>
2344
2345         [GTK] Move soup authentication from GtkAuthenticationDialog to WebCore
2346         https://bugs.webkit.org/show_bug.cgi?id=99914
2347
2348         Reviewed by Carlos Garcia Campos.
2349
2350         The calls which actually authenticate a soup message are gone from the GtkAuthenticationDialog. Since the
2351         GtkAuthenticationDialog exposed by the WebKitSoupAuthentication class in the GTK+ API work without a
2352         ResourceHandle (they are more general), we add a WebKitSoupAuthDialogAuthenticationClient added to avoid
2353         breaking API. This is unused by either Epiphany or internally in WebKitGTK+.
2354
2355         * WebCoreSupport/FrameLoaderClientGtk.cpp:
2356         (WebKit::FrameLoaderClient::dispatchDidReceiveAuthenticationChallenge): The authentication dialog
2357         now just takes the AuthenticationChallenge instead of the libsoup objects.
2358         * webkit/webkitsoupauthdialog.cpp:
2359         (WebKitSoupAuthDialogAuthenticationClient): Added this helper.
2360         (sessionAuthenticate): Use the new WebKitSoupAuthDialogAuthenticationClient.
2361
2362 2012-11-02  Martin Robinson  <mrobinson@igalia.com>
2363
2364         [GTK] Remove dependency on SoupPasswordManager
2365         https://bugs.webkit.org/show_bug.cgi?id=100775
2366
2367         Reviewed by Carlos Garcia Campos.
2368
2369         Add a libsecret dependency to the build. This is necessary so that we can remove
2370         a dependency on SoupPasswordManager.
2371
2372         * GNUmakefile.am: Use libsecret libs during WebKit1 library compilation.
2373
2374 2012-10-24  Brady Eidson  <beidson@apple.com>
2375
2376         Add a strategy for loader customization.
2377         https://bugs.webkit.org/show_bug.cgi?id=100278
2378
2379         Reviewed by Alexey Proskuryakov.
2380
2381         * WebCoreSupport/PlatformStrategiesGtk.cpp:
2382         (PlatformStrategiesGtk::createLoaderStrategy):
2383         * WebCoreSupport/PlatformStrategiesGtk.h:
2384         (PlatformStrategiesGtk):
2385
2386 2012-10-23  Alexey Proskuryakov  <ap@apple.com>
2387
2388         Add a strategy for shared workers
2389         https://bugs.webkit.org/show_bug.cgi?id=100165
2390
2391         Reviewed by Brady Eidson.
2392
2393         * WebCoreSupport/PlatformStrategiesGtk.cpp:
2394         (PlatformStrategiesGtk::createPasteboardStrategy):
2395         (PlatformStrategiesGtk::createSharedWorkerStrategy):
2396         (PlatformStrategiesGtk::createVisitedLinkStrategy):
2397         * WebCoreSupport/PlatformStrategiesGtk.h:
2398
2399 2012-10-24  Priit Laes  <plaes@plaes.org>
2400
2401         [GTK] Typos in user-visible strings: "coordintate"
2402         https://bugs.webkit.org/show_bug.cgi?id=100252
2403
2404         Reviewed by Martin Robinson.
2405
2406         s/coordintate/coordinate
2407
2408         * webkit/webkithittestresult.cpp:
2409         (webkit_hit_test_result_class_init):
2410
2411 2012-10-23  Martin Robinson  <mrobinson@igalia.com>
2412
2413         [GTK][Soup] Implement the default authentication dialog via WebCoreSupport
2414         https://bugs.webkit.org/show_bug.cgi?id=99351
2415
2416         Reviewed by Carlos Garcia Campos.
2417
2418         Instead of using a custom SoupSessionFeature to show the authentication dialog,
2419         show it using the corresponding WebCore message.
2420
2421         * WebCoreSupport/FrameLoaderClientGtk.cpp:
2422         (WebKit::FrameLoaderClient::dispatchDidReceiveAuthenticationChallenge):
2423         Show the dialog when we need to authenticate. Also, so not show the dialog
2424         if we are in DRT mode.
2425         * webkit/webkitglobals.cpp:
2426         (webkitInit): No longer install our SoupFeature.
2427
2428 2012-10-23  Carlos Garcia Campos  <cgarcia@igalia.com>
2429
2430         Unreviewed. Update NEWS and configure.ac for 1.11.1 release
2431
2432         * NEWS: Added release notes for 1.11.1.
2433
2434 2012-10-23  Andras Becsi  <andras.becsi@digia.com>
2435
2436         Remove devicePixelRatio from ViewportAttributes
2437         https://bugs.webkit.org/show_bug.cgi?id=99845
2438
2439         Reviewed by Adam Barth.
2440
2441         * webkit/webkitviewportattributes.cpp:
2442         (webkitViewportAttributesRecompute):
2443         Pass the device pixel ratio as a function argument.
2444
2445 2012-10-22  Jocelyn Turcotte  <jocelyn.turcotte@digia.com>
2446
2447         [Qt] Fix "ASSERTION FAILED: !document->inPageCache()" when loading a page
2448         https://bugs.webkit.org/show_bug.cgi?id=98514
2449
2450         Reviewed by Kenneth Rohde Christiansen.
2451
2452         * WebCoreSupport/FrameLoaderClientGtk.cpp:
2453         (WebKit::FrameLoaderClient::transitionToCommittedForNewPage):
2454
2455 2012-10-10  Brady Eidson  <beidson@apple.com>
2456
2457         Switch ResourceLoader::resourceData() from SharedBuffer to ResourceBuffer
2458         https://bugs.webkit.org/show_bug.cgi?id=98976
2459
2460         Reviewed by Anders Carlsson.
2461
2462         * webkit/webkitwebdatasource.cpp:
2463         (webkit_web_data_source_get_data):
2464
2465 2012-10-10  Jon Lee  <jonlee@apple.com>
2466
2467         [WK2] Activate plugins when user clicks on snapshot
2468         https://bugs.webkit.org/show_bug.cgi?id=98328
2469         <rdar://problem/12426681>
2470
2471         Reviewed by Brady Eidson.
2472
2473         * WebCoreSupport/FrameLoaderClientGtk.h:
2474         (WebKit::FrameLoaderClient::recreatePlugin): Stub implementation of recreatePlugin().
2475
2476 2012-10-10  Sheriff Bot  <webkit.review.bot@gmail.com>
2477
2478         Unreviewed, rolling out r130853.
2479         http://trac.webkit.org/changeset/130853
2480         https://bugs.webkit.org/show_bug.cgi?id=98873
2481
2482         The rollout was incorrect (Requested by zdobersek on #webkit).
2483
2484         * webkit/webkitwebview.cpp:
2485         (resizeWebViewFromAllocation):
2486         (webkit_web_view_size_allocate):
2487         (webkitWebViewMap):
2488
2489 2012-10-09  Sheriff Bot  <webkit.review.bot@gmail.com>
2490
2491         Unreviewed, rolling out r130838.
2492         http://trac.webkit.org/changeset/130838
2493         https://bugs.webkit.org/show_bug.cgi?id=98860
2494
2495         The patch is causing X errors (=> crashes) on GTK 64-bit
2496         Release builder (Requested by zdobersek on #webkit).
2497
2498         * webkit/webkitwebview.cpp:
2499         (resizeWebViewFromAllocation):
2500         (webkit_web_view_size_allocate):
2501         (webkitWebViewMap):
2502
2503 2012-10-09  Daniel Drake  <dsd@laptop.org>
2504
2505         [GTK] Plugins don't display
2506         https://bugs.webkit.org/show_bug.cgi?id=98789
2507
2508         Reviewed by Martin Robinson.
2509
2510         Fix a recent regression where plugin content was not being displayed.
2511         Bringing webkit_web_view_size_allocate in line with the WebKit2
2512         equivalent solves the issue.
2513
2514         * webkit/webkitwebview.cpp:
2515         (resizeWebViewFromAllocation): pass allocation request to children
2516         even when the allocation size does not change.
2517         (webkit_web_view_size_allocate): don't bail too early if the
2518         allocation size does not change.
2519
2520 2012-10-07  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
2521
2522         Rename first/second to key/value in HashMap iterators
2523         https://bugs.webkit.org/show_bug.cgi?id=82784
2524
2525         Reviewed by Eric Seidel.
2526
2527         * WebCoreSupport/PlatformStrategiesGtk.cpp:
2528         (PlatformStrategiesGtk::getPluginInfo):
2529         * webkit/webkitfavicondatabase.cpp:
2530         (webkitFaviconDatabaseImportFinished):
2531         * webkit/webkitwebplugin.cpp:
2532         (webkit_web_plugin_get_mimetypes):
2533
2534 2012-10-04  Simon Fraser  <simon.fraser@apple.com>
2535
2536         Final part of "sync" to "flush" renaming
2537         https://bugs.webkit.org/show_bug.cgi?id=98430
2538
2539         Reviewed by Tim Horton.
2540
2541         Change method names on GraphicsLayer and GraphicsLayerClient that
2542         refer to "sync" to use the term "flush" instead, to be consistent
2543         with the rest of the code.
2544
2545         * WebCoreSupport/AcceleratedCompositingContext.h:
2546         (AcceleratedCompositingContext):
2547         * WebCoreSupport/AcceleratedCompositingContextCairo.cpp:
2548         (WebKit::AcceleratedCompositingContext::attachRootGraphicsLayer):
2549         (WebKit::AcceleratedCompositingContext::resizeRootLayer):
2550         (WebKit::AcceleratedCompositingContext::syncLayersNow):
2551         (WebKit::AcceleratedCompositingContext::notifyFlushRequired):
2552         * WebCoreSupport/AcceleratedCompositingContextClutter.cpp:
2553         (WebKit::AcceleratedCompositingContext::flushPendingLayerChanges):
2554         (WebKit::AcceleratedCompositingContext::notifyFlushRequired):
2555         * WebCoreSupport/AcceleratedCompositingContextGL.cpp:
2556         (WebKit::AcceleratedCompositingContext::flushPendingLayerChanges):
2557         (WebKit::AcceleratedCompositingContext::notifyFlushRequired):
2558
2559 2012-10-04  Simon Fraser  <simon.fraser@apple.com>
2560
2561         Standardize on "flush" terminology for compositing layer flushing/syncing
2562         https://bugs.webkit.org/show_bug.cgi?id=98321
2563
2564         Reviewed by Simon Fraser.
2565
2566         Rename compositing-related methods that refer to "syncing" to instead
2567         refer to "flushing".
2568
2569         * WebCoreSupport/ChromeClientGtk.cpp:
2570         (WebKit::ChromeClient::scheduleCompositingLayerFlush):
2571         * WebCoreSupport/ChromeClientGtk.h:
2572         (ChromeClient):
2573
2574 2012-10-02  Anders Carlsson  <andersca@apple.com>
2575
2576         Change most GraphicsLayer::create calls to use the version that takes a GraphicsLayerFactory
2577         https://bugs.webkit.org/show_bug.cgi?id=98217
2578
2579         Reviewed by Andreas Kling.
2580
2581         * WebCoreSupport/AcceleratedCompositingContextGL.cpp:
2582         (WebKit::AcceleratedCompositingContext::initialize):
2583
2584 2012-10-02  Carlos Garcia Campos  <cgarcia@igalia.com>
2585
2586         [GTK] Add API to get the web view that initiated a custom URI request to WebKit2 GTK+
2587         https://bugs.webkit.org/show_bug.cgi?id=97895
2588
2589         Reviewed by Martin Robinson.
2590
2591         * WebCoreSupport/FrameNetworkingContextGtk.cpp:
2592         (WebKit::FrameNetworkingContextGtk::initiatingPageID): Stub
2593         implementation.
2594         * WebCoreSupport/FrameNetworkingContextGtk.h:
2595         (FrameNetworkingContextGtk): Added.
2596
2597 2012-10-02  Adrian Perez de Castro  <aperez@igalia.com>
2598
2599         [GTK] Value not returned warning with geolocation disabled
2600         https://bugs.webkit.org/show_bug.cgi?id=98148
2601
2602         Reviewed by Xan Lopez.
2603
2604         With geolocation disabled in the build, return a sensible value from
2605         DumpRenderTreeSupportGtk::numberOfPendingGeolocationPermissionRequests.
2606         This also avoids a compiler warning.
2607
2608         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
2609         (DumpRenderTreeSupportGtk::numberOfPendingGeolocationPermissionRequests):
2610
2611 2012-10-01  Brady Eidson  <beidson@apple.com>
2612
2613         Remove the Safari 2 -> Safari 3 icon database import code.
2614         https://bugs.webkit.org/show_bug.cgi?id=98113
2615
2616         Reviewed by Maciej Stachowiak.
2617
2618         Nuke the performImport() IconDatabaseClient method.
2619
2620         * webkit/webkitfavicondatabase.cpp:
2621         (IconDatabaseClientGtk):
2622
2623 2012-10-01  Arnaud Renevier  <a.renevier@sisa.samsung.com>
2624
2625         [Gtk] crash when accelerated composition is turned off
2626         https://bugs.webkit.org/show_bug.cgi?id=98099
2627
2628         Reviewed by Martin Robinson.
2629
2630         frame->view()->updateLayoutAndStyleIfNeededRecursive() may reset root
2631         compositing layer in flushAndRenderLayers. So, we check if compositing
2632         is enabled afterwards, and return if it is not.
2633
2634         This bug is handled by LayoutTests/compositing/toggle-compositing.html
2635
2636         * WebCoreSupport/AcceleratedCompositingContextGL.cpp:
2637         (WebKit::AcceleratedCompositingContext::flushAndRenderLayers):
2638
2639 2012-10-01  Claudio Saavedra  <csaavedra@igalia.com>
2640
2641         [GTK] Save original uri for downloaded files
2642         https://bugs.webkit.org/show_bug.cgi?id=95188
2643
2644         Reviewed by Carlos Garcia Campos.
2645
2646         gvfs stores metadata locally, and this information can later be
2647         used by file management applications. Based on a patch by
2648         Alexander Larsson <alexl@redhat.com>.
2649
2650         * webkit/webkitdownload.cpp:
2651         (webkit_download_open_stream_for_uri): Save the download-uri as
2652         file metadata.
2653
2654 2012-10-01  Claudio Saavedra  <csaavedra@igalia.com>
2655
2656         [GTK] WebKitDownload: use more of GOwnPtr/GRefPtr
2657         https://bugs.webkit.org/show_bug.cgi?id=98009
2658
2659         Reviewed by Carlos Garcia Campos.
2660
2661         Use more GOwnPtr/GRefPtr in WebKitDownload
2662
2663         * webkit/webkitdownload.cpp:
2664         (webkit_download_open_stream_for_uri): Use GRefPtr
2665         for a GFile and GOwnPtr for GError.
2666         (webkit_download_set_destination_uri): Ditto.
2667         (webkit_download_received_data): Use GOwnPtr for GError.
2668
2669 2012-09-28  Mikhail Pozdnyakov  <mikhail.pozdnyakov@intel.com>
2670
2671         Code inside FrameLoaderClient::canShowMIMEType() implementations can be shared among different WK ports
2672         https://bugs.webkit.org/show_bug.cgi?id=97547
2673
2674         Reviewed by Adam Barth.
2675
2676         Newly added WebCore::MIMETypeRegistry::canShowMIMEType() function is used
2677         inside WebKit::FrameLoaderClient::canShowMIMEType().
2678
2679         * WebCoreSupport/FrameLoaderClientGtk.cpp:
2680         (WebKit::FrameLoaderClient::canShowMIMEType):
2681
2682 2012-09-28  Huang Dongsung  <luxtella@company100.net>
2683
2684         [GTK] Enable CSS Shaders layout LayoutTests on GTK+
2685         https://bugs.webkit.org/show_bug.cgi?id=97821
2686
2687         Reviewed by Martin Robinson.
2688
2689         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
2690         (DumpRenderTreeSupportGtk::setCSSCustomFilterEnabled): Pass through to Settings object.
2691         * WebCoreSupport/DumpRenderTreeSupportGtk.h:
2692         (DumpRenderTreeSupportGtk):
2693
2694 2012-09-27  Allan Sandfeld Jensen  <allan.jensen@digia.com>
2695
2696         Unify event handling of middle mouse button.
2697         https://bugs.webkit.org/show_bug.cgi?id=97690
2698
2699         Reviewed by Tony Chang.
2700
2701         Remove port specific handling of middle mouse button press.
2702
2703         * WebCoreSupport/EditorClientGtk.cpp:
2704         (WebKit::EditorClient::supportsGlobalSelection):
2705         * WebCoreSupport/EditorClientGtk.h:
2706         (EditorClient):
2707         * webkit/webkitwebview.cpp:
2708         (webkit_web_view_button_press_event):
2709
2710 2012-09-26  Gustavo Noronha Silva  <gns@gnome.org>
2711
2712         Unreviewed build fix after 129707.
2713
2714         * webkit/webkitwebview.cpp:
2715         (webkit_web_view_forward_context_menu_event):
2716
2717 2012-09-26  Martin Robinson  <mrobinson@igalia.com>
2718
2719         [GTK] Use XDamage to simplify RedirectedXCompositeWindow
2720         https://bugs.webkit.org/show_bug.cgi?id=97267
2721
2722         Reviewed by Alejandro G. Castro.
2723
2724         Use XDamage to queue redraws of the widget when redirecting accelerated compositing
2725         to an offscreen window. This allows removing a finicky timer-based approach, improves
2726         performance, and allows simplifying things greatly.
2727
2728         * GNUmakefile.am: Add the XDamage CFLAGS and LIBS.
2729         * WebCoreSupport/AcceleratedCompositingContext.h:
2730         (AcceleratedCompositingContext): Change the signature of compositeLayersToContext
2731         to accept an enum that explains the composite purpose.
2732         * WebCoreSupport/AcceleratedCompositingContextGL.cpp:
2733         (WebKit::redirectedWindowDamagedCallback): Added.
2734         (WebKit::AcceleratedCompositingContext::initialize): Handle the situation where
2735         the RedirectedXCompositeWindow returns a null pointer.
2736         (WebKit::AcceleratedCompositingContext::enabled): Ditto.
2737         (WebKit::AcceleratedCompositingContext::renderLayersToWindow): Remove the code handling
2738         the usable size of the RedirectedXCompositeWindow. The usable size is now always equal
2739         to the size.
2740         (WebKit::AcceleratedCompositingContext::compositeLayersToContext): When drawing for a
2741         resize, first clear the entire context. Remove the double swap-buffer, as it's no
2742         longer necessary.
2743         (WebKit::AcceleratedCompositingContext::setRootCompositingLayer): Handle the case that
2744         the redirected window is null.
2745         (WebKit::AcceleratedCompositingContext::resizeRootLayer): Instead of doing another
2746         immediate layer flush, just recomposite the current layer state and schedule a new
2747         flush. This should make resizing faster.
2748         (WebKit::AcceleratedCompositingContext::flushAndRenderLayers): We no longer need to
2749         queue a redraw, unless we want to force one.
2750
2751 2012-09-26  Zan Dobersek  <zandobersek@gmail.com>
2752
2753         [GTK] Enable some of the unstable CSS features
2754         https://bugs.webkit.org/show_bug.cgi?id=97572
2755
2756         Reviewed by Martin Robinson.
2757
2758         Add a helper DumpRenderTreeSupportGtk method for enabling
2759         the <style scoped> support in WebCore. This is used in DumpRenderTree.
2760
2761         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
2762         (DumpRenderTreeSupportGtk::setShadowDOMEnabled): Add missing
2763         ENABLE(SHADOW_DOM) compilation guards.
2764         (DumpRenderTreeSupportGtk::setStyleScopedEnabled):
2765         * WebCoreSupport/DumpRenderTreeSupportGtk.h:
2766         (DumpRenderTreeSupportGtk): Remove the 'enabled' parameter name from both
2767         setShadowDOMEnabled and setStyleScopedEnabled method declarations as it adds
2768         no information and is causing style warnings.
2769
2770 2012-09-25  Beth Dakin  <bdakin@apple.com>
2771
2772         https://bugs.webkit.org/show_bug.cgi?id=95397
2773         Need to merge didFirstVisuallyNonEmptyLayout and 
2774         didNewFirstVisuallyNonEmptyLayout
2775         -and corresponding-
2776         <rdar://problem/10791680>
2777
2778         Reviewed by Sam Weinig.
2779
2780         Remove dispatchDidFirstLayout, 
2781         dispatchDidFirstVisuallyNonEmptyLayout, and 
2782         dispatchDidNewFirstVisuallyNonEmptyLayout. Their functionality 
2783         is now replaced by dispatchDidLayout(LayoutMilestoneOptions)
2784         * WebCoreSupport/FrameLoaderClientGtk.cpp:
2785         (WebKit::FrameLoaderClient::dispatchDidLayout):
2786         * WebCoreSupport/FrameLoaderClientGtk.h:
2787         (FrameLoaderClient):
2788
2789         It is now necessary to opt into getting any of the 
2790         "layout milestone" notifications.
2791         * webkit/webkitwebview.cpp:
2792         (webkit_web_view_init):
2793
2794 2012-09-25  Paweł Forysiuk  <tuxator@o2.pl>
2795
2796         [GTK] Webkit 1.8.2 fails to build with MinGW with spellchecking enabled
2797         https://bugs.webkit.org/show_bug.cgi?id=93255
2798
2799         Reviewed by Martin Robinson.
2800
2801         Build dies because of invalid cast. Additionaly word "interface" is in use with MinGW compiler.
2802
2803         * WebCoreSupport/TextCheckerClientGtk.cpp:
2804         (WebKit::TextCheckerClientGtk::checkSpellingOfString): Use String to avoid unneded casting
2805         * webkit/webkitspellcheckerenchant.cpp:
2806         (webkit_spell_checker_enchant_spell_checker_interface_init): rename interface -> checkerInterface
2807
2808 2012-09-24  Benjamin Poulain  <bpoulain@apple.com>
2809
2810         Fix Geolocation error reporting in the test support
2811         https://bugs.webkit.org/show_bug.cgi?id=97386
2812
2813         Reviewed by Sam Weinig.
2814
2815         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
2816         (DumpRenderTreeSupportGtk::setMockGeolocationPositionUnavailableError):
2817         * WebCoreSupport/DumpRenderTreeSupportGtk.h:
2818         (DumpRenderTreeSupportGtk):
2819
2820 2012-09-24  Zan Dobersek  <zandobersek@gmail.com>
2821
2822         [Gtk] Unskip the Shadow DOM layout tests
2823         https://bugs.webkit.org/show_bug.cgi?id=90776
2824
2825         Reviewed by Ryosuke Niwa.
2826
2827         Add a method for enabling the Shadow DOM through RuntimeEnabledFeatures.
2828         The method is called from DumpRenderTree when resetting state.
2829
2830         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
2831         (DumpRenderTreeSupportGtk::setShadowDOMEnabled):
2832         * WebCoreSupport/DumpRenderTreeSupportGtk.h:
2833         (DumpRenderTreeSupportGtk):
2834
2835 2012-09-24  Joone Hur  <joone.hur@intel.com>
2836
2837         [GTK] Implement GraphicsLayer using Clutter
2838         https://bugs.webkit.org/show_bug.cgi?id=73767
2839
2840         Reviewed by Martin Robinson.
2841
2842         This patch is needed for enabling Accelerated Compositing(Clutter backend)
2843         with the patches submitted in bug 92045 and 91940.
2844
2845         * WebCoreSupport/AcceleratedCompositingContextClutter.cpp:
2846         (WebKit::AcceleratedCompositingContext::scrollNonCompositedContents): Added to fix bulid break.
2847         (WebKit):
2848
2849 2012-09-19  Danilo Cesar Lemes de Paula  <danilo.cesar@collabora.co.uk>
2850
2851         [gtk] add enable-media-stream to websettings
2852         https://bugs.webkit.org/show_bug.cgi?id=94361
2853
2854         Reviewed by Martin Robinson.
2855
2856         Applications should be allowed to enable/disable MediaStream on webkitwebsettings.
2857
2858         * webkit/webkitwebsettings.cpp:
2859         (webkit_web_settings_class_init):
2860         (webkit_web_settings_set_property):
2861         (webkit_web_settings_get_property):
2862         * webkit/webkitwebsettingsprivate.h:
2863         * webkit/webkitwebview.cpp:
2864         (webkit_web_view_update_settings):
2865
2866 2012-09-14  Zan Dobersek  <zandobersek@gmail.com>
2867
2868         [GTK] Clear application cache between tests in DumpRenderTree
2869         https://bugs.webkit.org/show_bug.cgi?id=96543
2870
2871         Reviewed by Philippe Normand.
2872
2873         Add a method to the DumpRenderTreeSupportGtk class that upon calling
2874         clears the application cache and vacuums the database file.
2875
2876         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
2877         (DumpRenderTreeSupportGtk::clearApplicationCache):
2878         * WebCoreSupport/DumpRenderTreeSupportGtk.h:
2879         (DumpRenderTreeSupportGtk):
2880
2881 2012-09-13  Sheriff Bot  <webkit.review.bot@gmail.com>
2882
2883         Unreviewed, rolling out r128453.
2884         http://trac.webkit.org/changeset/128453
2885         https://bugs.webkit.org/show_bug.cgi?id=96681
2886
2887         Having tests use the same appcache directory leads to timeouts
2888         (Requested by zdobersek on #webkit).
2889
2890         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
2891         (DumpRenderTreeSupportGtk::clearMemoryCache):
2892         * WebCoreSupport/DumpRenderTreeSupportGtk.h:
2893         (DumpRenderTreeSupportGtk):
2894
2895 2012-09-13  Zan Dobersek  <zandobersek@gmail.com>
2896
2897         [GTK] Clear application cache between tests in DumpRenderTree
2898         https://bugs.webkit.org/show_bug.cgi?id=96543
2899
2900         Reviewed by Philippe Normand.
2901
2902         Add a method to the DumpRenderTreeSupportGtk class that upon calling
2903         clears the application cache and vacuums the database file.
2904
2905         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
2906         (DumpRenderTreeSupportGtk::clearApplicationCache):
2907         * WebCoreSupport/DumpRenderTreeSupportGtk.h:
2908         (DumpRenderTreeSupportGtk):
2909
2910 2012-09-12  Siraj Razick  <siraj.razick@collabora.co.uk>
2911
2912         [GTK] Update AcceleratedCompositingContextClutter to match AcceleratedCompositingContext.h API update
2913         https://bugs.webkit.org/show_bug.cgi?id=96165
2914
2915         Reviewed by Martin Robinson.
2916
2917         Due to the refactoring done in bug #90085 AcceleratedCompositingContext API changed, as a result
2918         AcceleratedCompositingContextClutter doesn't compile anymore. This patch is to update the
2919         AcceleratedCompositingContextClutter implementations to match the API update, and Make webkit
2920         AC backend compile again.
2921
2922         * WebCoreSupport/AcceleratedCompositingContextClutter.cpp:
2923         (WebKit::AcceleratedCompositingContext::AcceleratedCompositingContext):
2924         (WebKit::AcceleratedCompositingContext::~AcceleratedCompositingContext):
2925         (WebKit::AcceleratedCompositingContext::setRootCompositingLayer):
2926         (WebKit::AcceleratedCompositingContext::setNonCompositedContentsNeedDisplay):
2927         (WebKit::flushAndRenderLayersCallback):
2928         (WebKit::AcceleratedCompositingContext::scheduleLayerFlush):
2929         (WebKit::AcceleratedCompositingContext::flushPendingLayerChanges):
2930         (WebKit::AcceleratedCompositingContext::flushAndRenderLayers):
2931
2932 2012-09-11  Arnaud Renevier  <a.renevier@sisa.samsung.com>
2933
2934         [Gtk] allow building with css-shaders
2935         https://bugs.webkit.org/show_bug.cgi?id=95603
2936
2937         Reviewed by Martin Robinson.
2938
2939         Add enable-css-shaders property to WebKit WebSettings, and connects it
2940         to WebCore settings setCSSCustomFilterEnabled.
2941
2942         * webkit/webkitwebsettings.cpp:
2943         (webkit_web_settings_class_init):
2944         (webkit_web_settings_set_property):
2945         (webkit_web_settings_get_property):
2946         * webkit/webkitwebsettingsprivate.h:
2947         * webkit/webkitwebview.cpp:
2948         (webkit_web_view_update_settings):
2949         (webkit_web_view_settings_notify):
2950
2951 2012-09-09  Emil A Eklund  <eae@chromium.org>
2952
2953         Rename Node::getRect/getPixelSnappedRect and remove ContainerNode::getRect
2954         https://bugs.webkit.org/show_bug.cgi?id=81413
2955
2956         Reviewed by David Hyatt.
2957
2958         Update ChromeClientGtk and webkitwebview to call pixelSnappedBoundingBox.
2959
2960         * WebCoreSupport/ChromeClientGtk.cpp:
2961         (WebKit::ChromeClient::mouseDidMoveOverElement):
2962         * webkit/webkitwebview.cpp:
2963         (getLocationForKeyboardGeneratedContextMenu):
2964         (webkit_web_view_query_tooltip):
2965
2966 2012-09-07  Martin Robinson  <mrobinson@igalia.com>
2967
2968         [GTK] Move user agent helpers to WebCore
2969         https://bugs.webkit.org/show_bug.cgi?id=95745
2970
2971         Reviewed by Carlos Garcia Campos.
2972
2973         Move the code for determining the user agent to WebCore and have WebKit1
2974         use the new shared code.
2975
2976         * webkit/webkitwebsettings.cpp: Use the WebCore code to determine the user
2977         agent in WebKit1.
2978
2979 2012-09-05  Sam Weinig  <sam@webkit.org>
2980
2981         Part 2 of removing PlatformString.h, remove PlatformString.h
2982         https://bugs.webkit.org/show_bug.cgi?id=95931
2983
2984         Reviewed by Adam Barth.
2985
2986         Remove PlatformString.h
2987
2988         * WebCoreSupport/ChromeClientGtk.cpp:
2989         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
2990         * WebCoreSupport/InspectorClientGtk.cpp:
2991         * gdom/ConvertToGCharPrivate.h:
2992         * webkit/webkitsecurityorigin.cpp:
2993         * webkit/webkitwebdatasource.cpp:
2994         * webkit/webkitwebhistoryitem.cpp:
2995         * webkit/webkitwebresource.cpp:
2996
2997 2012-09-06  Carlos Garcia Campos  <cgarcia@igalia.com>
2998
2999         [GTK] Add API to get/set the security policy of a given URI scheme
3000         https://bugs.webkit.org/show_bug.cgi?id=95549
3001
3002         Reviewed by Martin Robinson.
3003
3004         Add WebKitSecurityPolicy enum with flags that represent the
3005         security policy of a URI scheme. Add methods to get and set the
3006         security policy flags for a given URI scheme.
3007
3008         * docs/webkitgtk-sections.txt: Add new symbols.
3009         * tests/testglobals.c:
3010         (test_globals_security_policy):
3011         (main):
3012         * webkit/webkitglobals.cpp:
3013         (webkit_set_security_policy_for_uri_scheme):
3014         (webkit_get_security_policy_for_uri_scheme):
3015         * webkit/webkitglobals.h:
3016
3017 2012-09-05  Kaustubh Atrawalkar  <kaustubh@motorola.com>
3018
3019         [DRT] LTC:: Move printing related APIs from LayoutTestController to Internals
3020         https://bugs.webkit.org/show_bug.cgi?id=92735
3021
3022         Reviewed by Hajime Morita.
3023
3024         Move numberOfPages, pageProperty & pageSizeAndMarginsInPixels in Internals and remove duplicated code from DumprenderTree & WebkitTestRunner.
3025
3026         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
3027         * WebCoreSupport/DumpRenderTreeSupportGtk.h:
3028         (DumpRenderTreeSupportGtk):
3029
3030 2012-09-04  Joanmarie Diggs  <jdiggs@igalia.com>
3031
3032         [GTK] Crash in AccessibilityObject::accessibilityPlatformIncludesObject()
3033         https://bugs.webkit.org/show_bug.cgi?id=95740
3034
3035         Reviewed by Martin Robinson.
3036
3037         Updated unit test.
3038
3039         * tests/testatk.c:
3040         (testWebkitAtkComboBox): Added checks that the menu popup in a combo box
3041         has 0 links and, more importantly, that checking doesn't result in a crash.
3042
3043 2012-09-01  Joanmarie Diggs  <jdiggs@igalia.com>
3044
3045         [Gtk] Incorrect/unexpected characters in the text of certain accessibles
3046         https://bugs.webkit.org/show_bug.cgi?id=95180
3047
3048         Reviewed by Chris Fleizach.
3049
3050         Corrected a unit test in which the expected accessible text was wrong as
3051         a result of this bug. In particular, the AtkText inserted into an empty
3052         text field is expected to be the same text atk_text_get_text() returns.
3053         That was not happening -- and presumably not noticed as a result of the
3054         hard to read textual representation of the multibyte password field
3055         bullets.
3056
3057         * tests/testatk.c:
3058         (testWebkitAtkTextChangedNotifications): Corrected the test and added a
3059         comment so that one knows what the multibyte character is.
3060
3061 2012-08-31  José Dapena Paz  <jdapena@igalia.com>
3062
3063         [GTK] Assert on ChromeClientGtk::scroll with delta (0, -1).
3064         https://bugs.webkit.org/show_bug.cgi?id=95590
3065
3066         Change the assert to avoid hitting when the delta does not have any
3067         value > 0.
3068
3069         Reviewed by Martin Robinson.
3070
3071         * WebCoreSupport/ChromeClientGtk.cpp:
3072         (WebKit::ChromeClient::scroll):
3073
3074 2012-08-30  Benjamin Poulain  <bpoulain@apple.com>
3075
3076         Replace JSC::UString by WTF::String
3077         https://bugs.webkit.org/show_bug.cgi?id=95271
3078
3079         Reviewed by Geoffrey Garen.
3080
3081         Replace UString by String.
3082
3083         * gdom/ConvertToGCharPrivate.h:
3084         (copyAsGchar):
3085
3086 2012-08-30  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
3087
3088         Use ASCIILiteral for DEFINE_STATIC_LOCAL string
3089         https://bugs.webkit.org/show_bug.cgi?id=95420
3090
3091         Reviewed by Benjamin Poulain.
3092
3093         As recommended by http://trac.webkit.org/wiki/EfficientStrings,
3094         WebKit needs to use ASCIILiteral for the string of DEFINE_STATIC_LOCAL.
3095
3096         * webkit/webkitwebsettings.cpp:
3097         (webkitPlatform):
3098         (webkitOSVersion):
3099
3100 2012-08-29  José Dapena Paz  <jdapena@igalia.com>
3101
3102         [Gtk] Process Gtk 3.4 smooth scroll events properly.
3103         https://bugs.webkit.org/show_bug.cgi?id=88070
3104
3105         Gtk 3.3.18 added smooth scroll events, adding a new scroll direction that
3106         provides detailed delta information.
3107
3108         Added GDK_SMOOTH_SCROLL_MASK to the events listened, and added
3109         code to process properly the new direction GDK_SCROLL_SMOOTH and
3110         its deltas.
3111
3112         Reviewed by Martin Robinson.
3113
3114         * webkit/webkitwebview.cpp:
3115         (webkit_web_view_realize):
3116
3117 2012-08-28  Martin Robinson  <mrobinson@igalia.com>
3118
3119         [GTK] Enable the edge distance anti-aliasing for accelerated compositing layers
3120         https://bugs.webkit.org/show_bug.cgi?id=95272
3121
3122         Reviewed by No'am Rosenthal.
3123
3124         Turn on edge-distance anti-aliasing for GTK+ WebKit1. This
3125         improves the quality of layer rendering.
3126
3127         * WebCoreSupport/AcceleratedCompositingContextGL.cpp:
3128         (WebKit::AcceleratedCompositingContext::initialize):
3129
3130 2012-08-28  Sheriff Bot  <webkit.review.bot@gmail.com>
3131
3132         Unreviewed, rolling out r126914.
3133         http://trac.webkit.org/changeset/126914
3134         https://bugs.webkit.org/show_bug.cgi?id=95239
3135
3136         it breaks everything and fixes nothing (Requested by pizlo on
3137         #webkit).
3138
3139         * WebCoreSupport/PlatformStrategiesGtk.cpp:
3140         (PlatformStrategiesGtk::getPluginInfo):
3141         * webkit/webkitfavicondatabase.cpp:
3142         (webkitFaviconDatabaseImportFinished):
3143         * webkit/webkitwebplugin.cpp:
3144         (webkit_web_plugin_get_mimetypes):
3145
3146 2012-08-28  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
3147
3148         Rename first/second to key/value in HashMap iterators
3149         https://bugs.webkit.org/show_bug.cgi?id=82784
3150
3151         Reviewed by Eric Seidel.
3152
3153         * WebCoreSupport/PlatformStrategiesGtk.cpp:
3154         (PlatformStrategiesGtk::getPluginInfo):
3155         * webkit/webkitfavicondatabase.cpp:
3156         (webkitFaviconDatabaseImportFinished):
3157         * webkit/webkitwebplugin.cpp:
3158         (webkit_web_plugin_get_mimetypes):
3159
3160 2012-08-27  Zan Dobersek  <zandobersek@gmail.com>
3161
3162         [GTK] Memory cache should be cleared in between test runs
3163         https://bugs.webkit.org/show_bug.cgi?id=95105
3164
3165         Reviewed by Martin Robinson.
3166
3167         Add a DumpRenderTreeSupportGtk helper method that clears the
3168         memory cache when called.
3169
3170         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
3171         (DumpRenderTreeSupportGtk::clearMemoryCache):
3172         * WebCoreSupport/DumpRenderTreeSupportGtk.h:
3173         (DumpRenderTreeSupportGtk):
3174
3175 2012-08-27  Sheriff Bot  <webkit.review.bot@gmail.com>
3176
3177         Unreviewed, rolling out r126836.
3178         http://trac.webkit.org/changeset/126836
3179         https://bugs.webkit.org/show_bug.cgi?id=95163
3180
3181         Broke all Apple ports, EFL, and Qt. (Requested by tkent on
3182         #webkit).
3183
3184         * WebCoreSupport/PlatformStrategiesGtk.cpp:
3185         (PlatformStrategiesGtk::getPluginInfo):
3186         * webkit/webkitfavicondatabase.cpp:
3187         (webkitFaviconDatabaseImportFinished):
3188         * webkit/webkitwebplugin.cpp:
3189         (webkit_web_plugin_get_mimetypes):
3190
3191 2012-08-27  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
3192
3193         Rename first/second to key/value in HashMap iterators
3194         https://bugs.webkit.org/show_bug.cgi?id=82784
3195
3196         Reviewed by Eric Seidel.
3197
3198         * WebCoreSupport/PlatformStrategiesGtk.cpp:
3199         (PlatformStrategiesGtk::getPluginInfo):
3200         * webkit/webkitfavicondatabase.cpp:
3201         (webkitFaviconDatabaseImportFinished):
3202         * webkit/webkitwebplugin.cpp:
3203         (webkit_web_plugin_get_mimetypes):
3204
3205 2012-08-27  Mikhail Pozdnyakov  <mikhail.pozdnyakov@intel.com>
3206
3207         Rename RegisterProtocolHandler API to NavigatorContentUtils
3208         https://bugs.webkit.org/show_bug.cgi?id=94920
3209
3210         Reviewed by Adam Barth.
3211
3212         Renaming whatever RegisterProtocolHandler-prefixed to NavigatorContentUtils-prefixed.
3213         RegisterProtocolHandlerClientGtk is renamed to NavigatorContentUtilsClientGtk.
3214
3215         * GNUmakefile.am:
3216         * WebCoreSupport/NavigatorContentUtilsClientGtk.cpp: Renamed from Source/WebKit/gtk/WebCoreSupport/RegisterProtocolHandlerClientGtk.cpp.
3217         (WebKit):
3218         (WebKit::NavigatorContentUtilsClient::create):
3219         (WebKit::NavigatorContentUtilsClient::NavigatorContentUtilsClient):
3220         (WebKit::NavigatorContentUtilsClient::registerProtocolHandler):
3221         * WebCoreSupport/NavigatorContentUtilsClientGtk.h: Renamed from Source/WebKit/gtk/WebCoreSupport/RegisterProtocolHandlerClientGtk.h.
3222         (WebKit):
3223         (NavigatorContentUtilsClient):
3224         (WebKit::NavigatorContentUtilsClient::~NavigatorContentUtilsClient):
3225         * webkit/webkitwebview.cpp:
3226         (webkit_web_view_init):
3227         * webkit/webkitwebviewprivate.h:
3228
3229 2012-08-23  Carlos Garcia Campos  <cgarcia@igalia.com>
3230
3231         REGRESSION(r126306): it broke the plugin process
3232         https://bugs.webkit.org/show_bug.cgi?id=94797
3233
3234         Reviewed by Xan Lopez.
3235
3236         * GNUmakefile.am:
3237
3238 2012-08-22  Carlos Garcia Campos  <cgarcia@igalia.com>
3239
3240         [GTK] Crash when finalizing WebKitWebView
3241         https://bugs.webkit.org/show_bug.cgi?id=94699
3242
3243         Reviewed by Martin Robinson.
3244
3245         Create the offscreen window the first time accelerated compositing
3246         is enabled, so that if it's never enabled the window won't be
3247         created.
3248
3249         * WebCoreSupport/AcceleratedCompositingContextGL.cpp:
3250         (WebKit::AcceleratedCompositingContext::AcceleratedCompositingContext):
3251         (WebKit::AcceleratedCompositingContext::initialize):
3252         (WebKit::AcceleratedCompositingContext::setRootCompositingLayer):
3253
3254 2012-08-22  Gustavo Noronha Silva  <gns@gnome.org>
3255
3256         [GTK] Split WebCore/platform into a separate library
3257         https://bugs.webkit.org/show_bug.cgi?id=94435
3258
3259         Reviewed by Martin Robinson.
3260
3261         More people have been reporting problems when linking WebCore because
3262         the command line limit is being exceeded. Splitting WebCore a bit more
3263         is in order.
3264
3265         * GNUmakefile.am: link libWebCorePlatform into libwebkitgtk
3266
3267 2012-08-22  Carlos Garcia Campos  <cgarcia@igalia.com>
3268
3269         [GTK] Preferred languages and spellchecker APIs are not consistent in WebKit2
3270         https://bugs.webkit.org/show_bug.cgi?id=94683
3271
3272         Reviewed by Alejandro G. Castro.
3273
3274         * webkit/webkitspellcheckerenchant.cpp:
3275         (updateSpellCheckingLanguages): Split the languages string to pass a
3276         Vector to updateSpellCheckingLanguages().
3277
3278 2012-08-21  Joanmarie Diggs  <jdiggs@igalia.com>
3279         [Gtk] No accessible caret-moved events found in certain content
3280         https://bugs.webkit.org/show_bug.cgi?id=72811
3281
3282         Reviewed by Chris Fleizach.
3283
3284         Part of the bug is due to objects which should claim to implement AtkText
3285         failed to do so as a result of containing a mixture of inline and block
3286         spans.
3287
3288         An updated unit test was provided.
3289
3290         * tests/testatk.c:
3291         (testWebkitAtkCaretOffsets): Added instances of objects containing a
3292         mixture of inline and block spans and tested that they implement AtkText
3293         and contain the right textual contents.
3294
3295 2012-08-21  Kihong Kwon  <kihong.kwon@samsung.com>
3296
3297         [EFL][GTK][BlackBerry] Fix build error in the DeviceOrientationClient
3298         https://bugs.webkit.org/show_bug.cgi?id=94586
3299
3300         Reviewed by Kentaro Hara.
3301
3302         Fix build error in the DeviceOrientationClientGtk.cpp.
3303         It is occured because DeviceOrientation is changed to DeviceOrientationData in the WebCore.
3304
3305         * WebCoreSupport/DeviceOrientationClientGtk.cpp:
3306         (WebKit::DeviceOrientationClientGtk::lastOrientation):
3307
3308 2012-08-21  Martin Robinson  <mrobinson@igalia.com>
3309
3310         [GTK] Using a native window for the WebView breaks GtkOverlay
3311         https://bugs.webkit.org/show_bug.cgi?id=90085
3312
3313         Reviewed by Alejandro G. Castro.
3314
3315         Rewrite AcceleratedCompositingContext for TextureMapperGL to be more similar to
3316         the WebKit2 LayerTreeHost and switch from rendering directly to the widget window
3317         to a window redirected to a pixmap via XComposite. The AcceleratedCompositingContext
3318         now handles painting the non-composited content itself and no longer relies on the
3319         ChromeClient backing store.
3320
3321         This fixes issues with using GtkOverlay WebKitWebView as well as making it possible
3322         to run pixel tests with accelerated compositing turned on.
3323
3324         * WebCoreSupport/AcceleratedCompositingContext.h:
3325         (AcceleratedCompositingContext):
3326         * WebCoreSupport/AcceleratedCompositingContextGL.cpp:
3327         Rename some methods to make them more similar to LayerTreeHost. Now we wait to render
3328         the OpenGL context to the window until the widget's draw signal. Escape out of all
3329         methods early if accelerated compositing is disabled.
3330         * WebCoreSupport/ChromeClientGtk.cpp: Always check if accelerated compositing is on
3331         before calling into AcceleratedCompositingContext methods. When AC is on, never paint
3332         the backing store, deferring immediately to the AcceleratedCompositingContext. When
3333         AC is turned on the backing store now shrinks to a small size to save memory.
3334         * webkit/webkitwebview.cpp:
3335         (resizeWebViewFromAllocation): ChromeClient is now responsible for talking to the
3336         AcceleratedCompositingContext directly.
3337         (webkit_web_view_size_allocate): Exit early if the allocation is not a resize. This
3338         makes some deeper logic a bit simpler and avoids accidentally doing too much work for
3339         widget movement.
3340         (webkit_web_view_realize): We no longer need a native window.
3341
3342 2012-08-15  Joanmarie Diggs  <jdiggs@igalia.com>
3343
3344         [Gtk] atk_text_set_caret_offset() fails for table cells
3345         https://bugs.webkit.org/show_bug.cgi?id=83501
3346
3347         Reviewed by Chris Fleizach.
3348
3349         Update unit test to include setting the caret in a table cell via the AtkText interface.
3350
3351         * tests/testatk.c:
3352         (testWebkitAtkCaretOffsets): Add setting the caret inside the text of a table cell.
3353
3354 2012-08-15  Joanmarie Diggs  <jdiggs@igalia.com>
3355
3356         [Gtk] atk_text_get_text_at_offset() fails to provide the correct line for paragraphs in list items whose text wraps
3357         https://bugs.webkit.org/show_bug.cgi?id=83435
3358
3359         Reviewed by Chris Fleizach.
3360
3361         Updated unit test to include a paragraph in a list item when testing atk_text_get_text_at_offset().
3362
3363         * tests/testatk.c:
3364         (testWebkitAtkGetTextAtOffsetWithSpecialCharacters):
3365
3366 2012-08-14  Adam Barth  <abarth@webkit.org>
3367
3368         Delete Frame::domWindow() and Frame::existingDOMWindow()
3369         https://bugs.webkit.org/show_bug.cgi?id=93990
3370
3371         Reviewed by Eric Seidel.
3372
3373         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
3374         (DumpRenderTreeSupportGtk::getPendingUnloadEventCount):
3375
3376 2012-08-13  Tom Sepez  <tsepez@chromium.org>
3377
3378         [chromium] release FrameLoaderClientImpl::m_pluginWidget refptr upon Plugin Document detach.
3379         https://bugs.webkit.org/show_bug.cgi?id=93283
3380
3381         Reviewed by Eric Seidel.
3382
3383         Change the client redirectDataToPlugin method(s) to expect the possibility of
3384         a NULL argument, keeping existing behaviour otherwise.
3385
3386         * WebCoreSupport/FrameLoaderClientGtk.cpp:
3387         (WebKit::FrameLoaderClient::redirectDataToPlugin):
3388
3389 2012-08-13  Martin Robinson  <mrobinson@igalia.com>
3390
3391         [GTK] Default signal handler for WebKitWebView::should-show-delete-interface-for-element overrides default result
3392         https://bugs.webkit.org/show_bug.cgi?id=93600
3393
3394         Reviewed by Xan Lopez.
3395
3396         Instead of using the default editing signal handler for ::should-show-delete-interface-for-element,
3397         do not use a default signal handler. This means that the result of the signal defaults to FALSE,
3398         which is the expected value to ensure that the delete interface is not shown.
3399
3400         * webkit/webkitwebview.cpp:
3401         (webkit_web_view_class_init): Do not install a default signal handler.
3402
3403 2012-08-13  Mario Sanchez Prada  <msanchez@igalia.com>
3404
3405         [GTK] Implementation of atk_editable_text_insert_text ignores 'length' parameter
3406         https://bugs.webkit.org/show_bug.cgi?id=93804
3407
3408         Reviewed by Carlos Garcia Campos.
3409
3410         Update unit tests to also check inserting a partial string.
3411
3412         * tests/testatk.c:
3413         (testWebkitAtkTextChangedNotifications): Update test.
3414
3415 2012-08-10  Alice Cheng  <alice_cheng@apple.com>
3416
3417         Part 1 of: Extend -webkit-user-select with a new value "all"
3418         <rdar://problem/10161404>
3419         https://bugs.webkit.org/show_bug.cgi?id=93562
3420
3421         Reviewed by Dan Bernstein.
3422
3423         Modify the enum to resolve ambiguous reference
3424
3425         * webkit/webkitwebview.cpp:
3426         (webkit_web_view_class_init): Modify the ambiguous enum
3427         (webkit_web_view_select_all): Modify the ambiguous enum
3428
3429 2012-08-10  Mario Sanchez Prada  <msanchez@igalia.com>
3430
3431         [GTK] Broken implementation of AtkText and AtkEditableText for password fields
3432         https://bugs.webkit.org/show_bug.cgi?id=93621
3433
3434         Reviewed by Chris Fleizach.
3435
3436         Update unit test to ensure that password input fields behave
3437         as expected when inserting and removing characters in them.
3438
3439         * tests/testatk.c:
3440         (testWebkitAtkTextChangedNotifications): Updated unit test to
3441         cover the special case of password input fields.
3442
3443 2012-08-09  Carlos Garcia Campos  <cgarcia@igalia.com>
3444
3445         Handle SSL errors for SOUP
3446         https://bugs.webkit.org/show_bug.cgi?id=90267
3447
3448         Reviewed by Martin Robinson.
3449
3450         Ignore SSL errors by default for compatibility.
3451
3452         * webkit/webkitglobals.cpp:
3453         (webkitInit):
3454
3455 2012-08-07  Carlos Garcia Campos  <cgarcia@igalia.com>
3456
3457         Unreviewed. Fix GTK+ build with GTK2 after r120918.
3458
3459         * tests/testwebview.c:
3460
3461 2012-08-06  Carlos Garcia Campos  <cgarcia@igalia.com>
3462
3463         Unreviewed. Update NEWS and configure.ac for 1.9.6 release
3464
3465         * NEWS: Added release notes for 1.9.6.
3466
3467 2012-08-06  Mikhail Pozdnyakov  <mikhail.pozdnyakov@intel.com>
3468
3469         [EFL] [GTK] Register Protocol Handler Client is never deleted
3470         https://bugs.webkit.org/show_bug.cgi?id=92745
3471
3472         Reviewed by Gustavo Noronha Silva.
3473
3474         Added usage of OwnPtr to manage register protocol handler client pointer.
3475
3476         * WebCoreSupport/RegisterProtocolHandlerClientGtk.cpp:
3477         (WebKit::RegisterProtocolHandlerClient::create): Factory function returning smart pointer.
3478         (WebKit):
3479         * WebCoreSupport/RegisterProtocolHandlerClientGtk.h:
3480         (RegisterProtocolHandlerClient):
3481         * webkit/webkitwebview.cpp:
3482         (webkit_web_view_init):
3483         * webkit/webkitwebviewprivate.h:
3484
3485 2012-08-03  Mario Sanchez Prada  <msanchez@igalia.com>
3486
3487         [GTK] Add a new and reusable enchant-based spellchecker in WebCore
3488         https://bugs.webkit.org/show_bug.cgi?id=90269
3489
3490         Reviewed by Martin Robinson.
3491
3492         Remove enchant specific code from WebKitSpellCheckerEnchant and
3493         implement it relying in the new TextCheckerEnchant class in WebCore.
3494
3495         * webkit/webkitspellcheckerenchant.cpp:
3496         (_WebKitSpellCheckerEnchantPrivate):
3497         (webkit_spell_checker_enchant_finalize):
3498         (webkit_spell_checker_enchant_class_init):
3499         (webkit_spell_checker_enchant_init):
3500         (checkSpellingOfString):
3501         (getGuessesForWord):
3502         (updateSpellCheckingLanguages):
3503         (learnWord):
3504         (ignoreWord):
3505
3506 2012-08-02  Claudio Saavedra  <csaavedra@igalia.com>
3507
3508         [GTK] Add WebKitNetworkResponse::suggested-filename property
3509         https://bugs.webkit.org/show_bug.cgi?id=92878
3510
3511         Reviewed by Carlos Garcia Campos.
3512
3513         Webcore has API the suggested filename for a response, add
3514         a property and getter for it in WebKitNetworkResponse.
3515
3516         * docs/webkitgtk-sections.txt: Add the symbols
3517         * webkit/webkitnetworkresponse.cpp:
3518         (_WebKitNetworkResponsePrivate): Add suggested_filename.
3519         (webkit_network_response_finalize): Free it on finalize
3520         (webkit_network_response_get_property): Add the getter call.
3521         (webkit_network_response_class_init): Install the property.
3522         (webkit_network_response_get_suggested_filename): New getter.
3523         * webkit/webkitnetworkresponse.h: Add the declaration to header
3524         file.
3525
3526 2012-07-31  Sheriff Bot  <webkit.review.bot@gmail.com>
3527
3528         Unreviewed, rolling out r124207.
3529         http://trac.webkit.org/changeset/124207
3530         https://bugs.webkit.org/show_bug.cgi?id=92773
3531
3532         Patch causes crashes on the 64-bit debug builder (and other
3533         builders likely) (Requested by zdobersek on #webkit).
3534
3535         * webkit/webkitspellcheckerenchant.cpp:
3536         (_WebKitSpellCheckerEnchantPrivate):
3537         (createEnchantBrokerIfNeeded):
3538         (freeSpellCheckingLanguage):
3539         (webkit_spell_checker_enchant_finalize):
3540         (webkit_spell_checker_enchant_class_init):
3541         (webkit_spell_checker_enchant_init):
3542         (wordEndIsAContractionApostrophe):
3543         (checkSpellingOfString):
3544         (getGuessesForWord):
3545         (getAvailableDictionariesCallback):
3546         (updateSpellCheckingLanguages):
3547         (learnWord):
3548         (ignoreWord):
3549
3550 2012-07-31  Mario Sanchez Prada  <msanchez@igalia.com>
3551
3552         [GTK] Add a new and reusable enchant-based spellchecker in WebCore
3553         https://bugs.webkit.org/show_bug.cgi?id=90269
3554
3555         Reviewed by Martin Robinson.
3556
3557         Remove enchant specific code from WebKitSpellCheckerEnchant and
3558         implement it relying in the new TextCheckerEnchant class in WebCore.
3559
3560         * webkit/webkitspellcheckerenchant.cpp:
3561         (_WebKitSpellCheckerEnchantPrivate):
3562         (webkit_spell_checker_enchant_finalize):
3563         (webkit_spell_checker_enchant_class_init):
3564         (webkit_spell_checker_enchant_init):
3565         (checkSpellingOfString):
3566         (getGuessesForWord):
3567         (updateSpellCheckingLanguages):
3568         (learnWord):
3569         (ignoreWord):
3570
3571 2012-07-30  Martin Robinson  <mrobinson@igalia.com>
3572
3573         [GTK] New lines automatically and repeatedly added to list items in Etherpad
3574         https://bugs.webkit.org/show_bug.cgi?id=89971
3575
3576         Reviewed by Ryosuke Niwa.
3577
3578         Disable the deletion UI by default. This UI, which was enabled as a side-effect
3579         of the addition of the private editing API, seems to expose a bug in Etherpad
3580         which causes the continuous insertion of bullet points.
3581
3582         * WebCoreSupport/EditorClientGtk.cpp:
3583         (WebKit::EditorClient::shouldShowDeleteInterface): Disable the deletion UI by default.
3584
3585 2012-07-30  Sheriff Bot  <webkit.review.bot@gmail.com>
3586
3587         Unreviewed, rolling out r123966 and r123967.
3588         http://trac.webkit.org/changeset/123966
3589         http://trac.webkit.org/changeset/123967
3590         https://bugs.webkit.org/show_bug.cgi?id=92656
3591
3592         This patch is causing assertion failures on the debug bot
3593         (also rolling out a dependent patch) (Requested by mrobinson
3594         on #webkit).
3595
3596         * webkit/webkitspellcheckerenchant.cpp:
3597         (_WebKitSpellCheckerEnchantPrivate):
3598         (createEnchantBrokerIfNeeded):
3599         (freeSpellCheckingLanguage):
3600         (webkit_spell_checker_enchant_finalize):
3601         (webkit_spell_checker_enchant_class_init):
3602         (webkit_spell_checker_enchant_init):
3603         (wordEndIsAContractionApostrophe):
3604         (checkSpellingOfString):
3605         (getGuessesForWord):
3606         (getAvailableDictionariesCallback):
3607         (updateSpellCheckingLanguages):
3608         (learnWord):
3609         (ignoreWord):
3610
3611 2012-07-30  Claudio Saavedra  <csaavedra@igalia.com>
3612
3613         [Gtk] Add WK1 API for snapshot retrieval
3614         https://bugs.webkit.org/show_bug.cgi?id=92261
3615
3616         Reviewed by Martin Robinson.
3617
3618         Add API to WebKitWebView to retrieve a snapshot of its
3619         visible contents as a cairo_surface_t.
3620
3621         * docs/webkitgtk-sections.txt: Add new symbols.
3622         * webkit/webkitwebview.cpp:
3623         (webkit_web_view_get_snapshot): New
3624         method to paint a webview snapshot.
3625         * webkit/webkitwebview.h: Ditto.
3626
3627 2012-07-28  Mario Sanchez Prada  <msanchez@igalia.com>
3628
3629         [GTK] Add a new and reusable enchant-based spellchecker in WebCore
3630         https://bugs.webkit.org/show_bug.cgi?id=90269
3631
3632         Reviewed by Martin Robinson.
3633
3634         Remove enchant specific code from WebKitSpellCheckerEnchant and
3635         implement it relying in the new TextCheckerEnchant class in WebCore.
3636
3637         * webkit/webkitspellcheckerenchant.cpp:
3638         (_WebKitSpellCheckerEnchantPrivate):
3639         (webkit_spell_checker_enchant_finalize):
3640         (webkit_spell_checker_enchant_class_init):
3641         (webkit_spell_checker_enchant_init):
3642         (checkSpellingOfString):
3643         (getGuessesForWord):
3644         (updateSpellCheckingLanguages):
3645         (learnWord):
3646         (ignoreWord):
3647
3648 2012-07-26  Kaustubh Atrawalkar  <kaustubh@motorola.com>
3649
3650         [DRT] LTC:: pageNumberForElementById() could be moved to Internals
3651         https://bugs.webkit.org/show_bug.cgi?id=92091
3652
3653         Reviewed by Adam Barth.
3654
3655         Move the pageNumberForElementById from LayoutTestCotroller to Internals and
3656         remove the old platform specific implementations as it exclusively tests WebCore functionality.
3657
3658         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
3659         * WebCoreSupport/DumpRenderTreeSupportGtk.h:
3660         (DumpRenderTreeSupportGtk):
3661
3662 2012-07-24  Kaustubh Atrawalkar  <kaustubh@motorola.com>
3663
3664         [DRT] LTC:: pageNumberForElementById() could be moved to Internals
3665         https://bugs.webkit.org/show_bug.cgi?id=92091
3666
3667         Reviewed by Adam Barth.
3668
3669         Move the pageNumberForElementById from LayoutTestCotroller to Internals and
3670         remove the old platform specific implementations as it exclusively tests WebCore functionality.
3671
3672         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
3673         * WebCoreSupport/DumpRenderTreeSupportGtk.h:
3674         (DumpRenderTreeSupportGtk):
3675
3676 2012-07-23  Pierre Rossi  <pierre.rossi@gmail.com>
3677
3678         Unify numTouchEventHandlersChanged and needTouchEvents in the chrome client
3679         https://bugs.webkit.org/show_bug.cgi?id=91006
3680
3681         Reviewed by Ryosuke Niwa.
3682
3683         Remove numTouchEventHandlersChanged stub.
3684
3685         * WebCoreSupport/ChromeClientGtk.h:
3686
3687 2012-07-17  Vivek Galatage  <vivekgalatage@gmail.com>
3688
3689         Web Inspector: refactor InspectorController::connectFrontend() to accept InspectorFrontendChannel.
3690         https://bugs.webkit.org/show_bug.cgi?id=91196
3691
3692         Reviewed by Pavel Feldman.
3693
3694         Refactoring InspectorClients. InspectorClient::openInspectorFrontend
3695         now returning the InspectorFrontendChannel.
3696
3697         * WebCoreSupport/InspectorClientGtk.cpp:
3698         (WebKit::InspectorClient::openInspectorFrontend):
3699         * WebCoreSupport/InspectorClientGtk.h:
3700         (InspectorClient):
3701
3702 2012-07-16  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
3703
3704         Add RegisterProtocolHandlerClient to the Modules/protocolhandler
3705         https://bugs.webkit.org/show_bug.cgi?id=90940
3706
3707         Reviewed by Hajime Morita.
3708
3709         As a step to let protocol handler be moved to the modules, RegisterProtocolHandlerClient needs
3710         to be added to the Modules/protocolhandler. Because ChromeClient has some virtual functions for
3711         protocol handlers, virtual functions should be moved to RegisterProtocolHandlerClient.
3712
3713         In order to support this, RegisterProtocolHandlerClientGtk class is added and webview registers
3714         RegisterProtocolHandlerClientGtk. In addition, existing concrete functions in ChromeClientGtk are moved
3715         to RegisterProtocolHandlerClientGtk.
3716
3717         * GNUmakefile.am:
3718         * WebCoreSupport/ChromeClientGtk.cpp:
3719         * WebCoreSupport/ChromeClientGtk.h:
3720         (ChromeClient):
3721         * WebCoreSupport/RegisterProtocolHandlerClientGtk.cpp: Added.
3722         (WebKit):
3723         (WebKit::RegisterProtocolHandlerClient::RegisterProtocolHandlerClient):
3724         (WebKit::RegisterProtocolHandlerClient::registerProtocolHandler):
3725         * WebCoreSupport/RegisterProtocolHandlerClientGtk.h: Added.
3726         (WebKit):
3727         (RegisterProtocolHandlerClient):
3728         (WebKit::RegisterProtocolHandlerClient::~RegisterProtocolHandlerClient):
3729         * webkit/webkitwebview.cpp:
3730         (webkit_web_view_init):
3731
3732 2012-07-16  Carlos Garcia Campos  <cgarcia@igalia.com>
3733
3734         Unreviewed. Update NEWS and configure.ac for 1.9.5 release
3735
3736         * NEWS: Added release notes for 1.9.5.
3737
3738 2012-07-10  Adam Barth  <abarth@webkit.org>
3739
3740         WebCore::Settings for Hixie76 WebSocket protocol doesn't do anything and should be removed
3741         https://bugs.webkit.org/show_bug.cgi?id=90910
3742
3743         Reviewed by Eric Seidel.
3744
3745         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
3746         * WebCoreSupport/DumpRenderTreeSupportGtk.h:
3747         (DumpRenderTreeSupportGtk):
3748         * webkit/webkitwebview.cpp:
3749         (webkit_web_view_update_settings):
3750
3751 2012-07-10  Sudarsana Nagineni  <sudarsana.nagineni@linux.intel.com>
3752
3753         [GTK] Fix memory leaks by adopting allocation of GdkPixbuf
3754         https://bugs.webkit.org/show_bug.cgi?id=90790
3755
3756         Reviewed by Carlos Garcia Campos.
3757
3758         Fixed a memory leak in WebKitFaviconDatabase by adopting an
3759         allocation of GdkPixbuf.
3760
3761         * webkit/webkitfavicondatabase.cpp:
3762         (getIconPixbufSynchronously):
3763
3764 2012-07-10  Adam Barth  <abarth@webkit.org>
3765
3766         LayoutTestController.dumpConfigurationForViewport should move to Internals
3767         https://bugs.webkit.org/show_bug.cgi?id=45652
3768
3769         Reviewed by Eric Seidel.
3770
3771         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
3772         * WebCoreSupport/DumpRenderTreeSupportGtk.h:
3773         (DumpRenderTreeSupportGtk):
3774
3775 2012-07-09  Adam Klein  <adamk@chromium.org>
3776
3777         Rename WebCore::WebKitMutationObserver to WebCore::MutationObserver
3778         https://bugs.webkit.org/show_bug.cgi?id=90810
3779
3780         Reviewed by Ojan Vafai.
3781
3782         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
3783         (DumpRenderTreeSupportGtk::deliverAllMutationsIfNecessary):
3784
3785 2012-07-09  Zan Dobersek  <zandobersek@gmail.com>
3786
3787         [Gtk] Implement dumpFrameScrollPosition in DumpRenderTree
3788         https://bugs.webkit.org/show_bug.cgi?id=89356
3789
3790         Reviewed by Martin Robinson.
3791
3792         Add a new method for returning the WebKitDOMDocument that is loaded
3793         in a given frame, webkit_web_frame_get_dom_document.
3794
3795         * docs/webkitgtk-sections.txt:
3796         * webkit/webkitwebframe.cpp:
3797         (webkit_web_frame_get_dom_document):
3798         * webkit/webkitwebframe.h:
3799         * webkit/webkitwebview.cpp: State explicitly that the document being returned
3800         when calling webkit_web_view_get_dom_document is loaded in the main frame.
3801         Also call the webkit_web_frame_get_dom_document on WebKitWebView's main frame
3802         to get the document.
3803
3804 2012-07-09  Zan Dobersek  <zandobersek@gmail.com>
3805
3806         [Gtk] Unskip the CSS Regions layout tests
3807         https://bugs.webkit.org/show_bug.cgi?id=90771
3808
3809         Reviewed by Martin Robinson.
3810
3811         Add a method to DumpRenderTreeSupportGtk for enabling or disabling
3812         CSS Regions from DumpRenderTree.
3813
3814         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
3815         (DumpRenderTreeSupportGtk::setCSSRegionsEnabled):
3816         * WebCoreSupport/DumpRenderTreeSupportGtk.h:
3817         (DumpRenderTreeSupportGtk):
3818
3819 2012-07-09  Sudarsana Nagineni  <sudarsana.nagineni@linux.intel.com>
3820
3821         [GTK] Memory leak in webkitwebnavigationaction.cpp
3822         https://bugs.webkit.org/show_bug.cgi?id=90787
3823
3824         Reviewed by Martin Robinson.
3825
3826         Fixed a memory leak in WebKitWebNavigationAction.
3827
3828         * webkit/webkitwebnavigationaction.cpp:
3829         (webkit_web_navigation_action_finalize): Free the g_strdup()'d string.
3830
3831 2012-07-07  Zan Dobersek  <zandobersek@gmail.com>
3832
3833         REGRESSION (r122035): fullscreen/exit-full-screen-iframe.html failing on GTK Linux 64-bit Release
3834         https://bugs.webkit.org/show_bug.cgi?id=90719
3835
3836         Reviewed by Martin Robinson.
3837
3838         Follow the approach of the BlackBerry port outlined in r122035, using in exitFullScreenForElement
3839         the fullscreen element to which the reference was saved when enterFullScreenForElement was called.
3840
3841         * WebCoreSupport/ChromeClientGtk.cpp:
3842         (WebKit::ChromeClient::exitFullScreenForElement):
3843
3844 2012-07-02  Benjamin Poulain  <bpoulain@apple.com>
3845
3846         Do not do any logging initialization when logging is disabled
3847         https://bugs.webkit.org/show_bug.cgi?id=90228
3848
3849         Reviewed by Simon Fraser.
3850
3851         * webkit/webkitglobals.cpp:
3852         (webkitInit):
3853
3854 2012-06-29  Tony Chang  <tony@chromium.org>
3855
3856         [GTK] Enable CSS grid layout LayoutTests on GTK+
3857         https://bugs.webkit.org/show_bug.cgi?id=90226
3858
3859         Reviewed by Martin Robinson.
3860
3861         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
3862         (DumpRenderTreeSupportGtk::setCSSGridLayoutEnabled): Pass through to Settings object.
3863         * WebCoreSupport/DumpRenderTreeSupportGtk.h:
3864         (DumpRenderTreeSupportGtk):
3865
3866 2012-06-29  Konrad Piascik  <kpiascik@rim.com>
3867
3868         Don't hardcode target dpi of 160 (it should be 96 on desktop)
3869         https://bugs.webkit.org/show_bug.cgi?id=88114
3870
3871         Reviewed by Adam Barth.
3872
3873         Updated the call to computeViewportAttributes.
3874
3875         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
3876         (DumpRenderTreeSupportGtk::dumpConfigurationForViewport):
3877         * webkit/webkitviewportattributes.cpp:
3878         (webkitViewportAttributesRecompute):
3879
3880 2012-06-25  Mark Hahnenberg  <mhahnenberg@apple.com>
3881
3882         JSLock should be per-JSGlobalData
3883         https://bugs.webkit.org/show_bug.cgi?id=89123
3884
3885         Reviewed by Geoffrey Garen.
3886
3887         Changed all sites that used JSLock to instead use the new JSLockHolder
3888         and pass in the correct JS context that the code is about to interact with that 
3889         needs protection. Also added a couple JSLocks to places that didn't already 
3890         have it that needed it.
3891
3892         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
3893         (DumpRenderTreeSupportGtk::gcCountJavascriptObjects):
3894
3895 2012-06-27  Martin Robinson  <mrobinson@igalia.com>
3896
3897         [gtk] Spell checker doesn't recognize contractions (apostrophes)
3898         https://bugs.webkit.org/show_bug.cgi?id=86118
3899
3900         Reviewed by Gustavo Noronha Silva.
3901
3902         Work-around a bug in Pango by trying to detect apostrophes
3903         that create contractions. This work-around is similar to one
3904         found in gtkspell.
3905
3906         * webkit/webkitspellcheckerenchant.cpp:
3907         (wordEndIsAContractionApostrophe): Added this helper which tries to detect
3908         situations where a word end is both an apostrophe and followed by a alphabetic
3909         character.
3910         (checkSpellingOfString): When searching for the end of a word, skip over
3911         apostrophes that appear to be part of contractions.
3912
3913 2012-06-27  Zan Dobersek  <zandobersek@gmail.com>
3914
3915         [Gtk] Add support for the Gamepad API
3916         https://bugs.webkit.org/show_bug.cgi?id=87503
3917
3918         Reviewed by Carlos Garcia Campos.
3919
3920         Add the Gamepad feature dependencies libraries to the LIBADD
3921         list for the libwebkitgtk library.
3922
3923         * GNUmakefile.am:
3924
3925 2012-06-25  Carlos Garcia Campos  <cgarcia@igalia.com>
3926
3927         Unreviewed. Update NEWS and configure.ac for 1.9.4 release
3928
3929         * NEWS: Added release notes for 1.9.4.
3930
3931 2012-06-23  Sheriff Bot  <webkit.review.bot@gmail.com>
3932
3933         Unreviewed, rolling out r121058.
3934         http://trac.webkit.org/changeset/121058
3935         https://bugs.webkit.org/show_bug.cgi?id=89809
3936
3937         Patch causes plugins tests to crash in GTK debug builds
3938         (Requested by zdobersek on #webkit).
3939
3940         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
3941         (DumpRenderTreeSupportGtk::gcCountJavascriptObjects):
3942
3943 2012-06-20  Mark Hahnenberg  <mhahnenberg@apple.com>
3944
3945         JSLock should be per-JSGlobalData
3946         https://bugs.webkit.org/show_bug.cgi?id=89123
3947
3948         Reviewed by Gavin Barraclough.
3949
3950         Changed all sites that used JSLock to instead use the new JSLockHolder
3951         and pass in the correct JS context that the code is about to interact with that 
3952         needs protection.
3953
3954         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
3955         (DumpRenderTreeSupportGtk::gcCountJavascriptObjects):
3956
3957 2012-06-22  Amy Ousterhout  <aousterh@chromium.org>
3958
3959         Renamed DeviceOrientation to DeviceOrientationData
3960         https://bugs.webkit.org/show_bug.cgi?id=88663
3961
3962         Reviewed by Steve Block.
3963
3964         Updated files to use the renamed DeviceOrientationData instead of DeviceOrientation.
3965         This change makes DeviceOrientationData consistent with DeviceMotionData.
3966         
3967         * WebCoreSupport/DeviceOrientationClientGtk.h:
3968         (DeviceOrientationClientGtk):
3969
3970 2012-06-21  Daniel Drake  <dsd@laptop.org>
3971
3972         [GTK] Backport run-file-chooser to WebKit1
3973         https://bugs.webkit.org/show_bug.cgi?id=87283
3974
3975         Reviewed by Gustavo Noronha Silva.
3976
3977         This is a relatively straightforward backport of Mario Sanchez
3978         Prada's WebKit2 run-file-chooser signal work, intended for use by
3979         OLPC and others who are not quite ready to move to WebKit2.
3980
3981         Add a new public class to the API, WebKitFileChooserRequest, to be
3982         emitted along with a new WebKitWebView::run-file-chooser signal to
3983         let client applications to provide their own file chooser dialog
3984         when the use interacts with HTML Input elements of type 'file'.
3985
3986         * GNUmakefile.am: Added new source files and headers.
3987         * webkit/webkitfilechooserrequest.cpp: Added.
3988         (_WebKitFileChooserRequestPrivate):
3989         (webkit_file_chooser_request_init):
3990         (webkit_file_chooser_request_finalize):
3991         (webkit_file_chooser_request_get_property):
3992         (webkit_file_chooser_request_class_init):
3993         (webkit_file_chooser_request_create):
3994         (webkit_file_chooser_request_get_mime_types):
3995         (webkit_file_chooser_request_get_mime_types_filter):
3996         (webkit_file_chooser_request_get_select_multiple):
3997         (webkit_file_chooser_request_select_files):
3998         (webkit_file_chooser_request_get_selected_files):
3999         * webkit/webkitfilechooserrequest.h: Added.
4000         (_WebKitFileChooserRequest):
4001         (_WebKitFileChooserRequestClass):
4002         * webkit/webkitfilechooserrequestprivate.h: Added, 
4003         containing the prototype of webkit_file_chooser_request_create.
4004
4005         Provide private API to make a file chooser request from the
4006         WebView, and provide a default handler for it.
4007
4008         * webkit/webkitwebview.cpp:
4009         (fileChooserDialogResponseCallback): Handler for the 'response'
4010         signal for the GtkFileChooserDialog used in the default
4011         handler. It will call to webkit_file_chooser_request_select_files
4012         or webkit_file_chooser_request_cancel as needed.
4013         (webkitWebViewRealRunFileChooser): Default handler for the new
4014         'run-file-chooser' signal. It will create a GtkFileChooserDialog,
4015         connect to the 'response' signal and show it.
4016         (webkit_web_view_class_init): Connect the 'run-file-chooser'
4017         signal to the default handler, webkitWebViewRunFileChooser.
4018         (webkit_web_view_new):
4019         (webkitWebViewRunFileChooserRequest):
4020         * webkit/webkitwebview.h:
4021         (_WebKitWebViewClass): Added prototype for the handler of the new
4022         'run-file-chooser' signal.
4023         * webkit/webkitwebviewprivate.h: Added prototype for
4024         private new function webkitWebViewRunFileChooserRequest.
4025
4026         Update runOpenPanel to use the new API, including a default handler
4027         with similar behaviour to before.
4028
4029         * WebCoreSupport/ChromeClientGtk.cpp:
4030         (WebKit::ChromeClient::runOpenPanel): Now creates an instance of
4031         WebKitFileChooserRequest and asks the WebView to emit the
4032         new 'run-file-chooser' signal with it.
4033
4034         Added the new public header to the main header.
4035
4036         * webkit/webkit.h: Added webkitfilechooserrequest.h
4037
4038         New unit tests for the new WebKitFileChooserRequest API.
4039
4040         * tests/testwebview.c: Various WebKitFileChooserRequest tests,
4041         including MIME type filtering and selection handling.
4042
4043         Updated documentation related files with the new API.
4044
4045         * docs/webkitgtk-docs.sgml: Added new section.
4046         * docs/webkitgtk-sections.txt: Added new API.
4047         * docs/webkitgtk.types: Added get_type function.
4048
4049 2012-06-19  Chang Wan Hong  <jourmoon@company100.net>
4050
4051         Refine syncLayersTimeoutCallback for Accelerated Compositing.
4052         https://bugs.webkit.org/show_bug.cgi?id=89538
4053
4054         Reviewed by Martin Robinson.
4055
4056         syncLayersTimeout reschedules the timer so that it can render each frame
4057         every 1/60 seconds on animation. However, because it takes to time to execute
4058         renderLayersToWindow, the timer is delayed. To fix this, we must reschedule
4059         the timer before calling renderLayersToWindow.
4060
4061         * WebCoreSupport/AcceleratedCompositingContextGL.cpp:
4062         (WebKit::AcceleratedCompositingContext::syncLayersTimeout):
4063
4064 2012-06-19  Sergio Villar Senin  <svillar@igalia.com>
4065
4066         Calling nativeImageForCurrentFrame() causes assertion failure: m_verifier.isSafeToUse()
4067         https://bugs.webkit.org/show_bug.cgi?id=67582
4068
4069         Reviewed by David Levin.
4070
4071         Use synchronousNativeIconForPageURL() to retrieve favicons.
4072
4073         * webkit/webkitfavicondatabase.cpp:
4074         (getIconPixbufSynchronously):
4075
4076 2012-06-18  Mario Sanchez Prada  <msanchez@igalia.com>
4077
4078         [GTK] Get rid of DumpRenderTreeSupportGtk::{in|de}crementAccessibilityValue
4079         https://bugs.webkit.org/show_bug.cgi?id=89226
4080
4081         Reviewed by Martin Robinson.
4082
4083         Remove unnecesary functions incrementAccessibilityValue() and
4084         decrementAccessibilityValue() from DumpRenderTreeSupportGtk.
4085
4086         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
4087         * WebCoreSupport/DumpRenderTreeSupportGtk.h:
4088         (DumpRenderTreeSupportGtk):
4089
4090 2012-06-14  Alejandro G. Castro  <alex@igalia.com>
4091
4092         [GTK] Add TextureMapper ImageBuffer support as a fallback from the hardware accelerated path
4093         https://bugs.webkit.org/show_bug.cgi?id=73634
4094
4095         Add the new graphics layer client that uses cairo to render the
4096         composition. The cairo transformations do not support perspective
4097         so in perspective cases we have just a representation not the real
4098         perspective transformation.
4099
4100         This patch adds a new implementation of already tested cases.
4101
4102         Reviewed by Martin Robinson.
4103
4104         * GNUmakefile.am:
4105         * WebCoreSupport/AcceleratedCompositingContext.h:
4106         (AcceleratedCompositingContext):
4107         * WebCoreSupport/AcceleratedCompositingContextCairo.cpp: Added.
4108         * WebCoreSupport/ChromeClientGtk.cpp:
4109         (WebKit::ChromeClient::invalidateWidgetRect): We need to
4110         invalidate the widget in this case because we do not directly
4111         render to a texture but to the widget surface.
4112         (WebKit::ChromeClient::paint): We can not render here, we have to
4113         invalidate and wait for the widget rendering.
4114         * webkit/webkitwebview.cpp:
4115         (webkit_web_view_draw): In this case the renderLayersToWindow
4116         requires the graphics context used to render in the window.
4117         (webkit_web_view_realize): Small cleanup of the priv variable
4118         definition.
4119
4120 2012-06-14  Zan Dobersek  <zandobersek@gmail.com>
4121
4122         [Gtk] Add support in DumpRenderTree for tracking repaints
4123         https://bugs.webkit.org/show_bug.cgi?id=87658
4124
4125         Reviewed by Martin Robinson.
4126
4127         Add methods to the DumpRenderTreeSupport class for controlling the
4128         status of repaint tracking along with retreiving and resetting the
4129         tracked repaints.
4130
4131         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
4132         (DumpRenderTreeSupportGtk::setTracksRepaints):
4133         (DumpRenderTreeSupportGtk::isTrackingRepaints):
4134         (DumpRenderTreeSupportGtk::trackedRepaintRects):
4135         (DumpRenderTreeSupportGtk::resetTrackedRepaints):
4136         * WebCoreSupport/DumpRenderTreeSupportGtk.h:
4137         (DumpRenderTreeSupportGtk):
4138
4139 2012-06-13  Amy Ousterhout  <aousterh@chromium.org>
4140
4141         Rename currentDeviceMotion to lastMotion in DeviceMotionClient
4142         https://bugs.webkit.org/show_bug.cgi?id=88854
4143
4144         Reviewed by Adam Barth.
4145
4146         Rename the function currentDeviceMotion to lastMotion in DeviceMotionClient.
4147         This makes it consistent with the similar function lastOrientation in DeviceOrientationClient.
4148
4149         * WebCoreSupport/DeviceMotionClientGtk.cpp:
4150         (WebKit::DeviceMotionClientGtk::lastMotion):
4151         * WebCoreSupport/DeviceMotionClientGtk.h:
4152         (DeviceMotionClientGtk):
4153
4154 2012-06-11  Kaustubh Atrawalkar  <kaustubh@motorola.com>
4155
4156         [DRT] LTC:: counterValueForElementById() could be moved to Internals.
4157         https://bugs.webkit.org/show_bug.cgi?id=84406
4158
4159         Reviewed by Hajime Morita.
4160
4161         Move the counterValueForElementById from LayoutTestCotroller to Internals and
4162         remove the old platform specific implementations as it exclusively tests WebCore functionality.
4163
4164         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
4165         * WebCoreSupport/DumpRenderTreeSupportGtk.h:
4166         (DumpRenderTreeSupportGtk):
4167
4168 2012-06-07  Simon Pena  <spena@igalia.com>
4169
4170         [GTK] deviceScaleFactor setting is not honored
4171         https://bugs.webkit.org/show_bug.cgi?id=88511
4172
4173         Reviewed by Gustavo Noronha Silva.
4174
4175         Honor the deviceScaleFactor property in the paintWebView
4176         method of the ChromeClientGtk.
4177
4178         * WebCoreSupport/ChromeClientGtk.cpp:
4179         (WebKit::paintWebView):
4180
4181 2012-06-04  Sudarsana Nagineni  <sudarsana.nagineni@linux.intel.com>
4182
4183         [GTK] Memory leak in WebKitWebView
4184 &