2007-12-02 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
[WebKit-https.git] / WebKit / gtk / ChangeLog
1 2007-12-03  Alp Toker  <alp@atoker.com>
2
3         globalObject() GTK+ build fix.
4
5         * WebCoreSupport/FrameLoaderClientGtk.cpp:
6         (WebKit::FrameLoaderClient::windowObjectCleared):
7
8 2007-12-03  Geoffrey Garen  <ggaren@apple.com>
9
10         GTK Build fix: get globalExec from the right place.
11
12         * WebView/webkitwebframe.cpp:
13
14 2007-12-01  Alp Toker  <alp@atoker.com>
15
16         Reviewed by Adam Roben.
17
18         Wrap type definitions in webkitdefines.h with G_BEGIN_DECLS, which
19         takes care of extern "C".
20
21         Introduce a webkit.h convenience header.
22
23         Remove another left-over from the old API.
24
25         * WebView/headers.pri:
26         * WebView/webkit.h: Added.
27         * WebView/webkitdefines.h:
28
29 2007-12-01  Alp Toker  <alp@atoker.com>
30
31         Reviewed by Adam Roben.
32
33         http://bugs.webkit.org/show_bug.cgi?id=15687
34         [Gtk] Allow API clients to interact with JavaScript in web pages
35
36         Include the necessary JavaScriptCore headers directly in the public
37         API headers.
38
39         This is the last of a series of changes needed to allow GTK+
40         applications to access the JS API.
41
42         Until http://bugs.webkit.org/show_bug.cgi?id=16029 is resolved,
43         developers will still have to include the individual JS API headers
44         individually if they want to use it in their applications.
45
46         Patch also removes some old legacy use of GDK that was in
47         WebKitWebFrame. No ABI change.
48
49         * WebView/webkitdefines.h:
50         * WebView/webkitwebframe.h:
51         * WebView/webkitwebview.h:
52
53 2007-11-30  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
54
55         Fix for GTK+ Debug build breakage introduced in r28273.
56
57         * WebView/webkitprivate.cpp:
58         (WebKit::kit):
59
60 2007-11-30  Alp Toker  <alp@atoker.com>
61
62         Reviewed by Adam Roben.
63
64         http://bugs.webkit.org/show_bug.cgi?id=15691
65         [GTK] Public API does not follow GTK+ conventions
66
67         Refactor the WebKit/GTK+ public API. Changes:
68           WebKitPage -> WebKitWebView
69           WebKitFrame -> WebKitWebFrame
70
71         Public API source and header names have been updated to mirror the API
72         changes.
73
74         The API is now kept in WebKit/gtk/WebView to match other ports in the
75         same class such as Mac and Win.
76
77         API/ABI-breaking change.
78
79         * Api: Removed.
80         * Api/headers.pri: Removed.
81         * Api/webkitgtk-marshal.list: Removed.
82         * Api/webkitgtkdefines.h: Removed.
83         * Api/webkitgtkframe.cpp: Removed.
84         * Api/webkitgtkframe.h: Removed.
85         * Api/webkitgtkglobal.cpp: Removed.
86         * Api/webkitgtkglobal.h: Removed.
87         * Api/webkitgtknetworkrequest.cpp: Removed.
88         * Api/webkitgtknetworkrequest.h: Removed.
89         * Api/webkitgtkpage.cpp: Removed.
90         * Api/webkitgtkpage.h: Removed.
91         * Api/webkitgtkprivate.cpp: Removed.
92         * Api/webkitgtkprivate.h: Removed.
93         * Api/webkitgtksettings.cpp: Removed.
94         * Api/webkitgtksettings.h: Removed.
95         * WebCoreSupport/ChromeClientGtk.cpp:
96         (WebKit::ChromeClient::ChromeClient):
97         (WebKit::ChromeClient::createWindow):
98         * WebCoreSupport/ChromeClientGtk.h:
99         (WebKit::ChromeClient::webPage):
100         * WebCoreSupport/EditorClientGtk.cpp:
101         (WebKit::EditorClient::isEditable):
102         (WebKit::EditorClient::EditorClient):
103         * WebCoreSupport/EditorClientGtk.h:
104         * WebCoreSupport/FrameLoaderClientGtk.cpp:
105         (WebKit::FrameLoaderClient::FrameLoaderClient):
106         (WebKit::FrameLoaderClient::postProgressStartedNotification):
107         (WebKit::FrameLoaderClient::postProgressEstimateChangedNotification):
108         (WebKit::FrameLoaderClient::postProgressFinishedNotification):
109         (WebKit::FrameLoaderClient::dispatchDecidePolicyForNavigationAction):
110         (WebKit::FrameLoaderClient::createFrame):
111         (WebKit::FrameLoaderClient::windowObjectCleared):
112         (WebKit::FrameLoaderClient::dispatchDidReceiveIcon):
113         (WebKit::FrameLoaderClient::setTitle):
114         * WebCoreSupport/FrameLoaderClientGtk.h:
115         (WebKit::FrameLoaderClient::webFrame):
116         * WebView: Added.
117         * WebView/headers.pri: Added.
118         * WebView/webkit-marshal.list: Added.
119         * WebView/webkitdefines.h: Added.
120         * WebView/webkitglobal.cpp: Added.
121         * WebView/webkitglobal.h: Added.
122         * WebView/webkitnetworkrequest.cpp: Added.
123         * WebView/webkitnetworkrequest.h: Added.
124         * WebView/webkitprivate.cpp: Added.
125         (WebKit::apply):
126         (WebKit::create):
127         (WebKit::getFrameFromView):
128         (WebKit::getViewFromFrame):
129         (WebKit::core):
130         (WebKit::kit):
131         * WebView/webkitprivate.h: Added.
132         * WebView/webkitsettings.cpp: Added.
133         * WebView/webkitsettings.h: Added.
134         * WebView/webkitwebframe.cpp: Added.
135         * WebView/webkitwebframe.h: Added.
136         * WebView/webkitwebview.cpp: Added.
137         * WebView/webkitwebview.h: Added.
138
139 2007-11-28  Alp Toker  <alp@atoker.com>
140
141         Reviewed by Timothy Hatcher.
142
143         http://bugs.webkit.org/show_bug.cgi?id=16174
144         [GTK] Use "URI" not "URL" in public API
145
146         Replace use of the term "URL" with "URI" in public headers,
147         documentation and some internal code to match GLib/GTK+ convention.
148
149         This is now mentioned in the API guidelines:
150           http://trac.webkit.org/projects/webkit/wiki/HackingGtk
151
152         API/ABI-breaking change.
153
154         * Api/webkitgtkframe.cpp:
155         * Api/webkitgtknetworkrequest.cpp:
156         * Api/webkitgtknetworkrequest.h:
157         * Api/webkitgtkpage.cpp:
158         * Api/webkitgtkpage.h:
159         * Api/webkitgtkprivate.h:
160         * Api/webkitgtksettings.h:
161
162 2007-11-29  Brady Eidson  <beidson@apple.com>
163
164         Better build fix for Gtk
165
166         * WebCoreSupport/ChromeClientGtk.h:
167
168 2007-11-29  Brady Eidson  <beidson@apple.com>
169
170         Keep it building with new client method
171
172         * WebCoreSupport/ChromeClientGtk.cpp:
173         (WebKit::ChromeClient::requestQuotaIncreaseForNewDatabase):
174         (WebKit::ChromeClient::requestQuotaIncreaseForDatabaseOperation):
175         * WebCoreSupport/ChromeClientGtk.h:
176
177 2007-11-26  Alp Toker  <alp@atoker.com>
178
179         Reviewed by Adam Roben.
180
181         http://bugs.webkit.org/show_bug.cgi?id=16149
182         Implement the window-object-cleared signal
183
184         This implementation provides the JSGlobalContextRef and JSObjectRef
185         directly rather than using an intermediate JS wrapper object, similar
186         to the approach taken by the Win port.
187
188         * Api/webkitgtk-marshal.list:
189         * Api/webkitgtkframe.h:
190         * Api/webkitgtkpage.cpp:
191         * Api/webkitgtkpage.h:
192         * WebCoreSupport/FrameLoaderClientGtk.cpp:
193         (WebKit::FrameLoaderClient::windowObjectCleared):
194
195 2007-11-24  Alp Toker  <alp@atoker.com>
196
197         Reviewed by Mark Rowe.
198
199         http://bugs.webkit.org/show_bug.cgi?id=15691
200         [GTK] Public API does not follow GTK+ conventions
201
202         Public API enhancements:
203
204         Implement webkit_page_get_editable() and webkit_page_set_editable().
205
206         Implement webkit_frame_get_name().
207
208         Remove definitions for functions that are unusable or not implemented.
209         This has caused much confusion for application developers.
210
211         Improve documentation.
212
213         Correct/constify some return types.
214
215         Add parameter checks.
216
217         Make the default fixed font "Courier New" to match the other Web
218         font names.
219
220         * Api/webkitgtkframe.cpp:
221         * Api/webkitgtkframe.h:
222         * Api/webkitgtkpage.cpp:
223         * Api/webkitgtkpage.h:
224         * Api/webkitgtkprivate.h:
225         * WebCoreSupport/EditorClientGtk.cpp:
226         (WebKit::EditorClient::isEditable):
227
228 2007-11-24  Alp Toker  <alp@atoker.com>
229
230         Reviewed by Mark Rowe.
231
232         http://bugs.webkit.org/show_bug.cgi?id=16125
233         [GTK] Up key doesn't work properly when content is editable
234
235         Add a missing 'break' to avoid falling through to the next case when
236         handling VK_UP keystrokes. This was noticed when working on editing
237         support in the GTK+ port.
238
239         I've checked the other cases for similar typos and they seem fine.
240
241         * WebCoreSupport/EditorClientGtk.cpp:
242         (WebKit::EditorClient::handleKeypress):
243
244 2007-11-24  Xan Lopez  <xan@gnome.org>
245
246         Reviewed by Alp Toker.
247
248         http://bugs.webkit.org/show_bug.cgi?id=15745
249         [GTK] Arrow keys do not Scroll
250         
251         * Api/webkitgtkpage.cpp:
252
253         Support Up/Down/Right/Left keys to scroll. Slight hack, see FIXME for
254         details.
255
256 2007-11-24  Christian Dywan  <christian@twotoasts.de>
257
258         Reviewed by Alp Toker.
259
260         http://bugs.webkit.org/show_bug.cgi?id=15891
261         [GTK] Javascript console and dialogs are not implemented
262
263         Fix call to gtk_message_dialog_new() which expects a format string.
264
265         * Api/webkitgtkpage.cpp:
266
267 2007-11-24  Christian Dywan  <christian@twotoasts.de>
268
269         Reviewed by Alp Toker.
270
271         http://bugs.webkit.org/show_bug.cgi?id=15793
272         [GTK] Webkit doesn't show title attribute tooltip when hovering over an image
273
274         Implement tooltip support using the new Tooltip API.
275
276         Support for older versions of GTK+ is still lacking.
277
278         * WebCoreSupport/ChromeClientGtk.cpp:
279         (WebKit::ChromeClient::setToolTip):
280
281 2007-11-22  Alp Toker  <alp@atoker.com>
282
283         Reviewed by Mark Rowe.
284
285         Implement and document several WebKitFrame functions, some of which
286         are necessary to support DRT.
287
288         Correct NULL handling and improve run-time checks.
289
290         * Api/webkitgtkframe.cpp:
291         * Api/webkitgtkframe.h:
292         * Api/webkitgtkprivate.cpp:
293
294 2007-11-22  Alp Toker  <alp@atoker.com>
295
296         Whitespace fixes only.
297
298         * Api/webkitgtkframe.cpp:
299         * Api/webkitgtkpage.cpp:
300         * Api/webkitgtkpage.h:
301         * Api/webkitgtkprivate.h:
302         * WebCoreSupport/ChromeClientGtk.cpp:
303         * WebCoreSupport/ContextMenuClientGtk.cpp:
304         * WebCoreSupport/ContextMenuClientGtk.h:
305         * WebCoreSupport/DragClientGtk.h:
306         * WebCoreSupport/EditorClientGtk.h:
307         * WebCoreSupport/FrameLoaderClientGtk.cpp:
308         (WebKit::FrameLoaderClient::dispatchWillSendRequest):
309         (WebKit::FrameLoaderClient::assignIdentifierToInitialRequest):
310         (WebKit::FrameLoaderClient::postProgressEstimateChangedNotification):
311         (WebKit::FrameLoaderClient::createFrame):
312         (WebKit::FrameLoaderClient::createJavaAppletWidget):
313         (WebKit::FrameLoaderClient::registerForIconNotification):
314         (WebKit::FrameLoaderClient::setMainFrameDocumentReady):
315         (WebKit::FrameLoaderClient::dispatchDidFinishLoad):
316         (WebKit::FrameLoaderClient::frameLoadCompleted):
317         (WebKit::FrameLoaderClient::saveViewStateToItem):
318         (WebKit::FrameLoaderClient::restoreViewState):
319         (WebKit::FrameLoaderClient::shouldGoToHistoryItem):
320         (WebKit::FrameLoaderClient::setTitle):
321         * WebCoreSupport/FrameLoaderClientGtk.h:
322
323 2007-11-22  Michael Natterer  <mitch@imendio.com>
324
325         Reviewed by Alp Toker.
326
327         http://bugs.webkit.org/show_bug.cgi?id=15984
328         Implement "navigation-requested" signal for WebKit Gtk
329
330         * Api/webkitgtknetworkrequest.h: fix parent class member.
331
332         * Api/webkitgtknetworkrequest.cpp
333         * Api/webkitgtkprivate.h: basic implementation featuring an
334         "url" member and API.
335
336         * Api/webkitgtkdefines.h: added network request typedefs.
337
338         * Api/webkitgtkpage.h: fix enum name:
339         s/WEBKIT_NAVIGATION_REQUEST_RESPONSE/WebKitNavigationRequestResponse/
340         and sanitized enum values.
341
342         * Api/webkitgtkpage.cpp: made "navigation-requested" a signal.
343
344         * Api/webkitgtk-marshal.list: added INT:OBJECT,OBJECT
345
346         * WebCoreSupport/FrameLoaderClientGtk.cpp: emit the new signal in
347         dispatchDecidePolicyForNavigationAction().
348
349 2007-11-18  Christian Dywan  <christian@twotoasts.de>
350
351         Reviewed by Alp.
352
353         http://bugs.webkit.org/show_bug.cgi?id=15891
354         [GTK] Javascript console and dialogs are not implemented
355
356         Correct script-prompt to return NULL when cancelled.
357
358         Small changes to avoid compiler warnings.
359
360         * Api/webkitgtkpage.cpp:
361
362 2007-11-17  Timothy Hatcher  <timothy@apple.com>
363
364         Reviewed by Mark Rowe.
365
366         Bug 13470: i18n: The Web Inspector is not localizable
367         http://bugs.webkit.org/show_bug.cgi?id=13470
368
369         * WebCoreSupport/InspectorClientGtk.cpp:
370         (WebKit::InspectorClient::localizedStringsURL): Empty stub.
371         * WebCoreSupport/InspectorClientGtk.h: Add localizedStringsURL.
372
373 2007-11-13  Mark Rowe  <mrowe@apple.com>
374
375         Gtk build fix. Replace incorrect use of the LOG macro with g_print.
376
377         * Api/webkitgtkpage.cpp:
378
379 2007-11-13  Christian Dywan  <christian@twotoasts.de>
380
381         Reviewed by Alp.
382
383         http://bugs.webkit.org/show_bug.cgi?id=15891
384         [GTK] Javascript console and dialogs are not implemented
385
386         Implement signals for script dialogs and console messages.
387
388         * Api/webkitgtk-marshal.list:
389         * Api/webkitgtkpage.cpp:
390         * Api/webkitgtkpage.h:
391         * WebCoreSupport/ChromeClientGtk.cpp:
392         (WebKit::ChromeClient::addMessageToConsole):
393         (WebKit::ChromeClient::runJavaScriptAlert):
394         (WebKit::ChromeClient::runJavaScriptConfirm):
395         (WebKit::ChromeClient::runJavaScriptPrompt):
396
397 2007-11-11  Alp Toker  <alp@atoker.com>
398
399         Reviewed by Anders.
400
401         Initialize m_userAgent.
402
403         Fix typos in GDK_WINDOWING conditionals.
404
405         * WebCoreSupport/FrameLoaderClientGtk.cpp:
406         (WebKit::FrameLoaderClient::FrameLoaderClient):
407         (WebKit::agentPlatform):
408
409 2007-11-11  Alp Toker  <alp@atoker.com>
410
411         Reviewed by Mark Rowe.
412
413         Mention Safari in the UserAgent string to improve site compatibility.
414
415         Also bump the hard-coded AppleWebKit version number.
416
417         * WebCoreSupport/FrameLoaderClientGtk.cpp:
418         (WebKit::composeUserAgent):
419
420 2007-11-09  Xan Lopez  <xan@gnome.org>
421
422         Reviewed by Alp.
423
424         Fix http://bugs.webkit.org/show_bug.cgi?id=15926
425         [GTK] WebKitPage map handler is redundant.
426
427         * Api/webkitgtkpage.cpp:
428         The map handler for WebKitPage is redundant, GtkContainer does
429         the same (and more correctly).
430
431 2007-11-08  Alp Toker  <alp@atoker.com>
432
433         Reviewed by Mark Rowe.
434
435         http://bugs.webkit.org/show_bug.cgi?id=15653
436         [GTK] Text editor does not handle common keystrokes
437
438         Handle more keystrokes in EditorClientGtk. Note that this is a
439         temporary measure pending a proper solution using GtkBindingSet (see
440         http://bugs.webkit.org/show_bug.cgi?id=15911).
441
442         * WebCoreSupport/EditorClientGtk.cpp:
443         (WebKit::EditorClient::handleKeypress):
444
445 2007-11-08  Kevin McCullough  <kmccullough@apple.com>
446
447         Reviewed by Sam.
448
449         - windowObjectCleared() is no longer const.  It needs to setup the
450         script debugger and cannot be const to do so.
451
452         * WebCoreSupport/FrameLoaderClientGtk.cpp:
453         (WebKit::FrameLoaderClient::windowObjectCleared):
454         * WebCoreSupport/FrameLoaderClientGtk.h:
455
456 2007-11-06  Rodney Dawes  <dobey@wayofthemonkey.com>
457
458         Fix http://bugs.webkit.org/attachment.cgi?id=17043&action=view
459         Bug 15766: [GTK] WebKit sometimes spews binary data as text/plain into iframes
460
461         FrameLoaderClient::objectContentType needs to check with the MIMETypeRegistry
462         to determine whether the given MIME type is displayable as an image or non-image.
463
464         * WebCoreSupport/FrameLoaderClientGtk.cpp:
465         (FrameLoaderClient::objectContentType): Change logic to match that in
466         the Windows and Mac ports.
467
468 2007-11-05  Christian Dywan  <christian@twotoasts.de>
469
470         Reviewed by Maciej.
471
472         http://bugs.webkit.org/show_bug.cgi?id=15409
473         FrameLoaderClientGtk hardcodes data, including platform to Linux i686
474
475         Compute a proper user agent string.
476
477         Patch includes fixes by Alp.
478
479         * WebCoreSupport/FrameLoaderClientGtk.cpp:
480         (WebKit::agentPlatform):
481         (WebKit::agentOS):
482         (WebKit::composeUserAgent):
483         (WebKit::FrameLoaderClient::userAgent):
484         * WebCoreSupport/FrameLoaderClientGtk.h:
485
486 2007-11-05  Mark Rowe  <mrowe@apple.com>
487
488         Rubber-stamped by Alp Toker.
489
490         Remove unused m_firstData member from FrameLoaderClientGtk.
491
492         * WebCoreSupport/FrameLoaderClientGtk.cpp:
493         * WebCoreSupport/FrameLoaderClientGtk.h:
494
495 2007-11-05  Mark Rowe  <mrowe@apple.com>
496
497         Reviewed by Alp Toker.
498
499         Fix http://bugs.webkit.org/show_bug.cgi?id=15842
500         Bug 15842: [Gtk] about:blank doesn't work
501
502         * WebCoreSupport/FrameLoaderClientGtk.cpp:
503         (WebKit::FrameLoaderClient::finishedLoading): Set the encoding on the frame loader to
504         get work done that is normally done when the first bit of data is received, even in the
505         case of a document with no data (like about:blank).
506
507 2007-11-03  Alp Toker  <alp@atoker.com>
508
509         Reviewed by Mark Rowe.
510
511         Restore correct double and triple click behaviour
512
513         We ended up ignoring GDK_2BUTTON_PRESS and GDK_3BUTTON_PRESS after
514         recent refactoring.
515
516         * Api/webkitgtkpage.cpp:
517
518 2007-11-03  Alp Toker  <alp@atoker.com>
519
520         Reviewed by Mark Rowe.
521
522         Frame scrolling and invalidation fixes
523
524         Make upward scroll events have a positive delta to match other ports.
525
526         Fix the invalidation rect offset for frames so that scrolling works properly.
527
528         Avoid allocating negative sizes to widgets to avoid GTK+ warnings.
529
530         Allow tabbing to all widgets and links.
531
532         Fix event returns, improving the focus situation and correcting scroll wheel
533         behavior.
534
535         * Api/webkitgtkpage.cpp:
536         * WebCoreSupport/ChromeClientGtk.cpp:
537
538 2007-10-29  Alp Toker  <alp@atoker.com>
539
540         Reviewed by Maciej.
541
542         Do not allow control to reach end of non-void functions
543
544         * Api/webkitgtksettings.cpp:
545
546 2007-10-28  Lars Lindner  <lars.lindner@gmail.com>
547
548         Reviewed by Alp.
549
550         http://bugs.webkit.org/show_bug.cgi?id=15466
551         [gtk] widget does not take focus on mouse click
552
553         Grab widget focus in mouse press callback.
554
555         * Api/webkitgtkpage.cpp:
556
557 2007-10-25  Alp Toker  <alp@atoker.com>
558
559         Reviewed by Brady.
560
561         http://bugs.webkit.org/show_bug.cgi?id=15686
562         GtkLauncher aborts on launch due to uninitialized threading subsystem
563
564         Re-enable database support in the GTK+ port, with a fix.
565
566         Initialize GLib threading as early as possible.
567
568         * Api/webkitgtkglobal.cpp:
569
570 2007-10-25  Alp Toker  <alp@atoker.com>
571
572         Unreviewed fix to make the GTK+ port run.
573
574         http://bugs.webkit.org/show_bug.cgi?id=15686
575         GtkLauncher aborts on launch due to uninitialized threading subsystem
576
577         http://bugs.webkit.org/show_bug.cgi?id=15688
578         [GTK] Make it possible to disable database support
579
580         Make database path initialization conditional on database support
581         being enabled.
582
583         * Api/webkitgtkglobal.cpp:
584
585 2007-10-24  Mark Rowe  <mrowe@apple.com>
586
587         Gtk build fix.  Track WebCore changes in r27004.
588
589         * Api/webkitgtkglobal.cpp:
590
591 2007-10-22  Alp Toker  <alp@atoker.com>
592
593         Reviewed by Mark Rowe.
594
595         http://bugs.webkit.org/show_bug.cgi?id=15611
596         [GTK] Text selection behaviour different in Debug and Release builds
597
598         http://bugs.webkit.org/show_bug.cgi?id=15578
599         [GTK] Text editor caret does not blink
600
601         Never allow control to reach the end of non-void functions.
602
603         Return more sensible values, or in some cases, nulls.
604
605         * Api/webkitgtksettings.cpp:
606         * Api/webkitgtksettings.h:
607         * WebCoreSupport/DragClientGtk.cpp:
608         (WebKit::DragClient::actionMaskForDrag):
609         (WebKit::DragClient::dragSourceActionMaskForPoint):
610         (WebKit::DragClient::createDragImageForLink):
611
612 2007-10-20  Mark Rowe  <mrowe@apple.com>
613
614         Reviewed by Alp.
615
616         Gtk changes needed to enable HTML 5 client-side database storage.
617
618         * Api/webkitgtkglobal.cpp: Set a default database path based on the user data directory.
619         This should become configurable by client applications in the future.
620
621 2007-10-20  Mark Rowe  <mrowe@apple.com>
622
623         Reviewed by Eric.
624
625         Don't allow control characters to be inserted into editable regions.
626
627         * WebCoreSupport/EditorClientGtk.cpp:
628         (WebKit::EditorClient::handleKeypress):
629
630 2007-10-19  Alp Toker  <alp@atoker.com>
631
632         Reviewed by Oliver.
633
634         GTK+ build fix enabling the new local database storage feature.
635         There is also a prospective Qt build fix.
636
637         * WebCoreSupport/ChromeClientGtk.cpp:
638         (WebKit::ChromeClient::runDatabaseSizeLimitPrompt):
639         * WebCoreSupport/ChromeClientGtk.h:
640
641 2007-10-14  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
642
643         Reviewed by Adam.
644
645         http://bugs.webkit.org/show_bug.cgi?id=15299
646         Fix "hovering_over_link" signal not emitted when consecutive links
647         are hovered.
648
649         * WebCoreSupport/ChromeClientGtk.cpp:
650         (WebKit::ChromeClient::mouseDidMoveOverElement):
651         * WebCoreSupport/ChromeClientGtk.h:
652         - Remove m_didSendLinkSignal as it is superseded by m_hoveredLinkURL
653
654 2007-10-10  Alice Liu  <alice.liu@apple.com>
655
656         Reviewed by Geoff Garen.
657
658         changes to keep the build from breaking
659
660         * WebCoreSupport/FrameLoaderClientGtk.cpp:
661         (WebKit::FrameLoaderClient::createFrame):
662         * WebCoreSupport/FrameLoaderClientGtk.h:
663
664 2007-10-03  Alp Toker  <alp@atoker.com>
665
666         Reviewed by Adam.
667
668         http://bugs.webkit.org/show_bug.cgi?id=14726
669         [gtk] API design. Mapping the WebView delegates to signals.
670
671         Change the API namespace of the Gtk+ port from 'WebKitGtk' to 'WebKit'.
672
673         * Api/webkitgtkdefines.h:
674         * Api/webkitgtkframe.cpp:
675         * Api/webkitgtkframe.h:
676         * Api/webkitgtkglobal.cpp:
677         * Api/webkitgtkglobal.h:
678         * Api/webkitgtknetworkrequest.h:
679         * Api/webkitgtkpage.cpp:
680         * Api/webkitgtkpage.h:
681         * Api/webkitgtkprivate.cpp:
682         (WebKit::apply):
683         (WebKit::create):
684         (WebKit::getFrameFromPage):
685         (WebKit::getPageFromFrame):
686         (WebKit::core):
687         (WebKit::kit):
688         * Api/webkitgtkprivate.h:
689         * Api/webkitgtksettings.cpp:
690         * Api/webkitgtksettings.h:
691         * WebCoreSupport/ChromeClientGtk.cpp:
692         (WebKit::ChromeClient::ChromeClient):
693         (WebKit::ChromeClient::createWindow):
694         (WebKit::ChromeClient::addMessageToConsole):
695         (WebKit::ChromeClient::runJavaScriptAlert):
696         (WebKit::ChromeClient::runJavaScriptConfirm):
697         (WebKit::ChromeClient::runJavaScriptPrompt):
698         * WebCoreSupport/ChromeClientGtk.h:
699         (WebKit::ChromeClient::webPage):
700         * WebCoreSupport/EditorClientGtk.cpp:
701         (WebKit::EditorClient::EditorClient):
702         * WebCoreSupport/EditorClientGtk.h:
703         * WebCoreSupport/FrameLoaderClientGtk.cpp:
704         (WebKit::FrameLoaderClient::FrameLoaderClient):
705         (WebKit::FrameLoaderClient::postProgressStartedNotification):
706         (WebKit::FrameLoaderClient::postProgressEstimateChangedNotification):
707         (WebKit::FrameLoaderClient::postProgressFinishedNotification):
708         (WebKit::FrameLoaderClient::createFrame):
709         (WebKit::FrameLoaderClient::dispatchDidReceiveIcon):
710         (WebKit::FrameLoaderClient::setTitle):
711         * WebCoreSupport/FrameLoaderClientGtk.h:
712         (WebKit::FrameLoaderClient::webFrame):
713
714 2007-10-02  Cosimo Cecchi  <cosimoc@svn.gnome.org>
715
716         Reviewed by Mark.
717
718         http://bugs.webkit.org/show_bug.cgi?id=15299
719         Fix "hovering_over_link" signal being fired every time mouse moves.
720
721         * WebCoreSupport/ChromeClientGtk.cpp:
722         (WebKit::ChromeClient::ChromeClient):
723         (WebKit::ChromeClient::mouseDidMoveOverElement):
724         * WebCoreSupport/ChromeClientGtk.h:
725
726 2007-09-21  Sean Egan  <seanegan@gmail.com>
727
728         Reviewed by Alp.
729
730         Add an "execute_script" method to programmatically call Javascript
731         http://bugs.webkit.org/show_bug.cgi?id=15255
732
733         * Api/webkitgtkpage.cpp:
734         * Api/webkitgtkpage.h:
735
736 2007-09-29  Lars Lindner  <lars.lindner@gmail.com>
737
738         Reviewed by Adam.
739
740         ChromeClientGtk.cpp does not implement mouseDidMoveOverElement()
741         http://bugs.webkit.org/show_bug.cgi?id=15299
742
743         Implementing "hovering_over_link" signal.
744
745         * WebCoreSupport/ChromeClientGtk.cpp:
746         (WebKit::ChromeClient::mouseDidMoveOverElement):
747
748 2007-09-26  Mark Rowe  <mrowe@apple.com>
749
750         Gtk build fix.
751
752         * WebCoreSupport/FrameLoaderClientGtk.cpp:  Check for empty URL instead of invalid URL.
753
754 2007-09-17  Holger Hans Peter Freyther  <zecke@selfish.org>
755
756         Reviewed by Adam.
757
758         WebKitGtkPage and WebKitGtkFrame have a dependency on each other. To
759         allow client code to include both headers the typedef's for
760         WebKitGtkFrame, WebKitGtkPage, WebKitGtkFrameData and WebKitGtkNetworkRequest
761         are moved into webkitgtkdefines.h and included by both webkitgtkpage.h and
762         webkitgtkframe.h
763
764         * Api/webkitgtkdefines.h:
765         * Api/webkitgtkframe.h:
766         * Api/webkitgtkpage.h:
767
768 2007-09-17  Cyril Brulebois  <cyril.brulebois@enst-bretagne.fr>
769
770         Reviewed by Mark, some Coding Style changes by Holger.
771
772         This is from http://bugs.webkit.org/show_bug.cgi?id=14812.
773
774         Add title and location to WebKitGtkFramePrivate, add
775         webkit_gtk_frame_get_location to the WebKitGtkFrame API as well
776         as a title_changed callback, implement
777         webkit_gtk_frame_get_title and webkit_gtk_frame_get_location.
778
779         Initial patch by Diego Escalante Urrelo.
780
781         * Api/webkitgtkframe.cpp:
782         * Api/webkitgtkframe.h:
783         * Api/webkitgtkprivate.h:
784
785 2007-09-15  Holger Hans Peter Freyther  <zecke@selfish.org>
786
787         Reviewed by Mark.
788
789         Use the new WebCore::String::fromUTF8 function to convert
790         from the Gtk+ representation of a string to WebCore::String.
791
792         * WebCoreSupport/ChromeClientGtk.cpp:
793         (WebKit::ChromeClient::runJavaScriptPrompt):
794
795 2007-09-10  Nigel Tao  <nigeltao@gnome.org>
796
797         Reviewed by Mark Rowe.
798
799         Fix a typo where webkit_gtk_page_can_copy was declared twice,
800         rather than webkit_gtk_page_can_paste.
801
802         * Api/webkitgtkpage.h:
803
804 2007-09-08  Brady Eidson  <beidson@apple.com>
805
806         Better build fix
807
808         * WebCoreSupport/FrameLoaderClientGtk.cpp:
809         (WebKit::FrameLoaderClient::registerForIconNotification):
810         * WebCoreSupport/FrameLoaderClientGtk.h:
811
812 2007-09-08  Brady Eidson  <beidson@apple.com>
813
814         Build fix
815
816         * WebCoreSupport/FrameLoaderClientGtk.cpp:
817         (WebKit::FrameLoaderClient::registerForIconNotification):
818         * WebCoreSupport/FrameLoaderClientGtk.h:
819
820 2007-09-05  Geoffrey Garen  <ggaren@apple.com>
821
822         Reviewed by Darin Adler, Maciej Stachowiak, Mark Rowe, Tim Hatcher.
823         
824         Fixed <rdar://problem/5326009> Make non-browser WebKit clients have no 
825         memory cache, or a very tiny one
826         
827         Keep the GTK build working with an empty stub.
828         
829         * WebCoreSupport/FrameLoaderClientGtk.cpp:
830         (WebKit::FrameLoaderClient::didPerformFirstNavigation):
831         * WebCoreSupport/FrameLoaderClientGtk.h:
832
833 2007-09-01  Oliver Hunt  <oliver@apple.com>
834
835         Reviewed by Sam.
836
837         <rdar://problem/5344848> IME is incorrectly used for key events when on non-editable regions
838  
839         EditorClient::setInputMethodState stub
840
841         * WebCoreSupport/EditorClientGtk.cpp:
842         (WebKit::EditorClient::setInputMethodState):
843         * WebCoreSupport/EditorClientGtk.h:
844
845 2007-08-18  Holger Hans Peter Freyther  <zecke@selfish.org>
846
847         Build fix. Add const to the first parameter of createPlugin
848
849         * WebCoreSupport/FrameLoaderClientGtk.cpp:
850
851 2007-08-17  Anders Carlsson  <andersca@apple.com>
852
853         Build fix.
854         
855         * WebCoreSupport/FrameLoaderClientGtk.cpp:
856         (WebKit::FrameLoaderClient::createPlugin):
857         * WebCoreSupport/FrameLoaderClientGtk.h:
858
859 2007-08-11  Holger Hans Peter Freyther  <zecke@selfish.org>
860
861         Reviewed by Adam.
862
863         To not hit the needsLayout() assert of Frame::paint for subframes we need to
864         make sure they are layed out. Use the newly created FrameView::layoutIfNeededRecursive
865         method to do this.
866
867         * Api/webkitgtkpage.cpp:
868
869 2007-08-11  Holger Hans Peter Freyther  <zecke@selfish.org>
870
871         Reviewed by Adam.
872
873         Fix text selection by setting a DragClient when creating the Page. Now
874         that we have a DragClient we can free the Page when WebKitGtkPage gets
875         destructed.
876
877         * Api/webkitgtkpage.cpp:
878         * WebCoreSupport/DragClientGtk.cpp: Added.
879         (WebKit::DragClient::willPerformDragDestinationAction):
880         (WebKit::DragClient::willPerformDragSourceAction):
881         (WebKit::DragClient::actionMaskForDrag):
882         (WebKit::DragClient::dragSourceActionMaskForPoint):
883         (WebKit::DragClient::startDrag):
884         (WebKit::DragClient::createDragImageForLink):
885         * WebCoreSupport/DragClientGtk.h: Added.
886
887 2007-08-10  Holger Hans Peter Freyther  <zecke@selfish.org>
888
889         Reviewed by Anders.
890
891         Make WebKitGtkPage a GtkContainer to avoid a size_allocate
892         race of GtkScrollBar and GtkLayout.
893
894         * Api/webkitgtk-marshal.list:
895         * Api/webkitgtkframe.cpp:
896         * Api/webkitgtkpage.cpp:
897         * Api/webkitgtkpage.h:
898         * Api/webkitgtkprivate.h:
899
900 2007-08-10  Holger Hans Peter Freyther  <zecke@selfish.org>
901
902         Reviewed by Niko.
903
904         Minor changes to the WebKit::EditorClient to allow removing
905         of text from TextFields. Remove the selectWordBeforeMenuEvent method
906         which is not used and not within WebCore::EditorClient. 
907
908         * WebCoreSupport/EditorClientGtk.cpp:
909         (WebKit::EditorClient::shouldDeleteRange):
910         (WebKit::EditorClient::shouldBeginEditing):
911         (WebKit::EditorClient::shouldEndEditing):
912         (WebKit::EditorClient::shouldApplyStyle):
913         (WebKit::EditorClient::shouldInsertNode):
914         * WebCoreSupport/EditorClientGtk.h:
915
916 2007-08-10  Holger Hans Peter Freyther  <zecke@selfish.org>
917
918         Reviewed by Mark.
919
920         Rename the namespace from WebKitGtk to WebKit. Move the various *Client
921         classes into the WebKit namespace. Change the class names to not contain Gtk.
922         The file names have to contain the Gtk suffix to not clash with files in WebCore (e.g.
923         bridge/EditorClient.h).
924         
925
926         * Api/webkitgtkframe.cpp:
927         * Api/webkitgtkpage.cpp:
928         * Api/webkitgtkprivate.cpp:
929         * Api/webkitgtkprivate.h:
930         * ChangeLog:
931         * WebCoreSupport/ChromeClientGtk.cpp:
932         (WebKit::ChromeClient::ChromeClient):
933         (WebKit::ChromeClient::chromeDestroyed):
934         (WebKit::ChromeClient::windowRect):
935         (WebKit::ChromeClient::setWindowRect):
936         (WebKit::ChromeClient::pageRect):
937         (WebKit::ChromeClient::scaleFactor):
938         (WebKit::ChromeClient::focus):
939         (WebKit::ChromeClient::unfocus):
940         (WebKit::ChromeClient::createWindow):
941         (WebKit::ChromeClient::createModalDialog):
942         (WebKit::ChromeClient::show):
943         (WebKit::ChromeClient::canRunModal):
944         (WebKit::ChromeClient::runModal):
945         (WebKit::ChromeClient::setToolbarsVisible):
946         (WebKit::ChromeClient::toolbarsVisible):
947         (WebKit::ChromeClient::setStatusbarVisible):
948         (WebKit::ChromeClient::statusbarVisible):
949         (WebKit::ChromeClient::setScrollbarsVisible):
950         (WebKit::ChromeClient::scrollbarsVisible):
951         (WebKit::ChromeClient::setMenubarVisible):
952         (WebKit::ChromeClient::menubarVisible):
953         (WebKit::ChromeClient::setResizable):
954         (WebKit::ChromeClient::closeWindowSoon):
955         (WebKit::ChromeClient::canTakeFocus):
956         (WebKit::ChromeClient::takeFocus):
957         (WebKit::ChromeClient::canRunBeforeUnloadConfirmPanel):
958         (WebKit::ChromeClient::runBeforeUnloadConfirmPanel):
959         (WebKit::ChromeClient::runJavaScriptAlert):
960         (WebKit::ChromeClient::runJavaScriptConfirm):
961         (WebKit::ChromeClient::setStatusbarText):
962         (WebKit::ChromeClient::shouldInterruptJavaScript):
963         (WebKit::ChromeClient::tabsToLinks):
964         (WebKit::ChromeClient::windowResizerRect):
965         (WebKit::ChromeClient::addToDirtyRegion):
966         (WebKit::ChromeClient::scrollBackingStore):
967         (WebKit::ChromeClient::updateBackingStore):
968         (WebKit::ChromeClient::mouseDidMoveOverElement):
969         (WebKit::ChromeClient::setToolTip):
970         * WebCoreSupport/ChromeClientGtk.h:
971         * WebCoreSupport/ContextMenuClientGtk.cpp:
972         (WebKit::ContextMenuClient::contextMenuDestroyed):
973         (WebKit::ContextMenuClient::getCustomMenuFromDefaultItems):
974         (WebKit::ContextMenuClient::contextMenuItemSelected):
975         (WebKit::ContextMenuClient::downloadURL):
976         (WebKit::ContextMenuClient::copyImageToClipboard):
977         (WebKit::ContextMenuClient::searchWithGoogle):
978         (WebKit::ContextMenuClient::lookUpInDictionary):
979         (WebKit::ContextMenuClient::speak):
980         * WebCoreSupport/ContextMenuClientGtk.h:
981         * WebCoreSupport/EditorClientGtk.cpp:
982         (WebKit::EditorClient::shouldDeleteRange):
983         (WebKit::EditorClient::shouldShowDeleteInterface):
984         (WebKit::EditorClient::isContinuousSpellCheckingEnabled):
985         (WebKit::EditorClient::isGrammarCheckingEnabled):
986         (WebKit::EditorClient::spellCheckerDocumentTag):
987         (WebKit::EditorClient::shouldBeginEditing):
988         (WebKit::EditorClient::shouldEndEditing):
989         (WebKit::EditorClient::shouldInsertText):
990         (WebKit::EditorClient::shouldChangeSelectedRange):
991         (WebKit::EditorClient::shouldApplyStyle):
992         (WebKit::EditorClient::shouldMoveRangeAfterDelete):
993         (WebKit::EditorClient::didBeginEditing):
994         (WebKit::EditorClient::respondToChangedContents):
995         (WebKit::EditorClient::respondToChangedSelection):
996         (WebKit::EditorClient::didEndEditing):
997         (WebKit::EditorClient::didWriteSelectionToPasteboard):
998         (WebKit::EditorClient::didSetSelectionTypesForPasteboard):
999         (WebKit::EditorClient::selectWordBeforeMenuEvent):
1000         (WebKit::EditorClient::isEditable):
1001         (WebKit::EditorClient::registerCommandForUndo):
1002         (WebKit::EditorClient::registerCommandForRedo):
1003         (WebKit::EditorClient::clearUndoRedoOperations):
1004         (WebKit::EditorClient::canUndo):
1005         (WebKit::EditorClient::canRedo):
1006         (WebKit::EditorClient::undo):
1007         (WebKit::EditorClient::redo):
1008         (WebKit::EditorClient::shouldInsertNode):
1009         (WebKit::EditorClient::pageDestroyed):
1010         (WebKit::EditorClient::smartInsertDeleteEnabled):
1011         (WebKit::EditorClient::toggleContinuousSpellChecking):
1012         (WebKit::EditorClient::toggleGrammarChecking):
1013         (WebKit::EditorClient::handleInputMethodKeypress):
1014         (WebKit::EditorClient::EditorClient):
1015         (WebKit::EditorClient::textFieldDidBeginEditing):
1016         (WebKit::EditorClient::textFieldDidEndEditing):
1017         (WebKit::EditorClient::textDidChangeInTextField):
1018         (WebKit::EditorClient::doTextFieldCommandFromEvent):
1019         (WebKit::EditorClient::textWillBeDeletedInTextField):
1020         (WebKit::EditorClient::textDidChangeInTextArea):
1021         (WebKit::EditorClient::ignoreWordInSpellDocument):
1022         (WebKit::EditorClient::learnWord):
1023         (WebKit::EditorClient::checkSpellingOfString):
1024         (WebKit::EditorClient::checkGrammarOfString):
1025         (WebKit::EditorClient::updateSpellingUIWithGrammarString):
1026         (WebKit::EditorClient::updateSpellingUIWithMisspelledWord):
1027         (WebKit::EditorClient::showSpellingUI):
1028         (WebKit::EditorClient::spellingUIIsShowing):
1029         * WebCoreSupport/EditorClientGtk.h:
1030         * WebCoreSupport/FrameLoaderClientGtk.cpp:
1031         (WebKit::FrameLoaderClient::FrameLoaderClient):
1032         (WebKit::FrameLoaderClient::userAgent):
1033         (WebKit::FrameLoaderClient::createDocumentLoader):
1034         (WebKit::FrameLoaderClient::committedLoad):
1035         (WebKit::FrameLoaderClient::dispatchDidReceiveAuthenticationChallenge):
1036         (WebKit::FrameLoaderClient::dispatchDidCancelAuthenticationChallenge):
1037         (WebKit::FrameLoaderClient::dispatchWillSendRequest):
1038         (WebKit::FrameLoaderClient::assignIdentifierToInitialRequest):
1039         (WebKit::FrameLoaderClient::postProgressStartedNotification):
1040         (WebKit::FrameLoaderClient::postProgressFinishedNotification):
1041         (WebKit::FrameLoaderClient::frameLoaderDestroyed):
1042         (WebKit::FrameLoaderClient::dispatchDidReceiveResponse):
1043         (WebKit::FrameLoaderClient::createPlugin):
1044         (WebKit::FrameLoaderClient::redirectDataToPlugin):
1045         (WebKit::FrameLoaderClient::createJavaAppletWidget):
1046         (WebKit::FrameLoaderClient::overrideMediaType):
1047         (WebKit::FrameLoaderClient::windowObjectCleared):
1048         (WebKit::FrameLoaderClient::setMainFrameDocumentReady):
1049         (WebKit::FrameLoaderClient::hasWebView):
1050         (WebKit::FrameLoaderClient::hasFrameView):
1051         (WebKit::FrameLoaderClient::dispatchDidFinishLoad):
1052         (WebKit::FrameLoaderClient::frameLoadCompleted):
1053         (WebKit::FrameLoaderClient::saveViewStateToItem):
1054         (WebKit::FrameLoaderClient::restoreViewState):
1055         (WebKit::FrameLoaderClient::privateBrowsingEnabled):
1056         (WebKit::FrameLoaderClient::makeDocumentView):
1057         (WebKit::FrameLoaderClient::makeRepresentation):
1058         (WebKit::FrameLoaderClient::forceLayout):
1059         (WebKit::FrameLoaderClient::forceLayoutForNonHTML):
1060         (WebKit::FrameLoaderClient::setCopiesOnScroll):
1061         (WebKit::FrameLoaderClient::detachedFromParent1):
1062         (WebKit::FrameLoaderClient::detachedFromParent2):
1063         (WebKit::FrameLoaderClient::detachedFromParent3):
1064         (WebKit::FrameLoaderClient::detachedFromParent4):
1065         (WebKit::FrameLoaderClient::loadedFromCachedPage):
1066         (WebKit::FrameLoaderClient::dispatchDidHandleOnloadEvents):
1067         (WebKit::FrameLoaderClient::dispatchDidReceiveServerRedirectForProvisionalLoad):
1068         (WebKit::FrameLoaderClient::dispatchDidCancelClientRedirect):
1069         (WebKit::FrameLoaderClient::dispatchWillPerformClientRedirect):
1070         (WebKit::FrameLoaderClient::dispatchDidChangeLocationWithinPage):
1071         (WebKit::FrameLoaderClient::dispatchWillClose):
1072         (WebKit::FrameLoaderClient::dispatchDidReceiveIcon):
1073         (WebKit::FrameLoaderClient::dispatchDidStartProvisionalLoad):
1074         (WebKit::FrameLoaderClient::dispatchDidReceiveTitle):
1075         (WebKit::FrameLoaderClient::dispatchDidCommitLoad):
1076         (WebKit::FrameLoaderClient::dispatchDidFinishDocumentLoad):
1077         (WebKit::FrameLoaderClient::dispatchDidFirstLayout):
1078         (WebKit::FrameLoaderClient::dispatchShow):
1079         (WebKit::FrameLoaderClient::cancelPolicyCheck):
1080         (WebKit::FrameLoaderClient::dispatchDidLoadMainResource):
1081         (WebKit::FrameLoaderClient::revertToProvisionalState):
1082         (WebKit::FrameLoaderClient::clearUnarchivingState):
1083         (WebKit::FrameLoaderClient::willChangeTitle):
1084         (WebKit::FrameLoaderClient::didChangeTitle):
1085         (WebKit::FrameLoaderClient::finishedLoading):
1086         (WebKit::FrameLoaderClient::finalSetupForReplace):
1087         (WebKit::FrameLoaderClient::setDefersLoading):
1088         (WebKit::FrameLoaderClient::isArchiveLoadPending):
1089         (WebKit::FrameLoaderClient::cancelPendingArchiveLoad):
1090         (WebKit::FrameLoaderClient::clearArchivedResources):
1091         (WebKit::FrameLoaderClient::canHandleRequest):
1092         (WebKit::FrameLoaderClient::canShowMIMEType):
1093         (WebKit::FrameLoaderClient::representationExistsForURLScheme):
1094         (WebKit::FrameLoaderClient::generatedMIMETypeForURLScheme):
1095         (WebKit::FrameLoaderClient::provisionalLoadStarted):
1096         (WebKit::FrameLoaderClient::didFinishLoad):
1097         (WebKit::FrameLoaderClient::setDocumentViewFromCachedPage):
1098         (WebKit::FrameLoaderClient::dispatchDidReceiveContentLength):
1099         (WebKit::FrameLoaderClient::dispatchDidFinishLoading):
1100         (WebKit::FrameLoaderClient::dispatchDidFailLoading):
1101         (WebKit::FrameLoaderClient::dispatchDidLoadResourceFromMemoryCache):
1102         (WebKit::FrameLoaderClient::dispatchDidFailProvisionalLoad):
1103         (WebKit::FrameLoaderClient::dispatchDidFailLoad):
1104         (WebKit::FrameLoaderClient::download):
1105         (WebKit::FrameLoaderClient::cancelledError):
1106         (WebKit::FrameLoaderClient::blockedError):
1107         (WebKit::FrameLoaderClient::cannotShowURLError):
1108         (WebKit::FrameLoaderClient::interruptForPolicyChangeError):
1109         (WebKit::FrameLoaderClient::cannotShowMIMETypeError):
1110         (WebKit::FrameLoaderClient::fileDoesNotExistError):
1111         (WebKit::FrameLoaderClient::shouldFallBack):
1112         (WebKit::FrameLoaderClient::willUseArchive):
1113         (WebKit::FrameLoaderClient::saveDocumentViewToCachedPage):
1114         (WebKit::FrameLoaderClient::canCachePage):
1115         (WebKit::FrameLoaderClient::dispatchCreatePage):
1116         (WebKit::FrameLoaderClient::dispatchUnableToImplementPolicy):
1117         * WebCoreSupport/FrameLoaderClientGtk.h:
1118         * WebCoreSupport/InspectorClientGtk.cpp:
1119         (WebKit::InspectorClient::inspectorDestroyed):
1120         (WebKit::InspectorClient::createPage):
1121         (WebKit::InspectorClient::showWindow):
1122         (WebKit::InspectorClient::closeWindow):
1123         (WebKit::InspectorClient::attachWindow):
1124         (WebKit::InspectorClient::detachWindow):
1125         (WebKit::InspectorClient::highlight):
1126         (WebKit::InspectorClient::hideHighlight):
1127         * WebCoreSupport/InspectorClientGtk.h:
1128
1129 2007-08-10  Holger Hans Peter Freyther  <zecke@selfish.org>
1130
1131         Reviewed by Adam.
1132
1133         As of http://bugs.webkit.org/show_bug.cgi?id=14727 move the
1134         various *ClientGdk.{cpp,h} files from WebCore to WebKit/gtk/WebCoreSupport and
1135         rename it from Gdk to Gtk.
1136
1137         * Api/webkitgtkdefines.h:
1138         * Api/webkitgtkframe.cpp:
1139         * Api/webkitgtkframe.h:
1140         * Api/webkitgtkglobal.cpp:
1141         * Api/webkitgtkglobal.h:
1142         * Api/webkitgtknetworkrequest.cpp:
1143         * Api/webkitgtknetworkrequest.h:
1144         * Api/webkitgtkpage.cpp:
1145         * Api/webkitgtkpage.h:
1146         * Api/webkitgtkprivate.cpp:
1147         * Api/webkitgtkprivate.h:
1148         * Api/webkitgtksettings.cpp:
1149         * Api/webkitgtksettings.h:
1150         * WebCoreSupport/ChromeClientGtk.cpp: Renamed from WebKit/gtk/WebCoreSupport/ChromeClientGdk.cpp.
1151         (WebKitGtk::ChromeClientGtk::ChromeClientGtk):
1152         (WebKitGtk::ChromeClientGtk::chromeDestroyed):
1153         (WebKitGtk::ChromeClientGtk::windowRect):
1154         (WebKitGtk::ChromeClientGtk::setWindowRect):
1155         (WebKitGtk::ChromeClientGtk::pageRect):
1156         (WebKitGtk::ChromeClientGtk::scaleFactor):
1157         (WebKitGtk::ChromeClientGtk::focus):
1158         (WebKitGtk::ChromeClientGtk::unfocus):
1159         (WebKitGtk::ChromeClientGtk::createWindow):
1160         (WebKitGtk::ChromeClientGtk::createModalDialog):
1161         (WebKitGtk::ChromeClientGtk::show):
1162         (WebKitGtk::ChromeClientGtk::canRunModal):
1163         (WebKitGtk::ChromeClientGtk::runModal):
1164         (WebKitGtk::ChromeClientGtk::setToolbarsVisible):
1165         (WebKitGtk::ChromeClientGtk::toolbarsVisible):
1166         (WebKitGtk::ChromeClientGtk::setStatusbarVisible):
1167         (WebKitGtk::ChromeClientGtk::statusbarVisible):
1168         (WebKitGtk::ChromeClientGtk::setScrollbarsVisible):
1169         (WebKitGtk::ChromeClientGtk::scrollbarsVisible):
1170         (WebKitGtk::ChromeClientGtk::setMenubarVisible):
1171         (WebKitGtk::ChromeClientGtk::menubarVisible):
1172         (WebKitGtk::ChromeClientGtk::setResizable):
1173         (WebKitGtk::ChromeClientGtk::closeWindowSoon):
1174         (WebKitGtk::ChromeClientGtk::canTakeFocus):
1175         (WebKitGtk::ChromeClientGtk::takeFocus):
1176         (WebKitGtk::ChromeClientGtk::canRunBeforeUnloadConfirmPanel):
1177         (WebKitGtk::ChromeClientGtk::runBeforeUnloadConfirmPanel):
1178         (WebKitGtk::ChromeClientGtk::addMessageToConsole):
1179         (WebKitGtk::ChromeClientGtk::runJavaScriptAlert):
1180         (WebKitGtk::ChromeClientGtk::runJavaScriptConfirm):
1181         (WebKitGtk::ChromeClientGtk::runJavaScriptPrompt):
1182         (WebKitGtk::ChromeClientGtk::setStatusbarText):
1183         (WebKitGtk::ChromeClientGtk::shouldInterruptJavaScript):
1184         (WebKitGtk::ChromeClientGtk::tabsToLinks):
1185         (WebKitGtk::ChromeClientGtk::windowResizerRect):
1186         (WebKitGtk::ChromeClientGtk::addToDirtyRegion):
1187         (WebKitGtk::ChromeClientGtk::scrollBackingStore):
1188         (WebKitGtk::ChromeClientGtk::updateBackingStore):
1189         (WebKitGtk::ChromeClientGtk::mouseDidMoveOverElement):
1190         (WebKitGtk::ChromeClientGtk::setToolTip):
1191         * WebCoreSupport/ChromeClientGtk.h: Renamed from WebKit/gtk/WebCoreSupport/ChromeClientGdk.h.
1192         (WebKitGtk::ChromeClientGtk::webPage):
1193         * WebCoreSupport/ContextMenuClientGtk.cpp: Renamed from WebCore/page/gdk/ContextMenuClientGdk.cpp.
1194         (WebCore::ContextMenuClientGtk::contextMenuDestroyed):
1195         (WebCore::ContextMenuClientGtk::getCustomMenuFromDefaultItems):
1196         (WebCore::ContextMenuClientGtk::contextMenuItemSelected):
1197         (WebCore::ContextMenuClientGtk::downloadURL):
1198         (WebCore::ContextMenuClientGtk::copyImageToClipboard):
1199         (WebCore::ContextMenuClientGtk::searchWithGoogle):
1200         (WebCore::ContextMenuClientGtk::lookUpInDictionary):
1201         (WebCore::ContextMenuClientGtk::speak):
1202         (WebCore::ContextMenuClientGtk::stopSpeaking):
1203         * WebCoreSupport/ContextMenuClientGtk.h: Renamed from WebCore/page/gdk/ContextMenuClientGdk.h.
1204         * WebCoreSupport/EditorClientGtk.cpp: Renamed from WebCore/platform/gdk/EditorClientGdk.cpp.
1205         (WebCore::EditorClientGtk::shouldDeleteRange):
1206         (WebCore::EditorClientGtk::shouldShowDeleteInterface):
1207         (WebCore::EditorClientGtk::isContinuousSpellCheckingEnabled):
1208         (WebCore::EditorClientGtk::isGrammarCheckingEnabled):
1209         (WebCore::EditorClientGtk::spellCheckerDocumentTag):
1210         (WebCore::EditorClientGtk::shouldBeginEditing):
1211         (WebCore::EditorClientGtk::shouldEndEditing):
1212         (WebCore::EditorClientGtk::shouldInsertText):
1213         (WebCore::EditorClientGtk::shouldChangeSelectedRange):
1214         (WebCore::EditorClientGtk::shouldApplyStyle):
1215         (WebCore::EditorClientGtk::shouldMoveRangeAfterDelete):
1216         (WebCore::EditorClientGtk::didBeginEditing):
1217         (WebCore::EditorClientGtk::respondToChangedContents):
1218         (WebCore::EditorClientGtk::respondToChangedSelection):
1219         (WebCore::EditorClientGtk::didEndEditing):
1220         (WebCore::EditorClientGtk::didWriteSelectionToPasteboard):
1221         (WebCore::EditorClientGtk::didSetSelectionTypesForPasteboard):
1222         (WebCore::EditorClientGtk::selectWordBeforeMenuEvent):
1223         (WebCore::EditorClientGtk::isEditable):
1224         (WebCore::EditorClientGtk::registerCommandForUndo):
1225         (WebCore::EditorClientGtk::registerCommandForRedo):
1226         (WebCore::EditorClientGtk::clearUndoRedoOperations):
1227         (WebCore::EditorClientGtk::canUndo):
1228         (WebCore::EditorClientGtk::canRedo):
1229         (WebCore::EditorClientGtk::undo):
1230         (WebCore::EditorClientGtk::redo):
1231         (WebCore::EditorClientGtk::shouldInsertNode):
1232         (WebCore::EditorClientGtk::pageDestroyed):
1233         (WebCore::EditorClientGtk::smartInsertDeleteEnabled):
1234         (WebCore::EditorClientGtk::toggleContinuousSpellChecking):
1235         (WebCore::EditorClientGtk::toggleGrammarChecking):
1236         (WebCore::EditorClientGtk::handleKeypress):
1237         (WebCore::EditorClientGtk::handleInputMethodKeypress):
1238         (WebCore::EditorClientGtk::EditorClientGtk):
1239         (WebCore::EditorClientGtk::textFieldDidBeginEditing):
1240         (WebCore::EditorClientGtk::textFieldDidEndEditing):
1241         (WebCore::EditorClientGtk::textDidChangeInTextField):
1242         (WebCore::EditorClientGtk::doTextFieldCommandFromEvent):
1243         (WebCore::EditorClientGtk::textWillBeDeletedInTextField):
1244         (WebCore::EditorClientGtk::textDidChangeInTextArea):
1245         (WebCore::EditorClientGtk::ignoreWordInSpellDocument):
1246         (WebCore::EditorClientGtk::learnWord):
1247         (WebCore::EditorClientGtk::checkSpellingOfString):
1248         (WebCore::EditorClientGtk::checkGrammarOfString):
1249         (WebCore::EditorClientGtk::updateSpellingUIWithGrammarString):
1250         (WebCore::EditorClientGtk::updateSpellingUIWithMisspelledWord):
1251         (WebCore::EditorClientGtk::showSpellingUI):
1252         (WebCore::EditorClientGtk::spellingUIIsShowing):
1253         (WebCore::EditorClientGtk::getGuessesForWord):
1254         * WebCoreSupport/EditorClientGtk.h: Renamed from WebCore/platform/gdk/EditorClientGdk.h.
1255         * WebCoreSupport/FrameLoaderClientGtk.cpp: Renamed from WebCore/loader/gdk/FrameLoaderClientGdk.cpp.
1256         (WebCore::FrameLoaderClientGtk::FrameLoaderClientGtk):
1257         (WebCore::FrameLoaderClientGtk::userAgent):
1258         (WebCore::FrameLoaderClientGtk::createDocumentLoader):
1259         (WebCore::FrameLoaderClientGtk::dispatchWillSubmitForm):
1260         (WebCore::FrameLoaderClientGtk::committedLoad):
1261         (WebCore::FrameLoaderClientGtk::dispatchDidReceiveAuthenticationChallenge):
1262         (WebCore::FrameLoaderClientGtk::dispatchDidCancelAuthenticationChallenge):
1263         (WebCore::FrameLoaderClientGtk::dispatchWillSendRequest):
1264         (WebCore::FrameLoaderClientGtk::assignIdentifierToInitialRequest):
1265         (WebCore::FrameLoaderClientGtk::postProgressStartedNotification):
1266         (WebCore::FrameLoaderClientGtk::postProgressEstimateChangedNotification):
1267         (WebCore::FrameLoaderClientGtk::postProgressFinishedNotification):
1268         (WebCore::FrameLoaderClientGtk::frameLoaderDestroyed):
1269         (WebCore::FrameLoaderClientGtk::dispatchDidReceiveResponse):
1270         (WebCore::FrameLoaderClientGtk::dispatchDecidePolicyForMIMEType):
1271         (WebCore::FrameLoaderClientGtk::dispatchDecidePolicyForNewWindowAction):
1272         (WebCore::FrameLoaderClientGtk::dispatchDecidePolicyForNavigationAction):
1273         (WebCore::FrameLoaderClientGtk::createPlugin):
1274         (WebCore::FrameLoaderClientGtk::createFrame):
1275         (WebCore::FrameLoaderClientGtk::redirectDataToPlugin):
1276         (WebCore::FrameLoaderClientGtk::createJavaAppletWidget):
1277         (WebCore::FrameLoaderClientGtk::objectContentType):
1278         (WebCore::FrameLoaderClientGtk::overrideMediaType):
1279         (WebCore::FrameLoaderClientGtk::windowObjectCleared):
1280         (WebCore::FrameLoaderClientGtk::setMainFrameDocumentReady):
1281         (WebCore::FrameLoaderClientGtk::hasWebView):
1282         (WebCore::FrameLoaderClientGtk::hasFrameView):
1283         (WebCore::FrameLoaderClientGtk::dispatchDidFinishLoad):
1284         (WebCore::FrameLoaderClientGtk::frameLoadCompleted):
1285         (WebCore::FrameLoaderClientGtk::saveViewStateToItem):
1286         (WebCore::FrameLoaderClientGtk::restoreViewState):
1287         (WebCore::FrameLoaderClientGtk::shouldGoToHistoryItem):
1288         (WebCore::FrameLoaderClientGtk::privateBrowsingEnabled):
1289         (WebCore::FrameLoaderClientGtk::makeDocumentView):
1290         (WebCore::FrameLoaderClientGtk::makeRepresentation):
1291         (WebCore::FrameLoaderClientGtk::forceLayout):
1292         (WebCore::FrameLoaderClientGtk::forceLayoutForNonHTML):
1293         (WebCore::FrameLoaderClientGtk::setCopiesOnScroll):
1294         (WebCore::FrameLoaderClientGtk::detachedFromParent1):
1295         (WebCore::FrameLoaderClientGtk::detachedFromParent2):
1296         (WebCore::FrameLoaderClientGtk::detachedFromParent3):
1297         (WebCore::FrameLoaderClientGtk::detachedFromParent4):
1298         (WebCore::FrameLoaderClientGtk::loadedFromCachedPage):
1299         (WebCore::FrameLoaderClientGtk::dispatchDidHandleOnloadEvents):
1300         (WebCore::FrameLoaderClientGtk::dispatchDidReceiveServerRedirectForProvisionalLoad):
1301         (WebCore::FrameLoaderClientGtk::dispatchDidCancelClientRedirect):
1302         (WebCore::FrameLoaderClientGtk::dispatchWillPerformClientRedirect):
1303         (WebCore::FrameLoaderClientGtk::dispatchDidChangeLocationWithinPage):
1304         (WebCore::FrameLoaderClientGtk::dispatchWillClose):
1305         (WebCore::FrameLoaderClientGtk::dispatchDidReceiveIcon):
1306         (WebCore::FrameLoaderClientGtk::dispatchDidStartProvisionalLoad):
1307         (WebCore::FrameLoaderClientGtk::dispatchDidReceiveTitle):
1308         (WebCore::FrameLoaderClientGtk::dispatchDidCommitLoad):
1309         (WebCore::FrameLoaderClientGtk::dispatchDidFinishDocumentLoad):
1310         (WebCore::FrameLoaderClientGtk::dispatchDidFirstLayout):
1311         (WebCore::FrameLoaderClientGtk::dispatchShow):
1312         (WebCore::FrameLoaderClientGtk::cancelPolicyCheck):
1313         (WebCore::FrameLoaderClientGtk::dispatchDidLoadMainResource):
1314         (WebCore::FrameLoaderClientGtk::revertToProvisionalState):
1315         (WebCore::FrameLoaderClientGtk::clearUnarchivingState):
1316         (WebCore::FrameLoaderClientGtk::willChangeTitle):
1317         (WebCore::FrameLoaderClientGtk::didChangeTitle):
1318         (WebCore::FrameLoaderClientGtk::finishedLoading):
1319         (WebCore::FrameLoaderClientGtk::finalSetupForReplace):
1320         (WebCore::FrameLoaderClientGtk::setDefersLoading):
1321         (WebCore::FrameLoaderClientGtk::isArchiveLoadPending):
1322         (WebCore::FrameLoaderClientGtk::cancelPendingArchiveLoad):
1323         (WebCore::FrameLoaderClientGtk::clearArchivedResources):
1324         (WebCore::FrameLoaderClientGtk::canHandleRequest):
1325         (WebCore::FrameLoaderClientGtk::canShowMIMEType):
1326         (WebCore::FrameLoaderClientGtk::representationExistsForURLScheme):
1327         (WebCore::FrameLoaderClientGtk::generatedMIMETypeForURLScheme):
1328         (WebCore::FrameLoaderClientGtk::provisionalLoadStarted):
1329         (WebCore::FrameLoaderClientGtk::didFinishLoad):
1330         (WebCore::FrameLoaderClientGtk::prepareForDataSourceReplacement):
1331         (WebCore::FrameLoaderClientGtk::setTitle):
1332         (WebCore::FrameLoaderClientGtk::setDocumentViewFromCachedPage):
1333         (WebCore::FrameLoaderClientGtk::dispatchDidReceiveContentLength):
1334         (WebCore::FrameLoaderClientGtk::dispatchDidFinishLoading):
1335         (WebCore::FrameLoaderClientGtk::dispatchDidFailLoading):
1336         (WebCore::FrameLoaderClientGtk::dispatchDidLoadResourceFromMemoryCache):
1337         (WebCore::FrameLoaderClientGtk::dispatchDidFailProvisionalLoad):
1338         (WebCore::FrameLoaderClientGtk::dispatchDidFailLoad):
1339         (WebCore::FrameLoaderClientGtk::download):
1340         (WebCore::FrameLoaderClientGtk::cancelledError):
1341         (WebCore::FrameLoaderClientGtk::blockedError):
1342         (WebCore::FrameLoaderClientGtk::cannotShowURLError):
1343         (WebCore::FrameLoaderClientGtk::interruptForPolicyChangeError):
1344         (WebCore::FrameLoaderClientGtk::cannotShowMIMETypeError):
1345         (WebCore::FrameLoaderClientGtk::fileDoesNotExistError):
1346         (WebCore::FrameLoaderClientGtk::shouldFallBack):
1347         (WebCore::FrameLoaderClientGtk::willUseArchive):
1348         (WebCore::FrameLoaderClientGtk::saveDocumentViewToCachedPage):
1349         (WebCore::FrameLoaderClientGtk::canCachePage):
1350         (WebCore::FrameLoaderClientGtk::dispatchCreatePage):
1351         (WebCore::FrameLoaderClientGtk::dispatchUnableToImplementPolicy):
1352         * WebCoreSupport/FrameLoaderClientGtk.h: Renamed from WebCore/loader/gdk/FrameLoaderClientGdk.h.
1353         (WebCore::FrameLoaderClientGtk::~FrameLoaderClientGtk):
1354         (WebCore::FrameLoaderClientGtk::webFrame):
1355         * WebCoreSupport/InspectorClientGtk.cpp: Renamed from WebCore/page/gdk/InspectorClientGdk.cpp.
1356         (WebCore::InspectorClientGtk::inspectorDestroyed):
1357         (WebCore::InspectorClientGtk::createPage):
1358         (WebCore::InspectorClientGtk::showWindow):
1359         (WebCore::InspectorClientGtk::closeWindow):
1360         (WebCore::InspectorClientGtk::attachWindow):
1361         (WebCore::InspectorClientGtk::detachWindow):
1362         (WebCore::InspectorClientGtk::highlight):
1363         (WebCore::InspectorClientGtk::hideHighlight):
1364         (WebCore::InspectorClientGtk::inspectedURLChanged):
1365         * WebCoreSupport/InspectorClientGtk.h: Renamed from WebCore/page/gdk/InspectorClientGdk.h.
1366
1367 2007-08-10  Holger Hans Peter Freyther  <zecke@selfish.org>
1368
1369         Build fix.
1370
1371         * Api/webkitgtkframe.cpp:
1372
1373 2007-08-10  Holger Hans Peter Freyther  <zecke@selfish.org>
1374
1375         Reviewed by Adam.
1376
1377         Remove the create_frame virtual method of WebKitGtkPage. This method was inspired
1378         by the Qt port but to be useful for reimplementations WebKitGtkFrameData would need
1379         to export/expose WebCore types. WebView doesn't offer such a method so I decided to
1380         remove it.
1381         Add a internal constructor to WebKitGtkFrame to be used for constructing Sub-Frames. This
1382         is currently used by FrameLoaderClientGdk::createFrame.
1383
1384         * Api/webkitgtkframe.cpp:
1385         * Api/webkitgtkframedata.cpp: Removed.
1386         * Api/webkitgtkframedata.h: Removed.
1387         * Api/webkitgtkpage.cpp:
1388         * Api/webkitgtkpage.h:
1389         * Api/webkitgtkprivate.h:
1390
1391 2007-08-10  Holger Hans Peter Freyther  <zecke@selfish.org>
1392
1393         Reviewed by Adam.
1394
1395         Follow the changes of ScrollView in WebCore and call setContainingWindow, set the
1396         GtkAdjustment of the GtkLayout and reimplement the set_scroll_adjustments method and pass
1397         the GtkAdjustments to ScrollView.
1398         This makes having one GdkWindow for the complete FrameTree possible.
1399         
1400
1401         * gtk/Api/webkitgtkframe.cpp:
1402         * gtk/Api/webkitgtkpage.cpp:
1403
1404 2007-08-08  Holger Hans Peter Freyther  <zecke@selfish.org>
1405
1406         Reviewed by Niko.
1407
1408         We only need to set the Settings of the Page once so do it in
1409         WebKitGtkPage instead of WebKitGtkFrame.
1410
1411         * gtk/Api/webkitgtkframe.cpp:
1412         * gtk/Api/webkitgtkpage.cpp:
1413
1414 2007-08-08  Holger Hans Peter Freyther  <zecke@selfish.org>
1415
1416         Reviewed by Niko.
1417
1418         Instead of reimplementing the general event method, reimplement
1419         the specific mouse, expose, keyboard event methods.
1420
1421         Call the finalize implementation of the base class from WebKitGtkPage
1422         and WebKitGtkFrame.
1423
1424         * gtk/Api/webkitgtkframe.cpp:
1425         * gtk/Api/webkitgtkpage.cpp:
1426
1427 2007-08-08  Holger Hans Peter Freyther  <zecke@selfish.org>
1428
1429         Reviewed by Niko.
1430
1431         Remove the custom painting in favor of the Widget::paint
1432         implementation.
1433
1434         * gtk/Api/webkitgtkpage.cpp:
1435
1436 2007-08-08  Holger Hans Peter Freyther  <zecke@selfish.org>
1437
1438         Reviewed by Adam.
1439
1440         Moved code from class FrameGdk into WebKitGtkFrame. Update the
1441         webkitgrkprivate.h header file to not include FrameGdk.h.
1442
1443         * gtk/Api/webkitgtkframe.cpp:
1444         * gtk/Api/webkitgtkprivate.h:
1445
1446 2007-08-08  Holger Hans Peter Freyther  <zecke@selfish.org>
1447
1448         Reviewed by Adam.
1449
1450         Change variable names to follow the Coding-Style. Replace occurences
1451         of a_b with aB and place the '*' correctly.
1452
1453         * gtk/Api/webkitgtkframe.cpp:
1454         * gtk/Api/webkitgtkpage.cpp:
1455         * gtk/Api/webkitgtkprivate.h:
1456
1457 2007-08-08  Holger Hans Peter Freyther  <zecke@selfish.org>
1458
1459         Reviewed by Adam.
1460
1461         Reimplement GtkWidget::event and handle the keyboard and mouse
1462         events inside WebKitGtkPage.
1463
1464         * gtk/Api/webkitgtkpage.cpp:
1465         (FrameGdkExposeData::frame_gdk_expose_child):
1466         (FrameGdkExposeData::webkit_gtk_page_rendering_area_handle_gdk_event):
1467         (FrameGdkExposeData::webkit_gtk_page_register_rendering_area_events):
1468         (FrameGdkExposeData::webkit_gtk_page_class_init):
1469
1470 2007-08-07  Xan Lopez  <xan@gnome.org>
1471
1472         Reviewed by Mark Rowe.
1473
1474         http://bugs.webkit.org/show_bug.cgi?id=14815
1475         [gtk] API implementation: reload
1476
1477         * gtk/Api/webkitgtkpage.cpp: Implement the webkit_gtk_page_reload()
1478         function.
1479
1480 2007-07-30  Diego Escalante Urrelo  <diegoe@gnome.org>
1481
1482         Reviewed by Adam.
1483
1484         http://bugs.webkit.org/show_bug.cgi?id=14806
1485         Implement can_go_backward and can_go_forward in webkitgtkpage.cpp
1486
1487         * gtk/Api/webkitgtkpage.cpp: Implement webkit_gtk_page_can_go_backward() and
1488         webkit_gtk_page_can_go_forward() functions.
1489
1490 2007-07-30  Diego Escalante Urrelo  <diegoe@gnome.org> 
1491
1492         Reviewed by Alp Toker.
1493
1494         http://bugs.webkit.org/show_bug.cgi?id=14810
1495         Bad n_params on load_finished's g_signal_new in webkitgtkpage.cpp
1496
1497         This is the proper fix for #14810.
1498
1499         * gtk/Api/webkitgtkframe.cpp:
1500         * gtk/Api/webkitgtkpage.cpp: Fix the marshaller type of the "load_finished" signal and
1501         correct the class_offset parameters.
1502
1503 2007-07-29  Diego Escalante Urrelo  <diegoe@gnome.org>
1504
1505         Reviewed by Alp Toker.
1506
1507         http://bugs.webkit.org/show_bug.cgi?id=14810
1508         Bad n_params on load_finished's g_signal_new in webkitgtkpage.cpp
1509
1510         * gtk/Api/webkitgtkpage.cpp: Use a correct n_params value and the corresponding types for
1511         them in the "load_finished" signal.
1512
1513 2007-07-22  Holger Hans Peter Freyther  <zecke@selfish.org>
1514
1515         Reviewed by Adam.
1516
1517         Add the first API and partial implementation of the WebKit/Gtk port as
1518         of http://bugs.webkit.org/show_bug.cgi?id=14678.
1519
1520         The delegates of WebView will be modeled as signals. Delegates like the
1521         WebPolicyDelegate will be implemented as signals with default handlers.
1522
1523         Start moving files to WebKit/gtk/WebCoreSupport.
1524
1525         * gtk: Added.
1526         * gtk/Api: Added.
1527         * gtk/Api/headers.pri: Added.
1528         * gtk/Api/webkitgtk-marshal.list: Added.
1529         * gtk/Api/webkitgtkdefines.h: Added.
1530         * gtk/Api/webkitgtkframe.cpp: Added.
1531         * gtk/Api/webkitgtkframe.h: Added.
1532         * gtk/Api/webkitgtkframedata.cpp: Added.
1533         * gtk/Api/webkitgtkframedata.h: Added.
1534         * gtk/Api/webkitgtkglobal.cpp: Added.
1535         * gtk/Api/webkitgtkglobal.h: Added.
1536         * gtk/Api/webkitgtknetworkrequest.cpp: Added.
1537         * gtk/Api/webkitgtknetworkrequest.h: Added.
1538         * gtk/Api/webkitgtkpage.cpp: Added.
1539         * gtk/Api/webkitgtkpage.h: Added.
1540         * gtk/Api/webkitgtkprivate.cpp: Added.
1541         * gtk/Api/webkitgtkprivate.h: Added.
1542         * gtk/Api/webkitgtksettings.cpp: Added.
1543         * gtk/Api/webkitgtksettings.h: Added.
1544         * gtk/WebCoreSupport: Added.
1545         * gtk/WebCoreSupport/ChromeClientGdk.cpp: Added.
1546         (WebCore::ChromeClientGdk::ChromeClientGdk):
1547         (WebCore::ChromeClientGdk::chromeDestroyed):
1548         (WebCore::ChromeClientGdk::windowRect):
1549         (WebCore::ChromeClientGdk::setWindowRect):
1550         (WebCore::ChromeClientGdk::pageRect):
1551         (WebCore::ChromeClientGdk::scaleFactor):
1552         (WebCore::ChromeClientGdk::focus):
1553         (WebCore::ChromeClientGdk::unfocus):
1554         (WebCore::ChromeClientGdk::createWindow):
1555         (WebCore::ChromeClientGdk::createModalDialog):
1556         (WebCore::ChromeClientGdk::show):
1557         (WebCore::ChromeClientGdk::canRunModal):
1558         (WebCore::ChromeClientGdk::runModal):
1559         (WebCore::ChromeClientGdk::setToolbarsVisible):
1560         (WebCore::ChromeClientGdk::toolbarsVisible):
1561         (WebCore::ChromeClientGdk::setStatusbarVisible):
1562         (WebCore::ChromeClientGdk::statusbarVisible):
1563         (WebCore::ChromeClientGdk::setScrollbarsVisible):
1564         (WebCore::ChromeClientGdk::scrollbarsVisible):
1565         (WebCore::ChromeClientGdk::setMenubarVisible):
1566         (WebCore::ChromeClientGdk::menubarVisible):
1567         (WebCore::ChromeClientGdk::setResizable):
1568         (WebCore::ChromeClientGdk::closeWindowSoon):
1569         (WebCore::ChromeClientGdk::canTakeFocus):
1570         (WebCore::ChromeClientGdk::takeFocus):
1571         (WebCore::ChromeClientGdk::canRunBeforeUnloadConfirmPanel):
1572         (WebCore::ChromeClientGdk::runBeforeUnloadConfirmPanel):
1573         (WebCore::ChromeClientGdk::addMessageToConsole):
1574         (WebCore::ChromeClientGdk::runJavaScriptAlert):
1575         (WebCore::ChromeClientGdk::runJavaScriptConfirm):
1576         (WebCore::ChromeClientGdk::runJavaScriptPrompt):
1577         (WebCore::ChromeClientGdk::setStatusbarText):
1578         (WebCore::ChromeClientGdk::shouldInterruptJavaScript):
1579         (WebCore::ChromeClientGdk::tabsToLinks):
1580         (WebCore::ChromeClientGdk::windowResizerRect):
1581         (WebCore::ChromeClientGdk::addToDirtyRegion):
1582         (WebCore::ChromeClientGdk::scrollBackingStore):
1583         (WebCore::ChromeClientGdk::updateBackingStore):
1584         (WebCore::ChromeClientGdk::mouseDidMoveOverElement):
1585         (WebCore::ChromeClientGdk::setToolTip):
1586         (WebCore::ChromeClientGdk::print):
1587         * gtk/WebCoreSupport/ChromeClientGdk.h: Added.
1588