1 2013-09-02 Brian Holt <brian.holt@samsung.com>
3 [ATK] Leak: Leaks in testatk.c
4 https://bugs.webkit.org/show_bug.cgi?id=118675
6 Reviewed by Mario Sanchez Prada.
8 Fixed memory leaks by matching ref calls with unrefs.
11 (testWebkitAtkCaretOffsets):
12 (testWebkitAtkCaretOffsetsAndExtranousWhiteSpaces):
13 (testWebkitAtkGetTextAtOffset):
14 (testWebkitAtkGetTextAtOffsetNewlines):
15 (testWebkitAtkGetTextAtOffsetTextarea):
16 (testWebkitAtkGetTextAtOffsetTextInput):
17 (testWebkitAtkGetTextInParagraphAndBodySimple):
18 (testWebkitAtkGetTextInParagraphAndBodyModerate):
19 (testWebkitAtkTextAttributes):
20 (testWebkitAtkTextSelections):
21 (testWebkitAtkListsOfItems):
23 2013-08-29 Zan Dobersek <zdobersek@igalia.com>
25 [Automake] libWebCoreDOM.la could use a better name
26 https://bugs.webkit.org/show_bug.cgi?id=120232
28 Reviewed by Martin Robinson.
30 * GNUmakefile.am: libWebCoreDOM has a new name - libGObjectDOMBindings.
32 2013-08-29 Arnaud Renevier <a.renevier@samsung.com>
34 [cairo] canvas drawing on itself doesn't work with accelerated canvas
35 https://bugs.webkit.org/show_bug.cgi?id=118808
37 Reviewed by Martin Robinson.
39 Change cairoImageSurfaceToGdkPixbuf to cairoSurfaceToGdkPixbuf.
41 * webkit/webkitfavicondatabase.cpp:
42 (getIconPixbufSynchronously):
44 2013-08-26 Zan Dobersek <zdobersek@igalia.com>
46 Unreviewed GTK build fix.
48 * WebCoreSupport/FrameLoaderClientGtk.cpp:
49 (WebKit::FrameLoaderClient::FrameLoaderClient): Remove an assertion that was not removed in r154658.
51 2013-08-26 Ryosuke Niwa <rniwa@webkit.org>
53 Another GTK+ build fix.
55 * WebCoreSupport/FrameLoaderClientGtk.cpp:
57 2013-08-26 Ryosuke Niwa <rniwa@webkit.org>
59 GTK+ build fix. Like r154620.
61 * webkit/webkitwebframe.cpp:
62 (webkit_web_frame_new):
64 2013-08-26 Pratik Solanki <psolanki@apple.com>
66 PageGroup::groupSettings() should return a reference
67 https://bugs.webkit.org/show_bug.cgi?id=120319
69 Reviewed by Andreas Kling.
71 PageGroup::m_groupSettings is never NULL so we can just return a reference from groupSettings().
73 * webkit/webkitwebdatabase.cpp:
74 (webkit_set_web_database_directory_path):
76 2013-08-26 Andreas Kling <akling@apple.com>
78 WebCore: Let Page create the main Frame.
79 <https://webkit.org/b/119964>
81 Tweak WebKit1/GTK for changes in WebCore.
83 Patch by Zan Dobersek <zdobersek@igalia.com>
84 Reviewed by Gustavo Noronha Silva.
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):
93 2013-08-24 Darin Adler <darin@apple.com>
95 Frame::tree should return a reference instead of a pointer
96 https://bugs.webkit.org/show_bug.cgi?id=120259
98 Reviewed by Andreas Kling.
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()->.
113 2013-08-21 Zan Dobersek <zdobersek@igalia.com>
115 <https://webkit.org/b/119836> [GTK] ChromeClient::paint is susceptible to system time changes
117 Reviewed by Martin Robinson.
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.
123 * WebCoreSupport/ChromeClientGtk.cpp:
124 (WebKit::ChromeClient::paint):
126 2013-08-19 Pratik Solanki <psolanki@apple.com>
128 <https://webkit.org/b/119918> Frame::selection() should return a reference
130 Reviewed by Darin Adler.
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.
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):
149 2013-08-17 Darin Adler <darin@apple.com>
151 <https://webkit.org/b/119941> Make Page::dragController return a reference
153 Reviewed by Andreas Kling.
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):
162 2013-08-16 Pratik Solanki <psolanki@apple.com>
164 <https://webkit.org/b/119852> Frame::scriptController() should return a reference
166 Reviewed by Andreas Kling.
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.
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):
178 2013-08-15 Zan Dobersek <zdobersek@igalia.com>
180 Unreviewed GTK build fix for debug configurations.
182 * webkit/webkitwebframe.cpp:
183 (WebKit::kit): Remove the bogus assertion for Frame::loader() that now returns a reference.
185 2013-08-15 Anders Carlsson <andersca@apple.com>
187 <https://webkit.org/b/119859> Frame::loader() should return a reference
189 Reviewed by Andreas Kling.
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):
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):
228 2013-08-15 Simon Pena <simon.pena@samsung.com>
230 <https://webkit.org/b/119584> [Gtk] URL printing code in DumpRenderTree doesn't match WTR or Mac DRT
232 Reviewed by Gustavo Noronha Silva.
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)".
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.
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.
255 2013-08-13 Xabier Rodriguez Calvar <calvaris@igalia.com>
257 [GTK] WK does not link properly against libxslt
258 https://bugs.webkit.org/show_bug.cgi?id=119688
260 Reviewed by Gustavo Noronha Silva.
262 * GNUmakefile.am: Added LIBXSLT_LIBS to the unit tests.
264 2013-08-13 Alberto Garcia <berto@igalia.com>
266 [GTK] Closing inspector window crashes wk
267 https://bugs.webkit.org/show_bug.cgi?id=110865
269 Reviewed by Carlos Garcia Campos.
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.
275 * webkit/webkitwebview.cpp:
276 (webkit_web_view_dispose):
278 2013-08-13 Alberto Garcia <berto@igalia.com>
280 [GTK] Closing inspector window crashes wk
281 https://bugs.webkit.org/show_bug.cgi?id=110865
283 Reviewed by Carlos Garcia Campos.
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.
290 The solution is to wait until webkit_web_view_dispose finishes
291 before deleting priv->corePage.
293 * webkit/webkitwebview.cpp:
294 (webkit_web_view_dispose):
296 2013-08-12 Anton Obzhirov <a.obzhirov@samsung.com>
298 [GTK] Don't load GAIL when using GTK 3.2 or greater
299 https://bugs.webkit.org/show_bug.cgi?id=72735
301 Reviewed by Carlos Garcia Campos.
304 (initializeTestingFramework):
307 2013-08-11 Carlos Garcia Campos <cgarcia@igalia.com>
309 Unreviewed. Update NEWS and Versions.m4 for 2.1.4 release.
311 * NEWS: Update release notes.
313 2013-08-09 Alexey Proskuryakov <ap@apple.com>
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
318 Reviewed by Darin Adler.
320 * WebCoreSupport/ChromeClientGtk.cpp: (WebKit::ChromeClient::setWindowRect):
321 Once again, the passed rect cannot be empty.
323 2013-07-27 Mark Rowe <mrowe@apple.com>
325 Logging should be configurable using human-readable channel names rather than crazy bitmasks
326 <http://webkit.org/b/119031>
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.
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.
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.
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.
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.
347 Reviewed by Sam Weinig.
349 * webkit/webkitglobals.cpp: Switch from WebCore's InitializeLogging.h to Logging.h.
351 2013-08-02 Mario Sanchez Prada <mario.prada@samsung.com>
353 Implement atk_text_get_text_*_offset for WORD
354 https://bugs.webkit.org/show_bug.cgi?id=114871
356 Reviewed by Martin Robinson.
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.
362 (testWebkitAtkGetTextAtOffsetWithEmbeddedObjects): New.
363 (main): Added new test to the test suite.
365 2013-07-30 Carlos Garcia Campos <cgarcia@igalia.com>
367 Unreviewed. Update NEWS and Versions.m4 for 2.1.4 release.
369 * NEWS: Added release notes for 2.1.4.
371 2013-07-29 Mario Sanchez Prada <mario.prada@samsung.com>
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
376 Reviewed by Martin Robinson.
379 (runGetTextTests): Updated unit tests to check more cases of
380 calling the atk_text_get_text_*_offset() functions for WORD.
382 2013-07-25 Andreas Kling <akling@apple.com>
384 ChromeClient::focusedNodeChanged() should be focusedElementChanged().
385 <http://webkit.org/b/119110>
387 Reviewed by Anders Carlsson.
389 * WebCoreSupport/ChromeClientGtk.cpp:
390 (WebKit::ChromeClient::focusedElementChanged):
391 * WebCoreSupport/ChromeClientGtk.h:
393 2013-07-23 Carlos Garcia Campos <cgarcia@igalia.com>
395 [GTK] GtkAdjustmentWatcher idle source not correctly handled
396 https://bugs.webkit.org/show_bug.cgi?id=119003
398 Reviewed by Martin Robinson.
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.
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:
419 2013-07-17 Kangil Han <kangil.han@samsung.com>
421 Use toHTMLMediaElement
422 https://bugs.webkit.org/show_bug.cgi?id=118727
424 Reviewed by Ryosuke Niwa.
426 To avoid direct use of static_cast, this patch uses toHTMLMediaElement for code cleanup.
428 * WebCoreSupport/ChromeClientGtk.cpp:
429 (WebKit::ChromeClient::enterFullscreenForNode):
430 (WebKit::ChromeClient::exitFullscreenForNode):
431 (WebKit::ChromeClient::enterFullScreenForElement):
432 (WebKit::ChromeClient::exitFullScreenForElement):
434 2013-07-09 Carlos Garcia Campos <cgarcia@igalia.com>
436 Unreviewed. Update NEWS and Versions.m4 for 2.1.3 release.
438 * NEWS: Added release notes for 2.1.3.
440 2013-07-08 Carlos Garcia Campos <cgarcia@igalia.com>
442 [GTK] webkit_set_cache_model is not turning the cache off
443 https://bugs.webkit.org/show_bug.cgi?id=118345
445 Reviewed by Gustavo Noronha Silva.
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.
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.
457 2013-07-08 Brian Holt <brian.holt@samsung.com>
459 [GTK] FrameLoaderClient: Refactor naked pointers to use smart pointers
460 https://bugs.webkit.org/show_bug.cgi?id=118417
462 Reviewed by Carlos Garcia Campos.
464 Use GOwnPtr and GRefPtr where possible.
466 * WebCoreSupport/FrameLoaderClientGtk.cpp:
467 (WebKit::FrameLoaderClient::dispatchDidFailLoad):
469 2013-07-04 Mario Sanchez Prada <mario.prada@samsung.com>
471 [ATK] Do not expose '\n' for wrapped lines with ATK_TEXT_BOUNDARY_CHAR
472 https://bugs.webkit.org/show_bug.cgi?id=118359
474 Reviewed by Carlos Garcia Campos.
476 Added new unit test to make sure we exposed line breaks properly.
479 (testWebkitAtkGetTextAtOffsetWithWrappedLines): New unit test.
480 (main): Added new test to the test suite.
482 2013-07-01 Gustavo Noronha Silva <gustavo.noronha@collabora.com>
484 [GTK] Remove unsupported AC backends
485 https://bugs.webkit.org/show_bug.cgi?id=117362
487 Reviewed by Martin Robinson.
490 * WebCoreSupport/AcceleratedCompositingContext.h: removed clutter and cairo
492 * WebCoreSupport/AcceleratedCompositingContextCairo.cpp: Removed.
493 * WebCoreSupport/AcceleratedCompositingContextClutter.cpp: Removed.
494 * webkit/webkitglobals.cpp:
495 (webkitInit): removed clutter-gtk initialization.
497 2013-07-01 ChangSeok Oh <changseok.oh@collabora.com>
499 [GTK] Use PassOwnPtr for the returned value of createBackingStore
500 https://bugs.webkit.org/show_bug.cgi?id=118230
502 Reviewed by Andreas Kling.
504 It would be better that createBackingStore returns PassOwnPtr instread of OwnPtr
505 to keep compatibility with c++0x.
507 * WebCoreSupport/ChromeClientGtk.cpp:
508 (WebKit::createBackingStore):
510 2013-06-28 Iago Toral Quiroga <itoral@igalia.com>
512 Use gtk_widget_get_preferred_size instead of deprecated gtk_widget_get_requisition
513 https://bugs.webkit.org/show_bug.cgi?id=118177
515 Reviewed by Carlos Garcia Campos.
517 * WebCoreSupport/ChromeClientGtk.cpp:
518 (WebKit::ChromeClient::contentsSizeChanged):
520 2013-06-27 Iago Toral Quiroga <itoral@igalia.com>
522 Use consistent file names for WidgetBackingStoreGtkX11 class
523 https://bugs.webkit.org/show_bug.cgi?id=118124
525 Reviewed by Carlos Garcia Campos.
527 * WebCoreSupport/ChromeClientGtk.cpp:
529 2013-06-21 Christophe Dumez <ch.dumez@sisa.samsung.com>
531 REGRESSION (r150663): Using webkitAudioContext in Inspector makes it undefined everywhere
532 https://bugs.webkit.org/show_bug.cgi?id=117825
534 Reviewed by Kentaro Hara.
536 Use Settings to enable Web Audio instead of RuntimeEnabledFeatures.
538 * webkit/webkitwebview.cpp:
539 (webkit_web_view_update_settings):
540 (webkit_web_view_settings_notify):
542 2013-06-18 Carlos Garcia Campos <cgarcia@igalia.com>
544 Unreviewed. Update NEWS and Versions.m4 for 2.1.2 release.
546 * NEWS: Added release notes for 2.1.2.
548 2013-06-17 Grzegorz Czajkowski <g.czajkowski@samsung.com>
550 Unreviewed, rolling out r151632.
551 http://trac.webkit.org/changeset/151632
552 https://bugs.webkit.org/show_bug.cgi?id=117585
554 Debug build error ASSERT(WTF_USE_GRAMMAR_CHECKING) for non MAC
557 * webkit/webkitglobals.cpp:
558 (webkit_context_menu_item_get_action):
560 2013-06-14 Grzegorz Czajkowski <g.czajkowski@samsung.com>
562 Context menu grammar checking items are available when GRAMMAR_CHECKING macro is off
563 https://bugs.webkit.org/show_bug.cgi?id=117585
565 Reviewed by Anders Carlsson.
567 Add GRAMMAR_CHECKING guard to the context menu grammar items.
569 * webkit/webkitglobals.cpp:
570 (webkit_context_menu_item_get_action):
572 2013-06-12 Diego Pino Garcia <dpino@igalia.com>
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
577 Reviewed by Xan Lopez.
579 Add test for function 'webkit_dom_dom_window_get_computed_style'.
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'.
587 (test_dom_dom_window_get_computed_style): Checks function
588 'dom_dom_window_get_computed_style'.
591 2013-06-10 Iago Toral Quiroga <itoral@igalia.com>
593 Use Cairo implementation of the WidgetBackingStore instead of X11 when running on Wayland
594 https://bugs.webkit.org/show_bug.cgi?id=116717
596 Reviewed by Martin Robinson.
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.
602 * WebCoreSupport/ChromeClientGtk.cpp:
603 (WebKit::createBackingStore):
605 (WebKit::ChromeClient::widgetSizeChanged):
606 (WebKit::ChromeClient::attachRootGraphicsLayer):
608 2013-06-06 Diego Pino Garcia <dpino@igalia.com>
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
613 Reviewed by Xan Lopez.
615 Add test for function 'webkit_dom_node_insert_before'.
617 * tests/testdomnode.c: Checks function dom_document_node_insert_before
618 (test_dom_node_insertion):
620 2013-06-06 Diego Pino Garcia <dpino@igalia.com>
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
625 Reviewed by Xan Lopez.
627 Add test for function 'webkit_dom_document_evaluate'.
629 * tests/testdomdocument.c:
630 (test_dom_document_evaluate): Checks function dom_document_evaluate,
631 executes an XPath expression on a HTML document.
634 2013-06-05 Alberto Garcia <agarcia@igalia.com>
636 [GTK] AcceleratedCompositingContext: fix layerFlushTimerFiredCallback condition
637 https://bugs.webkit.org/show_bug.cgi?id=117258
639 Reviewed by Martin Robinson.
641 The expressions were incorrectly grouped, a timeout handler can
642 only be added only if there's none running already.
644 * WebCoreSupport/AcceleratedCompositingContextGL.cpp:
645 (WebKit::AcceleratedCompositingContext::renderLayersToWindow):
647 2013-06-04 Alberto Garcia <agarcia@igalia.com>
649 [GTK] Make precedence of logical operators explicit
650 https://bugs.webkit.org/show_bug.cgi?id=117216
652 Reviewed by Martin Robinson.
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.
658 * WebCoreSupport/AcceleratedCompositingContextGL.cpp:
659 (WebKit::AcceleratedCompositingContext::renderLayersToWindow):
660 * WebCoreSupport/ChromeClientGtk.cpp:
661 (WebKit::ChromeClient::contentsSizeChanged):
663 2013-05-30 Enrique Ocana Gonzalez <eocanha@igalia.com>
665 [GTK] Fix pass_by_value coverity warning in ChromeClientGtk
666 https://bugs.webkit.org/show_bug.cgi?id=117021
668 Reviewed by Anders Carlsson.
670 Pass dirtyRegion parameter in paintWebView() by reference to avoid object copying.
672 * WebCoreSupport/ChromeClientGtk.cpp:
673 (WebKit::paintWebView):
675 2013-05-29 Carlos Garcia Campos <cgarcia@igalia.com>
677 Unreviewed. Update NEWS and Versions.m4 for 2.1.1 release.
679 * NEWS: Added release notes for 2.1.1.
681 2013-05-28 Andreas Kling <akling@apple.com>
683 Document::setFocusedNode() should be setFocusedElement().
684 <http://webkit.org/b/116857>
686 Reviewed by Antti Koivisto.
688 * webkit/webkitwebview.cpp:
691 2013-05-24 Christophe Dumez <ch.dumez@sisa.samsung.com>
693 Remove custom code for webkitAudioContext global constructor getter
694 https://bugs.webkit.org/show_bug.cgi?id=116530
696 Reviewed by Geoffrey Garen.
698 Use RuntimeEnabledFeatures instead of Settings to toggle Web Audio support.
700 * webkit/webkitwebview.cpp:
701 (webkit_web_view_update_settings):
702 (webkit_web_view_settings_notify):
704 2013-05-19 Anders Carlsson <andersca@apple.com>
706 Remove ChromeClient::webView()
707 https://bugs.webkit.org/show_bug.cgi?id=116054
709 Reviewed by Darin Adler.
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.
714 * WebCoreSupport/ChromeClientGtk.h:
717 2013-05-18 Carlos Garcia Campos <cgarcia@igalia.com>
719 [GTK] Move GTK port off legacy clipboard
720 https://bugs.webkit.org/show_bug.cgi?id=116221
722 Reviewed by Martin Robinson.
724 * WebCoreSupport/DragClientGtk.cpp:
725 (WebKit::DragClient::startDrag): Get the DataObjectGtk from the
726 Pasteboard associated to the given Clipboard.
728 2013-05-17 Gustavo Noronha Silva <gustavo.noronha@collabora.com>
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.
733 * webkit/webkitwebview.cpp:
736 2013-05-16 Andreas Kling <akling@apple.com>
738 Page::chrome() should return a reference.
739 <http://webkit.org/b/116185>
741 Reviewed by Anders Carlsson.
743 2013-05-16 Martin Robinson <mrobinson@igalia.com>
745 [GTK] Documentation for WEBKIT_DEBUG logging channels is out of date
746 https://bugs.webkit.org/show_bug.cgi?id=114764
748 Reviewed by Gustavo Noronha Silva.
750 * docs/webkitenvironment.xml: Update documentation to reflect current list of
753 2013-05-16 Allan Sandfeld Jensen <allan.jensen@digia.com>
755 [GTK] TargetFrame and innerNodeFrame confused
756 https://bugs.webkit.org/show_bug.cgi?id=102907
758 Reviewed by Martin Robinson.
760 * webkit/webkithittestresult.cpp:
763 2013-05-15 Anders Carlsson <andersca@apple.com>
767 * webkit/webkitwebview.cpp:
768 (webkitWebViewDirectionChanged):
770 2013-05-13 Anders Carlsson <andersca@apple.com>
772 Frame::editor() should return a reference
773 https://bugs.webkit.org/show_bug.cgi?id=116037
775 Reviewed by Darin Adler.
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):
812 2013-05-14 Zan Dobersek <zdobersek@igalia.com>
814 [GTK] Move generated ColorData.cpp, WebKitFontFamilyNames.(cpp|h) build targets into libPlatform
815 https://bugs.webkit.org/show_bug.cgi?id=115921
817 Reviewed by Gustavo Noronha Silva.
819 * GNUmakefile.am: Add platform_cppflags to the list of CPPFLAGS for libwebkit2gtk, libWebCoreGtk2,
820 libPlatformGtk2 and WebKitPluginProcess.
822 2013-05-12 Timothy Hatcher <timothy@apple.com>
824 Add support for updating the Web Inspector toolbar height.
826 https://bugs.webkit.org/show_bug.cgi?id=115996
828 Reviewed by Joseph Pecoraro and Benjamin Poulain.
830 * WebCoreSupport/InspectorClientGtk.cpp:
831 (WebKit::InspectorFrontendClient::setToolbarHeight):
832 * WebCoreSupport/InspectorClientGtk.h:
834 2013-05-12 Anders Carlsson <andersca@apple.com>
836 Stop including UnusedParam.h
837 https://bugs.webkit.org/show_bug.cgi?id=116003
839 Reviewed by Sam Weinig.
841 UnusedParam.h is empty now so there's no need to include it anymore.
843 * webkit/webkitapplicationcache.cpp:
845 2013-05-12 Carlos Garcia Campos <cgarcia@igalia.com>
847 [GTK] Remove unnecessary GTK_CHECK_VERSION #ifdefs
848 https://bugs.webkit.org/show_bug.cgi?id=115914
850 Reviewed by Martin Robinson.
852 * WebCoreSupport/ChromeClientGtk.cpp:
853 (WebKit::ChromeClient::contentsSizeChanged):
854 * WebCoreSupport/FrameLoaderClientGtk.cpp:
855 (WebKit::FrameLoaderClient::transitionToCommittedForNewPage):
856 * tests/testapplicationcache.c:
858 * tests/testatkroles.c:
860 * tests/testcontextmenu.c:
861 * tests/testcopyandpaste.c:
863 * tests/testdomdocument.c:
864 * tests/testdomdomwindow.c:
865 * tests/testdomnode.c:
866 * tests/testdownload.c:
868 * tests/testfavicondatabase.c:
870 * tests/testglobals.c:
871 * tests/testhittestresult.c:
872 * tests/testhttpbackend.c:
874 * tests/testkeyevents.c:
876 * tests/testloading.c:
877 * tests/testmimehandling.c:
879 * tests/testnetworkrequest.c:
881 * tests/testnetworkresponse.c:
883 * tests/testwebbackforwardlist.c:
885 * tests/testwebdatasource.c:
887 * tests/testwebframe.c:
889 * tests/testwebhistoryitem.c:
891 * tests/testwebinspector.c:
893 * tests/testwebplugindatabase.c:
895 * tests/testwebresource.c:
897 * tests/testwebsettings.c:
899 * tests/testwebview.c:
900 * tests/testwindow.c:
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):
908 2013-05-07 Tomas Popela <tpopela@redhat.com>
910 [GTK] Initialize WebKitWebPlugin path to prevent double-free
911 https://bugs.webkit.org/show_bug.cgi?id=115624
913 Reviewed by Carlos Garcia Campos.
915 Use GOwnPtr for WebKitWebPlugin path to prevent double-free
916 situations. Also use GOwnPtr for GError in webkit_web_plugin_get_path.
918 * webkit/webkitwebplugin.cpp:
919 (webkit_web_plugin_finalize):
920 (webkit_web_plugin_get_path):
921 * webkit/webkitwebpluginprivate.h:
923 2013-05-06 Zan Dobersek <zdobersek@igalia.com>
925 [GTK] Move GeolocationProviderGeoclue into libPlatform
926 https://bugs.webkit.org/show_bug.cgi?id=115591
928 Reviewed by Martin Robinson.
930 * GNUmakefile.am: Add platform_webcore_cppflags to the list of libwebkitgtk's CPPFLAGS.
932 2013-05-02 Zan Dobersek <zdobersek@igalia.com>
934 Segmentation Fault with Romanian locale. Evolution not starting.
935 https://bugs.webkit.org/show_bug.cgi?id=115484
937 Reviewed by Darin Adler.
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.
942 * webkit/webkitviewportattributes.cpp:
943 (webkit_viewport_attributes_class_init):
945 2013-04-30 Ed Bartosh <bartosh@gmail.com>
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
950 Reviewed by Martin Robinson.
952 Wrapped code, related to drag&drop in #if ENABLE(DRAG_SUPPORT)
954 * webkit/webkitwebview.cpp:
955 (webkit_web_view_class_init):
956 (webkit_web_view_init):
958 2013-04-25 Joseph Pecoraro <pecoraro@apple.com>
960 Web Inspector: ConsoleMessage should include line and column number where possible
961 https://bugs.webkit.org/show_bug.cgi?id=114929
963 Reviewed by Timothy Hatcher.
965 * WebCoreSupport/ChromeClientGtk.cpp:
966 (WebKit::ChromeClient::addMessageToConsole):
967 * WebCoreSupport/ChromeClientGtk.h:
970 2013-04-22 Martin Robinson <mrobinson@igalia.com>
972 Try to fix the build after enabling gobject-introspection
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.
978 2013-04-22 Martin Robinson <mrobinson@igalia.com>
980 [GTK] Enable introspection always for developer builds
981 https://bugs.webkit.org/show_bug.cgi?id=114983
983 Reviewed by Gustavo Noronha Silva.
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
990 2013-04-22 Martin Robinson <mrobinson@igalia.com>
992 [GTK] Fix remaining introspection warnings
993 https://bugs.webkit.org/show_bug.cgi?id=114980
995 Reviewed by Gustavo Noronha Silva.
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.
1003 2013-04-22 Zan Dobersek <zdobersek@igalia.com>
1005 [GTK] Set up libPlatform.la
1006 https://bugs.webkit.org/show_bug.cgi?id=114168
1008 Reviewed by Martin Robinson.
1010 * GNUmakefile.am: Add the new libPlatform.la library to the libwebkitgtk library.
1012 2013-04-19 Martin Robinson <mrobinson@igalia.com>
1014 [GTK] JSCore.gir.in has a few problems
1015 https://bugs.webkit.org/show_bug.cgi?id=114710
1017 Reviewed by Philippe Normand.
1019 * GNUmakefile.am: Updated to reflect new name and location of JavaScriptCore-x.0.gir.
1020 * JSCore.gir.in: Removed.
1022 2013-04-17 Geoffrey Garen <ggaren@apple.com>
1024 Renamed JSGlobalData to VM
1025 https://bugs.webkit.org/show_bug.cgi?id=114777
1027 Reviewed by Phil Pizlo.
1029 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
1030 (DumpRenderTreeSupportGtk::gcCountJavascriptObjects):
1032 2013-04-16 Anders Carlsson <andersca@apple.com>
1036 * WebCoreSupport/WebViewInputMethodFilter.cpp:
1038 2013-04-16 Ryosuke Niwa <rniwa@webkit.org>
1040 Another GTK+ build fix.
1042 * WebCoreSupport/WebViewInputMethodFilter.cpp:
1044 2013-04-16 Ryosuke Niwa <rniwa@webkit.org>
1046 GTK+ build fix attempt.
1048 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
1049 * WebCoreSupport/WebViewInputMethodFilter.cpp:
1050 * webkit/webkitwebframe.cpp:
1052 2013-04-14 Andreas Kling <akling@apple.com>
1054 Move CSSOM classes to using MutableStylePropertySet over StylePropertySet.
1055 <http://webkit.org/b/114581>
1057 Reviewed by Anders Carlsson.
1059 * WebCoreSupport/EditorClientGtk.cpp:
1060 (WebKit::EditorClient::shouldApplyStyle):
1062 2013-04-12 Carlos Garcia Campos <cgarcia@igalia.com>
1064 [GTK] Split GtkAuthenticationDialog in two widgets
1065 https://bugs.webkit.org/show_bug.cgi?id=103644
1067 Reviewed by Xan Lopez.
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
1074 * webkit/webkitauthenticationdialog.cpp: Added.
1075 (authenticationDialogResponseCallback):
1076 (createAuthenticationDialog):
1077 * webkit/webkitauthenticationdialog.h: Added.
1078 * webkit/webkitsoupauthdialog.cpp:
1079 (sessionAuthenticate): Ditto.
1081 2013-04-10 Benjamin Poulain <bpoulain@apple.com>
1083 Mass remove all the empty directories
1085 Rubberstamped by Ryosuke Niwa.
1090 2013-04-10 Anton Obzhirov <a.obzhirov@samsung.com>
1092 [GTK] Add support for Page Visibility
1093 https://bugs.webkit.org/show_bug.cgi?id=97324
1095 Reviewed by Sam Weinig.
1097 Implemented access to page visibility API for GTK test runner.
1099 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
1100 (DumpRenderTreeSupportGtk::setPageVisibility):
1101 * WebCoreSupport/DumpRenderTreeSupportGtk.h:
1103 2013-04-08 Carlos Garcia Campos <cgarcia@igalia.com>
1105 [GTK] DOM objects created wrapping a base class have incorrect GObject type
1106 https://bugs.webkit.org/show_bug.cgi?id=113132
1108 Reviewed by Gustavo Noronha Silva.
1110 Remove WebKitDOMBindindg.h include from several files because it's
1111 been renamed and it was not actually needed.
1113 * WebCoreSupport/ChromeClientGtk.cpp:
1114 * WebCoreSupport/EditorClientGtk.cpp:
1115 * webkit/webkithittestresult.cpp:
1117 2013-04-04 Martin Robinson <mrobinson@igalia.com>
1119 [GTK] Remove the gyp build
1120 https://bugs.webkit.org/show_bug.cgi?id=113942
1122 Reviewed by Gustavo Noronha Silva.
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.
1131 2013-04-04 Christophe Dumez <ch.dumez@sisa.samsung.com>
1133 [Cairo] Fix canvas drawing of SVG-based patterns and remove NativeImageCairo
1134 https://bugs.webkit.org/show_bug.cgi?id=113929
1136 Reviewed by Martin Robinson.
1138 Update code now that PassNativeImagePtr is now a typedef to PassRefPtr<cairo_surface_t>
1139 instead of NativeImageCairo*.
1141 * webkit/webkitfavicondatabase.cpp:
1142 (getIconPixbufSynchronously):
1144 2013-04-03 Alban Crequy <alban.crequy@collabora.co.uk>
1146 [GTK] WebKitWebNavigationAction: fix mix between dispose and finalize
1147 https://bugs.webkit.org/show_bug.cgi?id=113794
1149 Reviewed by Gustavo Noronha Silva.
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.
1155 * webkit/webkitwebnavigationaction.cpp:
1156 (webkit_web_navigation_action_class_init):
1158 2013-03-28 Zan Dobersek <zdobersek@igalia.com>
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
1163 Reviewed by Martin Robinson.
1165 * GNUmakefile.am: The GtkVersioning.c file has moved back under Source/WebCore/platform.
1167 2013-03-26 Martin Robinson <mrobinson@igalia.com>
1169 [GTK] [gyp] Improve support for rerunning gyp automatically
1170 https://bugs.webkit.org/show_bug.cgi?id=113360
1172 Reviewed by Gustavo Noronha Silva.
1174 Add support for automatically rerunning gyp when input file changes are detected
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.
1183 2013-03-27 Timothy Hatcher <timothy@apple.com>
1185 Add support for dock-to-right of the Web Inspector in the Mac port.
1187 Unfortunately this requires Safari changes, so it is disabled in the nightly builds.
1189 https://webkit.org/b/113341
1190 rdar://problem/10368152
1192 Reviewed by Joseph Pecoraro.
1194 * WebCoreSupport/InspectorClientGtk.cpp:
1195 (WebKit::InspectorFrontendClient::attachWindow):
1196 (WebKit::InspectorFrontendClient::setAttachedWindowWidth):
1197 * WebCoreSupport/InspectorClientGtk.h:
1198 (InspectorFrontendClient):
1200 2013-03-26 Hayato Ito <hayato@chromium.org>
1202 Allow ShadowContents in HitTests by default.
1203 https://bugs.webkit.org/show_bug.cgi?id=113171
1205 Reviewed by Dimitri Glazkov.
1207 * webkit/webkitwebinspector.cpp:
1208 (webkit_web_inspector_inspect_coordinates):
1209 * webkit/webkitwebview.cpp:
1210 (prepareMouseEventForFrame):
1211 (webkit_web_view_get_hit_test_result):
1213 2013-03-26 Tony Chang <tony@chromium.org>
1215 Autogenerate the scrollAnimatorEnabled setting in Settings.in
1216 https://bugs.webkit.org/show_bug.cgi?id=113253
1218 Reviewed by James Robinson.
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).
1224 2013-03-23 Carlos Garcia Campos <cgarcia@igalia.com>
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
1229 Reviewed by Martin Robinson.
1231 Add test that checks webkit_dom_html_table_element_insert_row() to
1232 also preproduce this issue.
1234 * tests/testdomdocument.c:
1235 (test_dom_document_insert_row):
1238 2013-03-22 Gustavo Noronha Silva <gns@gnome.org>
1240 Trivial fixes to the gyp-build autogen.sh script.
1242 Reviewed by Martin Robinson (mrobinson).
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.
1248 2013-03-19 Martin Robinson <mrobinson@igalia.com>
1250 [GTK] Add support for building the WebCore bindings to the gyp build
1251 https://bugs.webkit.org/show_bug.cgi?id=112638
1253 Reviewed by Nico Weber.
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.
1260 2013-03-22 Martin Robinson <mrobinson@igalia.com>
1262 [GTK] [gyp] Expose a few more compiler defines for the gyp build
1263 https://bugs.webkit.org/show_bug.cgi?id=113109
1265 Reviewed by Gustavo Noronha Silva.
1267 * gyp/Configuration.gypi.in: Expose the version number string and data
1268 directory to the gyp build as command-line arguments.
1270 2013-03-22 Martin Robinson <mrobinson@igalia.com>
1272 [GTK] [gyp] Feature defines are not space separated
1273 https://bugs.webkit.org/show_bug.cgi?id=113108
1275 Reviewed by Gustavo Noronha Silva.
1277 * gyp/configure.ac: Properly export feature defines for gyp during
1280 2013-03-22 Mario Sanchez Prada <mario.prada@samsung.com>
1282 [GTK] Include the right GL header for GLES2
1283 https://bugs.webkit.org/show_bug.cgi?id=113034
1285 Reviewed by Martin Robinson.
1287 Include GLES2/gl2.h when using GLES2.
1289 * WebCoreSupport/AcceleratedCompositingContextGL.cpp:
1291 2013-03-20 Zan Dobersek <zdobersek@igalia.com>
1293 [GTK] Build ANGLE sources into a separate library from libWebCore.la
1294 https://bugs.webkit.org/show_bug.cgi?id=112778
1296 Reviewed by Martin Robinson.
1298 * GNUmakefile.am: Add libLevelDB.la to the libwebkitgtk library if using the OpenGL accelerated backend.
1300 2013-03-17 Gustavo Noronha Silva <gns@gnome.org>
1302 [GTK] Fix and improve dist hooks for translations
1303 https://bugs.webkit.org/show_bug.cgi?id=112519
1305 Reviewed by Carlos Garcia Campos.
1307 * GNUmakefile.am: removed left-over translation files from EXTRA_DIST
1309 2013-03-15 Nate Chapin <japhet@chromium.org>
1311 Hide MainResourceLoader from the outside world
1312 https://bugs.webkit.org/show_bug.cgi?id=109971
1314 Reviewed by Adam Barth.
1316 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1317 (WebKit::FrameLoaderClient::convertMainResourceLoadToDownload):
1318 * WebCoreSupport/FrameLoaderClientGtk.h:
1319 (FrameLoaderClient):
1321 2013-03-15 Abhishek Arya <inferno@chromium.org>
1323 Replace static_casts with to* helper functions.
1324 https://bugs.webkit.org/show_bug.cgi?id=112401
1326 Reviewed by Stephen Chenney.
1328 to* helper functions are preferred over static_cast calls since they
1329 help to catch bad casts easily on the testing infrastructure.
1331 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1332 (WebKit::FrameLoaderClient::redirectDataToPlugin):
1334 2013-03-14 Manuel Rego Casasnovas <rego@igalia.com>
1336 Add selectTrailingWhitespaceEnabled setting to WebCore::Page
1337 https://bugs.webkit.org/show_bug.cgi?id=109404
1339 Reviewed by Tony Chang.
1341 Use new settings for smartInsertDeleteEnabled and
1342 selectTrailingWhitespaceEnabled.
1344 Remove code related to DRT as it is not needed anymore.
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:
1356 2013-03-14 Abhishek Arya <inferno@chromium.org>
1358 Replace static_casts with to* helper functions.
1359 https://bugs.webkit.org/show_bug.cgi?id=112296
1361 Reviewed by Kentaro Hara.
1363 to* helper functions are preferred over static_cast calls since they
1364 help to catch bad casts easily on the testing infrastructure.
1366 * webkit/webkitwebview.cpp:
1367 (webkit_web_view_query_tooltip):
1369 2013-03-13 Tomas Popela <tpopela@redhat.com>
1371 [GTK][Introspection] Fix of gtk doc annotation warnings
1372 https://bugs.webkit.org/show_bug.cgi?id=109182
1374 Reviewed by Martin Robinson.
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
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):
1417 2013-03-13 Pavel Feldman <pfeldman@chromium.org>
1419 Web Inspector: get rid of hiddenPanels filter
1420 https://bugs.webkit.org/show_bug.cgi?id=112252
1422 Reviewed by Vsevolod Vlasov.
1424 * WebCoreSupport/InspectorClientGtk.cpp:
1425 * WebCoreSupport/InspectorClientGtk.h:
1426 (InspectorFrontendClient):
1428 2013-03-12 Zan Dobersek <zdobersek@igalia.com>
1430 [GTK] Set up the libPlatformGtk.la library
1431 https://bugs.webkit.org/show_bug.cgi?id=111738
1433 Reviewed by Martin Robinson.
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.
1438 2013-03-07 Zan Dobersek <zdobersek@igalia.com>
1440 [GTK] Limit the supported compilers to GCC >= 4.7 and Clang >= 3.0
1441 https://bugs.webkit.org/show_bug.cgi?id=109932
1443 Reviewed by Martin Robinson.
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.
1448 2013-03-06 Gustavo Noronha Silva <gns@gnome.org>
1450 [GTK] Enable translations for WebKit2
1451 https://bugs.webkit.org/show_bug.cgi?id=111398
1453 Reviewed by Martin Robinson.
1455 * GNUmakefile.am: no longer distribute po files from here, they've moved to
1456 Sources/WebCore/platform/gtk.
1458 2013-03-07 Tomas Popela <tpopela@redhat.com>
1460 [GTK] Expose "ShouldRespectImageOrientation" setting into WebKitWebSettings
1461 https://bugs.webkit.org/show_bug.cgi?id=111414
1463 Reviewed by Carlos Garcia Campos.
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.
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):
1478 2013-03-06 Benjamin Poulain <benjamin@webkit.org>
1480 WebKitTestRunner needs layoutTestController.elementDoesAutoCompleteForElementWithId
1481 https://bugs.webkit.org/show_bug.cgi?id=42696
1483 Reviewed by Andreas Kling.
1485 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
1486 * WebCoreSupport/DumpRenderTreeSupportGtk.h:
1487 (DumpRenderTreeSupportGtk):
1489 2013-03-06 Sudarsana Nagineni <sudarsana.nagineni@intel.com>
1491 [GTK] Return m_inspectorFilesPath if it is not null
1492 https://bugs.webkit.org/show_bug.cgi?id=111633
1494 Reviewed by Martin Robinson.
1496 Added missing return in InspectorClient::inspectorFilesPath().
1498 * WebCoreSupport/InspectorClientGtk.cpp:
1499 (WebKit::InspectorClient::inspectorFilesPath):
1501 2013-03-06 Dominique Leuenberger <dimstar@opensuse.org>
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
1513 https://bugs.webkit.org/show_bug.cgi?id=111572
1515 Reviewed by Gustavo Noronha Silva.
1519 2013-03-03 Adam Barth <abarth@webkit.org>
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.
1526 * webkit/webkitwebpolicydecision.cpp:
1528 2013-03-02 Benjamin Poulain <bpoulain@apple.com>
1530 Move computedStyleIncludingVisitedInfo from TestRunner to Internals
1531 https://bugs.webkit.org/show_bug.cgi?id=109772
1533 Reviewed by Andreas Kling.
1535 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
1536 * WebCoreSupport/DumpRenderTreeSupportGtk.h:
1537 (DumpRenderTreeSupportGtk):
1539 2013-02-28 Alexey Proskuryakov <ap@apple.com>
1541 Reduce amount of rebuilding when touching networking headers
1542 https://bugs.webkit.org/show_bug.cgi?id=111035
1544 Reviewed by Eric Seidel.
1546 Adding includes that are now necessary because WebCore headers don't have them
1549 * webkit/webkitwebpolicydecision.cpp:
1551 2013-03-01 Jason Anderssen <janderssen@gmail.com>
1553 Move markerTextForListItem from TestRunner to Internals
1554 https://bugs.webkit.org/show_bug.cgi?id=110939
1556 Reviewed by Benjamin Poulain.
1558 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
1559 * WebCoreSupport/DumpRenderTreeSupportGtk.h:
1560 (DumpRenderTreeSupportGtk):
1562 2013-03-01 Martin Robinson <mrobinson@igalia.com>
1564 [GTK] Expose more of the configuration step to the gyp build
1565 https://bugs.webkit.org/show_bug.cgi?id=111213
1567 Reviewed by Dirk Pranke.
1569 Expose more of the configuration phase to the gyp build, including WebKit features
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.
1577 2013-03-01 Sheriff Bot <webkit.review.bot@gmail.com>
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
1584 Caused over 20 tests to fail assertion on Chromium Win port as
1585 ASSERTION FAILED: m_platformRequestUpdated (Requested by
1586 toyoshim on #webkit).
1588 * webkit/webkitwebpolicydecision.cpp:
1590 2013-02-28 Alexey Proskuryakov <ap@apple.com>
1592 Reduce amount of rebuilding when touching networking headers
1593 https://bugs.webkit.org/show_bug.cgi?id=111035
1595 Reviewed by Eric Seidel.
1597 Adding includes that are now necessary because WebCore headers don't have them
1600 * webkit/webkitwebpolicydecision.cpp:
1602 2013-02-26 Martin Robinson <mrobinson@igalia.com>
1604 REGRESSION (r143619): Crashes in three layout tests
1605 https://bugs.webkit.org/show_bug.cgi?id=110588
1607 Reviewed by Gustavo Noronha Silva.
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.
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.
1622 2013-02-25 Andreas Kling <akling@apple.com>
1624 Reduce amount of code that includes StylePropertySet.h
1625 <http://webkit.org/b/101149>
1627 Reviewed by Antti Koivisto.
1629 * WebCoreSupport/EditorClientGtk.cpp:
1631 2013-02-24 Gustavo Noronha Silva <gns@gnome.org>
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
1636 Reviewed by Martin Robinson.
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.
1667 2013-02-23 Jason Anderssen <janderssen@gmail.com>
1669 Move setAutofilled from TestRunner to WebCore
1670 https://bugs.webkit.org/show_bug.cgi?id=110521
1672 Reviewed by Benjamin Poulain.
1674 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
1675 * WebCoreSupport/DumpRenderTreeSupportGtk.h:
1676 (DumpRenderTreeSupportGtk):
1678 2013-02-22 Martin Robinson <mrobinson@igalia.com>
1680 [GTK] Expose all dependencies to the gyp build
1681 https://bugs.webkit.org/show_bug.cgi?id=110498
1683 Reviewed by Dirk Pranke.
1685 * gyp/Configuration.gypi.in: Add the missing configuration cflags here.
1686 * gyp/Dependencies.gyp: Add targets for all missing dependencies.
1688 2013-02-21 George McCollister <george.mccollister@gmail.com>
1690 [GTK] Remove subresource leaks from WebKit1 and WebKit2
1691 https://bugs.webkit.org/show_bug.cgi?id=108960
1693 Reviewed by Martin Robinson.
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.
1705 2013-02-21 Carlos Garcia Campos <cgarcia@igalia.com>
1707 Unreviewed. Fix make distcheck.
1709 * GNUmakefile.am: Add -DBUILDING_WEBKIT flags to introspection
1712 2013-02-15 Martin Robinson <mrobinson@igalia.com>
1714 [GTK] Spread the gyp build files throughout the tree
1715 https://bugs.webkit.org/show_bug.cgi?id=109960
1717 Reviewed by Dirk Pranke.
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.
1722 2013-02-15 Martin Robinson <mrobinson@igalia.com>
1724 Unreviewed, rolling out parts of r142731.
1725 http://trac.webkit.org/changeset/142731
1726 https://bugs.webkit.org/show_bug.cgi?id=109672
1728 This patch broke the GTK+ gyp build. Roll out the changes there,
1729 since they were actually unnecessary.
1731 * gyp/Configuration.gypi.in:
1732 * gyp/Dependencies.gyp:
1733 * gyp/JavaScriptCore.gyp:
1736 2013-02-13 Allan Sandfeld Jensen <allan.jensen@digia.com>
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
1741 Reviewed by Kenneth Rohde Christiansen.
1743 Do not resize window when default size is requested.
1745 * WebCoreSupport/ChromeClientGtk.cpp:
1746 (WebKit::ChromeClient::setWindowRect):
1748 2013-02-13 Andrew Wilson <atwilson@chromium.org>
1750 Unreviewed Chromium gyp-file cleanup after glib backend removal.
1751 https://bugs.webkit.org/show_bug.cgi?id=109672
1753 Removed references to GLib unicode backend:
1755 * gyp/Configuration.gypi.in:
1756 * gyp/Dependencies.gyp:
1757 * gyp/JavaScriptCore.gyp:
1760 2013-02-12 Martin Robinson <mrobinson@igalia.com>
1762 2013-02-10 Martin Robinson <mrobinson@igalia.com>
1764 [GTK] Connect the gyp build to autoconf
1765 https://bugs.webkit.org/show_bug.cgi?id=109360
1767 Reviewed by Dirk Pranke.
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.
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
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
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.
1792 2013-02-12 Huang Dongsung <luxtella@company100.net>
1794 [TexMap] Apply frames-per-second debug counter to WK1.
1795 https://bugs.webkit.org/show_bug.cgi?id=109540
1797 Reviewed by Noam Rosenthal.
1799 Make AcceleratedCompositingContext use TextureMapperFPSCounter.
1801 * WebCoreSupport/AcceleratedCompositingContext.h:
1802 * WebCoreSupport/AcceleratedCompositingContextGL.cpp:
1803 (WebKit::AcceleratedCompositingContext::compositeLayersToContext):
1805 2013-02-11 Ryosuke Niwa <rniwa@webkit.org>
1807 Disable delete button controller on non-Mac ports and delete EditorClient::shouldShowDeleteInterface
1808 https://bugs.webkit.org/show_bug.cgi?id=109534
1810 Reviewed by Anders Carlsson.
1812 * WebCoreSupport/EditorClientGtk.cpp:
1814 * WebCoreSupport/EditorClientGtk.h:
1816 * webkit/webkitwebview.cpp:
1817 (webkit_web_view_class_init):
1819 2013-02-11 Benjamin Poulain <benjamin@webkit.org>
1821 Kill TestRunner::setMinimumTimerInterval; implement the feature with InternalSettings
1822 https://bugs.webkit.org/show_bug.cgi?id=109349
1824 Reviewed by Sam Weinig.
1826 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
1827 * WebCoreSupport/DumpRenderTreeSupportGtk.h:
1828 (DumpRenderTreeSupportGtk):
1830 2013-02-10 Jae Hyun Park <jae.park08@gmail.com>
1832 Rename ENABLE(GLIB_SUPPORT) to USE(GLIB)
1833 https://bugs.webkit.org/show_bug.cgi?id=104266
1835 Reviewed by Philippe Normand.
1837 Using USE(GLIB) instead of ENABLE(GLIB_SUPPORT) is more consistent with
1838 the existing macro naming conventions.
1841 USE() - use a particular third-party library or optional OS service
1842 ENABLE() - turn on a specific feature of WebKit
1844 * gyp/Configuration.gypi:
1846 2013-02-08 Benjamin Poulain <bpoulain@apple.com>
1848 Move workerThreadCount from TestRunner to WebCore Internals
1849 https://bugs.webkit.org/show_bug.cgi?id=109239
1851 Reviewed by Darin Adler.
1853 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
1854 * WebCoreSupport/DumpRenderTreeSupportGtk.h:
1855 (DumpRenderTreeSupportGtk):
1857 2013-02-08 Martin Robinson <mrobinson@igalia.com>
1859 [GTK] Add an experimental gyp build
1860 https://bugs.webkit.org/show_bug.cgi?id=109003
1862 Reviewed by Gustavo Noronha Silva.
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
1868 $ gyp --generator-output=build --depth=. Source/WebKit/gtk/gyp/JavaScriptCore.gyp
1870 Then enter the build directory and run make.
1872 * gyp/Configuration.gypi: Added.
1873 * gyp/JavaScriptCore.gyp: Added.
1874 * gyp/WTF.gyp: Added.
1875 * gyp/generate-derived-sources.sh: Added.
1877 2013-02-07 Martin Robinson <mrobinson@igalia.com>
1879 [GTK] Cleanup command-line defines
1880 https://bugs.webkit.org/show_bug.cgi?id=109213
1882 Reviewed by Xan Lopez.
1884 * GNUmakefile.am: Remove references to flags that are now provided
1885 by autotoolsconfig.h
1887 2013-02-07 Benjamin Poulain <bpoulain@apple.com>
1889 Move pauseAnimation/pauseTransition from TestRunner to Internals
1890 https://bugs.webkit.org/show_bug.cgi?id=109107
1892 Reviewed by Anders Carlsson.
1894 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
1895 * WebCoreSupport/DumpRenderTreeSupportGtk.h:
1896 (DumpRenderTreeSupportGtk):
1898 2013-02-07 ChangSeok Oh <shivamidow@gmail.com>
1900 [GTK][AC] Implement opacity animation with clutter ac backend
1901 https://bugs.webkit.org/show_bug.cgi?id=108961
1903 Reviewed by Gustavo Noronha Silva.
1905 Add AnimationTrigger for ac compositing.
1907 * WebCoreSupport/ChromeClientGtk.cpp:
1908 (WebKit::ChromeClient::allowedCompositingTriggers):
1910 2013-02-05 Martin Robinson <mrobinson@igalia.com>
1912 Update the NEWS and configuration in preparation for 1.11.5.
1914 Reviewed by Philippe Normand.
1918 2013-02-04 Benjamin Poulain <bpoulain@apple.com>
1920 Kill suspendAnimation(), resumeAnimation() and numberOfActiveAnimations() from DRT/WTR; use Internals
1921 https://bugs.webkit.org/show_bug.cgi?id=108741
1923 Reviewed by Tony Chang.
1925 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
1926 * WebCoreSupport/DumpRenderTreeSupportGtk.h:
1927 (DumpRenderTreeSupportGtk):
1929 2013-02-04 Gustavo Noronha Silva <gns@gnome.org>
1931 Made the documentation on the confirmed argument for the
1932 WebView::script-confirm signal clearer about its type.
1934 Reviewed by Martin Robinson.
1936 * webkit/webkitwebview.cpp:
1937 (webkit_web_view_class_init):
1939 2013-02-04 Balazs Kelemen <kbalazs@webkit.org>
1941 [Soup] Wrap SoupSession by NetworkStorageSession
1942 https://bugs.webkit.org/show_bug.cgi?id=108615
1944 Reviewed by Alexey Proskuryakov.
1946 * WebCoreSupport/FrameNetworkingContextGtk.cpp:
1947 (WebKit::FrameNetworkingContextGtk::storageSession):
1948 * WebCoreSupport/FrameNetworkingContextGtk.h:
1949 (FrameNetworkingContextGtk):
1951 2013-02-03 KwangYong Choi <ky0.choi@samsung.com>
1953 Fix build warning after r141473
1954 https://bugs.webkit.org/show_bug.cgi?id=108782
1956 Reviewed by Kentaro Hara.
1958 Fix -Wunused-parameter build warning.
1960 * WebCoreSupport/EditorClientGtk.cpp:
1961 (WebKit::EditorClient::getClientPasteboardDataForRange):
1963 2013-02-01 Philippe Normand <pnormand@igalia.com>
1965 [GTK][GStreamer] FullscreenVideoControllerGtk implementation
1966 https://bugs.webkit.org/show_bug.cgi?id=107398
1968 Reviewed by Gustavo Noronha Silva.
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.
1975 * GNUmakefile.am: Remove FullscreenVideoController.
1976 * WebCoreSupport/ChromeClientGtk.cpp:
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:
1985 * WebCoreSupport/FullscreenVideoController.cpp: Removed.
1986 * WebCoreSupport/FullscreenVideoController.h: Removed.
1987 * webkit/webkitwebview.cpp: Remove FullscreenVideoController support.
1988 * webkit/webkitwebviewprivate.h: Ditto
1990 2013-01-31 Aurimas Liutikas <aurimas@chromium.org>
1992 Editor::m_compositionNode not updated on HTMLInputElement::setValue()
1993 https://bugs.webkit.org/show_bug.cgi?id=107737
1995 Reviewed by Ryosuke Niwa.
1997 * WebCoreSupport/EditorClientGtk.cpp:
1998 (WebKit::EditorClient::respondToChangedSelection):
1999 Adding a call to the newly refactored Editor method.
2001 2013-01-31 Sheriff Bot <webkit.review.bot@gmail.com>
2003 Unreviewed, rolling out r141479.
2004 http://trac.webkit.org/changeset/141479
2005 https://bugs.webkit.org/show_bug.cgi?id=108564
2007 breaks chromium test (Requested by morrita on #webkit).
2009 * WebCoreSupport/EditorClientGtk.cpp:
2010 (WebKit::EditorClient::respondToChangedSelection):
2012 2013-01-31 Aurimas Liutikas <aurimas@chromium.org>
2014 Editor::m_compositionNode not updated on HTMLInputElement::setValue()
2015 https://bugs.webkit.org/show_bug.cgi?id=107737
2017 Reviewed by Ryosuke Niwa.
2019 * WebCoreSupport/EditorClientGtk.cpp:
2020 (WebKit::EditorClient::respondToChangedSelection):
2021 Adding a call to the newly refactored Editor method.
2023 2013-01-31 Enrica Casucci <enrica@apple.com>
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>
2029 Reviewed by Alexey Proskuryakov.
2031 Adds stub implementation for WebKit of the new EditorClient methods.
2033 * WebCoreSupport/EditorClientGtk.cpp:
2034 (WebKit::EditorClient::willWriteSelectionToPasteboard):
2035 (WebKit::EditorClient::getClientPasteboardDataForRange):
2036 * WebCoreSupport/EditorClientGtk.h:
2038 2013-01-30 Huang Dongsung <luxtella@company100.net>
2040 [TexMap] Remove GraphicsLayer in TextureMapperLayer.
2041 https://bugs.webkit.org/show_bug.cgi?id=107073
2043 Reviewed by Noam Rosenthal.
2045 Include GraphicsLayerTextureMapper.h to use toTextureMapperLayer().
2047 * WebCoreSupport/AcceleratedCompositingContextGL.cpp:
2049 2013-01-29 Mario Sanchez Prada <mario.prada@samsung.com>
2051 [GTK] Missing build flags when building with Harfbuzz
2052 https://bugs.webkit.org/show_bug.cgi?id=108174
2054 Reviewed by Martin Robinson.
2056 Add FREETYPE_CFLAGS and FREETYPE_LIBS to makefiles so -lharfbuzz
2057 parameter will be added to linking lines when needed.
2059 * GNUmakefile.am: Added FREETYPE_CFLAGS and FREETYPE_LIBS.
2061 2013-01-28 Huang Dongsung <luxtella@company100.net>
2063 [TexMap] Enable debug borders and repaint counter via Settings.
2064 https://bugs.webkit.org/show_bug.cgi?id=107198
2066 Reviewed by Benjamin Poulain.
2068 If WEBKIT_SHOW_COMPOSITING_DEBUG_VISUALS is set to 1, set
2069 showDebugBorders and showRepaintCounter in Settings to true.
2071 * webkit/webkitwebview.cpp:
2072 (webkit_web_view_update_settings):
2074 2013-01-25 Joone Hur <joone.hur@intel.com>
2076 [GTK][AC] Use new Clutter APIs instead of deprecated APIs
2077 https://bugs.webkit.org/show_bug.cgi?id=105736
2079 Reviewed by Gustavo Noronha Silva.
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.
2085 * WebCoreSupport/AcceleratedCompositingContextClutter.cpp:
2086 (WebKit::AcceleratedCompositingContext::setRootCompositingLayer):
2088 2013-01-25 Martin Robinson <mrobinson@igalia.com>
2090 [GTK] LDFLAGS are being incorrectly used at compile time (rather than linking)
2091 https://bugs.webkit.org/show_bug.cgi?id=100616
2093 Unreviewed, since this is just a build fix.
2095 * GNUmakefile.am: use PACKAGE_CFLAGS instead of PACKAGE_LIBS when appending pkg-config
2096 variables to build target _CFLAGS.
2098 2013-01-24 Mark Hahnenberg <mhahnenberg@apple.com>
2100 Objective-C API: Rename JSValue.h/APIJSValue.h to JSCJSValue.h/JSValue.h
2101 https://bugs.webkit.org/show_bug.cgi?id=107327
2103 Reviewed by Filip Pizlo.
2105 We're renaming these two files, so we have to replace the names everywhere.
2107 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
2109 2013-01-23 Manuel Rego Casasnovas <rego@igalia.com>
2111 [GTK] Avoid reset title for navigation within the page
2112 https://bugs.webkit.org/show_bug.cgi?id=106908
2114 Reviewed by Martin Robinson.
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
2129 2013-01-22 Anders Carlsson <andersca@apple.com>
2131 Use a platforom strategy for local storage
2132 https://bugs.webkit.org/show_bug.cgi?id=107600
2134 Reviewed by Andreas Kling.
2136 Update for new storage strategy.
2138 * WebCoreSupport/PlatformStrategiesGtk.cpp:
2139 (PlatformStrategiesGtk::createStorageStrategy):
2140 * WebCoreSupport/PlatformStrategiesGtk.h:
2141 (PlatformStrategiesGtk):
2143 2013-01-22 Manuel Rego Casasnovas <rego@igalia.com>
2145 [GTK] Add listener for direction-changed signal in WebKitWebView
2146 https://bugs.webkit.org/show_bug.cgi?id=107131
2148 Reviewed by Philippe Normand.
2150 * webkit/webkitwebview.cpp:
2151 (webkit_web_view_init): Add listener for direction-changed signal.
2152 (webkitWebViewDirectionChanged): Implement listener using
2153 Editor::setBaseWritingDirection().
2155 2013-01-21 Oleg Smirnov <oleg.smirnov@lge.com>
2157 [Gtk] Dispatching event list into input element.
2158 https://bugs.webkit.org/show_bug.cgi?id=107259
2160 Reviewed by Martin Robinson.
2162 Clear pending command list after dispatching events.
2164 * WebCoreSupport/EditorClientGtk.cpp:
2165 (WebKit::EditorClient::handleKeyboardEvent):
2167 2013-01-18 Martin Robinson <mrobinson@igalia.com>
2169 [GTK] Add property for IndexedDB database path to WebKitGTK+
2170 https://bugs.webkit.org/show_bug.cgi?id=106136
2172 Reviewed by Gustavo Noronha Silva.
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.
2178 * webkit/webkitglobals.cpp:
2179 (webkitPageGroupName): Added this helper to get the default page
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
2187 * webkit/webkitwebview.cpp:
2188 (webkit_web_view_init): Use the new page group name helper.
2190 2013-01-18 Seokju Kwon <seokju.kwon@gmail.com>
2192 Add explicit keyword to constructors in platform-specific InspectorClient
2193 https://bugs.webkit.org/show_bug.cgi?id=107255
2195 Reviewed by Kentaro Hara.
2197 Add explicit keyword to constructors that take one argument
2198 in platform-specific implementation of InspectorClient.
2199 And fix some coding style.
2201 * WebCoreSupport/InspectorClientGtk.h:
2205 (WebKit::InspectorClient::disconnectFrontendClient):
2206 (InspectorFrontendClient):
2207 (WebKit::InspectorFrontendClient::disconnectInspectorClient):
2209 2013-01-18 Manuel Rego Casasnovas <rego@igalia.com>
2211 [GTK] Add new method to support addUserScript in DumpRenderTree
2212 https://bugs.webkit.org/show_bug.cgi?id=107275
2214 Reviewed by Philippe Normand.
2216 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
2217 (DumpRenderTreeSupportGtk::addUserScript): Implement new method using
2218 PageGroup::addUserScriptToWorld.
2219 * WebCoreSupport/DumpRenderTreeSupportGtk.h:
2220 (DumpRenderTreeSupportGtk): Define method header.
2222 2013-01-17 Martin Robinson <mrobinson@igalia.com>
2224 [GTK] Build with LevelDB when IndexedDB is enabled
2225 https://bugs.webkit.org/show_bug.cgi?id=103220
2227 Reviewed by Gustavo Noronha Silva.
2229 * GNUmakefile.am: When IndexedDatabase is enabled add the leveldb convenience
2230 library to the shared library link phase.
2232 2013-01-15 Zan Dobersek <zandobersek@gmail.com>
2234 [Autotools] Add support for WebKit2-only builds
2235 https://bugs.webkit.org/show_bug.cgi?id=106889
2237 Reviewed by Gustavo Noronha Silva.
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
2244 2013-01-11 Carlos Garcia Campos <cgarcia@igalia.com>
2246 Unreviewed. Update NEWS and configure.ac for 1.11.4 release
2248 * NEWS: Added release notes for 1.11.4.
2250 2013-01-08 Mark Lam <mark.lam@apple.com>
2252 Removed the need for the ProposedDatabase mechanism.
2253 https://bugs.webkit.org/show_bug.cgi?id=106292.
2255 Reviewed by Sam Weinig.
2257 * WebCoreSupport/ChromeClientGtk.cpp:
2258 (WebKit::ChromeClient::exceededDatabaseQuota):
2259 * WebCoreSupport/ChromeClientGtk.h:
2262 2013-01-03 Sergio Villar Senin <svillar@igalia.com>
2264 [GTK] Add WebP image support
2265 https://bugs.webkit.org/show_bug.cgi?id=105915
2267 Reviewed by Martin Robinson.
2269 * GNUmakefile.am: link against WebP library.
2271 2013-01-07 Mike West <mkwst@chromium.org>
2273 Make the IFRAME_SEAMLESS flag runtime-enabled.
2274 https://bugs.webkit.org/show_bug.cgi?id=106213
2276 Reviewed by Ojan Vafai.
2278 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
2279 * WebCoreSupport/DumpRenderTreeSupportGtk.h:
2280 (DumpRenderTreeSupportGtk):
2281 Add a toggle for seamless IFrames to GTK's DRTSuport.
2283 2013-01-04 Adam Klein <adamk@chromium.org>
2285 Remove ENABLE_MUTATION_OBSERVERS #define
2286 https://bugs.webkit.org/show_bug.cgi?id=105459
2288 Reviewed by Ryosuke Niwa.
2290 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
2291 (DumpRenderTreeSupportGtk::deliverAllMutationsIfNecessary):
2293 2012-12-28 Martin Robinson <mrobinson@igalia.com>
2295 [GTK][WK2] Add support for IME Composition
2296 https://bugs.webkit.org/show_bug.cgi?id=65093
2298 Reviewed by Carlos Garcia Campos.
2300 Update the method signatures for concrete WebKit1 implementation of
2301 the GtkInputMethodFilter.
2303 * WebCoreSupport/WebViewInputMethodFilter.cpp:
2304 (WebKit::WebViewInputMethodFilter::sendSimpleKeyEvent):
2305 (WebKit::WebViewInputMethodFilter::sendKeyEventWithCompositionResults):
2306 * WebCoreSupport/WebViewInputMethodFilter.h:
2307 (WebViewInputMethodFilter):
2309 2012-12-27 ChangSeok Oh <shivamidow@gmail.com>
2311 [GTK] invalid use of incomplete type WebCore::ResourceResponse in webkitwebviewprivate.h
2312 https://bugs.webkit.org/show_bug.cgi?id=105720
2314 Reviewed by Martin Robinson.
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()'.
2321 * webkit/webkitwebviewprivate.h:
2323 2012-12-23 Alexey Proskuryakov <ap@apple.com>
2325 <rdar://problem/12808377> Network process should respect cookie accept policy
2326 https://bugs.webkit.org/show_bug.cgi?id=105684
2328 Reviewed by Sam Weinig.
2330 * WebCoreSupport/PlatformStrategiesGtk.cpp:
2331 * WebCoreSupport/PlatformStrategiesGtk.h:
2332 CookiesStrategy no longer has notifyCookiesChanged(). This port didn't use it anyway.
2334 2012-12-22 Alexey Proskuryakov <ap@apple.com>
2336 Add a separate class for networking related storage
2337 https://bugs.webkit.org/show_bug.cgi?id=105676
2339 Reviewed by Sam Weinig.
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.
2351 2012-12-18 Alexey Proskuryakov <ap@apple.com>
2353 Remove unnecessary functions from CookiesStrategy
2354 https://bugs.webkit.org/show_bug.cgi?id=105369
2356 Reviewed by Brady Eidson.
2358 * WebCoreSupport/PlatformStrategiesGtk.cpp:
2359 * WebCoreSupport/PlatformStrategiesGtk.h:
2361 2012-12-18 ChangSeok Oh <shivamidow@gmail.com>
2363 [GTK][AC] Fix assertion failures for AC with clutter
2364 https://bugs.webkit.org/show_bug.cgi?id=105039
2366 Reviewed by Gustavo Noronha Silva.
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.
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()
2380 2012-12-15 Anders Carlsson <andersca@apple.com>
2382 Rename FrameLoaderClient::download to convertMainResourceLoadToDownload
2383 https://bugs.webkit.org/show_bug.cgi?id=105122
2385 Reviewed by Andreas Kling.
2387 Update for WebCore changes.
2389 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2390 (WebKit::FrameLoaderClient::convertMainResourceLoadToDownload):
2391 * WebCoreSupport/FrameLoaderClientGtk.h:
2392 (FrameLoaderClient):
2394 2012-12-15 Mark Lam <mark.lam@apple.com>
2396 Re-landing patch for "Introducing the DatabaseStrategy and database servers".
2397 https://bugs.webkit.org/show_bug.cgi?id=104934.
2401 Merged from r137767. Previously reviewed by Sam Weinig.
2403 * WebCoreSupport/PlatformStrategiesGtk.cpp:
2404 (PlatformStrategiesGtk::createDatabaseStrategy):
2405 * WebCoreSupport/PlatformStrategiesGtk.h:
2406 (PlatformStrategiesGtk):
2408 2012-12-14 Sheriff Bot <webkit.review.bot@gmail.com>
2410 Unreviewed, rolling out r137767.
2411 http://trac.webkit.org/changeset/137767
2412 https://bugs.webkit.org/show_bug.cgi?id=105062
2414 Broke Mac builds. (Requested by mlam on #webkit).
2416 * WebCoreSupport/PlatformStrategiesGtk.cpp:
2417 * WebCoreSupport/PlatformStrategiesGtk.h:
2418 (PlatformStrategiesGtk):
2420 2012-12-14 Mark Lam <mark.lam@apple.com>
2422 Introducing the DatabaseStrategy and database servers.
2423 https://bugs.webkit.org/show_bug.cgi?id=104934.
2425 Reviewed by Sam Weinig.
2427 The database server is currently a placeholder that does nothing.
2429 * WebCoreSupport/PlatformStrategiesGtk.cpp:
2430 (PlatformStrategiesGtk::createDatabaseStrategy):
2431 * WebCoreSupport/PlatformStrategiesGtk.h:
2432 (PlatformStrategiesGtk):
2434 2012-12-14 Alberto Garcia <agarcia@igalia.com>
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
2439 Reviewed by Martin Robinson.
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
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.
2452 2012-12-12 Mark Lam <mark.lam@apple.com>
2454 Encapsulate externally used webdatabase APIs in DatabaseManager.
2455 https://bugs.webkit.org/show_bug.cgi?id=104741.
2457 Reviewed by Sam Weinig.
2459 Use DatabaseManager instead of accessing DatabaseTracker, AbstractDatabase,
2460 and DatabaseContext directly. This is to prepare for upcoming webkit2
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):
2485 2012-12-12 Martin Robinson <mrobinson@igalia.com>
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
2490 Reviewed by Gustavo Noronha Silva.
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+.
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.
2505 2012-12-12 Alexey Proskuryakov <ap@apple.com>
2507 Make LOG() work in WebProcess and NetworkProcess
2508 https://bugs.webkit.org/show_bug.cgi?id=104718
2510 Reviewed by Tim Horton.
2512 * webkit/webkitglobals.cpp: Include InitializeLogging.h
2514 2012-12-12 Joone Hur <joone.hur@intel.com>
2516 [GTK][AC] The non-composited content is not painted
2517 https://bugs.webkit.org/show_bug.cgi?id=104819
2519 Reviewed by Gustavo Noronha Silva.
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
2525 * WebCoreSupport/AcceleratedCompositingContext.h: Add m_nonCompositedContentLayer.
2526 * WebCoreSupport/AcceleratedCompositingContextClutter.cpp:
2527 (WebKit::AcceleratedCompositingContext::AcceleratedCompositingContext):
2528 (WebKit::AcceleratedCompositingContext::initialize):
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
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.
2543 2012-12-12 Joone Hur <joone.hur@intel.com>
2545 [GTK][AC] GraphicsLayers are not shown on the viewport
2546 https://bugs.webkit.org/show_bug.cgi?id=104670
2548 Reviewed by Gustavo Noronha Silva.
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.
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):
2561 2012-12-11 Carlos Garcia Campos <cgarcia@igalia.com>
2563 [GTK] Install GObject DOM bindings headers in its own directory
2564 https://bugs.webkit.org/show_bug.cgi?id=104663
2566 Reviewed by Gustavo Noronha Silva.
2568 * GNUmakefile.am: Add webkitdom.h.
2569 * webkit/webkitdom.h: Compatibility header just including the new
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.
2578 2012-12-11 Mike West <mkwst@chromium.org>
2580 Web Inspector: ConsoleTypes should not expose MessageType - it should be private to inspector.
2581 https://bugs.webkit.org/show_bug.cgi?id=66371
2583 Reviewed by Pavel Feldman.
2585 Drops WebCore::MessageType from the addMessageToConsole method.
2587 * WebCoreSupport/ChromeClientGtk.cpp:
2588 (WebKit::ChromeClient::addMessageToConsole):
2589 * WebCoreSupport/ChromeClientGtk.h:
2592 2012-12-11 Martin Robinson <mrobinson@igalia.com>
2594 [GTK] Implement some missing FrameLoaderClient message in DRT
2595 https://bugs.webkit.org/show_bug.cgi?id=104444
2597 Reviewed by Gustavo Noronha Silva.
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.
2603 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
2604 (DumpRenderTreeSupportGtk::setFrameLoadEventCallback): Added.
2605 * WebCoreSupport/DumpRenderTreeSupportGtk.h:
2606 * WebCoreSupport/FrameLoaderClientGtk.cpp: Use the new callback to deliver
2609 2012-12-11 Martin Robinson <mrobinson@igalia.com>
2611 [Coverity] [GTK] Remove some redundant null checks in DumpRenderTree
2612 https://bugs.webkit.org/show_bug.cgi?id=104570
2614 Reviewed by Daniel Bates.
2616 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
2617 (DumpRenderTreeSupportGtk::elementDoesAutoCompleteForElementWithId): Remove a redundant null check.
2619 2012-12-10 Carlos Garcia Campos <cgarcia@igalia.com>
2621 [GTK] Build GObject DOM bindings as a separate library
2622 https://bugs.webkit.org/show_bug.cgi?id=104527
2624 Reviewed by Xan Lopez.
2626 * GNUmakefile.am: Link to libWebCoreDOM.la.
2628 2012-12-10 Martin Robinson <mrobinson@igalia.com>
2630 [GTK] Bring Harfbuzz-ng support to Gtk
2631 https://bugs.webkit.org/show_bug.cgi?id=92098
2633 Reviewed by Gustavo Noronha Silva.
2635 Add HarfBuzz dependency.
2637 * GNUmakefile.am: Add FreeType/HarfBuzz CFLAGS to the library.
2639 2012-12-05 Arnaud Renevier <a.renevier@sisa.samsung.com>
2641 [Gtk] navigator.plugins contains too many plugin entries. First one are garbages
2642 https://bugs.webkit.org/show_bug.cgi?id=102438
2644 Reviewed by Xan Lopez.
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.
2651 * WebCoreSupport/PlatformStrategiesGtk.cpp:
2652 (PlatformStrategiesGtk::getPluginInfo):
2654 2012-12-04 Carlos Garcia Campos <cgarcia@igalia.com>
2656 [GTK] Avoid unnecessary heap allocations during drag and drop operations
2657 https://bugs.webkit.org/show_bug.cgi?id=87938
2659 Reviewed by Martin Robinson.
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.
2667 2012-12-02 Mike West <mkwst@chromium.org>
2669 [gtk] Enable the CSP_NEXT runtime flag.
2670 https://bugs.webkit.org/show_bug.cgi?id=103810
2672 Reviewed by Adam Barth.
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.
2677 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
2678 (DumpRenderTreeSupportGtk::setExperimentalContentSecurityPolicyFeaturesEnabled):
2679 * WebCoreSupport/DumpRenderTreeSupportGtk.h:
2680 (DumpRenderTreeSupportGtk):
2682 2012-11-30 Mihai Maerean <mmaerean@adobe.com>
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
2687 Reviewed by Hajime Morita.
2689 Removed the CSS Regions flag in Settings and switched to using the new flag I have added in RuntimeEnabledFeatures.
2691 Tests: No new tests because there is no functional change.
2693 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
2694 (DumpRenderTreeSupportGtk::setCSSRegionsEnabled):
2696 2012-11-29 Alexey Proskuryakov <ap@apple.com>
2698 [WK2] Forward cookie jar calls to NetworkProcess
2699 https://bugs.webkit.org/show_bug.cgi?id=103457
2701 Reviewed by Darin Adler.
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):
2714 2012-11-27 James Simonsen <simonjam@chromium.org>
2716 Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
2717 https://bugs.webkit.org/show_bug.cgi?id=102151
2719 Reviewed by Adam Barth.
2721 * webkit/webkitwebframe.cpp:
2722 (webkit_web_frame_load_uri):
2723 (webkit_web_frame_load_data):
2724 (webkit_web_frame_load_request):
2726 2012-11-27 Sheriff Bot <webkit.review.bot@gmail.com>
2728 Unreviewed, rolling out r135786.
2729 http://trac.webkit.org/changeset/135786
2730 https://bugs.webkit.org/show_bug.cgi?id=103379
2732 It made 3 plugin tests timeout on several platforms (Requested
2733 by Ossy on #webkit).
2735 * webkit/webkitwebframe.cpp:
2736 (webkit_web_frame_load_uri):
2737 (webkit_web_frame_load_data):
2738 (webkit_web_frame_load_request):
2740 2012-11-26 James Simonsen <simonjam@chromium.org>
2742 Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
2743 https://bugs.webkit.org/show_bug.cgi?id=102151
2745 Reviewed by Adam Barth.
2747 * webkit/webkitwebframe.cpp:
2748 (webkit_web_frame_load_uri):
2749 (webkit_web_frame_load_data):
2750 (webkit_web_frame_load_request):
2752 2012-11-25 Kaustubh Atrawalkar <kaustubh@motorola.com>
2754 Remove deprecated load-done signal
2755 https://bugs.webkit.org/show_bug.cgi?id=72712
2757 Reviewed by Brent Fulgham.
2759 Remove deprecated load-done signal and migrate to load-status.
2761 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2763 (WebKit::FrameLoaderClient::dispatchDidFinishLoad):
2764 * webkit/webkitwebframe.cpp:
2765 (webkit_web_frame_class_init):
2767 2012-09-26 Gustavo Noronha Silva <gns@gnome.org>
2769 [GTK] Split SVG from WebCore to work-around make limitation
2770 https://bugs.webkit.org/show_bug.cgi?id=97735
2772 Reviewed by Carlos Garcia Campos.
2774 Add a new libtool convenience library, libWebCoreSVG.la, to work-around
2775 make limitation when linking libWebCore.
2777 * GNUmakefile.am: link libWebCoreSVG.la into libwebkitgtk.
2779 2012-11-21 Allan Sandfeld Jensen <allan.jensen@digia.com>
2781 Disambiguate innerNodeFramePoint and mainFramePoint
2782 https://bugs.webkit.org/show_bug.cgi?id=98139
2784 Reviewed by Julien Chaffraix.
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.
2789 * webkit/webkithittestresult.cpp:
2792 2012-11-20 Sheriff Bot <webkit.review.bot@gmail.com>
2794 Unreviewed, rolling out r135295.
2795 http://trac.webkit.org/changeset/135295
2796 https://bugs.webkit.org/show_bug.cgi?id=102834
2798 This patch causes assertion to some layout tests on chromium
2799 (Requested by jianli on #webkit).
2801 * webkit/webkitwebframe.cpp:
2802 (webkit_web_frame_load_uri):
2803 (webkit_web_frame_load_data):
2804 (webkit_web_frame_load_request):
2806 2012-11-20 James Simonsen <simonjam@chromium.org>
2808 Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
2809 https://bugs.webkit.org/show_bug.cgi?id=102151
2811 Reviewed by Adam Barth.
2813 * webkit/webkitwebframe.cpp:
2814 (webkit_web_frame_load_uri):
2815 (webkit_web_frame_load_data):
2816 (webkit_web_frame_load_request):
2818 2012-11-20 Carlos Garcia Campos <cgarcia@igalia.com>
2820 Unreviewed. Update NEWS and configure.ac for 1.11.2 release
2822 * NEWS: Added release notes for 1.11.2.
2824 2012-11-16 Martin Robinson <mrobinson@igalia.com>
2826 [GTK] Move CredentialBackingStore usage from GtkAuthenticationDialog to ResourceHandleSoup
2827 https://bugs.webkit.org/show_bug.cgi?id=101840
2829 Reviewed by Gustavo Noronha Silva.
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.
2835 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2836 (WebKit::FrameLoaderClient::shouldUseCredentialStorage): Enable credential storage by default.
2838 2012-11-15 Gustavo Noronha Silva <gns@gnome.org>
2840 [GTK] Split WebCore/platform into a separate library
2841 https://bugs.webkit.org/show_bug.cgi?id=94435
2843 Reviewed by Martin Robinson.
2845 More people have been reporting problems when linking WebCore because
2846 the command line limit is being exceeded. Splitting WebCore a bit more
2849 * GNUmakefile.am: link libWebCorePlatform into libwebkitgtk
2851 2012-11-15 Zan Dobersek <zandobersek@gmail.com>
2853 Unreviewed build fix attempt after r134765.
2855 * webkit/webkitviewportattributes.cpp:
2856 (webkitViewportAttributesRecompute):
2858 2012-11-12 Josh Rickmar <jrick@devio.us>
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
2863 Reviewed by Martin Robinson.
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):
2874 2012-11-05 Simon Fraser <simon.fraser@apple.com>
2876 Fix layer borders to cleaning appear and disappear on switching
2877 https://bugs.webkit.org/show_bug.cgi?id=101136
2879 Reviewed by Sam Weinig.
2881 Remove the GraphicsLayerClient methods showDebugBorders() and
2882 showRepaintCounter().
2884 * WebCoreSupport/AcceleratedCompositingContext.h:
2885 (AcceleratedCompositingContext):
2886 * WebCoreSupport/AcceleratedCompositingContextCairo.cpp:
2887 * WebCoreSupport/AcceleratedCompositingContextClutter.cpp:
2888 * WebCoreSupport/AcceleratedCompositingContextGL.cpp:
2890 2012-10-25 Martin Robinson <mrobinson@igalia.com>
2892 [GTK] Move soup authentication from GtkAuthenticationDialog to WebCore
2893 https://bugs.webkit.org/show_bug.cgi?id=99914
2895 Reviewed by Carlos Garcia Campos.
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+.
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.
2909 2012-11-02 Martin Robinson <mrobinson@igalia.com>
2911 [GTK] Remove dependency on SoupPasswordManager
2912 https://bugs.webkit.org/show_bug.cgi?id=100775
2914 Reviewed by Carlos Garcia Campos.
2916 Add a libsecret dependency to the build. This is necessary so that we can remove
2917 a dependency on SoupPasswordManager.
2919 * GNUmakefile.am: Use libsecret libs during WebKit1 library compilation.
2921 2012-10-24 Brady Eidson <beidson@apple.com>
2923 Add a strategy for loader customization.
2924 https://bugs.webkit.org/show_bug.cgi?id=100278
2926 Reviewed by Alexey Proskuryakov.
2928 * WebCoreSupport/PlatformStrategiesGtk.cpp:
2929 (PlatformStrategiesGtk::createLoaderStrategy):
2930 * WebCoreSupport/PlatformStrategiesGtk.h:
2931 (PlatformStrategiesGtk):
2933 2012-10-23 Alexey Proskuryakov <ap@apple.com>
2935 Add a strategy for shared workers
2936 https://bugs.webkit.org/show_bug.cgi?id=100165
2938 Reviewed by Brady Eidson.
2940 * WebCoreSupport/PlatformStrategiesGtk.cpp:
2941 (PlatformStrategiesGtk::createPasteboardStrategy):
2942 (PlatformStrategiesGtk::createSharedWorkerStrategy):
2943 (PlatformStrategiesGtk::createVisitedLinkStrategy):
2944 * WebCoreSupport/PlatformStrategiesGtk.h:
2946 2012-10-24 Priit Laes <plaes@plaes.org>
2948 [GTK] Typos in user-visible strings: "coordintate"
2949 https://bugs.webkit.org/show_bug.cgi?id=100252
2951 Reviewed by Martin Robinson.
2953 s/coordintate/coordinate
2955 * webkit/webkithittestresult.cpp:
2956 (webkit_hit_test_result_class_init):
2958 2012-10-23 Martin Robinson <mrobinson@igalia.com>
2960 [GTK][Soup] Implement the default authentication dialog via WebCoreSupport
2961 https://bugs.webkit.org/show_bug.cgi?id=99351
2963 Reviewed by Carlos Garcia Campos.
2965 Instead of using a custom SoupSessionFeature to show the authentication dialog,
2966 show it using the corresponding WebCore message.
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.
2975 2012-10-23 Carlos Garcia Campos <cgarcia@igalia.com>
2977 Unreviewed. Update NEWS and configure.ac for 1.11.1 release
2979 * NEWS: Added release notes for 1.11.1.
2981 2012-10-23 Andras Becsi <andras.becsi@digia.com>
2983 Remove devicePixelRatio from ViewportAttributes
2984 https://bugs.webkit.org/show_bug.cgi?id=99845
2986 Reviewed by Adam Barth.
2988 * webkit/webkitviewportattributes.cpp:
2989 (webkitViewportAttributesRecompute):
2990 Pass the device pixel ratio as a function argument.
2992 2012-10-22 Jocelyn Turcotte <jocelyn.turcotte@digia.com>
2994 [Qt] Fix "ASSERTION FAILED: !document->inPageCache()" when loading a page
2995 https://bugs.webkit.org/show_bug.cgi?id=98514
2997 Reviewed by Kenneth Rohde Christiansen.
2999 * WebCoreSupport/FrameLoaderClientGtk.cpp:
3000 (WebKit::FrameLoaderClient::transitionToCommittedForNewPage):
3002 2012-10-10 Brady Eidson <beidson@apple.com>
3004 Switch ResourceLoader::resourceData() from SharedBuffer to ResourceBuffer
3005 https://bugs.webkit.org/show_bug.cgi?id=98976
3007 Reviewed by Anders Carlsson.
3009 * webkit/webkitwebdatasource.cpp:
3010 (webkit_web_data_source_get_data):
3012 2012-10-10 Jon Lee <jonlee@apple.com>
3014 [WK2] Activate plugins when user clicks on snapshot
3015 https://bugs.webkit.org/show_bug.cgi?id=98328
3016 <rdar://problem/12426681>
3018 Reviewed by Brady Eidson.
3020 * WebCoreSupport/FrameLoaderClientGtk.h:
3021 (WebKit::FrameLoaderClient::recreatePlugin): Stub implementation of recreatePlugin().
3023 2012-10-10 Sheriff Bot <webkit.review.bot@gmail.com>
3025 Unreviewed, rolling out r130853.
3026 http://trac.webkit.org/changeset/130853
3027 https://bugs.webkit.org/show_bug.cgi?id=98873
3029 The rollout was incorrect (Requested by zdobersek on #webkit).
3031 * webkit/webkitwebview.cpp:
3032 (resizeWebViewFromAllocation):
3033 (webkit_web_view_size_allocate):
3036 2012-10-09 Sheriff Bot <webkit.review.bot@gmail.com>
3038 Unreviewed, rolling out r130838.
3039 http://trac.webkit.org/changeset/130838
3040 https://bugs.webkit.org/show_bug.cgi?id=98860
3042 The patch is causing X errors (=> crashes) on GTK 64-bit
3043 Release builder (Requested by zdobersek on #webkit).
3045 * webkit/webkitwebview.cpp:
3046 (resizeWebViewFromAllocation):
3047 (webkit_web_view_size_allocate):
3050 2012-10-09 Daniel Drake <dsd@laptop.org>
3052 [GTK] Plugins don't display
3053 https://bugs.webkit.org/show_bug.cgi?id=98789
3055 Reviewed by Martin Robinson.
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.
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.
3067 2012-10-07 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
3069 Rename first/second to key/value in HashMap iterators
3070 https://bugs.webkit.org/show_bug.cgi?id=82784
3072 Reviewed by Eric Seidel.
3074 * WebCoreSupport/PlatformStrategiesGtk.cpp:
3075 (PlatformStrategiesGtk::getPluginInfo):
3076 * webkit/webkitfavicondatabase.cpp:
3077 (webkitFaviconDatabaseImportFinished):
3078 * webkit/webkitwebplugin.cpp:
3079 (webkit_web_plugin_get_mimetypes):
3081 2012-10-04 Simon Fraser <simon.fraser@apple.com>
3083 Final part of "sync" to "flush" renaming
3084 https://bugs.webkit.org/show_bug.cgi?id=98430
3086 Reviewed by Tim Horton.
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.
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):
3106 2012-10-04 Simon Fraser <simon.fraser@apple.com>
3108 Standardize on "flush" terminology for compositing layer flushing/syncing
3109 https://bugs.webkit.org/show_bug.cgi?id=98321
3111 Reviewed by Simon Fraser.
3113 Rename compositing-related methods that refer to "syncing" to instead
3114 refer to "flushing".
3116 * WebCoreSupport/ChromeClientGtk.cpp:
3117 (WebKit::ChromeClient::scheduleCompositingLayerFlush):
3118 * WebCoreSupport/ChromeClientGtk.h:
3121 2012-10-02 Anders Carlsson <andersca@apple.com>
3123 Change most GraphicsLayer::create calls to use the version that takes a GraphicsLayerFactory
3124 https://bugs.webkit.org/show_bug.cgi?id=98217
3126 Reviewed by Andreas Kling.
3128 * WebCoreSupport/AcceleratedCompositingContextGL.cpp:
3129 (WebKit::AcceleratedCompositingContext::initialize):
3131 2012-10-02 Carlos Garcia Campos <cgarcia@igalia.com>
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
3136 Reviewed by Martin Robinson.
3138 * WebCoreSupport/FrameNetworkingContextGtk.cpp:
3139 (WebKit::FrameNetworkingContextGtk::initiatingPageID): Stub
3141 * WebCoreSupport/FrameNetworkingContextGtk.h:
3142 (FrameNetworkingContextGtk): Added.
3144 2012-10-02 Adrian Perez de Castro <aperez@igalia.com>
3146 [GTK] Value not returned warning with geolocation disabled
3147 https://bugs.webkit.org/show_bug.cgi?id=98148
3149 Reviewed by Xan Lopez.
3151 With geolocation disabled in the build, return a sensible value from
3152 DumpRenderTreeSupportGtk::numberOfPendingGeolocationPermissionRequests.
3153 This also avoids a compiler warning.
3155 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
3156 (DumpRenderTreeSupportGtk::numberOfPendingGeolocationPermissionRequests):
3158 2012-10-01 Brady Eidson <beidson@apple.com>
3160 Remove the Safari 2 -> Safari 3 icon database import code.
3161 https://bugs.webkit.org/show_bug.cgi?id=98113
3163 Reviewed by Maciej Stachowiak.
3165 Nuke the performImport() IconDatabaseClient method.
3167 * webkit/webkitfavicondatabase.cpp:
3168 (IconDatabaseClientGtk):
3170 2012-10-01 Arnaud Renevier <a.renevier@sisa.samsung.com>
3172 [Gtk] crash when accelerated composition is turned off
3173 https://bugs.webkit.org/show_bug.cgi?id=98099
3175 Reviewed by Martin Robinson.
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.
3181 This bug is handled by LayoutTests/compositing/toggle-compositing.html
3183 * WebCoreSupport/AcceleratedCompositingContextGL.cpp:
3184 (WebKit::AcceleratedCompositingContext::flushAndRenderLayers):
3186 2012-10-01 Claudio Saavedra <csaavedra@igalia.com>
3188 [GTK] Save original uri for downloaded files
3189 https://bugs.webkit.org/show_bug.cgi?id=95188
3191 Reviewed by Carlos Garcia Campos.
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>.
3197 * webkit/webkitdownload.cpp:
3198 (webkit_download_open_stream_for_uri): Save the download-uri as
3201 2012-10-01 Claudio Saavedra <csaavedra@igalia.com>
3203 [GTK] WebKitDownload: use more of GOwnPtr/GRefPtr
3204 https://bugs.webkit.org/show_bug.cgi?id=98009
3206 Reviewed by Carlos Garcia Campos.
3208 Use more GOwnPtr/GRefPtr in WebKitDownload
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.
3216 2012-09-28 Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com>
3218 Code inside FrameLoaderClient::canShowMIMEType() implementations can be shared among different WK ports
3219 https://bugs.webkit.org/show_bug.cgi?id=97547
3221 Reviewed by Adam Barth.
3223 Newly added WebCore::MIMETypeRegistry::canShowMIMEType() function is used
3224 inside WebKit::FrameLoaderClient::canShowMIMEType().
3226 * WebCoreSupport/FrameLoaderClientGtk.cpp:
3227 (WebKit::FrameLoaderClient::canShowMIMEType):
3229 2012-09-28 Huang Dongsung <luxtella@company100.net>
3231 [GTK] Enable CSS Shaders layout LayoutTests on GTK+
3232 https://bugs.webkit.org/show_bug.cgi?id=97821
3234 Reviewed by Martin Robinson.
3236 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
3237 (DumpRenderTreeSupportGtk::setCSSCustomFilterEnabled): Pass through to Settings object.
3238 * WebCoreSupport/DumpRenderTreeSupportGtk.h:
3239 (DumpRenderTreeSupportGtk):
3241 2012-09-27 Allan Sandfeld Jensen <allan.jensen@digia.com>
3243 Unify event handling of middle mouse button.
3244 https://bugs.webkit.org/show_bug.cgi?id=97690
3246 Reviewed by Tony Chang.
3248 Remove port specific handling of middle mouse button press.
3250 * WebCoreSupport/EditorClientGtk.cpp:
3251 (WebKit::EditorClient::supportsGlobalSelection):
3252 * WebCoreSupport/EditorClientGtk.h:
3254 * webkit/webkitwebview.cpp:
3255 (webkit_web_view_button_press_event):
3257 2012-09-26 Gustavo Noronha Silva <gns@gnome.org>
3259 Unreviewed build fix after 129707.
3261 * webkit/webkitwebview.cpp:
3262 (webkit_web_view_forward_context_menu_event):
3264 2012-09-26 Martin Robinson <mrobinson@igalia.com>
3266 [GTK] Use XDamage to simplify RedirectedXCompositeWindow
3267 https://bugs.webkit.org/show_bug.cgi?id=97267
3269 Reviewed by Alejandro G. Castro.
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.
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
3287 (WebKit::AcceleratedCompositingContext::compositeLayersToContext): When drawing for a
3288 resize, first clear the entire context. Remove the double swap-buffer, as it's no
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.
3298 2012-09-26 Zan Dobersek <zandobersek@gmail.com>
3300 [GTK] Enable some of the unstable CSS features
3301 https://bugs.webkit.org/show_bug.cgi?id=97572
3303 Reviewed by Martin Robinson.
3305 Add a helper DumpRenderTreeSupportGtk method for enabling
3306 the <style scoped> support in WebCore. This is used in DumpRenderTree.
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.
3317 2012-09-25 Beth Dakin <bdakin@apple.com>
3319 https://bugs.webkit.org/show_bug.cgi?id=95397
3320 Need to merge didFirstVisuallyNonEmptyLayout and
3321 didNewFirstVisuallyNonEmptyLayout
3323 <rdar://problem/10791680>
3325 Reviewed by Sam Weinig.
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):
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):
3341 2012-09-25 Paweł Forysiuk <tuxator@o2.pl>
3343 [GTK] Webkit 1.8.2 fails to build with MinGW with spellchecking enabled
3344 https://bugs.webkit.org/show_bug.cgi?id=93255
3346 Reviewed by Martin Robinson.
3348 Build dies because of invalid cast. Additionaly word "interface" is in use with MinGW compiler.
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
3355 2012-09-24 Benjamin Poulain <bpoulain@apple.com>
3357 Fix Geolocation error reporting in the test support
3358 https://bugs.webkit.org/show_bug.cgi?id=97386
3360 Reviewed by Sam Weinig.
3362 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
3363 (DumpRenderTreeSupportGtk::setMockGeolocationPositionUnavailableError):
3364 * WebCoreSupport/DumpRenderTreeSupportGtk.h:
3365 (DumpRenderTreeSupportGtk):
3367 2012-09-24 Zan Dobersek <zandobersek@gmail.com>
3369 [Gtk] Unskip the Shadow DOM layout tests
3370 https://bugs.webkit.org/show_bug.cgi?id=90776
3372 Reviewed by Ryosuke Niwa.
3374 Add a method for enabling the Shadow DOM through RuntimeEnabledFeatures.
3375 The method is called from DumpRenderTree when resetting state.
3377 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
3378 (DumpRenderTreeSupportGtk::setShadowDOMEnabled):
3379 * WebCoreSupport/DumpRenderTreeSupportGtk.h:
3380 (DumpRenderTreeSupportGtk):
3382 2012-09-24 Joone Hur <joone.hur@intel.com>
3384 [GTK] Implement GraphicsLayer using Clutter
3385 https://bugs.webkit.org/show_bug.cgi?id=73767
3387 Reviewed by Martin Robinson.
3389 This patch is needed for enabling Accelerated Compositing(Clutter backend)
3390 with the patches submitted in bug 92045 and 91940.
3392 * WebCoreSupport/AcceleratedCompositingContextClutter.cpp:
3393 (WebKit::AcceleratedCompositingContext::scrollNonCompositedContents): Added to fix bulid break.
3396 2012-09-19 Danilo Cesar Lemes de Paula <danilo.cesar@collabora.co.uk>
3398 [gtk] add enable-media-stream to websettings
3399 https://bugs.webkit.org/show_bug.cgi?id=94361
3401 Reviewed by Martin Robinson.
3403 Applications should be allowed to enable/disable MediaStream on webkitwebsettings.
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):
3413 2012-09-14 Zan Dobersek <zandobersek@gmail.com>
3415 [GTK] Clear application cache between tests in DumpRenderTree
3416 https://bugs.webkit.org/show_bug.cgi?id=96543
3418 Reviewed by Philippe Normand.
3420 Add a method to the DumpRenderTreeSupportGtk class that upon calling
3421 clears the application cache and vacuums the database file.
3423 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
3424 (DumpRenderTreeSupportGtk::clearApplicationCache):
3425 * WebCoreSupport/DumpRenderTreeSupportGtk.h:
3426 (DumpRenderTreeSupportGtk):
3428 2012-09-13 Sheriff Bot <webkit.review.bot@gmail.com>
3430 Unreviewed, rolling out r128453.
3431 http://trac.webkit.org/changeset/128453
3432 https://bugs.webkit.org/show_bug.cgi?id=96681
3434 Having tests use the same appcache directory leads to timeouts
3435 (Requested by zdobersek on #webkit).
3437 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
3438 (DumpRenderTreeSupportGtk::clearMemoryCache):
3439 * WebCoreSupport/DumpRenderTreeSupportGtk.h:
3440 (DumpRenderTreeSupportGtk):
3442 2012-09-13 Zan Dobersek <zandobersek@gmail.com>
3444 [GTK] Clear application cache between tests in DumpRenderTree
3445 https://bugs.webkit.org/show_bug.cgi?id=96543
3447 Reviewed by Philippe Normand.
3449 Add a method to the DumpRenderTreeSupportGtk class that upon calling
3450 clears the application cache and vacuums the database file.
3452 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
3453 (DumpRenderTreeSupportGtk::clearApplicationCache):
3454 * WebCoreSupport/DumpRenderTreeSupportGtk.h:
3455 (DumpRenderTreeSupportGtk):
3457 2012-09-12 Siraj Razick <siraj.razick@collabora.co.uk>
3459 [GTK] Update AcceleratedCompositingContextClutter to match AcceleratedCompositingContext.h API update
3460 https://bugs.webkit.org/show_bug.cgi?id=96165
3462 Reviewed by Martin Robinson.
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.
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):
3479 2012-09-11 Arnaud Renevier <a.renevier@sisa.samsung.com>
3481 [Gtk] allow building with css-shaders
3482 https://bugs.webkit.org/show_bug.cgi?id=95603
3484 Reviewed by Martin Robinson.
3486 Add enable-css-shaders property to WebKit WebSettings, and connects it
3487 to WebCore settings setCSSCustomFilterEnabled.
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):
3498 2012-09-09 Emil A Eklund <eae@chromium.org>
3500 Rename Node::getRect/getPixelSnappedRect and remove ContainerNode::getRect
3501 https://bugs.webkit.org/show_bug.cgi?id=81413
3503 Reviewed by David Hyatt.
3505 Update ChromeClientGtk and webkitwebview to call pixelSnappedBoundingBox.
3507 * WebCoreSupport/ChromeClientGtk.cpp:
3508 (WebKit::ChromeClient::mouseDidMoveOverElement):
3509 * webkit/webkitwebview.cpp:
3510 (getLocationForKeyboardGeneratedContextMenu):
3511 (webkit_web_view_query_tooltip):
3513 2012-09-07 Martin Robinson <mrobinson@igalia.com>
3515 [GTK] Move user agent helpers to WebCore
3516 https://bugs.webkit.org/show_bug.cgi?id=95745
3518 Reviewed by Carlos Garcia Campos.
3520 Move the code for determining the user agent to WebCore and have WebKit1
3521 use the new shared code.
3523 * webkit/webkitwebsettings.cpp: Use the WebCore code to determine the user
3526 2012-09-05 Sam Weinig <sam@webkit.org>
3528 Part 2 of removing PlatformString.h, remove PlatformString.h
3529 https://bugs.webkit.org/show_bug.cgi?id=95931
3531 Reviewed by Adam Barth.
3533 Remove PlatformString.h
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:
3544 2012-09-06 Carlos Garcia Campos <cgarcia@igalia.com>
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
3549 Reviewed by Martin Robinson.
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.
3555 * docs/webkitgtk-sections.txt: Add new symbols.
3556 * tests/testglobals.c:
3557 (test_globals_security_policy):
3559 * webkit/webkitglobals.cpp:
3560 (webkit_set_security_policy_for_uri_scheme):
3561 (webkit_get_security_policy_for_uri_scheme):
3562 * webkit/webkitglobals.h:
3564 2012-09-05 Kaustubh Atrawalkar <kaustubh@motorola.com>
3566 [DRT] LTC:: Move printing related APIs from LayoutTestController to Internals
3567 https://bugs.webkit.org/show_bug.cgi?id=92735
3569 Reviewed by Hajime Morita.
3571 Move numberOfPages, pageProperty & pageSizeAndMarginsInPixels in Internals and remove duplicated code from DumprenderTree & WebkitTestRunner.
3573 * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
3574 * WebCoreSupport/DumpRenderTreeSupportGtk.h: