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