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