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