1 2007-12-12 Sam Weinig <sam@webkit.org>
5 * WebCoreSupport/FrameLoaderClientGtk.cpp:
6 (WebKit::FrameLoaderClient::dispatchDecidePolicyForNavigationAction):
8 2007-12-11 George Wright <george.wright@collabora.co.uk>
10 Reviewed by Alp Toker.
12 http://bugs.webkit.org/show_bug.cgi?id=14120
13 [GDK] Support input methods
15 This patch adds infrastructure for input method support.
17 It also adds Hildon features for the Maemo mobile platform sufficient
18 to support the virtual keyboard.
20 * WebCoreSupport/EditorClientGtk.cpp:
21 (WebKit::imContextCommitted):
22 (WebKit::EditorClient::EditorClient):
23 (WebKit::EditorClient::~EditorClient):
24 (WebKit::EditorClient::textFieldDidBeginEditing):
25 (WebKit::EditorClient::textFieldDidEndEditing):
26 * WebCoreSupport/EditorClientGtk.h:
27 * WebView/webkitprivate.h:
28 * WebView/webkitwebview.cpp:
30 2007-12-07 Alexey Proskuryakov <ap@webkit.org>
34 <rdar://problem/5535636>
35 Have to press 4 times instead of 2 times to get the expected result of ^^ with german keyboard.
37 http://bugs.webkit.org/show_bug.cgi?id=13916
38 JavaScript detects Tab as a character input on a textfield validation
40 * WebCoreSupport/EditorClientGtk.cpp:
41 (WebKit::EditorClient::handleKeyboardEvent):
42 (WebKit::EditorClient::handleInputMethodKeydown):
43 * WebCoreSupport/EditorClientGtk.h:
44 Updated for cross-platform changes as much as it was possible without a gtk build environment.
46 2007-12-08 Luca Bruno <lethalman88@gmail.com>
48 Reviewed by Alp Toker.
50 http://bugs.webkit.org/show_bug.cgi?id=16346
51 [GTK] Some webview parts must use the focused frame.
53 Also update some old code.
55 * WebView/webkitprivate.cpp:
56 (getFrameFromView): removed
58 * WebView/webkitprivate.h:
59 (getFrameFromView): removed
61 * WebView/webkitwebview.cpp:
62 (webkit_web_view_expose_event):
63 (webkit_web_view_key_press_event): use focused frame
64 (webkit_web_view_key_release_event): use focused frame
65 (webkit_web_view_button_press_event):
66 (webkit_web_view_button_release_event):
67 (webkit_web_view_motion_event):
68 (webkit_web_view_scroll_event):
69 (webkit_web_view_size_allocate):
70 (webkit_web_view_set_scroll_adjustments):
71 (webkit_web_view_execute_script):
72 (webkit_web_view_stop_loading):
73 (webkit_web_view_load_string):
74 (webkit_web_view_reload):
75 (webkit_web_view_open):
76 (webkit_web_view_can_go_forward):
77 (webkit_web_view_can_go_backward):
78 (webkit_web_view_go_forward):
79 (webkit_web_view_go_backward):
81 * WebCoreSupport/EditorClientGtk.cpp:
82 (WebKit::EditorClient::handleKeypress): fix for page up and page down keys for editable contents
84 2007-12-07 Luca Bruno <lethalman88@gmail.com>
86 Reviewed by Alp Toker.
88 http://bugs.webkit.org/show_bug.cgi?id=16333
89 [GTK] Key bindings must work with focused frames.
91 There are still more cases where getFrameFromView() is mis-used that
92 need to be fixed, but this is a good start.
94 * WebView/webkitwebview.cpp:
95 (webkit_web_view_real_select_all):
96 (webkit_web_view_real_cut_clipboard):
97 (webkit_web_view_real_copy_clipboard):
98 (webkit_web_view_real_paste_clipboard):
100 2007-12-06 Xan Lopez <xan@gnome.org>
102 Reviewed by Alp Toker.
104 http://bugs.webkit.org/show_bug.cgi?id=16329
105 [GTK] Two small cleanups
107 * WebCoreSupport/ChromeClientGtk.cpp:
108 (WebKit::ChromeClient::createWindow):
109 (WebKit::ChromeClient::addMessageToConsole):
110 (WebKit::ChromeClient::runJavaScriptAlert):
111 (WebKit::ChromeClient::runJavaScriptConfirm):
112 (WebKit::ChromeClient::runJavaScriptPrompt):
113 (WebKit::ChromeClient::setStatusbarText):
114 (WebKit::ChromeClient::mouseDidMoveOverElement):
115 (WebKit::ChromeClient::setToolTip):
116 * WebCoreSupport/ChromeClientGtk.h:
117 * WebView/webkitprivate.cpp:
119 s/m_webPage/m_webView/
120 * WebView/webkitwebview.cpp:
121 Chain up to the parent class to activate bindings instead
122 of doing it explicitely.
124 2007-12-06 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
126 Reviewed by Alp Toker.
128 http://bugs.webkit.org/show_bug.cgi?id=16173
131 Change license from BSD to LGPL.
133 * WebCoreSupport/ChromeClientGtk.h:
134 * WebView/webkitdefines.h:
135 * WebView/webkitglobal.cpp:
136 * WebView/webkitglobal.h:
137 * WebView/webkitnetworkrequest.cpp:
138 * WebView/webkitnetworkrequest.h:
139 * WebView/webkitprivate.cpp:
140 * WebView/webkitprivate.h:
141 * WebView/webkitsettings.cpp:
142 * WebView/webkitsettings.h:
143 * WebView/webkitwebframe.cpp:
144 * WebView/webkitwebframe.h:
145 * WebView/webkitwebview.h:
147 2007-12-05 Michael Natterer <mitch@imendio.com>
149 Reviewed by Alp Toker.
151 * WebView/webkitwebview.cpp: split key and button event handlers
152 into separate press and release functions.
154 2007-12-05 Luca Bruno <lethalman88@gmail.com>
156 Reviewed by Alp Toker.
158 Handle events for Home and End keys.
160 * WebView/webkitwebview.cpp:
161 (webkit_web_view_key_event):
162 * WebCoreSupport/EditorClientGtk.cpp:
163 (EditorClient::handleKeypress):
165 2007-12-05 Michael Natterer <mitch@imendio.com>
167 Reviewed by Alp Toker.
169 * WebView/webkitwebview.cpp
170 * WebCoreSupport/ChromeClientGtk.cpp
171 * WebCoreSupport/FrameLoaderClientGtk.cpp: canonicalize signal names.
173 2007-12-04 Darin Adler <darin@apple.com>
175 Reviewed by Kevin Decker.
177 * WebCoreSupport/FrameLoaderClientGtk.cpp: Removed obsolete privateBrowsingEnabled.
178 * WebCoreSupport/FrameLoaderClientGtk.h: Ditto.
180 2007-12-04 Michael Natterer <mitch@imendio.com>
182 Reviewed by Alp Toker.
184 * WebView/webkitwebframe.cpp: don't redeclare the marshaller
185 prototype but simply include "webkit-marshal.h" now that its build
188 2007-12-04 Luca Bruno <lethalman88@gmail.com>
190 Reviewed by Alp Toker.
192 Fix a regression in key press propagation in r28386.
194 Fix indentation (was off by two spaces).
196 * WebView/webkitwebview.cpp:
198 2007-12-04 Luca Bruno <lethalman88@gmail.com>
200 Reviewed by Alp Toker.
202 http://bugs.webkit.org/show_bug.cgi?id=15911
203 [GTK] Use GtkBindingSet to make key bindings user-configurable
205 This patch doesn't cover the full range of bindings, only the ones
206 that seem obviously correct and have clear public API.
208 * WebCoreSupport/EditorClientGtk.cpp:
209 (WebKit::EditorClient::handleKeypress): do not handle clipboard operations and select-all
210 * WebView/webkitwebview.cpp: add cut, copy, paste and select-all signals and allow binding sets (issue #15911 and #16144)
211 * WebView/webkitwebview.h:
213 2007-12-04 Xan Lopez <xan@gnome.org>
215 Reviewed by Alp Toker.
217 http://bugs.webkit.org/show_bug.cgi?id=15561
218 GTK port needs DumpRenderTree implementation
220 Start work on the GTK+ DRT.
222 Add a couple of proposed new API entry points. They are currently for
223 internal use only by DRT and not in the public headers.
225 * WebView/webkitprivate.h:
226 * WebView/webkitwebframe.cpp:
228 2007-12-03 Dan Bernstein <mitz@apple.com>
230 Reviewed by Dave Hyatt.
232 - fix <rdar://problem/5346452> Resize event doesn't fire on body element inside a frame
234 * WebView/webkitwebview.cpp: Remove the call to sendResizeEvent() since
235 FrameView sends it now.
237 2007-12-03 Alp Toker <alp@atoker.com>
239 globalObject() GTK+ build fix.
241 * WebCoreSupport/FrameLoaderClientGtk.cpp:
242 (WebKit::FrameLoaderClient::windowObjectCleared):
244 2007-12-03 Geoffrey Garen <ggaren@apple.com>
246 GTK Build fix: get globalExec from the right place.
248 * WebView/webkitwebframe.cpp:
250 2007-12-01 Alp Toker <alp@atoker.com>
252 Reviewed by Adam Roben.
254 Wrap type definitions in webkitdefines.h with G_BEGIN_DECLS, which
255 takes care of extern "C".
257 Introduce a webkit.h convenience header.
259 Remove another left-over from the old API.
261 * WebView/headers.pri:
262 * WebView/webkit.h: Added.
263 * WebView/webkitdefines.h:
265 2007-12-01 Alp Toker <alp@atoker.com>
267 Reviewed by Adam Roben.
269 http://bugs.webkit.org/show_bug.cgi?id=15687
270 [Gtk] Allow API clients to interact with JavaScript in web pages
272 Include the necessary JavaScriptCore headers directly in the public
275 This is the last of a series of changes needed to allow GTK+
276 applications to access the JS API.
278 Until http://bugs.webkit.org/show_bug.cgi?id=16029 is resolved,
279 developers will still have to include the individual JS API headers
280 individually if they want to use it in their applications.
282 Patch also removes some old legacy use of GDK that was in
283 WebKitWebFrame. No ABI change.
285 * WebView/webkitdefines.h:
286 * WebView/webkitwebframe.h:
287 * WebView/webkitwebview.h:
289 2007-11-30 Jan Michael Alonzo <jmalonzo@unpluggable.com>
291 Fix for GTK+ Debug build breakage introduced in r28273.
293 * WebView/webkitprivate.cpp:
296 2007-11-30 Alp Toker <alp@atoker.com>
298 Reviewed by Adam Roben.
300 http://bugs.webkit.org/show_bug.cgi?id=15691
301 [GTK] Public API does not follow GTK+ conventions
303 Refactor the WebKit/GTK+ public API. Changes:
304 WebKitPage -> WebKitWebView
305 WebKitFrame -> WebKitWebFrame
307 Public API source and header names have been updated to mirror the API
310 The API is now kept in WebKit/gtk/WebView to match other ports in the
311 same class such as Mac and Win.
313 API/ABI-breaking change.
316 * Api/headers.pri: Removed.
317 * Api/webkitgtk-marshal.list: Removed.
318 * Api/webkitgtkdefines.h: Removed.
319 * Api/webkitgtkframe.cpp: Removed.
320 * Api/webkitgtkframe.h: Removed.
321 * Api/webkitgtkglobal.cpp: Removed.
322 * Api/webkitgtkglobal.h: Removed.
323 * Api/webkitgtknetworkrequest.cpp: Removed.
324 * Api/webkitgtknetworkrequest.h: Removed.
325 * Api/webkitgtkpage.cpp: Removed.
326 * Api/webkitgtkpage.h: Removed.
327 * Api/webkitgtkprivate.cpp: Removed.
328 * Api/webkitgtkprivate.h: Removed.
329 * Api/webkitgtksettings.cpp: Removed.
330 * Api/webkitgtksettings.h: Removed.
331 * WebCoreSupport/ChromeClientGtk.cpp:
332 (WebKit::ChromeClient::ChromeClient):
333 (WebKit::ChromeClient::createWindow):
334 * WebCoreSupport/ChromeClientGtk.h:
335 (WebKit::ChromeClient::webPage):
336 * WebCoreSupport/EditorClientGtk.cpp:
337 (WebKit::EditorClient::isEditable):
338 (WebKit::EditorClient::EditorClient):
339 * WebCoreSupport/EditorClientGtk.h:
340 * WebCoreSupport/FrameLoaderClientGtk.cpp:
341 (WebKit::FrameLoaderClient::FrameLoaderClient):
342 (WebKit::FrameLoaderClient::postProgressStartedNotification):
343 (WebKit::FrameLoaderClient::postProgressEstimateChangedNotification):
344 (WebKit::FrameLoaderClient::postProgressFinishedNotification):
345 (WebKit::FrameLoaderClient::dispatchDecidePolicyForNavigationAction):
346 (WebKit::FrameLoaderClient::createFrame):
347 (WebKit::FrameLoaderClient::windowObjectCleared):
348 (WebKit::FrameLoaderClient::dispatchDidReceiveIcon):
349 (WebKit::FrameLoaderClient::setTitle):
350 * WebCoreSupport/FrameLoaderClientGtk.h:
351 (WebKit::FrameLoaderClient::webFrame):
353 * WebView/headers.pri: Added.
354 * WebView/webkit-marshal.list: Added.
355 * WebView/webkitdefines.h: Added.
356 * WebView/webkitglobal.cpp: Added.
357 * WebView/webkitglobal.h: Added.
358 * WebView/webkitnetworkrequest.cpp: Added.
359 * WebView/webkitnetworkrequest.h: Added.
360 * WebView/webkitprivate.cpp: Added.
363 (WebKit::getFrameFromView):
364 (WebKit::getViewFromFrame):
367 * WebView/webkitprivate.h: Added.
368 * WebView/webkitsettings.cpp: Added.
369 * WebView/webkitsettings.h: Added.
370 * WebView/webkitwebframe.cpp: Added.
371 * WebView/webkitwebframe.h: Added.
372 * WebView/webkitwebview.cpp: Added.
373 * WebView/webkitwebview.h: Added.
375 2007-11-28 Alp Toker <alp@atoker.com>
377 Reviewed by Timothy Hatcher.
379 http://bugs.webkit.org/show_bug.cgi?id=16174
380 [GTK] Use "URI" not "URL" in public API
382 Replace use of the term "URL" with "URI" in public headers,
383 documentation and some internal code to match GLib/GTK+ convention.
385 This is now mentioned in the API guidelines:
386 http://trac.webkit.org/projects/webkit/wiki/HackingGtk
388 API/ABI-breaking change.
390 * Api/webkitgtkframe.cpp:
391 * Api/webkitgtknetworkrequest.cpp:
392 * Api/webkitgtknetworkrequest.h:
393 * Api/webkitgtkpage.cpp:
394 * Api/webkitgtkpage.h:
395 * Api/webkitgtkprivate.h:
396 * Api/webkitgtksettings.h:
398 2007-11-29 Brady Eidson <beidson@apple.com>
400 Better build fix for Gtk
402 * WebCoreSupport/ChromeClientGtk.h:
404 2007-11-29 Brady Eidson <beidson@apple.com>
406 Keep it building with new client method
408 * WebCoreSupport/ChromeClientGtk.cpp:
409 (WebKit::ChromeClient::requestQuotaIncreaseForNewDatabase):
410 (WebKit::ChromeClient::requestQuotaIncreaseForDatabaseOperation):
411 * WebCoreSupport/ChromeClientGtk.h:
413 2007-11-26 Alp Toker <alp@atoker.com>
415 Reviewed by Adam Roben.
417 http://bugs.webkit.org/show_bug.cgi?id=16149
418 Implement the window-object-cleared signal
420 This implementation provides the JSGlobalContextRef and JSObjectRef
421 directly rather than using an intermediate JS wrapper object, similar
422 to the approach taken by the Win port.
424 * Api/webkitgtk-marshal.list:
425 * Api/webkitgtkframe.h:
426 * Api/webkitgtkpage.cpp:
427 * Api/webkitgtkpage.h:
428 * WebCoreSupport/FrameLoaderClientGtk.cpp:
429 (WebKit::FrameLoaderClient::windowObjectCleared):
431 2007-11-24 Alp Toker <alp@atoker.com>
433 Reviewed by Mark Rowe.
435 http://bugs.webkit.org/show_bug.cgi?id=15691
436 [GTK] Public API does not follow GTK+ conventions
438 Public API enhancements:
440 Implement webkit_page_get_editable() and webkit_page_set_editable().
442 Implement webkit_frame_get_name().
444 Remove definitions for functions that are unusable or not implemented.
445 This has caused much confusion for application developers.
447 Improve documentation.
449 Correct/constify some return types.
451 Add parameter checks.
453 Make the default fixed font "Courier New" to match the other Web
456 * Api/webkitgtkframe.cpp:
457 * Api/webkitgtkframe.h:
458 * Api/webkitgtkpage.cpp:
459 * Api/webkitgtkpage.h:
460 * Api/webkitgtkprivate.h:
461 * WebCoreSupport/EditorClientGtk.cpp:
462 (WebKit::EditorClient::isEditable):
464 2007-11-24 Alp Toker <alp@atoker.com>
466 Reviewed by Mark Rowe.
468 http://bugs.webkit.org/show_bug.cgi?id=16125
469 [GTK] Up key doesn't work properly when content is editable
471 Add a missing 'break' to avoid falling through to the next case when
472 handling VK_UP keystrokes. This was noticed when working on editing
473 support in the GTK+ port.
475 I've checked the other cases for similar typos and they seem fine.
477 * WebCoreSupport/EditorClientGtk.cpp:
478 (WebKit::EditorClient::handleKeypress):
480 2007-11-24 Xan Lopez <xan@gnome.org>
482 Reviewed by Alp Toker.
484 http://bugs.webkit.org/show_bug.cgi?id=15745
485 [GTK] Arrow keys do not Scroll
487 * Api/webkitgtkpage.cpp:
489 Support Up/Down/Right/Left keys to scroll. Slight hack, see FIXME for
492 2007-11-24 Christian Dywan <christian@twotoasts.de>
494 Reviewed by Alp Toker.
496 http://bugs.webkit.org/show_bug.cgi?id=15891
497 [GTK] Javascript console and dialogs are not implemented
499 Fix call to gtk_message_dialog_new() which expects a format string.
501 * Api/webkitgtkpage.cpp:
503 2007-11-24 Christian Dywan <christian@twotoasts.de>
505 Reviewed by Alp Toker.
507 http://bugs.webkit.org/show_bug.cgi?id=15793
508 [GTK] Webkit doesn't show title attribute tooltip when hovering over an image
510 Implement tooltip support using the new Tooltip API.
512 Support for older versions of GTK+ is still lacking.
514 * WebCoreSupport/ChromeClientGtk.cpp:
515 (WebKit::ChromeClient::setToolTip):
517 2007-11-22 Alp Toker <alp@atoker.com>
519 Reviewed by Mark Rowe.
521 Implement and document several WebKitFrame functions, some of which
522 are necessary to support DRT.
524 Correct NULL handling and improve run-time checks.
526 * Api/webkitgtkframe.cpp:
527 * Api/webkitgtkframe.h:
528 * Api/webkitgtkprivate.cpp:
530 2007-11-22 Alp Toker <alp@atoker.com>
532 Whitespace fixes only.
534 * Api/webkitgtkframe.cpp:
535 * Api/webkitgtkpage.cpp:
536 * Api/webkitgtkpage.h:
537 * Api/webkitgtkprivate.h:
538 * WebCoreSupport/ChromeClientGtk.cpp:
539 * WebCoreSupport/ContextMenuClientGtk.cpp:
540 * WebCoreSupport/ContextMenuClientGtk.h:
541 * WebCoreSupport/DragClientGtk.h:
542 * WebCoreSupport/EditorClientGtk.h:
543 * WebCoreSupport/FrameLoaderClientGtk.cpp:
544 (WebKit::FrameLoaderClient::dispatchWillSendRequest):
545 (WebKit::FrameLoaderClient::assignIdentifierToInitialRequest):
546 (WebKit::FrameLoaderClient::postProgressEstimateChangedNotification):
547 (WebKit::FrameLoaderClient::createFrame):
548 (WebKit::FrameLoaderClient::createJavaAppletWidget):
549 (WebKit::FrameLoaderClient::registerForIconNotification):
550 (WebKit::FrameLoaderClient::setMainFrameDocumentReady):
551 (WebKit::FrameLoaderClient::dispatchDidFinishLoad):
552 (WebKit::FrameLoaderClient::frameLoadCompleted):
553 (WebKit::FrameLoaderClient::saveViewStateToItem):
554 (WebKit::FrameLoaderClient::restoreViewState):
555 (WebKit::FrameLoaderClient::shouldGoToHistoryItem):
556 (WebKit::FrameLoaderClient::setTitle):
557 * WebCoreSupport/FrameLoaderClientGtk.h:
559 2007-11-22 Michael Natterer <mitch@imendio.com>
561 Reviewed by Alp Toker.
563 http://bugs.webkit.org/show_bug.cgi?id=15984
564 Implement "navigation-requested" signal for WebKit Gtk
566 * Api/webkitgtknetworkrequest.h: fix parent class member.
568 * Api/webkitgtknetworkrequest.cpp
569 * Api/webkitgtkprivate.h: basic implementation featuring an
570 "url" member and API.
572 * Api/webkitgtkdefines.h: added network request typedefs.
574 * Api/webkitgtkpage.h: fix enum name:
575 s/WEBKIT_NAVIGATION_REQUEST_RESPONSE/WebKitNavigationRequestResponse/
576 and sanitized enum values.
578 * Api/webkitgtkpage.cpp: made "navigation-requested" a signal.
580 * Api/webkitgtk-marshal.list: added INT:OBJECT,OBJECT
582 * WebCoreSupport/FrameLoaderClientGtk.cpp: emit the new signal in
583 dispatchDecidePolicyForNavigationAction().
585 2007-11-18 Christian Dywan <christian@twotoasts.de>
589 http://bugs.webkit.org/show_bug.cgi?id=15891
590 [GTK] Javascript console and dialogs are not implemented
592 Correct script-prompt to return NULL when cancelled.
594 Small changes to avoid compiler warnings.
596 * Api/webkitgtkpage.cpp:
598 2007-11-17 Timothy Hatcher <timothy@apple.com>
600 Reviewed by Mark Rowe.
602 Bug 13470: i18n: The Web Inspector is not localizable
603 http://bugs.webkit.org/show_bug.cgi?id=13470
605 * WebCoreSupport/InspectorClientGtk.cpp:
606 (WebKit::InspectorClient::localizedStringsURL): Empty stub.
607 * WebCoreSupport/InspectorClientGtk.h: Add localizedStringsURL.
609 2007-11-13 Mark Rowe <mrowe@apple.com>
611 Gtk build fix. Replace incorrect use of the LOG macro with g_print.
613 * Api/webkitgtkpage.cpp:
615 2007-11-13 Christian Dywan <christian@twotoasts.de>
619 http://bugs.webkit.org/show_bug.cgi?id=15891
620 [GTK] Javascript console and dialogs are not implemented
622 Implement signals for script dialogs and console messages.
624 * Api/webkitgtk-marshal.list:
625 * Api/webkitgtkpage.cpp:
626 * Api/webkitgtkpage.h:
627 * WebCoreSupport/ChromeClientGtk.cpp:
628 (WebKit::ChromeClient::addMessageToConsole):
629 (WebKit::ChromeClient::runJavaScriptAlert):
630 (WebKit::ChromeClient::runJavaScriptConfirm):
631 (WebKit::ChromeClient::runJavaScriptPrompt):
633 2007-11-11 Alp Toker <alp@atoker.com>
637 Initialize m_userAgent.
639 Fix typos in GDK_WINDOWING conditionals.
641 * WebCoreSupport/FrameLoaderClientGtk.cpp:
642 (WebKit::FrameLoaderClient::FrameLoaderClient):
643 (WebKit::agentPlatform):
645 2007-11-11 Alp Toker <alp@atoker.com>
647 Reviewed by Mark Rowe.
649 Mention Safari in the UserAgent string to improve site compatibility.
651 Also bump the hard-coded AppleWebKit version number.
653 * WebCoreSupport/FrameLoaderClientGtk.cpp:
654 (WebKit::composeUserAgent):
656 2007-11-09 Xan Lopez <xan@gnome.org>
660 Fix http://bugs.webkit.org/show_bug.cgi?id=15926
661 [GTK] WebKitPage map handler is redundant.
663 * Api/webkitgtkpage.cpp:
664 The map handler for WebKitPage is redundant, GtkContainer does
665 the same (and more correctly).
667 2007-11-08 Alp Toker <alp@atoker.com>
669 Reviewed by Mark Rowe.
671 http://bugs.webkit.org/show_bug.cgi?id=15653
672 [GTK] Text editor does not handle common keystrokes
674 Handle more keystrokes in EditorClientGtk. Note that this is a
675 temporary measure pending a proper solution using GtkBindingSet (see
676 http://bugs.webkit.org/show_bug.cgi?id=15911).
678 * WebCoreSupport/EditorClientGtk.cpp:
679 (WebKit::EditorClient::handleKeypress):
681 2007-11-08 Kevin McCullough <kmccullough@apple.com>
685 - windowObjectCleared() is no longer const. It needs to setup the
686 script debugger and cannot be const to do so.
688 * WebCoreSupport/FrameLoaderClientGtk.cpp:
689 (WebKit::FrameLoaderClient::windowObjectCleared):
690 * WebCoreSupport/FrameLoaderClientGtk.h:
692 2007-11-06 Rodney Dawes <dobey@wayofthemonkey.com>
694 Fix http://bugs.webkit.org/attachment.cgi?id=17043&action=view
695 Bug 15766: [GTK] WebKit sometimes spews binary data as text/plain into iframes
697 FrameLoaderClient::objectContentType needs to check with the MIMETypeRegistry
698 to determine whether the given MIME type is displayable as an image or non-image.
700 * WebCoreSupport/FrameLoaderClientGtk.cpp:
701 (FrameLoaderClient::objectContentType): Change logic to match that in
702 the Windows and Mac ports.
704 2007-11-05 Christian Dywan <christian@twotoasts.de>
708 http://bugs.webkit.org/show_bug.cgi?id=15409
709 FrameLoaderClientGtk hardcodes data, including platform to Linux i686
711 Compute a proper user agent string.
713 Patch includes fixes by Alp.
715 * WebCoreSupport/FrameLoaderClientGtk.cpp:
716 (WebKit::agentPlatform):
718 (WebKit::composeUserAgent):
719 (WebKit::FrameLoaderClient::userAgent):
720 * WebCoreSupport/FrameLoaderClientGtk.h:
722 2007-11-05 Mark Rowe <mrowe@apple.com>
724 Rubber-stamped by Alp Toker.
726 Remove unused m_firstData member from FrameLoaderClientGtk.
728 * WebCoreSupport/FrameLoaderClientGtk.cpp:
729 * WebCoreSupport/FrameLoaderClientGtk.h:
731 2007-11-05 Mark Rowe <mrowe@apple.com>
733 Reviewed by Alp Toker.
735 Fix http://bugs.webkit.org/show_bug.cgi?id=15842
736 Bug 15842: [Gtk] about:blank doesn't work
738 * WebCoreSupport/FrameLoaderClientGtk.cpp:
739 (WebKit::FrameLoaderClient::finishedLoading): Set the encoding on the frame loader to
740 get work done that is normally done when the first bit of data is received, even in the
741 case of a document with no data (like about:blank).
743 2007-11-03 Alp Toker <alp@atoker.com>
745 Reviewed by Mark Rowe.
747 Restore correct double and triple click behaviour
749 We ended up ignoring GDK_2BUTTON_PRESS and GDK_3BUTTON_PRESS after
752 * Api/webkitgtkpage.cpp:
754 2007-11-03 Alp Toker <alp@atoker.com>
756 Reviewed by Mark Rowe.
758 Frame scrolling and invalidation fixes
760 Make upward scroll events have a positive delta to match other ports.
762 Fix the invalidation rect offset for frames so that scrolling works properly.
764 Avoid allocating negative sizes to widgets to avoid GTK+ warnings.
766 Allow tabbing to all widgets and links.
768 Fix event returns, improving the focus situation and correcting scroll wheel
771 * Api/webkitgtkpage.cpp:
772 * WebCoreSupport/ChromeClientGtk.cpp:
774 2007-10-29 Alp Toker <alp@atoker.com>
778 Do not allow control to reach end of non-void functions
780 * Api/webkitgtksettings.cpp:
782 2007-10-28 Lars Lindner <lars.lindner@gmail.com>
786 http://bugs.webkit.org/show_bug.cgi?id=15466
787 [gtk] widget does not take focus on mouse click
789 Grab widget focus in mouse press callback.
791 * Api/webkitgtkpage.cpp:
793 2007-10-25 Alp Toker <alp@atoker.com>
797 http://bugs.webkit.org/show_bug.cgi?id=15686
798 GtkLauncher aborts on launch due to uninitialized threading subsystem
800 Re-enable database support in the GTK+ port, with a fix.
802 Initialize GLib threading as early as possible.
804 * Api/webkitgtkglobal.cpp:
806 2007-10-25 Alp Toker <alp@atoker.com>
808 Unreviewed fix to make the GTK+ port run.
810 http://bugs.webkit.org/show_bug.cgi?id=15686
811 GtkLauncher aborts on launch due to uninitialized threading subsystem
813 http://bugs.webkit.org/show_bug.cgi?id=15688
814 [GTK] Make it possible to disable database support
816 Make database path initialization conditional on database support
819 * Api/webkitgtkglobal.cpp:
821 2007-10-24 Mark Rowe <mrowe@apple.com>
823 Gtk build fix. Track WebCore changes in r27004.
825 * Api/webkitgtkglobal.cpp:
827 2007-10-22 Alp Toker <alp@atoker.com>
829 Reviewed by Mark Rowe.
831 http://bugs.webkit.org/show_bug.cgi?id=15611
832 [GTK] Text selection behaviour different in Debug and Release builds
834 http://bugs.webkit.org/show_bug.cgi?id=15578
835 [GTK] Text editor caret does not blink
837 Never allow control to reach the end of non-void functions.
839 Return more sensible values, or in some cases, nulls.
841 * Api/webkitgtksettings.cpp:
842 * Api/webkitgtksettings.h:
843 * WebCoreSupport/DragClientGtk.cpp:
844 (WebKit::DragClient::actionMaskForDrag):
845 (WebKit::DragClient::dragSourceActionMaskForPoint):
846 (WebKit::DragClient::createDragImageForLink):
848 2007-10-20 Mark Rowe <mrowe@apple.com>
852 Gtk changes needed to enable HTML 5 client-side database storage.
854 * Api/webkitgtkglobal.cpp: Set a default database path based on the user data directory.
855 This should become configurable by client applications in the future.
857 2007-10-20 Mark Rowe <mrowe@apple.com>
861 Don't allow control characters to be inserted into editable regions.
863 * WebCoreSupport/EditorClientGtk.cpp:
864 (WebKit::EditorClient::handleKeypress):
866 2007-10-19 Alp Toker <alp@atoker.com>
870 GTK+ build fix enabling the new local database storage feature.
871 There is also a prospective Qt build fix.
873 * WebCoreSupport/ChromeClientGtk.cpp:
874 (WebKit::ChromeClient::runDatabaseSizeLimitPrompt):
875 * WebCoreSupport/ChromeClientGtk.h:
877 2007-10-14 Jan Michael Alonzo <jmalonzo@unpluggable.com>
881 http://bugs.webkit.org/show_bug.cgi?id=15299
882 Fix "hovering_over_link" signal not emitted when consecutive links
885 * WebCoreSupport/ChromeClientGtk.cpp:
886 (WebKit::ChromeClient::mouseDidMoveOverElement):
887 * WebCoreSupport/ChromeClientGtk.h:
888 - Remove m_didSendLinkSignal as it is superseded by m_hoveredLinkURL
890 2007-10-10 Alice Liu <alice.liu@apple.com>
892 Reviewed by Geoff Garen.
894 changes to keep the build from breaking
896 * WebCoreSupport/FrameLoaderClientGtk.cpp:
897 (WebKit::FrameLoaderClient::createFrame):
898 * WebCoreSupport/FrameLoaderClientGtk.h:
900 2007-10-03 Alp Toker <alp@atoker.com>
904 http://bugs.webkit.org/show_bug.cgi?id=14726
905 [gtk] API design. Mapping the WebView delegates to signals.
907 Change the API namespace of the Gtk+ port from 'WebKitGtk' to 'WebKit'.
909 * Api/webkitgtkdefines.h:
910 * Api/webkitgtkframe.cpp:
911 * Api/webkitgtkframe.h:
912 * Api/webkitgtkglobal.cpp:
913 * Api/webkitgtkglobal.h:
914 * Api/webkitgtknetworkrequest.h:
915 * Api/webkitgtkpage.cpp:
916 * Api/webkitgtkpage.h:
917 * Api/webkitgtkprivate.cpp:
920 (WebKit::getFrameFromPage):
921 (WebKit::getPageFromFrame):
924 * Api/webkitgtkprivate.h:
925 * Api/webkitgtksettings.cpp:
926 * Api/webkitgtksettings.h:
927 * WebCoreSupport/ChromeClientGtk.cpp:
928 (WebKit::ChromeClient::ChromeClient):
929 (WebKit::ChromeClient::createWindow):
930 (WebKit::ChromeClient::addMessageToConsole):
931 (WebKit::ChromeClient::runJavaScriptAlert):
932 (WebKit::ChromeClient::runJavaScriptConfirm):
933 (WebKit::ChromeClient::runJavaScriptPrompt):
934 * WebCoreSupport/ChromeClientGtk.h:
935 (WebKit::ChromeClient::webPage):
936 * WebCoreSupport/EditorClientGtk.cpp:
937 (WebKit::EditorClient::EditorClient):
938 * WebCoreSupport/EditorClientGtk.h:
939 * WebCoreSupport/FrameLoaderClientGtk.cpp:
940 (WebKit::FrameLoaderClient::FrameLoaderClient):
941 (WebKit::FrameLoaderClient::postProgressStartedNotification):
942 (WebKit::FrameLoaderClient::postProgressEstimateChangedNotification):
943 (WebKit::FrameLoaderClient::postProgressFinishedNotification):
944 (WebKit::FrameLoaderClient::createFrame):
945 (WebKit::FrameLoaderClient::dispatchDidReceiveIcon):
946 (WebKit::FrameLoaderClient::setTitle):
947 * WebCoreSupport/FrameLoaderClientGtk.h:
948 (WebKit::FrameLoaderClient::webFrame):
950 2007-10-02 Cosimo Cecchi <cosimoc@svn.gnome.org>
954 http://bugs.webkit.org/show_bug.cgi?id=15299
955 Fix "hovering_over_link" signal being fired every time mouse moves.
957 * WebCoreSupport/ChromeClientGtk.cpp:
958 (WebKit::ChromeClient::ChromeClient):
959 (WebKit::ChromeClient::mouseDidMoveOverElement):
960 * WebCoreSupport/ChromeClientGtk.h:
962 2007-09-21 Sean Egan <seanegan@gmail.com>
966 Add an "execute_script" method to programmatically call Javascript
967 http://bugs.webkit.org/show_bug.cgi?id=15255
969 * Api/webkitgtkpage.cpp:
970 * Api/webkitgtkpage.h:
972 2007-09-29 Lars Lindner <lars.lindner@gmail.com>
976 ChromeClientGtk.cpp does not implement mouseDidMoveOverElement()
977 http://bugs.webkit.org/show_bug.cgi?id=15299
979 Implementing "hovering_over_link" signal.
981 * WebCoreSupport/ChromeClientGtk.cpp:
982 (WebKit::ChromeClient::mouseDidMoveOverElement):
984 2007-09-26 Mark Rowe <mrowe@apple.com>
988 * WebCoreSupport/FrameLoaderClientGtk.cpp: Check for empty URL instead of invalid URL.
990 2007-09-17 Holger Hans Peter Freyther <zecke@selfish.org>
994 WebKitGtkPage and WebKitGtkFrame have a dependency on each other. To
995 allow client code to include both headers the typedef's for
996 WebKitGtkFrame, WebKitGtkPage, WebKitGtkFrameData and WebKitGtkNetworkRequest
997 are moved into webkitgtkdefines.h and included by both webkitgtkpage.h and
1000 * Api/webkitgtkdefines.h:
1001 * Api/webkitgtkframe.h:
1002 * Api/webkitgtkpage.h:
1004 2007-09-17 Cyril Brulebois <cyril.brulebois@enst-bretagne.fr>
1006 Reviewed by Mark, some Coding Style changes by Holger.
1008 This is from http://bugs.webkit.org/show_bug.cgi?id=14812.
1010 Add title and location to WebKitGtkFramePrivate, add
1011 webkit_gtk_frame_get_location to the WebKitGtkFrame API as well
1012 as a title_changed callback, implement
1013 webkit_gtk_frame_get_title and webkit_gtk_frame_get_location.
1015 Initial patch by Diego Escalante Urrelo.
1017 * Api/webkitgtkframe.cpp:
1018 * Api/webkitgtkframe.h:
1019 * Api/webkitgtkprivate.h:
1021 2007-09-15 Holger Hans Peter Freyther <zecke@selfish.org>
1025 Use the new WebCore::String::fromUTF8 function to convert
1026 from the Gtk+ representation of a string to WebCore::String.
1028 * WebCoreSupport/ChromeClientGtk.cpp:
1029 (WebKit::ChromeClient::runJavaScriptPrompt):
1031 2007-09-10 Nigel Tao <nigeltao@gnome.org>
1033 Reviewed by Mark Rowe.
1035 Fix a typo where webkit_gtk_page_can_copy was declared twice,
1036 rather than webkit_gtk_page_can_paste.
1038 * Api/webkitgtkpage.h:
1040 2007-09-08 Brady Eidson <beidson@apple.com>
1044 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1045 (WebKit::FrameLoaderClient::registerForIconNotification):
1046 * WebCoreSupport/FrameLoaderClientGtk.h:
1048 2007-09-08 Brady Eidson <beidson@apple.com>
1052 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1053 (WebKit::FrameLoaderClient::registerForIconNotification):
1054 * WebCoreSupport/FrameLoaderClientGtk.h:
1056 2007-09-05 Geoffrey Garen <ggaren@apple.com>
1058 Reviewed by Darin Adler, Maciej Stachowiak, Mark Rowe, Tim Hatcher.
1060 Fixed <rdar://problem/5326009> Make non-browser WebKit clients have no
1061 memory cache, or a very tiny one
1063 Keep the GTK build working with an empty stub.
1065 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1066 (WebKit::FrameLoaderClient::didPerformFirstNavigation):
1067 * WebCoreSupport/FrameLoaderClientGtk.h:
1069 2007-09-01 Oliver Hunt <oliver@apple.com>
1073 <rdar://problem/5344848> IME is incorrectly used for key events when on non-editable regions
1075 EditorClient::setInputMethodState stub
1077 * WebCoreSupport/EditorClientGtk.cpp:
1078 (WebKit::EditorClient::setInputMethodState):
1079 * WebCoreSupport/EditorClientGtk.h:
1081 2007-08-18 Holger Hans Peter Freyther <zecke@selfish.org>
1083 Build fix. Add const to the first parameter of createPlugin
1085 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1087 2007-08-17 Anders Carlsson <andersca@apple.com>
1091 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1092 (WebKit::FrameLoaderClient::createPlugin):
1093 * WebCoreSupport/FrameLoaderClientGtk.h:
1095 2007-08-11 Holger Hans Peter Freyther <zecke@selfish.org>
1099 To not hit the needsLayout() assert of Frame::paint for subframes we need to
1100 make sure they are layed out. Use the newly created FrameView::layoutIfNeededRecursive
1103 * Api/webkitgtkpage.cpp:
1105 2007-08-11 Holger Hans Peter Freyther <zecke@selfish.org>
1109 Fix text selection by setting a DragClient when creating the Page. Now
1110 that we have a DragClient we can free the Page when WebKitGtkPage gets
1113 * Api/webkitgtkpage.cpp:
1114 * WebCoreSupport/DragClientGtk.cpp: Added.
1115 (WebKit::DragClient::willPerformDragDestinationAction):
1116 (WebKit::DragClient::willPerformDragSourceAction):
1117 (WebKit::DragClient::actionMaskForDrag):
1118 (WebKit::DragClient::dragSourceActionMaskForPoint):
1119 (WebKit::DragClient::startDrag):
1120 (WebKit::DragClient::createDragImageForLink):
1121 * WebCoreSupport/DragClientGtk.h: Added.
1123 2007-08-10 Holger Hans Peter Freyther <zecke@selfish.org>
1127 Make WebKitGtkPage a GtkContainer to avoid a size_allocate
1128 race of GtkScrollBar and GtkLayout.
1130 * Api/webkitgtk-marshal.list:
1131 * Api/webkitgtkframe.cpp:
1132 * Api/webkitgtkpage.cpp:
1133 * Api/webkitgtkpage.h:
1134 * Api/webkitgtkprivate.h:
1136 2007-08-10 Holger Hans Peter Freyther <zecke@selfish.org>
1140 Minor changes to the WebKit::EditorClient to allow removing
1141 of text from TextFields. Remove the selectWordBeforeMenuEvent method
1142 which is not used and not within WebCore::EditorClient.
1144 * WebCoreSupport/EditorClientGtk.cpp:
1145 (WebKit::EditorClient::shouldDeleteRange):
1146 (WebKit::EditorClient::shouldBeginEditing):
1147 (WebKit::EditorClient::shouldEndEditing):
1148 (WebKit::EditorClient::shouldApplyStyle):
1149 (WebKit::EditorClient::shouldInsertNode):
1150 * WebCoreSupport/EditorClientGtk.h:
1152 2007-08-10 Holger Hans Peter Freyther <zecke@selfish.org>
1156 Rename the namespace from WebKitGtk to WebKit. Move the various *Client
1157 classes into the WebKit namespace. Change the class names to not contain Gtk.
1158 The file names have to contain the Gtk suffix to not clash with files in WebCore (e.g.
1159 bridge/EditorClient.h).
1162 * Api/webkitgtkframe.cpp:
1163 * Api/webkitgtkpage.cpp:
1164 * Api/webkitgtkprivate.cpp:
1165 * Api/webkitgtkprivate.h:
1167 * WebCoreSupport/ChromeClientGtk.cpp:
1168 (WebKit::ChromeClient::ChromeClient):
1169 (WebKit::ChromeClient::chromeDestroyed):
1170 (WebKit::ChromeClient::windowRect):
1171 (WebKit::ChromeClient::setWindowRect):
1172 (WebKit::ChromeClient::pageRect):
1173 (WebKit::ChromeClient::scaleFactor):
1174 (WebKit::ChromeClient::focus):
1175 (WebKit::ChromeClient::unfocus):
1176 (WebKit::ChromeClient::createWindow):
1177 (WebKit::ChromeClient::createModalDialog):
1178 (WebKit::ChromeClient::show):
1179 (WebKit::ChromeClient::canRunModal):
1180 (WebKit::ChromeClient::runModal):
1181 (WebKit::ChromeClient::setToolbarsVisible):
1182 (WebKit::ChromeClient::toolbarsVisible):
1183 (WebKit::ChromeClient::setStatusbarVisible):
1184 (WebKit::ChromeClient::statusbarVisible):
1185 (WebKit::ChromeClient::setScrollbarsVisible):
1186 (WebKit::ChromeClient::scrollbarsVisible):
1187 (WebKit::ChromeClient::setMenubarVisible):
1188 (WebKit::ChromeClient::menubarVisible):
1189 (WebKit::ChromeClient::setResizable):
1190 (WebKit::ChromeClient::closeWindowSoon):
1191 (WebKit::ChromeClient::canTakeFocus):
1192 (WebKit::ChromeClient::takeFocus):
1193 (WebKit::ChromeClient::canRunBeforeUnloadConfirmPanel):
1194 (WebKit::ChromeClient::runBeforeUnloadConfirmPanel):
1195 (WebKit::ChromeClient::runJavaScriptAlert):
1196 (WebKit::ChromeClient::runJavaScriptConfirm):
1197 (WebKit::ChromeClient::setStatusbarText):
1198 (WebKit::ChromeClient::shouldInterruptJavaScript):
1199 (WebKit::ChromeClient::tabsToLinks):
1200 (WebKit::ChromeClient::windowResizerRect):
1201 (WebKit::ChromeClient::addToDirtyRegion):
1202 (WebKit::ChromeClient::scrollBackingStore):
1203 (WebKit::ChromeClient::updateBackingStore):
1204 (WebKit::ChromeClient::mouseDidMoveOverElement):
1205 (WebKit::ChromeClient::setToolTip):
1206 * WebCoreSupport/ChromeClientGtk.h:
1207 * WebCoreSupport/ContextMenuClientGtk.cpp:
1208 (WebKit::ContextMenuClient::contextMenuDestroyed):
1209 (WebKit::ContextMenuClient::getCustomMenuFromDefaultItems):
1210 (WebKit::ContextMenuClient::contextMenuItemSelected):
1211 (WebKit::ContextMenuClient::downloadURL):
1212 (WebKit::ContextMenuClient::copyImageToClipboard):
1213 (WebKit::ContextMenuClient::searchWithGoogle):
1214 (WebKit::ContextMenuClient::lookUpInDictionary):
1215 (WebKit::ContextMenuClient::speak):
1216 * WebCoreSupport/ContextMenuClientGtk.h:
1217 * WebCoreSupport/EditorClientGtk.cpp:
1218 (WebKit::EditorClient::shouldDeleteRange):
1219 (WebKit::EditorClient::shouldShowDeleteInterface):
1220 (WebKit::EditorClient::isContinuousSpellCheckingEnabled):
1221 (WebKit::EditorClient::isGrammarCheckingEnabled):
1222 (WebKit::EditorClient::spellCheckerDocumentTag):
1223 (WebKit::EditorClient::shouldBeginEditing):
1224 (WebKit::EditorClient::shouldEndEditing):
1225 (WebKit::EditorClient::shouldInsertText):
1226 (WebKit::EditorClient::shouldChangeSelectedRange):
1227 (WebKit::EditorClient::shouldApplyStyle):
1228 (WebKit::EditorClient::shouldMoveRangeAfterDelete):
1229 (WebKit::EditorClient::didBeginEditing):
1230 (WebKit::EditorClient::respondToChangedContents):
1231 (WebKit::EditorClient::respondToChangedSelection):
1232 (WebKit::EditorClient::didEndEditing):
1233 (WebKit::EditorClient::didWriteSelectionToPasteboard):
1234 (WebKit::EditorClient::didSetSelectionTypesForPasteboard):
1235 (WebKit::EditorClient::selectWordBeforeMenuEvent):
1236 (WebKit::EditorClient::isEditable):
1237 (WebKit::EditorClient::registerCommandForUndo):
1238 (WebKit::EditorClient::registerCommandForRedo):
1239 (WebKit::EditorClient::clearUndoRedoOperations):
1240 (WebKit::EditorClient::canUndo):
1241 (WebKit::EditorClient::canRedo):
1242 (WebKit::EditorClient::undo):
1243 (WebKit::EditorClient::redo):
1244 (WebKit::EditorClient::shouldInsertNode):
1245 (WebKit::EditorClient::pageDestroyed):
1246 (WebKit::EditorClient::smartInsertDeleteEnabled):
1247 (WebKit::EditorClient::toggleContinuousSpellChecking):
1248 (WebKit::EditorClient::toggleGrammarChecking):
1249 (WebKit::EditorClient::handleInputMethodKeypress):
1250 (WebKit::EditorClient::EditorClient):
1251 (WebKit::EditorClient::textFieldDidBeginEditing):
1252 (WebKit::EditorClient::textFieldDidEndEditing):
1253 (WebKit::EditorClient::textDidChangeInTextField):
1254 (WebKit::EditorClient::doTextFieldCommandFromEvent):
1255 (WebKit::EditorClient::textWillBeDeletedInTextField):
1256 (WebKit::EditorClient::textDidChangeInTextArea):
1257 (WebKit::EditorClient::ignoreWordInSpellDocument):
1258 (WebKit::EditorClient::learnWord):
1259 (WebKit::EditorClient::checkSpellingOfString):
1260 (WebKit::EditorClient::checkGrammarOfString):
1261 (WebKit::EditorClient::updateSpellingUIWithGrammarString):
1262 (WebKit::EditorClient::updateSpellingUIWithMisspelledWord):
1263 (WebKit::EditorClient::showSpellingUI):
1264 (WebKit::EditorClient::spellingUIIsShowing):
1265 * WebCoreSupport/EditorClientGtk.h:
1266 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1267 (WebKit::FrameLoaderClient::FrameLoaderClient):
1268 (WebKit::FrameLoaderClient::userAgent):
1269 (WebKit::FrameLoaderClient::createDocumentLoader):
1270 (WebKit::FrameLoaderClient::committedLoad):
1271 (WebKit::FrameLoaderClient::dispatchDidReceiveAuthenticationChallenge):
1272 (WebKit::FrameLoaderClient::dispatchDidCancelAuthenticationChallenge):
1273 (WebKit::FrameLoaderClient::dispatchWillSendRequest):
1274 (WebKit::FrameLoaderClient::assignIdentifierToInitialRequest):
1275 (WebKit::FrameLoaderClient::postProgressStartedNotification):
1276 (WebKit::FrameLoaderClient::postProgressFinishedNotification):
1277 (WebKit::FrameLoaderClient::frameLoaderDestroyed):
1278 (WebKit::FrameLoaderClient::dispatchDidReceiveResponse):
1279 (WebKit::FrameLoaderClient::createPlugin):
1280 (WebKit::FrameLoaderClient::redirectDataToPlugin):
1281 (WebKit::FrameLoaderClient::createJavaAppletWidget):
1282 (WebKit::FrameLoaderClient::overrideMediaType):
1283 (WebKit::FrameLoaderClient::windowObjectCleared):
1284 (WebKit::FrameLoaderClient::setMainFrameDocumentReady):
1285 (WebKit::FrameLoaderClient::hasWebView):
1286 (WebKit::FrameLoaderClient::hasFrameView):
1287 (WebKit::FrameLoaderClient::dispatchDidFinishLoad):
1288 (WebKit::FrameLoaderClient::frameLoadCompleted):
1289 (WebKit::FrameLoaderClient::saveViewStateToItem):
1290 (WebKit::FrameLoaderClient::restoreViewState):
1291 (WebKit::FrameLoaderClient::privateBrowsingEnabled):
1292 (WebKit::FrameLoaderClient::makeDocumentView):
1293 (WebKit::FrameLoaderClient::makeRepresentation):
1294 (WebKit::FrameLoaderClient::forceLayout):
1295 (WebKit::FrameLoaderClient::forceLayoutForNonHTML):
1296 (WebKit::FrameLoaderClient::setCopiesOnScroll):
1297 (WebKit::FrameLoaderClient::detachedFromParent1):
1298 (WebKit::FrameLoaderClient::detachedFromParent2):
1299 (WebKit::FrameLoaderClient::detachedFromParent3):
1300 (WebKit::FrameLoaderClient::detachedFromParent4):
1301 (WebKit::FrameLoaderClient::loadedFromCachedPage):
1302 (WebKit::FrameLoaderClient::dispatchDidHandleOnloadEvents):
1303 (WebKit::FrameLoaderClient::dispatchDidReceiveServerRedirectForProvisionalLoad):
1304 (WebKit::FrameLoaderClient::dispatchDidCancelClientRedirect):
1305 (WebKit::FrameLoaderClient::dispatchWillPerformClientRedirect):
1306 (WebKit::FrameLoaderClient::dispatchDidChangeLocationWithinPage):
1307 (WebKit::FrameLoaderClient::dispatchWillClose):
1308 (WebKit::FrameLoaderClient::dispatchDidReceiveIcon):
1309 (WebKit::FrameLoaderClient::dispatchDidStartProvisionalLoad):
1310 (WebKit::FrameLoaderClient::dispatchDidReceiveTitle):
1311 (WebKit::FrameLoaderClient::dispatchDidCommitLoad):
1312 (WebKit::FrameLoaderClient::dispatchDidFinishDocumentLoad):
1313 (WebKit::FrameLoaderClient::dispatchDidFirstLayout):
1314 (WebKit::FrameLoaderClient::dispatchShow):
1315 (WebKit::FrameLoaderClient::cancelPolicyCheck):
1316 (WebKit::FrameLoaderClient::dispatchDidLoadMainResource):
1317 (WebKit::FrameLoaderClient::revertToProvisionalState):
1318 (WebKit::FrameLoaderClient::clearUnarchivingState):
1319 (WebKit::FrameLoaderClient::willChangeTitle):
1320 (WebKit::FrameLoaderClient::didChangeTitle):
1321 (WebKit::FrameLoaderClient::finishedLoading):
1322 (WebKit::FrameLoaderClient::finalSetupForReplace):
1323 (WebKit::FrameLoaderClient::setDefersLoading):
1324 (WebKit::FrameLoaderClient::isArchiveLoadPending):
1325 (WebKit::FrameLoaderClient::cancelPendingArchiveLoad):
1326 (WebKit::FrameLoaderClient::clearArchivedResources):
1327 (WebKit::FrameLoaderClient::canHandleRequest):
1328 (WebKit::FrameLoaderClient::canShowMIMEType):
1329 (WebKit::FrameLoaderClient::representationExistsForURLScheme):
1330 (WebKit::FrameLoaderClient::generatedMIMETypeForURLScheme):
1331 (WebKit::FrameLoaderClient::provisionalLoadStarted):
1332 (WebKit::FrameLoaderClient::didFinishLoad):
1333 (WebKit::FrameLoaderClient::setDocumentViewFromCachedPage):
1334 (WebKit::FrameLoaderClient::dispatchDidReceiveContentLength):
1335 (WebKit::FrameLoaderClient::dispatchDidFinishLoading):
1336 (WebKit::FrameLoaderClient::dispatchDidFailLoading):
1337 (WebKit::FrameLoaderClient::dispatchDidLoadResourceFromMemoryCache):
1338 (WebKit::FrameLoaderClient::dispatchDidFailProvisionalLoad):
1339 (WebKit::FrameLoaderClient::dispatchDidFailLoad):
1340 (WebKit::FrameLoaderClient::download):
1341 (WebKit::FrameLoaderClient::cancelledError):
1342 (WebKit::FrameLoaderClient::blockedError):
1343 (WebKit::FrameLoaderClient::cannotShowURLError):
1344 (WebKit::FrameLoaderClient::interruptForPolicyChangeError):
1345 (WebKit::FrameLoaderClient::cannotShowMIMETypeError):
1346 (WebKit::FrameLoaderClient::fileDoesNotExistError):
1347 (WebKit::FrameLoaderClient::shouldFallBack):
1348 (WebKit::FrameLoaderClient::willUseArchive):
1349 (WebKit::FrameLoaderClient::saveDocumentViewToCachedPage):
1350 (WebKit::FrameLoaderClient::canCachePage):
1351 (WebKit::FrameLoaderClient::dispatchCreatePage):
1352 (WebKit::FrameLoaderClient::dispatchUnableToImplementPolicy):
1353 * WebCoreSupport/FrameLoaderClientGtk.h:
1354 * WebCoreSupport/InspectorClientGtk.cpp:
1355 (WebKit::InspectorClient::inspectorDestroyed):
1356 (WebKit::InspectorClient::createPage):
1357 (WebKit::InspectorClient::showWindow):
1358 (WebKit::InspectorClient::closeWindow):
1359 (WebKit::InspectorClient::attachWindow):
1360 (WebKit::InspectorClient::detachWindow):
1361 (WebKit::InspectorClient::highlight):
1362 (WebKit::InspectorClient::hideHighlight):
1363 * WebCoreSupport/InspectorClientGtk.h:
1365 2007-08-10 Holger Hans Peter Freyther <zecke@selfish.org>
1369 As of http://bugs.webkit.org/show_bug.cgi?id=14727 move the
1370 various *ClientGdk.{cpp,h} files from WebCore to WebKit/gtk/WebCoreSupport and
1371 rename it from Gdk to Gtk.
1373 * Api/webkitgtkdefines.h:
1374 * Api/webkitgtkframe.cpp:
1375 * Api/webkitgtkframe.h:
1376 * Api/webkitgtkglobal.cpp:
1377 * Api/webkitgtkglobal.h:
1378 * Api/webkitgtknetworkrequest.cpp:
1379 * Api/webkitgtknetworkrequest.h:
1380 * Api/webkitgtkpage.cpp:
1381 * Api/webkitgtkpage.h:
1382 * Api/webkitgtkprivate.cpp:
1383 * Api/webkitgtkprivate.h:
1384 * Api/webkitgtksettings.cpp:
1385 * Api/webkitgtksettings.h:
1386 * WebCoreSupport/ChromeClientGtk.cpp: Renamed from WebKit/gtk/WebCoreSupport/ChromeClientGdk.cpp.
1387 (WebKitGtk::ChromeClientGtk::ChromeClientGtk):
1388 (WebKitGtk::ChromeClientGtk::chromeDestroyed):
1389 (WebKitGtk::ChromeClientGtk::windowRect):
1390 (WebKitGtk::ChromeClientGtk::setWindowRect):
1391 (WebKitGtk::ChromeClientGtk::pageRect):
1392 (WebKitGtk::ChromeClientGtk::scaleFactor):
1393 (WebKitGtk::ChromeClientGtk::focus):
1394 (WebKitGtk::ChromeClientGtk::unfocus):
1395 (WebKitGtk::ChromeClientGtk::createWindow):
1396 (WebKitGtk::ChromeClientGtk::createModalDialog):
1397 (WebKitGtk::ChromeClientGtk::show):
1398 (WebKitGtk::ChromeClientGtk::canRunModal):
1399 (WebKitGtk::ChromeClientGtk::runModal):
1400 (WebKitGtk::ChromeClientGtk::setToolbarsVisible):
1401 (WebKitGtk::ChromeClientGtk::toolbarsVisible):
1402 (WebKitGtk::ChromeClientGtk::setStatusbarVisible):
1403 (WebKitGtk::ChromeClientGtk::statusbarVisible):
1404 (WebKitGtk::ChromeClientGtk::setScrollbarsVisible):
1405 (WebKitGtk::ChromeClientGtk::scrollbarsVisible):
1406 (WebKitGtk::ChromeClientGtk::setMenubarVisible):
1407 (WebKitGtk::ChromeClientGtk::menubarVisible):
1408 (WebKitGtk::ChromeClientGtk::setResizable):
1409 (WebKitGtk::ChromeClientGtk::closeWindowSoon):
1410 (WebKitGtk::ChromeClientGtk::canTakeFocus):
1411 (WebKitGtk::ChromeClientGtk::takeFocus):
1412 (WebKitGtk::ChromeClientGtk::canRunBeforeUnloadConfirmPanel):
1413 (WebKitGtk::ChromeClientGtk::runBeforeUnloadConfirmPanel):
1414 (WebKitGtk::ChromeClientGtk::addMessageToConsole):
1415 (WebKitGtk::ChromeClientGtk::runJavaScriptAlert):
1416 (WebKitGtk::ChromeClientGtk::runJavaScriptConfirm):
1417 (WebKitGtk::ChromeClientGtk::runJavaScriptPrompt):
1418 (WebKitGtk::ChromeClientGtk::setStatusbarText):
1419 (WebKitGtk::ChromeClientGtk::shouldInterruptJavaScript):
1420 (WebKitGtk::ChromeClientGtk::tabsToLinks):
1421 (WebKitGtk::ChromeClientGtk::windowResizerRect):
1422 (WebKitGtk::ChromeClientGtk::addToDirtyRegion):
1423 (WebKitGtk::ChromeClientGtk::scrollBackingStore):
1424 (WebKitGtk::ChromeClientGtk::updateBackingStore):
1425 (WebKitGtk::ChromeClientGtk::mouseDidMoveOverElement):
1426 (WebKitGtk::ChromeClientGtk::setToolTip):
1427 * WebCoreSupport/ChromeClientGtk.h: Renamed from WebKit/gtk/WebCoreSupport/ChromeClientGdk.h.
1428 (WebKitGtk::ChromeClientGtk::webPage):
1429 * WebCoreSupport/ContextMenuClientGtk.cpp: Renamed from WebCore/page/gdk/ContextMenuClientGdk.cpp.
1430 (WebCore::ContextMenuClientGtk::contextMenuDestroyed):
1431 (WebCore::ContextMenuClientGtk::getCustomMenuFromDefaultItems):
1432 (WebCore::ContextMenuClientGtk::contextMenuItemSelected):
1433 (WebCore::ContextMenuClientGtk::downloadURL):
1434 (WebCore::ContextMenuClientGtk::copyImageToClipboard):
1435 (WebCore::ContextMenuClientGtk::searchWithGoogle):
1436 (WebCore::ContextMenuClientGtk::lookUpInDictionary):
1437 (WebCore::ContextMenuClientGtk::speak):
1438 (WebCore::ContextMenuClientGtk::stopSpeaking):
1439 * WebCoreSupport/ContextMenuClientGtk.h: Renamed from WebCore/page/gdk/ContextMenuClientGdk.h.
1440 * WebCoreSupport/EditorClientGtk.cpp: Renamed from WebCore/platform/gdk/EditorClientGdk.cpp.
1441 (WebCore::EditorClientGtk::shouldDeleteRange):
1442 (WebCore::EditorClientGtk::shouldShowDeleteInterface):
1443 (WebCore::EditorClientGtk::isContinuousSpellCheckingEnabled):
1444 (WebCore::EditorClientGtk::isGrammarCheckingEnabled):
1445 (WebCore::EditorClientGtk::spellCheckerDocumentTag):
1446 (WebCore::EditorClientGtk::shouldBeginEditing):
1447 (WebCore::EditorClientGtk::shouldEndEditing):
1448 (WebCore::EditorClientGtk::shouldInsertText):
1449 (WebCore::EditorClientGtk::shouldChangeSelectedRange):
1450 (WebCore::EditorClientGtk::shouldApplyStyle):
1451 (WebCore::EditorClientGtk::shouldMoveRangeAfterDelete):
1452 (WebCore::EditorClientGtk::didBeginEditing):
1453 (WebCore::EditorClientGtk::respondToChangedContents):
1454 (WebCore::EditorClientGtk::respondToChangedSelection):
1455 (WebCore::EditorClientGtk::didEndEditing):
1456 (WebCore::EditorClientGtk::didWriteSelectionToPasteboard):
1457 (WebCore::EditorClientGtk::didSetSelectionTypesForPasteboard):
1458 (WebCore::EditorClientGtk::selectWordBeforeMenuEvent):
1459 (WebCore::EditorClientGtk::isEditable):
1460 (WebCore::EditorClientGtk::registerCommandForUndo):
1461 (WebCore::EditorClientGtk::registerCommandForRedo):
1462 (WebCore::EditorClientGtk::clearUndoRedoOperations):
1463 (WebCore::EditorClientGtk::canUndo):
1464 (WebCore::EditorClientGtk::canRedo):
1465 (WebCore::EditorClientGtk::undo):
1466 (WebCore::EditorClientGtk::redo):
1467 (WebCore::EditorClientGtk::shouldInsertNode):
1468 (WebCore::EditorClientGtk::pageDestroyed):
1469 (WebCore::EditorClientGtk::smartInsertDeleteEnabled):
1470 (WebCore::EditorClientGtk::toggleContinuousSpellChecking):
1471 (WebCore::EditorClientGtk::toggleGrammarChecking):
1472 (WebCore::EditorClientGtk::handleKeypress):
1473 (WebCore::EditorClientGtk::handleInputMethodKeypress):
1474 (WebCore::EditorClientGtk::EditorClientGtk):
1475 (WebCore::EditorClientGtk::textFieldDidBeginEditing):
1476 (WebCore::EditorClientGtk::textFieldDidEndEditing):
1477 (WebCore::EditorClientGtk::textDidChangeInTextField):
1478 (WebCore::EditorClientGtk::doTextFieldCommandFromEvent):
1479 (WebCore::EditorClientGtk::textWillBeDeletedInTextField):
1480 (WebCore::EditorClientGtk::textDidChangeInTextArea):
1481 (WebCore::EditorClientGtk::ignoreWordInSpellDocument):
1482 (WebCore::EditorClientGtk::learnWord):
1483 (WebCore::EditorClientGtk::checkSpellingOfString):
1484 (WebCore::EditorClientGtk::checkGrammarOfString):
1485 (WebCore::EditorClientGtk::updateSpellingUIWithGrammarString):
1486 (WebCore::EditorClientGtk::updateSpellingUIWithMisspelledWord):
1487 (WebCore::EditorClientGtk::showSpellingUI):
1488 (WebCore::EditorClientGtk::spellingUIIsShowing):
1489 (WebCore::EditorClientGtk::getGuessesForWord):
1490 * WebCoreSupport/EditorClientGtk.h: Renamed from WebCore/platform/gdk/EditorClientGdk.h.
1491 * WebCoreSupport/FrameLoaderClientGtk.cpp: Renamed from WebCore/loader/gdk/FrameLoaderClientGdk.cpp.
1492 (WebCore::FrameLoaderClientGtk::FrameLoaderClientGtk):
1493 (WebCore::FrameLoaderClientGtk::userAgent):
1494 (WebCore::FrameLoaderClientGtk::createDocumentLoader):
1495 (WebCore::FrameLoaderClientGtk::dispatchWillSubmitForm):
1496 (WebCore::FrameLoaderClientGtk::committedLoad):
1497 (WebCore::FrameLoaderClientGtk::dispatchDidReceiveAuthenticationChallenge):
1498 (WebCore::FrameLoaderClientGtk::dispatchDidCancelAuthenticationChallenge):
1499 (WebCore::FrameLoaderClientGtk::dispatchWillSendRequest):
1500 (WebCore::FrameLoaderClientGtk::assignIdentifierToInitialRequest):
1501 (WebCore::FrameLoaderClientGtk::postProgressStartedNotification):
1502 (WebCore::FrameLoaderClientGtk::postProgressEstimateChangedNotification):
1503 (WebCore::FrameLoaderClientGtk::postProgressFinishedNotification):
1504 (WebCore::FrameLoaderClientGtk::frameLoaderDestroyed):
1505 (WebCore::FrameLoaderClientGtk::dispatchDidReceiveResponse):
1506 (WebCore::FrameLoaderClientGtk::dispatchDecidePolicyForMIMEType):
1507 (WebCore::FrameLoaderClientGtk::dispatchDecidePolicyForNewWindowAction):
1508 (WebCore::FrameLoaderClientGtk::dispatchDecidePolicyForNavigationAction):
1509 (WebCore::FrameLoaderClientGtk::createPlugin):
1510 (WebCore::FrameLoaderClientGtk::createFrame):
1511 (WebCore::FrameLoaderClientGtk::redirectDataToPlugin):
1512 (WebCore::FrameLoaderClientGtk::createJavaAppletWidget):
1513 (WebCore::FrameLoaderClientGtk::objectContentType):
1514 (WebCore::FrameLoaderClientGtk::overrideMediaType):
1515 (WebCore::FrameLoaderClientGtk::windowObjectCleared):
1516 (WebCore::FrameLoaderClientGtk::setMainFrameDocumentReady):
1517 (WebCore::FrameLoaderClientGtk::hasWebView):
1518 (WebCore::FrameLoaderClientGtk::hasFrameView):
1519 (WebCore::FrameLoaderClientGtk::dispatchDidFinishLoad):
1520 (WebCore::FrameLoaderClientGtk::frameLoadCompleted):
1521 (WebCore::FrameLoaderClientGtk::saveViewStateToItem):
1522 (WebCore::FrameLoaderClientGtk::restoreViewState):
1523 (WebCore::FrameLoaderClientGtk::shouldGoToHistoryItem):
1524 (WebCore::FrameLoaderClientGtk::privateBrowsingEnabled):
1525 (WebCore::FrameLoaderClientGtk::makeDocumentView):
1526 (WebCore::FrameLoaderClientGtk::makeRepresentation):
1527 (WebCore::FrameLoaderClientGtk::forceLayout):
1528 (WebCore::FrameLoaderClientGtk::forceLayoutForNonHTML):
1529 (WebCore::FrameLoaderClientGtk::setCopiesOnScroll):
1530 (WebCore::FrameLoaderClientGtk::detachedFromParent1):
1531 (WebCore::FrameLoaderClientGtk::detachedFromParent2):
1532 (WebCore::FrameLoaderClientGtk::detachedFromParent3):
1533 (WebCore::FrameLoaderClientGtk::detachedFromParent4):
1534 (WebCore::FrameLoaderClientGtk::loadedFromCachedPage):
1535 (WebCore::FrameLoaderClientGtk::dispatchDidHandleOnloadEvents):
1536 (WebCore::FrameLoaderClientGtk::dispatchDidReceiveServerRedirectForProvisionalLoad):
1537 (WebCore::FrameLoaderClientGtk::dispatchDidCancelClientRedirect):
1538 (WebCore::FrameLoaderClientGtk::dispatchWillPerformClientRedirect):
1539 (WebCore::FrameLoaderClientGtk::dispatchDidChangeLocationWithinPage):
1540 (WebCore::FrameLoaderClientGtk::dispatchWillClose):
1541 (WebCore::FrameLoaderClientGtk::dispatchDidReceiveIcon):
1542 (WebCore::FrameLoaderClientGtk::dispatchDidStartProvisionalLoad):
1543 (WebCore::FrameLoaderClientGtk::dispatchDidReceiveTitle):
1544 (WebCore::FrameLoaderClientGtk::dispatchDidCommitLoad):
1545 (WebCore::FrameLoaderClientGtk::dispatchDidFinishDocumentLoad):
1546 (WebCore::FrameLoaderClientGtk::dispatchDidFirstLayout):
1547 (WebCore::FrameLoaderClientGtk::dispatchShow):
1548 (WebCore::FrameLoaderClientGtk::cancelPolicyCheck):
1549 (WebCore::FrameLoaderClientGtk::dispatchDidLoadMainResource):
1550 (WebCore::FrameLoaderClientGtk::revertToProvisionalState):
1551 (WebCore::FrameLoaderClientGtk::clearUnarchivingState):
1552 (WebCore::FrameLoaderClientGtk::willChangeTitle):
1553 (WebCore::FrameLoaderClientGtk::didChangeTitle):
1554 (WebCore::FrameLoaderClientGtk::finishedLoading):
1555 (WebCore::FrameLoaderClientGtk::finalSetupForReplace):
1556 (WebCore::FrameLoaderClientGtk::setDefersLoading):
1557 (WebCore::FrameLoaderClientGtk::isArchiveLoadPending):
1558 (WebCore::FrameLoaderClientGtk::cancelPendingArchiveLoad):
1559 (WebCore::FrameLoaderClientGtk::clearArchivedResources):
1560 (WebCore::FrameLoaderClientGtk::canHandleRequest):
1561 (WebCore::FrameLoaderClientGtk::canShowMIMEType):
1562 (WebCore::FrameLoaderClientGtk::representationExistsForURLScheme):
1563 (WebCore::FrameLoaderClientGtk::generatedMIMETypeForURLScheme):
1564 (WebCore::FrameLoaderClientGtk::provisionalLoadStarted):
1565 (WebCore::FrameLoaderClientGtk::didFinishLoad):
1566 (WebCore::FrameLoaderClientGtk::prepareForDataSourceReplacement):
1567 (WebCore::FrameLoaderClientGtk::setTitle):
1568 (WebCore::FrameLoaderClientGtk::setDocumentViewFromCachedPage):
1569 (WebCore::FrameLoaderClientGtk::dispatchDidReceiveContentLength):
1570 (WebCore::FrameLoaderClientGtk::dispatchDidFinishLoading):
1571 (WebCore::FrameLoaderClientGtk::dispatchDidFailLoading):
1572 (WebCore::FrameLoaderClientGtk::dispatchDidLoadResourceFromMemoryCache):
1573 (WebCore::FrameLoaderClientGtk::dispatchDidFailProvisionalLoad):
1574 (WebCore::FrameLoaderClientGtk::dispatchDidFailLoad):
1575 (WebCore::FrameLoaderClientGtk::download):
1576 (WebCore::FrameLoaderClientGtk::cancelledError):
1577 (WebCore::FrameLoaderClientGtk::blockedError):
1578 (WebCore::FrameLoaderClientGtk::cannotShowURLError):
1579 (WebCore::FrameLoaderClientGtk::interruptForPolicyChangeError):
1580 (WebCore::FrameLoaderClientGtk::cannotShowMIMETypeError):
1581 (WebCore::FrameLoaderClientGtk::fileDoesNotExistError):
1582 (WebCore::FrameLoaderClientGtk::shouldFallBack):
1583 (WebCore::FrameLoaderClientGtk::willUseArchive):
1584 (WebCore::FrameLoaderClientGtk::saveDocumentViewToCachedPage):
1585 (WebCore::FrameLoaderClientGtk::canCachePage):
1586 (WebCore::FrameLoaderClientGtk::dispatchCreatePage):
1587 (WebCore::FrameLoaderClientGtk::dispatchUnableToImplementPolicy):
1588 * WebCoreSupport/FrameLoaderClientGtk.h: Renamed from WebCore/loader/gdk/FrameLoaderClientGdk.h.
1589 (WebCore::FrameLoaderClientGtk::~FrameLoaderClientGtk):
1590 (WebCore::FrameLoaderClientGtk::webFrame):
1591 * WebCoreSupport/InspectorClientGtk.cpp: Renamed from WebCore/page/gdk/InspectorClientGdk.cpp.
1592 (WebCore::InspectorClientGtk::inspectorDestroyed):
1593 (WebCore::InspectorClientGtk::createPage):
1594 (WebCore::InspectorClientGtk::showWindow):
1595 (WebCore::InspectorClientGtk::closeWindow):
1596 (WebCore::InspectorClientGtk::attachWindow):
1597 (WebCore::InspectorClientGtk::detachWindow):
1598 (WebCore::InspectorClientGtk::highlight):
1599 (WebCore::InspectorClientGtk::hideHighlight):
1600 (WebCore::InspectorClientGtk::inspectedURLChanged):
1601 * WebCoreSupport/InspectorClientGtk.h: Renamed from WebCore/page/gdk/InspectorClientGdk.h.
1603 2007-08-10 Holger Hans Peter Freyther <zecke@selfish.org>
1607 * Api/webkitgtkframe.cpp:
1609 2007-08-10 Holger Hans Peter Freyther <zecke@selfish.org>
1613 Remove the create_frame virtual method of WebKitGtkPage. This method was inspired
1614 by the Qt port but to be useful for reimplementations WebKitGtkFrameData would need
1615 to export/expose WebCore types. WebView doesn't offer such a method so I decided to
1617 Add a internal constructor to WebKitGtkFrame to be used for constructing Sub-Frames. This
1618 is currently used by FrameLoaderClientGdk::createFrame.
1620 * Api/webkitgtkframe.cpp:
1621 * Api/webkitgtkframedata.cpp: Removed.
1622 * Api/webkitgtkframedata.h: Removed.
1623 * Api/webkitgtkpage.cpp:
1624 * Api/webkitgtkpage.h:
1625 * Api/webkitgtkprivate.h:
1627 2007-08-10 Holger Hans Peter Freyther <zecke@selfish.org>
1631 Follow the changes of ScrollView in WebCore and call setContainingWindow, set the
1632 GtkAdjustment of the GtkLayout and reimplement the set_scroll_adjustments method and pass
1633 the GtkAdjustments to ScrollView.
1634 This makes having one GdkWindow for the complete FrameTree possible.
1637 * gtk/Api/webkitgtkframe.cpp:
1638 * gtk/Api/webkitgtkpage.cpp:
1640 2007-08-08 Holger Hans Peter Freyther <zecke@selfish.org>
1644 We only need to set the Settings of the Page once so do it in
1645 WebKitGtkPage instead of WebKitGtkFrame.
1647 * gtk/Api/webkitgtkframe.cpp:
1648 * gtk/Api/webkitgtkpage.cpp:
1650 2007-08-08 Holger Hans Peter Freyther <zecke@selfish.org>
1654 Instead of reimplementing the general event method, reimplement
1655 the specific mouse, expose, keyboard event methods.
1657 Call the finalize implementation of the base class from WebKitGtkPage
1660 * gtk/Api/webkitgtkframe.cpp:
1661 * gtk/Api/webkitgtkpage.cpp:
1663 2007-08-08 Holger Hans Peter Freyther <zecke@selfish.org>
1667 Remove the custom painting in favor of the Widget::paint
1670 * gtk/Api/webkitgtkpage.cpp:
1672 2007-08-08 Holger Hans Peter Freyther <zecke@selfish.org>
1676 Moved code from class FrameGdk into WebKitGtkFrame. Update the
1677 webkitgrkprivate.h header file to not include FrameGdk.h.
1679 * gtk/Api/webkitgtkframe.cpp:
1680 * gtk/Api/webkitgtkprivate.h:
1682 2007-08-08 Holger Hans Peter Freyther <zecke@selfish.org>
1686 Change variable names to follow the Coding-Style. Replace occurences
1687 of a_b with aB and place the '*' correctly.
1689 * gtk/Api/webkitgtkframe.cpp:
1690 * gtk/Api/webkitgtkpage.cpp:
1691 * gtk/Api/webkitgtkprivate.h:
1693 2007-08-08 Holger Hans Peter Freyther <zecke@selfish.org>
1697 Reimplement GtkWidget::event and handle the keyboard and mouse
1698 events inside WebKitGtkPage.
1700 * gtk/Api/webkitgtkpage.cpp:
1701 (FrameGdkExposeData::frame_gdk_expose_child):
1702 (FrameGdkExposeData::webkit_gtk_page_rendering_area_handle_gdk_event):
1703 (FrameGdkExposeData::webkit_gtk_page_register_rendering_area_events):
1704 (FrameGdkExposeData::webkit_gtk_page_class_init):
1706 2007-08-07 Xan Lopez <xan@gnome.org>
1708 Reviewed by Mark Rowe.
1710 http://bugs.webkit.org/show_bug.cgi?id=14815
1711 [gtk] API implementation: reload
1713 * gtk/Api/webkitgtkpage.cpp: Implement the webkit_gtk_page_reload()
1716 2007-07-30 Diego Escalante Urrelo <diegoe@gnome.org>
1720 http://bugs.webkit.org/show_bug.cgi?id=14806
1721 Implement can_go_backward and can_go_forward in webkitgtkpage.cpp
1723 * gtk/Api/webkitgtkpage.cpp: Implement webkit_gtk_page_can_go_backward() and
1724 webkit_gtk_page_can_go_forward() functions.
1726 2007-07-30 Diego Escalante Urrelo <diegoe@gnome.org>
1728 Reviewed by Alp Toker.
1730 http://bugs.webkit.org/show_bug.cgi?id=14810
1731 Bad n_params on load_finished's g_signal_new in webkitgtkpage.cpp
1733 This is the proper fix for #14810.
1735 * gtk/Api/webkitgtkframe.cpp:
1736 * gtk/Api/webkitgtkpage.cpp: Fix the marshaller type of the "load_finished" signal and
1737 correct the class_offset parameters.
1739 2007-07-29 Diego Escalante Urrelo <diegoe@gnome.org>
1741 Reviewed by Alp Toker.
1743 http://bugs.webkit.org/show_bug.cgi?id=14810
1744 Bad n_params on load_finished's g_signal_new in webkitgtkpage.cpp
1746 * gtk/Api/webkitgtkpage.cpp: Use a correct n_params value and the corresponding types for
1747 them in the "load_finished" signal.
1749 2007-07-22 Holger Hans Peter Freyther <zecke@selfish.org>
1753 Add the first API and partial implementation of the WebKit/Gtk port as
1754 of http://bugs.webkit.org/show_bug.cgi?id=14678.
1756 The delegates of WebView will be modeled as signals. Delegates like the
1757 WebPolicyDelegate will be implemented as signals with default handlers.
1759 Start moving files to WebKit/gtk/WebCoreSupport.
1763 * gtk/Api/headers.pri: Added.
1764 * gtk/Api/webkitgtk-marshal.list: Added.
1765 * gtk/Api/webkitgtkdefines.h: Added.
1766 * gtk/Api/webkitgtkframe.cpp: Added.
1767 * gtk/Api/webkitgtkframe.h: Added.
1768 * gtk/Api/webkitgtkframedata.cpp: Added.
1769 * gtk/Api/webkitgtkframedata.h: Added.
1770 * gtk/Api/webkitgtkglobal.cpp: Added.
1771 * gtk/Api/webkitgtkglobal.h: Added.
1772 * gtk/Api/webkitgtknetworkrequest.cpp: Added.
1773 * gtk/Api/webkitgtknetworkrequest.h: Added.
1774 * gtk/Api/webkitgtkpage.cpp: Added.
1775 * gtk/Api/webkitgtkpage.h: Added.
1776 * gtk/Api/webkitgtkprivate.cpp: Added.
1777 * gtk/Api/webkitgtkprivate.h: Added.
1778 * gtk/Api/webkitgtksettings.cpp: Added.
1779 * gtk/Api/webkitgtksettings.h: Added.
1780 * gtk/WebCoreSupport: Added.
1781 * gtk/WebCoreSupport/ChromeClientGdk.cpp: Added.
1782 (WebCore::ChromeClientGdk::ChromeClientGdk):
1783 (WebCore::ChromeClientGdk::chromeDestroyed):
1784 (WebCore::ChromeClientGdk::windowRect):
1785 (WebCore::ChromeClientGdk::setWindowRect):
1786 (WebCore::ChromeClientGdk::pageRect):
1787 (WebCore::ChromeClientGdk::scaleFactor):
1788 (WebCore::ChromeClientGdk::focus):
1789 (WebCore::ChromeClientGdk::unfocus):
1790 (WebCore::ChromeClientGdk::createWindow):
1791 (WebCore::ChromeClientGdk::createModalDialog):
1792 (WebCore::ChromeClientGdk::show):
1793 (WebCore::ChromeClientGdk::canRunModal):
1794 (WebCore::ChromeClientGdk::runModal):
1795 (WebCore::ChromeClientGdk::setToolbarsVisible):
1796 (WebCore::ChromeClientGdk::toolbarsVisible):
1797 (WebCore::ChromeClientGdk::setStatusbarVisible):
1798 (WebCore::ChromeClientGdk::statusbarVisible):
1799 (WebCore::ChromeClientGdk::setScrollbarsVisible):
1800 (WebCore::ChromeClientGdk::scrollbarsVisible):
1801 (WebCore::ChromeClientGdk::setMenubarVisible):
1802 (WebCore::ChromeClientGdk::menubarVisible):
1803 (WebCore::ChromeClientGdk::setResizable):
1804 (WebCore::ChromeClientGdk::closeWindowSoon):
1805 (WebCore::ChromeClientGdk::canTakeFocus):
1806 (WebCore::ChromeClientGdk::takeFocus):
1807 (WebCore::ChromeClientGdk::canRunBeforeUnloadConfirmPanel):
1808 (WebCore::ChromeClientGdk::runBeforeUnloadConfirmPanel):
1809 (WebCore::ChromeClientGdk::addMessageToConsole):
1810 (WebCore::ChromeClientGdk::runJavaScriptAlert):
1811 (WebCore::ChromeClientGdk::runJavaScriptConfirm):
1812 (WebCore::ChromeClientGdk::runJavaScriptPrompt):
1813 (WebCore::ChromeClientGdk::setStatusbarText):
1814 (WebCore::ChromeClientGdk::shouldInterruptJavaScript):
1815 (WebCore::ChromeClientGdk::tabsToLinks):
1816 (WebCore::ChromeClientGdk::windowResizerRect):
1817 (WebCore::ChromeClientGdk::addToDirtyRegion):
1818 (WebCore::ChromeClientGdk::scrollBackingStore):
1819 (WebCore::ChromeClientGdk::updateBackingStore):
1820 (WebCore::ChromeClientGdk::mouseDidMoveOverElement):
1821 (WebCore::ChromeClientGdk::setToolTip):
1822 (WebCore::ChromeClientGdk::print):
1823 * gtk/WebCoreSupport/ChromeClientGdk.h: Added.