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