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