1 2009-03-01 Jan Michael Alonzo <jmalonzo@webkit.org>
3 Reviewed by Holger Freyther.
5 [Gtk] get the HTTP layout tests going
6 https://bugs.webkit.org/show_bug.cgi?id=24259
8 Create a WebKitWebHistoryItem for each WebCore::HistoryItem when
10 Add necessary API additions for us to be able to dump a WebKitWebHistoryItem
12 * webkit/webkitprivate.h:
13 * webkit/webkitwebbackforwardlist.cpp:
14 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_forward_list_with_limit):
15 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_back_list_with_limit):
16 * webkit/webkitwebhistoryitem.cpp:
17 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_core_item):
18 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new):
19 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_data):
20 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_target):
21 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_is_target_item):
22 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_children):
26 2009-03-01 Christian Dywan <christian@twotoasts.de>
28 Reviewed by Holger Freyther.
30 * webkit/webkitprivate.h:
31 * webkit/webkitwebview.cpp:
32 (webkit_web_view_get_encoding):
33 * webkit/webkitwebview.h: Implement 'encoding' and 'custom-encoding'
34 properties as well as webkit_web_view_get_encoding.
36 2009-03-01 Gustavo Noronha Silva <gns@gnome.org>
38 Unreviewed simple wording fix for the NEWS file.
42 2009-03-01 Xan Lopez <xan@gnome.org>
44 Add NEWS file to track progress between releases.
48 2009-02-28 Christian Dywan <christian@twotoasts.de>
50 Reviewed by Holger Freyther.
52 * webkit/webkitwebview.cpp: Let webkit_web_view_open add file:// if a
53 locale path is passed for compatibility, since we used to support that.
55 2009-02-27 Gustavo Noronha Silva <gns@gnome.org>
57 Reviewed by David Hyatt.
59 Automatically ignore empty requests to avoid crashing. This fixes
60 the crash in fast/loader/empty-embed-src-attribute.html.
62 * WebCoreSupport/FrameLoaderClientGtk.cpp:
63 (WebKit::FrameLoaderClient::dispatchDecidePolicyForMIMEType):
64 (WebKit::FrameLoaderClient::dispatchDecidePolicyForNewWindowAction):
65 (WebKit::FrameLoaderClient::dispatchDecidePolicyForNavigationAction):
67 2009-02-27 Xan Lopez <xan@gnome.org>
69 Reviewed by Alexey Proskuryakov.
71 https://bugs.webkit.org/show_bug.cgi?id=24221
72 [GTK] Do not emit load-finished when being disposed
74 webkit_web_view_stop_load() is called from dispose() on
75 WebKitWebView. This eventually calls postProgressFinishedNotification
76 in FrameLoaderClientGtk, which emits load-finished. Add
77 a 'disposing' flag to WebView that we can check here, so
78 we avoid emitting signals on objects on their way to be
79 destroyed. This fixes a bunch of critical warnings when
80 closing a loading WebView.
82 * WebCoreSupport/FrameLoaderClientGtk.cpp:
83 (WebKit::FrameLoaderClient::postProgressFinishedNotification):
84 * webkit/webkitprivate.h:
85 * webkit/webkitwebview.cpp:
87 2009-02-27 Xan Lopez <xan@gnome.org>
89 Rubber-stamped by Alexey Proskuryakov.
91 https://bugs.webkit.org/show_bug.cgi?id=24222
92 [GTK] Remove checks for old glib versions
94 libsoup, which is a hard dependency, needs at least glib 2.15.3,
95 so remove all glib checks for versions older than that.
97 * webkit/webkitwebview.cpp:
99 2009-02-26 Xan Lopez <xan@gnome.org>
101 Reviewed by Holger Freyther.
103 https://bugs.webkit.org/show_bug.cgi?id=16947
104 [GTK] Missing HTTP Auth challenge
106 Add new marshalers list.
108 * webkitmarshal.list: Added.
110 2009-02-26 Xan Lopez <xan@gnome.org>
112 Reviewed by Alexey Proskuryakov.
114 https://bugs.webkit.org/show_bug.cgi?id=24193
115 [GTK] Checkbuttons not activated with space
117 Do not swallow key events with GtkIMContext for non-editable
120 * WebCoreSupport/EditorClientGtk.cpp:
121 (WebKit::EditorClient::handleInputMethodKeydown):
123 2009-02-26 Xan Lopez <xan@gnome.org>
125 Reviewed by Alexey Proskuryakov.
127 https://bugs.webkit.org/show_bug.cgi?id=24103
128 [GTK] Use correct return value for WebView button-release handler
130 We are returning whatever the core code tells us it did, but this
131 does not play well with the GTK+ model. GTK+ in general expects it
132 will see a button-release if it saw a button-press and no
133 motion/leave/etc events in between. EventHandler.cpp will, in some
134 cases, not handle press but handle release, confusing the parent
135 container of the WebView.
137 As a workaround return always FALSE for button-release (this is
138 the same than the Windows port does).
140 * webkit/webkitwebview.cpp:
142 2009-02-26 Xan Lopez <xan@gnome.org>
144 Reviewed by Holger Freyther.
146 https://bugs.webkit.org/show_bug.cgi?id=17585
147 [gtk] get|set encoding api
149 Add functions to get and set a custom encoding an a view.
151 * webkit/webkitprivate.h:
152 * webkit/webkitwebview.cpp:
153 (webkit_web_view_set_custom_encoding):
154 (webkit_web_view_get_custom_encoding):
155 * webkit/webkitwebview.h:
157 2009-02-23 Xan Lopez <xan@gnome.org>
159 Reviewed by Alexey Proskuryakov.
161 https://bugs.webkit.org/show_bug.cgi?id=22624
162 [SOUP][GTK] Need API to get SoupSession from WebKit.
164 Add API to get the default soup session.
166 * webkit/webkitwebview.cpp:
167 * webkit/webkitwebview.h:
169 2009-02-23 Xan Lopez <xan@gnome.org>
171 Reviewed by Alexey Proskuryakov.
173 https://bugs.webkit.org/show_bug.cgi?id=22624
174 [SOUP][GTK] Need API to get SoupSession from WebKit.
176 Add soup dependency to pc file.
180 2009-02-23 Jan Michael Alonzo <jmalonzo@webkit.org>
182 Reviewed by Mark Rowe.
184 [GTK] Back / Forward history menus are flipped
185 https://bugs.webkit.org/show_bug.cgi?id=22694
187 Don't call g_list_reverse when returning the back or forward list.
190 (test_webkit_web_back_forward_list_order):
192 * webkit/webkitwebbackforwardlist.cpp:
193 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_forward_list_with_limit):
194 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_back_list_with_limit):
196 2009-02-17 Xan Lopez <xan@gnome.org>
198 Rubber-stamped by Alexey Proskuryakov.
200 Restoring change landed in r40715, which was accidentally undone
203 * webkit/webkitwebframe.cpp:
205 2009-02-12 Christian Dywan <christian@twotoasts.de>
207 Reviewed by Holger Freyther.
209 http://bugs.webkit.org/show_bug.cgi?id=17176
210 [GTK] API: hovering-over-link and webkit_web_view_open /_load_foo
212 * webkit/webkitwebframe.cpp:
213 * webkit/webkitwebframe.h:
214 * webkit/webkitwebview.cpp:
215 * webkit/webkitwebview.h: Introduce webkit_web_frame_load_uri,
216 webkit_web_frame_load_string, webkit_web_view_load_uri and
217 webkit_web_view_load_request and unify implementations.
219 2009-02-11 Dimitri Dupuis-latour <dupuislatour@apple.com>
221 Stub out InspectorClient::hiddenPanels.
223 Reviewed by Timothy Hatcher.
225 * WebCoreSupport/InspectorClientGtk.cpp:
226 (WebKit::InspectorClient::hiddenPanels):
227 * WebCoreSupport/InspectorClientGtk.h:
229 2009-02-07 Holger Hans Peter Freyther <zecke@selfish.org>
231 Unreviewed build fix Use toNormalizedRange().
233 * WebCoreSupport/EditorClientGtk.cpp:
234 (WebKit::clipboard_get_contents_cb):
236 2009-02-06 Geoffrey Garen <ggaren@apple.com>
240 * WebCoreSupport/FrameLoaderClientGtk.cpp:
241 (WebKit::FrameLoaderClient::updateGlobalHistoryRedirectLinks):
242 * WebCoreSupport/FrameLoaderClientGtk.h:
244 2009-02-06 Xan Lopez <xan@gnome.org>
246 Reviewed by Holger Freyther.
248 Reported by Daniel Macks.
250 https://bugs.webkit.org/show_bug.cgi?id=20412
252 Use positive numbers for the target info IDs, gtk_target_list_add
253 casts them to 'guint'. Also just start them from 0, since the
254 values are not relevant or magic in any way, they are just used as
255 tokens for the user of the API.
257 * webkit/webkitwebview.h:
259 2009-02-06 Xan Lopez <xan@gnome.org>
261 Reviewed by Alexey Proskuryakov.
263 https://bugs.webkit.org/show_bug.cgi?id=23769
265 Do not use empty ResourceError errors.
267 Rather create bogus but non-null errors, since some codepaths
268 expect these. For example, see DocumentLoader::mainReceivedError.
270 * WebCoreSupport/FrameLoaderClientGtk.cpp:
271 (WebKit::FrameLoaderClient::cancelledError):
272 (WebKit::FrameLoaderClient::blockedError):
273 (WebKit::FrameLoaderClient::cannotShowURLError):
274 (WebKit::FrameLoaderClient::interruptForPolicyChangeError):
275 (WebKit::FrameLoaderClient::cannotShowMIMETypeError):
276 (WebKit::FrameLoaderClient::fileDoesNotExistError):
277 (WebKit::FrameLoaderClient::pluginWillHandleLoadError):
279 2009-02-06 Xan Lopez <xan@gnome.org>
281 Reviewed by Alexey Proskuryakov.
283 https://bugs.webkit.org/show_bug.cgi?id=23761
285 Use two-arg KURL ctor.
287 We are using the one-arg ctor currently, but:
289 - It assumes the strings are already encoded, which is not
290 necesarily the case for us.
292 - The single-argument KURL ctors expect their input to already be
293 the output of a previous KURL::parse call, so for the general
294 case (ie, random user input) we need to use the two-arg ctor
297 * webkit/webkitwebframe.cpp:
298 * webkit/webkitwebview.cpp:
300 2009-02-05 Aaron Boodman <aa@chromium.org>
302 Reviewed by Dave Hyatt.
304 https://bugs.webkit.org/show_bug.cgi?id=23708
305 Adds documentElementAvailable() callback to FrameLoaderClient.
307 * WebCoreSupport/FrameLoaderClientGtk.cpp:
308 (WebKit::FrameLoaderClient::documentElementAvailable):
309 Stub out documentElementAvailable()
310 * WebCoreSupport/FrameLoaderClientGtk.h:
313 2009-02-03 Hiroyuki Ikezoe <poincare@ikezoe.net>
315 Reviewed by Holger Freyther.
317 https://bugs.webkit.org/show_bug.cgi?id=22988
318 [GTK] Need a public method to add a WebKitWebHistoryItem to
319 WebKitWebBackForwardList.
321 Wrap WebCore::BackForwardList::addItem.
324 (test_webkit_web_back_forward_list_add_item):
326 * webkit/webkitwebbackforwardlist.cpp:
327 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_add_item):
328 * webkit/webkitwebbackforwardlist.h:
330 2009-02-02 Geoffrey Garen <ggaren@apple.com>
334 * webkit/webkitwebview.cpp:
336 2009-02-02 Geoffrey Garen <ggaren@apple.com>
340 * webkit/webkitwebframe.cpp:
342 2009-02-02 Geoffrey Garen <ggaren@apple.com>
346 * WebCoreSupport/FrameLoaderClientGtk.cpp:
347 (WebKit::FrameLoaderClient::createFrame):
349 2009-02-02 Geoffrey Garen <ggaren@apple.com>
351 Reviewed by Sam Weinig.
353 Track redirects in global history.
357 * WebCoreSupport/FrameLoaderClientGtk.cpp:
358 (WebKit::FrameLoaderClient::createFrame):
359 (WebKit::FrameLoaderClient::updateGlobalHistoryForRedirectWithoutHistoryItem):
360 * WebCoreSupport/FrameLoaderClientGtk.h:
362 2009-02-02 Anders Carlsson <andersca@apple.com>
366 * WebCoreSupport/FrameLoaderClientGtk.h:
368 2009-02-02 Anders Carlsson <andersca@apple.com>
370 Reviewed by Dan Bernstein.
372 Update for changes to WebCore.
374 * WebCoreSupport/FrameLoaderClientGtk.cpp:
375 (WebKit::FrameLoaderClient::createPlugin):
376 (WebKit::FrameLoaderClient::createJavaAppletWidget):
377 * WebCoreSupport/FrameLoaderClientGtk.h:
379 2009-02-02 Holger Hans Peter Freyther <zecke@selfish.org>
381 Reviewed by Darin Adler.
383 Move Frame::forceLayout, Frame::adjustPageHeight and Frame::forceLayoutWithPageWidthRange to FrameView
385 https://bugs.webkit.org/show_bug.cgi?id=23428
387 FrameView::forceLayout could be killed but the comment might
388 contain a value over the the plain FrameView::layout...
390 Adjust the WebCore/WebKit consumers of these methods.
392 * WebCoreSupport/FrameLoaderClientGtk.cpp:
393 (WebKit::FrameLoaderClient::forceLayout):
394 * webkit/webkitwebview.cpp:
396 2009-01-30 Geoffrey Garen <ggaren@apple.com>
400 * WebCoreSupport/FrameLoaderClientGtk.cpp:
401 (WebKit::FrameLoaderClient::createFrame):
403 2009-01-30 Holger Hans Peter Freyther <zecke@selfish.org>
405 Reviewed by Simon Hausmann.
407 https://bugs.webkit.org/show_bug.cgi?id=22056
409 Kill FrameLoaderClient.cpp, move the code over to Frame::createView
411 FrameLoaderClient is supposed to be an interface, move the
412 to be shared code to Frame which is a controller and is
413 allowed to create a FrameView.
415 * WebCoreSupport/FrameLoaderClientGtk.cpp:
416 (WebKit::FrameLoaderClient::transitionToCommittedForNewPage):
418 2009-01-27 Brady Eidson <beidson@apple.com>
420 Reviewed by Dan Bernstein
422 Rework FrameLoaderClient to work on a CachedFrame basis instead of CachedPage
424 * WebCoreSupport/FrameLoaderClientGtk.cpp:
425 (WebKit::FrameLoaderClient::savePlatformDataToCachedFrame):
426 (WebKit::FrameLoaderClient::transitionToCommittedFromCachedFrame):
427 * WebCoreSupport/FrameLoaderClientGtk.h:
429 2009-01-25 Darin Adler <darin@apple.com>
431 Try to fix GTK build.
433 * webkit/webkitwebview.cpp: Added include of FloatQuad.h.
435 2009-01-13 Alexander V. Butenko <alex@digiqube.com>
437 Reviewed by Holger Freyther.
439 https://bugs.webkit.org/show_bug.cgi?id=23279
441 Fix crash on WebView dispose stage.
443 Add null checks to webkit_web_view_set_scroll_adjustments and
444 webkit_web_view_get_accessible as they get called from within
447 * webkit/webkitwebview.cpp:
449 2009-01-11 Xan Lopez <xan@gnome.org>
451 Reviewed by Holger Freyther.
453 Use NULL instead of 0 when dealing with pointers, as agreed for
454 the coding style of the WebKit GTK port for its GTK+ specific
457 * webkit/webkitwebview.cpp:
459 2009-01-11 Xan Lopez <xan@gnome.org>
461 Reviewed by Holger Freyther.
463 Add padding to the class structs to avoid breaking ABI each time
466 * webkit/webkitnetworkrequest.h:
467 * webkit/webkitwebbackforwardlist.h:
468 * webkit/webkitwebhistoryitem.h:
469 * webkit/webkitwebnavigationaction.h:
470 * webkit/webkitwebpolicydecision.h:
471 * webkit/webkitwebview.h:
473 2009-01-09 Benjamin Otte <otte@gnome.org>
475 Reviewed by Holger Freyther.
477 https://bugs.webkit.org/show_bug.cgi?id=23194
479 make the finalize function the dispose function. Not releasing held
480 objects in dispose can cause crashers later.
482 * webkit/webkitwebview.cpp:
484 2009-01-09 Benjamin Otte <otte@gnome.org>
486 Reviewed by Holger Freyther.
488 https://bugs.webkit.org/show_bug.cgi?id=23194
490 Remove broken code that uses a fallback. The previous code did 2
491 policy decisions which caused crashes.
492 Download is still notImplemented();
494 * webkit/webkitwebpolicydecision.cpp:
495 (_WebKitWebPolicyDecisionPrivate::webkit_web_policy_decision_download):
497 2009-01-03 Xan Lopez <xan@gnome.org>
499 Reviewed by Holger Freyther.
501 [GTK] Need a public method to reload view bypassing cache
502 https://bugs.webkit.org/show_bug.cgi?id=19815
504 * webkit/webkitwebview.cpp:
505 * webkit/webkitwebview.h:
507 Add webkit_web_view_reload_bypass_cache.
509 2009-01-07 Holger Hans Peter Freyther <zecke@selfish.org>
511 Reviewed by Maciej Stachowiak.
513 Add private API to get the number of active animations of
514 a frame. This is required by the DumpRenderTree utility.
516 * webkit/webkitprivate.h:
517 * webkit/webkitwebframe.cpp:
519 2009-01-05 Adam Treat <adam.treat@torchmobile.com>
523 * WebCoreSupport/ChromeClientGtk.h:
525 2009-01-05 Adam Treat <adam.treat@torchmobile.com>
527 Reviewed by George Staikos.
529 Build fix for contentsSizeChanged
531 * WebCoreSupport/ChromeClientGtk.cpp:
532 (WebKit::ChromeClient::contentsSizeChanged):
533 * WebCoreSupport/ChromeClientGtk.h:
535 2009-01-04 Adam Treat <adam.treat@torchmobile.com>
537 Reviewed by George Staikos.
539 Make the gtk port build with the new fixedLayoutSize feature
541 * WebCoreSupport/FrameLoaderClientGtk.cpp:
542 (WebKit::FrameLoaderClient::transitionToCommittedForNewPage):
544 2009-01-03 Holger Hans Peter Freyther <zecke@selfish.org>
546 Reviewed by Darin Adler.
548 [GTK] Fix the reference counting of WebKitWebFrames
550 The ownership is the following: WebKitWebView owns a WebCore::Page.
551 WebKitWebView is creating one WebKitWebFrame which will be the
552 mainFrame of the WebCore::Page (having the reference on the Frame).
554 The FrameLoaderClient has the reference of the WebKitWebFrame for
555 the main frame and also any other frame. This means when the
556 WebCore::Frame goes away the FrameLoaderClient will go away which
557 will normally remove the last reference of the WebKitWebFrame. Because
558 an API user might have g_object_ref'ed the WebKitWebFrame null
559 checks had to be added to WebKitWebFrame.
561 For WebCore::Frames created by the FrameLoaderClient the ownership
562 will be passed down to the FrameTree, the WebKitWebFrame is not holding
563 a reference to the WebCore::Frame.
565 Do not g_object_unref the mainFrame in the destructor of the
566 WebKitWebFrame as this will happen from within the WebCore::Page
567 destruction. Do not hold a reference to the WebCore::Frame (circle) in
568 WebKitWebFrame, add null checks as the WebCore::Frame might have gone
569 away. Do not keep track of the FrameLoaderClient in the private
570 structures as it was mostly unusued.
572 https://bugs.webkit.org/show_bug.cgi?id=21837
574 * WebCoreSupport/FrameLoaderClientGtk.cpp:
575 (WebKit::FrameLoaderClient::frameLoaderDestroyed):
576 (WebKit::FrameLoaderClient::createFrame):
577 * tests/main.c: Add test case.
578 (test_webkit_web_frame_create_destroy):
579 (test_webkit_web_frame_lifetime):
581 * webkit/webkitprivate.cpp:
583 * webkit/webkitprivate.h:
584 * webkit/webkitwebframe.cpp:
585 * webkit/webkitwebview.cpp:
587 2009-01-02 Holger Hans Peter Freyther <zecke@selfish.org>
589 Unreviewed build fix.
591 * WebCoreSupport/FrameLoaderClientGtk.cpp:
593 2008-12-31 Holger Hans Peter Freyther <zecke@selfish.org>
595 Reviewed by Nikolas Zimmermann.
597 https://bugs.webkit.org/show_bug.cgi?id=17045
599 Add section information for View, Frame, Settings, HistoryItem, BackForwardList, WindowFeatures and Inspector
601 Add section information and informal examples for WebKitWebView,
602 WebKitWebFrame, WebKitWebSettings, WebKitWebNetworkRequest,
603 WebKitWebWindowFeatures, WebKitWebHistoryItem,
604 WebKitWebBackForwardList and WebKitWebInspector.
606 * docs/webkitgtk-sections.txt: Decide to not document some bits
607 * webkit/webkitnetworkrequest.cpp:
608 * webkit/webkitwebbackforwardlist.cpp:
609 * webkit/webkitwebframe.cpp:
610 * webkit/webkitwebhistoryitem.cpp:
611 * webkit/webkitwebhistoryitem.h:
612 * webkit/webkitwebinspector.cpp:
613 * webkit/webkitwebsettings.cpp:
614 * webkit/webkitwebsettings.h:
615 * webkit/webkitwebview.cpp:
616 * webkit/webkitwebwindowfeatures.cpp:
618 2008-12-21 Xan Lopez <xan@gnome.org>
620 Reviewed by Holger Freyther.
622 https://bugs.webkit.org/show_bug.cgi?id=16092
623 [GTK] Middle-mouse click should allow opening a URL in a new tab
625 Add mouse button and keyboard state modifiers info to navigation action.
627 * WebCoreSupport/FrameLoaderClientGtk.cpp:
628 (WebKit::FrameLoaderClient::dispatchDecidePolicyForNavigationAction):
629 * webkit/webkitwebnavigationaction.cpp:
630 (_WebKitWebNavigationActionPrivate::):
631 (_WebKitWebNavigationActionPrivate::webkit_web_navigation_action_get_property):
632 (_WebKitWebNavigationActionPrivate::webkit_web_navigation_action_set_property):
633 (_WebKitWebNavigationActionPrivate::webkit_web_navigation_action_class_init):
634 (_WebKitWebNavigationActionPrivate::webkit_web_navigation_action_get_button):
635 (_WebKitWebNavigationActionPrivate::webkit_web_navigation_action_get_modifier_state):
636 * webkit/webkitwebnavigationaction.h:
638 2008-12-19 Marco Barisione <marco.barisione@collabora.co.uk>
640 Reviewed by Holger Freyther.
642 http://bugs.webkit.org/show_bug.cgi?id=16562
643 [gtk] Implement WebPolicyDelegate methods
645 Original work by Pierre-Luc Beaudoin. Final touches by Gustavo
648 This implements the delegates methods of WebPolicyDelegate.
649 Since Gtk+/C doesn't have delegate methods, they are replaced with
652 A new object WebKitWebPolicyDecision allows the browser to delay its
653 response in certain cases. WebKitWebNavigationAction contains the
654 information about what caused a navigation request.
656 * WebCoreSupport/FrameLoaderClientGtk.cpp:
657 (WebKit::FrameLoaderClient::FrameLoaderClient):
658 (WebKit::FrameLoaderClient::~FrameLoaderClient):
659 (WebKit::FrameLoaderClient::dispatchDecidePolicyForMIMEType):
660 (WebKit::FrameLoaderClient::dispatchDecidePolicyForNewWindowAction):
661 (WebKit::FrameLoaderClient::dispatchDecidePolicyForNavigationAction):
662 (WebKit::FrameLoaderClient::cancelPolicyCheck):
663 (WebKit::FrameLoaderClient::canShowMIMEType):
664 * WebCoreSupport/FrameLoaderClientGtk.h:
666 * webkit/webkitdefines.h:
667 * webkit/webkitprivate.cpp:
670 * webkit/webkitprivate.h:
671 * webkit/webkitwebnavigationaction.cpp: Added.
672 (_WebKitWebNavigationActionPrivate::):
673 (_WebKitWebNavigationActionPrivate::webkit_web_navigation_action_get_property):
674 (_WebKitWebNavigationActionPrivate::webkit_web_navigation_action_set_property):
675 (_WebKitWebNavigationActionPrivate::webkit_web_navigation_action_init):
676 (_WebKitWebNavigationActionPrivate::webkit_web_navigation_action_finalize):
677 (_WebKitWebNavigationActionPrivate::webkit_web_navigation_action_class_init):
678 (_WebKitWebNavigationActionPrivate::webkit_web_navigation_action_get_reason):
679 (_WebKitWebNavigationActionPrivate::webkit_web_navigation_action_set_reason):
680 (_WebKitWebNavigationActionPrivate::webkit_web_navigation_action_get_original_uri):
681 (_WebKitWebNavigationActionPrivate::webkit_web_navigation_action_set_original_uri):
682 * webkit/webkitwebnavigationaction.h: Added.
683 * webkit/webkitwebpolicydecision.cpp: Added.
684 (_WebKitWebPolicyDecisionPrivate::webkit_web_policy_decision_class_init):
685 (_WebKitWebPolicyDecisionPrivate::webkit_web_policy_decision_init):
686 (_WebKitWebPolicyDecisionPrivate::webkit_web_policy_decision_new):
687 (_WebKitWebPolicyDecisionPrivate::webkit_web_policy_decision_use):
688 (_WebKitWebPolicyDecisionPrivate::webkit_web_policy_decision_ignore):
689 (_WebKitWebPolicyDecisionPrivate::webkit_web_policy_decision_download):
690 (_WebKitWebPolicyDecisionPrivate::webkit_web_policy_decision_cancel):
691 * webkit/webkitwebpolicydecision.h: Added.
692 * webkit/webkitwebview.cpp:
693 * webkit/webkitwebview.h:
695 2008-12-18 Dan Bernstein <mitz@apple.com>
697 Reviewed by Sam Weinig.
699 - stub out FrameLoaderClient::shouldUseCredentialStorage().
701 * WebCoreSupport/FrameLoaderClientGtk.cpp:
702 (WebKit::FrameLoaderClient::shouldUseCredentialStorage):
703 * WebCoreSupport/FrameLoaderClientGtk.h:
705 2008-12-18 Sam Weinig <sam@webkit.org>
707 Reviewed by John Sullivan.
709 Stub out FrameLoaderClient::dispatchDidFirstVisuallyNonEmptyLayout()
711 * WebCoreSupport/FrameLoaderClientGtk.cpp:
712 (WebKit::FrameLoaderClient::dispatchDidFirstVisuallyNonEmptyLayout):
713 * WebCoreSupport/FrameLoaderClientGtk.h:
715 2008-12-13 Holger Hans Peter Freyther <zecke@selfish.org>
717 Reviewed by Cameron Zwarich.
719 [GTK] Fix crash with LayoutTests/fast/loader/frame-creation-removal.html
721 Call WebCore::Frame::init after the frame has been given
722 a name and been added to the FrameTree of the parent.
724 Removing the call to init is fine as FrameLoaderClientGtk::createFrame
725 is the only user of webkit_web_frame_init_with_web_view and is already
726 calling WebCore::Frame::init.
728 * webkit/webkitwebframe.cpp:
730 2008-12-13 Adam Bergkvist <adam.bergkvist@ericsson.com>
732 Reviewed by Holger Freyther.
734 https://bugs.webkit.org/show_bug.cgi?id=22779
736 Check for GTK version >= 2.14.0 before using gtk_test_init.
741 2008-12-13 Zan Dobersek <zandobersek@gmail.com>
743 Reviewed by Darin Adler.
745 https://bugs.webkit.org/show_bug.cgi?id=22039
747 Implement animation and transition pausing as needed by DumpRenderTree.
749 * webkit/webkitprivate.h:
750 * webkit/webkitwebframe.cpp:
752 2008-11-29 Holger Hans Peter Freyther <zecke@selfish.org>
754 Rubber-stamped by Simon Hausmann.
756 https://bugs.webkit.org/show_bug.cgi?id=22574
758 Make webkit_web_view_set_window_features internal
760 Calling this method will not result in a notify::window-features
761 signal being emitted. This would allow replacing a
762 WebKitWebWindowFeature on a WebKitWebView without anyone noticing
763 and the client code would monitor the wrong object.
765 * WebCoreSupport/ChromeClientGtk.cpp:
766 (WebKit::ChromeClient::createWindow):
767 * webkit/webkitwebview.cpp:
768 * webkit/webkitwebview.h:
770 2008-12-09 Brett Wilson <brettw@chromium.org>
772 Reviewed by Dave Hyatt.
774 https://bugs.webkit.org/show_bug.cgi?id=22177
776 Add a callback on ChromeClient that the state of form elements on
777 the page has changed. This is to allow clients implementing session
778 saving to know when the current state is dirty.
780 * WebCoreSupport/ChromeClientGtk.h:
781 (WebKit::ChromeClient::formStateDidChange):
783 2008-12-07 Holger Hans Peter Freyther <zecke@selfish.org>
785 Reviewed by Eric Seidel.
787 [Gtk+] Use glib's unit test facilities to test the WebKit/Gtk+ API
789 https://bugs.webkit.org/show_bug.cgi?id=22491
791 Add the skeleton to WebKit/gtk/tests and integrate that into the
792 buildsystem. Testing support was added in glib 2.16. For versions
793 using glib < 2.16 we compile an empty application.
795 * tests/main.c: Added. https://bugs.webkit.org/show_bug.cgi?id=21837
796 will be the first consumer.
799 2008-12-06 Simon Fraser <simon.fraser@apple.com>
801 Reviewed by Dave Hyatt
803 https://bugs.webkit.org/show_bug.cgi?id=15671
805 Renderer::caretRect() is now localCaretRect(), which needs
806 converting to absolute coordinates (taking transforms into account).
808 * webkit/webkitwebview.cpp:
810 2008-12-01 Xan Lopez <xan@gnome.org>
812 Reviewed by Holger Freyther.
814 http://bugs.webkit.org/show_bug.cgi?id=22553
815 Remove unneeded GObject casts.
817 Remove unneeded casts to GObject in functions that take a gpointer
820 * WebCoreSupport/ChromeClientGtk.cpp:
821 (WebKit::ChromeClient::setWindowRect):
822 (WebKit::ChromeClient::createWindow):
823 (WebKit::ChromeClient::setToolbarsVisible):
824 (WebKit::ChromeClient::toolbarsVisible):
825 (WebKit::ChromeClient::setStatusbarVisible):
826 (WebKit::ChromeClient::statusbarVisible):
827 (WebKit::ChromeClient::setScrollbarsVisible):
828 (WebKit::ChromeClient::scrollbarsVisible):
829 (WebKit::ChromeClient::setMenubarVisible):
830 (WebKit::ChromeClient::menubarVisible):
831 (WebKit::ChromeClient::setToolTip):
832 * WebCoreSupport/InspectorClientGtk.cpp:
833 (WebKit::InspectorClient::createPage):
834 * webkit/webkitwebframe.cpp:
835 * webkit/webkitwebview.cpp:
836 * webkit/webkitwebwindowfeatures.cpp:
837 (_WebKitWebWindowFeaturesPrivate::webkit_web_window_features_new_from_core_features):
839 2008-11-29 Christian Dywan <christian@twotoasts.de>
841 Reviewed by Holger Freyther.
843 http://bugs.webkit.org/show_bug.cgi?id=17122
844 [GTK] Bad font default settings
846 Implement a property "enforce-96-dpi" in WebKitWebSettings
847 that can be enabled to force the view to assume 96 DPI.
849 * webkit/webkitwebsettings.cpp:
850 (_WebKitWebSettingsPrivate::):
851 (_WebKitWebSettingsPrivate::webkit_web_settings_class_init):
852 (_WebKitWebSettingsPrivate::webkit_web_settings_set_property):
853 (_WebKitWebSettingsPrivate::webkit_web_settings_get_property):
854 * webkit/webkitwebview.cpp:
856 2008-11-28 Holger Hans Peter Freyther <zecke@selfish.org>
858 Reviewed by Nikolas Zimmermann.
860 Simplify the code. There is no reason to have code like
861 if (true) return false; which is using temporary variables.
863 * webkit/webkitwebview.cpp:
865 2008-11-28 Holger Hans Peter Freyther <zecke@selfish.org>
867 Reviewed by Nikolas Zimmermann.
869 Remove bogus null checks. The WebKitWebView own's a WebCore::Page
870 which is owning a WebCore::ChromeClient. There is no way that a
871 WebCore::ChromeClient is still around when the WebKitWebView is gone.
873 m_webView can only be null when a ChromeClient gets constructed with
874 a null WebKitWebView which is not allowed.
876 * WebCoreSupport/ChromeClientGtk.cpp:
877 (WebKit::ChromeClient::ChromeClient):
878 (WebKit::ChromeClient::windowRect):
879 (WebKit::ChromeClient::setWindowRect):
880 (WebKit::ChromeClient::pageRect):
881 (WebKit::ChromeClient::focus):
882 (WebKit::ChromeClient::unfocus):
883 (WebKit::ChromeClient::show):
884 (WebKit::ChromeClient::setToolbarsVisible):
885 (WebKit::ChromeClient::toolbarsVisible):
886 (WebKit::ChromeClient::setStatusbarVisible):
887 (WebKit::ChromeClient::statusbarVisible):
888 (WebKit::ChromeClient::setScrollbarsVisible):
889 (WebKit::ChromeClient::setMenubarVisible):
890 (WebKit::ChromeClient::menubarVisible):
891 (WebKit::ChromeClient::canTakeFocus):
892 (WebKit::ChromeClient::repaint):
893 (WebKit::ChromeClient::scroll):
894 (WebKit::ChromeClient::platformWindow):
896 2008-11-28 Gustavo Noronha Silva <gns@gnome.org>
898 Reviewed and slightly modified by Holger Freyther.
900 https://bugs.webkit.org/show_bug.cgi?id=19130
902 ChromeClient::createWindow and friends need to be implemented
904 Code from Gustavo Noronha and Marco Barisione
905 <marco.barisione@collabora.co.uk> in this change set.
907 Implemented all the ChromeClient interfaces needed to have new
908 window creation functioning and exposed to client code. We
909 implemented a mirror GObject to the WindowFeatures object provided
912 * WebCoreSupport/ChromeClientGtk.cpp:
913 (WebKit::ChromeClient::windowRect):
914 (WebKit::ChromeClient::setWindowRect):
915 (WebKit::ChromeClient::unfocus):
916 (WebKit::ChromeClient::createWindow):
917 (WebKit::ChromeClient::show):
918 (WebKit::ChromeClient::setToolbarsVisible):
919 (WebKit::ChromeClient::toolbarsVisible):
920 (WebKit::ChromeClient::setStatusbarVisible):
921 (WebKit::ChromeClient::statusbarVisible):
922 (WebKit::ChromeClient::setScrollbarsVisible):
923 (WebKit::ChromeClient::scrollbarsVisible):
924 (WebKit::ChromeClient::setMenubarVisible):
925 (WebKit::ChromeClient::menubarVisible):
926 (WebKit::ChromeClient::setResizable):
927 * WebCoreSupport/FrameLoaderClientGtk.cpp:
928 (WebKit::FrameLoaderClient::dispatchDecidePolicyForNewWindowAction):
929 (WebKit::FrameLoaderClient::dispatchShow):
930 (WebKit::FrameLoaderClient::dispatchCreatePage):
932 * webkit/webkitdefines.h:
933 * webkit/webkitprivate.h:
934 * webkit/webkitwebview.cpp:
935 * webkit/webkitwebview.h:
936 * webkit/webkitwebwindowfeatures.cpp: Added.
937 (_WebKitWebWindowFeaturesPrivate::webkit_web_window_features_class_init):
938 (_WebKitWebWindowFeaturesPrivate::webkit_web_window_features_init):
939 (_WebKitWebWindowFeaturesPrivate::webkit_web_window_features_finalize):
940 (_WebKitWebWindowFeaturesPrivate::webkit_web_window_features_set_property):
941 (_WebKitWebWindowFeaturesPrivate::webkit_web_window_features_get_property):
942 (_WebKitWebWindowFeaturesPrivate::webkit_web_window_features_new):
943 (_WebKitWebWindowFeaturesPrivate::webkit_web_window_features_new_from_core_features):
944 (_WebKitWebWindowFeaturesPrivate::webkit_web_window_features_equal):
945 * webkit/webkitwebwindowfeatures.h: Added.
947 2008-11-24 Darin Fisher <darin@chromium.org>
951 http://bugs.webkit.org/show_bug.cgi?id=15643
953 * WebCoreSupport/EditorClientGtk.cpp:
954 (WebKit::EditorClient::isSelectTrailingWhitespaceEnabled):
955 * WebCoreSupport/EditorClientGtk.h:
957 2008-11-24 Darin Adler <darin@apple.com>
959 Reviewed by Dan Bernstein.
961 - https://bugs.webkit.org/show_bug.cgi?id=22470
962 remove unneeded URL argument from FrameLoaderClient::updateGlobalHistory
964 * WebCoreSupport/FrameLoaderClientGtk.cpp:
965 (WebKit::FrameLoaderClient::updateGlobalHistory): Remove argument.
966 * WebCoreSupport/FrameLoaderClientGtk.h: Ditto.
968 2008-11-24 Christian Dywan <christian@twotoasts.de>
970 Reviewed by Holger Freyther.
972 http://bugs.webkit.org/show_bug.cgi?id=17122
973 [GTK] Bad font default settings
975 * webkit/webkitwebsettings.cpp:
976 (_WebKitWebSettingsPrivate::webkit_web_settings_class_init):
977 Use default font size 12 instead of 10
979 2008-11-24 Zan Dobersek <zandobersek@gmail.com>
981 Reviewed by Holger Freyther.
983 https://bugs.webkit.org/show_bug.cgi?id=22039
985 Implement a semi-private function for adding a directory to
986 PluginDatabase's paths.
988 * webkit/webkitprivate.h:
989 * webkit/webkitwebsettings.cpp:
990 (_WebKitWebSettingsPrivate::webkit_web_settings_add_extra_plugin_directory):
992 2008-11-23 Holger Hans Peter Freyther <zecke@selfish.org>
994 Rubber-stamped by Sam Weinig.
996 Add gtk-doc configuration/source for the WebKit/Gtk+ Reference Manual
998 These files will be used by gtk-doc to generate the documentation. They
999 contain information how to group the symbols of our API, which objects
1000 to inspect during the generation of the manual and how to display the
1003 * docs/webkitgtk-docs.sgml: Added.
1004 * docs/webkitgtk-overrides.txt: Added.
1005 * docs/webkitgtk-sections.txt: Added.
1006 * docs/webkitgtk.types: Added.
1008 2008-11-23 Holger Hans Peter Freyther <zecke@selfish.org>
1010 Reviewed by Sam Weinig.
1012 Make gtk-doc happy with the existing API documentation
1014 - Mark the *Private pointers in the struct private
1015 - Use Returns: where gtk-doc wants us to
1016 - Fix the parameters to make gtk-doc happy
1017 - Fix signal references
1019 * webkit/webkitnetworkrequest.h:
1020 * webkit/webkitwebbackforwardlist.cpp:
1021 * webkit/webkitwebbackforwardlist.h:
1022 * webkit/webkitwebframe.h:
1023 * webkit/webkitwebhistoryitem.cpp:
1024 * webkit/webkitwebinspector.cpp:
1025 (_WebKitWebInspectorPrivate::webkit_web_inspector_class_init):
1026 * webkit/webkitwebview.cpp:
1027 * webkit/webkitwebview.h:
1029 2008-11-19 Darin Fisher <darin@chromium.org>
1033 https://bugs.webkit.org/show_bug.cgi?id=22373
1034 Ports busted by addition of ScriptValue.{h,cpp}
1036 * webkit/webkitwebview.cpp:
1038 2008-11-18 Holger Hans Peter Freyther <zecke@selfish.org>
1040 Reviewed by Simon Hausmann.
1042 Attempt to share transitionToCommittedForNewPage of FrameLoaderClient with the different ports
1044 After Hyatt's work on Widget and ScrollView there is little difference
1045 between the implementation of Qt, Gtk+ and Win. In fact any kind of
1046 difference is mostly a bug. Alp has fixed two of such errors for the Gtk+
1047 port and the Qt port has at least one of them left.
1049 The only difference between the implementations is in getting the the
1050 IntSize for the new FrameView, the background color to be applied and
1051 eventually some post processing.
1053 Unify the implementations by providing a static helper function that
1054 takes a Frame, IntSize, color and transparency bit and calling it from
1055 the Gtk+, the Qt and the Windows port.
1057 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1058 (WebKit::FrameLoaderClient::transitionToCommittedForNewPage):
1060 2008-11-16 Christian Dywan <christian@twoasts.de>
1062 Reviewed by Holger Freyther.
1064 https://bugs.webkit.org/show_bug.cgi?id=22207
1065 [Gtk] Font sizes are not handled properly when updated at runtime
1067 * webkit/webkitwebview.cpp: Move the DPI/ conversion into a
1068 helper function and apply the logic in the notification callback.
1070 2008-11-06 Alp Toker <alp@nuanti.com>
1072 Reviewed by Darin Adler.
1074 https://bugs.webkit.org/show_bug.cgi?id=22047
1075 GTK: Add support for multiple file selection in the file upload control
1077 Implemented with GtkFileChooser.
1079 * WebCoreSupport/ChromeClientGtk.cpp:
1080 (WebKit::ChromeClient::runOpenPanel):
1082 2008-11-03 Cameron Zwarich <zwarich@apple.com>
1084 Rubber-stamped by Maciej Stachowiak.
1086 Move more files into the runtime subdirectory of JavaScriptCore.
1088 * webkit/webkitprivate.cpp:
1090 2008-11-03 Alp Toker <alp@nuanti.com>
1092 Reviewed by Holger Freyther.
1094 Deprecate flawed webkit_web_frame_new() function. This would never
1095 have worked properly when used outside WebCore since Frame::create()
1096 can only be called without an owner element once in the lifetime of a
1097 Page and would result in assertions, leaks and an unusable WebView
1100 Frame creation may be exposed in API some time later via the DOM
1101 binding but probably not in the WebKit GTK+ core API.
1103 * webkit/webkitwebframe.cpp:
1104 * webkit/webkitwebframe.h:
1106 2008-11-03 Alp Toker <alp@nuanti.com>
1108 Reviewed by Holger Freyther.
1110 Redundant scrollbars appear in frames where they shouldn't be visible
1111 eg. embedded Google adverts.
1113 Call setCanHaveScrollbars() when necessary. The Mac and Win ports
1114 already have this but it was missing in FrameLoaderClientGtk.
1116 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1117 (WebKit::FrameLoaderClient::transitionToCommittedForNewPage):
1119 2008-11-03 Alp Toker <alp@nuanti.com>
1121 Rubber-stamped by Holger Freyther.
1123 Sync WebKit GTK+ default UA version string to 528.5+. (We're still
1124 doing this manually!)
1126 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1127 (WebKit::composeUserAgent):
1129 2008-10-31 Christian Dywan <christian@twotoasts.de>
1131 Reviewed by Mark Rowe.
1133 http://bugs.webkit.org/show_bug.cgi?id=22018
1134 enable-developer-extras doesn't toggle WebInspector
1136 * webkit/webkitwebview.cpp:
1137 Add missing 'if' in notification for 'enable-developer-extras'.
1139 2008-10-30 Alp Toker <alp@nuanti.com>
1141 Reviewed by Dave Hyatt.
1143 Fix GIF animations. WebCore will not update animated GIFs if
1144 the WebView is marked offscreen so we need to call
1145 frameView->setParentVisible() when necessary like the Mac and Win
1146 ports do. Regression was introduced around r37155 during the
1147 HostWindow refactor.
1149 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1150 (WebKit::FrameLoaderClient::transitionToCommittedForNewPage):
1152 2008-10-30 Alp Toker <alp@nuanti.com>
1154 Rubber-stamped by Holger Freyther.
1156 Fix typo in recently added web inspector signal. dettach -> detach.
1158 * WebCoreSupport/InspectorClientGtk.cpp:
1159 (WebKit::InspectorClient::detachWindow):
1160 * webkit/webkitwebinspector.cpp:
1161 (_WebKitWebInspectorPrivate::webkit_web_inspector_class_init):
1163 2008-10-30 Alp Toker <alp@nuanti.com>
1165 Fix version comments for the web inspector added in r37982. Available
1166 since 1.0.3, not 1.0.2.
1168 * webkit/webkitwebinspector.cpp:
1169 (_WebKitWebInspectorPrivate::webkit_web_inspector_class_init):
1170 * webkit/webkitwebsettings.cpp:
1171 (_WebKitWebSettingsPrivate::webkit_web_settings_class_init):
1172 * webkit/webkitwebview.cpp:
1174 2008-10-29 Gustavo Noronha Silva <gns@gnome.org>
1176 Reviewed and slightly changed by Holger Freyther.
1178 Implemented a new WebKitWebInspector class to provide a GObject
1179 API for the Web Inspector. Also implemented InspectorClient.
1181 * WebCoreSupport/InspectorClientGtk.cpp:
1182 (WebKit::notifyWebViewDestroyed):
1183 (WebKit::InspectorClient::InspectorClient):
1184 (WebKit::InspectorClient::inspectorDestroyed):
1185 (WebKit::InspectorClient::webViewDestroyed):
1186 (WebKit::InspectorClient::createPage):
1187 (WebKit::InspectorClient::showWindow):
1188 (WebKit::InspectorClient::closeWindow):
1189 (WebKit::InspectorClient::attachWindow):
1190 (WebKit::InspectorClient::detachWindow):
1191 (WebKit::InspectorClient::inspectedURLChanged):
1192 * WebCoreSupport/InspectorClientGtk.h:
1194 * webkit/webkit-marshal.list:
1195 * webkit/webkitdefines.h:
1196 * webkit/webkitprivate.h:
1197 * webkit/webkitwebinspector.cpp: Added.
1198 (_WebKitWebInspectorPrivate::webkit_inspect_web_view_request_handled):
1199 (_WebKitWebInspectorPrivate::webkit_web_inspector_class_init):
1200 (_WebKitWebInspectorPrivate::webkit_web_inspector_init):
1201 (_WebKitWebInspectorPrivate::webkit_web_inspector_finalize):
1202 (_WebKitWebInspectorPrivate::webkit_web_inspector_set_property):
1203 (_WebKitWebInspectorPrivate::webkit_web_inspector_get_property):
1204 (_WebKitWebInspectorPrivate::webkit_web_inspector_set_web_view):
1205 * webkit/webkitwebinspector.h: Added.
1206 * webkit/webkitwebsettings.cpp:
1207 (_WebKitWebSettingsPrivate::):
1208 (_WebKitWebSettingsPrivate::webkit_web_settings_class_init):
1209 (_WebKitWebSettingsPrivate::webkit_web_settings_set_property):
1210 (_WebKitWebSettingsPrivate::webkit_web_settings_get_property):
1211 (_WebKitWebSettingsPrivate::webkit_web_settings_copy):
1212 * webkit/webkitwebview.cpp:
1213 * webkit/webkitwebview.h:
1215 2008-10-27 Michael Tross <michael@tross.org>
1217 Reviewed by Alp Toker. Landed by Jan Alonzo.
1219 https://bugs.webkit.org/show_bug.cgi?id=21827
1220 [GTK] Fix memory leak in webkit_web_view_load_string
1222 * webkit/webkitwebview.cpp:
1224 2008-10-24 Sam Weinig <sam@webkit.org>
1228 * WebCoreSupport/ChromeClientGtk.cpp:
1230 2008-10-24 Sam Weinig <sam@webkit.org>
1232 Reviewed by Dan Bernstein.
1234 Fix https://bugs.webkit.org/show_bug.cgi?id=21759
1235 Layering violation: FileChooser should not depend on Document/Frame/Page
1237 * WebCoreSupport/ChromeClientGtk.cpp:
1238 (WebKit::ChromeClient::runOpenPanel):
1239 * WebCoreSupport/ChromeClientGtk.h:
1241 2008-10-24 Timothy Hatcher <timothy@apple.com>
1243 Stub out new InspectorClient methods.
1245 https://bugs.webkit.org/show_bug.cgi?id=21856
1247 Reviewed by Darin Adler.
1249 * WebCoreSupport/InspectorClientGtk.cpp:
1250 (WebKit::InspectorClient::populateSetting): Not implemented.
1251 (WebKit::InspectorClient::storeSetting): Ditto.
1252 (WebKit::InspectorClient::removeSetting): Ditto.
1253 * WebCoreSupport/InspectorClientGtk.h:
1255 2008-10-22 Alp Toker <alp@nuanti.com>
1257 Build fix for older GTK+ versions where GTK_TYPE_TARGET_LIST isn't
1260 * webkit/webkitwebview.cpp:
1262 2008-10-22 Alp Toker <alp@nuanti.com>
1264 Reviewed by Adam Roben.
1266 Avoid critical warnings on older GTK+ versions (2.8) by not checking
1267 for GTK+ setting properties when we know they don't exist.
1269 * WebCoreSupport/ContextMenuClientGtk.cpp:
1270 (WebKit::inputMethodsMenuItem):
1271 (WebKit::unicodeMenuItem):
1273 2008-10-20 Sam Weinig <sam@webkit.org>
1275 Reviewed by Anders Carlsson.
1277 Remove FrameLoaderClient::detachedFromParent4. It is no longer used by any port.
1279 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1280 * WebCoreSupport/FrameLoaderClientGtk.h:
1282 2008-10-20 Alp Toker <alp@nuanti.com>
1284 Reviewed by Dave Hyatt.
1286 https://bugs.webkit.org/show_bug.cgi?id=21303
1287 [GTK] Scrolling glitches
1289 Implement a buffering scheme to avoid full repaints when scrolling
1290 views or subframes significantly improving scrolling performance.
1292 Improve rendering performance by coalescing large numbers of small
1295 Also fixes long-running issues with scrollbar positioning and frame
1298 Rendering in the GTK+ port should be more similar to other ports after
1301 * WebCoreSupport/ChromeClientGtk.cpp:
1302 (WebKit::ChromeClient::repaint):
1303 (WebKit::ChromeClient::scroll):
1304 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1305 (WebKit::FrameLoaderClient::forceLayout):
1306 * webkit/webkitwebview.cpp:
1308 2008-10-17 Luke Kenneth Casson Leighton <lkcl@lkcl.net>
1310 Reviewed by Mark Rowe. Landed by Jan Alonzo.
1312 https://bugs.webkit.org/show_bug.cgi?id=20403
1313 [Gtk] Segfault after a table with an iframe is attempted to be added twice to DOM model with javascript
1315 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1316 (WebKit::FrameLoaderClient::frameLoaderDestroyed):
1317 (WebKit::FrameLoaderClient::detachedFromParent4):
1319 2008-10-06 David Hyatt <hyatt@apple.com>
1321 Enable viewless Mac WebKit to paint some basic pages.
1323 Reviewed by Sam Weinig
1325 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1326 (WebKit::FrameLoaderClient::transitionToCommittedForNewPage):
1327 * WebCoreSupport/FrameLoaderClientGtk.h:
1329 2008-10-03 David Hyatt <hyatt@apple.com>
1331 Fix Gtk bustage from use of containingWindow() over on the WebKit side. Replace with HostWindow use.
1333 * webkit/webkitwebview.cpp:
1335 2008-10-03 David Hyatt <hyatt@apple.com>
1337 https://bugs.webkit.org/show_bug.cgi?id=21340
1339 Remove "containingWindow()/setContainingWindow()" from Widget. HostWindow covers this now.
1341 Reviewed by Dan Bernstein & Darin Adler
1343 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1344 (WebKit::FrameLoaderClient::transitionToCommittedForNewPage):
1346 2008-10-03 Alp Toker <alp@nuanti.com>
1348 Remove some left-over GTK+ includes. No change in functionality.
1350 * webkit/webkitwebhistoryitem.h:
1352 2008-10-03 Alp Toker <alp@nuanti.com>
1354 Build fix following r37234. Remove addToDirtyRegion from the header
1357 * WebCoreSupport/ChromeClientGtk.h:
1359 2008-10-03 David Hyatt <hyatt@apple.com>
1361 Remove addToDirtyRegion.
1363 Reviewed by Oliver Hunt
1365 * WebCoreSupport/ChromeClientGtk.cpp:
1367 2008-10-02 David Hyatt <hyatt@apple.com>
1369 https://bugs.webkit.org/show_bug.cgi?id=21314
1371 Make scrollBackingStore cross-platform.
1373 Reviewed by Sam Weinig
1375 * WebCoreSupport/ChromeClientGtk.cpp:
1376 (WebKit::ChromeClient::repaint):
1377 (WebKit::ChromeClient::scroll):
1378 * WebCoreSupport/ChromeClientGtk.h:
1380 2008-10-01 David Hyatt <hyatt@apple.com>
1382 https://bugs.webkit.org/show_bug.cgi?id=21282
1384 Make contentsToScreen/screenToContents cross-platform. Only implemented by Mac/Win right now.
1386 Reviewed by Adam Roben
1388 * WebCoreSupport/ChromeClientGtk.cpp:
1389 (WebKit::ChromeClient::windowToScreen):
1390 (WebKit::ChromeClient::screenToWindow):
1391 * WebCoreSupport/ChromeClientGtk.h:
1393 2008-09-30 Dave Hyatt <hyatt@apple.com>
1395 http://bugs.webkit.org/show_bug.cgi?id=21250
1397 Rename updateContents to repaintContentRectangle and make it cross-platform by always sending
1398 repaints up through the ChromeClient.
1400 Reviewed by Darin Adler
1402 * WebCoreSupport/ChromeClientGtk.cpp:
1403 (WebKit::ChromeClient::repaint):
1404 * WebCoreSupport/ChromeClientGtk.h:
1406 2008-09-16 Alp Toker <alp@nuanti.com>
1408 Suggested by Dave Hyatt.
1410 Build fix and cleanup. Rename ScrollBar to Scrollbar.
1412 * webkit/webkitwebview.cpp:
1414 2008-09-13 Adrien Nader <camaradetux@gmail.com>
1416 Gtk build fix, not reviewed.
1418 * webkit/webkitwebview.cpp:
1420 2008-09-10 Alp Toker <alp@nuanti.com>
1422 Reviewed by Mark Rowe.
1424 https://bugs.webkit.org/show_bug.cgi?id=17267
1425 [GTK] Primary selection/clipboard support
1427 Implement primary selection support (copying only, no paste yet).
1429 * WebCoreSupport/EditorClientGtk.cpp:
1430 (WebKit::clipboard_get_contents_cb):
1431 (WebKit::clipboard_clear_contents_cb):
1432 (WebKit::EditorClient::respondToChangedSelection):
1434 2008-09-07 Cameron Zwarich <cwzwarich@uwaterloo.ca>
1436 Reviewed by Maciej Stachowiak.
1438 Bug 20704: Replace the KJS namespace
1439 <https://bugs.webkit.org/show_bug.cgi?id=20704>
1441 Rename the KJS namespace to JSC.
1443 * webkit/webkitprivate.cpp:
1446 2008-09-05 Gustavo Noronha Silva <gns@gnome.org>
1448 Reviewed by Alp Toker.
1450 https://bugs.webkit.org/show_bug.cgi?id=18346
1451 [GTK] Remove build warnings
1453 Removed/commented code that is not (yet) used, and reordered
1454 member variables initialization for FrameLoaderClient, so that the
1455 compiler is happy and prints less warnings when building.
1457 * WebCoreSupport/ContextMenuClientGtk.cpp:
1458 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1459 (WebKit::FrameLoaderClient::FrameLoaderClient):
1461 2008-09-03 Alp Toker <alp@nuanti.com>
1463 Build fix following r36073. Include config.h where necessary.
1465 * WebCoreSupport/PasteboardHelperGtk.cpp:
1466 * webkit/webkitversion.cpp:
1468 2008-09-01 Alp Toker <alp@nuanti.com>
1470 Reviewed by Eric Seidel.
1472 https://bugs.webkit.org/show_bug.cgi?id=19939
1473 [GTK] webkit_web_history_item_get_title() fails with assertion
1475 Make sure newly constructed WebHistoryItem objects wrap a WebCore
1476 history item when necessary. Avoid G_PARAM_CONSTRUCT since it destroys
1477 history data -- use WEBKIT_PARAM flags instead as they do the right
1478 thing. This restores history functionality.
1480 Also use CString to simplify UTF-8 string management.
1482 * webkit/webkitwebbackforwardlist.cpp:
1483 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_forward_list_with_limit):
1484 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_back_list_with_limit):
1485 No need to initialize the vector with a size since it's cleared by the
1487 * webkit/webkitwebhistoryitem.cpp:
1488 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_finalize):
1489 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_class_init):
1490 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_core_item):
1491 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new):
1492 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_data):
1493 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_title):
1494 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_alternate_title):
1495 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_set_alternate_title):
1496 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_uri):
1497 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_original_uri):
1499 2008-08-27 Adrien Nader <camaradetux@gmail.com>
1501 Reviewed by Eric Seidel.
1503 https://bugs.webkit.org/show_bug.cgi?id=20099
1504 [GTK] SHIFT+PAGE_UP/DOWN doesn't extend selection
1506 * WebCoreSupport/EditorClientGtk.cpp:
1507 (WebKit::EditorClient::handleKeyboardEvent):
1509 2008-08-27 Brady Eidson <beidson@apple.com>
1513 <rdar://problem/6134133> - Crash when loading large movie as a standalone document
1515 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1516 (WebKit::FrameLoaderClient::pluginWillHandleLoadError): Stubbed for now
1517 * WebCoreSupport/FrameLoaderClientGtk.h:
1519 2008-08-18 Alp Toker <alp@nuanti.com>
1521 Reviewed by Holger Freyther.
1523 https://bugs.webkit.org/show_bug.cgi?id=20350
1524 [GTK] Get DumpRenderTree working
1526 Add a private function to WebFrame to dump the render tree as required
1527 for the DumpRenderTree testing tool.
1529 * webkit/webkitprivate.h:
1530 * webkit/webkitwebframe.cpp:
1532 2008-08-12 Timothy Hatcher <timothy@apple.com>
1534 Add a stub for InspectorClient::setAttachedWindowHeight.
1536 * WebCoreSupport/InspectorClientGtk.cpp:
1537 (WebKit::InspectorClient::setAttachedWindowHeight):
1538 Call notImplemented().
1539 * WebCoreSupport/InspectorClientGtk.h:
1541 2008-08-10 Alp Toker <alp@nuanti.com>
1543 Remove leftover qmake/GTK+ build files.
1545 * webkit/headers.pri: Removed.
1547 2008-08-02 Christian Dywan <christian@twotoasts.de>
1549 Reviewed by Eric Seidel.
1551 Remove webkit-marshal.list, which was made obsolete in #19742
1553 * webkit/webkit-marshal.list: Removed.
1555 2008-08-01 Wouter Bolsterlee <uws@xs4all.nl>
1557 Reviewed by Eric Seidel.
1559 https://bugs.webkit.org/show_bug.cgi?id=20035
1560 [GTK] Fix return value for webkit_web_view_go_to_back_forward_item()
1562 * webkit/webkitwebview.cpp:
1564 2008-07-30 Marco Barisione <marco.barisione@collabora.co.uk>
1568 http://bugs.webkit.org/show_bug.cgi?id=19742
1569 [GTK] Auto generate webkitmarshal.list
1571 Auto generate webkitmarshal.list from source files to reduce the
1572 number of conflicts when merging git branches or when applying
1574 Also rename webkit-marshal.* to webkitmarshal.* for consistency.
1576 * webkit/webkitwebframe.cpp: Include webkitmarshal.h instead of
1578 * webkit/webkitwebview.cpp: Ditto.
1580 2008-07-30 Gustavo Noronha Silva <gns@gnome.org>
1584 https://bugs.webkit.org/show_bug.cgi?id=20205
1585 Typo in comment for bracer ending block
1587 * webkit/webkitprivate.cpp: Typo fix in comment for the brace
1588 that ends the WebKit namespace; WebCore -> WebKit
1590 2008-07-26 Mark Rowe <mrowe@apple.com>
1592 Build fix. Changes to accommodate newly named/signatured loading methods in WebCore.
1594 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1595 (WebKit::FrameLoaderClient::createFrame):
1597 2008-07-17 Christian Dywan <christian@twotoasts.de>
1599 Reviewed by Holger Freyther.
1601 https://bugs.webkit.org/show_bug.cgi?id=19813
1602 [GTK] WebKit crashes on invalid settings notify callback
1604 * webkit/webkitwebview.cpp: Disconnect in webkit_web_view_finalize
1606 2008-07-08 Jan Michael Alonzo <jmalonzo@webkit.org>
1608 Reviewed by Christian Dywan.
1610 Replace 'const' with G_CONST_RETURN macro to make it flexible to
1613 * webkit/webkitnetworkrequest.cpp:
1614 * webkit/webkitnetworkrequest.h:
1615 * webkit/webkitwebframe.cpp:
1616 * webkit/webkitwebframe.h:
1617 * webkit/webkitwebhistoryitem.cpp:
1618 * webkit/webkitwebhistoryitem.h:
1620 2008-06-18 Marco Barisione <marco.barisione@collabora.co.uk>
1622 Reviewed by Alp Toker.
1624 https://bugs.webkit.org/show_bug.cgi?id=19171
1625 [GTK] GTypes for enumerations
1627 Generate GTypes for public enumerations so they can be used as
1630 * GNUmakefile.am: Generate webkit-enum-types.cpp and
1631 webkit-enum-types.h.
1633 2008-06-17 Christian Dywan <christian@twotoasts.de>
1637 [GTK] WebKitWebHistoryItem needs properties
1638 https://bugs.webkit.org/show_bug.cgi?id=19558
1640 Implement properties matching the existing accessors.
1642 * webkit/webkitwebhistoryitem.cpp:
1643 (_WebKitWebHistoryItemPrivate::):
1644 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_class_init):
1645 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_set_property):
1646 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_property):
1647 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_set_alternate_title):
1649 2008-06-15 Darin Adler <darin@apple.com>
1651 - give Frame object functions shorter names: scriptProxy() -> script(),
1652 selectionController() -> selection(), animationController() -> animation()
1654 * WebCoreSupport/EditorClientGtk.cpp:
1655 (WebKit::EditorClient::handleKeyboardEvent):
1656 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1657 (WebKit::FrameLoaderClient::windowObjectCleared):
1658 * webkit/webkitwebframe.cpp:
1659 * webkit/webkitwebview.cpp:
1661 2008-06-15 Darin Adler <darin@apple.com>
1663 - undo bogus renaming done by the script
1665 * WebCoreSupport/ContextMenuClientGtk.cpp:
1666 * webkit/webkitnetworkrequest.h:
1667 * webkit/webkitwebbackforwardlist.h:
1668 * webkit/webkitwebframe.h:
1669 * webkit/webkitwebhistoryitem.h:
1670 * webkit/webkitwebsettings.h:
1672 2008-06-15 Darin Adler <darin@apple.com>
1674 - new names for a few key JavaScriptCore files
1676 * WebCoreSupport/ContextMenuClientGtk.cpp:
1677 * webkit/webkitnetworkrequest.h:
1678 * webkit/webkitwebbackforwardlist.h:
1679 * webkit/webkitwebframe.h:
1680 * webkit/webkitwebhistoryitem.h:
1681 * webkit/webkitwebsettings.h:
1683 2008-06-15 Christian Dywan <christian@twotoasts.de>
1685 Reviewed by Alp Toker.
1687 [GTK] Property setters do not call g_object_notify()
1688 https://bugs.webkit.org/show_bug.cgi?id=18405
1690 * webkit/webkitwebview.cpp:
1692 2008-06-15 Christian Dywan <christian@twotoasts.de>
1694 Reviewed by Alp Toker.
1696 Tiny documentation fix, s/capacity/limit
1698 * webkit/webkitwebbackforwardlist.cpp:
1700 2008-06-14 Darin Adler <darin@apple.com>
1702 Rubber stamped by Sam.
1704 - new names for kjs_binding.h and kjs_proxy.h
1706 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1707 * webkit/webkitwebframe.cpp:
1709 2008-06-14 Darin Adler <darin@apple.com>
1713 * webkit/webkitwebframe.cpp: Remove a bogus release() call.
1715 2008-06-14 Darin Adler <darin@apple.com>
1719 - more https://bugs.webkit.org/show_bug.cgi?id=17257
1720 start ref counts at 1 instead of 0 for speed
1722 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1723 (WebKit::FrameLoaderClient::createDocumentLoader): Use create instead of new.
1724 * webkit/webkitwebframe.cpp:
1725 (webkit_web_frame_new): Ditto.
1726 (webkit_web_frame_init_with_web_view): Ditto.
1728 2008-06-13 Darin Adler <darin@apple.com>
1732 * WebCoreSupport/FrameLoaderClientGtk.h: Add missing argument.
1734 2008-06-13 Darin Adler <darin@apple.com>
1736 Reviewed by John Sullivan.
1738 - updated for addition of FormState argument to action policy functions
1740 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1741 (WebKit::FrameLoaderClient::dispatchDecidePolicyForNewWindowAction):
1742 (WebKit::FrameLoaderClient::dispatchDecidePolicyForNavigationAction):
1744 2008-06-10 Christian Dywan <christian@twotoasts.de>
1746 Reviewed by Alp Toker and Darin Adler.
1748 https://bugs.webkit.org/show_bug.cgi?id=16676
1749 Apply GTK coding style to WebKit Gtk public headers
1751 * webkit/webkitnetworkrequest.h:
1752 * webkit/webkitwebbackforwardlist.h:
1753 * webkit/webkitwebframe.h:
1754 * webkit/webkitwebhistoryitem.h:
1755 * webkit/webkitwebsettings.h:
1756 * webkit/webkitwebview.h:
1758 2008-06-07 Jan Michael Alonzo <jmalonzo@webkit.org>
1760 Confirmed by Christian Dywan.
1762 Gtk build fix for r34432
1764 * webkit/webkitwebhistoryitem.cpp:
1765 (_WebKitWebHistoryItemPrivate::webkit_history_item_add):
1766 (_WebKitWebHistoryItemPrivate::webkit_history_item_remove):
1767 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_dispose):
1768 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_core_item):
1769 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new):
1770 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_data):
1773 2008-06-07 Darin Adler <darin@apple.com>
1775 - try to fix build after HistoryItem changes
1777 * webkit/webkitwebhistoryitem.cpp:
1778 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new): Use HistoryItem::create.
1779 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_data): Ditto. I also
1780 believe this fixes a memory leak in the old version.
1782 2008-06-07 Christian Dywan <christian@twotoasts.de>
1784 Reviewed by Alp Toker.
1786 https://bugs.webkit.org/show_bug.cgi?id=17324
1787 Remove PLATFORM ifdefs from ContextMenu.cpp
1789 * WebCoreSupport/ContextMenuClientGtk.cpp:
1790 (WebKit::ContextMenuClient::ContextMenuClient):
1791 (WebKit::ContextMenuClient::contextMenuDestroyed):
1792 (WebKit::inputMethodsMenuItem):
1794 (WebKit::insertControlCharacter):
1795 (WebKit::unicodeMenuItem):
1796 (WebKit::ContextMenuClient::getCustomMenuFromDefaultItems):
1797 * WebCoreSupport/ContextMenuClientGtk.h:
1798 * webkit/webkitwebview.cpp:
1800 2008-06-05 Alp Toker <alp@nuanti.com>
1802 Add 'Since' documentation for API versioning functions.
1804 * webkit/webkitversion.cpp:
1806 2008-06-05 Christian Dywan <christian@twotoasts.de>
1808 Reviewed by Alp Toker.
1810 https://bugs.webkit.org/show_bug.cgi?id=14141
1811 Please add a version to the Gtk port
1814 * webkit/webkitversion.cpp: Added.
1815 * webkit/webkitversion.h.in: Added.
1816 * webkit/webkitwebsettings.cpp:
1817 (_WebKitWebSettingsPrivate::webkit_web_settings_class_init):
1818 * webkit/webkitwebview.cpp:
1820 2008-06-01 Alp Toker <alp@nuanti.com>
1822 Suggested by Christian Dywan.
1824 Use float literals for zoom values and improve documentation wording.
1826 * webkit/webkitwebsettings.cpp:
1827 (_WebKitWebSettingsPrivate::webkit_web_settings_class_init):
1828 * webkit/webkitwebview.cpp:
1830 2008-06-01 Alp Toker <alp@nuanti.com>
1834 Remove webkit_web_view_go_backward(),
1835 webkit_web_view_can_go_backward(). These have been obsoleted by
1836 the back() versions for quite a while.
1838 * webkit/webkitwebview.cpp:
1839 * webkit/webkitwebview.h:
1841 2008-05-31 Alp Toker <alp@nuanti.com>
1843 Fix inconsistent zoom docs and enum name landed in r34249. Issue
1844 noticed by Marco Barisione.
1846 * webkit/webkitwebview.cpp:
1848 2008-05-30 Carlos MartÃn Nieto <carlos@cmartin.tk>
1850 Reviewed by Alp Toker.
1852 http://bugs.webkit.org/show_bug.cgi?id=18383
1853 [GTK] The "hovering-over-link" signal arguments aren't documented.
1855 * webkit/webkitwebview.cpp:
1857 2008-05-29 Marco Barisione <marco@collabora.co.uk>
1859 Reviewed (and tweaked) by Alp Toker.
1861 http://bugs.webkit.org/show_bug.cgi?id=18281
1862 [GTK] add functions to set/get the zoom level
1864 * webkit/webkitwebsettings.cpp:
1865 (_WebKitWebSettingsPrivate::):
1866 (_WebKitWebSettingsPrivate::webkit_web_settings_class_init):
1867 (_WebKitWebSettingsPrivate::webkit_web_settings_set_property):
1868 (_WebKitWebSettingsPrivate::webkit_web_settings_get_property):
1869 * webkit/webkitwebview.cpp: Add functions to get and set the zoom
1871 * webkit/webkitwebview.h: Ditto.
1872 * webkit/webkitprivate.h:
1874 2008-05-28 Alp Toker <alp@nuanti.com>
1876 Reviewed by Alexey Proskuryakov.
1878 http://bugs.webkit.org/show_bug.cgi?id=18704
1879 [gtk] cannot type letters with dead keys in textarea
1881 http://bugs.webkit.org/show_bug.cgi?id=14120
1882 [GDK] Support input methods
1884 Add support for input method composition.
1886 Remove some old hacks so we handle input method events more
1889 * WebCoreSupport/EditorClientGtk.cpp:
1890 (WebKit::imContextCommitted):
1891 (WebKit::imContextPreeditChanged):
1892 (WebKit::EditorClient::setInputMethodState):
1893 (WebKit::EditorClient::respondToChangedSelection):
1894 (WebKit::EditorClient::handleInputMethodKeydown):
1895 (WebKit::EditorClient::EditorClient):
1896 (WebKit::EditorClient::~EditorClient):
1897 (WebKit::EditorClient::textFieldDidBeginEditing):
1898 (WebKit::EditorClient::textFieldDidEndEditing):
1899 (WebKit::EditorClient::textDidChangeInTextField):
1900 (WebKit::EditorClient::doTextFieldCommandFromEvent):
1901 * webkit/webkitwebview.cpp:
1903 2008-05-25 Alp Toker <alp@nuanti.com>
1907 Drop WebView focus when the widget is focused out.
1909 * webkit/webkitwebview.cpp:
1911 2008-05-25 Sriram Neelakandan <sriram.neelakandan@gmail.com>
1913 Reviewed by Alp Toker.
1915 http://bugs.webkit.org/show_bug.cgi?id=18935
1916 [Gtk] Plugin Load crashes with NP_FULL mode
1918 Fix crash due to uninitialized variable.
1920 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1921 (WebKit::FrameLoaderClient::FrameLoaderClient):
1923 2008-05-24 Alp Toker <alp@nuanti.com>
1925 https://bugs.webkit.org/show_bug.cgi?id=18825
1926 webkitgtk fails to build from source: "Database Tracker" has not been declared
1928 GTK+ fix for building without database support.
1929 exceededDatabaseQuota() still needs to be present, just a no-op.
1931 * WebCoreSupport/ChromeClientGtk.cpp:
1932 (WebKit::ChromeClient::exceededDatabaseQuota):
1934 2008-05-23 Alp Toker <alp@nuanti.com>
1936 GTK+ fixes for building without database support.
1938 * WebCoreSupport/ChromeClientGtk.cpp:
1940 2008-05-19 Alp Toker <alp@nuanti.com>
1942 Reviewed by Anders and Beth.
1944 http://bugs.webkit.org/show_bug.cgi?id=16495
1945 [GTK] Accessibility support with ATK/AT-SPI
1947 Initial ATK/AT-SPI accessibility support for the GTK+ port.
1949 * webkit/webkitwebview.cpp:
1951 2008-05-06 Christian Dywan <christian@twotoasts.de>
1953 Rubber stamped by Alp.
1955 Back out 17626. It wasn't ready for commit.
1957 * webkit/webkitprivate.h:
1958 * webkit/webkitwebview.cpp:
1959 * webkit/webkitwebview.h:
1961 2008-05-01 Marc Ordinas i Llopis <marc.ordinasillopis@collabora.co.uk>
1963 Reviewed by Alp Toker.
1965 https://bugs.webkit.org/show_bug.cgi?id=14750
1966 Added support for NPAPI plugins on Gtk and Qt-x11 ports.
1968 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1969 (WebKit::FrameLoaderClient::FrameLoaderClient):
1970 (WebKit::FrameLoaderClient::committedLoad):
1971 (WebKit::FrameLoaderClient::createPlugin):
1972 (WebKit::FrameLoaderClient::redirectDataToPlugin):
1973 (WebKit::FrameLoaderClient::finishedLoading):
1974 (WebKit::FrameLoaderClient::setMainDocumentError):
1975 * WebCoreSupport/FrameLoaderClientGtk.h:
1977 2008-04-30 Sean Egan <seanegan@gmail.com>
1979 Reviewed and modified by Holger.
1981 https://bugs.webkit.org/show_bug.cgi?id=17626
1982 Support setting background color and a 16-bit alpha channel.
1984 * webkit/webkitprivate.h:
1985 * webkit/webkitwebview.cpp:
1986 * webkit/webkitwebview.h:
1988 2008-04-24 Dan Bernstein <mitz@apple.com>
1992 * webkit/webkitwebview.cpp:
1994 2008-04-24 Anders Carlsson <andersca@apple.com>
1998 Change some String arguments to be const references instead.
2000 * WebCoreSupport/EditorClientGtk.cpp:
2001 (WebKit::EditorClient::shouldInsertText):
2002 * WebCoreSupport/EditorClientGtk.h:
2004 2008-04-23 Christian Dywan <christian@twotoasts.de>
2006 Reviewed by Alp Toker.
2008 Emit a warning about an unknown setting only if it is
2009 not a valid property. Otherwise applications can't
2010 subclass WebKitWebSettings to add new properties.
2012 * webkit/webkitwebview.cpp:
2014 2008-04-20 Simon Hausmann <hausmann@webkit.org>
2016 Reviewed by Alp Toker.
2018 http://bugs.webkit.org/show_bug.cgi?id=18578
2019 Share the printing code between the Gtk and the Qt port
2021 Share the printing code between the Gtk and the Qt port
2022 and added printing to the Qt WebKit API.
2024 * webkit/webkitwebframe.cpp: Removed PrintContext in favour of
2025 page/Printcontext.cpp/h
2027 2008-04-19 Alp Toker <alp@nuanti.com>
2031 Enable visited link tracking by default at startup.
2033 With this patch, the GTK+ port rendering of Acid3 now matches the
2036 * webkit/webkitprivate.cpp:
2040 2008-04-11 Mark Rowe <mrowe@apple.com>
2042 Gtk build fix after r32231.
2044 * webkit/webkitwebview.cpp: Update to use contentRenderer.
2046 2008-04-18 Alp Toker <alp@atoker.com>
2048 Rubber-stamped by Holger Freyther.
2050 http://bugs.webkit.org/show_bug.cgi?id=18218
2051 [Gtk] segfault when clicking on a disabled button
2053 Always use the main frame for mouse events (not the focused frame)
2054 since it knows best how to get the event through to the right target.
2056 This also fixes a null crasher.
2058 * webkit/webkitwebview.cpp:
2060 2008-04-17 Alp Toker <alp@atoker.com>
2062 Rubber-stamped by Holger Freyther.
2064 Reduce hard-coded page-cache count to 3 based on research done for the
2065 Mac port on value / page.
2067 We will need to make this more dynamic or configurable at some point
2068 but for now it's best to keep closer to the behaviour before page
2069 caching was enabled.
2071 Issue spotted by Mark Rowe.
2073 * webkit/webkitprivate.cpp:
2076 2008-04-17 Daniele Metilli <daniele.metilli@gmail.com>
2080 Fixed a typo in the copyright header.
2082 * webkit/webkitprivate.h:
2084 2008-04-14 Holger Freyther <zecke@selfish.org>
2086 Reviewed by Alp Toker.
2088 https://bugs.webkit.org/show_bug.cgi?id=18411
2089 Enable Page caching and create FrameViews on the fly
2091 Create the FrameView on the fly and cache pages
2093 - Keep a copy of the GtkAdjustment to be able to reuse it for the
2095 - Do not initially create a FrameView and update the WebKit code to
2096 cope with not having a view.
2097 - Cache seven pages by default.
2099 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2100 (WebKit::FrameLoaderClient::createFrame):
2101 (WebKit::FrameLoaderClient::canCachePage):
2102 (WebKit::FrameLoaderClient::savePlatformDataToCachedPage):
2103 (WebKit::FrameLoaderClient::transitionToCommittedFromCachedPage):
2104 (WebKit::FrameLoaderClient::transitionToCommittedForNewPage):
2105 * webkit/webkitprivate.cpp:
2107 * webkit/webkitprivate.h:
2108 * webkit/webkitwebframe.cpp:
2109 * webkit/webkitwebview.cpp:
2111 2008-04-10 Mario Bensi <mbensi@pleyo.com>
2113 Reviewed by Alp Toker.
2115 https://bugs.webkit.org/show_bug.cgi?id=18400
2116 Database example doesn't work on Gtk port
2118 Fix quota in ChromeClient
2120 * WebCoreSupport/ChromeClientGtk.cpp:
2121 (WebKit::ChromeClient::exceededDatabaseQuota):
2123 2008-04-08 Adam Roben <aroben@apple.com>
2125 Move callOnMainThread to WTF
2127 Reviewed by Alexey Proskuryakov.
2129 * webkit/webkitprivate.cpp: Updated #include.
2130 (webkit_init): Changed to call KJS::initializeThreading.
2132 2008-04-06 Luca Bruno <lethalman88@gmail.com>
2134 Reviewed by Alp Toker.
2136 Fix webkit_web_view_get_transparent() return value.
2138 * webkit/webkitwebview.cpp:
2140 2008-03-31 Jasper Bryant-Greene <jasper@unix.geek.nz>
2142 Reviewed by Darin Adler.
2144 Resolves http://bugs.webkit.org/show_bug.cgi?id=18010
2145 "WebKitNetworkRequestPrivate is defined in two places unnecessarily"
2147 Removed unnecessary definition of WebKitNetworkRequestPrivate in
2150 * webkit/webkitprivate.h:
2152 2008-03-25 Brady Eidson <beidson@apple.com>
2156 Remove newly obsolete FrameLoaderClient methods
2158 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2159 * WebCoreSupport/FrameLoaderClientGtk.h:
2161 2008-03-20 Alp Toker <alp@atoker.com>
2163 GTK+ build fix. Back out r31183. This patch also introduced API style
2166 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2167 (WebKit::FrameLoaderClient::dispatchDecidePolicyForNavigationAction):
2168 * webkit/headers.pri:
2169 * webkit/webkit-marshal.list:
2170 * webkit/webkitdefines.h:
2171 * webkit/webkitnavigationaction.cpp: Removed.
2172 * webkit/webkitnavigationaction.h: Removed.
2173 * webkit/webkitprivate.cpp:
2174 * webkit/webkitprivate.h:
2175 * webkit/webkitwebview.cpp:
2176 * webkit/webkitwebview.h:
2178 2008-03-20 Jasper Bryant-Greene <jasper@unix.geek.nz>
2180 Reviewed and tweaked by Anders.
2182 Resolves http://bugs.webkit.org/show_bug.cgi?id=16092
2183 "[GTK] Middle-mouse click should allow opening a URL in a new tab"
2185 Created WebKitNavigationAction object exported through the API. The
2186 navigation-requested signal provides this object as context for the
2187 requested navigation, allowing the application to decide what to do
2188 with the navigation based on which mouse button was used, which
2189 modifier keys were held down, etc. This allows, for example, the
2190 application to open links in a new tab when either middle-click or
2191 control-click are used to initiate the navigation.
2193 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2194 (WebKit::FrameLoaderClient::dispatchDecidePolicyForNavigationAction):
2195 * webkit/headers.pri:
2196 * webkit/webkit-marshal.list:
2197 * webkit/webkitdefines.h:
2198 * webkit/webkitnavigationaction.cpp: Added.
2199 (webkit_navigation_action_finalize):
2200 (webkit_navigation_action_class_init):
2201 (webkit_navigation_action_init):
2202 (webkit_navigation_action_get_button):
2203 (webkit_navigation_action_get_modifier_flags):
2204 (webkit_navigation_action_get_navigation_type):
2205 (webkit_navigation_action_get_original_url):
2206 * webkit/webkitnavigationaction.h: Added.
2207 * webkit/webkitprivate.cpp:
2209 * webkit/webkitprivate.h:
2210 * webkit/webkitwebview.cpp:
2211 * webkit/webkitwebview.h:
2213 2008-03-18 Rodney Dawes <dobey@wayofthemonkey.com>
2215 Reviewed and landed by jhoneycutt.
2217 Update to check if the MIME type is supported by a plugin.
2219 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2220 (FrameLoaderClient::objectContentType):
2222 2008-03-18 Rodney Dawes <dobey@wayofthemonkey.com>
2224 Reviewed by Jon Honeycutt.
2226 Update setContainingWindow() calls to pass a GtkWidget.
2228 * webkit/webkitwebframe.cpp:
2229 (webkit_web_frame_new):
2230 (webkit_web_frame_init_with_web_view):
2232 2008-03-13 Rodney Dawes <dobey@wayofthemonkey.com>
2234 Fix GTK+ build for SharedBuffer changes.
2236 * webkit/webkitwebview.cpp:
2237 (webkit_web_view_load_string):
2239 2008-03-12 Tommi Komulainen <tommi.komulainen@iki.fi>
2241 Reviewed by Alp Toker.
2243 http://bugs.webkit.org/show_bug.cgi?id=17799
2244 WebView signals should use more specific types
2246 * webkit/webkitwebview.cpp: Use WEBKIT_TYPE_WEB_FRAME argument
2247 type in "script-alert", "script-confirm", "script-script-prompt"
2248 signals so that it gets more clearly documented rather than just
2251 2008-03-10 Xan Lopez <xan@gnome.org>
2253 Reviewed by Alp Toker.
2255 Fix "missing braces" compiler warning.
2257 * webkit/webkitwebview.cpp:
2259 2008-03-04 Sam Weinig <sam@webkit.org>
2261 Reviewed by Mark Rowe.
2263 - Remove all unnecessary includes of JSDOMWindowBase.h, we prefer including
2266 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2267 * webkit/webkitwebframe.cpp:
2269 2008-03-03 Sam Weinig <sam@webkit.org>
2273 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2274 (WebKit::FrameLoaderClient::windowObjectCleared):
2276 2008-03-03 Alp Toker <alp@atoker.com>
2278 Fix the GTK+ build following breakage introduced in r30712.
2280 * WebCoreSupport/EditorClientGtk.cpp:
2281 (WebKit::imContextCommitted):
2283 2008-03-02 Alp Toker <alp@atoker.com>
2285 Reviewed by Mark Rowe.
2287 Split the WebKit GTK+ build out of the WebCore build and change the
2288 shared object name to match the package name.
2292 2008-02-27 Adam Roben <aroben@apple.com>
2294 Attempt to fix the GTK+ build
2296 * webkit/webkitwebframe.cpp:
2298 2008-02-24 Darin Adler <darin@apple.com>
2302 - remove separate client calls for "standard" and "reload' history
2304 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2305 (WebKit::FrameLoaderClient::updateGlobalHistory):
2306 * WebCoreSupport/FrameLoaderClientGtk.h:
2308 2008-02-23 Alexey Proskuryakov <ap@webkit.org>
2312 * webkit/webkitprivate.cpp:
2313 (webkit_init): Renamed initializeThreading to initializeThreadingAndMainThread.
2315 2008-02-18 Alp Toker <alp@atoker.com>
2317 Reviewed by Mark Rowe.
2319 http://bugs.webkit.org/show_bug.cgi?id=17312
2320 [GTK] Webview Transparent Background
2322 Add support for WebView background transparency.
2324 * webkit/webkitprivate.h:
2325 * webkit/webkitwebview.cpp:
2326 * webkit/webkitwebview.h:
2328 2008-02-18 Alp Toker <alp@atoker.com>
2330 Reviewed by Mark Rowe.
2332 Implement webkit_web_view_get_focused_frame()
2334 Equivalent to selectedFrame in the Mac API.
2336 * webkit/webkitwebview.cpp:
2337 * webkit/webkitwebview.h:
2339 2008-02-17 Jan Michael Alonzo <jmalonzo@unpluggable.com>
2341 Reviewed by Mark Rowe.
2343 Fix a crash introduced in changeset #29985 by moving the dereference to after
2346 * webkit/webkitwebhistoryitem.cpp:
2347 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_core_item):
2349 2008-02-15 Alp Toker <alp@atoker.com>
2351 Fix the GTK+ build following breakage introduced in r30243.
2353 * WebCoreSupport/ChromeClientGtk.cpp:
2354 (WebKit::ChromeClient::mouseDidMoveOverElement):
2355 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2356 (WebKit::FrameLoaderClient::objectContentType):
2358 2008-02-15 Darin Adler <darin@apple.com>
2360 - another try at fixing the build
2362 * webkit/webkitwebview.cpp: Added some explicit conversions to KURL.
2364 2008-02-14 Darin Adler <darin@apple.com>
2366 * webkit/webkitwebframe.cpp: Removed DeprecatedString use to try to keep it building.
2367 * webkit/webkitwebview.cpp: Ditto.
2369 2008-02-14 Holger Hans Peter Freyther <zecke@selfish.org>
2373 * Make the handling of the coreFrame consistent. We construct the coreFrame
2374 at the beginning and it will live until the end. Change the g_return_(val_)if
2375 to ASSERTs as having a 0 coreFrame can never happen.
2377 * webkit/webkitwebframe.cpp:
2378 (PrintContext::webkit_web_frame_print):
2380 2008-02-14 Holger Hans Peter Freyther <zecke@selfish.org>
2384 * Make sure that the WebCore::Frame is living as long as the WebKitWebFrame
2385 wrapped around it. All current calls to WebCore::Frame from within the
2386 WebKitWebFrame are safe, even in the case where the WebCore::Frame is already
2387 detached from the WebCore::Page.
2388 * For the mainFrame the WebKitWebView is holding the initial reference and
2389 will unref on destruction.
2390 * For sub-frames the FramerLoaderClientGtk.cpp will do the unrefing when the
2391 frame gets detached from the parent.
2392 * Make sure FrameLoader::detachFromParent gets called by calling FrameLoader::detachChildren
2394 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2395 (WebKit::FrameLoaderClient::detachedFromParent4):
2396 * webkit/webkitprivate.cpp:
2398 * webkit/webkitprivate.h:
2399 * webkit/webkitwebframe.cpp:
2400 * webkit/webkitwebview.cpp:
2402 2008-02-14 Holger Hans Peter Freyther <zecke@selfish.org>
2406 WebCore::Frame is RefCounted, do not manually delete it!
2408 * webkit/webkitwebframe.cpp:
2410 2008-02-14 Holger Hans Peter Freyther <zecke@selfish.org>
2416 * webkit/webkitwebframe.cpp:
2418 2008-02-14 Holger Hans Peter Freyther <zecke@selfish.org>
2422 * Update the Copyright Information
2424 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2425 * webkit/webkitprivate.h:
2426 * webkit/webkitwebframe.cpp:
2428 2008-02-13 Alp Toker <alp@atoker.com>
2430 Reviewed by Adam Roben.
2432 Fix very small, upside down, inside out text on GTK+/DirectFB.
2434 Based on an initial patch by Sriram Neelakandan <sriram.neelakandan@gmail.com>
2436 Test the result of gdk_screen_get_resolution() and use a default
2437 fallback in case of failure.
2439 Also remove an unhelpful runtime warning.
2441 * webkit/webkitwebview.cpp:
2443 2008-02-08 Pierre-Luc Beaudoin <pierre-luc.beaudoin@collabora.co.uk>
2445 Reviewed by Alp Toker.
2447 http://bugs.webkit.org/show_bug.cgi?id=17009
2448 [Gtk] Webkit strips accents from some dead-key combinations
2450 KeyEvents have to go through the gtk input method.
2452 * WebCoreSupport/EditorClientGtk.cpp:
2453 (WebKit::imContextCommitted):
2454 (WebKit::EditorClient::doTextFieldCommandFromEvent):
2456 2008-02-05 Mark Rowe <mrowe@apple.com>
2458 Reviewed by Alp Toker.
2460 Fix warnings seen on the Gtk port by declaring variables and using constants of the correct types.
2462 * webkit/webkitwebbackforwardlist.cpp:
2463 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_contains_item):
2464 * webkit/webkitwebhistoryitem.cpp:
2465 * webkit/webkitwebview.cpp:
2467 2008-02-04 Christian Dywan <christian@imendio.com>
2469 Reviewed by Alp Toker.
2471 http://bugs.webkit.org/show_bug.cgi?id=17065
2472 [GTK] Use a consistent coding style
2474 * WebCoreSupport/EditorClientGtk.cpp:
2475 (WebKit::imContextCommitted):
2476 (WebKit::EditorClient::EditorClient):
2477 (WebKit::EditorClient::~EditorClient):
2478 (WebKit::EditorClient::textFieldDidEndEditing):
2479 * webkit/webkitdefines.h:
2480 * webkit/webkitnetworkrequest.cpp:
2481 (_WebKitNetworkRequestPrivate::webkit_network_request_finalize):
2482 (_WebKitNetworkRequestPrivate::webkit_network_request_class_init):
2483 (_WebKitNetworkRequestPrivate::webkit_network_request_init):
2484 (_WebKitNetworkRequestPrivate::webkit_network_request_new):
2485 (_WebKitNetworkRequestPrivate::webkit_network_request_set_uri):
2486 (_WebKitNetworkRequestPrivate::webkit_network_request_get_uri):
2487 * webkit/webkitnetworkrequest.h:
2488 * webkit/webkitprivate.cpp:
2489 (WebKit::getViewFromFrame):
2491 * webkit/webkitprivate.h:
2492 * webkit/webkitwebbackforwardlist.cpp:
2493 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_new_with_web_view):
2494 * webkit/webkitwebbackforwardlist.h:
2495 * webkit/webkitwebframe.cpp:
2496 * webkit/webkitwebframe.h:
2497 * webkit/webkitwebhistoryitem.cpp:
2498 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_dispose):
2499 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_finalize):
2500 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_core_item):
2501 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new):
2502 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_data):
2503 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_title):
2504 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_alternate_title):
2505 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_set_alternate_title):
2506 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_uri):
2507 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_original_uri):
2509 * webkit/webkitwebhistoryitem.h:
2510 * webkit/webkitwebsettings.h:
2511 * webkit/webkitwebview.cpp:
2512 * webkit/webkitwebview.h:
2514 2008-02-04 Alp Toker <alp@atoker.com>
2516 Rubber-stamped by Mark Rowe.
2518 Remove all trailing whitespace in the GTK+ port and related
2521 * WebCoreSupport/DragClientGtk.h:
2522 * WebCoreSupport/FrameLoaderClientGtk.h:
2523 * WebCoreSupport/InspectorClientGtk.h:
2524 * WebCoreSupport/PasteboardHelperGtk.h:
2525 * webkit/webkitprivate.h:
2526 * webkit/webkitwebbackforwardlist.cpp:
2527 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_contains_item):
2528 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_forward_list_with_limit):
2529 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_back_item):
2530 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_forward_length):
2531 * webkit/webkitwebhistoryitem.cpp:
2532 (_WebKitWebHistoryItemPrivate::webkit_history_items):
2533 (_WebKitWebHistoryItemPrivate::webkit_history_item_add):
2534 (_WebKitWebHistoryItemPrivate::webkit_history_item_remove):
2535 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_dispose):
2536 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_data):
2537 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_title):
2538 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_alternate_title):
2539 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_set_alternate_title):
2540 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_original_uri):
2541 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_last_visited_time):
2543 * webkit/webkitwebhistoryitem.h:
2544 * webkit/webkitwebview.cpp:
2545 * webkit/webkitwebview.h:
2547 2008-02-03 Christian Dywan <christian@imendio.com>
2549 Reviewed by Alp Toker.
2551 http://bugs.webkit.org/show_bug.cgi?id=17046
2552 [GTK] Context menu fixes and customisation suport
2554 * webkit/webkitwebview.cpp:
2556 2008-01-31 Alp Toker <alp@atoker.com>
2558 Reviewed by Mark Rowe.
2560 Fix the pkg-config file to follow GTK+ package naming and versioning
2563 Remove unneeded dependency listings.
2565 * WebKitGtk.pc.in: Removed.
2566 * webkit.pc.in: Copied from WebKit/gtk/WebKitGtk.pc.in.
2568 2008-01-31 Alp Toker <alp@atoker.com>
2570 Rubber-stamped by Adam Roben.
2572 http://bugs.webkit.org/show_bug.cgi?id=17006
2573 [GTK] Header path should be webkit/webkit.h
2575 Move the GTK+ API sources as needed and update the build systems.
2578 * WebView/headers.pri: Removed.
2579 * WebView/webkit-marshal.list: Removed.
2580 * WebView/webkit.h: Removed.
2581 * WebView/webkitdefines.h: Removed.
2582 * WebView/webkitnetworkrequest.cpp: Removed.
2583 * WebView/webkitnetworkrequest.h: Removed.
2584 * WebView/webkitprivate.cpp: Removed.
2585 * WebView/webkitprivate.h: Removed.
2586 * WebView/webkitwebbackforwardlist.cpp: Removed.
2587 * WebView/webkitwebbackforwardlist.h: Removed.
2588 * WebView/webkitwebframe.cpp: Removed.
2589 * WebView/webkitwebframe.h: Removed.
2590 * WebView/webkitwebhistoryitem.cpp: Removed.
2591 * WebView/webkitwebhistoryitem.h: Removed.
2592 * WebView/webkitwebsettings.cpp: Removed.
2593 * WebView/webkitwebsettings.h: Removed.
2594 * WebView/webkitwebview.cpp: Removed.
2595 * WebView/webkitwebview.h: Removed.
2596 * webkit: Copied from WebKit/gtk/WebView.
2598 * webkit/webkitnetworkrequest.h:
2599 * webkit/webkitprivate.h:
2600 * webkit/webkitwebbackforwardlist.h:
2601 * webkit/webkitwebframe.h:
2602 * webkit/webkitwebhistoryitem.h:
2603 * webkit/webkitwebsettings.h:
2604 * webkit/webkitwebview.h:
2606 2008-01-27 Jan Michael Alonzo <jmalonzo@unpluggable.com>
2608 Reviewed by Alp Toker.
2610 http://bugs.webkit.org/show_bug.cgi?id=14811
2611 [gtk] [request] add a webkit_gtk_page_go_to_history_item function
2613 implement back/forward list and history item
2615 * WebView/headers.pri:
2617 * WebView/webkitprivate.cpp:
2618 * WebView/webkitprivate.h:
2619 * WebView/webkitwebbackforwardlist.cpp: Added.
2620 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_dispose):
2621 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_class_init):
2622 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_init):
2623 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_new_with_web_view):
2624 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_go_forward):
2625 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_go_back):
2626 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_contains_item):
2627 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_go_to_item):
2628 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_forward_list_with_limit):
2629 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_back_list_with_limit):
2630 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_back_item):
2631 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_current_item):
2632 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_forward_item):
2633 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_nth_item):
2634 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_back_length):
2635 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_forward_length):
2636 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_limit):
2637 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_set_limit):
2638 * WebView/webkitwebbackforwardlist.h: Added.
2639 * WebView/webkitwebhistoryitem.cpp: Added.
2640 (_WebKitWebHistoryItemPrivate::webkit_history_items):
2641 (_WebKitWebHistoryItemPrivate::webkit_history_item_add):
2642 (_WebKitWebHistoryItemPrivate::webkit_history_item_remove):
2643 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_dispose):
2644 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_finalize):
2645 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_class_init):
2646 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_init):
2647 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_core_item):
2648 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new):
2649 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_data):
2650 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_title):
2651 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_alternate_title):
2652 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_set_alternate_title):
2653 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_uri):
2654 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_original_uri):
2655 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_last_visited_time):
2658 * WebView/webkitwebhistoryitem.h: Added.
2659 * WebView/webkitwebview.cpp:
2660 * WebView/webkitwebview.h:
2662 2008-01-25 Ori Bernstein <ori@eigenstate.org>
2664 Reviewed by Alp Toker.
2666 http://bugs.webkit.org/show_bug.cgi?id=16795
2667 WebKitGtk crashes when there is no focused Frame
2669 Add a null check. focusedFrame() isn't used directly anywhere else so
2670 this is the only case that needs to be fixed.
2672 * WebView/webkitwebview.cpp:
2674 2008-01-22 Christian Dywan <christian@imendio.com>
2676 Reviewed by Alp Toker.
2678 [GTK] API: WebKitWebSettings is not usable
2679 http://bugs.webkit.org/show_bug.cgi?id=16219
2681 Implement WebKitWebSettings.
2683 * WebView/headers.pri:
2685 * WebView/webkitprivate.cpp:
2686 * WebView/webkitprivate.h:
2687 * WebView/webkitsettings.cpp: Removed.
2688 * WebView/webkitsettings.h: Removed.
2689 * WebView/webkitwebsettings.cpp: Added.
2690 * WebView/webkitwebsettings.h: Added.
2691 * WebView/webkitwebview.cpp:
2692 * WebView/webkitwebview.h:
2694 2008-01-21 Alp Toker <alp@atoker.com>
2696 GTK+ build fix for breakage introduced in r29698.
2698 * WebCoreSupport/ChromeClientGtk.h:
2700 2008-01-21 Darin Adler <darin@apple.com>
2702 Reviewed by John Sullivan.
2704 - updated for changes to database functions
2706 * WebCoreSupport/ChromeClientGtk.cpp:
2707 (WebKit::ChromeClient::exceededDatabaseQuota):
2708 * WebCoreSupport/ChromeClientGtk.h:
2709 * WebView/webkitprivate.cpp:
2712 2008-01-20 Alp Toker <alp@atoker.com>
2714 Reviewed by Mark Rowe.
2716 Attach the widget's style to its window and set the background to the
2717 base background to avoid black flicker when repainting. This is
2718 similar to what GtkTextView does.
2720 * WebView/webkitwebview.cpp:
2722 2008-01-19 Christian Dywan <christian@imendio.com>
2724 Reviewed by Alp Toker.
2726 http://bugs.webkit.org/show_bug.cgi?id=16882
2727 [GTK] ChromeClientGtk is incompete
2729 Implement these functions.
2731 * WebCoreSupport/ChromeClientGtk.cpp:
2732 (WebKit::ChromeClient::windowRect):
2733 (WebKit::ChromeClient::pageRect):
2734 (WebKit::ChromeClient::scaleFactor):
2735 (WebKit::ChromeClient::focus):
2736 (WebKit::ChromeClient::unfocus):
2737 (WebKit::ChromeClient::canTakeFocus):
2738 (WebKit::ChromeClient::takeFocus):
2739 (WebKit::ChromeClient::canRunBeforeUnloadConfirmPanel):
2741 2008-01-18 Luca Bruno <lethalman88@gmail.com>
2743 Reviewed by Alp Toker.
2745 http://bugs.webkit.org/show_bug.cgi?id=16910
2746 [GTK] REGRESSION: keyboard cursor doesn't blink
2748 http://bugs.webkit.org/show_bug.cgi?id=16863
2749 [GTK] REGRESSION: tab focusing doesn't work
2751 * WebView/webkitwebview.cpp:
2752 (webkit_web_view_focus_in_event): Added. Set the active frame.
2753 (webkit_web_view_class_init):
2755 2008-01-16 Alp Toker <alp@atoker.com>
2757 Reviewed by Mark Rowe.
2759 http://bugs.webkit.org/show_bug.cgi?id=16218
2760 [GTK] API: Should this entry point be called go_back rather than go_backward?
2762 Obsolete 'backward' terminology in API in favour of 'back'. Introduce
2763 step-based back/forward functions.
2765 Document more functions.
2767 * WebView/webkitdefines.h:
2768 * WebView/webkitwebview.cpp:
2769 * WebView/webkitwebview.h:
2771 2008-01-10 Maciej Stachowiak <mjs@apple.com>
2775 - remove SecurityOriginData and fold its functionality into SecurityOrigin
2777 * WebCoreSupport/ChromeClientGtk.cpp:
2778 (WebKit::ChromeClient::requestQuotaIncreaseForNewDatabase):
2779 (WebKit::ChromeClient::requestQuotaIncreaseForDatabaseOperation):
2780 * WebCoreSupport/ChromeClientGtk.h:
2782 2008-01-09 Luca Bruno <lethalman88@gmail.com>
2784 Reviewed by Alp Toker.
2786 http://bugs.webkit.org/show_bug.cgi?id=16802
2787 [GTK] Missing gtk properties
2789 Add missing properties to WebKitViewFrame and WebKitWebView.
2791 * WebView/webkitprivate.h: add some useful defines for param specs
2792 * WebView/webkitwebframe.cpp:
2793 (webkit_web_frame_get_property): added
2794 (webkit_web_frame_class_init): add name, title and uri read-only properties
2795 * WebView/webkitwebview.cpp:
2796 (webkit_web_view_get_property): add editable property read
2797 (webkit_web_view_set_property): added for editable property write
2798 (webkit_web_view_class_init): add read-write editable property
2800 2008-01-03 Xan Lopez <xan@gnome.org>
2802 Reviewed by Alp Toker.
2804 http://bugs.webkit.org/show_bug.cgi?id=16654
2805 [GTK] Signal "navigation-requested" does not react correctly on
2806 return TRUE from callbacks
2808 * WebView/webkitwebview.cpp: use our own accumulator for signals
2809 returning WebKitNavigationResponse. The emission will be stopped
2810 when any callback returns anything but
2811 WEBKIT_NAVIGATION_RESPONSE_ACCEPT.
2813 2008-01-02 Holger Hans Peter Freyther <zecke@selfish.org>
2815 Rubber stamped by Darin Adler.
2817 Coding Style fix. Do not use an else because we use a return in the
2820 * WebView/webkitwebview.cpp:
2822 2008-01-02 Luca Bruno <lethalman88@gmail.com>
2824 Reviewed by Alp Toker.
2826 http://bugs.webkit.org/show_bug.cgi?id=16115
2827 [GTK] ContextMenu and ContextMenuItem lacks an implementation
2829 Add context menu support.
2831 Based on a patch by Holger Freyther.
2833 * WebCoreSupport/ContextMenuClientGtk.cpp:
2834 (WebKit::ContextMenuClient::getCustomMenuFromDefaultItems):
2835 * WebView/webkitprivate.h:
2836 * WebView/webkitwebview.cpp:
2838 2007-12-29 Jan Michael Alonzo <jmalonzo@unpluggable.com>
2840 Reviewed by Alp Toker.
2842 http://bugs.webkit.org/show_bug.cgi?id=16669
2843 autotools update and fixes
2845 pkgconfig file and icon database inclusion fix
2847 * WebKitGtk.pc.in: Remove ICU_FLAGS from Cflags
2848 * WebView/webkitprivate.cpp: Guard ICONDATABASE inclusions
2850 2007-12-28 Christian Dywan <christian@twotoasts.de>
2852 Reviewed by Alp Toker.
2854 http://bugs.webkit.org/show_bug.cgi?id=16642
2855 [GTK] webkit_web_view_has_selection returns the opposite result
2857 Invert the return value.
2859 * WebView/webkitwebview.cpp:
2861 2007-12-26 Jan Michael Alonzo <jmalonzo@unpluggable.com>
2863 Reviewed by Alp Toker.
2865 http://bugs.webkit.org/show_bug.cgi?id=16390
2866 Use autotools or GNU make as the build system for the GTK port
2868 * WebKitGtk.pc.in: Added.
2870 2007-12-24 Christian Dywan <christian@twotoasts.de>
2872 Reviewed by Alp Toker.
2874 http://bugs.webkit.org/attachment.cgi?id=18099
2875 There are no NULL checks for strings in public api
2877 Add missing NULL checks for string parameters.
2879 Provide sensible defaults when NULL is passed for the optional
2880 parameters in webkit_web_view_load_string(). UTF-8 is the default
2881 encoding used by GLib and text/html is a reasonable default content
2884 * WebView/webkitnetworkrequest.cpp:
2885 * WebView/webkitwebview.cpp:
2887 2007-12-22 Xan Lopez <xan@gnome.org>
2889 Reviewed by Alp Toker.
2891 Use webView, web_view, etc for variable names instead of page, which
2892 was left over from the old API.
2894 * WebCoreSupport/EditorClientGtk.cpp:
2895 (WebKit::imContextCommitted):
2896 (WebKit::EditorClient::EditorClient):
2897 (WebKit::EditorClient::~EditorClient):
2898 (WebKit::EditorClient::textFieldDidBeginEditing):
2899 (WebKit::EditorClient::textFieldDidEndEditing):
2900 * WebCoreSupport/EditorClientGtk.h:
2901 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2902 (WebKit::FrameLoaderClient::postProgressStartedNotification):
2903 (WebKit::FrameLoaderClient::postProgressEstimateChangedNotification):
2904 (WebKit::FrameLoaderClient::postProgressFinishedNotification):
2905 (WebKit::FrameLoaderClient::dispatchDecidePolicyForNavigationAction):
2906 (WebKit::FrameLoaderClient::windowObjectCleared):
2907 (WebKit::FrameLoaderClient::dispatchDidReceiveIcon):
2908 (WebKit::FrameLoaderClient::dispatchDidReceiveTitle):
2909 (WebKit::FrameLoaderClient::dispatchDidCommitLoad):
2911 2007-12-22 Alp Toker <alp@atoker.com>
2915 GTK_TARGET_OTHER_APP is not available in older GTK+ versions. Pass
2916 empty target flags for now.
2918 Check GTK+, not GLib versions, since they are different.
2920 * WebView/webkitwebview.cpp:
2922 2007-12-22 Luca Bruno <lethalman88@gmail.com>
2924 Reviewed by Alp Toker.
2926 http://bugs.webkit.org/show_bug.cgi?id=16311
2927 [Gtk] Copy rich text to clipboard as text/plain and text/html.
2929 Add copy and paste targets for WebView and implement
2930 WebCore::PasteboardHelper.
2932 * WebCoreSupport/PasteboardHelperGtk.cpp: Added.
2933 (WebKit::PasteboardHelperGtk::getClipboard):
2934 (WebKit::PasteboardHelperGtk::getCopyTargetList):
2935 (WebKit::PasteboardHelperGtk::getPasteTargetList):
2936 * WebCoreSupport/PasteboardHelperGtk.h: Added.
2937 * WebView/webkitprivate.cpp:
2938 (webkit_init): set the PasteboardHelperGtk as WebCore::Pasteboard helper
2939 * WebView/webkitprivate.h:
2940 (_WebKitWebViewPrivate::copy_target_list): added
2941 (_WebKitWebViewPrivate::paste_target_list): added
2942 * WebView/webkitwebview.cpp:
2943 (webkit_web_view_get_property): added
2944 (webkit_web_view_finalize):
2945 (webkit_web_view_class_init): create properties for COPY_TARGET and PASTE_TARGET and create the copy and paste target lists
2946 (webkit_web_view_get_copy_target_list): added
2947 (webkit_web_view_get_paste_target_list): added
2948 * WebView/webkitwebview.h:
2949 (webkit_web_view_get_copy_target_list): added
2950 (webkit_web_view_get_paste_target_list): added
2952 2007-12-22 Xan Lopez <xan@gnome.org>
2954 Reviewed by Alp Toker.
2956 Follow up to http://bugs.webkit.org/show_bug.cgi?id=16144
2958 * WebView/webkitwebview.cpp:
2959 Fix signal id arguments for g_signal_emit in
2960 clipboard functions.
2962 2007-12-21 Alp Toker <alp@atoker.com>
2964 Documentation typo fix: s/wether/whether
2966 * WebView/webkitwebview.cpp:
2968 2007-12-21 Christian Dywan <christian@twotoasts.de>
2970 Reviewed by Alp Toker.
2972 http://bugs.webkit.org/show_bug.cgi?id=16144
2973 [GTK] Clipboard/ selection handling functions
2975 * WebView/webkitprivate.h:
2976 * WebView/webkitwebview.cpp:
2977 * WebView/webkitwebview.h:
2979 2007-12-19 Christian Dywan <christian@twotoasts.de>
2981 Reviewed by Alp Toker.
2983 http://bugs.webkit.org/show_bug.cgi?id=16222
2984 [GTK] Implement inline search and highlighting of matching strings.
2986 * WebView/webkitwebview.cpp:
2987 * WebView/webkitwebview.h:
2989 2007-12-19 Alp Toker <alp@atoker.com>
2991 Reviewed by Holger Freyther.
2993 Delete when Destroy functions are called to avoid leaks
2995 This matches the Mac port.
2997 * WebCoreSupport/ChromeClientGtk.cpp:
2998 * WebCoreSupport/ContextMenuClientGtk.cpp:
2999 * WebCoreSupport/InspectorClientGtk.cpp:
3001 2007-12-14 Juan A. Suarez Romero <jasuarez@igalia.com>
3003 Reviewed by Alp Toker.
3005 http://bugs.webkit.org/show_bug.cgi?id=16042
3006 [GTK] Eliminate webkit_init()
3008 Move webkit initialization to WebView class init.
3010 * WebView/headers.pri:
3012 * WebView/webkitglobal.cpp: Removed.
3013 * WebView/webkitglobal.h: Removed.
3014 * WebView/webkitprivate.cpp:
3015 (WebKit::webkit_init):
3016 * WebView/webkitprivate.h:
3017 * WebView/webkitwebframe.cpp:
3018 * WebView/webkitwebview.cpp:
3020 2007-12-17 Luca Bruno <lethalman88@gmail.com>
3022 Reviewed by Alp Toker.
3024 http://bugs.webkit.org/show_bug.cgi?id=13542
3025 gdklauncher doesnt change URL in adress GTKEntry.
3027 Let DOMDocument observers do their work before emitting title-changed.
3028 The load-committed signal has been added for both the view and the frame.
3030 * WebCoreSupport/FrameLoaderClientGtk.cpp:
3031 (WebKit::FrameLoaderClient::dispatchDidReceiveTitle): emit title-changed
3032 (WebKit::FrameLoaderClient::setTitle): set private title
3033 (WebKit::FrameLoaderClient::dispatchDidCommitLoad): update the frame uri and emit load-committed
3034 * WebView/webkit-marshal.list:
3035 * WebView/webkitprivate.h:
3036 (_WebKitWebFramePrivate): rename location to uri
3037 * WebView/webkitwebframe.cpp:
3038 (webkit_web_frame_get_location): renamed to *_get_uri
3039 (webkit_web_frame_get_uri):
3040 (webkit_web_frame_real_title_changed): removed (see FrameLoaderClient::setTitle)
3041 (webkit_web_frame_class_init): pass the frame and the title in title-changed, not the uri
3042 (webkit_web_frame_finalize):
3043 * WebView/webkitwebframe.h:
3044 (_WebKitWebFrameClass): removed title_changed
3045 * WebView/webkitwebview.cpp:
3046 (webkit_web_view_class_init): pass only the title in title-changed
3048 2007-12-14 Alp Toker <alp@atoker.com>
3050 Fix inconsistent indentation in the license header. Maciej was right!
3052 * WebCoreSupport/FrameLoaderClientGtk.cpp:
3054 2007-12-14 Alp Toker <alp@atoker.com>
3058 http://bugs.webkit.org/show_bug.cgi?id=16432
3059 [GTK] Update license headers
3061 Consent has been given by the authors of these files to change license
3062 to the LGPL as outlined in the bug report.
3064 * WebCoreSupport/ChromeClientGtk.cpp:
3065 * WebCoreSupport/ContextMenuClientGtk.cpp:
3066 * WebCoreSupport/DragClientGtk.cpp:
3067 * WebCoreSupport/EditorClientGtk.cpp:
3068 * WebCoreSupport/FrameLoaderClientGtk.cpp:
3069 (WebKit::FrameLoaderClient::makeRepresentation):
3070 (WebKit::FrameLoaderClient::forceLayout):
3071 (WebKit::FrameLoaderClient::forceLayoutForNonHTML):
3072 (WebKit::FrameLoaderClient::setCopiesOnScroll):
3073 (WebKit::FrameLoaderClient::detachedFromParent1):
3074 (WebKit::FrameLoaderClient::detachedFromParent2):
3075 (WebKit::FrameLoaderClient::detachedFromParent3):
3076 (WebKit::FrameLoaderClient::detachedFromParent4):
3077 (WebKit::FrameLoaderClient::loadedFromCachedPage):
3078 (WebKit::FrameLoaderClient::dispatchDidHandleOnloadEvents):
3079 (WebKit::FrameLoaderClient::dispatchDidReceiveServerRedirectForProvisionalLoad):
3080 (WebKit::FrameLoaderClient::dispatchDidCancelClientRedirect):
3081 (WebKit::FrameLoaderClient::dispatchWillPerformClientRedirect):
3082 (WebKit::FrameLoaderClient::dispatchDidChangeLocationWithinPage):
3083 (WebKit::FrameLoaderClient::dispatchWillClose):
3084 (WebKit::FrameLoaderClient::dispatchDidCommitLoad):
3085 (WebKit::FrameLoaderClient::dispatchDidFinishDocumentLoad):
3086 (WebKit::FrameLoaderClient::dispatchDidFirstLayout):
3087 (WebKit::FrameLoaderClient::dispatchShow):
3088 (WebKit::FrameLoaderClient::cancelPolicyCheck):
3089 (WebKit::FrameLoaderClient::dispatchDidLoadMainResource):
3090 (WebKit::FrameLoaderClient::revertToProvisionalState):
3091 (WebKit::FrameLoaderClient::clearUnarchivingState):
3092 (WebKit::FrameLoaderClient::willChangeTitle):
3093 (WebKit::FrameLoaderClient::didChangeTitle):
3094 (WebKit::FrameLoaderClient::finalSetupForReplace):
3095 (WebKit::FrameLoaderClient::setDefersLoading):
3096 (WebKit::FrameLoaderClient::isArchiveLoadPending):
3097 (WebKit::FrameLoaderClient::cancelPendingArchiveLoad):
3098 (WebKit::FrameLoaderClient::clearArchivedResources):
3099 (WebKit::FrameLoaderClient::canHandleRequest):
3100 (WebKit::FrameLoaderClient::canShowMIMEType):
3101 (WebKit::FrameLoaderClient::representationExistsForURLScheme):
3102 (WebKit::FrameLoaderClient::generatedMIMETypeForURLScheme):
3103 (WebKit::FrameLoaderClient::dispatchDidReceiveContentLength):
3104 (WebKit::FrameLoaderClient::dispatchDidFinishLoading):
3105 (WebKit::FrameLoaderClient::dispatchDidFailLoading):
3106 (WebKit::FrameLoaderClient::dispatchDidLoadResourceFromMemoryCache):
3107 (WebKit::FrameLoaderClient::download):
3108 (WebKit::FrameLoaderClient::cancelledError):
3109 (WebKit::FrameLoaderClient::blockedError):
3110 (WebKit::FrameLoaderClient::cannotShowURLError):
3111 (WebKit::FrameLoaderClient::interruptForPolicyChangeError):
3112 (WebKit::FrameLoaderClient::cannotShowMIMETypeError):
3113 (WebKit::FrameLoaderClient::fileDoesNotExistError):
3114 (WebKit::FrameLoaderClient::shouldFallBack):
3115 (WebKit::FrameLoaderClient::willUseArchive):
3116 (WebKit::FrameLoaderClient::canCachePage):
3117 (WebKit::FrameLoaderClient::dispatchCreatePage):
3118 (WebKit::FrameLoaderClient::dispatchUnableToImplementPolicy):
3119 (WebKit::FrameLoaderClient::setMainDocumentError):
3120 (WebKit::FrameLoaderClient::startDownload):
3121 (WebKit::FrameLoaderClient::updateGlobalHistoryForStandardLoad):
3122 (WebKit::FrameLoaderClient::updateGlobalHistoryForReload):
3123 (WebKit::FrameLoaderClient::savePlatformDataToCachedPage):
3124 (WebKit::FrameLoaderClient::transitionToCommittedFromCachedPage):
3125 (WebKit::FrameLoaderClient::transitionToCommittedForNewPage):
3126 * WebCoreSupport/InspectorClientGtk.cpp:
3127 * WebView/webkitwebview.cpp:
3129 2007-12-14 Darin Adler <darin@apple.com>
3133 * WebCoreSupport/EditorClientGtk.cpp:
3134 (WebKit::EditorClient::handleKeyboardEvent): Changed to use Editor::command
3135 instead of Editor::execCommand.
3136 * WebView/webkitwebview.cpp: Ditto.
3138 2007-12-12 Brady Eidson <beidson@apple.com>
3140 Reviewed by Sam Weinig
3142 As part of doing some CachedPage and client cleanup, keep GTK building
3144 * WebCoreSupport/FrameLoaderClientGtk.cpp:
3145 (WebKit::FrameLoaderClient::savePlatformDataToCachedPage):
3146 (WebKit::FrameLoaderClient::transitionToCommittedFromCachedPage):
3147 (WebKit::FrameLoaderClient::transitionToCommittedForNewPage):
3148 * WebCoreSupport/FrameLoaderClientGtk.h:
3150 2007-12-12 Alp Toker <alp@atoker.com>
3152 Reviewed by Holger Freyther.
3154 http://bugs.webkit.org/show_bug.cgi?id=15576
3155 [GTK] Printing support
3157 Add printing support.
3159 The API will be kept internal for the time being, but printing can now
3160 be triggered by Web pages or the JSC API using JavaScript.
3162 The print spooler and pagination code is fairly abstract and could be
3163 shared by other ports including Win and Qt once complete. It doesn't
3164 have header/footer support yet.
3166 * WebCoreSupport/ChromeClientGtk.cpp:
3167 (WebKit::ChromeClient::print):
3168 * WebView/webkitprivate.h:
3169 * WebView/webkitwebframe.cpp:
3170 (PrintContext::begin_print):
3171 (PrintContext::draw_page):
3172 (PrintContext::end_print):
3173 (PrintContext::webkit_web_frame_print):
3175 2007-12-12 Sam Weinig <sam@webkit.org>
3179 * WebCoreSupport/FrameLoaderClientGtk.cpp:
3180 (WebKit::FrameLoaderClient::didChangeTitle):
3182 2007-12-12 Sam Weinig <sam@webkit.org>
3186 * WebCoreSupport/FrameLoaderClientGtk.cpp:
3187 (WebKit::FrameLoaderClient::dispatchDecidePolicyForNavigationAction):
3189 2007-12-11 George Wright <george.wright@collabora.co.uk>
3191 Reviewed by Alp Toker.
3193 http://bugs.webkit.org/show_bug.cgi?id=14120
3194 [GDK] Support input methods
3196 This patch adds infrastructure for input method support.
3198 It also adds Hildon features for the Maemo mobile platform sufficient
3199 to support the virtual keyboard.
3201 * WebCoreSupport/EditorClientGtk.cpp:
3202 (WebKit::imContextCommitted):
3203 (WebKit::EditorClient::EditorClient):
3204 (WebKit::EditorClient::~EditorClient):
3205 (WebKit::EditorClient::textFieldDidBeginEditing):
3206 (WebKit::EditorClient::textFieldDidEndEditing):
3207 * WebCoreSupport/EditorClientGtk.h:
3208 * WebView/webkitprivate.h:
3209 * WebView/webkitwebview.cpp:
3211 2007-12-07 Alexey Proskuryakov <ap@webkit.org>
3213 Reviewed by Darin Adler.
3215 <rdar://problem/5535636>
3216 Have to press 4 times instead of 2 times to get the expected result of ^^ with german keyboard.
3218 http://bugs.webkit.org/show_bug.cgi?id=13916
3219 JavaScript detects Tab as a character input on a textfield validation
3221 * WebCoreSupport/EditorClientGtk.cpp:
3222 (WebKit::EditorClient::handleKeyboardEvent):
3223 (WebKit::EditorClient::handleInputMethodKeydown):
3224 * WebCoreSupport/EditorClientGtk.h:
3225 Updated for cross-platform changes as much as it was possible without a gtk build environment.
3227 2007-12-08 Luca Bruno <lethalman88@gmail.com>
3229 Reviewed by Alp Toker.
3231 http://bugs.webkit.org/show_bug.cgi?id=16346
3232 [GTK] Some webview parts must use the focused frame.
3234 Also update some old code.
3236 * WebView/webkitprivate.cpp:
3237 (getFrameFromView): removed
3239 * WebView/webkitprivate.h:
3240 (getFrameFromView): removed
3242 * WebView/webkitwebview.cpp:
3243 (webkit_web_view_expose_event):
3244 (webkit_web_view_key_press_event): use focused frame
3245 (webkit_web_view_key_release_event): use focused frame
3246 (webkit_web_view_button_press_event):
3247 (webkit_web_view_button_release_event):
3248 (webkit_web_view_motion_event):
3249 (webkit_web_view_scroll_event):
3250 (webkit_web_view_size_allocate):
3251 (webkit_web_view_set_scroll_adjustments):
3252 (webkit_web_view_execute_script):
3253 (webkit_web_view_stop_loading):
3254 (webkit_web_view_load_string):
3255 (webkit_web_view_reload):
3256 (webkit_web_view_open):
3257 (webkit_web_view_can_go_forward):
3258 (webkit_web_view_can_go_backward):
3259 (webkit_web_view_go_forward):
3260 (webkit_web_view_go_backward):
3262 * WebCoreSupport/EditorClientGtk.cpp:
3263 (WebKit::EditorClient::handleKeypress): fix for page up and page down keys for editable contents
3265 2007-12-07 Luca Bruno <lethalman88@gmail.com>
3267 Reviewed by Alp Toker.
3269 http://bugs.webkit.org/show_bug.cgi?id=16333
3270 [GTK] Key bindings must work with focused frames.
3272 There are still more cases where getFrameFromView() is mis-used that
3273 need to be fixed, but this is a good start.
3275 * WebView/webkitwebview.cpp:
3276 (webkit_web_view_real_select_all):
3277 (webkit_web_view_real_cut_clipboard):
3278 (webkit_web_view_real_copy_clipboard):
3279 (webkit_web_view_real_paste_clipboard):
3281 2007-12-06 Xan Lopez <xan@gnome.org>
3283 Reviewed by Alp Toker.
3285 http://bugs.webkit.org/show_bug.cgi?id=16329
3286 [GTK] Two small cleanups
3288 * WebCoreSupport/ChromeClientGtk.cpp:
3289 (WebKit::ChromeClient::createWindow):
3290 (WebKit::ChromeClient::addMessageToConsole):
3291 (WebKit::ChromeClient::runJavaScriptAlert):
3292 (WebKit::ChromeClient::runJavaScriptConfirm):
3293 (WebKit::ChromeClient::runJavaScriptPrompt):
3294 (WebKit::ChromeClient::setStatusbarText):
3295 (WebKit::ChromeClient::mouseDidMoveOverElement):
3296 (WebKit::ChromeClient::setToolTip):
3297 * WebCoreSupport/ChromeClientGtk.h:
3298 * WebView/webkitprivate.cpp:
3300 s/m_webPage/m_webView/
3301 * WebView/webkitwebview.cpp:
3302 Chain up to the parent class to activate bindings instead
3303 of doing it explicitely.
3305 2007-12-06 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
3307 Reviewed by Alp Toker.
3309 http://bugs.webkit.org/show_bug.cgi?id=16173
3312 Change license from BSD to LGPL.
3314 * WebCoreSupport/ChromeClientGtk.h:
3315 * WebView/webkitdefines.h:
3316 * WebView/webkitglobal.cpp:
3317 * WebView/webkitglobal.h:
3318 * WebView/webkitnetworkrequest.cpp:
3319 * WebView/webkitnetworkrequest.h:
3320 * WebView/webkitprivate.cpp:
3321 * WebView/webkitprivate.h:
3322 * WebView/webkitsettings.cpp:
3323 * WebView/webkitsettings.h:
3324 * WebView/webkitwebframe.cpp:
3325 * WebView/webkitwebframe.h:
3326 * WebView/webkitwebview.h:
3328 2007-12-05 Michael Natterer <mitch@imendio.com>
3330 Reviewed by Alp Toker.
3332 * WebView/webkitwebview.cpp: split key and button event handlers
3333 into separate press and release functions.
3335 2007-12-05 Luca Bruno <lethalman88@gmail.com>
3337 Reviewed by Alp Toker.
3339 Handle events for Home and End keys.
3341 * WebView/webkitwebview.cpp:
3342 (webkit_web_view_key_event):
3343 * WebCoreSupport/EditorClientGtk.cpp:
3344 (EditorClient::handleKeypress):
3346 2007-12-05 Michael Natterer <mitch@imendio.com>
3348 Reviewed by Alp Toker.
3350 * WebView/webkitwebview.cpp
3351 * WebCoreSupport/ChromeClientGtk.cpp
3352 * WebCoreSupport/FrameLoaderClientGtk.cpp: canonicalize signal names.
3354 2007-12-04 Darin Adler <darin@apple.com>
3356 Reviewed by Kevin Decker.
3358 * WebCoreSupport/FrameLoaderClientGtk.cpp: Removed obsolete privateBrowsingEnabled.
3359 * WebCoreSupport/FrameLoaderClientGtk.h: Ditto.
3361 2007-12-04 Michael Natterer <mitch@imendio.com>
3363 Reviewed by Alp Toker.
3365 * WebView/webkitwebframe.cpp: don't redeclare the marshaller
3366 prototype but simply include "webkit-marshal.h" now that its build
3369 2007-12-04 Luca Bruno <lethalman88@gmail.com>
3371 Reviewed by Alp Toker.
3373 Fix a regression in key press propagation in r28386.
3375 Fix indentation (was off by two spaces).
3377 * WebView/webkitwebview.cpp:
3379 2007-12-04 Luca Bruno <lethalman88@gmail.com>
3381 Reviewed by Alp Toker.
3383 http://bugs.webkit.org/show_bug.cgi?id=15911
3384 [GTK] Use GtkBindingSet to make key bindings user-configurable
3386 This patch doesn't cover the full range of bindings, only the ones
3387 that seem obviously correct and have clear public API.
3389 * WebCoreSupport/EditorClientGtk.cpp:
3390 (WebKit::EditorClient::handleKeypress): do not handle clipboard operations and select-all
3391 * WebView/webkitwebview.cpp: add cut, copy, paste and select-all signals and allow binding sets (issue #15911 and #16144)
3392 * WebView/webkitwebview.h:
3394 2007-12-04 Xan Lopez <xan@gnome.org>
3396 Reviewed by Alp Toker.
3398 http://bugs.webkit.org/show_bug.cgi?id=15561
3399 GTK port needs DumpRenderTree implementation
3401 Start work on the GTK+ DRT.
3403 Add a couple of proposed new API entry points. They are currently for
3404 internal use only by DRT and not in the public headers.
3406 * WebView/webkitprivate.h:
3407 * WebView/webkitwebframe.cpp:
3409 2007-12-03 Dan Bernstein <mitz@apple.com>
3411 Reviewed by Dave Hyatt.
3413 - fix <rdar://problem/5346452> Resize event doesn't fire on body element inside a frame
3415 * WebView/webkitwebview.cpp: Remove the call to sendResizeEvent() since
3416 FrameView sends it now.
3418 2007-12-03 Alp Toker <alp@atoker.com>
3420 globalObject() GTK+ build fix.
3422 * WebCoreSupport/FrameLoaderClientGtk.cpp:
3423 (WebKit::FrameLoaderClient::windowObjectCleared):
3425 2007-12-03 Geoffrey Garen <ggaren@apple.com>
3427 GTK Build fix: get globalExec from the right place.
3429 * WebView/webkitwebframe.cpp:
3431 2007-12-01 Alp Toker <alp@atoker.com>
3433 Reviewed by Adam Roben.
3435 Wrap type definitions in webkitdefines.h with G_BEGIN_DECLS, which
3436 takes care of extern "C".
3438 Introduce a webkit.h convenience header.
3440 Remove another left-over from the old API.
3442 * WebView/headers.pri:
3443 * WebView/webkit.h: Added.
3444 * WebView/webkitdefines.h:
3446 2007-12-01 Alp Toker <alp@atoker.com>
3448 Reviewed by Adam Roben.
3450 http://bugs.webkit.org/show_bug.cgi?id=15687
3451 [Gtk] Allow API clients to interact with JavaScript in web pages
3453 Include the necessary JavaScriptCore headers directly in the public
3456 This is the last of a series of changes needed to allow GTK+
3457 applications to access the JS API.
3459 Until http://bugs.webkit.org/show_bug.cgi?id=16029 is resolved,
3460 developers will still have to include the individual JS API headers
3461 individually if they want to use it in their applications.
3463 Patch also removes some old legacy use of GDK that was in
3464 WebKitWebFrame. No ABI change.
3466 * WebView/webkitdefines.h:
3467 * WebView/webkitwebframe.h:
3468 * WebView/webkitwebview.h:
3470 2007-11-30 Jan Michael Alonzo <jmalonzo@unpluggable.com>
3472 Fix for GTK+ Debug build breakage introduced in r28273.
3474 * WebView/webkitprivate.cpp:
3477 2007-11-30 Alp Toker <alp@atoker.com>
3479 Reviewed by Adam Roben.
3481 http://bugs.webkit.org/show_bug.cgi?id=15691
3482 [GTK] Public API does not follow GTK+ conventions
3484 Refactor the WebKit/GTK+ public API. Changes:
3485 WebKitPage -> WebKitWebView
3486 WebKitFrame -> WebKitWebFrame
3488 Public API source and header names have been updated to mirror the API
3491 The API is now kept in WebKit/gtk/WebView to match other ports in the
3492 same class such as Mac and Win.
3494 API/ABI-breaking change.
3497 * Api/headers.pri: Removed.
3498 * Api/webkitgtk-marshal.list: Removed.
3499 * Api/webkitgtkdefines.h: Removed.
3500 * Api/webkitgtkframe.cpp: Removed.
3501 * Api/webkitgtkframe.h: Removed.
3502 * Api/webkitgtkglobal.cpp: Removed.
3503 * Api/webkitgtkglobal.h: Removed.
3504 * Api/webkitgtknetworkrequest.cpp: Removed.
3505 * Api/webkitgtknetworkrequest.h: Removed.
3506 * Api/webkitgtkpage.cpp: Removed.
3507 * Api/webkitgtkpage.h: Removed.
3508 * Api/webkitgtkprivate.cpp: Removed.
3509 * Api/webkitgtkprivate.h: Removed.
3510 * Api/webkitgtksettings.cpp: Removed.
3511 * Api/webkitgtksettings.h: Removed.
3512 * WebCoreSupport/ChromeClientGtk.cpp:
3513 (WebKit::ChromeClient::ChromeClient):
3514 (WebKit::ChromeClient::createWindow):
3515 * WebCoreSupport/ChromeClientGtk.h:
3516 (WebKit::ChromeClient::webPage):
3517 * WebCoreSupport/EditorClientGtk.cpp:
3518 (WebKit::EditorClient::isEditable):
3519 (WebKit::EditorClient::EditorClient):
3520 * WebCoreSupport/EditorClientGtk.h:
3521 * WebCoreSupport/FrameLoaderClientGtk.cpp:
3522 (WebKit::FrameLoaderClient::FrameLoaderClient):
3523 (WebKit::FrameLoaderClient::postProgressStartedNotification):
3524 (WebKit::FrameLoaderClient::postProgressEstimateChangedNotification):
3525 (WebKit::FrameLoaderClient::postProgressFinishedNotification):
3526 (WebKit::FrameLoaderClient::dispatchDecidePolicyForNavigationAction):
3527 (WebKit::FrameLoaderClient::createFrame):
3528 (WebKit::FrameLoaderClient::windowObjectCleared):
3529 (WebKit::FrameLoaderClient::dispatchDidReceiveIcon):
3530 (WebKit::FrameLoaderClient::setTitle):
3531 * WebCoreSupport/FrameLoaderClientGtk.h:
3532 (WebKit::FrameLoaderClient::webFrame):
3534 * WebView/headers.pri: Added.
3535 * WebView/webkit-marshal.list: Added.
3536 * WebView/webkitdefines.h: Added.
3537 * WebView/webkitglobal.cpp: Added.
3538 * WebView/webkitglobal.h: Added.
3539 * WebView/webkitnetworkrequest.cpp: Added.
3540 * WebView/webkitnetworkrequest.h: Added.
3541 * WebView/webkitprivate.cpp: Added.
3544 (WebKit::getFrameFromView):
3545 (WebKit::getViewFromFrame):
3548 * WebView/webkitprivate.h: Added.
3549 * WebView/webkitsettings.cpp: Added.
3550 * WebView/webkitsettings.h: Added.
3551 * WebView/webkitwebframe.cpp: Added.
3552 * WebView/webkitwebframe.h: Added.
3553 * WebView/webkitwebview.cpp: Added.
3554 * WebView/webkitwebview.h: Added.
3556 2007-11-28 Alp Toker <alp@atoker.com>
3558 Reviewed by Timothy Hatcher.
3560 http://bugs.webkit.org/show_bug.cgi?id=16174
3561 [GTK] Use "URI" not "URL" in public API
3563 Replace use of the term "URL" with "URI" in public headers,
3564 documentation and some internal code to match GLib/GTK+ convention.
3566 This is now mentioned in the API guidelines:
3567 http://trac.webkit.org/projects/webkit/wiki/HackingGtk
3569 API/ABI-breaking change.
3571 * Api/webkitgtkframe.cpp:
3572 * Api/webkitgtknetworkrequest.cpp:
3573 * Api/webkitgtknetworkrequest.h:
3574 * Api/webkitgtkpage.cpp:
3575 * Api/webkitgtkpage.h:
3576 * Api/webkitgtkprivate.h:
3577 * Api/webkitgtksettings.h:
3579 2007-11-29 Brady Eidson <beidson@apple.com>
3581 Better build fix for Gtk
3583 * WebCoreSupport/ChromeClientGtk.h:
3585 2007-11-29 Brady Eidson <beidson@apple.com>
3587 Keep it building with new client method
3589 * WebCoreSupport/ChromeClientGtk.cpp:
3590 (WebKit::ChromeClient::requestQuotaIncreaseForNewDatabase):
3591 (WebKit::ChromeClient::requestQuotaIncreaseForDatabaseOperation):
3592 * WebCoreSupport/ChromeClientGtk.h:
3594 2007-11-26 Alp Toker <alp@atoker.com>
3596 Reviewed by Adam Roben.
3598 http://bugs.webkit.org/show_bug.cgi?id=16149
3599 Implement the window-object-cleared signal
3601 This implementation provides the JSGlobalContextRef and JSObjectRef
3602 directly rather than using an intermediate JS wrapper object, similar
3603 to the approach taken by the Win port.
3605 * Api/webkitgtk-marshal.list:
3606 * Api/webkitgtkframe.h:
3607 * Api/webkitgtkpage.cpp:
3608 * Api/webkitgtkpage.h:
3609 * WebCoreSupport/FrameLoaderClientGtk.cpp:
3610 (WebKit::FrameLoaderClient::windowObjectCleared):
3612 2007-11-24 Alp Toker <alp@atoker.com>
3614 Reviewed by Mark Rowe.
3616 http://bugs.webkit.org/show_bug.cgi?id=15691
3617 [GTK] Public API does not follow GTK+ conventions
3619 Public API enhancements:
3621 Implement webkit_page_get_editable() and webkit_page_set_editable().
3623 Implement webkit_frame_get_name().
3625 Remove definitions for functions that are unusable or not implemented.
3626 This has caused much confusion for application developers.
3628 Improve documentation.
3630 Correct/constify some return types.
3632 Add parameter checks.
3634 Make the default fixed font "Courier New" to match the other Web
3637 * Api/webkitgtkframe.cpp:
3638 * Api/webkitgtkframe.h:
3639 * Api/webkitgtkpage.cpp:
3640 * Api/webkitgtkpage.h:
3641 * Api/webkitgtkprivate.h:
3642 * WebCoreSupport/EditorClientGtk.cpp:
3643 (WebKit::EditorClient::isEditable):
3645 2007-11-24 Alp Toker <alp@atoker.com>
3647 Reviewed by Mark Rowe.
3649 http://bugs.webkit.org/show_bug.cgi?id=16125
3650 [GTK] Up key doesn't work properly when content is editable
3652 Add a missing 'break' to avoid falling through to the next case when
3653 handling VK_UP keystrokes. This was noticed when working on editing
3654 support in the GTK+ port.
3656 I've checked the other cases for similar typos and they seem fine.
3658 * WebCoreSupport/EditorClientGtk.cpp:
3659 (WebKit::EditorClient::handleKeypress):
3661 2007-11-24 Xan Lopez <xan@gnome.org>
3663 Reviewed by Alp Toker.
3665 http://bugs.webkit.org/show_bug.cgi?id=15745
3666 [GTK] Arrow keys do not Scroll
3668 * Api/webkitgtkpage.cpp:
3670 Support Up/Down/Right/Left keys to scroll. Slight hack, see FIXME for
3673 2007-11-24 Christian Dywan <christian@twotoasts.de>
3675 Reviewed by Alp Toker.
3677 http://bugs.webkit.org/show_bug.cgi?id=15891
3678 [GTK] Javascript console and dialogs are not implemented
3680 Fix call to gtk_message_dialog_new() which expects a format string.
3682 * Api/webkitgtkpage.cpp:
3684 2007-11-24 Christian Dywan <christian@twotoasts.de>
3686 Reviewed by Alp Toker.
3688 http://bugs.webkit.org/show_bug.cgi?id=15793
3689 [GTK] Webkit doesn't show title attribute tooltip when hovering over an image
3691 Implement tooltip support using the new Tooltip API.
3693 Support for older versions of GTK+ is still lacking.
3695 * WebCoreSupport/ChromeClientGtk.cpp:
3696 (WebKit::ChromeClient::setToolTip):
3698 2007-11-22 Alp Toker <alp@atoker.com>
3700 Reviewed by Mark Rowe.
3702 Implement and document several WebKitFrame functions, some of which
3703 are necessary to support DRT.
3705 Correct NULL handling and improve run-time checks.
3707 * Api/webkitgtkframe.cpp:
3708 * Api/webkitgtkframe.h:
3709 * Api/webkitgtkprivate.cpp:
3711 2007-11-22 Alp Toker <alp@atoker.com>