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