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