1 2009-03-03 Gustavo Noronha Silva <gns@gnome.org>
3 Reviewed by Alexey Proskuryakov.
5 https://bugs.webkit.org/show_bug.cgi?id=16826
6 [Gtk] Implement WebKitDownload
8 Implement download, and provide a nice object wrapping the
9 download process. Initial work done by Marco Barisione and
10 Pierre-Luc Beaudoin for Collabora.
12 * WebCoreSupport/ContextMenuClientGtk.cpp:
13 (WebKit::ContextMenuClient::downloadURL):
14 * WebCoreSupport/FrameLoaderClientGtk.cpp:
15 (WebKit::FrameLoaderClient::download):
16 (WebKit::FrameLoaderClient::startDownload):
18 * webkit/webkitdefines.h:
19 * webkit/webkitdownload.cpp: Added.
20 (_WebKitDownloadPrivate::):
21 (_WebKitDownloadPrivate::webkit_download_dispose):
22 (_WebKitDownloadPrivate::webkit_download_finalize):
23 (_WebKitDownloadPrivate::webkit_download_get_property):
24 (_WebKitDownloadPrivate::webkit_download_set_property):
25 (_WebKitDownloadPrivate::webkit_download_class_init):
26 (_WebKitDownloadPrivate::webkit_download_init):
27 (_WebKitDownloadPrivate::webkit_download_new):
28 (_WebKitDownloadPrivate::webkit_download_open_stream_for_uri):
29 (_WebKitDownloadPrivate::webkit_download_close_stream):
30 (_WebKitDownloadPrivate::webkit_download_start):
31 (_WebKitDownloadPrivate::webkit_download_cancel):
32 (_WebKitDownloadPrivate::webkit_download_get_uri):
33 (_WebKitDownloadPrivate::webkit_download_get_network_request):
34 (_WebKitDownloadPrivate::webkit_download_set_response):
35 (_WebKitDownloadPrivate::webkit_download_get_suggested_filename):
36 (_WebKitDownloadPrivate::webkit_download_get_destination_uri):
37 (_WebKitDownloadPrivate::webkit_download_set_destination_uri):
38 (_WebKitDownloadPrivate::webkit_download_get_state):
39 (_WebKitDownloadPrivate::webkit_download_get_total_size):
40 (_WebKitDownloadPrivate::webkit_download_get_current_size):
41 (_WebKitDownloadPrivate::webkit_download_get_progress):
42 (_WebKitDownloadPrivate::webkit_download_get_elapsed_time):
43 (_WebKitDownloadPrivate::webkit_download_received_data):
44 (_WebKitDownloadPrivate::webkit_download_finished_loading):
45 (_WebKitDownloadPrivate::webkit_download_error):
46 (_WebKitDownloadPrivate::DownloadClient::DownloadClient):
47 (_WebKitDownloadPrivate::DownloadClient::didReceiveResponse):
48 (_WebKitDownloadPrivate::DownloadClient::didReceiveData):
49 (_WebKitDownloadPrivate::DownloadClient::didFinishLoading):
50 (_WebKitDownloadPrivate::DownloadClient::didFail):
51 (_WebKitDownloadPrivate::DownloadClient::wasBlocked):
52 (_WebKitDownloadPrivate::DownloadClient::cannotShowURL):
53 * webkit/webkitdownload.h: Added.
54 * webkit/webkitprivate.h:
55 * webkit/webkitwebview.cpp:
58 2009-03-01 Jan Michael Alonzo <jmalonzo@webkit.org>
60 Reviewed by Holger Freyther.
62 [Gtk] get the HTTP layout tests going
63 https://bugs.webkit.org/show_bug.cgi?id=24259
65 Added API to get the response mime type from a frame. We need this
66 so we can decide if we need to dump the frame as text or its
69 * webkit/webkitprivate.h:
70 * webkit/webkitwebframe.cpp:
72 2009-03-01 Jan Michael Alonzo <jmalonzo@webkit.org>
74 Reviewed by Holger Freyther.
76 [Gtk] get the HTTP layout tests going
77 https://bugs.webkit.org/show_bug.cgi?id=24259
79 Create a WebKitWebHistoryItem for each WebCore::HistoryItem when
81 Add necessary API additions for us to be able to dump a WebKitWebHistoryItem
83 * webkit/webkitprivate.h:
84 * webkit/webkitwebbackforwardlist.cpp:
85 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_forward_list_with_limit):
86 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_back_list_with_limit):
87 * webkit/webkitwebhistoryitem.cpp:
88 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_core_item):
89 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new):
90 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_data):
91 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_target):
92 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_is_target_item):
93 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_children):
97 2009-03-01 Christian Dywan <christian@twotoasts.de>
99 Reviewed by Holger Freyther.
101 * webkit/webkitprivate.h:
102 * webkit/webkitwebview.cpp:
103 (webkit_web_view_get_encoding):
104 * webkit/webkitwebview.h: Implement 'encoding' and 'custom-encoding'
105 properties as well as webkit_web_view_get_encoding.
107 2009-03-01 Gustavo Noronha Silva <gns@gnome.org>
109 Unreviewed simple wording fix for the NEWS file.
113 2009-03-01 Xan Lopez <xan@gnome.org>
115 Add NEWS file to track progress between releases.
119 2009-02-28 Christian Dywan <christian@twotoasts.de>
121 Reviewed by Holger Freyther.
123 * webkit/webkitwebview.cpp: Let webkit_web_view_open add file:// if a
124 locale path is passed for compatibility, since we used to support that.
126 2009-02-27 Gustavo Noronha Silva <gns@gnome.org>
128 Reviewed by David Hyatt.
130 Automatically ignore empty requests to avoid crashing. This fixes
131 the crash in fast/loader/empty-embed-src-attribute.html.
133 * WebCoreSupport/FrameLoaderClientGtk.cpp:
134 (WebKit::FrameLoaderClient::dispatchDecidePolicyForMIMEType):
135 (WebKit::FrameLoaderClient::dispatchDecidePolicyForNewWindowAction):
136 (WebKit::FrameLoaderClient::dispatchDecidePolicyForNavigationAction):
138 2009-02-27 Xan Lopez <xan@gnome.org>
140 Reviewed by Alexey Proskuryakov.
142 https://bugs.webkit.org/show_bug.cgi?id=24221
143 [GTK] Do not emit load-finished when being disposed
145 webkit_web_view_stop_load() is called from dispose() on
146 WebKitWebView. This eventually calls postProgressFinishedNotification
147 in FrameLoaderClientGtk, which emits load-finished. Add
148 a 'disposing' flag to WebView that we can check here, so
149 we avoid emitting signals on objects on their way to be
150 destroyed. This fixes a bunch of critical warnings when
151 closing a loading WebView.
153 * WebCoreSupport/FrameLoaderClientGtk.cpp:
154 (WebKit::FrameLoaderClient::postProgressFinishedNotification):
155 * webkit/webkitprivate.h:
156 * webkit/webkitwebview.cpp:
158 2009-02-27 Xan Lopez <xan@gnome.org>
160 Rubber-stamped by Alexey Proskuryakov.
162 https://bugs.webkit.org/show_bug.cgi?id=24222
163 [GTK] Remove checks for old glib versions
165 libsoup, which is a hard dependency, needs at least glib 2.15.3,
166 so remove all glib checks for versions older than that.
168 * webkit/webkitwebview.cpp:
170 2009-02-26 Xan Lopez <xan@gnome.org>
172 Reviewed by Holger Freyther.
174 https://bugs.webkit.org/show_bug.cgi?id=16947
175 [GTK] Missing HTTP Auth challenge
177 Add new marshalers list.
179 * webkitmarshal.list: Added.
181 2009-02-26 Xan Lopez <xan@gnome.org>
183 Reviewed by Alexey Proskuryakov.
185 https://bugs.webkit.org/show_bug.cgi?id=24193
186 [GTK] Checkbuttons not activated with space
188 Do not swallow key events with GtkIMContext for non-editable
191 * WebCoreSupport/EditorClientGtk.cpp:
192 (WebKit::EditorClient::handleInputMethodKeydown):
194 2009-02-26 Xan Lopez <xan@gnome.org>
196 Reviewed by Alexey Proskuryakov.
198 https://bugs.webkit.org/show_bug.cgi?id=24103
199 [GTK] Use correct return value for WebView button-release handler
201 We are returning whatever the core code tells us it did, but this
202 does not play well with the GTK+ model. GTK+ in general expects it
203 will see a button-release if it saw a button-press and no
204 motion/leave/etc events in between. EventHandler.cpp will, in some
205 cases, not handle press but handle release, confusing the parent
206 container of the WebView.
208 As a workaround return always FALSE for button-release (this is
209 the same than the Windows port does).
211 * webkit/webkitwebview.cpp:
213 2009-02-26 Xan Lopez <xan@gnome.org>
215 Reviewed by Holger Freyther.
217 https://bugs.webkit.org/show_bug.cgi?id=17585
218 [gtk] get|set encoding api
220 Add functions to get and set a custom encoding an a view.
222 * webkit/webkitprivate.h:
223 * webkit/webkitwebview.cpp:
224 (webkit_web_view_set_custom_encoding):
225 (webkit_web_view_get_custom_encoding):
226 * webkit/webkitwebview.h:
228 2009-02-23 Xan Lopez <xan@gnome.org>
230 Reviewed by Alexey Proskuryakov.
232 https://bugs.webkit.org/show_bug.cgi?id=22624
233 [SOUP][GTK] Need API to get SoupSession from WebKit.
235 Add API to get the default soup session.
237 * webkit/webkitwebview.cpp:
238 * webkit/webkitwebview.h:
240 2009-02-23 Xan Lopez <xan@gnome.org>
242 Reviewed by Alexey Proskuryakov.
244 https://bugs.webkit.org/show_bug.cgi?id=22624
245 [SOUP][GTK] Need API to get SoupSession from WebKit.
247 Add soup dependency to pc file.
251 2009-02-23 Jan Michael Alonzo <jmalonzo@webkit.org>
253 Reviewed by Mark Rowe.
255 [GTK] Back / Forward history menus are flipped
256 https://bugs.webkit.org/show_bug.cgi?id=22694
258 Don't call g_list_reverse when returning the back or forward list.
261 (test_webkit_web_back_forward_list_order):
263 * webkit/webkitwebbackforwardlist.cpp:
264 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_forward_list_with_limit):
265 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_back_list_with_limit):
267 2009-02-17 Xan Lopez <xan@gnome.org>
269 Rubber-stamped by Alexey Proskuryakov.
271 Restoring change landed in r40715, which was accidentally undone
274 * webkit/webkitwebframe.cpp:
276 2009-02-12 Christian Dywan <christian@twotoasts.de>
278 Reviewed by Holger Freyther.
280 http://bugs.webkit.org/show_bug.cgi?id=17176
281 [GTK] API: hovering-over-link and webkit_web_view_open /_load_foo
283 * webkit/webkitwebframe.cpp:
284 * webkit/webkitwebframe.h:
285 * webkit/webkitwebview.cpp:
286 * webkit/webkitwebview.h: Introduce webkit_web_frame_load_uri,
287 webkit_web_frame_load_string, webkit_web_view_load_uri and
288 webkit_web_view_load_request and unify implementations.
290 2009-02-11 Dimitri Dupuis-latour <dupuislatour@apple.com>
292 Stub out InspectorClient::hiddenPanels.
294 Reviewed by Timothy Hatcher.
296 * WebCoreSupport/InspectorClientGtk.cpp:
297 (WebKit::InspectorClient::hiddenPanels):
298 * WebCoreSupport/InspectorClientGtk.h:
300 2009-02-07 Holger Hans Peter Freyther <zecke@selfish.org>
302 Unreviewed build fix Use toNormalizedRange().
304 * WebCoreSupport/EditorClientGtk.cpp:
305 (WebKit::clipboard_get_contents_cb):
307 2009-02-06 Geoffrey Garen <ggaren@apple.com>
311 * WebCoreSupport/FrameLoaderClientGtk.cpp:
312 (WebKit::FrameLoaderClient::updateGlobalHistoryRedirectLinks):
313 * WebCoreSupport/FrameLoaderClientGtk.h:
315 2009-02-06 Xan Lopez <xan@gnome.org>
317 Reviewed by Holger Freyther.
319 Reported by Daniel Macks.
321 https://bugs.webkit.org/show_bug.cgi?id=20412
323 Use positive numbers for the target info IDs, gtk_target_list_add
324 casts them to 'guint'. Also just start them from 0, since the
325 values are not relevant or magic in any way, they are just used as
326 tokens for the user of the API.
328 * webkit/webkitwebview.h:
330 2009-02-06 Xan Lopez <xan@gnome.org>
332 Reviewed by Alexey Proskuryakov.
334 https://bugs.webkit.org/show_bug.cgi?id=23769
336 Do not use empty ResourceError errors.
338 Rather create bogus but non-null errors, since some codepaths
339 expect these. For example, see DocumentLoader::mainReceivedError.
341 * WebCoreSupport/FrameLoaderClientGtk.cpp:
342 (WebKit::FrameLoaderClient::cancelledError):
343 (WebKit::FrameLoaderClient::blockedError):
344 (WebKit::FrameLoaderClient::cannotShowURLError):
345 (WebKit::FrameLoaderClient::interruptForPolicyChangeError):
346 (WebKit::FrameLoaderClient::cannotShowMIMETypeError):
347 (WebKit::FrameLoaderClient::fileDoesNotExistError):
348 (WebKit::FrameLoaderClient::pluginWillHandleLoadError):
350 2009-02-06 Xan Lopez <xan@gnome.org>
352 Reviewed by Alexey Proskuryakov.
354 https://bugs.webkit.org/show_bug.cgi?id=23761
356 Use two-arg KURL ctor.
358 We are using the one-arg ctor currently, but:
360 - It assumes the strings are already encoded, which is not
361 necesarily the case for us.
363 - The single-argument KURL ctors expect their input to already be
364 the output of a previous KURL::parse call, so for the general
365 case (ie, random user input) we need to use the two-arg ctor
368 * webkit/webkitwebframe.cpp:
369 * webkit/webkitwebview.cpp:
371 2009-02-05 Aaron Boodman <aa@chromium.org>
373 Reviewed by Dave Hyatt.
375 https://bugs.webkit.org/show_bug.cgi?id=23708
376 Adds documentElementAvailable() callback to FrameLoaderClient.
378 * WebCoreSupport/FrameLoaderClientGtk.cpp:
379 (WebKit::FrameLoaderClient::documentElementAvailable):
380 Stub out documentElementAvailable()
381 * WebCoreSupport/FrameLoaderClientGtk.h:
384 2009-02-03 Hiroyuki Ikezoe <poincare@ikezoe.net>
386 Reviewed by Holger Freyther.
388 https://bugs.webkit.org/show_bug.cgi?id=22988
389 [GTK] Need a public method to add a WebKitWebHistoryItem to
390 WebKitWebBackForwardList.
392 Wrap WebCore::BackForwardList::addItem.
395 (test_webkit_web_back_forward_list_add_item):
397 * webkit/webkitwebbackforwardlist.cpp:
398 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_add_item):
399 * webkit/webkitwebbackforwardlist.h:
401 2009-02-02 Geoffrey Garen <ggaren@apple.com>
405 * webkit/webkitwebview.cpp:
407 2009-02-02 Geoffrey Garen <ggaren@apple.com>
411 * webkit/webkitwebframe.cpp:
413 2009-02-02 Geoffrey Garen <ggaren@apple.com>
417 * WebCoreSupport/FrameLoaderClientGtk.cpp:
418 (WebKit::FrameLoaderClient::createFrame):
420 2009-02-02 Geoffrey Garen <ggaren@apple.com>
422 Reviewed by Sam Weinig.
424 Track redirects in global history.
428 * WebCoreSupport/FrameLoaderClientGtk.cpp:
429 (WebKit::FrameLoaderClient::createFrame):
430 (WebKit::FrameLoaderClient::updateGlobalHistoryForRedirectWithoutHistoryItem):
431 * WebCoreSupport/FrameLoaderClientGtk.h:
433 2009-02-02 Anders Carlsson <andersca@apple.com>
437 * WebCoreSupport/FrameLoaderClientGtk.h:
439 2009-02-02 Anders Carlsson <andersca@apple.com>
441 Reviewed by Dan Bernstein.
443 Update for changes to WebCore.
445 * WebCoreSupport/FrameLoaderClientGtk.cpp:
446 (WebKit::FrameLoaderClient::createPlugin):
447 (WebKit::FrameLoaderClient::createJavaAppletWidget):
448 * WebCoreSupport/FrameLoaderClientGtk.h:
450 2009-02-02 Holger Hans Peter Freyther <zecke@selfish.org>
452 Reviewed by Darin Adler.
454 Move Frame::forceLayout, Frame::adjustPageHeight and Frame::forceLayoutWithPageWidthRange to FrameView
456 https://bugs.webkit.org/show_bug.cgi?id=23428
458 FrameView::forceLayout could be killed but the comment might
459 contain a value over the the plain FrameView::layout...
461 Adjust the WebCore/WebKit consumers of these methods.
463 * WebCoreSupport/FrameLoaderClientGtk.cpp:
464 (WebKit::FrameLoaderClient::forceLayout):
465 * webkit/webkitwebview.cpp:
467 2009-01-30 Geoffrey Garen <ggaren@apple.com>
471 * WebCoreSupport/FrameLoaderClientGtk.cpp:
472 (WebKit::FrameLoaderClient::createFrame):
474 2009-01-30 Holger Hans Peter Freyther <zecke@selfish.org>
476 Reviewed by Simon Hausmann.
478 https://bugs.webkit.org/show_bug.cgi?id=22056
480 Kill FrameLoaderClient.cpp, move the code over to Frame::createView
482 FrameLoaderClient is supposed to be an interface, move the
483 to be shared code to Frame which is a controller and is
484 allowed to create a FrameView.
486 * WebCoreSupport/FrameLoaderClientGtk.cpp:
487 (WebKit::FrameLoaderClient::transitionToCommittedForNewPage):
489 2009-01-27 Brady Eidson <beidson@apple.com>
491 Reviewed by Dan Bernstein
493 Rework FrameLoaderClient to work on a CachedFrame basis instead of CachedPage
495 * WebCoreSupport/FrameLoaderClientGtk.cpp:
496 (WebKit::FrameLoaderClient::savePlatformDataToCachedFrame):
497 (WebKit::FrameLoaderClient::transitionToCommittedFromCachedFrame):
498 * WebCoreSupport/FrameLoaderClientGtk.h:
500 2009-01-25 Darin Adler <darin@apple.com>
502 Try to fix GTK build.
504 * webkit/webkitwebview.cpp: Added include of FloatQuad.h.
506 2009-01-13 Alexander V. Butenko <alex@digiqube.com>
508 Reviewed by Holger Freyther.
510 https://bugs.webkit.org/show_bug.cgi?id=23279
512 Fix crash on WebView dispose stage.
514 Add null checks to webkit_web_view_set_scroll_adjustments and
515 webkit_web_view_get_accessible as they get called from within
518 * webkit/webkitwebview.cpp:
520 2009-01-11 Xan Lopez <xan@gnome.org>
522 Reviewed by Holger Freyther.
524 Use NULL instead of 0 when dealing with pointers, as agreed for
525 the coding style of the WebKit GTK port for its GTK+ specific
528 * webkit/webkitwebview.cpp:
530 2009-01-11 Xan Lopez <xan@gnome.org>
532 Reviewed by Holger Freyther.
534 Add padding to the class structs to avoid breaking ABI each time
537 * webkit/webkitnetworkrequest.h:
538 * webkit/webkitwebbackforwardlist.h:
539 * webkit/webkitwebhistoryitem.h:
540 * webkit/webkitwebnavigationaction.h:
541 * webkit/webkitwebpolicydecision.h:
542 * webkit/webkitwebview.h:
544 2009-01-09 Benjamin Otte <otte@gnome.org>
546 Reviewed by Holger Freyther.
548 https://bugs.webkit.org/show_bug.cgi?id=23194
550 make the finalize function the dispose function. Not releasing held
551 objects in dispose can cause crashers later.
553 * webkit/webkitwebview.cpp:
555 2009-01-09 Benjamin Otte <otte@gnome.org>
557 Reviewed by Holger Freyther.
559 https://bugs.webkit.org/show_bug.cgi?id=23194
561 Remove broken code that uses a fallback. The previous code did 2
562 policy decisions which caused crashes.
563 Download is still notImplemented();
565 * webkit/webkitwebpolicydecision.cpp:
566 (_WebKitWebPolicyDecisionPrivate::webkit_web_policy_decision_download):
568 2009-01-03 Xan Lopez <xan@gnome.org>
570 Reviewed by Holger Freyther.
572 [GTK] Need a public method to reload view bypassing cache
573 https://bugs.webkit.org/show_bug.cgi?id=19815
575 * webkit/webkitwebview.cpp:
576 * webkit/webkitwebview.h:
578 Add webkit_web_view_reload_bypass_cache.
580 2009-01-07 Holger Hans Peter Freyther <zecke@selfish.org>
582 Reviewed by Maciej Stachowiak.
584 Add private API to get the number of active animations of
585 a frame. This is required by the DumpRenderTree utility.
587 * webkit/webkitprivate.h:
588 * webkit/webkitwebframe.cpp:
590 2009-01-05 Adam Treat <adam.treat@torchmobile.com>
594 * WebCoreSupport/ChromeClientGtk.h:
596 2009-01-05 Adam Treat <adam.treat@torchmobile.com>
598 Reviewed by George Staikos.
600 Build fix for contentsSizeChanged
602 * WebCoreSupport/ChromeClientGtk.cpp:
603 (WebKit::ChromeClient::contentsSizeChanged):
604 * WebCoreSupport/ChromeClientGtk.h:
606 2009-01-04 Adam Treat <adam.treat@torchmobile.com>
608 Reviewed by George Staikos.
610 Make the gtk port build with the new fixedLayoutSize feature
612 * WebCoreSupport/FrameLoaderClientGtk.cpp:
613 (WebKit::FrameLoaderClient::transitionToCommittedForNewPage):
615 2009-01-03 Holger Hans Peter Freyther <zecke@selfish.org>
617 Reviewed by Darin Adler.
619 [GTK] Fix the reference counting of WebKitWebFrames
621 The ownership is the following: WebKitWebView owns a WebCore::Page.
622 WebKitWebView is creating one WebKitWebFrame which will be the
623 mainFrame of the WebCore::Page (having the reference on the Frame).
625 The FrameLoaderClient has the reference of the WebKitWebFrame for
626 the main frame and also any other frame. This means when the
627 WebCore::Frame goes away the FrameLoaderClient will go away which
628 will normally remove the last reference of the WebKitWebFrame. Because
629 an API user might have g_object_ref'ed the WebKitWebFrame null
630 checks had to be added to WebKitWebFrame.
632 For WebCore::Frames created by the FrameLoaderClient the ownership
633 will be passed down to the FrameTree, the WebKitWebFrame is not holding
634 a reference to the WebCore::Frame.
636 Do not g_object_unref the mainFrame in the destructor of the
637 WebKitWebFrame as this will happen from within the WebCore::Page
638 destruction. Do not hold a reference to the WebCore::Frame (circle) in
639 WebKitWebFrame, add null checks as the WebCore::Frame might have gone
640 away. Do not keep track of the FrameLoaderClient in the private
641 structures as it was mostly unusued.
643 https://bugs.webkit.org/show_bug.cgi?id=21837
645 * WebCoreSupport/FrameLoaderClientGtk.cpp:
646 (WebKit::FrameLoaderClient::frameLoaderDestroyed):
647 (WebKit::FrameLoaderClient::createFrame):
648 * tests/main.c: Add test case.
649 (test_webkit_web_frame_create_destroy):
650 (test_webkit_web_frame_lifetime):
652 * webkit/webkitprivate.cpp:
654 * webkit/webkitprivate.h:
655 * webkit/webkitwebframe.cpp:
656 * webkit/webkitwebview.cpp:
658 2009-01-02 Holger Hans Peter Freyther <zecke@selfish.org>
660 Unreviewed build fix.
662 * WebCoreSupport/FrameLoaderClientGtk.cpp:
664 2008-12-31 Holger Hans Peter Freyther <zecke@selfish.org>
666 Reviewed by Nikolas Zimmermann.
668 https://bugs.webkit.org/show_bug.cgi?id=17045
670 Add section information for View, Frame, Settings, HistoryItem, BackForwardList, WindowFeatures and Inspector
672 Add section information and informal examples for WebKitWebView,
673 WebKitWebFrame, WebKitWebSettings, WebKitWebNetworkRequest,
674 WebKitWebWindowFeatures, WebKitWebHistoryItem,
675 WebKitWebBackForwardList and WebKitWebInspector.
677 * docs/webkitgtk-sections.txt: Decide to not document some bits
678 * webkit/webkitnetworkrequest.cpp:
679 * webkit/webkitwebbackforwardlist.cpp:
680 * webkit/webkitwebframe.cpp:
681 * webkit/webkitwebhistoryitem.cpp:
682 * webkit/webkitwebhistoryitem.h:
683 * webkit/webkitwebinspector.cpp:
684 * webkit/webkitwebsettings.cpp:
685 * webkit/webkitwebsettings.h:
686 * webkit/webkitwebview.cpp:
687 * webkit/webkitwebwindowfeatures.cpp:
689 2008-12-21 Xan Lopez <xan@gnome.org>
691 Reviewed by Holger Freyther.
693 https://bugs.webkit.org/show_bug.cgi?id=16092
694 [GTK] Middle-mouse click should allow opening a URL in a new tab
696 Add mouse button and keyboard state modifiers info to navigation action.
698 * WebCoreSupport/FrameLoaderClientGtk.cpp:
699 (WebKit::FrameLoaderClient::dispatchDecidePolicyForNavigationAction):
700 * webkit/webkitwebnavigationaction.cpp:
701 (_WebKitWebNavigationActionPrivate::):
702 (_WebKitWebNavigationActionPrivate::webkit_web_navigation_action_get_property):
703 (_WebKitWebNavigationActionPrivate::webkit_web_navigation_action_set_property):
704 (_WebKitWebNavigationActionPrivate::webkit_web_navigation_action_class_init):
705 (_WebKitWebNavigationActionPrivate::webkit_web_navigation_action_get_button):
706 (_WebKitWebNavigationActionPrivate::webkit_web_navigation_action_get_modifier_state):
707 * webkit/webkitwebnavigationaction.h:
709 2008-12-19 Marco Barisione <marco.barisione@collabora.co.uk>
711 Reviewed by Holger Freyther.
713 http://bugs.webkit.org/show_bug.cgi?id=16562
714 [gtk] Implement WebPolicyDelegate methods
716 Original work by Pierre-Luc Beaudoin. Final touches by Gustavo
719 This implements the delegates methods of WebPolicyDelegate.
720 Since Gtk+/C doesn't have delegate methods, they are replaced with
723 A new object WebKitWebPolicyDecision allows the browser to delay its
724 response in certain cases. WebKitWebNavigationAction contains the
725 information about what caused a navigation request.
727 * WebCoreSupport/FrameLoaderClientGtk.cpp:
728 (WebKit::FrameLoaderClient::FrameLoaderClient):
729 (WebKit::FrameLoaderClient::~FrameLoaderClient):
730 (WebKit::FrameLoaderClient::dispatchDecidePolicyForMIMEType):
731 (WebKit::FrameLoaderClient::dispatchDecidePolicyForNewWindowAction):
732 (WebKit::FrameLoaderClient::dispatchDecidePolicyForNavigationAction):
733 (WebKit::FrameLoaderClient::cancelPolicyCheck):
734 (WebKit::FrameLoaderClient::canShowMIMEType):
735 * WebCoreSupport/FrameLoaderClientGtk.h:
737 * webkit/webkitdefines.h:
738 * webkit/webkitprivate.cpp:
741 * webkit/webkitprivate.h:
742 * webkit/webkitwebnavigationaction.cpp: Added.
743 (_WebKitWebNavigationActionPrivate::):
744 (_WebKitWebNavigationActionPrivate::webkit_web_navigation_action_get_property):
745 (_WebKitWebNavigationActionPrivate::webkit_web_navigation_action_set_property):
746 (_WebKitWebNavigationActionPrivate::webkit_web_navigation_action_init):
747 (_WebKitWebNavigationActionPrivate::webkit_web_navigation_action_finalize):
748 (_WebKitWebNavigationActionPrivate::webkit_web_navigation_action_class_init):
749 (_WebKitWebNavigationActionPrivate::webkit_web_navigation_action_get_reason):
750 (_WebKitWebNavigationActionPrivate::webkit_web_navigation_action_set_reason):
751 (_WebKitWebNavigationActionPrivate::webkit_web_navigation_action_get_original_uri):
752 (_WebKitWebNavigationActionPrivate::webkit_web_navigation_action_set_original_uri):
753 * webkit/webkitwebnavigationaction.h: Added.
754 * webkit/webkitwebpolicydecision.cpp: Added.
755 (_WebKitWebPolicyDecisionPrivate::webkit_web_policy_decision_class_init):
756 (_WebKitWebPolicyDecisionPrivate::webkit_web_policy_decision_init):
757 (_WebKitWebPolicyDecisionPrivate::webkit_web_policy_decision_new):
758 (_WebKitWebPolicyDecisionPrivate::webkit_web_policy_decision_use):
759 (_WebKitWebPolicyDecisionPrivate::webkit_web_policy_decision_ignore):
760 (_WebKitWebPolicyDecisionPrivate::webkit_web_policy_decision_download):
761 (_WebKitWebPolicyDecisionPrivate::webkit_web_policy_decision_cancel):
762 * webkit/webkitwebpolicydecision.h: Added.
763 * webkit/webkitwebview.cpp:
764 * webkit/webkitwebview.h:
766 2008-12-18 Dan Bernstein <mitz@apple.com>
768 Reviewed by Sam Weinig.
770 - stub out FrameLoaderClient::shouldUseCredentialStorage().
772 * WebCoreSupport/FrameLoaderClientGtk.cpp:
773 (WebKit::FrameLoaderClient::shouldUseCredentialStorage):
774 * WebCoreSupport/FrameLoaderClientGtk.h:
776 2008-12-18 Sam Weinig <sam@webkit.org>
778 Reviewed by John Sullivan.
780 Stub out FrameLoaderClient::dispatchDidFirstVisuallyNonEmptyLayout()
782 * WebCoreSupport/FrameLoaderClientGtk.cpp:
783 (WebKit::FrameLoaderClient::dispatchDidFirstVisuallyNonEmptyLayout):
784 * WebCoreSupport/FrameLoaderClientGtk.h:
786 2008-12-13 Holger Hans Peter Freyther <zecke@selfish.org>
788 Reviewed by Cameron Zwarich.
790 [GTK] Fix crash with LayoutTests/fast/loader/frame-creation-removal.html
792 Call WebCore::Frame::init after the frame has been given
793 a name and been added to the FrameTree of the parent.
795 Removing the call to init is fine as FrameLoaderClientGtk::createFrame
796 is the only user of webkit_web_frame_init_with_web_view and is already
797 calling WebCore::Frame::init.
799 * webkit/webkitwebframe.cpp:
801 2008-12-13 Adam Bergkvist <adam.bergkvist@ericsson.com>
803 Reviewed by Holger Freyther.
805 https://bugs.webkit.org/show_bug.cgi?id=22779
807 Check for GTK version >= 2.14.0 before using gtk_test_init.
812 2008-12-13 Zan Dobersek <zandobersek@gmail.com>
814 Reviewed by Darin Adler.
816 https://bugs.webkit.org/show_bug.cgi?id=22039
818 Implement animation and transition pausing as needed by DumpRenderTree.
820 * webkit/webkitprivate.h:
821 * webkit/webkitwebframe.cpp:
823 2008-11-29 Holger Hans Peter Freyther <zecke@selfish.org>
825 Rubber-stamped by Simon Hausmann.
827 https://bugs.webkit.org/show_bug.cgi?id=22574
829 Make webkit_web_view_set_window_features internal
831 Calling this method will not result in a notify::window-features
832 signal being emitted. This would allow replacing a
833 WebKitWebWindowFeature on a WebKitWebView without anyone noticing
834 and the client code would monitor the wrong object.
836 * WebCoreSupport/ChromeClientGtk.cpp:
837 (WebKit::ChromeClient::createWindow):
838 * webkit/webkitwebview.cpp:
839 * webkit/webkitwebview.h:
841 2008-12-09 Brett Wilson <brettw@chromium.org>
843 Reviewed by Dave Hyatt.
845 https://bugs.webkit.org/show_bug.cgi?id=22177
847 Add a callback on ChromeClient that the state of form elements on
848 the page has changed. This is to allow clients implementing session
849 saving to know when the current state is dirty.
851 * WebCoreSupport/ChromeClientGtk.h:
852 (WebKit::ChromeClient::formStateDidChange):
854 2008-12-07 Holger Hans Peter Freyther <zecke@selfish.org>
856 Reviewed by Eric Seidel.
858 [Gtk+] Use glib's unit test facilities to test the WebKit/Gtk+ API
860 https://bugs.webkit.org/show_bug.cgi?id=22491
862 Add the skeleton to WebKit/gtk/tests and integrate that into the
863 buildsystem. Testing support was added in glib 2.16. For versions
864 using glib < 2.16 we compile an empty application.
866 * tests/main.c: Added. https://bugs.webkit.org/show_bug.cgi?id=21837
867 will be the first consumer.
870 2008-12-06 Simon Fraser <simon.fraser@apple.com>
872 Reviewed by Dave Hyatt
874 https://bugs.webkit.org/show_bug.cgi?id=15671
876 Renderer::caretRect() is now localCaretRect(), which needs
877 converting to absolute coordinates (taking transforms into account).
879 * webkit/webkitwebview.cpp:
881 2008-12-01 Xan Lopez <xan@gnome.org>
883 Reviewed by Holger Freyther.
885 http://bugs.webkit.org/show_bug.cgi?id=22553
886 Remove unneeded GObject casts.
888 Remove unneeded casts to GObject in functions that take a gpointer
891 * WebCoreSupport/ChromeClientGtk.cpp:
892 (WebKit::ChromeClient::setWindowRect):
893 (WebKit::ChromeClient::createWindow):
894 (WebKit::ChromeClient::setToolbarsVisible):
895 (WebKit::ChromeClient::toolbarsVisible):
896 (WebKit::ChromeClient::setStatusbarVisible):
897 (WebKit::ChromeClient::statusbarVisible):
898 (WebKit::ChromeClient::setScrollbarsVisible):
899 (WebKit::ChromeClient::scrollbarsVisible):
900 (WebKit::ChromeClient::setMenubarVisible):
901 (WebKit::ChromeClient::menubarVisible):
902 (WebKit::ChromeClient::setToolTip):
903 * WebCoreSupport/InspectorClientGtk.cpp:
904 (WebKit::InspectorClient::createPage):
905 * webkit/webkitwebframe.cpp:
906 * webkit/webkitwebview.cpp:
907 * webkit/webkitwebwindowfeatures.cpp:
908 (_WebKitWebWindowFeaturesPrivate::webkit_web_window_features_new_from_core_features):
910 2008-11-29 Christian Dywan <christian@twotoasts.de>
912 Reviewed by Holger Freyther.
914 http://bugs.webkit.org/show_bug.cgi?id=17122
915 [GTK] Bad font default settings
917 Implement a property "enforce-96-dpi" in WebKitWebSettings
918 that can be enabled to force the view to assume 96 DPI.
920 * webkit/webkitwebsettings.cpp:
921 (_WebKitWebSettingsPrivate::):
922 (_WebKitWebSettingsPrivate::webkit_web_settings_class_init):
923 (_WebKitWebSettingsPrivate::webkit_web_settings_set_property):
924 (_WebKitWebSettingsPrivate::webkit_web_settings_get_property):
925 * webkit/webkitwebview.cpp:
927 2008-11-28 Holger Hans Peter Freyther <zecke@selfish.org>
929 Reviewed by Nikolas Zimmermann.
931 Simplify the code. There is no reason to have code like
932 if (true) return false; which is using temporary variables.
934 * webkit/webkitwebview.cpp:
936 2008-11-28 Holger Hans Peter Freyther <zecke@selfish.org>
938 Reviewed by Nikolas Zimmermann.
940 Remove bogus null checks. The WebKitWebView own's a WebCore::Page
941 which is owning a WebCore::ChromeClient. There is no way that a
942 WebCore::ChromeClient is still around when the WebKitWebView is gone.
944 m_webView can only be null when a ChromeClient gets constructed with
945 a null WebKitWebView which is not allowed.
947 * WebCoreSupport/ChromeClientGtk.cpp:
948 (WebKit::ChromeClient::ChromeClient):
949 (WebKit::ChromeClient::windowRect):
950 (WebKit::ChromeClient::setWindowRect):
951 (WebKit::ChromeClient::pageRect):
952 (WebKit::ChromeClient::focus):
953 (WebKit::ChromeClient::unfocus):
954 (WebKit::ChromeClient::show):
955 (WebKit::ChromeClient::setToolbarsVisible):
956 (WebKit::ChromeClient::toolbarsVisible):
957 (WebKit::ChromeClient::setStatusbarVisible):
958 (WebKit::ChromeClient::statusbarVisible):
959 (WebKit::ChromeClient::setScrollbarsVisible):
960 (WebKit::ChromeClient::setMenubarVisible):
961 (WebKit::ChromeClient::menubarVisible):
962 (WebKit::ChromeClient::canTakeFocus):
963 (WebKit::ChromeClient::repaint):
964 (WebKit::ChromeClient::scroll):
965 (WebKit::ChromeClient::platformWindow):
967 2008-11-28 Gustavo Noronha Silva <gns@gnome.org>
969 Reviewed and slightly modified by Holger Freyther.
971 https://bugs.webkit.org/show_bug.cgi?id=19130
973 ChromeClient::createWindow and friends need to be implemented
975 Code from Gustavo Noronha and Marco Barisione
976 <marco.barisione@collabora.co.uk> in this change set.
978 Implemented all the ChromeClient interfaces needed to have new
979 window creation functioning and exposed to client code. We
980 implemented a mirror GObject to the WindowFeatures object provided
983 * WebCoreSupport/ChromeClientGtk.cpp:
984 (WebKit::ChromeClient::windowRect):
985 (WebKit::ChromeClient::setWindowRect):
986 (WebKit::ChromeClient::unfocus):
987 (WebKit::ChromeClient::createWindow):
988 (WebKit::ChromeClient::show):
989 (WebKit::ChromeClient::setToolbarsVisible):
990 (WebKit::ChromeClient::toolbarsVisible):
991 (WebKit::ChromeClient::setStatusbarVisible):
992 (WebKit::ChromeClient::statusbarVisible):
993 (WebKit::ChromeClient::setScrollbarsVisible):
994 (WebKit::ChromeClient::scrollbarsVisible):
995 (WebKit::ChromeClient::setMenubarVisible):
996 (WebKit::ChromeClient::menubarVisible):
997 (WebKit::ChromeClient::setResizable):
998 * WebCoreSupport/FrameLoaderClientGtk.cpp:
999 (WebKit::FrameLoaderClient::dispatchDecidePolicyForNewWindowAction):
1000 (WebKit::FrameLoaderClient::dispatchShow):
1001 (WebKit::FrameLoaderClient::dispatchCreatePage):
1003 * webkit/webkitdefines.h:
1004 * webkit/webkitprivate.h:
1005 * webkit/webkitwebview.cpp:
1006 * webkit/webkitwebview.h:
1007 * webkit/webkitwebwindowfeatures.cpp: Added.
1008 (_WebKitWebWindowFeaturesPrivate::webkit_web_window_features_class_init):
1009 (_WebKitWebWindowFeaturesPrivate::webkit_web_window_features_init):
1010 (_WebKitWebWindowFeaturesPrivate::webkit_web_window_features_finalize):
1011 (_WebKitWebWindowFeaturesPrivate::webkit_web_window_features_set_property):
1012 (_WebKitWebWindowFeaturesPrivate::webkit_web_window_features_get_property):
1013 (_WebKitWebWindowFeaturesPrivate::webkit_web_window_features_new):
1014 (_WebKitWebWindowFeaturesPrivate::webkit_web_window_features_new_from_core_features):
1015 (_WebKitWebWindowFeaturesPrivate::webkit_web_window_features_equal):
1016 * webkit/webkitwebwindowfeatures.h: Added.
1018 2008-11-24 Darin Fisher <darin@chromium.org>
1022 http://bugs.webkit.org/show_bug.cgi?id=15643
1024 * WebCoreSupport/EditorClientGtk.cpp:
1025 (WebKit::EditorClient::isSelectTrailingWhitespaceEnabled):
1026 * WebCoreSupport/EditorClientGtk.h:
1028 2008-11-24 Darin Adler <darin@apple.com>
1030 Reviewed by Dan Bernstein.
1032 - https://bugs.webkit.org/show_bug.cgi?id=22470
1033 remove unneeded URL argument from FrameLoaderClient::updateGlobalHistory
1035 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1036 (WebKit::FrameLoaderClient::updateGlobalHistory): Remove argument.
1037 * WebCoreSupport/FrameLoaderClientGtk.h: Ditto.
1039 2008-11-24 Christian Dywan <christian@twotoasts.de>
1041 Reviewed by Holger Freyther.
1043 http://bugs.webkit.org/show_bug.cgi?id=17122
1044 [GTK] Bad font default settings
1046 * webkit/webkitwebsettings.cpp:
1047 (_WebKitWebSettingsPrivate::webkit_web_settings_class_init):
1048 Use default font size 12 instead of 10
1050 2008-11-24 Zan Dobersek <zandobersek@gmail.com>
1052 Reviewed by Holger Freyther.
1054 https://bugs.webkit.org/show_bug.cgi?id=22039
1056 Implement a semi-private function for adding a directory to
1057 PluginDatabase's paths.
1059 * webkit/webkitprivate.h:
1060 * webkit/webkitwebsettings.cpp:
1061 (_WebKitWebSettingsPrivate::webkit_web_settings_add_extra_plugin_directory):
1063 2008-11-23 Holger Hans Peter Freyther <zecke@selfish.org>
1065 Rubber-stamped by Sam Weinig.
1067 Add gtk-doc configuration/source for the WebKit/Gtk+ Reference Manual
1069 These files will be used by gtk-doc to generate the documentation. They
1070 contain information how to group the symbols of our API, which objects
1071 to inspect during the generation of the manual and how to display the
1074 * docs/webkitgtk-docs.sgml: Added.
1075 * docs/webkitgtk-overrides.txt: Added.
1076 * docs/webkitgtk-sections.txt: Added.
1077 * docs/webkitgtk.types: Added.
1079 2008-11-23 Holger Hans Peter Freyther <zecke@selfish.org>
1081 Reviewed by Sam Weinig.
1083 Make gtk-doc happy with the existing API documentation
1085 - Mark the *Private pointers in the struct private
1086 - Use Returns: where gtk-doc wants us to
1087 - Fix the parameters to make gtk-doc happy
1088 - Fix signal references
1090 * webkit/webkitnetworkrequest.h:
1091 * webkit/webkitwebbackforwardlist.cpp:
1092 * webkit/webkitwebbackforwardlist.h:
1093 * webkit/webkitwebframe.h:
1094 * webkit/webkitwebhistoryitem.cpp:
1095 * webkit/webkitwebinspector.cpp:
1096 (_WebKitWebInspectorPrivate::webkit_web_inspector_class_init):
1097 * webkit/webkitwebview.cpp:
1098 * webkit/webkitwebview.h:
1100 2008-11-19 Darin Fisher <darin@chromium.org>
1104 https://bugs.webkit.org/show_bug.cgi?id=22373
1105 Ports busted by addition of ScriptValue.{h,cpp}
1107 * webkit/webkitwebview.cpp:
1109 2008-11-18 Holger Hans Peter Freyther <zecke@selfish.org>
1111 Reviewed by Simon Hausmann.
1113 Attempt to share transitionToCommittedForNewPage of FrameLoaderClient with the different ports
1115 After Hyatt's work on Widget and ScrollView there is little difference
1116 between the implementation of Qt, Gtk+ and Win. In fact any kind of
1117 difference is mostly a bug. Alp has fixed two of such errors for the Gtk+
1118 port and the Qt port has at least one of them left.
1120 The only difference between the implementations is in getting the the
1121 IntSize for the new FrameView, the background color to be applied and
1122 eventually some post processing.
1124 Unify the implementations by providing a static helper function that
1125 takes a Frame, IntSize, color and transparency bit and calling it from
1126 the Gtk+, the Qt and the Windows port.
1128 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1129 (WebKit::FrameLoaderClient::transitionToCommittedForNewPage):
1131 2008-11-16 Christian Dywan <christian@twoasts.de>
1133 Reviewed by Holger Freyther.
1135 https://bugs.webkit.org/show_bug.cgi?id=22207
1136 [Gtk] Font sizes are not handled properly when updated at runtime
1138 * webkit/webkitwebview.cpp: Move the DPI/ conversion into a
1139 helper function and apply the logic in the notification callback.
1141 2008-11-06 Alp Toker <alp@nuanti.com>
1143 Reviewed by Darin Adler.
1145 https://bugs.webkit.org/show_bug.cgi?id=22047
1146 GTK: Add support for multiple file selection in the file upload control
1148 Implemented with GtkFileChooser.
1150 * WebCoreSupport/ChromeClientGtk.cpp:
1151 (WebKit::ChromeClient::runOpenPanel):
1153 2008-11-03 Cameron Zwarich <zwarich@apple.com>
1155 Rubber-stamped by Maciej Stachowiak.
1157 Move more files into the runtime subdirectory of JavaScriptCore.
1159 * webkit/webkitprivate.cpp:
1161 2008-11-03 Alp Toker <alp@nuanti.com>
1163 Reviewed by Holger Freyther.
1165 Deprecate flawed webkit_web_frame_new() function. This would never
1166 have worked properly when used outside WebCore since Frame::create()
1167 can only be called without an owner element once in the lifetime of a
1168 Page and would result in assertions, leaks and an unusable WebView
1171 Frame creation may be exposed in API some time later via the DOM
1172 binding but probably not in the WebKit GTK+ core API.
1174 * webkit/webkitwebframe.cpp:
1175 * webkit/webkitwebframe.h:
1177 2008-11-03 Alp Toker <alp@nuanti.com>
1179 Reviewed by Holger Freyther.
1181 Redundant scrollbars appear in frames where they shouldn't be visible
1182 eg. embedded Google adverts.
1184 Call setCanHaveScrollbars() when necessary. The Mac and Win ports
1185 already have this but it was missing in FrameLoaderClientGtk.
1187 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1188 (WebKit::FrameLoaderClient::transitionToCommittedForNewPage):
1190 2008-11-03 Alp Toker <alp@nuanti.com>
1192 Rubber-stamped by Holger Freyther.
1194 Sync WebKit GTK+ default UA version string to 528.5+. (We're still
1195 doing this manually!)
1197 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1198 (WebKit::composeUserAgent):
1200 2008-10-31 Christian Dywan <christian@twotoasts.de>
1202 Reviewed by Mark Rowe.
1204 http://bugs.webkit.org/show_bug.cgi?id=22018
1205 enable-developer-extras doesn't toggle WebInspector
1207 * webkit/webkitwebview.cpp:
1208 Add missing 'if' in notification for 'enable-developer-extras'.
1210 2008-10-30 Alp Toker <alp@nuanti.com>
1212 Reviewed by Dave Hyatt.
1214 Fix GIF animations. WebCore will not update animated GIFs if
1215 the WebView is marked offscreen so we need to call
1216 frameView->setParentVisible() when necessary like the Mac and Win
1217 ports do. Regression was introduced around r37155 during the
1218 HostWindow refactor.
1220 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1221 (WebKit::FrameLoaderClient::transitionToCommittedForNewPage):
1223 2008-10-30 Alp Toker <alp@nuanti.com>
1225 Rubber-stamped by Holger Freyther.
1227 Fix typo in recently added web inspector signal. dettach -> detach.
1229 * WebCoreSupport/InspectorClientGtk.cpp:
1230 (WebKit::InspectorClient::detachWindow):
1231 * webkit/webkitwebinspector.cpp:
1232 (_WebKitWebInspectorPrivate::webkit_web_inspector_class_init):
1234 2008-10-30 Alp Toker <alp@nuanti.com>
1236 Fix version comments for the web inspector added in r37982. Available
1237 since 1.0.3, not 1.0.2.
1239 * webkit/webkitwebinspector.cpp:
1240 (_WebKitWebInspectorPrivate::webkit_web_inspector_class_init):
1241 * webkit/webkitwebsettings.cpp:
1242 (_WebKitWebSettingsPrivate::webkit_web_settings_class_init):
1243 * webkit/webkitwebview.cpp:
1245 2008-10-29 Gustavo Noronha Silva <gns@gnome.org>
1247 Reviewed and slightly changed by Holger Freyther.
1249 Implemented a new WebKitWebInspector class to provide a GObject
1250 API for the Web Inspector. Also implemented InspectorClient.
1252 * WebCoreSupport/InspectorClientGtk.cpp:
1253 (WebKit::notifyWebViewDestroyed):
1254 (WebKit::InspectorClient::InspectorClient):
1255 (WebKit::InspectorClient::inspectorDestroyed):
1256 (WebKit::InspectorClient::webViewDestroyed):
1257 (WebKit::InspectorClient::createPage):
1258 (WebKit::InspectorClient::showWindow):
1259 (WebKit::InspectorClient::closeWindow):
1260 (WebKit::InspectorClient::attachWindow):
1261 (WebKit::InspectorClient::detachWindow):
1262 (WebKit::InspectorClient::inspectedURLChanged):
1263 * WebCoreSupport/InspectorClientGtk.h:
1265 * webkit/webkit-marshal.list:
1266 * webkit/webkitdefines.h:
1267 * webkit/webkitprivate.h:
1268 * webkit/webkitwebinspector.cpp: Added.
1269 (_WebKitWebInspectorPrivate::webkit_inspect_web_view_request_handled):
1270 (_WebKitWebInspectorPrivate::webkit_web_inspector_class_init):
1271 (_WebKitWebInspectorPrivate::webkit_web_inspector_init):
1272 (_WebKitWebInspectorPrivate::webkit_web_inspector_finalize):
1273 (_WebKitWebInspectorPrivate::webkit_web_inspector_set_property):
1274 (_WebKitWebInspectorPrivate::webkit_web_inspector_get_property):
1275 (_WebKitWebInspectorPrivate::webkit_web_inspector_set_web_view):
1276 * webkit/webkitwebinspector.h: Added.
1277 * webkit/webkitwebsettings.cpp:
1278 (_WebKitWebSettingsPrivate::):
1279 (_WebKitWebSettingsPrivate::webkit_web_settings_class_init):
1280 (_WebKitWebSettingsPrivate::webkit_web_settings_set_property):
1281 (_WebKitWebSettingsPrivate::webkit_web_settings_get_property):
1282 (_WebKitWebSettingsPrivate::webkit_web_settings_copy):
1283 * webkit/webkitwebview.cpp:
1284 * webkit/webkitwebview.h:
1286 2008-10-27 Michael Tross <michael@tross.org>
1288 Reviewed by Alp Toker. Landed by Jan Alonzo.
1290 https://bugs.webkit.org/show_bug.cgi?id=21827
1291 [GTK] Fix memory leak in webkit_web_view_load_string
1293 * webkit/webkitwebview.cpp:
1295 2008-10-24 Sam Weinig <sam@webkit.org>
1299 * WebCoreSupport/ChromeClientGtk.cpp:
1301 2008-10-24 Sam Weinig <sam@webkit.org>
1303 Reviewed by Dan Bernstein.
1305 Fix https://bugs.webkit.org/show_bug.cgi?id=21759
1306 Layering violation: FileChooser should not depend on Document/Frame/Page
1308 * WebCoreSupport/ChromeClientGtk.cpp:
1309 (WebKit::ChromeClient::runOpenPanel):
1310 * WebCoreSupport/ChromeClientGtk.h:
1312 2008-10-24 Timothy Hatcher <timothy@apple.com>
1314 Stub out new InspectorClient methods.
1316 https://bugs.webkit.org/show_bug.cgi?id=21856
1318 Reviewed by Darin Adler.
1320 * WebCoreSupport/InspectorClientGtk.cpp:
1321 (WebKit::InspectorClient::populateSetting): Not implemented.
1322 (WebKit::InspectorClient::storeSetting): Ditto.
1323 (WebKit::InspectorClient::removeSetting): Ditto.
1324 * WebCoreSupport/InspectorClientGtk.h:
1326 2008-10-22 Alp Toker <alp@nuanti.com>
1328 Build fix for older GTK+ versions where GTK_TYPE_TARGET_LIST isn't
1331 * webkit/webkitwebview.cpp:
1333 2008-10-22 Alp Toker <alp@nuanti.com>
1335 Reviewed by Adam Roben.
1337 Avoid critical warnings on older GTK+ versions (2.8) by not checking
1338 for GTK+ setting properties when we know they don't exist.
1340 * WebCoreSupport/ContextMenuClientGtk.cpp:
1341 (WebKit::inputMethodsMenuItem):
1342 (WebKit::unicodeMenuItem):
1344 2008-10-20 Sam Weinig <sam@webkit.org>
1346 Reviewed by Anders Carlsson.
1348 Remove FrameLoaderClient::detachedFromParent4. It is no longer used by any port.
1350 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1351 * WebCoreSupport/FrameLoaderClientGtk.h:
1353 2008-10-20 Alp Toker <alp@nuanti.com>
1355 Reviewed by Dave Hyatt.
1357 https://bugs.webkit.org/show_bug.cgi?id=21303
1358 [GTK] Scrolling glitches
1360 Implement a buffering scheme to avoid full repaints when scrolling
1361 views or subframes significantly improving scrolling performance.
1363 Improve rendering performance by coalescing large numbers of small
1366 Also fixes long-running issues with scrollbar positioning and frame
1369 Rendering in the GTK+ port should be more similar to other ports after
1372 * WebCoreSupport/ChromeClientGtk.cpp:
1373 (WebKit::ChromeClient::repaint):
1374 (WebKit::ChromeClient::scroll):
1375 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1376 (WebKit::FrameLoaderClient::forceLayout):
1377 * webkit/webkitwebview.cpp:
1379 2008-10-17 Luke Kenneth Casson Leighton <lkcl@lkcl.net>
1381 Reviewed by Mark Rowe. Landed by Jan Alonzo.
1383 https://bugs.webkit.org/show_bug.cgi?id=20403
1384 [Gtk] Segfault after a table with an iframe is attempted to be added twice to DOM model with javascript
1386 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1387 (WebKit::FrameLoaderClient::frameLoaderDestroyed):
1388 (WebKit::FrameLoaderClient::detachedFromParent4):
1390 2008-10-06 David Hyatt <hyatt@apple.com>
1392 Enable viewless Mac WebKit to paint some basic pages.
1394 Reviewed by Sam Weinig
1396 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1397 (WebKit::FrameLoaderClient::transitionToCommittedForNewPage):
1398 * WebCoreSupport/FrameLoaderClientGtk.h:
1400 2008-10-03 David Hyatt <hyatt@apple.com>
1402 Fix Gtk bustage from use of containingWindow() over on the WebKit side. Replace with HostWindow use.
1404 * webkit/webkitwebview.cpp:
1406 2008-10-03 David Hyatt <hyatt@apple.com>
1408 https://bugs.webkit.org/show_bug.cgi?id=21340
1410 Remove "containingWindow()/setContainingWindow()" from Widget. HostWindow covers this now.
1412 Reviewed by Dan Bernstein & Darin Adler
1414 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1415 (WebKit::FrameLoaderClient::transitionToCommittedForNewPage):
1417 2008-10-03 Alp Toker <alp@nuanti.com>
1419 Remove some left-over GTK+ includes. No change in functionality.
1421 * webkit/webkitwebhistoryitem.h:
1423 2008-10-03 Alp Toker <alp@nuanti.com>
1425 Build fix following r37234. Remove addToDirtyRegion from the header
1428 * WebCoreSupport/ChromeClientGtk.h:
1430 2008-10-03 David Hyatt <hyatt@apple.com>
1432 Remove addToDirtyRegion.
1434 Reviewed by Oliver Hunt
1436 * WebCoreSupport/ChromeClientGtk.cpp:
1438 2008-10-02 David Hyatt <hyatt@apple.com>
1440 https://bugs.webkit.org/show_bug.cgi?id=21314
1442 Make scrollBackingStore cross-platform.
1444 Reviewed by Sam Weinig
1446 * WebCoreSupport/ChromeClientGtk.cpp:
1447 (WebKit::ChromeClient::repaint):
1448 (WebKit::ChromeClient::scroll):
1449 * WebCoreSupport/ChromeClientGtk.h:
1451 2008-10-01 David Hyatt <hyatt@apple.com>
1453 https://bugs.webkit.org/show_bug.cgi?id=21282
1455 Make contentsToScreen/screenToContents cross-platform. Only implemented by Mac/Win right now.
1457 Reviewed by Adam Roben
1459 * WebCoreSupport/ChromeClientGtk.cpp:
1460 (WebKit::ChromeClient::windowToScreen):
1461 (WebKit::ChromeClient::screenToWindow):
1462 * WebCoreSupport/ChromeClientGtk.h:
1464 2008-09-30 Dave Hyatt <hyatt@apple.com>
1466 http://bugs.webkit.org/show_bug.cgi?id=21250
1468 Rename updateContents to repaintContentRectangle and make it cross-platform by always sending
1469 repaints up through the ChromeClient.
1471 Reviewed by Darin Adler
1473 * WebCoreSupport/ChromeClientGtk.cpp:
1474 (WebKit::ChromeClient::repaint):
1475 * WebCoreSupport/ChromeClientGtk.h:
1477 2008-09-16 Alp Toker <alp@nuanti.com>
1479 Suggested by Dave Hyatt.
1481 Build fix and cleanup. Rename ScrollBar to Scrollbar.
1483 * webkit/webkitwebview.cpp:
1485 2008-09-13 Adrien Nader <camaradetux@gmail.com>
1487 Gtk build fix, not reviewed.
1489 * webkit/webkitwebview.cpp:
1491 2008-09-10 Alp Toker <alp@nuanti.com>
1493 Reviewed by Mark Rowe.
1495 https://bugs.webkit.org/show_bug.cgi?id=17267
1496 [GTK] Primary selection/clipboard support
1498 Implement primary selection support (copying only, no paste yet).
1500 * WebCoreSupport/EditorClientGtk.cpp:
1501 (WebKit::clipboard_get_contents_cb):
1502 (WebKit::clipboard_clear_contents_cb):
1503 (WebKit::EditorClient::respondToChangedSelection):
1505 2008-09-07 Cameron Zwarich <cwzwarich@uwaterloo.ca>
1507 Reviewed by Maciej Stachowiak.
1509 Bug 20704: Replace the KJS namespace
1510 <https://bugs.webkit.org/show_bug.cgi?id=20704>
1512 Rename the KJS namespace to JSC.
1514 * webkit/webkitprivate.cpp:
1517 2008-09-05 Gustavo Noronha Silva <gns@gnome.org>
1519 Reviewed by Alp Toker.
1521 https://bugs.webkit.org/show_bug.cgi?id=18346
1522 [GTK] Remove build warnings
1524 Removed/commented code that is not (yet) used, and reordered
1525 member variables initialization for FrameLoaderClient, so that the
1526 compiler is happy and prints less warnings when building.
1528 * WebCoreSupport/ContextMenuClientGtk.cpp:
1529 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1530 (WebKit::FrameLoaderClient::FrameLoaderClient):
1532 2008-09-03 Alp Toker <alp@nuanti.com>
1534 Build fix following r36073. Include config.h where necessary.
1536 * WebCoreSupport/PasteboardHelperGtk.cpp:
1537 * webkit/webkitversion.cpp:
1539 2008-09-01 Alp Toker <alp@nuanti.com>
1541 Reviewed by Eric Seidel.
1543 https://bugs.webkit.org/show_bug.cgi?id=19939
1544 [GTK] webkit_web_history_item_get_title() fails with assertion
1546 Make sure newly constructed WebHistoryItem objects wrap a WebCore
1547 history item when necessary. Avoid G_PARAM_CONSTRUCT since it destroys
1548 history data -- use WEBKIT_PARAM flags instead as they do the right
1549 thing. This restores history functionality.
1551 Also use CString to simplify UTF-8 string management.
1553 * webkit/webkitwebbackforwardlist.cpp:
1554 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_forward_list_with_limit):
1555 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_back_list_with_limit):
1556 No need to initialize the vector with a size since it's cleared by the
1558 * webkit/webkitwebhistoryitem.cpp:
1559 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_finalize):
1560 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_class_init):
1561 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_core_item):
1562 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new):
1563 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_data):
1564 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_title):
1565 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_alternate_title):
1566 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_set_alternate_title):
1567 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_uri):
1568 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_original_uri):
1570 2008-08-27 Adrien Nader <camaradetux@gmail.com>
1572 Reviewed by Eric Seidel.
1574 https://bugs.webkit.org/show_bug.cgi?id=20099
1575 [GTK] SHIFT+PAGE_UP/DOWN doesn't extend selection
1577 * WebCoreSupport/EditorClientGtk.cpp:
1578 (WebKit::EditorClient::handleKeyboardEvent):
1580 2008-08-27 Brady Eidson <beidson@apple.com>
1584 <rdar://problem/6134133> - Crash when loading large movie as a standalone document
1586 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1587 (WebKit::FrameLoaderClient::pluginWillHandleLoadError): Stubbed for now
1588 * WebCoreSupport/FrameLoaderClientGtk.h:
1590 2008-08-18 Alp Toker <alp@nuanti.com>
1592 Reviewed by Holger Freyther.
1594 https://bugs.webkit.org/show_bug.cgi?id=20350
1595 [GTK] Get DumpRenderTree working
1597 Add a private function to WebFrame to dump the render tree as required
1598 for the DumpRenderTree testing tool.
1600 * webkit/webkitprivate.h:
1601 * webkit/webkitwebframe.cpp:
1603 2008-08-12 Timothy Hatcher <timothy@apple.com>
1605 Add a stub for InspectorClient::setAttachedWindowHeight.
1607 * WebCoreSupport/InspectorClientGtk.cpp:
1608 (WebKit::InspectorClient::setAttachedWindowHeight):
1609 Call notImplemented().
1610 * WebCoreSupport/InspectorClientGtk.h:
1612 2008-08-10 Alp Toker <alp@nuanti.com>
1614 Remove leftover qmake/GTK+ build files.
1616 * webkit/headers.pri: Removed.
1618 2008-08-02 Christian Dywan <christian@twotoasts.de>
1620 Reviewed by Eric Seidel.
1622 Remove webkit-marshal.list, which was made obsolete in #19742
1624 * webkit/webkit-marshal.list: Removed.
1626 2008-08-01 Wouter Bolsterlee <uws@xs4all.nl>
1628 Reviewed by Eric Seidel.
1630 https://bugs.webkit.org/show_bug.cgi?id=20035
1631 [GTK] Fix return value for webkit_web_view_go_to_back_forward_item()
1633 * webkit/webkitwebview.cpp:
1635 2008-07-30 Marco Barisione <marco.barisione@collabora.co.uk>
1639 http://bugs.webkit.org/show_bug.cgi?id=19742
1640 [GTK] Auto generate webkitmarshal.list
1642 Auto generate webkitmarshal.list from source files to reduce the
1643 number of conflicts when merging git branches or when applying
1645 Also rename webkit-marshal.* to webkitmarshal.* for consistency.
1647 * webkit/webkitwebframe.cpp: Include webkitmarshal.h instead of
1649 * webkit/webkitwebview.cpp: Ditto.
1651 2008-07-30 Gustavo Noronha Silva <gns@gnome.org>
1655 https://bugs.webkit.org/show_bug.cgi?id=20205
1656 Typo in comment for bracer ending block
1658 * webkit/webkitprivate.cpp: Typo fix in comment for the brace
1659 that ends the WebKit namespace; WebCore -> WebKit
1661 2008-07-26 Mark Rowe <mrowe@apple.com>
1663 Build fix. Changes to accommodate newly named/signatured loading methods in WebCore.
1665 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1666 (WebKit::FrameLoaderClient::createFrame):
1668 2008-07-17 Christian Dywan <christian@twotoasts.de>
1670 Reviewed by Holger Freyther.
1672 https://bugs.webkit.org/show_bug.cgi?id=19813
1673 [GTK] WebKit crashes on invalid settings notify callback
1675 * webkit/webkitwebview.cpp: Disconnect in webkit_web_view_finalize
1677 2008-07-08 Jan Michael Alonzo <jmalonzo@webkit.org>
1679 Reviewed by Christian Dywan.
1681 Replace 'const' with G_CONST_RETURN macro to make it flexible to
1684 * webkit/webkitnetworkrequest.cpp:
1685 * webkit/webkitnetworkrequest.h:
1686 * webkit/webkitwebframe.cpp:
1687 * webkit/webkitwebframe.h:
1688 * webkit/webkitwebhistoryitem.cpp:
1689 * webkit/webkitwebhistoryitem.h:
1691 2008-06-18 Marco Barisione <marco.barisione@collabora.co.uk>
1693 Reviewed by Alp Toker.
1695 https://bugs.webkit.org/show_bug.cgi?id=19171
1696 [GTK] GTypes for enumerations
1698 Generate GTypes for public enumerations so they can be used as
1701 * GNUmakefile.am: Generate webkit-enum-types.cpp and
1702 webkit-enum-types.h.
1704 2008-06-17 Christian Dywan <christian@twotoasts.de>
1708 [GTK] WebKitWebHistoryItem needs properties
1709 https://bugs.webkit.org/show_bug.cgi?id=19558
1711 Implement properties matching the existing accessors.
1713 * webkit/webkitwebhistoryitem.cpp:
1714 (_WebKitWebHistoryItemPrivate::):
1715 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_class_init):
1716 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_set_property):
1717 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_property):
1718 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_set_alternate_title):
1720 2008-06-15 Darin Adler <darin@apple.com>
1722 - give Frame object functions shorter names: scriptProxy() -> script(),
1723 selectionController() -> selection(), animationController() -> animation()
1725 * WebCoreSupport/EditorClientGtk.cpp:
1726 (WebKit::EditorClient::handleKeyboardEvent):
1727 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1728 (WebKit::FrameLoaderClient::windowObjectCleared):
1729 * webkit/webkitwebframe.cpp:
1730 * webkit/webkitwebview.cpp:
1732 2008-06-15 Darin Adler <darin@apple.com>
1734 - undo bogus renaming done by the script
1736 * WebCoreSupport/ContextMenuClientGtk.cpp:
1737 * webkit/webkitnetworkrequest.h:
1738 * webkit/webkitwebbackforwardlist.h:
1739 * webkit/webkitwebframe.h:
1740 * webkit/webkitwebhistoryitem.h:
1741 * webkit/webkitwebsettings.h:
1743 2008-06-15 Darin Adler <darin@apple.com>
1745 - new names for a few key JavaScriptCore files
1747 * WebCoreSupport/ContextMenuClientGtk.cpp:
1748 * webkit/webkitnetworkrequest.h:
1749 * webkit/webkitwebbackforwardlist.h:
1750 * webkit/webkitwebframe.h:
1751 * webkit/webkitwebhistoryitem.h:
1752 * webkit/webkitwebsettings.h:
1754 2008-06-15 Christian Dywan <christian@twotoasts.de>
1756 Reviewed by Alp Toker.
1758 [GTK] Property setters do not call g_object_notify()
1759 https://bugs.webkit.org/show_bug.cgi?id=18405
1761 * webkit/webkitwebview.cpp:
1763 2008-06-15 Christian Dywan <christian@twotoasts.de>
1765 Reviewed by Alp Toker.
1767 Tiny documentation fix, s/capacity/limit
1769 * webkit/webkitwebbackforwardlist.cpp:
1771 2008-06-14 Darin Adler <darin@apple.com>
1773 Rubber stamped by Sam.
1775 - new names for kjs_binding.h and kjs_proxy.h
1777 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1778 * webkit/webkitwebframe.cpp:
1780 2008-06-14 Darin Adler <darin@apple.com>
1784 * webkit/webkitwebframe.cpp: Remove a bogus release() call.
1786 2008-06-14 Darin Adler <darin@apple.com>
1790 - more https://bugs.webkit.org/show_bug.cgi?id=17257
1791 start ref counts at 1 instead of 0 for speed
1793 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1794 (WebKit::FrameLoaderClient::createDocumentLoader): Use create instead of new.
1795 * webkit/webkitwebframe.cpp:
1796 (webkit_web_frame_new): Ditto.
1797 (webkit_web_frame_init_with_web_view): Ditto.
1799 2008-06-13 Darin Adler <darin@apple.com>
1803 * WebCoreSupport/FrameLoaderClientGtk.h: Add missing argument.
1805 2008-06-13 Darin Adler <darin@apple.com>
1807 Reviewed by John Sullivan.
1809 - updated for addition of FormState argument to action policy functions
1811 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1812 (WebKit::FrameLoaderClient::dispatchDecidePolicyForNewWindowAction):
1813 (WebKit::FrameLoaderClient::dispatchDecidePolicyForNavigationAction):
1815 2008-06-10 Christian Dywan <christian@twotoasts.de>
1817 Reviewed by Alp Toker and Darin Adler.
1819 https://bugs.webkit.org/show_bug.cgi?id=16676
1820 Apply GTK coding style to WebKit Gtk public headers
1822 * webkit/webkitnetworkrequest.h:
1823 * webkit/webkitwebbackforwardlist.h:
1824 * webkit/webkitwebframe.h:
1825 * webkit/webkitwebhistoryitem.h:
1826 * webkit/webkitwebsettings.h:
1827 * webkit/webkitwebview.h:
1829 2008-06-07 Jan Michael Alonzo <jmalonzo@webkit.org>
1831 Confirmed by Christian Dywan.
1833 Gtk build fix for r34432
1835 * webkit/webkitwebhistoryitem.cpp:
1836 (_WebKitWebHistoryItemPrivate::webkit_history_item_add):
1837 (_WebKitWebHistoryItemPrivate::webkit_history_item_remove):
1838 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_dispose):
1839 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_core_item):
1840 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new):
1841 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_data):
1844 2008-06-07 Darin Adler <darin@apple.com>
1846 - try to fix build after HistoryItem changes
1848 * webkit/webkitwebhistoryitem.cpp:
1849 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new): Use HistoryItem::create.
1850 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_data): Ditto. I also
1851 believe this fixes a memory leak in the old version.
1853 2008-06-07 Christian Dywan <christian@twotoasts.de>
1855 Reviewed by Alp Toker.
1857 https://bugs.webkit.org/show_bug.cgi?id=17324
1858 Remove PLATFORM ifdefs from ContextMenu.cpp
1860 * WebCoreSupport/ContextMenuClientGtk.cpp:
1861 (WebKit::ContextMenuClient::ContextMenuClient):
1862 (WebKit::ContextMenuClient::contextMenuDestroyed):
1863 (WebKit::inputMethodsMenuItem):
1865 (WebKit::insertControlCharacter):
1866 (WebKit::unicodeMenuItem):
1867 (WebKit::ContextMenuClient::getCustomMenuFromDefaultItems):
1868 * WebCoreSupport/ContextMenuClientGtk.h:
1869 * webkit/webkitwebview.cpp:
1871 2008-06-05 Alp Toker <alp@nuanti.com>
1873 Add 'Since' documentation for API versioning functions.
1875 * webkit/webkitversion.cpp:
1877 2008-06-05 Christian Dywan <christian@twotoasts.de>
1879 Reviewed by Alp Toker.
1881 https://bugs.webkit.org/show_bug.cgi?id=14141
1882 Please add a version to the Gtk port
1885 * webkit/webkitversion.cpp: Added.
1886 * webkit/webkitversion.h.in: Added.
1887 * webkit/webkitwebsettings.cpp:
1888 (_WebKitWebSettingsPrivate::webkit_web_settings_class_init):
1889 * webkit/webkitwebview.cpp:
1891 2008-06-01 Alp Toker <alp@nuanti.com>
1893 Suggested by Christian Dywan.
1895 Use float literals for zoom values and improve documentation wording.
1897 * webkit/webkitwebsettings.cpp:
1898 (_WebKitWebSettingsPrivate::webkit_web_settings_class_init):
1899 * webkit/webkitwebview.cpp:
1901 2008-06-01 Alp Toker <alp@nuanti.com>
1905 Remove webkit_web_view_go_backward(),
1906 webkit_web_view_can_go_backward(). These have been obsoleted by
1907 the back() versions for quite a while.
1909 * webkit/webkitwebview.cpp:
1910 * webkit/webkitwebview.h:
1912 2008-05-31 Alp Toker <alp@nuanti.com>
1914 Fix inconsistent zoom docs and enum name landed in r34249. Issue
1915 noticed by Marco Barisione.
1917 * webkit/webkitwebview.cpp:
1919 2008-05-30 Carlos MartÃn Nieto <carlos@cmartin.tk>
1921 Reviewed by Alp Toker.
1923 http://bugs.webkit.org/show_bug.cgi?id=18383
1924 [GTK] The "hovering-over-link" signal arguments aren't documented.
1926 * webkit/webkitwebview.cpp:
1928 2008-05-29 Marco Barisione <marco@collabora.co.uk>
1930 Reviewed (and tweaked) by Alp Toker.
1932 http://bugs.webkit.org/show_bug.cgi?id=18281
1933 [GTK] add functions to set/get the zoom level
1935 * webkit/webkitwebsettings.cpp:
1936 (_WebKitWebSettingsPrivate::):
1937 (_WebKitWebSettingsPrivate::webkit_web_settings_class_init):
1938 (_WebKitWebSettingsPrivate::webkit_web_settings_set_property):
1939 (_WebKitWebSettingsPrivate::webkit_web_settings_get_property):
1940 * webkit/webkitwebview.cpp: Add functions to get and set the zoom
1942 * webkit/webkitwebview.h: Ditto.
1943 * webkit/webkitprivate.h:
1945 2008-05-28 Alp Toker <alp@nuanti.com>
1947 Reviewed by Alexey Proskuryakov.
1949 http://bugs.webkit.org/show_bug.cgi?id=18704
1950 [gtk] cannot type letters with dead keys in textarea
1952 http://bugs.webkit.org/show_bug.cgi?id=14120
1953 [GDK] Support input methods
1955 Add support for input method composition.
1957 Remove some old hacks so we handle input method events more
1960 * WebCoreSupport/EditorClientGtk.cpp:
1961 (WebKit::imContextCommitted):
1962 (WebKit::imContextPreeditChanged):
1963 (WebKit::EditorClient::setInputMethodState):
1964 (WebKit::EditorClient::respondToChangedSelection):
1965 (WebKit::EditorClient::handleInputMethodKeydown):
1966 (WebKit::EditorClient::EditorClient):
1967 (WebKit::EditorClient::~EditorClient):
1968 (WebKit::EditorClient::textFieldDidBeginEditing):
1969 (WebKit::EditorClient::textFieldDidEndEditing):
1970 (WebKit::EditorClient::textDidChangeInTextField):
1971 (WebKit::EditorClient::doTextFieldCommandFromEvent):
1972 * webkit/webkitwebview.cpp:
1974 2008-05-25 Alp Toker <alp@nuanti.com>
1978 Drop WebView focus when the widget is focused out.
1980 * webkit/webkitwebview.cpp:
1982 2008-05-25 Sriram Neelakandan <sriram.neelakandan@gmail.com>
1984 Reviewed by Alp Toker.
1986 http://bugs.webkit.org/show_bug.cgi?id=18935
1987 [Gtk] Plugin Load crashes with NP_FULL mode
1989 Fix crash due to uninitialized variable.
1991 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1992 (WebKit::FrameLoaderClient::FrameLoaderClient):
1994 2008-05-24 Alp Toker <alp@nuanti.com>
1996 https://bugs.webkit.org/show_bug.cgi?id=18825
1997 webkitgtk fails to build from source: "Database Tracker" has not been declared
1999 GTK+ fix for building without database support.
2000 exceededDatabaseQuota() still needs to be present, just a no-op.
2002 * WebCoreSupport/ChromeClientGtk.cpp:
2003 (WebKit::ChromeClient::exceededDatabaseQuota):
2005 2008-05-23 Alp Toker <alp@nuanti.com>
2007 GTK+ fixes for building without database support.
2009 * WebCoreSupport/ChromeClientGtk.cpp:
2011 2008-05-19 Alp Toker <alp@nuanti.com>
2013 Reviewed by Anders and Beth.
2015 http://bugs.webkit.org/show_bug.cgi?id=16495
2016 [GTK] Accessibility support with ATK/AT-SPI
2018 Initial ATK/AT-SPI accessibility support for the GTK+ port.
2020 * webkit/webkitwebview.cpp:
2022 2008-05-06 Christian Dywan <christian@twotoasts.de>
2024 Rubber stamped by Alp.
2026 Back out 17626. It wasn't ready for commit.
2028 * webkit/webkitprivate.h:
2029 * webkit/webkitwebview.cpp:
2030 * webkit/webkitwebview.h:
2032 2008-05-01 Marc Ordinas i Llopis <marc.ordinasillopis@collabora.co.uk>
2034 Reviewed by Alp Toker.
2036 https://bugs.webkit.org/show_bug.cgi?id=14750
2037 Added support for NPAPI plugins on Gtk and Qt-x11 ports.
2039 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2040 (WebKit::FrameLoaderClient::FrameLoaderClient):
2041 (WebKit::FrameLoaderClient::committedLoad):
2042 (WebKit::FrameLoaderClient::createPlugin):
2043 (WebKit::FrameLoaderClient::redirectDataToPlugin):
2044 (WebKit::FrameLoaderClient::finishedLoading):
2045 (WebKit::FrameLoaderClient::setMainDocumentError):
2046 * WebCoreSupport/FrameLoaderClientGtk.h:
2048 2008-04-30 Sean Egan <seanegan@gmail.com>
2050 Reviewed and modified by Holger.
2052 https://bugs.webkit.org/show_bug.cgi?id=17626
2053 Support setting background color and a 16-bit alpha channel.
2055 * webkit/webkitprivate.h:
2056 * webkit/webkitwebview.cpp:
2057 * webkit/webkitwebview.h:
2059 2008-04-24 Dan Bernstein <mitz@apple.com>
2063 * webkit/webkitwebview.cpp:
2065 2008-04-24 Anders Carlsson <andersca@apple.com>
2069 Change some String arguments to be const references instead.
2071 * WebCoreSupport/EditorClientGtk.cpp:
2072 (WebKit::EditorClient::shouldInsertText):
2073 * WebCoreSupport/EditorClientGtk.h:
2075 2008-04-23 Christian Dywan <christian@twotoasts.de>
2077 Reviewed by Alp Toker.
2079 Emit a warning about an unknown setting only if it is
2080 not a valid property. Otherwise applications can't
2081 subclass WebKitWebSettings to add new properties.
2083 * webkit/webkitwebview.cpp:
2085 2008-04-20 Simon Hausmann <hausmann@webkit.org>
2087 Reviewed by Alp Toker.
2089 http://bugs.webkit.org/show_bug.cgi?id=18578
2090 Share the printing code between the Gtk and the Qt port
2092 Share the printing code between the Gtk and the Qt port
2093 and added printing to the Qt WebKit API.
2095 * webkit/webkitwebframe.cpp: Removed PrintContext in favour of
2096 page/Printcontext.cpp/h
2098 2008-04-19 Alp Toker <alp@nuanti.com>
2102 Enable visited link tracking by default at startup.
2104 With this patch, the GTK+ port rendering of Acid3 now matches the
2107 * webkit/webkitprivate.cpp:
2111 2008-04-11 Mark Rowe <mrowe@apple.com>
2113 Gtk build fix after r32231.
2115 * webkit/webkitwebview.cpp: Update to use contentRenderer.
2117 2008-04-18 Alp Toker <alp@atoker.com>
2119 Rubber-stamped by Holger Freyther.
2121 http://bugs.webkit.org/show_bug.cgi?id=18218
2122 [Gtk] segfault when clicking on a disabled button
2124 Always use the main frame for mouse events (not the focused frame)
2125 since it knows best how to get the event through to the right target.
2127 This also fixes a null crasher.
2129 * webkit/webkitwebview.cpp:
2131 2008-04-17 Alp Toker <alp@atoker.com>
2133 Rubber-stamped by Holger Freyther.
2135 Reduce hard-coded page-cache count to 3 based on research done for the
2136 Mac port on value / page.
2138 We will need to make this more dynamic or configurable at some point
2139 but for now it's best to keep closer to the behaviour before page
2140 caching was enabled.
2142 Issue spotted by Mark Rowe.
2144 * webkit/webkitprivate.cpp:
2147 2008-04-17 Daniele Metilli <daniele.metilli@gmail.com>
2151 Fixed a typo in the copyright header.
2153 * webkit/webkitprivate.h:
2155 2008-04-14 Holger Freyther <zecke@selfish.org>
2157 Reviewed by Alp Toker.
2159 https://bugs.webkit.org/show_bug.cgi?id=18411
2160 Enable Page caching and create FrameViews on the fly
2162 Create the FrameView on the fly and cache pages
2164 - Keep a copy of the GtkAdjustment to be able to reuse it for the
2166 - Do not initially create a FrameView and update the WebKit code to
2167 cope with not having a view.
2168 - Cache seven pages by default.
2170 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2171 (WebKit::FrameLoaderClient::createFrame):
2172 (WebKit::FrameLoaderClient::canCachePage):
2173 (WebKit::FrameLoaderClient::savePlatformDataToCachedPage):
2174 (WebKit::FrameLoaderClient::transitionToCommittedFromCachedPage):
2175 (WebKit::FrameLoaderClient::transitionToCommittedForNewPage):
2176 * webkit/webkitprivate.cpp:
2178 * webkit/webkitprivate.h:
2179 * webkit/webkitwebframe.cpp:
2180 * webkit/webkitwebview.cpp:
2182 2008-04-10 Mario Bensi <mbensi@pleyo.com>
2184 Reviewed by Alp Toker.
2186 https://bugs.webkit.org/show_bug.cgi?id=18400
2187 Database example doesn't work on Gtk port
2189 Fix quota in ChromeClient
2191 * WebCoreSupport/ChromeClientGtk.cpp:
2192 (WebKit::ChromeClient::exceededDatabaseQuota):
2194 2008-04-08 Adam Roben <aroben@apple.com>
2196 Move callOnMainThread to WTF
2198 Reviewed by Alexey Proskuryakov.
2200 * webkit/webkitprivate.cpp: Updated #include.
2201 (webkit_init): Changed to call KJS::initializeThreading.
2203 2008-04-06 Luca Bruno <lethalman88@gmail.com>
2205 Reviewed by Alp Toker.
2207 Fix webkit_web_view_get_transparent() return value.
2209 * webkit/webkitwebview.cpp:
2211 2008-03-31 Jasper Bryant-Greene <jasper@unix.geek.nz>
2213 Reviewed by Darin Adler.
2215 Resolves http://bugs.webkit.org/show_bug.cgi?id=18010
2216 "WebKitNetworkRequestPrivate is defined in two places unnecessarily"
2218 Removed unnecessary definition of WebKitNetworkRequestPrivate in
2221 * webkit/webkitprivate.h:
2223 2008-03-25 Brady Eidson <beidson@apple.com>
2227 Remove newly obsolete FrameLoaderClient methods
2229 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2230 * WebCoreSupport/FrameLoaderClientGtk.h:
2232 2008-03-20 Alp Toker <alp@atoker.com>
2234 GTK+ build fix. Back out r31183. This patch also introduced API style
2237 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2238 (WebKit::FrameLoaderClient::dispatchDecidePolicyForNavigationAction):
2239 * webkit/headers.pri:
2240 * webkit/webkit-marshal.list:
2241 * webkit/webkitdefines.h:
2242 * webkit/webkitnavigationaction.cpp: Removed.
2243 * webkit/webkitnavigationaction.h: Removed.
2244 * webkit/webkitprivate.cpp:
2245 * webkit/webkitprivate.h:
2246 * webkit/webkitwebview.cpp:
2247 * webkit/webkitwebview.h:
2249 2008-03-20 Jasper Bryant-Greene <jasper@unix.geek.nz>
2251 Reviewed and tweaked by Anders.
2253 Resolves http://bugs.webkit.org/show_bug.cgi?id=16092
2254 "[GTK] Middle-mouse click should allow opening a URL in a new tab"
2256 Created WebKitNavigationAction object exported through the API. The
2257 navigation-requested signal provides this object as context for the
2258 requested navigation, allowing the application to decide what to do
2259 with the navigation based on which mouse button was used, which
2260 modifier keys were held down, etc. This allows, for example, the
2261 application to open links in a new tab when either middle-click or
2262 control-click are used to initiate the navigation.
2264 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2265 (WebKit::FrameLoaderClient::dispatchDecidePolicyForNavigationAction):
2266 * webkit/headers.pri:
2267 * webkit/webkit-marshal.list:
2268 * webkit/webkitdefines.h:
2269 * webkit/webkitnavigationaction.cpp: Added.
2270 (webkit_navigation_action_finalize):
2271 (webkit_navigation_action_class_init):
2272 (webkit_navigation_action_init):
2273 (webkit_navigation_action_get_button):
2274 (webkit_navigation_action_get_modifier_flags):
2275 (webkit_navigation_action_get_navigation_type):
2276 (webkit_navigation_action_get_original_url):
2277 * webkit/webkitnavigationaction.h: Added.
2278 * webkit/webkitprivate.cpp:
2280 * webkit/webkitprivate.h:
2281 * webkit/webkitwebview.cpp:
2282 * webkit/webkitwebview.h:
2284 2008-03-18 Rodney Dawes <dobey@wayofthemonkey.com>
2286 Reviewed and landed by jhoneycutt.
2288 Update to check if the MIME type is supported by a plugin.
2290 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2291 (FrameLoaderClient::objectContentType):
2293 2008-03-18 Rodney Dawes <dobey@wayofthemonkey.com>
2295 Reviewed by Jon Honeycutt.
2297 Update setContainingWindow() calls to pass a GtkWidget.
2299 * webkit/webkitwebframe.cpp:
2300 (webkit_web_frame_new):
2301 (webkit_web_frame_init_with_web_view):
2303 2008-03-13 Rodney Dawes <dobey@wayofthemonkey.com>
2305 Fix GTK+ build for SharedBuffer changes.
2307 * webkit/webkitwebview.cpp:
2308 (webkit_web_view_load_string):
2310 2008-03-12 Tommi Komulainen <tommi.komulainen@iki.fi>
2312 Reviewed by Alp Toker.
2314 http://bugs.webkit.org/show_bug.cgi?id=17799
2315 WebView signals should use more specific types
2317 * webkit/webkitwebview.cpp: Use WEBKIT_TYPE_WEB_FRAME argument
2318 type in "script-alert", "script-confirm", "script-script-prompt"
2319 signals so that it gets more clearly documented rather than just
2322 2008-03-10 Xan Lopez <xan@gnome.org>
2324 Reviewed by Alp Toker.
2326 Fix "missing braces" compiler warning.
2328 * webkit/webkitwebview.cpp:
2330 2008-03-04 Sam Weinig <sam@webkit.org>
2332 Reviewed by Mark Rowe.
2334 - Remove all unnecessary includes of JSDOMWindowBase.h, we prefer including
2337 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2338 * webkit/webkitwebframe.cpp:
2340 2008-03-03 Sam Weinig <sam@webkit.org>
2344 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2345 (WebKit::FrameLoaderClient::windowObjectCleared):
2347 2008-03-03 Alp Toker <alp@atoker.com>
2349 Fix the GTK+ build following breakage introduced in r30712.
2351 * WebCoreSupport/EditorClientGtk.cpp:
2352 (WebKit::imContextCommitted):
2354 2008-03-02 Alp Toker <alp@atoker.com>
2356 Reviewed by Mark Rowe.
2358 Split the WebKit GTK+ build out of the WebCore build and change the
2359 shared object name to match the package name.
2363 2008-02-27 Adam Roben <aroben@apple.com>
2365 Attempt to fix the GTK+ build
2367 * webkit/webkitwebframe.cpp:
2369 2008-02-24 Darin Adler <darin@apple.com>
2373 - remove separate client calls for "standard" and "reload' history
2375 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2376 (WebKit::FrameLoaderClient::updateGlobalHistory):
2377 * WebCoreSupport/FrameLoaderClientGtk.h:
2379 2008-02-23 Alexey Proskuryakov <ap@webkit.org>
2383 * webkit/webkitprivate.cpp:
2384 (webkit_init): Renamed initializeThreading to initializeThreadingAndMainThread.
2386 2008-02-18 Alp Toker <alp@atoker.com>
2388 Reviewed by Mark Rowe.
2390 http://bugs.webkit.org/show_bug.cgi?id=17312
2391 [GTK] Webview Transparent Background
2393 Add support for WebView background transparency.
2395 * webkit/webkitprivate.h:
2396 * webkit/webkitwebview.cpp:
2397 * webkit/webkitwebview.h:
2399 2008-02-18 Alp Toker <alp@atoker.com>
2401 Reviewed by Mark Rowe.
2403 Implement webkit_web_view_get_focused_frame()
2405 Equivalent to selectedFrame in the Mac API.
2407 * webkit/webkitwebview.cpp:
2408 * webkit/webkitwebview.h:
2410 2008-02-17 Jan Michael Alonzo <jmalonzo@unpluggable.com>
2412 Reviewed by Mark Rowe.
2414 Fix a crash introduced in changeset #29985 by moving the dereference to after
2417 * webkit/webkitwebhistoryitem.cpp:
2418 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_core_item):
2420 2008-02-15 Alp Toker <alp@atoker.com>
2422 Fix the GTK+ build following breakage introduced in r30243.
2424 * WebCoreSupport/ChromeClientGtk.cpp:
2425 (WebKit::ChromeClient::mouseDidMoveOverElement):
2426 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2427 (WebKit::FrameLoaderClient::objectContentType):
2429 2008-02-15 Darin Adler <darin@apple.com>
2431 - another try at fixing the build
2433 * webkit/webkitwebview.cpp: Added some explicit conversions to KURL.
2435 2008-02-14 Darin Adler <darin@apple.com>
2437 * webkit/webkitwebframe.cpp: Removed DeprecatedString use to try to keep it building.
2438 * webkit/webkitwebview.cpp: Ditto.
2440 2008-02-14 Holger Hans Peter Freyther <zecke@selfish.org>
2444 * Make the handling of the coreFrame consistent. We construct the coreFrame
2445 at the beginning and it will live until the end. Change the g_return_(val_)if
2446 to ASSERTs as having a 0 coreFrame can never happen.
2448 * webkit/webkitwebframe.cpp:
2449 (PrintContext::webkit_web_frame_print):
2451 2008-02-14 Holger Hans Peter Freyther <zecke@selfish.org>
2455 * Make sure that the WebCore::Frame is living as long as the WebKitWebFrame
2456 wrapped around it. All current calls to WebCore::Frame from within the
2457 WebKitWebFrame are safe, even in the case where the WebCore::Frame is already
2458 detached from the WebCore::Page.
2459 * For the mainFrame the WebKitWebView is holding the initial reference and
2460 will unref on destruction.
2461 * For sub-frames the FramerLoaderClientGtk.cpp will do the unrefing when the
2462 frame gets detached from the parent.
2463 * Make sure FrameLoader::detachFromParent gets called by calling FrameLoader::detachChildren
2465 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2466 (WebKit::FrameLoaderClient::detachedFromParent4):
2467 * webkit/webkitprivate.cpp:
2469 * webkit/webkitprivate.h:
2470 * webkit/webkitwebframe.cpp:
2471 * webkit/webkitwebview.cpp:
2473 2008-02-14 Holger Hans Peter Freyther <zecke@selfish.org>
2477 WebCore::Frame is RefCounted, do not manually delete it!
2479 * webkit/webkitwebframe.cpp:
2481 2008-02-14 Holger Hans Peter Freyther <zecke@selfish.org>
2487 * webkit/webkitwebframe.cpp:
2489 2008-02-14 Holger Hans Peter Freyther <zecke@selfish.org>
2493 * Update the Copyright Information
2495 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2496 * webkit/webkitprivate.h:
2497 * webkit/webkitwebframe.cpp:
2499 2008-02-13 Alp Toker <alp@atoker.com>
2501 Reviewed by Adam Roben.
2503 Fix very small, upside down, inside out text on GTK+/DirectFB.
2505 Based on an initial patch by Sriram Neelakandan <sriram.neelakandan@gmail.com>
2507 Test the result of gdk_screen_get_resolution() and use a default
2508 fallback in case of failure.
2510 Also remove an unhelpful runtime warning.
2512 * webkit/webkitwebview.cpp:
2514 2008-02-08 Pierre-Luc Beaudoin <pierre-luc.beaudoin@collabora.co.uk>
2516 Reviewed by Alp Toker.
2518 http://bugs.webkit.org/show_bug.cgi?id=17009
2519 [Gtk] Webkit strips accents from some dead-key combinations
2521 KeyEvents have to go through the gtk input method.
2523 * WebCoreSupport/EditorClientGtk.cpp:
2524 (WebKit::imContextCommitted):
2525 (WebKit::EditorClient::doTextFieldCommandFromEvent):
2527 2008-02-05 Mark Rowe <mrowe@apple.com>
2529 Reviewed by Alp Toker.
2531 Fix warnings seen on the Gtk port by declaring variables and using constants of the correct types.
2533 * webkit/webkitwebbackforwardlist.cpp:
2534 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_contains_item):
2535 * webkit/webkitwebhistoryitem.cpp:
2536 * webkit/webkitwebview.cpp:
2538 2008-02-04 Christian Dywan <christian@imendio.com>
2540 Reviewed by Alp Toker.
2542 http://bugs.webkit.org/show_bug.cgi?id=17065
2543 [GTK] Use a consistent coding style
2545 * WebCoreSupport/EditorClientGtk.cpp:
2546 (WebKit::imContextCommitted):
2547 (WebKit::EditorClient::EditorClient):
2548 (WebKit::EditorClient::~EditorClient):
2549 (WebKit::EditorClient::textFieldDidEndEditing):
2550 * webkit/webkitdefines.h:
2551 * webkit/webkitnetworkrequest.cpp:
2552 (_WebKitNetworkRequestPrivate::webkit_network_request_finalize):
2553 (_WebKitNetworkRequestPrivate::webkit_network_request_class_init):
2554 (_WebKitNetworkRequestPrivate::webkit_network_request_init):
2555 (_WebKitNetworkRequestPrivate::webkit_network_request_new):
2556 (_WebKitNetworkRequestPrivate::webkit_network_request_set_uri):
2557 (_WebKitNetworkRequestPrivate::webkit_network_request_get_uri):
2558 * webkit/webkitnetworkrequest.h:
2559 * webkit/webkitprivate.cpp:
2560 (WebKit::getViewFromFrame):
2562 * webkit/webkitprivate.h:
2563 * webkit/webkitwebbackforwardlist.cpp:
2564 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_new_with_web_view):
2565 * webkit/webkitwebbackforwardlist.h:
2566 * webkit/webkitwebframe.cpp:
2567 * webkit/webkitwebframe.h:
2568 * webkit/webkitwebhistoryitem.cpp:
2569 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_dispose):
2570 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_finalize):
2571 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_core_item):
2572 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new):
2573 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_data):
2574 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_title):
2575 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_alternate_title):
2576 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_set_alternate_title):
2577 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_uri):
2578 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_original_uri):
2580 * webkit/webkitwebhistoryitem.h:
2581 * webkit/webkitwebsettings.h:
2582 * webkit/webkitwebview.cpp:
2583 * webkit/webkitwebview.h:
2585 2008-02-04 Alp Toker <alp@atoker.com>
2587 Rubber-stamped by Mark Rowe.
2589 Remove all trailing whitespace in the GTK+ port and related
2592 * WebCoreSupport/DragClientGtk.h:
2593 * WebCoreSupport/FrameLoaderClientGtk.h:
2594 * WebCoreSupport/InspectorClientGtk.h:
2595 * WebCoreSupport/PasteboardHelperGtk.h:
2596 * webkit/webkitprivate.h:
2597 * webkit/webkitwebbackforwardlist.cpp:
2598 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_contains_item):
2599 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_forward_list_with_limit):
2600 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_back_item):
2601 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_forward_length):
2602 * webkit/webkitwebhistoryitem.cpp:
2603 (_WebKitWebHistoryItemPrivate::webkit_history_items):
2604 (_WebKitWebHistoryItemPrivate::webkit_history_item_add):
2605 (_WebKitWebHistoryItemPrivate::webkit_history_item_remove):
2606 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_dispose):
2607 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_data):
2608 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_title):
2609 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_alternate_title):
2610 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_set_alternate_title):
2611 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_original_uri):
2612 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_last_visited_time):
2614 * webkit/webkitwebhistoryitem.h:
2615 * webkit/webkitwebview.cpp:
2616 * webkit/webkitwebview.h:
2618 2008-02-03 Christian Dywan <christian@imendio.com>
2620 Reviewed by Alp Toker.
2622 http://bugs.webkit.org/show_bug.cgi?id=17046
2623 [GTK] Context menu fixes and customisation suport
2625 * webkit/webkitwebview.cpp:
2627 2008-01-31 Alp Toker <alp@atoker.com>
2629 Reviewed by Mark Rowe.
2631 Fix the pkg-config file to follow GTK+ package naming and versioning
2634 Remove unneeded dependency listings.
2636 * WebKitGtk.pc.in: Removed.
2637 * webkit.pc.in: Copied from WebKit/gtk/WebKitGtk.pc.in.
2639 2008-01-31 Alp Toker <alp@atoker.com>
2641 Rubber-stamped by Adam Roben.
2643 http://bugs.webkit.org/show_bug.cgi?id=17006
2644 [GTK] Header path should be webkit/webkit.h
2646 Move the GTK+ API sources as needed and update the build systems.
2649 * WebView/headers.pri: Removed.
2650 * WebView/webkit-marshal.list: Removed.
2651 * WebView/webkit.h: Removed.
2652 * WebView/webkitdefines.h: Removed.
2653 * WebView/webkitnetworkrequest.cpp: Removed.
2654 * WebView/webkitnetworkrequest.h: Removed.
2655 * WebView/webkitprivate.cpp: Removed.
2656 * WebView/webkitprivate.h: Removed.
2657 * WebView/webkitwebbackforwardlist.cpp: Removed.
2658 * WebView/webkitwebbackforwardlist.h: Removed.
2659 * WebView/webkitwebframe.cpp: Removed.
2660 * WebView/webkitwebframe.h: Removed.
2661 * WebView/webkitwebhistoryitem.cpp: Removed.
2662 * WebView/webkitwebhistoryitem.h: Removed.
2663 * WebView/webkitwebsettings.cpp: Removed.
2664 * WebView/webkitwebsettings.h: Removed.
2665 * WebView/webkitwebview.cpp: Removed.
2666 * WebView/webkitwebview.h: Removed.
2667 * webkit: Copied from WebKit/gtk/WebView.
2669 * webkit/webkitnetworkrequest.h:
2670 * webkit/webkitprivate.h:
2671 * webkit/webkitwebbackforwardlist.h:
2672 * webkit/webkitwebframe.h:
2673 * webkit/webkitwebhistoryitem.h:
2674 * webkit/webkitwebsettings.h:
2675 * webkit/webkitwebview.h:
2677 2008-01-27 Jan Michael Alonzo <jmalonzo@unpluggable.com>
2679 Reviewed by Alp Toker.
2681 http://bugs.webkit.org/show_bug.cgi?id=14811
2682 [gtk] [request] add a webkit_gtk_page_go_to_history_item function
2684 implement back/forward list and history item
2686 * WebView/headers.pri:
2688 * WebView/webkitprivate.cpp:
2689 * WebView/webkitprivate.h:
2690 * WebView/webkitwebbackforwardlist.cpp: Added.
2691 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_dispose):
2692 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_class_init):
2693 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_init):
2694 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_new_with_web_view):
2695 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_go_forward):
2696 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_go_back):
2697 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_contains_item):
2698 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_go_to_item):
2699 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_forward_list_with_limit):
2700 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_back_list_with_limit):
2701 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_back_item):
2702 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_current_item):
2703 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_forward_item):
2704 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_nth_item):
2705 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_back_length):
2706 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_forward_length):
2707 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_limit):
2708 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_set_limit):
2709 * WebView/webkitwebbackforwardlist.h: Added.
2710 * WebView/webkitwebhistoryitem.cpp: Added.
2711 (_WebKitWebHistoryItemPrivate::webkit_history_items):
2712 (_WebKitWebHistoryItemPrivate::webkit_history_item_add):
2713 (_WebKitWebHistoryItemPrivate::webkit_history_item_remove):
2714 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_dispose):
2715 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_finalize):
2716 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_class_init):
2717 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_init):
2718 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_core_item):
2719 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new):
2720 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_data):
2721 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_title):
2722 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_alternate_title):
2723 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_set_alternate_title):
2724 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_uri):
2725 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_original_uri):
2726 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_last_visited_time):
2729 * WebView/webkitwebhistoryitem.h: Added.
2730 * WebView/webkitwebview.cpp:
2731 * WebView/webkitwebview.h:
2733 2008-01-25 Ori Bernstein <ori@eigenstate.org>
2735 Reviewed by Alp Toker.
2737 http://bugs.webkit.org/show_bug.cgi?id=16795
2738 WebKitGtk crashes when there is no focused Frame
2740 Add a null check. focusedFrame() isn't used directly anywhere else so
2741 this is the only case that needs to be fixed.
2743 * WebView/webkitwebview.cpp:
2745 2008-01-22 Christian Dywan <christian@imendio.com>
2747 Reviewed by Alp Toker.
2749 [GTK] API: WebKitWebSettings is not usable
2750 http://bugs.webkit.org/show_bug.cgi?id=16219
2752 Implement WebKitWebSettings.
2754 * WebView/headers.pri:
2756 * WebView/webkitprivate.cpp:
2757 * WebView/webkitprivate.h:
2758 * WebView/webkitsettings.cpp: Removed.
2759 * WebView/webkitsettings.h: Removed.
2760 * WebView/webkitwebsettings.cpp: Added.
2761 * WebView/webkitwebsettings.h: Added.
2762 * WebView/webkitwebview.cpp:
2763 * WebView/webkitwebview.h:
2765 2008-01-21 Alp Toker <alp@atoker.com>
2767 GTK+ build fix for breakage introduced in r29698.
2769 * WebCoreSupport/ChromeClientGtk.h:
2771 2008-01-21 Darin Adler <darin@apple.com>
2773 Reviewed by John Sullivan.
2775 - updated for changes to database functions
2777 * WebCoreSupport/ChromeClientGtk.cpp:
2778 (WebKit::ChromeClient::exceededDatabaseQuota):
2779 * WebCoreSupport/ChromeClientGtk.h:
2780 * WebView/webkitprivate.cpp:
2783 2008-01-20 Alp Toker <alp@atoker.com>
2785 Reviewed by Mark Rowe.
2787 Attach the widget's style to its window and set the background to the
2788 base background to avoid black flicker when repainting. This is
2789 similar to what GtkTextView does.
2791 * WebView/webkitwebview.cpp:
2793 2008-01-19 Christian Dywan <christian@imendio.com>
2795 Reviewed by Alp Toker.
2797 http://bugs.webkit.org/show_bug.cgi?id=16882
2798 [GTK] ChromeClientGtk is incompete
2800 Implement these functions.
2802 * WebCoreSupport/ChromeClientGtk.cpp:
2803 (WebKit::ChromeClient::windowRect):
2804 (WebKit::ChromeClient::pageRect):
2805 (WebKit::ChromeClient::scaleFactor):
2806 (WebKit::ChromeClient::focus):
2807 (WebKit::ChromeClient::unfocus):
2808 (WebKit::ChromeClient::canTakeFocus):
2809 (WebKit::ChromeClient::takeFocus):
2810 (WebKit::ChromeClient::canRunBeforeUnloadConfirmPanel):
2812 2008-01-18 Luca Bruno <lethalman88@gmail.com>
2814 Reviewed by Alp Toker.
2816 http://bugs.webkit.org/show_bug.cgi?id=16910
2817 [GTK] REGRESSION: keyboard cursor doesn't blink
2819 http://bugs.webkit.org/show_bug.cgi?id=16863
2820 [GTK] REGRESSION: tab focusing doesn't work
2822 * WebView/webkitwebview.cpp:
2823 (webkit_web_view_focus_in_event): Added. Set the active frame.
2824 (webkit_web_view_class_init):
2826 2008-01-16 Alp Toker <alp@atoker.com>
2828 Reviewed by Mark Rowe.
2830 http://bugs.webkit.org/show_bug.cgi?id=16218
2831 [GTK] API: Should this entry point be called go_back rather than go_backward?
2833 Obsolete 'backward' terminology in API in favour of 'back'. Introduce
2834 step-based back/forward functions.
2836 Document more functions.
2838 * WebView/webkitdefines.h:
2839 * WebView/webkitwebview.cpp:
2840 * WebView/webkitwebview.h:
2842 2008-01-10 Maciej Stachowiak <mjs@apple.com>
2846 - remove SecurityOriginData and fold its functionality into SecurityOrigin
2848 * WebCoreSupport/ChromeClientGtk.cpp:
2849 (WebKit::ChromeClient::requestQuotaIncreaseForNewDatabase):
2850 (WebKit::ChromeClient::requestQuotaIncreaseForDatabaseOperation):
2851 * WebCoreSupport/ChromeClientGtk.h:
2853 2008-01-09 Luca Bruno <lethalman88@gmail.com>
2855 Reviewed by Alp Toker.
2857 http://bugs.webkit.org/show_bug.cgi?id=16802
2858 [GTK] Missing gtk properties
2860 Add missing properties to WebKitViewFrame and WebKitWebView.
2862 * WebView/webkitprivate.h: add some useful defines for param specs
2863 * WebView/webkitwebframe.cpp:
2864 (webkit_web_frame_get_property): added
2865 (webkit_web_frame_class_init): add name, title and uri read-only properties
2866 * WebView/webkitwebview.cpp:
2867 (webkit_web_view_get_property): add editable property read
2868 (webkit_web_view_set_property): added for editable property write
2869 (webkit_web_view_class_init): add read-write editable property
2871 2008-01-03 Xan Lopez <xan@gnome.org>
2873 Reviewed by Alp Toker.
2875 http://bugs.webkit.org/show_bug.cgi?id=16654
2876 [GTK] Signal "navigation-requested" does not react correctly on
2877 return TRUE from callbacks
2879 * WebView/webkitwebview.cpp: use our own accumulator for signals
2880 returning WebKitNavigationResponse. The emission will be stopped
2881 when any callback returns anything but
2882 WEBKIT_NAVIGATION_RESPONSE_ACCEPT.
2884 2008-01-02 Holger Hans Peter Freyther <zecke@selfish.org>
2886 Rubber stamped by Darin Adler.
2888 Coding Style fix. Do not use an else because we use a return in the
2891 * WebView/webkitwebview.cpp:
2893 2008-01-02 Luca Bruno <lethalman88@gmail.com>
2895 Reviewed by Alp Toker.
2897 http://bugs.webkit.org/show_bug.cgi?id=16115
2898 [GTK] ContextMenu and ContextMenuItem lacks an implementation
2900 Add context menu support.
2902 Based on a patch by Holger Freyther.
2904 * WebCoreSupport/ContextMenuClientGtk.cpp:
2905 (WebKit::ContextMenuClient::getCustomMenuFromDefaultItems):
2906 * WebView/webkitprivate.h:
2907 * WebView/webkitwebview.cpp:
2909 2007-12-29 Jan Michael Alonzo <jmalonzo@unpluggable.com>
2911 Reviewed by Alp Toker.
2913 http://bugs.webkit.org/show_bug.cgi?id=16669
2914 autotools update and fixes
2916 pkgconfig file and icon database inclusion fix
2918 * WebKitGtk.pc.in: Remove ICU_FLAGS from Cflags
2919 * WebView/webkitprivate.cpp: Guard ICONDATABASE inclusions
2921 2007-12-28 Christian Dywan <christian@twotoasts.de>
2923 Reviewed by Alp Toker.
2925 http://bugs.webkit.org/show_bug.cgi?id=16642
2926 [GTK] webkit_web_view_has_selection returns the opposite result
2928 Invert the return value.
2930 * WebView/webkitwebview.cpp:
2932 2007-12-26 Jan Michael Alonzo <jmalonzo@unpluggable.com>
2934 Reviewed by Alp Toker.
2936 http://bugs.webkit.org/show_bug.cgi?id=16390
2937 Use autotools or GNU make as the build system for the GTK port
2939 * WebKitGtk.pc.in: Added.
2941 2007-12-24 Christian Dywan <christian@twotoasts.de>
2943 Reviewed by Alp Toker.
2945 http://bugs.webkit.org/attachment.cgi?id=18099
2946 There are no NULL checks for strings in public api
2948 Add missing NULL checks for string parameters.
2950 Provide sensible defaults when NULL is passed for the optional
2951 parameters in webkit_web_view_load_string(). UTF-8 is the default
2952 encoding used by GLib and text/html is a reasonable default content
2955 * WebView/webkitnetworkrequest.cpp:
2956 * WebView/webkitwebview.cpp:
2958 2007-12-22 Xan Lopez <xan@gnome.org>
2960 Reviewed by Alp Toker.
2962 Use webView, web_view, etc for variable names instead of page, which
2963 was left over from the old API.
2965 * WebCoreSupport/EditorClientGtk.cpp:
2966 (WebKit::imContextCommitted):
2967 (WebKit::EditorClient::EditorClient):
2968 (WebKit::EditorClient::~EditorClient):
2969 (WebKit::EditorClient::textFieldDidBeginEditing):
2970 (WebKit::EditorClient::textFieldDidEndEditing):
2971 * WebCoreSupport/EditorClientGtk.h:
2972 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2973 (WebKit::FrameLoaderClient::postProgressStartedNotification):
2974 (WebKit::FrameLoaderClient::postProgressEstimateChangedNotification):
2975 (WebKit::FrameLoaderClient::postProgressFinishedNotification):
2976 (WebKit::FrameLoaderClient::dispatchDecidePolicyForNavigationAction):
2977 (WebKit::FrameLoaderClient::windowObjectCleared):
2978 (WebKit::FrameLoaderClient::dispatchDidReceiveIcon):
2979 (WebKit::FrameLoaderClient::dispatchDidReceiveTitle):
2980 (WebKit::FrameLoaderClient::dispatchDidCommitLoad):
2982 2007-12-22 Alp Toker <alp@atoker.com>
2986 GTK_TARGET_OTHER_APP is not available in older GTK+ versions. Pass
2987 empty target flags for now.
2989 Check GTK+, not GLib versions, since they are different.
2991 * WebView/webkitwebview.cpp:
2993 2007-12-22 Luca Bruno <lethalman88@gmail.com>
2995 Reviewed by Alp Toker.
2997 http://bugs.webkit.org/show_bug.cgi?id=16311
2998 [Gtk] Copy rich text to clipboard as text/plain and text/html.
3000 Add copy and paste targets for WebView and implement
3001 WebCore::PasteboardHelper.
3003 * WebCoreSupport/PasteboardHelperGtk.cpp: Added.
3004 (WebKit::PasteboardHelperGtk::getClipboard):
3005 (WebKit::PasteboardHelperGtk::getCopyTargetList):
3006 (WebKit::PasteboardHelperGtk::getPasteTargetList):
3007 * WebCoreSupport/PasteboardHelperGtk.h: Added.
3008 * WebView/webkitprivate.cpp:
3009 (webkit_init): set the PasteboardHelperGtk as WebCore::Pasteboard helper
3010 * WebView/webkitprivate.h:
3011 (_WebKitWebViewPrivate::copy_target_list): added
3012 (_WebKitWebViewPrivate::paste_target_list): added
3013 * WebView/webkitwebview.cpp:
3014 (webkit_web_view_get_property): added
3015 (webkit_web_view_finalize):
3016 (webkit_web_view_class_init): create properties for COPY_TARGET and PASTE_TARGET and create the copy and paste target lists
3017 (webkit_web_view_get_copy_target_list): added
3018 (webkit_web_view_get_paste_target_list): added
3019 * WebView/webkitwebview.h:
3020 (webkit_web_view_get_copy_target_list): added
3021 (webkit_web_view_get_paste_target_list): added
3023 2007-12-22 Xan Lopez <xan@gnome.org>
3025 Reviewed by Alp Toker.
3027 Follow up to http://bugs.webkit.org/show_bug.cgi?id=16144
3029 * WebView/webkitwebview.cpp:
3030 Fix signal id arguments for g_signal_emit in
3031 clipboard functions.
3033 2007-12-21 Alp Toker <alp@atoker.com>
3035 Documentation typo fix: s/wether/whether
3037 * WebView/webkitwebview.cpp:
3039 2007-12-21 Christian Dywan <christian@twotoasts.de>
3041 Reviewed by Alp Toker.
3043 http://bugs.webkit.org/show_bug.cgi?id=16144
3044 [GTK] Clipboard/ selection handling functions
3046 * WebView/webkitprivate.h:
3047 * WebView/webkitwebview.cpp:
3048 * WebView/webkitwebview.h:
3050 2007-12-19 Christian Dywan <christian@twotoasts.de>
3052 Reviewed by Alp Toker.
3054 http://bugs.webkit.org/show_bug.cgi?id=16222
3055 [GTK] Implement inline search and highlighting of matching strings.
3057 * WebView/webkitwebview.cpp:
3058 * WebView/webkitwebview.h:
3060 2007-12-19 Alp Toker <alp@atoker.com>
3062 Reviewed by Holger Freyther.
3064 Delete when Destroy functions are called to avoid leaks
3066 This matches the Mac port.
3068 * WebCoreSupport/ChromeClientGtk.cpp:
3069 * WebCoreSupport/ContextMenuClientGtk.cpp:
3070 * WebCoreSupport/InspectorClientGtk.cpp:
3072 2007-12-14 Juan A. Suarez Romero <jasuarez@igalia.com>
3074 Reviewed by Alp Toker.
3076 http://bugs.webkit.org/show_bug.cgi?id=16042
3077 [GTK] Eliminate webkit_init()
3079 Move webkit initialization to WebView class init.
3081 * WebView/headers.pri:
3083 * WebView/webkitglobal.cpp: Removed.
3084 * WebView/webkitglobal.h: Removed.
3085 * WebView/webkitprivate.cpp:
3086 (WebKit::webkit_init):
3087 * WebView/webkitprivate.h:
3088 * WebView/webkitwebframe.cpp:
3089 * WebView/webkitwebview.cpp:
3091 2007-12-17 Luca Bruno <lethalman88@gmail.com>
3093 Reviewed by Alp Toker.
3095 http://bugs.webkit.org/show_bug.cgi?id=13542
3096 gdklauncher doesnt change URL in adress GTKEntry.
3098 Let DOMDocument observers do their work before emitting title-changed.
3099 The load-committed signal has been added for both the view and the frame.
3101 * WebCoreSupport/FrameLoaderClientGtk.cpp:
3102 (WebKit::FrameLoaderClient::dispatchDidReceiveTitle): emit title-changed
3103 (WebKit::FrameLoaderClient::setTitle): set private title
3104 (WebKit::FrameLoaderClient::dispatchDidCommitLoad): update the frame uri and emit load-committed
3105 * WebView/webkit-marshal.list:
3106 * WebView/webkitprivate.h:
3107 (_WebKitWebFramePrivate): rename location to uri
3108 * WebView/webkitwebframe.cpp:
3109 (webkit_web_frame_get_location): renamed to *_get_uri
3110 (webkit_web_frame_get_uri):
3111 (webkit_web_frame_real_title_changed): removed (see FrameLoaderClient::setTitle)
3112 (webkit_web_frame_class_init): pass the frame and the title in title-changed, not the uri
3113 (webkit_web_frame_finalize):
3114 * WebView/webkitwebframe.h:
3115 (_WebKitWebFrameClass): removed title_changed
3116 * WebView/webkitwebview.cpp:
3117 (webkit_web_view_class_init): pass only the title in title-changed
3119 2007-12-14 Alp Toker <alp@atoker.com>
3121 Fix inconsistent indentation in the license header. Maciej was right!
3123 * WebCoreSupport/FrameLoaderClientGtk.cpp:
3125 2007-12-14 Alp Toker <alp@atoker.com>
3129 http://bugs.webkit.org/show_bug.cgi?id=16432
3130 [GTK] Update license headers
3132 Consent has been given by the authors of these files to change license
3133 to the LGPL as outlined in the bug report.
3135 * WebCoreSupport/ChromeClientGtk.cpp:
3136 * WebCoreSupport/ContextMenuClientGtk.cpp:
3137 * WebCoreSupport/DragClientGtk.cpp:
3138 * WebCoreSupport/EditorClientGtk.cpp:
3139 * WebCoreSupport/FrameLoaderClientGtk.cpp:
3140 (WebKit::FrameLoaderClient::makeRepresentation):
3141 (WebKit::FrameLoaderClient::forceLayout):
3142 (WebKit::FrameLoaderClient::forceLayoutForNonHTML):
3143 (WebKit::FrameLoaderClient::setCopiesOnScroll):
3144 (WebKit::FrameLoaderClient::detachedFromParent1):
3145 (WebKit::FrameLoaderClient::detachedFromParent2):
3146 (WebKit::FrameLoaderClient::detachedFromParent3):
3147 (WebKit::FrameLoaderClient::detachedFromParent4):
3148 (WebKit::FrameLoaderClient::loadedFromCachedPage):
3149 (WebKit::FrameLoaderClient::dispatchDidHandleOnloadEvents):
3150 (WebKit::FrameLoaderClient::dispatchDidReceiveServerRedirectForProvisionalLoad):
3151 (WebKit::FrameLoaderClient::dispatchDidCancelClientRedirect):
3152 (WebKit::FrameLoaderClient::dispatchWillPerformClientRedirect):
3153 (WebKit::FrameLoaderClient::dispatchDidChangeLocationWithinPage):
3154 (WebKit::FrameLoaderClient::dispatchWillClose):
3155 (WebKit::FrameLoaderClient::dispatchDidCommitLoad):
3156 (WebKit::FrameLoaderClient::dispatchDidFinishDocumentLoad):
3157 (WebKit::FrameLoaderClient::dispatchDidFirstLayout):
3158 (WebKit::FrameLoaderClient::dispatchShow):
3159 (WebKit::FrameLoaderClient::cancelPolicyCheck):
3160 (WebKit::FrameLoaderClient::dispatchDidLoadMainResource):
3161 (WebKit::FrameLoaderClient::revertToProvisionalState):
3162 (WebKit::FrameLoaderClient::clearUnarchivingState):
3163 (WebKit::FrameLoaderClient::willChangeTitle):
3164 (WebKit::FrameLoaderClient::didChangeTitle):
3165 (WebKit::FrameLoaderClient::finalSetupForReplace):
3166 (WebKit::FrameLoaderClient::setDefersLoading):
3167 (WebKit::FrameLoaderClient::isArchiveLoadPending):
3168 (WebKit::FrameLoaderClient::cancelPendingArchiveLoad):
3169 (WebKit::FrameLoaderClient::clearArchivedResources):
3170 (WebKit::FrameLoaderClient::canHandleRequest):
3171 (WebKit::FrameLoaderClient::canShowMIMEType):
3172 (WebKit::FrameLoaderClient::representationExistsForURLScheme):
3173 (WebKit::FrameLoaderClient::generatedMIMETypeForURLScheme):
3174 (WebKit::FrameLoaderClient::dispatchDidReceiveContentLength):
3175 (WebKit::FrameLoaderClient::dispatchDidFinishLoading):
3176 (WebKit::FrameLoaderClient::dispatchDidFailLoading):
3177 (WebKit::FrameLoaderClient::dispatchDidLoadResourceFromMemoryCache):
3178 (WebKit::FrameLoaderClient::download):
3179 (WebKit::FrameLoaderClient::cancelledError):
3180 (WebKit::FrameLoaderClient::blockedError):
3181 (WebKit::FrameLoaderClient::cannotShowURLError):
3182 (WebKit::FrameLoaderClient::interruptForPolicyChangeError):
3183 (WebKit::FrameLoaderClient::cannotShowMIMETypeError):
3184 (WebKit::FrameLoaderClient::fileDoesNotExistError):
3185 (WebKit::FrameLoaderClient::shouldFallBack):
3186 (WebKit::FrameLoaderClient::willUseArchive):
3187 (WebKit::FrameLoaderClient::canCachePage):
3188 (WebKit::FrameLoaderClient::dispatchCreatePage):
3189 (WebKit::FrameLoaderClient::dispatchUnableToImplementPolicy):
3190 (WebKit::FrameLoaderClient::setMainDocumentError):
3191 (WebKit::FrameLoaderClient::startDownload):
3192 (WebKit::FrameLoaderClient::updateGlobalHistoryForStandardLoad):
3193 (WebKit::FrameLoaderClient::updateGlobalHistoryForReload):
3194 (WebKit::FrameLoaderClient::savePlatformDataToCachedPage):
3195 (WebKit::FrameLoaderClient::transitionToCommittedFromCachedPage):
3196 (WebKit::FrameLoaderClient::transitionToCommittedForNewPage):
3197 * WebCoreSupport/InspectorClientGtk.cpp:
3198 * WebView/webkitwebview.cpp:
3200 2007-12-14 Darin Adler <darin@apple.com>
3204 * WebCoreSupport/EditorClientGtk.cpp:
3205 (WebKit::EditorClient::handleKeyboardEvent): Changed to use Editor::command
3206 instead of Editor::execCommand.
3207 * WebView/webkitwebview.cpp: Ditto.
3209 2007-12-12 Brady Eidson <beidson@apple.com>
3211 Reviewed by Sam Weinig
3213 As part of doing some CachedPage and client cleanup, keep GTK building
3215 * WebCoreSupport/FrameLoaderClientGtk.cpp:
3216 (WebKit::FrameLoaderClient::savePlatformDataToCachedPage):
3217 (WebKit::FrameLoaderClient::transitionToCommittedFromCachedPage):
3218 (WebKit::FrameLoaderClient::transitionToCommittedForNewPage):
3219 * WebCoreSupport/FrameLoaderClientGtk.h:
3221 2007-12-12 Alp Toker <alp@atoker.com>
3223 Reviewed by Holger Freyther.
3225 http://bugs.webkit.org/show_bug.cgi?id=15576
3226 [GTK] Printing support
3228 Add printing support.
3230 The API will be kept internal for the time being, but printing can now
3231 be triggered by Web pages or the JSC API using JavaScript.
3233 The print spooler and pagination code is fairly abstract and could be
3234 shared by other ports including Win and Qt once complete. It doesn't
3235 have header/footer support yet.
3237 * WebCoreSupport/ChromeClientGtk.cpp:
3238 (WebKit::ChromeClient::print):
3239 * WebView/webkitprivate.h:
3240 * WebView/webkitwebframe.cpp:
3241 (PrintContext::begin_print):
3242 (PrintContext::draw_page):
3243 (PrintContext::end_print):
3244 (PrintContext::webkit_web_frame_print):
3246 2007-12-12 Sam Weinig <sam@webkit.org>
3250 * WebCoreSupport/FrameLoaderClientGtk.cpp:
3251 (WebKit::FrameLoaderClient::didChangeTitle):
3253 2007-12-12 Sam Weinig <sam@webkit.org>
3257 * WebCoreSupport/FrameLoaderClientGtk.cpp:
3258 (WebKit::FrameLoaderClient::dispatchDecidePolicyForNavigationAction):
3260 2007-12-11 George Wright <george.wright@collabora.co.uk>
3262 Reviewed by Alp Toker.
3264 http://bugs.webkit.org/show_bug.cgi?id=14120
3265 [GDK] Support input methods
3267 This patch adds infrastructure for input method support.
3269 It also adds Hildon features for the Maemo mobile platform sufficient
3270 to support the virtual keyboard.
3272 * WebCoreSupport/EditorClientGtk.cpp:
3273 (WebKit::imContextCommitted):
3274 (WebKit::EditorClient::EditorClient):
3275 (WebKit::EditorClient::~EditorClient):
3276 (WebKit::EditorClient::textFieldDidBeginEditing):
3277 (WebKit::EditorClient::textFieldDidEndEditing):
3278 * WebCoreSupport/EditorClientGtk.h:
3279 * WebView/webkitprivate.h:
3280 * WebView/webkitwebview.cpp:
3282 2007-12-07 Alexey Proskuryakov <ap@webkit.org>
3284 Reviewed by Darin Adler.
3286 <rdar://problem/5535636>
3287 Have to press 4 times instead of 2 times to get the expected result of ^^ with german keyboard.
3289 http://bugs.webkit.org/show_bug.cgi?id=13916
3290 JavaScript detects Tab as a character input on a textfield validation
3292 * WebCoreSupport/EditorClientGtk.cpp:
3293 (WebKit::EditorClient::handleKeyboardEvent):
3294 (WebKit::EditorClient::handleInputMethodKeydown):
3295 * WebCoreSupport/EditorClientGtk.h:
3296 Updated for cross-platform changes as much as it was possible without a gtk build environment.
3298 2007-12-08 Luca Bruno <lethalman88@gmail.com>
3300 Reviewed by Alp Toker.
3302 http://bugs.webkit.org/show_bug.cgi?id=16346
3303 [GTK] Some webview parts must use the focused frame.
3305 Also update some old code.
3307 * WebView/webkitprivate.cpp:
3308 (getFrameFromView): removed
3310 * WebView/webkitprivate.h:
3311 (getFrameFromView): removed
3313 * WebView/webkitwebview.cpp:
3314 (webkit_web_view_expose_event):
3315 (webkit_web_view_key_press_event): use focused frame
3316 (webkit_web_view_key_release_event): use focused frame
3317 (webkit_web_view_button_press_event):
3318 (webkit_web_view_button_release_event):
3319 (webkit_web_view_motion_event):
3320 (webkit_web_view_scroll_event):
3321 (webkit_web_view_size_allocate):
3322 (webkit_web_view_set_scroll_adjustments):
3323 (webkit_web_view_execute_script):
3324 (webkit_web_view_stop_loading):
3325 (webkit_web_view_load_string):
3326 (webkit_web_view_reload):
3327 (webkit_web_view_open):
3328 (webkit_web_view_can_go_forward):
3329 (webkit_web_view_can_go_backward):
3330 (webkit_web_view_go_forward):
3331 (webkit_web_view_go_backward):
3333 * WebCoreSupport/EditorClientGtk.cpp:
3334 (WebKit::EditorClient::handleKeypress): fix for page up and page down keys for editable contents
3336 2007-12-07 Luca Bruno <lethalman88@gmail.com>
3338 Reviewed by Alp Toker.
3340 http://bugs.webkit.org/show_bug.cgi?id=16333
3341 [GTK] Key bindings must work with focused frames.
3343 There are still more cases where getFrameFromView() is mis-used that
3344 need to be fixed, but this is a good start.
3346 * WebView/webkitwebview.cpp:
3347 (webkit_web_view_real_select_all):
3348 (webkit_web_view_real_cut_clipboard):
3349 (webkit_web_view_real_copy_clipboard):
3350 (webkit_web_view_real_paste_clipboard):
3352 2007-12-06 Xan Lopez <xan@gnome.org>
3354 Reviewed by Alp Toker.
3356 http://bugs.webkit.org/show_bug.cgi?id=16329
3357 [GTK] Two small cleanups
3359 * WebCoreSupport/ChromeClientGtk.cpp:
3360 (WebKit::ChromeClient::createWindow):
3361 (WebKit::ChromeClient::addMessageToConsole):
3362 (WebKit::ChromeClient::runJavaScriptAlert):
3363 (WebKit::ChromeClient::runJavaScriptConfirm):
3364 (WebKit::ChromeClient::runJavaScriptPrompt):
3365 (WebKit::ChromeClient::setStatusbarText):
3366 (WebKit::ChromeClient::mouseDidMoveOverElement):
3367 (WebKit::ChromeClient::setToolTip):
3368 * WebCoreSupport/ChromeClientGtk.h:
3369 * WebView/webkitprivate.cpp:
3371 s/m_webPage/m_webView/
3372 * WebView/webkitwebview.cpp:
3373 Chain up to the parent class to activate bindings instead
3374 of doing it explicitely.
3376 2007-12-06 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
3378 Reviewed by Alp Toker.
3380 http://bugs.webkit.org/show_bug.cgi?id=16173
3383 Change license from BSD to LGPL.
3385 * WebCoreSupport/ChromeClientGtk.h:
3386 * WebView/webkitdefines.h:
3387 * WebView/webkitglobal.cpp:
3388 * WebView/webkitglobal.h:
3389 * WebView/webkitnetworkrequest.cpp:
3390 * WebView/webkitnetworkrequest.h:
3391 * WebView/webkitprivate.cpp:
3392 * WebView/webkitprivate.h:
3393 * WebView/webkitsettings.cpp:
3394 * WebView/webkitsettings.h:
3395 * WebView/webkitwebframe.cpp:
3396 * WebView/webkitwebframe.h:
3397 * WebView/webkitwebview.h:
3399 2007-12-05 Michael Natterer <mitch@imendio.com>
3401 Reviewed by Alp Toker.
3403 * WebView/webkitwebview.cpp: split key and button event handlers
3404 into separate press and release functions.
3406 2007-12-05 Luca Bruno <lethalman88@gmail.com>
3408 Reviewed by Alp Toker.
3410 Handle events for Home and End keys.
3412 * WebView/webkitwebview.cpp:
3413 (webkit_web_view_key_event):
3414 * WebCoreSupport/EditorClientGtk.cpp:
3415 (EditorClient::handleKeypress):
3417 2007-12-05 Michael Natterer <mitch@imendio.com>
3419 Reviewed by Alp Toker.
3421 * WebView/webkitwebview.cpp
3422 * WebCoreSupport/ChromeClientGtk.cpp
3423 * WebCoreSupport/FrameLoaderClientGtk.cpp: canonicalize signal names.
3425 2007-12-04 Darin Adler <darin@apple.com>
3427 Reviewed by Kevin Decker.
3429 * WebCoreSupport/FrameLoaderClientGtk.cpp: Removed obsolete privateBrowsingEnabled.
3430 * WebCoreSupport/FrameLoaderClientGtk.h: Ditto.
3432 2007-12-04 Michael Natterer <mitch@imendio.com>
3434 Reviewed by Alp Toker.
3436 * WebView/webkitwebframe.cpp: don't redeclare the marshaller
3437 prototype but simply include "webkit-marshal.h" now that its build
3440 2007-12-04 Luca Bruno <lethalman88@gmail.com>
3442 Reviewed by Alp Toker.
3444 Fix a regression in key press propagation in r28386.
3446 Fix indentation (was off by two spaces).
3448 * WebView/webkitwebview.cpp:
3450 2007-12-04 Luca Bruno <lethalman88@gmail.com>
3452 Reviewed by Alp Toker.
3454 http://bugs.webkit.org/show_bug.cgi?id=15911
3455 [GTK] Use GtkBindingSet to make key bindings user-configurable
3457 This patch doesn't cover the full range of bindings, only the ones
3458 that seem obviously correct and have clear public API.
3460 * WebCoreSupport/EditorClientGtk.cpp:
3461 (WebKit::EditorClient::handleKeypress): do not handle clipboard operations and select-all
3462 * WebView/webkitwebview.cpp: add cut, copy, paste and select-all signals and allow binding sets (issue #15911 and #16144)
3463 * WebView/webkitwebview.h:
3465 2007-12-04 Xan Lopez <xan@gnome.org>
3467 Reviewed by Alp Toker.
3469 http://bugs.webkit.org/show_bug.cgi?id=15561
3470 GTK port needs DumpRenderTree implementation
3472 Start work on the GTK+ DRT.
3474 Add a couple of proposed new API entry points. They are currently for
3475 internal use only by DRT and not in the public headers.
3477 * WebView/webkitprivate.h:
3478 * WebView/webkitwebframe.cpp:
3480 2007-12-03 Dan Bernstein <mitz@apple.com>
3482 Reviewed by Dave Hyatt.
3484 - fix <rdar://problem/5346452> Resize event doesn't fire on body element inside a frame
3486 * WebView/webkitwebview.cpp: Remove the call to sendResizeEvent() since
3487 FrameView sends it now.
3489 2007-12-03 Alp Toker <alp@atoker.com>
3491 globalObject() GTK+ build fix.
3493 * WebCoreSupport/FrameLoaderClientGtk.cpp:
3494 (WebKit::FrameLoaderClient::windowObjectCleared):
3496 2007-12-03 Geoffrey Garen <ggaren@apple.com>
3498 GTK Build fix: get globalExec from the right place.
3500 * WebView/webkitwebframe.cpp:
3502 2007-12-01 Alp Toker <alp@atoker.com>
3504 Reviewed by Adam Roben.
3506 Wrap type definitions in webkitdefines.h with G_BEGIN_DECLS, which
3507 takes care of extern "C".
3509 Introduce a webkit.h convenience header.
3511 Remove another left-over from the old API.
3513 * WebView/headers.pri:
3514 * WebView/webkit.h: Added.
3515 * WebView/webkitdefines.h:
3517 2007-12-01 Alp Toker <alp@atoker.com>
3519 Reviewed by Adam Roben.
3521 http://bugs.webkit.org/show_bug.cgi?id=15687
3522 [Gtk] Allow API clients to interact with JavaScript in web pages
3524 Include the necessary JavaScriptCore headers directly in the public
3527 This is the last of a series of changes needed to allow GTK+
3528 applications to access the JS API.
3530 Until http://bugs.webkit.org/show_bug.cgi?id=16029 is resolved,
3531 developers will still have to include the individual JS API headers
3532 individually if they want to use it in their applications.
3534 Patch also removes some old legacy use of GDK that was in
3535 WebKitWebFrame. No ABI change.
3537 * WebView/webkitdefines.h:
3538 * WebView/webkitwebframe.h:
3539 * WebView/webkitwebview.h:
3541 2007-11-30 Jan Michael Alonzo <jmalonzo@unpluggable.com>
3543 Fix for GTK+ Debug build breakage introduced in r28273.
3545 * WebView/webkitprivate.cpp:
3548 2007-11-30 Alp Toker <alp@atoker.com>
3550 Reviewed by Adam Roben.
3552 http://bugs.webkit.org/show_bug.cgi?id=15691
3553 [GTK] Public API does not follow GTK+ conventions
3555 Refactor the WebKit/GTK+ public API. Changes:
3556 WebKitPage -> WebKitWebView
3557 WebKitFrame -> WebKitWebFrame
3559 Public API source and header names have been updated to mirror the API
3562 The API is now kept in WebKit/gtk/WebView to match other ports in the
3563 same class such as Mac and Win.
3565 API/ABI-breaking change.
3568 * Api/headers.pri: Removed.
3569 * Api/webkitgtk-marshal.list: Removed.
3570 * Api/webkitgtkdefines.h: Removed.
3571 * Api/webkitgtkframe.cpp: Removed.
3572 * Api/webkitgtkframe.h: Removed.
3573 * Api/webkitgtkglobal.cpp: Removed.
3574 * Api/webkitgtkglobal.h: Removed.
3575 * Api/webkitgtknetworkrequest.cpp: Removed.
3576 * Api/webkitgtknetworkrequest.h: Removed.
3577 * Api/webkitgtkpage.cpp: Removed.
3578 * Api/webkitgtkpage.h: Removed.
3579 * Api/webkitgtkprivate.cpp: Removed.
3580 * Api/webkitgtkprivate.h: Removed.
3581 * Api/webkitgtksettings.cpp: Removed.
3582 * Api/webkitgtksettings.h: Removed.
3583 * WebCoreSupport/ChromeClientGtk.cpp:
3584 (WebKit::ChromeClient::ChromeClient):
3585 (WebKit::ChromeClient::createWindow):
3586 * WebCoreSupport/ChromeClientGtk.h:
3587 (WebKit::ChromeClient::webPage):
3588 * WebCoreSupport/EditorClientGtk.cpp:
3589 (WebKit::EditorClient::isEditable):
3590 (WebKit::EditorClient::EditorClient):
3591 * WebCoreSupport/EditorClientGtk.h:
3592 * WebCoreSupport/FrameLoaderClientGtk.cpp:
3593 (WebKit::FrameLoaderClient::FrameLoaderClient):
3594 (WebKit::FrameLoaderClient::postProgressStartedNotification):
3595 (WebKit::FrameLoaderClient::postProgressEstimateChangedNotification):
3596 (WebKit::FrameLoaderClient::postProgressFinishedNotification):
3597 (WebKit::FrameLoaderClient::dispatchDecidePolicyForNavigationAction):
3598 (WebKit::FrameLoaderClient::createFrame):
3599 (WebKit::FrameLoaderClient::windowObjectCleared):
3600 (WebKit::FrameLoaderClient::dispatchDidReceiveIcon):
3601 (WebKit::FrameLoaderClient::setTitle):
3602 * WebCoreSupport/FrameLoaderClientGtk.h:
3603 (WebKit::FrameLoaderClient::webFrame):
3605 * WebView/headers.pri: Added.
3606 * WebView/webkit-marshal.list: Added.
3607 * WebView/webkitdefines.h: Added.
3608 * WebView/webkitglobal.cpp: Added.
3609 * WebView/webkitglobal.h: Added.
3610 * WebView/webkitnetworkrequest.cpp: Added.
3611 * WebView/webkitnetworkrequest.h: Added.
3612 * WebView/webkitprivate.cpp: Added.
3615 (WebKit::getFrameFromView):
3616 (WebKit::getViewFromFrame):
3619 * WebView/webkitprivate.h: Added.
3620 * WebView/webkitsettings.cpp: Added.
3621 * WebView/webkitsettings.h: Added.
3622 * WebView/webkitwebframe.cpp: Added.
3623 * WebView/webkitwebframe.h: Added.
3624 * WebView/webkitwebview.cpp: Added.
3625 * WebView/webkitwebview.h: Added.
3627 2007-11-28 Alp Toker <alp@atoker.com>
3629 Reviewed by Timothy Hatcher.
3631 http://bugs.webkit.org/show_bug.cgi?id=16174
3632 [GTK] Use "URI" not "URL" in public API
3634 Replace use of the term "URL" with "URI" in public headers,
3635 documentation and some internal code to match GLib/GTK+ convention.
3637 This is now mentioned in the API guidelines:
3638 http://trac.webkit.org/projects/webkit/wiki/HackingGtk
3640 API/ABI-breaking change.
3642 * Api/webkitgtkframe.cpp:
3643 * Api/webkitgtknetworkrequest.cpp:
3644 * Api/webkitgtknetworkrequest.h:
3645 * Api/webkitgtkpage.cpp:
3646 * Api/webkitgtkpage.h:
3647 * Api/webkitgtkprivate.h:
3648 * Api/webkitgtksettings.h:
3650 2007-11-29 Brady Eidson <beidson@apple.com>
3652 Better build fix for Gtk
3654 * WebCoreSupport/ChromeClientGtk.h:
3656 2007-11-29 Brady Eidson <beidson@apple.com>
3658 Keep it building with new client method
3660 * WebCoreSupport/ChromeClientGtk.cpp:
3661 (WebKit::ChromeClient::requestQuotaIncreaseForNewDatabase):
3662 (WebKit::ChromeClient::requestQuotaIncreaseForDatabaseOperation):
3663 * WebCoreSupport/ChromeClientGtk.h:
3665 2007-11-26 Alp Toker <alp@atoker.com>
3667 Reviewed by Adam Roben.
3669 http://bugs.webkit.org/show_bug.cgi?id=16149
3670 Implement the window-object-cleared signal
3672 This implementation provides the JSGlobalContextRef and JSObjectRef
3673 directly rather than using an intermediate JS wrapper object, similar
3674 to the approach taken by the Win port.
3676 * Api/webkitgtk-marshal.list:
3677 * Api/webkitgtkframe.h:
3678 * Api/webkitgtkpage.cpp:
3679 * Api/webkitgtkpage.h:
3680 * WebCoreSupport/FrameLoaderClientGtk.cpp:
3681 (WebKit::FrameLoaderClient::windowObjectCleared):
3683 2007-11-24 Alp Toker <alp@atoker.com>
3685 Reviewed by Mark Rowe.
3687 http://bugs.webkit.org/show_bug.cgi?id=15691
3688 [GTK] Public API does not follow GTK+ conventions
3690 Public API enhancements:
3692 Implement webkit_page_get_editable() and webkit_page_set_editable().
3694 Implement webkit_frame_get_name().
3696 Remove definitions for functions that are unusable or not implemented.
3697 This has caused much confusion for application developers.
3699 Improve documentation.
3701 Correct/constify some return types.
3703 Add parameter checks.
3705 Make the default fixed font "Courier New" to match the other Web