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