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