1 2010-03-16 Xan Lopez <xlopez@igalia.com>
3 Reviewed by Gustavo Noronha.
5 Update for 1.1.90 release.
9 2010-03-16 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
11 Fix one too many empty lines in documentation of
12 window-obejct-cleared signal, which caused the documentation to be
13 rendered funny. Thanks to Martin Robinson for noticing.
15 * webkit/webkitwebview.cpp:
17 2010-03-16 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
19 Unreviewed. Add missing symbol to GeoLocation documentation
22 * docs/webkitgtk-sections.txt:
24 2010-03-16 Martin Robinson <mrobinson@webkit.org>
26 Reviewed by Xan Lopez.
28 can't input korean into lower all input box except adress input box in webkit gtk launcher
29 https://bugs.webkit.org/show_bug.cgi?id=32290
31 Make the GTK+ EditorClient properly handle different types of input module
32 behavior such as commit and preedit signals that happen outside of key event
33 filtering and multiple times in a row. Filter keyup events as well as keydown
34 events and call gtk_im_context_focus_{in/out} when the WebView focus changes.
36 Added tests for this behavior to the GTK+ unit tests.
38 * WebCoreSupport/EditorClientGtk.cpp:
39 (WebKit::imContextCommitted): Handle this signal properly when it happens outside of
41 (WebKit::imContextPreeditChanged): Immediately update the preedit state and do not reject
42 empty preedits, so that cancellation works properly.
43 (WebKit::EditorClient::updatePendingComposition): Add this method, which handles the
44 situation where a commit signal happens when there is still a pending commit.
45 (WebKit::EditorClient::shouldBeginEditing): Clear pending composition state before editing
47 (WebKit::EditorClient::shouldEndEditing): Clear pending composition state before editing ends.
48 (WebKit::EditorClient::handleKeyboardEvent): No longer special case preedits which happen during
49 key event filtering. When confirming a pending composition use insertText instead of confirmComposition.
50 (WebKit::EditorClient::handleInputMethodKeydown):
51 * WebCoreSupport/EditorClientGtk.h: Make pendingComposition a member, so that multiple WebViews
53 (WebKit::EditorClient::webView): Added.
54 (WebKit::EditorClient::treatContextCommitAsKeyEvent): Added.
55 (WebKit::EditorClient::clearPendingComposition): Added.
56 * tests/testkeyevents.c:
57 (test_keypress_events_load_status_cb):
59 (setup_keyevent_test):
60 (test_keypress_events):
61 (element_text_equal_to):
62 (test_ime_load_status_cb):
65 * webkit/webkitwebview.cpp:
66 (webkit_web_view_key_release_event):
67 (webkit_web_view_focus_in_event):
69 2010-03-16 Yury Semikhatsky <yurys@chromium.org>
71 Reviewed by Pavel Feldman.
73 Introduce InspectorFrontendClient that provides InspectorFrontend with an interface to the embedder. InspectorClient now serves as a delegate for InspectorController and does not contain methods for managing inspector frontend window. That allows to create remote InspectorFrontendHost.
75 Introduce InspectorFrontendClient that would provide InspectorFrontend with an interface to the embedder
76 https://bugs.webkit.org/show_bug.cgi?id=35036
78 * WebCoreSupport/InspectorClientGtk.cpp:
79 (WebKit::notifyWebViewDestroyed):
80 (WebKit::InspectorClient::InspectorClient):
81 (WebKit::InspectorClient::inspectorDestroyed):
82 (WebKit::InspectorClient::openInspectorFrontend):
83 (WebKit::InspectorClient::highlight):
84 (WebKit::InspectorClient::hideHighlight):
85 (WebKit::InspectorClient::populateSetting):
86 (WebKit::InspectorClient::storeSetting):
87 (WebKit::InspectorFrontendClient::InspectorFrontendClient):
88 (WebKit::InspectorFrontendClient::~InspectorFrontendClient):
89 (WebKit::InspectorFrontendClient::destroyInspectorWindow):
90 (WebKit::InspectorFrontendClient::localizedStringsURL):
91 (WebKit::InspectorFrontendClient::hiddenPanels):
92 (WebKit::InspectorFrontendClient::bringToFront):
93 (WebKit::InspectorFrontendClient::closeWindow):
94 (WebKit::InspectorFrontendClient::attachWindow):
95 (WebKit::InspectorFrontendClient::detachWindow):
96 (WebKit::InspectorFrontendClient::setAttachedWindowHeight):
97 (WebKit::InspectorFrontendClient::inspectedURLChanged):
98 * WebCoreSupport/InspectorClientGtk.h:
100 2010-03-15 Joanmarie Diggs <joanmarie.diggs@gmail.com>
102 Reviewed by Holger Freyther.
104 https://bugs.webkit.org/show_bug.cgi?id=35502
105 [Gtk] Objects of ATK_ROLE_TABLE should not implement AtkText
107 New test to be sure we do not accidentally implement AtkText for tables
110 (testWebkitAtkGetTextInTable):
113 2010-03-09 Philippe Normand <pnormand@igalia.com>
115 Reviewed by Holger Freyther.
117 [GTK] GTK_WIDGET_IS_SENSITIVE is deprecated in GTK+ 2.20
118 https://bugs.webkit.org/show_bug.cgi?id=35909
120 * webkit/webkitwebview.cpp: GTK_WIDGET_IS_SENSITIVE has been
121 deprecated in gtk 2.20. Use gtk_widget_is_sensitive when available.
123 2010-03-12 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
125 Rubber-stamped by Kenneth Rohde Christiansen.
127 Misc documentation fixes. Fixes (almost) all warnings emitted by
128 the documentation build process. Only the broken references to JSC
131 * webkit/webkitsecurityorigin.cpp:
132 * webkit/webkitwebbackforwardlist.cpp:
133 * webkit/webkitwebdatasource.cpp:
134 * webkit/webkitwebframe.cpp:
135 * webkit/webkitwebhistoryitem.cpp:
136 * webkit/webkitwebinspector.cpp:
137 (webkit_web_inspector_class_init):
138 * webkit/webkitwebsettings.cpp:
139 (webkit_web_settings_class_init):
140 * webkit/webkitwebview.cpp:
141 (DNDContentsRequest::webkit_web_view_class_init):
143 2010-03-11 Anders Carlsson <andersca@apple.com>
145 Reviewed by David Hyatt.
147 Remove invalidateContents, it isn't used and it never makes sense to only invalidate the contents.
149 * WebCoreSupport/ChromeClientGtk.cpp:
150 * WebCoreSupport/ChromeClientGtk.h:
152 2010-03-09 Philippe Normand <pnormand@igalia.com>
154 Reviewed by Gustavo Noronha Silva.
156 [GTK] testkeyevents doesn't stop if input event injection fails
157 https://bugs.webkit.org/show_bug.cgi?id=35922
159 * tests/testkeyevents.c:
160 (load_status_cb): Added a safeguard to exit from the test if the
161 input event injection failed.
163 2010-03-09 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
165 Unreviewed. Documentation control files update for 1.1.23.
167 * docs/webkitgtk-docs.sgml:
169 2010-03-08 Csaba Osztrogonác <ossy@webkit.org>
171 [GTK] Unreviewed buildfix after r55688.
173 * webkit/webkitdownload.cpp:
174 (webkit_download_start):
176 2010-03-02 Adam Treat <atreat@rim.com>
178 Reviewed by Dave Hyatt.
180 Adapt the gtk port to the refactoring of repaint methods.
182 https://bugs.webkit.org/show_bug.cgi?id=34214
184 * WebCoreSupport/ChromeClientGtk.cpp:
185 * WebCoreSupport/ChromeClientGtk.h:
187 2010-03-08 Eric Uhrhane <ericu@chromium.org>
189 Reviewed by David Levin.
191 Remove the now-redundant Settings fields for the Database
192 https://bugs.webkit.org/show_bug.cgi?id=35763
194 No new tests; this code isn't called.
196 * webkit/webkitwebview.cpp: Remove the calls into Settings.
197 (DNDContentsRequest::webkit_web_view_update_settings):
198 (DNDContentsRequest::webkit_web_view_settings_notify):
200 2010-03-06 Arno Renevier <arno@renevier.net>
202 Reviewed by Eric Seidel.
204 [Gtk] GEOLOCATION_POLICY_DECISION_CANCELLED unused
205 https://bugs.webkit.org/show_bug.cgi?id=35803
207 * webkit/webkitwebview.cpp:
208 (DNDContentsRequest::webkit_web_view_class_init):
210 2010-03-03 Antonio Gomes <tonikitoo@webkit.org>
212 Reviewed by Gustavo Noronha.
213 Patch by Antonio Gomes <tonikitoo@webkit.org>
215 [Gtk] Add 'enable-spatial-navigation' setting for toggle Spatial Navigation on/off
216 https://bugs.webkit.org/show_bug.cgi?id=35701
218 * webkit/webkitwebsettings.cpp:
219 (webkit_web_settings_class_init):
220 (webkit_web_settings_set_property):
221 (webkit_web_settings_get_property):
222 (webkit_web_settings_copy):
223 * webkit/webkitwebview.cpp:
224 (DNDContentsRequest::webkit_web_view_update_settings):
225 (DNDContentsRequest::webkit_web_view_settings_notify):
227 2010-03-03 Fridrich Strba <fridrich.strba@bluewin.ch>
229 Reviewed by Xan Lopez.
231 Miscellaneous little fixes for the windows build of webkit-gtk
232 https://bugs.webkit.org/show_bug.cgi?id=35640
234 * webkit/webkitdownload.cpp: Windows headers define ERROR
235 which breaks the build. Undef ERROR if it is defined.
237 2010-03-03 Philippe Normand <pnormand@igalia.com>
239 Unreviewed, build fix after r55452.
241 * webkit/webkitwebview.cpp:
242 (DNDContentsRequest::webkit_web_view_settings_notify): added missing braces.
244 2010-03-02 Eric Uhrhane <ericu@chromium.org>
246 Reviewed by David Levin.
248 Move database enable bit fully out of settings
249 This is stage one of a three-stage commit [webkit, then chromium, then
250 webkit again]. In this change I'm adding calls to
251 Database::setIsAvailable inside Settings::setDatabaseEnabled and
252 anywhere else that called it, and switching webkit fully over to using
253 that flag [added in a previous checkin]. Phase two will remove
254 Chromium's use of Settings for the Database, and phase three will remove
255 the Setting for the Database enable entirely, leaving only
256 Database::isAvailable/setIsAvailable.
258 No new tests; tested by existing storage tests.
260 https://bugs.webkit.org/show_bug.cgi?id=35310
262 * webkit/webkitwebview.cpp: Add calls to Database::setIsAvailable
263 (DNDContentsRequest::webkit_web_view_update_settings):
264 (DNDContentsRequest::webkit_web_view_settings_notify):
266 2010-03-02 Arno Renevier <arno@renevier.net>
268 Reviewed by Gustavo Noronha Silva.
270 [Gtk] implements ChromeClient::requestGeolocationPermissionForFrame
271 https://bugs.webkit.org/show_bug.cgi?id=35210
273 * WebCoreSupport/ChromeClientGtk.cpp:
274 * WebCoreSupport/ChromeClientGtk.h:
275 * docs/webkitgtk-sections.txt:
277 * webkit/webkitdefines.h:
278 * webkit/webkitgeolocationpolicydecision.cpp: Added.
279 (webkit_geolocation_policy_decision_class_init):
280 (webkit_geolocation_policy_decision_init):
281 (webkit_geolocation_policy_decision_new):
282 (webkit_geolocation_policy_allow):
283 (webkit_geolocation_policy_deny):
284 * webkit/webkitgeolocationpolicydecision.h: Added.
285 * webkit/webkitprivate.h:
286 * webkit/webkitwebview.cpp:
287 (DNDContentsRequest::webkit_web_view_class_init):
288 * webkitmarshal.list:
290 2010-03-01 José Millán Soto <jmillan@igalia.com>
292 Reviewed by Gustavo Noronha Silva.
294 [GTK] Right click does not activate text entry
295 https://bugs.webkit.org/show_bug.cgi?id=29177
297 Makes the frame handle the mouse click event before sending the
300 * webkit/webkitwebview.cpp:
301 (PopupMenuPositionFunc):
302 Function created to make the popup menu appear in the correct position, especially
303 when invoked from the keyboard.
304 (webkit_web_view_forward_context_menu_event):
305 Mouse click event is sent to frame before creating context menu,
306 PopupMenuPositionFunc used to determine the position where the menu should appear.
307 (webkit_web_view_popup_menu_handler):
308 Improved focused node position detection. Event button set to right button.
310 2010-03-01 Jakob Petsovits <jpetsovits@rim.com>
312 Reviewed by Adam Barth.
314 Adapt to the new ZoomMode enum.
315 https://bugs.webkit.org/show_bug.cgi?id=35347
317 * webkit/webkitwebview.cpp:
318 (DNDContentsRequest::webkit_web_view_apply_zoom_level):
320 2010-03-01 Kalle Vahlman <zuh@iki.fi>
322 Reviewed by Gustavo Noronha Silva.
324 Queue a resize when either of the content dimensions change
325 https://bugs.webkit.org/show_bug.cgi?id=35489
327 The check for size changes only queued a resize if both of the content
328 dimensions change, leaving the widget size out-of-sync if eg. only the
331 * WebCoreSupport/ChromeClientGtk.cpp:
333 2009-12-04 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
335 Reviewed by Xan Lopez.
337 [GTK] Needs proper reporting of frame loader callbacks, in DRT
338 https://bugs.webkit.org/show_bug.cgi?id=32170
340 Add new signal to report when the document load is finished for a
343 * WebCoreSupport/FrameLoaderClientGtk.cpp:
344 (WebKit::FrameLoaderClient::dispatchDidFinishDocumentLoad):
345 * webkit/webkitwebview.cpp:
346 (webkit_web_view_class_init):
348 2010-02-26 Antonio Gomes <tonikitoo@webkit.org>
350 Complementary commit of r55300. Missing "notify::" to signal name.
352 * tests/testwebview.c:
353 (test_webkit_web_view_grab_focus):
355 2010-02-26 Antonio Gomes <tonikitoo@webkit.org>
357 Reviewed by Xan Lopez.
358 Patch by Antonio Gomes <tonikitoo@webkit.org>
360 [GTK] Make webkit_web_view_grab_focus to active focus controller.
361 https://bugs.webkit.org/show_bug.cgi?id=35402
363 When programatically setting focus to an element in an inner document,
364 calling "hasFocus()" from this document returns FALSE, because
365 document's FocusController is not activated. It does not happen
366 if |document| is the main document.
368 Making webkit_web_view_grab_focus to actually activate the FocusController,
371 * tests/testwebview.c:
373 (test_webkit_web_view_grab_focus):
374 * webkit/webkitwebview.cpp:
375 (webkit_web_view_grab_focus):
377 2010-02-26 Alejandro G. Castro <alex@igalia.com>
381 Reverted last patch (r55295), it causes problems with the frames.
383 * WebCoreSupport/ChromeClientGtk.cpp:
385 2010-02-19 Alejandro G. Castro <alex@igalia.com>
387 Reviewed by Xan Lopez.
389 [GTK] Some region checks in scroll are not required
390 https://bugs.webkit.org/show_bug.cgi?id=35142
392 Removes some of the operations checking the moved and invalidated
393 regions when scrolling, it is done already in
394 gdk_window_move_region.
396 * WebCoreSupport/ChromeClientGtk.cpp:
398 2010-02-25 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
400 Reviewed by Xan Lopez.
402 [Gtk] crashed when destroying
403 https://bugs.webkit.org/show_bug.cgi?id=31271
405 NULL-check the page before relaying the focus out event, since
406 this might happen when destroying the widget without destroying
407 its parent, and we currently crash.
409 * tests/testwebview.c:
411 (test_webkit_web_view_destroy):
413 * webkit/webkitwebview.cpp:
414 (webkit_web_view_focus_in_event):
416 2010-02-24 Krzysztof Kotlenga <pocek@users.sf.net>
418 Reviewed by Gustavo Noronha Silva.
420 [Gtk] Creation of a WebkitWebView widget is very slow
421 https://bugs.webkit.org/show_bug.cgi?id=30032
423 * WebCoreSupport/EditorClientGtk.cpp:
424 (WebKit::EditorClient::ignoreWordInSpellDocument): Change 'langs' to 'dicts'
425 to reflect the fact that the list just holds Enchant dictionaries now.
426 (WebKit::EditorClient::learnWord): Ditto.
427 (WebKit::EditorClient::checkSpellingOfString): Ditto.
428 (WebKit::EditorClient::getGuessesForWord): Ditto.
429 * webkit/webkitprivate.h: Remove the now unused SpellLanguage struct.
430 * webkit/webkitwebsettings.cpp: Change function call to reflect new
431 webkit_web_settings_get_enchant_dicts name.
432 (get_enchant_broker): Add this method which returns the enchant broker singleton.
433 (free_spell_checking_language): The list contents have changed, so change
434 the way each element is freed.
435 (webkit_web_settings_finalize): Change to reflect 'spell_checking_languages_list'
436 to 'enchant_dicts' member name change.
437 (webkit_web_settings_set_property): Use the broker singleton here instead of making
438 a new one for each language. The Enchant dictionary is now the list payload.
439 (webkit_web_settings_copy): More name-change updates.
440 (webkit_web_settings_get_enchant_dicts): Ditto.
442 2010-02-23 Leandro Pereira <leandro@profusion.mobi>
444 Reviewed by Gustavo Noronha Silva.
446 Fixes references to GOwnPtr and GRefPtr so the GTK+ port builds
448 http://webkit.org/b/35084
450 * WebKit/gtk/webkit/webkitwebview.cpp:
452 2010-02-23 Shinichiro Hamaji <hamaji@chromium.org>
454 Reviewed by Eric Seidel.
456 [Gtk] Implement layoutTestController.numberOfPages
457 https://bugs.webkit.org/show_bug.cgi?id=35228
459 * webkit/webkitprivate.h:
460 * webkit/webkitwebframe.cpp:
461 (webkit_web_frame_number_of_pages):
463 2010-02-23 José Millán Soto <jmillan@igalia.com>
465 Reviewed by Xan Lopez.
467 [Gtk] Server message not shown on http authentication
468 https://bugs.webkit.org/show_bug.cgi?id=34219
470 * webkit/webkitsoupauthdialog.c:
472 Server message is displayed, messageLabel and message variables were
473 renamed to avoid confusion.
475 2010-02-23 Steve Block <steveblock@google.com>
477 Reviewed by Darin Adler.
479 Adds ChromeClient::cancelGeolocationPermissionRequestForFrame
480 https://bugs.webkit.org/show_bug.cgi?id=34962
482 This method is required so that a Geolocation object can cancel an
483 asynchronous permission request. This allows the chrome client to cancel
484 any UI it is showing for the permission request.
486 * WebCoreSupport/ChromeClientGtk.h:
487 (WebKit::ChromeClient::cancelGeolocationPermissionRequestForFrame):
489 2010-02-23 Xan Lopez <xlopez@igalia.com>
491 Reviewed by Gustavo Noronha.
493 Do not do unnecessary work during size_allocate.
495 FrameView::resize will already queue a layout, so there's no need
496 to force one ourselves. On top of that, the layout function
497 already adjusts the view size when needed, so there's no need to
498 do that manually either. No change in the layout tests or unit
501 * webkit/webkitwebview.cpp:
502 (webkit_web_view_size_allocate):
504 2010-02-22 Xan Lopez <xlopez@igalia.com>
506 Reviewed by Gustavo Noronha.
512 2010-02-22 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
514 Reviewed by Xan Lopez.
516 [Soup] loses information related to message flags when converting from/to Resource{Request,Response}
517 https://bugs.webkit.org/show_bug.cgi?id=35093
519 Update the flags that are stored in the request, when the response
522 * WebCoreSupport/FrameLoaderClientGtk.cpp:
523 (WebKit::FrameLoaderClient::dispatchDidReceiveResponse):
525 2010-02-20 Gustavo Noronha Silva <gns@gnome.org>
527 Unreviewed. Trivial fix - unnecessary variable got added by
530 * WebCoreSupport/FrameLoaderClientGtk.cpp:
531 (WebKit::FrameLoaderClient::dispatchDidReceiveResponse):
533 2010-02-18 Diego Escalante Urrelo <descalante@igalia.com>
535 Reviewed by Gustavo Noronha Silva.
537 [GTK] WebKitDownload documentation is incomplete
538 https://bugs.webkit.org/show_bug.cgi?id=35018
540 Concretely the error signal was undocumented. Also two relevant enums
543 * docs/webkitgtk-sections.txt:
544 * docs/webkitgtk.types:
545 * webkit/webkitdownload.cpp:
546 (webkit_download_class_init):
548 2010-02-17 Dmitry Titov <dimich@chromium.org>
550 Reviewed by David Levin, Darin Fisher, Simon Hausmann.
552 When a live iframe element is moved between pages, it still depends on the old page.
553 https://bugs.webkit.org/show_bug.cgi?id=34382
555 * WebCoreSupport/FrameLoaderClientGtk.cpp:
556 (WebKit::FrameLoaderClient::didTransferChildFrameToNewDocument):
557 Added empty implementation of a new virtual method.
559 * WebCoreSupport/FrameLoaderClientGtk.h:
561 2010-02-17 Kent Tamura <tkent@chromium.org>
563 Reviewed by Eric Seidel.
565 Introduces new Icon loading interface in order to support
566 asynchronous loading.
567 https://bugs.webkit.org/show_bug.cgi?id=32054
569 Add an empty implementation of ChromeClient::iconForFiles().
571 * WebCoreSupport/ChromeClientGtk.cpp:
572 (WebKit::ChromeClient::iconForFiles):
573 * WebCoreSupport/ChromeClientGtk.h:
575 2010-02-17 Xan Lopez <xlopez@igalia.com>
577 Reviewed by Gustavo Noronha.
579 Rename 'enable-java' setting to 'enable-java-applet', since it
580 only controls whether <applet> is supported or not instead of
581 whether all Java content is supported or not.
583 * webkit/webkitwebsettings.cpp:
584 (webkit_web_settings_class_init):
585 (webkit_web_settings_set_property):
586 (webkit_web_settings_get_property):
587 (webkit_web_settings_copy):
588 * webkit/webkitwebview.cpp:
589 (DNDContentsRequest::webkit_web_view_update_settings):
590 (DNDContentsRequest::webkit_web_view_settings_notify):
592 2010-02-17 Xan Lopez <xlopez@igalia.com>
594 Reviewed by Gustavo Noronha.
596 [Linux] Webkit incompatible with Java plugins
597 https://bugs.webkit.org/show_bug.cgi?id=24912
599 Implement FrameLoaderClient::createJavaAppletWidget.
601 * WebCoreSupport/FrameLoaderClientGtk.cpp:
602 (WebKit::FrameLoaderClient::createJavaAppletWidget):
604 2010-02-17 Xan Lopez <xlopez@igalia.com>
606 Reviewed by Gustavo Noronha.
608 [Linux] Webkit incompatible with Java plugins
609 https://bugs.webkit.org/show_bug.cgi?id=24912
611 Add a WebKitWebSetting to enable/disable the Java plugin support.
613 * webkit/webkitwebsettings.cpp:
614 (webkit_web_settings_class_init):
615 (webkit_web_settings_set_property):
616 (webkit_web_settings_get_property):
617 (webkit_web_settings_copy):
618 * webkit/webkitwebview.cpp:
619 (webkit_web_view_update_settings):
620 (webkit_web_view_settings_notify):
622 2010-02-17 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
624 Reviewed by Xan Lopez.
626 Test that data URIs that cause downloads to be started do not crash.
628 * tests/testdownload.c:
629 (mime_type_policy_decision_requested_cb):
631 (test_webkit_download_data):
634 2010-02-17 Philippe Normand <pnormand@igalia.com>
636 Reviewed by Xan Lopez.
638 Missing property warning after r54873
639 https://bugs.webkit.org/show_bug.cgi?id=35023
641 Add a new WebKitWebSettings setting, 'enable-file-access-from-file-uris', set to
642 FALSE by default, that when enabled will assign each file:// URI
643 their own security domain.
645 * webkit/webkitwebsettings.cpp:
646 (webkit_web_settings_class_init):
647 (webkit_web_settings_set_property):
648 (webkit_web_settings_get_property):
649 (webkit_web_settings_copy):
651 2010-02-16 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
653 Reviewed by Xan Lopez.
655 Check if the handle has a SoupMessage before trying to use
656 it. This will be the case in non-HTTP(S) URLs.
658 * webkit/webkitdownload.cpp:
659 (webkit_download_new_with_handle):
660 (webkit_download_start):
662 2010-02-16 Xan Lopez <xlopez@igalia.com>
664 Reviewed by Gustavo Noronha.
666 Add a new WebKitWebSettings setting, 'auto-resize-window', set to
667 FALSE by default, that when enabled will apply any resizes or
668 moves done by a page through various DOM methods (moveTo,
669 resizeTo, moveBy, resizeBy).
671 * WebCoreSupport/ChromeClientGtk.cpp:
672 * webkit/webkitwebsettings.cpp:
673 (webkit_web_settings_class_init):
674 (webkit_web_settings_set_property):
675 (webkit_web_settings_get_property):
676 (webkit_web_settings_copy):
678 2010-02-15 Emilio Pozuelo Monfort <pochu27@gmail.com>
680 Reviewed by Gustavo Noronha Silva.
682 [GTK] Fails to build on GNU/Hurd because of PATH_MAX usage
683 https://bugs.webkit.org/show_bug.cgi?id=34920
685 Use dynamic allocation instead of fixed PATH_MAX size buffers to
686 fix the build on GNU/Hurd, where PATH_MAX is undefined.
688 * tests/testmimehandling.c:
690 * tests/testwebview.c:
693 2010-02-14 Diego Escalante Urrelo <descalante@igalia.com>
695 Reviewed by Gustavo Noronha Silva.
697 [gtk] WebKitDownload's currentSize property is guint, should be guint64
698 https://bugs.webkit.org/show_bug.cgi?id=34829
700 Actually use a guint64 for current-size property in WebKitDownload, we
701 were using a guint which is likely the cause for wrong sizes for files
704 * webkit/webkitdownload.cpp:
706 2010-02-09 Gustavo Noronha Silva <gns@gnome.org>
708 Reviewed by Xan Lopez.
710 [GTK] Hits assertion on history back, with page cache enabled, in specific conditions
711 https://bugs.webkit.org/show_bug.cgi?id=34773
713 Make sure cached frames have their scrollbars disconnected from
714 the WebView's adjustments.
716 * WebCoreSupport/FrameLoaderClientGtk.cpp:
717 (WebKit::FrameLoaderClient::savePlatformDataToCachedFrame):
719 2010-02-09 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
721 Reviewed by Xan Lopez.
723 [GTK] Set GtkAdjustments on our FrameView when loading a page in the PageCache
724 https://bugs.webkit.org/show_bug.cgi?id=34754
726 Test that lower, and upper bounds are kept when goibg back with
727 page cache enabled, and disabled. Page cache behaviour is still a
728 bit broken (see FIXME).
730 * tests/testwebview.c:
733 (do_test_webkit_web_view_adjustments):
734 (test_webkit_web_view_adjustments):
737 2010-02-09 Xan Lopez <xlopez@igalia.com>
739 Reviewed by Gustavo Noronha.
741 [GTK] Set GtkAdjustments on our FrameView when loading a page in the PageCache
742 https://bugs.webkit.org/show_bug.cgi?id=34754
744 Set the Gtk Adjustments of the FrameViews when they are restored
745 from the PageCache too. Right we only do it for the newly created
746 FrameViews in transitionToCommittedForNewPage, but we it also
747 needs to be done in the equilavent transition method for cached
750 * WebCoreSupport/FrameLoaderClientGtk.cpp:
751 (WebKit::postCommitFrameViewSetup):
752 (WebKit::FrameLoaderClient::transitionToCommittedFromCachedFrame):
753 (WebKit::FrameLoaderClient::transitionToCommittedForNewPage):
755 2010-02-08 Xan Lopez <xlopez@igalia.com>
757 Reviewed by Gustavo Noronha.
759 [GTK] Implement FrameLoaderClient::hasWebView
760 https://bugs.webkit.org/show_bug.cgi?id=34682
762 Used for sanity-check ASSERTS in the FrameLoader code.
764 * WebCoreSupport/FrameLoaderClientGtk.cpp:
765 (WebKit::FrameLoaderClient::hasWebView):
767 2010-02-08 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
769 Reviewed by Xan Lopez.
775 2010-02-05 Shinichiro Hamaji <hamaji@chromium.org>
777 Reviewed by Gustavo Noronha Silva.
779 [Gtk] Implement layoutTestController.pageNumberForElementById
780 https://bugs.webkit.org/show_bug.cgi?id=34572
782 * webkit/webkitprivate.h:
783 * webkit/webkitwebframe.cpp:
784 (webkit_web_frame_page_number_for_element_by_id):
786 2010-02-04 Christian Dywan <christian@twotoasts.de>
788 Reviewed by Gustavo Noronha Silva.
790 [GTK] Add and cleanup return values of signals in view and frame
791 https://bugs.webkit.org/show_bug.cgi?id=33484
793 Add missing and cleanup return values of web frame and web view signals.
795 * webkit/webkitwebframe.cpp:
796 (webkit_web_frame_class_init):
797 * webkit/webkitwebview.cpp:
798 (DNDContentsRequest::webkit_web_view_class_init):
800 2010-02-02 Gustavo Noronha Silva <gns@gnome.org>
802 Reviewed by Xan Lopez.
804 Changes in 1.1.20, and documentation control files update.
807 * docs/webkitgtk-docs.sgml:
809 2010-02-02 Martin Robinson <martin.james.robinson@gmail.com>
811 Reviewed by Gustavo Noronha Silva.
813 [GTK] When selection changes selections in other WebView are not collapsed
814 https://bugs.webkit.org/show_bug.cgi?id=34043
816 Collapse the selection of a WebView even when the new selection owner is
819 * WebCoreSupport/PasteboardHelperGtk.cpp:
820 (WebKit::clearClipboardContentsCallback): Only clear the DataObject we are setting
821 is not the same as the one referenced in this callback. Use the same behavior for
822 collapsing the selection.
823 (WebKit::PasteboardHelperGtk::writeClipboardContents): Instead of recording a boolean
824 record the actual data used while writing to the clipboard.
826 2010-01-27 Martin Robinson <mrobinson@webkit.org>
828 Reviewed by Gustavo Noronha Silva.
830 [GTK] Expose the IM context via the API
831 https://bugs.webkit.org/show_bug.cgi?id=33327
833 Expose the GtkIMMultiContext as a property of WebKitWebView. This will
834 allow embedders to generate the input method context menu entries and
835 make testing certain IM context behavior possible.
837 * webkit/webkitwebview.cpp:
838 (webkit_web_view_get_property):
839 (DNDContentsRequest::webkit_web_view_get_im_context):
840 (DNDContentsRequest::webkit_web_view_class_init):
842 2010-01-19 Joanmarie Diggs <joanmarie.diggs@gmail.com>
844 Reviewed by Xan Lopez.
846 https://bugs.webkit.org/show_bug.cgi?id=30883
847 [Gtk] Implement AtkText for HTML elements which contain text
852 (testWebkitAtkGetTextInParagraphAndBodySimple):
853 (testWebkitAtkGetTextInParagraphAndBodyModerate):
856 2010-01-19 Gustavo Noronha Silva <gns@gnome.org>
858 Unreviewed. Changes to the test I forgot to make after a last
859 minute change before landing 53294 - this causes make distcheck to
862 * tests/testloading.c:
863 (load_error_status_changed_cb):
864 (test_loading_error):
866 2010-01-19 Gustavo Noronha Silva <gns@gnome.org>
868 Reviewed by Xan Lopez.
870 News items for 1.1.19.
874 2010-01-19 Gustavo Noronha Silva <gns@gnome.org>
876 Reviewed by Xan Lopez.
878 [GTK] More crashes related to the clipboard management
879 https://bugs.webkit.org/show_bug.cgi?id=33746
881 Pass the WebKitWebView object (which is a GObject, thus
882 ref-counted) to the clipboard functions instead of passing the
883 Page - this allows us to explicitely protect the object inbetween
884 the clipboard call and its callbacks, which fixes the crash.
886 * WebCoreSupport/EditorClientGtk.cpp:
887 (WebKit::EditorClient::respondToChangedSelection):
888 * WebCoreSupport/PasteboardHelperGtk.cpp:
889 (WebKit::getClipboardContentsCallback):
890 (WebKit::clearClipboardContentsCallback):
891 (WebKit::PasteboardHelperGtk::writeClipboardContents):
893 2010-01-15 Alejandro G. Castro <alex@igalia.com>
895 Reviewed by Xan Lopez.
897 Original patch by David Ronis <david.ronis@mcgill.ca>
899 Upgrade 1.1.17->1.1.18 fails: GTK_WIDGET_TOPLEVEL' was not declared in this scope
900 https://bugs.webkit.org/show_bug.cgi?id=33486
902 Deprecated symbols replaced for gtk+ versions over 2.18.
904 * WebCoreSupport/ChromeClientGtk.cpp:
905 (WebKit::ChromeClient::windowRect):
906 * webkit/webkitprivate.cpp:
907 (currentToplevelCallback):
908 * webkit/webkitwebframe.cpp:
909 (webkit_web_frame_print_full):
910 (webkit_web_frame_print):
911 * webkit/webkitwebview.cpp:
912 (webkit_web_view_focus_in_event):
914 2010-01-14 Gustavo Noronha Silva <gns@gnome.org>
916 Reviewed by Eric Seidel.
918 [GTK] Crashes cleaning clipboard contents, with page cache enabled
919 https://bugs.webkit.org/show_bug.cgi?id=32900
921 Null-check the focus controller to avoid crashing. Could not find
922 a way to reproduce this consistently, thus no test.
924 * WebCoreSupport/PasteboardHelperGtk.cpp:
925 (WebKit::clearClipboardContentsCallback):
927 2010-01-14 Gustavo Noronha Silva <gns@gnome.org>
929 Reviewed by Oliver Hunter.
931 [GTK] couple fixes for signal emissions, and property notifications
932 https://bugs.webkit.org/show_bug.cgi?id=33428
934 Do not emit signals and property notifications for error
935 pages. The notifications are not really useful for anything, you
936 can get them back by overriding the error pages, and it avoids a
939 * WebCoreSupport/FrameLoaderClientGtk.cpp:
940 (WebKit::FrameLoaderClient::FrameLoaderClient):
941 (WebKit::FrameLoaderClient::dispatchDidFinishLoad):
942 (WebKit::FrameLoaderClient::dispatchDidReceiveIcon):
943 (WebKit::FrameLoaderClient::dispatchDidStartProvisionalLoad):
944 (WebKit::FrameLoaderClient::dispatchDidReceiveTitle):
945 (WebKit::FrameLoaderClient::dispatchDidCommitLoad):
946 (WebKit::FrameLoaderClient::dispatchDidFirstVisuallyNonEmptyLayout):
947 (WebKit::FrameLoaderClient::dispatchDidFailLoad):
948 * WebCoreSupport/FrameLoaderClientGtk.h:
949 * tests/testloading.c:
950 (load_error_status_changed_cb):
951 (test_loading_error):
953 2010-01-14 Martin Robinson <martin.james.robinson@gmail.com>
955 Reviewed by Xan Lopez.
957 [GTK] Enable DOM clipboard and drag-and-drop access
958 https://bugs.webkit.org/show_bug.cgi?id=30623
960 Use DataObjectGtk when setting and clearing pasteboard data on
961 the GDK_SELECTION_PRIMARY clipboard.
963 * WebCoreSupport/EditorClientGtk.cpp:
964 (WebKit::EditorClient::respondToChangedSelection):
965 (WebKit::EditorClient::EditorClient):
966 * WebCoreSupport/EditorClientGtk.h:
967 * WebCoreSupport/PasteboardHelperGtk.cpp:
968 (WebKit::fillSelectionData):
969 (WebKit::targetListForDataObject):
970 (WebKit::getClipboardContentsCallback):
971 (WebKit::clearClipboardContentsCallback):
972 (WebKit::PasteboardHelperGtk::writeClipboardContents):
973 * WebCoreSupport/PasteboardHelperGtk.h:
975 2010-01-14 Alejandro G. Castro <alex@igalia.com>
977 Reviewed by Xan Lopez.
979 Review the tooltip implementation
980 https://bugs.webkit.org/show_bug.cgi?id=32819
982 Change the GTK tooltip implementation to avoid the workaround that
983 we are currently using. Now we use a new private API to set the
984 text and all the tooltip handling is done in the webview widget.
986 * WebCoreSupport/ChromeClientGtk.cpp:
987 * webkit/webkitprivate.h:
988 * webkit/webkitwebview.cpp:
989 (webkit_web_view_set_tooltip_text): Added, new private API.
990 (webkit_web_view_query_tooltip): Added
992 2010-01-09 Gustavo Noronha Silva <gns@gnome.org>
994 Reviewed by Xan Lopez.
996 [GTK] couple fixes for signal emissions, and property notifications
997 https://bugs.webkit.org/show_bug.cgi?id=33428
999 Fix commitedLoad being called where it should not, causing it to
1000 be called one time too many in some cases. We now match Qt's and
1001 Mac's behavior here.
1003 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1004 (WebKit::FrameLoaderClient::finishedLoading):
1005 * tests/testloading.c:
1006 (load_error_status_changed_cb):
1008 2010-01-08 Gustavo Noronha Silva <gns@gnome.org>
1010 Reviewed by Xan Lopez.
1012 [GTK] loading test should use SoupServer instead of actual sites
1013 https://bugs.webkit.org/show_bug.cgi?id=33353
1015 Make all the loading tests use SoupServer, instead of fetching
1016 stuff from the Internet.
1018 * tests/testloading.c:
1021 (test_loading_status):
1022 (test_loading_error):
1023 (test_loading_cancelled):
1024 (load_wentback_status_changed_cb):
1026 (test_loading_goback):
1029 2010-01-06 Joanmarie Diggs <joanmarie.diggs@gmail.com>
1031 Reviewed by Xan Lopez.
1033 https://bugs.webkit.org/show_bug.cgi?id=30883
1034 [Gtk] Implement AtkText for HTML elements which contain text
1037 (test_webkit_atk_get_text_at_offset):
1038 (test_webkit_atk_get_text_at_offset_forms):
1039 (test_webkit_atk_get_text_at_offset_newlines):
1041 2010-01-05 Gustavo Noronha Silva <gns@gnome.org>
1043 Updated docs for 1.1.18 release.
1045 * docs/webkitgtk-docs.sgml:
1046 * docs/webkitgtk-sections.txt:
1048 2010-01-05 Xan Lopez <xlopez@igalia.com>
1050 Update for 1.1.18 release.
1054 2010-01-04 Maciej Stachowiak <mjs@apple.com>
1056 Reviewed by Darin Fisher.
1058 Reorganize, document and rename OS() platform macros.
1059 https://bugs.webkit.org/show_bug.cgi?id=33198
1061 Adapt to name changes.
1063 * webkit/webkitwebsettings.cpp:
1064 (webkit_get_user_agent):
1066 2010-01-04 Maciej Stachowiak <mjs@apple.com>
1068 Reviewed by Adam Barth.
1070 Reorganize, document and rename CPU() platform macros.
1071 https://bugs.webkit.org/show_bug.cgi?id=33145
1073 * webkit/webkitwebsettings.cpp:
1074 (webkit_get_user_agent):
1076 2009-12-20 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
1078 Reviewed by Xan Lopez.
1080 Remove emission of signal that does not exist.
1082 * WebCoreSupport/InspectorClientGtk.cpp:
1083 (WebKit::InspectorClient::inspectorDestroyed):
1084 (WebKit::InspectorClient::webViewDestroyed):
1086 2009-12-20 Xan Lopez <xlopez@igalia.com>
1088 Reviewed by Gustavo Noronha.
1090 Unset the adjustments in our FrameView when detaching from
1091 parent. Fixes some crashers when transitioning to a new page from
1094 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1095 (WebKit::FrameLoaderClient::detachedFromParent2):
1097 2009-12-20 Xan Lopez <xlopez@igalia.com>
1099 Rubber-stamped by Gustavo Noronha.
1101 Disable the page cache by default since:
1103 - It was previously off by default.
1104 - There are still some issues when enabling it.
1106 * webkit/webkitwebsettings.cpp:
1107 (webkit_web_settings_class_init):
1109 2009-12-20 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
1111 Reviewed by Xan Lopez.
1113 Provides a new API to copy WebKitWebHistoryItem objects.
1115 * webkit/webkitwebhistoryitem.cpp:
1116 (webkit_web_history_item_copy):
1117 * webkit/webkitwebhistoryitem.h:
1119 2009-12-20 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
1121 Reviewed by Xan Lopez.
1123 Make sure we get the URI that is being loaded when updating
1124 WebKitWebFrame's knowledge of it. This was causing problems now
1125 that page cache is enabled.
1127 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1128 (WebKit::FrameLoaderClient::dispatchDidCommitLoad):
1129 * tests/testloading.c:
1130 (load_goback_status_changed_cb):
1131 (load_wentback_status_changed_cb):
1132 (test_loading_goback):
1135 2009-12-20 Alejandro G. Castro <alex@igalia.com>
1137 Reviewed by Xan Lopez.
1139 [GTK] Cache control APIs
1140 https://bugs.webkit.org/show_bug.cgi?id=24001
1142 Original patch by Bobby Powers <bobby@laptop.org>
1144 Added new API to specify cache models for GTK port.
1146 * webkit/webkitprivate.cpp:
1147 (webkit_init): set a default cache model.
1148 * webkit/webkitwebview.cpp:
1149 * webkit/webkitwebview.h:
1150 (webkit_set_cache_model): Added function.
1151 (webkit_get_cache_model): Added function.
1153 2009-12-20 Xan Lopez <xlopez@igalia.com>
1155 Revert the previous patch, it introduces some failures in the
1158 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1159 (WebKit::FrameLoaderClient::committedLoad):
1160 (WebKit::FrameLoaderClient::transitionToCommittedForNewPage):
1162 2009-12-20 Xan Lopez <xlopez@igalia.com>
1164 Reviewed by Gustavo Noronha.
1166 [GTK] crash when loading new page
1167 https://bugs.webkit.org/show_bug.cgi?id=32752
1169 Wait until the document is attached to adjust our alignments,
1170 since we need to make sure the FrameView in the document content
1171 render object matches the newly created FrameView for the new
1172 page, otherwise we'll try to relayout the wrong view.
1174 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1175 (WebKit::FrameLoaderClient::committedLoad):
1176 (WebKit::FrameLoaderClient::transitionToCommittedForNewPage):
1178 2009-12-20 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
1180 Reviewed by Xan Lopez.
1182 Create a new WebKitDataSource object when attaching to a frame, if
1183 one does not exist. This may happen when we are fetching data from
1186 * WebCoreSupport/DocumentLoaderGtk.cpp:
1187 (WebKit::DocumentLoader::attachToFrame):
1188 (WebKit::DocumentLoader::unrefDataSource):
1190 2009-12-20 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
1192 Rubber-stamped by Xan Lopez.
1194 Make sure the text encoding machinery is initialized from the main
1195 frame, before opening the icon database.
1197 * webkit/webkitprivate.cpp:
1200 2009-12-19 Alejandro G. Castro <alex@igalia.com>
1202 Reviewed by Xan Lopez.
1204 Fixed the problem when pasting in the same window with the
1205 middle-button, now we store a reference to the range instead of
1206 requesting it every time, and we do not release it until the
1207 clipboard is requested.
1208 https://bugs.webkit.org/show_bug.cgi?id=28153
1210 * WebKit/gtk/WebCoreSupport/EditorClientGtk.cpp:
1211 * WebKit/gtk/WebCoreSupport/EditorClientGtk.h:
1213 2009-12-19 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
1215 Reviewed by Xan Lopez.
1217 Protect download objects when reporting errors, to make sure the
1218 download stays alive between the status change notification, and
1219 the error signal emission.
1221 * webkit/webkitdownload.cpp:
1222 (webkit_download_error):
1224 2009-12-18 Xan Lopez <xlopez@igalia.com>
1226 Reviewed by Gustavo Noronha.
1228 Fix gtk-doc of webkit_web_resource_new.
1230 * webkit/webkitwebresource.cpp:
1232 2009-12-18 Adam Roben <aroben@apple.com>
1236 * webkit/webkitprivate.cpp: Added #include.
1238 2009-12-18 Kalle Vahlman <kalle.vahlman@movial.com> and Alejandro G. Castro <alex@igalia.com>
1240 Reviewed by Gustavo Noronha Silva.
1242 [GTK] Add enable-page-cache property to WebSettings for disabling the Page Cache
1244 * webkit/webkitwebsettings.cpp:
1245 (_WebKitWebSettingsPrivate::):
1246 (_WebKitWebSettingsPrivate::webkit_web_settings_class_init):
1247 (_WebKitWebSettingsPrivate::webkit_web_settings_set_property):
1248 (_WebKitWebSettingsPrivate::webkit_web_settings_get_property):
1249 (_WebKitWebSettingsPrivate::webkit_web_settings_copy):
1250 * webkit/webkitwebview.cpp:
1252 2009-12-17 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
1254 Reviewed by Xan Lopez.
1256 More make distcheck fixes. Use a more robust solution to making
1257 sure we are in the correct directory for running these tests.
1259 * tests/testmimehandling.c:
1261 * tests/testwebview.c:
1264 2009-12-17 Christian Dywan <christian@twotoasts.de>
1266 Reviewed by Gustavo Noronha Silva.
1268 [GTK] Don't assume downloads are always synchronous
1269 http://bugs.webkit.org/show_bug.cgi?id=32359
1271 * tests/testdownload.c:
1272 (download_requested_cb):
1274 (test_webkit_download_perform):
1275 (test_webkit_download_synch):
1276 (test_webkit_download_asynch):
1277 (main): Test downloads synchronously and asynchronously.
1278 * webkit/webkitwebview.cpp:
1279 (webkit_web_view_class_init):
1280 (webkit_web_view_request_download): Only try to start a requested
1281 download if the destination URI is set and clarify the documentation.
1283 2009-12-17 Christian Dywan <christian@twotoasts.de>
1285 Reviewed by Xan Lopez.
1287 Deprecate the title-changed signal of WebKitWebFrame.
1289 * webkit/webkitwebframe.cpp:
1290 (webkit_web_frame_class_init):
1292 2009-12-17 Martin Robinson <martin.james.robinson@gmail.com>
1294 Reviewed by Gustavo Noronha Silva.
1296 [GTK] WebKit GTK needs a wrapper for ref counted glib/gobject structs
1297 https://bugs.webkit.org/show_bug.cgi?id=21599
1299 Convert a use of GOwnPtr for a reference counted type to GRefPtr.
1301 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1302 (WebKit::FrameLoaderClient::createPlugin):
1304 2009-12-17 Evan Martin <evan@chromium.org>
1306 Reviewed by Xan Lopez.
1308 Expose the page workarounds ("quirks") setting to the GTK+ WebKit API.
1310 * webkit/webkitwebsettings.cpp:
1311 (webkit_web_settings_class_init):
1312 (webkit_web_settings_set_property):
1313 (webkit_web_settings_get_property):
1314 (webkit_web_settings_copy):
1315 * webkit/webkitwebview.cpp:
1316 (webkit_web_view_update_settings):
1318 2009-12-16 Dan Winship <danw@gnome.org>
1320 Reviewed by Gustavo Noronha Silva.
1322 Content-Encoding support
1324 https://bugs.webkit.org/show_bug.cgi?id=522772
1326 * webkit/webkitprivate.cpp:
1327 (webkit_init): add a SoupContentDecoder feature to the session
1329 2009-12-16 Christian Dywan <christian@twotoasts.de>
1331 Reviewed by Gustavo Noronha Silva.
1333 Deprecate the old loading signals load-started, load-committed,
1334 load-finished, load-progress-changed and change unit tests to use
1335 load-status instead.
1337 * tests/testmimehandling.c:
1338 (idle_quit_loop_cb):
1339 (test_mime_type): use notify::load-status
1340 * tests/testwebdatasource.c:
1341 (notify_load_status_unreachable_cb):
1342 (notify_load_status_cb):
1343 (test_webkit_web_data_source):
1344 (test_webkit_web_data_source_unreachable_uri): Remove uses of
1345 g_main_loop_is_running. It's an error if the loop is wrongly terminated.
1346 * tests/testwebresource.c:
1347 (notify_load_status_cb):
1348 (test_web_resource_loading):
1349 (notify_load_status_sub_cb):
1350 (test_web_resource_sub_resource_loading): use notify::load-status
1351 * tests/testwebview.c:
1352 (idle_quit_loop_cb):
1353 (test_webkit_web_view_icon_uri):
1354 * tests/testwindow.c:
1355 (notify_load_status_cb):
1356 (test_webkit_window_scrollbar_policy): use notify::load-status
1357 * webkit/webkitwebframe.cpp:
1358 (webkit_web_frame_class_init):
1359 * webkit/webkitwebview.cpp:
1360 (webkit_web_view_class_init): Deprecate old load signals.
1362 2009-12-16 Christian Dywan <christian@twotoasts.de>
1364 Reviewed by Gustavo Noronha Silva.
1366 Take into account favicon.ico in the webresource test.
1368 * tests/testwebresource.c:
1369 (test_web_resource_sub_resource_loading):
1371 2009-12-16 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
1373 Rubber-stamped by Xan Lopez.
1375 Add tab_key_cycles_through_elements to copies of
1378 * webkit/webkitwebsettings.cpp:
1379 (webkit_web_settings_copy):
1381 2009-12-16 Martin Robinson <martin.james.robinson@gmail.com>
1383 Reviewed by Gustavo Noronha Silva.
1385 [GTK] webkit_web_navigation_action_get_button() documentation
1386 https://bugs.webkit.org/show_bug.cgi?id=25555
1388 Small documentation improvement for webkit_web_navigation_action_get_button.
1390 * webkit/webkitwebnavigationaction.cpp:
1392 2009-12-13 Sam Weinig <sam@webkit.org>
1394 Reviewed by Dan Bernstein.
1396 Fix for https://bugs.webkit.org/show_bug.cgi?id=32499
1397 Add client based Geolocation provider
1399 Add first cut of a client based Geolocation provider. This is guarded by
1400 ENABLE(CLIENT_BASED_GEOLOCATION) and is off by default for now. This adds a
1401 GeolocationControllerClient interface that no-one currently implements,
1402 but will in a subsequent patch.
1404 * webkit/webkitwebview.cpp:
1405 (webkit_web_view_init):
1407 2009-12-14 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
1409 Reviewed by Xan Lopez.
1411 New setting to allow applications to completely suppress the
1412 default context menu that is generated by WebKit. This allows them
1413 to still pass the event to the default handler without needing to
1414 use ugly hacks such as handling populate-popup, and removing all
1415 the items from the default context menu.
1417 * webkit/webkitwebsettings.cpp:
1418 (webkit_web_settings_class_init):
1419 (webkit_web_settings_set_property):
1420 (webkit_web_settings_get_property):
1421 (webkit_web_settings_copy):
1422 * webkit/webkitwebview.cpp:
1423 (webkit_web_view_forward_context_menu_event):
1425 2009-12-13 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
1427 Reviewed by Xan Lopez.
1429 Also give the right click event to the frame's event handler, if
1430 there WebCore decides to not generate the default context
1431 menu. This fixes some pages that handle right-button clicks for
1432 things other than context menu creation.
1434 * webkit/webkitwebview.cpp:
1435 (webkit_web_view_forward_context_menu_event):
1437 2009-12-13 Christian Dywan <christian@twotoasts.de>
1439 Reviewed by Holger Freyther.
1441 http://bugs.webkit.org/show_bug.cgi?id=31014
1442 [Gtk] Build fails with gtk+-2.10 (no tested with older releases)
1444 Guard GTK+ 2.12 specific tooltip code with #ifdef.
1446 * WebCoreSupport/ChromeClientGtk.cpp:
1447 (WebKit::ChromeClient::mouseDidMoveOverElement):
1449 2009-12-11 Christian Dywan <christian@twotoasts.de>
1451 Reviewed by Eric Seidel.
1453 [GTK] Build with --disable-svg is broken
1454 http://bugs.webkit.org/show_bug.cgi?id=32361
1456 * webkit/webkitwebframe.cpp:
1457 (webkit_web_frame_pause_svg_animation): Fix ENABLE(SVG) guards.
1459 2009-12-10 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
1461 Reviewed by Xan Lopez.
1463 Add a missing null-check, that is causing some crash reports.
1465 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1466 (WebKit::FrameLoaderClient::committedLoad):
1468 2009-12-10 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
1470 Reviewed by Xan Lopez.
1472 [GTK] Should provide an API to control the IconDatabase
1473 https://bugs.webkit.org/show_bug.cgi?id=32334
1475 First step towards a full IconDatabase API. This provides
1476 notification for pages with favicons, and lets clients handle
1479 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1480 (WebKit::FrameLoaderClient::registerForIconNotification):
1481 (WebKit::FrameLoaderClient::dispatchDidReceiveIcon):
1482 * tests/resources/blank.ico: Added.
1483 * tests/testwebview.c: Added.
1485 (idle_quit_loop_cb):
1486 (icon_uri_changed_cb):
1488 (test_webkit_web_view_icon_uri):
1490 * webkit/webkitprivate.cpp:
1491 (closeIconDatabaseOnExit):
1493 * webkit/webkitprivate.h:
1494 * webkit/webkitwebview.cpp:
1495 (webkit_web_view_get_property):
1496 (webkit_web_view_finalize):
1497 (webkit_web_view_class_init):
1498 (webkit_web_view_get_icon_uri):
1499 * webkit/webkitwebview.h:
1501 2009-12-08 Christian Dywan <christian@twotoasts.de>
1503 Reviewed by Gustavo Noronha Silva.
1505 Point out the meaning of "Content-Disposition" when implementing the
1506 mime-type-policy-decision-requested signal.
1508 * webkit/webkitwebview.cpp:
1509 (webkit_web_view_class_init):
1511 2009-12-07 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
1513 Reviewed by Xan Lopez.
1515 [GTK] Doesn't respect Content-Disposition for downloads, and provides no way for apps to do that
1516 https://bugs.webkit.org/show_bug.cgi?id=32247
1518 Provide a way for applications to respect Content-Disposition, by
1519 fetching the WebKitNetworkResponse from the frame during
1520 mime-type-policy-decision-requested.
1522 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1523 (WebKit::FrameLoaderClient::dispatchDecidePolicyForMIMEType): Download
1524 content when Content-Disposition is attachment.
1525 * tests/testmimehandling.c:
1527 (mime_type_policy_decision_requested_cb):
1528 * tests/testwebframe.c:
1529 (test_webkit_web_frame_response):
1531 * webkit/webkitprivate.cpp:
1533 * webkit/webkitwebframe.cpp:
1534 (webkit_web_frame_get_network_response):
1535 * webkit/webkitwebframe.h:
1537 2009-12-07 Gyuyoung Kim <gyuyoung@gmail.com>
1539 Reviewed by Eric Seidel.
1541 https://bugs.webkit.org/show_bug.cgi?id=32024
1542 [GTK] WebKit does not compile without JAVASCRIPT_DEBUGGER
1544 Fix build errors when javascript-debugger is disabled on GTK
1546 * webkit/webkitwebinspector.cpp:
1547 (webkit_web_inspector_set_property):
1548 (webkit_web_inspector_get_property):
1550 2009-12-07 Joanmarie Diggs <joanmarie.diggs@gmail.com>
1552 Reviewed by Xan Lopez.
1554 https://bugs.webkit.org/show_bug.cgi?id=25415
1555 [GTK][ATK] Please implement support for get_text_at_offset
1557 Eliminate the segfaults which occur when accessing the text interface now
1558 implemented by text controls.
1561 (test_webkit_atk_get_text_at_offset_textarea):
1562 (test_webkit_atk_get_text_at_offset_text_input):
1565 2009-12-06 Gustavo Noronha Silva <gns@gnome.org>
1567 Reviewed by Xan Lopez.
1569 New test to make sure we do not regress this feature anymore. All
1570 test files were created by me.
1572 [GTK] REGRESSION: webkit thinks it can render PDFs
1573 https://bugs.webkit.org/show_bug.cgi?id=32183
1575 * tests/resources/test.html: Added.
1576 * tests/resources/test.ogg: Added.
1577 * tests/resources/test.pdf: Added.
1578 * tests/resources/test.txt: Added.
1579 * tests/testmimehandling.c: Added.
1581 (idle_quit_loop_cb):
1582 (mime_type_policy_decision_requested_cb):
1590 2009-12-05 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
1592 Reviewed by Xan Lopez.
1594 Use a better URI for the unreachable test. localhost:80 is very
1597 * tests/testwebdatasource.c:
1598 (load_finished_unreachable_cb):
1599 (test_webkit_web_data_source_unreachable_uri):
1601 2009-12-03 Brady Eidson <beidson@apple.com>
1603 Reviewed by Sam Weinig.
1605 <rdar://problem/7214236> and http://webkit.org/b/32052 - Implement HTML5 state object history API
1607 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1608 (WebKit::FrameLoaderClient::dispatchDidPushStateWithinPage):
1609 (WebKit::FrameLoaderClient::dispatchDidReplaceStateWithinPage):
1610 (WebKit::FrameLoaderClient::dispatchDidPopStateWithinPage):
1611 * WebCoreSupport/FrameLoaderClientGtk.h:
1613 2009-12-03 Pavel Feldman <pfeldman@dhcp-172-28-174-220.spb.corp.google.com>
1615 Reviewed by Timothy Hatcher.
1617 Web Inspector: Simplify the settings support in inspector controller.
1619 https://bugs.webkit.org/show_bug.cgi?id=32076
1621 * WebCoreSupport/InspectorClientGtk.cpp:
1622 (WebKit::InspectorClient::populateSetting):
1623 (WebKit::InspectorClient::storeSetting):
1624 * WebCoreSupport/InspectorClientGtk.h:
1626 2009-12-03 Ben Murdoch <benm@google.com>
1628 Reviewed by Brady Eidson.
1630 [Android] The FrameLoaderClient is unaware of BackForwardList changes.
1631 https://bugs.webkit.org/show_bug.cgi?id=31914
1633 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1634 (WebKit::FrameLoaderClient::dispatchDidAddBackForwardItem): Add an empty implementation. Method added to FrameLoaderClient by Android (see bug).
1635 (WebKit::FrameLoaderClient::dispatchDidRemoveBackForwardItem): ditto.
1636 (WebKit::FrameLoaderClient::dispatchDidChangeBackForwardIndex): ditto.
1637 * WebCoreSupport/FrameLoaderClientGtk.h:
1639 2009-12-01 Nikolas Zimmermann <nzimmermann@rim.com>
1641 Reviewed by Simon Fraser.
1643 Add SVG animation test framework with 'snapshot' functionality
1644 https://bugs.webkit.org/show_bug.cgi?id=31897
1646 Add API used by the new 'sampleSVGAnimationForElementAtTime' DRT method,
1647 forwarding the call to SVGDocumentExtensions, if SVG is enabled.
1649 Implemented just like the existing pauseAnimation* methods for CSS animations.
1651 * webkit/webkitprivate.h:
1652 * webkit/webkitwebframe.cpp:
1653 (webkit_web_frame_pause_svg_animation):
1655 2009-11-30 Xan Lopez <xlopez@igalia.com>
1657 Reviewed by Gustavo Noronha.
1659 Prepare for 1.1.17 release.
1662 * docs/webkitgtk-docs.sgml:
1663 * docs/webkitgtk-sections.txt:
1664 * webkit/webkitwebsettings.cpp:
1665 (webkit_web_settings_class_init):
1667 2009-11-26 Laszlo Gombos <laszlo.1.gombos@nokia.com>
1669 Reviewed by Oliver Hunt.
1671 Move GOwnPtr* from wtf to wtf/gtk
1672 https://bugs.webkit.org/show_bug.cgi?id=31793
1674 * webkit/webkitwebview.cpp: Change the path for GOwnPtr.h.
1676 2009-11-24 Joanmarie Diggs <joanmarie.diggs@gmail.com>
1678 Reviewed by Xan Lopez.
1680 https://bugs.webkit.org/show_bug.cgi?id=25415
1681 [GTK][ATK] Please implement support for get_text_at_offset
1683 When building up the pango layout from text boxes, only append a
1684 newline char after verifying there are no more boxes on this line.
1687 (test_webkit_atk_get_text_at_offset_newlines):
1690 2009-11-19 Pavel Feldman <pfeldman@chromium.org>
1692 Reviewed by Gustavo Noronha Silva.
1694 Web Inspector: Implement "show inspector" in WebKit GTK
1695 API and enable console tests.
1697 https://bugs.webkit.org/show_bug.cgi?id=31669
1699 * webkit/webkitwebinspector.cpp:
1700 (webkit_web_inspector_show):
1701 * webkit/webkitwebinspector.h:
1703 2009-11-18 Martin Robinson <martin.james.robinson@gmail.com>
1705 Reviewed by Gustavo Noronha.
1707 [GTK] Tab key does not cycle through elements by default
1708 https://bugs.webkit.org/show_bug.cgi?id=31505
1710 Properly localize documentation strings for the
1711 tab-key-cycles-through-elements property.
1713 * webkit/webkitwebsettings.cpp:
1714 (webkit_web_settings_class_init):
1716 2009-11-17 Martin Robinson <martin.james.robinson@gmail.com>
1718 Reviewed by Gustavo Noronha.
1720 [GTK] Tab key does not cycle through elements by default
1721 https://bugs.webkit.org/show_bug.cgi?id=31505
1723 Ensure that WebKitWebSettings tab-key-cycles-through-elements
1724 property is true by default with the G_PARAM_CONSTRUCT_FLAG.
1726 * webkit/webkitwebsettings.cpp:
1727 (webkit_web_settings_class_init):
1729 2009-11-18 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
1731 Reviewed by Xan Lopez.
1733 [GTK] Failing test media/video-document-types.html
1734 https://bugs.webkit.org/show_bug.cgi?id=31352
1736 Match what Mac has been doing since r36001: cancel the main load,
1737 and handle failures caused by 'will be handled by plugin' errors.
1739 Covered by test media/video-document-types.html
1741 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1742 (WebKit::FrameLoaderClient::committedLoad):
1743 (WebKit::FrameLoaderClient::shouldFallBack):
1745 2009-11-17 Pavel Feldman <pfeldman@chromium.org>
1747 Reviewed by Timothy Hatcher.
1749 Web Inspector: Make DRT show web inspector for tests in inspector/ folder.
1750 - Updated DRT to show/close inspector for all tests under /inspector
1751 - Introduced LayoutTestController::setTimelineProfilingEnabled and
1752 WebInspector::setTimelineProfilingEnabled beside setJavaScriptProfilingEnabled
1753 - Removed reload on each inspector test
1754 - Renamed fast/inspector to fast/inspector-support in order not to trigger
1755 inspector for those.
1756 - Reimplemented timeline tests in order to get rid of reload there.
1757 - Moved tests that don't require harness into the fast group.
1759 https://bugs.webkit.org/show_bug.cgi?id=31472
1761 * webkit/webkitwebinspector.cpp:
1762 (webkit_web_inspector_class_init):
1763 (webkit_web_inspector_set_property):
1764 (webkit_web_inspector_get_property):
1766 2009-11-13 Adam Roben <aroben@apple.com>
1768 Update for changes to FrameLoaderClient
1770 Fixes <http://webkit.org/b/31124> Tell the WebFrameLoadDelegate when
1771 window objects in isolated worlds are cleared
1773 Reviewed by Dave Hyatt.
1775 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1776 (WebKit::FrameLoaderClient::dispatchDidClearWindowObjectInWorld):
1777 * WebCoreSupport/FrameLoaderClientGtk.h:
1778 Replaced windowObjectCleared with this function. Does nothing if the
1779 passed-in world is not the mainThreadNormalWorld().
1781 2009-11-12 Shinichiro Hamaji <hamaji@chromium.org>
1783 Reviewed by Darin Adler.
1785 externalRepresentation should take Frame as the argument
1786 https://bugs.webkit.org/show_bug.cgi?id=31393
1788 No new tests as this is just a refactoring.
1790 * webkit/webkitwebframe.cpp:
1791 (webkit_web_frame_dump_render_tree):
1793 2009-11-11 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
1795 Reviewed by Holger Freyther.
1797 Should not print javascript console messages to stdout
1798 https://bugs.webkit.org/show_bug.cgi?id=31346
1800 * webkit/webkitwebview.cpp:
1801 (webkit_web_view_real_console_message): Print console messages to
1802 stderr instead, using the recommended method (a g_log variant).
1804 2009-11-11 Philippe Normand <pnormand@igalia.com>
1806 Reviewed by Xan Lopez.
1808 https://bugs.webkit.org/show_bug.cgi?id=30221
1809 [GTK] fails to load media embedded in iframe element
1811 The FrameLoader can show Media if the audio/video support is
1812 enabled at compile time.
1814 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1815 (WebKit::FrameLoaderClient::canShowMIMEType):
1817 2009-11-10 Martin Robinson <martin.james.robinson@gmail.com>
1819 Reviewed by Jan Alonzo.
1821 [GTK] Remove WebSocket configuration from WebKitWebSettings
1822 https://bugs.webkit.org/show_bug.cgi?id=31244
1824 Remove non-functional enable-web-sockets property from WebKitWebSettings.
1826 * webkit/webkitwebsettings.cpp:
1827 (webkit_web_settings_class_init):
1828 (webkit_web_settings_set_property):
1829 (webkit_web_settings_get_property):
1830 (webkit_web_settings_copy):
1832 2009-11-09 Martin Robinson <martin.james.robinson@gmail.com>
1834 Reviewed by Jan Alonzo.
1836 [GTK] Expose Page::tabKeyCyclesThroughElements in the API
1837 https://bugs.webkit.org/show_bug.cgi?id=30482
1839 Expose Page::tabKeyCyclesThroughElements as a property of
1842 * webkit/webkitwebsettings.cpp:
1843 (webkit_web_settings_class_init):
1844 (webkit_web_settings_set_property):
1845 (webkit_web_settings_get_property):
1846 * webkit/webkitwebview.cpp:
1847 (webkit_web_view_update_settings):
1848 (webkit_web_view_settings_notify):
1850 2009-11-04 Martin Robinson <martin.james.robinson@gmail.com>
1852 Reviewed by Jan Alonzo.
1854 [GTK] Enable DOM clipboard and drag-and-drop access
1855 https://bugs.webkit.org/show_bug.cgi?id=30623
1857 Move handling of target list to PasteboardHelperGtk.
1859 * WebCoreSupport/PasteboardHelperGtk.cpp:
1860 (WebKit::PasteboardHelperGtk::PasteboardHelperGtk):
1861 (WebKit::PasteboardHelperGtk::~PasteboardHelperGtk):
1862 (WebKit::PasteboardHelperGtk::fullTargetList):
1863 * WebCoreSupport/PasteboardHelperGtk.h:
1864 * webkit/webkitprivate.cpp:
1865 (WebKit::pasteboardHelperInstance):
1867 * webkit/webkitprivate.h:
1868 * webkit/webkitwebview.cpp:
1869 (webkit_web_view_dispose):
1870 (webkit_web_view_init):
1871 (webkit_web_view_get_copy_target_list):
1872 (webkit_web_view_get_paste_target_list):
1874 2009-10-30 Evan Stade <estade@chromium.org>
1876 Reviewed by David Levin.
1878 Notify the chrome when the focused node has changed.
1879 https://bugs.webkit.org/show_bug.cgi?id=30832
1881 Added stub implementation for new ChromeClient function.
1883 * WebCoreSupport/ChromeClientGtk.cpp:
1884 (WebKit::ChromeClient::focusedNodeChanged):
1885 * WebCoreSupport/ChromeClientGtk.h:
1887 2009-10-29 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
1889 Unreviewed. Trivial fix - move public API declaration into the
1890 public subsection of the doc.
1892 * docs/webkitgtk-sections.txt:
1894 2009-10-28 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
1896 Reviewed by Jan Alonzo.
1898 [GTK] API to start inspector for a WebView
1899 https://bugs.webkit.org/show_bug.cgi?id=22551
1901 Provide a simple, coordinates-based API to start the inspector.
1903 * WebCoreSupport/InspectorClientGtk.cpp:
1904 (WebKit::InspectorClient::createPage): Use files from the source
1905 tree when running from the top of the source directory.
1906 (WebKit::InspectorClient::localizedStringsURL): Ditto.
1907 * webkit/webkitprivate.h:
1908 * webkit/webkitwebinspector.cpp:
1909 (webkit_web_inspector_inspect_coordinates):
1910 (webkit_web_inspector_close):
1911 (webkit_web_inspector_execute_script):
1912 * webkit/webkitwebinspector.h:
1914 2009-10-27 Shinichiro Hamaji <hamaji@chromium.org>
1916 Reviewed by Darin Adler.
1918 Provide a way to get counter values with layoutTestContoller
1919 https://bugs.webkit.org/show_bug.cgi?id=30555
1921 * webkit/webkitprivate.h:
1922 * webkit/webkitwebframe.cpp:
1923 (webkit_web_frame_counter_value_for_element_by_id):
1925 2009-10-28 Joe Mason <jmason@rim.com>
1927 Reviewed by Adam Treat.
1929 Call the shared FrameLoader::defaultObjectContentType instead of
1930 copying code into FrameLoaderClient::objectContentType. This causes no
1933 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1934 (WebKit::FrameLoaderClient::objectContentType):
1936 2009-10-28 Xan Lopez <xlopez@igalia.com>
1938 Reviewed by Jan Alonzo.
1940 [Gtk] Extraneous object of ROLE_PANEL in hierarchy for entries
1941 https://bugs.webkit.org/show_bug.cgi?id=25897
1943 Update test to also check that entries implement the AtkText
1947 (run_get_text_tests):
1948 (test_webkit_atk_get_text_at_offset_forms):
1949 (test_webkit_atk_get_text_at_offset):
1952 2009-10-26 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
1954 Unreviewed. Update documentation control files for 1.1.16.
1956 * docs/webkitgtk-docs.sgml:
1957 * docs/webkitgtk-sections.txt:
1959 2009-10-26 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
1961 Reviewed by Xan Lopez.
1963 https://bugs.webkit.org/show_bug.cgi?id=30759
1964 [GTK] Should use WebKitNetworkResponse, and expose it
1966 WebKitDownload now uses our WebKitNetworkResponse instead of using
1967 ResourceResponse directly. By exposing the response, like we do
1968 with the request, we give our users the ability to look at the
1969 response headers, status code, and so on, through the SoupMessage
1972 * webkit/webkitdownload.cpp:
1973 (webkit_download_dispose):
1974 (webkit_download_finalize):
1975 (webkit_download_get_property):
1976 (webkit_download_set_property):
1977 (webkit_download_class_init):
1978 (webkit_download_get_network_response):
1979 (webkit_download_set_response):
1980 (webkit_download_get_total_size):
1981 (webkit_download_get_progress):
1982 (webkit_download_received_data):
1983 * webkit/webkitdownload.h:
1985 2009-10-26 Xan Lopez <xlopez@igalia.com>
1987 Reviewed by Gustavo Noronha.
1989 Update for 1.1.16 release.
1993 2009-10-22 Gavin Barraclough <barraclough@apple.com>
1995 Reviewed by NOBODY (build fix).
1996 Build fix following bug #30696.
1998 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1999 (WebKit::FrameLoaderClient::windowObjectCleared):
2000 * webkit/webkitwebframe.cpp:
2001 (webkit_web_frame_get_global_context):
2003 2009-10-22 Alejandro G. Castro <alex@igalia.com>
2005 Reviewed by Xan Lopez.
2007 m_webView should be private attribute of the EditorClientGtk.
2008 https://bugs.webkit.org/show_bug.cgi?id=30664
2010 * WebKit/gtk/WebCoreSupport/EditorClientGtk.h:
2012 2009-10-20 Fumitoshi Ukai <ukai@chromium.org>
2014 Reviewed by David Levin.
2016 Removed WebSocket runtime settings.
2017 https://bugs.webkit.org/show_bug.cgi?id=29896
2019 WebSocket runtime configuration is supported by chromium/v8 only.
2021 * webkit/webkitwebview.cpp:
2022 (webkit_web_view_update_settings):
2023 (webkit_web_view_settings_notify):
2025 2009-10-19 Jan Michael Alonzo <jmalonzo@webkit.org>
2027 Reviewed by Alexey Proskuryakov.
2029 [Gtk] ApplicationCacheStorage error while compiling WebKit/gtk/webkit/webkitapplicationcache.cpp
2030 https://bugs.webkit.org/show_bug.cgi?id=30358
2032 Guard calls to cacheStorage() with ENABLE(OFFLINE_WEB_APPLICATIONS).
2034 * webkit/webkitapplicationcache.cpp:
2036 2009-10-19 Zan Dobersek <zandobersek@gmail.com>
2038 Reviewed by Gustavo Noronha.
2040 Add a settings to allow DOM pastes to be performed.
2042 * webkit/webkitwebsettings.cpp:
2043 (webkit_web_settings_class_init):
2044 (webkit_web_settings_set_property):
2045 (webkit_web_settings_get_property):
2046 (webkit_web_settings_copy):
2047 * webkit/webkitwebview.cpp:
2048 (webkit_web_view_update_settings):
2049 (webkit_web_view_settings_notify):
2051 2009-10-19 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
2053 Unreviewed. Make WebKitHitTestResult actually appear in the
2054 documentation index.
2056 * docs/webkitgtk-docs.sgml:
2058 2009-10-15 Xan Lopez <xlopez@igalia.com>
2060 Reviewed by Gustavo Noronha.
2062 Protect WebSocket calls in case the feature is not compiled in.
2064 * webkit/webkitwebview.cpp:
2065 (webkit_web_view_update_settings):
2066 (webkit_web_view_settings_notify):
2068 2009-10-15 Zan Dobersek <zandobersek@gmail.com>
2070 Reviewed by Gustavo Noronha.
2072 Add a settings to enable support for experimental Web Sockets.
2073 Currently this comes in handy in layout tests.
2075 * webkit/webkitwebsettings.cpp:
2076 (webkit_web_settings_class_init):
2077 (webkit_web_settings_set_property):
2078 (webkit_web_settings_get_property):
2079 (webkit_web_settings_copy):
2080 * webkit/webkitwebview.cpp:
2081 (webkit_web_view_update_settings):
2082 (webkit_web_view_settings_notify):
2084 2009-10-15 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
2086 Reviewed by Xan Lopez.
2088 page transition may crash webkit
2089 https://bugs.webkit.org/show_bug.cgi?id=29890
2091 There are actually cases in which a resource may be asked using
2092 webkit_web_view_get_resource after a new load has already been
2093 started, so protect ourselves from crashes in this case.
2095 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2096 (WebKit::FrameLoaderClient::dispatchDidFinishLoading):
2097 * webkit/webkitwebview.cpp:
2098 (webkit_web_view_get_resource):
2100 2009-10-12 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
2102 Rubber-stamped by Xan Lopez.
2104 Remove unnecessary self-include.
2106 * webkit/webkitsecurityorigin.h:
2108 2009-10-12 Christian Dywan <christian@twotoasts.de>
2110 Reviewed by Gustavo Noronha.
2112 [GTK] Crash when right-clicking misspelled word
2113 https://bugs.webkit.org/show_bug.cgi?id=29772
2115 Make sure the dictionary exist before adding it to the list of
2118 * WebCoreSupport/EditorClientGtk.cpp:
2119 (WebKit::EditorClient::checkSpellingOfString):
2120 * webkit/webkitwebsettings.cpp:
2121 (webkit_web_settings_set_property):
2123 2009-10-08 Adam Barth <abarth@webkit.org>
2125 Reviewed by Eric Seidel.
2127 Move executeScript from FrameLoader to ScriptController
2128 https://bugs.webkit.org/show_bug.cgi?id=30200
2132 * webkit/webkitwebview.cpp:
2133 (webkit_web_view_execute_script):
2135 2009-10-07 Xan Lopez <xlopez@igalia.com>
2139 * webkit/webkitwebpolicydecision.cpp:
2140 (webkit_web_policy_decision_use):
2141 (webkit_web_policy_decision_ignore):
2142 (webkit_web_policy_decision_download):
2144 2009-10-07 Adam Barth <abarth@webkit.org>
2146 Reviewed by Darin Adler.
2148 Factor PolicyChecker out of FrameLoader
2149 https://bugs.webkit.org/show_bug.cgi?id=30155
2151 Move the policy callback to the policy object.
2153 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2154 (WebKit::FrameLoaderClient::dispatchWillSubmitForm):
2155 (WebKit::FrameLoaderClient::dispatchDecidePolicyForMIMEType):
2156 (WebKit::FrameLoaderClient::dispatchDecidePolicyForNewWindowAction):
2157 (WebKit::FrameLoaderClient::dispatchDecidePolicyForNavigationAction):
2159 2009-10-07 Martin Robinson <martin.james.robinson@gmail.com>
2161 [GTK] Segfault while testing fast/events/keydown-keypress-preventDefault.html
2162 https://bugs.webkit.org/show_bug.cgi?id=30121
2164 Clear previous preedit or pending composition before storing new ones.
2165 This can happen when a WebView receives a native keydown event without
2166 a matching keyup event or when preventDefault() is called on DOM keydown
2169 * WebCoreSupport/EditorClientGtk.cpp:
2170 (WebKit::setPendingComposition):
2171 (WebKit::setPendingPreedit):
2172 (WebKit::clearPendingIMData):
2173 (WebKit::imContextCommitted):
2174 (WebKit::imContextPreeditChanged):
2176 2009-10-06 Xan Lopez <xlopez@igalia.com>
2178 Reviewed by Eric Seidel.
2180 https://bugs.webkit.org/show_bug.cgi?id=25526
2181 [Gtk] Additional support is needed for caret browsing
2183 Remove special cases for caret browsing, they are now handled in
2184 cross-platform code.
2186 * WebCoreSupport/EditorClientGtk.cpp:
2187 (WebKit::EditorClient::handleKeyboardEvent):
2189 2009-10-06 Pavel Feldman <pfeldman@chromium.org>
2191 Reviewed by Timothy Hatcher.
2193 Web Inspector: close inspector client view on
2194 InspectorController::close API call.
2196 In order to run batch web inspector layout tests (and not affect
2197 subsequent tests) we should close inspector client's view upon
2198 InspectorController::close API call.
2200 https://bugs.webkit.org/show_bug.cgi?id=30009
2202 * WebCoreSupport/InspectorClientGtk.cpp:
2203 (WebKit::InspectorClient::createPage):
2205 2009-10-06 Alejandro G. Castro <alex@igalia.com>
2207 Reviewed by Xan Lopez.
2209 ASSERT executing the webhistory unittest in a debug build
2210 https://bugs.webkit.org/show_bug.cgi?id=28947
2212 We have to call g_object_new first to initialize webkit threading
2213 before creating the KURL.
2215 * WebKit/gtk/webkit/webkitwebhistoryitem.cpp:
2217 2009-10-06 José Millán Soto <fid@gpul.org>
2219 Reviewed by Xan Lopez.
2221 Header files of WebKitGTK do not comply with WebKit coding style (Patch attached)
2222 https://bugs.webkit.org/show_bug.cgi?id=30076
2224 Solves various issues in header files.
2226 * WebCoreSupport/DocumentLoaderGtk.h: Added "headed guards"
2227 * webkit/webkitdefines.h:
2228 * webkit/webkitdownload.h:
2229 * webkit/webkiterror.h:
2230 * webkit/webkithittestresult.h:
2231 * webkit/webkitnetworkrequest.h:
2232 * webkit/webkitnetworkresponse.h:
2233 * webkit/webkitprivate.h:
2234 * webkit/webkitsecurityorigin.h:
2235 * webkit/webkitsoupauthdialog.h:
2236 * webkit/webkitversion.h.in:
2237 * webkit/webkitwebbackforwardlist.h:
2238 * webkit/webkitwebdatabase.h:
2239 * webkit/webkitwebdatasource.h:
2240 * webkit/webkitwebframe.h:
2241 * webkit/webkitwebhistoryitem.h:
2242 * webkit/webkitwebinspector.h:
2243 * webkit/webkitwebnavigationaction.h:
2244 * webkit/webkitwebpolicydecision.h:
2245 * webkit/webkitwebresource.h:
2246 * webkit/webkitwebsettings.h:
2247 * webkit/webkitwebview.h:
2248 * webkit/webkitwebwindowfeatures.h:
2250 2009-10-03 Adam Barth <abarth@webkit.org>
2254 * webkit/webkitwebview.cpp:
2255 (webkit_web_view_go_back_or_forward):
2256 (webkit_web_view_can_go_back_or_forward):
2258 2009-10-03 Adam Barth <abarth@webkit.org>
2260 Unreviewed build fix.
2262 * webkit/webkitwebview.cpp:
2263 (webkit_web_view_go_back_or_forward):
2265 2009-10-03 Adam Barth <abarth@webkit.org>
2267 Reviewed by Sam Weinig.
2269 Factor PageController out of FrameLoader and Page
2270 https://bugs.webkit.org/show_bug.cgi?id=30037
2272 * webkit/webkitwebview.cpp:
2273 (webkit_web_view_can_go_back_or_forward):
2275 2009-10-01 Xan Lopez <xlopez@igalia.com>
2277 Reviewed by Gustavo Noronha.
2279 Set the type for the fake event, otherwise the test ASSERTs in
2282 * tests/testhittestresult.c:
2285 2009-10-01 Martin Robinson <martin.james.robinson@gmail.com>
2287 Reviewed by Xan Lopez.
2289 [GTK] GtkIMContext filtering interferes with DOM key events
2290 https://bugs.webkit.org/show_bug.cgi?id=28733
2292 Ensure that keyboard events filtered by the GtkIMContext still create
2293 the proper DOM events.
2295 * WebCoreSupport/EditorClientGtk.cpp:
2296 (WebKit::clearPendingIMData):
2297 (WebKit::imContextCommitted):
2298 (WebKit::imContextPreeditChanged):
2299 (WebKit::EditorClient::shouldBeginEditing):
2300 (WebKit::EditorClient::shouldEndEditing):
2301 (WebKit::interpretEditorCommandKeyEvent):
2302 (WebKit::handleCaretBrowsingKeyboardEvent):
2303 (WebKit::EditorClient::handleKeyboardEvent):
2304 (WebKit::EditorClient::handleInputMethodKeydown):
2305 * tests/testkeyevents.c: Added.
2307 (test_info_destroy):
2308 (key_event_fixture_setup):
2309 (key_event_fixture_teardown):
2310 (key_press_event_cb):
2311 (key_release_event_cb):
2317 2009-09-29 Xan Lopez <xlopez@igalia.com>
2319 Reviewed by Gustavo Noronha.
2321 Do not set a non-default parent window for child widgets. We are
2322 just doing the same than the default path does, and on top of that
2323 if the widget's window changes (for example, during DnD widgets
2324 are usually unrealized/realized) the child widget will we left
2325 pointing to a dead window.
2327 For examples of crashers caused by this see
2328 https://bugzilla.gnome.org/show_bug.cgi?id=596397 and
2329 https://bugzilla.gnome.org/show_bug.cgi?id=596398
2331 * webkit/webkitwebview.cpp:
2332 (webkit_web_view_container_add):
2334 2009-09-29 Xan Lopez <xlopez@igalia.com>
2336 Rubber-stamped by Eric Seidel.
2338 [Gtk] Crash when saving a password
2339 https://bugs.webkit.org/show_bug.cgi?id=28070
2341 Disconnect the 'got-headers' callback when we are done with
2342 it. The signal can be emitted more than once if the message is
2343 retransmitted, but each time that happens authData is created
2344 again and a new callback connected, so we have to get rid of the
2345 old one (which will crash because we free authData).
2347 * webkit/webkitsoupauthdialog.c:
2348 (save_password_callback):
2350 2009-09-25 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
2352 Reviewed by Xan Lopez.
2354 Pop down the context menu when the page transitions to committed,
2355 to avoid keeping a context menu out of context.
2357 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2358 (WebKit::FrameLoaderClient::transitionToCommittedForNewPage):
2359 * webkit/webkitprivate.h:
2360 * webkit/webkitwebview.cpp:
2362 (webkit_web_view_forward_context_menu_event):
2364 2009-09-24 Jon Honeycutt <jhoneycutt@apple.com>
2366 Reviewed by Alice Liu.
2368 * webkit/webkitwebview.cpp:
2369 (webkit_web_view_init):
2370 Pass 0 for new Page constructor argument.
2372 2009-09-24 Xan Lopez <xlopez@igalia.com>
2374 Reviewed by Gustavo Noronha and Jan Alonzo.
2375 [GTK] Add WEBKIT_LOAD_ERROR status
2376 https://bugs.webkit.org/show_bug.cgi?id=29644
2378 Add a new load-status enum value, WEBKIT_LOAD_FAILED, emitted when
2379 there's an error during the load process. This is needed if we
2380 want notify::load-status to be able to handle all situations,
2381 since WEBKIT_LOAD_FINISHED is not emitted when there's an error
2382 and we are lacking a notification of the load being stopped.
2384 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2385 (WebKit::FrameLoaderClient::dispatchDidFailLoad):
2386 * tests/testloading.c:
2387 (web_loading_fixture_setup):
2388 (load_error_status_changed_cb):
2390 (test_loading_error):
2391 (load_cancelled_cb):
2393 (load_cancelled_status_changed_cb):
2394 (test_loading_cancelled):
2396 * webkit/webkitwebframe.h:
2398 2009-09-24 Xan Lopez <xlopez@igalia.com>
2400 Revert r48697, since it broke key handling notification to GTK+.
2402 * WebCoreSupport/EditorClientGtk.cpp:
2403 (WebKit::imContextCommitted):
2404 (WebKit::imContextPreeditChanged):
2405 (WebKit::EditorClient::shouldBeginEditing):
2406 (WebKit::EditorClient::shouldEndEditing):
2407 (WebKit::interpretKeyEvent):
2408 (WebKit::handleEditingKeyboardEvent):
2409 (WebKit::EditorClient::handleKeyboardEvent):
2410 (WebKit::EditorClient::handleInputMethodKeydown):
2412 2009-09-23 Martin Robinson <martin.james.robinson@gmail.com>
2414 Reviewed by Xan Lopez.
2416 [GTK] REGRESSION: BitmapImage::getGdkPixbuf fails for non-square images
2417 https://bugs.webkit.org/show_bug.cgi?id=29654
2419 Ensure that even when GTKSimpleIMContext filters non-IME keystrokes,
2420 keyboard events are fired properly.
2422 * WebCoreSupport/EditorClientGtk.cpp:
2423 (WebKit::clearPendingIMData):
2424 (WebKit::imContextCommitted):
2425 (WebKit::imContextPreeditChanged):
2426 (WebKit::EditorClient::shouldBeginEditing):
2427 (WebKit::EditorClient::shouldEndEditing):
2428 (WebKit::interpretEditorCommandKeyEvent):
2429 (WebKit::handleCaretBrowsingKeyboardEvent):
2430 (WebKit::EditorClient::handleKeyboardEvent):
2431 (WebKit::EditorClient::handleInputMethodKeydown):
2433 2009-09-23 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
2435 Reviewed by Xan Lopez.
2437 [GTK] need to dump number of pending unload handlers
2438 https://bugs.webkit.org/show_bug.cgi?id=29685
2440 * webkit/webkitprivate.h:
2441 * webkit/webkitwebframe.cpp:
2442 (webkit_web_frame_get_pending_unload_event_count): New function to
2445 2009-09-23 Jan Michael Alonzo <jmalonzo@webkit.org>
2447 Reviewed by Xan Lopez.
2449 Minor reorganization to the patch landed in
2450 http://trac.webkit.org/changeset/48670. Also move JSCore-1.0.gir
2451 in the gtk directory as that's only useful to the Gtk port at the
2454 * JSCore-1.0.gir: Renamed from JSCore-1.0.gir.
2456 2009-09-22 Xan Lopez <xlopez@igalia.com>
2458 Reviewed by Jan Alonzo.
2460 Hardcode element positions at 0,0 so that we know where to
2461 generate events to test WebKitHitTestResult.
2463 * tests/testhittestresult.c:
2465 (test_webkit_hit_test_result):
2468 2009-09-22 Xan Lopez <xlopez@igalia.com>
2470 Reviewed by Jan Alonzo.
2472 [GTK] WebKitHitTestResult is completely broken in gmail
2473 https://bugs.webkit.org/show_bug.cgi?id=29527
2475 We need to use the main or focused frame when doing the coordinate
2476 transformation instead of always using the main frame.
2478 * webkit/webkitwebview.cpp:
2479 (webkit_web_view_get_hit_test_result):
2481 2009-09-21 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
2483 Update documentation control files to 1.1.15.
2485 * docs/webkitgtk-docs.sgml:
2486 * docs/webkitgtk-sections.txt:
2488 2009-09-21 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
2490 Unreviewed docs build fix. Current CFLAGS and LIBS variables no
2491 longer bring gthread in.
2493 * docs/GNUmakefile.am:
2495 2009-09-21 Xan Lopez <xlopez@igalia.com>
2497 Reviewed by Gustavo Noronha.
2503 2009-09-20 Xan Lopez <xlopez@igalia.com>
2505 Reviewed by Gustavo Noronha.
2507 Small documentation fix.
2509 * webkit/webkithittestresult.cpp:
2511 2009-09-18 Xan Lopez <xlopez@igalia.com>
2515 Add missing file to the repository.
2517 * tests/testhittestresult.c: Added.
2519 (test_info_destroy):
2520 (hit_test_result_fixture_setup):
2521 (hit_test_result_fixture_teardown):
2523 (test_webkit_hit_test_result):
2526 2009-09-18 Kenneth Rohde Christiansen <kenneth@webkit.org>
2528 [Gtk] Unreviewed build fix.
2530 * WebCoreSupport/ChromeClientGtk.cpp:
2531 (WebKit::ChromeClient::platformPageClient):
2533 2009-09-17 Kenneth Rohde Christiansen <kenneth@webkit.org>
2535 Reviewed by Simon Hausmann.
2537 Make PlatformWindow return something else than PlatformWidget
2538 https://bugs.webkit.org/show_bug.cgi?id=29085
2540 Reflect the rename of platformWindow and it's return type.
2542 * WebCoreSupport/ChromeClientGtk.cpp:
2543 (WebKit::ChromeClient::platformPageClient):
2544 (WebKit::ChromeClient::runOpenPanel):
2545 * WebCoreSupport/ChromeClientGtk.h:
2546 * webkit/webkitprivate.cpp:
2547 (currentToplevelCallback):
2548 * webkit/webkitwebview.cpp:
2549 (webkit_web_view_popup_menu_handler):
2551 2009-09-18 Xan Lopez <xlopez@igalia.com>
2553 Reviewed by Jan Alonzo.
2555 Document webkit_web_view_stop_loading.
2557 * webkit/webkitwebview.cpp:
2559 2009-09-18 Xan Lopez <xlopez@igalia.com>
2561 Reviewed by Gustavo Noronha and Jan Alonzo.
2563 [GTK] context menu overriding API is very limited
2564 https://bugs.webkit.org/show_bug.cgi?id=27546
2566 Add webkit_web_view_get_hit_test_result, a function to get a hit
2567 test result from a GdkEventButton. Useful to let applications
2568 decide between several actions on button press depending on what
2571 * webkit/webkitwebview.cpp:
2572 (webkit_web_view_stop_loading):
2573 (documentPointForWindowPoint):
2574 (webkit_web_view_get_hit_test_result):
2575 * webkit/webkitwebview.h:
2577 2009-09-18 Xan Lopez <xlopez@igalia.com>
2579 Reviewed by Gustavo Noronha and Jan Alonzo.
2581 [GTK] context menu overriding API is very limited
2582 https://bugs.webkit.org/show_bug.cgi?id=27546
2584 Add WebKitHitTestResult, a wrapper over HitTestResult. It contains
2585 context information about a point in the web page.
2588 * webkit/webkitdefines.h:
2589 * webkit/webkithittestresult.cpp: Added.
2590 (webkit_hit_test_result_finalize):
2591 (webkit_hit_test_result_get_property):
2592 (webkit_hit_test_result_set_property):
2593 (webkit_hit_test_result_class_init):
2594 (webkit_hit_test_result_init):
2595 * webkit/webkithittestresult.h: Added.
2596 * webkit/webkitprivate.cpp:
2598 * webkit/webkitprivate.h:
2600 2009-09-14 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
2602 Reviewed by Xan Lopez and Jan Alonzo.
2604 https://bugs.webkit.org/show_bug.cgi?id=29134
2605 [GTK] Add API to access sub resources
2607 Implement getting subresources, and improve testing of
2608 main, and sub resources loading.
2610 2009-09-11 Xan Lopez <xlopez@igalia.com>
2612 Reviewed by Jan Alonzo.
2614 [GTK] Use gtk_style_set_background instead of gdk_window_set_background
2615 https://bugs.webkit.org/show_bug.cgi?id=29173
2617 Use gtk_style_set_background instead of gdk_window_set_background,
2618 as suggested by the documentation. Also, use GTK_STATE_NORMAL
2619 directly, since that's the default state of a GtkWidget.
2621 * webkit/webkitwebview.cpp:
2622 (webkit_web_view_realize):
2624 2009-09-09 Zan Dobersek <zandobersek@gmail.com>
2626 Reviewed by Gustavo Noronha.
2628 [GTK] DumpRenderTree needs eventSender object and implementation
2629 https://bugs.webkit.org/show_bug.cgi?id=25990
2631 Creates a function that is accessible from the DumpRenderTree tool
2632 and calls the layout method on the frame view.
2634 * webkit/webkitprivate.h:
2635 * webkit/webkitwebframe.cpp:
2636 (webkit_web_frame_layout):
2638 2009-09-08 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
2640 Reviewed by Xan Lopez.
2642 https://bugs.webkit.org/show_bug.cgi?id=29044
2643 [GTK] Should update suggested-filename when the response is received
2645 Set suggested filename also when the response only comes after the
2646 download has started.
2648 * webkit/webkitdownload.cpp:
2649 (webkit_download_set_response):
2650 (webkit_download_set_suggested_filename):
2651 * webkit/webkitwebview.cpp:
2652 (webkit_web_view_request_download):
2654 2009-09-08 Priit Laes <plaes@plaes.org>
2656 Reviewed by Gustavo Noronha.
2658 Fix up erroneus 'Since: @version@' tags in documentation.
2660 * webkit/webkitwebdatasource.cpp:
2661 * webkit/webkitwebresource.cpp:
2662 (webkit_web_resource_class_init):
2663 * webkit/webkitwebsettings.cpp:
2664 (webkit_web_settings_class_init):
2665 * webkit/webkitwebview.cpp:
2666 (webkit_web_view_class_init):
2667 * webkit/webkitwebwindowfeatures.cpp:
2669 2009-09-07 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
2671 Link new objects documents in the main document.
2673 * docs/webkitgtk-docs.sgml:
2675 2009-09-07 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
2677 Documentation control files updated for 1.1.14.
2679 * docs/webkitgtk-docs.sgml:
2680 * docs/webkitgtk-sections.txt:
2682 2009-09-07 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
2684 What's new for 1.1.14.
2688 2009-09-07 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
2690 Rubber-stamped by Xan Lopez.
2692 Use g_return_if_fail to check for the SoupURI creation, instead of
2693 printing a custom warning.
2695 * webkit/webkitnetworkrequest.cpp:
2696 (webkit_network_request_set_uri):
2698 2009-09-07 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
2700 Reviewed by Xan Lopez.
2702 https://bugs.webkit.org/show_bug.cgi?id=26854
2703 [GTK] Needs API to allow more control over outgoing requests
2705 Map the willSendRequest delegate to the 'resource-request-starting'
2706 signal, allowing more control of the resources that are fetched.
2708 Mapping willSendRequest properly requires an appropriate Response
2709 object, so we are introducing WebKitNetworkResponse, which works in a
2710 way similar to WebKitNetworkRequest.
2712 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2713 (WebKit::FrameLoaderClient::dispatchWillSendRequest):
2714 (WebKit::FrameLoaderClient::assignIdentifierToInitialRequest):
2715 (WebKit::FrameLoaderClient::dispatchDidFinishLoading):
2716 (WebKit::FrameLoaderClient::dispatchDidFailLoading):
2717 * tests/testnetworkresponse.c: Added.
2718 (test_network_response_create_destroy):
2719 (test_network_response_properties):
2721 * tests/testwebresource.c:
2722 (resource_request_starting_cb):
2724 (test_web_resource_loading):
2727 * webkit/webkitdefines.h:
2728 * webkit/webkitnetworkrequest.cpp:
2729 * webkit/webkitnetworkresponse.cpp: Added.
2730 (webkit_network_response_dispose):
2731 (webkit_network_response_finalize):
2732 (webkit_network_response_get_property):
2733 (webkit_network_response_set_property):
2734 (webkit_network_response_class_init):
2735 (webkit_network_response_init):
2736 (webkit_network_response_new_with_core_response):
2737 (webkit_network_response_new):
2738 (webkit_network_response_set_uri):
2739 (webkit_network_response_get_uri):
2740 (webkit_network_response_get_message):
2741 * webkit/webkitnetworkresponse.h: Added.
2742 * webkit/webkitprivate.cpp:
2744 (WTF::WebKitNetworkRequest):
2745 (WTF::WebKitNetworkResponse):
2746 (WTF::WebKitWebResource):
2747 * webkit/webkitprivate.h:
2748 * webkit/webkitwebresource.cpp:
2749 (webkit_web_resource_cleanup):
2750 (webkit_web_resource_finalize):
2751 (webkit_web_resource_class_init):
2752 (webkit_web_resource_set_property):
2753 (webkit_web_resource_get_uri):
2754 * webkit/webkitwebview.cpp:
2755 (webkit_web_view_class_init):
2756 * webkitmarshal.list:
2758 2009-09-07 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
2760 Reviewed by Jan Alonzo.
2762 https://bugs.webkit.org/show_bug.cgi?id=28979
2763 [GTK] Misc improvments to NetworkRequest
2765 Unref message in dispose, as it should be, not in finalize.
2767 * webkit/webkitnetworkrequest.cpp:
2768 (webkit_network_request_dispose):
2769 (webkit_network_request_finalize):
2770 (webkit_network_request_class_init):
2772 2009-09-07 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
2774 Reviewed by Jan Alonzo.
2776 https://bugs.webkit.org/show_bug.cgi?id=28979
2777 [GTK] Misc improvments to NetworkRequest
2779 Bring documentation up-to-date with reality regarding NetworkRequest.
2781 * webkit/webkitnetworkrequest.cpp:
2783 2009-09-07 Xan Lopez <xlopez@igalia.com>
2785 Reviewed by Gustavo Noronha.
2787 Make the auth dialog usable when libsoup does not have a
2788 SoupPasswordManager, since it might go away in the next
2791 * webkit/webkitsoupauthdialog.c:
2792 (response_callback):
2793 (session_can_save_passwords):
2794 (session_authenticate):
2795 2009-09-06 Xan Lopez <xlopez@igalia.com>
2797 Reviewed by Gustavo Noronha.
2799 Update the unitests to latest changes wrt scrollbar policy.
2801 * tests/testwindow.c:
2802 (test_webkit_window_scrollbar_policy):
2804 2009-09-06 Martin Robinson <martin.james.robinson@gmail.com>
2806 Reviewed by Gustavo Noronha, Jan Alonzo and Xan Lopez.
2808 [Gtk] Expose a database API
2809 https://bugs.webkit.org/show_bug.cgi?id=27899
2811 Expose an HTML5 database API for GTK+.
2813 * WebCoreSupport/ChromeClientGtk.cpp:
2814 (WebKit::ChromeClient::print):
2816 * webkit/webkitdefines.h:
2817 * webkit/webkitprivate.cpp:
2819 * webkit/webkitprivate.h:
2820 * webkit/webkitsecurityorigin.cpp: Added.
2821 (webkit_security_origin_finalize):
2822 (webkit_security_origin_dispose):
2823 (webkit_security_origin_set_property):
2824 (webkit_security_origin_get_property):
2825 (webkit_security_origins):
2826 (webkit_security_origin_class_init):
2827 (webkit_security_origin_init):
2828 (webkit_security_origin_get_protocol):
2829 (webkit_security_origin_get_host):
2830 (webkit_security_origin_get_port):
2831 (webkit_security_origin_get_web_database_usage):
2832 (webkit_security_origin_get_web_database_quota):
2833 (webkit_security_origin_set_web_database_quota):
2834 (webkit_security_origin_get_all_web_databases):
2837 (webkit_security_origin_get_web_database):
2838 * webkit/webkitsecurityorigin.h: Added.
2839 * webkit/webkitwebdatabase.cpp: Added.
2840 (webkit_web_database_finalize):
2841 (webkit_web_database_dispose):
2842 (webkit_web_database_set_property):
2843 (webkit_web_database_get_property):
2844 (webkit_web_database_class_init):
2845 (webkit_web_database_init):
2846 (webkit_web_database_set_security_origin):
2847 (webkit_web_database_set_name):
2848 (webkit_web_database_get_security_origin):
2849 (webkit_web_database_get_name):
2850 (webkit_web_database_get_display_name):
2851 (webkit_web_database_get_expected_size):
2852 (webkit_web_database_get_size):
2853 (webkit_web_database_get_filename):
2854 (webkit_web_database_remove):
2855 (webkit_remove_all_web_databases):
2856 (webkit_get_web_database_directory_path):
2857 (webkit_set_web_database_directory_path):
2858 (webkit_get_default_web_database_quota):
2859 * webkit/webkitwebdatabase.h: Added.
2860 * webkit/webkitwebframe.cpp:
2861 (webkit_web_frame_new):
2862 (webkit_web_frame_get_focused_accessible_element):
2863 (webkit_web_frame_get_horizontal_scrollbar_policy):
2864 * webkit/webkitwebframe.h:
2865 * webkit/webkitwebview.cpp:
2866 (webkit_web_view_class_init):
2868 2009-09-03 Adam Barth <abarth@webkit.org>
2870 Reviewed by eric@webkit.org.
2872 https://bugs.webkit.org/show_bug.cgi?id=24696
2874 Stub implementations of mixed content methods of FrameLoaderClient.
2876 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2877 (WebKit::FrameLoaderClient::didDisplayInsecureContent):
2878 (WebKit::FrameLoaderClient::didRunInsecureContent):
2879 * WebCoreSupport/FrameLoaderClientGtk.h:
2881 2009-09-03 Xan Lopez <xlopez@igalia.com>
2883 Reviewed by Gustavo Noronha.
2885 Access private member variables directly instead of using the
2888 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2889 (WebKit::FrameLoaderClient::createFrame):
2890 (WebKit::FrameLoaderClient::windowObjectCleared):
2892 2009-09-03 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
2894 Reviewed by Xan Lopez.
2896 Remove bogus asserts that break Debug builds at runtime.
2898 * WebCoreSupport/DocumentLoaderGtk.cpp:
2899 (WebKit::DocumentLoader::detachFromFrame):
2900 (WebKit::DocumentLoader::decreaseLoadCount):
2902 2009-09-02 Jan Michael Alonzo <jmalonzo@webkit.org>
2904 Reviewed by Xan Lopez and Gustavo Noronha.
2906 [Gtk] Implement a WebDataSource for the gtk port
2907 https://bugs.webkit.org/show_bug.cgi?id=24758
2909 Add data source API getters to WebKitWebFrame.
2910 Also add WebKitWebDataSource unit test.
2912 * tests/testwebdatasource.c: Added.
2913 * webkit/webkitwebframe.cpp:
2914 * webkit/webkitwebframe.h:
2916 2009-09-02 Jan Michael Alonzo <jmalonzo@webkit.org>
2918 Reviewed by Xan Lopez and Gustavo Noronha.
2920 [Gtk] Implement a WebDataSource for the gtk port
2921 https://bugs.webkit.org/show_bug.cgi?id=24758
2923 Subclass DocumentLoader for Gtk and implement it under the WebKit
2924 namespace. Add WebKitWebDataSource implementation that closely
2925 follows the mac implementation of the API.
2927 * WebCoreSupport/DocumentLoaderGtk.cpp: Added.
2928 * WebCoreSupport/DocumentLoaderGtk.h: Added.
2929 * webkit/webkitwebdatasource.cpp: Added.
2930 * webkit/webkitwebdatasource.h: Added.
2932 2009-09-01 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
2934 Reviewed by Xan Lopez.
2936 Avoid causing unexpected issues with window sizing when sites
2937 disable scrollbars completely.
2939 * WebCoreSupport/ChromeClientGtk.cpp:
2940 (WebKit::ChromeClient::scrollbarsModeDidChange):
2941 * tests/testwindow.c:
2942 (test_webkit_window_scrollbar_policy):
2943 * webkit/webkitwebframe.cpp:
2944 (webkit_web_frame_class_init):
2946 2009-09-01 Jan Michael Alonzo <jmalonzo@webkit.org>
2948 Reviewed by Xan Lopez and Gustavo Noronha.
2950 [Gtk] Implement a WebDataSource for the gtk port
2951 https://bugs.webkit.org/show_bug.cgi?id=24758
2953 Implement WebKitWebResource for the resource-related API for
2954 WebKitWebDataSource.
2958 2009-09-01 Xan Lopez <xlopez@igalia.com>
2960 Reviewed by Jan Alonzo.
2962 https://bugs.webkit.org/show_bug.cgi?id=28842
2963 [GTK] Do not emit extra FINISHED load-status signals
2965 Do not emit FINISHED load-status signals on our own, just rely on
2966 WebCore for that. Avoids emitting FINISHED several times when we
2969 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2970 (WebKit::FrameLoaderClient::dispatchDidFailProvisionalLoad):
2971 (WebKit::FrameLoaderClient::dispatchDidFailLoad):
2972 * tests/testloading.c:
2973 (web_loading_fixture_setup):
2974 (web_loading_fixture_teardown):
2976 (status_changed_cb):
2977 (test_loading_status):
2978 (load_error_status_changed_cb):
2980 (test_loading_error):
2982 * webkit/webkitwebframe.h:
2984 2009-08-31 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
2986 Reviewed by Alexey Proskuryakov.
2988 https://bugs.webkit.org/show_bug.cgi?id=28466
2989 When downloading a file, two GET requests are sent to the HTTP server
2991 Support reusing a connection that is already ongoing, instead of
2992 cancelling the connection and creating another.
2994 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2995 (WebKit::FrameLoaderClient::download):
2996 * webkit/webkitdownload.cpp:
2997 (webkit_download_new_with_handle):
2998 (webkit_download_start):
2999 * webkit/webkitprivate.h:
3000 * webkit/webkitwebview.cpp:
3001 (webkit_web_view_request_download):
3003 2009-08-31 Alexey Proskuryakov <ap@apple.com>
3007 This is also a behavior fix, at least on debug builds - a caller of
3008 webkit_web_history_item_new_with_data() could pass an URL that could cause an assertion
3011 * webkit/webkitwebhistoryitem.cpp: (webkit_web_history_item_new_with_data): Pass a null
3012 KURL as base to parse properly.
3014 2009-08-28 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
3016 Reviewed by Holger Freyther.
3018 https://bugs.webkit.org/show_bug.cgi?id=25889
3019 [GTK] scrollbar policy for main frame is not implementable
3021 Add properties and a signal to report scrollbar policy changes to
3022 client code, and a default handler that does the right thing when
3023 using GtkScrolledWindow.
3025 * WebCoreSupport/ChromeClientGtk.cpp:
3026 (WebKit::ChromeClient::scrollbarsModeDidChange):
3027 * WebCoreSupport/ChromeClientGtk.h:
3028 * webkit/webkitwebframe.cpp:
3029 (webkit_web_frame_get_property):
3030 (webkit_web_frame_class_init):
3031 (webkit_web_frame_get_horizontal_scrollbar_policy):
3032 (webkit_web_frame_get_vertical_scrollbar_policy):
3033 * webkit/webkitwebframe.h:
3034 * tests/testwindow.c: Added.
3036 (test_webkit_window_scrollbar_policy):
3039 2009-08-28 Jan Michael Alonzo <jmalonzo@webkit.org>
3041 Reviewed by Gustavo Noronha and Xan Lopez.
3043 [Gtk] Add view source mode API
3044 https://bugs.webkit.org/show_bug.cgi?id=28805
3046 Implement setter and getter for "view source" mode.
3048 * webkit/webkitwebview.cpp:
3049 (webkit_web_view_set_view_source_mode):
3050 (webkit_web_frame_get_view_source_mode):
3051 * webkit/webkitwebview.h:
3053 2009-08-26 Xan Lopez <xlopez@igalia.com>
3055 Reviewed by Gustavo Noronha.
3057 https://bugs.webkit.org/show_bug.cgi?id=28738
3058 Expose undo/redo functionality in WebKitWebView
3060 Expose undo/redo functionality in WebKitWebView, keeping the
3061 default bindings as they were.
3063 * WebCoreSupport/EditorClientGtk.cpp:
3065 * webkit/webkitwebview.cpp:
3066 (webkit_web_view_real_undo):
3067 (webkit_web_view_real_redo):
3068 (webkit_web_view_class_init):
3069 (webkit_web_view_can_undo):
3070 (webkit_web_view_undo):
3071 (webkit_web_view_can_redo):
3072 (webkit_web_view_redo):
3073 * webkit/webkitwebview.h:
3075 2009-08-24 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
3077 Reviewed by Xan Lopez.
3079 News about the 1.1.13 release.
3083 2009-08-24 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
3085 Reviewed by Xan Lopez.
3087 Add new symbols, and an index of new symbols for the 1.1.13
3090 * docs/webkitgtk-docs.sgml:
3091 * docs/webkitgtk-sections.txt:
3093 2009-08-23 Xan Lopez <xlopez@igalia.com>
3095 Reviewed by Gustavo Noronha.
3097 Fix a couple of typos.
3099 * webkit/webkitwebsettings.cpp:
3100 (webkit_web_settings_class_init):
3102 2009-08-23 Xan Lopez <xlopez@igalia.com>
3104 Reviewed by Gustavo Noronha.
3106 Update editing-behavior property here too.
3108 * webkit/webkitwebview.cpp:
3109 (webkit_web_view_settings_notify):
3111 2009-08-23 Jan Michael Alonzo <jmalonzo@webkit.org>
3113 Rubberstamped by Gustavo Noronha.
3115 Fix regressions introduced by http://trac.webkit.org/changeset/47690.
3117 Update the setting whenever the property gets set.
3119 * webkit/webkitwebview.cpp:
3120 (webkit_web_view_settings_notify):
3122 2009-08-23 Jan Michael Alonzo <jmalonzo@webkit.org>
3124 Reviewed by Xan Lopez.
3126 [Gtk] API for disabling local file access to web URLs
3127 https://bugs.webkit.org/show_bug.cgi?id=28663
3129 Add a setting to enable or disable file access to web URLs. It's
3130 disabled by default for security reasons.
3132 * webkit/webkitwebsettings.cpp:
3133 (webkit_web_settings_class_init):
3134 (webkit_web_settings_set_property):
3135 (webkit_web_settings_get_property):
3136 (webkit_web_settings_copy):
3137 * webkit/webkitwebview.cpp:
3138 (webkit_web_view_update_settings):
3140 2009-08-22 Xan Lopez <xlopez@igalia.com>
3142 Reviewed by Jan Alonzo.
3144 https://bugs.webkit.org/show_bug.cgi?id=28154
3145 clicking below end of text in a textarea moves cursor to wrong position
3147 Expose the EditingBehavior setting and set it by default to Mac,
3148 since that what matches the GTK+ default behavior.
3150 * webkit/webkitprivate.cpp:
3152 * webkit/webkitprivate.h:
3153 * webkit/webkitwebsettings.cpp:
3154 (webkit_web_settings_class_init):
3155 (webkit_web_settings_set_property):
3156 (webkit_web_settings_get_property):
3157 (webkit_web_settings_copy):
3158 * webkit/webkitwebsettings.h:
3159 * webkit/webkitwebview.cpp:
3160 (webkit_web_view_update_settings):
3162 2009-08-20 Aaron Boodman <aa@chromium.org>
3164 Hopefully the last speculative build for gtk.
3166 * webkit/webkitprivate.cpp:
3167 (webkit_white_list_access_from_origin):
3168 * webkit/webkitprivate.h:
3170 2009-08-20 David Levin <levin@chromium.org>
3172 Another speculative build for gtk.
3174 * webkit/webkitprivate.cpp:
3175 (webkit_white_list_access_to_origin):
3177 2009-08-20 David Levin <levin@chromium.org>
3179 Speculative build for gtk.
3181 * webkit/webkitprivate.cpp:
3182 (webkit_white_list_access_to_origin):
3184 2009-08-19 Aaron Boodman <aa@chromium.org>
3188 * webkit/webkitprivate.h: "WEBKIT API" -> "WEBKIT_API"
3190 2009-08-19 Aaron Boodman <aa@chromium.org>
3192 Reviewed by David Levin.
3194 https://bugs.webkit.org/show_bug.cgi?id=24853: Provide a way for WebKit clients to
3195 specify a more granular policy for cross-origin XHR access.
3197 * webkit/webkitprivate.cpp:
3198 (webkit_white_list_access_to_origin): Add API to manipulate origin access whitelists.
3199 (webkit_reset_origin_access_white_lists): Ditto.
3200 * webkit/webkitprivate.h: Ditto.
3202 2009-08-18 Xan Lopez <xlopez@igalia.com>
3204 Rubber-stamped by Holger Freyther.
3206 Remove an unneeded include.
3208 * WebCoreSupport/DragClientGtk.cpp:
3210 2009-08-18 Fumitoshi Ukai <ukai@chromium.org>
3212 Reviewed by Eric Seidel.
3214 https://bugs.webkit.org/show_bug.cgi?id=28443
3215 Fix build break with gtk older than 2.14.
3217 WebKit gtk port requires gtk 2.10 or later, but DragClientGtk.cpp
3218 uses gtk_widget_get_window that is introduced in 2.14.
3220 * WebCoreSupport/DragClientGtk.cpp:
3221 define gtk_widget_get_window for gtk older than 2.14.
3223 2009-08-18 Jan Michael Alonzo <jmalonzo@webkit.org>
3225 Reviewed by Oliver Hunt.
3227 [Gtk] crash when closing page from javascript
3228 https://bugs.webkit.org/show_bug.cgi?id=27439
3230 Do not unref the WebView in ChromeClientGtk::closeWindowSoon
3231 because (1) a create-web-view handler can return a NULL WebView,
3232 (2) the created WebView is owned by its containing widget, and (3)
3233 clients may not handle the close-web-view signal so this avoids
3234 unreffing a WebView more than once.
3236 * WebCoreSupport/ChromeClientGtk.cpp:
3237 (WebKit::ChromeClient::closeWindowSoon):
3238 * webkit/webkitwebview.cpp:
3239 (webkit_web_view_class_init):
3241 2009-08-18 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
3243 Reviewed by Jan Alonzo.
3245 https://bugs.webkit.org/show_bug.cgi?id=19360
3246 Frags on current page don't generate "navigation-requested" events
3248 Fix order of parameters for the creation of SubstituteData object,
3249 so that normal data loads do not have an unreachable URL. Also
3250 remove a confusion about the purpose of the last parameter.
3252 * webkit/webkitwebframe.cpp:
3253 (webkit_web_frame_load_data):
3255 2009-08-18 Drew Wilson <atwilson@google.com>
3257 Reviewed by Eric Seidel.
3259 Need to extend DumpRenderTree to expose number of worker threads
3260 https://bugs.webkit.org/show_bug.cgi?id=28292
3262 * webkit/webkitprivate.h:
3263 * webkit/webkitworkers.cpp: Added.
3264 (webkit_worker_thread_count):
3265 Exposed WebCore::WorkerThread::workerThreadCount() for the gtk version of DumpRenderTree.
3267 2009-08-18 Xan Lopez <xlopez@igalia.com>
3269 Reviewed by Gustavo Noronha.
3271 Fix the ATK unit test.
3273 We now support line boundaries in the get_text functions, so we
3274 need to make sure the test has the layout we expect by giving it
3275 enough space to fit in one line.
3278 (test_webkit_atk_get_text_at_offset):
3280 2009-08-15 Zan Dobersek <zandobersek@gmail.com>
3282 Reviewed by Xan Lopez.
3284 Fix compiler warnings.
3286 * webkit/webkitwebview.cpp:
3287 (clipboard_contents_received):
3288 (webkit_web_view_drag_data_get):
3290 2009-08-14 Jiahua Huang <jhuangjiahua@gmail.com>
3292 Reviewed by Jan Alonzo.
3294 [gtk] Pasteboard/GtkClipboard can't handle the "text/html" target.
3295 https://bugs.webkit.org/show_bug.cgi?id=27028
3297 Add a function in WebKit::PasteboardHelperGtk that will return the
3298 value of WEBKIT_WEB_VIEW_TARGET_INFO_HTML,
3299 and WebCore::clipboard_get_contents_cb will use that.
3301 * WebCoreSupport/PasteboardHelperGtk.cpp:
3302 (WebKit::PasteboardHelperGtk::getWebViewTargetInfoHtml):
3303 * WebCoreSupport/PasteboardHelperGtk.h:
3305 2009-08-14 Benjamin Otte <otte@gnome.org>
3307 Reviewed by Gustavo Noronha.
3309 Fix webkit_web_view_set_highlight_text_matches() so that highlighting
3310 works properly in documents with frames.
3312 * webkit/webkitwebview.cpp:
3313 (webkit_web_view_set_highlight_text_matches):
3315 2009-08-13 Zan Dobersek <zandobersek@gmail.com>
3317 Reviewed by Gustavo Noronha.
3319 [GTK] Drag and drop support
3320 https://bugs.webkit.org/show_bug.cgi?id=23642
3322 Adds support for drag actions in WebKitWebView and DragClient.
3324 Defines a support structure that can hold additional drag and drop data,
3325 such as selection data or target IDs (infos) and can be passed through
3328 Implements DragClient functions that gather start position of the drag
3329 and start the GTK drag.
3331 * WebCoreSupport/DragClientGtk.cpp:
3332 (WebKit::DragClient::DragClient):
3333 (WebKit::DragClient::willPerformDragSourceAction):
3334 (WebKit::DragClient::startDrag):
3335 (WebKit::DragClient::createDragImageForLink): A small style fix.
3336 * WebCoreSupport/DragClientGtk.h:
3337 * webkit/webkitwebview.cpp:
3338 (webkit_web_view_drag_end):
3339 (clipboard_contents_received): GtkClipboard callback.
3340 (webkit_web_view_drag_data_get):
3341 (webkit_web_view_class_init):
3342 (webkit_web_view_init):
3343 * webkit/webkitwebview.h: Add GTK selection targets.
3345 2009-08-12 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
3347 Unreviewed build fix.
3349 Last-minute change on the new soup API to use the keyring was not
3350 reflected in our usage - the documentation says we should use
3351 g_slist_free, and soup_auth_free_saved_users doesn't exist.
3353 * webkit/webkitsoupauthdialog.c:
3354 (session_authenticate):
3356 2009-08-12 Xan Lopez <xlopez@igalia.com>
3358 Reviewed by Jan Alonzo.
3360 [GTK] Remove keyring optional features
3361 https://bugs.webkit.org/show_bug.cgi?id=28173
3363 Remove keyring support from our code and rely on libsoup to store
3364 the authentication data if the user requests that support in their
3365 application/library.
3367 * webkit/webkitsoupauthdialog.c:
3368 (response_callback):
3370 (session_authenticate):
3372 2009-08-11 Benjamin Otte <otte@gnome.org>
3374 Reviewed by Xan Lopez.
3376 When instructed to print an out-of-range page, print an empty page
3377 instead of crashing.
3379 * webkit/webkitwebframe.cpp:
3380 (draw_page_callback):
3382 2009-08-10 Brady Eidson <beidson@apple.com>
3386 * webkit/webkitdownload.cpp:
3387 (webkit_download_get_suggested_filename):
3389 2009-08-08 Xan Lopez <xlopez@igalia.com>
3391 Roll out r46928, since it wasn't done in accordance with the
3396 Remove the ChangeLog entry, since it was added at the bottom of
3399 * gdom/GdomDOMObject.h: Removed.
3400 * gdom/GdomDOMObjectPrivate.h: Removed.
3402 2009-08-08 Jan Michael Alonzo <jmalonzo@webkit.org>
3404 Reviewed by Xan Lopez.
3406 [Gtk] Enable accessibility in Gtk DRT
3407 https://bugs.webkit.org/show_bug.cgi?id=25989
3409 Add SPI to get the focused accessible element to be used by DRT.
3411 * webkit/webkitprivate.h:
3412 * webkit/webkitwebframe.cpp:
3413 (webkit_web_frame_get_focused_accessible_element):
3415 2009-07-30 Martin Robinson <mrobinson@appcelerator.com>
3417 Reviewed by Xan Lopez, Gustavo Noronha and Jan Alonzo.
3419 [GTK] new-window-policy-decision-requested provides no information about the target frame
3420 https://bugs.webkit.org/show_bug.cgi?id=27792
3422 Add frameName property to the WebKitWebNavigation object.
3424 * WebCoreSupport/FrameLoaderClientGtk.cpp:
3425 (WebKit::getNavigationAction):
3426 (WebKit::FrameLoaderClient::dispatchDecidePolicyForNewWindowAction):
3427 (WebKit::FrameLoaderClient::dispatchDecidePolicyForNavigationAction):
3428 * webkit/webkitwebnavigationaction.cpp:
3429 (webkit_web_navigation_action_get_property):
3430 (webkit_web_navigation_action_set_property):
3431 (webkit_web_navigation_action_class_init):
3432 (webkit_web_navigation_action_get_target_frame):
3433 (webkit_web_navigation_action_set_target_frame):
3434 * webkit/webkitwebnavigationaction.h:
3436 2009-07-29 Kevin McCullough <kmccullough@apple.com>
3438 Reviewed by Darin Adler.
3440 Added foundation work to allow a testing infrastructure for the Web
3443 * WebCoreSupport/InspectorClientGtk.cpp:
3444 (WebKit::InspectorClient::inspectorWindowObjectCleared):
3445 * WebCoreSupport/InspectorClientGtk.h:
3447 2009-07-29 Jan Michael Alonzo <jmalonzo@webkit.org>
3449 Reviewed by Eric Seidel and Xan Lopez.
3451 [Gtk] Enable http/tests/appcache tests
3452 https://bugs.webkit.org/show_bug.cgi?id=27674
3454 Add 'enable-offline-web-application-cache' WebSetting to enable
3455 or disable the appcache. Also, Add appcache SPI for DRT to use.
3457 * webkit/webkitapplicationcache.cpp: Added.
3458 (webkit_application_cache_set_maximum_size):
3459 * webkit/webkitprivate.cpp:
3461 * webkit/webkitprivate.h:
3462 * webkit/webkitwebsettings.cpp:
3463 (webkit_web_settings_class_init):
3464 (webkit_web_settings_set_property):
3465 (webkit_web_settings_get_property):
3466 (webkit_web_settings_copy):
3467 * webkit/webkitwebview.cpp:
3468 (webkit_web_view_update_settings):
3469 (webkit_web_view_settings_notify):
3471 2009-07-28 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
3473 Reviewed by Xan Lopez.
3475 Add information about the regression fix for WEBKIT_DEBUG.
3479 2009-07-28 Priit Laes <plaes@plaes.org>
3481 Reviewed by Xan Lopez.
3483 Fix mnemonics in the soup authentication dialog.
3485 * webkit/webkitsoupauthdialog.c:
3488 2009-07-28 Xan Lopez <xlopez@igalia.com>
3490 Reviewed by Gustavo Noronha.
3492 * NEWS: update for 1.1.12 release.
3494 2009-07-27 Alexey Proskuryakov <ap@webkit.org>
3498 * webkit/webkitwebframe.cpp: (webkit_gc_count_javascript_objects): Added a namespace to
3499 SilenceAssertionsOnly.
3501 2009-07-27 Alexey Proskuryakov <ap@webkit.org>
3503 Reviewed by Darin Adler.
3505 https://bugs.webkit.org/show_bug.cgi?id=27735
3506 Give a helpful name to JSLock constructor argument
3508 * webkit/webkitwebframe.cpp:
3509 (webkit_gc_count_javascript_objects):
3511 2009-07-24 Priit Laes <plaes@plaes.org>
3513 Reviewed by Xan Lopez.
3515 [Gtk] Password is saved into gnome-keyring even if auth. fails
3516 https://bugs.webkit.org/show_bug.cgi?id=27560
3518 Check authentication result and save password only when authentication
3521 * webkit/webkitsoupauthdialog.c:
3523 (response_callback):
3524 (save_password_callback):
3526 2009-07-24 Andrei Popescu <andreip@google.com>
3528 Reviewed by Anders Carlsson.
3530 ApplicationCache should have size limit
3531 https://bugs.webkit.org/show_bug.cgi?id=22700
3533 * WebCoreSupport/ChromeClientGtk.cpp:
3534 (WebKit::ChromeClient::reachedMaxAppCacheSize):
3535 Adds empty implementation of reachedMaxAppCacheSize.
3536 * WebCoreSupport/ChromeClientGtk.h:
3538 2009-07-23 Jan Michael Alonzo <jmalonzo@webkit.org>
3540 Reviewed by Eric Seidel.
3542 [Gtk] Add implementation of GCController for DRT
3543 https://bugs.webkit.org/show_bug.cgi?id=27636
3545 Add SPI for GCController to use.
3547 * webkit/webkitprivate.h:
3548 * webkit/webkitwebframe.cpp:
3549 (webkit_gc_collect_javascript_objects):
3550 (webkit_gc_collect_javascript_objects_on_alternate_thread):
3551 (webkit_gc_count_javascript_objects):
3553 2009-07-22 Xan Lopez <xlopez@igalia.com>
3555 Reviewed by Mark Rowe.
3557 Fix compiler warning.
3559 * tests/testwebsettings.c:
3560 (test_webkit_web_settings_user_agent):
3562 2009-07-22 Xan Lopez <xlopez@igalia.com>
3564 Reviewed by Gustavo Noronha.
3566 Remove unused variables.
3568 * webkit/webkitwebview.cpp:
3569 (webkit_web_view_grab_focus):
3570 (webkit_web_view_focus_in_event):
3572 2009-07-21 Priit Laes <plaes@plaes.org>
3574 Reviewed by Holger Freyther.
3576 [GTK+] Missing accelerator in authentication dialog
3577 https://bugs.webkit.org/show_bug.cgi?id=25509
3579 Add accelerator to checkbox text.
3581 * WebKit/gtk/webkit/webkitsoupauthdialog.c:
3584 2009-07-21 Priit Laes <plaes@plaes.org>
3586 Reviewed by Holger Freyther.
3588 [GTK] http auth dialog pops up twice after a cancelled atempt
3589 https://bugs.webkit.org/show_bug.cgi?id=24818
3591 Remove workaround required for libsoup versions <=2.26.2 as we depend
3594 * webkit/webkitsoupauthdialog.c:
3595 (session_authenticate):
3597 2009-07-20 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
3599 Reviewed by Holger Freyther.
3601 [GTK] Widget size negotiation
3602 https://bugs.webkit.org/show_bug.cgi?id=17154
3604 Implement proper size request for the WebView widget.
3606 * WebCoreSupport/ChromeClientGtk.cpp:
3607 (WebKit::ChromeClient::contentsSizeChanged):
3608 * webkit/webkitwebview.cpp:
3609 (webkit_web_view_size_request):
3610 (webkit_web_view_class_init):
3612 2009-07-16 Holger Hans Peter Freyther <zecke@selfish.org>
3614 Reviewed by Jan Alonzo.
3616 [GTK+] Update the focus handling code.
3618 Change focus-in to always call setActive(true), call
3619 FocusController::setFocusedFrame when no focused frame exists
3620 other SelectionController::setActive. This is matching Windows
3623 On focus-out call FocusController::setActive(false) and
3624 SelectionController::setFocued(false). This is matching Windows
3627 * webkit/webkitwebview.cpp:
3628 (webkit_web_view_focus_in_event):
3629 (webkit_web_view_focus_out_event):
3631 2009-07-16 Xiaomei Ji <xji@chromium.org>
3633 Reviewed by Dan Bernstein.
3635 This is the 2nd part of fixing "RTL: tooltip does not get its directionlity from its element's."
3636 https://bugs.webkit.org/show_bug.cgi?id=24187
3638 Add one extra parameter to the callee of HitTestResult::title() due to the signature change.
3641 * WebCoreSupport/ChromeClientGtk.cpp:
3642 (WebKit::ChromeClient::mouseDidMoveOverElement): Add direction as a parameter to the callee of HitTestResult::title().
3644 2009-07-16 Xiaomei Ji <xji@chromium.org>
3646 Reviewed by Darin Adler.
3648 Fix tooltip does not get its directionality from its element's directionality.
3649 https://bugs.webkit.org/show_bug.cgi?id=24187
3651 Per mitz's suggestion in comment #6, while getting the plain-text
3652 title, we also get the directionality of the title. How to handle
3653 the directionality is up to clients. Clients could ignore it,
3654 or use attribute or unicode control characters to display the title
3657 * WebCoreSupport/ChromeClientGtk.cpp:
3658 (WebKit::ChromeClient::setToolTip): Add directionality as 2nd parameter to setToopTip() (without handling it yet).
3659 * WebCoreSupport/ChromeClientGtk.h: Add directionality as 2nd parameter to setToolTip().
3661 2009-07-15 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
3663 Rubber-stamped by Jan Alonzo.
3665 Fix enable-xss-auditor property documentation, and default value
3666 to match the fact that it is now enabled by default.
3668 * webkit/webkitwebsettings.cpp:
3669 (webkit_web_settings_class_init):
3671 2009-07-14 Zoltan Horvath <hzoltan@inf.u-szeged.hu>
3673 Reviewed by Darin Adler.
3675 Change all Noncopyable inheriting visibility to public.
3676 https://bugs.webkit.org/show_bug.cgi?id=27225
3678 Change all Noncopyable inheriting visibility to public because
3679 it is needed to the custom allocation framework (bug #20422).
3681 * webkit/webkitdownload.cpp:
3683 2009-07-13 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
3685 Unreviewed. Late NEWS file for 1.1.11.
3689 2009-07-13 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
3691 Unreviewed. Changes to the doc control files for 1.1.11.
3693 * docs/webkitgtk-docs.sgml:
3694 * docs/webkitgtk-sections.txt:
3696 2009-07-13 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
3698 Rubber-stamped by Holger Freyther.
3700 Fix unit test to use the correct assumption that the SoupMessage
3701 will be NULL when WebKitNetworkRequest is created from an URI.
3703 * tests/testnetworkrequest.c:
3704 (test_network_request_create_destroy):
3706 2009-07-13 Jan Michael Alonzo <jmalonzo@webkit.org>
3708 <https://bugs.webkit.org/show_bug.cgi?id=27171> [Gtk]
3709 REGRESSION (r45440): fails at fast/events/frame-programmatic-focus.html
3711 Reviewed by Gustavo Noronha.
3713 focus-in and focus-out events only get triggered when there's user
3714 interaction, hence setFocused(bool) never gets called when
3715 focusEvent is triggered when running the layout tests. The
3716 solution seems to be to implement grab-focus too so we can call
3717 setFocused(bool) when a widget has focus.