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